1// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
2
3package sagemaker
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 opAddTags = "AddTags"
17
18// AddTagsRequest generates a "aws/request.Request" representing the
19// client's request for the AddTags 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 AddTags for more information on using the AddTags
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 AddTagsRequest method.
34//    req, resp := client.AddTagsRequest(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/sagemaker-2017-07-24/AddTags
42func (c *SageMaker) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput) {
43	op := &request.Operation{
44		Name:       opAddTags,
45		HTTPMethod: "POST",
46		HTTPPath:   "/",
47	}
48
49	if input == nil {
50		input = &AddTagsInput{}
51	}
52
53	output = &AddTagsOutput{}
54	req = c.newRequest(op, input, output)
55	return
56}
57
58// AddTags API operation for Amazon SageMaker Service.
59//
60// Adds or overwrites one or more tags for the specified Amazon SageMaker resource.
61// You can add tags to notebook instances, training jobs, hyperparameter tuning
62// jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations,
63// and endpoints.
64//
65// Each tag consists of a key and an optional value. Tag keys must be unique
66// per resource. For more information about tags, see For more information,
67// see AWS Tagging Strategies (https://aws.amazon.com/answers/account-management/aws-tagging-strategies/).
68//
69// Tags that you add to a hyperparameter tuning job by calling this API are
70// also added to any training jobs that the hyperparameter tuning job launches
71// after you call this API, but not to training jobs that the hyperparameter
72// tuning job launched before you called this API. To make sure that the tags
73// associated with a hyperparameter tuning job are also added to all training
74// jobs that the hyperparameter tuning job launches, add the tags when you first
75// create the tuning job by specifying them in the Tags parameter of CreateHyperParameterTuningJob
76//
77// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
78// with awserr.Error's Code and Message methods to get detailed information about
79// the error.
80//
81// See the AWS API reference guide for Amazon SageMaker Service's
82// API operation AddTags for usage and error information.
83// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AddTags
84func (c *SageMaker) AddTags(input *AddTagsInput) (*AddTagsOutput, error) {
85	req, out := c.AddTagsRequest(input)
86	return out, req.Send()
87}
88
89// AddTagsWithContext is the same as AddTags with the addition of
90// the ability to pass a context and additional request options.
91//
92// See AddTags for details on how to use this API operation.
93//
94// The context must be non-nil and will be used for request cancellation. If
95// the context is nil a panic will occur. In the future the SDK may create
96// sub-contexts for http.Requests. See https://golang.org/pkg/context/
97// for more information on using Contexts.
98func (c *SageMaker) AddTagsWithContext(ctx aws.Context, input *AddTagsInput, opts ...request.Option) (*AddTagsOutput, error) {
99	req, out := c.AddTagsRequest(input)
100	req.SetContext(ctx)
101	req.ApplyOptions(opts...)
102	return out, req.Send()
103}
104
105const opAssociateTrialComponent = "AssociateTrialComponent"
106
107// AssociateTrialComponentRequest generates a "aws/request.Request" representing the
108// client's request for the AssociateTrialComponent operation. The "output" return
109// value will be populated with the request's response once the request completes
110// successfully.
111//
112// Use "Send" method on the returned Request to send the API call to the service.
113// the "output" return value is not valid until after Send returns without error.
114//
115// See AssociateTrialComponent for more information on using the AssociateTrialComponent
116// API call, and error handling.
117//
118// This method is useful when you want to inject custom logic or configuration
119// into the SDK's request lifecycle. Such as custom headers, or retry logic.
120//
121//
122//    // Example sending a request using the AssociateTrialComponentRequest method.
123//    req, resp := client.AssociateTrialComponentRequest(params)
124//
125//    err := req.Send()
126//    if err == nil { // resp is now filled
127//        fmt.Println(resp)
128//    }
129//
130// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AssociateTrialComponent
131func (c *SageMaker) AssociateTrialComponentRequest(input *AssociateTrialComponentInput) (req *request.Request, output *AssociateTrialComponentOutput) {
132	op := &request.Operation{
133		Name:       opAssociateTrialComponent,
134		HTTPMethod: "POST",
135		HTTPPath:   "/",
136	}
137
138	if input == nil {
139		input = &AssociateTrialComponentInput{}
140	}
141
142	output = &AssociateTrialComponentOutput{}
143	req = c.newRequest(op, input, output)
144	return
145}
146
147// AssociateTrialComponent API operation for Amazon SageMaker Service.
148//
149// Associates a trial component with a trial. A trial component can be associated
150// with multiple trials. To disassociate a trial component from a trial, call
151// the DisassociateTrialComponent API.
152//
153// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
154// with awserr.Error's Code and Message methods to get detailed information about
155// the error.
156//
157// See the AWS API reference guide for Amazon SageMaker Service's
158// API operation AssociateTrialComponent for usage and error information.
159//
160// Returned Error Types:
161//   * ResourceNotFound
162//   Resource being access is not found.
163//
164//   * ResourceLimitExceeded
165//   You have exceeded an Amazon SageMaker resource limit. For example, you might
166//   have too many training jobs created.
167//
168// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AssociateTrialComponent
169func (c *SageMaker) AssociateTrialComponent(input *AssociateTrialComponentInput) (*AssociateTrialComponentOutput, error) {
170	req, out := c.AssociateTrialComponentRequest(input)
171	return out, req.Send()
172}
173
174// AssociateTrialComponentWithContext is the same as AssociateTrialComponent with the addition of
175// the ability to pass a context and additional request options.
176//
177// See AssociateTrialComponent for details on how to use this API operation.
178//
179// The context must be non-nil and will be used for request cancellation. If
180// the context is nil a panic will occur. In the future the SDK may create
181// sub-contexts for http.Requests. See https://golang.org/pkg/context/
182// for more information on using Contexts.
183func (c *SageMaker) AssociateTrialComponentWithContext(ctx aws.Context, input *AssociateTrialComponentInput, opts ...request.Option) (*AssociateTrialComponentOutput, error) {
184	req, out := c.AssociateTrialComponentRequest(input)
185	req.SetContext(ctx)
186	req.ApplyOptions(opts...)
187	return out, req.Send()
188}
189
190const opCreateAlgorithm = "CreateAlgorithm"
191
192// CreateAlgorithmRequest generates a "aws/request.Request" representing the
193// client's request for the CreateAlgorithm operation. The "output" return
194// value will be populated with the request's response once the request completes
195// successfully.
196//
197// Use "Send" method on the returned Request to send the API call to the service.
198// the "output" return value is not valid until after Send returns without error.
199//
200// See CreateAlgorithm for more information on using the CreateAlgorithm
201// API call, and error handling.
202//
203// This method is useful when you want to inject custom logic or configuration
204// into the SDK's request lifecycle. Such as custom headers, or retry logic.
205//
206//
207//    // Example sending a request using the CreateAlgorithmRequest method.
208//    req, resp := client.CreateAlgorithmRequest(params)
209//
210//    err := req.Send()
211//    if err == nil { // resp is now filled
212//        fmt.Println(resp)
213//    }
214//
215// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAlgorithm
216func (c *SageMaker) CreateAlgorithmRequest(input *CreateAlgorithmInput) (req *request.Request, output *CreateAlgorithmOutput) {
217	op := &request.Operation{
218		Name:       opCreateAlgorithm,
219		HTTPMethod: "POST",
220		HTTPPath:   "/",
221	}
222
223	if input == nil {
224		input = &CreateAlgorithmInput{}
225	}
226
227	output = &CreateAlgorithmOutput{}
228	req = c.newRequest(op, input, output)
229	return
230}
231
232// CreateAlgorithm API operation for Amazon SageMaker Service.
233//
234// Create a machine learning algorithm that you can use in Amazon SageMaker
235// and list in the AWS Marketplace.
236//
237// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
238// with awserr.Error's Code and Message methods to get detailed information about
239// the error.
240//
241// See the AWS API reference guide for Amazon SageMaker Service's
242// API operation CreateAlgorithm for usage and error information.
243// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAlgorithm
244func (c *SageMaker) CreateAlgorithm(input *CreateAlgorithmInput) (*CreateAlgorithmOutput, error) {
245	req, out := c.CreateAlgorithmRequest(input)
246	return out, req.Send()
247}
248
249// CreateAlgorithmWithContext is the same as CreateAlgorithm with the addition of
250// the ability to pass a context and additional request options.
251//
252// See CreateAlgorithm for details on how to use this API operation.
253//
254// The context must be non-nil and will be used for request cancellation. If
255// the context is nil a panic will occur. In the future the SDK may create
256// sub-contexts for http.Requests. See https://golang.org/pkg/context/
257// for more information on using Contexts.
258func (c *SageMaker) CreateAlgorithmWithContext(ctx aws.Context, input *CreateAlgorithmInput, opts ...request.Option) (*CreateAlgorithmOutput, error) {
259	req, out := c.CreateAlgorithmRequest(input)
260	req.SetContext(ctx)
261	req.ApplyOptions(opts...)
262	return out, req.Send()
263}
264
265const opCreateApp = "CreateApp"
266
267// CreateAppRequest generates a "aws/request.Request" representing the
268// client's request for the CreateApp operation. The "output" return
269// value will be populated with the request's response once the request completes
270// successfully.
271//
272// Use "Send" method on the returned Request to send the API call to the service.
273// the "output" return value is not valid until after Send returns without error.
274//
275// See CreateApp for more information on using the CreateApp
276// API call, and error handling.
277//
278// This method is useful when you want to inject custom logic or configuration
279// into the SDK's request lifecycle. Such as custom headers, or retry logic.
280//
281//
282//    // Example sending a request using the CreateAppRequest method.
283//    req, resp := client.CreateAppRequest(params)
284//
285//    err := req.Send()
286//    if err == nil { // resp is now filled
287//        fmt.Println(resp)
288//    }
289//
290// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateApp
291func (c *SageMaker) CreateAppRequest(input *CreateAppInput) (req *request.Request, output *CreateAppOutput) {
292	op := &request.Operation{
293		Name:       opCreateApp,
294		HTTPMethod: "POST",
295		HTTPPath:   "/",
296	}
297
298	if input == nil {
299		input = &CreateAppInput{}
300	}
301
302	output = &CreateAppOutput{}
303	req = c.newRequest(op, input, output)
304	return
305}
306
307// CreateApp API operation for Amazon SageMaker Service.
308//
309// Creates a running App for the specified UserProfile. Supported Apps are JupyterServer
310// and KernelGateway. This operation is automatically invoked by Amazon SageMaker
311// Studio upon access to the associated Domain, and when new kernel configurations
312// are selected by the user. A user may have multiple Apps active simultaneously.
313//
314// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
315// with awserr.Error's Code and Message methods to get detailed information about
316// the error.
317//
318// See the AWS API reference guide for Amazon SageMaker Service's
319// API operation CreateApp for usage and error information.
320//
321// Returned Error Types:
322//   * ResourceLimitExceeded
323//   You have exceeded an Amazon SageMaker resource limit. For example, you might
324//   have too many training jobs created.
325//
326//   * ResourceInUse
327//   Resource being accessed is in use.
328//
329// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateApp
330func (c *SageMaker) CreateApp(input *CreateAppInput) (*CreateAppOutput, error) {
331	req, out := c.CreateAppRequest(input)
332	return out, req.Send()
333}
334
335// CreateAppWithContext is the same as CreateApp with the addition of
336// the ability to pass a context and additional request options.
337//
338// See CreateApp for details on how to use this API operation.
339//
340// The context must be non-nil and will be used for request cancellation. If
341// the context is nil a panic will occur. In the future the SDK may create
342// sub-contexts for http.Requests. See https://golang.org/pkg/context/
343// for more information on using Contexts.
344func (c *SageMaker) CreateAppWithContext(ctx aws.Context, input *CreateAppInput, opts ...request.Option) (*CreateAppOutput, error) {
345	req, out := c.CreateAppRequest(input)
346	req.SetContext(ctx)
347	req.ApplyOptions(opts...)
348	return out, req.Send()
349}
350
351const opCreateAutoMLJob = "CreateAutoMLJob"
352
353// CreateAutoMLJobRequest generates a "aws/request.Request" representing the
354// client's request for the CreateAutoMLJob operation. The "output" return
355// value will be populated with the request's response once the request completes
356// successfully.
357//
358// Use "Send" method on the returned Request to send the API call to the service.
359// the "output" return value is not valid until after Send returns without error.
360//
361// See CreateAutoMLJob for more information on using the CreateAutoMLJob
362// API call, and error handling.
363//
364// This method is useful when you want to inject custom logic or configuration
365// into the SDK's request lifecycle. Such as custom headers, or retry logic.
366//
367//
368//    // Example sending a request using the CreateAutoMLJobRequest method.
369//    req, resp := client.CreateAutoMLJobRequest(params)
370//
371//    err := req.Send()
372//    if err == nil { // resp is now filled
373//        fmt.Println(resp)
374//    }
375//
376// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAutoMLJob
377func (c *SageMaker) CreateAutoMLJobRequest(input *CreateAutoMLJobInput) (req *request.Request, output *CreateAutoMLJobOutput) {
378	op := &request.Operation{
379		Name:       opCreateAutoMLJob,
380		HTTPMethod: "POST",
381		HTTPPath:   "/",
382	}
383
384	if input == nil {
385		input = &CreateAutoMLJobInput{}
386	}
387
388	output = &CreateAutoMLJobOutput{}
389	req = c.newRequest(op, input, output)
390	return
391}
392
393// CreateAutoMLJob API operation for Amazon SageMaker Service.
394//
395// Creates an AutoPilot job.
396//
397// After you run an AutoPilot job, you can find the best performing model by
398// calling , and then deploy that model by following the steps described in
399// Step 6.1: Deploy the Model to Amazon SageMaker Hosting Services (https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html).
400//
401// For information about how to use AutoPilot, see Use AutoPilot to Automate
402// Model Development (https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development.html).
403//
404// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
405// with awserr.Error's Code and Message methods to get detailed information about
406// the error.
407//
408// See the AWS API reference guide for Amazon SageMaker Service's
409// API operation CreateAutoMLJob for usage and error information.
410//
411// Returned Error Types:
412//   * ResourceInUse
413//   Resource being accessed is in use.
414//
415//   * ResourceLimitExceeded
416//   You have exceeded an Amazon SageMaker resource limit. For example, you might
417//   have too many training jobs created.
418//
419// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAutoMLJob
420func (c *SageMaker) CreateAutoMLJob(input *CreateAutoMLJobInput) (*CreateAutoMLJobOutput, error) {
421	req, out := c.CreateAutoMLJobRequest(input)
422	return out, req.Send()
423}
424
425// CreateAutoMLJobWithContext is the same as CreateAutoMLJob with the addition of
426// the ability to pass a context and additional request options.
427//
428// See CreateAutoMLJob for details on how to use this API operation.
429//
430// The context must be non-nil and will be used for request cancellation. If
431// the context is nil a panic will occur. In the future the SDK may create
432// sub-contexts for http.Requests. See https://golang.org/pkg/context/
433// for more information on using Contexts.
434func (c *SageMaker) CreateAutoMLJobWithContext(ctx aws.Context, input *CreateAutoMLJobInput, opts ...request.Option) (*CreateAutoMLJobOutput, error) {
435	req, out := c.CreateAutoMLJobRequest(input)
436	req.SetContext(ctx)
437	req.ApplyOptions(opts...)
438	return out, req.Send()
439}
440
441const opCreateCodeRepository = "CreateCodeRepository"
442
443// CreateCodeRepositoryRequest generates a "aws/request.Request" representing the
444// client's request for the CreateCodeRepository operation. The "output" return
445// value will be populated with the request's response once the request completes
446// successfully.
447//
448// Use "Send" method on the returned Request to send the API call to the service.
449// the "output" return value is not valid until after Send returns without error.
450//
451// See CreateCodeRepository for more information on using the CreateCodeRepository
452// API call, and error handling.
453//
454// This method is useful when you want to inject custom logic or configuration
455// into the SDK's request lifecycle. Such as custom headers, or retry logic.
456//
457//
458//    // Example sending a request using the CreateCodeRepositoryRequest method.
459//    req, resp := client.CreateCodeRepositoryRequest(params)
460//
461//    err := req.Send()
462//    if err == nil { // resp is now filled
463//        fmt.Println(resp)
464//    }
465//
466// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCodeRepository
467func (c *SageMaker) CreateCodeRepositoryRequest(input *CreateCodeRepositoryInput) (req *request.Request, output *CreateCodeRepositoryOutput) {
468	op := &request.Operation{
469		Name:       opCreateCodeRepository,
470		HTTPMethod: "POST",
471		HTTPPath:   "/",
472	}
473
474	if input == nil {
475		input = &CreateCodeRepositoryInput{}
476	}
477
478	output = &CreateCodeRepositoryOutput{}
479	req = c.newRequest(op, input, output)
480	return
481}
482
483// CreateCodeRepository API operation for Amazon SageMaker Service.
484//
485// Creates a Git repository as a resource in your Amazon SageMaker account.
486// You can associate the repository with notebook instances so that you can
487// use Git source control for the notebooks you create. The Git repository is
488// a resource in your Amazon SageMaker account, so it can be associated with
489// more than one notebook instance, and it persists independently from the lifecycle
490// of any notebook instances it is associated with.
491//
492// The repository can be hosted either in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
493// or in any other Git repository.
494//
495// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
496// with awserr.Error's Code and Message methods to get detailed information about
497// the error.
498//
499// See the AWS API reference guide for Amazon SageMaker Service's
500// API operation CreateCodeRepository for usage and error information.
501// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCodeRepository
502func (c *SageMaker) CreateCodeRepository(input *CreateCodeRepositoryInput) (*CreateCodeRepositoryOutput, error) {
503	req, out := c.CreateCodeRepositoryRequest(input)
504	return out, req.Send()
505}
506
507// CreateCodeRepositoryWithContext is the same as CreateCodeRepository with the addition of
508// the ability to pass a context and additional request options.
509//
510// See CreateCodeRepository for details on how to use this API operation.
511//
512// The context must be non-nil and will be used for request cancellation. If
513// the context is nil a panic will occur. In the future the SDK may create
514// sub-contexts for http.Requests. See https://golang.org/pkg/context/
515// for more information on using Contexts.
516func (c *SageMaker) CreateCodeRepositoryWithContext(ctx aws.Context, input *CreateCodeRepositoryInput, opts ...request.Option) (*CreateCodeRepositoryOutput, error) {
517	req, out := c.CreateCodeRepositoryRequest(input)
518	req.SetContext(ctx)
519	req.ApplyOptions(opts...)
520	return out, req.Send()
521}
522
523const opCreateCompilationJob = "CreateCompilationJob"
524
525// CreateCompilationJobRequest generates a "aws/request.Request" representing the
526// client's request for the CreateCompilationJob operation. The "output" return
527// value will be populated with the request's response once the request completes
528// successfully.
529//
530// Use "Send" method on the returned Request to send the API call to the service.
531// the "output" return value is not valid until after Send returns without error.
532//
533// See CreateCompilationJob for more information on using the CreateCompilationJob
534// API call, and error handling.
535//
536// This method is useful when you want to inject custom logic or configuration
537// into the SDK's request lifecycle. Such as custom headers, or retry logic.
538//
539//
540//    // Example sending a request using the CreateCompilationJobRequest method.
541//    req, resp := client.CreateCompilationJobRequest(params)
542//
543//    err := req.Send()
544//    if err == nil { // resp is now filled
545//        fmt.Println(resp)
546//    }
547//
548// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCompilationJob
549func (c *SageMaker) CreateCompilationJobRequest(input *CreateCompilationJobInput) (req *request.Request, output *CreateCompilationJobOutput) {
550	op := &request.Operation{
551		Name:       opCreateCompilationJob,
552		HTTPMethod: "POST",
553		HTTPPath:   "/",
554	}
555
556	if input == nil {
557		input = &CreateCompilationJobInput{}
558	}
559
560	output = &CreateCompilationJobOutput{}
561	req = c.newRequest(op, input, output)
562	return
563}
564
565// CreateCompilationJob API operation for Amazon SageMaker Service.
566//
567// Starts a model compilation job. After the model has been compiled, Amazon
568// SageMaker saves the resulting model artifacts to an Amazon Simple Storage
569// Service (Amazon S3) bucket that you specify.
570//
571// If you choose to host your model using Amazon SageMaker hosting services,
572// you can use the resulting model artifacts as part of the model. You can also
573// use the artifacts with AWS IoT Greengrass. In that case, deploy them as an
574// ML resource.
575//
576// In the request body, you provide the following:
577//
578//    * A name for the compilation job
579//
580//    * Information about the input model artifacts
581//
582//    * The output location for the compiled model and the device (target) that
583//    the model runs on
584//
585//    * The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker
586//    assumes to perform the model compilation job.
587//
588// You can also provide a Tag to track the model compilation job's resource
589// use and costs. The response body contains the CompilationJobArn for the compiled
590// job.
591//
592// To stop a model compilation job, use StopCompilationJob. To get information
593// about a particular model compilation job, use DescribeCompilationJob. To
594// get information about multiple model compilation jobs, use ListCompilationJobs.
595//
596// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
597// with awserr.Error's Code and Message methods to get detailed information about
598// the error.
599//
600// See the AWS API reference guide for Amazon SageMaker Service's
601// API operation CreateCompilationJob for usage and error information.
602//
603// Returned Error Types:
604//   * ResourceInUse
605//   Resource being accessed is in use.
606//
607//   * ResourceLimitExceeded
608//   You have exceeded an Amazon SageMaker resource limit. For example, you might
609//   have too many training jobs created.
610//
611// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCompilationJob
612func (c *SageMaker) CreateCompilationJob(input *CreateCompilationJobInput) (*CreateCompilationJobOutput, error) {
613	req, out := c.CreateCompilationJobRequest(input)
614	return out, req.Send()
615}
616
617// CreateCompilationJobWithContext is the same as CreateCompilationJob with the addition of
618// the ability to pass a context and additional request options.
619//
620// See CreateCompilationJob for details on how to use this API operation.
621//
622// The context must be non-nil and will be used for request cancellation. If
623// the context is nil a panic will occur. In the future the SDK may create
624// sub-contexts for http.Requests. See https://golang.org/pkg/context/
625// for more information on using Contexts.
626func (c *SageMaker) CreateCompilationJobWithContext(ctx aws.Context, input *CreateCompilationJobInput, opts ...request.Option) (*CreateCompilationJobOutput, error) {
627	req, out := c.CreateCompilationJobRequest(input)
628	req.SetContext(ctx)
629	req.ApplyOptions(opts...)
630	return out, req.Send()
631}
632
633const opCreateDomain = "CreateDomain"
634
635// CreateDomainRequest generates a "aws/request.Request" representing the
636// client's request for the CreateDomain operation. The "output" return
637// value will be populated with the request's response once the request completes
638// successfully.
639//
640// Use "Send" method on the returned Request to send the API call to the service.
641// the "output" return value is not valid until after Send returns without error.
642//
643// See CreateDomain for more information on using the CreateDomain
644// API call, and error handling.
645//
646// This method is useful when you want to inject custom logic or configuration
647// into the SDK's request lifecycle. Such as custom headers, or retry logic.
648//
649//
650//    // Example sending a request using the CreateDomainRequest method.
651//    req, resp := client.CreateDomainRequest(params)
652//
653//    err := req.Send()
654//    if err == nil { // resp is now filled
655//        fmt.Println(resp)
656//    }
657//
658// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDomain
659func (c *SageMaker) CreateDomainRequest(input *CreateDomainInput) (req *request.Request, output *CreateDomainOutput) {
660	op := &request.Operation{
661		Name:       opCreateDomain,
662		HTTPMethod: "POST",
663		HTTPPath:   "/",
664	}
665
666	if input == nil {
667		input = &CreateDomainInput{}
668	}
669
670	output = &CreateDomainOutput{}
671	req = c.newRequest(op, input, output)
672	return
673}
674
675// CreateDomain API operation for Amazon SageMaker Service.
676//
677// Creates a Domain used by SageMaker Studio. A domain consists of an associated
678// directory, a list of authorized users, and a variety of security, application,
679// policy, and Amazon Virtual Private Cloud (VPC) configurations. An AWS account
680// is limited to one domain per region. Users within a domain can share notebook
681// files and other artifacts with each other.
682//
683// When a domain is created, an Amazon Elastic File System (EFS) volume is also
684// created for use by all of the users within the domain. Each user receives
685// a private home directory within the EFS for notebooks, Git repositories,
686// and data files.
687//
688// All traffic between the domain and the EFS volume is communicated through
689// the specified subnet IDs. All other traffic goes over the Internet through
690// an Amazon SageMaker system VPC. The EFS traffic uses the NFS/TCP protocol
691// over port 2049.
692//
693// NFS traffic over TCP on port 2049 needs to be allowed in both inbound and
694// outbound rules in order to launch a SageMaker Studio app successfully.
695//
696// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
697// with awserr.Error's Code and Message methods to get detailed information about
698// the error.
699//
700// See the AWS API reference guide for Amazon SageMaker Service's
701// API operation CreateDomain for usage and error information.
702//
703// Returned Error Types:
704//   * ResourceLimitExceeded
705//   You have exceeded an Amazon SageMaker resource limit. For example, you might
706//   have too many training jobs created.
707//
708//   * ResourceInUse
709//   Resource being accessed is in use.
710//
711// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDomain
712func (c *SageMaker) CreateDomain(input *CreateDomainInput) (*CreateDomainOutput, error) {
713	req, out := c.CreateDomainRequest(input)
714	return out, req.Send()
715}
716
717// CreateDomainWithContext is the same as CreateDomain with the addition of
718// the ability to pass a context and additional request options.
719//
720// See CreateDomain for details on how to use this API operation.
721//
722// The context must be non-nil and will be used for request cancellation. If
723// the context is nil a panic will occur. In the future the SDK may create
724// sub-contexts for http.Requests. See https://golang.org/pkg/context/
725// for more information on using Contexts.
726func (c *SageMaker) CreateDomainWithContext(ctx aws.Context, input *CreateDomainInput, opts ...request.Option) (*CreateDomainOutput, error) {
727	req, out := c.CreateDomainRequest(input)
728	req.SetContext(ctx)
729	req.ApplyOptions(opts...)
730	return out, req.Send()
731}
732
733const opCreateEndpoint = "CreateEndpoint"
734
735// CreateEndpointRequest generates a "aws/request.Request" representing the
736// client's request for the CreateEndpoint operation. The "output" return
737// value will be populated with the request's response once the request completes
738// successfully.
739//
740// Use "Send" method on the returned Request to send the API call to the service.
741// the "output" return value is not valid until after Send returns without error.
742//
743// See CreateEndpoint for more information on using the CreateEndpoint
744// API call, and error handling.
745//
746// This method is useful when you want to inject custom logic or configuration
747// into the SDK's request lifecycle. Such as custom headers, or retry logic.
748//
749//
750//    // Example sending a request using the CreateEndpointRequest method.
751//    req, resp := client.CreateEndpointRequest(params)
752//
753//    err := req.Send()
754//    if err == nil { // resp is now filled
755//        fmt.Println(resp)
756//    }
757//
758// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpoint
759func (c *SageMaker) CreateEndpointRequest(input *CreateEndpointInput) (req *request.Request, output *CreateEndpointOutput) {
760	op := &request.Operation{
761		Name:       opCreateEndpoint,
762		HTTPMethod: "POST",
763		HTTPPath:   "/",
764	}
765
766	if input == nil {
767		input = &CreateEndpointInput{}
768	}
769
770	output = &CreateEndpointOutput{}
771	req = c.newRequest(op, input, output)
772	return
773}
774
775// CreateEndpoint API operation for Amazon SageMaker Service.
776//
777// Creates an endpoint using the endpoint configuration specified in the request.
778// Amazon SageMaker uses the endpoint to provision resources and deploy models.
779// You create the endpoint configuration with the CreateEndpointConfig API.
780//
781// Use this API to deploy models using Amazon SageMaker hosting services.
782//
783// For an example that calls this method when deploying a model to Amazon SageMaker
784// hosting services, see Deploy the Model to Amazon SageMaker Hosting Services
785// (AWS SDK for Python (Boto 3)). (https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html#ex1-deploy-model-boto)
786//
787// You must not delete an EndpointConfig that is in use by an endpoint that
788// is live or while the UpdateEndpoint or CreateEndpoint operations are being
789// performed on the endpoint. To update an endpoint, you must create a new EndpointConfig.
790//
791// The endpoint name must be unique within an AWS Region in your AWS account.
792//
793// When it receives the request, Amazon SageMaker creates the endpoint, launches
794// the resources (ML compute instances), and deploys the model(s) on them.
795//
796// When you call CreateEndpoint, a load call is made to DynamoDB to verify that
797// your endpoint configuration exists. When you read data from a DynamoDB table
798// supporting Eventually Consistent Reads (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html),
799// the response might not reflect the results of a recently completed write
800// operation. The response might include some stale data. If the dependent entities
801// are not yet in DynamoDB, this causes a validation error. If you repeat your
802// read request after a short time, the response should return the latest data.
803// So retry logic is recommended to handle these possible issues. We also recommend
804// that customers call DescribeEndpointConfig before calling CreateEndpoint
805// to minimize the potential impact of a DynamoDB eventually consistent read.
806//
807// When Amazon SageMaker receives the request, it sets the endpoint status to
808// Creating. After it creates the endpoint, it sets the status to InService.
809// Amazon SageMaker can then process incoming requests for inferences. To check
810// the status of an endpoint, use the DescribeEndpoint API.
811//
812// If any of the models hosted at this endpoint get model data from an Amazon
813// S3 location, Amazon SageMaker uses AWS Security Token Service to download
814// model artifacts from the S3 path you provided. AWS STS is activated in your
815// IAM user account by default. If you previously deactivated AWS STS for a
816// region, you need to reactivate AWS STS for that region. For more information,
817// see Activating and Deactivating AWS STS in an AWS Region (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
818// in the AWS Identity and Access Management User Guide.
819//
820// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
821// with awserr.Error's Code and Message methods to get detailed information about
822// the error.
823//
824// See the AWS API reference guide for Amazon SageMaker Service's
825// API operation CreateEndpoint for usage and error information.
826//
827// Returned Error Types:
828//   * ResourceLimitExceeded
829//   You have exceeded an Amazon SageMaker resource limit. For example, you might
830//   have too many training jobs created.
831//
832// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpoint
833func (c *SageMaker) CreateEndpoint(input *CreateEndpointInput) (*CreateEndpointOutput, error) {
834	req, out := c.CreateEndpointRequest(input)
835	return out, req.Send()
836}
837
838// CreateEndpointWithContext is the same as CreateEndpoint with the addition of
839// the ability to pass a context and additional request options.
840//
841// See CreateEndpoint for details on how to use this API operation.
842//
843// The context must be non-nil and will be used for request cancellation. If
844// the context is nil a panic will occur. In the future the SDK may create
845// sub-contexts for http.Requests. See https://golang.org/pkg/context/
846// for more information on using Contexts.
847func (c *SageMaker) CreateEndpointWithContext(ctx aws.Context, input *CreateEndpointInput, opts ...request.Option) (*CreateEndpointOutput, error) {
848	req, out := c.CreateEndpointRequest(input)
849	req.SetContext(ctx)
850	req.ApplyOptions(opts...)
851	return out, req.Send()
852}
853
854const opCreateEndpointConfig = "CreateEndpointConfig"
855
856// CreateEndpointConfigRequest generates a "aws/request.Request" representing the
857// client's request for the CreateEndpointConfig operation. The "output" return
858// value will be populated with the request's response once the request completes
859// successfully.
860//
861// Use "Send" method on the returned Request to send the API call to the service.
862// the "output" return value is not valid until after Send returns without error.
863//
864// See CreateEndpointConfig for more information on using the CreateEndpointConfig
865// API call, and error handling.
866//
867// This method is useful when you want to inject custom logic or configuration
868// into the SDK's request lifecycle. Such as custom headers, or retry logic.
869//
870//
871//    // Example sending a request using the CreateEndpointConfigRequest method.
872//    req, resp := client.CreateEndpointConfigRequest(params)
873//
874//    err := req.Send()
875//    if err == nil { // resp is now filled
876//        fmt.Println(resp)
877//    }
878//
879// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointConfig
880func (c *SageMaker) CreateEndpointConfigRequest(input *CreateEndpointConfigInput) (req *request.Request, output *CreateEndpointConfigOutput) {
881	op := &request.Operation{
882		Name:       opCreateEndpointConfig,
883		HTTPMethod: "POST",
884		HTTPPath:   "/",
885	}
886
887	if input == nil {
888		input = &CreateEndpointConfigInput{}
889	}
890
891	output = &CreateEndpointConfigOutput{}
892	req = c.newRequest(op, input, output)
893	return
894}
895
896// CreateEndpointConfig API operation for Amazon SageMaker Service.
897//
898// Creates an endpoint configuration that Amazon SageMaker hosting services
899// uses to deploy models. In the configuration, you identify one or more models,
900// created using the CreateModel API, to deploy and the resources that you want
901// Amazon SageMaker to provision. Then you call the CreateEndpoint API.
902//
903// Use this API if you want to use Amazon SageMaker hosting services to deploy
904// models into production.
905//
906// In the request, you define a ProductionVariant, for each model that you want
907// to deploy. Each ProductionVariant parameter also describes the resources
908// that you want Amazon SageMaker to provision. This includes the number and
909// type of ML compute instances to deploy.
910//
911// If you are hosting multiple models, you also assign a VariantWeight to specify
912// how much traffic you want to allocate to each model. For example, suppose
913// that you want to host two models, A and B, and you assign traffic weight
914// 2 for model A and 1 for model B. Amazon SageMaker distributes two-thirds
915// of the traffic to Model A, and one-third to model B.
916//
917// For an example that calls this method when deploying a model to Amazon SageMaker
918// hosting services, see Deploy the Model to Amazon SageMaker Hosting Services
919// (AWS SDK for Python (Boto 3)). (https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html#ex1-deploy-model-boto)
920//
921// When you call CreateEndpoint, a load call is made to DynamoDB to verify that
922// your endpoint configuration exists. When you read data from a DynamoDB table
923// supporting Eventually Consistent Reads (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html),
924// the response might not reflect the results of a recently completed write
925// operation. The response might include some stale data. If the dependent entities
926// are not yet in DynamoDB, this causes a validation error. If you repeat your
927// read request after a short time, the response should return the latest data.
928// So retry logic is recommended to handle these possible issues. We also recommend
929// that customers call DescribeEndpointConfig before calling CreateEndpoint
930// to minimize the potential impact of a DynamoDB eventually consistent read.
931//
932// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
933// with awserr.Error's Code and Message methods to get detailed information about
934// the error.
935//
936// See the AWS API reference guide for Amazon SageMaker Service's
937// API operation CreateEndpointConfig for usage and error information.
938//
939// Returned Error Types:
940//   * ResourceLimitExceeded
941//   You have exceeded an Amazon SageMaker resource limit. For example, you might
942//   have too many training jobs created.
943//
944// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointConfig
945func (c *SageMaker) CreateEndpointConfig(input *CreateEndpointConfigInput) (*CreateEndpointConfigOutput, error) {
946	req, out := c.CreateEndpointConfigRequest(input)
947	return out, req.Send()
948}
949
950// CreateEndpointConfigWithContext is the same as CreateEndpointConfig with the addition of
951// the ability to pass a context and additional request options.
952//
953// See CreateEndpointConfig for details on how to use this API operation.
954//
955// The context must be non-nil and will be used for request cancellation. If
956// the context is nil a panic will occur. In the future the SDK may create
957// sub-contexts for http.Requests. See https://golang.org/pkg/context/
958// for more information on using Contexts.
959func (c *SageMaker) CreateEndpointConfigWithContext(ctx aws.Context, input *CreateEndpointConfigInput, opts ...request.Option) (*CreateEndpointConfigOutput, error) {
960	req, out := c.CreateEndpointConfigRequest(input)
961	req.SetContext(ctx)
962	req.ApplyOptions(opts...)
963	return out, req.Send()
964}
965
966const opCreateExperiment = "CreateExperiment"
967
968// CreateExperimentRequest generates a "aws/request.Request" representing the
969// client's request for the CreateExperiment operation. The "output" return
970// value will be populated with the request's response once the request completes
971// successfully.
972//
973// Use "Send" method on the returned Request to send the API call to the service.
974// the "output" return value is not valid until after Send returns without error.
975//
976// See CreateExperiment for more information on using the CreateExperiment
977// API call, and error handling.
978//
979// This method is useful when you want to inject custom logic or configuration
980// into the SDK's request lifecycle. Such as custom headers, or retry logic.
981//
982//
983//    // Example sending a request using the CreateExperimentRequest method.
984//    req, resp := client.CreateExperimentRequest(params)
985//
986//    err := req.Send()
987//    if err == nil { // resp is now filled
988//        fmt.Println(resp)
989//    }
990//
991// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateExperiment
992func (c *SageMaker) CreateExperimentRequest(input *CreateExperimentInput) (req *request.Request, output *CreateExperimentOutput) {
993	op := &request.Operation{
994		Name:       opCreateExperiment,
995		HTTPMethod: "POST",
996		HTTPPath:   "/",
997	}
998
999	if input == nil {
1000		input = &CreateExperimentInput{}
1001	}
1002
1003	output = &CreateExperimentOutput{}
1004	req = c.newRequest(op, input, output)
1005	return
1006}
1007
1008// CreateExperiment API operation for Amazon SageMaker Service.
1009//
1010// Creates an SageMaker experiment. An experiment is a collection of trials
1011// that are observed, compared and evaluated as a group. A trial is a set of
1012// steps, called trial components, that produce a machine learning model.
1013//
1014// The goal of an experiment is to determine the components that produce the
1015// best model. Multiple trials are performed, each one isolating and measuring
1016// the impact of a change to one or more inputs, while keeping the remaining
1017// inputs constant.
1018//
1019// When you use Amazon SageMaker Studio or the Amazon SageMaker Python SDK,
1020// all experiments, trials, and trial components are automatically tracked,
1021// logged, and indexed. When you use the AWS SDK for Python (Boto), you must
1022// use the logging APIs provided by the SDK.
1023//
1024// You can add tags to experiments, trials, trial components and then use the
1025// Search API to search for the tags.
1026//
1027// To add a description to an experiment, specify the optional Description parameter.
1028// To add a description later, or to change the description, call the UpdateExperiment
1029// API.
1030//
1031// To get a list of all your experiments, call the ListExperiments API. To view
1032// an experiment's properties, call the DescribeExperiment API. To get a list
1033// of all the trials associated with an experiment, call the ListTrials API.
1034// To create a trial call the CreateTrial API.
1035//
1036// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1037// with awserr.Error's Code and Message methods to get detailed information about
1038// the error.
1039//
1040// See the AWS API reference guide for Amazon SageMaker Service's
1041// API operation CreateExperiment for usage and error information.
1042//
1043// Returned Error Types:
1044//   * ResourceLimitExceeded
1045//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1046//   have too many training jobs created.
1047//
1048// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateExperiment
1049func (c *SageMaker) CreateExperiment(input *CreateExperimentInput) (*CreateExperimentOutput, error) {
1050	req, out := c.CreateExperimentRequest(input)
1051	return out, req.Send()
1052}
1053
1054// CreateExperimentWithContext is the same as CreateExperiment with the addition of
1055// the ability to pass a context and additional request options.
1056//
1057// See CreateExperiment for details on how to use this API operation.
1058//
1059// The context must be non-nil and will be used for request cancellation. If
1060// the context is nil a panic will occur. In the future the SDK may create
1061// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1062// for more information on using Contexts.
1063func (c *SageMaker) CreateExperimentWithContext(ctx aws.Context, input *CreateExperimentInput, opts ...request.Option) (*CreateExperimentOutput, error) {
1064	req, out := c.CreateExperimentRequest(input)
1065	req.SetContext(ctx)
1066	req.ApplyOptions(opts...)
1067	return out, req.Send()
1068}
1069
1070const opCreateFlowDefinition = "CreateFlowDefinition"
1071
1072// CreateFlowDefinitionRequest generates a "aws/request.Request" representing the
1073// client's request for the CreateFlowDefinition operation. The "output" return
1074// value will be populated with the request's response once the request completes
1075// successfully.
1076//
1077// Use "Send" method on the returned Request to send the API call to the service.
1078// the "output" return value is not valid until after Send returns without error.
1079//
1080// See CreateFlowDefinition for more information on using the CreateFlowDefinition
1081// API call, and error handling.
1082//
1083// This method is useful when you want to inject custom logic or configuration
1084// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1085//
1086//
1087//    // Example sending a request using the CreateFlowDefinitionRequest method.
1088//    req, resp := client.CreateFlowDefinitionRequest(params)
1089//
1090//    err := req.Send()
1091//    if err == nil { // resp is now filled
1092//        fmt.Println(resp)
1093//    }
1094//
1095// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateFlowDefinition
1096func (c *SageMaker) CreateFlowDefinitionRequest(input *CreateFlowDefinitionInput) (req *request.Request, output *CreateFlowDefinitionOutput) {
1097	op := &request.Operation{
1098		Name:       opCreateFlowDefinition,
1099		HTTPMethod: "POST",
1100		HTTPPath:   "/",
1101	}
1102
1103	if input == nil {
1104		input = &CreateFlowDefinitionInput{}
1105	}
1106
1107	output = &CreateFlowDefinitionOutput{}
1108	req = c.newRequest(op, input, output)
1109	return
1110}
1111
1112// CreateFlowDefinition API operation for Amazon SageMaker Service.
1113//
1114// Creates a flow definition.
1115//
1116// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1117// with awserr.Error's Code and Message methods to get detailed information about
1118// the error.
1119//
1120// See the AWS API reference guide for Amazon SageMaker Service's
1121// API operation CreateFlowDefinition for usage and error information.
1122//
1123// Returned Error Types:
1124//   * ResourceLimitExceeded
1125//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1126//   have too many training jobs created.
1127//
1128//   * ResourceInUse
1129//   Resource being accessed is in use.
1130//
1131// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateFlowDefinition
1132func (c *SageMaker) CreateFlowDefinition(input *CreateFlowDefinitionInput) (*CreateFlowDefinitionOutput, error) {
1133	req, out := c.CreateFlowDefinitionRequest(input)
1134	return out, req.Send()
1135}
1136
1137// CreateFlowDefinitionWithContext is the same as CreateFlowDefinition with the addition of
1138// the ability to pass a context and additional request options.
1139//
1140// See CreateFlowDefinition for details on how to use this API operation.
1141//
1142// The context must be non-nil and will be used for request cancellation. If
1143// the context is nil a panic will occur. In the future the SDK may create
1144// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1145// for more information on using Contexts.
1146func (c *SageMaker) CreateFlowDefinitionWithContext(ctx aws.Context, input *CreateFlowDefinitionInput, opts ...request.Option) (*CreateFlowDefinitionOutput, error) {
1147	req, out := c.CreateFlowDefinitionRequest(input)
1148	req.SetContext(ctx)
1149	req.ApplyOptions(opts...)
1150	return out, req.Send()
1151}
1152
1153const opCreateHumanTaskUi = "CreateHumanTaskUi"
1154
1155// CreateHumanTaskUiRequest generates a "aws/request.Request" representing the
1156// client's request for the CreateHumanTaskUi operation. The "output" return
1157// value will be populated with the request's response once the request completes
1158// successfully.
1159//
1160// Use "Send" method on the returned Request to send the API call to the service.
1161// the "output" return value is not valid until after Send returns without error.
1162//
1163// See CreateHumanTaskUi for more information on using the CreateHumanTaskUi
1164// API call, and error handling.
1165//
1166// This method is useful when you want to inject custom logic or configuration
1167// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1168//
1169//
1170//    // Example sending a request using the CreateHumanTaskUiRequest method.
1171//    req, resp := client.CreateHumanTaskUiRequest(params)
1172//
1173//    err := req.Send()
1174//    if err == nil { // resp is now filled
1175//        fmt.Println(resp)
1176//    }
1177//
1178// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHumanTaskUi
1179func (c *SageMaker) CreateHumanTaskUiRequest(input *CreateHumanTaskUiInput) (req *request.Request, output *CreateHumanTaskUiOutput) {
1180	op := &request.Operation{
1181		Name:       opCreateHumanTaskUi,
1182		HTTPMethod: "POST",
1183		HTTPPath:   "/",
1184	}
1185
1186	if input == nil {
1187		input = &CreateHumanTaskUiInput{}
1188	}
1189
1190	output = &CreateHumanTaskUiOutput{}
1191	req = c.newRequest(op, input, output)
1192	return
1193}
1194
1195// CreateHumanTaskUi API operation for Amazon SageMaker Service.
1196//
1197// Defines the settings you will use for the human review workflow user interface.
1198// Reviewers will see a three-panel interface with an instruction area, the
1199// item to review, and an input area.
1200//
1201// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1202// with awserr.Error's Code and Message methods to get detailed information about
1203// the error.
1204//
1205// See the AWS API reference guide for Amazon SageMaker Service's
1206// API operation CreateHumanTaskUi for usage and error information.
1207//
1208// Returned Error Types:
1209//   * ResourceLimitExceeded
1210//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1211//   have too many training jobs created.
1212//
1213//   * ResourceInUse
1214//   Resource being accessed is in use.
1215//
1216// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHumanTaskUi
1217func (c *SageMaker) CreateHumanTaskUi(input *CreateHumanTaskUiInput) (*CreateHumanTaskUiOutput, error) {
1218	req, out := c.CreateHumanTaskUiRequest(input)
1219	return out, req.Send()
1220}
1221
1222// CreateHumanTaskUiWithContext is the same as CreateHumanTaskUi with the addition of
1223// the ability to pass a context and additional request options.
1224//
1225// See CreateHumanTaskUi for details on how to use this API operation.
1226//
1227// The context must be non-nil and will be used for request cancellation. If
1228// the context is nil a panic will occur. In the future the SDK may create
1229// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1230// for more information on using Contexts.
1231func (c *SageMaker) CreateHumanTaskUiWithContext(ctx aws.Context, input *CreateHumanTaskUiInput, opts ...request.Option) (*CreateHumanTaskUiOutput, error) {
1232	req, out := c.CreateHumanTaskUiRequest(input)
1233	req.SetContext(ctx)
1234	req.ApplyOptions(opts...)
1235	return out, req.Send()
1236}
1237
1238const opCreateHyperParameterTuningJob = "CreateHyperParameterTuningJob"
1239
1240// CreateHyperParameterTuningJobRequest generates a "aws/request.Request" representing the
1241// client's request for the CreateHyperParameterTuningJob operation. The "output" return
1242// value will be populated with the request's response once the request completes
1243// successfully.
1244//
1245// Use "Send" method on the returned Request to send the API call to the service.
1246// the "output" return value is not valid until after Send returns without error.
1247//
1248// See CreateHyperParameterTuningJob for more information on using the CreateHyperParameterTuningJob
1249// API call, and error handling.
1250//
1251// This method is useful when you want to inject custom logic or configuration
1252// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1253//
1254//
1255//    // Example sending a request using the CreateHyperParameterTuningJobRequest method.
1256//    req, resp := client.CreateHyperParameterTuningJobRequest(params)
1257//
1258//    err := req.Send()
1259//    if err == nil { // resp is now filled
1260//        fmt.Println(resp)
1261//    }
1262//
1263// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHyperParameterTuningJob
1264func (c *SageMaker) CreateHyperParameterTuningJobRequest(input *CreateHyperParameterTuningJobInput) (req *request.Request, output *CreateHyperParameterTuningJobOutput) {
1265	op := &request.Operation{
1266		Name:       opCreateHyperParameterTuningJob,
1267		HTTPMethod: "POST",
1268		HTTPPath:   "/",
1269	}
1270
1271	if input == nil {
1272		input = &CreateHyperParameterTuningJobInput{}
1273	}
1274
1275	output = &CreateHyperParameterTuningJobOutput{}
1276	req = c.newRequest(op, input, output)
1277	return
1278}
1279
1280// CreateHyperParameterTuningJob API operation for Amazon SageMaker Service.
1281//
1282// Starts a hyperparameter tuning job. A hyperparameter tuning job finds the
1283// best version of a model by running many training jobs on your dataset using
1284// the algorithm you choose and values for hyperparameters within ranges that
1285// you specify. It then chooses the hyperparameter values that result in a model
1286// that performs the best, as measured by an objective metric that you choose.
1287//
1288// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1289// with awserr.Error's Code and Message methods to get detailed information about
1290// the error.
1291//
1292// See the AWS API reference guide for Amazon SageMaker Service's
1293// API operation CreateHyperParameterTuningJob for usage and error information.
1294//
1295// Returned Error Types:
1296//   * ResourceInUse
1297//   Resource being accessed is in use.
1298//
1299//   * ResourceLimitExceeded
1300//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1301//   have too many training jobs created.
1302//
1303// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHyperParameterTuningJob
1304func (c *SageMaker) CreateHyperParameterTuningJob(input *CreateHyperParameterTuningJobInput) (*CreateHyperParameterTuningJobOutput, error) {
1305	req, out := c.CreateHyperParameterTuningJobRequest(input)
1306	return out, req.Send()
1307}
1308
1309// CreateHyperParameterTuningJobWithContext is the same as CreateHyperParameterTuningJob with the addition of
1310// the ability to pass a context and additional request options.
1311//
1312// See CreateHyperParameterTuningJob for details on how to use this API operation.
1313//
1314// The context must be non-nil and will be used for request cancellation. If
1315// the context is nil a panic will occur. In the future the SDK may create
1316// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1317// for more information on using Contexts.
1318func (c *SageMaker) CreateHyperParameterTuningJobWithContext(ctx aws.Context, input *CreateHyperParameterTuningJobInput, opts ...request.Option) (*CreateHyperParameterTuningJobOutput, error) {
1319	req, out := c.CreateHyperParameterTuningJobRequest(input)
1320	req.SetContext(ctx)
1321	req.ApplyOptions(opts...)
1322	return out, req.Send()
1323}
1324
1325const opCreateLabelingJob = "CreateLabelingJob"
1326
1327// CreateLabelingJobRequest generates a "aws/request.Request" representing the
1328// client's request for the CreateLabelingJob operation. The "output" return
1329// value will be populated with the request's response once the request completes
1330// successfully.
1331//
1332// Use "Send" method on the returned Request to send the API call to the service.
1333// the "output" return value is not valid until after Send returns without error.
1334//
1335// See CreateLabelingJob for more information on using the CreateLabelingJob
1336// API call, and error handling.
1337//
1338// This method is useful when you want to inject custom logic or configuration
1339// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1340//
1341//
1342//    // Example sending a request using the CreateLabelingJobRequest method.
1343//    req, resp := client.CreateLabelingJobRequest(params)
1344//
1345//    err := req.Send()
1346//    if err == nil { // resp is now filled
1347//        fmt.Println(resp)
1348//    }
1349//
1350// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateLabelingJob
1351func (c *SageMaker) CreateLabelingJobRequest(input *CreateLabelingJobInput) (req *request.Request, output *CreateLabelingJobOutput) {
1352	op := &request.Operation{
1353		Name:       opCreateLabelingJob,
1354		HTTPMethod: "POST",
1355		HTTPPath:   "/",
1356	}
1357
1358	if input == nil {
1359		input = &CreateLabelingJobInput{}
1360	}
1361
1362	output = &CreateLabelingJobOutput{}
1363	req = c.newRequest(op, input, output)
1364	return
1365}
1366
1367// CreateLabelingJob API operation for Amazon SageMaker Service.
1368//
1369// Creates a job that uses workers to label the data objects in your input dataset.
1370// You can use the labeled data to train machine learning models.
1371//
1372// You can select your workforce from one of three providers:
1373//
1374//    * A private workforce that you create. It can include employees, contractors,
1375//    and outside experts. Use a private workforce when want the data to stay
1376//    within your organization or when a specific set of skills is required.
1377//
1378//    * One or more vendors that you select from the AWS Marketplace. Vendors
1379//    provide expertise in specific areas.
1380//
1381//    * The Amazon Mechanical Turk workforce. This is the largest workforce,
1382//    but it should only be used for public data or data that has been stripped
1383//    of any personally identifiable information.
1384//
1385// You can also use automated data labeling to reduce the number of data objects
1386// that need to be labeled by a human. Automated data labeling uses active learning
1387// to determine if a data object can be labeled by machine or if it needs to
1388// be sent to a human worker. For more information, see Using Automated Data
1389// Labeling (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-automated-labeling.html).
1390//
1391// The data objects to be labeled are contained in an Amazon S3 bucket. You
1392// create a manifest file that describes the location of each object. For more
1393// information, see Using Input and Output Data (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-data.html).
1394//
1395// The output can be used as the manifest file for another labeling job or as
1396// training data for your machine learning models.
1397//
1398// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1399// with awserr.Error's Code and Message methods to get detailed information about
1400// the error.
1401//
1402// See the AWS API reference guide for Amazon SageMaker Service's
1403// API operation CreateLabelingJob for usage and error information.
1404//
1405// Returned Error Types:
1406//   * ResourceInUse
1407//   Resource being accessed is in use.
1408//
1409//   * ResourceLimitExceeded
1410//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1411//   have too many training jobs created.
1412//
1413// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateLabelingJob
1414func (c *SageMaker) CreateLabelingJob(input *CreateLabelingJobInput) (*CreateLabelingJobOutput, error) {
1415	req, out := c.CreateLabelingJobRequest(input)
1416	return out, req.Send()
1417}
1418
1419// CreateLabelingJobWithContext is the same as CreateLabelingJob with the addition of
1420// the ability to pass a context and additional request options.
1421//
1422// See CreateLabelingJob for details on how to use this API operation.
1423//
1424// The context must be non-nil and will be used for request cancellation. If
1425// the context is nil a panic will occur. In the future the SDK may create
1426// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1427// for more information on using Contexts.
1428func (c *SageMaker) CreateLabelingJobWithContext(ctx aws.Context, input *CreateLabelingJobInput, opts ...request.Option) (*CreateLabelingJobOutput, error) {
1429	req, out := c.CreateLabelingJobRequest(input)
1430	req.SetContext(ctx)
1431	req.ApplyOptions(opts...)
1432	return out, req.Send()
1433}
1434
1435const opCreateModel = "CreateModel"
1436
1437// CreateModelRequest generates a "aws/request.Request" representing the
1438// client's request for the CreateModel operation. The "output" return
1439// value will be populated with the request's response once the request completes
1440// successfully.
1441//
1442// Use "Send" method on the returned Request to send the API call to the service.
1443// the "output" return value is not valid until after Send returns without error.
1444//
1445// See CreateModel for more information on using the CreateModel
1446// API call, and error handling.
1447//
1448// This method is useful when you want to inject custom logic or configuration
1449// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1450//
1451//
1452//    // Example sending a request using the CreateModelRequest method.
1453//    req, resp := client.CreateModelRequest(params)
1454//
1455//    err := req.Send()
1456//    if err == nil { // resp is now filled
1457//        fmt.Println(resp)
1458//    }
1459//
1460// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModel
1461func (c *SageMaker) CreateModelRequest(input *CreateModelInput) (req *request.Request, output *CreateModelOutput) {
1462	op := &request.Operation{
1463		Name:       opCreateModel,
1464		HTTPMethod: "POST",
1465		HTTPPath:   "/",
1466	}
1467
1468	if input == nil {
1469		input = &CreateModelInput{}
1470	}
1471
1472	output = &CreateModelOutput{}
1473	req = c.newRequest(op, input, output)
1474	return
1475}
1476
1477// CreateModel API operation for Amazon SageMaker Service.
1478//
1479// Creates a model in Amazon SageMaker. In the request, you name the model and
1480// describe a primary container. For the primary container, you specify the
1481// Docker image that contains inference code, artifacts (from prior training),
1482// and a custom environment map that the inference code uses when you deploy
1483// the model for predictions.
1484//
1485// Use this API to create a model if you want to use Amazon SageMaker hosting
1486// services or run a batch transform job.
1487//
1488// To host your model, you create an endpoint configuration with the CreateEndpointConfig
1489// API, and then create an endpoint with the CreateEndpoint API. Amazon SageMaker
1490// then deploys all of the containers that you defined for the model in the
1491// hosting environment.
1492//
1493// For an example that calls this method when deploying a model to Amazon SageMaker
1494// hosting services, see Deploy the Model to Amazon SageMaker Hosting Services
1495// (AWS SDK for Python (Boto 3)). (https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html#ex1-deploy-model-boto)
1496//
1497// To run a batch transform using your model, you start a job with the CreateTransformJob
1498// API. Amazon SageMaker uses your model and your dataset to get inferences
1499// which are then saved to a specified S3 location.
1500//
1501// In the CreateModel request, you must define a container with the PrimaryContainer
1502// parameter.
1503//
1504// In the request, you also provide an IAM role that Amazon SageMaker can assume
1505// to access model artifacts and docker image for deployment on ML compute hosting
1506// instances or for batch transform jobs. In addition, you also use the IAM
1507// role to manage permissions the inference code needs. For example, if the
1508// inference code access any other AWS resources, you grant necessary permissions
1509// via this role.
1510//
1511// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1512// with awserr.Error's Code and Message methods to get detailed information about
1513// the error.
1514//
1515// See the AWS API reference guide for Amazon SageMaker Service's
1516// API operation CreateModel for usage and error information.
1517//
1518// Returned Error Types:
1519//   * ResourceLimitExceeded
1520//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1521//   have too many training jobs created.
1522//
1523// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModel
1524func (c *SageMaker) CreateModel(input *CreateModelInput) (*CreateModelOutput, error) {
1525	req, out := c.CreateModelRequest(input)
1526	return out, req.Send()
1527}
1528
1529// CreateModelWithContext is the same as CreateModel with the addition of
1530// the ability to pass a context and additional request options.
1531//
1532// See CreateModel for details on how to use this API operation.
1533//
1534// The context must be non-nil and will be used for request cancellation. If
1535// the context is nil a panic will occur. In the future the SDK may create
1536// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1537// for more information on using Contexts.
1538func (c *SageMaker) CreateModelWithContext(ctx aws.Context, input *CreateModelInput, opts ...request.Option) (*CreateModelOutput, error) {
1539	req, out := c.CreateModelRequest(input)
1540	req.SetContext(ctx)
1541	req.ApplyOptions(opts...)
1542	return out, req.Send()
1543}
1544
1545const opCreateModelPackage = "CreateModelPackage"
1546
1547// CreateModelPackageRequest generates a "aws/request.Request" representing the
1548// client's request for the CreateModelPackage operation. The "output" return
1549// value will be populated with the request's response once the request completes
1550// successfully.
1551//
1552// Use "Send" method on the returned Request to send the API call to the service.
1553// the "output" return value is not valid until after Send returns without error.
1554//
1555// See CreateModelPackage for more information on using the CreateModelPackage
1556// API call, and error handling.
1557//
1558// This method is useful when you want to inject custom logic or configuration
1559// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1560//
1561//
1562//    // Example sending a request using the CreateModelPackageRequest method.
1563//    req, resp := client.CreateModelPackageRequest(params)
1564//
1565//    err := req.Send()
1566//    if err == nil { // resp is now filled
1567//        fmt.Println(resp)
1568//    }
1569//
1570// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackage
1571func (c *SageMaker) CreateModelPackageRequest(input *CreateModelPackageInput) (req *request.Request, output *CreateModelPackageOutput) {
1572	op := &request.Operation{
1573		Name:       opCreateModelPackage,
1574		HTTPMethod: "POST",
1575		HTTPPath:   "/",
1576	}
1577
1578	if input == nil {
1579		input = &CreateModelPackageInput{}
1580	}
1581
1582	output = &CreateModelPackageOutput{}
1583	req = c.newRequest(op, input, output)
1584	return
1585}
1586
1587// CreateModelPackage API operation for Amazon SageMaker Service.
1588//
1589// Creates a model package that you can use to create Amazon SageMaker models
1590// or list on AWS Marketplace. Buyers can subscribe to model packages listed
1591// on AWS Marketplace to create models in Amazon SageMaker.
1592//
1593// To create a model package by specifying a Docker container that contains
1594// your inference code and the Amazon S3 location of your model artifacts, provide
1595// values for InferenceSpecification. To create a model from an algorithm resource
1596// that you created or subscribed to in AWS Marketplace, provide a value for
1597// SourceAlgorithmSpecification.
1598//
1599// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1600// with awserr.Error's Code and Message methods to get detailed information about
1601// the error.
1602//
1603// See the AWS API reference guide for Amazon SageMaker Service's
1604// API operation CreateModelPackage for usage and error information.
1605// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackage
1606func (c *SageMaker) CreateModelPackage(input *CreateModelPackageInput) (*CreateModelPackageOutput, error) {
1607	req, out := c.CreateModelPackageRequest(input)
1608	return out, req.Send()
1609}
1610
1611// CreateModelPackageWithContext is the same as CreateModelPackage with the addition of
1612// the ability to pass a context and additional request options.
1613//
1614// See CreateModelPackage for details on how to use this API operation.
1615//
1616// The context must be non-nil and will be used for request cancellation. If
1617// the context is nil a panic will occur. In the future the SDK may create
1618// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1619// for more information on using Contexts.
1620func (c *SageMaker) CreateModelPackageWithContext(ctx aws.Context, input *CreateModelPackageInput, opts ...request.Option) (*CreateModelPackageOutput, error) {
1621	req, out := c.CreateModelPackageRequest(input)
1622	req.SetContext(ctx)
1623	req.ApplyOptions(opts...)
1624	return out, req.Send()
1625}
1626
1627const opCreateMonitoringSchedule = "CreateMonitoringSchedule"
1628
1629// CreateMonitoringScheduleRequest generates a "aws/request.Request" representing the
1630// client's request for the CreateMonitoringSchedule operation. The "output" return
1631// value will be populated with the request's response once the request completes
1632// successfully.
1633//
1634// Use "Send" method on the returned Request to send the API call to the service.
1635// the "output" return value is not valid until after Send returns without error.
1636//
1637// See CreateMonitoringSchedule for more information on using the CreateMonitoringSchedule
1638// API call, and error handling.
1639//
1640// This method is useful when you want to inject custom logic or configuration
1641// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1642//
1643//
1644//    // Example sending a request using the CreateMonitoringScheduleRequest method.
1645//    req, resp := client.CreateMonitoringScheduleRequest(params)
1646//
1647//    err := req.Send()
1648//    if err == nil { // resp is now filled
1649//        fmt.Println(resp)
1650//    }
1651//
1652// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateMonitoringSchedule
1653func (c *SageMaker) CreateMonitoringScheduleRequest(input *CreateMonitoringScheduleInput) (req *request.Request, output *CreateMonitoringScheduleOutput) {
1654	op := &request.Operation{
1655		Name:       opCreateMonitoringSchedule,
1656		HTTPMethod: "POST",
1657		HTTPPath:   "/",
1658	}
1659
1660	if input == nil {
1661		input = &CreateMonitoringScheduleInput{}
1662	}
1663
1664	output = &CreateMonitoringScheduleOutput{}
1665	req = c.newRequest(op, input, output)
1666	return
1667}
1668
1669// CreateMonitoringSchedule API operation for Amazon SageMaker Service.
1670//
1671// Creates a schedule that regularly starts Amazon SageMaker Processing Jobs
1672// to monitor the data captured for an Amazon SageMaker Endoint.
1673//
1674// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1675// with awserr.Error's Code and Message methods to get detailed information about
1676// the error.
1677//
1678// See the AWS API reference guide for Amazon SageMaker Service's
1679// API operation CreateMonitoringSchedule for usage and error information.
1680//
1681// Returned Error Types:
1682//   * ResourceLimitExceeded
1683//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1684//   have too many training jobs created.
1685//
1686//   * ResourceInUse
1687//   Resource being accessed is in use.
1688//
1689// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateMonitoringSchedule
1690func (c *SageMaker) CreateMonitoringSchedule(input *CreateMonitoringScheduleInput) (*CreateMonitoringScheduleOutput, error) {
1691	req, out := c.CreateMonitoringScheduleRequest(input)
1692	return out, req.Send()
1693}
1694
1695// CreateMonitoringScheduleWithContext is the same as CreateMonitoringSchedule with the addition of
1696// the ability to pass a context and additional request options.
1697//
1698// See CreateMonitoringSchedule for details on how to use this API operation.
1699//
1700// The context must be non-nil and will be used for request cancellation. If
1701// the context is nil a panic will occur. In the future the SDK may create
1702// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1703// for more information on using Contexts.
1704func (c *SageMaker) CreateMonitoringScheduleWithContext(ctx aws.Context, input *CreateMonitoringScheduleInput, opts ...request.Option) (*CreateMonitoringScheduleOutput, error) {
1705	req, out := c.CreateMonitoringScheduleRequest(input)
1706	req.SetContext(ctx)
1707	req.ApplyOptions(opts...)
1708	return out, req.Send()
1709}
1710
1711const opCreateNotebookInstance = "CreateNotebookInstance"
1712
1713// CreateNotebookInstanceRequest generates a "aws/request.Request" representing the
1714// client's request for the CreateNotebookInstance operation. The "output" return
1715// value will be populated with the request's response once the request completes
1716// successfully.
1717//
1718// Use "Send" method on the returned Request to send the API call to the service.
1719// the "output" return value is not valid until after Send returns without error.
1720//
1721// See CreateNotebookInstance for more information on using the CreateNotebookInstance
1722// API call, and error handling.
1723//
1724// This method is useful when you want to inject custom logic or configuration
1725// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1726//
1727//
1728//    // Example sending a request using the CreateNotebookInstanceRequest method.
1729//    req, resp := client.CreateNotebookInstanceRequest(params)
1730//
1731//    err := req.Send()
1732//    if err == nil { // resp is now filled
1733//        fmt.Println(resp)
1734//    }
1735//
1736// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstance
1737func (c *SageMaker) CreateNotebookInstanceRequest(input *CreateNotebookInstanceInput) (req *request.Request, output *CreateNotebookInstanceOutput) {
1738	op := &request.Operation{
1739		Name:       opCreateNotebookInstance,
1740		HTTPMethod: "POST",
1741		HTTPPath:   "/",
1742	}
1743
1744	if input == nil {
1745		input = &CreateNotebookInstanceInput{}
1746	}
1747
1748	output = &CreateNotebookInstanceOutput{}
1749	req = c.newRequest(op, input, output)
1750	return
1751}
1752
1753// CreateNotebookInstance API operation for Amazon SageMaker Service.
1754//
1755// Creates an Amazon SageMaker notebook instance. A notebook instance is a machine
1756// learning (ML) compute instance running on a Jupyter notebook.
1757//
1758// In a CreateNotebookInstance request, specify the type of ML compute instance
1759// that you want to run. Amazon SageMaker launches the instance, installs common
1760// libraries that you can use to explore datasets for model training, and attaches
1761// an ML storage volume to the notebook instance.
1762//
1763// Amazon SageMaker also provides a set of example notebooks. Each notebook
1764// demonstrates how to use Amazon SageMaker with a specific algorithm or with
1765// a machine learning framework.
1766//
1767// After receiving the request, Amazon SageMaker does the following:
1768//
1769// Creates a network interface in the Amazon SageMaker VPC.
1770//
1771// (Option) If you specified SubnetId, Amazon SageMaker creates a network interface
1772// in your own VPC, which is inferred from the subnet ID that you provide in
1773// the input. When creating this network interface, Amazon SageMaker attaches
1774// the security group that you specified in the request to the network interface
1775// that it creates in your VPC.
1776//
1777// Launches an EC2 instance of the type specified in the request in the Amazon
1778// SageMaker VPC. If you specified SubnetId of your VPC, Amazon SageMaker specifies
1779// both network interfaces when launching this instance. This enables inbound
1780// traffic from your own VPC to the notebook instance, assuming that the security
1781// groups allow it.
1782//
1783// After creating the notebook instance, Amazon SageMaker returns its Amazon
1784// Resource Name (ARN). You can't change the name of a notebook instance after
1785// you create it.
1786//
1787// After Amazon SageMaker creates the notebook instance, you can connect to
1788// the Jupyter server and work in Jupyter notebooks. For example, you can write
1789// code to explore a dataset that you can use for model training, train a model,
1790// host models by creating Amazon SageMaker endpoints, and validate hosted models.
1791//
1792// For more information, see How It Works (https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html).
1793//
1794// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1795// with awserr.Error's Code and Message methods to get detailed information about
1796// the error.
1797//
1798// See the AWS API reference guide for Amazon SageMaker Service's
1799// API operation CreateNotebookInstance for usage and error information.
1800//
1801// Returned Error Types:
1802//   * ResourceLimitExceeded
1803//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1804//   have too many training jobs created.
1805//
1806// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstance
1807func (c *SageMaker) CreateNotebookInstance(input *CreateNotebookInstanceInput) (*CreateNotebookInstanceOutput, error) {
1808	req, out := c.CreateNotebookInstanceRequest(input)
1809	return out, req.Send()
1810}
1811
1812// CreateNotebookInstanceWithContext is the same as CreateNotebookInstance with the addition of
1813// the ability to pass a context and additional request options.
1814//
1815// See CreateNotebookInstance for details on how to use this API operation.
1816//
1817// The context must be non-nil and will be used for request cancellation. If
1818// the context is nil a panic will occur. In the future the SDK may create
1819// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1820// for more information on using Contexts.
1821func (c *SageMaker) CreateNotebookInstanceWithContext(ctx aws.Context, input *CreateNotebookInstanceInput, opts ...request.Option) (*CreateNotebookInstanceOutput, error) {
1822	req, out := c.CreateNotebookInstanceRequest(input)
1823	req.SetContext(ctx)
1824	req.ApplyOptions(opts...)
1825	return out, req.Send()
1826}
1827
1828const opCreateNotebookInstanceLifecycleConfig = "CreateNotebookInstanceLifecycleConfig"
1829
1830// CreateNotebookInstanceLifecycleConfigRequest generates a "aws/request.Request" representing the
1831// client's request for the CreateNotebookInstanceLifecycleConfig operation. The "output" return
1832// value will be populated with the request's response once the request completes
1833// successfully.
1834//
1835// Use "Send" method on the returned Request to send the API call to the service.
1836// the "output" return value is not valid until after Send returns without error.
1837//
1838// See CreateNotebookInstanceLifecycleConfig for more information on using the CreateNotebookInstanceLifecycleConfig
1839// API call, and error handling.
1840//
1841// This method is useful when you want to inject custom logic or configuration
1842// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1843//
1844//
1845//    // Example sending a request using the CreateNotebookInstanceLifecycleConfigRequest method.
1846//    req, resp := client.CreateNotebookInstanceLifecycleConfigRequest(params)
1847//
1848//    err := req.Send()
1849//    if err == nil { // resp is now filled
1850//        fmt.Println(resp)
1851//    }
1852//
1853// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstanceLifecycleConfig
1854func (c *SageMaker) CreateNotebookInstanceLifecycleConfigRequest(input *CreateNotebookInstanceLifecycleConfigInput) (req *request.Request, output *CreateNotebookInstanceLifecycleConfigOutput) {
1855	op := &request.Operation{
1856		Name:       opCreateNotebookInstanceLifecycleConfig,
1857		HTTPMethod: "POST",
1858		HTTPPath:   "/",
1859	}
1860
1861	if input == nil {
1862		input = &CreateNotebookInstanceLifecycleConfigInput{}
1863	}
1864
1865	output = &CreateNotebookInstanceLifecycleConfigOutput{}
1866	req = c.newRequest(op, input, output)
1867	return
1868}
1869
1870// CreateNotebookInstanceLifecycleConfig API operation for Amazon SageMaker Service.
1871//
1872// Creates a lifecycle configuration that you can associate with a notebook
1873// instance. A lifecycle configuration is a collection of shell scripts that
1874// run when you create or start a notebook instance.
1875//
1876// Each lifecycle configuration script has a limit of 16384 characters.
1877//
1878// The value of the $PATH environment variable that is available to both scripts
1879// is /sbin:bin:/usr/sbin:/usr/bin.
1880//
1881// View CloudWatch Logs for notebook instance lifecycle configurations in log
1882// group /aws/sagemaker/NotebookInstances in log stream [notebook-instance-name]/[LifecycleConfigHook].
1883//
1884// Lifecycle configuration scripts cannot run for longer than 5 minutes. If
1885// a script runs for longer than 5 minutes, it fails and the notebook instance
1886// is not created or started.
1887//
1888// For information about notebook instance lifestyle configurations, see Step
1889// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
1890//
1891// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1892// with awserr.Error's Code and Message methods to get detailed information about
1893// the error.
1894//
1895// See the AWS API reference guide for Amazon SageMaker Service's
1896// API operation CreateNotebookInstanceLifecycleConfig for usage and error information.
1897//
1898// Returned Error Types:
1899//   * ResourceLimitExceeded
1900//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1901//   have too many training jobs created.
1902//
1903// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstanceLifecycleConfig
1904func (c *SageMaker) CreateNotebookInstanceLifecycleConfig(input *CreateNotebookInstanceLifecycleConfigInput) (*CreateNotebookInstanceLifecycleConfigOutput, error) {
1905	req, out := c.CreateNotebookInstanceLifecycleConfigRequest(input)
1906	return out, req.Send()
1907}
1908
1909// CreateNotebookInstanceLifecycleConfigWithContext is the same as CreateNotebookInstanceLifecycleConfig with the addition of
1910// the ability to pass a context and additional request options.
1911//
1912// See CreateNotebookInstanceLifecycleConfig for details on how to use this API operation.
1913//
1914// The context must be non-nil and will be used for request cancellation. If
1915// the context is nil a panic will occur. In the future the SDK may create
1916// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1917// for more information on using Contexts.
1918func (c *SageMaker) CreateNotebookInstanceLifecycleConfigWithContext(ctx aws.Context, input *CreateNotebookInstanceLifecycleConfigInput, opts ...request.Option) (*CreateNotebookInstanceLifecycleConfigOutput, error) {
1919	req, out := c.CreateNotebookInstanceLifecycleConfigRequest(input)
1920	req.SetContext(ctx)
1921	req.ApplyOptions(opts...)
1922	return out, req.Send()
1923}
1924
1925const opCreatePresignedDomainUrl = "CreatePresignedDomainUrl"
1926
1927// CreatePresignedDomainUrlRequest generates a "aws/request.Request" representing the
1928// client's request for the CreatePresignedDomainUrl operation. The "output" return
1929// value will be populated with the request's response once the request completes
1930// successfully.
1931//
1932// Use "Send" method on the returned Request to send the API call to the service.
1933// the "output" return value is not valid until after Send returns without error.
1934//
1935// See CreatePresignedDomainUrl for more information on using the CreatePresignedDomainUrl
1936// API call, and error handling.
1937//
1938// This method is useful when you want to inject custom logic or configuration
1939// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1940//
1941//
1942//    // Example sending a request using the CreatePresignedDomainUrlRequest method.
1943//    req, resp := client.CreatePresignedDomainUrlRequest(params)
1944//
1945//    err := req.Send()
1946//    if err == nil { // resp is now filled
1947//        fmt.Println(resp)
1948//    }
1949//
1950// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedDomainUrl
1951func (c *SageMaker) CreatePresignedDomainUrlRequest(input *CreatePresignedDomainUrlInput) (req *request.Request, output *CreatePresignedDomainUrlOutput) {
1952	op := &request.Operation{
1953		Name:       opCreatePresignedDomainUrl,
1954		HTTPMethod: "POST",
1955		HTTPPath:   "/",
1956	}
1957
1958	if input == nil {
1959		input = &CreatePresignedDomainUrlInput{}
1960	}
1961
1962	output = &CreatePresignedDomainUrlOutput{}
1963	req = c.newRequest(op, input, output)
1964	return
1965}
1966
1967// CreatePresignedDomainUrl API operation for Amazon SageMaker Service.
1968//
1969// Creates a URL for a specified UserProfile in a Domain. When accessed in a
1970// web browser, the user will be automatically signed in to Amazon SageMaker
1971// Studio, and granted access to all of the Apps and files associated with the
1972// Domain's Amazon Elastic File System (EFS) volume. This operation can only
1973// be called when the authentication mode equals IAM.
1974//
1975// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1976// with awserr.Error's Code and Message methods to get detailed information about
1977// the error.
1978//
1979// See the AWS API reference guide for Amazon SageMaker Service's
1980// API operation CreatePresignedDomainUrl for usage and error information.
1981//
1982// Returned Error Types:
1983//   * ResourceNotFound
1984//   Resource being access is not found.
1985//
1986// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedDomainUrl
1987func (c *SageMaker) CreatePresignedDomainUrl(input *CreatePresignedDomainUrlInput) (*CreatePresignedDomainUrlOutput, error) {
1988	req, out := c.CreatePresignedDomainUrlRequest(input)
1989	return out, req.Send()
1990}
1991
1992// CreatePresignedDomainUrlWithContext is the same as CreatePresignedDomainUrl with the addition of
1993// the ability to pass a context and additional request options.
1994//
1995// See CreatePresignedDomainUrl for details on how to use this API operation.
1996//
1997// The context must be non-nil and will be used for request cancellation. If
1998// the context is nil a panic will occur. In the future the SDK may create
1999// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2000// for more information on using Contexts.
2001func (c *SageMaker) CreatePresignedDomainUrlWithContext(ctx aws.Context, input *CreatePresignedDomainUrlInput, opts ...request.Option) (*CreatePresignedDomainUrlOutput, error) {
2002	req, out := c.CreatePresignedDomainUrlRequest(input)
2003	req.SetContext(ctx)
2004	req.ApplyOptions(opts...)
2005	return out, req.Send()
2006}
2007
2008const opCreatePresignedNotebookInstanceUrl = "CreatePresignedNotebookInstanceUrl"
2009
2010// CreatePresignedNotebookInstanceUrlRequest generates a "aws/request.Request" representing the
2011// client's request for the CreatePresignedNotebookInstanceUrl operation. The "output" return
2012// value will be populated with the request's response once the request completes
2013// successfully.
2014//
2015// Use "Send" method on the returned Request to send the API call to the service.
2016// the "output" return value is not valid until after Send returns without error.
2017//
2018// See CreatePresignedNotebookInstanceUrl for more information on using the CreatePresignedNotebookInstanceUrl
2019// API call, and error handling.
2020//
2021// This method is useful when you want to inject custom logic or configuration
2022// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2023//
2024//
2025//    // Example sending a request using the CreatePresignedNotebookInstanceUrlRequest method.
2026//    req, resp := client.CreatePresignedNotebookInstanceUrlRequest(params)
2027//
2028//    err := req.Send()
2029//    if err == nil { // resp is now filled
2030//        fmt.Println(resp)
2031//    }
2032//
2033// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedNotebookInstanceUrl
2034func (c *SageMaker) CreatePresignedNotebookInstanceUrlRequest(input *CreatePresignedNotebookInstanceUrlInput) (req *request.Request, output *CreatePresignedNotebookInstanceUrlOutput) {
2035	op := &request.Operation{
2036		Name:       opCreatePresignedNotebookInstanceUrl,
2037		HTTPMethod: "POST",
2038		HTTPPath:   "/",
2039	}
2040
2041	if input == nil {
2042		input = &CreatePresignedNotebookInstanceUrlInput{}
2043	}
2044
2045	output = &CreatePresignedNotebookInstanceUrlOutput{}
2046	req = c.newRequest(op, input, output)
2047	return
2048}
2049
2050// CreatePresignedNotebookInstanceUrl API operation for Amazon SageMaker Service.
2051//
2052// Returns a URL that you can use to connect to the Jupyter server from a notebook
2053// instance. In the Amazon SageMaker console, when you choose Open next to a
2054// notebook instance, Amazon SageMaker opens a new tab showing the Jupyter server
2055// home page from the notebook instance. The console uses this API to get the
2056// URL and show the page.
2057//
2058// The IAM role or user used to call this API defines the permissions to access
2059// the notebook instance. Once the presigned URL is created, no additional permission
2060// is required to access this URL. IAM authorization policies for this API are
2061// also enforced for every HTTP request and WebSocket frame that attempts to
2062// connect to the notebook instance.
2063//
2064// You can restrict access to this API and to the URL that it returns to a list
2065// of IP addresses that you specify. Use the NotIpAddress condition operator
2066// and the aws:SourceIP condition context key to specify the list of IP addresses
2067// that you want to have access to the notebook instance. For more information,
2068// see Limit Access to a Notebook Instance by IP Address (https://docs.aws.amazon.com/sagemaker/latest/dg/security_iam_id-based-policy-examples.html#nbi-ip-filter).
2069//
2070// The URL that you get from a call to CreatePresignedNotebookInstanceUrl is
2071// valid only for 5 minutes. If you try to use the URL after the 5-minute limit
2072// expires, you are directed to the AWS console sign-in page.
2073//
2074// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2075// with awserr.Error's Code and Message methods to get detailed information about
2076// the error.
2077//
2078// See the AWS API reference guide for Amazon SageMaker Service's
2079// API operation CreatePresignedNotebookInstanceUrl for usage and error information.
2080// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedNotebookInstanceUrl
2081func (c *SageMaker) CreatePresignedNotebookInstanceUrl(input *CreatePresignedNotebookInstanceUrlInput) (*CreatePresignedNotebookInstanceUrlOutput, error) {
2082	req, out := c.CreatePresignedNotebookInstanceUrlRequest(input)
2083	return out, req.Send()
2084}
2085
2086// CreatePresignedNotebookInstanceUrlWithContext is the same as CreatePresignedNotebookInstanceUrl with the addition of
2087// the ability to pass a context and additional request options.
2088//
2089// See CreatePresignedNotebookInstanceUrl for details on how to use this API operation.
2090//
2091// The context must be non-nil and will be used for request cancellation. If
2092// the context is nil a panic will occur. In the future the SDK may create
2093// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2094// for more information on using Contexts.
2095func (c *SageMaker) CreatePresignedNotebookInstanceUrlWithContext(ctx aws.Context, input *CreatePresignedNotebookInstanceUrlInput, opts ...request.Option) (*CreatePresignedNotebookInstanceUrlOutput, error) {
2096	req, out := c.CreatePresignedNotebookInstanceUrlRequest(input)
2097	req.SetContext(ctx)
2098	req.ApplyOptions(opts...)
2099	return out, req.Send()
2100}
2101
2102const opCreateProcessingJob = "CreateProcessingJob"
2103
2104// CreateProcessingJobRequest generates a "aws/request.Request" representing the
2105// client's request for the CreateProcessingJob operation. The "output" return
2106// value will be populated with the request's response once the request completes
2107// successfully.
2108//
2109// Use "Send" method on the returned Request to send the API call to the service.
2110// the "output" return value is not valid until after Send returns without error.
2111//
2112// See CreateProcessingJob for more information on using the CreateProcessingJob
2113// API call, and error handling.
2114//
2115// This method is useful when you want to inject custom logic or configuration
2116// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2117//
2118//
2119//    // Example sending a request using the CreateProcessingJobRequest method.
2120//    req, resp := client.CreateProcessingJobRequest(params)
2121//
2122//    err := req.Send()
2123//    if err == nil { // resp is now filled
2124//        fmt.Println(resp)
2125//    }
2126//
2127// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateProcessingJob
2128func (c *SageMaker) CreateProcessingJobRequest(input *CreateProcessingJobInput) (req *request.Request, output *CreateProcessingJobOutput) {
2129	op := &request.Operation{
2130		Name:       opCreateProcessingJob,
2131		HTTPMethod: "POST",
2132		HTTPPath:   "/",
2133	}
2134
2135	if input == nil {
2136		input = &CreateProcessingJobInput{}
2137	}
2138
2139	output = &CreateProcessingJobOutput{}
2140	req = c.newRequest(op, input, output)
2141	return
2142}
2143
2144// CreateProcessingJob API operation for Amazon SageMaker Service.
2145//
2146// Creates a processing job.
2147//
2148// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2149// with awserr.Error's Code and Message methods to get detailed information about
2150// the error.
2151//
2152// See the AWS API reference guide for Amazon SageMaker Service's
2153// API operation CreateProcessingJob for usage and error information.
2154//
2155// Returned Error Types:
2156//   * ResourceInUse
2157//   Resource being accessed is in use.
2158//
2159//   * ResourceLimitExceeded
2160//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2161//   have too many training jobs created.
2162//
2163//   * ResourceNotFound
2164//   Resource being access is not found.
2165//
2166// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateProcessingJob
2167func (c *SageMaker) CreateProcessingJob(input *CreateProcessingJobInput) (*CreateProcessingJobOutput, error) {
2168	req, out := c.CreateProcessingJobRequest(input)
2169	return out, req.Send()
2170}
2171
2172// CreateProcessingJobWithContext is the same as CreateProcessingJob with the addition of
2173// the ability to pass a context and additional request options.
2174//
2175// See CreateProcessingJob for details on how to use this API operation.
2176//
2177// The context must be non-nil and will be used for request cancellation. If
2178// the context is nil a panic will occur. In the future the SDK may create
2179// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2180// for more information on using Contexts.
2181func (c *SageMaker) CreateProcessingJobWithContext(ctx aws.Context, input *CreateProcessingJobInput, opts ...request.Option) (*CreateProcessingJobOutput, error) {
2182	req, out := c.CreateProcessingJobRequest(input)
2183	req.SetContext(ctx)
2184	req.ApplyOptions(opts...)
2185	return out, req.Send()
2186}
2187
2188const opCreateTrainingJob = "CreateTrainingJob"
2189
2190// CreateTrainingJobRequest generates a "aws/request.Request" representing the
2191// client's request for the CreateTrainingJob operation. The "output" return
2192// value will be populated with the request's response once the request completes
2193// successfully.
2194//
2195// Use "Send" method on the returned Request to send the API call to the service.
2196// the "output" return value is not valid until after Send returns without error.
2197//
2198// See CreateTrainingJob for more information on using the CreateTrainingJob
2199// API call, and error handling.
2200//
2201// This method is useful when you want to inject custom logic or configuration
2202// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2203//
2204//
2205//    // Example sending a request using the CreateTrainingJobRequest method.
2206//    req, resp := client.CreateTrainingJobRequest(params)
2207//
2208//    err := req.Send()
2209//    if err == nil { // resp is now filled
2210//        fmt.Println(resp)
2211//    }
2212//
2213// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingJob
2214func (c *SageMaker) CreateTrainingJobRequest(input *CreateTrainingJobInput) (req *request.Request, output *CreateTrainingJobOutput) {
2215	op := &request.Operation{
2216		Name:       opCreateTrainingJob,
2217		HTTPMethod: "POST",
2218		HTTPPath:   "/",
2219	}
2220
2221	if input == nil {
2222		input = &CreateTrainingJobInput{}
2223	}
2224
2225	output = &CreateTrainingJobOutput{}
2226	req = c.newRequest(op, input, output)
2227	return
2228}
2229
2230// CreateTrainingJob API operation for Amazon SageMaker Service.
2231//
2232// Starts a model training job. After training completes, Amazon SageMaker saves
2233// the resulting model artifacts to an Amazon S3 location that you specify.
2234//
2235// If you choose to host your model using Amazon SageMaker hosting services,
2236// you can use the resulting model artifacts as part of the model. You can also
2237// use the artifacts in a machine learning service other than Amazon SageMaker,
2238// provided that you know how to use them for inferences.
2239//
2240// In the request body, you provide the following:
2241//
2242//    * AlgorithmSpecification - Identifies the training algorithm to use.
2243//
2244//    * HyperParameters - Specify these algorithm-specific parameters to enable
2245//    the estimation of model parameters during training. Hyperparameters can
2246//    be tuned to optimize this learning process. For a list of hyperparameters
2247//    for each training algorithm provided by Amazon SageMaker, see Algorithms
2248//    (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
2249//
2250//    * InputDataConfig - Describes the training dataset and the Amazon S3,
2251//    EFS, or FSx location where it is stored.
2252//
2253//    * OutputDataConfig - Identifies the Amazon S3 bucket where you want Amazon
2254//    SageMaker to save the results of model training.
2255//
2256//    * ResourceConfig - Identifies the resources, ML compute instances, and
2257//    ML storage volumes to deploy for model training. In distributed training,
2258//    you specify more than one instance.
2259//
2260//    * EnableManagedSpotTraining - Optimize the cost of training machine learning
2261//    models by up to 80% by using Amazon EC2 Spot instances. For more information,
2262//    see Managed Spot Training (https://docs.aws.amazon.com/sagemaker/latest/dg/model-managed-spot-training.html).
2263//
2264//    * RoleARN - The Amazon Resource Number (ARN) that Amazon SageMaker assumes
2265//    to perform tasks on your behalf during model training. You must grant
2266//    this role the necessary permissions so that Amazon SageMaker can successfully
2267//    complete model training.
2268//
2269//    * StoppingCondition - To help cap training costs, use MaxRuntimeInSeconds
2270//    to set a time limit for training. Use MaxWaitTimeInSeconds to specify
2271//    how long you are willing to wait for a managed spot training job to complete.
2272//
2273// For more information about Amazon SageMaker, see How It Works (https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html).
2274//
2275// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2276// with awserr.Error's Code and Message methods to get detailed information about
2277// the error.
2278//
2279// See the AWS API reference guide for Amazon SageMaker Service's
2280// API operation CreateTrainingJob for usage and error information.
2281//
2282// Returned Error Types:
2283//   * ResourceInUse
2284//   Resource being accessed is in use.
2285//
2286//   * ResourceLimitExceeded
2287//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2288//   have too many training jobs created.
2289//
2290//   * ResourceNotFound
2291//   Resource being access is not found.
2292//
2293// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingJob
2294func (c *SageMaker) CreateTrainingJob(input *CreateTrainingJobInput) (*CreateTrainingJobOutput, error) {
2295	req, out := c.CreateTrainingJobRequest(input)
2296	return out, req.Send()
2297}
2298
2299// CreateTrainingJobWithContext is the same as CreateTrainingJob with the addition of
2300// the ability to pass a context and additional request options.
2301//
2302// See CreateTrainingJob for details on how to use this API operation.
2303//
2304// The context must be non-nil and will be used for request cancellation. If
2305// the context is nil a panic will occur. In the future the SDK may create
2306// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2307// for more information on using Contexts.
2308func (c *SageMaker) CreateTrainingJobWithContext(ctx aws.Context, input *CreateTrainingJobInput, opts ...request.Option) (*CreateTrainingJobOutput, error) {
2309	req, out := c.CreateTrainingJobRequest(input)
2310	req.SetContext(ctx)
2311	req.ApplyOptions(opts...)
2312	return out, req.Send()
2313}
2314
2315const opCreateTransformJob = "CreateTransformJob"
2316
2317// CreateTransformJobRequest generates a "aws/request.Request" representing the
2318// client's request for the CreateTransformJob operation. The "output" return
2319// value will be populated with the request's response once the request completes
2320// successfully.
2321//
2322// Use "Send" method on the returned Request to send the API call to the service.
2323// the "output" return value is not valid until after Send returns without error.
2324//
2325// See CreateTransformJob for more information on using the CreateTransformJob
2326// API call, and error handling.
2327//
2328// This method is useful when you want to inject custom logic or configuration
2329// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2330//
2331//
2332//    // Example sending a request using the CreateTransformJobRequest method.
2333//    req, resp := client.CreateTransformJobRequest(params)
2334//
2335//    err := req.Send()
2336//    if err == nil { // resp is now filled
2337//        fmt.Println(resp)
2338//    }
2339//
2340// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTransformJob
2341func (c *SageMaker) CreateTransformJobRequest(input *CreateTransformJobInput) (req *request.Request, output *CreateTransformJobOutput) {
2342	op := &request.Operation{
2343		Name:       opCreateTransformJob,
2344		HTTPMethod: "POST",
2345		HTTPPath:   "/",
2346	}
2347
2348	if input == nil {
2349		input = &CreateTransformJobInput{}
2350	}
2351
2352	output = &CreateTransformJobOutput{}
2353	req = c.newRequest(op, input, output)
2354	return
2355}
2356
2357// CreateTransformJob API operation for Amazon SageMaker Service.
2358//
2359// Starts a transform job. A transform job uses a trained model to get inferences
2360// on a dataset and saves these results to an Amazon S3 location that you specify.
2361//
2362// To perform batch transformations, you create a transform job and use the
2363// data that you have readily available.
2364//
2365// In the request body, you provide the following:
2366//
2367//    * TransformJobName - Identifies the transform job. The name must be unique
2368//    within an AWS Region in an AWS account.
2369//
2370//    * ModelName - Identifies the model to use. ModelName must be the name
2371//    of an existing Amazon SageMaker model in the same AWS Region and AWS account.
2372//    For information on creating a model, see CreateModel.
2373//
2374//    * TransformInput - Describes the dataset to be transformed and the Amazon
2375//    S3 location where it is stored.
2376//
2377//    * TransformOutput - Identifies the Amazon S3 location where you want Amazon
2378//    SageMaker to save the results from the transform job.
2379//
2380//    * TransformResources - Identifies the ML compute instances for the transform
2381//    job.
2382//
2383// For more information about how batch transformation works, see Batch Transform
2384// (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform.html).
2385//
2386// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2387// with awserr.Error's Code and Message methods to get detailed information about
2388// the error.
2389//
2390// See the AWS API reference guide for Amazon SageMaker Service's
2391// API operation CreateTransformJob for usage and error information.
2392//
2393// Returned Error Types:
2394//   * ResourceInUse
2395//   Resource being accessed is in use.
2396//
2397//   * ResourceLimitExceeded
2398//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2399//   have too many training jobs created.
2400//
2401//   * ResourceNotFound
2402//   Resource being access is not found.
2403//
2404// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTransformJob
2405func (c *SageMaker) CreateTransformJob(input *CreateTransformJobInput) (*CreateTransformJobOutput, error) {
2406	req, out := c.CreateTransformJobRequest(input)
2407	return out, req.Send()
2408}
2409
2410// CreateTransformJobWithContext is the same as CreateTransformJob with the addition of
2411// the ability to pass a context and additional request options.
2412//
2413// See CreateTransformJob for details on how to use this API operation.
2414//
2415// The context must be non-nil and will be used for request cancellation. If
2416// the context is nil a panic will occur. In the future the SDK may create
2417// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2418// for more information on using Contexts.
2419func (c *SageMaker) CreateTransformJobWithContext(ctx aws.Context, input *CreateTransformJobInput, opts ...request.Option) (*CreateTransformJobOutput, error) {
2420	req, out := c.CreateTransformJobRequest(input)
2421	req.SetContext(ctx)
2422	req.ApplyOptions(opts...)
2423	return out, req.Send()
2424}
2425
2426const opCreateTrial = "CreateTrial"
2427
2428// CreateTrialRequest generates a "aws/request.Request" representing the
2429// client's request for the CreateTrial operation. The "output" return
2430// value will be populated with the request's response once the request completes
2431// successfully.
2432//
2433// Use "Send" method on the returned Request to send the API call to the service.
2434// the "output" return value is not valid until after Send returns without error.
2435//
2436// See CreateTrial for more information on using the CreateTrial
2437// API call, and error handling.
2438//
2439// This method is useful when you want to inject custom logic or configuration
2440// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2441//
2442//
2443//    // Example sending a request using the CreateTrialRequest method.
2444//    req, resp := client.CreateTrialRequest(params)
2445//
2446//    err := req.Send()
2447//    if err == nil { // resp is now filled
2448//        fmt.Println(resp)
2449//    }
2450//
2451// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrial
2452func (c *SageMaker) CreateTrialRequest(input *CreateTrialInput) (req *request.Request, output *CreateTrialOutput) {
2453	op := &request.Operation{
2454		Name:       opCreateTrial,
2455		HTTPMethod: "POST",
2456		HTTPPath:   "/",
2457	}
2458
2459	if input == nil {
2460		input = &CreateTrialInput{}
2461	}
2462
2463	output = &CreateTrialOutput{}
2464	req = c.newRequest(op, input, output)
2465	return
2466}
2467
2468// CreateTrial API operation for Amazon SageMaker Service.
2469//
2470// Creates an Amazon SageMaker trial. A trial is a set of steps called trial
2471// components that produce a machine learning model. A trial is part of a single
2472// Amazon SageMaker experiment.
2473//
2474// When you use Amazon SageMaker Studio or the Amazon SageMaker Python SDK,
2475// all experiments, trials, and trial components are automatically tracked,
2476// logged, and indexed. When you use the AWS SDK for Python (Boto), you must
2477// use the logging APIs provided by the SDK.
2478//
2479// You can add tags to a trial and then use the Search API to search for the
2480// tags.
2481//
2482// To get a list of all your trials, call the ListTrials API. To view a trial's
2483// properties, call the DescribeTrial API. To create a trial component, call
2484// the CreateTrialComponent API.
2485//
2486// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2487// with awserr.Error's Code and Message methods to get detailed information about
2488// the error.
2489//
2490// See the AWS API reference guide for Amazon SageMaker Service's
2491// API operation CreateTrial for usage and error information.
2492//
2493// Returned Error Types:
2494//   * ResourceNotFound
2495//   Resource being access is not found.
2496//
2497//   * ResourceLimitExceeded
2498//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2499//   have too many training jobs created.
2500//
2501// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrial
2502func (c *SageMaker) CreateTrial(input *CreateTrialInput) (*CreateTrialOutput, error) {
2503	req, out := c.CreateTrialRequest(input)
2504	return out, req.Send()
2505}
2506
2507// CreateTrialWithContext is the same as CreateTrial with the addition of
2508// the ability to pass a context and additional request options.
2509//
2510// See CreateTrial for details on how to use this API operation.
2511//
2512// The context must be non-nil and will be used for request cancellation. If
2513// the context is nil a panic will occur. In the future the SDK may create
2514// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2515// for more information on using Contexts.
2516func (c *SageMaker) CreateTrialWithContext(ctx aws.Context, input *CreateTrialInput, opts ...request.Option) (*CreateTrialOutput, error) {
2517	req, out := c.CreateTrialRequest(input)
2518	req.SetContext(ctx)
2519	req.ApplyOptions(opts...)
2520	return out, req.Send()
2521}
2522
2523const opCreateTrialComponent = "CreateTrialComponent"
2524
2525// CreateTrialComponentRequest generates a "aws/request.Request" representing the
2526// client's request for the CreateTrialComponent operation. The "output" return
2527// value will be populated with the request's response once the request completes
2528// successfully.
2529//
2530// Use "Send" method on the returned Request to send the API call to the service.
2531// the "output" return value is not valid until after Send returns without error.
2532//
2533// See CreateTrialComponent for more information on using the CreateTrialComponent
2534// API call, and error handling.
2535//
2536// This method is useful when you want to inject custom logic or configuration
2537// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2538//
2539//
2540//    // Example sending a request using the CreateTrialComponentRequest method.
2541//    req, resp := client.CreateTrialComponentRequest(params)
2542//
2543//    err := req.Send()
2544//    if err == nil { // resp is now filled
2545//        fmt.Println(resp)
2546//    }
2547//
2548// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrialComponent
2549func (c *SageMaker) CreateTrialComponentRequest(input *CreateTrialComponentInput) (req *request.Request, output *CreateTrialComponentOutput) {
2550	op := &request.Operation{
2551		Name:       opCreateTrialComponent,
2552		HTTPMethod: "POST",
2553		HTTPPath:   "/",
2554	}
2555
2556	if input == nil {
2557		input = &CreateTrialComponentInput{}
2558	}
2559
2560	output = &CreateTrialComponentOutput{}
2561	req = c.newRequest(op, input, output)
2562	return
2563}
2564
2565// CreateTrialComponent API operation for Amazon SageMaker Service.
2566//
2567// Creates a trial component, which is a stage of a machine learning trial.
2568// A trial is composed of one or more trial components. A trial component can
2569// be used in multiple trials.
2570//
2571// Trial components include pre-processing jobs, training jobs, and batch transform
2572// jobs.
2573//
2574// When you use Amazon SageMaker Studio or the Amazon SageMaker Python SDK,
2575// all experiments, trials, and trial components are automatically tracked,
2576// logged, and indexed. When you use the AWS SDK for Python (Boto), you must
2577// use the logging APIs provided by the SDK.
2578//
2579// You can add tags to a trial component and then use the Search API to search
2580// for the tags.
2581//
2582// CreateTrialComponent can only be invoked from within an Amazon SageMaker
2583// managed environment. This includes Amazon SageMaker training jobs, processing
2584// jobs, transform jobs, and Amazon SageMaker notebooks. A call to CreateTrialComponent
2585// from outside one of these environments results in an error.
2586//
2587// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2588// with awserr.Error's Code and Message methods to get detailed information about
2589// the error.
2590//
2591// See the AWS API reference guide for Amazon SageMaker Service's
2592// API operation CreateTrialComponent for usage and error information.
2593//
2594// Returned Error Types:
2595//   * ResourceLimitExceeded
2596//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2597//   have too many training jobs created.
2598//
2599// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrialComponent
2600func (c *SageMaker) CreateTrialComponent(input *CreateTrialComponentInput) (*CreateTrialComponentOutput, error) {
2601	req, out := c.CreateTrialComponentRequest(input)
2602	return out, req.Send()
2603}
2604
2605// CreateTrialComponentWithContext is the same as CreateTrialComponent with the addition of
2606// the ability to pass a context and additional request options.
2607//
2608// See CreateTrialComponent for details on how to use this API operation.
2609//
2610// The context must be non-nil and will be used for request cancellation. If
2611// the context is nil a panic will occur. In the future the SDK may create
2612// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2613// for more information on using Contexts.
2614func (c *SageMaker) CreateTrialComponentWithContext(ctx aws.Context, input *CreateTrialComponentInput, opts ...request.Option) (*CreateTrialComponentOutput, error) {
2615	req, out := c.CreateTrialComponentRequest(input)
2616	req.SetContext(ctx)
2617	req.ApplyOptions(opts...)
2618	return out, req.Send()
2619}
2620
2621const opCreateUserProfile = "CreateUserProfile"
2622
2623// CreateUserProfileRequest generates a "aws/request.Request" representing the
2624// client's request for the CreateUserProfile operation. The "output" return
2625// value will be populated with the request's response once the request completes
2626// successfully.
2627//
2628// Use "Send" method on the returned Request to send the API call to the service.
2629// the "output" return value is not valid until after Send returns without error.
2630//
2631// See CreateUserProfile for more information on using the CreateUserProfile
2632// API call, and error handling.
2633//
2634// This method is useful when you want to inject custom logic or configuration
2635// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2636//
2637//
2638//    // Example sending a request using the CreateUserProfileRequest method.
2639//    req, resp := client.CreateUserProfileRequest(params)
2640//
2641//    err := req.Send()
2642//    if err == nil { // resp is now filled
2643//        fmt.Println(resp)
2644//    }
2645//
2646// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateUserProfile
2647func (c *SageMaker) CreateUserProfileRequest(input *CreateUserProfileInput) (req *request.Request, output *CreateUserProfileOutput) {
2648	op := &request.Operation{
2649		Name:       opCreateUserProfile,
2650		HTTPMethod: "POST",
2651		HTTPPath:   "/",
2652	}
2653
2654	if input == nil {
2655		input = &CreateUserProfileInput{}
2656	}
2657
2658	output = &CreateUserProfileOutput{}
2659	req = c.newRequest(op, input, output)
2660	return
2661}
2662
2663// CreateUserProfile API operation for Amazon SageMaker Service.
2664//
2665// Creates a user profile. A user profile represents a single user within a
2666// domain, and is the main way to reference a "person" for the purposes of sharing,
2667// reporting, and other user-oriented features. This entity is created when
2668// a user onboards to Amazon SageMaker Studio. If an administrator invites a
2669// person by email or imports them from SSO, a user profile is automatically
2670// created. A user profile is the primary holder of settings for an individual
2671// user and has a reference to the user's private Amazon Elastic File System
2672// (EFS) home directory.
2673//
2674// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2675// with awserr.Error's Code and Message methods to get detailed information about
2676// the error.
2677//
2678// See the AWS API reference guide for Amazon SageMaker Service's
2679// API operation CreateUserProfile for usage and error information.
2680//
2681// Returned Error Types:
2682//   * ResourceLimitExceeded
2683//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2684//   have too many training jobs created.
2685//
2686//   * ResourceInUse
2687//   Resource being accessed is in use.
2688//
2689// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateUserProfile
2690func (c *SageMaker) CreateUserProfile(input *CreateUserProfileInput) (*CreateUserProfileOutput, error) {
2691	req, out := c.CreateUserProfileRequest(input)
2692	return out, req.Send()
2693}
2694
2695// CreateUserProfileWithContext is the same as CreateUserProfile with the addition of
2696// the ability to pass a context and additional request options.
2697//
2698// See CreateUserProfile for details on how to use this API operation.
2699//
2700// The context must be non-nil and will be used for request cancellation. If
2701// the context is nil a panic will occur. In the future the SDK may create
2702// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2703// for more information on using Contexts.
2704func (c *SageMaker) CreateUserProfileWithContext(ctx aws.Context, input *CreateUserProfileInput, opts ...request.Option) (*CreateUserProfileOutput, error) {
2705	req, out := c.CreateUserProfileRequest(input)
2706	req.SetContext(ctx)
2707	req.ApplyOptions(opts...)
2708	return out, req.Send()
2709}
2710
2711const opCreateWorkforce = "CreateWorkforce"
2712
2713// CreateWorkforceRequest generates a "aws/request.Request" representing the
2714// client's request for the CreateWorkforce operation. The "output" return
2715// value will be populated with the request's response once the request completes
2716// successfully.
2717//
2718// Use "Send" method on the returned Request to send the API call to the service.
2719// the "output" return value is not valid until after Send returns without error.
2720//
2721// See CreateWorkforce for more information on using the CreateWorkforce
2722// API call, and error handling.
2723//
2724// This method is useful when you want to inject custom logic or configuration
2725// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2726//
2727//
2728//    // Example sending a request using the CreateWorkforceRequest method.
2729//    req, resp := client.CreateWorkforceRequest(params)
2730//
2731//    err := req.Send()
2732//    if err == nil { // resp is now filled
2733//        fmt.Println(resp)
2734//    }
2735//
2736// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkforce
2737func (c *SageMaker) CreateWorkforceRequest(input *CreateWorkforceInput) (req *request.Request, output *CreateWorkforceOutput) {
2738	op := &request.Operation{
2739		Name:       opCreateWorkforce,
2740		HTTPMethod: "POST",
2741		HTTPPath:   "/",
2742	}
2743
2744	if input == nil {
2745		input = &CreateWorkforceInput{}
2746	}
2747
2748	output = &CreateWorkforceOutput{}
2749	req = c.newRequest(op, input, output)
2750	return
2751}
2752
2753// CreateWorkforce API operation for Amazon SageMaker Service.
2754//
2755// Use this operation to create a workforce. This operation will return an error
2756// if a workforce already exists in the AWS Region that you specify. You can
2757// only create one workforce in each AWS Region.
2758//
2759// If you want to create a new workforce in an AWS Region where the a workforce
2760// already exists, use the API operation to delete the existing workforce and
2761// then use this operation to create a new workforce.
2762//
2763// To create a private workforce using Amazon Cognito, you must specify a Cognito
2764// user pool in CognitoConfig. You can also create an Amazon Cognito workforce
2765// using the Amazon SageMaker console. For more information, see Create a Private
2766// Workforce (Amazon Cognito) (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html).
2767//
2768// To create a private workforce using your own OIDC Identity Provider (IdP),
2769// specify your IdP configuration in OidcConfig. You must create a OIDC IdP
2770// workforce using this API operation. For more information, see Create a Private
2771// Workforce (OIDC IdP) (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private-oidc.html).
2772//
2773// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2774// with awserr.Error's Code and Message methods to get detailed information about
2775// the error.
2776//
2777// See the AWS API reference guide for Amazon SageMaker Service's
2778// API operation CreateWorkforce for usage and error information.
2779// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkforce
2780func (c *SageMaker) CreateWorkforce(input *CreateWorkforceInput) (*CreateWorkforceOutput, error) {
2781	req, out := c.CreateWorkforceRequest(input)
2782	return out, req.Send()
2783}
2784
2785// CreateWorkforceWithContext is the same as CreateWorkforce with the addition of
2786// the ability to pass a context and additional request options.
2787//
2788// See CreateWorkforce for details on how to use this API operation.
2789//
2790// The context must be non-nil and will be used for request cancellation. If
2791// the context is nil a panic will occur. In the future the SDK may create
2792// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2793// for more information on using Contexts.
2794func (c *SageMaker) CreateWorkforceWithContext(ctx aws.Context, input *CreateWorkforceInput, opts ...request.Option) (*CreateWorkforceOutput, error) {
2795	req, out := c.CreateWorkforceRequest(input)
2796	req.SetContext(ctx)
2797	req.ApplyOptions(opts...)
2798	return out, req.Send()
2799}
2800
2801const opCreateWorkteam = "CreateWorkteam"
2802
2803// CreateWorkteamRequest generates a "aws/request.Request" representing the
2804// client's request for the CreateWorkteam operation. The "output" return
2805// value will be populated with the request's response once the request completes
2806// successfully.
2807//
2808// Use "Send" method on the returned Request to send the API call to the service.
2809// the "output" return value is not valid until after Send returns without error.
2810//
2811// See CreateWorkteam for more information on using the CreateWorkteam
2812// API call, and error handling.
2813//
2814// This method is useful when you want to inject custom logic or configuration
2815// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2816//
2817//
2818//    // Example sending a request using the CreateWorkteamRequest method.
2819//    req, resp := client.CreateWorkteamRequest(params)
2820//
2821//    err := req.Send()
2822//    if err == nil { // resp is now filled
2823//        fmt.Println(resp)
2824//    }
2825//
2826// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkteam
2827func (c *SageMaker) CreateWorkteamRequest(input *CreateWorkteamInput) (req *request.Request, output *CreateWorkteamOutput) {
2828	op := &request.Operation{
2829		Name:       opCreateWorkteam,
2830		HTTPMethod: "POST",
2831		HTTPPath:   "/",
2832	}
2833
2834	if input == nil {
2835		input = &CreateWorkteamInput{}
2836	}
2837
2838	output = &CreateWorkteamOutput{}
2839	req = c.newRequest(op, input, output)
2840	return
2841}
2842
2843// CreateWorkteam API operation for Amazon SageMaker Service.
2844//
2845// Creates a new work team for labeling your data. A work team is defined by
2846// one or more Amazon Cognito user pools. You must first create the user pools
2847// before you can create a work team.
2848//
2849// You cannot create more than 25 work teams in an account and region.
2850//
2851// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2852// with awserr.Error's Code and Message methods to get detailed information about
2853// the error.
2854//
2855// See the AWS API reference guide for Amazon SageMaker Service's
2856// API operation CreateWorkteam for usage and error information.
2857//
2858// Returned Error Types:
2859//   * ResourceInUse
2860//   Resource being accessed is in use.
2861//
2862//   * ResourceLimitExceeded
2863//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2864//   have too many training jobs created.
2865//
2866// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkteam
2867func (c *SageMaker) CreateWorkteam(input *CreateWorkteamInput) (*CreateWorkteamOutput, error) {
2868	req, out := c.CreateWorkteamRequest(input)
2869	return out, req.Send()
2870}
2871
2872// CreateWorkteamWithContext is the same as CreateWorkteam with the addition of
2873// the ability to pass a context and additional request options.
2874//
2875// See CreateWorkteam for details on how to use this API operation.
2876//
2877// The context must be non-nil and will be used for request cancellation. If
2878// the context is nil a panic will occur. In the future the SDK may create
2879// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2880// for more information on using Contexts.
2881func (c *SageMaker) CreateWorkteamWithContext(ctx aws.Context, input *CreateWorkteamInput, opts ...request.Option) (*CreateWorkteamOutput, error) {
2882	req, out := c.CreateWorkteamRequest(input)
2883	req.SetContext(ctx)
2884	req.ApplyOptions(opts...)
2885	return out, req.Send()
2886}
2887
2888const opDeleteAlgorithm = "DeleteAlgorithm"
2889
2890// DeleteAlgorithmRequest generates a "aws/request.Request" representing the
2891// client's request for the DeleteAlgorithm operation. The "output" return
2892// value will be populated with the request's response once the request completes
2893// successfully.
2894//
2895// Use "Send" method on the returned Request to send the API call to the service.
2896// the "output" return value is not valid until after Send returns without error.
2897//
2898// See DeleteAlgorithm for more information on using the DeleteAlgorithm
2899// API call, and error handling.
2900//
2901// This method is useful when you want to inject custom logic or configuration
2902// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2903//
2904//
2905//    // Example sending a request using the DeleteAlgorithmRequest method.
2906//    req, resp := client.DeleteAlgorithmRequest(params)
2907//
2908//    err := req.Send()
2909//    if err == nil { // resp is now filled
2910//        fmt.Println(resp)
2911//    }
2912//
2913// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAlgorithm
2914func (c *SageMaker) DeleteAlgorithmRequest(input *DeleteAlgorithmInput) (req *request.Request, output *DeleteAlgorithmOutput) {
2915	op := &request.Operation{
2916		Name:       opDeleteAlgorithm,
2917		HTTPMethod: "POST",
2918		HTTPPath:   "/",
2919	}
2920
2921	if input == nil {
2922		input = &DeleteAlgorithmInput{}
2923	}
2924
2925	output = &DeleteAlgorithmOutput{}
2926	req = c.newRequest(op, input, output)
2927	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
2928	return
2929}
2930
2931// DeleteAlgorithm API operation for Amazon SageMaker Service.
2932//
2933// Removes the specified algorithm from your account.
2934//
2935// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2936// with awserr.Error's Code and Message methods to get detailed information about
2937// the error.
2938//
2939// See the AWS API reference guide for Amazon SageMaker Service's
2940// API operation DeleteAlgorithm for usage and error information.
2941// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAlgorithm
2942func (c *SageMaker) DeleteAlgorithm(input *DeleteAlgorithmInput) (*DeleteAlgorithmOutput, error) {
2943	req, out := c.DeleteAlgorithmRequest(input)
2944	return out, req.Send()
2945}
2946
2947// DeleteAlgorithmWithContext is the same as DeleteAlgorithm with the addition of
2948// the ability to pass a context and additional request options.
2949//
2950// See DeleteAlgorithm for details on how to use this API operation.
2951//
2952// The context must be non-nil and will be used for request cancellation. If
2953// the context is nil a panic will occur. In the future the SDK may create
2954// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2955// for more information on using Contexts.
2956func (c *SageMaker) DeleteAlgorithmWithContext(ctx aws.Context, input *DeleteAlgorithmInput, opts ...request.Option) (*DeleteAlgorithmOutput, error) {
2957	req, out := c.DeleteAlgorithmRequest(input)
2958	req.SetContext(ctx)
2959	req.ApplyOptions(opts...)
2960	return out, req.Send()
2961}
2962
2963const opDeleteApp = "DeleteApp"
2964
2965// DeleteAppRequest generates a "aws/request.Request" representing the
2966// client's request for the DeleteApp operation. The "output" return
2967// value will be populated with the request's response once the request completes
2968// successfully.
2969//
2970// Use "Send" method on the returned Request to send the API call to the service.
2971// the "output" return value is not valid until after Send returns without error.
2972//
2973// See DeleteApp for more information on using the DeleteApp
2974// API call, and error handling.
2975//
2976// This method is useful when you want to inject custom logic or configuration
2977// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2978//
2979//
2980//    // Example sending a request using the DeleteAppRequest method.
2981//    req, resp := client.DeleteAppRequest(params)
2982//
2983//    err := req.Send()
2984//    if err == nil { // resp is now filled
2985//        fmt.Println(resp)
2986//    }
2987//
2988// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteApp
2989func (c *SageMaker) DeleteAppRequest(input *DeleteAppInput) (req *request.Request, output *DeleteAppOutput) {
2990	op := &request.Operation{
2991		Name:       opDeleteApp,
2992		HTTPMethod: "POST",
2993		HTTPPath:   "/",
2994	}
2995
2996	if input == nil {
2997		input = &DeleteAppInput{}
2998	}
2999
3000	output = &DeleteAppOutput{}
3001	req = c.newRequest(op, input, output)
3002	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3003	return
3004}
3005
3006// DeleteApp API operation for Amazon SageMaker Service.
3007//
3008// Used to stop and delete an app.
3009//
3010// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3011// with awserr.Error's Code and Message methods to get detailed information about
3012// the error.
3013//
3014// See the AWS API reference guide for Amazon SageMaker Service's
3015// API operation DeleteApp for usage and error information.
3016//
3017// Returned Error Types:
3018//   * ResourceInUse
3019//   Resource being accessed is in use.
3020//
3021//   * ResourceNotFound
3022//   Resource being access is not found.
3023//
3024// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteApp
3025func (c *SageMaker) DeleteApp(input *DeleteAppInput) (*DeleteAppOutput, error) {
3026	req, out := c.DeleteAppRequest(input)
3027	return out, req.Send()
3028}
3029
3030// DeleteAppWithContext is the same as DeleteApp with the addition of
3031// the ability to pass a context and additional request options.
3032//
3033// See DeleteApp 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 *SageMaker) DeleteAppWithContext(ctx aws.Context, input *DeleteAppInput, opts ...request.Option) (*DeleteAppOutput, error) {
3040	req, out := c.DeleteAppRequest(input)
3041	req.SetContext(ctx)
3042	req.ApplyOptions(opts...)
3043	return out, req.Send()
3044}
3045
3046const opDeleteCodeRepository = "DeleteCodeRepository"
3047
3048// DeleteCodeRepositoryRequest generates a "aws/request.Request" representing the
3049// client's request for the DeleteCodeRepository 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 DeleteCodeRepository for more information on using the DeleteCodeRepository
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 DeleteCodeRepositoryRequest method.
3064//    req, resp := client.DeleteCodeRepositoryRequest(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/sagemaker-2017-07-24/DeleteCodeRepository
3072func (c *SageMaker) DeleteCodeRepositoryRequest(input *DeleteCodeRepositoryInput) (req *request.Request, output *DeleteCodeRepositoryOutput) {
3073	op := &request.Operation{
3074		Name:       opDeleteCodeRepository,
3075		HTTPMethod: "POST",
3076		HTTPPath:   "/",
3077	}
3078
3079	if input == nil {
3080		input = &DeleteCodeRepositoryInput{}
3081	}
3082
3083	output = &DeleteCodeRepositoryOutput{}
3084	req = c.newRequest(op, input, output)
3085	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3086	return
3087}
3088
3089// DeleteCodeRepository API operation for Amazon SageMaker Service.
3090//
3091// Deletes the specified Git repository from your account.
3092//
3093// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3094// with awserr.Error's Code and Message methods to get detailed information about
3095// the error.
3096//
3097// See the AWS API reference guide for Amazon SageMaker Service's
3098// API operation DeleteCodeRepository for usage and error information.
3099// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteCodeRepository
3100func (c *SageMaker) DeleteCodeRepository(input *DeleteCodeRepositoryInput) (*DeleteCodeRepositoryOutput, error) {
3101	req, out := c.DeleteCodeRepositoryRequest(input)
3102	return out, req.Send()
3103}
3104
3105// DeleteCodeRepositoryWithContext is the same as DeleteCodeRepository with the addition of
3106// the ability to pass a context and additional request options.
3107//
3108// See DeleteCodeRepository for details on how to use this API operation.
3109//
3110// The context must be non-nil and will be used for request cancellation. If
3111// the context is nil a panic will occur. In the future the SDK may create
3112// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3113// for more information on using Contexts.
3114func (c *SageMaker) DeleteCodeRepositoryWithContext(ctx aws.Context, input *DeleteCodeRepositoryInput, opts ...request.Option) (*DeleteCodeRepositoryOutput, error) {
3115	req, out := c.DeleteCodeRepositoryRequest(input)
3116	req.SetContext(ctx)
3117	req.ApplyOptions(opts...)
3118	return out, req.Send()
3119}
3120
3121const opDeleteDomain = "DeleteDomain"
3122
3123// DeleteDomainRequest generates a "aws/request.Request" representing the
3124// client's request for the DeleteDomain operation. The "output" return
3125// value will be populated with the request's response once the request completes
3126// successfully.
3127//
3128// Use "Send" method on the returned Request to send the API call to the service.
3129// the "output" return value is not valid until after Send returns without error.
3130//
3131// See DeleteDomain for more information on using the DeleteDomain
3132// API call, and error handling.
3133//
3134// This method is useful when you want to inject custom logic or configuration
3135// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3136//
3137//
3138//    // Example sending a request using the DeleteDomainRequest method.
3139//    req, resp := client.DeleteDomainRequest(params)
3140//
3141//    err := req.Send()
3142//    if err == nil { // resp is now filled
3143//        fmt.Println(resp)
3144//    }
3145//
3146// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDomain
3147func (c *SageMaker) DeleteDomainRequest(input *DeleteDomainInput) (req *request.Request, output *DeleteDomainOutput) {
3148	op := &request.Operation{
3149		Name:       opDeleteDomain,
3150		HTTPMethod: "POST",
3151		HTTPPath:   "/",
3152	}
3153
3154	if input == nil {
3155		input = &DeleteDomainInput{}
3156	}
3157
3158	output = &DeleteDomainOutput{}
3159	req = c.newRequest(op, input, output)
3160	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3161	return
3162}
3163
3164// DeleteDomain API operation for Amazon SageMaker Service.
3165//
3166// Used to delete a domain. If you onboarded with IAM mode, you will need to
3167// delete your domain to onboard again using SSO. Use with caution. All of the
3168// members of the domain will lose access to their EFS volume, including data,
3169// notebooks, and other artifacts.
3170//
3171// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3172// with awserr.Error's Code and Message methods to get detailed information about
3173// the error.
3174//
3175// See the AWS API reference guide for Amazon SageMaker Service's
3176// API operation DeleteDomain for usage and error information.
3177//
3178// Returned Error Types:
3179//   * ResourceInUse
3180//   Resource being accessed is in use.
3181//
3182//   * ResourceNotFound
3183//   Resource being access is not found.
3184//
3185// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDomain
3186func (c *SageMaker) DeleteDomain(input *DeleteDomainInput) (*DeleteDomainOutput, error) {
3187	req, out := c.DeleteDomainRequest(input)
3188	return out, req.Send()
3189}
3190
3191// DeleteDomainWithContext is the same as DeleteDomain with the addition of
3192// the ability to pass a context and additional request options.
3193//
3194// See DeleteDomain for details on how to use this API operation.
3195//
3196// The context must be non-nil and will be used for request cancellation. If
3197// the context is nil a panic will occur. In the future the SDK may create
3198// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3199// for more information on using Contexts.
3200func (c *SageMaker) DeleteDomainWithContext(ctx aws.Context, input *DeleteDomainInput, opts ...request.Option) (*DeleteDomainOutput, error) {
3201	req, out := c.DeleteDomainRequest(input)
3202	req.SetContext(ctx)
3203	req.ApplyOptions(opts...)
3204	return out, req.Send()
3205}
3206
3207const opDeleteEndpoint = "DeleteEndpoint"
3208
3209// DeleteEndpointRequest generates a "aws/request.Request" representing the
3210// client's request for the DeleteEndpoint operation. The "output" return
3211// value will be populated with the request's response once the request completes
3212// successfully.
3213//
3214// Use "Send" method on the returned Request to send the API call to the service.
3215// the "output" return value is not valid until after Send returns without error.
3216//
3217// See DeleteEndpoint for more information on using the DeleteEndpoint
3218// API call, and error handling.
3219//
3220// This method is useful when you want to inject custom logic or configuration
3221// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3222//
3223//
3224//    // Example sending a request using the DeleteEndpointRequest method.
3225//    req, resp := client.DeleteEndpointRequest(params)
3226//
3227//    err := req.Send()
3228//    if err == nil { // resp is now filled
3229//        fmt.Println(resp)
3230//    }
3231//
3232// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpoint
3233func (c *SageMaker) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Request, output *DeleteEndpointOutput) {
3234	op := &request.Operation{
3235		Name:       opDeleteEndpoint,
3236		HTTPMethod: "POST",
3237		HTTPPath:   "/",
3238	}
3239
3240	if input == nil {
3241		input = &DeleteEndpointInput{}
3242	}
3243
3244	output = &DeleteEndpointOutput{}
3245	req = c.newRequest(op, input, output)
3246	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3247	return
3248}
3249
3250// DeleteEndpoint API operation for Amazon SageMaker Service.
3251//
3252// Deletes an endpoint. Amazon SageMaker frees up all of the resources that
3253// were deployed when the endpoint was created.
3254//
3255// Amazon SageMaker retires any custom KMS key grants associated with the endpoint,
3256// meaning you don't need to use the RevokeGrant (http://docs.aws.amazon.com/kms/latest/APIReference/API_RevokeGrant.html)
3257// API call.
3258//
3259// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3260// with awserr.Error's Code and Message methods to get detailed information about
3261// the error.
3262//
3263// See the AWS API reference guide for Amazon SageMaker Service's
3264// API operation DeleteEndpoint for usage and error information.
3265// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpoint
3266func (c *SageMaker) DeleteEndpoint(input *DeleteEndpointInput) (*DeleteEndpointOutput, error) {
3267	req, out := c.DeleteEndpointRequest(input)
3268	return out, req.Send()
3269}
3270
3271// DeleteEndpointWithContext is the same as DeleteEndpoint with the addition of
3272// the ability to pass a context and additional request options.
3273//
3274// See DeleteEndpoint for details on how to use this API operation.
3275//
3276// The context must be non-nil and will be used for request cancellation. If
3277// the context is nil a panic will occur. In the future the SDK may create
3278// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3279// for more information on using Contexts.
3280func (c *SageMaker) DeleteEndpointWithContext(ctx aws.Context, input *DeleteEndpointInput, opts ...request.Option) (*DeleteEndpointOutput, error) {
3281	req, out := c.DeleteEndpointRequest(input)
3282	req.SetContext(ctx)
3283	req.ApplyOptions(opts...)
3284	return out, req.Send()
3285}
3286
3287const opDeleteEndpointConfig = "DeleteEndpointConfig"
3288
3289// DeleteEndpointConfigRequest generates a "aws/request.Request" representing the
3290// client's request for the DeleteEndpointConfig operation. The "output" return
3291// value will be populated with the request's response once the request completes
3292// successfully.
3293//
3294// Use "Send" method on the returned Request to send the API call to the service.
3295// the "output" return value is not valid until after Send returns without error.
3296//
3297// See DeleteEndpointConfig for more information on using the DeleteEndpointConfig
3298// API call, and error handling.
3299//
3300// This method is useful when you want to inject custom logic or configuration
3301// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3302//
3303//
3304//    // Example sending a request using the DeleteEndpointConfigRequest method.
3305//    req, resp := client.DeleteEndpointConfigRequest(params)
3306//
3307//    err := req.Send()
3308//    if err == nil { // resp is now filled
3309//        fmt.Println(resp)
3310//    }
3311//
3312// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpointConfig
3313func (c *SageMaker) DeleteEndpointConfigRequest(input *DeleteEndpointConfigInput) (req *request.Request, output *DeleteEndpointConfigOutput) {
3314	op := &request.Operation{
3315		Name:       opDeleteEndpointConfig,
3316		HTTPMethod: "POST",
3317		HTTPPath:   "/",
3318	}
3319
3320	if input == nil {
3321		input = &DeleteEndpointConfigInput{}
3322	}
3323
3324	output = &DeleteEndpointConfigOutput{}
3325	req = c.newRequest(op, input, output)
3326	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3327	return
3328}
3329
3330// DeleteEndpointConfig API operation for Amazon SageMaker Service.
3331//
3332// Deletes an endpoint configuration. The DeleteEndpointConfig API deletes only
3333// the specified configuration. It does not delete endpoints created using the
3334// configuration.
3335//
3336// You must not delete an EndpointConfig in use by an endpoint that is live
3337// or while the UpdateEndpoint or CreateEndpoint operations are being performed
3338// on the endpoint. If you delete the EndpointConfig of an endpoint that is
3339// active or being created or updated you may lose visibility into the instance
3340// type the endpoint is using. The endpoint must be deleted in order to stop
3341// incurring charges.
3342//
3343// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3344// with awserr.Error's Code and Message methods to get detailed information about
3345// the error.
3346//
3347// See the AWS API reference guide for Amazon SageMaker Service's
3348// API operation DeleteEndpointConfig for usage and error information.
3349// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpointConfig
3350func (c *SageMaker) DeleteEndpointConfig(input *DeleteEndpointConfigInput) (*DeleteEndpointConfigOutput, error) {
3351	req, out := c.DeleteEndpointConfigRequest(input)
3352	return out, req.Send()
3353}
3354
3355// DeleteEndpointConfigWithContext is the same as DeleteEndpointConfig with the addition of
3356// the ability to pass a context and additional request options.
3357//
3358// See DeleteEndpointConfig for details on how to use this API operation.
3359//
3360// The context must be non-nil and will be used for request cancellation. If
3361// the context is nil a panic will occur. In the future the SDK may create
3362// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3363// for more information on using Contexts.
3364func (c *SageMaker) DeleteEndpointConfigWithContext(ctx aws.Context, input *DeleteEndpointConfigInput, opts ...request.Option) (*DeleteEndpointConfigOutput, error) {
3365	req, out := c.DeleteEndpointConfigRequest(input)
3366	req.SetContext(ctx)
3367	req.ApplyOptions(opts...)
3368	return out, req.Send()
3369}
3370
3371const opDeleteExperiment = "DeleteExperiment"
3372
3373// DeleteExperimentRequest generates a "aws/request.Request" representing the
3374// client's request for the DeleteExperiment operation. The "output" return
3375// value will be populated with the request's response once the request completes
3376// successfully.
3377//
3378// Use "Send" method on the returned Request to send the API call to the service.
3379// the "output" return value is not valid until after Send returns without error.
3380//
3381// See DeleteExperiment for more information on using the DeleteExperiment
3382// API call, and error handling.
3383//
3384// This method is useful when you want to inject custom logic or configuration
3385// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3386//
3387//
3388//    // Example sending a request using the DeleteExperimentRequest method.
3389//    req, resp := client.DeleteExperimentRequest(params)
3390//
3391//    err := req.Send()
3392//    if err == nil { // resp is now filled
3393//        fmt.Println(resp)
3394//    }
3395//
3396// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteExperiment
3397func (c *SageMaker) DeleteExperimentRequest(input *DeleteExperimentInput) (req *request.Request, output *DeleteExperimentOutput) {
3398	op := &request.Operation{
3399		Name:       opDeleteExperiment,
3400		HTTPMethod: "POST",
3401		HTTPPath:   "/",
3402	}
3403
3404	if input == nil {
3405		input = &DeleteExperimentInput{}
3406	}
3407
3408	output = &DeleteExperimentOutput{}
3409	req = c.newRequest(op, input, output)
3410	return
3411}
3412
3413// DeleteExperiment API operation for Amazon SageMaker Service.
3414//
3415// Deletes an Amazon SageMaker experiment. All trials associated with the experiment
3416// must be deleted first. Use the ListTrials API to get a list of the trials
3417// associated with the experiment.
3418//
3419// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3420// with awserr.Error's Code and Message methods to get detailed information about
3421// the error.
3422//
3423// See the AWS API reference guide for Amazon SageMaker Service's
3424// API operation DeleteExperiment for usage and error information.
3425//
3426// Returned Error Types:
3427//   * ResourceNotFound
3428//   Resource being access is not found.
3429//
3430// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteExperiment
3431func (c *SageMaker) DeleteExperiment(input *DeleteExperimentInput) (*DeleteExperimentOutput, error) {
3432	req, out := c.DeleteExperimentRequest(input)
3433	return out, req.Send()
3434}
3435
3436// DeleteExperimentWithContext is the same as DeleteExperiment with the addition of
3437// the ability to pass a context and additional request options.
3438//
3439// See DeleteExperiment for details on how to use this API operation.
3440//
3441// The context must be non-nil and will be used for request cancellation. If
3442// the context is nil a panic will occur. In the future the SDK may create
3443// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3444// for more information on using Contexts.
3445func (c *SageMaker) DeleteExperimentWithContext(ctx aws.Context, input *DeleteExperimentInput, opts ...request.Option) (*DeleteExperimentOutput, error) {
3446	req, out := c.DeleteExperimentRequest(input)
3447	req.SetContext(ctx)
3448	req.ApplyOptions(opts...)
3449	return out, req.Send()
3450}
3451
3452const opDeleteFlowDefinition = "DeleteFlowDefinition"
3453
3454// DeleteFlowDefinitionRequest generates a "aws/request.Request" representing the
3455// client's request for the DeleteFlowDefinition operation. The "output" return
3456// value will be populated with the request's response once the request completes
3457// successfully.
3458//
3459// Use "Send" method on the returned Request to send the API call to the service.
3460// the "output" return value is not valid until after Send returns without error.
3461//
3462// See DeleteFlowDefinition for more information on using the DeleteFlowDefinition
3463// API call, and error handling.
3464//
3465// This method is useful when you want to inject custom logic or configuration
3466// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3467//
3468//
3469//    // Example sending a request using the DeleteFlowDefinitionRequest method.
3470//    req, resp := client.DeleteFlowDefinitionRequest(params)
3471//
3472//    err := req.Send()
3473//    if err == nil { // resp is now filled
3474//        fmt.Println(resp)
3475//    }
3476//
3477// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteFlowDefinition
3478func (c *SageMaker) DeleteFlowDefinitionRequest(input *DeleteFlowDefinitionInput) (req *request.Request, output *DeleteFlowDefinitionOutput) {
3479	op := &request.Operation{
3480		Name:       opDeleteFlowDefinition,
3481		HTTPMethod: "POST",
3482		HTTPPath:   "/",
3483	}
3484
3485	if input == nil {
3486		input = &DeleteFlowDefinitionInput{}
3487	}
3488
3489	output = &DeleteFlowDefinitionOutput{}
3490	req = c.newRequest(op, input, output)
3491	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3492	return
3493}
3494
3495// DeleteFlowDefinition API operation for Amazon SageMaker Service.
3496//
3497// Deletes the specified flow definition.
3498//
3499// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3500// with awserr.Error's Code and Message methods to get detailed information about
3501// the error.
3502//
3503// See the AWS API reference guide for Amazon SageMaker Service's
3504// API operation DeleteFlowDefinition for usage and error information.
3505//
3506// Returned Error Types:
3507//   * ResourceInUse
3508//   Resource being accessed is in use.
3509//
3510//   * ResourceNotFound
3511//   Resource being access is not found.
3512//
3513// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteFlowDefinition
3514func (c *SageMaker) DeleteFlowDefinition(input *DeleteFlowDefinitionInput) (*DeleteFlowDefinitionOutput, error) {
3515	req, out := c.DeleteFlowDefinitionRequest(input)
3516	return out, req.Send()
3517}
3518
3519// DeleteFlowDefinitionWithContext is the same as DeleteFlowDefinition with the addition of
3520// the ability to pass a context and additional request options.
3521//
3522// See DeleteFlowDefinition for details on how to use this API operation.
3523//
3524// The context must be non-nil and will be used for request cancellation. If
3525// the context is nil a panic will occur. In the future the SDK may create
3526// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3527// for more information on using Contexts.
3528func (c *SageMaker) DeleteFlowDefinitionWithContext(ctx aws.Context, input *DeleteFlowDefinitionInput, opts ...request.Option) (*DeleteFlowDefinitionOutput, error) {
3529	req, out := c.DeleteFlowDefinitionRequest(input)
3530	req.SetContext(ctx)
3531	req.ApplyOptions(opts...)
3532	return out, req.Send()
3533}
3534
3535const opDeleteHumanTaskUi = "DeleteHumanTaskUi"
3536
3537// DeleteHumanTaskUiRequest generates a "aws/request.Request" representing the
3538// client's request for the DeleteHumanTaskUi operation. The "output" return
3539// value will be populated with the request's response once the request completes
3540// successfully.
3541//
3542// Use "Send" method on the returned Request to send the API call to the service.
3543// the "output" return value is not valid until after Send returns without error.
3544//
3545// See DeleteHumanTaskUi for more information on using the DeleteHumanTaskUi
3546// API call, and error handling.
3547//
3548// This method is useful when you want to inject custom logic or configuration
3549// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3550//
3551//
3552//    // Example sending a request using the DeleteHumanTaskUiRequest method.
3553//    req, resp := client.DeleteHumanTaskUiRequest(params)
3554//
3555//    err := req.Send()
3556//    if err == nil { // resp is now filled
3557//        fmt.Println(resp)
3558//    }
3559//
3560// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteHumanTaskUi
3561func (c *SageMaker) DeleteHumanTaskUiRequest(input *DeleteHumanTaskUiInput) (req *request.Request, output *DeleteHumanTaskUiOutput) {
3562	op := &request.Operation{
3563		Name:       opDeleteHumanTaskUi,
3564		HTTPMethod: "POST",
3565		HTTPPath:   "/",
3566	}
3567
3568	if input == nil {
3569		input = &DeleteHumanTaskUiInput{}
3570	}
3571
3572	output = &DeleteHumanTaskUiOutput{}
3573	req = c.newRequest(op, input, output)
3574	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3575	return
3576}
3577
3578// DeleteHumanTaskUi API operation for Amazon SageMaker Service.
3579//
3580// Use this operation to delete a human task user interface (worker task template).
3581//
3582// To see a list of human task user interfaces (work task templates) in your
3583// account, use . When you delete a worker task template, it no longer appears
3584// when you call ListHumanTaskUis.
3585//
3586// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3587// with awserr.Error's Code and Message methods to get detailed information about
3588// the error.
3589//
3590// See the AWS API reference guide for Amazon SageMaker Service's
3591// API operation DeleteHumanTaskUi for usage and error information.
3592//
3593// Returned Error Types:
3594//   * ResourceNotFound
3595//   Resource being access is not found.
3596//
3597// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteHumanTaskUi
3598func (c *SageMaker) DeleteHumanTaskUi(input *DeleteHumanTaskUiInput) (*DeleteHumanTaskUiOutput, error) {
3599	req, out := c.DeleteHumanTaskUiRequest(input)
3600	return out, req.Send()
3601}
3602
3603// DeleteHumanTaskUiWithContext is the same as DeleteHumanTaskUi with the addition of
3604// the ability to pass a context and additional request options.
3605//
3606// See DeleteHumanTaskUi for details on how to use this API operation.
3607//
3608// The context must be non-nil and will be used for request cancellation. If
3609// the context is nil a panic will occur. In the future the SDK may create
3610// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3611// for more information on using Contexts.
3612func (c *SageMaker) DeleteHumanTaskUiWithContext(ctx aws.Context, input *DeleteHumanTaskUiInput, opts ...request.Option) (*DeleteHumanTaskUiOutput, error) {
3613	req, out := c.DeleteHumanTaskUiRequest(input)
3614	req.SetContext(ctx)
3615	req.ApplyOptions(opts...)
3616	return out, req.Send()
3617}
3618
3619const opDeleteModel = "DeleteModel"
3620
3621// DeleteModelRequest generates a "aws/request.Request" representing the
3622// client's request for the DeleteModel operation. The "output" return
3623// value will be populated with the request's response once the request completes
3624// successfully.
3625//
3626// Use "Send" method on the returned Request to send the API call to the service.
3627// the "output" return value is not valid until after Send returns without error.
3628//
3629// See DeleteModel for more information on using the DeleteModel
3630// API call, and error handling.
3631//
3632// This method is useful when you want to inject custom logic or configuration
3633// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3634//
3635//
3636//    // Example sending a request using the DeleteModelRequest method.
3637//    req, resp := client.DeleteModelRequest(params)
3638//
3639//    err := req.Send()
3640//    if err == nil { // resp is now filled
3641//        fmt.Println(resp)
3642//    }
3643//
3644// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModel
3645func (c *SageMaker) DeleteModelRequest(input *DeleteModelInput) (req *request.Request, output *DeleteModelOutput) {
3646	op := &request.Operation{
3647		Name:       opDeleteModel,
3648		HTTPMethod: "POST",
3649		HTTPPath:   "/",
3650	}
3651
3652	if input == nil {
3653		input = &DeleteModelInput{}
3654	}
3655
3656	output = &DeleteModelOutput{}
3657	req = c.newRequest(op, input, output)
3658	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3659	return
3660}
3661
3662// DeleteModel API operation for Amazon SageMaker Service.
3663//
3664// Deletes a model. The DeleteModel API deletes only the model entry that was
3665// created in Amazon SageMaker when you called the CreateModel API. It does
3666// not delete model artifacts, inference code, or the IAM role that you specified
3667// when creating the model.
3668//
3669// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3670// with awserr.Error's Code and Message methods to get detailed information about
3671// the error.
3672//
3673// See the AWS API reference guide for Amazon SageMaker Service's
3674// API operation DeleteModel for usage and error information.
3675// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModel
3676func (c *SageMaker) DeleteModel(input *DeleteModelInput) (*DeleteModelOutput, error) {
3677	req, out := c.DeleteModelRequest(input)
3678	return out, req.Send()
3679}
3680
3681// DeleteModelWithContext is the same as DeleteModel with the addition of
3682// the ability to pass a context and additional request options.
3683//
3684// See DeleteModel for details on how to use this API operation.
3685//
3686// The context must be non-nil and will be used for request cancellation. If
3687// the context is nil a panic will occur. In the future the SDK may create
3688// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3689// for more information on using Contexts.
3690func (c *SageMaker) DeleteModelWithContext(ctx aws.Context, input *DeleteModelInput, opts ...request.Option) (*DeleteModelOutput, error) {
3691	req, out := c.DeleteModelRequest(input)
3692	req.SetContext(ctx)
3693	req.ApplyOptions(opts...)
3694	return out, req.Send()
3695}
3696
3697const opDeleteModelPackage = "DeleteModelPackage"
3698
3699// DeleteModelPackageRequest generates a "aws/request.Request" representing the
3700// client's request for the DeleteModelPackage operation. The "output" return
3701// value will be populated with the request's response once the request completes
3702// successfully.
3703//
3704// Use "Send" method on the returned Request to send the API call to the service.
3705// the "output" return value is not valid until after Send returns without error.
3706//
3707// See DeleteModelPackage for more information on using the DeleteModelPackage
3708// API call, and error handling.
3709//
3710// This method is useful when you want to inject custom logic or configuration
3711// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3712//
3713//
3714//    // Example sending a request using the DeleteModelPackageRequest method.
3715//    req, resp := client.DeleteModelPackageRequest(params)
3716//
3717//    err := req.Send()
3718//    if err == nil { // resp is now filled
3719//        fmt.Println(resp)
3720//    }
3721//
3722// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackage
3723func (c *SageMaker) DeleteModelPackageRequest(input *DeleteModelPackageInput) (req *request.Request, output *DeleteModelPackageOutput) {
3724	op := &request.Operation{
3725		Name:       opDeleteModelPackage,
3726		HTTPMethod: "POST",
3727		HTTPPath:   "/",
3728	}
3729
3730	if input == nil {
3731		input = &DeleteModelPackageInput{}
3732	}
3733
3734	output = &DeleteModelPackageOutput{}
3735	req = c.newRequest(op, input, output)
3736	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3737	return
3738}
3739
3740// DeleteModelPackage API operation for Amazon SageMaker Service.
3741//
3742// Deletes a model package.
3743//
3744// A model package is used to create Amazon SageMaker models or list on AWS
3745// Marketplace. Buyers can subscribe to model packages listed on AWS Marketplace
3746// to create models in Amazon SageMaker.
3747//
3748// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3749// with awserr.Error's Code and Message methods to get detailed information about
3750// the error.
3751//
3752// See the AWS API reference guide for Amazon SageMaker Service's
3753// API operation DeleteModelPackage for usage and error information.
3754// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackage
3755func (c *SageMaker) DeleteModelPackage(input *DeleteModelPackageInput) (*DeleteModelPackageOutput, error) {
3756	req, out := c.DeleteModelPackageRequest(input)
3757	return out, req.Send()
3758}
3759
3760// DeleteModelPackageWithContext is the same as DeleteModelPackage with the addition of
3761// the ability to pass a context and additional request options.
3762//
3763// See DeleteModelPackage for details on how to use this API operation.
3764//
3765// The context must be non-nil and will be used for request cancellation. If
3766// the context is nil a panic will occur. In the future the SDK may create
3767// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3768// for more information on using Contexts.
3769func (c *SageMaker) DeleteModelPackageWithContext(ctx aws.Context, input *DeleteModelPackageInput, opts ...request.Option) (*DeleteModelPackageOutput, error) {
3770	req, out := c.DeleteModelPackageRequest(input)
3771	req.SetContext(ctx)
3772	req.ApplyOptions(opts...)
3773	return out, req.Send()
3774}
3775
3776const opDeleteMonitoringSchedule = "DeleteMonitoringSchedule"
3777
3778// DeleteMonitoringScheduleRequest generates a "aws/request.Request" representing the
3779// client's request for the DeleteMonitoringSchedule operation. The "output" return
3780// value will be populated with the request's response once the request completes
3781// successfully.
3782//
3783// Use "Send" method on the returned Request to send the API call to the service.
3784// the "output" return value is not valid until after Send returns without error.
3785//
3786// See DeleteMonitoringSchedule for more information on using the DeleteMonitoringSchedule
3787// API call, and error handling.
3788//
3789// This method is useful when you want to inject custom logic or configuration
3790// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3791//
3792//
3793//    // Example sending a request using the DeleteMonitoringScheduleRequest method.
3794//    req, resp := client.DeleteMonitoringScheduleRequest(params)
3795//
3796//    err := req.Send()
3797//    if err == nil { // resp is now filled
3798//        fmt.Println(resp)
3799//    }
3800//
3801// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteMonitoringSchedule
3802func (c *SageMaker) DeleteMonitoringScheduleRequest(input *DeleteMonitoringScheduleInput) (req *request.Request, output *DeleteMonitoringScheduleOutput) {
3803	op := &request.Operation{
3804		Name:       opDeleteMonitoringSchedule,
3805		HTTPMethod: "POST",
3806		HTTPPath:   "/",
3807	}
3808
3809	if input == nil {
3810		input = &DeleteMonitoringScheduleInput{}
3811	}
3812
3813	output = &DeleteMonitoringScheduleOutput{}
3814	req = c.newRequest(op, input, output)
3815	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3816	return
3817}
3818
3819// DeleteMonitoringSchedule API operation for Amazon SageMaker Service.
3820//
3821// Deletes a monitoring schedule. Also stops the schedule had not already been
3822// stopped. This does not delete the job execution history of the monitoring
3823// schedule.
3824//
3825// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3826// with awserr.Error's Code and Message methods to get detailed information about
3827// the error.
3828//
3829// See the AWS API reference guide for Amazon SageMaker Service's
3830// API operation DeleteMonitoringSchedule for usage and error information.
3831//
3832// Returned Error Types:
3833//   * ResourceNotFound
3834//   Resource being access is not found.
3835//
3836// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteMonitoringSchedule
3837func (c *SageMaker) DeleteMonitoringSchedule(input *DeleteMonitoringScheduleInput) (*DeleteMonitoringScheduleOutput, error) {
3838	req, out := c.DeleteMonitoringScheduleRequest(input)
3839	return out, req.Send()
3840}
3841
3842// DeleteMonitoringScheduleWithContext is the same as DeleteMonitoringSchedule with the addition of
3843// the ability to pass a context and additional request options.
3844//
3845// See DeleteMonitoringSchedule for details on how to use this API operation.
3846//
3847// The context must be non-nil and will be used for request cancellation. If
3848// the context is nil a panic will occur. In the future the SDK may create
3849// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3850// for more information on using Contexts.
3851func (c *SageMaker) DeleteMonitoringScheduleWithContext(ctx aws.Context, input *DeleteMonitoringScheduleInput, opts ...request.Option) (*DeleteMonitoringScheduleOutput, error) {
3852	req, out := c.DeleteMonitoringScheduleRequest(input)
3853	req.SetContext(ctx)
3854	req.ApplyOptions(opts...)
3855	return out, req.Send()
3856}
3857
3858const opDeleteNotebookInstance = "DeleteNotebookInstance"
3859
3860// DeleteNotebookInstanceRequest generates a "aws/request.Request" representing the
3861// client's request for the DeleteNotebookInstance operation. The "output" return
3862// value will be populated with the request's response once the request completes
3863// successfully.
3864//
3865// Use "Send" method on the returned Request to send the API call to the service.
3866// the "output" return value is not valid until after Send returns without error.
3867//
3868// See DeleteNotebookInstance for more information on using the DeleteNotebookInstance
3869// API call, and error handling.
3870//
3871// This method is useful when you want to inject custom logic or configuration
3872// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3873//
3874//
3875//    // Example sending a request using the DeleteNotebookInstanceRequest method.
3876//    req, resp := client.DeleteNotebookInstanceRequest(params)
3877//
3878//    err := req.Send()
3879//    if err == nil { // resp is now filled
3880//        fmt.Println(resp)
3881//    }
3882//
3883// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstance
3884func (c *SageMaker) DeleteNotebookInstanceRequest(input *DeleteNotebookInstanceInput) (req *request.Request, output *DeleteNotebookInstanceOutput) {
3885	op := &request.Operation{
3886		Name:       opDeleteNotebookInstance,
3887		HTTPMethod: "POST",
3888		HTTPPath:   "/",
3889	}
3890
3891	if input == nil {
3892		input = &DeleteNotebookInstanceInput{}
3893	}
3894
3895	output = &DeleteNotebookInstanceOutput{}
3896	req = c.newRequest(op, input, output)
3897	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3898	return
3899}
3900
3901// DeleteNotebookInstance API operation for Amazon SageMaker Service.
3902//
3903// Deletes an Amazon SageMaker notebook instance. Before you can delete a notebook
3904// instance, you must call the StopNotebookInstance API.
3905//
3906// When you delete a notebook instance, you lose all of your data. Amazon SageMaker
3907// removes the ML compute instance, and deletes the ML storage volume and the
3908// network interface associated with the notebook instance.
3909//
3910// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3911// with awserr.Error's Code and Message methods to get detailed information about
3912// the error.
3913//
3914// See the AWS API reference guide for Amazon SageMaker Service's
3915// API operation DeleteNotebookInstance for usage and error information.
3916// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstance
3917func (c *SageMaker) DeleteNotebookInstance(input *DeleteNotebookInstanceInput) (*DeleteNotebookInstanceOutput, error) {
3918	req, out := c.DeleteNotebookInstanceRequest(input)
3919	return out, req.Send()
3920}
3921
3922// DeleteNotebookInstanceWithContext is the same as DeleteNotebookInstance with the addition of
3923// the ability to pass a context and additional request options.
3924//
3925// See DeleteNotebookInstance for details on how to use this API operation.
3926//
3927// The context must be non-nil and will be used for request cancellation. If
3928// the context is nil a panic will occur. In the future the SDK may create
3929// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3930// for more information on using Contexts.
3931func (c *SageMaker) DeleteNotebookInstanceWithContext(ctx aws.Context, input *DeleteNotebookInstanceInput, opts ...request.Option) (*DeleteNotebookInstanceOutput, error) {
3932	req, out := c.DeleteNotebookInstanceRequest(input)
3933	req.SetContext(ctx)
3934	req.ApplyOptions(opts...)
3935	return out, req.Send()
3936}
3937
3938const opDeleteNotebookInstanceLifecycleConfig = "DeleteNotebookInstanceLifecycleConfig"
3939
3940// DeleteNotebookInstanceLifecycleConfigRequest generates a "aws/request.Request" representing the
3941// client's request for the DeleteNotebookInstanceLifecycleConfig operation. The "output" return
3942// value will be populated with the request's response once the request completes
3943// successfully.
3944//
3945// Use "Send" method on the returned Request to send the API call to the service.
3946// the "output" return value is not valid until after Send returns without error.
3947//
3948// See DeleteNotebookInstanceLifecycleConfig for more information on using the DeleteNotebookInstanceLifecycleConfig
3949// API call, and error handling.
3950//
3951// This method is useful when you want to inject custom logic or configuration
3952// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3953//
3954//
3955//    // Example sending a request using the DeleteNotebookInstanceLifecycleConfigRequest method.
3956//    req, resp := client.DeleteNotebookInstanceLifecycleConfigRequest(params)
3957//
3958//    err := req.Send()
3959//    if err == nil { // resp is now filled
3960//        fmt.Println(resp)
3961//    }
3962//
3963// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstanceLifecycleConfig
3964func (c *SageMaker) DeleteNotebookInstanceLifecycleConfigRequest(input *DeleteNotebookInstanceLifecycleConfigInput) (req *request.Request, output *DeleteNotebookInstanceLifecycleConfigOutput) {
3965	op := &request.Operation{
3966		Name:       opDeleteNotebookInstanceLifecycleConfig,
3967		HTTPMethod: "POST",
3968		HTTPPath:   "/",
3969	}
3970
3971	if input == nil {
3972		input = &DeleteNotebookInstanceLifecycleConfigInput{}
3973	}
3974
3975	output = &DeleteNotebookInstanceLifecycleConfigOutput{}
3976	req = c.newRequest(op, input, output)
3977	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3978	return
3979}
3980
3981// DeleteNotebookInstanceLifecycleConfig API operation for Amazon SageMaker Service.
3982//
3983// Deletes a notebook instance lifecycle configuration.
3984//
3985// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3986// with awserr.Error's Code and Message methods to get detailed information about
3987// the error.
3988//
3989// See the AWS API reference guide for Amazon SageMaker Service's
3990// API operation DeleteNotebookInstanceLifecycleConfig for usage and error information.
3991// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstanceLifecycleConfig
3992func (c *SageMaker) DeleteNotebookInstanceLifecycleConfig(input *DeleteNotebookInstanceLifecycleConfigInput) (*DeleteNotebookInstanceLifecycleConfigOutput, error) {
3993	req, out := c.DeleteNotebookInstanceLifecycleConfigRequest(input)
3994	return out, req.Send()
3995}
3996
3997// DeleteNotebookInstanceLifecycleConfigWithContext is the same as DeleteNotebookInstanceLifecycleConfig with the addition of
3998// the ability to pass a context and additional request options.
3999//
4000// See DeleteNotebookInstanceLifecycleConfig for details on how to use this API operation.
4001//
4002// The context must be non-nil and will be used for request cancellation. If
4003// the context is nil a panic will occur. In the future the SDK may create
4004// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4005// for more information on using Contexts.
4006func (c *SageMaker) DeleteNotebookInstanceLifecycleConfigWithContext(ctx aws.Context, input *DeleteNotebookInstanceLifecycleConfigInput, opts ...request.Option) (*DeleteNotebookInstanceLifecycleConfigOutput, error) {
4007	req, out := c.DeleteNotebookInstanceLifecycleConfigRequest(input)
4008	req.SetContext(ctx)
4009	req.ApplyOptions(opts...)
4010	return out, req.Send()
4011}
4012
4013const opDeleteTags = "DeleteTags"
4014
4015// DeleteTagsRequest generates a "aws/request.Request" representing the
4016// client's request for the DeleteTags operation. The "output" return
4017// value will be populated with the request's response once the request completes
4018// successfully.
4019//
4020// Use "Send" method on the returned Request to send the API call to the service.
4021// the "output" return value is not valid until after Send returns without error.
4022//
4023// See DeleteTags for more information on using the DeleteTags
4024// API call, and error handling.
4025//
4026// This method is useful when you want to inject custom logic or configuration
4027// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4028//
4029//
4030//    // Example sending a request using the DeleteTagsRequest method.
4031//    req, resp := client.DeleteTagsRequest(params)
4032//
4033//    err := req.Send()
4034//    if err == nil { // resp is now filled
4035//        fmt.Println(resp)
4036//    }
4037//
4038// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTags
4039func (c *SageMaker) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput) {
4040	op := &request.Operation{
4041		Name:       opDeleteTags,
4042		HTTPMethod: "POST",
4043		HTTPPath:   "/",
4044	}
4045
4046	if input == nil {
4047		input = &DeleteTagsInput{}
4048	}
4049
4050	output = &DeleteTagsOutput{}
4051	req = c.newRequest(op, input, output)
4052	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4053	return
4054}
4055
4056// DeleteTags API operation for Amazon SageMaker Service.
4057//
4058// Deletes the specified tags from an Amazon SageMaker resource.
4059//
4060// To list a resource's tags, use the ListTags API.
4061//
4062// When you call this API to delete tags from a hyperparameter tuning job, the
4063// deleted tags are not removed from training jobs that the hyperparameter tuning
4064// job launched before you called this API.
4065//
4066// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4067// with awserr.Error's Code and Message methods to get detailed information about
4068// the error.
4069//
4070// See the AWS API reference guide for Amazon SageMaker Service's
4071// API operation DeleteTags for usage and error information.
4072// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTags
4073func (c *SageMaker) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error) {
4074	req, out := c.DeleteTagsRequest(input)
4075	return out, req.Send()
4076}
4077
4078// DeleteTagsWithContext is the same as DeleteTags with the addition of
4079// the ability to pass a context and additional request options.
4080//
4081// See DeleteTags for details on how to use this API operation.
4082//
4083// The context must be non-nil and will be used for request cancellation. If
4084// the context is nil a panic will occur. In the future the SDK may create
4085// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4086// for more information on using Contexts.
4087func (c *SageMaker) DeleteTagsWithContext(ctx aws.Context, input *DeleteTagsInput, opts ...request.Option) (*DeleteTagsOutput, error) {
4088	req, out := c.DeleteTagsRequest(input)
4089	req.SetContext(ctx)
4090	req.ApplyOptions(opts...)
4091	return out, req.Send()
4092}
4093
4094const opDeleteTrial = "DeleteTrial"
4095
4096// DeleteTrialRequest generates a "aws/request.Request" representing the
4097// client's request for the DeleteTrial operation. The "output" return
4098// value will be populated with the request's response once the request completes
4099// successfully.
4100//
4101// Use "Send" method on the returned Request to send the API call to the service.
4102// the "output" return value is not valid until after Send returns without error.
4103//
4104// See DeleteTrial for more information on using the DeleteTrial
4105// API call, and error handling.
4106//
4107// This method is useful when you want to inject custom logic or configuration
4108// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4109//
4110//
4111//    // Example sending a request using the DeleteTrialRequest method.
4112//    req, resp := client.DeleteTrialRequest(params)
4113//
4114//    err := req.Send()
4115//    if err == nil { // resp is now filled
4116//        fmt.Println(resp)
4117//    }
4118//
4119// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrial
4120func (c *SageMaker) DeleteTrialRequest(input *DeleteTrialInput) (req *request.Request, output *DeleteTrialOutput) {
4121	op := &request.Operation{
4122		Name:       opDeleteTrial,
4123		HTTPMethod: "POST",
4124		HTTPPath:   "/",
4125	}
4126
4127	if input == nil {
4128		input = &DeleteTrialInput{}
4129	}
4130
4131	output = &DeleteTrialOutput{}
4132	req = c.newRequest(op, input, output)
4133	return
4134}
4135
4136// DeleteTrial API operation for Amazon SageMaker Service.
4137//
4138// Deletes the specified trial. All trial components that make up the trial
4139// must be deleted first. Use the DescribeTrialComponent API to get the list
4140// of trial components.
4141//
4142// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4143// with awserr.Error's Code and Message methods to get detailed information about
4144// the error.
4145//
4146// See the AWS API reference guide for Amazon SageMaker Service's
4147// API operation DeleteTrial for usage and error information.
4148//
4149// Returned Error Types:
4150//   * ResourceNotFound
4151//   Resource being access is not found.
4152//
4153// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrial
4154func (c *SageMaker) DeleteTrial(input *DeleteTrialInput) (*DeleteTrialOutput, error) {
4155	req, out := c.DeleteTrialRequest(input)
4156	return out, req.Send()
4157}
4158
4159// DeleteTrialWithContext is the same as DeleteTrial with the addition of
4160// the ability to pass a context and additional request options.
4161//
4162// See DeleteTrial for details on how to use this API operation.
4163//
4164// The context must be non-nil and will be used for request cancellation. If
4165// the context is nil a panic will occur. In the future the SDK may create
4166// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4167// for more information on using Contexts.
4168func (c *SageMaker) DeleteTrialWithContext(ctx aws.Context, input *DeleteTrialInput, opts ...request.Option) (*DeleteTrialOutput, error) {
4169	req, out := c.DeleteTrialRequest(input)
4170	req.SetContext(ctx)
4171	req.ApplyOptions(opts...)
4172	return out, req.Send()
4173}
4174
4175const opDeleteTrialComponent = "DeleteTrialComponent"
4176
4177// DeleteTrialComponentRequest generates a "aws/request.Request" representing the
4178// client's request for the DeleteTrialComponent operation. The "output" return
4179// value will be populated with the request's response once the request completes
4180// successfully.
4181//
4182// Use "Send" method on the returned Request to send the API call to the service.
4183// the "output" return value is not valid until after Send returns without error.
4184//
4185// See DeleteTrialComponent for more information on using the DeleteTrialComponent
4186// API call, and error handling.
4187//
4188// This method is useful when you want to inject custom logic or configuration
4189// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4190//
4191//
4192//    // Example sending a request using the DeleteTrialComponentRequest method.
4193//    req, resp := client.DeleteTrialComponentRequest(params)
4194//
4195//    err := req.Send()
4196//    if err == nil { // resp is now filled
4197//        fmt.Println(resp)
4198//    }
4199//
4200// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrialComponent
4201func (c *SageMaker) DeleteTrialComponentRequest(input *DeleteTrialComponentInput) (req *request.Request, output *DeleteTrialComponentOutput) {
4202	op := &request.Operation{
4203		Name:       opDeleteTrialComponent,
4204		HTTPMethod: "POST",
4205		HTTPPath:   "/",
4206	}
4207
4208	if input == nil {
4209		input = &DeleteTrialComponentInput{}
4210	}
4211
4212	output = &DeleteTrialComponentOutput{}
4213	req = c.newRequest(op, input, output)
4214	return
4215}
4216
4217// DeleteTrialComponent API operation for Amazon SageMaker Service.
4218//
4219// Deletes the specified trial component. A trial component must be disassociated
4220// from all trials before the trial component can be deleted. To disassociate
4221// a trial component from a trial, call the DisassociateTrialComponent API.
4222//
4223// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4224// with awserr.Error's Code and Message methods to get detailed information about
4225// the error.
4226//
4227// See the AWS API reference guide for Amazon SageMaker Service's
4228// API operation DeleteTrialComponent for usage and error information.
4229//
4230// Returned Error Types:
4231//   * ResourceNotFound
4232//   Resource being access is not found.
4233//
4234// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrialComponent
4235func (c *SageMaker) DeleteTrialComponent(input *DeleteTrialComponentInput) (*DeleteTrialComponentOutput, error) {
4236	req, out := c.DeleteTrialComponentRequest(input)
4237	return out, req.Send()
4238}
4239
4240// DeleteTrialComponentWithContext is the same as DeleteTrialComponent with the addition of
4241// the ability to pass a context and additional request options.
4242//
4243// See DeleteTrialComponent for details on how to use this API operation.
4244//
4245// The context must be non-nil and will be used for request cancellation. If
4246// the context is nil a panic will occur. In the future the SDK may create
4247// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4248// for more information on using Contexts.
4249func (c *SageMaker) DeleteTrialComponentWithContext(ctx aws.Context, input *DeleteTrialComponentInput, opts ...request.Option) (*DeleteTrialComponentOutput, error) {
4250	req, out := c.DeleteTrialComponentRequest(input)
4251	req.SetContext(ctx)
4252	req.ApplyOptions(opts...)
4253	return out, req.Send()
4254}
4255
4256const opDeleteUserProfile = "DeleteUserProfile"
4257
4258// DeleteUserProfileRequest generates a "aws/request.Request" representing the
4259// client's request for the DeleteUserProfile operation. The "output" return
4260// value will be populated with the request's response once the request completes
4261// successfully.
4262//
4263// Use "Send" method on the returned Request to send the API call to the service.
4264// the "output" return value is not valid until after Send returns without error.
4265//
4266// See DeleteUserProfile for more information on using the DeleteUserProfile
4267// API call, and error handling.
4268//
4269// This method is useful when you want to inject custom logic or configuration
4270// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4271//
4272//
4273//    // Example sending a request using the DeleteUserProfileRequest method.
4274//    req, resp := client.DeleteUserProfileRequest(params)
4275//
4276//    err := req.Send()
4277//    if err == nil { // resp is now filled
4278//        fmt.Println(resp)
4279//    }
4280//
4281// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteUserProfile
4282func (c *SageMaker) DeleteUserProfileRequest(input *DeleteUserProfileInput) (req *request.Request, output *DeleteUserProfileOutput) {
4283	op := &request.Operation{
4284		Name:       opDeleteUserProfile,
4285		HTTPMethod: "POST",
4286		HTTPPath:   "/",
4287	}
4288
4289	if input == nil {
4290		input = &DeleteUserProfileInput{}
4291	}
4292
4293	output = &DeleteUserProfileOutput{}
4294	req = c.newRequest(op, input, output)
4295	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4296	return
4297}
4298
4299// DeleteUserProfile API operation for Amazon SageMaker Service.
4300//
4301// Deletes a user profile. When a user profile is deleted, the user loses access
4302// to their EFS volume, including data, notebooks, and other artifacts.
4303//
4304// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4305// with awserr.Error's Code and Message methods to get detailed information about
4306// the error.
4307//
4308// See the AWS API reference guide for Amazon SageMaker Service's
4309// API operation DeleteUserProfile for usage and error information.
4310//
4311// Returned Error Types:
4312//   * ResourceInUse
4313//   Resource being accessed is in use.
4314//
4315//   * ResourceNotFound
4316//   Resource being access is not found.
4317//
4318// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteUserProfile
4319func (c *SageMaker) DeleteUserProfile(input *DeleteUserProfileInput) (*DeleteUserProfileOutput, error) {
4320	req, out := c.DeleteUserProfileRequest(input)
4321	return out, req.Send()
4322}
4323
4324// DeleteUserProfileWithContext is the same as DeleteUserProfile with the addition of
4325// the ability to pass a context and additional request options.
4326//
4327// See DeleteUserProfile for details on how to use this API operation.
4328//
4329// The context must be non-nil and will be used for request cancellation. If
4330// the context is nil a panic will occur. In the future the SDK may create
4331// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4332// for more information on using Contexts.
4333func (c *SageMaker) DeleteUserProfileWithContext(ctx aws.Context, input *DeleteUserProfileInput, opts ...request.Option) (*DeleteUserProfileOutput, error) {
4334	req, out := c.DeleteUserProfileRequest(input)
4335	req.SetContext(ctx)
4336	req.ApplyOptions(opts...)
4337	return out, req.Send()
4338}
4339
4340const opDeleteWorkforce = "DeleteWorkforce"
4341
4342// DeleteWorkforceRequest generates a "aws/request.Request" representing the
4343// client's request for the DeleteWorkforce operation. The "output" return
4344// value will be populated with the request's response once the request completes
4345// successfully.
4346//
4347// Use "Send" method on the returned Request to send the API call to the service.
4348// the "output" return value is not valid until after Send returns without error.
4349//
4350// See DeleteWorkforce for more information on using the DeleteWorkforce
4351// API call, and error handling.
4352//
4353// This method is useful when you want to inject custom logic or configuration
4354// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4355//
4356//
4357//    // Example sending a request using the DeleteWorkforceRequest method.
4358//    req, resp := client.DeleteWorkforceRequest(params)
4359//
4360//    err := req.Send()
4361//    if err == nil { // resp is now filled
4362//        fmt.Println(resp)
4363//    }
4364//
4365// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkforce
4366func (c *SageMaker) DeleteWorkforceRequest(input *DeleteWorkforceInput) (req *request.Request, output *DeleteWorkforceOutput) {
4367	op := &request.Operation{
4368		Name:       opDeleteWorkforce,
4369		HTTPMethod: "POST",
4370		HTTPPath:   "/",
4371	}
4372
4373	if input == nil {
4374		input = &DeleteWorkforceInput{}
4375	}
4376
4377	output = &DeleteWorkforceOutput{}
4378	req = c.newRequest(op, input, output)
4379	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4380	return
4381}
4382
4383// DeleteWorkforce API operation for Amazon SageMaker Service.
4384//
4385// Use this operation to delete a workforce.
4386//
4387// If you want to create a new workforce in an AWS Region where the a workforce
4388// already exists, use this operation to delete the existing workforce and then
4389// use to create a new workforce.
4390//
4391// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4392// with awserr.Error's Code and Message methods to get detailed information about
4393// the error.
4394//
4395// See the AWS API reference guide for Amazon SageMaker Service's
4396// API operation DeleteWorkforce for usage and error information.
4397// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkforce
4398func (c *SageMaker) DeleteWorkforce(input *DeleteWorkforceInput) (*DeleteWorkforceOutput, error) {
4399	req, out := c.DeleteWorkforceRequest(input)
4400	return out, req.Send()
4401}
4402
4403// DeleteWorkforceWithContext is the same as DeleteWorkforce with the addition of
4404// the ability to pass a context and additional request options.
4405//
4406// See DeleteWorkforce for details on how to use this API operation.
4407//
4408// The context must be non-nil and will be used for request cancellation. If
4409// the context is nil a panic will occur. In the future the SDK may create
4410// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4411// for more information on using Contexts.
4412func (c *SageMaker) DeleteWorkforceWithContext(ctx aws.Context, input *DeleteWorkforceInput, opts ...request.Option) (*DeleteWorkforceOutput, error) {
4413	req, out := c.DeleteWorkforceRequest(input)
4414	req.SetContext(ctx)
4415	req.ApplyOptions(opts...)
4416	return out, req.Send()
4417}
4418
4419const opDeleteWorkteam = "DeleteWorkteam"
4420
4421// DeleteWorkteamRequest generates a "aws/request.Request" representing the
4422// client's request for the DeleteWorkteam operation. The "output" return
4423// value will be populated with the request's response once the request completes
4424// successfully.
4425//
4426// Use "Send" method on the returned Request to send the API call to the service.
4427// the "output" return value is not valid until after Send returns without error.
4428//
4429// See DeleteWorkteam for more information on using the DeleteWorkteam
4430// API call, and error handling.
4431//
4432// This method is useful when you want to inject custom logic or configuration
4433// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4434//
4435//
4436//    // Example sending a request using the DeleteWorkteamRequest method.
4437//    req, resp := client.DeleteWorkteamRequest(params)
4438//
4439//    err := req.Send()
4440//    if err == nil { // resp is now filled
4441//        fmt.Println(resp)
4442//    }
4443//
4444// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkteam
4445func (c *SageMaker) DeleteWorkteamRequest(input *DeleteWorkteamInput) (req *request.Request, output *DeleteWorkteamOutput) {
4446	op := &request.Operation{
4447		Name:       opDeleteWorkteam,
4448		HTTPMethod: "POST",
4449		HTTPPath:   "/",
4450	}
4451
4452	if input == nil {
4453		input = &DeleteWorkteamInput{}
4454	}
4455
4456	output = &DeleteWorkteamOutput{}
4457	req = c.newRequest(op, input, output)
4458	return
4459}
4460
4461// DeleteWorkteam API operation for Amazon SageMaker Service.
4462//
4463// Deletes an existing work team. This operation can't be undone.
4464//
4465// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4466// with awserr.Error's Code and Message methods to get detailed information about
4467// the error.
4468//
4469// See the AWS API reference guide for Amazon SageMaker Service's
4470// API operation DeleteWorkteam for usage and error information.
4471//
4472// Returned Error Types:
4473//   * ResourceLimitExceeded
4474//   You have exceeded an Amazon SageMaker resource limit. For example, you might
4475//   have too many training jobs created.
4476//
4477// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkteam
4478func (c *SageMaker) DeleteWorkteam(input *DeleteWorkteamInput) (*DeleteWorkteamOutput, error) {
4479	req, out := c.DeleteWorkteamRequest(input)
4480	return out, req.Send()
4481}
4482
4483// DeleteWorkteamWithContext is the same as DeleteWorkteam with the addition of
4484// the ability to pass a context and additional request options.
4485//
4486// See DeleteWorkteam for details on how to use this API operation.
4487//
4488// The context must be non-nil and will be used for request cancellation. If
4489// the context is nil a panic will occur. In the future the SDK may create
4490// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4491// for more information on using Contexts.
4492func (c *SageMaker) DeleteWorkteamWithContext(ctx aws.Context, input *DeleteWorkteamInput, opts ...request.Option) (*DeleteWorkteamOutput, error) {
4493	req, out := c.DeleteWorkteamRequest(input)
4494	req.SetContext(ctx)
4495	req.ApplyOptions(opts...)
4496	return out, req.Send()
4497}
4498
4499const opDescribeAlgorithm = "DescribeAlgorithm"
4500
4501// DescribeAlgorithmRequest generates a "aws/request.Request" representing the
4502// client's request for the DescribeAlgorithm operation. The "output" return
4503// value will be populated with the request's response once the request completes
4504// successfully.
4505//
4506// Use "Send" method on the returned Request to send the API call to the service.
4507// the "output" return value is not valid until after Send returns without error.
4508//
4509// See DescribeAlgorithm for more information on using the DescribeAlgorithm
4510// API call, and error handling.
4511//
4512// This method is useful when you want to inject custom logic or configuration
4513// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4514//
4515//
4516//    // Example sending a request using the DescribeAlgorithmRequest method.
4517//    req, resp := client.DescribeAlgorithmRequest(params)
4518//
4519//    err := req.Send()
4520//    if err == nil { // resp is now filled
4521//        fmt.Println(resp)
4522//    }
4523//
4524// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAlgorithm
4525func (c *SageMaker) DescribeAlgorithmRequest(input *DescribeAlgorithmInput) (req *request.Request, output *DescribeAlgorithmOutput) {
4526	op := &request.Operation{
4527		Name:       opDescribeAlgorithm,
4528		HTTPMethod: "POST",
4529		HTTPPath:   "/",
4530	}
4531
4532	if input == nil {
4533		input = &DescribeAlgorithmInput{}
4534	}
4535
4536	output = &DescribeAlgorithmOutput{}
4537	req = c.newRequest(op, input, output)
4538	return
4539}
4540
4541// DescribeAlgorithm API operation for Amazon SageMaker Service.
4542//
4543// Returns a description of the specified algorithm that is in your account.
4544//
4545// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4546// with awserr.Error's Code and Message methods to get detailed information about
4547// the error.
4548//
4549// See the AWS API reference guide for Amazon SageMaker Service's
4550// API operation DescribeAlgorithm for usage and error information.
4551// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAlgorithm
4552func (c *SageMaker) DescribeAlgorithm(input *DescribeAlgorithmInput) (*DescribeAlgorithmOutput, error) {
4553	req, out := c.DescribeAlgorithmRequest(input)
4554	return out, req.Send()
4555}
4556
4557// DescribeAlgorithmWithContext is the same as DescribeAlgorithm with the addition of
4558// the ability to pass a context and additional request options.
4559//
4560// See DescribeAlgorithm for details on how to use this API operation.
4561//
4562// The context must be non-nil and will be used for request cancellation. If
4563// the context is nil a panic will occur. In the future the SDK may create
4564// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4565// for more information on using Contexts.
4566func (c *SageMaker) DescribeAlgorithmWithContext(ctx aws.Context, input *DescribeAlgorithmInput, opts ...request.Option) (*DescribeAlgorithmOutput, error) {
4567	req, out := c.DescribeAlgorithmRequest(input)
4568	req.SetContext(ctx)
4569	req.ApplyOptions(opts...)
4570	return out, req.Send()
4571}
4572
4573const opDescribeApp = "DescribeApp"
4574
4575// DescribeAppRequest generates a "aws/request.Request" representing the
4576// client's request for the DescribeApp operation. The "output" return
4577// value will be populated with the request's response once the request completes
4578// successfully.
4579//
4580// Use "Send" method on the returned Request to send the API call to the service.
4581// the "output" return value is not valid until after Send returns without error.
4582//
4583// See DescribeApp for more information on using the DescribeApp
4584// API call, and error handling.
4585//
4586// This method is useful when you want to inject custom logic or configuration
4587// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4588//
4589//
4590//    // Example sending a request using the DescribeAppRequest method.
4591//    req, resp := client.DescribeAppRequest(params)
4592//
4593//    err := req.Send()
4594//    if err == nil { // resp is now filled
4595//        fmt.Println(resp)
4596//    }
4597//
4598// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeApp
4599func (c *SageMaker) DescribeAppRequest(input *DescribeAppInput) (req *request.Request, output *DescribeAppOutput) {
4600	op := &request.Operation{
4601		Name:       opDescribeApp,
4602		HTTPMethod: "POST",
4603		HTTPPath:   "/",
4604	}
4605
4606	if input == nil {
4607		input = &DescribeAppInput{}
4608	}
4609
4610	output = &DescribeAppOutput{}
4611	req = c.newRequest(op, input, output)
4612	return
4613}
4614
4615// DescribeApp API operation for Amazon SageMaker Service.
4616//
4617// Describes the app.
4618//
4619// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4620// with awserr.Error's Code and Message methods to get detailed information about
4621// the error.
4622//
4623// See the AWS API reference guide for Amazon SageMaker Service's
4624// API operation DescribeApp for usage and error information.
4625//
4626// Returned Error Types:
4627//   * ResourceNotFound
4628//   Resource being access is not found.
4629//
4630// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeApp
4631func (c *SageMaker) DescribeApp(input *DescribeAppInput) (*DescribeAppOutput, error) {
4632	req, out := c.DescribeAppRequest(input)
4633	return out, req.Send()
4634}
4635
4636// DescribeAppWithContext is the same as DescribeApp with the addition of
4637// the ability to pass a context and additional request options.
4638//
4639// See DescribeApp for details on how to use this API operation.
4640//
4641// The context must be non-nil and will be used for request cancellation. If
4642// the context is nil a panic will occur. In the future the SDK may create
4643// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4644// for more information on using Contexts.
4645func (c *SageMaker) DescribeAppWithContext(ctx aws.Context, input *DescribeAppInput, opts ...request.Option) (*DescribeAppOutput, error) {
4646	req, out := c.DescribeAppRequest(input)
4647	req.SetContext(ctx)
4648	req.ApplyOptions(opts...)
4649	return out, req.Send()
4650}
4651
4652const opDescribeAutoMLJob = "DescribeAutoMLJob"
4653
4654// DescribeAutoMLJobRequest generates a "aws/request.Request" representing the
4655// client's request for the DescribeAutoMLJob operation. The "output" return
4656// value will be populated with the request's response once the request completes
4657// successfully.
4658//
4659// Use "Send" method on the returned Request to send the API call to the service.
4660// the "output" return value is not valid until after Send returns without error.
4661//
4662// See DescribeAutoMLJob for more information on using the DescribeAutoMLJob
4663// API call, and error handling.
4664//
4665// This method is useful when you want to inject custom logic or configuration
4666// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4667//
4668//
4669//    // Example sending a request using the DescribeAutoMLJobRequest method.
4670//    req, resp := client.DescribeAutoMLJobRequest(params)
4671//
4672//    err := req.Send()
4673//    if err == nil { // resp is now filled
4674//        fmt.Println(resp)
4675//    }
4676//
4677// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAutoMLJob
4678func (c *SageMaker) DescribeAutoMLJobRequest(input *DescribeAutoMLJobInput) (req *request.Request, output *DescribeAutoMLJobOutput) {
4679	op := &request.Operation{
4680		Name:       opDescribeAutoMLJob,
4681		HTTPMethod: "POST",
4682		HTTPPath:   "/",
4683	}
4684
4685	if input == nil {
4686		input = &DescribeAutoMLJobInput{}
4687	}
4688
4689	output = &DescribeAutoMLJobOutput{}
4690	req = c.newRequest(op, input, output)
4691	return
4692}
4693
4694// DescribeAutoMLJob API operation for Amazon SageMaker Service.
4695//
4696// Returns information about an Amazon SageMaker job.
4697//
4698// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4699// with awserr.Error's Code and Message methods to get detailed information about
4700// the error.
4701//
4702// See the AWS API reference guide for Amazon SageMaker Service's
4703// API operation DescribeAutoMLJob for usage and error information.
4704//
4705// Returned Error Types:
4706//   * ResourceNotFound
4707//   Resource being access is not found.
4708//
4709// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAutoMLJob
4710func (c *SageMaker) DescribeAutoMLJob(input *DescribeAutoMLJobInput) (*DescribeAutoMLJobOutput, error) {
4711	req, out := c.DescribeAutoMLJobRequest(input)
4712	return out, req.Send()
4713}
4714
4715// DescribeAutoMLJobWithContext is the same as DescribeAutoMLJob with the addition of
4716// the ability to pass a context and additional request options.
4717//
4718// See DescribeAutoMLJob for details on how to use this API operation.
4719//
4720// The context must be non-nil and will be used for request cancellation. If
4721// the context is nil a panic will occur. In the future the SDK may create
4722// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4723// for more information on using Contexts.
4724func (c *SageMaker) DescribeAutoMLJobWithContext(ctx aws.Context, input *DescribeAutoMLJobInput, opts ...request.Option) (*DescribeAutoMLJobOutput, error) {
4725	req, out := c.DescribeAutoMLJobRequest(input)
4726	req.SetContext(ctx)
4727	req.ApplyOptions(opts...)
4728	return out, req.Send()
4729}
4730
4731const opDescribeCodeRepository = "DescribeCodeRepository"
4732
4733// DescribeCodeRepositoryRequest generates a "aws/request.Request" representing the
4734// client's request for the DescribeCodeRepository operation. The "output" return
4735// value will be populated with the request's response once the request completes
4736// successfully.
4737//
4738// Use "Send" method on the returned Request to send the API call to the service.
4739// the "output" return value is not valid until after Send returns without error.
4740//
4741// See DescribeCodeRepository for more information on using the DescribeCodeRepository
4742// API call, and error handling.
4743//
4744// This method is useful when you want to inject custom logic or configuration
4745// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4746//
4747//
4748//    // Example sending a request using the DescribeCodeRepositoryRequest method.
4749//    req, resp := client.DescribeCodeRepositoryRequest(params)
4750//
4751//    err := req.Send()
4752//    if err == nil { // resp is now filled
4753//        fmt.Println(resp)
4754//    }
4755//
4756// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCodeRepository
4757func (c *SageMaker) DescribeCodeRepositoryRequest(input *DescribeCodeRepositoryInput) (req *request.Request, output *DescribeCodeRepositoryOutput) {
4758	op := &request.Operation{
4759		Name:       opDescribeCodeRepository,
4760		HTTPMethod: "POST",
4761		HTTPPath:   "/",
4762	}
4763
4764	if input == nil {
4765		input = &DescribeCodeRepositoryInput{}
4766	}
4767
4768	output = &DescribeCodeRepositoryOutput{}
4769	req = c.newRequest(op, input, output)
4770	return
4771}
4772
4773// DescribeCodeRepository API operation for Amazon SageMaker Service.
4774//
4775// Gets details about the specified Git repository.
4776//
4777// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4778// with awserr.Error's Code and Message methods to get detailed information about
4779// the error.
4780//
4781// See the AWS API reference guide for Amazon SageMaker Service's
4782// API operation DescribeCodeRepository for usage and error information.
4783// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCodeRepository
4784func (c *SageMaker) DescribeCodeRepository(input *DescribeCodeRepositoryInput) (*DescribeCodeRepositoryOutput, error) {
4785	req, out := c.DescribeCodeRepositoryRequest(input)
4786	return out, req.Send()
4787}
4788
4789// DescribeCodeRepositoryWithContext is the same as DescribeCodeRepository with the addition of
4790// the ability to pass a context and additional request options.
4791//
4792// See DescribeCodeRepository for details on how to use this API operation.
4793//
4794// The context must be non-nil and will be used for request cancellation. If
4795// the context is nil a panic will occur. In the future the SDK may create
4796// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4797// for more information on using Contexts.
4798func (c *SageMaker) DescribeCodeRepositoryWithContext(ctx aws.Context, input *DescribeCodeRepositoryInput, opts ...request.Option) (*DescribeCodeRepositoryOutput, error) {
4799	req, out := c.DescribeCodeRepositoryRequest(input)
4800	req.SetContext(ctx)
4801	req.ApplyOptions(opts...)
4802	return out, req.Send()
4803}
4804
4805const opDescribeCompilationJob = "DescribeCompilationJob"
4806
4807// DescribeCompilationJobRequest generates a "aws/request.Request" representing the
4808// client's request for the DescribeCompilationJob operation. The "output" return
4809// value will be populated with the request's response once the request completes
4810// successfully.
4811//
4812// Use "Send" method on the returned Request to send the API call to the service.
4813// the "output" return value is not valid until after Send returns without error.
4814//
4815// See DescribeCompilationJob for more information on using the DescribeCompilationJob
4816// API call, and error handling.
4817//
4818// This method is useful when you want to inject custom logic or configuration
4819// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4820//
4821//
4822//    // Example sending a request using the DescribeCompilationJobRequest method.
4823//    req, resp := client.DescribeCompilationJobRequest(params)
4824//
4825//    err := req.Send()
4826//    if err == nil { // resp is now filled
4827//        fmt.Println(resp)
4828//    }
4829//
4830// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCompilationJob
4831func (c *SageMaker) DescribeCompilationJobRequest(input *DescribeCompilationJobInput) (req *request.Request, output *DescribeCompilationJobOutput) {
4832	op := &request.Operation{
4833		Name:       opDescribeCompilationJob,
4834		HTTPMethod: "POST",
4835		HTTPPath:   "/",
4836	}
4837
4838	if input == nil {
4839		input = &DescribeCompilationJobInput{}
4840	}
4841
4842	output = &DescribeCompilationJobOutput{}
4843	req = c.newRequest(op, input, output)
4844	return
4845}
4846
4847// DescribeCompilationJob API operation for Amazon SageMaker Service.
4848//
4849// Returns information about a model compilation job.
4850//
4851// To create a model compilation job, use CreateCompilationJob. To get information
4852// about multiple model compilation jobs, use ListCompilationJobs.
4853//
4854// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4855// with awserr.Error's Code and Message methods to get detailed information about
4856// the error.
4857//
4858// See the AWS API reference guide for Amazon SageMaker Service's
4859// API operation DescribeCompilationJob for usage and error information.
4860//
4861// Returned Error Types:
4862//   * ResourceNotFound
4863//   Resource being access is not found.
4864//
4865// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCompilationJob
4866func (c *SageMaker) DescribeCompilationJob(input *DescribeCompilationJobInput) (*DescribeCompilationJobOutput, error) {
4867	req, out := c.DescribeCompilationJobRequest(input)
4868	return out, req.Send()
4869}
4870
4871// DescribeCompilationJobWithContext is the same as DescribeCompilationJob with the addition of
4872// the ability to pass a context and additional request options.
4873//
4874// See DescribeCompilationJob for details on how to use this API operation.
4875//
4876// The context must be non-nil and will be used for request cancellation. If
4877// the context is nil a panic will occur. In the future the SDK may create
4878// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4879// for more information on using Contexts.
4880func (c *SageMaker) DescribeCompilationJobWithContext(ctx aws.Context, input *DescribeCompilationJobInput, opts ...request.Option) (*DescribeCompilationJobOutput, error) {
4881	req, out := c.DescribeCompilationJobRequest(input)
4882	req.SetContext(ctx)
4883	req.ApplyOptions(opts...)
4884	return out, req.Send()
4885}
4886
4887const opDescribeDomain = "DescribeDomain"
4888
4889// DescribeDomainRequest generates a "aws/request.Request" representing the
4890// client's request for the DescribeDomain operation. The "output" return
4891// value will be populated with the request's response once the request completes
4892// successfully.
4893//
4894// Use "Send" method on the returned Request to send the API call to the service.
4895// the "output" return value is not valid until after Send returns without error.
4896//
4897// See DescribeDomain for more information on using the DescribeDomain
4898// API call, and error handling.
4899//
4900// This method is useful when you want to inject custom logic or configuration
4901// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4902//
4903//
4904//    // Example sending a request using the DescribeDomainRequest method.
4905//    req, resp := client.DescribeDomainRequest(params)
4906//
4907//    err := req.Send()
4908//    if err == nil { // resp is now filled
4909//        fmt.Println(resp)
4910//    }
4911//
4912// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDomain
4913func (c *SageMaker) DescribeDomainRequest(input *DescribeDomainInput) (req *request.Request, output *DescribeDomainOutput) {
4914	op := &request.Operation{
4915		Name:       opDescribeDomain,
4916		HTTPMethod: "POST",
4917		HTTPPath:   "/",
4918	}
4919
4920	if input == nil {
4921		input = &DescribeDomainInput{}
4922	}
4923
4924	output = &DescribeDomainOutput{}
4925	req = c.newRequest(op, input, output)
4926	return
4927}
4928
4929// DescribeDomain API operation for Amazon SageMaker Service.
4930//
4931// The description of the domain.
4932//
4933// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4934// with awserr.Error's Code and Message methods to get detailed information about
4935// the error.
4936//
4937// See the AWS API reference guide for Amazon SageMaker Service's
4938// API operation DescribeDomain for usage and error information.
4939//
4940// Returned Error Types:
4941//   * ResourceNotFound
4942//   Resource being access is not found.
4943//
4944// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDomain
4945func (c *SageMaker) DescribeDomain(input *DescribeDomainInput) (*DescribeDomainOutput, error) {
4946	req, out := c.DescribeDomainRequest(input)
4947	return out, req.Send()
4948}
4949
4950// DescribeDomainWithContext is the same as DescribeDomain with the addition of
4951// the ability to pass a context and additional request options.
4952//
4953// See DescribeDomain for details on how to use this API operation.
4954//
4955// The context must be non-nil and will be used for request cancellation. If
4956// the context is nil a panic will occur. In the future the SDK may create
4957// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4958// for more information on using Contexts.
4959func (c *SageMaker) DescribeDomainWithContext(ctx aws.Context, input *DescribeDomainInput, opts ...request.Option) (*DescribeDomainOutput, error) {
4960	req, out := c.DescribeDomainRequest(input)
4961	req.SetContext(ctx)
4962	req.ApplyOptions(opts...)
4963	return out, req.Send()
4964}
4965
4966const opDescribeEndpoint = "DescribeEndpoint"
4967
4968// DescribeEndpointRequest generates a "aws/request.Request" representing the
4969// client's request for the DescribeEndpoint operation. The "output" return
4970// value will be populated with the request's response once the request completes
4971// successfully.
4972//
4973// Use "Send" method on the returned Request to send the API call to the service.
4974// the "output" return value is not valid until after Send returns without error.
4975//
4976// See DescribeEndpoint for more information on using the DescribeEndpoint
4977// API call, and error handling.
4978//
4979// This method is useful when you want to inject custom logic or configuration
4980// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4981//
4982//
4983//    // Example sending a request using the DescribeEndpointRequest method.
4984//    req, resp := client.DescribeEndpointRequest(params)
4985//
4986//    err := req.Send()
4987//    if err == nil { // resp is now filled
4988//        fmt.Println(resp)
4989//    }
4990//
4991// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpoint
4992func (c *SageMaker) DescribeEndpointRequest(input *DescribeEndpointInput) (req *request.Request, output *DescribeEndpointOutput) {
4993	op := &request.Operation{
4994		Name:       opDescribeEndpoint,
4995		HTTPMethod: "POST",
4996		HTTPPath:   "/",
4997	}
4998
4999	if input == nil {
5000		input = &DescribeEndpointInput{}
5001	}
5002
5003	output = &DescribeEndpointOutput{}
5004	req = c.newRequest(op, input, output)
5005	return
5006}
5007
5008// DescribeEndpoint API operation for Amazon SageMaker Service.
5009//
5010// Returns the description of an endpoint.
5011//
5012// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5013// with awserr.Error's Code and Message methods to get detailed information about
5014// the error.
5015//
5016// See the AWS API reference guide for Amazon SageMaker Service's
5017// API operation DescribeEndpoint for usage and error information.
5018// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpoint
5019func (c *SageMaker) DescribeEndpoint(input *DescribeEndpointInput) (*DescribeEndpointOutput, error) {
5020	req, out := c.DescribeEndpointRequest(input)
5021	return out, req.Send()
5022}
5023
5024// DescribeEndpointWithContext is the same as DescribeEndpoint with the addition of
5025// the ability to pass a context and additional request options.
5026//
5027// See DescribeEndpoint for details on how to use this API operation.
5028//
5029// The context must be non-nil and will be used for request cancellation. If
5030// the context is nil a panic will occur. In the future the SDK may create
5031// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5032// for more information on using Contexts.
5033func (c *SageMaker) DescribeEndpointWithContext(ctx aws.Context, input *DescribeEndpointInput, opts ...request.Option) (*DescribeEndpointOutput, error) {
5034	req, out := c.DescribeEndpointRequest(input)
5035	req.SetContext(ctx)
5036	req.ApplyOptions(opts...)
5037	return out, req.Send()
5038}
5039
5040const opDescribeEndpointConfig = "DescribeEndpointConfig"
5041
5042// DescribeEndpointConfigRequest generates a "aws/request.Request" representing the
5043// client's request for the DescribeEndpointConfig operation. The "output" return
5044// value will be populated with the request's response once the request completes
5045// successfully.
5046//
5047// Use "Send" method on the returned Request to send the API call to the service.
5048// the "output" return value is not valid until after Send returns without error.
5049//
5050// See DescribeEndpointConfig for more information on using the DescribeEndpointConfig
5051// API call, and error handling.
5052//
5053// This method is useful when you want to inject custom logic or configuration
5054// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5055//
5056//
5057//    // Example sending a request using the DescribeEndpointConfigRequest method.
5058//    req, resp := client.DescribeEndpointConfigRequest(params)
5059//
5060//    err := req.Send()
5061//    if err == nil { // resp is now filled
5062//        fmt.Println(resp)
5063//    }
5064//
5065// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointConfig
5066func (c *SageMaker) DescribeEndpointConfigRequest(input *DescribeEndpointConfigInput) (req *request.Request, output *DescribeEndpointConfigOutput) {
5067	op := &request.Operation{
5068		Name:       opDescribeEndpointConfig,
5069		HTTPMethod: "POST",
5070		HTTPPath:   "/",
5071	}
5072
5073	if input == nil {
5074		input = &DescribeEndpointConfigInput{}
5075	}
5076
5077	output = &DescribeEndpointConfigOutput{}
5078	req = c.newRequest(op, input, output)
5079	return
5080}
5081
5082// DescribeEndpointConfig API operation for Amazon SageMaker Service.
5083//
5084// Returns the description of an endpoint configuration created using the CreateEndpointConfig
5085// API.
5086//
5087// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5088// with awserr.Error's Code and Message methods to get detailed information about
5089// the error.
5090//
5091// See the AWS API reference guide for Amazon SageMaker Service's
5092// API operation DescribeEndpointConfig for usage and error information.
5093// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointConfig
5094func (c *SageMaker) DescribeEndpointConfig(input *DescribeEndpointConfigInput) (*DescribeEndpointConfigOutput, error) {
5095	req, out := c.DescribeEndpointConfigRequest(input)
5096	return out, req.Send()
5097}
5098
5099// DescribeEndpointConfigWithContext is the same as DescribeEndpointConfig with the addition of
5100// the ability to pass a context and additional request options.
5101//
5102// See DescribeEndpointConfig for details on how to use this API operation.
5103//
5104// The context must be non-nil and will be used for request cancellation. If
5105// the context is nil a panic will occur. In the future the SDK may create
5106// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5107// for more information on using Contexts.
5108func (c *SageMaker) DescribeEndpointConfigWithContext(ctx aws.Context, input *DescribeEndpointConfigInput, opts ...request.Option) (*DescribeEndpointConfigOutput, error) {
5109	req, out := c.DescribeEndpointConfigRequest(input)
5110	req.SetContext(ctx)
5111	req.ApplyOptions(opts...)
5112	return out, req.Send()
5113}
5114
5115const opDescribeExperiment = "DescribeExperiment"
5116
5117// DescribeExperimentRequest generates a "aws/request.Request" representing the
5118// client's request for the DescribeExperiment operation. The "output" return
5119// value will be populated with the request's response once the request completes
5120// successfully.
5121//
5122// Use "Send" method on the returned Request to send the API call to the service.
5123// the "output" return value is not valid until after Send returns without error.
5124//
5125// See DescribeExperiment for more information on using the DescribeExperiment
5126// API call, and error handling.
5127//
5128// This method is useful when you want to inject custom logic or configuration
5129// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5130//
5131//
5132//    // Example sending a request using the DescribeExperimentRequest method.
5133//    req, resp := client.DescribeExperimentRequest(params)
5134//
5135//    err := req.Send()
5136//    if err == nil { // resp is now filled
5137//        fmt.Println(resp)
5138//    }
5139//
5140// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeExperiment
5141func (c *SageMaker) DescribeExperimentRequest(input *DescribeExperimentInput) (req *request.Request, output *DescribeExperimentOutput) {
5142	op := &request.Operation{
5143		Name:       opDescribeExperiment,
5144		HTTPMethod: "POST",
5145		HTTPPath:   "/",
5146	}
5147
5148	if input == nil {
5149		input = &DescribeExperimentInput{}
5150	}
5151
5152	output = &DescribeExperimentOutput{}
5153	req = c.newRequest(op, input, output)
5154	return
5155}
5156
5157// DescribeExperiment API operation for Amazon SageMaker Service.
5158//
5159// Provides a list of an experiment's properties.
5160//
5161// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5162// with awserr.Error's Code and Message methods to get detailed information about
5163// the error.
5164//
5165// See the AWS API reference guide for Amazon SageMaker Service's
5166// API operation DescribeExperiment for usage and error information.
5167//
5168// Returned Error Types:
5169//   * ResourceNotFound
5170//   Resource being access is not found.
5171//
5172// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeExperiment
5173func (c *SageMaker) DescribeExperiment(input *DescribeExperimentInput) (*DescribeExperimentOutput, error) {
5174	req, out := c.DescribeExperimentRequest(input)
5175	return out, req.Send()
5176}
5177
5178// DescribeExperimentWithContext is the same as DescribeExperiment with the addition of
5179// the ability to pass a context and additional request options.
5180//
5181// See DescribeExperiment for details on how to use this API operation.
5182//
5183// The context must be non-nil and will be used for request cancellation. If
5184// the context is nil a panic will occur. In the future the SDK may create
5185// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5186// for more information on using Contexts.
5187func (c *SageMaker) DescribeExperimentWithContext(ctx aws.Context, input *DescribeExperimentInput, opts ...request.Option) (*DescribeExperimentOutput, error) {
5188	req, out := c.DescribeExperimentRequest(input)
5189	req.SetContext(ctx)
5190	req.ApplyOptions(opts...)
5191	return out, req.Send()
5192}
5193
5194const opDescribeFlowDefinition = "DescribeFlowDefinition"
5195
5196// DescribeFlowDefinitionRequest generates a "aws/request.Request" representing the
5197// client's request for the DescribeFlowDefinition operation. The "output" return
5198// value will be populated with the request's response once the request completes
5199// successfully.
5200//
5201// Use "Send" method on the returned Request to send the API call to the service.
5202// the "output" return value is not valid until after Send returns without error.
5203//
5204// See DescribeFlowDefinition for more information on using the DescribeFlowDefinition
5205// API call, and error handling.
5206//
5207// This method is useful when you want to inject custom logic or configuration
5208// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5209//
5210//
5211//    // Example sending a request using the DescribeFlowDefinitionRequest method.
5212//    req, resp := client.DescribeFlowDefinitionRequest(params)
5213//
5214//    err := req.Send()
5215//    if err == nil { // resp is now filled
5216//        fmt.Println(resp)
5217//    }
5218//
5219// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeFlowDefinition
5220func (c *SageMaker) DescribeFlowDefinitionRequest(input *DescribeFlowDefinitionInput) (req *request.Request, output *DescribeFlowDefinitionOutput) {
5221	op := &request.Operation{
5222		Name:       opDescribeFlowDefinition,
5223		HTTPMethod: "POST",
5224		HTTPPath:   "/",
5225	}
5226
5227	if input == nil {
5228		input = &DescribeFlowDefinitionInput{}
5229	}
5230
5231	output = &DescribeFlowDefinitionOutput{}
5232	req = c.newRequest(op, input, output)
5233	return
5234}
5235
5236// DescribeFlowDefinition API operation for Amazon SageMaker Service.
5237//
5238// Returns information about the specified flow definition.
5239//
5240// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5241// with awserr.Error's Code and Message methods to get detailed information about
5242// the error.
5243//
5244// See the AWS API reference guide for Amazon SageMaker Service's
5245// API operation DescribeFlowDefinition for usage and error information.
5246//
5247// Returned Error Types:
5248//   * ResourceNotFound
5249//   Resource being access is not found.
5250//
5251// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeFlowDefinition
5252func (c *SageMaker) DescribeFlowDefinition(input *DescribeFlowDefinitionInput) (*DescribeFlowDefinitionOutput, error) {
5253	req, out := c.DescribeFlowDefinitionRequest(input)
5254	return out, req.Send()
5255}
5256
5257// DescribeFlowDefinitionWithContext is the same as DescribeFlowDefinition with the addition of
5258// the ability to pass a context and additional request options.
5259//
5260// See DescribeFlowDefinition for details on how to use this API operation.
5261//
5262// The context must be non-nil and will be used for request cancellation. If
5263// the context is nil a panic will occur. In the future the SDK may create
5264// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5265// for more information on using Contexts.
5266func (c *SageMaker) DescribeFlowDefinitionWithContext(ctx aws.Context, input *DescribeFlowDefinitionInput, opts ...request.Option) (*DescribeFlowDefinitionOutput, error) {
5267	req, out := c.DescribeFlowDefinitionRequest(input)
5268	req.SetContext(ctx)
5269	req.ApplyOptions(opts...)
5270	return out, req.Send()
5271}
5272
5273const opDescribeHumanTaskUi = "DescribeHumanTaskUi"
5274
5275// DescribeHumanTaskUiRequest generates a "aws/request.Request" representing the
5276// client's request for the DescribeHumanTaskUi operation. The "output" return
5277// value will be populated with the request's response once the request completes
5278// successfully.
5279//
5280// Use "Send" method on the returned Request to send the API call to the service.
5281// the "output" return value is not valid until after Send returns without error.
5282//
5283// See DescribeHumanTaskUi for more information on using the DescribeHumanTaskUi
5284// API call, and error handling.
5285//
5286// This method is useful when you want to inject custom logic or configuration
5287// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5288//
5289//
5290//    // Example sending a request using the DescribeHumanTaskUiRequest method.
5291//    req, resp := client.DescribeHumanTaskUiRequest(params)
5292//
5293//    err := req.Send()
5294//    if err == nil { // resp is now filled
5295//        fmt.Println(resp)
5296//    }
5297//
5298// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHumanTaskUi
5299func (c *SageMaker) DescribeHumanTaskUiRequest(input *DescribeHumanTaskUiInput) (req *request.Request, output *DescribeHumanTaskUiOutput) {
5300	op := &request.Operation{
5301		Name:       opDescribeHumanTaskUi,
5302		HTTPMethod: "POST",
5303		HTTPPath:   "/",
5304	}
5305
5306	if input == nil {
5307		input = &DescribeHumanTaskUiInput{}
5308	}
5309
5310	output = &DescribeHumanTaskUiOutput{}
5311	req = c.newRequest(op, input, output)
5312	return
5313}
5314
5315// DescribeHumanTaskUi API operation for Amazon SageMaker Service.
5316//
5317// Returns information about the requested human task user interface (worker
5318// task template).
5319//
5320// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5321// with awserr.Error's Code and Message methods to get detailed information about
5322// the error.
5323//
5324// See the AWS API reference guide for Amazon SageMaker Service's
5325// API operation DescribeHumanTaskUi for usage and error information.
5326//
5327// Returned Error Types:
5328//   * ResourceNotFound
5329//   Resource being access is not found.
5330//
5331// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHumanTaskUi
5332func (c *SageMaker) DescribeHumanTaskUi(input *DescribeHumanTaskUiInput) (*DescribeHumanTaskUiOutput, error) {
5333	req, out := c.DescribeHumanTaskUiRequest(input)
5334	return out, req.Send()
5335}
5336
5337// DescribeHumanTaskUiWithContext is the same as DescribeHumanTaskUi with the addition of
5338// the ability to pass a context and additional request options.
5339//
5340// See DescribeHumanTaskUi for details on how to use this API operation.
5341//
5342// The context must be non-nil and will be used for request cancellation. If
5343// the context is nil a panic will occur. In the future the SDK may create
5344// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5345// for more information on using Contexts.
5346func (c *SageMaker) DescribeHumanTaskUiWithContext(ctx aws.Context, input *DescribeHumanTaskUiInput, opts ...request.Option) (*DescribeHumanTaskUiOutput, error) {
5347	req, out := c.DescribeHumanTaskUiRequest(input)
5348	req.SetContext(ctx)
5349	req.ApplyOptions(opts...)
5350	return out, req.Send()
5351}
5352
5353const opDescribeHyperParameterTuningJob = "DescribeHyperParameterTuningJob"
5354
5355// DescribeHyperParameterTuningJobRequest generates a "aws/request.Request" representing the
5356// client's request for the DescribeHyperParameterTuningJob operation. The "output" return
5357// value will be populated with the request's response once the request completes
5358// successfully.
5359//
5360// Use "Send" method on the returned Request to send the API call to the service.
5361// the "output" return value is not valid until after Send returns without error.
5362//
5363// See DescribeHyperParameterTuningJob for more information on using the DescribeHyperParameterTuningJob
5364// API call, and error handling.
5365//
5366// This method is useful when you want to inject custom logic or configuration
5367// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5368//
5369//
5370//    // Example sending a request using the DescribeHyperParameterTuningJobRequest method.
5371//    req, resp := client.DescribeHyperParameterTuningJobRequest(params)
5372//
5373//    err := req.Send()
5374//    if err == nil { // resp is now filled
5375//        fmt.Println(resp)
5376//    }
5377//
5378// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHyperParameterTuningJob
5379func (c *SageMaker) DescribeHyperParameterTuningJobRequest(input *DescribeHyperParameterTuningJobInput) (req *request.Request, output *DescribeHyperParameterTuningJobOutput) {
5380	op := &request.Operation{
5381		Name:       opDescribeHyperParameterTuningJob,
5382		HTTPMethod: "POST",
5383		HTTPPath:   "/",
5384	}
5385
5386	if input == nil {
5387		input = &DescribeHyperParameterTuningJobInput{}
5388	}
5389
5390	output = &DescribeHyperParameterTuningJobOutput{}
5391	req = c.newRequest(op, input, output)
5392	return
5393}
5394
5395// DescribeHyperParameterTuningJob API operation for Amazon SageMaker Service.
5396//
5397// Gets a description of a hyperparameter tuning job.
5398//
5399// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5400// with awserr.Error's Code and Message methods to get detailed information about
5401// the error.
5402//
5403// See the AWS API reference guide for Amazon SageMaker Service's
5404// API operation DescribeHyperParameterTuningJob for usage and error information.
5405//
5406// Returned Error Types:
5407//   * ResourceNotFound
5408//   Resource being access is not found.
5409//
5410// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHyperParameterTuningJob
5411func (c *SageMaker) DescribeHyperParameterTuningJob(input *DescribeHyperParameterTuningJobInput) (*DescribeHyperParameterTuningJobOutput, error) {
5412	req, out := c.DescribeHyperParameterTuningJobRequest(input)
5413	return out, req.Send()
5414}
5415
5416// DescribeHyperParameterTuningJobWithContext is the same as DescribeHyperParameterTuningJob with the addition of
5417// the ability to pass a context and additional request options.
5418//
5419// See DescribeHyperParameterTuningJob for details on how to use this API operation.
5420//
5421// The context must be non-nil and will be used for request cancellation. If
5422// the context is nil a panic will occur. In the future the SDK may create
5423// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5424// for more information on using Contexts.
5425func (c *SageMaker) DescribeHyperParameterTuningJobWithContext(ctx aws.Context, input *DescribeHyperParameterTuningJobInput, opts ...request.Option) (*DescribeHyperParameterTuningJobOutput, error) {
5426	req, out := c.DescribeHyperParameterTuningJobRequest(input)
5427	req.SetContext(ctx)
5428	req.ApplyOptions(opts...)
5429	return out, req.Send()
5430}
5431
5432const opDescribeLabelingJob = "DescribeLabelingJob"
5433
5434// DescribeLabelingJobRequest generates a "aws/request.Request" representing the
5435// client's request for the DescribeLabelingJob operation. The "output" return
5436// value will be populated with the request's response once the request completes
5437// successfully.
5438//
5439// Use "Send" method on the returned Request to send the API call to the service.
5440// the "output" return value is not valid until after Send returns without error.
5441//
5442// See DescribeLabelingJob for more information on using the DescribeLabelingJob
5443// API call, and error handling.
5444//
5445// This method is useful when you want to inject custom logic or configuration
5446// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5447//
5448//
5449//    // Example sending a request using the DescribeLabelingJobRequest method.
5450//    req, resp := client.DescribeLabelingJobRequest(params)
5451//
5452//    err := req.Send()
5453//    if err == nil { // resp is now filled
5454//        fmt.Println(resp)
5455//    }
5456//
5457// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeLabelingJob
5458func (c *SageMaker) DescribeLabelingJobRequest(input *DescribeLabelingJobInput) (req *request.Request, output *DescribeLabelingJobOutput) {
5459	op := &request.Operation{
5460		Name:       opDescribeLabelingJob,
5461		HTTPMethod: "POST",
5462		HTTPPath:   "/",
5463	}
5464
5465	if input == nil {
5466		input = &DescribeLabelingJobInput{}
5467	}
5468
5469	output = &DescribeLabelingJobOutput{}
5470	req = c.newRequest(op, input, output)
5471	return
5472}
5473
5474// DescribeLabelingJob API operation for Amazon SageMaker Service.
5475//
5476// Gets information about a labeling job.
5477//
5478// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5479// with awserr.Error's Code and Message methods to get detailed information about
5480// the error.
5481//
5482// See the AWS API reference guide for Amazon SageMaker Service's
5483// API operation DescribeLabelingJob for usage and error information.
5484//
5485// Returned Error Types:
5486//   * ResourceNotFound
5487//   Resource being access is not found.
5488//
5489// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeLabelingJob
5490func (c *SageMaker) DescribeLabelingJob(input *DescribeLabelingJobInput) (*DescribeLabelingJobOutput, error) {
5491	req, out := c.DescribeLabelingJobRequest(input)
5492	return out, req.Send()
5493}
5494
5495// DescribeLabelingJobWithContext is the same as DescribeLabelingJob with the addition of
5496// the ability to pass a context and additional request options.
5497//
5498// See DescribeLabelingJob for details on how to use this API operation.
5499//
5500// The context must be non-nil and will be used for request cancellation. If
5501// the context is nil a panic will occur. In the future the SDK may create
5502// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5503// for more information on using Contexts.
5504func (c *SageMaker) DescribeLabelingJobWithContext(ctx aws.Context, input *DescribeLabelingJobInput, opts ...request.Option) (*DescribeLabelingJobOutput, error) {
5505	req, out := c.DescribeLabelingJobRequest(input)
5506	req.SetContext(ctx)
5507	req.ApplyOptions(opts...)
5508	return out, req.Send()
5509}
5510
5511const opDescribeModel = "DescribeModel"
5512
5513// DescribeModelRequest generates a "aws/request.Request" representing the
5514// client's request for the DescribeModel operation. The "output" return
5515// value will be populated with the request's response once the request completes
5516// successfully.
5517//
5518// Use "Send" method on the returned Request to send the API call to the service.
5519// the "output" return value is not valid until after Send returns without error.
5520//
5521// See DescribeModel for more information on using the DescribeModel
5522// API call, and error handling.
5523//
5524// This method is useful when you want to inject custom logic or configuration
5525// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5526//
5527//
5528//    // Example sending a request using the DescribeModelRequest method.
5529//    req, resp := client.DescribeModelRequest(params)
5530//
5531//    err := req.Send()
5532//    if err == nil { // resp is now filled
5533//        fmt.Println(resp)
5534//    }
5535//
5536// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModel
5537func (c *SageMaker) DescribeModelRequest(input *DescribeModelInput) (req *request.Request, output *DescribeModelOutput) {
5538	op := &request.Operation{
5539		Name:       opDescribeModel,
5540		HTTPMethod: "POST",
5541		HTTPPath:   "/",
5542	}
5543
5544	if input == nil {
5545		input = &DescribeModelInput{}
5546	}
5547
5548	output = &DescribeModelOutput{}
5549	req = c.newRequest(op, input, output)
5550	return
5551}
5552
5553// DescribeModel API operation for Amazon SageMaker Service.
5554//
5555// Describes a model that you created using the CreateModel API.
5556//
5557// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5558// with awserr.Error's Code and Message methods to get detailed information about
5559// the error.
5560//
5561// See the AWS API reference guide for Amazon SageMaker Service's
5562// API operation DescribeModel for usage and error information.
5563// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModel
5564func (c *SageMaker) DescribeModel(input *DescribeModelInput) (*DescribeModelOutput, error) {
5565	req, out := c.DescribeModelRequest(input)
5566	return out, req.Send()
5567}
5568
5569// DescribeModelWithContext is the same as DescribeModel with the addition of
5570// the ability to pass a context and additional request options.
5571//
5572// See DescribeModel for details on how to use this API operation.
5573//
5574// The context must be non-nil and will be used for request cancellation. If
5575// the context is nil a panic will occur. In the future the SDK may create
5576// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5577// for more information on using Contexts.
5578func (c *SageMaker) DescribeModelWithContext(ctx aws.Context, input *DescribeModelInput, opts ...request.Option) (*DescribeModelOutput, error) {
5579	req, out := c.DescribeModelRequest(input)
5580	req.SetContext(ctx)
5581	req.ApplyOptions(opts...)
5582	return out, req.Send()
5583}
5584
5585const opDescribeModelPackage = "DescribeModelPackage"
5586
5587// DescribeModelPackageRequest generates a "aws/request.Request" representing the
5588// client's request for the DescribeModelPackage operation. The "output" return
5589// value will be populated with the request's response once the request completes
5590// successfully.
5591//
5592// Use "Send" method on the returned Request to send the API call to the service.
5593// the "output" return value is not valid until after Send returns without error.
5594//
5595// See DescribeModelPackage for more information on using the DescribeModelPackage
5596// API call, and error handling.
5597//
5598// This method is useful when you want to inject custom logic or configuration
5599// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5600//
5601//
5602//    // Example sending a request using the DescribeModelPackageRequest method.
5603//    req, resp := client.DescribeModelPackageRequest(params)
5604//
5605//    err := req.Send()
5606//    if err == nil { // resp is now filled
5607//        fmt.Println(resp)
5608//    }
5609//
5610// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackage
5611func (c *SageMaker) DescribeModelPackageRequest(input *DescribeModelPackageInput) (req *request.Request, output *DescribeModelPackageOutput) {
5612	op := &request.Operation{
5613		Name:       opDescribeModelPackage,
5614		HTTPMethod: "POST",
5615		HTTPPath:   "/",
5616	}
5617
5618	if input == nil {
5619		input = &DescribeModelPackageInput{}
5620	}
5621
5622	output = &DescribeModelPackageOutput{}
5623	req = c.newRequest(op, input, output)
5624	return
5625}
5626
5627// DescribeModelPackage API operation for Amazon SageMaker Service.
5628//
5629// Returns a description of the specified model package, which is used to create
5630// Amazon SageMaker models or list them on AWS Marketplace.
5631//
5632// To create models in Amazon SageMaker, buyers can subscribe to model packages
5633// listed on AWS Marketplace.
5634//
5635// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5636// with awserr.Error's Code and Message methods to get detailed information about
5637// the error.
5638//
5639// See the AWS API reference guide for Amazon SageMaker Service's
5640// API operation DescribeModelPackage for usage and error information.
5641// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackage
5642func (c *SageMaker) DescribeModelPackage(input *DescribeModelPackageInput) (*DescribeModelPackageOutput, error) {
5643	req, out := c.DescribeModelPackageRequest(input)
5644	return out, req.Send()
5645}
5646
5647// DescribeModelPackageWithContext is the same as DescribeModelPackage with the addition of
5648// the ability to pass a context and additional request options.
5649//
5650// See DescribeModelPackage for details on how to use this API operation.
5651//
5652// The context must be non-nil and will be used for request cancellation. If
5653// the context is nil a panic will occur. In the future the SDK may create
5654// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5655// for more information on using Contexts.
5656func (c *SageMaker) DescribeModelPackageWithContext(ctx aws.Context, input *DescribeModelPackageInput, opts ...request.Option) (*DescribeModelPackageOutput, error) {
5657	req, out := c.DescribeModelPackageRequest(input)
5658	req.SetContext(ctx)
5659	req.ApplyOptions(opts...)
5660	return out, req.Send()
5661}
5662
5663const opDescribeMonitoringSchedule = "DescribeMonitoringSchedule"
5664
5665// DescribeMonitoringScheduleRequest generates a "aws/request.Request" representing the
5666// client's request for the DescribeMonitoringSchedule operation. The "output" return
5667// value will be populated with the request's response once the request completes
5668// successfully.
5669//
5670// Use "Send" method on the returned Request to send the API call to the service.
5671// the "output" return value is not valid until after Send returns without error.
5672//
5673// See DescribeMonitoringSchedule for more information on using the DescribeMonitoringSchedule
5674// API call, and error handling.
5675//
5676// This method is useful when you want to inject custom logic or configuration
5677// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5678//
5679//
5680//    // Example sending a request using the DescribeMonitoringScheduleRequest method.
5681//    req, resp := client.DescribeMonitoringScheduleRequest(params)
5682//
5683//    err := req.Send()
5684//    if err == nil { // resp is now filled
5685//        fmt.Println(resp)
5686//    }
5687//
5688// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeMonitoringSchedule
5689func (c *SageMaker) DescribeMonitoringScheduleRequest(input *DescribeMonitoringScheduleInput) (req *request.Request, output *DescribeMonitoringScheduleOutput) {
5690	op := &request.Operation{
5691		Name:       opDescribeMonitoringSchedule,
5692		HTTPMethod: "POST",
5693		HTTPPath:   "/",
5694	}
5695
5696	if input == nil {
5697		input = &DescribeMonitoringScheduleInput{}
5698	}
5699
5700	output = &DescribeMonitoringScheduleOutput{}
5701	req = c.newRequest(op, input, output)
5702	return
5703}
5704
5705// DescribeMonitoringSchedule API operation for Amazon SageMaker Service.
5706//
5707// Describes the schedule for a monitoring job.
5708//
5709// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5710// with awserr.Error's Code and Message methods to get detailed information about
5711// the error.
5712//
5713// See the AWS API reference guide for Amazon SageMaker Service's
5714// API operation DescribeMonitoringSchedule for usage and error information.
5715//
5716// Returned Error Types:
5717//   * ResourceNotFound
5718//   Resource being access is not found.
5719//
5720// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeMonitoringSchedule
5721func (c *SageMaker) DescribeMonitoringSchedule(input *DescribeMonitoringScheduleInput) (*DescribeMonitoringScheduleOutput, error) {
5722	req, out := c.DescribeMonitoringScheduleRequest(input)
5723	return out, req.Send()
5724}
5725
5726// DescribeMonitoringScheduleWithContext is the same as DescribeMonitoringSchedule with the addition of
5727// the ability to pass a context and additional request options.
5728//
5729// See DescribeMonitoringSchedule for details on how to use this API operation.
5730//
5731// The context must be non-nil and will be used for request cancellation. If
5732// the context is nil a panic will occur. In the future the SDK may create
5733// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5734// for more information on using Contexts.
5735func (c *SageMaker) DescribeMonitoringScheduleWithContext(ctx aws.Context, input *DescribeMonitoringScheduleInput, opts ...request.Option) (*DescribeMonitoringScheduleOutput, error) {
5736	req, out := c.DescribeMonitoringScheduleRequest(input)
5737	req.SetContext(ctx)
5738	req.ApplyOptions(opts...)
5739	return out, req.Send()
5740}
5741
5742const opDescribeNotebookInstance = "DescribeNotebookInstance"
5743
5744// DescribeNotebookInstanceRequest generates a "aws/request.Request" representing the
5745// client's request for the DescribeNotebookInstance operation. The "output" return
5746// value will be populated with the request's response once the request completes
5747// successfully.
5748//
5749// Use "Send" method on the returned Request to send the API call to the service.
5750// the "output" return value is not valid until after Send returns without error.
5751//
5752// See DescribeNotebookInstance for more information on using the DescribeNotebookInstance
5753// API call, and error handling.
5754//
5755// This method is useful when you want to inject custom logic or configuration
5756// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5757//
5758//
5759//    // Example sending a request using the DescribeNotebookInstanceRequest method.
5760//    req, resp := client.DescribeNotebookInstanceRequest(params)
5761//
5762//    err := req.Send()
5763//    if err == nil { // resp is now filled
5764//        fmt.Println(resp)
5765//    }
5766//
5767// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstance
5768func (c *SageMaker) DescribeNotebookInstanceRequest(input *DescribeNotebookInstanceInput) (req *request.Request, output *DescribeNotebookInstanceOutput) {
5769	op := &request.Operation{
5770		Name:       opDescribeNotebookInstance,
5771		HTTPMethod: "POST",
5772		HTTPPath:   "/",
5773	}
5774
5775	if input == nil {
5776		input = &DescribeNotebookInstanceInput{}
5777	}
5778
5779	output = &DescribeNotebookInstanceOutput{}
5780	req = c.newRequest(op, input, output)
5781	return
5782}
5783
5784// DescribeNotebookInstance API operation for Amazon SageMaker Service.
5785//
5786// Returns information about a notebook instance.
5787//
5788// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5789// with awserr.Error's Code and Message methods to get detailed information about
5790// the error.
5791//
5792// See the AWS API reference guide for Amazon SageMaker Service's
5793// API operation DescribeNotebookInstance for usage and error information.
5794// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstance
5795func (c *SageMaker) DescribeNotebookInstance(input *DescribeNotebookInstanceInput) (*DescribeNotebookInstanceOutput, error) {
5796	req, out := c.DescribeNotebookInstanceRequest(input)
5797	return out, req.Send()
5798}
5799
5800// DescribeNotebookInstanceWithContext is the same as DescribeNotebookInstance with the addition of
5801// the ability to pass a context and additional request options.
5802//
5803// See DescribeNotebookInstance for details on how to use this API operation.
5804//
5805// The context must be non-nil and will be used for request cancellation. If
5806// the context is nil a panic will occur. In the future the SDK may create
5807// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5808// for more information on using Contexts.
5809func (c *SageMaker) DescribeNotebookInstanceWithContext(ctx aws.Context, input *DescribeNotebookInstanceInput, opts ...request.Option) (*DescribeNotebookInstanceOutput, error) {
5810	req, out := c.DescribeNotebookInstanceRequest(input)
5811	req.SetContext(ctx)
5812	req.ApplyOptions(opts...)
5813	return out, req.Send()
5814}
5815
5816const opDescribeNotebookInstanceLifecycleConfig = "DescribeNotebookInstanceLifecycleConfig"
5817
5818// DescribeNotebookInstanceLifecycleConfigRequest generates a "aws/request.Request" representing the
5819// client's request for the DescribeNotebookInstanceLifecycleConfig operation. The "output" return
5820// value will be populated with the request's response once the request completes
5821// successfully.
5822//
5823// Use "Send" method on the returned Request to send the API call to the service.
5824// the "output" return value is not valid until after Send returns without error.
5825//
5826// See DescribeNotebookInstanceLifecycleConfig for more information on using the DescribeNotebookInstanceLifecycleConfig
5827// API call, and error handling.
5828//
5829// This method is useful when you want to inject custom logic or configuration
5830// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5831//
5832//
5833//    // Example sending a request using the DescribeNotebookInstanceLifecycleConfigRequest method.
5834//    req, resp := client.DescribeNotebookInstanceLifecycleConfigRequest(params)
5835//
5836//    err := req.Send()
5837//    if err == nil { // resp is now filled
5838//        fmt.Println(resp)
5839//    }
5840//
5841// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstanceLifecycleConfig
5842func (c *SageMaker) DescribeNotebookInstanceLifecycleConfigRequest(input *DescribeNotebookInstanceLifecycleConfigInput) (req *request.Request, output *DescribeNotebookInstanceLifecycleConfigOutput) {
5843	op := &request.Operation{
5844		Name:       opDescribeNotebookInstanceLifecycleConfig,
5845		HTTPMethod: "POST",
5846		HTTPPath:   "/",
5847	}
5848
5849	if input == nil {
5850		input = &DescribeNotebookInstanceLifecycleConfigInput{}
5851	}
5852
5853	output = &DescribeNotebookInstanceLifecycleConfigOutput{}
5854	req = c.newRequest(op, input, output)
5855	return
5856}
5857
5858// DescribeNotebookInstanceLifecycleConfig API operation for Amazon SageMaker Service.
5859//
5860// Returns a description of a notebook instance lifecycle configuration.
5861//
5862// For information about notebook instance lifestyle configurations, see Step
5863// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
5864//
5865// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5866// with awserr.Error's Code and Message methods to get detailed information about
5867// the error.
5868//
5869// See the AWS API reference guide for Amazon SageMaker Service's
5870// API operation DescribeNotebookInstanceLifecycleConfig for usage and error information.
5871// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstanceLifecycleConfig
5872func (c *SageMaker) DescribeNotebookInstanceLifecycleConfig(input *DescribeNotebookInstanceLifecycleConfigInput) (*DescribeNotebookInstanceLifecycleConfigOutput, error) {
5873	req, out := c.DescribeNotebookInstanceLifecycleConfigRequest(input)
5874	return out, req.Send()
5875}
5876
5877// DescribeNotebookInstanceLifecycleConfigWithContext is the same as DescribeNotebookInstanceLifecycleConfig with the addition of
5878// the ability to pass a context and additional request options.
5879//
5880// See DescribeNotebookInstanceLifecycleConfig for details on how to use this API operation.
5881//
5882// The context must be non-nil and will be used for request cancellation. If
5883// the context is nil a panic will occur. In the future the SDK may create
5884// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5885// for more information on using Contexts.
5886func (c *SageMaker) DescribeNotebookInstanceLifecycleConfigWithContext(ctx aws.Context, input *DescribeNotebookInstanceLifecycleConfigInput, opts ...request.Option) (*DescribeNotebookInstanceLifecycleConfigOutput, error) {
5887	req, out := c.DescribeNotebookInstanceLifecycleConfigRequest(input)
5888	req.SetContext(ctx)
5889	req.ApplyOptions(opts...)
5890	return out, req.Send()
5891}
5892
5893const opDescribeProcessingJob = "DescribeProcessingJob"
5894
5895// DescribeProcessingJobRequest generates a "aws/request.Request" representing the
5896// client's request for the DescribeProcessingJob operation. The "output" return
5897// value will be populated with the request's response once the request completes
5898// successfully.
5899//
5900// Use "Send" method on the returned Request to send the API call to the service.
5901// the "output" return value is not valid until after Send returns without error.
5902//
5903// See DescribeProcessingJob for more information on using the DescribeProcessingJob
5904// API call, and error handling.
5905//
5906// This method is useful when you want to inject custom logic or configuration
5907// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5908//
5909//
5910//    // Example sending a request using the DescribeProcessingJobRequest method.
5911//    req, resp := client.DescribeProcessingJobRequest(params)
5912//
5913//    err := req.Send()
5914//    if err == nil { // resp is now filled
5915//        fmt.Println(resp)
5916//    }
5917//
5918// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeProcessingJob
5919func (c *SageMaker) DescribeProcessingJobRequest(input *DescribeProcessingJobInput) (req *request.Request, output *DescribeProcessingJobOutput) {
5920	op := &request.Operation{
5921		Name:       opDescribeProcessingJob,
5922		HTTPMethod: "POST",
5923		HTTPPath:   "/",
5924	}
5925
5926	if input == nil {
5927		input = &DescribeProcessingJobInput{}
5928	}
5929
5930	output = &DescribeProcessingJobOutput{}
5931	req = c.newRequest(op, input, output)
5932	return
5933}
5934
5935// DescribeProcessingJob API operation for Amazon SageMaker Service.
5936//
5937// Returns a description of a processing job.
5938//
5939// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5940// with awserr.Error's Code and Message methods to get detailed information about
5941// the error.
5942//
5943// See the AWS API reference guide for Amazon SageMaker Service's
5944// API operation DescribeProcessingJob for usage and error information.
5945//
5946// Returned Error Types:
5947//   * ResourceNotFound
5948//   Resource being access is not found.
5949//
5950// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeProcessingJob
5951func (c *SageMaker) DescribeProcessingJob(input *DescribeProcessingJobInput) (*DescribeProcessingJobOutput, error) {
5952	req, out := c.DescribeProcessingJobRequest(input)
5953	return out, req.Send()
5954}
5955
5956// DescribeProcessingJobWithContext is the same as DescribeProcessingJob with the addition of
5957// the ability to pass a context and additional request options.
5958//
5959// See DescribeProcessingJob for details on how to use this API operation.
5960//
5961// The context must be non-nil and will be used for request cancellation. If
5962// the context is nil a panic will occur. In the future the SDK may create
5963// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5964// for more information on using Contexts.
5965func (c *SageMaker) DescribeProcessingJobWithContext(ctx aws.Context, input *DescribeProcessingJobInput, opts ...request.Option) (*DescribeProcessingJobOutput, error) {
5966	req, out := c.DescribeProcessingJobRequest(input)
5967	req.SetContext(ctx)
5968	req.ApplyOptions(opts...)
5969	return out, req.Send()
5970}
5971
5972const opDescribeSubscribedWorkteam = "DescribeSubscribedWorkteam"
5973
5974// DescribeSubscribedWorkteamRequest generates a "aws/request.Request" representing the
5975// client's request for the DescribeSubscribedWorkteam operation. The "output" return
5976// value will be populated with the request's response once the request completes
5977// successfully.
5978//
5979// Use "Send" method on the returned Request to send the API call to the service.
5980// the "output" return value is not valid until after Send returns without error.
5981//
5982// See DescribeSubscribedWorkteam for more information on using the DescribeSubscribedWorkteam
5983// API call, and error handling.
5984//
5985// This method is useful when you want to inject custom logic or configuration
5986// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5987//
5988//
5989//    // Example sending a request using the DescribeSubscribedWorkteamRequest method.
5990//    req, resp := client.DescribeSubscribedWorkteamRequest(params)
5991//
5992//    err := req.Send()
5993//    if err == nil { // resp is now filled
5994//        fmt.Println(resp)
5995//    }
5996//
5997// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeSubscribedWorkteam
5998func (c *SageMaker) DescribeSubscribedWorkteamRequest(input *DescribeSubscribedWorkteamInput) (req *request.Request, output *DescribeSubscribedWorkteamOutput) {
5999	op := &request.Operation{
6000		Name:       opDescribeSubscribedWorkteam,
6001		HTTPMethod: "POST",
6002		HTTPPath:   "/",
6003	}
6004
6005	if input == nil {
6006		input = &DescribeSubscribedWorkteamInput{}
6007	}
6008
6009	output = &DescribeSubscribedWorkteamOutput{}
6010	req = c.newRequest(op, input, output)
6011	return
6012}
6013
6014// DescribeSubscribedWorkteam API operation for Amazon SageMaker Service.
6015//
6016// Gets information about a work team provided by a vendor. It returns details
6017// about the subscription with a vendor in the AWS Marketplace.
6018//
6019// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6020// with awserr.Error's Code and Message methods to get detailed information about
6021// the error.
6022//
6023// See the AWS API reference guide for Amazon SageMaker Service's
6024// API operation DescribeSubscribedWorkteam for usage and error information.
6025// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeSubscribedWorkteam
6026func (c *SageMaker) DescribeSubscribedWorkteam(input *DescribeSubscribedWorkteamInput) (*DescribeSubscribedWorkteamOutput, error) {
6027	req, out := c.DescribeSubscribedWorkteamRequest(input)
6028	return out, req.Send()
6029}
6030
6031// DescribeSubscribedWorkteamWithContext is the same as DescribeSubscribedWorkteam with the addition of
6032// the ability to pass a context and additional request options.
6033//
6034// See DescribeSubscribedWorkteam for details on how to use this API operation.
6035//
6036// The context must be non-nil and will be used for request cancellation. If
6037// the context is nil a panic will occur. In the future the SDK may create
6038// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6039// for more information on using Contexts.
6040func (c *SageMaker) DescribeSubscribedWorkteamWithContext(ctx aws.Context, input *DescribeSubscribedWorkteamInput, opts ...request.Option) (*DescribeSubscribedWorkteamOutput, error) {
6041	req, out := c.DescribeSubscribedWorkteamRequest(input)
6042	req.SetContext(ctx)
6043	req.ApplyOptions(opts...)
6044	return out, req.Send()
6045}
6046
6047const opDescribeTrainingJob = "DescribeTrainingJob"
6048
6049// DescribeTrainingJobRequest generates a "aws/request.Request" representing the
6050// client's request for the DescribeTrainingJob operation. The "output" return
6051// value will be populated with the request's response once the request completes
6052// successfully.
6053//
6054// Use "Send" method on the returned Request to send the API call to the service.
6055// the "output" return value is not valid until after Send returns without error.
6056//
6057// See DescribeTrainingJob for more information on using the DescribeTrainingJob
6058// API call, and error handling.
6059//
6060// This method is useful when you want to inject custom logic or configuration
6061// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6062//
6063//
6064//    // Example sending a request using the DescribeTrainingJobRequest method.
6065//    req, resp := client.DescribeTrainingJobRequest(params)
6066//
6067//    err := req.Send()
6068//    if err == nil { // resp is now filled
6069//        fmt.Println(resp)
6070//    }
6071//
6072// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingJob
6073func (c *SageMaker) DescribeTrainingJobRequest(input *DescribeTrainingJobInput) (req *request.Request, output *DescribeTrainingJobOutput) {
6074	op := &request.Operation{
6075		Name:       opDescribeTrainingJob,
6076		HTTPMethod: "POST",
6077		HTTPPath:   "/",
6078	}
6079
6080	if input == nil {
6081		input = &DescribeTrainingJobInput{}
6082	}
6083
6084	output = &DescribeTrainingJobOutput{}
6085	req = c.newRequest(op, input, output)
6086	return
6087}
6088
6089// DescribeTrainingJob API operation for Amazon SageMaker Service.
6090//
6091// Returns information about a training job.
6092//
6093// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6094// with awserr.Error's Code and Message methods to get detailed information about
6095// the error.
6096//
6097// See the AWS API reference guide for Amazon SageMaker Service's
6098// API operation DescribeTrainingJob for usage and error information.
6099//
6100// Returned Error Types:
6101//   * ResourceNotFound
6102//   Resource being access is not found.
6103//
6104// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingJob
6105func (c *SageMaker) DescribeTrainingJob(input *DescribeTrainingJobInput) (*DescribeTrainingJobOutput, error) {
6106	req, out := c.DescribeTrainingJobRequest(input)
6107	return out, req.Send()
6108}
6109
6110// DescribeTrainingJobWithContext is the same as DescribeTrainingJob with the addition of
6111// the ability to pass a context and additional request options.
6112//
6113// See DescribeTrainingJob for details on how to use this API operation.
6114//
6115// The context must be non-nil and will be used for request cancellation. If
6116// the context is nil a panic will occur. In the future the SDK may create
6117// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6118// for more information on using Contexts.
6119func (c *SageMaker) DescribeTrainingJobWithContext(ctx aws.Context, input *DescribeTrainingJobInput, opts ...request.Option) (*DescribeTrainingJobOutput, error) {
6120	req, out := c.DescribeTrainingJobRequest(input)
6121	req.SetContext(ctx)
6122	req.ApplyOptions(opts...)
6123	return out, req.Send()
6124}
6125
6126const opDescribeTransformJob = "DescribeTransformJob"
6127
6128// DescribeTransformJobRequest generates a "aws/request.Request" representing the
6129// client's request for the DescribeTransformJob operation. The "output" return
6130// value will be populated with the request's response once the request completes
6131// successfully.
6132//
6133// Use "Send" method on the returned Request to send the API call to the service.
6134// the "output" return value is not valid until after Send returns without error.
6135//
6136// See DescribeTransformJob for more information on using the DescribeTransformJob
6137// API call, and error handling.
6138//
6139// This method is useful when you want to inject custom logic or configuration
6140// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6141//
6142//
6143//    // Example sending a request using the DescribeTransformJobRequest method.
6144//    req, resp := client.DescribeTransformJobRequest(params)
6145//
6146//    err := req.Send()
6147//    if err == nil { // resp is now filled
6148//        fmt.Println(resp)
6149//    }
6150//
6151// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTransformJob
6152func (c *SageMaker) DescribeTransformJobRequest(input *DescribeTransformJobInput) (req *request.Request, output *DescribeTransformJobOutput) {
6153	op := &request.Operation{
6154		Name:       opDescribeTransformJob,
6155		HTTPMethod: "POST",
6156		HTTPPath:   "/",
6157	}
6158
6159	if input == nil {
6160		input = &DescribeTransformJobInput{}
6161	}
6162
6163	output = &DescribeTransformJobOutput{}
6164	req = c.newRequest(op, input, output)
6165	return
6166}
6167
6168// DescribeTransformJob API operation for Amazon SageMaker Service.
6169//
6170// Returns information about a transform job.
6171//
6172// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6173// with awserr.Error's Code and Message methods to get detailed information about
6174// the error.
6175//
6176// See the AWS API reference guide for Amazon SageMaker Service's
6177// API operation DescribeTransformJob for usage and error information.
6178//
6179// Returned Error Types:
6180//   * ResourceNotFound
6181//   Resource being access is not found.
6182//
6183// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTransformJob
6184func (c *SageMaker) DescribeTransformJob(input *DescribeTransformJobInput) (*DescribeTransformJobOutput, error) {
6185	req, out := c.DescribeTransformJobRequest(input)
6186	return out, req.Send()
6187}
6188
6189// DescribeTransformJobWithContext is the same as DescribeTransformJob with the addition of
6190// the ability to pass a context and additional request options.
6191//
6192// See DescribeTransformJob for details on how to use this API operation.
6193//
6194// The context must be non-nil and will be used for request cancellation. If
6195// the context is nil a panic will occur. In the future the SDK may create
6196// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6197// for more information on using Contexts.
6198func (c *SageMaker) DescribeTransformJobWithContext(ctx aws.Context, input *DescribeTransformJobInput, opts ...request.Option) (*DescribeTransformJobOutput, error) {
6199	req, out := c.DescribeTransformJobRequest(input)
6200	req.SetContext(ctx)
6201	req.ApplyOptions(opts...)
6202	return out, req.Send()
6203}
6204
6205const opDescribeTrial = "DescribeTrial"
6206
6207// DescribeTrialRequest generates a "aws/request.Request" representing the
6208// client's request for the DescribeTrial operation. The "output" return
6209// value will be populated with the request's response once the request completes
6210// successfully.
6211//
6212// Use "Send" method on the returned Request to send the API call to the service.
6213// the "output" return value is not valid until after Send returns without error.
6214//
6215// See DescribeTrial for more information on using the DescribeTrial
6216// API call, and error handling.
6217//
6218// This method is useful when you want to inject custom logic or configuration
6219// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6220//
6221//
6222//    // Example sending a request using the DescribeTrialRequest method.
6223//    req, resp := client.DescribeTrialRequest(params)
6224//
6225//    err := req.Send()
6226//    if err == nil { // resp is now filled
6227//        fmt.Println(resp)
6228//    }
6229//
6230// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrial
6231func (c *SageMaker) DescribeTrialRequest(input *DescribeTrialInput) (req *request.Request, output *DescribeTrialOutput) {
6232	op := &request.Operation{
6233		Name:       opDescribeTrial,
6234		HTTPMethod: "POST",
6235		HTTPPath:   "/",
6236	}
6237
6238	if input == nil {
6239		input = &DescribeTrialInput{}
6240	}
6241
6242	output = &DescribeTrialOutput{}
6243	req = c.newRequest(op, input, output)
6244	return
6245}
6246
6247// DescribeTrial API operation for Amazon SageMaker Service.
6248//
6249// Provides a list of a trial's properties.
6250//
6251// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6252// with awserr.Error's Code and Message methods to get detailed information about
6253// the error.
6254//
6255// See the AWS API reference guide for Amazon SageMaker Service's
6256// API operation DescribeTrial for usage and error information.
6257//
6258// Returned Error Types:
6259//   * ResourceNotFound
6260//   Resource being access is not found.
6261//
6262// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrial
6263func (c *SageMaker) DescribeTrial(input *DescribeTrialInput) (*DescribeTrialOutput, error) {
6264	req, out := c.DescribeTrialRequest(input)
6265	return out, req.Send()
6266}
6267
6268// DescribeTrialWithContext is the same as DescribeTrial with the addition of
6269// the ability to pass a context and additional request options.
6270//
6271// See DescribeTrial for details on how to use this API operation.
6272//
6273// The context must be non-nil and will be used for request cancellation. If
6274// the context is nil a panic will occur. In the future the SDK may create
6275// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6276// for more information on using Contexts.
6277func (c *SageMaker) DescribeTrialWithContext(ctx aws.Context, input *DescribeTrialInput, opts ...request.Option) (*DescribeTrialOutput, error) {
6278	req, out := c.DescribeTrialRequest(input)
6279	req.SetContext(ctx)
6280	req.ApplyOptions(opts...)
6281	return out, req.Send()
6282}
6283
6284const opDescribeTrialComponent = "DescribeTrialComponent"
6285
6286// DescribeTrialComponentRequest generates a "aws/request.Request" representing the
6287// client's request for the DescribeTrialComponent operation. The "output" return
6288// value will be populated with the request's response once the request completes
6289// successfully.
6290//
6291// Use "Send" method on the returned Request to send the API call to the service.
6292// the "output" return value is not valid until after Send returns without error.
6293//
6294// See DescribeTrialComponent for more information on using the DescribeTrialComponent
6295// API call, and error handling.
6296//
6297// This method is useful when you want to inject custom logic or configuration
6298// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6299//
6300//
6301//    // Example sending a request using the DescribeTrialComponentRequest method.
6302//    req, resp := client.DescribeTrialComponentRequest(params)
6303//
6304//    err := req.Send()
6305//    if err == nil { // resp is now filled
6306//        fmt.Println(resp)
6307//    }
6308//
6309// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrialComponent
6310func (c *SageMaker) DescribeTrialComponentRequest(input *DescribeTrialComponentInput) (req *request.Request, output *DescribeTrialComponentOutput) {
6311	op := &request.Operation{
6312		Name:       opDescribeTrialComponent,
6313		HTTPMethod: "POST",
6314		HTTPPath:   "/",
6315	}
6316
6317	if input == nil {
6318		input = &DescribeTrialComponentInput{}
6319	}
6320
6321	output = &DescribeTrialComponentOutput{}
6322	req = c.newRequest(op, input, output)
6323	return
6324}
6325
6326// DescribeTrialComponent API operation for Amazon SageMaker Service.
6327//
6328// Provides a list of a trials component's properties.
6329//
6330// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6331// with awserr.Error's Code and Message methods to get detailed information about
6332// the error.
6333//
6334// See the AWS API reference guide for Amazon SageMaker Service's
6335// API operation DescribeTrialComponent for usage and error information.
6336//
6337// Returned Error Types:
6338//   * ResourceNotFound
6339//   Resource being access is not found.
6340//
6341// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrialComponent
6342func (c *SageMaker) DescribeTrialComponent(input *DescribeTrialComponentInput) (*DescribeTrialComponentOutput, error) {
6343	req, out := c.DescribeTrialComponentRequest(input)
6344	return out, req.Send()
6345}
6346
6347// DescribeTrialComponentWithContext is the same as DescribeTrialComponent with the addition of
6348// the ability to pass a context and additional request options.
6349//
6350// See DescribeTrialComponent for details on how to use this API operation.
6351//
6352// The context must be non-nil and will be used for request cancellation. If
6353// the context is nil a panic will occur. In the future the SDK may create
6354// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6355// for more information on using Contexts.
6356func (c *SageMaker) DescribeTrialComponentWithContext(ctx aws.Context, input *DescribeTrialComponentInput, opts ...request.Option) (*DescribeTrialComponentOutput, error) {
6357	req, out := c.DescribeTrialComponentRequest(input)
6358	req.SetContext(ctx)
6359	req.ApplyOptions(opts...)
6360	return out, req.Send()
6361}
6362
6363const opDescribeUserProfile = "DescribeUserProfile"
6364
6365// DescribeUserProfileRequest generates a "aws/request.Request" representing the
6366// client's request for the DescribeUserProfile operation. The "output" return
6367// value will be populated with the request's response once the request completes
6368// successfully.
6369//
6370// Use "Send" method on the returned Request to send the API call to the service.
6371// the "output" return value is not valid until after Send returns without error.
6372//
6373// See DescribeUserProfile for more information on using the DescribeUserProfile
6374// API call, and error handling.
6375//
6376// This method is useful when you want to inject custom logic or configuration
6377// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6378//
6379//
6380//    // Example sending a request using the DescribeUserProfileRequest method.
6381//    req, resp := client.DescribeUserProfileRequest(params)
6382//
6383//    err := req.Send()
6384//    if err == nil { // resp is now filled
6385//        fmt.Println(resp)
6386//    }
6387//
6388// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeUserProfile
6389func (c *SageMaker) DescribeUserProfileRequest(input *DescribeUserProfileInput) (req *request.Request, output *DescribeUserProfileOutput) {
6390	op := &request.Operation{
6391		Name:       opDescribeUserProfile,
6392		HTTPMethod: "POST",
6393		HTTPPath:   "/",
6394	}
6395
6396	if input == nil {
6397		input = &DescribeUserProfileInput{}
6398	}
6399
6400	output = &DescribeUserProfileOutput{}
6401	req = c.newRequest(op, input, output)
6402	return
6403}
6404
6405// DescribeUserProfile API operation for Amazon SageMaker Service.
6406//
6407// Describes a user profile. For more information, see CreateUserProfile.
6408//
6409// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6410// with awserr.Error's Code and Message methods to get detailed information about
6411// the error.
6412//
6413// See the AWS API reference guide for Amazon SageMaker Service's
6414// API operation DescribeUserProfile for usage and error information.
6415//
6416// Returned Error Types:
6417//   * ResourceNotFound
6418//   Resource being access is not found.
6419//
6420// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeUserProfile
6421func (c *SageMaker) DescribeUserProfile(input *DescribeUserProfileInput) (*DescribeUserProfileOutput, error) {
6422	req, out := c.DescribeUserProfileRequest(input)
6423	return out, req.Send()
6424}
6425
6426// DescribeUserProfileWithContext is the same as DescribeUserProfile with the addition of
6427// the ability to pass a context and additional request options.
6428//
6429// See DescribeUserProfile for details on how to use this API operation.
6430//
6431// The context must be non-nil and will be used for request cancellation. If
6432// the context is nil a panic will occur. In the future the SDK may create
6433// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6434// for more information on using Contexts.
6435func (c *SageMaker) DescribeUserProfileWithContext(ctx aws.Context, input *DescribeUserProfileInput, opts ...request.Option) (*DescribeUserProfileOutput, error) {
6436	req, out := c.DescribeUserProfileRequest(input)
6437	req.SetContext(ctx)
6438	req.ApplyOptions(opts...)
6439	return out, req.Send()
6440}
6441
6442const opDescribeWorkforce = "DescribeWorkforce"
6443
6444// DescribeWorkforceRequest generates a "aws/request.Request" representing the
6445// client's request for the DescribeWorkforce operation. The "output" return
6446// value will be populated with the request's response once the request completes
6447// successfully.
6448//
6449// Use "Send" method on the returned Request to send the API call to the service.
6450// the "output" return value is not valid until after Send returns without error.
6451//
6452// See DescribeWorkforce for more information on using the DescribeWorkforce
6453// API call, and error handling.
6454//
6455// This method is useful when you want to inject custom logic or configuration
6456// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6457//
6458//
6459//    // Example sending a request using the DescribeWorkforceRequest method.
6460//    req, resp := client.DescribeWorkforceRequest(params)
6461//
6462//    err := req.Send()
6463//    if err == nil { // resp is now filled
6464//        fmt.Println(resp)
6465//    }
6466//
6467// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkforce
6468func (c *SageMaker) DescribeWorkforceRequest(input *DescribeWorkforceInput) (req *request.Request, output *DescribeWorkforceOutput) {
6469	op := &request.Operation{
6470		Name:       opDescribeWorkforce,
6471		HTTPMethod: "POST",
6472		HTTPPath:   "/",
6473	}
6474
6475	if input == nil {
6476		input = &DescribeWorkforceInput{}
6477	}
6478
6479	output = &DescribeWorkforceOutput{}
6480	req = c.newRequest(op, input, output)
6481	return
6482}
6483
6484// DescribeWorkforce API operation for Amazon SageMaker Service.
6485//
6486// Lists private workforce information, including workforce name, Amazon Resource
6487// Name (ARN), and, if applicable, allowed IP address ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html)).
6488// Allowable IP address ranges are the IP addresses that workers can use to
6489// access tasks.
6490//
6491// This operation applies only to private workforces.
6492//
6493// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6494// with awserr.Error's Code and Message methods to get detailed information about
6495// the error.
6496//
6497// See the AWS API reference guide for Amazon SageMaker Service's
6498// API operation DescribeWorkforce for usage and error information.
6499// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkforce
6500func (c *SageMaker) DescribeWorkforce(input *DescribeWorkforceInput) (*DescribeWorkforceOutput, error) {
6501	req, out := c.DescribeWorkforceRequest(input)
6502	return out, req.Send()
6503}
6504
6505// DescribeWorkforceWithContext is the same as DescribeWorkforce with the addition of
6506// the ability to pass a context and additional request options.
6507//
6508// See DescribeWorkforce for details on how to use this API operation.
6509//
6510// The context must be non-nil and will be used for request cancellation. If
6511// the context is nil a panic will occur. In the future the SDK may create
6512// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6513// for more information on using Contexts.
6514func (c *SageMaker) DescribeWorkforceWithContext(ctx aws.Context, input *DescribeWorkforceInput, opts ...request.Option) (*DescribeWorkforceOutput, error) {
6515	req, out := c.DescribeWorkforceRequest(input)
6516	req.SetContext(ctx)
6517	req.ApplyOptions(opts...)
6518	return out, req.Send()
6519}
6520
6521const opDescribeWorkteam = "DescribeWorkteam"
6522
6523// DescribeWorkteamRequest generates a "aws/request.Request" representing the
6524// client's request for the DescribeWorkteam operation. The "output" return
6525// value will be populated with the request's response once the request completes
6526// successfully.
6527//
6528// Use "Send" method on the returned Request to send the API call to the service.
6529// the "output" return value is not valid until after Send returns without error.
6530//
6531// See DescribeWorkteam for more information on using the DescribeWorkteam
6532// API call, and error handling.
6533//
6534// This method is useful when you want to inject custom logic or configuration
6535// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6536//
6537//
6538//    // Example sending a request using the DescribeWorkteamRequest method.
6539//    req, resp := client.DescribeWorkteamRequest(params)
6540//
6541//    err := req.Send()
6542//    if err == nil { // resp is now filled
6543//        fmt.Println(resp)
6544//    }
6545//
6546// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkteam
6547func (c *SageMaker) DescribeWorkteamRequest(input *DescribeWorkteamInput) (req *request.Request, output *DescribeWorkteamOutput) {
6548	op := &request.Operation{
6549		Name:       opDescribeWorkteam,
6550		HTTPMethod: "POST",
6551		HTTPPath:   "/",
6552	}
6553
6554	if input == nil {
6555		input = &DescribeWorkteamInput{}
6556	}
6557
6558	output = &DescribeWorkteamOutput{}
6559	req = c.newRequest(op, input, output)
6560	return
6561}
6562
6563// DescribeWorkteam API operation for Amazon SageMaker Service.
6564//
6565// Gets information about a specific work team. You can see information such
6566// as the create date, the last updated date, membership information, and the
6567// work team's Amazon Resource Name (ARN).
6568//
6569// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6570// with awserr.Error's Code and Message methods to get detailed information about
6571// the error.
6572//
6573// See the AWS API reference guide for Amazon SageMaker Service's
6574// API operation DescribeWorkteam for usage and error information.
6575// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkteam
6576func (c *SageMaker) DescribeWorkteam(input *DescribeWorkteamInput) (*DescribeWorkteamOutput, error) {
6577	req, out := c.DescribeWorkteamRequest(input)
6578	return out, req.Send()
6579}
6580
6581// DescribeWorkteamWithContext is the same as DescribeWorkteam with the addition of
6582// the ability to pass a context and additional request options.
6583//
6584// See DescribeWorkteam for details on how to use this API operation.
6585//
6586// The context must be non-nil and will be used for request cancellation. If
6587// the context is nil a panic will occur. In the future the SDK may create
6588// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6589// for more information on using Contexts.
6590func (c *SageMaker) DescribeWorkteamWithContext(ctx aws.Context, input *DescribeWorkteamInput, opts ...request.Option) (*DescribeWorkteamOutput, error) {
6591	req, out := c.DescribeWorkteamRequest(input)
6592	req.SetContext(ctx)
6593	req.ApplyOptions(opts...)
6594	return out, req.Send()
6595}
6596
6597const opDisassociateTrialComponent = "DisassociateTrialComponent"
6598
6599// DisassociateTrialComponentRequest generates a "aws/request.Request" representing the
6600// client's request for the DisassociateTrialComponent operation. The "output" return
6601// value will be populated with the request's response once the request completes
6602// successfully.
6603//
6604// Use "Send" method on the returned Request to send the API call to the service.
6605// the "output" return value is not valid until after Send returns without error.
6606//
6607// See DisassociateTrialComponent for more information on using the DisassociateTrialComponent
6608// API call, and error handling.
6609//
6610// This method is useful when you want to inject custom logic or configuration
6611// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6612//
6613//
6614//    // Example sending a request using the DisassociateTrialComponentRequest method.
6615//    req, resp := client.DisassociateTrialComponentRequest(params)
6616//
6617//    err := req.Send()
6618//    if err == nil { // resp is now filled
6619//        fmt.Println(resp)
6620//    }
6621//
6622// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DisassociateTrialComponent
6623func (c *SageMaker) DisassociateTrialComponentRequest(input *DisassociateTrialComponentInput) (req *request.Request, output *DisassociateTrialComponentOutput) {
6624	op := &request.Operation{
6625		Name:       opDisassociateTrialComponent,
6626		HTTPMethod: "POST",
6627		HTTPPath:   "/",
6628	}
6629
6630	if input == nil {
6631		input = &DisassociateTrialComponentInput{}
6632	}
6633
6634	output = &DisassociateTrialComponentOutput{}
6635	req = c.newRequest(op, input, output)
6636	return
6637}
6638
6639// DisassociateTrialComponent API operation for Amazon SageMaker Service.
6640//
6641// Disassociates a trial component from a trial. This doesn't effect other trials
6642// the component is associated with. Before you can delete a component, you
6643// must disassociate the component from all trials it is associated with. To
6644// associate a trial component with a trial, call the AssociateTrialComponent
6645// API.
6646//
6647// To get a list of the trials a component is associated with, use the Search
6648// API. Specify ExperimentTrialComponent for the Resource parameter. The list
6649// appears in the response under Results.TrialComponent.Parents.
6650//
6651// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6652// with awserr.Error's Code and Message methods to get detailed information about
6653// the error.
6654//
6655// See the AWS API reference guide for Amazon SageMaker Service's
6656// API operation DisassociateTrialComponent for usage and error information.
6657//
6658// Returned Error Types:
6659//   * ResourceNotFound
6660//   Resource being access is not found.
6661//
6662// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DisassociateTrialComponent
6663func (c *SageMaker) DisassociateTrialComponent(input *DisassociateTrialComponentInput) (*DisassociateTrialComponentOutput, error) {
6664	req, out := c.DisassociateTrialComponentRequest(input)
6665	return out, req.Send()
6666}
6667
6668// DisassociateTrialComponentWithContext is the same as DisassociateTrialComponent with the addition of
6669// the ability to pass a context and additional request options.
6670//
6671// See DisassociateTrialComponent for details on how to use this API operation.
6672//
6673// The context must be non-nil and will be used for request cancellation. If
6674// the context is nil a panic will occur. In the future the SDK may create
6675// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6676// for more information on using Contexts.
6677func (c *SageMaker) DisassociateTrialComponentWithContext(ctx aws.Context, input *DisassociateTrialComponentInput, opts ...request.Option) (*DisassociateTrialComponentOutput, error) {
6678	req, out := c.DisassociateTrialComponentRequest(input)
6679	req.SetContext(ctx)
6680	req.ApplyOptions(opts...)
6681	return out, req.Send()
6682}
6683
6684const opGetSearchSuggestions = "GetSearchSuggestions"
6685
6686// GetSearchSuggestionsRequest generates a "aws/request.Request" representing the
6687// client's request for the GetSearchSuggestions operation. The "output" return
6688// value will be populated with the request's response once the request completes
6689// successfully.
6690//
6691// Use "Send" method on the returned Request to send the API call to the service.
6692// the "output" return value is not valid until after Send returns without error.
6693//
6694// See GetSearchSuggestions for more information on using the GetSearchSuggestions
6695// API call, and error handling.
6696//
6697// This method is useful when you want to inject custom logic or configuration
6698// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6699//
6700//
6701//    // Example sending a request using the GetSearchSuggestionsRequest method.
6702//    req, resp := client.GetSearchSuggestionsRequest(params)
6703//
6704//    err := req.Send()
6705//    if err == nil { // resp is now filled
6706//        fmt.Println(resp)
6707//    }
6708//
6709// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetSearchSuggestions
6710func (c *SageMaker) GetSearchSuggestionsRequest(input *GetSearchSuggestionsInput) (req *request.Request, output *GetSearchSuggestionsOutput) {
6711	op := &request.Operation{
6712		Name:       opGetSearchSuggestions,
6713		HTTPMethod: "POST",
6714		HTTPPath:   "/",
6715	}
6716
6717	if input == nil {
6718		input = &GetSearchSuggestionsInput{}
6719	}
6720
6721	output = &GetSearchSuggestionsOutput{}
6722	req = c.newRequest(op, input, output)
6723	return
6724}
6725
6726// GetSearchSuggestions API operation for Amazon SageMaker Service.
6727//
6728// An auto-complete API for the search functionality in the Amazon SageMaker
6729// console. It returns suggestions of possible matches for the property name
6730// to use in Search queries. Provides suggestions for HyperParameters, Tags,
6731// and Metrics.
6732//
6733// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6734// with awserr.Error's Code and Message methods to get detailed information about
6735// the error.
6736//
6737// See the AWS API reference guide for Amazon SageMaker Service's
6738// API operation GetSearchSuggestions for usage and error information.
6739// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetSearchSuggestions
6740func (c *SageMaker) GetSearchSuggestions(input *GetSearchSuggestionsInput) (*GetSearchSuggestionsOutput, error) {
6741	req, out := c.GetSearchSuggestionsRequest(input)
6742	return out, req.Send()
6743}
6744
6745// GetSearchSuggestionsWithContext is the same as GetSearchSuggestions with the addition of
6746// the ability to pass a context and additional request options.
6747//
6748// See GetSearchSuggestions for details on how to use this API operation.
6749//
6750// The context must be non-nil and will be used for request cancellation. If
6751// the context is nil a panic will occur. In the future the SDK may create
6752// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6753// for more information on using Contexts.
6754func (c *SageMaker) GetSearchSuggestionsWithContext(ctx aws.Context, input *GetSearchSuggestionsInput, opts ...request.Option) (*GetSearchSuggestionsOutput, error) {
6755	req, out := c.GetSearchSuggestionsRequest(input)
6756	req.SetContext(ctx)
6757	req.ApplyOptions(opts...)
6758	return out, req.Send()
6759}
6760
6761const opListAlgorithms = "ListAlgorithms"
6762
6763// ListAlgorithmsRequest generates a "aws/request.Request" representing the
6764// client's request for the ListAlgorithms operation. The "output" return
6765// value will be populated with the request's response once the request completes
6766// successfully.
6767//
6768// Use "Send" method on the returned Request to send the API call to the service.
6769// the "output" return value is not valid until after Send returns without error.
6770//
6771// See ListAlgorithms for more information on using the ListAlgorithms
6772// API call, and error handling.
6773//
6774// This method is useful when you want to inject custom logic or configuration
6775// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6776//
6777//
6778//    // Example sending a request using the ListAlgorithmsRequest method.
6779//    req, resp := client.ListAlgorithmsRequest(params)
6780//
6781//    err := req.Send()
6782//    if err == nil { // resp is now filled
6783//        fmt.Println(resp)
6784//    }
6785//
6786// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAlgorithms
6787func (c *SageMaker) ListAlgorithmsRequest(input *ListAlgorithmsInput) (req *request.Request, output *ListAlgorithmsOutput) {
6788	op := &request.Operation{
6789		Name:       opListAlgorithms,
6790		HTTPMethod: "POST",
6791		HTTPPath:   "/",
6792		Paginator: &request.Paginator{
6793			InputTokens:     []string{"NextToken"},
6794			OutputTokens:    []string{"NextToken"},
6795			LimitToken:      "MaxResults",
6796			TruncationToken: "",
6797		},
6798	}
6799
6800	if input == nil {
6801		input = &ListAlgorithmsInput{}
6802	}
6803
6804	output = &ListAlgorithmsOutput{}
6805	req = c.newRequest(op, input, output)
6806	return
6807}
6808
6809// ListAlgorithms API operation for Amazon SageMaker Service.
6810//
6811// Lists the machine learning algorithms that have been created.
6812//
6813// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6814// with awserr.Error's Code and Message methods to get detailed information about
6815// the error.
6816//
6817// See the AWS API reference guide for Amazon SageMaker Service's
6818// API operation ListAlgorithms for usage and error information.
6819// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAlgorithms
6820func (c *SageMaker) ListAlgorithms(input *ListAlgorithmsInput) (*ListAlgorithmsOutput, error) {
6821	req, out := c.ListAlgorithmsRequest(input)
6822	return out, req.Send()
6823}
6824
6825// ListAlgorithmsWithContext is the same as ListAlgorithms with the addition of
6826// the ability to pass a context and additional request options.
6827//
6828// See ListAlgorithms 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 *SageMaker) ListAlgorithmsWithContext(ctx aws.Context, input *ListAlgorithmsInput, opts ...request.Option) (*ListAlgorithmsOutput, error) {
6835	req, out := c.ListAlgorithmsRequest(input)
6836	req.SetContext(ctx)
6837	req.ApplyOptions(opts...)
6838	return out, req.Send()
6839}
6840
6841// ListAlgorithmsPages iterates over the pages of a ListAlgorithms operation,
6842// calling the "fn" function with the response data for each page. To stop
6843// iterating, return false from the fn function.
6844//
6845// See ListAlgorithms method for more information on how to use this operation.
6846//
6847// Note: This operation can generate multiple requests to a service.
6848//
6849//    // Example iterating over at most 3 pages of a ListAlgorithms operation.
6850//    pageNum := 0
6851//    err := client.ListAlgorithmsPages(params,
6852//        func(page *sagemaker.ListAlgorithmsOutput, lastPage bool) bool {
6853//            pageNum++
6854//            fmt.Println(page)
6855//            return pageNum <= 3
6856//        })
6857//
6858func (c *SageMaker) ListAlgorithmsPages(input *ListAlgorithmsInput, fn func(*ListAlgorithmsOutput, bool) bool) error {
6859	return c.ListAlgorithmsPagesWithContext(aws.BackgroundContext(), input, fn)
6860}
6861
6862// ListAlgorithmsPagesWithContext same as ListAlgorithmsPages except
6863// it takes a Context and allows setting request options on the pages.
6864//
6865// The context must be non-nil and will be used for request cancellation. If
6866// the context is nil a panic will occur. In the future the SDK may create
6867// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6868// for more information on using Contexts.
6869func (c *SageMaker) ListAlgorithmsPagesWithContext(ctx aws.Context, input *ListAlgorithmsInput, fn func(*ListAlgorithmsOutput, bool) bool, opts ...request.Option) error {
6870	p := request.Pagination{
6871		NewRequest: func() (*request.Request, error) {
6872			var inCpy *ListAlgorithmsInput
6873			if input != nil {
6874				tmp := *input
6875				inCpy = &tmp
6876			}
6877			req, _ := c.ListAlgorithmsRequest(inCpy)
6878			req.SetContext(ctx)
6879			req.ApplyOptions(opts...)
6880			return req, nil
6881		},
6882	}
6883
6884	for p.Next() {
6885		if !fn(p.Page().(*ListAlgorithmsOutput), !p.HasNextPage()) {
6886			break
6887		}
6888	}
6889
6890	return p.Err()
6891}
6892
6893const opListApps = "ListApps"
6894
6895// ListAppsRequest generates a "aws/request.Request" representing the
6896// client's request for the ListApps operation. The "output" return
6897// value will be populated with the request's response once the request completes
6898// successfully.
6899//
6900// Use "Send" method on the returned Request to send the API call to the service.
6901// the "output" return value is not valid until after Send returns without error.
6902//
6903// See ListApps for more information on using the ListApps
6904// API call, and error handling.
6905//
6906// This method is useful when you want to inject custom logic or configuration
6907// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6908//
6909//
6910//    // Example sending a request using the ListAppsRequest method.
6911//    req, resp := client.ListAppsRequest(params)
6912//
6913//    err := req.Send()
6914//    if err == nil { // resp is now filled
6915//        fmt.Println(resp)
6916//    }
6917//
6918// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListApps
6919func (c *SageMaker) ListAppsRequest(input *ListAppsInput) (req *request.Request, output *ListAppsOutput) {
6920	op := &request.Operation{
6921		Name:       opListApps,
6922		HTTPMethod: "POST",
6923		HTTPPath:   "/",
6924		Paginator: &request.Paginator{
6925			InputTokens:     []string{"NextToken"},
6926			OutputTokens:    []string{"NextToken"},
6927			LimitToken:      "MaxResults",
6928			TruncationToken: "",
6929		},
6930	}
6931
6932	if input == nil {
6933		input = &ListAppsInput{}
6934	}
6935
6936	output = &ListAppsOutput{}
6937	req = c.newRequest(op, input, output)
6938	return
6939}
6940
6941// ListApps API operation for Amazon SageMaker Service.
6942//
6943// Lists apps.
6944//
6945// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6946// with awserr.Error's Code and Message methods to get detailed information about
6947// the error.
6948//
6949// See the AWS API reference guide for Amazon SageMaker Service's
6950// API operation ListApps for usage and error information.
6951// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListApps
6952func (c *SageMaker) ListApps(input *ListAppsInput) (*ListAppsOutput, error) {
6953	req, out := c.ListAppsRequest(input)
6954	return out, req.Send()
6955}
6956
6957// ListAppsWithContext is the same as ListApps with the addition of
6958// the ability to pass a context and additional request options.
6959//
6960// See ListApps for details on how to use this API operation.
6961//
6962// The context must be non-nil and will be used for request cancellation. If
6963// the context is nil a panic will occur. In the future the SDK may create
6964// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6965// for more information on using Contexts.
6966func (c *SageMaker) ListAppsWithContext(ctx aws.Context, input *ListAppsInput, opts ...request.Option) (*ListAppsOutput, error) {
6967	req, out := c.ListAppsRequest(input)
6968	req.SetContext(ctx)
6969	req.ApplyOptions(opts...)
6970	return out, req.Send()
6971}
6972
6973// ListAppsPages iterates over the pages of a ListApps operation,
6974// calling the "fn" function with the response data for each page. To stop
6975// iterating, return false from the fn function.
6976//
6977// See ListApps method for more information on how to use this operation.
6978//
6979// Note: This operation can generate multiple requests to a service.
6980//
6981//    // Example iterating over at most 3 pages of a ListApps operation.
6982//    pageNum := 0
6983//    err := client.ListAppsPages(params,
6984//        func(page *sagemaker.ListAppsOutput, lastPage bool) bool {
6985//            pageNum++
6986//            fmt.Println(page)
6987//            return pageNum <= 3
6988//        })
6989//
6990func (c *SageMaker) ListAppsPages(input *ListAppsInput, fn func(*ListAppsOutput, bool) bool) error {
6991	return c.ListAppsPagesWithContext(aws.BackgroundContext(), input, fn)
6992}
6993
6994// ListAppsPagesWithContext same as ListAppsPages except
6995// it takes a Context and allows setting request options on the pages.
6996//
6997// The context must be non-nil and will be used for request cancellation. If
6998// the context is nil a panic will occur. In the future the SDK may create
6999// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7000// for more information on using Contexts.
7001func (c *SageMaker) ListAppsPagesWithContext(ctx aws.Context, input *ListAppsInput, fn func(*ListAppsOutput, bool) bool, opts ...request.Option) error {
7002	p := request.Pagination{
7003		NewRequest: func() (*request.Request, error) {
7004			var inCpy *ListAppsInput
7005			if input != nil {
7006				tmp := *input
7007				inCpy = &tmp
7008			}
7009			req, _ := c.ListAppsRequest(inCpy)
7010			req.SetContext(ctx)
7011			req.ApplyOptions(opts...)
7012			return req, nil
7013		},
7014	}
7015
7016	for p.Next() {
7017		if !fn(p.Page().(*ListAppsOutput), !p.HasNextPage()) {
7018			break
7019		}
7020	}
7021
7022	return p.Err()
7023}
7024
7025const opListAutoMLJobs = "ListAutoMLJobs"
7026
7027// ListAutoMLJobsRequest generates a "aws/request.Request" representing the
7028// client's request for the ListAutoMLJobs operation. The "output" return
7029// value will be populated with the request's response once the request completes
7030// successfully.
7031//
7032// Use "Send" method on the returned Request to send the API call to the service.
7033// the "output" return value is not valid until after Send returns without error.
7034//
7035// See ListAutoMLJobs for more information on using the ListAutoMLJobs
7036// API call, and error handling.
7037//
7038// This method is useful when you want to inject custom logic or configuration
7039// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7040//
7041//
7042//    // Example sending a request using the ListAutoMLJobsRequest method.
7043//    req, resp := client.ListAutoMLJobsRequest(params)
7044//
7045//    err := req.Send()
7046//    if err == nil { // resp is now filled
7047//        fmt.Println(resp)
7048//    }
7049//
7050// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAutoMLJobs
7051func (c *SageMaker) ListAutoMLJobsRequest(input *ListAutoMLJobsInput) (req *request.Request, output *ListAutoMLJobsOutput) {
7052	op := &request.Operation{
7053		Name:       opListAutoMLJobs,
7054		HTTPMethod: "POST",
7055		HTTPPath:   "/",
7056		Paginator: &request.Paginator{
7057			InputTokens:     []string{"NextToken"},
7058			OutputTokens:    []string{"NextToken"},
7059			LimitToken:      "MaxResults",
7060			TruncationToken: "",
7061		},
7062	}
7063
7064	if input == nil {
7065		input = &ListAutoMLJobsInput{}
7066	}
7067
7068	output = &ListAutoMLJobsOutput{}
7069	req = c.newRequest(op, input, output)
7070	return
7071}
7072
7073// ListAutoMLJobs API operation for Amazon SageMaker Service.
7074//
7075// Request a list of jobs.
7076//
7077// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7078// with awserr.Error's Code and Message methods to get detailed information about
7079// the error.
7080//
7081// See the AWS API reference guide for Amazon SageMaker Service's
7082// API operation ListAutoMLJobs for usage and error information.
7083// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAutoMLJobs
7084func (c *SageMaker) ListAutoMLJobs(input *ListAutoMLJobsInput) (*ListAutoMLJobsOutput, error) {
7085	req, out := c.ListAutoMLJobsRequest(input)
7086	return out, req.Send()
7087}
7088
7089// ListAutoMLJobsWithContext is the same as ListAutoMLJobs with the addition of
7090// the ability to pass a context and additional request options.
7091//
7092// See ListAutoMLJobs for details on how to use this API operation.
7093//
7094// The context must be non-nil and will be used for request cancellation. If
7095// the context is nil a panic will occur. In the future the SDK may create
7096// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7097// for more information on using Contexts.
7098func (c *SageMaker) ListAutoMLJobsWithContext(ctx aws.Context, input *ListAutoMLJobsInput, opts ...request.Option) (*ListAutoMLJobsOutput, error) {
7099	req, out := c.ListAutoMLJobsRequest(input)
7100	req.SetContext(ctx)
7101	req.ApplyOptions(opts...)
7102	return out, req.Send()
7103}
7104
7105// ListAutoMLJobsPages iterates over the pages of a ListAutoMLJobs operation,
7106// calling the "fn" function with the response data for each page. To stop
7107// iterating, return false from the fn function.
7108//
7109// See ListAutoMLJobs method for more information on how to use this operation.
7110//
7111// Note: This operation can generate multiple requests to a service.
7112//
7113//    // Example iterating over at most 3 pages of a ListAutoMLJobs operation.
7114//    pageNum := 0
7115//    err := client.ListAutoMLJobsPages(params,
7116//        func(page *sagemaker.ListAutoMLJobsOutput, lastPage bool) bool {
7117//            pageNum++
7118//            fmt.Println(page)
7119//            return pageNum <= 3
7120//        })
7121//
7122func (c *SageMaker) ListAutoMLJobsPages(input *ListAutoMLJobsInput, fn func(*ListAutoMLJobsOutput, bool) bool) error {
7123	return c.ListAutoMLJobsPagesWithContext(aws.BackgroundContext(), input, fn)
7124}
7125
7126// ListAutoMLJobsPagesWithContext same as ListAutoMLJobsPages except
7127// it takes a Context and allows setting request options on the pages.
7128//
7129// The context must be non-nil and will be used for request cancellation. If
7130// the context is nil a panic will occur. In the future the SDK may create
7131// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7132// for more information on using Contexts.
7133func (c *SageMaker) ListAutoMLJobsPagesWithContext(ctx aws.Context, input *ListAutoMLJobsInput, fn func(*ListAutoMLJobsOutput, bool) bool, opts ...request.Option) error {
7134	p := request.Pagination{
7135		NewRequest: func() (*request.Request, error) {
7136			var inCpy *ListAutoMLJobsInput
7137			if input != nil {
7138				tmp := *input
7139				inCpy = &tmp
7140			}
7141			req, _ := c.ListAutoMLJobsRequest(inCpy)
7142			req.SetContext(ctx)
7143			req.ApplyOptions(opts...)
7144			return req, nil
7145		},
7146	}
7147
7148	for p.Next() {
7149		if !fn(p.Page().(*ListAutoMLJobsOutput), !p.HasNextPage()) {
7150			break
7151		}
7152	}
7153
7154	return p.Err()
7155}
7156
7157const opListCandidatesForAutoMLJob = "ListCandidatesForAutoMLJob"
7158
7159// ListCandidatesForAutoMLJobRequest generates a "aws/request.Request" representing the
7160// client's request for the ListCandidatesForAutoMLJob operation. The "output" return
7161// value will be populated with the request's response once the request completes
7162// successfully.
7163//
7164// Use "Send" method on the returned Request to send the API call to the service.
7165// the "output" return value is not valid until after Send returns without error.
7166//
7167// See ListCandidatesForAutoMLJob for more information on using the ListCandidatesForAutoMLJob
7168// API call, and error handling.
7169//
7170// This method is useful when you want to inject custom logic or configuration
7171// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7172//
7173//
7174//    // Example sending a request using the ListCandidatesForAutoMLJobRequest method.
7175//    req, resp := client.ListCandidatesForAutoMLJobRequest(params)
7176//
7177//    err := req.Send()
7178//    if err == nil { // resp is now filled
7179//        fmt.Println(resp)
7180//    }
7181//
7182// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCandidatesForAutoMLJob
7183func (c *SageMaker) ListCandidatesForAutoMLJobRequest(input *ListCandidatesForAutoMLJobInput) (req *request.Request, output *ListCandidatesForAutoMLJobOutput) {
7184	op := &request.Operation{
7185		Name:       opListCandidatesForAutoMLJob,
7186		HTTPMethod: "POST",
7187		HTTPPath:   "/",
7188		Paginator: &request.Paginator{
7189			InputTokens:     []string{"NextToken"},
7190			OutputTokens:    []string{"NextToken"},
7191			LimitToken:      "MaxResults",
7192			TruncationToken: "",
7193		},
7194	}
7195
7196	if input == nil {
7197		input = &ListCandidatesForAutoMLJobInput{}
7198	}
7199
7200	output = &ListCandidatesForAutoMLJobOutput{}
7201	req = c.newRequest(op, input, output)
7202	return
7203}
7204
7205// ListCandidatesForAutoMLJob API operation for Amazon SageMaker Service.
7206//
7207// List the Candidates created for the job.
7208//
7209// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7210// with awserr.Error's Code and Message methods to get detailed information about
7211// the error.
7212//
7213// See the AWS API reference guide for Amazon SageMaker Service's
7214// API operation ListCandidatesForAutoMLJob for usage and error information.
7215//
7216// Returned Error Types:
7217//   * ResourceNotFound
7218//   Resource being access is not found.
7219//
7220// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCandidatesForAutoMLJob
7221func (c *SageMaker) ListCandidatesForAutoMLJob(input *ListCandidatesForAutoMLJobInput) (*ListCandidatesForAutoMLJobOutput, error) {
7222	req, out := c.ListCandidatesForAutoMLJobRequest(input)
7223	return out, req.Send()
7224}
7225
7226// ListCandidatesForAutoMLJobWithContext is the same as ListCandidatesForAutoMLJob with the addition of
7227// the ability to pass a context and additional request options.
7228//
7229// See ListCandidatesForAutoMLJob for details on how to use this API operation.
7230//
7231// The context must be non-nil and will be used for request cancellation. If
7232// the context is nil a panic will occur. In the future the SDK may create
7233// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7234// for more information on using Contexts.
7235func (c *SageMaker) ListCandidatesForAutoMLJobWithContext(ctx aws.Context, input *ListCandidatesForAutoMLJobInput, opts ...request.Option) (*ListCandidatesForAutoMLJobOutput, error) {
7236	req, out := c.ListCandidatesForAutoMLJobRequest(input)
7237	req.SetContext(ctx)
7238	req.ApplyOptions(opts...)
7239	return out, req.Send()
7240}
7241
7242// ListCandidatesForAutoMLJobPages iterates over the pages of a ListCandidatesForAutoMLJob operation,
7243// calling the "fn" function with the response data for each page. To stop
7244// iterating, return false from the fn function.
7245//
7246// See ListCandidatesForAutoMLJob method for more information on how to use this operation.
7247//
7248// Note: This operation can generate multiple requests to a service.
7249//
7250//    // Example iterating over at most 3 pages of a ListCandidatesForAutoMLJob operation.
7251//    pageNum := 0
7252//    err := client.ListCandidatesForAutoMLJobPages(params,
7253//        func(page *sagemaker.ListCandidatesForAutoMLJobOutput, lastPage bool) bool {
7254//            pageNum++
7255//            fmt.Println(page)
7256//            return pageNum <= 3
7257//        })
7258//
7259func (c *SageMaker) ListCandidatesForAutoMLJobPages(input *ListCandidatesForAutoMLJobInput, fn func(*ListCandidatesForAutoMLJobOutput, bool) bool) error {
7260	return c.ListCandidatesForAutoMLJobPagesWithContext(aws.BackgroundContext(), input, fn)
7261}
7262
7263// ListCandidatesForAutoMLJobPagesWithContext same as ListCandidatesForAutoMLJobPages except
7264// it takes a Context and allows setting request options on the pages.
7265//
7266// The context must be non-nil and will be used for request cancellation. If
7267// the context is nil a panic will occur. In the future the SDK may create
7268// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7269// for more information on using Contexts.
7270func (c *SageMaker) ListCandidatesForAutoMLJobPagesWithContext(ctx aws.Context, input *ListCandidatesForAutoMLJobInput, fn func(*ListCandidatesForAutoMLJobOutput, bool) bool, opts ...request.Option) error {
7271	p := request.Pagination{
7272		NewRequest: func() (*request.Request, error) {
7273			var inCpy *ListCandidatesForAutoMLJobInput
7274			if input != nil {
7275				tmp := *input
7276				inCpy = &tmp
7277			}
7278			req, _ := c.ListCandidatesForAutoMLJobRequest(inCpy)
7279			req.SetContext(ctx)
7280			req.ApplyOptions(opts...)
7281			return req, nil
7282		},
7283	}
7284
7285	for p.Next() {
7286		if !fn(p.Page().(*ListCandidatesForAutoMLJobOutput), !p.HasNextPage()) {
7287			break
7288		}
7289	}
7290
7291	return p.Err()
7292}
7293
7294const opListCodeRepositories = "ListCodeRepositories"
7295
7296// ListCodeRepositoriesRequest generates a "aws/request.Request" representing the
7297// client's request for the ListCodeRepositories operation. The "output" return
7298// value will be populated with the request's response once the request completes
7299// successfully.
7300//
7301// Use "Send" method on the returned Request to send the API call to the service.
7302// the "output" return value is not valid until after Send returns without error.
7303//
7304// See ListCodeRepositories for more information on using the ListCodeRepositories
7305// API call, and error handling.
7306//
7307// This method is useful when you want to inject custom logic or configuration
7308// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7309//
7310//
7311//    // Example sending a request using the ListCodeRepositoriesRequest method.
7312//    req, resp := client.ListCodeRepositoriesRequest(params)
7313//
7314//    err := req.Send()
7315//    if err == nil { // resp is now filled
7316//        fmt.Println(resp)
7317//    }
7318//
7319// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCodeRepositories
7320func (c *SageMaker) ListCodeRepositoriesRequest(input *ListCodeRepositoriesInput) (req *request.Request, output *ListCodeRepositoriesOutput) {
7321	op := &request.Operation{
7322		Name:       opListCodeRepositories,
7323		HTTPMethod: "POST",
7324		HTTPPath:   "/",
7325		Paginator: &request.Paginator{
7326			InputTokens:     []string{"NextToken"},
7327			OutputTokens:    []string{"NextToken"},
7328			LimitToken:      "MaxResults",
7329			TruncationToken: "",
7330		},
7331	}
7332
7333	if input == nil {
7334		input = &ListCodeRepositoriesInput{}
7335	}
7336
7337	output = &ListCodeRepositoriesOutput{}
7338	req = c.newRequest(op, input, output)
7339	return
7340}
7341
7342// ListCodeRepositories API operation for Amazon SageMaker Service.
7343//
7344// Gets a list of the Git repositories in your account.
7345//
7346// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7347// with awserr.Error's Code and Message methods to get detailed information about
7348// the error.
7349//
7350// See the AWS API reference guide for Amazon SageMaker Service's
7351// API operation ListCodeRepositories for usage and error information.
7352// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCodeRepositories
7353func (c *SageMaker) ListCodeRepositories(input *ListCodeRepositoriesInput) (*ListCodeRepositoriesOutput, error) {
7354	req, out := c.ListCodeRepositoriesRequest(input)
7355	return out, req.Send()
7356}
7357
7358// ListCodeRepositoriesWithContext is the same as ListCodeRepositories with the addition of
7359// the ability to pass a context and additional request options.
7360//
7361// See ListCodeRepositories for details on how to use this API operation.
7362//
7363// The context must be non-nil and will be used for request cancellation. If
7364// the context is nil a panic will occur. In the future the SDK may create
7365// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7366// for more information on using Contexts.
7367func (c *SageMaker) ListCodeRepositoriesWithContext(ctx aws.Context, input *ListCodeRepositoriesInput, opts ...request.Option) (*ListCodeRepositoriesOutput, error) {
7368	req, out := c.ListCodeRepositoriesRequest(input)
7369	req.SetContext(ctx)
7370	req.ApplyOptions(opts...)
7371	return out, req.Send()
7372}
7373
7374// ListCodeRepositoriesPages iterates over the pages of a ListCodeRepositories operation,
7375// calling the "fn" function with the response data for each page. To stop
7376// iterating, return false from the fn function.
7377//
7378// See ListCodeRepositories method for more information on how to use this operation.
7379//
7380// Note: This operation can generate multiple requests to a service.
7381//
7382//    // Example iterating over at most 3 pages of a ListCodeRepositories operation.
7383//    pageNum := 0
7384//    err := client.ListCodeRepositoriesPages(params,
7385//        func(page *sagemaker.ListCodeRepositoriesOutput, lastPage bool) bool {
7386//            pageNum++
7387//            fmt.Println(page)
7388//            return pageNum <= 3
7389//        })
7390//
7391func (c *SageMaker) ListCodeRepositoriesPages(input *ListCodeRepositoriesInput, fn func(*ListCodeRepositoriesOutput, bool) bool) error {
7392	return c.ListCodeRepositoriesPagesWithContext(aws.BackgroundContext(), input, fn)
7393}
7394
7395// ListCodeRepositoriesPagesWithContext same as ListCodeRepositoriesPages except
7396// it takes a Context and allows setting request options on the pages.
7397//
7398// The context must be non-nil and will be used for request cancellation. If
7399// the context is nil a panic will occur. In the future the SDK may create
7400// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7401// for more information on using Contexts.
7402func (c *SageMaker) ListCodeRepositoriesPagesWithContext(ctx aws.Context, input *ListCodeRepositoriesInput, fn func(*ListCodeRepositoriesOutput, bool) bool, opts ...request.Option) error {
7403	p := request.Pagination{
7404		NewRequest: func() (*request.Request, error) {
7405			var inCpy *ListCodeRepositoriesInput
7406			if input != nil {
7407				tmp := *input
7408				inCpy = &tmp
7409			}
7410			req, _ := c.ListCodeRepositoriesRequest(inCpy)
7411			req.SetContext(ctx)
7412			req.ApplyOptions(opts...)
7413			return req, nil
7414		},
7415	}
7416
7417	for p.Next() {
7418		if !fn(p.Page().(*ListCodeRepositoriesOutput), !p.HasNextPage()) {
7419			break
7420		}
7421	}
7422
7423	return p.Err()
7424}
7425
7426const opListCompilationJobs = "ListCompilationJobs"
7427
7428// ListCompilationJobsRequest generates a "aws/request.Request" representing the
7429// client's request for the ListCompilationJobs operation. The "output" return
7430// value will be populated with the request's response once the request completes
7431// successfully.
7432//
7433// Use "Send" method on the returned Request to send the API call to the service.
7434// the "output" return value is not valid until after Send returns without error.
7435//
7436// See ListCompilationJobs for more information on using the ListCompilationJobs
7437// API call, and error handling.
7438//
7439// This method is useful when you want to inject custom logic or configuration
7440// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7441//
7442//
7443//    // Example sending a request using the ListCompilationJobsRequest method.
7444//    req, resp := client.ListCompilationJobsRequest(params)
7445//
7446//    err := req.Send()
7447//    if err == nil { // resp is now filled
7448//        fmt.Println(resp)
7449//    }
7450//
7451// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCompilationJobs
7452func (c *SageMaker) ListCompilationJobsRequest(input *ListCompilationJobsInput) (req *request.Request, output *ListCompilationJobsOutput) {
7453	op := &request.Operation{
7454		Name:       opListCompilationJobs,
7455		HTTPMethod: "POST",
7456		HTTPPath:   "/",
7457		Paginator: &request.Paginator{
7458			InputTokens:     []string{"NextToken"},
7459			OutputTokens:    []string{"NextToken"},
7460			LimitToken:      "MaxResults",
7461			TruncationToken: "",
7462		},
7463	}
7464
7465	if input == nil {
7466		input = &ListCompilationJobsInput{}
7467	}
7468
7469	output = &ListCompilationJobsOutput{}
7470	req = c.newRequest(op, input, output)
7471	return
7472}
7473
7474// ListCompilationJobs API operation for Amazon SageMaker Service.
7475//
7476// Lists model compilation jobs that satisfy various filters.
7477//
7478// To create a model compilation job, use CreateCompilationJob. To get information
7479// about a particular model compilation job you have created, use DescribeCompilationJob.
7480//
7481// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7482// with awserr.Error's Code and Message methods to get detailed information about
7483// the error.
7484//
7485// See the AWS API reference guide for Amazon SageMaker Service's
7486// API operation ListCompilationJobs for usage and error information.
7487// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCompilationJobs
7488func (c *SageMaker) ListCompilationJobs(input *ListCompilationJobsInput) (*ListCompilationJobsOutput, error) {
7489	req, out := c.ListCompilationJobsRequest(input)
7490	return out, req.Send()
7491}
7492
7493// ListCompilationJobsWithContext is the same as ListCompilationJobs with the addition of
7494// the ability to pass a context and additional request options.
7495//
7496// See ListCompilationJobs for details on how to use this API operation.
7497//
7498// The context must be non-nil and will be used for request cancellation. If
7499// the context is nil a panic will occur. In the future the SDK may create
7500// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7501// for more information on using Contexts.
7502func (c *SageMaker) ListCompilationJobsWithContext(ctx aws.Context, input *ListCompilationJobsInput, opts ...request.Option) (*ListCompilationJobsOutput, error) {
7503	req, out := c.ListCompilationJobsRequest(input)
7504	req.SetContext(ctx)
7505	req.ApplyOptions(opts...)
7506	return out, req.Send()
7507}
7508
7509// ListCompilationJobsPages iterates over the pages of a ListCompilationJobs operation,
7510// calling the "fn" function with the response data for each page. To stop
7511// iterating, return false from the fn function.
7512//
7513// See ListCompilationJobs method for more information on how to use this operation.
7514//
7515// Note: This operation can generate multiple requests to a service.
7516//
7517//    // Example iterating over at most 3 pages of a ListCompilationJobs operation.
7518//    pageNum := 0
7519//    err := client.ListCompilationJobsPages(params,
7520//        func(page *sagemaker.ListCompilationJobsOutput, lastPage bool) bool {
7521//            pageNum++
7522//            fmt.Println(page)
7523//            return pageNum <= 3
7524//        })
7525//
7526func (c *SageMaker) ListCompilationJobsPages(input *ListCompilationJobsInput, fn func(*ListCompilationJobsOutput, bool) bool) error {
7527	return c.ListCompilationJobsPagesWithContext(aws.BackgroundContext(), input, fn)
7528}
7529
7530// ListCompilationJobsPagesWithContext same as ListCompilationJobsPages except
7531// it takes a Context and allows setting request options on the pages.
7532//
7533// The context must be non-nil and will be used for request cancellation. If
7534// the context is nil a panic will occur. In the future the SDK may create
7535// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7536// for more information on using Contexts.
7537func (c *SageMaker) ListCompilationJobsPagesWithContext(ctx aws.Context, input *ListCompilationJobsInput, fn func(*ListCompilationJobsOutput, bool) bool, opts ...request.Option) error {
7538	p := request.Pagination{
7539		NewRequest: func() (*request.Request, error) {
7540			var inCpy *ListCompilationJobsInput
7541			if input != nil {
7542				tmp := *input
7543				inCpy = &tmp
7544			}
7545			req, _ := c.ListCompilationJobsRequest(inCpy)
7546			req.SetContext(ctx)
7547			req.ApplyOptions(opts...)
7548			return req, nil
7549		},
7550	}
7551
7552	for p.Next() {
7553		if !fn(p.Page().(*ListCompilationJobsOutput), !p.HasNextPage()) {
7554			break
7555		}
7556	}
7557
7558	return p.Err()
7559}
7560
7561const opListDomains = "ListDomains"
7562
7563// ListDomainsRequest generates a "aws/request.Request" representing the
7564// client's request for the ListDomains operation. The "output" return
7565// value will be populated with the request's response once the request completes
7566// successfully.
7567//
7568// Use "Send" method on the returned Request to send the API call to the service.
7569// the "output" return value is not valid until after Send returns without error.
7570//
7571// See ListDomains for more information on using the ListDomains
7572// API call, and error handling.
7573//
7574// This method is useful when you want to inject custom logic or configuration
7575// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7576//
7577//
7578//    // Example sending a request using the ListDomainsRequest method.
7579//    req, resp := client.ListDomainsRequest(params)
7580//
7581//    err := req.Send()
7582//    if err == nil { // resp is now filled
7583//        fmt.Println(resp)
7584//    }
7585//
7586// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDomains
7587func (c *SageMaker) ListDomainsRequest(input *ListDomainsInput) (req *request.Request, output *ListDomainsOutput) {
7588	op := &request.Operation{
7589		Name:       opListDomains,
7590		HTTPMethod: "POST",
7591		HTTPPath:   "/",
7592		Paginator: &request.Paginator{
7593			InputTokens:     []string{"NextToken"},
7594			OutputTokens:    []string{"NextToken"},
7595			LimitToken:      "MaxResults",
7596			TruncationToken: "",
7597		},
7598	}
7599
7600	if input == nil {
7601		input = &ListDomainsInput{}
7602	}
7603
7604	output = &ListDomainsOutput{}
7605	req = c.newRequest(op, input, output)
7606	return
7607}
7608
7609// ListDomains API operation for Amazon SageMaker Service.
7610//
7611// Lists the domains.
7612//
7613// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7614// with awserr.Error's Code and Message methods to get detailed information about
7615// the error.
7616//
7617// See the AWS API reference guide for Amazon SageMaker Service's
7618// API operation ListDomains for usage and error information.
7619// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDomains
7620func (c *SageMaker) ListDomains(input *ListDomainsInput) (*ListDomainsOutput, error) {
7621	req, out := c.ListDomainsRequest(input)
7622	return out, req.Send()
7623}
7624
7625// ListDomainsWithContext is the same as ListDomains with the addition of
7626// the ability to pass a context and additional request options.
7627//
7628// See ListDomains for details on how to use this API operation.
7629//
7630// The context must be non-nil and will be used for request cancellation. If
7631// the context is nil a panic will occur. In the future the SDK may create
7632// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7633// for more information on using Contexts.
7634func (c *SageMaker) ListDomainsWithContext(ctx aws.Context, input *ListDomainsInput, opts ...request.Option) (*ListDomainsOutput, error) {
7635	req, out := c.ListDomainsRequest(input)
7636	req.SetContext(ctx)
7637	req.ApplyOptions(opts...)
7638	return out, req.Send()
7639}
7640
7641// ListDomainsPages iterates over the pages of a ListDomains operation,
7642// calling the "fn" function with the response data for each page. To stop
7643// iterating, return false from the fn function.
7644//
7645// See ListDomains method for more information on how to use this operation.
7646//
7647// Note: This operation can generate multiple requests to a service.
7648//
7649//    // Example iterating over at most 3 pages of a ListDomains operation.
7650//    pageNum := 0
7651//    err := client.ListDomainsPages(params,
7652//        func(page *sagemaker.ListDomainsOutput, lastPage bool) bool {
7653//            pageNum++
7654//            fmt.Println(page)
7655//            return pageNum <= 3
7656//        })
7657//
7658func (c *SageMaker) ListDomainsPages(input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool) error {
7659	return c.ListDomainsPagesWithContext(aws.BackgroundContext(), input, fn)
7660}
7661
7662// ListDomainsPagesWithContext same as ListDomainsPages except
7663// it takes a Context and allows setting request options on the pages.
7664//
7665// The context must be non-nil and will be used for request cancellation. If
7666// the context is nil a panic will occur. In the future the SDK may create
7667// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7668// for more information on using Contexts.
7669func (c *SageMaker) ListDomainsPagesWithContext(ctx aws.Context, input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool, opts ...request.Option) error {
7670	p := request.Pagination{
7671		NewRequest: func() (*request.Request, error) {
7672			var inCpy *ListDomainsInput
7673			if input != nil {
7674				tmp := *input
7675				inCpy = &tmp
7676			}
7677			req, _ := c.ListDomainsRequest(inCpy)
7678			req.SetContext(ctx)
7679			req.ApplyOptions(opts...)
7680			return req, nil
7681		},
7682	}
7683
7684	for p.Next() {
7685		if !fn(p.Page().(*ListDomainsOutput), !p.HasNextPage()) {
7686			break
7687		}
7688	}
7689
7690	return p.Err()
7691}
7692
7693const opListEndpointConfigs = "ListEndpointConfigs"
7694
7695// ListEndpointConfigsRequest generates a "aws/request.Request" representing the
7696// client's request for the ListEndpointConfigs operation. The "output" return
7697// value will be populated with the request's response once the request completes
7698// successfully.
7699//
7700// Use "Send" method on the returned Request to send the API call to the service.
7701// the "output" return value is not valid until after Send returns without error.
7702//
7703// See ListEndpointConfigs for more information on using the ListEndpointConfigs
7704// API call, and error handling.
7705//
7706// This method is useful when you want to inject custom logic or configuration
7707// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7708//
7709//
7710//    // Example sending a request using the ListEndpointConfigsRequest method.
7711//    req, resp := client.ListEndpointConfigsRequest(params)
7712//
7713//    err := req.Send()
7714//    if err == nil { // resp is now filled
7715//        fmt.Println(resp)
7716//    }
7717//
7718// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpointConfigs
7719func (c *SageMaker) ListEndpointConfigsRequest(input *ListEndpointConfigsInput) (req *request.Request, output *ListEndpointConfigsOutput) {
7720	op := &request.Operation{
7721		Name:       opListEndpointConfigs,
7722		HTTPMethod: "POST",
7723		HTTPPath:   "/",
7724		Paginator: &request.Paginator{
7725			InputTokens:     []string{"NextToken"},
7726			OutputTokens:    []string{"NextToken"},
7727			LimitToken:      "MaxResults",
7728			TruncationToken: "",
7729		},
7730	}
7731
7732	if input == nil {
7733		input = &ListEndpointConfigsInput{}
7734	}
7735
7736	output = &ListEndpointConfigsOutput{}
7737	req = c.newRequest(op, input, output)
7738	return
7739}
7740
7741// ListEndpointConfigs API operation for Amazon SageMaker Service.
7742//
7743// Lists endpoint configurations.
7744//
7745// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7746// with awserr.Error's Code and Message methods to get detailed information about
7747// the error.
7748//
7749// See the AWS API reference guide for Amazon SageMaker Service's
7750// API operation ListEndpointConfigs for usage and error information.
7751// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpointConfigs
7752func (c *SageMaker) ListEndpointConfigs(input *ListEndpointConfigsInput) (*ListEndpointConfigsOutput, error) {
7753	req, out := c.ListEndpointConfigsRequest(input)
7754	return out, req.Send()
7755}
7756
7757// ListEndpointConfigsWithContext is the same as ListEndpointConfigs with the addition of
7758// the ability to pass a context and additional request options.
7759//
7760// See ListEndpointConfigs for details on how to use this API operation.
7761//
7762// The context must be non-nil and will be used for request cancellation. If
7763// the context is nil a panic will occur. In the future the SDK may create
7764// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7765// for more information on using Contexts.
7766func (c *SageMaker) ListEndpointConfigsWithContext(ctx aws.Context, input *ListEndpointConfigsInput, opts ...request.Option) (*ListEndpointConfigsOutput, error) {
7767	req, out := c.ListEndpointConfigsRequest(input)
7768	req.SetContext(ctx)
7769	req.ApplyOptions(opts...)
7770	return out, req.Send()
7771}
7772
7773// ListEndpointConfigsPages iterates over the pages of a ListEndpointConfigs operation,
7774// calling the "fn" function with the response data for each page. To stop
7775// iterating, return false from the fn function.
7776//
7777// See ListEndpointConfigs method for more information on how to use this operation.
7778//
7779// Note: This operation can generate multiple requests to a service.
7780//
7781//    // Example iterating over at most 3 pages of a ListEndpointConfigs operation.
7782//    pageNum := 0
7783//    err := client.ListEndpointConfigsPages(params,
7784//        func(page *sagemaker.ListEndpointConfigsOutput, lastPage bool) bool {
7785//            pageNum++
7786//            fmt.Println(page)
7787//            return pageNum <= 3
7788//        })
7789//
7790func (c *SageMaker) ListEndpointConfigsPages(input *ListEndpointConfigsInput, fn func(*ListEndpointConfigsOutput, bool) bool) error {
7791	return c.ListEndpointConfigsPagesWithContext(aws.BackgroundContext(), input, fn)
7792}
7793
7794// ListEndpointConfigsPagesWithContext same as ListEndpointConfigsPages except
7795// it takes a Context and allows setting request options on the pages.
7796//
7797// The context must be non-nil and will be used for request cancellation. If
7798// the context is nil a panic will occur. In the future the SDK may create
7799// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7800// for more information on using Contexts.
7801func (c *SageMaker) ListEndpointConfigsPagesWithContext(ctx aws.Context, input *ListEndpointConfigsInput, fn func(*ListEndpointConfigsOutput, bool) bool, opts ...request.Option) error {
7802	p := request.Pagination{
7803		NewRequest: func() (*request.Request, error) {
7804			var inCpy *ListEndpointConfigsInput
7805			if input != nil {
7806				tmp := *input
7807				inCpy = &tmp
7808			}
7809			req, _ := c.ListEndpointConfigsRequest(inCpy)
7810			req.SetContext(ctx)
7811			req.ApplyOptions(opts...)
7812			return req, nil
7813		},
7814	}
7815
7816	for p.Next() {
7817		if !fn(p.Page().(*ListEndpointConfigsOutput), !p.HasNextPage()) {
7818			break
7819		}
7820	}
7821
7822	return p.Err()
7823}
7824
7825const opListEndpoints = "ListEndpoints"
7826
7827// ListEndpointsRequest generates a "aws/request.Request" representing the
7828// client's request for the ListEndpoints operation. The "output" return
7829// value will be populated with the request's response once the request completes
7830// successfully.
7831//
7832// Use "Send" method on the returned Request to send the API call to the service.
7833// the "output" return value is not valid until after Send returns without error.
7834//
7835// See ListEndpoints for more information on using the ListEndpoints
7836// API call, and error handling.
7837//
7838// This method is useful when you want to inject custom logic or configuration
7839// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7840//
7841//
7842//    // Example sending a request using the ListEndpointsRequest method.
7843//    req, resp := client.ListEndpointsRequest(params)
7844//
7845//    err := req.Send()
7846//    if err == nil { // resp is now filled
7847//        fmt.Println(resp)
7848//    }
7849//
7850// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpoints
7851func (c *SageMaker) ListEndpointsRequest(input *ListEndpointsInput) (req *request.Request, output *ListEndpointsOutput) {
7852	op := &request.Operation{
7853		Name:       opListEndpoints,
7854		HTTPMethod: "POST",
7855		HTTPPath:   "/",
7856		Paginator: &request.Paginator{
7857			InputTokens:     []string{"NextToken"},
7858			OutputTokens:    []string{"NextToken"},
7859			LimitToken:      "MaxResults",
7860			TruncationToken: "",
7861		},
7862	}
7863
7864	if input == nil {
7865		input = &ListEndpointsInput{}
7866	}
7867
7868	output = &ListEndpointsOutput{}
7869	req = c.newRequest(op, input, output)
7870	return
7871}
7872
7873// ListEndpoints API operation for Amazon SageMaker Service.
7874//
7875// Lists endpoints.
7876//
7877// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7878// with awserr.Error's Code and Message methods to get detailed information about
7879// the error.
7880//
7881// See the AWS API reference guide for Amazon SageMaker Service's
7882// API operation ListEndpoints for usage and error information.
7883// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpoints
7884func (c *SageMaker) ListEndpoints(input *ListEndpointsInput) (*ListEndpointsOutput, error) {
7885	req, out := c.ListEndpointsRequest(input)
7886	return out, req.Send()
7887}
7888
7889// ListEndpointsWithContext is the same as ListEndpoints with the addition of
7890// the ability to pass a context and additional request options.
7891//
7892// See ListEndpoints for details on how to use this API operation.
7893//
7894// The context must be non-nil and will be used for request cancellation. If
7895// the context is nil a panic will occur. In the future the SDK may create
7896// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7897// for more information on using Contexts.
7898func (c *SageMaker) ListEndpointsWithContext(ctx aws.Context, input *ListEndpointsInput, opts ...request.Option) (*ListEndpointsOutput, error) {
7899	req, out := c.ListEndpointsRequest(input)
7900	req.SetContext(ctx)
7901	req.ApplyOptions(opts...)
7902	return out, req.Send()
7903}
7904
7905// ListEndpointsPages iterates over the pages of a ListEndpoints operation,
7906// calling the "fn" function with the response data for each page. To stop
7907// iterating, return false from the fn function.
7908//
7909// See ListEndpoints method for more information on how to use this operation.
7910//
7911// Note: This operation can generate multiple requests to a service.
7912//
7913//    // Example iterating over at most 3 pages of a ListEndpoints operation.
7914//    pageNum := 0
7915//    err := client.ListEndpointsPages(params,
7916//        func(page *sagemaker.ListEndpointsOutput, lastPage bool) bool {
7917//            pageNum++
7918//            fmt.Println(page)
7919//            return pageNum <= 3
7920//        })
7921//
7922func (c *SageMaker) ListEndpointsPages(input *ListEndpointsInput, fn func(*ListEndpointsOutput, bool) bool) error {
7923	return c.ListEndpointsPagesWithContext(aws.BackgroundContext(), input, fn)
7924}
7925
7926// ListEndpointsPagesWithContext same as ListEndpointsPages except
7927// it takes a Context and allows setting request options on the pages.
7928//
7929// The context must be non-nil and will be used for request cancellation. If
7930// the context is nil a panic will occur. In the future the SDK may create
7931// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7932// for more information on using Contexts.
7933func (c *SageMaker) ListEndpointsPagesWithContext(ctx aws.Context, input *ListEndpointsInput, fn func(*ListEndpointsOutput, bool) bool, opts ...request.Option) error {
7934	p := request.Pagination{
7935		NewRequest: func() (*request.Request, error) {
7936			var inCpy *ListEndpointsInput
7937			if input != nil {
7938				tmp := *input
7939				inCpy = &tmp
7940			}
7941			req, _ := c.ListEndpointsRequest(inCpy)
7942			req.SetContext(ctx)
7943			req.ApplyOptions(opts...)
7944			return req, nil
7945		},
7946	}
7947
7948	for p.Next() {
7949		if !fn(p.Page().(*ListEndpointsOutput), !p.HasNextPage()) {
7950			break
7951		}
7952	}
7953
7954	return p.Err()
7955}
7956
7957const opListExperiments = "ListExperiments"
7958
7959// ListExperimentsRequest generates a "aws/request.Request" representing the
7960// client's request for the ListExperiments operation. The "output" return
7961// value will be populated with the request's response once the request completes
7962// successfully.
7963//
7964// Use "Send" method on the returned Request to send the API call to the service.
7965// the "output" return value is not valid until after Send returns without error.
7966//
7967// See ListExperiments for more information on using the ListExperiments
7968// API call, and error handling.
7969//
7970// This method is useful when you want to inject custom logic or configuration
7971// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7972//
7973//
7974//    // Example sending a request using the ListExperimentsRequest method.
7975//    req, resp := client.ListExperimentsRequest(params)
7976//
7977//    err := req.Send()
7978//    if err == nil { // resp is now filled
7979//        fmt.Println(resp)
7980//    }
7981//
7982// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListExperiments
7983func (c *SageMaker) ListExperimentsRequest(input *ListExperimentsInput) (req *request.Request, output *ListExperimentsOutput) {
7984	op := &request.Operation{
7985		Name:       opListExperiments,
7986		HTTPMethod: "POST",
7987		HTTPPath:   "/",
7988		Paginator: &request.Paginator{
7989			InputTokens:     []string{"NextToken"},
7990			OutputTokens:    []string{"NextToken"},
7991			LimitToken:      "MaxResults",
7992			TruncationToken: "",
7993		},
7994	}
7995
7996	if input == nil {
7997		input = &ListExperimentsInput{}
7998	}
7999
8000	output = &ListExperimentsOutput{}
8001	req = c.newRequest(op, input, output)
8002	return
8003}
8004
8005// ListExperiments API operation for Amazon SageMaker Service.
8006//
8007// Lists all the experiments in your account. The list can be filtered to show
8008// only experiments that were created in a specific time range. The list can
8009// be sorted by experiment name or creation time.
8010//
8011// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8012// with awserr.Error's Code and Message methods to get detailed information about
8013// the error.
8014//
8015// See the AWS API reference guide for Amazon SageMaker Service's
8016// API operation ListExperiments for usage and error information.
8017// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListExperiments
8018func (c *SageMaker) ListExperiments(input *ListExperimentsInput) (*ListExperimentsOutput, error) {
8019	req, out := c.ListExperimentsRequest(input)
8020	return out, req.Send()
8021}
8022
8023// ListExperimentsWithContext is the same as ListExperiments with the addition of
8024// the ability to pass a context and additional request options.
8025//
8026// See ListExperiments for details on how to use this API operation.
8027//
8028// The context must be non-nil and will be used for request cancellation. If
8029// the context is nil a panic will occur. In the future the SDK may create
8030// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8031// for more information on using Contexts.
8032func (c *SageMaker) ListExperimentsWithContext(ctx aws.Context, input *ListExperimentsInput, opts ...request.Option) (*ListExperimentsOutput, error) {
8033	req, out := c.ListExperimentsRequest(input)
8034	req.SetContext(ctx)
8035	req.ApplyOptions(opts...)
8036	return out, req.Send()
8037}
8038
8039// ListExperimentsPages iterates over the pages of a ListExperiments operation,
8040// calling the "fn" function with the response data for each page. To stop
8041// iterating, return false from the fn function.
8042//
8043// See ListExperiments method for more information on how to use this operation.
8044//
8045// Note: This operation can generate multiple requests to a service.
8046//
8047//    // Example iterating over at most 3 pages of a ListExperiments operation.
8048//    pageNum := 0
8049//    err := client.ListExperimentsPages(params,
8050//        func(page *sagemaker.ListExperimentsOutput, lastPage bool) bool {
8051//            pageNum++
8052//            fmt.Println(page)
8053//            return pageNum <= 3
8054//        })
8055//
8056func (c *SageMaker) ListExperimentsPages(input *ListExperimentsInput, fn func(*ListExperimentsOutput, bool) bool) error {
8057	return c.ListExperimentsPagesWithContext(aws.BackgroundContext(), input, fn)
8058}
8059
8060// ListExperimentsPagesWithContext same as ListExperimentsPages except
8061// it takes a Context and allows setting request options on the pages.
8062//
8063// The context must be non-nil and will be used for request cancellation. If
8064// the context is nil a panic will occur. In the future the SDK may create
8065// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8066// for more information on using Contexts.
8067func (c *SageMaker) ListExperimentsPagesWithContext(ctx aws.Context, input *ListExperimentsInput, fn func(*ListExperimentsOutput, bool) bool, opts ...request.Option) error {
8068	p := request.Pagination{
8069		NewRequest: func() (*request.Request, error) {
8070			var inCpy *ListExperimentsInput
8071			if input != nil {
8072				tmp := *input
8073				inCpy = &tmp
8074			}
8075			req, _ := c.ListExperimentsRequest(inCpy)
8076			req.SetContext(ctx)
8077			req.ApplyOptions(opts...)
8078			return req, nil
8079		},
8080	}
8081
8082	for p.Next() {
8083		if !fn(p.Page().(*ListExperimentsOutput), !p.HasNextPage()) {
8084			break
8085		}
8086	}
8087
8088	return p.Err()
8089}
8090
8091const opListFlowDefinitions = "ListFlowDefinitions"
8092
8093// ListFlowDefinitionsRequest generates a "aws/request.Request" representing the
8094// client's request for the ListFlowDefinitions operation. The "output" return
8095// value will be populated with the request's response once the request completes
8096// successfully.
8097//
8098// Use "Send" method on the returned Request to send the API call to the service.
8099// the "output" return value is not valid until after Send returns without error.
8100//
8101// See ListFlowDefinitions for more information on using the ListFlowDefinitions
8102// API call, and error handling.
8103//
8104// This method is useful when you want to inject custom logic or configuration
8105// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8106//
8107//
8108//    // Example sending a request using the ListFlowDefinitionsRequest method.
8109//    req, resp := client.ListFlowDefinitionsRequest(params)
8110//
8111//    err := req.Send()
8112//    if err == nil { // resp is now filled
8113//        fmt.Println(resp)
8114//    }
8115//
8116// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListFlowDefinitions
8117func (c *SageMaker) ListFlowDefinitionsRequest(input *ListFlowDefinitionsInput) (req *request.Request, output *ListFlowDefinitionsOutput) {
8118	op := &request.Operation{
8119		Name:       opListFlowDefinitions,
8120		HTTPMethod: "POST",
8121		HTTPPath:   "/",
8122		Paginator: &request.Paginator{
8123			InputTokens:     []string{"NextToken"},
8124			OutputTokens:    []string{"NextToken"},
8125			LimitToken:      "MaxResults",
8126			TruncationToken: "",
8127		},
8128	}
8129
8130	if input == nil {
8131		input = &ListFlowDefinitionsInput{}
8132	}
8133
8134	output = &ListFlowDefinitionsOutput{}
8135	req = c.newRequest(op, input, output)
8136	return
8137}
8138
8139// ListFlowDefinitions API operation for Amazon SageMaker Service.
8140//
8141// Returns information about the flow definitions in your account.
8142//
8143// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8144// with awserr.Error's Code and Message methods to get detailed information about
8145// the error.
8146//
8147// See the AWS API reference guide for Amazon SageMaker Service's
8148// API operation ListFlowDefinitions for usage and error information.
8149// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListFlowDefinitions
8150func (c *SageMaker) ListFlowDefinitions(input *ListFlowDefinitionsInput) (*ListFlowDefinitionsOutput, error) {
8151	req, out := c.ListFlowDefinitionsRequest(input)
8152	return out, req.Send()
8153}
8154
8155// ListFlowDefinitionsWithContext is the same as ListFlowDefinitions with the addition of
8156// the ability to pass a context and additional request options.
8157//
8158// See ListFlowDefinitions for details on how to use this API operation.
8159//
8160// The context must be non-nil and will be used for request cancellation. If
8161// the context is nil a panic will occur. In the future the SDK may create
8162// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8163// for more information on using Contexts.
8164func (c *SageMaker) ListFlowDefinitionsWithContext(ctx aws.Context, input *ListFlowDefinitionsInput, opts ...request.Option) (*ListFlowDefinitionsOutput, error) {
8165	req, out := c.ListFlowDefinitionsRequest(input)
8166	req.SetContext(ctx)
8167	req.ApplyOptions(opts...)
8168	return out, req.Send()
8169}
8170
8171// ListFlowDefinitionsPages iterates over the pages of a ListFlowDefinitions operation,
8172// calling the "fn" function with the response data for each page. To stop
8173// iterating, return false from the fn function.
8174//
8175// See ListFlowDefinitions method for more information on how to use this operation.
8176//
8177// Note: This operation can generate multiple requests to a service.
8178//
8179//    // Example iterating over at most 3 pages of a ListFlowDefinitions operation.
8180//    pageNum := 0
8181//    err := client.ListFlowDefinitionsPages(params,
8182//        func(page *sagemaker.ListFlowDefinitionsOutput, lastPage bool) bool {
8183//            pageNum++
8184//            fmt.Println(page)
8185//            return pageNum <= 3
8186//        })
8187//
8188func (c *SageMaker) ListFlowDefinitionsPages(input *ListFlowDefinitionsInput, fn func(*ListFlowDefinitionsOutput, bool) bool) error {
8189	return c.ListFlowDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn)
8190}
8191
8192// ListFlowDefinitionsPagesWithContext same as ListFlowDefinitionsPages except
8193// it takes a Context and allows setting request options on the pages.
8194//
8195// The context must be non-nil and will be used for request cancellation. If
8196// the context is nil a panic will occur. In the future the SDK may create
8197// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8198// for more information on using Contexts.
8199func (c *SageMaker) ListFlowDefinitionsPagesWithContext(ctx aws.Context, input *ListFlowDefinitionsInput, fn func(*ListFlowDefinitionsOutput, bool) bool, opts ...request.Option) error {
8200	p := request.Pagination{
8201		NewRequest: func() (*request.Request, error) {
8202			var inCpy *ListFlowDefinitionsInput
8203			if input != nil {
8204				tmp := *input
8205				inCpy = &tmp
8206			}
8207			req, _ := c.ListFlowDefinitionsRequest(inCpy)
8208			req.SetContext(ctx)
8209			req.ApplyOptions(opts...)
8210			return req, nil
8211		},
8212	}
8213
8214	for p.Next() {
8215		if !fn(p.Page().(*ListFlowDefinitionsOutput), !p.HasNextPage()) {
8216			break
8217		}
8218	}
8219
8220	return p.Err()
8221}
8222
8223const opListHumanTaskUis = "ListHumanTaskUis"
8224
8225// ListHumanTaskUisRequest generates a "aws/request.Request" representing the
8226// client's request for the ListHumanTaskUis operation. The "output" return
8227// value will be populated with the request's response once the request completes
8228// successfully.
8229//
8230// Use "Send" method on the returned Request to send the API call to the service.
8231// the "output" return value is not valid until after Send returns without error.
8232//
8233// See ListHumanTaskUis for more information on using the ListHumanTaskUis
8234// API call, and error handling.
8235//
8236// This method is useful when you want to inject custom logic or configuration
8237// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8238//
8239//
8240//    // Example sending a request using the ListHumanTaskUisRequest method.
8241//    req, resp := client.ListHumanTaskUisRequest(params)
8242//
8243//    err := req.Send()
8244//    if err == nil { // resp is now filled
8245//        fmt.Println(resp)
8246//    }
8247//
8248// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHumanTaskUis
8249func (c *SageMaker) ListHumanTaskUisRequest(input *ListHumanTaskUisInput) (req *request.Request, output *ListHumanTaskUisOutput) {
8250	op := &request.Operation{
8251		Name:       opListHumanTaskUis,
8252		HTTPMethod: "POST",
8253		HTTPPath:   "/",
8254		Paginator: &request.Paginator{
8255			InputTokens:     []string{"NextToken"},
8256			OutputTokens:    []string{"NextToken"},
8257			LimitToken:      "MaxResults",
8258			TruncationToken: "",
8259		},
8260	}
8261
8262	if input == nil {
8263		input = &ListHumanTaskUisInput{}
8264	}
8265
8266	output = &ListHumanTaskUisOutput{}
8267	req = c.newRequest(op, input, output)
8268	return
8269}
8270
8271// ListHumanTaskUis API operation for Amazon SageMaker Service.
8272//
8273// Returns information about the human task user interfaces in your account.
8274//
8275// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8276// with awserr.Error's Code and Message methods to get detailed information about
8277// the error.
8278//
8279// See the AWS API reference guide for Amazon SageMaker Service's
8280// API operation ListHumanTaskUis for usage and error information.
8281// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHumanTaskUis
8282func (c *SageMaker) ListHumanTaskUis(input *ListHumanTaskUisInput) (*ListHumanTaskUisOutput, error) {
8283	req, out := c.ListHumanTaskUisRequest(input)
8284	return out, req.Send()
8285}
8286
8287// ListHumanTaskUisWithContext is the same as ListHumanTaskUis with the addition of
8288// the ability to pass a context and additional request options.
8289//
8290// See ListHumanTaskUis for details on how to use this API operation.
8291//
8292// The context must be non-nil and will be used for request cancellation. If
8293// the context is nil a panic will occur. In the future the SDK may create
8294// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8295// for more information on using Contexts.
8296func (c *SageMaker) ListHumanTaskUisWithContext(ctx aws.Context, input *ListHumanTaskUisInput, opts ...request.Option) (*ListHumanTaskUisOutput, error) {
8297	req, out := c.ListHumanTaskUisRequest(input)
8298	req.SetContext(ctx)
8299	req.ApplyOptions(opts...)
8300	return out, req.Send()
8301}
8302
8303// ListHumanTaskUisPages iterates over the pages of a ListHumanTaskUis operation,
8304// calling the "fn" function with the response data for each page. To stop
8305// iterating, return false from the fn function.
8306//
8307// See ListHumanTaskUis method for more information on how to use this operation.
8308//
8309// Note: This operation can generate multiple requests to a service.
8310//
8311//    // Example iterating over at most 3 pages of a ListHumanTaskUis operation.
8312//    pageNum := 0
8313//    err := client.ListHumanTaskUisPages(params,
8314//        func(page *sagemaker.ListHumanTaskUisOutput, lastPage bool) bool {
8315//            pageNum++
8316//            fmt.Println(page)
8317//            return pageNum <= 3
8318//        })
8319//
8320func (c *SageMaker) ListHumanTaskUisPages(input *ListHumanTaskUisInput, fn func(*ListHumanTaskUisOutput, bool) bool) error {
8321	return c.ListHumanTaskUisPagesWithContext(aws.BackgroundContext(), input, fn)
8322}
8323
8324// ListHumanTaskUisPagesWithContext same as ListHumanTaskUisPages except
8325// it takes a Context and allows setting request options on the pages.
8326//
8327// The context must be non-nil and will be used for request cancellation. If
8328// the context is nil a panic will occur. In the future the SDK may create
8329// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8330// for more information on using Contexts.
8331func (c *SageMaker) ListHumanTaskUisPagesWithContext(ctx aws.Context, input *ListHumanTaskUisInput, fn func(*ListHumanTaskUisOutput, bool) bool, opts ...request.Option) error {
8332	p := request.Pagination{
8333		NewRequest: func() (*request.Request, error) {
8334			var inCpy *ListHumanTaskUisInput
8335			if input != nil {
8336				tmp := *input
8337				inCpy = &tmp
8338			}
8339			req, _ := c.ListHumanTaskUisRequest(inCpy)
8340			req.SetContext(ctx)
8341			req.ApplyOptions(opts...)
8342			return req, nil
8343		},
8344	}
8345
8346	for p.Next() {
8347		if !fn(p.Page().(*ListHumanTaskUisOutput), !p.HasNextPage()) {
8348			break
8349		}
8350	}
8351
8352	return p.Err()
8353}
8354
8355const opListHyperParameterTuningJobs = "ListHyperParameterTuningJobs"
8356
8357// ListHyperParameterTuningJobsRequest generates a "aws/request.Request" representing the
8358// client's request for the ListHyperParameterTuningJobs operation. The "output" return
8359// value will be populated with the request's response once the request completes
8360// successfully.
8361//
8362// Use "Send" method on the returned Request to send the API call to the service.
8363// the "output" return value is not valid until after Send returns without error.
8364//
8365// See ListHyperParameterTuningJobs for more information on using the ListHyperParameterTuningJobs
8366// API call, and error handling.
8367//
8368// This method is useful when you want to inject custom logic or configuration
8369// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8370//
8371//
8372//    // Example sending a request using the ListHyperParameterTuningJobsRequest method.
8373//    req, resp := client.ListHyperParameterTuningJobsRequest(params)
8374//
8375//    err := req.Send()
8376//    if err == nil { // resp is now filled
8377//        fmt.Println(resp)
8378//    }
8379//
8380// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHyperParameterTuningJobs
8381func (c *SageMaker) ListHyperParameterTuningJobsRequest(input *ListHyperParameterTuningJobsInput) (req *request.Request, output *ListHyperParameterTuningJobsOutput) {
8382	op := &request.Operation{
8383		Name:       opListHyperParameterTuningJobs,
8384		HTTPMethod: "POST",
8385		HTTPPath:   "/",
8386		Paginator: &request.Paginator{
8387			InputTokens:     []string{"NextToken"},
8388			OutputTokens:    []string{"NextToken"},
8389			LimitToken:      "MaxResults",
8390			TruncationToken: "",
8391		},
8392	}
8393
8394	if input == nil {
8395		input = &ListHyperParameterTuningJobsInput{}
8396	}
8397
8398	output = &ListHyperParameterTuningJobsOutput{}
8399	req = c.newRequest(op, input, output)
8400	return
8401}
8402
8403// ListHyperParameterTuningJobs API operation for Amazon SageMaker Service.
8404//
8405// Gets a list of HyperParameterTuningJobSummary objects that describe the hyperparameter
8406// tuning jobs launched in your account.
8407//
8408// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8409// with awserr.Error's Code and Message methods to get detailed information about
8410// the error.
8411//
8412// See the AWS API reference guide for Amazon SageMaker Service's
8413// API operation ListHyperParameterTuningJobs for usage and error information.
8414// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHyperParameterTuningJobs
8415func (c *SageMaker) ListHyperParameterTuningJobs(input *ListHyperParameterTuningJobsInput) (*ListHyperParameterTuningJobsOutput, error) {
8416	req, out := c.ListHyperParameterTuningJobsRequest(input)
8417	return out, req.Send()
8418}
8419
8420// ListHyperParameterTuningJobsWithContext is the same as ListHyperParameterTuningJobs with the addition of
8421// the ability to pass a context and additional request options.
8422//
8423// See ListHyperParameterTuningJobs for details on how to use this API operation.
8424//
8425// The context must be non-nil and will be used for request cancellation. If
8426// the context is nil a panic will occur. In the future the SDK may create
8427// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8428// for more information on using Contexts.
8429func (c *SageMaker) ListHyperParameterTuningJobsWithContext(ctx aws.Context, input *ListHyperParameterTuningJobsInput, opts ...request.Option) (*ListHyperParameterTuningJobsOutput, error) {
8430	req, out := c.ListHyperParameterTuningJobsRequest(input)
8431	req.SetContext(ctx)
8432	req.ApplyOptions(opts...)
8433	return out, req.Send()
8434}
8435
8436// ListHyperParameterTuningJobsPages iterates over the pages of a ListHyperParameterTuningJobs operation,
8437// calling the "fn" function with the response data for each page. To stop
8438// iterating, return false from the fn function.
8439//
8440// See ListHyperParameterTuningJobs method for more information on how to use this operation.
8441//
8442// Note: This operation can generate multiple requests to a service.
8443//
8444//    // Example iterating over at most 3 pages of a ListHyperParameterTuningJobs operation.
8445//    pageNum := 0
8446//    err := client.ListHyperParameterTuningJobsPages(params,
8447//        func(page *sagemaker.ListHyperParameterTuningJobsOutput, lastPage bool) bool {
8448//            pageNum++
8449//            fmt.Println(page)
8450//            return pageNum <= 3
8451//        })
8452//
8453func (c *SageMaker) ListHyperParameterTuningJobsPages(input *ListHyperParameterTuningJobsInput, fn func(*ListHyperParameterTuningJobsOutput, bool) bool) error {
8454	return c.ListHyperParameterTuningJobsPagesWithContext(aws.BackgroundContext(), input, fn)
8455}
8456
8457// ListHyperParameterTuningJobsPagesWithContext same as ListHyperParameterTuningJobsPages except
8458// it takes a Context and allows setting request options on the pages.
8459//
8460// The context must be non-nil and will be used for request cancellation. If
8461// the context is nil a panic will occur. In the future the SDK may create
8462// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8463// for more information on using Contexts.
8464func (c *SageMaker) ListHyperParameterTuningJobsPagesWithContext(ctx aws.Context, input *ListHyperParameterTuningJobsInput, fn func(*ListHyperParameterTuningJobsOutput, bool) bool, opts ...request.Option) error {
8465	p := request.Pagination{
8466		NewRequest: func() (*request.Request, error) {
8467			var inCpy *ListHyperParameterTuningJobsInput
8468			if input != nil {
8469				tmp := *input
8470				inCpy = &tmp
8471			}
8472			req, _ := c.ListHyperParameterTuningJobsRequest(inCpy)
8473			req.SetContext(ctx)
8474			req.ApplyOptions(opts...)
8475			return req, nil
8476		},
8477	}
8478
8479	for p.Next() {
8480		if !fn(p.Page().(*ListHyperParameterTuningJobsOutput), !p.HasNextPage()) {
8481			break
8482		}
8483	}
8484
8485	return p.Err()
8486}
8487
8488const opListLabelingJobs = "ListLabelingJobs"
8489
8490// ListLabelingJobsRequest generates a "aws/request.Request" representing the
8491// client's request for the ListLabelingJobs operation. The "output" return
8492// value will be populated with the request's response once the request completes
8493// successfully.
8494//
8495// Use "Send" method on the returned Request to send the API call to the service.
8496// the "output" return value is not valid until after Send returns without error.
8497//
8498// See ListLabelingJobs for more information on using the ListLabelingJobs
8499// API call, and error handling.
8500//
8501// This method is useful when you want to inject custom logic or configuration
8502// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8503//
8504//
8505//    // Example sending a request using the ListLabelingJobsRequest method.
8506//    req, resp := client.ListLabelingJobsRequest(params)
8507//
8508//    err := req.Send()
8509//    if err == nil { // resp is now filled
8510//        fmt.Println(resp)
8511//    }
8512//
8513// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobs
8514func (c *SageMaker) ListLabelingJobsRequest(input *ListLabelingJobsInput) (req *request.Request, output *ListLabelingJobsOutput) {
8515	op := &request.Operation{
8516		Name:       opListLabelingJobs,
8517		HTTPMethod: "POST",
8518		HTTPPath:   "/",
8519		Paginator: &request.Paginator{
8520			InputTokens:     []string{"NextToken"},
8521			OutputTokens:    []string{"NextToken"},
8522			LimitToken:      "MaxResults",
8523			TruncationToken: "",
8524		},
8525	}
8526
8527	if input == nil {
8528		input = &ListLabelingJobsInput{}
8529	}
8530
8531	output = &ListLabelingJobsOutput{}
8532	req = c.newRequest(op, input, output)
8533	return
8534}
8535
8536// ListLabelingJobs API operation for Amazon SageMaker Service.
8537//
8538// Gets a list of labeling jobs.
8539//
8540// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8541// with awserr.Error's Code and Message methods to get detailed information about
8542// the error.
8543//
8544// See the AWS API reference guide for Amazon SageMaker Service's
8545// API operation ListLabelingJobs for usage and error information.
8546// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobs
8547func (c *SageMaker) ListLabelingJobs(input *ListLabelingJobsInput) (*ListLabelingJobsOutput, error) {
8548	req, out := c.ListLabelingJobsRequest(input)
8549	return out, req.Send()
8550}
8551
8552// ListLabelingJobsWithContext is the same as ListLabelingJobs with the addition of
8553// the ability to pass a context and additional request options.
8554//
8555// See ListLabelingJobs for details on how to use this API operation.
8556//
8557// The context must be non-nil and will be used for request cancellation. If
8558// the context is nil a panic will occur. In the future the SDK may create
8559// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8560// for more information on using Contexts.
8561func (c *SageMaker) ListLabelingJobsWithContext(ctx aws.Context, input *ListLabelingJobsInput, opts ...request.Option) (*ListLabelingJobsOutput, error) {
8562	req, out := c.ListLabelingJobsRequest(input)
8563	req.SetContext(ctx)
8564	req.ApplyOptions(opts...)
8565	return out, req.Send()
8566}
8567
8568// ListLabelingJobsPages iterates over the pages of a ListLabelingJobs operation,
8569// calling the "fn" function with the response data for each page. To stop
8570// iterating, return false from the fn function.
8571//
8572// See ListLabelingJobs method for more information on how to use this operation.
8573//
8574// Note: This operation can generate multiple requests to a service.
8575//
8576//    // Example iterating over at most 3 pages of a ListLabelingJobs operation.
8577//    pageNum := 0
8578//    err := client.ListLabelingJobsPages(params,
8579//        func(page *sagemaker.ListLabelingJobsOutput, lastPage bool) bool {
8580//            pageNum++
8581//            fmt.Println(page)
8582//            return pageNum <= 3
8583//        })
8584//
8585func (c *SageMaker) ListLabelingJobsPages(input *ListLabelingJobsInput, fn func(*ListLabelingJobsOutput, bool) bool) error {
8586	return c.ListLabelingJobsPagesWithContext(aws.BackgroundContext(), input, fn)
8587}
8588
8589// ListLabelingJobsPagesWithContext same as ListLabelingJobsPages except
8590// it takes a Context and allows setting request options on the pages.
8591//
8592// The context must be non-nil and will be used for request cancellation. If
8593// the context is nil a panic will occur. In the future the SDK may create
8594// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8595// for more information on using Contexts.
8596func (c *SageMaker) ListLabelingJobsPagesWithContext(ctx aws.Context, input *ListLabelingJobsInput, fn func(*ListLabelingJobsOutput, bool) bool, opts ...request.Option) error {
8597	p := request.Pagination{
8598		NewRequest: func() (*request.Request, error) {
8599			var inCpy *ListLabelingJobsInput
8600			if input != nil {
8601				tmp := *input
8602				inCpy = &tmp
8603			}
8604			req, _ := c.ListLabelingJobsRequest(inCpy)
8605			req.SetContext(ctx)
8606			req.ApplyOptions(opts...)
8607			return req, nil
8608		},
8609	}
8610
8611	for p.Next() {
8612		if !fn(p.Page().(*ListLabelingJobsOutput), !p.HasNextPage()) {
8613			break
8614		}
8615	}
8616
8617	return p.Err()
8618}
8619
8620const opListLabelingJobsForWorkteam = "ListLabelingJobsForWorkteam"
8621
8622// ListLabelingJobsForWorkteamRequest generates a "aws/request.Request" representing the
8623// client's request for the ListLabelingJobsForWorkteam operation. The "output" return
8624// value will be populated with the request's response once the request completes
8625// successfully.
8626//
8627// Use "Send" method on the returned Request to send the API call to the service.
8628// the "output" return value is not valid until after Send returns without error.
8629//
8630// See ListLabelingJobsForWorkteam for more information on using the ListLabelingJobsForWorkteam
8631// API call, and error handling.
8632//
8633// This method is useful when you want to inject custom logic or configuration
8634// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8635//
8636//
8637//    // Example sending a request using the ListLabelingJobsForWorkteamRequest method.
8638//    req, resp := client.ListLabelingJobsForWorkteamRequest(params)
8639//
8640//    err := req.Send()
8641//    if err == nil { // resp is now filled
8642//        fmt.Println(resp)
8643//    }
8644//
8645// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobsForWorkteam
8646func (c *SageMaker) ListLabelingJobsForWorkteamRequest(input *ListLabelingJobsForWorkteamInput) (req *request.Request, output *ListLabelingJobsForWorkteamOutput) {
8647	op := &request.Operation{
8648		Name:       opListLabelingJobsForWorkteam,
8649		HTTPMethod: "POST",
8650		HTTPPath:   "/",
8651		Paginator: &request.Paginator{
8652			InputTokens:     []string{"NextToken"},
8653			OutputTokens:    []string{"NextToken"},
8654			LimitToken:      "MaxResults",
8655			TruncationToken: "",
8656		},
8657	}
8658
8659	if input == nil {
8660		input = &ListLabelingJobsForWorkteamInput{}
8661	}
8662
8663	output = &ListLabelingJobsForWorkteamOutput{}
8664	req = c.newRequest(op, input, output)
8665	return
8666}
8667
8668// ListLabelingJobsForWorkteam API operation for Amazon SageMaker Service.
8669//
8670// Gets a list of labeling jobs assigned to a specified work team.
8671//
8672// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8673// with awserr.Error's Code and Message methods to get detailed information about
8674// the error.
8675//
8676// See the AWS API reference guide for Amazon SageMaker Service's
8677// API operation ListLabelingJobsForWorkteam for usage and error information.
8678//
8679// Returned Error Types:
8680//   * ResourceNotFound
8681//   Resource being access is not found.
8682//
8683// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobsForWorkteam
8684func (c *SageMaker) ListLabelingJobsForWorkteam(input *ListLabelingJobsForWorkteamInput) (*ListLabelingJobsForWorkteamOutput, error) {
8685	req, out := c.ListLabelingJobsForWorkteamRequest(input)
8686	return out, req.Send()
8687}
8688
8689// ListLabelingJobsForWorkteamWithContext is the same as ListLabelingJobsForWorkteam with the addition of
8690// the ability to pass a context and additional request options.
8691//
8692// See ListLabelingJobsForWorkteam for details on how to use this API operation.
8693//
8694// The context must be non-nil and will be used for request cancellation. If
8695// the context is nil a panic will occur. In the future the SDK may create
8696// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8697// for more information on using Contexts.
8698func (c *SageMaker) ListLabelingJobsForWorkteamWithContext(ctx aws.Context, input *ListLabelingJobsForWorkteamInput, opts ...request.Option) (*ListLabelingJobsForWorkteamOutput, error) {
8699	req, out := c.ListLabelingJobsForWorkteamRequest(input)
8700	req.SetContext(ctx)
8701	req.ApplyOptions(opts...)
8702	return out, req.Send()
8703}
8704
8705// ListLabelingJobsForWorkteamPages iterates over the pages of a ListLabelingJobsForWorkteam operation,
8706// calling the "fn" function with the response data for each page. To stop
8707// iterating, return false from the fn function.
8708//
8709// See ListLabelingJobsForWorkteam method for more information on how to use this operation.
8710//
8711// Note: This operation can generate multiple requests to a service.
8712//
8713//    // Example iterating over at most 3 pages of a ListLabelingJobsForWorkteam operation.
8714//    pageNum := 0
8715//    err := client.ListLabelingJobsForWorkteamPages(params,
8716//        func(page *sagemaker.ListLabelingJobsForWorkteamOutput, lastPage bool) bool {
8717//            pageNum++
8718//            fmt.Println(page)
8719//            return pageNum <= 3
8720//        })
8721//
8722func (c *SageMaker) ListLabelingJobsForWorkteamPages(input *ListLabelingJobsForWorkteamInput, fn func(*ListLabelingJobsForWorkteamOutput, bool) bool) error {
8723	return c.ListLabelingJobsForWorkteamPagesWithContext(aws.BackgroundContext(), input, fn)
8724}
8725
8726// ListLabelingJobsForWorkteamPagesWithContext same as ListLabelingJobsForWorkteamPages except
8727// it takes a Context and allows setting request options on the pages.
8728//
8729// The context must be non-nil and will be used for request cancellation. If
8730// the context is nil a panic will occur. In the future the SDK may create
8731// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8732// for more information on using Contexts.
8733func (c *SageMaker) ListLabelingJobsForWorkteamPagesWithContext(ctx aws.Context, input *ListLabelingJobsForWorkteamInput, fn func(*ListLabelingJobsForWorkteamOutput, bool) bool, opts ...request.Option) error {
8734	p := request.Pagination{
8735		NewRequest: func() (*request.Request, error) {
8736			var inCpy *ListLabelingJobsForWorkteamInput
8737			if input != nil {
8738				tmp := *input
8739				inCpy = &tmp
8740			}
8741			req, _ := c.ListLabelingJobsForWorkteamRequest(inCpy)
8742			req.SetContext(ctx)
8743			req.ApplyOptions(opts...)
8744			return req, nil
8745		},
8746	}
8747
8748	for p.Next() {
8749		if !fn(p.Page().(*ListLabelingJobsForWorkteamOutput), !p.HasNextPage()) {
8750			break
8751		}
8752	}
8753
8754	return p.Err()
8755}
8756
8757const opListModelPackages = "ListModelPackages"
8758
8759// ListModelPackagesRequest generates a "aws/request.Request" representing the
8760// client's request for the ListModelPackages operation. The "output" return
8761// value will be populated with the request's response once the request completes
8762// successfully.
8763//
8764// Use "Send" method on the returned Request to send the API call to the service.
8765// the "output" return value is not valid until after Send returns without error.
8766//
8767// See ListModelPackages for more information on using the ListModelPackages
8768// API call, and error handling.
8769//
8770// This method is useful when you want to inject custom logic or configuration
8771// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8772//
8773//
8774//    // Example sending a request using the ListModelPackagesRequest method.
8775//    req, resp := client.ListModelPackagesRequest(params)
8776//
8777//    err := req.Send()
8778//    if err == nil { // resp is now filled
8779//        fmt.Println(resp)
8780//    }
8781//
8782// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelPackages
8783func (c *SageMaker) ListModelPackagesRequest(input *ListModelPackagesInput) (req *request.Request, output *ListModelPackagesOutput) {
8784	op := &request.Operation{
8785		Name:       opListModelPackages,
8786		HTTPMethod: "POST",
8787		HTTPPath:   "/",
8788		Paginator: &request.Paginator{
8789			InputTokens:     []string{"NextToken"},
8790			OutputTokens:    []string{"NextToken"},
8791			LimitToken:      "MaxResults",
8792			TruncationToken: "",
8793		},
8794	}
8795
8796	if input == nil {
8797		input = &ListModelPackagesInput{}
8798	}
8799
8800	output = &ListModelPackagesOutput{}
8801	req = c.newRequest(op, input, output)
8802	return
8803}
8804
8805// ListModelPackages API operation for Amazon SageMaker Service.
8806//
8807// Lists the model packages that have been created.
8808//
8809// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8810// with awserr.Error's Code and Message methods to get detailed information about
8811// the error.
8812//
8813// See the AWS API reference guide for Amazon SageMaker Service's
8814// API operation ListModelPackages for usage and error information.
8815// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelPackages
8816func (c *SageMaker) ListModelPackages(input *ListModelPackagesInput) (*ListModelPackagesOutput, error) {
8817	req, out := c.ListModelPackagesRequest(input)
8818	return out, req.Send()
8819}
8820
8821// ListModelPackagesWithContext is the same as ListModelPackages with the addition of
8822// the ability to pass a context and additional request options.
8823//
8824// See ListModelPackages for details on how to use this API operation.
8825//
8826// The context must be non-nil and will be used for request cancellation. If
8827// the context is nil a panic will occur. In the future the SDK may create
8828// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8829// for more information on using Contexts.
8830func (c *SageMaker) ListModelPackagesWithContext(ctx aws.Context, input *ListModelPackagesInput, opts ...request.Option) (*ListModelPackagesOutput, error) {
8831	req, out := c.ListModelPackagesRequest(input)
8832	req.SetContext(ctx)
8833	req.ApplyOptions(opts...)
8834	return out, req.Send()
8835}
8836
8837// ListModelPackagesPages iterates over the pages of a ListModelPackages operation,
8838// calling the "fn" function with the response data for each page. To stop
8839// iterating, return false from the fn function.
8840//
8841// See ListModelPackages method for more information on how to use this operation.
8842//
8843// Note: This operation can generate multiple requests to a service.
8844//
8845//    // Example iterating over at most 3 pages of a ListModelPackages operation.
8846//    pageNum := 0
8847//    err := client.ListModelPackagesPages(params,
8848//        func(page *sagemaker.ListModelPackagesOutput, lastPage bool) bool {
8849//            pageNum++
8850//            fmt.Println(page)
8851//            return pageNum <= 3
8852//        })
8853//
8854func (c *SageMaker) ListModelPackagesPages(input *ListModelPackagesInput, fn func(*ListModelPackagesOutput, bool) bool) error {
8855	return c.ListModelPackagesPagesWithContext(aws.BackgroundContext(), input, fn)
8856}
8857
8858// ListModelPackagesPagesWithContext same as ListModelPackagesPages except
8859// it takes a Context and allows setting request options on the pages.
8860//
8861// The context must be non-nil and will be used for request cancellation. If
8862// the context is nil a panic will occur. In the future the SDK may create
8863// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8864// for more information on using Contexts.
8865func (c *SageMaker) ListModelPackagesPagesWithContext(ctx aws.Context, input *ListModelPackagesInput, fn func(*ListModelPackagesOutput, bool) bool, opts ...request.Option) error {
8866	p := request.Pagination{
8867		NewRequest: func() (*request.Request, error) {
8868			var inCpy *ListModelPackagesInput
8869			if input != nil {
8870				tmp := *input
8871				inCpy = &tmp
8872			}
8873			req, _ := c.ListModelPackagesRequest(inCpy)
8874			req.SetContext(ctx)
8875			req.ApplyOptions(opts...)
8876			return req, nil
8877		},
8878	}
8879
8880	for p.Next() {
8881		if !fn(p.Page().(*ListModelPackagesOutput), !p.HasNextPage()) {
8882			break
8883		}
8884	}
8885
8886	return p.Err()
8887}
8888
8889const opListModels = "ListModels"
8890
8891// ListModelsRequest generates a "aws/request.Request" representing the
8892// client's request for the ListModels operation. The "output" return
8893// value will be populated with the request's response once the request completes
8894// successfully.
8895//
8896// Use "Send" method on the returned Request to send the API call to the service.
8897// the "output" return value is not valid until after Send returns without error.
8898//
8899// See ListModels for more information on using the ListModels
8900// API call, and error handling.
8901//
8902// This method is useful when you want to inject custom logic or configuration
8903// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8904//
8905//
8906//    // Example sending a request using the ListModelsRequest method.
8907//    req, resp := client.ListModelsRequest(params)
8908//
8909//    err := req.Send()
8910//    if err == nil { // resp is now filled
8911//        fmt.Println(resp)
8912//    }
8913//
8914// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModels
8915func (c *SageMaker) ListModelsRequest(input *ListModelsInput) (req *request.Request, output *ListModelsOutput) {
8916	op := &request.Operation{
8917		Name:       opListModels,
8918		HTTPMethod: "POST",
8919		HTTPPath:   "/",
8920		Paginator: &request.Paginator{
8921			InputTokens:     []string{"NextToken"},
8922			OutputTokens:    []string{"NextToken"},
8923			LimitToken:      "MaxResults",
8924			TruncationToken: "",
8925		},
8926	}
8927
8928	if input == nil {
8929		input = &ListModelsInput{}
8930	}
8931
8932	output = &ListModelsOutput{}
8933	req = c.newRequest(op, input, output)
8934	return
8935}
8936
8937// ListModels API operation for Amazon SageMaker Service.
8938//
8939// Lists models created with the CreateModel API.
8940//
8941// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8942// with awserr.Error's Code and Message methods to get detailed information about
8943// the error.
8944//
8945// See the AWS API reference guide for Amazon SageMaker Service's
8946// API operation ListModels for usage and error information.
8947// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModels
8948func (c *SageMaker) ListModels(input *ListModelsInput) (*ListModelsOutput, error) {
8949	req, out := c.ListModelsRequest(input)
8950	return out, req.Send()
8951}
8952
8953// ListModelsWithContext is the same as ListModels with the addition of
8954// the ability to pass a context and additional request options.
8955//
8956// See ListModels for details on how to use this API operation.
8957//
8958// The context must be non-nil and will be used for request cancellation. If
8959// the context is nil a panic will occur. In the future the SDK may create
8960// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8961// for more information on using Contexts.
8962func (c *SageMaker) ListModelsWithContext(ctx aws.Context, input *ListModelsInput, opts ...request.Option) (*ListModelsOutput, error) {
8963	req, out := c.ListModelsRequest(input)
8964	req.SetContext(ctx)
8965	req.ApplyOptions(opts...)
8966	return out, req.Send()
8967}
8968
8969// ListModelsPages iterates over the pages of a ListModels operation,
8970// calling the "fn" function with the response data for each page. To stop
8971// iterating, return false from the fn function.
8972//
8973// See ListModels method for more information on how to use this operation.
8974//
8975// Note: This operation can generate multiple requests to a service.
8976//
8977//    // Example iterating over at most 3 pages of a ListModels operation.
8978//    pageNum := 0
8979//    err := client.ListModelsPages(params,
8980//        func(page *sagemaker.ListModelsOutput, lastPage bool) bool {
8981//            pageNum++
8982//            fmt.Println(page)
8983//            return pageNum <= 3
8984//        })
8985//
8986func (c *SageMaker) ListModelsPages(input *ListModelsInput, fn func(*ListModelsOutput, bool) bool) error {
8987	return c.ListModelsPagesWithContext(aws.BackgroundContext(), input, fn)
8988}
8989
8990// ListModelsPagesWithContext same as ListModelsPages except
8991// it takes a Context and allows setting request options on the pages.
8992//
8993// The context must be non-nil and will be used for request cancellation. If
8994// the context is nil a panic will occur. In the future the SDK may create
8995// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8996// for more information on using Contexts.
8997func (c *SageMaker) ListModelsPagesWithContext(ctx aws.Context, input *ListModelsInput, fn func(*ListModelsOutput, bool) bool, opts ...request.Option) error {
8998	p := request.Pagination{
8999		NewRequest: func() (*request.Request, error) {
9000			var inCpy *ListModelsInput
9001			if input != nil {
9002				tmp := *input
9003				inCpy = &tmp
9004			}
9005			req, _ := c.ListModelsRequest(inCpy)
9006			req.SetContext(ctx)
9007			req.ApplyOptions(opts...)
9008			return req, nil
9009		},
9010	}
9011
9012	for p.Next() {
9013		if !fn(p.Page().(*ListModelsOutput), !p.HasNextPage()) {
9014			break
9015		}
9016	}
9017
9018	return p.Err()
9019}
9020
9021const opListMonitoringExecutions = "ListMonitoringExecutions"
9022
9023// ListMonitoringExecutionsRequest generates a "aws/request.Request" representing the
9024// client's request for the ListMonitoringExecutions operation. The "output" return
9025// value will be populated with the request's response once the request completes
9026// successfully.
9027//
9028// Use "Send" method on the returned Request to send the API call to the service.
9029// the "output" return value is not valid until after Send returns without error.
9030//
9031// See ListMonitoringExecutions for more information on using the ListMonitoringExecutions
9032// API call, and error handling.
9033//
9034// This method is useful when you want to inject custom logic or configuration
9035// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9036//
9037//
9038//    // Example sending a request using the ListMonitoringExecutionsRequest method.
9039//    req, resp := client.ListMonitoringExecutionsRequest(params)
9040//
9041//    err := req.Send()
9042//    if err == nil { // resp is now filled
9043//        fmt.Println(resp)
9044//    }
9045//
9046// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListMonitoringExecutions
9047func (c *SageMaker) ListMonitoringExecutionsRequest(input *ListMonitoringExecutionsInput) (req *request.Request, output *ListMonitoringExecutionsOutput) {
9048	op := &request.Operation{
9049		Name:       opListMonitoringExecutions,
9050		HTTPMethod: "POST",
9051		HTTPPath:   "/",
9052		Paginator: &request.Paginator{
9053			InputTokens:     []string{"NextToken"},
9054			OutputTokens:    []string{"NextToken"},
9055			LimitToken:      "MaxResults",
9056			TruncationToken: "",
9057		},
9058	}
9059
9060	if input == nil {
9061		input = &ListMonitoringExecutionsInput{}
9062	}
9063
9064	output = &ListMonitoringExecutionsOutput{}
9065	req = c.newRequest(op, input, output)
9066	return
9067}
9068
9069// ListMonitoringExecutions API operation for Amazon SageMaker Service.
9070//
9071// Returns list of all monitoring job executions.
9072//
9073// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9074// with awserr.Error's Code and Message methods to get detailed information about
9075// the error.
9076//
9077// See the AWS API reference guide for Amazon SageMaker Service's
9078// API operation ListMonitoringExecutions for usage and error information.
9079// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListMonitoringExecutions
9080func (c *SageMaker) ListMonitoringExecutions(input *ListMonitoringExecutionsInput) (*ListMonitoringExecutionsOutput, error) {
9081	req, out := c.ListMonitoringExecutionsRequest(input)
9082	return out, req.Send()
9083}
9084
9085// ListMonitoringExecutionsWithContext is the same as ListMonitoringExecutions with the addition of
9086// the ability to pass a context and additional request options.
9087//
9088// See ListMonitoringExecutions for details on how to use this API operation.
9089//
9090// The context must be non-nil and will be used for request cancellation. If
9091// the context is nil a panic will occur. In the future the SDK may create
9092// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9093// for more information on using Contexts.
9094func (c *SageMaker) ListMonitoringExecutionsWithContext(ctx aws.Context, input *ListMonitoringExecutionsInput, opts ...request.Option) (*ListMonitoringExecutionsOutput, error) {
9095	req, out := c.ListMonitoringExecutionsRequest(input)
9096	req.SetContext(ctx)
9097	req.ApplyOptions(opts...)
9098	return out, req.Send()
9099}
9100
9101// ListMonitoringExecutionsPages iterates over the pages of a ListMonitoringExecutions operation,
9102// calling the "fn" function with the response data for each page. To stop
9103// iterating, return false from the fn function.
9104//
9105// See ListMonitoringExecutions method for more information on how to use this operation.
9106//
9107// Note: This operation can generate multiple requests to a service.
9108//
9109//    // Example iterating over at most 3 pages of a ListMonitoringExecutions operation.
9110//    pageNum := 0
9111//    err := client.ListMonitoringExecutionsPages(params,
9112//        func(page *sagemaker.ListMonitoringExecutionsOutput, lastPage bool) bool {
9113//            pageNum++
9114//            fmt.Println(page)
9115//            return pageNum <= 3
9116//        })
9117//
9118func (c *SageMaker) ListMonitoringExecutionsPages(input *ListMonitoringExecutionsInput, fn func(*ListMonitoringExecutionsOutput, bool) bool) error {
9119	return c.ListMonitoringExecutionsPagesWithContext(aws.BackgroundContext(), input, fn)
9120}
9121
9122// ListMonitoringExecutionsPagesWithContext same as ListMonitoringExecutionsPages except
9123// it takes a Context and allows setting request options on the pages.
9124//
9125// The context must be non-nil and will be used for request cancellation. If
9126// the context is nil a panic will occur. In the future the SDK may create
9127// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9128// for more information on using Contexts.
9129func (c *SageMaker) ListMonitoringExecutionsPagesWithContext(ctx aws.Context, input *ListMonitoringExecutionsInput, fn func(*ListMonitoringExecutionsOutput, bool) bool, opts ...request.Option) error {
9130	p := request.Pagination{
9131		NewRequest: func() (*request.Request, error) {
9132			var inCpy *ListMonitoringExecutionsInput
9133			if input != nil {
9134				tmp := *input
9135				inCpy = &tmp
9136			}
9137			req, _ := c.ListMonitoringExecutionsRequest(inCpy)
9138			req.SetContext(ctx)
9139			req.ApplyOptions(opts...)
9140			return req, nil
9141		},
9142	}
9143
9144	for p.Next() {
9145		if !fn(p.Page().(*ListMonitoringExecutionsOutput), !p.HasNextPage()) {
9146			break
9147		}
9148	}
9149
9150	return p.Err()
9151}
9152
9153const opListMonitoringSchedules = "ListMonitoringSchedules"
9154
9155// ListMonitoringSchedulesRequest generates a "aws/request.Request" representing the
9156// client's request for the ListMonitoringSchedules operation. The "output" return
9157// value will be populated with the request's response once the request completes
9158// successfully.
9159//
9160// Use "Send" method on the returned Request to send the API call to the service.
9161// the "output" return value is not valid until after Send returns without error.
9162//
9163// See ListMonitoringSchedules for more information on using the ListMonitoringSchedules
9164// API call, and error handling.
9165//
9166// This method is useful when you want to inject custom logic or configuration
9167// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9168//
9169//
9170//    // Example sending a request using the ListMonitoringSchedulesRequest method.
9171//    req, resp := client.ListMonitoringSchedulesRequest(params)
9172//
9173//    err := req.Send()
9174//    if err == nil { // resp is now filled
9175//        fmt.Println(resp)
9176//    }
9177//
9178// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListMonitoringSchedules
9179func (c *SageMaker) ListMonitoringSchedulesRequest(input *ListMonitoringSchedulesInput) (req *request.Request, output *ListMonitoringSchedulesOutput) {
9180	op := &request.Operation{
9181		Name:       opListMonitoringSchedules,
9182		HTTPMethod: "POST",
9183		HTTPPath:   "/",
9184		Paginator: &request.Paginator{
9185			InputTokens:     []string{"NextToken"},
9186			OutputTokens:    []string{"NextToken"},
9187			LimitToken:      "MaxResults",
9188			TruncationToken: "",
9189		},
9190	}
9191
9192	if input == nil {
9193		input = &ListMonitoringSchedulesInput{}
9194	}
9195
9196	output = &ListMonitoringSchedulesOutput{}
9197	req = c.newRequest(op, input, output)
9198	return
9199}
9200
9201// ListMonitoringSchedules API operation for Amazon SageMaker Service.
9202//
9203// Returns list of all monitoring schedules.
9204//
9205// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9206// with awserr.Error's Code and Message methods to get detailed information about
9207// the error.
9208//
9209// See the AWS API reference guide for Amazon SageMaker Service's
9210// API operation ListMonitoringSchedules for usage and error information.
9211// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListMonitoringSchedules
9212func (c *SageMaker) ListMonitoringSchedules(input *ListMonitoringSchedulesInput) (*ListMonitoringSchedulesOutput, error) {
9213	req, out := c.ListMonitoringSchedulesRequest(input)
9214	return out, req.Send()
9215}
9216
9217// ListMonitoringSchedulesWithContext is the same as ListMonitoringSchedules with the addition of
9218// the ability to pass a context and additional request options.
9219//
9220// See ListMonitoringSchedules for details on how to use this API operation.
9221//
9222// The context must be non-nil and will be used for request cancellation. If
9223// the context is nil a panic will occur. In the future the SDK may create
9224// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9225// for more information on using Contexts.
9226func (c *SageMaker) ListMonitoringSchedulesWithContext(ctx aws.Context, input *ListMonitoringSchedulesInput, opts ...request.Option) (*ListMonitoringSchedulesOutput, error) {
9227	req, out := c.ListMonitoringSchedulesRequest(input)
9228	req.SetContext(ctx)
9229	req.ApplyOptions(opts...)
9230	return out, req.Send()
9231}
9232
9233// ListMonitoringSchedulesPages iterates over the pages of a ListMonitoringSchedules operation,
9234// calling the "fn" function with the response data for each page. To stop
9235// iterating, return false from the fn function.
9236//
9237// See ListMonitoringSchedules method for more information on how to use this operation.
9238//
9239// Note: This operation can generate multiple requests to a service.
9240//
9241//    // Example iterating over at most 3 pages of a ListMonitoringSchedules operation.
9242//    pageNum := 0
9243//    err := client.ListMonitoringSchedulesPages(params,
9244//        func(page *sagemaker.ListMonitoringSchedulesOutput, lastPage bool) bool {
9245//            pageNum++
9246//            fmt.Println(page)
9247//            return pageNum <= 3
9248//        })
9249//
9250func (c *SageMaker) ListMonitoringSchedulesPages(input *ListMonitoringSchedulesInput, fn func(*ListMonitoringSchedulesOutput, bool) bool) error {
9251	return c.ListMonitoringSchedulesPagesWithContext(aws.BackgroundContext(), input, fn)
9252}
9253
9254// ListMonitoringSchedulesPagesWithContext same as ListMonitoringSchedulesPages except
9255// it takes a Context and allows setting request options on the pages.
9256//
9257// The context must be non-nil and will be used for request cancellation. If
9258// the context is nil a panic will occur. In the future the SDK may create
9259// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9260// for more information on using Contexts.
9261func (c *SageMaker) ListMonitoringSchedulesPagesWithContext(ctx aws.Context, input *ListMonitoringSchedulesInput, fn func(*ListMonitoringSchedulesOutput, bool) bool, opts ...request.Option) error {
9262	p := request.Pagination{
9263		NewRequest: func() (*request.Request, error) {
9264			var inCpy *ListMonitoringSchedulesInput
9265			if input != nil {
9266				tmp := *input
9267				inCpy = &tmp
9268			}
9269			req, _ := c.ListMonitoringSchedulesRequest(inCpy)
9270			req.SetContext(ctx)
9271			req.ApplyOptions(opts...)
9272			return req, nil
9273		},
9274	}
9275
9276	for p.Next() {
9277		if !fn(p.Page().(*ListMonitoringSchedulesOutput), !p.HasNextPage()) {
9278			break
9279		}
9280	}
9281
9282	return p.Err()
9283}
9284
9285const opListNotebookInstanceLifecycleConfigs = "ListNotebookInstanceLifecycleConfigs"
9286
9287// ListNotebookInstanceLifecycleConfigsRequest generates a "aws/request.Request" representing the
9288// client's request for the ListNotebookInstanceLifecycleConfigs operation. The "output" return
9289// value will be populated with the request's response once the request completes
9290// successfully.
9291//
9292// Use "Send" method on the returned Request to send the API call to the service.
9293// the "output" return value is not valid until after Send returns without error.
9294//
9295// See ListNotebookInstanceLifecycleConfigs for more information on using the ListNotebookInstanceLifecycleConfigs
9296// API call, and error handling.
9297//
9298// This method is useful when you want to inject custom logic or configuration
9299// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9300//
9301//
9302//    // Example sending a request using the ListNotebookInstanceLifecycleConfigsRequest method.
9303//    req, resp := client.ListNotebookInstanceLifecycleConfigsRequest(params)
9304//
9305//    err := req.Send()
9306//    if err == nil { // resp is now filled
9307//        fmt.Println(resp)
9308//    }
9309//
9310// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstanceLifecycleConfigs
9311func (c *SageMaker) ListNotebookInstanceLifecycleConfigsRequest(input *ListNotebookInstanceLifecycleConfigsInput) (req *request.Request, output *ListNotebookInstanceLifecycleConfigsOutput) {
9312	op := &request.Operation{
9313		Name:       opListNotebookInstanceLifecycleConfigs,
9314		HTTPMethod: "POST",
9315		HTTPPath:   "/",
9316		Paginator: &request.Paginator{
9317			InputTokens:     []string{"NextToken"},
9318			OutputTokens:    []string{"NextToken"},
9319			LimitToken:      "MaxResults",
9320			TruncationToken: "",
9321		},
9322	}
9323
9324	if input == nil {
9325		input = &ListNotebookInstanceLifecycleConfigsInput{}
9326	}
9327
9328	output = &ListNotebookInstanceLifecycleConfigsOutput{}
9329	req = c.newRequest(op, input, output)
9330	return
9331}
9332
9333// ListNotebookInstanceLifecycleConfigs API operation for Amazon SageMaker Service.
9334//
9335// Lists notebook instance lifestyle configurations created with the CreateNotebookInstanceLifecycleConfig
9336// API.
9337//
9338// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9339// with awserr.Error's Code and Message methods to get detailed information about
9340// the error.
9341//
9342// See the AWS API reference guide for Amazon SageMaker Service's
9343// API operation ListNotebookInstanceLifecycleConfigs for usage and error information.
9344// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstanceLifecycleConfigs
9345func (c *SageMaker) ListNotebookInstanceLifecycleConfigs(input *ListNotebookInstanceLifecycleConfigsInput) (*ListNotebookInstanceLifecycleConfigsOutput, error) {
9346	req, out := c.ListNotebookInstanceLifecycleConfigsRequest(input)
9347	return out, req.Send()
9348}
9349
9350// ListNotebookInstanceLifecycleConfigsWithContext is the same as ListNotebookInstanceLifecycleConfigs with the addition of
9351// the ability to pass a context and additional request options.
9352//
9353// See ListNotebookInstanceLifecycleConfigs for details on how to use this API operation.
9354//
9355// The context must be non-nil and will be used for request cancellation. If
9356// the context is nil a panic will occur. In the future the SDK may create
9357// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9358// for more information on using Contexts.
9359func (c *SageMaker) ListNotebookInstanceLifecycleConfigsWithContext(ctx aws.Context, input *ListNotebookInstanceLifecycleConfigsInput, opts ...request.Option) (*ListNotebookInstanceLifecycleConfigsOutput, error) {
9360	req, out := c.ListNotebookInstanceLifecycleConfigsRequest(input)
9361	req.SetContext(ctx)
9362	req.ApplyOptions(opts...)
9363	return out, req.Send()
9364}
9365
9366// ListNotebookInstanceLifecycleConfigsPages iterates over the pages of a ListNotebookInstanceLifecycleConfigs operation,
9367// calling the "fn" function with the response data for each page. To stop
9368// iterating, return false from the fn function.
9369//
9370// See ListNotebookInstanceLifecycleConfigs method for more information on how to use this operation.
9371//
9372// Note: This operation can generate multiple requests to a service.
9373//
9374//    // Example iterating over at most 3 pages of a ListNotebookInstanceLifecycleConfigs operation.
9375//    pageNum := 0
9376//    err := client.ListNotebookInstanceLifecycleConfigsPages(params,
9377//        func(page *sagemaker.ListNotebookInstanceLifecycleConfigsOutput, lastPage bool) bool {
9378//            pageNum++
9379//            fmt.Println(page)
9380//            return pageNum <= 3
9381//        })
9382//
9383func (c *SageMaker) ListNotebookInstanceLifecycleConfigsPages(input *ListNotebookInstanceLifecycleConfigsInput, fn func(*ListNotebookInstanceLifecycleConfigsOutput, bool) bool) error {
9384	return c.ListNotebookInstanceLifecycleConfigsPagesWithContext(aws.BackgroundContext(), input, fn)
9385}
9386
9387// ListNotebookInstanceLifecycleConfigsPagesWithContext same as ListNotebookInstanceLifecycleConfigsPages except
9388// it takes a Context and allows setting request options on the pages.
9389//
9390// The context must be non-nil and will be used for request cancellation. If
9391// the context is nil a panic will occur. In the future the SDK may create
9392// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9393// for more information on using Contexts.
9394func (c *SageMaker) ListNotebookInstanceLifecycleConfigsPagesWithContext(ctx aws.Context, input *ListNotebookInstanceLifecycleConfigsInput, fn func(*ListNotebookInstanceLifecycleConfigsOutput, bool) bool, opts ...request.Option) error {
9395	p := request.Pagination{
9396		NewRequest: func() (*request.Request, error) {
9397			var inCpy *ListNotebookInstanceLifecycleConfigsInput
9398			if input != nil {
9399				tmp := *input
9400				inCpy = &tmp
9401			}
9402			req, _ := c.ListNotebookInstanceLifecycleConfigsRequest(inCpy)
9403			req.SetContext(ctx)
9404			req.ApplyOptions(opts...)
9405			return req, nil
9406		},
9407	}
9408
9409	for p.Next() {
9410		if !fn(p.Page().(*ListNotebookInstanceLifecycleConfigsOutput), !p.HasNextPage()) {
9411			break
9412		}
9413	}
9414
9415	return p.Err()
9416}
9417
9418const opListNotebookInstances = "ListNotebookInstances"
9419
9420// ListNotebookInstancesRequest generates a "aws/request.Request" representing the
9421// client's request for the ListNotebookInstances operation. The "output" return
9422// value will be populated with the request's response once the request completes
9423// successfully.
9424//
9425// Use "Send" method on the returned Request to send the API call to the service.
9426// the "output" return value is not valid until after Send returns without error.
9427//
9428// See ListNotebookInstances for more information on using the ListNotebookInstances
9429// API call, and error handling.
9430//
9431// This method is useful when you want to inject custom logic or configuration
9432// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9433//
9434//
9435//    // Example sending a request using the ListNotebookInstancesRequest method.
9436//    req, resp := client.ListNotebookInstancesRequest(params)
9437//
9438//    err := req.Send()
9439//    if err == nil { // resp is now filled
9440//        fmt.Println(resp)
9441//    }
9442//
9443// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstances
9444func (c *SageMaker) ListNotebookInstancesRequest(input *ListNotebookInstancesInput) (req *request.Request, output *ListNotebookInstancesOutput) {
9445	op := &request.Operation{
9446		Name:       opListNotebookInstances,
9447		HTTPMethod: "POST",
9448		HTTPPath:   "/",
9449		Paginator: &request.Paginator{
9450			InputTokens:     []string{"NextToken"},
9451			OutputTokens:    []string{"NextToken"},
9452			LimitToken:      "MaxResults",
9453			TruncationToken: "",
9454		},
9455	}
9456
9457	if input == nil {
9458		input = &ListNotebookInstancesInput{}
9459	}
9460
9461	output = &ListNotebookInstancesOutput{}
9462	req = c.newRequest(op, input, output)
9463	return
9464}
9465
9466// ListNotebookInstances API operation for Amazon SageMaker Service.
9467//
9468// Returns a list of the Amazon SageMaker notebook instances in the requester's
9469// account in an AWS Region.
9470//
9471// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9472// with awserr.Error's Code and Message methods to get detailed information about
9473// the error.
9474//
9475// See the AWS API reference guide for Amazon SageMaker Service's
9476// API operation ListNotebookInstances for usage and error information.
9477// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstances
9478func (c *SageMaker) ListNotebookInstances(input *ListNotebookInstancesInput) (*ListNotebookInstancesOutput, error) {
9479	req, out := c.ListNotebookInstancesRequest(input)
9480	return out, req.Send()
9481}
9482
9483// ListNotebookInstancesWithContext is the same as ListNotebookInstances with the addition of
9484// the ability to pass a context and additional request options.
9485//
9486// See ListNotebookInstances for details on how to use this API operation.
9487//
9488// The context must be non-nil and will be used for request cancellation. If
9489// the context is nil a panic will occur. In the future the SDK may create
9490// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9491// for more information on using Contexts.
9492func (c *SageMaker) ListNotebookInstancesWithContext(ctx aws.Context, input *ListNotebookInstancesInput, opts ...request.Option) (*ListNotebookInstancesOutput, error) {
9493	req, out := c.ListNotebookInstancesRequest(input)
9494	req.SetContext(ctx)
9495	req.ApplyOptions(opts...)
9496	return out, req.Send()
9497}
9498
9499// ListNotebookInstancesPages iterates over the pages of a ListNotebookInstances operation,
9500// calling the "fn" function with the response data for each page. To stop
9501// iterating, return false from the fn function.
9502//
9503// See ListNotebookInstances method for more information on how to use this operation.
9504//
9505// Note: This operation can generate multiple requests to a service.
9506//
9507//    // Example iterating over at most 3 pages of a ListNotebookInstances operation.
9508//    pageNum := 0
9509//    err := client.ListNotebookInstancesPages(params,
9510//        func(page *sagemaker.ListNotebookInstancesOutput, lastPage bool) bool {
9511//            pageNum++
9512//            fmt.Println(page)
9513//            return pageNum <= 3
9514//        })
9515//
9516func (c *SageMaker) ListNotebookInstancesPages(input *ListNotebookInstancesInput, fn func(*ListNotebookInstancesOutput, bool) bool) error {
9517	return c.ListNotebookInstancesPagesWithContext(aws.BackgroundContext(), input, fn)
9518}
9519
9520// ListNotebookInstancesPagesWithContext same as ListNotebookInstancesPages except
9521// it takes a Context and allows setting request options on the pages.
9522//
9523// The context must be non-nil and will be used for request cancellation. If
9524// the context is nil a panic will occur. In the future the SDK may create
9525// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9526// for more information on using Contexts.
9527func (c *SageMaker) ListNotebookInstancesPagesWithContext(ctx aws.Context, input *ListNotebookInstancesInput, fn func(*ListNotebookInstancesOutput, bool) bool, opts ...request.Option) error {
9528	p := request.Pagination{
9529		NewRequest: func() (*request.Request, error) {
9530			var inCpy *ListNotebookInstancesInput
9531			if input != nil {
9532				tmp := *input
9533				inCpy = &tmp
9534			}
9535			req, _ := c.ListNotebookInstancesRequest(inCpy)
9536			req.SetContext(ctx)
9537			req.ApplyOptions(opts...)
9538			return req, nil
9539		},
9540	}
9541
9542	for p.Next() {
9543		if !fn(p.Page().(*ListNotebookInstancesOutput), !p.HasNextPage()) {
9544			break
9545		}
9546	}
9547
9548	return p.Err()
9549}
9550
9551const opListProcessingJobs = "ListProcessingJobs"
9552
9553// ListProcessingJobsRequest generates a "aws/request.Request" representing the
9554// client's request for the ListProcessingJobs operation. The "output" return
9555// value will be populated with the request's response once the request completes
9556// successfully.
9557//
9558// Use "Send" method on the returned Request to send the API call to the service.
9559// the "output" return value is not valid until after Send returns without error.
9560//
9561// See ListProcessingJobs for more information on using the ListProcessingJobs
9562// API call, and error handling.
9563//
9564// This method is useful when you want to inject custom logic or configuration
9565// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9566//
9567//
9568//    // Example sending a request using the ListProcessingJobsRequest method.
9569//    req, resp := client.ListProcessingJobsRequest(params)
9570//
9571//    err := req.Send()
9572//    if err == nil { // resp is now filled
9573//        fmt.Println(resp)
9574//    }
9575//
9576// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListProcessingJobs
9577func (c *SageMaker) ListProcessingJobsRequest(input *ListProcessingJobsInput) (req *request.Request, output *ListProcessingJobsOutput) {
9578	op := &request.Operation{
9579		Name:       opListProcessingJobs,
9580		HTTPMethod: "POST",
9581		HTTPPath:   "/",
9582		Paginator: &request.Paginator{
9583			InputTokens:     []string{"NextToken"},
9584			OutputTokens:    []string{"NextToken"},
9585			LimitToken:      "MaxResults",
9586			TruncationToken: "",
9587		},
9588	}
9589
9590	if input == nil {
9591		input = &ListProcessingJobsInput{}
9592	}
9593
9594	output = &ListProcessingJobsOutput{}
9595	req = c.newRequest(op, input, output)
9596	return
9597}
9598
9599// ListProcessingJobs API operation for Amazon SageMaker Service.
9600//
9601// Lists processing jobs that satisfy various filters.
9602//
9603// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9604// with awserr.Error's Code and Message methods to get detailed information about
9605// the error.
9606//
9607// See the AWS API reference guide for Amazon SageMaker Service's
9608// API operation ListProcessingJobs for usage and error information.
9609// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListProcessingJobs
9610func (c *SageMaker) ListProcessingJobs(input *ListProcessingJobsInput) (*ListProcessingJobsOutput, error) {
9611	req, out := c.ListProcessingJobsRequest(input)
9612	return out, req.Send()
9613}
9614
9615// ListProcessingJobsWithContext is the same as ListProcessingJobs with the addition of
9616// the ability to pass a context and additional request options.
9617//
9618// See ListProcessingJobs for details on how to use this API operation.
9619//
9620// The context must be non-nil and will be used for request cancellation. If
9621// the context is nil a panic will occur. In the future the SDK may create
9622// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9623// for more information on using Contexts.
9624func (c *SageMaker) ListProcessingJobsWithContext(ctx aws.Context, input *ListProcessingJobsInput, opts ...request.Option) (*ListProcessingJobsOutput, error) {
9625	req, out := c.ListProcessingJobsRequest(input)
9626	req.SetContext(ctx)
9627	req.ApplyOptions(opts...)
9628	return out, req.Send()
9629}
9630
9631// ListProcessingJobsPages iterates over the pages of a ListProcessingJobs operation,
9632// calling the "fn" function with the response data for each page. To stop
9633// iterating, return false from the fn function.
9634//
9635// See ListProcessingJobs method for more information on how to use this operation.
9636//
9637// Note: This operation can generate multiple requests to a service.
9638//
9639//    // Example iterating over at most 3 pages of a ListProcessingJobs operation.
9640//    pageNum := 0
9641//    err := client.ListProcessingJobsPages(params,
9642//        func(page *sagemaker.ListProcessingJobsOutput, lastPage bool) bool {
9643//            pageNum++
9644//            fmt.Println(page)
9645//            return pageNum <= 3
9646//        })
9647//
9648func (c *SageMaker) ListProcessingJobsPages(input *ListProcessingJobsInput, fn func(*ListProcessingJobsOutput, bool) bool) error {
9649	return c.ListProcessingJobsPagesWithContext(aws.BackgroundContext(), input, fn)
9650}
9651
9652// ListProcessingJobsPagesWithContext same as ListProcessingJobsPages except
9653// it takes a Context and allows setting request options on the pages.
9654//
9655// The context must be non-nil and will be used for request cancellation. If
9656// the context is nil a panic will occur. In the future the SDK may create
9657// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9658// for more information on using Contexts.
9659func (c *SageMaker) ListProcessingJobsPagesWithContext(ctx aws.Context, input *ListProcessingJobsInput, fn func(*ListProcessingJobsOutput, bool) bool, opts ...request.Option) error {
9660	p := request.Pagination{
9661		NewRequest: func() (*request.Request, error) {
9662			var inCpy *ListProcessingJobsInput
9663			if input != nil {
9664				tmp := *input
9665				inCpy = &tmp
9666			}
9667			req, _ := c.ListProcessingJobsRequest(inCpy)
9668			req.SetContext(ctx)
9669			req.ApplyOptions(opts...)
9670			return req, nil
9671		},
9672	}
9673
9674	for p.Next() {
9675		if !fn(p.Page().(*ListProcessingJobsOutput), !p.HasNextPage()) {
9676			break
9677		}
9678	}
9679
9680	return p.Err()
9681}
9682
9683const opListSubscribedWorkteams = "ListSubscribedWorkteams"
9684
9685// ListSubscribedWorkteamsRequest generates a "aws/request.Request" representing the
9686// client's request for the ListSubscribedWorkteams operation. The "output" return
9687// value will be populated with the request's response once the request completes
9688// successfully.
9689//
9690// Use "Send" method on the returned Request to send the API call to the service.
9691// the "output" return value is not valid until after Send returns without error.
9692//
9693// See ListSubscribedWorkteams for more information on using the ListSubscribedWorkteams
9694// API call, and error handling.
9695//
9696// This method is useful when you want to inject custom logic or configuration
9697// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9698//
9699//
9700//    // Example sending a request using the ListSubscribedWorkteamsRequest method.
9701//    req, resp := client.ListSubscribedWorkteamsRequest(params)
9702//
9703//    err := req.Send()
9704//    if err == nil { // resp is now filled
9705//        fmt.Println(resp)
9706//    }
9707//
9708// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListSubscribedWorkteams
9709func (c *SageMaker) ListSubscribedWorkteamsRequest(input *ListSubscribedWorkteamsInput) (req *request.Request, output *ListSubscribedWorkteamsOutput) {
9710	op := &request.Operation{
9711		Name:       opListSubscribedWorkteams,
9712		HTTPMethod: "POST",
9713		HTTPPath:   "/",
9714		Paginator: &request.Paginator{
9715			InputTokens:     []string{"NextToken"},
9716			OutputTokens:    []string{"NextToken"},
9717			LimitToken:      "MaxResults",
9718			TruncationToken: "",
9719		},
9720	}
9721
9722	if input == nil {
9723		input = &ListSubscribedWorkteamsInput{}
9724	}
9725
9726	output = &ListSubscribedWorkteamsOutput{}
9727	req = c.newRequest(op, input, output)
9728	return
9729}
9730
9731// ListSubscribedWorkteams API operation for Amazon SageMaker Service.
9732//
9733// Gets a list of the work teams that you are subscribed to in the AWS Marketplace.
9734// The list may be empty if no work team satisfies the filter specified in the
9735// NameContains parameter.
9736//
9737// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9738// with awserr.Error's Code and Message methods to get detailed information about
9739// the error.
9740//
9741// See the AWS API reference guide for Amazon SageMaker Service's
9742// API operation ListSubscribedWorkteams for usage and error information.
9743// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListSubscribedWorkteams
9744func (c *SageMaker) ListSubscribedWorkteams(input *ListSubscribedWorkteamsInput) (*ListSubscribedWorkteamsOutput, error) {
9745	req, out := c.ListSubscribedWorkteamsRequest(input)
9746	return out, req.Send()
9747}
9748
9749// ListSubscribedWorkteamsWithContext is the same as ListSubscribedWorkteams with the addition of
9750// the ability to pass a context and additional request options.
9751//
9752// See ListSubscribedWorkteams for details on how to use this API operation.
9753//
9754// The context must be non-nil and will be used for request cancellation. If
9755// the context is nil a panic will occur. In the future the SDK may create
9756// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9757// for more information on using Contexts.
9758func (c *SageMaker) ListSubscribedWorkteamsWithContext(ctx aws.Context, input *ListSubscribedWorkteamsInput, opts ...request.Option) (*ListSubscribedWorkteamsOutput, error) {
9759	req, out := c.ListSubscribedWorkteamsRequest(input)
9760	req.SetContext(ctx)
9761	req.ApplyOptions(opts...)
9762	return out, req.Send()
9763}
9764
9765// ListSubscribedWorkteamsPages iterates over the pages of a ListSubscribedWorkteams operation,
9766// calling the "fn" function with the response data for each page. To stop
9767// iterating, return false from the fn function.
9768//
9769// See ListSubscribedWorkteams method for more information on how to use this operation.
9770//
9771// Note: This operation can generate multiple requests to a service.
9772//
9773//    // Example iterating over at most 3 pages of a ListSubscribedWorkteams operation.
9774//    pageNum := 0
9775//    err := client.ListSubscribedWorkteamsPages(params,
9776//        func(page *sagemaker.ListSubscribedWorkteamsOutput, lastPage bool) bool {
9777//            pageNum++
9778//            fmt.Println(page)
9779//            return pageNum <= 3
9780//        })
9781//
9782func (c *SageMaker) ListSubscribedWorkteamsPages(input *ListSubscribedWorkteamsInput, fn func(*ListSubscribedWorkteamsOutput, bool) bool) error {
9783	return c.ListSubscribedWorkteamsPagesWithContext(aws.BackgroundContext(), input, fn)
9784}
9785
9786// ListSubscribedWorkteamsPagesWithContext same as ListSubscribedWorkteamsPages except
9787// it takes a Context and allows setting request options on the pages.
9788//
9789// The context must be non-nil and will be used for request cancellation. If
9790// the context is nil a panic will occur. In the future the SDK may create
9791// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9792// for more information on using Contexts.
9793func (c *SageMaker) ListSubscribedWorkteamsPagesWithContext(ctx aws.Context, input *ListSubscribedWorkteamsInput, fn func(*ListSubscribedWorkteamsOutput, bool) bool, opts ...request.Option) error {
9794	p := request.Pagination{
9795		NewRequest: func() (*request.Request, error) {
9796			var inCpy *ListSubscribedWorkteamsInput
9797			if input != nil {
9798				tmp := *input
9799				inCpy = &tmp
9800			}
9801			req, _ := c.ListSubscribedWorkteamsRequest(inCpy)
9802			req.SetContext(ctx)
9803			req.ApplyOptions(opts...)
9804			return req, nil
9805		},
9806	}
9807
9808	for p.Next() {
9809		if !fn(p.Page().(*ListSubscribedWorkteamsOutput), !p.HasNextPage()) {
9810			break
9811		}
9812	}
9813
9814	return p.Err()
9815}
9816
9817const opListTags = "ListTags"
9818
9819// ListTagsRequest generates a "aws/request.Request" representing the
9820// client's request for the ListTags operation. The "output" return
9821// value will be populated with the request's response once the request completes
9822// successfully.
9823//
9824// Use "Send" method on the returned Request to send the API call to the service.
9825// the "output" return value is not valid until after Send returns without error.
9826//
9827// See ListTags for more information on using the ListTags
9828// API call, and error handling.
9829//
9830// This method is useful when you want to inject custom logic or configuration
9831// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9832//
9833//
9834//    // Example sending a request using the ListTagsRequest method.
9835//    req, resp := client.ListTagsRequest(params)
9836//
9837//    err := req.Send()
9838//    if err == nil { // resp is now filled
9839//        fmt.Println(resp)
9840//    }
9841//
9842// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTags
9843func (c *SageMaker) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) {
9844	op := &request.Operation{
9845		Name:       opListTags,
9846		HTTPMethod: "POST",
9847		HTTPPath:   "/",
9848		Paginator: &request.Paginator{
9849			InputTokens:     []string{"NextToken"},
9850			OutputTokens:    []string{"NextToken"},
9851			LimitToken:      "MaxResults",
9852			TruncationToken: "",
9853		},
9854	}
9855
9856	if input == nil {
9857		input = &ListTagsInput{}
9858	}
9859
9860	output = &ListTagsOutput{}
9861	req = c.newRequest(op, input, output)
9862	return
9863}
9864
9865// ListTags API operation for Amazon SageMaker Service.
9866//
9867// Returns the tags for the specified Amazon SageMaker resource.
9868//
9869// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9870// with awserr.Error's Code and Message methods to get detailed information about
9871// the error.
9872//
9873// See the AWS API reference guide for Amazon SageMaker Service's
9874// API operation ListTags for usage and error information.
9875// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTags
9876func (c *SageMaker) ListTags(input *ListTagsInput) (*ListTagsOutput, error) {
9877	req, out := c.ListTagsRequest(input)
9878	return out, req.Send()
9879}
9880
9881// ListTagsWithContext is the same as ListTags with the addition of
9882// the ability to pass a context and additional request options.
9883//
9884// See ListTags for details on how to use this API operation.
9885//
9886// The context must be non-nil and will be used for request cancellation. If
9887// the context is nil a panic will occur. In the future the SDK may create
9888// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9889// for more information on using Contexts.
9890func (c *SageMaker) ListTagsWithContext(ctx aws.Context, input *ListTagsInput, opts ...request.Option) (*ListTagsOutput, error) {
9891	req, out := c.ListTagsRequest(input)
9892	req.SetContext(ctx)
9893	req.ApplyOptions(opts...)
9894	return out, req.Send()
9895}
9896
9897// ListTagsPages iterates over the pages of a ListTags operation,
9898// calling the "fn" function with the response data for each page. To stop
9899// iterating, return false from the fn function.
9900//
9901// See ListTags method for more information on how to use this operation.
9902//
9903// Note: This operation can generate multiple requests to a service.
9904//
9905//    // Example iterating over at most 3 pages of a ListTags operation.
9906//    pageNum := 0
9907//    err := client.ListTagsPages(params,
9908//        func(page *sagemaker.ListTagsOutput, lastPage bool) bool {
9909//            pageNum++
9910//            fmt.Println(page)
9911//            return pageNum <= 3
9912//        })
9913//
9914func (c *SageMaker) ListTagsPages(input *ListTagsInput, fn func(*ListTagsOutput, bool) bool) error {
9915	return c.ListTagsPagesWithContext(aws.BackgroundContext(), input, fn)
9916}
9917
9918// ListTagsPagesWithContext same as ListTagsPages except
9919// it takes a Context and allows setting request options on the pages.
9920//
9921// The context must be non-nil and will be used for request cancellation. If
9922// the context is nil a panic will occur. In the future the SDK may create
9923// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9924// for more information on using Contexts.
9925func (c *SageMaker) ListTagsPagesWithContext(ctx aws.Context, input *ListTagsInput, fn func(*ListTagsOutput, bool) bool, opts ...request.Option) error {
9926	p := request.Pagination{
9927		NewRequest: func() (*request.Request, error) {
9928			var inCpy *ListTagsInput
9929			if input != nil {
9930				tmp := *input
9931				inCpy = &tmp
9932			}
9933			req, _ := c.ListTagsRequest(inCpy)
9934			req.SetContext(ctx)
9935			req.ApplyOptions(opts...)
9936			return req, nil
9937		},
9938	}
9939
9940	for p.Next() {
9941		if !fn(p.Page().(*ListTagsOutput), !p.HasNextPage()) {
9942			break
9943		}
9944	}
9945
9946	return p.Err()
9947}
9948
9949const opListTrainingJobs = "ListTrainingJobs"
9950
9951// ListTrainingJobsRequest generates a "aws/request.Request" representing the
9952// client's request for the ListTrainingJobs operation. The "output" return
9953// value will be populated with the request's response once the request completes
9954// successfully.
9955//
9956// Use "Send" method on the returned Request to send the API call to the service.
9957// the "output" return value is not valid until after Send returns without error.
9958//
9959// See ListTrainingJobs for more information on using the ListTrainingJobs
9960// API call, and error handling.
9961//
9962// This method is useful when you want to inject custom logic or configuration
9963// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9964//
9965//
9966//    // Example sending a request using the ListTrainingJobsRequest method.
9967//    req, resp := client.ListTrainingJobsRequest(params)
9968//
9969//    err := req.Send()
9970//    if err == nil { // resp is now filled
9971//        fmt.Println(resp)
9972//    }
9973//
9974// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobs
9975func (c *SageMaker) ListTrainingJobsRequest(input *ListTrainingJobsInput) (req *request.Request, output *ListTrainingJobsOutput) {
9976	op := &request.Operation{
9977		Name:       opListTrainingJobs,
9978		HTTPMethod: "POST",
9979		HTTPPath:   "/",
9980		Paginator: &request.Paginator{
9981			InputTokens:     []string{"NextToken"},
9982			OutputTokens:    []string{"NextToken"},
9983			LimitToken:      "MaxResults",
9984			TruncationToken: "",
9985		},
9986	}
9987
9988	if input == nil {
9989		input = &ListTrainingJobsInput{}
9990	}
9991
9992	output = &ListTrainingJobsOutput{}
9993	req = c.newRequest(op, input, output)
9994	return
9995}
9996
9997// ListTrainingJobs API operation for Amazon SageMaker Service.
9998//
9999// Lists training jobs.
10000//
10001// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10002// with awserr.Error's Code and Message methods to get detailed information about
10003// the error.
10004//
10005// See the AWS API reference guide for Amazon SageMaker Service's
10006// API operation ListTrainingJobs for usage and error information.
10007// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobs
10008func (c *SageMaker) ListTrainingJobs(input *ListTrainingJobsInput) (*ListTrainingJobsOutput, error) {
10009	req, out := c.ListTrainingJobsRequest(input)
10010	return out, req.Send()
10011}
10012
10013// ListTrainingJobsWithContext is the same as ListTrainingJobs with the addition of
10014// the ability to pass a context and additional request options.
10015//
10016// See ListTrainingJobs for details on how to use this API operation.
10017//
10018// The context must be non-nil and will be used for request cancellation. If
10019// the context is nil a panic will occur. In the future the SDK may create
10020// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10021// for more information on using Contexts.
10022func (c *SageMaker) ListTrainingJobsWithContext(ctx aws.Context, input *ListTrainingJobsInput, opts ...request.Option) (*ListTrainingJobsOutput, error) {
10023	req, out := c.ListTrainingJobsRequest(input)
10024	req.SetContext(ctx)
10025	req.ApplyOptions(opts...)
10026	return out, req.Send()
10027}
10028
10029// ListTrainingJobsPages iterates over the pages of a ListTrainingJobs operation,
10030// calling the "fn" function with the response data for each page. To stop
10031// iterating, return false from the fn function.
10032//
10033// See ListTrainingJobs method for more information on how to use this operation.
10034//
10035// Note: This operation can generate multiple requests to a service.
10036//
10037//    // Example iterating over at most 3 pages of a ListTrainingJobs operation.
10038//    pageNum := 0
10039//    err := client.ListTrainingJobsPages(params,
10040//        func(page *sagemaker.ListTrainingJobsOutput, lastPage bool) bool {
10041//            pageNum++
10042//            fmt.Println(page)
10043//            return pageNum <= 3
10044//        })
10045//
10046func (c *SageMaker) ListTrainingJobsPages(input *ListTrainingJobsInput, fn func(*ListTrainingJobsOutput, bool) bool) error {
10047	return c.ListTrainingJobsPagesWithContext(aws.BackgroundContext(), input, fn)
10048}
10049
10050// ListTrainingJobsPagesWithContext same as ListTrainingJobsPages except
10051// it takes a Context and allows setting request options on the pages.
10052//
10053// The context must be non-nil and will be used for request cancellation. If
10054// the context is nil a panic will occur. In the future the SDK may create
10055// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10056// for more information on using Contexts.
10057func (c *SageMaker) ListTrainingJobsPagesWithContext(ctx aws.Context, input *ListTrainingJobsInput, fn func(*ListTrainingJobsOutput, bool) bool, opts ...request.Option) error {
10058	p := request.Pagination{
10059		NewRequest: func() (*request.Request, error) {
10060			var inCpy *ListTrainingJobsInput
10061			if input != nil {
10062				tmp := *input
10063				inCpy = &tmp
10064			}
10065			req, _ := c.ListTrainingJobsRequest(inCpy)
10066			req.SetContext(ctx)
10067			req.ApplyOptions(opts...)
10068			return req, nil
10069		},
10070	}
10071
10072	for p.Next() {
10073		if !fn(p.Page().(*ListTrainingJobsOutput), !p.HasNextPage()) {
10074			break
10075		}
10076	}
10077
10078	return p.Err()
10079}
10080
10081const opListTrainingJobsForHyperParameterTuningJob = "ListTrainingJobsForHyperParameterTuningJob"
10082
10083// ListTrainingJobsForHyperParameterTuningJobRequest generates a "aws/request.Request" representing the
10084// client's request for the ListTrainingJobsForHyperParameterTuningJob operation. The "output" return
10085// value will be populated with the request's response once the request completes
10086// successfully.
10087//
10088// Use "Send" method on the returned Request to send the API call to the service.
10089// the "output" return value is not valid until after Send returns without error.
10090//
10091// See ListTrainingJobsForHyperParameterTuningJob for more information on using the ListTrainingJobsForHyperParameterTuningJob
10092// API call, and error handling.
10093//
10094// This method is useful when you want to inject custom logic or configuration
10095// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10096//
10097//
10098//    // Example sending a request using the ListTrainingJobsForHyperParameterTuningJobRequest method.
10099//    req, resp := client.ListTrainingJobsForHyperParameterTuningJobRequest(params)
10100//
10101//    err := req.Send()
10102//    if err == nil { // resp is now filled
10103//        fmt.Println(resp)
10104//    }
10105//
10106// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobsForHyperParameterTuningJob
10107func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobRequest(input *ListTrainingJobsForHyperParameterTuningJobInput) (req *request.Request, output *ListTrainingJobsForHyperParameterTuningJobOutput) {
10108	op := &request.Operation{
10109		Name:       opListTrainingJobsForHyperParameterTuningJob,
10110		HTTPMethod: "POST",
10111		HTTPPath:   "/",
10112		Paginator: &request.Paginator{
10113			InputTokens:     []string{"NextToken"},
10114			OutputTokens:    []string{"NextToken"},
10115			LimitToken:      "MaxResults",
10116			TruncationToken: "",
10117		},
10118	}
10119
10120	if input == nil {
10121		input = &ListTrainingJobsForHyperParameterTuningJobInput{}
10122	}
10123
10124	output = &ListTrainingJobsForHyperParameterTuningJobOutput{}
10125	req = c.newRequest(op, input, output)
10126	return
10127}
10128
10129// ListTrainingJobsForHyperParameterTuningJob API operation for Amazon SageMaker Service.
10130//
10131// Gets a list of TrainingJobSummary objects that describe the training jobs
10132// that a hyperparameter tuning job launched.
10133//
10134// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10135// with awserr.Error's Code and Message methods to get detailed information about
10136// the error.
10137//
10138// See the AWS API reference guide for Amazon SageMaker Service's
10139// API operation ListTrainingJobsForHyperParameterTuningJob for usage and error information.
10140//
10141// Returned Error Types:
10142//   * ResourceNotFound
10143//   Resource being access is not found.
10144//
10145// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobsForHyperParameterTuningJob
10146func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJob(input *ListTrainingJobsForHyperParameterTuningJobInput) (*ListTrainingJobsForHyperParameterTuningJobOutput, error) {
10147	req, out := c.ListTrainingJobsForHyperParameterTuningJobRequest(input)
10148	return out, req.Send()
10149}
10150
10151// ListTrainingJobsForHyperParameterTuningJobWithContext is the same as ListTrainingJobsForHyperParameterTuningJob with the addition of
10152// the ability to pass a context and additional request options.
10153//
10154// See ListTrainingJobsForHyperParameterTuningJob for details on how to use this API operation.
10155//
10156// The context must be non-nil and will be used for request cancellation. If
10157// the context is nil a panic will occur. In the future the SDK may create
10158// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10159// for more information on using Contexts.
10160func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobWithContext(ctx aws.Context, input *ListTrainingJobsForHyperParameterTuningJobInput, opts ...request.Option) (*ListTrainingJobsForHyperParameterTuningJobOutput, error) {
10161	req, out := c.ListTrainingJobsForHyperParameterTuningJobRequest(input)
10162	req.SetContext(ctx)
10163	req.ApplyOptions(opts...)
10164	return out, req.Send()
10165}
10166
10167// ListTrainingJobsForHyperParameterTuningJobPages iterates over the pages of a ListTrainingJobsForHyperParameterTuningJob operation,
10168// calling the "fn" function with the response data for each page. To stop
10169// iterating, return false from the fn function.
10170//
10171// See ListTrainingJobsForHyperParameterTuningJob method for more information on how to use this operation.
10172//
10173// Note: This operation can generate multiple requests to a service.
10174//
10175//    // Example iterating over at most 3 pages of a ListTrainingJobsForHyperParameterTuningJob operation.
10176//    pageNum := 0
10177//    err := client.ListTrainingJobsForHyperParameterTuningJobPages(params,
10178//        func(page *sagemaker.ListTrainingJobsForHyperParameterTuningJobOutput, lastPage bool) bool {
10179//            pageNum++
10180//            fmt.Println(page)
10181//            return pageNum <= 3
10182//        })
10183//
10184func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobPages(input *ListTrainingJobsForHyperParameterTuningJobInput, fn func(*ListTrainingJobsForHyperParameterTuningJobOutput, bool) bool) error {
10185	return c.ListTrainingJobsForHyperParameterTuningJobPagesWithContext(aws.BackgroundContext(), input, fn)
10186}
10187
10188// ListTrainingJobsForHyperParameterTuningJobPagesWithContext same as ListTrainingJobsForHyperParameterTuningJobPages except
10189// it takes a Context and allows setting request options on the pages.
10190//
10191// The context must be non-nil and will be used for request cancellation. If
10192// the context is nil a panic will occur. In the future the SDK may create
10193// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10194// for more information on using Contexts.
10195func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobPagesWithContext(ctx aws.Context, input *ListTrainingJobsForHyperParameterTuningJobInput, fn func(*ListTrainingJobsForHyperParameterTuningJobOutput, bool) bool, opts ...request.Option) error {
10196	p := request.Pagination{
10197		NewRequest: func() (*request.Request, error) {
10198			var inCpy *ListTrainingJobsForHyperParameterTuningJobInput
10199			if input != nil {
10200				tmp := *input
10201				inCpy = &tmp
10202			}
10203			req, _ := c.ListTrainingJobsForHyperParameterTuningJobRequest(inCpy)
10204			req.SetContext(ctx)
10205			req.ApplyOptions(opts...)
10206			return req, nil
10207		},
10208	}
10209
10210	for p.Next() {
10211		if !fn(p.Page().(*ListTrainingJobsForHyperParameterTuningJobOutput), !p.HasNextPage()) {
10212			break
10213		}
10214	}
10215
10216	return p.Err()
10217}
10218
10219const opListTransformJobs = "ListTransformJobs"
10220
10221// ListTransformJobsRequest generates a "aws/request.Request" representing the
10222// client's request for the ListTransformJobs operation. The "output" return
10223// value will be populated with the request's response once the request completes
10224// successfully.
10225//
10226// Use "Send" method on the returned Request to send the API call to the service.
10227// the "output" return value is not valid until after Send returns without error.
10228//
10229// See ListTransformJobs for more information on using the ListTransformJobs
10230// API call, and error handling.
10231//
10232// This method is useful when you want to inject custom logic or configuration
10233// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10234//
10235//
10236//    // Example sending a request using the ListTransformJobsRequest method.
10237//    req, resp := client.ListTransformJobsRequest(params)
10238//
10239//    err := req.Send()
10240//    if err == nil { // resp is now filled
10241//        fmt.Println(resp)
10242//    }
10243//
10244// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTransformJobs
10245func (c *SageMaker) ListTransformJobsRequest(input *ListTransformJobsInput) (req *request.Request, output *ListTransformJobsOutput) {
10246	op := &request.Operation{
10247		Name:       opListTransformJobs,
10248		HTTPMethod: "POST",
10249		HTTPPath:   "/",
10250		Paginator: &request.Paginator{
10251			InputTokens:     []string{"NextToken"},
10252			OutputTokens:    []string{"NextToken"},
10253			LimitToken:      "MaxResults",
10254			TruncationToken: "",
10255		},
10256	}
10257
10258	if input == nil {
10259		input = &ListTransformJobsInput{}
10260	}
10261
10262	output = &ListTransformJobsOutput{}
10263	req = c.newRequest(op, input, output)
10264	return
10265}
10266
10267// ListTransformJobs API operation for Amazon SageMaker Service.
10268//
10269// Lists transform jobs.
10270//
10271// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10272// with awserr.Error's Code and Message methods to get detailed information about
10273// the error.
10274//
10275// See the AWS API reference guide for Amazon SageMaker Service's
10276// API operation ListTransformJobs for usage and error information.
10277// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTransformJobs
10278func (c *SageMaker) ListTransformJobs(input *ListTransformJobsInput) (*ListTransformJobsOutput, error) {
10279	req, out := c.ListTransformJobsRequest(input)
10280	return out, req.Send()
10281}
10282
10283// ListTransformJobsWithContext is the same as ListTransformJobs with the addition of
10284// the ability to pass a context and additional request options.
10285//
10286// See ListTransformJobs for details on how to use this API operation.
10287//
10288// The context must be non-nil and will be used for request cancellation. If
10289// the context is nil a panic will occur. In the future the SDK may create
10290// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10291// for more information on using Contexts.
10292func (c *SageMaker) ListTransformJobsWithContext(ctx aws.Context, input *ListTransformJobsInput, opts ...request.Option) (*ListTransformJobsOutput, error) {
10293	req, out := c.ListTransformJobsRequest(input)
10294	req.SetContext(ctx)
10295	req.ApplyOptions(opts...)
10296	return out, req.Send()
10297}
10298
10299// ListTransformJobsPages iterates over the pages of a ListTransformJobs operation,
10300// calling the "fn" function with the response data for each page. To stop
10301// iterating, return false from the fn function.
10302//
10303// See ListTransformJobs method for more information on how to use this operation.
10304//
10305// Note: This operation can generate multiple requests to a service.
10306//
10307//    // Example iterating over at most 3 pages of a ListTransformJobs operation.
10308//    pageNum := 0
10309//    err := client.ListTransformJobsPages(params,
10310//        func(page *sagemaker.ListTransformJobsOutput, lastPage bool) bool {
10311//            pageNum++
10312//            fmt.Println(page)
10313//            return pageNum <= 3
10314//        })
10315//
10316func (c *SageMaker) ListTransformJobsPages(input *ListTransformJobsInput, fn func(*ListTransformJobsOutput, bool) bool) error {
10317	return c.ListTransformJobsPagesWithContext(aws.BackgroundContext(), input, fn)
10318}
10319
10320// ListTransformJobsPagesWithContext same as ListTransformJobsPages except
10321// it takes a Context and allows setting request options on the pages.
10322//
10323// The context must be non-nil and will be used for request cancellation. If
10324// the context is nil a panic will occur. In the future the SDK may create
10325// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10326// for more information on using Contexts.
10327func (c *SageMaker) ListTransformJobsPagesWithContext(ctx aws.Context, input *ListTransformJobsInput, fn func(*ListTransformJobsOutput, bool) bool, opts ...request.Option) error {
10328	p := request.Pagination{
10329		NewRequest: func() (*request.Request, error) {
10330			var inCpy *ListTransformJobsInput
10331			if input != nil {
10332				tmp := *input
10333				inCpy = &tmp
10334			}
10335			req, _ := c.ListTransformJobsRequest(inCpy)
10336			req.SetContext(ctx)
10337			req.ApplyOptions(opts...)
10338			return req, nil
10339		},
10340	}
10341
10342	for p.Next() {
10343		if !fn(p.Page().(*ListTransformJobsOutput), !p.HasNextPage()) {
10344			break
10345		}
10346	}
10347
10348	return p.Err()
10349}
10350
10351const opListTrialComponents = "ListTrialComponents"
10352
10353// ListTrialComponentsRequest generates a "aws/request.Request" representing the
10354// client's request for the ListTrialComponents operation. The "output" return
10355// value will be populated with the request's response once the request completes
10356// successfully.
10357//
10358// Use "Send" method on the returned Request to send the API call to the service.
10359// the "output" return value is not valid until after Send returns without error.
10360//
10361// See ListTrialComponents for more information on using the ListTrialComponents
10362// API call, and error handling.
10363//
10364// This method is useful when you want to inject custom logic or configuration
10365// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10366//
10367//
10368//    // Example sending a request using the ListTrialComponentsRequest method.
10369//    req, resp := client.ListTrialComponentsRequest(params)
10370//
10371//    err := req.Send()
10372//    if err == nil { // resp is now filled
10373//        fmt.Println(resp)
10374//    }
10375//
10376// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrialComponents
10377func (c *SageMaker) ListTrialComponentsRequest(input *ListTrialComponentsInput) (req *request.Request, output *ListTrialComponentsOutput) {
10378	op := &request.Operation{
10379		Name:       opListTrialComponents,
10380		HTTPMethod: "POST",
10381		HTTPPath:   "/",
10382		Paginator: &request.Paginator{
10383			InputTokens:     []string{"NextToken"},
10384			OutputTokens:    []string{"NextToken"},
10385			LimitToken:      "MaxResults",
10386			TruncationToken: "",
10387		},
10388	}
10389
10390	if input == nil {
10391		input = &ListTrialComponentsInput{}
10392	}
10393
10394	output = &ListTrialComponentsOutput{}
10395	req = c.newRequest(op, input, output)
10396	return
10397}
10398
10399// ListTrialComponents API operation for Amazon SageMaker Service.
10400//
10401// Lists the trial components in your account. You can sort the list by trial
10402// component name or creation time. You can filter the list to show only components
10403// that were created in a specific time range. You can also filter on one of
10404// the following:
10405//
10406//    * ExperimentName
10407//
10408//    * SourceArn
10409//
10410//    * TrialName
10411//
10412// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10413// with awserr.Error's Code and Message methods to get detailed information about
10414// the error.
10415//
10416// See the AWS API reference guide for Amazon SageMaker Service's
10417// API operation ListTrialComponents for usage and error information.
10418//
10419// Returned Error Types:
10420//   * ResourceNotFound
10421//   Resource being access is not found.
10422//
10423// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrialComponents
10424func (c *SageMaker) ListTrialComponents(input *ListTrialComponentsInput) (*ListTrialComponentsOutput, error) {
10425	req, out := c.ListTrialComponentsRequest(input)
10426	return out, req.Send()
10427}
10428
10429// ListTrialComponentsWithContext is the same as ListTrialComponents with the addition of
10430// the ability to pass a context and additional request options.
10431//
10432// See ListTrialComponents for details on how to use this API operation.
10433//
10434// The context must be non-nil and will be used for request cancellation. If
10435// the context is nil a panic will occur. In the future the SDK may create
10436// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10437// for more information on using Contexts.
10438func (c *SageMaker) ListTrialComponentsWithContext(ctx aws.Context, input *ListTrialComponentsInput, opts ...request.Option) (*ListTrialComponentsOutput, error) {
10439	req, out := c.ListTrialComponentsRequest(input)
10440	req.SetContext(ctx)
10441	req.ApplyOptions(opts...)
10442	return out, req.Send()
10443}
10444
10445// ListTrialComponentsPages iterates over the pages of a ListTrialComponents operation,
10446// calling the "fn" function with the response data for each page. To stop
10447// iterating, return false from the fn function.
10448//
10449// See ListTrialComponents method for more information on how to use this operation.
10450//
10451// Note: This operation can generate multiple requests to a service.
10452//
10453//    // Example iterating over at most 3 pages of a ListTrialComponents operation.
10454//    pageNum := 0
10455//    err := client.ListTrialComponentsPages(params,
10456//        func(page *sagemaker.ListTrialComponentsOutput, lastPage bool) bool {
10457//            pageNum++
10458//            fmt.Println(page)
10459//            return pageNum <= 3
10460//        })
10461//
10462func (c *SageMaker) ListTrialComponentsPages(input *ListTrialComponentsInput, fn func(*ListTrialComponentsOutput, bool) bool) error {
10463	return c.ListTrialComponentsPagesWithContext(aws.BackgroundContext(), input, fn)
10464}
10465
10466// ListTrialComponentsPagesWithContext same as ListTrialComponentsPages except
10467// it takes a Context and allows setting request options on the pages.
10468//
10469// The context must be non-nil and will be used for request cancellation. If
10470// the context is nil a panic will occur. In the future the SDK may create
10471// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10472// for more information on using Contexts.
10473func (c *SageMaker) ListTrialComponentsPagesWithContext(ctx aws.Context, input *ListTrialComponentsInput, fn func(*ListTrialComponentsOutput, bool) bool, opts ...request.Option) error {
10474	p := request.Pagination{
10475		NewRequest: func() (*request.Request, error) {
10476			var inCpy *ListTrialComponentsInput
10477			if input != nil {
10478				tmp := *input
10479				inCpy = &tmp
10480			}
10481			req, _ := c.ListTrialComponentsRequest(inCpy)
10482			req.SetContext(ctx)
10483			req.ApplyOptions(opts...)
10484			return req, nil
10485		},
10486	}
10487
10488	for p.Next() {
10489		if !fn(p.Page().(*ListTrialComponentsOutput), !p.HasNextPage()) {
10490			break
10491		}
10492	}
10493
10494	return p.Err()
10495}
10496
10497const opListTrials = "ListTrials"
10498
10499// ListTrialsRequest generates a "aws/request.Request" representing the
10500// client's request for the ListTrials operation. The "output" return
10501// value will be populated with the request's response once the request completes
10502// successfully.
10503//
10504// Use "Send" method on the returned Request to send the API call to the service.
10505// the "output" return value is not valid until after Send returns without error.
10506//
10507// See ListTrials for more information on using the ListTrials
10508// API call, and error handling.
10509//
10510// This method is useful when you want to inject custom logic or configuration
10511// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10512//
10513//
10514//    // Example sending a request using the ListTrialsRequest method.
10515//    req, resp := client.ListTrialsRequest(params)
10516//
10517//    err := req.Send()
10518//    if err == nil { // resp is now filled
10519//        fmt.Println(resp)
10520//    }
10521//
10522// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrials
10523func (c *SageMaker) ListTrialsRequest(input *ListTrialsInput) (req *request.Request, output *ListTrialsOutput) {
10524	op := &request.Operation{
10525		Name:       opListTrials,
10526		HTTPMethod: "POST",
10527		HTTPPath:   "/",
10528		Paginator: &request.Paginator{
10529			InputTokens:     []string{"NextToken"},
10530			OutputTokens:    []string{"NextToken"},
10531			LimitToken:      "MaxResults",
10532			TruncationToken: "",
10533		},
10534	}
10535
10536	if input == nil {
10537		input = &ListTrialsInput{}
10538	}
10539
10540	output = &ListTrialsOutput{}
10541	req = c.newRequest(op, input, output)
10542	return
10543}
10544
10545// ListTrials API operation for Amazon SageMaker Service.
10546//
10547// Lists the trials in your account. Specify an experiment name to limit the
10548// list to the trials that are part of that experiment. Specify a trial component
10549// name to limit the list to the trials that associated with that trial component.
10550// The list can be filtered to show only trials that were created in a specific
10551// time range. The list can be sorted by trial name or creation time.
10552//
10553// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10554// with awserr.Error's Code and Message methods to get detailed information about
10555// the error.
10556//
10557// See the AWS API reference guide for Amazon SageMaker Service's
10558// API operation ListTrials for usage and error information.
10559//
10560// Returned Error Types:
10561//   * ResourceNotFound
10562//   Resource being access is not found.
10563//
10564// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrials
10565func (c *SageMaker) ListTrials(input *ListTrialsInput) (*ListTrialsOutput, error) {
10566	req, out := c.ListTrialsRequest(input)
10567	return out, req.Send()
10568}
10569
10570// ListTrialsWithContext is the same as ListTrials with the addition of
10571// the ability to pass a context and additional request options.
10572//
10573// See ListTrials for details on how to use this API operation.
10574//
10575// The context must be non-nil and will be used for request cancellation. If
10576// the context is nil a panic will occur. In the future the SDK may create
10577// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10578// for more information on using Contexts.
10579func (c *SageMaker) ListTrialsWithContext(ctx aws.Context, input *ListTrialsInput, opts ...request.Option) (*ListTrialsOutput, error) {
10580	req, out := c.ListTrialsRequest(input)
10581	req.SetContext(ctx)
10582	req.ApplyOptions(opts...)
10583	return out, req.Send()
10584}
10585
10586// ListTrialsPages iterates over the pages of a ListTrials operation,
10587// calling the "fn" function with the response data for each page. To stop
10588// iterating, return false from the fn function.
10589//
10590// See ListTrials method for more information on how to use this operation.
10591//
10592// Note: This operation can generate multiple requests to a service.
10593//
10594//    // Example iterating over at most 3 pages of a ListTrials operation.
10595//    pageNum := 0
10596//    err := client.ListTrialsPages(params,
10597//        func(page *sagemaker.ListTrialsOutput, lastPage bool) bool {
10598//            pageNum++
10599//            fmt.Println(page)
10600//            return pageNum <= 3
10601//        })
10602//
10603func (c *SageMaker) ListTrialsPages(input *ListTrialsInput, fn func(*ListTrialsOutput, bool) bool) error {
10604	return c.ListTrialsPagesWithContext(aws.BackgroundContext(), input, fn)
10605}
10606
10607// ListTrialsPagesWithContext same as ListTrialsPages except
10608// it takes a Context and allows setting request options on the pages.
10609//
10610// The context must be non-nil and will be used for request cancellation. If
10611// the context is nil a panic will occur. In the future the SDK may create
10612// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10613// for more information on using Contexts.
10614func (c *SageMaker) ListTrialsPagesWithContext(ctx aws.Context, input *ListTrialsInput, fn func(*ListTrialsOutput, bool) bool, opts ...request.Option) error {
10615	p := request.Pagination{
10616		NewRequest: func() (*request.Request, error) {
10617			var inCpy *ListTrialsInput
10618			if input != nil {
10619				tmp := *input
10620				inCpy = &tmp
10621			}
10622			req, _ := c.ListTrialsRequest(inCpy)
10623			req.SetContext(ctx)
10624			req.ApplyOptions(opts...)
10625			return req, nil
10626		},
10627	}
10628
10629	for p.Next() {
10630		if !fn(p.Page().(*ListTrialsOutput), !p.HasNextPage()) {
10631			break
10632		}
10633	}
10634
10635	return p.Err()
10636}
10637
10638const opListUserProfiles = "ListUserProfiles"
10639
10640// ListUserProfilesRequest generates a "aws/request.Request" representing the
10641// client's request for the ListUserProfiles operation. The "output" return
10642// value will be populated with the request's response once the request completes
10643// successfully.
10644//
10645// Use "Send" method on the returned Request to send the API call to the service.
10646// the "output" return value is not valid until after Send returns without error.
10647//
10648// See ListUserProfiles for more information on using the ListUserProfiles
10649// API call, and error handling.
10650//
10651// This method is useful when you want to inject custom logic or configuration
10652// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10653//
10654//
10655//    // Example sending a request using the ListUserProfilesRequest method.
10656//    req, resp := client.ListUserProfilesRequest(params)
10657//
10658//    err := req.Send()
10659//    if err == nil { // resp is now filled
10660//        fmt.Println(resp)
10661//    }
10662//
10663// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListUserProfiles
10664func (c *SageMaker) ListUserProfilesRequest(input *ListUserProfilesInput) (req *request.Request, output *ListUserProfilesOutput) {
10665	op := &request.Operation{
10666		Name:       opListUserProfiles,
10667		HTTPMethod: "POST",
10668		HTTPPath:   "/",
10669		Paginator: &request.Paginator{
10670			InputTokens:     []string{"NextToken"},
10671			OutputTokens:    []string{"NextToken"},
10672			LimitToken:      "MaxResults",
10673			TruncationToken: "",
10674		},
10675	}
10676
10677	if input == nil {
10678		input = &ListUserProfilesInput{}
10679	}
10680
10681	output = &ListUserProfilesOutput{}
10682	req = c.newRequest(op, input, output)
10683	return
10684}
10685
10686// ListUserProfiles API operation for Amazon SageMaker Service.
10687//
10688// Lists user profiles.
10689//
10690// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10691// with awserr.Error's Code and Message methods to get detailed information about
10692// the error.
10693//
10694// See the AWS API reference guide for Amazon SageMaker Service's
10695// API operation ListUserProfiles for usage and error information.
10696// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListUserProfiles
10697func (c *SageMaker) ListUserProfiles(input *ListUserProfilesInput) (*ListUserProfilesOutput, error) {
10698	req, out := c.ListUserProfilesRequest(input)
10699	return out, req.Send()
10700}
10701
10702// ListUserProfilesWithContext is the same as ListUserProfiles with the addition of
10703// the ability to pass a context and additional request options.
10704//
10705// See ListUserProfiles for details on how to use this API operation.
10706//
10707// The context must be non-nil and will be used for request cancellation. If
10708// the context is nil a panic will occur. In the future the SDK may create
10709// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10710// for more information on using Contexts.
10711func (c *SageMaker) ListUserProfilesWithContext(ctx aws.Context, input *ListUserProfilesInput, opts ...request.Option) (*ListUserProfilesOutput, error) {
10712	req, out := c.ListUserProfilesRequest(input)
10713	req.SetContext(ctx)
10714	req.ApplyOptions(opts...)
10715	return out, req.Send()
10716}
10717
10718// ListUserProfilesPages iterates over the pages of a ListUserProfiles operation,
10719// calling the "fn" function with the response data for each page. To stop
10720// iterating, return false from the fn function.
10721//
10722// See ListUserProfiles method for more information on how to use this operation.
10723//
10724// Note: This operation can generate multiple requests to a service.
10725//
10726//    // Example iterating over at most 3 pages of a ListUserProfiles operation.
10727//    pageNum := 0
10728//    err := client.ListUserProfilesPages(params,
10729//        func(page *sagemaker.ListUserProfilesOutput, lastPage bool) bool {
10730//            pageNum++
10731//            fmt.Println(page)
10732//            return pageNum <= 3
10733//        })
10734//
10735func (c *SageMaker) ListUserProfilesPages(input *ListUserProfilesInput, fn func(*ListUserProfilesOutput, bool) bool) error {
10736	return c.ListUserProfilesPagesWithContext(aws.BackgroundContext(), input, fn)
10737}
10738
10739// ListUserProfilesPagesWithContext same as ListUserProfilesPages except
10740// it takes a Context and allows setting request options on the pages.
10741//
10742// The context must be non-nil and will be used for request cancellation. If
10743// the context is nil a panic will occur. In the future the SDK may create
10744// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10745// for more information on using Contexts.
10746func (c *SageMaker) ListUserProfilesPagesWithContext(ctx aws.Context, input *ListUserProfilesInput, fn func(*ListUserProfilesOutput, bool) bool, opts ...request.Option) error {
10747	p := request.Pagination{
10748		NewRequest: func() (*request.Request, error) {
10749			var inCpy *ListUserProfilesInput
10750			if input != nil {
10751				tmp := *input
10752				inCpy = &tmp
10753			}
10754			req, _ := c.ListUserProfilesRequest(inCpy)
10755			req.SetContext(ctx)
10756			req.ApplyOptions(opts...)
10757			return req, nil
10758		},
10759	}
10760
10761	for p.Next() {
10762		if !fn(p.Page().(*ListUserProfilesOutput), !p.HasNextPage()) {
10763			break
10764		}
10765	}
10766
10767	return p.Err()
10768}
10769
10770const opListWorkforces = "ListWorkforces"
10771
10772// ListWorkforcesRequest generates a "aws/request.Request" representing the
10773// client's request for the ListWorkforces operation. The "output" return
10774// value will be populated with the request's response once the request completes
10775// successfully.
10776//
10777// Use "Send" method on the returned Request to send the API call to the service.
10778// the "output" return value is not valid until after Send returns without error.
10779//
10780// See ListWorkforces for more information on using the ListWorkforces
10781// API call, and error handling.
10782//
10783// This method is useful when you want to inject custom logic or configuration
10784// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10785//
10786//
10787//    // Example sending a request using the ListWorkforcesRequest method.
10788//    req, resp := client.ListWorkforcesRequest(params)
10789//
10790//    err := req.Send()
10791//    if err == nil { // resp is now filled
10792//        fmt.Println(resp)
10793//    }
10794//
10795// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkforces
10796func (c *SageMaker) ListWorkforcesRequest(input *ListWorkforcesInput) (req *request.Request, output *ListWorkforcesOutput) {
10797	op := &request.Operation{
10798		Name:       opListWorkforces,
10799		HTTPMethod: "POST",
10800		HTTPPath:   "/",
10801		Paginator: &request.Paginator{
10802			InputTokens:     []string{"NextToken"},
10803			OutputTokens:    []string{"NextToken"},
10804			LimitToken:      "MaxResults",
10805			TruncationToken: "",
10806		},
10807	}
10808
10809	if input == nil {
10810		input = &ListWorkforcesInput{}
10811	}
10812
10813	output = &ListWorkforcesOutput{}
10814	req = c.newRequest(op, input, output)
10815	return
10816}
10817
10818// ListWorkforces API operation for Amazon SageMaker Service.
10819//
10820// Use this operation to list all private and vendor workforces in an AWS Region.
10821// Note that you can only have one private workforce per AWS Region.
10822//
10823// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10824// with awserr.Error's Code and Message methods to get detailed information about
10825// the error.
10826//
10827// See the AWS API reference guide for Amazon SageMaker Service's
10828// API operation ListWorkforces for usage and error information.
10829// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkforces
10830func (c *SageMaker) ListWorkforces(input *ListWorkforcesInput) (*ListWorkforcesOutput, error) {
10831	req, out := c.ListWorkforcesRequest(input)
10832	return out, req.Send()
10833}
10834
10835// ListWorkforcesWithContext is the same as ListWorkforces with the addition of
10836// the ability to pass a context and additional request options.
10837//
10838// See ListWorkforces for details on how to use this API operation.
10839//
10840// The context must be non-nil and will be used for request cancellation. If
10841// the context is nil a panic will occur. In the future the SDK may create
10842// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10843// for more information on using Contexts.
10844func (c *SageMaker) ListWorkforcesWithContext(ctx aws.Context, input *ListWorkforcesInput, opts ...request.Option) (*ListWorkforcesOutput, error) {
10845	req, out := c.ListWorkforcesRequest(input)
10846	req.SetContext(ctx)
10847	req.ApplyOptions(opts...)
10848	return out, req.Send()
10849}
10850
10851// ListWorkforcesPages iterates over the pages of a ListWorkforces operation,
10852// calling the "fn" function with the response data for each page. To stop
10853// iterating, return false from the fn function.
10854//
10855// See ListWorkforces method for more information on how to use this operation.
10856//
10857// Note: This operation can generate multiple requests to a service.
10858//
10859//    // Example iterating over at most 3 pages of a ListWorkforces operation.
10860//    pageNum := 0
10861//    err := client.ListWorkforcesPages(params,
10862//        func(page *sagemaker.ListWorkforcesOutput, lastPage bool) bool {
10863//            pageNum++
10864//            fmt.Println(page)
10865//            return pageNum <= 3
10866//        })
10867//
10868func (c *SageMaker) ListWorkforcesPages(input *ListWorkforcesInput, fn func(*ListWorkforcesOutput, bool) bool) error {
10869	return c.ListWorkforcesPagesWithContext(aws.BackgroundContext(), input, fn)
10870}
10871
10872// ListWorkforcesPagesWithContext same as ListWorkforcesPages except
10873// it takes a Context and allows setting request options on the pages.
10874//
10875// The context must be non-nil and will be used for request cancellation. If
10876// the context is nil a panic will occur. In the future the SDK may create
10877// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10878// for more information on using Contexts.
10879func (c *SageMaker) ListWorkforcesPagesWithContext(ctx aws.Context, input *ListWorkforcesInput, fn func(*ListWorkforcesOutput, bool) bool, opts ...request.Option) error {
10880	p := request.Pagination{
10881		NewRequest: func() (*request.Request, error) {
10882			var inCpy *ListWorkforcesInput
10883			if input != nil {
10884				tmp := *input
10885				inCpy = &tmp
10886			}
10887			req, _ := c.ListWorkforcesRequest(inCpy)
10888			req.SetContext(ctx)
10889			req.ApplyOptions(opts...)
10890			return req, nil
10891		},
10892	}
10893
10894	for p.Next() {
10895		if !fn(p.Page().(*ListWorkforcesOutput), !p.HasNextPage()) {
10896			break
10897		}
10898	}
10899
10900	return p.Err()
10901}
10902
10903const opListWorkteams = "ListWorkteams"
10904
10905// ListWorkteamsRequest generates a "aws/request.Request" representing the
10906// client's request for the ListWorkteams operation. The "output" return
10907// value will be populated with the request's response once the request completes
10908// successfully.
10909//
10910// Use "Send" method on the returned Request to send the API call to the service.
10911// the "output" return value is not valid until after Send returns without error.
10912//
10913// See ListWorkteams for more information on using the ListWorkteams
10914// API call, and error handling.
10915//
10916// This method is useful when you want to inject custom logic or configuration
10917// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10918//
10919//
10920//    // Example sending a request using the ListWorkteamsRequest method.
10921//    req, resp := client.ListWorkteamsRequest(params)
10922//
10923//    err := req.Send()
10924//    if err == nil { // resp is now filled
10925//        fmt.Println(resp)
10926//    }
10927//
10928// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkteams
10929func (c *SageMaker) ListWorkteamsRequest(input *ListWorkteamsInput) (req *request.Request, output *ListWorkteamsOutput) {
10930	op := &request.Operation{
10931		Name:       opListWorkteams,
10932		HTTPMethod: "POST",
10933		HTTPPath:   "/",
10934		Paginator: &request.Paginator{
10935			InputTokens:     []string{"NextToken"},
10936			OutputTokens:    []string{"NextToken"},
10937			LimitToken:      "MaxResults",
10938			TruncationToken: "",
10939		},
10940	}
10941
10942	if input == nil {
10943		input = &ListWorkteamsInput{}
10944	}
10945
10946	output = &ListWorkteamsOutput{}
10947	req = c.newRequest(op, input, output)
10948	return
10949}
10950
10951// ListWorkteams API operation for Amazon SageMaker Service.
10952//
10953// Gets a list of work teams that you have defined in a region. The list may
10954// be empty if no work team satisfies the filter specified in the NameContains
10955// parameter.
10956//
10957// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10958// with awserr.Error's Code and Message methods to get detailed information about
10959// the error.
10960//
10961// See the AWS API reference guide for Amazon SageMaker Service's
10962// API operation ListWorkteams for usage and error information.
10963// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkteams
10964func (c *SageMaker) ListWorkteams(input *ListWorkteamsInput) (*ListWorkteamsOutput, error) {
10965	req, out := c.ListWorkteamsRequest(input)
10966	return out, req.Send()
10967}
10968
10969// ListWorkteamsWithContext is the same as ListWorkteams with the addition of
10970// the ability to pass a context and additional request options.
10971//
10972// See ListWorkteams for details on how to use this API operation.
10973//
10974// The context must be non-nil and will be used for request cancellation. If
10975// the context is nil a panic will occur. In the future the SDK may create
10976// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10977// for more information on using Contexts.
10978func (c *SageMaker) ListWorkteamsWithContext(ctx aws.Context, input *ListWorkteamsInput, opts ...request.Option) (*ListWorkteamsOutput, error) {
10979	req, out := c.ListWorkteamsRequest(input)
10980	req.SetContext(ctx)
10981	req.ApplyOptions(opts...)
10982	return out, req.Send()
10983}
10984
10985// ListWorkteamsPages iterates over the pages of a ListWorkteams operation,
10986// calling the "fn" function with the response data for each page. To stop
10987// iterating, return false from the fn function.
10988//
10989// See ListWorkteams method for more information on how to use this operation.
10990//
10991// Note: This operation can generate multiple requests to a service.
10992//
10993//    // Example iterating over at most 3 pages of a ListWorkteams operation.
10994//    pageNum := 0
10995//    err := client.ListWorkteamsPages(params,
10996//        func(page *sagemaker.ListWorkteamsOutput, lastPage bool) bool {
10997//            pageNum++
10998//            fmt.Println(page)
10999//            return pageNum <= 3
11000//        })
11001//
11002func (c *SageMaker) ListWorkteamsPages(input *ListWorkteamsInput, fn func(*ListWorkteamsOutput, bool) bool) error {
11003	return c.ListWorkteamsPagesWithContext(aws.BackgroundContext(), input, fn)
11004}
11005
11006// ListWorkteamsPagesWithContext same as ListWorkteamsPages except
11007// it takes a Context and allows setting request options on the pages.
11008//
11009// The context must be non-nil and will be used for request cancellation. If
11010// the context is nil a panic will occur. In the future the SDK may create
11011// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11012// for more information on using Contexts.
11013func (c *SageMaker) ListWorkteamsPagesWithContext(ctx aws.Context, input *ListWorkteamsInput, fn func(*ListWorkteamsOutput, bool) bool, opts ...request.Option) error {
11014	p := request.Pagination{
11015		NewRequest: func() (*request.Request, error) {
11016			var inCpy *ListWorkteamsInput
11017			if input != nil {
11018				tmp := *input
11019				inCpy = &tmp
11020			}
11021			req, _ := c.ListWorkteamsRequest(inCpy)
11022			req.SetContext(ctx)
11023			req.ApplyOptions(opts...)
11024			return req, nil
11025		},
11026	}
11027
11028	for p.Next() {
11029		if !fn(p.Page().(*ListWorkteamsOutput), !p.HasNextPage()) {
11030			break
11031		}
11032	}
11033
11034	return p.Err()
11035}
11036
11037const opRenderUiTemplate = "RenderUiTemplate"
11038
11039// RenderUiTemplateRequest generates a "aws/request.Request" representing the
11040// client's request for the RenderUiTemplate operation. The "output" return
11041// value will be populated with the request's response once the request completes
11042// successfully.
11043//
11044// Use "Send" method on the returned Request to send the API call to the service.
11045// the "output" return value is not valid until after Send returns without error.
11046//
11047// See RenderUiTemplate for more information on using the RenderUiTemplate
11048// API call, and error handling.
11049//
11050// This method is useful when you want to inject custom logic or configuration
11051// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11052//
11053//
11054//    // Example sending a request using the RenderUiTemplateRequest method.
11055//    req, resp := client.RenderUiTemplateRequest(params)
11056//
11057//    err := req.Send()
11058//    if err == nil { // resp is now filled
11059//        fmt.Println(resp)
11060//    }
11061//
11062// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RenderUiTemplate
11063func (c *SageMaker) RenderUiTemplateRequest(input *RenderUiTemplateInput) (req *request.Request, output *RenderUiTemplateOutput) {
11064	op := &request.Operation{
11065		Name:       opRenderUiTemplate,
11066		HTTPMethod: "POST",
11067		HTTPPath:   "/",
11068	}
11069
11070	if input == nil {
11071		input = &RenderUiTemplateInput{}
11072	}
11073
11074	output = &RenderUiTemplateOutput{}
11075	req = c.newRequest(op, input, output)
11076	return
11077}
11078
11079// RenderUiTemplate API operation for Amazon SageMaker Service.
11080//
11081// Renders the UI template so that you can preview the worker's experience.
11082//
11083// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11084// with awserr.Error's Code and Message methods to get detailed information about
11085// the error.
11086//
11087// See the AWS API reference guide for Amazon SageMaker Service's
11088// API operation RenderUiTemplate for usage and error information.
11089//
11090// Returned Error Types:
11091//   * ResourceNotFound
11092//   Resource being access is not found.
11093//
11094// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RenderUiTemplate
11095func (c *SageMaker) RenderUiTemplate(input *RenderUiTemplateInput) (*RenderUiTemplateOutput, error) {
11096	req, out := c.RenderUiTemplateRequest(input)
11097	return out, req.Send()
11098}
11099
11100// RenderUiTemplateWithContext is the same as RenderUiTemplate with the addition of
11101// the ability to pass a context and additional request options.
11102//
11103// See RenderUiTemplate for details on how to use this API operation.
11104//
11105// The context must be non-nil and will be used for request cancellation. If
11106// the context is nil a panic will occur. In the future the SDK may create
11107// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11108// for more information on using Contexts.
11109func (c *SageMaker) RenderUiTemplateWithContext(ctx aws.Context, input *RenderUiTemplateInput, opts ...request.Option) (*RenderUiTemplateOutput, error) {
11110	req, out := c.RenderUiTemplateRequest(input)
11111	req.SetContext(ctx)
11112	req.ApplyOptions(opts...)
11113	return out, req.Send()
11114}
11115
11116const opSearch = "Search"
11117
11118// SearchRequest generates a "aws/request.Request" representing the
11119// client's request for the Search operation. The "output" return
11120// value will be populated with the request's response once the request completes
11121// successfully.
11122//
11123// Use "Send" method on the returned Request to send the API call to the service.
11124// the "output" return value is not valid until after Send returns without error.
11125//
11126// See Search for more information on using the Search
11127// API call, and error handling.
11128//
11129// This method is useful when you want to inject custom logic or configuration
11130// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11131//
11132//
11133//    // Example sending a request using the SearchRequest method.
11134//    req, resp := client.SearchRequest(params)
11135//
11136//    err := req.Send()
11137//    if err == nil { // resp is now filled
11138//        fmt.Println(resp)
11139//    }
11140//
11141// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Search
11142func (c *SageMaker) SearchRequest(input *SearchInput) (req *request.Request, output *SearchOutput) {
11143	op := &request.Operation{
11144		Name:       opSearch,
11145		HTTPMethod: "POST",
11146		HTTPPath:   "/",
11147		Paginator: &request.Paginator{
11148			InputTokens:     []string{"NextToken"},
11149			OutputTokens:    []string{"NextToken"},
11150			LimitToken:      "MaxResults",
11151			TruncationToken: "",
11152		},
11153	}
11154
11155	if input == nil {
11156		input = &SearchInput{}
11157	}
11158
11159	output = &SearchOutput{}
11160	req = c.newRequest(op, input, output)
11161	return
11162}
11163
11164// Search API operation for Amazon SageMaker Service.
11165//
11166// Finds Amazon SageMaker resources that match a search query. Matching resources
11167// are returned as a list of SearchRecord objects in the response. You can sort
11168// the search results by any resource property in a ascending or descending
11169// order.
11170//
11171// You can query against the following value types: numeric, text, Boolean,
11172// and timestamp.
11173//
11174// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11175// with awserr.Error's Code and Message methods to get detailed information about
11176// the error.
11177//
11178// See the AWS API reference guide for Amazon SageMaker Service's
11179// API operation Search for usage and error information.
11180// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Search
11181func (c *SageMaker) Search(input *SearchInput) (*SearchOutput, error) {
11182	req, out := c.SearchRequest(input)
11183	return out, req.Send()
11184}
11185
11186// SearchWithContext is the same as Search with the addition of
11187// the ability to pass a context and additional request options.
11188//
11189// See Search for details on how to use this API operation.
11190//
11191// The context must be non-nil and will be used for request cancellation. If
11192// the context is nil a panic will occur. In the future the SDK may create
11193// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11194// for more information on using Contexts.
11195func (c *SageMaker) SearchWithContext(ctx aws.Context, input *SearchInput, opts ...request.Option) (*SearchOutput, error) {
11196	req, out := c.SearchRequest(input)
11197	req.SetContext(ctx)
11198	req.ApplyOptions(opts...)
11199	return out, req.Send()
11200}
11201
11202// SearchPages iterates over the pages of a Search operation,
11203// calling the "fn" function with the response data for each page. To stop
11204// iterating, return false from the fn function.
11205//
11206// See Search method for more information on how to use this operation.
11207//
11208// Note: This operation can generate multiple requests to a service.
11209//
11210//    // Example iterating over at most 3 pages of a Search operation.
11211//    pageNum := 0
11212//    err := client.SearchPages(params,
11213//        func(page *sagemaker.SearchOutput, lastPage bool) bool {
11214//            pageNum++
11215//            fmt.Println(page)
11216//            return pageNum <= 3
11217//        })
11218//
11219func (c *SageMaker) SearchPages(input *SearchInput, fn func(*SearchOutput, bool) bool) error {
11220	return c.SearchPagesWithContext(aws.BackgroundContext(), input, fn)
11221}
11222
11223// SearchPagesWithContext same as SearchPages except
11224// it takes a Context and allows setting request options on the pages.
11225//
11226// The context must be non-nil and will be used for request cancellation. If
11227// the context is nil a panic will occur. In the future the SDK may create
11228// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11229// for more information on using Contexts.
11230func (c *SageMaker) SearchPagesWithContext(ctx aws.Context, input *SearchInput, fn func(*SearchOutput, bool) bool, opts ...request.Option) error {
11231	p := request.Pagination{
11232		NewRequest: func() (*request.Request, error) {
11233			var inCpy *SearchInput
11234			if input != nil {
11235				tmp := *input
11236				inCpy = &tmp
11237			}
11238			req, _ := c.SearchRequest(inCpy)
11239			req.SetContext(ctx)
11240			req.ApplyOptions(opts...)
11241			return req, nil
11242		},
11243	}
11244
11245	for p.Next() {
11246		if !fn(p.Page().(*SearchOutput), !p.HasNextPage()) {
11247			break
11248		}
11249	}
11250
11251	return p.Err()
11252}
11253
11254const opStartMonitoringSchedule = "StartMonitoringSchedule"
11255
11256// StartMonitoringScheduleRequest generates a "aws/request.Request" representing the
11257// client's request for the StartMonitoringSchedule operation. The "output" return
11258// value will be populated with the request's response once the request completes
11259// successfully.
11260//
11261// Use "Send" method on the returned Request to send the API call to the service.
11262// the "output" return value is not valid until after Send returns without error.
11263//
11264// See StartMonitoringSchedule for more information on using the StartMonitoringSchedule
11265// API call, and error handling.
11266//
11267// This method is useful when you want to inject custom logic or configuration
11268// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11269//
11270//
11271//    // Example sending a request using the StartMonitoringScheduleRequest method.
11272//    req, resp := client.StartMonitoringScheduleRequest(params)
11273//
11274//    err := req.Send()
11275//    if err == nil { // resp is now filled
11276//        fmt.Println(resp)
11277//    }
11278//
11279// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartMonitoringSchedule
11280func (c *SageMaker) StartMonitoringScheduleRequest(input *StartMonitoringScheduleInput) (req *request.Request, output *StartMonitoringScheduleOutput) {
11281	op := &request.Operation{
11282		Name:       opStartMonitoringSchedule,
11283		HTTPMethod: "POST",
11284		HTTPPath:   "/",
11285	}
11286
11287	if input == nil {
11288		input = &StartMonitoringScheduleInput{}
11289	}
11290
11291	output = &StartMonitoringScheduleOutput{}
11292	req = c.newRequest(op, input, output)
11293	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11294	return
11295}
11296
11297// StartMonitoringSchedule API operation for Amazon SageMaker Service.
11298//
11299// Starts a previously stopped monitoring schedule.
11300//
11301// New monitoring schedules are immediately started after creation.
11302//
11303// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11304// with awserr.Error's Code and Message methods to get detailed information about
11305// the error.
11306//
11307// See the AWS API reference guide for Amazon SageMaker Service's
11308// API operation StartMonitoringSchedule for usage and error information.
11309//
11310// Returned Error Types:
11311//   * ResourceNotFound
11312//   Resource being access is not found.
11313//
11314// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartMonitoringSchedule
11315func (c *SageMaker) StartMonitoringSchedule(input *StartMonitoringScheduleInput) (*StartMonitoringScheduleOutput, error) {
11316	req, out := c.StartMonitoringScheduleRequest(input)
11317	return out, req.Send()
11318}
11319
11320// StartMonitoringScheduleWithContext is the same as StartMonitoringSchedule with the addition of
11321// the ability to pass a context and additional request options.
11322//
11323// See StartMonitoringSchedule for details on how to use this API operation.
11324//
11325// The context must be non-nil and will be used for request cancellation. If
11326// the context is nil a panic will occur. In the future the SDK may create
11327// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11328// for more information on using Contexts.
11329func (c *SageMaker) StartMonitoringScheduleWithContext(ctx aws.Context, input *StartMonitoringScheduleInput, opts ...request.Option) (*StartMonitoringScheduleOutput, error) {
11330	req, out := c.StartMonitoringScheduleRequest(input)
11331	req.SetContext(ctx)
11332	req.ApplyOptions(opts...)
11333	return out, req.Send()
11334}
11335
11336const opStartNotebookInstance = "StartNotebookInstance"
11337
11338// StartNotebookInstanceRequest generates a "aws/request.Request" representing the
11339// client's request for the StartNotebookInstance operation. The "output" return
11340// value will be populated with the request's response once the request completes
11341// successfully.
11342//
11343// Use "Send" method on the returned Request to send the API call to the service.
11344// the "output" return value is not valid until after Send returns without error.
11345//
11346// See StartNotebookInstance for more information on using the StartNotebookInstance
11347// API call, and error handling.
11348//
11349// This method is useful when you want to inject custom logic or configuration
11350// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11351//
11352//
11353//    // Example sending a request using the StartNotebookInstanceRequest method.
11354//    req, resp := client.StartNotebookInstanceRequest(params)
11355//
11356//    err := req.Send()
11357//    if err == nil { // resp is now filled
11358//        fmt.Println(resp)
11359//    }
11360//
11361// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartNotebookInstance
11362func (c *SageMaker) StartNotebookInstanceRequest(input *StartNotebookInstanceInput) (req *request.Request, output *StartNotebookInstanceOutput) {
11363	op := &request.Operation{
11364		Name:       opStartNotebookInstance,
11365		HTTPMethod: "POST",
11366		HTTPPath:   "/",
11367	}
11368
11369	if input == nil {
11370		input = &StartNotebookInstanceInput{}
11371	}
11372
11373	output = &StartNotebookInstanceOutput{}
11374	req = c.newRequest(op, input, output)
11375	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11376	return
11377}
11378
11379// StartNotebookInstance API operation for Amazon SageMaker Service.
11380//
11381// Launches an ML compute instance with the latest version of the libraries
11382// and attaches your ML storage volume. After configuring the notebook instance,
11383// Amazon SageMaker sets the notebook instance status to InService. A notebook
11384// instance's status must be InService before you can connect to your Jupyter
11385// notebook.
11386//
11387// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11388// with awserr.Error's Code and Message methods to get detailed information about
11389// the error.
11390//
11391// See the AWS API reference guide for Amazon SageMaker Service's
11392// API operation StartNotebookInstance for usage and error information.
11393//
11394// Returned Error Types:
11395//   * ResourceLimitExceeded
11396//   You have exceeded an Amazon SageMaker resource limit. For example, you might
11397//   have too many training jobs created.
11398//
11399// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartNotebookInstance
11400func (c *SageMaker) StartNotebookInstance(input *StartNotebookInstanceInput) (*StartNotebookInstanceOutput, error) {
11401	req, out := c.StartNotebookInstanceRequest(input)
11402	return out, req.Send()
11403}
11404
11405// StartNotebookInstanceWithContext is the same as StartNotebookInstance with the addition of
11406// the ability to pass a context and additional request options.
11407//
11408// See StartNotebookInstance for details on how to use this API operation.
11409//
11410// The context must be non-nil and will be used for request cancellation. If
11411// the context is nil a panic will occur. In the future the SDK may create
11412// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11413// for more information on using Contexts.
11414func (c *SageMaker) StartNotebookInstanceWithContext(ctx aws.Context, input *StartNotebookInstanceInput, opts ...request.Option) (*StartNotebookInstanceOutput, error) {
11415	req, out := c.StartNotebookInstanceRequest(input)
11416	req.SetContext(ctx)
11417	req.ApplyOptions(opts...)
11418	return out, req.Send()
11419}
11420
11421const opStopAutoMLJob = "StopAutoMLJob"
11422
11423// StopAutoMLJobRequest generates a "aws/request.Request" representing the
11424// client's request for the StopAutoMLJob operation. The "output" return
11425// value will be populated with the request's response once the request completes
11426// successfully.
11427//
11428// Use "Send" method on the returned Request to send the API call to the service.
11429// the "output" return value is not valid until after Send returns without error.
11430//
11431// See StopAutoMLJob for more information on using the StopAutoMLJob
11432// API call, and error handling.
11433//
11434// This method is useful when you want to inject custom logic or configuration
11435// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11436//
11437//
11438//    // Example sending a request using the StopAutoMLJobRequest method.
11439//    req, resp := client.StopAutoMLJobRequest(params)
11440//
11441//    err := req.Send()
11442//    if err == nil { // resp is now filled
11443//        fmt.Println(resp)
11444//    }
11445//
11446// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopAutoMLJob
11447func (c *SageMaker) StopAutoMLJobRequest(input *StopAutoMLJobInput) (req *request.Request, output *StopAutoMLJobOutput) {
11448	op := &request.Operation{
11449		Name:       opStopAutoMLJob,
11450		HTTPMethod: "POST",
11451		HTTPPath:   "/",
11452	}
11453
11454	if input == nil {
11455		input = &StopAutoMLJobInput{}
11456	}
11457
11458	output = &StopAutoMLJobOutput{}
11459	req = c.newRequest(op, input, output)
11460	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11461	return
11462}
11463
11464// StopAutoMLJob API operation for Amazon SageMaker Service.
11465//
11466// A method for forcing the termination of a running job.
11467//
11468// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11469// with awserr.Error's Code and Message methods to get detailed information about
11470// the error.
11471//
11472// See the AWS API reference guide for Amazon SageMaker Service's
11473// API operation StopAutoMLJob for usage and error information.
11474//
11475// Returned Error Types:
11476//   * ResourceNotFound
11477//   Resource being access is not found.
11478//
11479// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopAutoMLJob
11480func (c *SageMaker) StopAutoMLJob(input *StopAutoMLJobInput) (*StopAutoMLJobOutput, error) {
11481	req, out := c.StopAutoMLJobRequest(input)
11482	return out, req.Send()
11483}
11484
11485// StopAutoMLJobWithContext is the same as StopAutoMLJob with the addition of
11486// the ability to pass a context and additional request options.
11487//
11488// See StopAutoMLJob for details on how to use this API operation.
11489//
11490// The context must be non-nil and will be used for request cancellation. If
11491// the context is nil a panic will occur. In the future the SDK may create
11492// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11493// for more information on using Contexts.
11494func (c *SageMaker) StopAutoMLJobWithContext(ctx aws.Context, input *StopAutoMLJobInput, opts ...request.Option) (*StopAutoMLJobOutput, error) {
11495	req, out := c.StopAutoMLJobRequest(input)
11496	req.SetContext(ctx)
11497	req.ApplyOptions(opts...)
11498	return out, req.Send()
11499}
11500
11501const opStopCompilationJob = "StopCompilationJob"
11502
11503// StopCompilationJobRequest generates a "aws/request.Request" representing the
11504// client's request for the StopCompilationJob operation. The "output" return
11505// value will be populated with the request's response once the request completes
11506// successfully.
11507//
11508// Use "Send" method on the returned Request to send the API call to the service.
11509// the "output" return value is not valid until after Send returns without error.
11510//
11511// See StopCompilationJob for more information on using the StopCompilationJob
11512// API call, and error handling.
11513//
11514// This method is useful when you want to inject custom logic or configuration
11515// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11516//
11517//
11518//    // Example sending a request using the StopCompilationJobRequest method.
11519//    req, resp := client.StopCompilationJobRequest(params)
11520//
11521//    err := req.Send()
11522//    if err == nil { // resp is now filled
11523//        fmt.Println(resp)
11524//    }
11525//
11526// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopCompilationJob
11527func (c *SageMaker) StopCompilationJobRequest(input *StopCompilationJobInput) (req *request.Request, output *StopCompilationJobOutput) {
11528	op := &request.Operation{
11529		Name:       opStopCompilationJob,
11530		HTTPMethod: "POST",
11531		HTTPPath:   "/",
11532	}
11533
11534	if input == nil {
11535		input = &StopCompilationJobInput{}
11536	}
11537
11538	output = &StopCompilationJobOutput{}
11539	req = c.newRequest(op, input, output)
11540	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11541	return
11542}
11543
11544// StopCompilationJob API operation for Amazon SageMaker Service.
11545//
11546// Stops a model compilation job.
11547//
11548// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal. This
11549// gracefully shuts the job down. If the job hasn't stopped, it sends the SIGKILL
11550// signal.
11551//
11552// When it receives a StopCompilationJob request, Amazon SageMaker changes the
11553// CompilationJobSummary$CompilationJobStatus of the job to Stopping. After
11554// Amazon SageMaker stops the job, it sets the CompilationJobSummary$CompilationJobStatus
11555// to Stopped.
11556//
11557// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11558// with awserr.Error's Code and Message methods to get detailed information about
11559// the error.
11560//
11561// See the AWS API reference guide for Amazon SageMaker Service's
11562// API operation StopCompilationJob for usage and error information.
11563//
11564// Returned Error Types:
11565//   * ResourceNotFound
11566//   Resource being access is not found.
11567//
11568// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopCompilationJob
11569func (c *SageMaker) StopCompilationJob(input *StopCompilationJobInput) (*StopCompilationJobOutput, error) {
11570	req, out := c.StopCompilationJobRequest(input)
11571	return out, req.Send()
11572}
11573
11574// StopCompilationJobWithContext is the same as StopCompilationJob with the addition of
11575// the ability to pass a context and additional request options.
11576//
11577// See StopCompilationJob for details on how to use this API operation.
11578//
11579// The context must be non-nil and will be used for request cancellation. If
11580// the context is nil a panic will occur. In the future the SDK may create
11581// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11582// for more information on using Contexts.
11583func (c *SageMaker) StopCompilationJobWithContext(ctx aws.Context, input *StopCompilationJobInput, opts ...request.Option) (*StopCompilationJobOutput, error) {
11584	req, out := c.StopCompilationJobRequest(input)
11585	req.SetContext(ctx)
11586	req.ApplyOptions(opts...)
11587	return out, req.Send()
11588}
11589
11590const opStopHyperParameterTuningJob = "StopHyperParameterTuningJob"
11591
11592// StopHyperParameterTuningJobRequest generates a "aws/request.Request" representing the
11593// client's request for the StopHyperParameterTuningJob operation. The "output" return
11594// value will be populated with the request's response once the request completes
11595// successfully.
11596//
11597// Use "Send" method on the returned Request to send the API call to the service.
11598// the "output" return value is not valid until after Send returns without error.
11599//
11600// See StopHyperParameterTuningJob for more information on using the StopHyperParameterTuningJob
11601// API call, and error handling.
11602//
11603// This method is useful when you want to inject custom logic or configuration
11604// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11605//
11606//
11607//    // Example sending a request using the StopHyperParameterTuningJobRequest method.
11608//    req, resp := client.StopHyperParameterTuningJobRequest(params)
11609//
11610//    err := req.Send()
11611//    if err == nil { // resp is now filled
11612//        fmt.Println(resp)
11613//    }
11614//
11615// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopHyperParameterTuningJob
11616func (c *SageMaker) StopHyperParameterTuningJobRequest(input *StopHyperParameterTuningJobInput) (req *request.Request, output *StopHyperParameterTuningJobOutput) {
11617	op := &request.Operation{
11618		Name:       opStopHyperParameterTuningJob,
11619		HTTPMethod: "POST",
11620		HTTPPath:   "/",
11621	}
11622
11623	if input == nil {
11624		input = &StopHyperParameterTuningJobInput{}
11625	}
11626
11627	output = &StopHyperParameterTuningJobOutput{}
11628	req = c.newRequest(op, input, output)
11629	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11630	return
11631}
11632
11633// StopHyperParameterTuningJob API operation for Amazon SageMaker Service.
11634//
11635// Stops a running hyperparameter tuning job and all running training jobs that
11636// the tuning job launched.
11637//
11638// All model artifacts output from the training jobs are stored in Amazon Simple
11639// Storage Service (Amazon S3). All data that the training jobs write to Amazon
11640// CloudWatch Logs are still available in CloudWatch. After the tuning job moves
11641// to the Stopped state, it releases all reserved resources for the tuning job.
11642//
11643// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11644// with awserr.Error's Code and Message methods to get detailed information about
11645// the error.
11646//
11647// See the AWS API reference guide for Amazon SageMaker Service's
11648// API operation StopHyperParameterTuningJob for usage and error information.
11649//
11650// Returned Error Types:
11651//   * ResourceNotFound
11652//   Resource being access is not found.
11653//
11654// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopHyperParameterTuningJob
11655func (c *SageMaker) StopHyperParameterTuningJob(input *StopHyperParameterTuningJobInput) (*StopHyperParameterTuningJobOutput, error) {
11656	req, out := c.StopHyperParameterTuningJobRequest(input)
11657	return out, req.Send()
11658}
11659
11660// StopHyperParameterTuningJobWithContext is the same as StopHyperParameterTuningJob with the addition of
11661// the ability to pass a context and additional request options.
11662//
11663// See StopHyperParameterTuningJob for details on how to use this API operation.
11664//
11665// The context must be non-nil and will be used for request cancellation. If
11666// the context is nil a panic will occur. In the future the SDK may create
11667// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11668// for more information on using Contexts.
11669func (c *SageMaker) StopHyperParameterTuningJobWithContext(ctx aws.Context, input *StopHyperParameterTuningJobInput, opts ...request.Option) (*StopHyperParameterTuningJobOutput, error) {
11670	req, out := c.StopHyperParameterTuningJobRequest(input)
11671	req.SetContext(ctx)
11672	req.ApplyOptions(opts...)
11673	return out, req.Send()
11674}
11675
11676const opStopLabelingJob = "StopLabelingJob"
11677
11678// StopLabelingJobRequest generates a "aws/request.Request" representing the
11679// client's request for the StopLabelingJob operation. The "output" return
11680// value will be populated with the request's response once the request completes
11681// successfully.
11682//
11683// Use "Send" method on the returned Request to send the API call to the service.
11684// the "output" return value is not valid until after Send returns without error.
11685//
11686// See StopLabelingJob for more information on using the StopLabelingJob
11687// API call, and error handling.
11688//
11689// This method is useful when you want to inject custom logic or configuration
11690// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11691//
11692//
11693//    // Example sending a request using the StopLabelingJobRequest method.
11694//    req, resp := client.StopLabelingJobRequest(params)
11695//
11696//    err := req.Send()
11697//    if err == nil { // resp is now filled
11698//        fmt.Println(resp)
11699//    }
11700//
11701// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopLabelingJob
11702func (c *SageMaker) StopLabelingJobRequest(input *StopLabelingJobInput) (req *request.Request, output *StopLabelingJobOutput) {
11703	op := &request.Operation{
11704		Name:       opStopLabelingJob,
11705		HTTPMethod: "POST",
11706		HTTPPath:   "/",
11707	}
11708
11709	if input == nil {
11710		input = &StopLabelingJobInput{}
11711	}
11712
11713	output = &StopLabelingJobOutput{}
11714	req = c.newRequest(op, input, output)
11715	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11716	return
11717}
11718
11719// StopLabelingJob API operation for Amazon SageMaker Service.
11720//
11721// Stops a running labeling job. A job that is stopped cannot be restarted.
11722// Any results obtained before the job is stopped are placed in the Amazon S3
11723// output bucket.
11724//
11725// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11726// with awserr.Error's Code and Message methods to get detailed information about
11727// the error.
11728//
11729// See the AWS API reference guide for Amazon SageMaker Service's
11730// API operation StopLabelingJob for usage and error information.
11731//
11732// Returned Error Types:
11733//   * ResourceNotFound
11734//   Resource being access is not found.
11735//
11736// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopLabelingJob
11737func (c *SageMaker) StopLabelingJob(input *StopLabelingJobInput) (*StopLabelingJobOutput, error) {
11738	req, out := c.StopLabelingJobRequest(input)
11739	return out, req.Send()
11740}
11741
11742// StopLabelingJobWithContext is the same as StopLabelingJob with the addition of
11743// the ability to pass a context and additional request options.
11744//
11745// See StopLabelingJob for details on how to use this API operation.
11746//
11747// The context must be non-nil and will be used for request cancellation. If
11748// the context is nil a panic will occur. In the future the SDK may create
11749// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11750// for more information on using Contexts.
11751func (c *SageMaker) StopLabelingJobWithContext(ctx aws.Context, input *StopLabelingJobInput, opts ...request.Option) (*StopLabelingJobOutput, error) {
11752	req, out := c.StopLabelingJobRequest(input)
11753	req.SetContext(ctx)
11754	req.ApplyOptions(opts...)
11755	return out, req.Send()
11756}
11757
11758const opStopMonitoringSchedule = "StopMonitoringSchedule"
11759
11760// StopMonitoringScheduleRequest generates a "aws/request.Request" representing the
11761// client's request for the StopMonitoringSchedule operation. The "output" return
11762// value will be populated with the request's response once the request completes
11763// successfully.
11764//
11765// Use "Send" method on the returned Request to send the API call to the service.
11766// the "output" return value is not valid until after Send returns without error.
11767//
11768// See StopMonitoringSchedule for more information on using the StopMonitoringSchedule
11769// API call, and error handling.
11770//
11771// This method is useful when you want to inject custom logic or configuration
11772// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11773//
11774//
11775//    // Example sending a request using the StopMonitoringScheduleRequest method.
11776//    req, resp := client.StopMonitoringScheduleRequest(params)
11777//
11778//    err := req.Send()
11779//    if err == nil { // resp is now filled
11780//        fmt.Println(resp)
11781//    }
11782//
11783// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopMonitoringSchedule
11784func (c *SageMaker) StopMonitoringScheduleRequest(input *StopMonitoringScheduleInput) (req *request.Request, output *StopMonitoringScheduleOutput) {
11785	op := &request.Operation{
11786		Name:       opStopMonitoringSchedule,
11787		HTTPMethod: "POST",
11788		HTTPPath:   "/",
11789	}
11790
11791	if input == nil {
11792		input = &StopMonitoringScheduleInput{}
11793	}
11794
11795	output = &StopMonitoringScheduleOutput{}
11796	req = c.newRequest(op, input, output)
11797	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11798	return
11799}
11800
11801// StopMonitoringSchedule API operation for Amazon SageMaker Service.
11802//
11803// Stops a previously started monitoring schedule.
11804//
11805// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11806// with awserr.Error's Code and Message methods to get detailed information about
11807// the error.
11808//
11809// See the AWS API reference guide for Amazon SageMaker Service's
11810// API operation StopMonitoringSchedule for usage and error information.
11811//
11812// Returned Error Types:
11813//   * ResourceNotFound
11814//   Resource being access is not found.
11815//
11816// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopMonitoringSchedule
11817func (c *SageMaker) StopMonitoringSchedule(input *StopMonitoringScheduleInput) (*StopMonitoringScheduleOutput, error) {
11818	req, out := c.StopMonitoringScheduleRequest(input)
11819	return out, req.Send()
11820}
11821
11822// StopMonitoringScheduleWithContext is the same as StopMonitoringSchedule with the addition of
11823// the ability to pass a context and additional request options.
11824//
11825// See StopMonitoringSchedule for details on how to use this API operation.
11826//
11827// The context must be non-nil and will be used for request cancellation. If
11828// the context is nil a panic will occur. In the future the SDK may create
11829// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11830// for more information on using Contexts.
11831func (c *SageMaker) StopMonitoringScheduleWithContext(ctx aws.Context, input *StopMonitoringScheduleInput, opts ...request.Option) (*StopMonitoringScheduleOutput, error) {
11832	req, out := c.StopMonitoringScheduleRequest(input)
11833	req.SetContext(ctx)
11834	req.ApplyOptions(opts...)
11835	return out, req.Send()
11836}
11837
11838const opStopNotebookInstance = "StopNotebookInstance"
11839
11840// StopNotebookInstanceRequest generates a "aws/request.Request" representing the
11841// client's request for the StopNotebookInstance operation. The "output" return
11842// value will be populated with the request's response once the request completes
11843// successfully.
11844//
11845// Use "Send" method on the returned Request to send the API call to the service.
11846// the "output" return value is not valid until after Send returns without error.
11847//
11848// See StopNotebookInstance for more information on using the StopNotebookInstance
11849// API call, and error handling.
11850//
11851// This method is useful when you want to inject custom logic or configuration
11852// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11853//
11854//
11855//    // Example sending a request using the StopNotebookInstanceRequest method.
11856//    req, resp := client.StopNotebookInstanceRequest(params)
11857//
11858//    err := req.Send()
11859//    if err == nil { // resp is now filled
11860//        fmt.Println(resp)
11861//    }
11862//
11863// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopNotebookInstance
11864func (c *SageMaker) StopNotebookInstanceRequest(input *StopNotebookInstanceInput) (req *request.Request, output *StopNotebookInstanceOutput) {
11865	op := &request.Operation{
11866		Name:       opStopNotebookInstance,
11867		HTTPMethod: "POST",
11868		HTTPPath:   "/",
11869	}
11870
11871	if input == nil {
11872		input = &StopNotebookInstanceInput{}
11873	}
11874
11875	output = &StopNotebookInstanceOutput{}
11876	req = c.newRequest(op, input, output)
11877	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11878	return
11879}
11880
11881// StopNotebookInstance API operation for Amazon SageMaker Service.
11882//
11883// Terminates the ML compute instance. Before terminating the instance, Amazon
11884// SageMaker disconnects the ML storage volume from it. Amazon SageMaker preserves
11885// the ML storage volume. Amazon SageMaker stops charging you for the ML compute
11886// instance when you call StopNotebookInstance.
11887//
11888// To access data on the ML storage volume for a notebook instance that has
11889// been terminated, call the StartNotebookInstance API. StartNotebookInstance
11890// launches another ML compute instance, configures it, and attaches the preserved
11891// ML storage volume so you can continue your work.
11892//
11893// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11894// with awserr.Error's Code and Message methods to get detailed information about
11895// the error.
11896//
11897// See the AWS API reference guide for Amazon SageMaker Service's
11898// API operation StopNotebookInstance for usage and error information.
11899// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopNotebookInstance
11900func (c *SageMaker) StopNotebookInstance(input *StopNotebookInstanceInput) (*StopNotebookInstanceOutput, error) {
11901	req, out := c.StopNotebookInstanceRequest(input)
11902	return out, req.Send()
11903}
11904
11905// StopNotebookInstanceWithContext is the same as StopNotebookInstance with the addition of
11906// the ability to pass a context and additional request options.
11907//
11908// See StopNotebookInstance for details on how to use this API operation.
11909//
11910// The context must be non-nil and will be used for request cancellation. If
11911// the context is nil a panic will occur. In the future the SDK may create
11912// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11913// for more information on using Contexts.
11914func (c *SageMaker) StopNotebookInstanceWithContext(ctx aws.Context, input *StopNotebookInstanceInput, opts ...request.Option) (*StopNotebookInstanceOutput, error) {
11915	req, out := c.StopNotebookInstanceRequest(input)
11916	req.SetContext(ctx)
11917	req.ApplyOptions(opts...)
11918	return out, req.Send()
11919}
11920
11921const opStopProcessingJob = "StopProcessingJob"
11922
11923// StopProcessingJobRequest generates a "aws/request.Request" representing the
11924// client's request for the StopProcessingJob operation. The "output" return
11925// value will be populated with the request's response once the request completes
11926// successfully.
11927//
11928// Use "Send" method on the returned Request to send the API call to the service.
11929// the "output" return value is not valid until after Send returns without error.
11930//
11931// See StopProcessingJob for more information on using the StopProcessingJob
11932// API call, and error handling.
11933//
11934// This method is useful when you want to inject custom logic or configuration
11935// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11936//
11937//
11938//    // Example sending a request using the StopProcessingJobRequest method.
11939//    req, resp := client.StopProcessingJobRequest(params)
11940//
11941//    err := req.Send()
11942//    if err == nil { // resp is now filled
11943//        fmt.Println(resp)
11944//    }
11945//
11946// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopProcessingJob
11947func (c *SageMaker) StopProcessingJobRequest(input *StopProcessingJobInput) (req *request.Request, output *StopProcessingJobOutput) {
11948	op := &request.Operation{
11949		Name:       opStopProcessingJob,
11950		HTTPMethod: "POST",
11951		HTTPPath:   "/",
11952	}
11953
11954	if input == nil {
11955		input = &StopProcessingJobInput{}
11956	}
11957
11958	output = &StopProcessingJobOutput{}
11959	req = c.newRequest(op, input, output)
11960	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11961	return
11962}
11963
11964// StopProcessingJob API operation for Amazon SageMaker Service.
11965//
11966// Stops a processing job.
11967//
11968// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11969// with awserr.Error's Code and Message methods to get detailed information about
11970// the error.
11971//
11972// See the AWS API reference guide for Amazon SageMaker Service's
11973// API operation StopProcessingJob for usage and error information.
11974//
11975// Returned Error Types:
11976//   * ResourceNotFound
11977//   Resource being access is not found.
11978//
11979// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopProcessingJob
11980func (c *SageMaker) StopProcessingJob(input *StopProcessingJobInput) (*StopProcessingJobOutput, error) {
11981	req, out := c.StopProcessingJobRequest(input)
11982	return out, req.Send()
11983}
11984
11985// StopProcessingJobWithContext is the same as StopProcessingJob with the addition of
11986// the ability to pass a context and additional request options.
11987//
11988// See StopProcessingJob for details on how to use this API operation.
11989//
11990// The context must be non-nil and will be used for request cancellation. If
11991// the context is nil a panic will occur. In the future the SDK may create
11992// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11993// for more information on using Contexts.
11994func (c *SageMaker) StopProcessingJobWithContext(ctx aws.Context, input *StopProcessingJobInput, opts ...request.Option) (*StopProcessingJobOutput, error) {
11995	req, out := c.StopProcessingJobRequest(input)
11996	req.SetContext(ctx)
11997	req.ApplyOptions(opts...)
11998	return out, req.Send()
11999}
12000
12001const opStopTrainingJob = "StopTrainingJob"
12002
12003// StopTrainingJobRequest generates a "aws/request.Request" representing the
12004// client's request for the StopTrainingJob operation. The "output" return
12005// value will be populated with the request's response once the request completes
12006// successfully.
12007//
12008// Use "Send" method on the returned Request to send the API call to the service.
12009// the "output" return value is not valid until after Send returns without error.
12010//
12011// See StopTrainingJob for more information on using the StopTrainingJob
12012// API call, and error handling.
12013//
12014// This method is useful when you want to inject custom logic or configuration
12015// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12016//
12017//
12018//    // Example sending a request using the StopTrainingJobRequest method.
12019//    req, resp := client.StopTrainingJobRequest(params)
12020//
12021//    err := req.Send()
12022//    if err == nil { // resp is now filled
12023//        fmt.Println(resp)
12024//    }
12025//
12026// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTrainingJob
12027func (c *SageMaker) StopTrainingJobRequest(input *StopTrainingJobInput) (req *request.Request, output *StopTrainingJobOutput) {
12028	op := &request.Operation{
12029		Name:       opStopTrainingJob,
12030		HTTPMethod: "POST",
12031		HTTPPath:   "/",
12032	}
12033
12034	if input == nil {
12035		input = &StopTrainingJobInput{}
12036	}
12037
12038	output = &StopTrainingJobOutput{}
12039	req = c.newRequest(op, input, output)
12040	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
12041	return
12042}
12043
12044// StopTrainingJob API operation for Amazon SageMaker Service.
12045//
12046// Stops a training job. To stop a job, Amazon SageMaker sends the algorithm
12047// the SIGTERM signal, which delays job termination for 120 seconds. Algorithms
12048// might use this 120-second window to save the model artifacts, so the results
12049// of the training is not lost.
12050//
12051// When it receives a StopTrainingJob request, Amazon SageMaker changes the
12052// status of the job to Stopping. After Amazon SageMaker stops the job, it sets
12053// the status to Stopped.
12054//
12055// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12056// with awserr.Error's Code and Message methods to get detailed information about
12057// the error.
12058//
12059// See the AWS API reference guide for Amazon SageMaker Service's
12060// API operation StopTrainingJob for usage and error information.
12061//
12062// Returned Error Types:
12063//   * ResourceNotFound
12064//   Resource being access is not found.
12065//
12066// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTrainingJob
12067func (c *SageMaker) StopTrainingJob(input *StopTrainingJobInput) (*StopTrainingJobOutput, error) {
12068	req, out := c.StopTrainingJobRequest(input)
12069	return out, req.Send()
12070}
12071
12072// StopTrainingJobWithContext is the same as StopTrainingJob with the addition of
12073// the ability to pass a context and additional request options.
12074//
12075// See StopTrainingJob for details on how to use this API operation.
12076//
12077// The context must be non-nil and will be used for request cancellation. If
12078// the context is nil a panic will occur. In the future the SDK may create
12079// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12080// for more information on using Contexts.
12081func (c *SageMaker) StopTrainingJobWithContext(ctx aws.Context, input *StopTrainingJobInput, opts ...request.Option) (*StopTrainingJobOutput, error) {
12082	req, out := c.StopTrainingJobRequest(input)
12083	req.SetContext(ctx)
12084	req.ApplyOptions(opts...)
12085	return out, req.Send()
12086}
12087
12088const opStopTransformJob = "StopTransformJob"
12089
12090// StopTransformJobRequest generates a "aws/request.Request" representing the
12091// client's request for the StopTransformJob operation. The "output" return
12092// value will be populated with the request's response once the request completes
12093// successfully.
12094//
12095// Use "Send" method on the returned Request to send the API call to the service.
12096// the "output" return value is not valid until after Send returns without error.
12097//
12098// See StopTransformJob for more information on using the StopTransformJob
12099// API call, and error handling.
12100//
12101// This method is useful when you want to inject custom logic or configuration
12102// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12103//
12104//
12105//    // Example sending a request using the StopTransformJobRequest method.
12106//    req, resp := client.StopTransformJobRequest(params)
12107//
12108//    err := req.Send()
12109//    if err == nil { // resp is now filled
12110//        fmt.Println(resp)
12111//    }
12112//
12113// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTransformJob
12114func (c *SageMaker) StopTransformJobRequest(input *StopTransformJobInput) (req *request.Request, output *StopTransformJobOutput) {
12115	op := &request.Operation{
12116		Name:       opStopTransformJob,
12117		HTTPMethod: "POST",
12118		HTTPPath:   "/",
12119	}
12120
12121	if input == nil {
12122		input = &StopTransformJobInput{}
12123	}
12124
12125	output = &StopTransformJobOutput{}
12126	req = c.newRequest(op, input, output)
12127	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
12128	return
12129}
12130
12131// StopTransformJob API operation for Amazon SageMaker Service.
12132//
12133// Stops a transform job.
12134//
12135// When Amazon SageMaker receives a StopTransformJob request, the status of
12136// the job changes to Stopping. After Amazon SageMaker stops the job, the status
12137// is set to Stopped. When you stop a transform job before it is completed,
12138// Amazon SageMaker doesn't store the job's output in Amazon S3.
12139//
12140// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12141// with awserr.Error's Code and Message methods to get detailed information about
12142// the error.
12143//
12144// See the AWS API reference guide for Amazon SageMaker Service's
12145// API operation StopTransformJob for usage and error information.
12146//
12147// Returned Error Types:
12148//   * ResourceNotFound
12149//   Resource being access is not found.
12150//
12151// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTransformJob
12152func (c *SageMaker) StopTransformJob(input *StopTransformJobInput) (*StopTransformJobOutput, error) {
12153	req, out := c.StopTransformJobRequest(input)
12154	return out, req.Send()
12155}
12156
12157// StopTransformJobWithContext is the same as StopTransformJob with the addition of
12158// the ability to pass a context and additional request options.
12159//
12160// See StopTransformJob for details on how to use this API operation.
12161//
12162// The context must be non-nil and will be used for request cancellation. If
12163// the context is nil a panic will occur. In the future the SDK may create
12164// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12165// for more information on using Contexts.
12166func (c *SageMaker) StopTransformJobWithContext(ctx aws.Context, input *StopTransformJobInput, opts ...request.Option) (*StopTransformJobOutput, error) {
12167	req, out := c.StopTransformJobRequest(input)
12168	req.SetContext(ctx)
12169	req.ApplyOptions(opts...)
12170	return out, req.Send()
12171}
12172
12173const opUpdateCodeRepository = "UpdateCodeRepository"
12174
12175// UpdateCodeRepositoryRequest generates a "aws/request.Request" representing the
12176// client's request for the UpdateCodeRepository operation. The "output" return
12177// value will be populated with the request's response once the request completes
12178// successfully.
12179//
12180// Use "Send" method on the returned Request to send the API call to the service.
12181// the "output" return value is not valid until after Send returns without error.
12182//
12183// See UpdateCodeRepository for more information on using the UpdateCodeRepository
12184// API call, and error handling.
12185//
12186// This method is useful when you want to inject custom logic or configuration
12187// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12188//
12189//
12190//    // Example sending a request using the UpdateCodeRepositoryRequest method.
12191//    req, resp := client.UpdateCodeRepositoryRequest(params)
12192//
12193//    err := req.Send()
12194//    if err == nil { // resp is now filled
12195//        fmt.Println(resp)
12196//    }
12197//
12198// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateCodeRepository
12199func (c *SageMaker) UpdateCodeRepositoryRequest(input *UpdateCodeRepositoryInput) (req *request.Request, output *UpdateCodeRepositoryOutput) {
12200	op := &request.Operation{
12201		Name:       opUpdateCodeRepository,
12202		HTTPMethod: "POST",
12203		HTTPPath:   "/",
12204	}
12205
12206	if input == nil {
12207		input = &UpdateCodeRepositoryInput{}
12208	}
12209
12210	output = &UpdateCodeRepositoryOutput{}
12211	req = c.newRequest(op, input, output)
12212	return
12213}
12214
12215// UpdateCodeRepository API operation for Amazon SageMaker Service.
12216//
12217// Updates the specified Git repository with the specified values.
12218//
12219// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12220// with awserr.Error's Code and Message methods to get detailed information about
12221// the error.
12222//
12223// See the AWS API reference guide for Amazon SageMaker Service's
12224// API operation UpdateCodeRepository for usage and error information.
12225// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateCodeRepository
12226func (c *SageMaker) UpdateCodeRepository(input *UpdateCodeRepositoryInput) (*UpdateCodeRepositoryOutput, error) {
12227	req, out := c.UpdateCodeRepositoryRequest(input)
12228	return out, req.Send()
12229}
12230
12231// UpdateCodeRepositoryWithContext is the same as UpdateCodeRepository with the addition of
12232// the ability to pass a context and additional request options.
12233//
12234// See UpdateCodeRepository for details on how to use this API operation.
12235//
12236// The context must be non-nil and will be used for request cancellation. If
12237// the context is nil a panic will occur. In the future the SDK may create
12238// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12239// for more information on using Contexts.
12240func (c *SageMaker) UpdateCodeRepositoryWithContext(ctx aws.Context, input *UpdateCodeRepositoryInput, opts ...request.Option) (*UpdateCodeRepositoryOutput, error) {
12241	req, out := c.UpdateCodeRepositoryRequest(input)
12242	req.SetContext(ctx)
12243	req.ApplyOptions(opts...)
12244	return out, req.Send()
12245}
12246
12247const opUpdateDomain = "UpdateDomain"
12248
12249// UpdateDomainRequest generates a "aws/request.Request" representing the
12250// client's request for the UpdateDomain operation. The "output" return
12251// value will be populated with the request's response once the request completes
12252// successfully.
12253//
12254// Use "Send" method on the returned Request to send the API call to the service.
12255// the "output" return value is not valid until after Send returns without error.
12256//
12257// See UpdateDomain for more information on using the UpdateDomain
12258// API call, and error handling.
12259//
12260// This method is useful when you want to inject custom logic or configuration
12261// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12262//
12263//
12264//    // Example sending a request using the UpdateDomainRequest method.
12265//    req, resp := client.UpdateDomainRequest(params)
12266//
12267//    err := req.Send()
12268//    if err == nil { // resp is now filled
12269//        fmt.Println(resp)
12270//    }
12271//
12272// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDomain
12273func (c *SageMaker) UpdateDomainRequest(input *UpdateDomainInput) (req *request.Request, output *UpdateDomainOutput) {
12274	op := &request.Operation{
12275		Name:       opUpdateDomain,
12276		HTTPMethod: "POST",
12277		HTTPPath:   "/",
12278	}
12279
12280	if input == nil {
12281		input = &UpdateDomainInput{}
12282	}
12283
12284	output = &UpdateDomainOutput{}
12285	req = c.newRequest(op, input, output)
12286	return
12287}
12288
12289// UpdateDomain API operation for Amazon SageMaker Service.
12290//
12291// Updates the default settings for new user profiles in the domain.
12292//
12293// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12294// with awserr.Error's Code and Message methods to get detailed information about
12295// the error.
12296//
12297// See the AWS API reference guide for Amazon SageMaker Service's
12298// API operation UpdateDomain for usage and error information.
12299//
12300// Returned Error Types:
12301//   * ResourceLimitExceeded
12302//   You have exceeded an Amazon SageMaker resource limit. For example, you might
12303//   have too many training jobs created.
12304//
12305//   * ResourceInUse
12306//   Resource being accessed is in use.
12307//
12308//   * ResourceNotFound
12309//   Resource being access is not found.
12310//
12311// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDomain
12312func (c *SageMaker) UpdateDomain(input *UpdateDomainInput) (*UpdateDomainOutput, error) {
12313	req, out := c.UpdateDomainRequest(input)
12314	return out, req.Send()
12315}
12316
12317// UpdateDomainWithContext is the same as UpdateDomain with the addition of
12318// the ability to pass a context and additional request options.
12319//
12320// See UpdateDomain for details on how to use this API operation.
12321//
12322// The context must be non-nil and will be used for request cancellation. If
12323// the context is nil a panic will occur. In the future the SDK may create
12324// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12325// for more information on using Contexts.
12326func (c *SageMaker) UpdateDomainWithContext(ctx aws.Context, input *UpdateDomainInput, opts ...request.Option) (*UpdateDomainOutput, error) {
12327	req, out := c.UpdateDomainRequest(input)
12328	req.SetContext(ctx)
12329	req.ApplyOptions(opts...)
12330	return out, req.Send()
12331}
12332
12333const opUpdateEndpoint = "UpdateEndpoint"
12334
12335// UpdateEndpointRequest generates a "aws/request.Request" representing the
12336// client's request for the UpdateEndpoint operation. The "output" return
12337// value will be populated with the request's response once the request completes
12338// successfully.
12339//
12340// Use "Send" method on the returned Request to send the API call to the service.
12341// the "output" return value is not valid until after Send returns without error.
12342//
12343// See UpdateEndpoint for more information on using the UpdateEndpoint
12344// API call, and error handling.
12345//
12346// This method is useful when you want to inject custom logic or configuration
12347// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12348//
12349//
12350//    // Example sending a request using the UpdateEndpointRequest method.
12351//    req, resp := client.UpdateEndpointRequest(params)
12352//
12353//    err := req.Send()
12354//    if err == nil { // resp is now filled
12355//        fmt.Println(resp)
12356//    }
12357//
12358// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpoint
12359func (c *SageMaker) UpdateEndpointRequest(input *UpdateEndpointInput) (req *request.Request, output *UpdateEndpointOutput) {
12360	op := &request.Operation{
12361		Name:       opUpdateEndpoint,
12362		HTTPMethod: "POST",
12363		HTTPPath:   "/",
12364	}
12365
12366	if input == nil {
12367		input = &UpdateEndpointInput{}
12368	}
12369
12370	output = &UpdateEndpointOutput{}
12371	req = c.newRequest(op, input, output)
12372	return
12373}
12374
12375// UpdateEndpoint API operation for Amazon SageMaker Service.
12376//
12377// Deploys the new EndpointConfig specified in the request, switches to using
12378// newly created endpoint, and then deletes resources provisioned for the endpoint
12379// using the previous EndpointConfig (there is no availability loss).
12380//
12381// When Amazon SageMaker receives the request, it sets the endpoint status to
12382// Updating. After updating the endpoint, it sets the status to InService. To
12383// check the status of an endpoint, use the DescribeEndpoint API.
12384//
12385// You must not delete an EndpointConfig in use by an endpoint that is live
12386// or while the UpdateEndpoint or CreateEndpoint operations are being performed
12387// on the endpoint. To update an endpoint, you must create a new EndpointConfig.
12388//
12389// If you delete the EndpointConfig of an endpoint that is active or being created
12390// or updated you may lose visibility into the instance type the endpoint is
12391// using. The endpoint must be deleted in order to stop incurring charges.
12392//
12393// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12394// with awserr.Error's Code and Message methods to get detailed information about
12395// the error.
12396//
12397// See the AWS API reference guide for Amazon SageMaker Service's
12398// API operation UpdateEndpoint for usage and error information.
12399//
12400// Returned Error Types:
12401//   * ResourceLimitExceeded
12402//   You have exceeded an Amazon SageMaker resource limit. For example, you might
12403//   have too many training jobs created.
12404//
12405// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpoint
12406func (c *SageMaker) UpdateEndpoint(input *UpdateEndpointInput) (*UpdateEndpointOutput, error) {
12407	req, out := c.UpdateEndpointRequest(input)
12408	return out, req.Send()
12409}
12410
12411// UpdateEndpointWithContext is the same as UpdateEndpoint with the addition of
12412// the ability to pass a context and additional request options.
12413//
12414// See UpdateEndpoint for details on how to use this API operation.
12415//
12416// The context must be non-nil and will be used for request cancellation. If
12417// the context is nil a panic will occur. In the future the SDK may create
12418// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12419// for more information on using Contexts.
12420func (c *SageMaker) UpdateEndpointWithContext(ctx aws.Context, input *UpdateEndpointInput, opts ...request.Option) (*UpdateEndpointOutput, error) {
12421	req, out := c.UpdateEndpointRequest(input)
12422	req.SetContext(ctx)
12423	req.ApplyOptions(opts...)
12424	return out, req.Send()
12425}
12426
12427const opUpdateEndpointWeightsAndCapacities = "UpdateEndpointWeightsAndCapacities"
12428
12429// UpdateEndpointWeightsAndCapacitiesRequest generates a "aws/request.Request" representing the
12430// client's request for the UpdateEndpointWeightsAndCapacities operation. The "output" return
12431// value will be populated with the request's response once the request completes
12432// successfully.
12433//
12434// Use "Send" method on the returned Request to send the API call to the service.
12435// the "output" return value is not valid until after Send returns without error.
12436//
12437// See UpdateEndpointWeightsAndCapacities for more information on using the UpdateEndpointWeightsAndCapacities
12438// API call, and error handling.
12439//
12440// This method is useful when you want to inject custom logic or configuration
12441// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12442//
12443//
12444//    // Example sending a request using the UpdateEndpointWeightsAndCapacitiesRequest method.
12445//    req, resp := client.UpdateEndpointWeightsAndCapacitiesRequest(params)
12446//
12447//    err := req.Send()
12448//    if err == nil { // resp is now filled
12449//        fmt.Println(resp)
12450//    }
12451//
12452// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointWeightsAndCapacities
12453func (c *SageMaker) UpdateEndpointWeightsAndCapacitiesRequest(input *UpdateEndpointWeightsAndCapacitiesInput) (req *request.Request, output *UpdateEndpointWeightsAndCapacitiesOutput) {
12454	op := &request.Operation{
12455		Name:       opUpdateEndpointWeightsAndCapacities,
12456		HTTPMethod: "POST",
12457		HTTPPath:   "/",
12458	}
12459
12460	if input == nil {
12461		input = &UpdateEndpointWeightsAndCapacitiesInput{}
12462	}
12463
12464	output = &UpdateEndpointWeightsAndCapacitiesOutput{}
12465	req = c.newRequest(op, input, output)
12466	return
12467}
12468
12469// UpdateEndpointWeightsAndCapacities API operation for Amazon SageMaker Service.
12470//
12471// Updates variant weight of one or more variants associated with an existing
12472// endpoint, or capacity of one variant associated with an existing endpoint.
12473// When it receives the request, Amazon SageMaker sets the endpoint status to
12474// Updating. After updating the endpoint, it sets the status to InService. To
12475// check the status of an endpoint, use the DescribeEndpoint API.
12476//
12477// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12478// with awserr.Error's Code and Message methods to get detailed information about
12479// the error.
12480//
12481// See the AWS API reference guide for Amazon SageMaker Service's
12482// API operation UpdateEndpointWeightsAndCapacities for usage and error information.
12483//
12484// Returned Error Types:
12485//   * ResourceLimitExceeded
12486//   You have exceeded an Amazon SageMaker resource limit. For example, you might
12487//   have too many training jobs created.
12488//
12489// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointWeightsAndCapacities
12490func (c *SageMaker) UpdateEndpointWeightsAndCapacities(input *UpdateEndpointWeightsAndCapacitiesInput) (*UpdateEndpointWeightsAndCapacitiesOutput, error) {
12491	req, out := c.UpdateEndpointWeightsAndCapacitiesRequest(input)
12492	return out, req.Send()
12493}
12494
12495// UpdateEndpointWeightsAndCapacitiesWithContext is the same as UpdateEndpointWeightsAndCapacities with the addition of
12496// the ability to pass a context and additional request options.
12497//
12498// See UpdateEndpointWeightsAndCapacities for details on how to use this API operation.
12499//
12500// The context must be non-nil and will be used for request cancellation. If
12501// the context is nil a panic will occur. In the future the SDK may create
12502// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12503// for more information on using Contexts.
12504func (c *SageMaker) UpdateEndpointWeightsAndCapacitiesWithContext(ctx aws.Context, input *UpdateEndpointWeightsAndCapacitiesInput, opts ...request.Option) (*UpdateEndpointWeightsAndCapacitiesOutput, error) {
12505	req, out := c.UpdateEndpointWeightsAndCapacitiesRequest(input)
12506	req.SetContext(ctx)
12507	req.ApplyOptions(opts...)
12508	return out, req.Send()
12509}
12510
12511const opUpdateExperiment = "UpdateExperiment"
12512
12513// UpdateExperimentRequest generates a "aws/request.Request" representing the
12514// client's request for the UpdateExperiment operation. The "output" return
12515// value will be populated with the request's response once the request completes
12516// successfully.
12517//
12518// Use "Send" method on the returned Request to send the API call to the service.
12519// the "output" return value is not valid until after Send returns without error.
12520//
12521// See UpdateExperiment for more information on using the UpdateExperiment
12522// API call, and error handling.
12523//
12524// This method is useful when you want to inject custom logic or configuration
12525// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12526//
12527//
12528//    // Example sending a request using the UpdateExperimentRequest method.
12529//    req, resp := client.UpdateExperimentRequest(params)
12530//
12531//    err := req.Send()
12532//    if err == nil { // resp is now filled
12533//        fmt.Println(resp)
12534//    }
12535//
12536// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateExperiment
12537func (c *SageMaker) UpdateExperimentRequest(input *UpdateExperimentInput) (req *request.Request, output *UpdateExperimentOutput) {
12538	op := &request.Operation{
12539		Name:       opUpdateExperiment,
12540		HTTPMethod: "POST",
12541		HTTPPath:   "/",
12542	}
12543
12544	if input == nil {
12545		input = &UpdateExperimentInput{}
12546	}
12547
12548	output = &UpdateExperimentOutput{}
12549	req = c.newRequest(op, input, output)
12550	return
12551}
12552
12553// UpdateExperiment API operation for Amazon SageMaker Service.
12554//
12555// Adds, updates, or removes the description of an experiment. Updates the display
12556// name of an experiment.
12557//
12558// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12559// with awserr.Error's Code and Message methods to get detailed information about
12560// the error.
12561//
12562// See the AWS API reference guide for Amazon SageMaker Service's
12563// API operation UpdateExperiment for usage and error information.
12564//
12565// Returned Error Types:
12566//   * ConflictException
12567//   There was a conflict when you attempted to modify an experiment, trial, or
12568//   trial component.
12569//
12570//   * ResourceNotFound
12571//   Resource being access is not found.
12572//
12573// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateExperiment
12574func (c *SageMaker) UpdateExperiment(input *UpdateExperimentInput) (*UpdateExperimentOutput, error) {
12575	req, out := c.UpdateExperimentRequest(input)
12576	return out, req.Send()
12577}
12578
12579// UpdateExperimentWithContext is the same as UpdateExperiment with the addition of
12580// the ability to pass a context and additional request options.
12581//
12582// See UpdateExperiment for details on how to use this API operation.
12583//
12584// The context must be non-nil and will be used for request cancellation. If
12585// the context is nil a panic will occur. In the future the SDK may create
12586// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12587// for more information on using Contexts.
12588func (c *SageMaker) UpdateExperimentWithContext(ctx aws.Context, input *UpdateExperimentInput, opts ...request.Option) (*UpdateExperimentOutput, error) {
12589	req, out := c.UpdateExperimentRequest(input)
12590	req.SetContext(ctx)
12591	req.ApplyOptions(opts...)
12592	return out, req.Send()
12593}
12594
12595const opUpdateMonitoringSchedule = "UpdateMonitoringSchedule"
12596
12597// UpdateMonitoringScheduleRequest generates a "aws/request.Request" representing the
12598// client's request for the UpdateMonitoringSchedule operation. The "output" return
12599// value will be populated with the request's response once the request completes
12600// successfully.
12601//
12602// Use "Send" method on the returned Request to send the API call to the service.
12603// the "output" return value is not valid until after Send returns without error.
12604//
12605// See UpdateMonitoringSchedule for more information on using the UpdateMonitoringSchedule
12606// API call, and error handling.
12607//
12608// This method is useful when you want to inject custom logic or configuration
12609// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12610//
12611//
12612//    // Example sending a request using the UpdateMonitoringScheduleRequest method.
12613//    req, resp := client.UpdateMonitoringScheduleRequest(params)
12614//
12615//    err := req.Send()
12616//    if err == nil { // resp is now filled
12617//        fmt.Println(resp)
12618//    }
12619//
12620// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateMonitoringSchedule
12621func (c *SageMaker) UpdateMonitoringScheduleRequest(input *UpdateMonitoringScheduleInput) (req *request.Request, output *UpdateMonitoringScheduleOutput) {
12622	op := &request.Operation{
12623		Name:       opUpdateMonitoringSchedule,
12624		HTTPMethod: "POST",
12625		HTTPPath:   "/",
12626	}
12627
12628	if input == nil {
12629		input = &UpdateMonitoringScheduleInput{}
12630	}
12631
12632	output = &UpdateMonitoringScheduleOutput{}
12633	req = c.newRequest(op, input, output)
12634	return
12635}
12636
12637// UpdateMonitoringSchedule API operation for Amazon SageMaker Service.
12638//
12639// Updates a previously created schedule.
12640//
12641// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12642// with awserr.Error's Code and Message methods to get detailed information about
12643// the error.
12644//
12645// See the AWS API reference guide for Amazon SageMaker Service's
12646// API operation UpdateMonitoringSchedule for usage and error information.
12647//
12648// Returned Error Types:
12649//   * ResourceLimitExceeded
12650//   You have exceeded an Amazon SageMaker resource limit. For example, you might
12651//   have too many training jobs created.
12652//
12653//   * ResourceNotFound
12654//   Resource being access is not found.
12655//
12656// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateMonitoringSchedule
12657func (c *SageMaker) UpdateMonitoringSchedule(input *UpdateMonitoringScheduleInput) (*UpdateMonitoringScheduleOutput, error) {
12658	req, out := c.UpdateMonitoringScheduleRequest(input)
12659	return out, req.Send()
12660}
12661
12662// UpdateMonitoringScheduleWithContext is the same as UpdateMonitoringSchedule with the addition of
12663// the ability to pass a context and additional request options.
12664//
12665// See UpdateMonitoringSchedule for details on how to use this API operation.
12666//
12667// The context must be non-nil and will be used for request cancellation. If
12668// the context is nil a panic will occur. In the future the SDK may create
12669// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12670// for more information on using Contexts.
12671func (c *SageMaker) UpdateMonitoringScheduleWithContext(ctx aws.Context, input *UpdateMonitoringScheduleInput, opts ...request.Option) (*UpdateMonitoringScheduleOutput, error) {
12672	req, out := c.UpdateMonitoringScheduleRequest(input)
12673	req.SetContext(ctx)
12674	req.ApplyOptions(opts...)
12675	return out, req.Send()
12676}
12677
12678const opUpdateNotebookInstance = "UpdateNotebookInstance"
12679
12680// UpdateNotebookInstanceRequest generates a "aws/request.Request" representing the
12681// client's request for the UpdateNotebookInstance operation. The "output" return
12682// value will be populated with the request's response once the request completes
12683// successfully.
12684//
12685// Use "Send" method on the returned Request to send the API call to the service.
12686// the "output" return value is not valid until after Send returns without error.
12687//
12688// See UpdateNotebookInstance for more information on using the UpdateNotebookInstance
12689// API call, and error handling.
12690//
12691// This method is useful when you want to inject custom logic or configuration
12692// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12693//
12694//
12695//    // Example sending a request using the UpdateNotebookInstanceRequest method.
12696//    req, resp := client.UpdateNotebookInstanceRequest(params)
12697//
12698//    err := req.Send()
12699//    if err == nil { // resp is now filled
12700//        fmt.Println(resp)
12701//    }
12702//
12703// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstance
12704func (c *SageMaker) UpdateNotebookInstanceRequest(input *UpdateNotebookInstanceInput) (req *request.Request, output *UpdateNotebookInstanceOutput) {
12705	op := &request.Operation{
12706		Name:       opUpdateNotebookInstance,
12707		HTTPMethod: "POST",
12708		HTTPPath:   "/",
12709	}
12710
12711	if input == nil {
12712		input = &UpdateNotebookInstanceInput{}
12713	}
12714
12715	output = &UpdateNotebookInstanceOutput{}
12716	req = c.newRequest(op, input, output)
12717	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
12718	return
12719}
12720
12721// UpdateNotebookInstance API operation for Amazon SageMaker Service.
12722//
12723// Updates a notebook instance. NotebookInstance updates include upgrading or
12724// downgrading the ML compute instance used for your notebook instance to accommodate
12725// changes in your workload requirements.
12726//
12727// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12728// with awserr.Error's Code and Message methods to get detailed information about
12729// the error.
12730//
12731// See the AWS API reference guide for Amazon SageMaker Service's
12732// API operation UpdateNotebookInstance for usage and error information.
12733//
12734// Returned Error Types:
12735//   * ResourceLimitExceeded
12736//   You have exceeded an Amazon SageMaker resource limit. For example, you might
12737//   have too many training jobs created.
12738//
12739// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstance
12740func (c *SageMaker) UpdateNotebookInstance(input *UpdateNotebookInstanceInput) (*UpdateNotebookInstanceOutput, error) {
12741	req, out := c.UpdateNotebookInstanceRequest(input)
12742	return out, req.Send()
12743}
12744
12745// UpdateNotebookInstanceWithContext is the same as UpdateNotebookInstance with the addition of
12746// the ability to pass a context and additional request options.
12747//
12748// See UpdateNotebookInstance for details on how to use this API operation.
12749//
12750// The context must be non-nil and will be used for request cancellation. If
12751// the context is nil a panic will occur. In the future the SDK may create
12752// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12753// for more information on using Contexts.
12754func (c *SageMaker) UpdateNotebookInstanceWithContext(ctx aws.Context, input *UpdateNotebookInstanceInput, opts ...request.Option) (*UpdateNotebookInstanceOutput, error) {
12755	req, out := c.UpdateNotebookInstanceRequest(input)
12756	req.SetContext(ctx)
12757	req.ApplyOptions(opts...)
12758	return out, req.Send()
12759}
12760
12761const opUpdateNotebookInstanceLifecycleConfig = "UpdateNotebookInstanceLifecycleConfig"
12762
12763// UpdateNotebookInstanceLifecycleConfigRequest generates a "aws/request.Request" representing the
12764// client's request for the UpdateNotebookInstanceLifecycleConfig operation. The "output" return
12765// value will be populated with the request's response once the request completes
12766// successfully.
12767//
12768// Use "Send" method on the returned Request to send the API call to the service.
12769// the "output" return value is not valid until after Send returns without error.
12770//
12771// See UpdateNotebookInstanceLifecycleConfig for more information on using the UpdateNotebookInstanceLifecycleConfig
12772// API call, and error handling.
12773//
12774// This method is useful when you want to inject custom logic or configuration
12775// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12776//
12777//
12778//    // Example sending a request using the UpdateNotebookInstanceLifecycleConfigRequest method.
12779//    req, resp := client.UpdateNotebookInstanceLifecycleConfigRequest(params)
12780//
12781//    err := req.Send()
12782//    if err == nil { // resp is now filled
12783//        fmt.Println(resp)
12784//    }
12785//
12786// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstanceLifecycleConfig
12787func (c *SageMaker) UpdateNotebookInstanceLifecycleConfigRequest(input *UpdateNotebookInstanceLifecycleConfigInput) (req *request.Request, output *UpdateNotebookInstanceLifecycleConfigOutput) {
12788	op := &request.Operation{
12789		Name:       opUpdateNotebookInstanceLifecycleConfig,
12790		HTTPMethod: "POST",
12791		HTTPPath:   "/",
12792	}
12793
12794	if input == nil {
12795		input = &UpdateNotebookInstanceLifecycleConfigInput{}
12796	}
12797
12798	output = &UpdateNotebookInstanceLifecycleConfigOutput{}
12799	req = c.newRequest(op, input, output)
12800	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
12801	return
12802}
12803
12804// UpdateNotebookInstanceLifecycleConfig API operation for Amazon SageMaker Service.
12805//
12806// Updates a notebook instance lifecycle configuration created with the CreateNotebookInstanceLifecycleConfig
12807// API.
12808//
12809// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12810// with awserr.Error's Code and Message methods to get detailed information about
12811// the error.
12812//
12813// See the AWS API reference guide for Amazon SageMaker Service's
12814// API operation UpdateNotebookInstanceLifecycleConfig for usage and error information.
12815//
12816// Returned Error Types:
12817//   * ResourceLimitExceeded
12818//   You have exceeded an Amazon SageMaker resource limit. For example, you might
12819//   have too many training jobs created.
12820//
12821// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstanceLifecycleConfig
12822func (c *SageMaker) UpdateNotebookInstanceLifecycleConfig(input *UpdateNotebookInstanceLifecycleConfigInput) (*UpdateNotebookInstanceLifecycleConfigOutput, error) {
12823	req, out := c.UpdateNotebookInstanceLifecycleConfigRequest(input)
12824	return out, req.Send()
12825}
12826
12827// UpdateNotebookInstanceLifecycleConfigWithContext is the same as UpdateNotebookInstanceLifecycleConfig with the addition of
12828// the ability to pass a context and additional request options.
12829//
12830// See UpdateNotebookInstanceLifecycleConfig for details on how to use this API operation.
12831//
12832// The context must be non-nil and will be used for request cancellation. If
12833// the context is nil a panic will occur. In the future the SDK may create
12834// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12835// for more information on using Contexts.
12836func (c *SageMaker) UpdateNotebookInstanceLifecycleConfigWithContext(ctx aws.Context, input *UpdateNotebookInstanceLifecycleConfigInput, opts ...request.Option) (*UpdateNotebookInstanceLifecycleConfigOutput, error) {
12837	req, out := c.UpdateNotebookInstanceLifecycleConfigRequest(input)
12838	req.SetContext(ctx)
12839	req.ApplyOptions(opts...)
12840	return out, req.Send()
12841}
12842
12843const opUpdateTrial = "UpdateTrial"
12844
12845// UpdateTrialRequest generates a "aws/request.Request" representing the
12846// client's request for the UpdateTrial operation. The "output" return
12847// value will be populated with the request's response once the request completes
12848// successfully.
12849//
12850// Use "Send" method on the returned Request to send the API call to the service.
12851// the "output" return value is not valid until after Send returns without error.
12852//
12853// See UpdateTrial for more information on using the UpdateTrial
12854// API call, and error handling.
12855//
12856// This method is useful when you want to inject custom logic or configuration
12857// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12858//
12859//
12860//    // Example sending a request using the UpdateTrialRequest method.
12861//    req, resp := client.UpdateTrialRequest(params)
12862//
12863//    err := req.Send()
12864//    if err == nil { // resp is now filled
12865//        fmt.Println(resp)
12866//    }
12867//
12868// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrial
12869func (c *SageMaker) UpdateTrialRequest(input *UpdateTrialInput) (req *request.Request, output *UpdateTrialOutput) {
12870	op := &request.Operation{
12871		Name:       opUpdateTrial,
12872		HTTPMethod: "POST",
12873		HTTPPath:   "/",
12874	}
12875
12876	if input == nil {
12877		input = &UpdateTrialInput{}
12878	}
12879
12880	output = &UpdateTrialOutput{}
12881	req = c.newRequest(op, input, output)
12882	return
12883}
12884
12885// UpdateTrial API operation for Amazon SageMaker Service.
12886//
12887// Updates the display name of a trial.
12888//
12889// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12890// with awserr.Error's Code and Message methods to get detailed information about
12891// the error.
12892//
12893// See the AWS API reference guide for Amazon SageMaker Service's
12894// API operation UpdateTrial for usage and error information.
12895//
12896// Returned Error Types:
12897//   * ConflictException
12898//   There was a conflict when you attempted to modify an experiment, trial, or
12899//   trial component.
12900//
12901//   * ResourceNotFound
12902//   Resource being access is not found.
12903//
12904// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrial
12905func (c *SageMaker) UpdateTrial(input *UpdateTrialInput) (*UpdateTrialOutput, error) {
12906	req, out := c.UpdateTrialRequest(input)
12907	return out, req.Send()
12908}
12909
12910// UpdateTrialWithContext is the same as UpdateTrial with the addition of
12911// the ability to pass a context and additional request options.
12912//
12913// See UpdateTrial for details on how to use this API operation.
12914//
12915// The context must be non-nil and will be used for request cancellation. If
12916// the context is nil a panic will occur. In the future the SDK may create
12917// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12918// for more information on using Contexts.
12919func (c *SageMaker) UpdateTrialWithContext(ctx aws.Context, input *UpdateTrialInput, opts ...request.Option) (*UpdateTrialOutput, error) {
12920	req, out := c.UpdateTrialRequest(input)
12921	req.SetContext(ctx)
12922	req.ApplyOptions(opts...)
12923	return out, req.Send()
12924}
12925
12926const opUpdateTrialComponent = "UpdateTrialComponent"
12927
12928// UpdateTrialComponentRequest generates a "aws/request.Request" representing the
12929// client's request for the UpdateTrialComponent operation. The "output" return
12930// value will be populated with the request's response once the request completes
12931// successfully.
12932//
12933// Use "Send" method on the returned Request to send the API call to the service.
12934// the "output" return value is not valid until after Send returns without error.
12935//
12936// See UpdateTrialComponent for more information on using the UpdateTrialComponent
12937// API call, and error handling.
12938//
12939// This method is useful when you want to inject custom logic or configuration
12940// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12941//
12942//
12943//    // Example sending a request using the UpdateTrialComponentRequest method.
12944//    req, resp := client.UpdateTrialComponentRequest(params)
12945//
12946//    err := req.Send()
12947//    if err == nil { // resp is now filled
12948//        fmt.Println(resp)
12949//    }
12950//
12951// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrialComponent
12952func (c *SageMaker) UpdateTrialComponentRequest(input *UpdateTrialComponentInput) (req *request.Request, output *UpdateTrialComponentOutput) {
12953	op := &request.Operation{
12954		Name:       opUpdateTrialComponent,
12955		HTTPMethod: "POST",
12956		HTTPPath:   "/",
12957	}
12958
12959	if input == nil {
12960		input = &UpdateTrialComponentInput{}
12961	}
12962
12963	output = &UpdateTrialComponentOutput{}
12964	req = c.newRequest(op, input, output)
12965	return
12966}
12967
12968// UpdateTrialComponent API operation for Amazon SageMaker Service.
12969//
12970// Updates one or more properties of a trial component.
12971//
12972// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12973// with awserr.Error's Code and Message methods to get detailed information about
12974// the error.
12975//
12976// See the AWS API reference guide for Amazon SageMaker Service's
12977// API operation UpdateTrialComponent for usage and error information.
12978//
12979// Returned Error Types:
12980//   * ConflictException
12981//   There was a conflict when you attempted to modify an experiment, trial, or
12982//   trial component.
12983//
12984//   * ResourceNotFound
12985//   Resource being access is not found.
12986//
12987// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrialComponent
12988func (c *SageMaker) UpdateTrialComponent(input *UpdateTrialComponentInput) (*UpdateTrialComponentOutput, error) {
12989	req, out := c.UpdateTrialComponentRequest(input)
12990	return out, req.Send()
12991}
12992
12993// UpdateTrialComponentWithContext is the same as UpdateTrialComponent with the addition of
12994// the ability to pass a context and additional request options.
12995//
12996// See UpdateTrialComponent for details on how to use this API operation.
12997//
12998// The context must be non-nil and will be used for request cancellation. If
12999// the context is nil a panic will occur. In the future the SDK may create
13000// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13001// for more information on using Contexts.
13002func (c *SageMaker) UpdateTrialComponentWithContext(ctx aws.Context, input *UpdateTrialComponentInput, opts ...request.Option) (*UpdateTrialComponentOutput, error) {
13003	req, out := c.UpdateTrialComponentRequest(input)
13004	req.SetContext(ctx)
13005	req.ApplyOptions(opts...)
13006	return out, req.Send()
13007}
13008
13009const opUpdateUserProfile = "UpdateUserProfile"
13010
13011// UpdateUserProfileRequest generates a "aws/request.Request" representing the
13012// client's request for the UpdateUserProfile operation. The "output" return
13013// value will be populated with the request's response once the request completes
13014// successfully.
13015//
13016// Use "Send" method on the returned Request to send the API call to the service.
13017// the "output" return value is not valid until after Send returns without error.
13018//
13019// See UpdateUserProfile for more information on using the UpdateUserProfile
13020// API call, and error handling.
13021//
13022// This method is useful when you want to inject custom logic or configuration
13023// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13024//
13025//
13026//    // Example sending a request using the UpdateUserProfileRequest method.
13027//    req, resp := client.UpdateUserProfileRequest(params)
13028//
13029//    err := req.Send()
13030//    if err == nil { // resp is now filled
13031//        fmt.Println(resp)
13032//    }
13033//
13034// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateUserProfile
13035func (c *SageMaker) UpdateUserProfileRequest(input *UpdateUserProfileInput) (req *request.Request, output *UpdateUserProfileOutput) {
13036	op := &request.Operation{
13037		Name:       opUpdateUserProfile,
13038		HTTPMethod: "POST",
13039		HTTPPath:   "/",
13040	}
13041
13042	if input == nil {
13043		input = &UpdateUserProfileInput{}
13044	}
13045
13046	output = &UpdateUserProfileOutput{}
13047	req = c.newRequest(op, input, output)
13048	return
13049}
13050
13051// UpdateUserProfile API operation for Amazon SageMaker Service.
13052//
13053// Updates a user profile.
13054//
13055// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13056// with awserr.Error's Code and Message methods to get detailed information about
13057// the error.
13058//
13059// See the AWS API reference guide for Amazon SageMaker Service's
13060// API operation UpdateUserProfile for usage and error information.
13061//
13062// Returned Error Types:
13063//   * ResourceLimitExceeded
13064//   You have exceeded an Amazon SageMaker resource limit. For example, you might
13065//   have too many training jobs created.
13066//
13067//   * ResourceInUse
13068//   Resource being accessed is in use.
13069//
13070//   * ResourceNotFound
13071//   Resource being access is not found.
13072//
13073// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateUserProfile
13074func (c *SageMaker) UpdateUserProfile(input *UpdateUserProfileInput) (*UpdateUserProfileOutput, error) {
13075	req, out := c.UpdateUserProfileRequest(input)
13076	return out, req.Send()
13077}
13078
13079// UpdateUserProfileWithContext is the same as UpdateUserProfile with the addition of
13080// the ability to pass a context and additional request options.
13081//
13082// See UpdateUserProfile for details on how to use this API operation.
13083//
13084// The context must be non-nil and will be used for request cancellation. If
13085// the context is nil a panic will occur. In the future the SDK may create
13086// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13087// for more information on using Contexts.
13088func (c *SageMaker) UpdateUserProfileWithContext(ctx aws.Context, input *UpdateUserProfileInput, opts ...request.Option) (*UpdateUserProfileOutput, error) {
13089	req, out := c.UpdateUserProfileRequest(input)
13090	req.SetContext(ctx)
13091	req.ApplyOptions(opts...)
13092	return out, req.Send()
13093}
13094
13095const opUpdateWorkforce = "UpdateWorkforce"
13096
13097// UpdateWorkforceRequest generates a "aws/request.Request" representing the
13098// client's request for the UpdateWorkforce operation. The "output" return
13099// value will be populated with the request's response once the request completes
13100// successfully.
13101//
13102// Use "Send" method on the returned Request to send the API call to the service.
13103// the "output" return value is not valid until after Send returns without error.
13104//
13105// See UpdateWorkforce for more information on using the UpdateWorkforce
13106// API call, and error handling.
13107//
13108// This method is useful when you want to inject custom logic or configuration
13109// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13110//
13111//
13112//    // Example sending a request using the UpdateWorkforceRequest method.
13113//    req, resp := client.UpdateWorkforceRequest(params)
13114//
13115//    err := req.Send()
13116//    if err == nil { // resp is now filled
13117//        fmt.Println(resp)
13118//    }
13119//
13120// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkforce
13121func (c *SageMaker) UpdateWorkforceRequest(input *UpdateWorkforceInput) (req *request.Request, output *UpdateWorkforceOutput) {
13122	op := &request.Operation{
13123		Name:       opUpdateWorkforce,
13124		HTTPMethod: "POST",
13125		HTTPPath:   "/",
13126	}
13127
13128	if input == nil {
13129		input = &UpdateWorkforceInput{}
13130	}
13131
13132	output = &UpdateWorkforceOutput{}
13133	req = c.newRequest(op, input, output)
13134	return
13135}
13136
13137// UpdateWorkforce API operation for Amazon SageMaker Service.
13138//
13139// Restricts access to tasks assigned to workers in the specified workforce
13140// to those within specific ranges of IP addresses. You specify allowed IP addresses
13141// by creating a list of up to ten CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html).
13142//
13143// By default, a workforce isn't restricted to specific IP addresses. If you
13144// specify a range of IP addresses, workers who attempt to access tasks using
13145// any IP address outside the specified range are denied access and get a Not
13146// Found error message on the worker portal. After restricting access with this
13147// operation, you can see the allowed IP values for a private workforce with
13148// the operation.
13149//
13150// This operation applies only to private workforces.
13151//
13152// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13153// with awserr.Error's Code and Message methods to get detailed information about
13154// the error.
13155//
13156// See the AWS API reference guide for Amazon SageMaker Service's
13157// API operation UpdateWorkforce for usage and error information.
13158// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkforce
13159func (c *SageMaker) UpdateWorkforce(input *UpdateWorkforceInput) (*UpdateWorkforceOutput, error) {
13160	req, out := c.UpdateWorkforceRequest(input)
13161	return out, req.Send()
13162}
13163
13164// UpdateWorkforceWithContext is the same as UpdateWorkforce with the addition of
13165// the ability to pass a context and additional request options.
13166//
13167// See UpdateWorkforce for details on how to use this API operation.
13168//
13169// The context must be non-nil and will be used for request cancellation. If
13170// the context is nil a panic will occur. In the future the SDK may create
13171// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13172// for more information on using Contexts.
13173func (c *SageMaker) UpdateWorkforceWithContext(ctx aws.Context, input *UpdateWorkforceInput, opts ...request.Option) (*UpdateWorkforceOutput, error) {
13174	req, out := c.UpdateWorkforceRequest(input)
13175	req.SetContext(ctx)
13176	req.ApplyOptions(opts...)
13177	return out, req.Send()
13178}
13179
13180const opUpdateWorkteam = "UpdateWorkteam"
13181
13182// UpdateWorkteamRequest generates a "aws/request.Request" representing the
13183// client's request for the UpdateWorkteam operation. The "output" return
13184// value will be populated with the request's response once the request completes
13185// successfully.
13186//
13187// Use "Send" method on the returned Request to send the API call to the service.
13188// the "output" return value is not valid until after Send returns without error.
13189//
13190// See UpdateWorkteam for more information on using the UpdateWorkteam
13191// API call, and error handling.
13192//
13193// This method is useful when you want to inject custom logic or configuration
13194// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13195//
13196//
13197//    // Example sending a request using the UpdateWorkteamRequest method.
13198//    req, resp := client.UpdateWorkteamRequest(params)
13199//
13200//    err := req.Send()
13201//    if err == nil { // resp is now filled
13202//        fmt.Println(resp)
13203//    }
13204//
13205// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkteam
13206func (c *SageMaker) UpdateWorkteamRequest(input *UpdateWorkteamInput) (req *request.Request, output *UpdateWorkteamOutput) {
13207	op := &request.Operation{
13208		Name:       opUpdateWorkteam,
13209		HTTPMethod: "POST",
13210		HTTPPath:   "/",
13211	}
13212
13213	if input == nil {
13214		input = &UpdateWorkteamInput{}
13215	}
13216
13217	output = &UpdateWorkteamOutput{}
13218	req = c.newRequest(op, input, output)
13219	return
13220}
13221
13222// UpdateWorkteam API operation for Amazon SageMaker Service.
13223//
13224// Updates an existing work team with new member definitions or description.
13225//
13226// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13227// with awserr.Error's Code and Message methods to get detailed information about
13228// the error.
13229//
13230// See the AWS API reference guide for Amazon SageMaker Service's
13231// API operation UpdateWorkteam for usage and error information.
13232//
13233// Returned Error Types:
13234//   * ResourceLimitExceeded
13235//   You have exceeded an Amazon SageMaker resource limit. For example, you might
13236//   have too many training jobs created.
13237//
13238// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkteam
13239func (c *SageMaker) UpdateWorkteam(input *UpdateWorkteamInput) (*UpdateWorkteamOutput, error) {
13240	req, out := c.UpdateWorkteamRequest(input)
13241	return out, req.Send()
13242}
13243
13244// UpdateWorkteamWithContext is the same as UpdateWorkteam with the addition of
13245// the ability to pass a context and additional request options.
13246//
13247// See UpdateWorkteam for details on how to use this API operation.
13248//
13249// The context must be non-nil and will be used for request cancellation. If
13250// the context is nil a panic will occur. In the future the SDK may create
13251// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13252// for more information on using Contexts.
13253func (c *SageMaker) UpdateWorkteamWithContext(ctx aws.Context, input *UpdateWorkteamInput, opts ...request.Option) (*UpdateWorkteamOutput, error) {
13254	req, out := c.UpdateWorkteamRequest(input)
13255	req.SetContext(ctx)
13256	req.ApplyOptions(opts...)
13257	return out, req.Send()
13258}
13259
13260type AddTagsInput struct {
13261	_ struct{} `type:"structure"`
13262
13263	// The Amazon Resource Name (ARN) of the resource that you want to tag.
13264	//
13265	// ResourceArn is a required field
13266	ResourceArn *string `type:"string" required:"true"`
13267
13268	// An array of Tag objects. Each tag is a key-value pair. Only the key parameter
13269	// is required. If you don't specify a value, Amazon SageMaker sets the value
13270	// to an empty string.
13271	//
13272	// Tags is a required field
13273	Tags []*Tag `type:"list" required:"true"`
13274}
13275
13276// String returns the string representation
13277func (s AddTagsInput) String() string {
13278	return awsutil.Prettify(s)
13279}
13280
13281// GoString returns the string representation
13282func (s AddTagsInput) GoString() string {
13283	return s.String()
13284}
13285
13286// Validate inspects the fields of the type to determine if they are valid.
13287func (s *AddTagsInput) Validate() error {
13288	invalidParams := request.ErrInvalidParams{Context: "AddTagsInput"}
13289	if s.ResourceArn == nil {
13290		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
13291	}
13292	if s.Tags == nil {
13293		invalidParams.Add(request.NewErrParamRequired("Tags"))
13294	}
13295	if s.Tags != nil {
13296		for i, v := range s.Tags {
13297			if v == nil {
13298				continue
13299			}
13300			if err := v.Validate(); err != nil {
13301				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
13302			}
13303		}
13304	}
13305
13306	if invalidParams.Len() > 0 {
13307		return invalidParams
13308	}
13309	return nil
13310}
13311
13312// SetResourceArn sets the ResourceArn field's value.
13313func (s *AddTagsInput) SetResourceArn(v string) *AddTagsInput {
13314	s.ResourceArn = &v
13315	return s
13316}
13317
13318// SetTags sets the Tags field's value.
13319func (s *AddTagsInput) SetTags(v []*Tag) *AddTagsInput {
13320	s.Tags = v
13321	return s
13322}
13323
13324type AddTagsOutput struct {
13325	_ struct{} `type:"structure"`
13326
13327	// A list of tags associated with the Amazon SageMaker resource.
13328	Tags []*Tag `type:"list"`
13329}
13330
13331// String returns the string representation
13332func (s AddTagsOutput) String() string {
13333	return awsutil.Prettify(s)
13334}
13335
13336// GoString returns the string representation
13337func (s AddTagsOutput) GoString() string {
13338	return s.String()
13339}
13340
13341// SetTags sets the Tags field's value.
13342func (s *AddTagsOutput) SetTags(v []*Tag) *AddTagsOutput {
13343	s.Tags = v
13344	return s
13345}
13346
13347// Specifies the training algorithm to use in a CreateTrainingJob request.
13348//
13349// For more information about algorithms provided by Amazon SageMaker, see Algorithms
13350// (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html). For information
13351// about using your own algorithms, see Using Your Own Algorithms with Amazon
13352// SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
13353type AlgorithmSpecification struct {
13354	_ struct{} `type:"structure"`
13355
13356	// The name of the algorithm resource to use for the training job. This must
13357	// be an algorithm resource that you created or subscribe to on AWS Marketplace.
13358	// If you specify a value for this parameter, you can't specify a value for
13359	// TrainingImage.
13360	AlgorithmName *string `min:"1" type:"string"`
13361
13362	// To generate and save time-series metrics during training, set to true. The
13363	// default is false and time-series metrics aren't generated except in the following
13364	// cases:
13365	//
13366	//    * You use one of the Amazon SageMaker built-in algorithms
13367	//
13368	//    * You use one of the following Prebuilt Amazon SageMaker Docker Images
13369	//    (https://docs.aws.amazon.com/sagemaker/latest/dg/pre-built-containers-frameworks-deep-learning.html):
13370	//    Tensorflow (version >= 1.15) MXNet (version >= 1.6) PyTorch (version >=
13371	//    1.3)
13372	//
13373	//    * You specify at least one MetricDefinition
13374	EnableSageMakerMetricsTimeSeries *bool `type:"boolean"`
13375
13376	// A list of metric definition objects. Each object specifies the metric name
13377	// and regular expressions used to parse algorithm logs. Amazon SageMaker publishes
13378	// each metric to Amazon CloudWatch.
13379	MetricDefinitions []*MetricDefinition `type:"list"`
13380
13381	// The registry path of the Docker image that contains the training algorithm.
13382	// For information about docker registry paths for built-in algorithms, see
13383	// Algorithms Provided by Amazon SageMaker: Common Parameters (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html).
13384	// Amazon SageMaker supports both registry/repository[:tag] and registry/repository[@digest]
13385	// image path formats. For more information, see Using Your Own Algorithms with
13386	// Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
13387	TrainingImage *string `type:"string"`
13388
13389	// The input mode that the algorithm supports. For the input modes that Amazon
13390	// SageMaker algorithms support, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
13391	// If an algorithm supports the File input mode, Amazon SageMaker downloads
13392	// the training data from S3 to the provisioned ML storage Volume, and mounts
13393	// the directory to docker volume for training container. If an algorithm supports
13394	// the Pipe input mode, Amazon SageMaker streams data directly from S3 to the
13395	// container.
13396	//
13397	// In File mode, make sure you provision ML storage volume with sufficient capacity
13398	// to accommodate the data download from S3. In addition to the training data,
13399	// the ML storage volume also stores the output model. The algorithm container
13400	// use ML storage volume to also store intermediate information, if any.
13401	//
13402	// For distributed algorithms using File mode, training data is distributed
13403	// uniformly, and your training duration is predictable if the input data objects
13404	// size is approximately same. Amazon SageMaker does not split the files any
13405	// further for model training. If the object sizes are skewed, training won't
13406	// be optimal as the data distribution is also skewed where one host in a training
13407	// cluster is overloaded, thus becoming bottleneck in training.
13408	//
13409	// TrainingInputMode is a required field
13410	TrainingInputMode *string `type:"string" required:"true" enum:"TrainingInputMode"`
13411}
13412
13413// String returns the string representation
13414func (s AlgorithmSpecification) String() string {
13415	return awsutil.Prettify(s)
13416}
13417
13418// GoString returns the string representation
13419func (s AlgorithmSpecification) GoString() string {
13420	return s.String()
13421}
13422
13423// Validate inspects the fields of the type to determine if they are valid.
13424func (s *AlgorithmSpecification) Validate() error {
13425	invalidParams := request.ErrInvalidParams{Context: "AlgorithmSpecification"}
13426	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
13427		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
13428	}
13429	if s.TrainingInputMode == nil {
13430		invalidParams.Add(request.NewErrParamRequired("TrainingInputMode"))
13431	}
13432	if s.MetricDefinitions != nil {
13433		for i, v := range s.MetricDefinitions {
13434			if v == nil {
13435				continue
13436			}
13437			if err := v.Validate(); err != nil {
13438				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MetricDefinitions", i), err.(request.ErrInvalidParams))
13439			}
13440		}
13441	}
13442
13443	if invalidParams.Len() > 0 {
13444		return invalidParams
13445	}
13446	return nil
13447}
13448
13449// SetAlgorithmName sets the AlgorithmName field's value.
13450func (s *AlgorithmSpecification) SetAlgorithmName(v string) *AlgorithmSpecification {
13451	s.AlgorithmName = &v
13452	return s
13453}
13454
13455// SetEnableSageMakerMetricsTimeSeries sets the EnableSageMakerMetricsTimeSeries field's value.
13456func (s *AlgorithmSpecification) SetEnableSageMakerMetricsTimeSeries(v bool) *AlgorithmSpecification {
13457	s.EnableSageMakerMetricsTimeSeries = &v
13458	return s
13459}
13460
13461// SetMetricDefinitions sets the MetricDefinitions field's value.
13462func (s *AlgorithmSpecification) SetMetricDefinitions(v []*MetricDefinition) *AlgorithmSpecification {
13463	s.MetricDefinitions = v
13464	return s
13465}
13466
13467// SetTrainingImage sets the TrainingImage field's value.
13468func (s *AlgorithmSpecification) SetTrainingImage(v string) *AlgorithmSpecification {
13469	s.TrainingImage = &v
13470	return s
13471}
13472
13473// SetTrainingInputMode sets the TrainingInputMode field's value.
13474func (s *AlgorithmSpecification) SetTrainingInputMode(v string) *AlgorithmSpecification {
13475	s.TrainingInputMode = &v
13476	return s
13477}
13478
13479// Specifies the validation and image scan statuses of the algorithm.
13480type AlgorithmStatusDetails struct {
13481	_ struct{} `type:"structure"`
13482
13483	// The status of the scan of the algorithm's Docker image container.
13484	ImageScanStatuses []*AlgorithmStatusItem `type:"list"`
13485
13486	// The status of algorithm validation.
13487	ValidationStatuses []*AlgorithmStatusItem `type:"list"`
13488}
13489
13490// String returns the string representation
13491func (s AlgorithmStatusDetails) String() string {
13492	return awsutil.Prettify(s)
13493}
13494
13495// GoString returns the string representation
13496func (s AlgorithmStatusDetails) GoString() string {
13497	return s.String()
13498}
13499
13500// SetImageScanStatuses sets the ImageScanStatuses field's value.
13501func (s *AlgorithmStatusDetails) SetImageScanStatuses(v []*AlgorithmStatusItem) *AlgorithmStatusDetails {
13502	s.ImageScanStatuses = v
13503	return s
13504}
13505
13506// SetValidationStatuses sets the ValidationStatuses field's value.
13507func (s *AlgorithmStatusDetails) SetValidationStatuses(v []*AlgorithmStatusItem) *AlgorithmStatusDetails {
13508	s.ValidationStatuses = v
13509	return s
13510}
13511
13512// Represents the overall status of an algorithm.
13513type AlgorithmStatusItem struct {
13514	_ struct{} `type:"structure"`
13515
13516	// if the overall status is Failed, the reason for the failure.
13517	FailureReason *string `type:"string"`
13518
13519	// The name of the algorithm for which the overall status is being reported.
13520	//
13521	// Name is a required field
13522	Name *string `min:"1" type:"string" required:"true"`
13523
13524	// The current status.
13525	//
13526	// Status is a required field
13527	Status *string `type:"string" required:"true" enum:"DetailedAlgorithmStatus"`
13528}
13529
13530// String returns the string representation
13531func (s AlgorithmStatusItem) String() string {
13532	return awsutil.Prettify(s)
13533}
13534
13535// GoString returns the string representation
13536func (s AlgorithmStatusItem) GoString() string {
13537	return s.String()
13538}
13539
13540// SetFailureReason sets the FailureReason field's value.
13541func (s *AlgorithmStatusItem) SetFailureReason(v string) *AlgorithmStatusItem {
13542	s.FailureReason = &v
13543	return s
13544}
13545
13546// SetName sets the Name field's value.
13547func (s *AlgorithmStatusItem) SetName(v string) *AlgorithmStatusItem {
13548	s.Name = &v
13549	return s
13550}
13551
13552// SetStatus sets the Status field's value.
13553func (s *AlgorithmStatusItem) SetStatus(v string) *AlgorithmStatusItem {
13554	s.Status = &v
13555	return s
13556}
13557
13558// Provides summary information about an algorithm.
13559type AlgorithmSummary struct {
13560	_ struct{} `type:"structure"`
13561
13562	// The Amazon Resource Name (ARN) of the algorithm.
13563	//
13564	// AlgorithmArn is a required field
13565	AlgorithmArn *string `min:"1" type:"string" required:"true"`
13566
13567	// A brief description of the algorithm.
13568	AlgorithmDescription *string `type:"string"`
13569
13570	// The name of the algorithm that is described by the summary.
13571	//
13572	// AlgorithmName is a required field
13573	AlgorithmName *string `min:"1" type:"string" required:"true"`
13574
13575	// The overall status of the algorithm.
13576	//
13577	// AlgorithmStatus is a required field
13578	AlgorithmStatus *string `type:"string" required:"true" enum:"AlgorithmStatus"`
13579
13580	// A timestamp that shows when the algorithm was created.
13581	//
13582	// CreationTime is a required field
13583	CreationTime *time.Time `type:"timestamp" required:"true"`
13584}
13585
13586// String returns the string representation
13587func (s AlgorithmSummary) String() string {
13588	return awsutil.Prettify(s)
13589}
13590
13591// GoString returns the string representation
13592func (s AlgorithmSummary) GoString() string {
13593	return s.String()
13594}
13595
13596// SetAlgorithmArn sets the AlgorithmArn field's value.
13597func (s *AlgorithmSummary) SetAlgorithmArn(v string) *AlgorithmSummary {
13598	s.AlgorithmArn = &v
13599	return s
13600}
13601
13602// SetAlgorithmDescription sets the AlgorithmDescription field's value.
13603func (s *AlgorithmSummary) SetAlgorithmDescription(v string) *AlgorithmSummary {
13604	s.AlgorithmDescription = &v
13605	return s
13606}
13607
13608// SetAlgorithmName sets the AlgorithmName field's value.
13609func (s *AlgorithmSummary) SetAlgorithmName(v string) *AlgorithmSummary {
13610	s.AlgorithmName = &v
13611	return s
13612}
13613
13614// SetAlgorithmStatus sets the AlgorithmStatus field's value.
13615func (s *AlgorithmSummary) SetAlgorithmStatus(v string) *AlgorithmSummary {
13616	s.AlgorithmStatus = &v
13617	return s
13618}
13619
13620// SetCreationTime sets the CreationTime field's value.
13621func (s *AlgorithmSummary) SetCreationTime(v time.Time) *AlgorithmSummary {
13622	s.CreationTime = &v
13623	return s
13624}
13625
13626// Defines a training job and a batch transform job that Amazon SageMaker runs
13627// to validate your algorithm.
13628//
13629// The data provided in the validation profile is made available to your buyers
13630// on AWS Marketplace.
13631type AlgorithmValidationProfile struct {
13632	_ struct{} `type:"structure"`
13633
13634	// The name of the profile for the algorithm. The name must have 1 to 63 characters.
13635	// Valid characters are a-z, A-Z, 0-9, and - (hyphen).
13636	//
13637	// ProfileName is a required field
13638	ProfileName *string `min:"1" type:"string" required:"true"`
13639
13640	// The TrainingJobDefinition object that describes the training job that Amazon
13641	// SageMaker runs to validate your algorithm.
13642	//
13643	// TrainingJobDefinition is a required field
13644	TrainingJobDefinition *TrainingJobDefinition `type:"structure" required:"true"`
13645
13646	// The TransformJobDefinition object that describes the transform job that Amazon
13647	// SageMaker runs to validate your algorithm.
13648	TransformJobDefinition *TransformJobDefinition `type:"structure"`
13649}
13650
13651// String returns the string representation
13652func (s AlgorithmValidationProfile) String() string {
13653	return awsutil.Prettify(s)
13654}
13655
13656// GoString returns the string representation
13657func (s AlgorithmValidationProfile) GoString() string {
13658	return s.String()
13659}
13660
13661// Validate inspects the fields of the type to determine if they are valid.
13662func (s *AlgorithmValidationProfile) Validate() error {
13663	invalidParams := request.ErrInvalidParams{Context: "AlgorithmValidationProfile"}
13664	if s.ProfileName == nil {
13665		invalidParams.Add(request.NewErrParamRequired("ProfileName"))
13666	}
13667	if s.ProfileName != nil && len(*s.ProfileName) < 1 {
13668		invalidParams.Add(request.NewErrParamMinLen("ProfileName", 1))
13669	}
13670	if s.TrainingJobDefinition == nil {
13671		invalidParams.Add(request.NewErrParamRequired("TrainingJobDefinition"))
13672	}
13673	if s.TrainingJobDefinition != nil {
13674		if err := s.TrainingJobDefinition.Validate(); err != nil {
13675			invalidParams.AddNested("TrainingJobDefinition", err.(request.ErrInvalidParams))
13676		}
13677	}
13678	if s.TransformJobDefinition != nil {
13679		if err := s.TransformJobDefinition.Validate(); err != nil {
13680			invalidParams.AddNested("TransformJobDefinition", err.(request.ErrInvalidParams))
13681		}
13682	}
13683
13684	if invalidParams.Len() > 0 {
13685		return invalidParams
13686	}
13687	return nil
13688}
13689
13690// SetProfileName sets the ProfileName field's value.
13691func (s *AlgorithmValidationProfile) SetProfileName(v string) *AlgorithmValidationProfile {
13692	s.ProfileName = &v
13693	return s
13694}
13695
13696// SetTrainingJobDefinition sets the TrainingJobDefinition field's value.
13697func (s *AlgorithmValidationProfile) SetTrainingJobDefinition(v *TrainingJobDefinition) *AlgorithmValidationProfile {
13698	s.TrainingJobDefinition = v
13699	return s
13700}
13701
13702// SetTransformJobDefinition sets the TransformJobDefinition field's value.
13703func (s *AlgorithmValidationProfile) SetTransformJobDefinition(v *TransformJobDefinition) *AlgorithmValidationProfile {
13704	s.TransformJobDefinition = v
13705	return s
13706}
13707
13708// Specifies configurations for one or more training jobs that Amazon SageMaker
13709// runs to test the algorithm.
13710type AlgorithmValidationSpecification struct {
13711	_ struct{} `type:"structure"`
13712
13713	// An array of AlgorithmValidationProfile objects, each of which specifies a
13714	// training job and batch transform job that Amazon SageMaker runs to validate
13715	// your algorithm.
13716	//
13717	// ValidationProfiles is a required field
13718	ValidationProfiles []*AlgorithmValidationProfile `min:"1" type:"list" required:"true"`
13719
13720	// The IAM roles that Amazon SageMaker uses to run the training jobs.
13721	//
13722	// ValidationRole is a required field
13723	ValidationRole *string `min:"20" type:"string" required:"true"`
13724}
13725
13726// String returns the string representation
13727func (s AlgorithmValidationSpecification) String() string {
13728	return awsutil.Prettify(s)
13729}
13730
13731// GoString returns the string representation
13732func (s AlgorithmValidationSpecification) GoString() string {
13733	return s.String()
13734}
13735
13736// Validate inspects the fields of the type to determine if they are valid.
13737func (s *AlgorithmValidationSpecification) Validate() error {
13738	invalidParams := request.ErrInvalidParams{Context: "AlgorithmValidationSpecification"}
13739	if s.ValidationProfiles == nil {
13740		invalidParams.Add(request.NewErrParamRequired("ValidationProfiles"))
13741	}
13742	if s.ValidationProfiles != nil && len(s.ValidationProfiles) < 1 {
13743		invalidParams.Add(request.NewErrParamMinLen("ValidationProfiles", 1))
13744	}
13745	if s.ValidationRole == nil {
13746		invalidParams.Add(request.NewErrParamRequired("ValidationRole"))
13747	}
13748	if s.ValidationRole != nil && len(*s.ValidationRole) < 20 {
13749		invalidParams.Add(request.NewErrParamMinLen("ValidationRole", 20))
13750	}
13751	if s.ValidationProfiles != nil {
13752		for i, v := range s.ValidationProfiles {
13753			if v == nil {
13754				continue
13755			}
13756			if err := v.Validate(); err != nil {
13757				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ValidationProfiles", i), err.(request.ErrInvalidParams))
13758			}
13759		}
13760	}
13761
13762	if invalidParams.Len() > 0 {
13763		return invalidParams
13764	}
13765	return nil
13766}
13767
13768// SetValidationProfiles sets the ValidationProfiles field's value.
13769func (s *AlgorithmValidationSpecification) SetValidationProfiles(v []*AlgorithmValidationProfile) *AlgorithmValidationSpecification {
13770	s.ValidationProfiles = v
13771	return s
13772}
13773
13774// SetValidationRole sets the ValidationRole field's value.
13775func (s *AlgorithmValidationSpecification) SetValidationRole(v string) *AlgorithmValidationSpecification {
13776	s.ValidationRole = &v
13777	return s
13778}
13779
13780// Configures how labels are consolidated across human workers and processes
13781// output data.
13782type AnnotationConsolidationConfig struct {
13783	_ struct{} `type:"structure"`
13784
13785	// The Amazon Resource Name (ARN) of a Lambda function implements the logic
13786	// for annotation consolidation (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-annotation-consolidation.html)
13787	// and to process output data.
13788	//
13789	// This parameter is required for all labeling jobs. For built-in task types
13790	// (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-task-types.html), use
13791	// one of the following Amazon SageMaker Ground Truth Lambda function ARNs for
13792	// AnnotationConsolidationLambdaArn. For custom labeling workflows, see Post-annotation
13793	// Lambda (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-custom-templates-step3.html#sms-custom-templates-step3-postlambda).
13794	//
13795	// Bounding box - Finds the most similar boxes from different workers based
13796	// on the Jaccard index of the boxes.
13797	//
13798	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-BoundingBox arn:aws:lambda:us-east-2:266458841044:function:ACS-BoundingBox
13799	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-BoundingBox arn:aws:lambda:eu-west-1:568282634449:function:ACS-BoundingBox
13800	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-BoundingBox arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-BoundingBox
13801	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-BoundingBox arn:aws:lambda:eu-central-1:203001061592:function:ACS-BoundingBox
13802	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-BoundingBox arn:aws:lambda:eu-west-2:487402164563:function:ACS-BoundingBox
13803	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-BoundingBox arn:aws:lambda:ca-central-1:918755190332:function:ACS-BoundingBox
13804	//
13805	// Image classification - Uses a variant of the Expectation Maximization approach
13806	// to estimate the true class of an image based on annotations from individual
13807	// workers.
13808	//
13809	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-ImageMultiClass arn:aws:lambda:us-east-2:266458841044:function:ACS-ImageMultiClass
13810	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-ImageMultiClass arn:aws:lambda:eu-west-1:568282634449:function:ACS-ImageMultiClass
13811	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-ImageMultiClass
13812	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-ImageMultiClass
13813	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-ImageMultiClass arn:aws:lambda:eu-central-1:203001061592:function:ACS-ImageMultiClass
13814	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-ImageMultiClass
13815	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-ImageMultiClass arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-ImageMultiClass
13816	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-ImageMultiClass
13817	//
13818	// Multi-label image classification - Uses a variant of the Expectation Maximization
13819	// approach to estimate the true classes of an image based on annotations from
13820	// individual workers.
13821	//
13822	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-ImageMultiClassMultiLabel
13823	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-ImageMultiClassMultiLabel
13824	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-ImageMultiClassMultiLabel
13825	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-ImageMultiClassMultiLabel
13826	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-ImageMultiClassMultiLabel
13827	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-ImageMultiClassMultiLabel
13828	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-ImageMultiClassMultiLabel
13829	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-ImageMultiClassMultiLabel
13830	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-ImageMultiClassMultiLabel
13831	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-ImageMultiClassMultiLabel
13832	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-ImageMultiClassMultiLabel
13833	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-ImageMultiClassMultiLabel
13834	//
13835	// Semantic segmentation - Treats each pixel in an image as a multi-class classification
13836	// and treats pixel annotations from workers as "votes" for the correct label.
13837	//
13838	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-SemanticSegmentation
13839	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-SemanticSegmentation
13840	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-SemanticSegmentation
13841	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-SemanticSegmentation
13842	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-SemanticSegmentation
13843	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-SemanticSegmentation
13844	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-SemanticSegmentation
13845	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-SemanticSegmentation
13846	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-SemanticSegmentation
13847	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-SemanticSegmentation
13848	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-SemanticSegmentation
13849	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-SemanticSegmentation
13850	//
13851	// Text classification - Uses a variant of the Expectation Maximization approach
13852	// to estimate the true class of text based on annotations from individual workers.
13853	//
13854	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-TextMultiClass arn:aws:lambda:us-east-2:266458841044:function:ACS-TextMultiClass
13855	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-TextMultiClass arn:aws:lambda:eu-west-1:568282634449:function:ACS-TextMultiClass
13856	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-TextMultiClass
13857	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-TextMultiClass
13858	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-TextMultiClass arn:aws:lambda:eu-central-1:203001061592:function:ACS-TextMultiClass
13859	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-TextMultiClass
13860	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-TextMultiClass arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-TextMultiClass
13861	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-TextMultiClass
13862	//
13863	// Multi-label text classification - Uses a variant of the Expectation Maximization
13864	// approach to estimate the true classes of text based on annotations from individual
13865	// workers.
13866	//
13867	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-TextMultiClassMultiLabel
13868	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-TextMultiClassMultiLabel
13869	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-TextMultiClassMultiLabel
13870	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-TextMultiClassMultiLabel
13871	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-TextMultiClassMultiLabel
13872	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-TextMultiClassMultiLabel
13873	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-TextMultiClassMultiLabel
13874	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-TextMultiClassMultiLabel
13875	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-TextMultiClassMultiLabel
13876	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-TextMultiClassMultiLabel
13877	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-TextMultiClassMultiLabel
13878	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-TextMultiClassMultiLabel
13879	//
13880	// Named entity recognition - Groups similar selections and calculates aggregate
13881	// boundaries, resolving to most-assigned label.
13882	//
13883	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-NamedEntityRecognition
13884	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-NamedEntityRecognition
13885	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-NamedEntityRecognition
13886	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-NamedEntityRecognition
13887	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-NamedEntityRecognition
13888	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-NamedEntityRecognition
13889	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-NamedEntityRecognition
13890	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-NamedEntityRecognition
13891	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-NamedEntityRecognition
13892	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-NamedEntityRecognition
13893	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-NamedEntityRecognition
13894	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-NamedEntityRecognition
13895	//
13896	// Named entity recognition - Groups similar selections and calculates aggregate
13897	// boundaries, resolving to most-assigned label.
13898	//
13899	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-NamedEntityRecognition
13900	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-NamedEntityRecognition
13901	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-NamedEntityRecognition
13902	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-NamedEntityRecognition
13903	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-NamedEntityRecognition
13904	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-NamedEntityRecognition
13905	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-NamedEntityRecognition
13906	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-NamedEntityRecognition
13907	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-NamedEntityRecognition
13908	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-NamedEntityRecognition
13909	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-NamedEntityRecognition
13910	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-NamedEntityRecognition
13911	//
13912	// Video Classification - Use this task type when you need workers to classify
13913	// videos using predefined labels that you specify. Workers are shown videos
13914	// and are asked to choose one label for each video.
13915	//
13916	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-VideoMultiClass arn:aws:lambda:us-east-2:266458841044:function:ACS-VideoMultiClass
13917	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-VideoMultiClass arn:aws:lambda:eu-west-1:568282634449:function:ACS-VideoMultiClass
13918	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VideoMultiClass
13919	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VideoMultiClass
13920	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-VideoMultiClass arn:aws:lambda:eu-central-1:203001061592:function:ACS-VideoMultiClass
13921	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VideoMultiClass
13922	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-VideoMultiClass arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VideoMultiClass
13923	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-VideoMultiClass
13924	//
13925	// Video Frame Object Detection - Use this task type to have workers identify
13926	// and locate objects in a sequence of video frames (images extracted from a
13927	// video) using bounding boxes. For example, you can use this task to ask workers
13928	// to identify and localize various objects in a series of video frames, such
13929	// as cars, bikes, and pedestrians.
13930	//
13931	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-VideoObjectDetection
13932	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-VideoObjectDetection
13933	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-VideoObjectDetection
13934	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-VideoObjectDetection
13935	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VideoObjectDetection
13936	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VideoObjectDetection
13937	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-VideoObjectDetection
13938	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-VideoObjectDetection
13939	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VideoObjectDetection
13940	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-VideoObjectDetection
13941	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VideoObjectDetection
13942	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-VideoObjectDetection
13943	//
13944	// Video Frame Object Tracking - Use this task type to have workers track the
13945	// movement of objects in a sequence of video frames (images extracted from
13946	// a video) using bounding boxes. For example, you can use this task to ask
13947	// workers to track the movement of objects, such as cars, bikes, and pedestrians.
13948	//
13949	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-VideoObjectTracking
13950	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-VideoObjectTracking
13951	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-VideoObjectTracking
13952	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-VideoObjectTracking
13953	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VideoObjectTracking
13954	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VideoObjectTracking
13955	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-VideoObjectTracking
13956	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-VideoObjectTracking
13957	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VideoObjectTracking
13958	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-VideoObjectTracking
13959	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VideoObjectTracking
13960	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-VideoObjectTracking
13961	//
13962	// 3D point cloud object detection - Use this task type when you want workers
13963	// to classify objects in a 3D point cloud by drawing 3D cuboids around objects.
13964	// For example, you can use this task type to ask workers to identify different
13965	// types of objects in a point cloud, such as cars, bikes, and pedestrians.
13966	//
13967	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-3DPointCloudObjectDetection
13968	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-3DPointCloudObjectDetection
13969	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-3DPointCloudObjectDetection
13970	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-3DPointCloudObjectDetection
13971	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-3DPointCloudObjectDetection
13972	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-3DPointCloudObjectDetection
13973	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-3DPointCloudObjectDetection
13974	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-3DPointCloudObjectDetection
13975	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-3DPointCloudObjectDetection
13976	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-3DPointCloudObjectDetection
13977	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-3DPointCloudObjectDetection
13978	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-3DPointCloudObjectDetection
13979	//
13980	// 3D point cloud object tracking - Use this task type when you want workers
13981	// to draw 3D cuboids around objects that appear in a sequence of 3D point cloud
13982	// frames. For example, you can use this task type to ask workers to track the
13983	// movement of vehicles across multiple point cloud frames.
13984	//
13985	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-3DPointCloudObjectTracking
13986	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-3DPointCloudObjectTracking
13987	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-3DPointCloudObjectTracking
13988	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-3DPointCloudObjectTracking
13989	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-3DPointCloudObjectTracking
13990	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-3DPointCloudObjectTracking
13991	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-3DPointCloudObjectTracking
13992	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-3DPointCloudObjectTracking
13993	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-3DPointCloudObjectTracking
13994	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-3DPointCloudObjectTracking
13995	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-3DPointCloudObjectTracking
13996	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-3DPointCloudObjectTracking
13997	//
13998	// 3D point cloud semantic segmentation - Use this task type when you want workers
13999	// to create a point-level semantic segmentation masks by painting objects in
14000	// a 3D point cloud using different colors where each color is assigned to one
14001	// of the classes you specify.
14002	//
14003	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-3DPointCloudSemanticSegmentation
14004	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-3DPointCloudSemanticSegmentation
14005	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-3DPointCloudSemanticSegmentation
14006	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-3DPointCloudSemanticSegmentation
14007	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-3DPointCloudSemanticSegmentation
14008	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-3DPointCloudSemanticSegmentation
14009	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-3DPointCloudSemanticSegmentation
14010	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-3DPointCloudSemanticSegmentation
14011	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-3DPointCloudSemanticSegmentation
14012	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-3DPointCloudSemanticSegmentation
14013	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-3DPointCloudSemanticSegmentation
14014	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-3DPointCloudSemanticSegmentation
14015	//
14016	// Use the following ARNs for Label Verification and Adjustment Jobs
14017	//
14018	// Use label verification and adjustment jobs to review and adjust labels. To
14019	// learn more, see Verify and Adjust Labels (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-verification-data.html).
14020	//
14021	// Semantic segmentation adjustment - Treats each pixel in an image as a multi-class
14022	// classification and treats pixel adjusted annotations from workers as "votes"
14023	// for the correct label.
14024	//
14025	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-AdjustmentSemanticSegmentation
14026	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-AdjustmentSemanticSegmentation
14027	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-AdjustmentSemanticSegmentation
14028	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-AdjustmentSemanticSegmentation
14029	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-AdjustmentSemanticSegmentation
14030	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-AdjustmentSemanticSegmentation
14031	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-AdjustmentSemanticSegmentation
14032	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-AdjustmentSemanticSegmentation
14033	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-AdjustmentSemanticSegmentation
14034	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-AdjustmentSemanticSegmentation
14035	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-AdjustmentSemanticSegmentation
14036	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-AdjustmentSemanticSegmentation
14037	//
14038	// Semantic segmentation verification - Uses a variant of the Expectation Maximization
14039	// approach to estimate the true class of verification judgment for semantic
14040	// segmentation labels based on annotations from individual workers.
14041	//
14042	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-VerificationSemanticSegmentation
14043	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-VerificationSemanticSegmentation
14044	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-VerificationSemanticSegmentation
14045	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-VerificationSemanticSegmentation
14046	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VerificationSemanticSegmentation
14047	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VerificationSemanticSegmentation
14048	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-VerificationSemanticSegmentation
14049	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-VerificationSemanticSegmentation
14050	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VerificationSemanticSegmentation
14051	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-VerificationSemanticSegmentation
14052	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VerificationSemanticSegmentation
14053	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-VerificationSemanticSegmentation
14054	//
14055	// Bounding box verification - Uses a variant of the Expectation Maximization
14056	// approach to estimate the true class of verification judgement for bounding
14057	// box labels based on annotations from individual workers.
14058	//
14059	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-VerificationBoundingBox
14060	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-VerificationBoundingBox
14061	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-VerificationBoundingBox
14062	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-VerificationBoundingBox
14063	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VerificationBoundingBox
14064	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VerificationBoundingBox
14065	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-VerificationBoundingBox
14066	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-VerificationBoundingBox
14067	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VerificationBoundingBox
14068	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-VerificationBoundingBox
14069	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VerificationBoundingBox
14070	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-VerificationBoundingBox
14071	//
14072	// Bounding box adjustment - Finds the most similar boxes from different workers
14073	// based on the Jaccard index of the adjusted annotations.
14074	//
14075	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-AdjustmentBoundingBox
14076	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-AdjustmentBoundingBox
14077	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-AdjustmentBoundingBox
14078	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-AdjustmentBoundingBox
14079	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-AdjustmentBoundingBox
14080	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-AdjustmentBoundingBox
14081	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-AdjustmentBoundingBox
14082	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-AdjustmentBoundingBox
14083	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-AdjustmentBoundingBox
14084	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-AdjustmentBoundingBox
14085	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-AdjustmentBoundingBox
14086	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-AdjustmentBoundingBox
14087	//
14088	// Video Frame Object Detection Adjustment - Use this task type when you want
14089	// workers to adjust bounding boxes that workers have added to video frames
14090	// to classify and localize objects in a sequence of video frames.
14091	//
14092	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-AdjustmentVideoObjectDetection
14093	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-AdjustmentVideoObjectDetection
14094	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-AdjustmentVideoObjectDetection
14095	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-AdjustmentVideoObjectDetection
14096	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-AdjustmentVideoObjectDetection
14097	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-AdjustmentVideoObjectDetection
14098	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-AdjustmentVideoObjectDetection
14099	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-AdjustmentVideoObjectDetection
14100	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-AdjustmentVideoObjectDetection
14101	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-AdjustmentVideoObjectDetection
14102	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-AdjustmentVideoObjectDetection
14103	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-AdjustmentVideoObjectDetection
14104	//
14105	// Video Frame Object Tracking Adjustment - Use this task type when you want
14106	// workers to adjust bounding boxes that workers have added to video frames
14107	// to track object movement across a sequence of video frames.
14108	//
14109	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-AdjustmentVideoObjectTracking
14110	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-AdjustmentVideoObjectTracking
14111	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-AdjustmentVideoObjectTracking
14112	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-AdjustmentVideoObjectTracking
14113	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-AdjustmentVideoObjectTracking
14114	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-AdjustmentVideoObjectTracking
14115	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-AdjustmentVideoObjectTracking
14116	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-AdjustmentVideoObjectTracking
14117	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-AdjustmentVideoObjectTracking
14118	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-AdjustmentVideoObjectTracking
14119	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-AdjustmentVideoObjectTracking
14120	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-AdjustmentVideoObjectTracking
14121	//
14122	// 3D point cloud object detection adjustment - Use this task type when you
14123	// want workers to adjust 3D cuboids around objects in a 3D point cloud.
14124	//
14125	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-Adjustment3DPointCloudObjectDetection
14126	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-Adjustment3DPointCloudObjectDetection
14127	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-Adjustment3DPointCloudObjectDetection
14128	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-Adjustment3DPointCloudObjectDetection
14129	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-Adjustment3DPointCloudObjectDetection
14130	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-Adjustment3DPointCloudObjectDetection
14131	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-Adjustment3DPointCloudObjectDetection
14132	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-Adjustment3DPointCloudObjectDetection
14133	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-Adjustment3DPointCloudObjectDetection
14134	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-Adjustment3DPointCloudObjectDetection
14135	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-Adjustment3DPointCloudObjectDetection
14136	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-Adjustment3DPointCloudObjectDetection
14137	//
14138	// 3D point cloud object tracking adjustment - Use this task type when you want
14139	// workers to adjust 3D cuboids around objects that appear in a sequence of
14140	// 3D point cloud frames.
14141	//
14142	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-Adjustment3DPointCloudObjectTracking
14143	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-Adjustment3DPointCloudObjectTracking
14144	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-Adjustment3DPointCloudObjectTracking
14145	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-Adjustment3DPointCloudObjectTracking
14146	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-Adjustment3DPointCloudObjectTracking
14147	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-Adjustment3DPointCloudObjectTracking
14148	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-Adjustment3DPointCloudObjectTracking
14149	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-Adjustment3DPointCloudObjectTracking
14150	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-Adjustment3DPointCloudObjectTracking
14151	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-Adjustment3DPointCloudObjectTracking
14152	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-Adjustment3DPointCloudObjectTracking
14153	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-Adjustment3DPointCloudObjectTracking
14154	//
14155	// 3D point cloud semantic segmentation adjustment - Use this task type when
14156	// you want workers to adjust a point-level semantic segmentation masks using
14157	// a paint tool.
14158	//
14159	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-Adjustment3DPointCloudSemanticSegmentation
14160	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-Adjustment3DPointCloudSemanticSegmentation
14161	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-Adjustment3DPointCloudSemanticSegmentation
14162	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-Adjustment3DPointCloudSemanticSegmentation
14163	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-Adjustment3DPointCloudSemanticSegmentation
14164	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-Adjustment3DPointCloudSemanticSegmentation
14165	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-Adjustment3DPointCloudSemanticSegmentation
14166	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-Adjustment3DPointCloudSemanticSegmentation
14167	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-Adjustment3DPointCloudSemanticSegmentation
14168	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-Adjustment3DPointCloudSemanticSegmentation
14169	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-Adjustment3DPointCloudSemanticSegmentation
14170	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-Adjustment3DPointCloudSemanticSegmentation
14171	//
14172	// AnnotationConsolidationLambdaArn is a required field
14173	AnnotationConsolidationLambdaArn *string `type:"string" required:"true"`
14174}
14175
14176// String returns the string representation
14177func (s AnnotationConsolidationConfig) String() string {
14178	return awsutil.Prettify(s)
14179}
14180
14181// GoString returns the string representation
14182func (s AnnotationConsolidationConfig) GoString() string {
14183	return s.String()
14184}
14185
14186// Validate inspects the fields of the type to determine if they are valid.
14187func (s *AnnotationConsolidationConfig) Validate() error {
14188	invalidParams := request.ErrInvalidParams{Context: "AnnotationConsolidationConfig"}
14189	if s.AnnotationConsolidationLambdaArn == nil {
14190		invalidParams.Add(request.NewErrParamRequired("AnnotationConsolidationLambdaArn"))
14191	}
14192
14193	if invalidParams.Len() > 0 {
14194		return invalidParams
14195	}
14196	return nil
14197}
14198
14199// SetAnnotationConsolidationLambdaArn sets the AnnotationConsolidationLambdaArn field's value.
14200func (s *AnnotationConsolidationConfig) SetAnnotationConsolidationLambdaArn(v string) *AnnotationConsolidationConfig {
14201	s.AnnotationConsolidationLambdaArn = &v
14202	return s
14203}
14204
14205// The app's details.
14206type AppDetails struct {
14207	_ struct{} `type:"structure"`
14208
14209	// The name of the app.
14210	AppName *string `type:"string"`
14211
14212	// The type of app.
14213	AppType *string `type:"string" enum:"AppType"`
14214
14215	// The creation time.
14216	CreationTime *time.Time `type:"timestamp"`
14217
14218	// The domain ID.
14219	DomainId *string `type:"string"`
14220
14221	// The status.
14222	Status *string `type:"string" enum:"AppStatus"`
14223
14224	// The user profile name.
14225	UserProfileName *string `type:"string"`
14226}
14227
14228// String returns the string representation
14229func (s AppDetails) String() string {
14230	return awsutil.Prettify(s)
14231}
14232
14233// GoString returns the string representation
14234func (s AppDetails) GoString() string {
14235	return s.String()
14236}
14237
14238// SetAppName sets the AppName field's value.
14239func (s *AppDetails) SetAppName(v string) *AppDetails {
14240	s.AppName = &v
14241	return s
14242}
14243
14244// SetAppType sets the AppType field's value.
14245func (s *AppDetails) SetAppType(v string) *AppDetails {
14246	s.AppType = &v
14247	return s
14248}
14249
14250// SetCreationTime sets the CreationTime field's value.
14251func (s *AppDetails) SetCreationTime(v time.Time) *AppDetails {
14252	s.CreationTime = &v
14253	return s
14254}
14255
14256// SetDomainId sets the DomainId field's value.
14257func (s *AppDetails) SetDomainId(v string) *AppDetails {
14258	s.DomainId = &v
14259	return s
14260}
14261
14262// SetStatus sets the Status field's value.
14263func (s *AppDetails) SetStatus(v string) *AppDetails {
14264	s.Status = &v
14265	return s
14266}
14267
14268// SetUserProfileName sets the UserProfileName field's value.
14269func (s *AppDetails) SetUserProfileName(v string) *AppDetails {
14270	s.UserProfileName = &v
14271	return s
14272}
14273
14274// Configuration to run a processing job in a specified container image.
14275type AppSpecification struct {
14276	_ struct{} `type:"structure"`
14277
14278	// The arguments for a container used to run a processing job.
14279	ContainerArguments []*string `min:"1" type:"list"`
14280
14281	// The entrypoint for a container used to run a processing job.
14282	ContainerEntrypoint []*string `min:"1" type:"list"`
14283
14284	// The container image to be run by the processing job.
14285	//
14286	// ImageUri is a required field
14287	ImageUri *string `type:"string" required:"true"`
14288}
14289
14290// String returns the string representation
14291func (s AppSpecification) String() string {
14292	return awsutil.Prettify(s)
14293}
14294
14295// GoString returns the string representation
14296func (s AppSpecification) GoString() string {
14297	return s.String()
14298}
14299
14300// Validate inspects the fields of the type to determine if they are valid.
14301func (s *AppSpecification) Validate() error {
14302	invalidParams := request.ErrInvalidParams{Context: "AppSpecification"}
14303	if s.ContainerArguments != nil && len(s.ContainerArguments) < 1 {
14304		invalidParams.Add(request.NewErrParamMinLen("ContainerArguments", 1))
14305	}
14306	if s.ContainerEntrypoint != nil && len(s.ContainerEntrypoint) < 1 {
14307		invalidParams.Add(request.NewErrParamMinLen("ContainerEntrypoint", 1))
14308	}
14309	if s.ImageUri == nil {
14310		invalidParams.Add(request.NewErrParamRequired("ImageUri"))
14311	}
14312
14313	if invalidParams.Len() > 0 {
14314		return invalidParams
14315	}
14316	return nil
14317}
14318
14319// SetContainerArguments sets the ContainerArguments field's value.
14320func (s *AppSpecification) SetContainerArguments(v []*string) *AppSpecification {
14321	s.ContainerArguments = v
14322	return s
14323}
14324
14325// SetContainerEntrypoint sets the ContainerEntrypoint field's value.
14326func (s *AppSpecification) SetContainerEntrypoint(v []*string) *AppSpecification {
14327	s.ContainerEntrypoint = v
14328	return s
14329}
14330
14331// SetImageUri sets the ImageUri field's value.
14332func (s *AppSpecification) SetImageUri(v string) *AppSpecification {
14333	s.ImageUri = &v
14334	return s
14335}
14336
14337type AssociateTrialComponentInput struct {
14338	_ struct{} `type:"structure"`
14339
14340	// The name of the component to associated with the trial.
14341	//
14342	// TrialComponentName is a required field
14343	TrialComponentName *string `min:"1" type:"string" required:"true"`
14344
14345	// The name of the trial to associate with.
14346	//
14347	// TrialName is a required field
14348	TrialName *string `min:"1" type:"string" required:"true"`
14349}
14350
14351// String returns the string representation
14352func (s AssociateTrialComponentInput) String() string {
14353	return awsutil.Prettify(s)
14354}
14355
14356// GoString returns the string representation
14357func (s AssociateTrialComponentInput) GoString() string {
14358	return s.String()
14359}
14360
14361// Validate inspects the fields of the type to determine if they are valid.
14362func (s *AssociateTrialComponentInput) Validate() error {
14363	invalidParams := request.ErrInvalidParams{Context: "AssociateTrialComponentInput"}
14364	if s.TrialComponentName == nil {
14365		invalidParams.Add(request.NewErrParamRequired("TrialComponentName"))
14366	}
14367	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
14368		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
14369	}
14370	if s.TrialName == nil {
14371		invalidParams.Add(request.NewErrParamRequired("TrialName"))
14372	}
14373	if s.TrialName != nil && len(*s.TrialName) < 1 {
14374		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
14375	}
14376
14377	if invalidParams.Len() > 0 {
14378		return invalidParams
14379	}
14380	return nil
14381}
14382
14383// SetTrialComponentName sets the TrialComponentName field's value.
14384func (s *AssociateTrialComponentInput) SetTrialComponentName(v string) *AssociateTrialComponentInput {
14385	s.TrialComponentName = &v
14386	return s
14387}
14388
14389// SetTrialName sets the TrialName field's value.
14390func (s *AssociateTrialComponentInput) SetTrialName(v string) *AssociateTrialComponentInput {
14391	s.TrialName = &v
14392	return s
14393}
14394
14395type AssociateTrialComponentOutput struct {
14396	_ struct{} `type:"structure"`
14397
14398	// The Amazon Resource Name (ARN) of the trial.
14399	TrialArn *string `type:"string"`
14400
14401	// The ARN of the trial component.
14402	TrialComponentArn *string `type:"string"`
14403}
14404
14405// String returns the string representation
14406func (s AssociateTrialComponentOutput) String() string {
14407	return awsutil.Prettify(s)
14408}
14409
14410// GoString returns the string representation
14411func (s AssociateTrialComponentOutput) GoString() string {
14412	return s.String()
14413}
14414
14415// SetTrialArn sets the TrialArn field's value.
14416func (s *AssociateTrialComponentOutput) SetTrialArn(v string) *AssociateTrialComponentOutput {
14417	s.TrialArn = &v
14418	return s
14419}
14420
14421// SetTrialComponentArn sets the TrialComponentArn field's value.
14422func (s *AssociateTrialComponentOutput) SetTrialComponentArn(v string) *AssociateTrialComponentOutput {
14423	s.TrialComponentArn = &v
14424	return s
14425}
14426
14427// An AutoPilot job will return recommendations, or candidates. Each candidate
14428// has futher details about the steps involed, and the status.
14429type AutoMLCandidate struct {
14430	_ struct{} `type:"structure"`
14431
14432	// The candidate name.
14433	//
14434	// CandidateName is a required field
14435	CandidateName *string `min:"1" type:"string" required:"true"`
14436
14437	// The candidate's status.
14438	//
14439	// CandidateStatus is a required field
14440	CandidateStatus *string `type:"string" required:"true" enum:"CandidateStatus"`
14441
14442	// The candidate's steps.
14443	//
14444	// CandidateSteps is a required field
14445	CandidateSteps []*AutoMLCandidateStep `type:"list" required:"true"`
14446
14447	// The creation time.
14448	//
14449	// CreationTime is a required field
14450	CreationTime *time.Time `type:"timestamp" required:"true"`
14451
14452	// The end time.
14453	EndTime *time.Time `type:"timestamp"`
14454
14455	// The failure reason.
14456	FailureReason *string `type:"string"`
14457
14458	// The candidate result from a job.
14459	FinalAutoMLJobObjectiveMetric *FinalAutoMLJobObjectiveMetric `type:"structure"`
14460
14461	// The inference containers.
14462	InferenceContainers []*AutoMLContainerDefinition `type:"list"`
14463
14464	// The last modified time.
14465	//
14466	// LastModifiedTime is a required field
14467	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
14468
14469	// The objective status.
14470	//
14471	// ObjectiveStatus is a required field
14472	ObjectiveStatus *string `type:"string" required:"true" enum:"ObjectiveStatus"`
14473}
14474
14475// String returns the string representation
14476func (s AutoMLCandidate) String() string {
14477	return awsutil.Prettify(s)
14478}
14479
14480// GoString returns the string representation
14481func (s AutoMLCandidate) GoString() string {
14482	return s.String()
14483}
14484
14485// SetCandidateName sets the CandidateName field's value.
14486func (s *AutoMLCandidate) SetCandidateName(v string) *AutoMLCandidate {
14487	s.CandidateName = &v
14488	return s
14489}
14490
14491// SetCandidateStatus sets the CandidateStatus field's value.
14492func (s *AutoMLCandidate) SetCandidateStatus(v string) *AutoMLCandidate {
14493	s.CandidateStatus = &v
14494	return s
14495}
14496
14497// SetCandidateSteps sets the CandidateSteps field's value.
14498func (s *AutoMLCandidate) SetCandidateSteps(v []*AutoMLCandidateStep) *AutoMLCandidate {
14499	s.CandidateSteps = v
14500	return s
14501}
14502
14503// SetCreationTime sets the CreationTime field's value.
14504func (s *AutoMLCandidate) SetCreationTime(v time.Time) *AutoMLCandidate {
14505	s.CreationTime = &v
14506	return s
14507}
14508
14509// SetEndTime sets the EndTime field's value.
14510func (s *AutoMLCandidate) SetEndTime(v time.Time) *AutoMLCandidate {
14511	s.EndTime = &v
14512	return s
14513}
14514
14515// SetFailureReason sets the FailureReason field's value.
14516func (s *AutoMLCandidate) SetFailureReason(v string) *AutoMLCandidate {
14517	s.FailureReason = &v
14518	return s
14519}
14520
14521// SetFinalAutoMLJobObjectiveMetric sets the FinalAutoMLJobObjectiveMetric field's value.
14522func (s *AutoMLCandidate) SetFinalAutoMLJobObjectiveMetric(v *FinalAutoMLJobObjectiveMetric) *AutoMLCandidate {
14523	s.FinalAutoMLJobObjectiveMetric = v
14524	return s
14525}
14526
14527// SetInferenceContainers sets the InferenceContainers field's value.
14528func (s *AutoMLCandidate) SetInferenceContainers(v []*AutoMLContainerDefinition) *AutoMLCandidate {
14529	s.InferenceContainers = v
14530	return s
14531}
14532
14533// SetLastModifiedTime sets the LastModifiedTime field's value.
14534func (s *AutoMLCandidate) SetLastModifiedTime(v time.Time) *AutoMLCandidate {
14535	s.LastModifiedTime = &v
14536	return s
14537}
14538
14539// SetObjectiveStatus sets the ObjectiveStatus field's value.
14540func (s *AutoMLCandidate) SetObjectiveStatus(v string) *AutoMLCandidate {
14541	s.ObjectiveStatus = &v
14542	return s
14543}
14544
14545// Information about the steps for a Candidate, and what step it is working
14546// on.
14547type AutoMLCandidateStep struct {
14548	_ struct{} `type:"structure"`
14549
14550	// The ARN for the Candidate's step.
14551	//
14552	// CandidateStepArn is a required field
14553	CandidateStepArn *string `min:"1" type:"string" required:"true"`
14554
14555	// The name for the Candidate's step.
14556	//
14557	// CandidateStepName is a required field
14558	CandidateStepName *string `min:"1" type:"string" required:"true"`
14559
14560	// Whether the Candidate is at the transform, training, or processing step.
14561	//
14562	// CandidateStepType is a required field
14563	CandidateStepType *string `type:"string" required:"true" enum:"CandidateStepType"`
14564}
14565
14566// String returns the string representation
14567func (s AutoMLCandidateStep) String() string {
14568	return awsutil.Prettify(s)
14569}
14570
14571// GoString returns the string representation
14572func (s AutoMLCandidateStep) GoString() string {
14573	return s.String()
14574}
14575
14576// SetCandidateStepArn sets the CandidateStepArn field's value.
14577func (s *AutoMLCandidateStep) SetCandidateStepArn(v string) *AutoMLCandidateStep {
14578	s.CandidateStepArn = &v
14579	return s
14580}
14581
14582// SetCandidateStepName sets the CandidateStepName field's value.
14583func (s *AutoMLCandidateStep) SetCandidateStepName(v string) *AutoMLCandidateStep {
14584	s.CandidateStepName = &v
14585	return s
14586}
14587
14588// SetCandidateStepType sets the CandidateStepType field's value.
14589func (s *AutoMLCandidateStep) SetCandidateStepType(v string) *AutoMLCandidateStep {
14590	s.CandidateStepType = &v
14591	return s
14592}
14593
14594// Similar to Channel. A channel is a named input source that training algorithms
14595// can consume. Refer to Channel for detailed descriptions.
14596type AutoMLChannel struct {
14597	_ struct{} `type:"structure"`
14598
14599	// You can use Gzip or None. The default value is None.
14600	CompressionType *string `type:"string" enum:"CompressionType"`
14601
14602	// The data source.
14603	//
14604	// DataSource is a required field
14605	DataSource *AutoMLDataSource `type:"structure" required:"true"`
14606
14607	// The name of the target variable in supervised learning, a.k.a. 'y'.
14608	//
14609	// TargetAttributeName is a required field
14610	TargetAttributeName *string `min:"1" type:"string" required:"true"`
14611}
14612
14613// String returns the string representation
14614func (s AutoMLChannel) String() string {
14615	return awsutil.Prettify(s)
14616}
14617
14618// GoString returns the string representation
14619func (s AutoMLChannel) GoString() string {
14620	return s.String()
14621}
14622
14623// Validate inspects the fields of the type to determine if they are valid.
14624func (s *AutoMLChannel) Validate() error {
14625	invalidParams := request.ErrInvalidParams{Context: "AutoMLChannel"}
14626	if s.DataSource == nil {
14627		invalidParams.Add(request.NewErrParamRequired("DataSource"))
14628	}
14629	if s.TargetAttributeName == nil {
14630		invalidParams.Add(request.NewErrParamRequired("TargetAttributeName"))
14631	}
14632	if s.TargetAttributeName != nil && len(*s.TargetAttributeName) < 1 {
14633		invalidParams.Add(request.NewErrParamMinLen("TargetAttributeName", 1))
14634	}
14635	if s.DataSource != nil {
14636		if err := s.DataSource.Validate(); err != nil {
14637			invalidParams.AddNested("DataSource", err.(request.ErrInvalidParams))
14638		}
14639	}
14640
14641	if invalidParams.Len() > 0 {
14642		return invalidParams
14643	}
14644	return nil
14645}
14646
14647// SetCompressionType sets the CompressionType field's value.
14648func (s *AutoMLChannel) SetCompressionType(v string) *AutoMLChannel {
14649	s.CompressionType = &v
14650	return s
14651}
14652
14653// SetDataSource sets the DataSource field's value.
14654func (s *AutoMLChannel) SetDataSource(v *AutoMLDataSource) *AutoMLChannel {
14655	s.DataSource = v
14656	return s
14657}
14658
14659// SetTargetAttributeName sets the TargetAttributeName field's value.
14660func (s *AutoMLChannel) SetTargetAttributeName(v string) *AutoMLChannel {
14661	s.TargetAttributeName = &v
14662	return s
14663}
14664
14665// A list of container definitions that describe the different containers that
14666// make up one AutoML candidate. Refer to ContainerDefinition for more details.
14667type AutoMLContainerDefinition struct {
14668	_ struct{} `type:"structure"`
14669
14670	// Environment variables to set in the container. Refer to ContainerDefinition
14671	// for more details.
14672	Environment map[string]*string `type:"map"`
14673
14674	// The ECR path of the container. Refer to ContainerDefinition for more details.
14675	//
14676	// Image is a required field
14677	Image *string `type:"string" required:"true"`
14678
14679	// The location of the model artifacts. Refer to ContainerDefinition for more
14680	// details.
14681	//
14682	// ModelDataUrl is a required field
14683	ModelDataUrl *string `type:"string" required:"true"`
14684}
14685
14686// String returns the string representation
14687func (s AutoMLContainerDefinition) String() string {
14688	return awsutil.Prettify(s)
14689}
14690
14691// GoString returns the string representation
14692func (s AutoMLContainerDefinition) GoString() string {
14693	return s.String()
14694}
14695
14696// SetEnvironment sets the Environment field's value.
14697func (s *AutoMLContainerDefinition) SetEnvironment(v map[string]*string) *AutoMLContainerDefinition {
14698	s.Environment = v
14699	return s
14700}
14701
14702// SetImage sets the Image field's value.
14703func (s *AutoMLContainerDefinition) SetImage(v string) *AutoMLContainerDefinition {
14704	s.Image = &v
14705	return s
14706}
14707
14708// SetModelDataUrl sets the ModelDataUrl field's value.
14709func (s *AutoMLContainerDefinition) SetModelDataUrl(v string) *AutoMLContainerDefinition {
14710	s.ModelDataUrl = &v
14711	return s
14712}
14713
14714// The data source for the AutoPilot job.
14715type AutoMLDataSource struct {
14716	_ struct{} `type:"structure"`
14717
14718	// The Amazon S3 location of the input data.
14719	//
14720	// The input data must be in CSV format and contain at least 1000 rows.
14721	//
14722	// S3DataSource is a required field
14723	S3DataSource *AutoMLS3DataSource `type:"structure" required:"true"`
14724}
14725
14726// String returns the string representation
14727func (s AutoMLDataSource) String() string {
14728	return awsutil.Prettify(s)
14729}
14730
14731// GoString returns the string representation
14732func (s AutoMLDataSource) GoString() string {
14733	return s.String()
14734}
14735
14736// Validate inspects the fields of the type to determine if they are valid.
14737func (s *AutoMLDataSource) Validate() error {
14738	invalidParams := request.ErrInvalidParams{Context: "AutoMLDataSource"}
14739	if s.S3DataSource == nil {
14740		invalidParams.Add(request.NewErrParamRequired("S3DataSource"))
14741	}
14742	if s.S3DataSource != nil {
14743		if err := s.S3DataSource.Validate(); err != nil {
14744			invalidParams.AddNested("S3DataSource", err.(request.ErrInvalidParams))
14745		}
14746	}
14747
14748	if invalidParams.Len() > 0 {
14749		return invalidParams
14750	}
14751	return nil
14752}
14753
14754// SetS3DataSource sets the S3DataSource field's value.
14755func (s *AutoMLDataSource) SetS3DataSource(v *AutoMLS3DataSource) *AutoMLDataSource {
14756	s.S3DataSource = v
14757	return s
14758}
14759
14760// Artifacts that are generation during a job.
14761type AutoMLJobArtifacts struct {
14762	_ struct{} `type:"structure"`
14763
14764	// The URL to the notebook location.
14765	CandidateDefinitionNotebookLocation *string `min:"1" type:"string"`
14766
14767	// The URL to the notebook location.
14768	DataExplorationNotebookLocation *string `min:"1" type:"string"`
14769}
14770
14771// String returns the string representation
14772func (s AutoMLJobArtifacts) String() string {
14773	return awsutil.Prettify(s)
14774}
14775
14776// GoString returns the string representation
14777func (s AutoMLJobArtifacts) GoString() string {
14778	return s.String()
14779}
14780
14781// SetCandidateDefinitionNotebookLocation sets the CandidateDefinitionNotebookLocation field's value.
14782func (s *AutoMLJobArtifacts) SetCandidateDefinitionNotebookLocation(v string) *AutoMLJobArtifacts {
14783	s.CandidateDefinitionNotebookLocation = &v
14784	return s
14785}
14786
14787// SetDataExplorationNotebookLocation sets the DataExplorationNotebookLocation field's value.
14788func (s *AutoMLJobArtifacts) SetDataExplorationNotebookLocation(v string) *AutoMLJobArtifacts {
14789	s.DataExplorationNotebookLocation = &v
14790	return s
14791}
14792
14793// How long a job is allowed to run, or how many candidates a job is allowed
14794// to generate.
14795type AutoMLJobCompletionCriteria struct {
14796	_ struct{} `type:"structure"`
14797
14798	// The maximum time, in seconds, an AutoML job is allowed to wait for a trial
14799	// to complete. It must be equal to or greater than MaxRuntimePerTrainingJobInSeconds.
14800	MaxAutoMLJobRuntimeInSeconds *int64 `min:"1" type:"integer"`
14801
14802	// The maximum number of times a training job is allowed to run.
14803	MaxCandidates *int64 `min:"1" type:"integer"`
14804
14805	// The maximum time, in seconds, a job is allowed to run.
14806	MaxRuntimePerTrainingJobInSeconds *int64 `min:"1" type:"integer"`
14807}
14808
14809// String returns the string representation
14810func (s AutoMLJobCompletionCriteria) String() string {
14811	return awsutil.Prettify(s)
14812}
14813
14814// GoString returns the string representation
14815func (s AutoMLJobCompletionCriteria) GoString() string {
14816	return s.String()
14817}
14818
14819// Validate inspects the fields of the type to determine if they are valid.
14820func (s *AutoMLJobCompletionCriteria) Validate() error {
14821	invalidParams := request.ErrInvalidParams{Context: "AutoMLJobCompletionCriteria"}
14822	if s.MaxAutoMLJobRuntimeInSeconds != nil && *s.MaxAutoMLJobRuntimeInSeconds < 1 {
14823		invalidParams.Add(request.NewErrParamMinValue("MaxAutoMLJobRuntimeInSeconds", 1))
14824	}
14825	if s.MaxCandidates != nil && *s.MaxCandidates < 1 {
14826		invalidParams.Add(request.NewErrParamMinValue("MaxCandidates", 1))
14827	}
14828	if s.MaxRuntimePerTrainingJobInSeconds != nil && *s.MaxRuntimePerTrainingJobInSeconds < 1 {
14829		invalidParams.Add(request.NewErrParamMinValue("MaxRuntimePerTrainingJobInSeconds", 1))
14830	}
14831
14832	if invalidParams.Len() > 0 {
14833		return invalidParams
14834	}
14835	return nil
14836}
14837
14838// SetMaxAutoMLJobRuntimeInSeconds sets the MaxAutoMLJobRuntimeInSeconds field's value.
14839func (s *AutoMLJobCompletionCriteria) SetMaxAutoMLJobRuntimeInSeconds(v int64) *AutoMLJobCompletionCriteria {
14840	s.MaxAutoMLJobRuntimeInSeconds = &v
14841	return s
14842}
14843
14844// SetMaxCandidates sets the MaxCandidates field's value.
14845func (s *AutoMLJobCompletionCriteria) SetMaxCandidates(v int64) *AutoMLJobCompletionCriteria {
14846	s.MaxCandidates = &v
14847	return s
14848}
14849
14850// SetMaxRuntimePerTrainingJobInSeconds sets the MaxRuntimePerTrainingJobInSeconds field's value.
14851func (s *AutoMLJobCompletionCriteria) SetMaxRuntimePerTrainingJobInSeconds(v int64) *AutoMLJobCompletionCriteria {
14852	s.MaxRuntimePerTrainingJobInSeconds = &v
14853	return s
14854}
14855
14856// A collection of settings used for a job.
14857type AutoMLJobConfig struct {
14858	_ struct{} `type:"structure"`
14859
14860	// How long a job is allowed to run, or how many candidates a job is allowed
14861	// to generate.
14862	CompletionCriteria *AutoMLJobCompletionCriteria `type:"structure"`
14863
14864	// Security configuration for traffic encryption or Amazon VPC settings.
14865	SecurityConfig *AutoMLSecurityConfig `type:"structure"`
14866}
14867
14868// String returns the string representation
14869func (s AutoMLJobConfig) String() string {
14870	return awsutil.Prettify(s)
14871}
14872
14873// GoString returns the string representation
14874func (s AutoMLJobConfig) GoString() string {
14875	return s.String()
14876}
14877
14878// Validate inspects the fields of the type to determine if they are valid.
14879func (s *AutoMLJobConfig) Validate() error {
14880	invalidParams := request.ErrInvalidParams{Context: "AutoMLJobConfig"}
14881	if s.CompletionCriteria != nil {
14882		if err := s.CompletionCriteria.Validate(); err != nil {
14883			invalidParams.AddNested("CompletionCriteria", err.(request.ErrInvalidParams))
14884		}
14885	}
14886	if s.SecurityConfig != nil {
14887		if err := s.SecurityConfig.Validate(); err != nil {
14888			invalidParams.AddNested("SecurityConfig", err.(request.ErrInvalidParams))
14889		}
14890	}
14891
14892	if invalidParams.Len() > 0 {
14893		return invalidParams
14894	}
14895	return nil
14896}
14897
14898// SetCompletionCriteria sets the CompletionCriteria field's value.
14899func (s *AutoMLJobConfig) SetCompletionCriteria(v *AutoMLJobCompletionCriteria) *AutoMLJobConfig {
14900	s.CompletionCriteria = v
14901	return s
14902}
14903
14904// SetSecurityConfig sets the SecurityConfig field's value.
14905func (s *AutoMLJobConfig) SetSecurityConfig(v *AutoMLSecurityConfig) *AutoMLJobConfig {
14906	s.SecurityConfig = v
14907	return s
14908}
14909
14910// Applies a metric to minimize or maximize for the job's objective.
14911type AutoMLJobObjective struct {
14912	_ struct{} `type:"structure"`
14913
14914	// The name of the metric.
14915	//
14916	// MetricName is a required field
14917	MetricName *string `type:"string" required:"true" enum:"AutoMLMetricEnum"`
14918}
14919
14920// String returns the string representation
14921func (s AutoMLJobObjective) String() string {
14922	return awsutil.Prettify(s)
14923}
14924
14925// GoString returns the string representation
14926func (s AutoMLJobObjective) GoString() string {
14927	return s.String()
14928}
14929
14930// Validate inspects the fields of the type to determine if they are valid.
14931func (s *AutoMLJobObjective) Validate() error {
14932	invalidParams := request.ErrInvalidParams{Context: "AutoMLJobObjective"}
14933	if s.MetricName == nil {
14934		invalidParams.Add(request.NewErrParamRequired("MetricName"))
14935	}
14936
14937	if invalidParams.Len() > 0 {
14938		return invalidParams
14939	}
14940	return nil
14941}
14942
14943// SetMetricName sets the MetricName field's value.
14944func (s *AutoMLJobObjective) SetMetricName(v string) *AutoMLJobObjective {
14945	s.MetricName = &v
14946	return s
14947}
14948
14949// Provides a summary about a job.
14950type AutoMLJobSummary struct {
14951	_ struct{} `type:"structure"`
14952
14953	// The ARN of the job.
14954	//
14955	// AutoMLJobArn is a required field
14956	AutoMLJobArn *string `min:"1" type:"string" required:"true"`
14957
14958	// The name of the object you are requesting.
14959	//
14960	// AutoMLJobName is a required field
14961	AutoMLJobName *string `min:"1" type:"string" required:"true"`
14962
14963	// The job's secondary status.
14964	//
14965	// AutoMLJobSecondaryStatus is a required field
14966	AutoMLJobSecondaryStatus *string `type:"string" required:"true" enum:"AutoMLJobSecondaryStatus"`
14967
14968	// The job's status.
14969	//
14970	// AutoMLJobStatus is a required field
14971	AutoMLJobStatus *string `type:"string" required:"true" enum:"AutoMLJobStatus"`
14972
14973	// When the job was created.
14974	//
14975	// CreationTime is a required field
14976	CreationTime *time.Time `type:"timestamp" required:"true"`
14977
14978	// The end time.
14979	EndTime *time.Time `type:"timestamp"`
14980
14981	// The failure reason.
14982	FailureReason *string `type:"string"`
14983
14984	// When the job was last modified.
14985	//
14986	// LastModifiedTime is a required field
14987	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
14988}
14989
14990// String returns the string representation
14991func (s AutoMLJobSummary) String() string {
14992	return awsutil.Prettify(s)
14993}
14994
14995// GoString returns the string representation
14996func (s AutoMLJobSummary) GoString() string {
14997	return s.String()
14998}
14999
15000// SetAutoMLJobArn sets the AutoMLJobArn field's value.
15001func (s *AutoMLJobSummary) SetAutoMLJobArn(v string) *AutoMLJobSummary {
15002	s.AutoMLJobArn = &v
15003	return s
15004}
15005
15006// SetAutoMLJobName sets the AutoMLJobName field's value.
15007func (s *AutoMLJobSummary) SetAutoMLJobName(v string) *AutoMLJobSummary {
15008	s.AutoMLJobName = &v
15009	return s
15010}
15011
15012// SetAutoMLJobSecondaryStatus sets the AutoMLJobSecondaryStatus field's value.
15013func (s *AutoMLJobSummary) SetAutoMLJobSecondaryStatus(v string) *AutoMLJobSummary {
15014	s.AutoMLJobSecondaryStatus = &v
15015	return s
15016}
15017
15018// SetAutoMLJobStatus sets the AutoMLJobStatus field's value.
15019func (s *AutoMLJobSummary) SetAutoMLJobStatus(v string) *AutoMLJobSummary {
15020	s.AutoMLJobStatus = &v
15021	return s
15022}
15023
15024// SetCreationTime sets the CreationTime field's value.
15025func (s *AutoMLJobSummary) SetCreationTime(v time.Time) *AutoMLJobSummary {
15026	s.CreationTime = &v
15027	return s
15028}
15029
15030// SetEndTime sets the EndTime field's value.
15031func (s *AutoMLJobSummary) SetEndTime(v time.Time) *AutoMLJobSummary {
15032	s.EndTime = &v
15033	return s
15034}
15035
15036// SetFailureReason sets the FailureReason field's value.
15037func (s *AutoMLJobSummary) SetFailureReason(v string) *AutoMLJobSummary {
15038	s.FailureReason = &v
15039	return s
15040}
15041
15042// SetLastModifiedTime sets the LastModifiedTime field's value.
15043func (s *AutoMLJobSummary) SetLastModifiedTime(v time.Time) *AutoMLJobSummary {
15044	s.LastModifiedTime = &v
15045	return s
15046}
15047
15048// The output data configuration.
15049type AutoMLOutputDataConfig struct {
15050	_ struct{} `type:"structure"`
15051
15052	// The AWS KMS encryption key ID.
15053	KmsKeyId *string `type:"string"`
15054
15055	// The Amazon S3 output path. Must be 128 characters or less.
15056	//
15057	// S3OutputPath is a required field
15058	S3OutputPath *string `type:"string" required:"true"`
15059}
15060
15061// String returns the string representation
15062func (s AutoMLOutputDataConfig) String() string {
15063	return awsutil.Prettify(s)
15064}
15065
15066// GoString returns the string representation
15067func (s AutoMLOutputDataConfig) GoString() string {
15068	return s.String()
15069}
15070
15071// Validate inspects the fields of the type to determine if they are valid.
15072func (s *AutoMLOutputDataConfig) Validate() error {
15073	invalidParams := request.ErrInvalidParams{Context: "AutoMLOutputDataConfig"}
15074	if s.S3OutputPath == nil {
15075		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
15076	}
15077
15078	if invalidParams.Len() > 0 {
15079		return invalidParams
15080	}
15081	return nil
15082}
15083
15084// SetKmsKeyId sets the KmsKeyId field's value.
15085func (s *AutoMLOutputDataConfig) SetKmsKeyId(v string) *AutoMLOutputDataConfig {
15086	s.KmsKeyId = &v
15087	return s
15088}
15089
15090// SetS3OutputPath sets the S3OutputPath field's value.
15091func (s *AutoMLOutputDataConfig) SetS3OutputPath(v string) *AutoMLOutputDataConfig {
15092	s.S3OutputPath = &v
15093	return s
15094}
15095
15096// The Amazon S3 data source.
15097type AutoMLS3DataSource struct {
15098	_ struct{} `type:"structure"`
15099
15100	// The data type.
15101	//
15102	// S3DataType is a required field
15103	S3DataType *string `type:"string" required:"true" enum:"AutoMLS3DataType"`
15104
15105	// The URL to the Amazon S3 data source.
15106	//
15107	// S3Uri is a required field
15108	S3Uri *string `type:"string" required:"true"`
15109}
15110
15111// String returns the string representation
15112func (s AutoMLS3DataSource) String() string {
15113	return awsutil.Prettify(s)
15114}
15115
15116// GoString returns the string representation
15117func (s AutoMLS3DataSource) GoString() string {
15118	return s.String()
15119}
15120
15121// Validate inspects the fields of the type to determine if they are valid.
15122func (s *AutoMLS3DataSource) Validate() error {
15123	invalidParams := request.ErrInvalidParams{Context: "AutoMLS3DataSource"}
15124	if s.S3DataType == nil {
15125		invalidParams.Add(request.NewErrParamRequired("S3DataType"))
15126	}
15127	if s.S3Uri == nil {
15128		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
15129	}
15130
15131	if invalidParams.Len() > 0 {
15132		return invalidParams
15133	}
15134	return nil
15135}
15136
15137// SetS3DataType sets the S3DataType field's value.
15138func (s *AutoMLS3DataSource) SetS3DataType(v string) *AutoMLS3DataSource {
15139	s.S3DataType = &v
15140	return s
15141}
15142
15143// SetS3Uri sets the S3Uri field's value.
15144func (s *AutoMLS3DataSource) SetS3Uri(v string) *AutoMLS3DataSource {
15145	s.S3Uri = &v
15146	return s
15147}
15148
15149// Security options.
15150type AutoMLSecurityConfig struct {
15151	_ struct{} `type:"structure"`
15152
15153	// Whether to use traffic encryption between the container layers.
15154	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
15155
15156	// The key used to encrypt stored data.
15157	VolumeKmsKeyId *string `type:"string"`
15158
15159	// VPC configuration.
15160	VpcConfig *VpcConfig `type:"structure"`
15161}
15162
15163// String returns the string representation
15164func (s AutoMLSecurityConfig) String() string {
15165	return awsutil.Prettify(s)
15166}
15167
15168// GoString returns the string representation
15169func (s AutoMLSecurityConfig) GoString() string {
15170	return s.String()
15171}
15172
15173// Validate inspects the fields of the type to determine if they are valid.
15174func (s *AutoMLSecurityConfig) Validate() error {
15175	invalidParams := request.ErrInvalidParams{Context: "AutoMLSecurityConfig"}
15176	if s.VpcConfig != nil {
15177		if err := s.VpcConfig.Validate(); err != nil {
15178			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
15179		}
15180	}
15181
15182	if invalidParams.Len() > 0 {
15183		return invalidParams
15184	}
15185	return nil
15186}
15187
15188// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
15189func (s *AutoMLSecurityConfig) SetEnableInterContainerTrafficEncryption(v bool) *AutoMLSecurityConfig {
15190	s.EnableInterContainerTrafficEncryption = &v
15191	return s
15192}
15193
15194// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
15195func (s *AutoMLSecurityConfig) SetVolumeKmsKeyId(v string) *AutoMLSecurityConfig {
15196	s.VolumeKmsKeyId = &v
15197	return s
15198}
15199
15200// SetVpcConfig sets the VpcConfig field's value.
15201func (s *AutoMLSecurityConfig) SetVpcConfig(v *VpcConfig) *AutoMLSecurityConfig {
15202	s.VpcConfig = v
15203	return s
15204}
15205
15206type CaptureContentTypeHeader struct {
15207	_ struct{} `type:"structure"`
15208
15209	CsvContentTypes []*string `min:"1" type:"list"`
15210
15211	JsonContentTypes []*string `min:"1" type:"list"`
15212}
15213
15214// String returns the string representation
15215func (s CaptureContentTypeHeader) String() string {
15216	return awsutil.Prettify(s)
15217}
15218
15219// GoString returns the string representation
15220func (s CaptureContentTypeHeader) GoString() string {
15221	return s.String()
15222}
15223
15224// Validate inspects the fields of the type to determine if they are valid.
15225func (s *CaptureContentTypeHeader) Validate() error {
15226	invalidParams := request.ErrInvalidParams{Context: "CaptureContentTypeHeader"}
15227	if s.CsvContentTypes != nil && len(s.CsvContentTypes) < 1 {
15228		invalidParams.Add(request.NewErrParamMinLen("CsvContentTypes", 1))
15229	}
15230	if s.JsonContentTypes != nil && len(s.JsonContentTypes) < 1 {
15231		invalidParams.Add(request.NewErrParamMinLen("JsonContentTypes", 1))
15232	}
15233
15234	if invalidParams.Len() > 0 {
15235		return invalidParams
15236	}
15237	return nil
15238}
15239
15240// SetCsvContentTypes sets the CsvContentTypes field's value.
15241func (s *CaptureContentTypeHeader) SetCsvContentTypes(v []*string) *CaptureContentTypeHeader {
15242	s.CsvContentTypes = v
15243	return s
15244}
15245
15246// SetJsonContentTypes sets the JsonContentTypes field's value.
15247func (s *CaptureContentTypeHeader) SetJsonContentTypes(v []*string) *CaptureContentTypeHeader {
15248	s.JsonContentTypes = v
15249	return s
15250}
15251
15252type CaptureOption struct {
15253	_ struct{} `type:"structure"`
15254
15255	// CaptureMode is a required field
15256	CaptureMode *string `type:"string" required:"true" enum:"CaptureMode"`
15257}
15258
15259// String returns the string representation
15260func (s CaptureOption) String() string {
15261	return awsutil.Prettify(s)
15262}
15263
15264// GoString returns the string representation
15265func (s CaptureOption) GoString() string {
15266	return s.String()
15267}
15268
15269// Validate inspects the fields of the type to determine if they are valid.
15270func (s *CaptureOption) Validate() error {
15271	invalidParams := request.ErrInvalidParams{Context: "CaptureOption"}
15272	if s.CaptureMode == nil {
15273		invalidParams.Add(request.NewErrParamRequired("CaptureMode"))
15274	}
15275
15276	if invalidParams.Len() > 0 {
15277		return invalidParams
15278	}
15279	return nil
15280}
15281
15282// SetCaptureMode sets the CaptureMode field's value.
15283func (s *CaptureOption) SetCaptureMode(v string) *CaptureOption {
15284	s.CaptureMode = &v
15285	return s
15286}
15287
15288// A list of categorical hyperparameters to tune.
15289type CategoricalParameterRange struct {
15290	_ struct{} `type:"structure"`
15291
15292	// The name of the categorical hyperparameter to tune.
15293	//
15294	// Name is a required field
15295	Name *string `type:"string" required:"true"`
15296
15297	// A list of the categories for the hyperparameter.
15298	//
15299	// Values is a required field
15300	Values []*string `min:"1" type:"list" required:"true"`
15301}
15302
15303// String returns the string representation
15304func (s CategoricalParameterRange) String() string {
15305	return awsutil.Prettify(s)
15306}
15307
15308// GoString returns the string representation
15309func (s CategoricalParameterRange) GoString() string {
15310	return s.String()
15311}
15312
15313// Validate inspects the fields of the type to determine if they are valid.
15314func (s *CategoricalParameterRange) Validate() error {
15315	invalidParams := request.ErrInvalidParams{Context: "CategoricalParameterRange"}
15316	if s.Name == nil {
15317		invalidParams.Add(request.NewErrParamRequired("Name"))
15318	}
15319	if s.Values == nil {
15320		invalidParams.Add(request.NewErrParamRequired("Values"))
15321	}
15322	if s.Values != nil && len(s.Values) < 1 {
15323		invalidParams.Add(request.NewErrParamMinLen("Values", 1))
15324	}
15325
15326	if invalidParams.Len() > 0 {
15327		return invalidParams
15328	}
15329	return nil
15330}
15331
15332// SetName sets the Name field's value.
15333func (s *CategoricalParameterRange) SetName(v string) *CategoricalParameterRange {
15334	s.Name = &v
15335	return s
15336}
15337
15338// SetValues sets the Values field's value.
15339func (s *CategoricalParameterRange) SetValues(v []*string) *CategoricalParameterRange {
15340	s.Values = v
15341	return s
15342}
15343
15344// Defines the possible values for a categorical hyperparameter.
15345type CategoricalParameterRangeSpecification struct {
15346	_ struct{} `type:"structure"`
15347
15348	// The allowed categories for the hyperparameter.
15349	//
15350	// Values is a required field
15351	Values []*string `min:"1" type:"list" required:"true"`
15352}
15353
15354// String returns the string representation
15355func (s CategoricalParameterRangeSpecification) String() string {
15356	return awsutil.Prettify(s)
15357}
15358
15359// GoString returns the string representation
15360func (s CategoricalParameterRangeSpecification) GoString() string {
15361	return s.String()
15362}
15363
15364// Validate inspects the fields of the type to determine if they are valid.
15365func (s *CategoricalParameterRangeSpecification) Validate() error {
15366	invalidParams := request.ErrInvalidParams{Context: "CategoricalParameterRangeSpecification"}
15367	if s.Values == nil {
15368		invalidParams.Add(request.NewErrParamRequired("Values"))
15369	}
15370	if s.Values != nil && len(s.Values) < 1 {
15371		invalidParams.Add(request.NewErrParamMinLen("Values", 1))
15372	}
15373
15374	if invalidParams.Len() > 0 {
15375		return invalidParams
15376	}
15377	return nil
15378}
15379
15380// SetValues sets the Values field's value.
15381func (s *CategoricalParameterRangeSpecification) SetValues(v []*string) *CategoricalParameterRangeSpecification {
15382	s.Values = v
15383	return s
15384}
15385
15386// A channel is a named input source that training algorithms can consume.
15387type Channel struct {
15388	_ struct{} `type:"structure"`
15389
15390	// The name of the channel.
15391	//
15392	// ChannelName is a required field
15393	ChannelName *string `min:"1" type:"string" required:"true"`
15394
15395	// If training data is compressed, the compression type. The default value is
15396	// None. CompressionType is used only in Pipe input mode. In File mode, leave
15397	// this field unset or set it to None.
15398	CompressionType *string `type:"string" enum:"CompressionType"`
15399
15400	// The MIME type of the data.
15401	ContentType *string `type:"string"`
15402
15403	// The location of the channel data.
15404	//
15405	// DataSource is a required field
15406	DataSource *DataSource `type:"structure" required:"true"`
15407
15408	// (Optional) The input mode to use for the data channel in a training job.
15409	// If you don't set a value for InputMode, Amazon SageMaker uses the value set
15410	// for TrainingInputMode. Use this parameter to override the TrainingInputMode
15411	// setting in a AlgorithmSpecification request when you have a channel that
15412	// needs a different input mode from the training job's general setting. To
15413	// download the data from Amazon Simple Storage Service (Amazon S3) to the provisioned
15414	// ML storage volume, and mount the directory to a Docker volume, use File input
15415	// mode. To stream data directly from Amazon S3 to the container, choose Pipe
15416	// input mode.
15417	//
15418	// To use a model for incremental training, choose File input model.
15419	InputMode *string `type:"string" enum:"TrainingInputMode"`
15420
15421	// Specify RecordIO as the value when input data is in raw format but the training
15422	// algorithm requires the RecordIO format. In this case, Amazon SageMaker wraps
15423	// each individual S3 object in a RecordIO record. If the input data is already
15424	// in RecordIO format, you don't need to set this attribute. For more information,
15425	// see Create a Dataset Using RecordIO (https://mxnet.apache.org/api/architecture/note_data_loading#data-format).
15426	//
15427	// In File mode, leave this field unset or set it to None.
15428	RecordWrapperType *string `type:"string" enum:"RecordWrapper"`
15429
15430	// A configuration for a shuffle option for input data in a channel. If you
15431	// use S3Prefix for S3DataType, this shuffles the results of the S3 key prefix
15432	// matches. If you use ManifestFile, the order of the S3 object references in
15433	// the ManifestFile is shuffled. If you use AugmentedManifestFile, the order
15434	// of the JSON lines in the AugmentedManifestFile is shuffled. The shuffling
15435	// order is determined using the Seed value.
15436	//
15437	// For Pipe input mode, shuffling is done at the start of every epoch. With
15438	// large datasets this ensures that the order of the training data is different
15439	// for each epoch, it helps reduce bias and possible overfitting. In a multi-node
15440	// training job when ShuffleConfig is combined with S3DataDistributionType of
15441	// ShardedByS3Key, the data is shuffled across nodes so that the content sent
15442	// to a particular node on the first epoch might be sent to a different node
15443	// on the second epoch.
15444	ShuffleConfig *ShuffleConfig `type:"structure"`
15445}
15446
15447// String returns the string representation
15448func (s Channel) String() string {
15449	return awsutil.Prettify(s)
15450}
15451
15452// GoString returns the string representation
15453func (s Channel) GoString() string {
15454	return s.String()
15455}
15456
15457// Validate inspects the fields of the type to determine if they are valid.
15458func (s *Channel) Validate() error {
15459	invalidParams := request.ErrInvalidParams{Context: "Channel"}
15460	if s.ChannelName == nil {
15461		invalidParams.Add(request.NewErrParamRequired("ChannelName"))
15462	}
15463	if s.ChannelName != nil && len(*s.ChannelName) < 1 {
15464		invalidParams.Add(request.NewErrParamMinLen("ChannelName", 1))
15465	}
15466	if s.DataSource == nil {
15467		invalidParams.Add(request.NewErrParamRequired("DataSource"))
15468	}
15469	if s.DataSource != nil {
15470		if err := s.DataSource.Validate(); err != nil {
15471			invalidParams.AddNested("DataSource", err.(request.ErrInvalidParams))
15472		}
15473	}
15474	if s.ShuffleConfig != nil {
15475		if err := s.ShuffleConfig.Validate(); err != nil {
15476			invalidParams.AddNested("ShuffleConfig", err.(request.ErrInvalidParams))
15477		}
15478	}
15479
15480	if invalidParams.Len() > 0 {
15481		return invalidParams
15482	}
15483	return nil
15484}
15485
15486// SetChannelName sets the ChannelName field's value.
15487func (s *Channel) SetChannelName(v string) *Channel {
15488	s.ChannelName = &v
15489	return s
15490}
15491
15492// SetCompressionType sets the CompressionType field's value.
15493func (s *Channel) SetCompressionType(v string) *Channel {
15494	s.CompressionType = &v
15495	return s
15496}
15497
15498// SetContentType sets the ContentType field's value.
15499func (s *Channel) SetContentType(v string) *Channel {
15500	s.ContentType = &v
15501	return s
15502}
15503
15504// SetDataSource sets the DataSource field's value.
15505func (s *Channel) SetDataSource(v *DataSource) *Channel {
15506	s.DataSource = v
15507	return s
15508}
15509
15510// SetInputMode sets the InputMode field's value.
15511func (s *Channel) SetInputMode(v string) *Channel {
15512	s.InputMode = &v
15513	return s
15514}
15515
15516// SetRecordWrapperType sets the RecordWrapperType field's value.
15517func (s *Channel) SetRecordWrapperType(v string) *Channel {
15518	s.RecordWrapperType = &v
15519	return s
15520}
15521
15522// SetShuffleConfig sets the ShuffleConfig field's value.
15523func (s *Channel) SetShuffleConfig(v *ShuffleConfig) *Channel {
15524	s.ShuffleConfig = v
15525	return s
15526}
15527
15528// Defines a named input source, called a channel, to be used by an algorithm.
15529type ChannelSpecification struct {
15530	_ struct{} `type:"structure"`
15531
15532	// A brief description of the channel.
15533	Description *string `type:"string"`
15534
15535	// Indicates whether the channel is required by the algorithm.
15536	IsRequired *bool `type:"boolean"`
15537
15538	// The name of the channel.
15539	//
15540	// Name is a required field
15541	Name *string `min:"1" type:"string" required:"true"`
15542
15543	// The allowed compression types, if data compression is used.
15544	SupportedCompressionTypes []*string `type:"list"`
15545
15546	// The supported MIME types for the data.
15547	//
15548	// SupportedContentTypes is a required field
15549	SupportedContentTypes []*string `type:"list" required:"true"`
15550
15551	// The allowed input mode, either FILE or PIPE.
15552	//
15553	// In FILE mode, Amazon SageMaker copies the data from the input source onto
15554	// the local Amazon Elastic Block Store (Amazon EBS) volumes before starting
15555	// your training algorithm. This is the most commonly used input mode.
15556	//
15557	// In PIPE mode, Amazon SageMaker streams input data from the source directly
15558	// to your algorithm without using the EBS volume.
15559	//
15560	// SupportedInputModes is a required field
15561	SupportedInputModes []*string `min:"1" type:"list" required:"true"`
15562}
15563
15564// String returns the string representation
15565func (s ChannelSpecification) String() string {
15566	return awsutil.Prettify(s)
15567}
15568
15569// GoString returns the string representation
15570func (s ChannelSpecification) GoString() string {
15571	return s.String()
15572}
15573
15574// Validate inspects the fields of the type to determine if they are valid.
15575func (s *ChannelSpecification) Validate() error {
15576	invalidParams := request.ErrInvalidParams{Context: "ChannelSpecification"}
15577	if s.Name == nil {
15578		invalidParams.Add(request.NewErrParamRequired("Name"))
15579	}
15580	if s.Name != nil && len(*s.Name) < 1 {
15581		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
15582	}
15583	if s.SupportedContentTypes == nil {
15584		invalidParams.Add(request.NewErrParamRequired("SupportedContentTypes"))
15585	}
15586	if s.SupportedInputModes == nil {
15587		invalidParams.Add(request.NewErrParamRequired("SupportedInputModes"))
15588	}
15589	if s.SupportedInputModes != nil && len(s.SupportedInputModes) < 1 {
15590		invalidParams.Add(request.NewErrParamMinLen("SupportedInputModes", 1))
15591	}
15592
15593	if invalidParams.Len() > 0 {
15594		return invalidParams
15595	}
15596	return nil
15597}
15598
15599// SetDescription sets the Description field's value.
15600func (s *ChannelSpecification) SetDescription(v string) *ChannelSpecification {
15601	s.Description = &v
15602	return s
15603}
15604
15605// SetIsRequired sets the IsRequired field's value.
15606func (s *ChannelSpecification) SetIsRequired(v bool) *ChannelSpecification {
15607	s.IsRequired = &v
15608	return s
15609}
15610
15611// SetName sets the Name field's value.
15612func (s *ChannelSpecification) SetName(v string) *ChannelSpecification {
15613	s.Name = &v
15614	return s
15615}
15616
15617// SetSupportedCompressionTypes sets the SupportedCompressionTypes field's value.
15618func (s *ChannelSpecification) SetSupportedCompressionTypes(v []*string) *ChannelSpecification {
15619	s.SupportedCompressionTypes = v
15620	return s
15621}
15622
15623// SetSupportedContentTypes sets the SupportedContentTypes field's value.
15624func (s *ChannelSpecification) SetSupportedContentTypes(v []*string) *ChannelSpecification {
15625	s.SupportedContentTypes = v
15626	return s
15627}
15628
15629// SetSupportedInputModes sets the SupportedInputModes field's value.
15630func (s *ChannelSpecification) SetSupportedInputModes(v []*string) *ChannelSpecification {
15631	s.SupportedInputModes = v
15632	return s
15633}
15634
15635// Contains information about the output location for managed spot training
15636// checkpoint data.
15637type CheckpointConfig struct {
15638	_ struct{} `type:"structure"`
15639
15640	// (Optional) The local directory where checkpoints are written. The default
15641	// directory is /opt/ml/checkpoints/.
15642	LocalPath *string `type:"string"`
15643
15644	// Identifies the S3 path where you want Amazon SageMaker to store checkpoints.
15645	// For example, s3://bucket-name/key-name-prefix.
15646	//
15647	// S3Uri is a required field
15648	S3Uri *string `type:"string" required:"true"`
15649}
15650
15651// String returns the string representation
15652func (s CheckpointConfig) String() string {
15653	return awsutil.Prettify(s)
15654}
15655
15656// GoString returns the string representation
15657func (s CheckpointConfig) GoString() string {
15658	return s.String()
15659}
15660
15661// Validate inspects the fields of the type to determine if they are valid.
15662func (s *CheckpointConfig) Validate() error {
15663	invalidParams := request.ErrInvalidParams{Context: "CheckpointConfig"}
15664	if s.S3Uri == nil {
15665		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
15666	}
15667
15668	if invalidParams.Len() > 0 {
15669		return invalidParams
15670	}
15671	return nil
15672}
15673
15674// SetLocalPath sets the LocalPath field's value.
15675func (s *CheckpointConfig) SetLocalPath(v string) *CheckpointConfig {
15676	s.LocalPath = &v
15677	return s
15678}
15679
15680// SetS3Uri sets the S3Uri field's value.
15681func (s *CheckpointConfig) SetS3Uri(v string) *CheckpointConfig {
15682	s.S3Uri = &v
15683	return s
15684}
15685
15686// Specifies summary information about a Git repository.
15687type CodeRepositorySummary struct {
15688	_ struct{} `type:"structure"`
15689
15690	// The Amazon Resource Name (ARN) of the Git repository.
15691	//
15692	// CodeRepositoryArn is a required field
15693	CodeRepositoryArn *string `min:"1" type:"string" required:"true"`
15694
15695	// The name of the Git repository.
15696	//
15697	// CodeRepositoryName is a required field
15698	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
15699
15700	// The date and time that the Git repository was created.
15701	//
15702	// CreationTime is a required field
15703	CreationTime *time.Time `type:"timestamp" required:"true"`
15704
15705	// Configuration details for the Git repository, including the URL where it
15706	// is located and the ARN of the AWS Secrets Manager secret that contains the
15707	// credentials used to access the repository.
15708	GitConfig *GitConfig `type:"structure"`
15709
15710	// The date and time that the Git repository was last modified.
15711	//
15712	// LastModifiedTime is a required field
15713	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
15714}
15715
15716// String returns the string representation
15717func (s CodeRepositorySummary) String() string {
15718	return awsutil.Prettify(s)
15719}
15720
15721// GoString returns the string representation
15722func (s CodeRepositorySummary) GoString() string {
15723	return s.String()
15724}
15725
15726// SetCodeRepositoryArn sets the CodeRepositoryArn field's value.
15727func (s *CodeRepositorySummary) SetCodeRepositoryArn(v string) *CodeRepositorySummary {
15728	s.CodeRepositoryArn = &v
15729	return s
15730}
15731
15732// SetCodeRepositoryName sets the CodeRepositoryName field's value.
15733func (s *CodeRepositorySummary) SetCodeRepositoryName(v string) *CodeRepositorySummary {
15734	s.CodeRepositoryName = &v
15735	return s
15736}
15737
15738// SetCreationTime sets the CreationTime field's value.
15739func (s *CodeRepositorySummary) SetCreationTime(v time.Time) *CodeRepositorySummary {
15740	s.CreationTime = &v
15741	return s
15742}
15743
15744// SetGitConfig sets the GitConfig field's value.
15745func (s *CodeRepositorySummary) SetGitConfig(v *GitConfig) *CodeRepositorySummary {
15746	s.GitConfig = v
15747	return s
15748}
15749
15750// SetLastModifiedTime sets the LastModifiedTime field's value.
15751func (s *CodeRepositorySummary) SetLastModifiedTime(v time.Time) *CodeRepositorySummary {
15752	s.LastModifiedTime = &v
15753	return s
15754}
15755
15756// Use this parameter to configure your Amazon Cognito workforce. A single Cognito
15757// workforce is created using and corresponds to a single Amazon Cognito user
15758// pool (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html).
15759type CognitoConfig struct {
15760	_ struct{} `type:"structure"`
15761
15762	// The client ID for your Amazon Cognito user pool.
15763	//
15764	// ClientId is a required field
15765	ClientId *string `min:"1" type:"string" required:"true"`
15766
15767	// A user pool (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html)
15768	// is a user directory in Amazon Cognito. With a user pool, your users can sign
15769	// in to your web or mobile app through Amazon Cognito. Your users can also
15770	// sign in through social identity providers like Google, Facebook, Amazon,
15771	// or Apple, and through SAML identity providers.
15772	//
15773	// UserPool is a required field
15774	UserPool *string `min:"1" type:"string" required:"true"`
15775}
15776
15777// String returns the string representation
15778func (s CognitoConfig) String() string {
15779	return awsutil.Prettify(s)
15780}
15781
15782// GoString returns the string representation
15783func (s CognitoConfig) GoString() string {
15784	return s.String()
15785}
15786
15787// Validate inspects the fields of the type to determine if they are valid.
15788func (s *CognitoConfig) Validate() error {
15789	invalidParams := request.ErrInvalidParams{Context: "CognitoConfig"}
15790	if s.ClientId == nil {
15791		invalidParams.Add(request.NewErrParamRequired("ClientId"))
15792	}
15793	if s.ClientId != nil && len(*s.ClientId) < 1 {
15794		invalidParams.Add(request.NewErrParamMinLen("ClientId", 1))
15795	}
15796	if s.UserPool == nil {
15797		invalidParams.Add(request.NewErrParamRequired("UserPool"))
15798	}
15799	if s.UserPool != nil && len(*s.UserPool) < 1 {
15800		invalidParams.Add(request.NewErrParamMinLen("UserPool", 1))
15801	}
15802
15803	if invalidParams.Len() > 0 {
15804		return invalidParams
15805	}
15806	return nil
15807}
15808
15809// SetClientId sets the ClientId field's value.
15810func (s *CognitoConfig) SetClientId(v string) *CognitoConfig {
15811	s.ClientId = &v
15812	return s
15813}
15814
15815// SetUserPool sets the UserPool field's value.
15816func (s *CognitoConfig) SetUserPool(v string) *CognitoConfig {
15817	s.UserPool = &v
15818	return s
15819}
15820
15821// Identifies a Amazon Cognito user group. A user group can be used in on or
15822// more work teams.
15823type CognitoMemberDefinition struct {
15824	_ struct{} `type:"structure"`
15825
15826	// An identifier for an application client. You must create the app client ID
15827	// using Amazon Cognito.
15828	//
15829	// ClientId is a required field
15830	ClientId *string `min:"1" type:"string" required:"true"`
15831
15832	// An identifier for a user group.
15833	//
15834	// UserGroup is a required field
15835	UserGroup *string `min:"1" type:"string" required:"true"`
15836
15837	// An identifier for a user pool. The user pool must be in the same region as
15838	// the service that you are calling.
15839	//
15840	// UserPool is a required field
15841	UserPool *string `min:"1" type:"string" required:"true"`
15842}
15843
15844// String returns the string representation
15845func (s CognitoMemberDefinition) String() string {
15846	return awsutil.Prettify(s)
15847}
15848
15849// GoString returns the string representation
15850func (s CognitoMemberDefinition) GoString() string {
15851	return s.String()
15852}
15853
15854// Validate inspects the fields of the type to determine if they are valid.
15855func (s *CognitoMemberDefinition) Validate() error {
15856	invalidParams := request.ErrInvalidParams{Context: "CognitoMemberDefinition"}
15857	if s.ClientId == nil {
15858		invalidParams.Add(request.NewErrParamRequired("ClientId"))
15859	}
15860	if s.ClientId != nil && len(*s.ClientId) < 1 {
15861		invalidParams.Add(request.NewErrParamMinLen("ClientId", 1))
15862	}
15863	if s.UserGroup == nil {
15864		invalidParams.Add(request.NewErrParamRequired("UserGroup"))
15865	}
15866	if s.UserGroup != nil && len(*s.UserGroup) < 1 {
15867		invalidParams.Add(request.NewErrParamMinLen("UserGroup", 1))
15868	}
15869	if s.UserPool == nil {
15870		invalidParams.Add(request.NewErrParamRequired("UserPool"))
15871	}
15872	if s.UserPool != nil && len(*s.UserPool) < 1 {
15873		invalidParams.Add(request.NewErrParamMinLen("UserPool", 1))
15874	}
15875
15876	if invalidParams.Len() > 0 {
15877		return invalidParams
15878	}
15879	return nil
15880}
15881
15882// SetClientId sets the ClientId field's value.
15883func (s *CognitoMemberDefinition) SetClientId(v string) *CognitoMemberDefinition {
15884	s.ClientId = &v
15885	return s
15886}
15887
15888// SetUserGroup sets the UserGroup field's value.
15889func (s *CognitoMemberDefinition) SetUserGroup(v string) *CognitoMemberDefinition {
15890	s.UserGroup = &v
15891	return s
15892}
15893
15894// SetUserPool sets the UserPool field's value.
15895func (s *CognitoMemberDefinition) SetUserPool(v string) *CognitoMemberDefinition {
15896	s.UserPool = &v
15897	return s
15898}
15899
15900// Configuration information for tensor collections.
15901type CollectionConfiguration struct {
15902	_ struct{} `type:"structure"`
15903
15904	// The name of the tensor collection. The name must be unique relative to other
15905	// rule configuration names.
15906	CollectionName *string `min:"1" type:"string"`
15907
15908	// Parameter values for the tensor collection. The allowed parameters are "name",
15909	// "include_regex", "reduction_config", "save_config", "tensor_names", and "save_histogram".
15910	CollectionParameters map[string]*string `type:"map"`
15911}
15912
15913// String returns the string representation
15914func (s CollectionConfiguration) String() string {
15915	return awsutil.Prettify(s)
15916}
15917
15918// GoString returns the string representation
15919func (s CollectionConfiguration) GoString() string {
15920	return s.String()
15921}
15922
15923// Validate inspects the fields of the type to determine if they are valid.
15924func (s *CollectionConfiguration) Validate() error {
15925	invalidParams := request.ErrInvalidParams{Context: "CollectionConfiguration"}
15926	if s.CollectionName != nil && len(*s.CollectionName) < 1 {
15927		invalidParams.Add(request.NewErrParamMinLen("CollectionName", 1))
15928	}
15929
15930	if invalidParams.Len() > 0 {
15931		return invalidParams
15932	}
15933	return nil
15934}
15935
15936// SetCollectionName sets the CollectionName field's value.
15937func (s *CollectionConfiguration) SetCollectionName(v string) *CollectionConfiguration {
15938	s.CollectionName = &v
15939	return s
15940}
15941
15942// SetCollectionParameters sets the CollectionParameters field's value.
15943func (s *CollectionConfiguration) SetCollectionParameters(v map[string]*string) *CollectionConfiguration {
15944	s.CollectionParameters = v
15945	return s
15946}
15947
15948// A summary of a model compilation job.
15949type CompilationJobSummary struct {
15950	_ struct{} `type:"structure"`
15951
15952	// The time when the model compilation job completed.
15953	CompilationEndTime *time.Time `type:"timestamp"`
15954
15955	// The Amazon Resource Name (ARN) of the model compilation job.
15956	//
15957	// CompilationJobArn is a required field
15958	CompilationJobArn *string `type:"string" required:"true"`
15959
15960	// The name of the model compilation job that you want a summary for.
15961	//
15962	// CompilationJobName is a required field
15963	CompilationJobName *string `min:"1" type:"string" required:"true"`
15964
15965	// The status of the model compilation job.
15966	//
15967	// CompilationJobStatus is a required field
15968	CompilationJobStatus *string `type:"string" required:"true" enum:"CompilationJobStatus"`
15969
15970	// The time when the model compilation job started.
15971	CompilationStartTime *time.Time `type:"timestamp"`
15972
15973	// The type of device that the model will run on after the compilation job has
15974	// completed.
15975	CompilationTargetDevice *string `type:"string" enum:"TargetDevice"`
15976
15977	// The type of accelerator that the model will run on after the compilation
15978	// job has completed.
15979	CompilationTargetPlatformAccelerator *string `type:"string" enum:"TargetPlatformAccelerator"`
15980
15981	// The type of architecture that the model will run on after the compilation
15982	// job has completed.
15983	CompilationTargetPlatformArch *string `type:"string" enum:"TargetPlatformArch"`
15984
15985	// The type of OS that the model will run on after the compilation job has completed.
15986	CompilationTargetPlatformOs *string `type:"string" enum:"TargetPlatformOs"`
15987
15988	// The time when the model compilation job was created.
15989	//
15990	// CreationTime is a required field
15991	CreationTime *time.Time `type:"timestamp" required:"true"`
15992
15993	// The time when the model compilation job was last modified.
15994	LastModifiedTime *time.Time `type:"timestamp"`
15995}
15996
15997// String returns the string representation
15998func (s CompilationJobSummary) String() string {
15999	return awsutil.Prettify(s)
16000}
16001
16002// GoString returns the string representation
16003func (s CompilationJobSummary) GoString() string {
16004	return s.String()
16005}
16006
16007// SetCompilationEndTime sets the CompilationEndTime field's value.
16008func (s *CompilationJobSummary) SetCompilationEndTime(v time.Time) *CompilationJobSummary {
16009	s.CompilationEndTime = &v
16010	return s
16011}
16012
16013// SetCompilationJobArn sets the CompilationJobArn field's value.
16014func (s *CompilationJobSummary) SetCompilationJobArn(v string) *CompilationJobSummary {
16015	s.CompilationJobArn = &v
16016	return s
16017}
16018
16019// SetCompilationJobName sets the CompilationJobName field's value.
16020func (s *CompilationJobSummary) SetCompilationJobName(v string) *CompilationJobSummary {
16021	s.CompilationJobName = &v
16022	return s
16023}
16024
16025// SetCompilationJobStatus sets the CompilationJobStatus field's value.
16026func (s *CompilationJobSummary) SetCompilationJobStatus(v string) *CompilationJobSummary {
16027	s.CompilationJobStatus = &v
16028	return s
16029}
16030
16031// SetCompilationStartTime sets the CompilationStartTime field's value.
16032func (s *CompilationJobSummary) SetCompilationStartTime(v time.Time) *CompilationJobSummary {
16033	s.CompilationStartTime = &v
16034	return s
16035}
16036
16037// SetCompilationTargetDevice sets the CompilationTargetDevice field's value.
16038func (s *CompilationJobSummary) SetCompilationTargetDevice(v string) *CompilationJobSummary {
16039	s.CompilationTargetDevice = &v
16040	return s
16041}
16042
16043// SetCompilationTargetPlatformAccelerator sets the CompilationTargetPlatformAccelerator field's value.
16044func (s *CompilationJobSummary) SetCompilationTargetPlatformAccelerator(v string) *CompilationJobSummary {
16045	s.CompilationTargetPlatformAccelerator = &v
16046	return s
16047}
16048
16049// SetCompilationTargetPlatformArch sets the CompilationTargetPlatformArch field's value.
16050func (s *CompilationJobSummary) SetCompilationTargetPlatformArch(v string) *CompilationJobSummary {
16051	s.CompilationTargetPlatformArch = &v
16052	return s
16053}
16054
16055// SetCompilationTargetPlatformOs sets the CompilationTargetPlatformOs field's value.
16056func (s *CompilationJobSummary) SetCompilationTargetPlatformOs(v string) *CompilationJobSummary {
16057	s.CompilationTargetPlatformOs = &v
16058	return s
16059}
16060
16061// SetCreationTime sets the CreationTime field's value.
16062func (s *CompilationJobSummary) SetCreationTime(v time.Time) *CompilationJobSummary {
16063	s.CreationTime = &v
16064	return s
16065}
16066
16067// SetLastModifiedTime sets the LastModifiedTime field's value.
16068func (s *CompilationJobSummary) SetLastModifiedTime(v time.Time) *CompilationJobSummary {
16069	s.LastModifiedTime = &v
16070	return s
16071}
16072
16073// There was a conflict when you attempted to modify an experiment, trial, or
16074// trial component.
16075type ConflictException struct {
16076	_            struct{}                  `type:"structure"`
16077	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
16078
16079	Message_ *string `locationName:"Message" type:"string"`
16080}
16081
16082// String returns the string representation
16083func (s ConflictException) String() string {
16084	return awsutil.Prettify(s)
16085}
16086
16087// GoString returns the string representation
16088func (s ConflictException) GoString() string {
16089	return s.String()
16090}
16091
16092func newErrorConflictException(v protocol.ResponseMetadata) error {
16093	return &ConflictException{
16094		RespMetadata: v,
16095	}
16096}
16097
16098// Code returns the exception type name.
16099func (s *ConflictException) Code() string {
16100	return "ConflictException"
16101}
16102
16103// Message returns the exception's message.
16104func (s *ConflictException) Message() string {
16105	if s.Message_ != nil {
16106		return *s.Message_
16107	}
16108	return ""
16109}
16110
16111// OrigErr always returns nil, satisfies awserr.Error interface.
16112func (s *ConflictException) OrigErr() error {
16113	return nil
16114}
16115
16116func (s *ConflictException) Error() string {
16117	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
16118}
16119
16120// Status code returns the HTTP status code for the request's response error.
16121func (s *ConflictException) StatusCode() int {
16122	return s.RespMetadata.StatusCode
16123}
16124
16125// RequestID returns the service's response RequestID for request.
16126func (s *ConflictException) RequestID() string {
16127	return s.RespMetadata.RequestID
16128}
16129
16130// Describes the container, as part of model definition.
16131type ContainerDefinition struct {
16132	_ struct{} `type:"structure"`
16133
16134	// This parameter is ignored for models that contain only a PrimaryContainer.
16135	//
16136	// When a ContainerDefinition is part of an inference pipeline, the value of
16137	// the parameter uniquely identifies the container for the purposes of logging
16138	// and metrics. For information, see Use Logs and Metrics to Monitor an Inference
16139	// Pipeline (https://docs.aws.amazon.com/sagemaker/latest/dg/inference-pipeline-logs-metrics.html).
16140	// If you don't specify a value for this parameter for a ContainerDefinition
16141	// that is part of an inference pipeline, a unique name is automatically assigned
16142	// based on the position of the ContainerDefinition in the pipeline. If you
16143	// specify a value for the ContainerHostName for any ContainerDefinition that
16144	// is part of an inference pipeline, you must specify a value for the ContainerHostName
16145	// parameter of every ContainerDefinition in that pipeline.
16146	ContainerHostname *string `type:"string"`
16147
16148	// The environment variables to set in the Docker container. Each key and value
16149	// in the Environment string to string map can have length of up to 1024. We
16150	// support up to 16 entries in the map.
16151	Environment map[string]*string `type:"map"`
16152
16153	// The Amazon EC2 Container Registry (Amazon ECR) path where inference code
16154	// is stored. If you are using your own custom algorithm instead of an algorithm
16155	// provided by Amazon SageMaker, the inference code must meet Amazon SageMaker
16156	// requirements. Amazon SageMaker supports both registry/repository[:tag] and
16157	// registry/repository[@digest] image path formats. For more information, see
16158	// Using Your Own Algorithms with Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html)
16159	Image *string `type:"string"`
16160
16161	// Whether the container hosts a single model or multiple models.
16162	Mode *string `type:"string" enum:"ContainerMode"`
16163
16164	// The S3 path where the model artifacts, which result from model training,
16165	// are stored. This path must point to a single gzip compressed tar archive
16166	// (.tar.gz suffix). The S3 path is required for Amazon SageMaker built-in algorithms,
16167	// but not if you use your own algorithms. For more information on built-in
16168	// algorithms, see Common Parameters (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html).
16169	//
16170	// If you provide a value for this parameter, Amazon SageMaker uses AWS Security
16171	// Token Service to download model artifacts from the S3 path you provide. AWS
16172	// STS is activated in your IAM user account by default. If you previously deactivated
16173	// AWS STS for a region, you need to reactivate AWS STS for that region. For
16174	// more information, see Activating and Deactivating AWS STS in an AWS Region
16175	// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
16176	// in the AWS Identity and Access Management User Guide.
16177	//
16178	// If you use a built-in algorithm to create a model, Amazon SageMaker requires
16179	// that you provide a S3 path to the model artifacts in ModelDataUrl.
16180	ModelDataUrl *string `type:"string"`
16181
16182	// The name or Amazon Resource Name (ARN) of the model package to use to create
16183	// the model.
16184	ModelPackageName *string `min:"1" type:"string"`
16185}
16186
16187// String returns the string representation
16188func (s ContainerDefinition) String() string {
16189	return awsutil.Prettify(s)
16190}
16191
16192// GoString returns the string representation
16193func (s ContainerDefinition) GoString() string {
16194	return s.String()
16195}
16196
16197// Validate inspects the fields of the type to determine if they are valid.
16198func (s *ContainerDefinition) Validate() error {
16199	invalidParams := request.ErrInvalidParams{Context: "ContainerDefinition"}
16200	if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 {
16201		invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1))
16202	}
16203
16204	if invalidParams.Len() > 0 {
16205		return invalidParams
16206	}
16207	return nil
16208}
16209
16210// SetContainerHostname sets the ContainerHostname field's value.
16211func (s *ContainerDefinition) SetContainerHostname(v string) *ContainerDefinition {
16212	s.ContainerHostname = &v
16213	return s
16214}
16215
16216// SetEnvironment sets the Environment field's value.
16217func (s *ContainerDefinition) SetEnvironment(v map[string]*string) *ContainerDefinition {
16218	s.Environment = v
16219	return s
16220}
16221
16222// SetImage sets the Image field's value.
16223func (s *ContainerDefinition) SetImage(v string) *ContainerDefinition {
16224	s.Image = &v
16225	return s
16226}
16227
16228// SetMode sets the Mode field's value.
16229func (s *ContainerDefinition) SetMode(v string) *ContainerDefinition {
16230	s.Mode = &v
16231	return s
16232}
16233
16234// SetModelDataUrl sets the ModelDataUrl field's value.
16235func (s *ContainerDefinition) SetModelDataUrl(v string) *ContainerDefinition {
16236	s.ModelDataUrl = &v
16237	return s
16238}
16239
16240// SetModelPackageName sets the ModelPackageName field's value.
16241func (s *ContainerDefinition) SetModelPackageName(v string) *ContainerDefinition {
16242	s.ModelPackageName = &v
16243	return s
16244}
16245
16246// A list of continuous hyperparameters to tune.
16247type ContinuousParameterRange struct {
16248	_ struct{} `type:"structure"`
16249
16250	// The maximum value for the hyperparameter. The tuning job uses floating-point
16251	// values between MinValue value and this value for tuning.
16252	//
16253	// MaxValue is a required field
16254	MaxValue *string `type:"string" required:"true"`
16255
16256	// The minimum value for the hyperparameter. The tuning job uses floating-point
16257	// values between this value and MaxValuefor tuning.
16258	//
16259	// MinValue is a required field
16260	MinValue *string `type:"string" required:"true"`
16261
16262	// The name of the continuous hyperparameter to tune.
16263	//
16264	// Name is a required field
16265	Name *string `type:"string" required:"true"`
16266
16267	// The scale that hyperparameter tuning uses to search the hyperparameter range.
16268	// For information about choosing a hyperparameter scale, see Hyperparameter
16269	// Scaling (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-ranges.html#scaling-type).
16270	// One of the following values:
16271	//
16272	// Auto
16273	//
16274	// Amazon SageMaker hyperparameter tuning chooses the best scale for the hyperparameter.
16275	//
16276	// Linear
16277	//
16278	// Hyperparameter tuning searches the values in the hyperparameter range by
16279	// using a linear scale.
16280	//
16281	// Logarithmic
16282	//
16283	// Hyperparameter tuning searches the values in the hyperparameter range by
16284	// using a logarithmic scale.
16285	//
16286	// Logarithmic scaling works only for ranges that have only values greater than
16287	// 0.
16288	//
16289	// ReverseLogarithmic
16290	//
16291	// Hyperparameter tuning searches the values in the hyperparameter range by
16292	// using a reverse logarithmic scale.
16293	//
16294	// Reverse logarithmic scaling works only for ranges that are entirely within
16295	// the range 0<=x<1.0.
16296	ScalingType *string `type:"string" enum:"HyperParameterScalingType"`
16297}
16298
16299// String returns the string representation
16300func (s ContinuousParameterRange) String() string {
16301	return awsutil.Prettify(s)
16302}
16303
16304// GoString returns the string representation
16305func (s ContinuousParameterRange) GoString() string {
16306	return s.String()
16307}
16308
16309// Validate inspects the fields of the type to determine if they are valid.
16310func (s *ContinuousParameterRange) Validate() error {
16311	invalidParams := request.ErrInvalidParams{Context: "ContinuousParameterRange"}
16312	if s.MaxValue == nil {
16313		invalidParams.Add(request.NewErrParamRequired("MaxValue"))
16314	}
16315	if s.MinValue == nil {
16316		invalidParams.Add(request.NewErrParamRequired("MinValue"))
16317	}
16318	if s.Name == nil {
16319		invalidParams.Add(request.NewErrParamRequired("Name"))
16320	}
16321
16322	if invalidParams.Len() > 0 {
16323		return invalidParams
16324	}
16325	return nil
16326}
16327
16328// SetMaxValue sets the MaxValue field's value.
16329func (s *ContinuousParameterRange) SetMaxValue(v string) *ContinuousParameterRange {
16330	s.MaxValue = &v
16331	return s
16332}
16333
16334// SetMinValue sets the MinValue field's value.
16335func (s *ContinuousParameterRange) SetMinValue(v string) *ContinuousParameterRange {
16336	s.MinValue = &v
16337	return s
16338}
16339
16340// SetName sets the Name field's value.
16341func (s *ContinuousParameterRange) SetName(v string) *ContinuousParameterRange {
16342	s.Name = &v
16343	return s
16344}
16345
16346// SetScalingType sets the ScalingType field's value.
16347func (s *ContinuousParameterRange) SetScalingType(v string) *ContinuousParameterRange {
16348	s.ScalingType = &v
16349	return s
16350}
16351
16352// Defines the possible values for a continuous hyperparameter.
16353type ContinuousParameterRangeSpecification struct {
16354	_ struct{} `type:"structure"`
16355
16356	// The maximum floating-point value allowed.
16357	//
16358	// MaxValue is a required field
16359	MaxValue *string `type:"string" required:"true"`
16360
16361	// The minimum floating-point value allowed.
16362	//
16363	// MinValue is a required field
16364	MinValue *string `type:"string" required:"true"`
16365}
16366
16367// String returns the string representation
16368func (s ContinuousParameterRangeSpecification) String() string {
16369	return awsutil.Prettify(s)
16370}
16371
16372// GoString returns the string representation
16373func (s ContinuousParameterRangeSpecification) GoString() string {
16374	return s.String()
16375}
16376
16377// Validate inspects the fields of the type to determine if they are valid.
16378func (s *ContinuousParameterRangeSpecification) Validate() error {
16379	invalidParams := request.ErrInvalidParams{Context: "ContinuousParameterRangeSpecification"}
16380	if s.MaxValue == nil {
16381		invalidParams.Add(request.NewErrParamRequired("MaxValue"))
16382	}
16383	if s.MinValue == nil {
16384		invalidParams.Add(request.NewErrParamRequired("MinValue"))
16385	}
16386
16387	if invalidParams.Len() > 0 {
16388		return invalidParams
16389	}
16390	return nil
16391}
16392
16393// SetMaxValue sets the MaxValue field's value.
16394func (s *ContinuousParameterRangeSpecification) SetMaxValue(v string) *ContinuousParameterRangeSpecification {
16395	s.MaxValue = &v
16396	return s
16397}
16398
16399// SetMinValue sets the MinValue field's value.
16400func (s *ContinuousParameterRangeSpecification) SetMinValue(v string) *ContinuousParameterRangeSpecification {
16401	s.MinValue = &v
16402	return s
16403}
16404
16405type CreateAlgorithmInput struct {
16406	_ struct{} `type:"structure"`
16407
16408	// A description of the algorithm.
16409	AlgorithmDescription *string `type:"string"`
16410
16411	// The name of the algorithm.
16412	//
16413	// AlgorithmName is a required field
16414	AlgorithmName *string `min:"1" type:"string" required:"true"`
16415
16416	// Whether to certify the algorithm so that it can be listed in AWS Marketplace.
16417	CertifyForMarketplace *bool `type:"boolean"`
16418
16419	// Specifies details about inference jobs that the algorithm runs, including
16420	// the following:
16421	//
16422	//    * The Amazon ECR paths of containers that contain the inference code and
16423	//    model artifacts.
16424	//
16425	//    * The instance types that the algorithm supports for transform jobs and
16426	//    real-time endpoints used for inference.
16427	//
16428	//    * The input and output content formats that the algorithm supports for
16429	//    inference.
16430	InferenceSpecification *InferenceSpecification `type:"structure"`
16431
16432	// Specifies details about training jobs run by this algorithm, including the
16433	// following:
16434	//
16435	//    * The Amazon ECR path of the container and the version digest of the algorithm.
16436	//
16437	//    * The hyperparameters that the algorithm supports.
16438	//
16439	//    * The instance types that the algorithm supports for training.
16440	//
16441	//    * Whether the algorithm supports distributed training.
16442	//
16443	//    * The metrics that the algorithm emits to Amazon CloudWatch.
16444	//
16445	//    * Which metrics that the algorithm emits can be used as the objective
16446	//    metric for hyperparameter tuning jobs.
16447	//
16448	//    * The input channels that the algorithm supports for training data. For
16449	//    example, an algorithm might support train, validation, and test channels.
16450	//
16451	// TrainingSpecification is a required field
16452	TrainingSpecification *TrainingSpecification `type:"structure" required:"true"`
16453
16454	// Specifies configurations for one or more training jobs and that Amazon SageMaker
16455	// runs to test the algorithm's training code and, optionally, one or more batch
16456	// transform jobs that Amazon SageMaker runs to test the algorithm's inference
16457	// code.
16458	ValidationSpecification *AlgorithmValidationSpecification `type:"structure"`
16459}
16460
16461// String returns the string representation
16462func (s CreateAlgorithmInput) String() string {
16463	return awsutil.Prettify(s)
16464}
16465
16466// GoString returns the string representation
16467func (s CreateAlgorithmInput) GoString() string {
16468	return s.String()
16469}
16470
16471// Validate inspects the fields of the type to determine if they are valid.
16472func (s *CreateAlgorithmInput) Validate() error {
16473	invalidParams := request.ErrInvalidParams{Context: "CreateAlgorithmInput"}
16474	if s.AlgorithmName == nil {
16475		invalidParams.Add(request.NewErrParamRequired("AlgorithmName"))
16476	}
16477	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
16478		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
16479	}
16480	if s.TrainingSpecification == nil {
16481		invalidParams.Add(request.NewErrParamRequired("TrainingSpecification"))
16482	}
16483	if s.InferenceSpecification != nil {
16484		if err := s.InferenceSpecification.Validate(); err != nil {
16485			invalidParams.AddNested("InferenceSpecification", err.(request.ErrInvalidParams))
16486		}
16487	}
16488	if s.TrainingSpecification != nil {
16489		if err := s.TrainingSpecification.Validate(); err != nil {
16490			invalidParams.AddNested("TrainingSpecification", err.(request.ErrInvalidParams))
16491		}
16492	}
16493	if s.ValidationSpecification != nil {
16494		if err := s.ValidationSpecification.Validate(); err != nil {
16495			invalidParams.AddNested("ValidationSpecification", err.(request.ErrInvalidParams))
16496		}
16497	}
16498
16499	if invalidParams.Len() > 0 {
16500		return invalidParams
16501	}
16502	return nil
16503}
16504
16505// SetAlgorithmDescription sets the AlgorithmDescription field's value.
16506func (s *CreateAlgorithmInput) SetAlgorithmDescription(v string) *CreateAlgorithmInput {
16507	s.AlgorithmDescription = &v
16508	return s
16509}
16510
16511// SetAlgorithmName sets the AlgorithmName field's value.
16512func (s *CreateAlgorithmInput) SetAlgorithmName(v string) *CreateAlgorithmInput {
16513	s.AlgorithmName = &v
16514	return s
16515}
16516
16517// SetCertifyForMarketplace sets the CertifyForMarketplace field's value.
16518func (s *CreateAlgorithmInput) SetCertifyForMarketplace(v bool) *CreateAlgorithmInput {
16519	s.CertifyForMarketplace = &v
16520	return s
16521}
16522
16523// SetInferenceSpecification sets the InferenceSpecification field's value.
16524func (s *CreateAlgorithmInput) SetInferenceSpecification(v *InferenceSpecification) *CreateAlgorithmInput {
16525	s.InferenceSpecification = v
16526	return s
16527}
16528
16529// SetTrainingSpecification sets the TrainingSpecification field's value.
16530func (s *CreateAlgorithmInput) SetTrainingSpecification(v *TrainingSpecification) *CreateAlgorithmInput {
16531	s.TrainingSpecification = v
16532	return s
16533}
16534
16535// SetValidationSpecification sets the ValidationSpecification field's value.
16536func (s *CreateAlgorithmInput) SetValidationSpecification(v *AlgorithmValidationSpecification) *CreateAlgorithmInput {
16537	s.ValidationSpecification = v
16538	return s
16539}
16540
16541type CreateAlgorithmOutput struct {
16542	_ struct{} `type:"structure"`
16543
16544	// The Amazon Resource Name (ARN) of the new algorithm.
16545	//
16546	// AlgorithmArn is a required field
16547	AlgorithmArn *string `min:"1" type:"string" required:"true"`
16548}
16549
16550// String returns the string representation
16551func (s CreateAlgorithmOutput) String() string {
16552	return awsutil.Prettify(s)
16553}
16554
16555// GoString returns the string representation
16556func (s CreateAlgorithmOutput) GoString() string {
16557	return s.String()
16558}
16559
16560// SetAlgorithmArn sets the AlgorithmArn field's value.
16561func (s *CreateAlgorithmOutput) SetAlgorithmArn(v string) *CreateAlgorithmOutput {
16562	s.AlgorithmArn = &v
16563	return s
16564}
16565
16566type CreateAppInput struct {
16567	_ struct{} `type:"structure"`
16568
16569	// The name of the app.
16570	//
16571	// AppName is a required field
16572	AppName *string `type:"string" required:"true"`
16573
16574	// The type of app.
16575	//
16576	// AppType is a required field
16577	AppType *string `type:"string" required:"true" enum:"AppType"`
16578
16579	// The domain ID.
16580	//
16581	// DomainId is a required field
16582	DomainId *string `type:"string" required:"true"`
16583
16584	// The instance type and the Amazon Resource Name (ARN) of the SageMaker image
16585	// created on the instance.
16586	ResourceSpec *ResourceSpec `type:"structure"`
16587
16588	// Each tag consists of a key and an optional value. Tag keys must be unique
16589	// per resource.
16590	Tags []*Tag `type:"list"`
16591
16592	// The user profile name.
16593	//
16594	// UserProfileName is a required field
16595	UserProfileName *string `type:"string" required:"true"`
16596}
16597
16598// String returns the string representation
16599func (s CreateAppInput) String() string {
16600	return awsutil.Prettify(s)
16601}
16602
16603// GoString returns the string representation
16604func (s CreateAppInput) GoString() string {
16605	return s.String()
16606}
16607
16608// Validate inspects the fields of the type to determine if they are valid.
16609func (s *CreateAppInput) Validate() error {
16610	invalidParams := request.ErrInvalidParams{Context: "CreateAppInput"}
16611	if s.AppName == nil {
16612		invalidParams.Add(request.NewErrParamRequired("AppName"))
16613	}
16614	if s.AppType == nil {
16615		invalidParams.Add(request.NewErrParamRequired("AppType"))
16616	}
16617	if s.DomainId == nil {
16618		invalidParams.Add(request.NewErrParamRequired("DomainId"))
16619	}
16620	if s.UserProfileName == nil {
16621		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
16622	}
16623	if s.Tags != nil {
16624		for i, v := range s.Tags {
16625			if v == nil {
16626				continue
16627			}
16628			if err := v.Validate(); err != nil {
16629				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
16630			}
16631		}
16632	}
16633
16634	if invalidParams.Len() > 0 {
16635		return invalidParams
16636	}
16637	return nil
16638}
16639
16640// SetAppName sets the AppName field's value.
16641func (s *CreateAppInput) SetAppName(v string) *CreateAppInput {
16642	s.AppName = &v
16643	return s
16644}
16645
16646// SetAppType sets the AppType field's value.
16647func (s *CreateAppInput) SetAppType(v string) *CreateAppInput {
16648	s.AppType = &v
16649	return s
16650}
16651
16652// SetDomainId sets the DomainId field's value.
16653func (s *CreateAppInput) SetDomainId(v string) *CreateAppInput {
16654	s.DomainId = &v
16655	return s
16656}
16657
16658// SetResourceSpec sets the ResourceSpec field's value.
16659func (s *CreateAppInput) SetResourceSpec(v *ResourceSpec) *CreateAppInput {
16660	s.ResourceSpec = v
16661	return s
16662}
16663
16664// SetTags sets the Tags field's value.
16665func (s *CreateAppInput) SetTags(v []*Tag) *CreateAppInput {
16666	s.Tags = v
16667	return s
16668}
16669
16670// SetUserProfileName sets the UserProfileName field's value.
16671func (s *CreateAppInput) SetUserProfileName(v string) *CreateAppInput {
16672	s.UserProfileName = &v
16673	return s
16674}
16675
16676type CreateAppOutput struct {
16677	_ struct{} `type:"structure"`
16678
16679	// The App's Amazon Resource Name (ARN).
16680	AppArn *string `type:"string"`
16681}
16682
16683// String returns the string representation
16684func (s CreateAppOutput) String() string {
16685	return awsutil.Prettify(s)
16686}
16687
16688// GoString returns the string representation
16689func (s CreateAppOutput) GoString() string {
16690	return s.String()
16691}
16692
16693// SetAppArn sets the AppArn field's value.
16694func (s *CreateAppOutput) SetAppArn(v string) *CreateAppOutput {
16695	s.AppArn = &v
16696	return s
16697}
16698
16699type CreateAutoMLJobInput struct {
16700	_ struct{} `type:"structure"`
16701
16702	// Contains CompletionCriteria and SecurityConfig.
16703	AutoMLJobConfig *AutoMLJobConfig `type:"structure"`
16704
16705	// Identifies an AutoPilot job. Must be unique to your account and is case-insensitive.
16706	//
16707	// AutoMLJobName is a required field
16708	AutoMLJobName *string `min:"1" type:"string" required:"true"`
16709
16710	// Defines the job's objective. You provide a MetricName and AutoML will infer
16711	// minimize or maximize. If this is not provided, the most commonly used ObjectiveMetric
16712	// for problem type will be selected.
16713	AutoMLJobObjective *AutoMLJobObjective `type:"structure"`
16714
16715	// This will generate possible candidates without training a model. A candidate
16716	// is a combination of data preprocessors, algorithms, and algorithm parameter
16717	// settings.
16718	GenerateCandidateDefinitionsOnly *bool `type:"boolean"`
16719
16720	// Similar to InputDataConfig supported by Tuning. Format(s) supported: CSV.
16721	// Minimum of 1000 rows.
16722	//
16723	// InputDataConfig is a required field
16724	InputDataConfig []*AutoMLChannel `min:"1" type:"list" required:"true"`
16725
16726	// Similar to OutputDataConfig supported by Tuning. Format(s) supported: CSV.
16727	//
16728	// OutputDataConfig is a required field
16729	OutputDataConfig *AutoMLOutputDataConfig `type:"structure" required:"true"`
16730
16731	// Defines the kind of preprocessing and algorithms intended for the candidates.
16732	// Options include: BinaryClassification, MulticlassClassification, and Regression.
16733	ProblemType *string `type:"string" enum:"ProblemType"`
16734
16735	// The ARN of the role that will be used to access the data.
16736	//
16737	// RoleArn is a required field
16738	RoleArn *string `min:"20" type:"string" required:"true"`
16739
16740	// Each tag consists of a key and an optional value. Tag keys must be unique
16741	// per resource.
16742	Tags []*Tag `type:"list"`
16743}
16744
16745// String returns the string representation
16746func (s CreateAutoMLJobInput) String() string {
16747	return awsutil.Prettify(s)
16748}
16749
16750// GoString returns the string representation
16751func (s CreateAutoMLJobInput) GoString() string {
16752	return s.String()
16753}
16754
16755// Validate inspects the fields of the type to determine if they are valid.
16756func (s *CreateAutoMLJobInput) Validate() error {
16757	invalidParams := request.ErrInvalidParams{Context: "CreateAutoMLJobInput"}
16758	if s.AutoMLJobName == nil {
16759		invalidParams.Add(request.NewErrParamRequired("AutoMLJobName"))
16760	}
16761	if s.AutoMLJobName != nil && len(*s.AutoMLJobName) < 1 {
16762		invalidParams.Add(request.NewErrParamMinLen("AutoMLJobName", 1))
16763	}
16764	if s.InputDataConfig == nil {
16765		invalidParams.Add(request.NewErrParamRequired("InputDataConfig"))
16766	}
16767	if s.InputDataConfig != nil && len(s.InputDataConfig) < 1 {
16768		invalidParams.Add(request.NewErrParamMinLen("InputDataConfig", 1))
16769	}
16770	if s.OutputDataConfig == nil {
16771		invalidParams.Add(request.NewErrParamRequired("OutputDataConfig"))
16772	}
16773	if s.RoleArn == nil {
16774		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
16775	}
16776	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
16777		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
16778	}
16779	if s.AutoMLJobConfig != nil {
16780		if err := s.AutoMLJobConfig.Validate(); err != nil {
16781			invalidParams.AddNested("AutoMLJobConfig", err.(request.ErrInvalidParams))
16782		}
16783	}
16784	if s.AutoMLJobObjective != nil {
16785		if err := s.AutoMLJobObjective.Validate(); err != nil {
16786			invalidParams.AddNested("AutoMLJobObjective", err.(request.ErrInvalidParams))
16787		}
16788	}
16789	if s.InputDataConfig != nil {
16790		for i, v := range s.InputDataConfig {
16791			if v == nil {
16792				continue
16793			}
16794			if err := v.Validate(); err != nil {
16795				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputDataConfig", i), err.(request.ErrInvalidParams))
16796			}
16797		}
16798	}
16799	if s.OutputDataConfig != nil {
16800		if err := s.OutputDataConfig.Validate(); err != nil {
16801			invalidParams.AddNested("OutputDataConfig", err.(request.ErrInvalidParams))
16802		}
16803	}
16804	if s.Tags != nil {
16805		for i, v := range s.Tags {
16806			if v == nil {
16807				continue
16808			}
16809			if err := v.Validate(); err != nil {
16810				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
16811			}
16812		}
16813	}
16814
16815	if invalidParams.Len() > 0 {
16816		return invalidParams
16817	}
16818	return nil
16819}
16820
16821// SetAutoMLJobConfig sets the AutoMLJobConfig field's value.
16822func (s *CreateAutoMLJobInput) SetAutoMLJobConfig(v *AutoMLJobConfig) *CreateAutoMLJobInput {
16823	s.AutoMLJobConfig = v
16824	return s
16825}
16826
16827// SetAutoMLJobName sets the AutoMLJobName field's value.
16828func (s *CreateAutoMLJobInput) SetAutoMLJobName(v string) *CreateAutoMLJobInput {
16829	s.AutoMLJobName = &v
16830	return s
16831}
16832
16833// SetAutoMLJobObjective sets the AutoMLJobObjective field's value.
16834func (s *CreateAutoMLJobInput) SetAutoMLJobObjective(v *AutoMLJobObjective) *CreateAutoMLJobInput {
16835	s.AutoMLJobObjective = v
16836	return s
16837}
16838
16839// SetGenerateCandidateDefinitionsOnly sets the GenerateCandidateDefinitionsOnly field's value.
16840func (s *CreateAutoMLJobInput) SetGenerateCandidateDefinitionsOnly(v bool) *CreateAutoMLJobInput {
16841	s.GenerateCandidateDefinitionsOnly = &v
16842	return s
16843}
16844
16845// SetInputDataConfig sets the InputDataConfig field's value.
16846func (s *CreateAutoMLJobInput) SetInputDataConfig(v []*AutoMLChannel) *CreateAutoMLJobInput {
16847	s.InputDataConfig = v
16848	return s
16849}
16850
16851// SetOutputDataConfig sets the OutputDataConfig field's value.
16852func (s *CreateAutoMLJobInput) SetOutputDataConfig(v *AutoMLOutputDataConfig) *CreateAutoMLJobInput {
16853	s.OutputDataConfig = v
16854	return s
16855}
16856
16857// SetProblemType sets the ProblemType field's value.
16858func (s *CreateAutoMLJobInput) SetProblemType(v string) *CreateAutoMLJobInput {
16859	s.ProblemType = &v
16860	return s
16861}
16862
16863// SetRoleArn sets the RoleArn field's value.
16864func (s *CreateAutoMLJobInput) SetRoleArn(v string) *CreateAutoMLJobInput {
16865	s.RoleArn = &v
16866	return s
16867}
16868
16869// SetTags sets the Tags field's value.
16870func (s *CreateAutoMLJobInput) SetTags(v []*Tag) *CreateAutoMLJobInput {
16871	s.Tags = v
16872	return s
16873}
16874
16875type CreateAutoMLJobOutput struct {
16876	_ struct{} `type:"structure"`
16877
16878	// When a job is created, it is assigned a unique ARN.
16879	//
16880	// AutoMLJobArn is a required field
16881	AutoMLJobArn *string `min:"1" type:"string" required:"true"`
16882}
16883
16884// String returns the string representation
16885func (s CreateAutoMLJobOutput) String() string {
16886	return awsutil.Prettify(s)
16887}
16888
16889// GoString returns the string representation
16890func (s CreateAutoMLJobOutput) GoString() string {
16891	return s.String()
16892}
16893
16894// SetAutoMLJobArn sets the AutoMLJobArn field's value.
16895func (s *CreateAutoMLJobOutput) SetAutoMLJobArn(v string) *CreateAutoMLJobOutput {
16896	s.AutoMLJobArn = &v
16897	return s
16898}
16899
16900type CreateCodeRepositoryInput struct {
16901	_ struct{} `type:"structure"`
16902
16903	// The name of the Git repository. The name must have 1 to 63 characters. Valid
16904	// characters are a-z, A-Z, 0-9, and - (hyphen).
16905	//
16906	// CodeRepositoryName is a required field
16907	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
16908
16909	// Specifies details about the repository, including the URL where the repository
16910	// is located, the default branch, and credentials to use to access the repository.
16911	//
16912	// GitConfig is a required field
16913	GitConfig *GitConfig `type:"structure" required:"true"`
16914}
16915
16916// String returns the string representation
16917func (s CreateCodeRepositoryInput) String() string {
16918	return awsutil.Prettify(s)
16919}
16920
16921// GoString returns the string representation
16922func (s CreateCodeRepositoryInput) GoString() string {
16923	return s.String()
16924}
16925
16926// Validate inspects the fields of the type to determine if they are valid.
16927func (s *CreateCodeRepositoryInput) Validate() error {
16928	invalidParams := request.ErrInvalidParams{Context: "CreateCodeRepositoryInput"}
16929	if s.CodeRepositoryName == nil {
16930		invalidParams.Add(request.NewErrParamRequired("CodeRepositoryName"))
16931	}
16932	if s.CodeRepositoryName != nil && len(*s.CodeRepositoryName) < 1 {
16933		invalidParams.Add(request.NewErrParamMinLen("CodeRepositoryName", 1))
16934	}
16935	if s.GitConfig == nil {
16936		invalidParams.Add(request.NewErrParamRequired("GitConfig"))
16937	}
16938	if s.GitConfig != nil {
16939		if err := s.GitConfig.Validate(); err != nil {
16940			invalidParams.AddNested("GitConfig", err.(request.ErrInvalidParams))
16941		}
16942	}
16943
16944	if invalidParams.Len() > 0 {
16945		return invalidParams
16946	}
16947	return nil
16948}
16949
16950// SetCodeRepositoryName sets the CodeRepositoryName field's value.
16951func (s *CreateCodeRepositoryInput) SetCodeRepositoryName(v string) *CreateCodeRepositoryInput {
16952	s.CodeRepositoryName = &v
16953	return s
16954}
16955
16956// SetGitConfig sets the GitConfig field's value.
16957func (s *CreateCodeRepositoryInput) SetGitConfig(v *GitConfig) *CreateCodeRepositoryInput {
16958	s.GitConfig = v
16959	return s
16960}
16961
16962type CreateCodeRepositoryOutput struct {
16963	_ struct{} `type:"structure"`
16964
16965	// The Amazon Resource Name (ARN) of the new repository.
16966	//
16967	// CodeRepositoryArn is a required field
16968	CodeRepositoryArn *string `min:"1" type:"string" required:"true"`
16969}
16970
16971// String returns the string representation
16972func (s CreateCodeRepositoryOutput) String() string {
16973	return awsutil.Prettify(s)
16974}
16975
16976// GoString returns the string representation
16977func (s CreateCodeRepositoryOutput) GoString() string {
16978	return s.String()
16979}
16980
16981// SetCodeRepositoryArn sets the CodeRepositoryArn field's value.
16982func (s *CreateCodeRepositoryOutput) SetCodeRepositoryArn(v string) *CreateCodeRepositoryOutput {
16983	s.CodeRepositoryArn = &v
16984	return s
16985}
16986
16987type CreateCompilationJobInput struct {
16988	_ struct{} `type:"structure"`
16989
16990	// A name for the model compilation job. The name must be unique within the
16991	// AWS Region and within your AWS account.
16992	//
16993	// CompilationJobName is a required field
16994	CompilationJobName *string `min:"1" type:"string" required:"true"`
16995
16996	// Provides information about the location of input model artifacts, the name
16997	// and shape of the expected data inputs, and the framework in which the model
16998	// was trained.
16999	//
17000	// InputConfig is a required field
17001	InputConfig *InputConfig `type:"structure" required:"true"`
17002
17003	// Provides information about the output location for the compiled model and
17004	// the target device the model runs on.
17005	//
17006	// OutputConfig is a required field
17007	OutputConfig *OutputConfig `type:"structure" required:"true"`
17008
17009	// The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker
17010	// to perform tasks on your behalf.
17011	//
17012	// During model compilation, Amazon SageMaker needs your permission to:
17013	//
17014	//    * Read input data from an S3 bucket
17015	//
17016	//    * Write model artifacts to an S3 bucket
17017	//
17018	//    * Write logs to Amazon CloudWatch Logs
17019	//
17020	//    * Publish metrics to Amazon CloudWatch
17021	//
17022	// You grant permissions for all of these tasks to an IAM role. To pass this
17023	// role to Amazon SageMaker, the caller of this API must have the iam:PassRole
17024	// permission. For more information, see Amazon SageMaker Roles. (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html)
17025	//
17026	// RoleArn is a required field
17027	RoleArn *string `min:"20" type:"string" required:"true"`
17028
17029	// Specifies a limit to how long a model compilation job can run. When the job
17030	// reaches the time limit, Amazon SageMaker ends the compilation job. Use this
17031	// API to cap model training costs.
17032	//
17033	// StoppingCondition is a required field
17034	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
17035}
17036
17037// String returns the string representation
17038func (s CreateCompilationJobInput) String() string {
17039	return awsutil.Prettify(s)
17040}
17041
17042// GoString returns the string representation
17043func (s CreateCompilationJobInput) GoString() string {
17044	return s.String()
17045}
17046
17047// Validate inspects the fields of the type to determine if they are valid.
17048func (s *CreateCompilationJobInput) Validate() error {
17049	invalidParams := request.ErrInvalidParams{Context: "CreateCompilationJobInput"}
17050	if s.CompilationJobName == nil {
17051		invalidParams.Add(request.NewErrParamRequired("CompilationJobName"))
17052	}
17053	if s.CompilationJobName != nil && len(*s.CompilationJobName) < 1 {
17054		invalidParams.Add(request.NewErrParamMinLen("CompilationJobName", 1))
17055	}
17056	if s.InputConfig == nil {
17057		invalidParams.Add(request.NewErrParamRequired("InputConfig"))
17058	}
17059	if s.OutputConfig == nil {
17060		invalidParams.Add(request.NewErrParamRequired("OutputConfig"))
17061	}
17062	if s.RoleArn == nil {
17063		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
17064	}
17065	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
17066		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
17067	}
17068	if s.StoppingCondition == nil {
17069		invalidParams.Add(request.NewErrParamRequired("StoppingCondition"))
17070	}
17071	if s.InputConfig != nil {
17072		if err := s.InputConfig.Validate(); err != nil {
17073			invalidParams.AddNested("InputConfig", err.(request.ErrInvalidParams))
17074		}
17075	}
17076	if s.OutputConfig != nil {
17077		if err := s.OutputConfig.Validate(); err != nil {
17078			invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams))
17079		}
17080	}
17081	if s.StoppingCondition != nil {
17082		if err := s.StoppingCondition.Validate(); err != nil {
17083			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
17084		}
17085	}
17086
17087	if invalidParams.Len() > 0 {
17088		return invalidParams
17089	}
17090	return nil
17091}
17092
17093// SetCompilationJobName sets the CompilationJobName field's value.
17094func (s *CreateCompilationJobInput) SetCompilationJobName(v string) *CreateCompilationJobInput {
17095	s.CompilationJobName = &v
17096	return s
17097}
17098
17099// SetInputConfig sets the InputConfig field's value.
17100func (s *CreateCompilationJobInput) SetInputConfig(v *InputConfig) *CreateCompilationJobInput {
17101	s.InputConfig = v
17102	return s
17103}
17104
17105// SetOutputConfig sets the OutputConfig field's value.
17106func (s *CreateCompilationJobInput) SetOutputConfig(v *OutputConfig) *CreateCompilationJobInput {
17107	s.OutputConfig = v
17108	return s
17109}
17110
17111// SetRoleArn sets the RoleArn field's value.
17112func (s *CreateCompilationJobInput) SetRoleArn(v string) *CreateCompilationJobInput {
17113	s.RoleArn = &v
17114	return s
17115}
17116
17117// SetStoppingCondition sets the StoppingCondition field's value.
17118func (s *CreateCompilationJobInput) SetStoppingCondition(v *StoppingCondition) *CreateCompilationJobInput {
17119	s.StoppingCondition = v
17120	return s
17121}
17122
17123type CreateCompilationJobOutput struct {
17124	_ struct{} `type:"structure"`
17125
17126	// If the action is successful, the service sends back an HTTP 200 response.
17127	// Amazon SageMaker returns the following data in JSON format:
17128	//
17129	//    * CompilationJobArn: The Amazon Resource Name (ARN) of the compiled job.
17130	//
17131	// CompilationJobArn is a required field
17132	CompilationJobArn *string `type:"string" required:"true"`
17133}
17134
17135// String returns the string representation
17136func (s CreateCompilationJobOutput) String() string {
17137	return awsutil.Prettify(s)
17138}
17139
17140// GoString returns the string representation
17141func (s CreateCompilationJobOutput) GoString() string {
17142	return s.String()
17143}
17144
17145// SetCompilationJobArn sets the CompilationJobArn field's value.
17146func (s *CreateCompilationJobOutput) SetCompilationJobArn(v string) *CreateCompilationJobOutput {
17147	s.CompilationJobArn = &v
17148	return s
17149}
17150
17151type CreateDomainInput struct {
17152	_ struct{} `type:"structure"`
17153
17154	// The mode of authentication that members use to access the domain.
17155	//
17156	// AuthMode is a required field
17157	AuthMode *string `type:"string" required:"true" enum:"AuthMode"`
17158
17159	// The default user settings.
17160	//
17161	// DefaultUserSettings is a required field
17162	DefaultUserSettings *UserSettings `type:"structure" required:"true"`
17163
17164	// A name for the domain.
17165	//
17166	// DomainName is a required field
17167	DomainName *string `type:"string" required:"true"`
17168
17169	// The AWS Key Management Service (KMS) encryption key ID. Encryption with a
17170	// customer master key (CMK) is not supported.
17171	HomeEfsFileSystemKmsKeyId *string `type:"string"`
17172
17173	// The VPC subnets to use for communication with the EFS volume.
17174	//
17175	// SubnetIds is a required field
17176	SubnetIds []*string `min:"1" type:"list" required:"true"`
17177
17178	// Tags to associated with the Domain. Each tag consists of a key and an optional
17179	// value. Tag keys must be unique per resource. Tags are searchable using the
17180	// Search API.
17181	Tags []*Tag `type:"list"`
17182
17183	// The ID of the Amazon Virtual Private Cloud (VPC) to use for communication
17184	// with the EFS volume.
17185	//
17186	// VpcId is a required field
17187	VpcId *string `type:"string" required:"true"`
17188}
17189
17190// String returns the string representation
17191func (s CreateDomainInput) String() string {
17192	return awsutil.Prettify(s)
17193}
17194
17195// GoString returns the string representation
17196func (s CreateDomainInput) GoString() string {
17197	return s.String()
17198}
17199
17200// Validate inspects the fields of the type to determine if they are valid.
17201func (s *CreateDomainInput) Validate() error {
17202	invalidParams := request.ErrInvalidParams{Context: "CreateDomainInput"}
17203	if s.AuthMode == nil {
17204		invalidParams.Add(request.NewErrParamRequired("AuthMode"))
17205	}
17206	if s.DefaultUserSettings == nil {
17207		invalidParams.Add(request.NewErrParamRequired("DefaultUserSettings"))
17208	}
17209	if s.DomainName == nil {
17210		invalidParams.Add(request.NewErrParamRequired("DomainName"))
17211	}
17212	if s.SubnetIds == nil {
17213		invalidParams.Add(request.NewErrParamRequired("SubnetIds"))
17214	}
17215	if s.SubnetIds != nil && len(s.SubnetIds) < 1 {
17216		invalidParams.Add(request.NewErrParamMinLen("SubnetIds", 1))
17217	}
17218	if s.VpcId == nil {
17219		invalidParams.Add(request.NewErrParamRequired("VpcId"))
17220	}
17221	if s.DefaultUserSettings != nil {
17222		if err := s.DefaultUserSettings.Validate(); err != nil {
17223			invalidParams.AddNested("DefaultUserSettings", err.(request.ErrInvalidParams))
17224		}
17225	}
17226	if s.Tags != nil {
17227		for i, v := range s.Tags {
17228			if v == nil {
17229				continue
17230			}
17231			if err := v.Validate(); err != nil {
17232				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
17233			}
17234		}
17235	}
17236
17237	if invalidParams.Len() > 0 {
17238		return invalidParams
17239	}
17240	return nil
17241}
17242
17243// SetAuthMode sets the AuthMode field's value.
17244func (s *CreateDomainInput) SetAuthMode(v string) *CreateDomainInput {
17245	s.AuthMode = &v
17246	return s
17247}
17248
17249// SetDefaultUserSettings sets the DefaultUserSettings field's value.
17250func (s *CreateDomainInput) SetDefaultUserSettings(v *UserSettings) *CreateDomainInput {
17251	s.DefaultUserSettings = v
17252	return s
17253}
17254
17255// SetDomainName sets the DomainName field's value.
17256func (s *CreateDomainInput) SetDomainName(v string) *CreateDomainInput {
17257	s.DomainName = &v
17258	return s
17259}
17260
17261// SetHomeEfsFileSystemKmsKeyId sets the HomeEfsFileSystemKmsKeyId field's value.
17262func (s *CreateDomainInput) SetHomeEfsFileSystemKmsKeyId(v string) *CreateDomainInput {
17263	s.HomeEfsFileSystemKmsKeyId = &v
17264	return s
17265}
17266
17267// SetSubnetIds sets the SubnetIds field's value.
17268func (s *CreateDomainInput) SetSubnetIds(v []*string) *CreateDomainInput {
17269	s.SubnetIds = v
17270	return s
17271}
17272
17273// SetTags sets the Tags field's value.
17274func (s *CreateDomainInput) SetTags(v []*Tag) *CreateDomainInput {
17275	s.Tags = v
17276	return s
17277}
17278
17279// SetVpcId sets the VpcId field's value.
17280func (s *CreateDomainInput) SetVpcId(v string) *CreateDomainInput {
17281	s.VpcId = &v
17282	return s
17283}
17284
17285type CreateDomainOutput struct {
17286	_ struct{} `type:"structure"`
17287
17288	// The Amazon Resource Name (ARN) of the created domain.
17289	DomainArn *string `type:"string"`
17290
17291	// The URL to the created domain.
17292	Url *string `type:"string"`
17293}
17294
17295// String returns the string representation
17296func (s CreateDomainOutput) String() string {
17297	return awsutil.Prettify(s)
17298}
17299
17300// GoString returns the string representation
17301func (s CreateDomainOutput) GoString() string {
17302	return s.String()
17303}
17304
17305// SetDomainArn sets the DomainArn field's value.
17306func (s *CreateDomainOutput) SetDomainArn(v string) *CreateDomainOutput {
17307	s.DomainArn = &v
17308	return s
17309}
17310
17311// SetUrl sets the Url field's value.
17312func (s *CreateDomainOutput) SetUrl(v string) *CreateDomainOutput {
17313	s.Url = &v
17314	return s
17315}
17316
17317type CreateEndpointConfigInput struct {
17318	_ struct{} `type:"structure"`
17319
17320	DataCaptureConfig *DataCaptureConfig `type:"structure"`
17321
17322	// The name of the endpoint configuration. You specify this name in a CreateEndpoint
17323	// request.
17324	//
17325	// EndpointConfigName is a required field
17326	EndpointConfigName *string `type:"string" required:"true"`
17327
17328	// The Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon
17329	// SageMaker uses to encrypt data on the storage volume attached to the ML compute
17330	// instance that hosts the endpoint.
17331	//
17332	// The KmsKeyId can be any of the following formats:
17333	//
17334	//    * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
17335	//
17336	//    * Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
17337	//
17338	//    * Alias name: alias/ExampleAlias
17339	//
17340	//    * Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
17341	//
17342	// The KMS key policy must grant permission to the IAM role that you specify
17343	// in your CreateEndpoint, UpdateEndpoint requests. For more information, refer
17344	// to the AWS Key Management Service section Using Key Policies in AWS KMS (https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html)
17345	//
17346	// Certain Nitro-based instances include local storage, dependent on the instance
17347	// type. Local storage volumes are encrypted using a hardware module on the
17348	// instance. You can't request a KmsKeyId when using an instance type with local
17349	// storage. If any of the models that you specify in the ProductionVariants
17350	// parameter use nitro-based instances with local storage, do not specify a
17351	// value for the KmsKeyId parameter. If you specify a value for KmsKeyId when
17352	// using any nitro-based instances with local storage, the call to CreateEndpointConfig
17353	// fails.
17354	//
17355	// For a list of instance types that support local instance storage, see Instance
17356	// Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes).
17357	//
17358	// For more information about local instance storage encryption, see SSD Instance
17359	// Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html).
17360	KmsKeyId *string `type:"string"`
17361
17362	// An list of ProductionVariant objects, one for each model that you want to
17363	// host at this endpoint.
17364	//
17365	// ProductionVariants is a required field
17366	ProductionVariants []*ProductionVariant `min:"1" type:"list" required:"true"`
17367
17368	// A list of key-value pairs. For more information, see Using Cost Allocation
17369	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
17370	// in the AWS Billing and Cost Management User Guide.
17371	Tags []*Tag `type:"list"`
17372}
17373
17374// String returns the string representation
17375func (s CreateEndpointConfigInput) String() string {
17376	return awsutil.Prettify(s)
17377}
17378
17379// GoString returns the string representation
17380func (s CreateEndpointConfigInput) GoString() string {
17381	return s.String()
17382}
17383
17384// Validate inspects the fields of the type to determine if they are valid.
17385func (s *CreateEndpointConfigInput) Validate() error {
17386	invalidParams := request.ErrInvalidParams{Context: "CreateEndpointConfigInput"}
17387	if s.EndpointConfigName == nil {
17388		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
17389	}
17390	if s.ProductionVariants == nil {
17391		invalidParams.Add(request.NewErrParamRequired("ProductionVariants"))
17392	}
17393	if s.ProductionVariants != nil && len(s.ProductionVariants) < 1 {
17394		invalidParams.Add(request.NewErrParamMinLen("ProductionVariants", 1))
17395	}
17396	if s.DataCaptureConfig != nil {
17397		if err := s.DataCaptureConfig.Validate(); err != nil {
17398			invalidParams.AddNested("DataCaptureConfig", err.(request.ErrInvalidParams))
17399		}
17400	}
17401	if s.ProductionVariants != nil {
17402		for i, v := range s.ProductionVariants {
17403			if v == nil {
17404				continue
17405			}
17406			if err := v.Validate(); err != nil {
17407				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ProductionVariants", i), err.(request.ErrInvalidParams))
17408			}
17409		}
17410	}
17411	if s.Tags != nil {
17412		for i, v := range s.Tags {
17413			if v == nil {
17414				continue
17415			}
17416			if err := v.Validate(); err != nil {
17417				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
17418			}
17419		}
17420	}
17421
17422	if invalidParams.Len() > 0 {
17423		return invalidParams
17424	}
17425	return nil
17426}
17427
17428// SetDataCaptureConfig sets the DataCaptureConfig field's value.
17429func (s *CreateEndpointConfigInput) SetDataCaptureConfig(v *DataCaptureConfig) *CreateEndpointConfigInput {
17430	s.DataCaptureConfig = v
17431	return s
17432}
17433
17434// SetEndpointConfigName sets the EndpointConfigName field's value.
17435func (s *CreateEndpointConfigInput) SetEndpointConfigName(v string) *CreateEndpointConfigInput {
17436	s.EndpointConfigName = &v
17437	return s
17438}
17439
17440// SetKmsKeyId sets the KmsKeyId field's value.
17441func (s *CreateEndpointConfigInput) SetKmsKeyId(v string) *CreateEndpointConfigInput {
17442	s.KmsKeyId = &v
17443	return s
17444}
17445
17446// SetProductionVariants sets the ProductionVariants field's value.
17447func (s *CreateEndpointConfigInput) SetProductionVariants(v []*ProductionVariant) *CreateEndpointConfigInput {
17448	s.ProductionVariants = v
17449	return s
17450}
17451
17452// SetTags sets the Tags field's value.
17453func (s *CreateEndpointConfigInput) SetTags(v []*Tag) *CreateEndpointConfigInput {
17454	s.Tags = v
17455	return s
17456}
17457
17458type CreateEndpointConfigOutput struct {
17459	_ struct{} `type:"structure"`
17460
17461	// The Amazon Resource Name (ARN) of the endpoint configuration.
17462	//
17463	// EndpointConfigArn is a required field
17464	EndpointConfigArn *string `min:"20" type:"string" required:"true"`
17465}
17466
17467// String returns the string representation
17468func (s CreateEndpointConfigOutput) String() string {
17469	return awsutil.Prettify(s)
17470}
17471
17472// GoString returns the string representation
17473func (s CreateEndpointConfigOutput) GoString() string {
17474	return s.String()
17475}
17476
17477// SetEndpointConfigArn sets the EndpointConfigArn field's value.
17478func (s *CreateEndpointConfigOutput) SetEndpointConfigArn(v string) *CreateEndpointConfigOutput {
17479	s.EndpointConfigArn = &v
17480	return s
17481}
17482
17483type CreateEndpointInput struct {
17484	_ struct{} `type:"structure"`
17485
17486	// The name of an endpoint configuration. For more information, see CreateEndpointConfig.
17487	//
17488	// EndpointConfigName is a required field
17489	EndpointConfigName *string `type:"string" required:"true"`
17490
17491	// The name of the endpoint. The name must be unique within an AWS Region in
17492	// your AWS account.
17493	//
17494	// EndpointName is a required field
17495	EndpointName *string `type:"string" required:"true"`
17496
17497	// An array of key-value pairs. For more information, see Using Cost Allocation
17498	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)in
17499	// the AWS Billing and Cost Management User Guide.
17500	Tags []*Tag `type:"list"`
17501}
17502
17503// String returns the string representation
17504func (s CreateEndpointInput) String() string {
17505	return awsutil.Prettify(s)
17506}
17507
17508// GoString returns the string representation
17509func (s CreateEndpointInput) GoString() string {
17510	return s.String()
17511}
17512
17513// Validate inspects the fields of the type to determine if they are valid.
17514func (s *CreateEndpointInput) Validate() error {
17515	invalidParams := request.ErrInvalidParams{Context: "CreateEndpointInput"}
17516	if s.EndpointConfigName == nil {
17517		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
17518	}
17519	if s.EndpointName == nil {
17520		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
17521	}
17522	if s.Tags != nil {
17523		for i, v := range s.Tags {
17524			if v == nil {
17525				continue
17526			}
17527			if err := v.Validate(); err != nil {
17528				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
17529			}
17530		}
17531	}
17532
17533	if invalidParams.Len() > 0 {
17534		return invalidParams
17535	}
17536	return nil
17537}
17538
17539// SetEndpointConfigName sets the EndpointConfigName field's value.
17540func (s *CreateEndpointInput) SetEndpointConfigName(v string) *CreateEndpointInput {
17541	s.EndpointConfigName = &v
17542	return s
17543}
17544
17545// SetEndpointName sets the EndpointName field's value.
17546func (s *CreateEndpointInput) SetEndpointName(v string) *CreateEndpointInput {
17547	s.EndpointName = &v
17548	return s
17549}
17550
17551// SetTags sets the Tags field's value.
17552func (s *CreateEndpointInput) SetTags(v []*Tag) *CreateEndpointInput {
17553	s.Tags = v
17554	return s
17555}
17556
17557type CreateEndpointOutput struct {
17558	_ struct{} `type:"structure"`
17559
17560	// The Amazon Resource Name (ARN) of the endpoint.
17561	//
17562	// EndpointArn is a required field
17563	EndpointArn *string `min:"20" type:"string" required:"true"`
17564}
17565
17566// String returns the string representation
17567func (s CreateEndpointOutput) String() string {
17568	return awsutil.Prettify(s)
17569}
17570
17571// GoString returns the string representation
17572func (s CreateEndpointOutput) GoString() string {
17573	return s.String()
17574}
17575
17576// SetEndpointArn sets the EndpointArn field's value.
17577func (s *CreateEndpointOutput) SetEndpointArn(v string) *CreateEndpointOutput {
17578	s.EndpointArn = &v
17579	return s
17580}
17581
17582type CreateExperimentInput struct {
17583	_ struct{} `type:"structure"`
17584
17585	// The description of the experiment.
17586	Description *string `type:"string"`
17587
17588	// The name of the experiment as displayed. The name doesn't need to be unique.
17589	// If you don't specify DisplayName, the value in ExperimentName is displayed.
17590	DisplayName *string `min:"1" type:"string"`
17591
17592	// The name of the experiment. The name must be unique in your AWS account and
17593	// is not case-sensitive.
17594	//
17595	// ExperimentName is a required field
17596	ExperimentName *string `min:"1" type:"string" required:"true"`
17597
17598	// A list of tags to associate with the experiment. You can use Search API to
17599	// search on the tags.
17600	Tags []*Tag `type:"list"`
17601}
17602
17603// String returns the string representation
17604func (s CreateExperimentInput) String() string {
17605	return awsutil.Prettify(s)
17606}
17607
17608// GoString returns the string representation
17609func (s CreateExperimentInput) GoString() string {
17610	return s.String()
17611}
17612
17613// Validate inspects the fields of the type to determine if they are valid.
17614func (s *CreateExperimentInput) Validate() error {
17615	invalidParams := request.ErrInvalidParams{Context: "CreateExperimentInput"}
17616	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
17617		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
17618	}
17619	if s.ExperimentName == nil {
17620		invalidParams.Add(request.NewErrParamRequired("ExperimentName"))
17621	}
17622	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
17623		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
17624	}
17625	if s.Tags != nil {
17626		for i, v := range s.Tags {
17627			if v == nil {
17628				continue
17629			}
17630			if err := v.Validate(); err != nil {
17631				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
17632			}
17633		}
17634	}
17635
17636	if invalidParams.Len() > 0 {
17637		return invalidParams
17638	}
17639	return nil
17640}
17641
17642// SetDescription sets the Description field's value.
17643func (s *CreateExperimentInput) SetDescription(v string) *CreateExperimentInput {
17644	s.Description = &v
17645	return s
17646}
17647
17648// SetDisplayName sets the DisplayName field's value.
17649func (s *CreateExperimentInput) SetDisplayName(v string) *CreateExperimentInput {
17650	s.DisplayName = &v
17651	return s
17652}
17653
17654// SetExperimentName sets the ExperimentName field's value.
17655func (s *CreateExperimentInput) SetExperimentName(v string) *CreateExperimentInput {
17656	s.ExperimentName = &v
17657	return s
17658}
17659
17660// SetTags sets the Tags field's value.
17661func (s *CreateExperimentInput) SetTags(v []*Tag) *CreateExperimentInput {
17662	s.Tags = v
17663	return s
17664}
17665
17666type CreateExperimentOutput struct {
17667	_ struct{} `type:"structure"`
17668
17669	// The Amazon Resource Name (ARN) of the experiment.
17670	ExperimentArn *string `type:"string"`
17671}
17672
17673// String returns the string representation
17674func (s CreateExperimentOutput) String() string {
17675	return awsutil.Prettify(s)
17676}
17677
17678// GoString returns the string representation
17679func (s CreateExperimentOutput) GoString() string {
17680	return s.String()
17681}
17682
17683// SetExperimentArn sets the ExperimentArn field's value.
17684func (s *CreateExperimentOutput) SetExperimentArn(v string) *CreateExperimentOutput {
17685	s.ExperimentArn = &v
17686	return s
17687}
17688
17689type CreateFlowDefinitionInput struct {
17690	_ struct{} `type:"structure"`
17691
17692	// The name of your flow definition.
17693	//
17694	// FlowDefinitionName is a required field
17695	FlowDefinitionName *string `min:"1" type:"string" required:"true"`
17696
17697	// An object containing information about the events that trigger a human workflow.
17698	HumanLoopActivationConfig *HumanLoopActivationConfig `type:"structure"`
17699
17700	// An object containing information about the tasks the human reviewers will
17701	// perform.
17702	//
17703	// HumanLoopConfig is a required field
17704	HumanLoopConfig *HumanLoopConfig `type:"structure" required:"true"`
17705
17706	// Container for configuring the source of human task requests. Use to specify
17707	// if Amazon Rekognition or Amazon Textract is used as an integration source.
17708	HumanLoopRequestSource *HumanLoopRequestSource `type:"structure"`
17709
17710	// An object containing information about where the human review results will
17711	// be uploaded.
17712	//
17713	// OutputConfig is a required field
17714	OutputConfig *FlowDefinitionOutputConfig `type:"structure" required:"true"`
17715
17716	// The Amazon Resource Name (ARN) of the role needed to call other services
17717	// on your behalf. For example, arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298.
17718	//
17719	// RoleArn is a required field
17720	RoleArn *string `min:"20" type:"string" required:"true"`
17721
17722	// An array of key-value pairs that contain metadata to help you categorize
17723	// and organize a flow definition. Each tag consists of a key and a value, both
17724	// of which you define.
17725	Tags []*Tag `type:"list"`
17726}
17727
17728// String returns the string representation
17729func (s CreateFlowDefinitionInput) String() string {
17730	return awsutil.Prettify(s)
17731}
17732
17733// GoString returns the string representation
17734func (s CreateFlowDefinitionInput) GoString() string {
17735	return s.String()
17736}
17737
17738// Validate inspects the fields of the type to determine if they are valid.
17739func (s *CreateFlowDefinitionInput) Validate() error {
17740	invalidParams := request.ErrInvalidParams{Context: "CreateFlowDefinitionInput"}
17741	if s.FlowDefinitionName == nil {
17742		invalidParams.Add(request.NewErrParamRequired("FlowDefinitionName"))
17743	}
17744	if s.FlowDefinitionName != nil && len(*s.FlowDefinitionName) < 1 {
17745		invalidParams.Add(request.NewErrParamMinLen("FlowDefinitionName", 1))
17746	}
17747	if s.HumanLoopConfig == nil {
17748		invalidParams.Add(request.NewErrParamRequired("HumanLoopConfig"))
17749	}
17750	if s.OutputConfig == nil {
17751		invalidParams.Add(request.NewErrParamRequired("OutputConfig"))
17752	}
17753	if s.RoleArn == nil {
17754		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
17755	}
17756	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
17757		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
17758	}
17759	if s.HumanLoopActivationConfig != nil {
17760		if err := s.HumanLoopActivationConfig.Validate(); err != nil {
17761			invalidParams.AddNested("HumanLoopActivationConfig", err.(request.ErrInvalidParams))
17762		}
17763	}
17764	if s.HumanLoopConfig != nil {
17765		if err := s.HumanLoopConfig.Validate(); err != nil {
17766			invalidParams.AddNested("HumanLoopConfig", err.(request.ErrInvalidParams))
17767		}
17768	}
17769	if s.HumanLoopRequestSource != nil {
17770		if err := s.HumanLoopRequestSource.Validate(); err != nil {
17771			invalidParams.AddNested("HumanLoopRequestSource", err.(request.ErrInvalidParams))
17772		}
17773	}
17774	if s.OutputConfig != nil {
17775		if err := s.OutputConfig.Validate(); err != nil {
17776			invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams))
17777		}
17778	}
17779	if s.Tags != nil {
17780		for i, v := range s.Tags {
17781			if v == nil {
17782				continue
17783			}
17784			if err := v.Validate(); err != nil {
17785				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
17786			}
17787		}
17788	}
17789
17790	if invalidParams.Len() > 0 {
17791		return invalidParams
17792	}
17793	return nil
17794}
17795
17796// SetFlowDefinitionName sets the FlowDefinitionName field's value.
17797func (s *CreateFlowDefinitionInput) SetFlowDefinitionName(v string) *CreateFlowDefinitionInput {
17798	s.FlowDefinitionName = &v
17799	return s
17800}
17801
17802// SetHumanLoopActivationConfig sets the HumanLoopActivationConfig field's value.
17803func (s *CreateFlowDefinitionInput) SetHumanLoopActivationConfig(v *HumanLoopActivationConfig) *CreateFlowDefinitionInput {
17804	s.HumanLoopActivationConfig = v
17805	return s
17806}
17807
17808// SetHumanLoopConfig sets the HumanLoopConfig field's value.
17809func (s *CreateFlowDefinitionInput) SetHumanLoopConfig(v *HumanLoopConfig) *CreateFlowDefinitionInput {
17810	s.HumanLoopConfig = v
17811	return s
17812}
17813
17814// SetHumanLoopRequestSource sets the HumanLoopRequestSource field's value.
17815func (s *CreateFlowDefinitionInput) SetHumanLoopRequestSource(v *HumanLoopRequestSource) *CreateFlowDefinitionInput {
17816	s.HumanLoopRequestSource = v
17817	return s
17818}
17819
17820// SetOutputConfig sets the OutputConfig field's value.
17821func (s *CreateFlowDefinitionInput) SetOutputConfig(v *FlowDefinitionOutputConfig) *CreateFlowDefinitionInput {
17822	s.OutputConfig = v
17823	return s
17824}
17825
17826// SetRoleArn sets the RoleArn field's value.
17827func (s *CreateFlowDefinitionInput) SetRoleArn(v string) *CreateFlowDefinitionInput {
17828	s.RoleArn = &v
17829	return s
17830}
17831
17832// SetTags sets the Tags field's value.
17833func (s *CreateFlowDefinitionInput) SetTags(v []*Tag) *CreateFlowDefinitionInput {
17834	s.Tags = v
17835	return s
17836}
17837
17838type CreateFlowDefinitionOutput struct {
17839	_ struct{} `type:"structure"`
17840
17841	// The Amazon Resource Name (ARN) of the flow definition you create.
17842	//
17843	// FlowDefinitionArn is a required field
17844	FlowDefinitionArn *string `type:"string" required:"true"`
17845}
17846
17847// String returns the string representation
17848func (s CreateFlowDefinitionOutput) String() string {
17849	return awsutil.Prettify(s)
17850}
17851
17852// GoString returns the string representation
17853func (s CreateFlowDefinitionOutput) GoString() string {
17854	return s.String()
17855}
17856
17857// SetFlowDefinitionArn sets the FlowDefinitionArn field's value.
17858func (s *CreateFlowDefinitionOutput) SetFlowDefinitionArn(v string) *CreateFlowDefinitionOutput {
17859	s.FlowDefinitionArn = &v
17860	return s
17861}
17862
17863type CreateHumanTaskUiInput struct {
17864	_ struct{} `type:"structure"`
17865
17866	// The name of the user interface you are creating.
17867	//
17868	// HumanTaskUiName is a required field
17869	HumanTaskUiName *string `min:"1" type:"string" required:"true"`
17870
17871	// An array of key-value pairs that contain metadata to help you categorize
17872	// and organize a human review workflow user interface. Each tag consists of
17873	// a key and a value, both of which you define.
17874	Tags []*Tag `type:"list"`
17875
17876	// The Liquid template for the worker user interface.
17877	//
17878	// UiTemplate is a required field
17879	UiTemplate *UiTemplate `type:"structure" required:"true"`
17880}
17881
17882// String returns the string representation
17883func (s CreateHumanTaskUiInput) String() string {
17884	return awsutil.Prettify(s)
17885}
17886
17887// GoString returns the string representation
17888func (s CreateHumanTaskUiInput) GoString() string {
17889	return s.String()
17890}
17891
17892// Validate inspects the fields of the type to determine if they are valid.
17893func (s *CreateHumanTaskUiInput) Validate() error {
17894	invalidParams := request.ErrInvalidParams{Context: "CreateHumanTaskUiInput"}
17895	if s.HumanTaskUiName == nil {
17896		invalidParams.Add(request.NewErrParamRequired("HumanTaskUiName"))
17897	}
17898	if s.HumanTaskUiName != nil && len(*s.HumanTaskUiName) < 1 {
17899		invalidParams.Add(request.NewErrParamMinLen("HumanTaskUiName", 1))
17900	}
17901	if s.UiTemplate == nil {
17902		invalidParams.Add(request.NewErrParamRequired("UiTemplate"))
17903	}
17904	if s.Tags != nil {
17905		for i, v := range s.Tags {
17906			if v == nil {
17907				continue
17908			}
17909			if err := v.Validate(); err != nil {
17910				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
17911			}
17912		}
17913	}
17914	if s.UiTemplate != nil {
17915		if err := s.UiTemplate.Validate(); err != nil {
17916			invalidParams.AddNested("UiTemplate", err.(request.ErrInvalidParams))
17917		}
17918	}
17919
17920	if invalidParams.Len() > 0 {
17921		return invalidParams
17922	}
17923	return nil
17924}
17925
17926// SetHumanTaskUiName sets the HumanTaskUiName field's value.
17927func (s *CreateHumanTaskUiInput) SetHumanTaskUiName(v string) *CreateHumanTaskUiInput {
17928	s.HumanTaskUiName = &v
17929	return s
17930}
17931
17932// SetTags sets the Tags field's value.
17933func (s *CreateHumanTaskUiInput) SetTags(v []*Tag) *CreateHumanTaskUiInput {
17934	s.Tags = v
17935	return s
17936}
17937
17938// SetUiTemplate sets the UiTemplate field's value.
17939func (s *CreateHumanTaskUiInput) SetUiTemplate(v *UiTemplate) *CreateHumanTaskUiInput {
17940	s.UiTemplate = v
17941	return s
17942}
17943
17944type CreateHumanTaskUiOutput struct {
17945	_ struct{} `type:"structure"`
17946
17947	// The Amazon Resource Name (ARN) of the human review workflow user interface
17948	// you create.
17949	//
17950	// HumanTaskUiArn is a required field
17951	HumanTaskUiArn *string `type:"string" required:"true"`
17952}
17953
17954// String returns the string representation
17955func (s CreateHumanTaskUiOutput) String() string {
17956	return awsutil.Prettify(s)
17957}
17958
17959// GoString returns the string representation
17960func (s CreateHumanTaskUiOutput) GoString() string {
17961	return s.String()
17962}
17963
17964// SetHumanTaskUiArn sets the HumanTaskUiArn field's value.
17965func (s *CreateHumanTaskUiOutput) SetHumanTaskUiArn(v string) *CreateHumanTaskUiOutput {
17966	s.HumanTaskUiArn = &v
17967	return s
17968}
17969
17970type CreateHyperParameterTuningJobInput struct {
17971	_ struct{} `type:"structure"`
17972
17973	// The HyperParameterTuningJobConfig object that describes the tuning job, including
17974	// the search strategy, the objective metric used to evaluate training jobs,
17975	// ranges of parameters to search, and resource limits for the tuning job. For
17976	// more information, see How Hyperparameter Tuning Works (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-how-it-works.html).
17977	//
17978	// HyperParameterTuningJobConfig is a required field
17979	HyperParameterTuningJobConfig *HyperParameterTuningJobConfig `type:"structure" required:"true"`
17980
17981	// The name of the tuning job. This name is the prefix for the names of all
17982	// training jobs that this tuning job launches. The name must be unique within
17983	// the same AWS account and AWS Region. The name must have { } to { } characters.
17984	// Valid characters are a-z, A-Z, 0-9, and : + = @ _ % - (hyphen). The name
17985	// is not case sensitive.
17986	//
17987	// HyperParameterTuningJobName is a required field
17988	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
17989
17990	// An array of key-value pairs. You can use tags to categorize your AWS resources
17991	// in different ways, for example, by purpose, owner, or environment. For more
17992	// information, see AWS Tagging Strategies (https://aws.amazon.com/answers/account-management/aws-tagging-strategies/).
17993	//
17994	// Tags that you specify for the tuning job are also added to all training jobs
17995	// that the tuning job launches.
17996	Tags []*Tag `type:"list"`
17997
17998	// The HyperParameterTrainingJobDefinition object that describes the training
17999	// jobs that this tuning job launches, including static hyperparameters, input
18000	// data configuration, output data configuration, resource configuration, and
18001	// stopping condition.
18002	TrainingJobDefinition *HyperParameterTrainingJobDefinition `type:"structure"`
18003
18004	// A list of the HyperParameterTrainingJobDefinition objects launched for this
18005	// tuning job.
18006	TrainingJobDefinitions []*HyperParameterTrainingJobDefinition `min:"1" type:"list"`
18007
18008	// Specifies the configuration for starting the hyperparameter tuning job using
18009	// one or more previous tuning jobs as a starting point. The results of previous
18010	// tuning jobs are used to inform which combinations of hyperparameters to search
18011	// over in the new tuning job.
18012	//
18013	// All training jobs launched by the new hyperparameter tuning job are evaluated
18014	// by using the objective metric. If you specify IDENTICAL_DATA_AND_ALGORITHM
18015	// as the WarmStartType value for the warm start configuration, the training
18016	// job that performs the best in the new tuning job is compared to the best
18017	// training jobs from the parent tuning jobs. From these, the training job that
18018	// performs the best as measured by the objective metric is returned as the
18019	// overall best training job.
18020	//
18021	// All training jobs launched by parent hyperparameter tuning jobs and the new
18022	// hyperparameter tuning jobs count against the limit of training jobs for the
18023	// tuning job.
18024	WarmStartConfig *HyperParameterTuningJobWarmStartConfig `type:"structure"`
18025}
18026
18027// String returns the string representation
18028func (s CreateHyperParameterTuningJobInput) String() string {
18029	return awsutil.Prettify(s)
18030}
18031
18032// GoString returns the string representation
18033func (s CreateHyperParameterTuningJobInput) GoString() string {
18034	return s.String()
18035}
18036
18037// Validate inspects the fields of the type to determine if they are valid.
18038func (s *CreateHyperParameterTuningJobInput) Validate() error {
18039	invalidParams := request.ErrInvalidParams{Context: "CreateHyperParameterTuningJobInput"}
18040	if s.HyperParameterTuningJobConfig == nil {
18041		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobConfig"))
18042	}
18043	if s.HyperParameterTuningJobName == nil {
18044		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobName"))
18045	}
18046	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
18047		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
18048	}
18049	if s.TrainingJobDefinitions != nil && len(s.TrainingJobDefinitions) < 1 {
18050		invalidParams.Add(request.NewErrParamMinLen("TrainingJobDefinitions", 1))
18051	}
18052	if s.HyperParameterTuningJobConfig != nil {
18053		if err := s.HyperParameterTuningJobConfig.Validate(); err != nil {
18054			invalidParams.AddNested("HyperParameterTuningJobConfig", err.(request.ErrInvalidParams))
18055		}
18056	}
18057	if s.Tags != nil {
18058		for i, v := range s.Tags {
18059			if v == nil {
18060				continue
18061			}
18062			if err := v.Validate(); err != nil {
18063				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
18064			}
18065		}
18066	}
18067	if s.TrainingJobDefinition != nil {
18068		if err := s.TrainingJobDefinition.Validate(); err != nil {
18069			invalidParams.AddNested("TrainingJobDefinition", err.(request.ErrInvalidParams))
18070		}
18071	}
18072	if s.TrainingJobDefinitions != nil {
18073		for i, v := range s.TrainingJobDefinitions {
18074			if v == nil {
18075				continue
18076			}
18077			if err := v.Validate(); err != nil {
18078				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TrainingJobDefinitions", i), err.(request.ErrInvalidParams))
18079			}
18080		}
18081	}
18082	if s.WarmStartConfig != nil {
18083		if err := s.WarmStartConfig.Validate(); err != nil {
18084			invalidParams.AddNested("WarmStartConfig", err.(request.ErrInvalidParams))
18085		}
18086	}
18087
18088	if invalidParams.Len() > 0 {
18089		return invalidParams
18090	}
18091	return nil
18092}
18093
18094// SetHyperParameterTuningJobConfig sets the HyperParameterTuningJobConfig field's value.
18095func (s *CreateHyperParameterTuningJobInput) SetHyperParameterTuningJobConfig(v *HyperParameterTuningJobConfig) *CreateHyperParameterTuningJobInput {
18096	s.HyperParameterTuningJobConfig = v
18097	return s
18098}
18099
18100// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
18101func (s *CreateHyperParameterTuningJobInput) SetHyperParameterTuningJobName(v string) *CreateHyperParameterTuningJobInput {
18102	s.HyperParameterTuningJobName = &v
18103	return s
18104}
18105
18106// SetTags sets the Tags field's value.
18107func (s *CreateHyperParameterTuningJobInput) SetTags(v []*Tag) *CreateHyperParameterTuningJobInput {
18108	s.Tags = v
18109	return s
18110}
18111
18112// SetTrainingJobDefinition sets the TrainingJobDefinition field's value.
18113func (s *CreateHyperParameterTuningJobInput) SetTrainingJobDefinition(v *HyperParameterTrainingJobDefinition) *CreateHyperParameterTuningJobInput {
18114	s.TrainingJobDefinition = v
18115	return s
18116}
18117
18118// SetTrainingJobDefinitions sets the TrainingJobDefinitions field's value.
18119func (s *CreateHyperParameterTuningJobInput) SetTrainingJobDefinitions(v []*HyperParameterTrainingJobDefinition) *CreateHyperParameterTuningJobInput {
18120	s.TrainingJobDefinitions = v
18121	return s
18122}
18123
18124// SetWarmStartConfig sets the WarmStartConfig field's value.
18125func (s *CreateHyperParameterTuningJobInput) SetWarmStartConfig(v *HyperParameterTuningJobWarmStartConfig) *CreateHyperParameterTuningJobInput {
18126	s.WarmStartConfig = v
18127	return s
18128}
18129
18130type CreateHyperParameterTuningJobOutput struct {
18131	_ struct{} `type:"structure"`
18132
18133	// The Amazon Resource Name (ARN) of the tuning job. Amazon SageMaker assigns
18134	// an ARN to a hyperparameter tuning job when you create it.
18135	//
18136	// HyperParameterTuningJobArn is a required field
18137	HyperParameterTuningJobArn *string `type:"string" required:"true"`
18138}
18139
18140// String returns the string representation
18141func (s CreateHyperParameterTuningJobOutput) String() string {
18142	return awsutil.Prettify(s)
18143}
18144
18145// GoString returns the string representation
18146func (s CreateHyperParameterTuningJobOutput) GoString() string {
18147	return s.String()
18148}
18149
18150// SetHyperParameterTuningJobArn sets the HyperParameterTuningJobArn field's value.
18151func (s *CreateHyperParameterTuningJobOutput) SetHyperParameterTuningJobArn(v string) *CreateHyperParameterTuningJobOutput {
18152	s.HyperParameterTuningJobArn = &v
18153	return s
18154}
18155
18156type CreateLabelingJobInput struct {
18157	_ struct{} `type:"structure"`
18158
18159	// Configures the labeling task and how it is presented to workers; including,
18160	// but not limited to price, keywords, and batch size (task count).
18161	//
18162	// HumanTaskConfig is a required field
18163	HumanTaskConfig *HumanTaskConfig `type:"structure" required:"true"`
18164
18165	// Input data for the labeling job, such as the Amazon S3 location of the data
18166	// objects and the location of the manifest file that describes the data objects.
18167	//
18168	// InputConfig is a required field
18169	InputConfig *LabelingJobInputConfig `type:"structure" required:"true"`
18170
18171	// The attribute name to use for the label in the output manifest file. This
18172	// is the key for the key/value pair formed with the label that a worker assigns
18173	// to the object. The name can't end with "-metadata". If you are running a
18174	// semantic segmentation labeling job, the attribute name must end with "-ref".
18175	// If you are running any other kind of labeling job, the attribute name must
18176	// not end with "-ref".
18177	//
18178	// LabelAttributeName is a required field
18179	LabelAttributeName *string `min:"1" type:"string" required:"true"`
18180
18181	// The S3 URL of the file that defines the categories used to label the data
18182	// objects.
18183	//
18184	// For 3D point cloud task types, see Create a Labeling Category Configuration
18185	// File for 3D Point Cloud Labeling Jobs (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-point-cloud-label-category-config.html).
18186	//
18187	// For all other built-in task types (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-task-types.html)
18188	// and custom tasks (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-custom-templates.html),
18189	// your label category configuration file must be a JSON file in the following
18190	// format. Identify the labels you want to use by replacing label_1, label_2,...,label_n
18191	// with your label categories.
18192	//
18193	// {
18194	//
18195	// "document-version": "2018-11-28"
18196	//
18197	// "labels": [
18198	//
18199	// {
18200	//
18201	// "label": "label_1"
18202	//
18203	// },
18204	//
18205	// {
18206	//
18207	// "label": "label_2"
18208	//
18209	// },
18210	//
18211	// ...
18212	//
18213	// {
18214	//
18215	// "label": "label_n"
18216	//
18217	// }
18218	//
18219	// ]
18220	//
18221	// }
18222	LabelCategoryConfigS3Uri *string `type:"string"`
18223
18224	// Configures the information required to perform automated data labeling.
18225	LabelingJobAlgorithmsConfig *LabelingJobAlgorithmsConfig `type:"structure"`
18226
18227	// The name of the labeling job. This name is used to identify the job in a
18228	// list of labeling jobs.
18229	//
18230	// LabelingJobName is a required field
18231	LabelingJobName *string `min:"1" type:"string" required:"true"`
18232
18233	// The location of the output data and the AWS Key Management Service key ID
18234	// for the key used to encrypt the output data, if any.
18235	//
18236	// OutputConfig is a required field
18237	OutputConfig *LabelingJobOutputConfig `type:"structure" required:"true"`
18238
18239	// The Amazon Resource Number (ARN) that Amazon SageMaker assumes to perform
18240	// tasks on your behalf during data labeling. You must grant this role the necessary
18241	// permissions so that Amazon SageMaker can successfully complete data labeling.
18242	//
18243	// RoleArn is a required field
18244	RoleArn *string `min:"20" type:"string" required:"true"`
18245
18246	// A set of conditions for stopping the labeling job. If any of the conditions
18247	// are met, the job is automatically stopped. You can use these conditions to
18248	// control the cost of data labeling.
18249	StoppingConditions *LabelingJobStoppingConditions `type:"structure"`
18250
18251	// An array of key/value pairs. For more information, see Using Cost Allocation
18252	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
18253	// in the AWS Billing and Cost Management User Guide.
18254	Tags []*Tag `type:"list"`
18255}
18256
18257// String returns the string representation
18258func (s CreateLabelingJobInput) String() string {
18259	return awsutil.Prettify(s)
18260}
18261
18262// GoString returns the string representation
18263func (s CreateLabelingJobInput) GoString() string {
18264	return s.String()
18265}
18266
18267// Validate inspects the fields of the type to determine if they are valid.
18268func (s *CreateLabelingJobInput) Validate() error {
18269	invalidParams := request.ErrInvalidParams{Context: "CreateLabelingJobInput"}
18270	if s.HumanTaskConfig == nil {
18271		invalidParams.Add(request.NewErrParamRequired("HumanTaskConfig"))
18272	}
18273	if s.InputConfig == nil {
18274		invalidParams.Add(request.NewErrParamRequired("InputConfig"))
18275	}
18276	if s.LabelAttributeName == nil {
18277		invalidParams.Add(request.NewErrParamRequired("LabelAttributeName"))
18278	}
18279	if s.LabelAttributeName != nil && len(*s.LabelAttributeName) < 1 {
18280		invalidParams.Add(request.NewErrParamMinLen("LabelAttributeName", 1))
18281	}
18282	if s.LabelingJobName == nil {
18283		invalidParams.Add(request.NewErrParamRequired("LabelingJobName"))
18284	}
18285	if s.LabelingJobName != nil && len(*s.LabelingJobName) < 1 {
18286		invalidParams.Add(request.NewErrParamMinLen("LabelingJobName", 1))
18287	}
18288	if s.OutputConfig == nil {
18289		invalidParams.Add(request.NewErrParamRequired("OutputConfig"))
18290	}
18291	if s.RoleArn == nil {
18292		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
18293	}
18294	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
18295		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
18296	}
18297	if s.HumanTaskConfig != nil {
18298		if err := s.HumanTaskConfig.Validate(); err != nil {
18299			invalidParams.AddNested("HumanTaskConfig", err.(request.ErrInvalidParams))
18300		}
18301	}
18302	if s.InputConfig != nil {
18303		if err := s.InputConfig.Validate(); err != nil {
18304			invalidParams.AddNested("InputConfig", err.(request.ErrInvalidParams))
18305		}
18306	}
18307	if s.LabelingJobAlgorithmsConfig != nil {
18308		if err := s.LabelingJobAlgorithmsConfig.Validate(); err != nil {
18309			invalidParams.AddNested("LabelingJobAlgorithmsConfig", err.(request.ErrInvalidParams))
18310		}
18311	}
18312	if s.OutputConfig != nil {
18313		if err := s.OutputConfig.Validate(); err != nil {
18314			invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams))
18315		}
18316	}
18317	if s.StoppingConditions != nil {
18318		if err := s.StoppingConditions.Validate(); err != nil {
18319			invalidParams.AddNested("StoppingConditions", err.(request.ErrInvalidParams))
18320		}
18321	}
18322	if s.Tags != nil {
18323		for i, v := range s.Tags {
18324			if v == nil {
18325				continue
18326			}
18327			if err := v.Validate(); err != nil {
18328				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
18329			}
18330		}
18331	}
18332
18333	if invalidParams.Len() > 0 {
18334		return invalidParams
18335	}
18336	return nil
18337}
18338
18339// SetHumanTaskConfig sets the HumanTaskConfig field's value.
18340func (s *CreateLabelingJobInput) SetHumanTaskConfig(v *HumanTaskConfig) *CreateLabelingJobInput {
18341	s.HumanTaskConfig = v
18342	return s
18343}
18344
18345// SetInputConfig sets the InputConfig field's value.
18346func (s *CreateLabelingJobInput) SetInputConfig(v *LabelingJobInputConfig) *CreateLabelingJobInput {
18347	s.InputConfig = v
18348	return s
18349}
18350
18351// SetLabelAttributeName sets the LabelAttributeName field's value.
18352func (s *CreateLabelingJobInput) SetLabelAttributeName(v string) *CreateLabelingJobInput {
18353	s.LabelAttributeName = &v
18354	return s
18355}
18356
18357// SetLabelCategoryConfigS3Uri sets the LabelCategoryConfigS3Uri field's value.
18358func (s *CreateLabelingJobInput) SetLabelCategoryConfigS3Uri(v string) *CreateLabelingJobInput {
18359	s.LabelCategoryConfigS3Uri = &v
18360	return s
18361}
18362
18363// SetLabelingJobAlgorithmsConfig sets the LabelingJobAlgorithmsConfig field's value.
18364func (s *CreateLabelingJobInput) SetLabelingJobAlgorithmsConfig(v *LabelingJobAlgorithmsConfig) *CreateLabelingJobInput {
18365	s.LabelingJobAlgorithmsConfig = v
18366	return s
18367}
18368
18369// SetLabelingJobName sets the LabelingJobName field's value.
18370func (s *CreateLabelingJobInput) SetLabelingJobName(v string) *CreateLabelingJobInput {
18371	s.LabelingJobName = &v
18372	return s
18373}
18374
18375// SetOutputConfig sets the OutputConfig field's value.
18376func (s *CreateLabelingJobInput) SetOutputConfig(v *LabelingJobOutputConfig) *CreateLabelingJobInput {
18377	s.OutputConfig = v
18378	return s
18379}
18380
18381// SetRoleArn sets the RoleArn field's value.
18382func (s *CreateLabelingJobInput) SetRoleArn(v string) *CreateLabelingJobInput {
18383	s.RoleArn = &v
18384	return s
18385}
18386
18387// SetStoppingConditions sets the StoppingConditions field's value.
18388func (s *CreateLabelingJobInput) SetStoppingConditions(v *LabelingJobStoppingConditions) *CreateLabelingJobInput {
18389	s.StoppingConditions = v
18390	return s
18391}
18392
18393// SetTags sets the Tags field's value.
18394func (s *CreateLabelingJobInput) SetTags(v []*Tag) *CreateLabelingJobInput {
18395	s.Tags = v
18396	return s
18397}
18398
18399type CreateLabelingJobOutput struct {
18400	_ struct{} `type:"structure"`
18401
18402	// The Amazon Resource Name (ARN) of the labeling job. You use this ARN to identify
18403	// the labeling job.
18404	//
18405	// LabelingJobArn is a required field
18406	LabelingJobArn *string `type:"string" required:"true"`
18407}
18408
18409// String returns the string representation
18410func (s CreateLabelingJobOutput) String() string {
18411	return awsutil.Prettify(s)
18412}
18413
18414// GoString returns the string representation
18415func (s CreateLabelingJobOutput) GoString() string {
18416	return s.String()
18417}
18418
18419// SetLabelingJobArn sets the LabelingJobArn field's value.
18420func (s *CreateLabelingJobOutput) SetLabelingJobArn(v string) *CreateLabelingJobOutput {
18421	s.LabelingJobArn = &v
18422	return s
18423}
18424
18425type CreateModelInput struct {
18426	_ struct{} `type:"structure"`
18427
18428	// Specifies the containers in the inference pipeline.
18429	Containers []*ContainerDefinition `type:"list"`
18430
18431	// Isolates the model container. No inbound or outbound network calls can be
18432	// made to or from the model container.
18433	EnableNetworkIsolation *bool `type:"boolean"`
18434
18435	// The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can
18436	// assume to access model artifacts and docker image for deployment on ML compute
18437	// instances or for batch transform jobs. Deploying on ML compute instances
18438	// is part of model hosting. For more information, see Amazon SageMaker Roles
18439	// (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html).
18440	//
18441	// To be able to pass this role to Amazon SageMaker, the caller of this API
18442	// must have the iam:PassRole permission.
18443	//
18444	// ExecutionRoleArn is a required field
18445	ExecutionRoleArn *string `min:"20" type:"string" required:"true"`
18446
18447	// The name of the new model.
18448	//
18449	// ModelName is a required field
18450	ModelName *string `type:"string" required:"true"`
18451
18452	// The location of the primary docker image containing inference code, associated
18453	// artifacts, and custom environment map that the inference code uses when the
18454	// model is deployed for predictions.
18455	PrimaryContainer *ContainerDefinition `type:"structure"`
18456
18457	// An array of key-value pairs. For more information, see Using Cost Allocation
18458	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
18459	// in the AWS Billing and Cost Management User Guide.
18460	Tags []*Tag `type:"list"`
18461
18462	// A VpcConfig object that specifies the VPC that you want your model to connect
18463	// to. Control access to and from your model container by configuring the VPC.
18464	// VpcConfig is used in hosting services and in batch transform. For more information,
18465	// see Protect Endpoints by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html)
18466	// and Protect Data in Batch Transform Jobs by Using an Amazon Virtual Private
18467	// Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-vpc.html).
18468	VpcConfig *VpcConfig `type:"structure"`
18469}
18470
18471// String returns the string representation
18472func (s CreateModelInput) String() string {
18473	return awsutil.Prettify(s)
18474}
18475
18476// GoString returns the string representation
18477func (s CreateModelInput) GoString() string {
18478	return s.String()
18479}
18480
18481// Validate inspects the fields of the type to determine if they are valid.
18482func (s *CreateModelInput) Validate() error {
18483	invalidParams := request.ErrInvalidParams{Context: "CreateModelInput"}
18484	if s.ExecutionRoleArn == nil {
18485		invalidParams.Add(request.NewErrParamRequired("ExecutionRoleArn"))
18486	}
18487	if s.ExecutionRoleArn != nil && len(*s.ExecutionRoleArn) < 20 {
18488		invalidParams.Add(request.NewErrParamMinLen("ExecutionRoleArn", 20))
18489	}
18490	if s.ModelName == nil {
18491		invalidParams.Add(request.NewErrParamRequired("ModelName"))
18492	}
18493	if s.Containers != nil {
18494		for i, v := range s.Containers {
18495			if v == nil {
18496				continue
18497			}
18498			if err := v.Validate(); err != nil {
18499				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Containers", i), err.(request.ErrInvalidParams))
18500			}
18501		}
18502	}
18503	if s.PrimaryContainer != nil {
18504		if err := s.PrimaryContainer.Validate(); err != nil {
18505			invalidParams.AddNested("PrimaryContainer", err.(request.ErrInvalidParams))
18506		}
18507	}
18508	if s.Tags != nil {
18509		for i, v := range s.Tags {
18510			if v == nil {
18511				continue
18512			}
18513			if err := v.Validate(); err != nil {
18514				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
18515			}
18516		}
18517	}
18518	if s.VpcConfig != nil {
18519		if err := s.VpcConfig.Validate(); err != nil {
18520			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
18521		}
18522	}
18523
18524	if invalidParams.Len() > 0 {
18525		return invalidParams
18526	}
18527	return nil
18528}
18529
18530// SetContainers sets the Containers field's value.
18531func (s *CreateModelInput) SetContainers(v []*ContainerDefinition) *CreateModelInput {
18532	s.Containers = v
18533	return s
18534}
18535
18536// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
18537func (s *CreateModelInput) SetEnableNetworkIsolation(v bool) *CreateModelInput {
18538	s.EnableNetworkIsolation = &v
18539	return s
18540}
18541
18542// SetExecutionRoleArn sets the ExecutionRoleArn field's value.
18543func (s *CreateModelInput) SetExecutionRoleArn(v string) *CreateModelInput {
18544	s.ExecutionRoleArn = &v
18545	return s
18546}
18547
18548// SetModelName sets the ModelName field's value.
18549func (s *CreateModelInput) SetModelName(v string) *CreateModelInput {
18550	s.ModelName = &v
18551	return s
18552}
18553
18554// SetPrimaryContainer sets the PrimaryContainer field's value.
18555func (s *CreateModelInput) SetPrimaryContainer(v *ContainerDefinition) *CreateModelInput {
18556	s.PrimaryContainer = v
18557	return s
18558}
18559
18560// SetTags sets the Tags field's value.
18561func (s *CreateModelInput) SetTags(v []*Tag) *CreateModelInput {
18562	s.Tags = v
18563	return s
18564}
18565
18566// SetVpcConfig sets the VpcConfig field's value.
18567func (s *CreateModelInput) SetVpcConfig(v *VpcConfig) *CreateModelInput {
18568	s.VpcConfig = v
18569	return s
18570}
18571
18572type CreateModelOutput struct {
18573	_ struct{} `type:"structure"`
18574
18575	// The ARN of the model created in Amazon SageMaker.
18576	//
18577	// ModelArn is a required field
18578	ModelArn *string `min:"20" type:"string" required:"true"`
18579}
18580
18581// String returns the string representation
18582func (s CreateModelOutput) String() string {
18583	return awsutil.Prettify(s)
18584}
18585
18586// GoString returns the string representation
18587func (s CreateModelOutput) GoString() string {
18588	return s.String()
18589}
18590
18591// SetModelArn sets the ModelArn field's value.
18592func (s *CreateModelOutput) SetModelArn(v string) *CreateModelOutput {
18593	s.ModelArn = &v
18594	return s
18595}
18596
18597type CreateModelPackageInput struct {
18598	_ struct{} `type:"structure"`
18599
18600	// Whether to certify the model package for listing on AWS Marketplace.
18601	CertifyForMarketplace *bool `type:"boolean"`
18602
18603	// Specifies details about inference jobs that can be run with models based
18604	// on this model package, including the following:
18605	//
18606	//    * The Amazon ECR paths of containers that contain the inference code and
18607	//    model artifacts.
18608	//
18609	//    * The instance types that the model package supports for transform jobs
18610	//    and real-time endpoints used for inference.
18611	//
18612	//    * The input and output content formats that the model package supports
18613	//    for inference.
18614	InferenceSpecification *InferenceSpecification `type:"structure"`
18615
18616	// A description of the model package.
18617	ModelPackageDescription *string `type:"string"`
18618
18619	// The name of the model package. The name must have 1 to 63 characters. Valid
18620	// characters are a-z, A-Z, 0-9, and - (hyphen).
18621	//
18622	// ModelPackageName is a required field
18623	ModelPackageName *string `min:"1" type:"string" required:"true"`
18624
18625	// Details about the algorithm that was used to create the model package.
18626	SourceAlgorithmSpecification *SourceAlgorithmSpecification `type:"structure"`
18627
18628	// Specifies configurations for one or more transform jobs that Amazon SageMaker
18629	// runs to test the model package.
18630	ValidationSpecification *ModelPackageValidationSpecification `type:"structure"`
18631}
18632
18633// String returns the string representation
18634func (s CreateModelPackageInput) String() string {
18635	return awsutil.Prettify(s)
18636}
18637
18638// GoString returns the string representation
18639func (s CreateModelPackageInput) GoString() string {
18640	return s.String()
18641}
18642
18643// Validate inspects the fields of the type to determine if they are valid.
18644func (s *CreateModelPackageInput) Validate() error {
18645	invalidParams := request.ErrInvalidParams{Context: "CreateModelPackageInput"}
18646	if s.ModelPackageName == nil {
18647		invalidParams.Add(request.NewErrParamRequired("ModelPackageName"))
18648	}
18649	if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 {
18650		invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1))
18651	}
18652	if s.InferenceSpecification != nil {
18653		if err := s.InferenceSpecification.Validate(); err != nil {
18654			invalidParams.AddNested("InferenceSpecification", err.(request.ErrInvalidParams))
18655		}
18656	}
18657	if s.SourceAlgorithmSpecification != nil {
18658		if err := s.SourceAlgorithmSpecification.Validate(); err != nil {
18659			invalidParams.AddNested("SourceAlgorithmSpecification", err.(request.ErrInvalidParams))
18660		}
18661	}
18662	if s.ValidationSpecification != nil {
18663		if err := s.ValidationSpecification.Validate(); err != nil {
18664			invalidParams.AddNested("ValidationSpecification", err.(request.ErrInvalidParams))
18665		}
18666	}
18667
18668	if invalidParams.Len() > 0 {
18669		return invalidParams
18670	}
18671	return nil
18672}
18673
18674// SetCertifyForMarketplace sets the CertifyForMarketplace field's value.
18675func (s *CreateModelPackageInput) SetCertifyForMarketplace(v bool) *CreateModelPackageInput {
18676	s.CertifyForMarketplace = &v
18677	return s
18678}
18679
18680// SetInferenceSpecification sets the InferenceSpecification field's value.
18681func (s *CreateModelPackageInput) SetInferenceSpecification(v *InferenceSpecification) *CreateModelPackageInput {
18682	s.InferenceSpecification = v
18683	return s
18684}
18685
18686// SetModelPackageDescription sets the ModelPackageDescription field's value.
18687func (s *CreateModelPackageInput) SetModelPackageDescription(v string) *CreateModelPackageInput {
18688	s.ModelPackageDescription = &v
18689	return s
18690}
18691
18692// SetModelPackageName sets the ModelPackageName field's value.
18693func (s *CreateModelPackageInput) SetModelPackageName(v string) *CreateModelPackageInput {
18694	s.ModelPackageName = &v
18695	return s
18696}
18697
18698// SetSourceAlgorithmSpecification sets the SourceAlgorithmSpecification field's value.
18699func (s *CreateModelPackageInput) SetSourceAlgorithmSpecification(v *SourceAlgorithmSpecification) *CreateModelPackageInput {
18700	s.SourceAlgorithmSpecification = v
18701	return s
18702}
18703
18704// SetValidationSpecification sets the ValidationSpecification field's value.
18705func (s *CreateModelPackageInput) SetValidationSpecification(v *ModelPackageValidationSpecification) *CreateModelPackageInput {
18706	s.ValidationSpecification = v
18707	return s
18708}
18709
18710type CreateModelPackageOutput struct {
18711	_ struct{} `type:"structure"`
18712
18713	// The Amazon Resource Name (ARN) of the new model package.
18714	//
18715	// ModelPackageArn is a required field
18716	ModelPackageArn *string `min:"1" type:"string" required:"true"`
18717}
18718
18719// String returns the string representation
18720func (s CreateModelPackageOutput) String() string {
18721	return awsutil.Prettify(s)
18722}
18723
18724// GoString returns the string representation
18725func (s CreateModelPackageOutput) GoString() string {
18726	return s.String()
18727}
18728
18729// SetModelPackageArn sets the ModelPackageArn field's value.
18730func (s *CreateModelPackageOutput) SetModelPackageArn(v string) *CreateModelPackageOutput {
18731	s.ModelPackageArn = &v
18732	return s
18733}
18734
18735type CreateMonitoringScheduleInput struct {
18736	_ struct{} `type:"structure"`
18737
18738	// The configuration object that specifies the monitoring schedule and defines
18739	// the monitoring job.
18740	//
18741	// MonitoringScheduleConfig is a required field
18742	MonitoringScheduleConfig *MonitoringScheduleConfig `type:"structure" required:"true"`
18743
18744	// The name of the monitoring schedule. The name must be unique within an AWS
18745	// Region within an AWS account.
18746	//
18747	// MonitoringScheduleName is a required field
18748	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
18749
18750	// (Optional) An array of key-value pairs. For more information, see Using Cost
18751	// Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL)
18752	// in the AWS Billing and Cost Management User Guide.
18753	Tags []*Tag `type:"list"`
18754}
18755
18756// String returns the string representation
18757func (s CreateMonitoringScheduleInput) String() string {
18758	return awsutil.Prettify(s)
18759}
18760
18761// GoString returns the string representation
18762func (s CreateMonitoringScheduleInput) GoString() string {
18763	return s.String()
18764}
18765
18766// Validate inspects the fields of the type to determine if they are valid.
18767func (s *CreateMonitoringScheduleInput) Validate() error {
18768	invalidParams := request.ErrInvalidParams{Context: "CreateMonitoringScheduleInput"}
18769	if s.MonitoringScheduleConfig == nil {
18770		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleConfig"))
18771	}
18772	if s.MonitoringScheduleName == nil {
18773		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName"))
18774	}
18775	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
18776		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
18777	}
18778	if s.MonitoringScheduleConfig != nil {
18779		if err := s.MonitoringScheduleConfig.Validate(); err != nil {
18780			invalidParams.AddNested("MonitoringScheduleConfig", err.(request.ErrInvalidParams))
18781		}
18782	}
18783	if s.Tags != nil {
18784		for i, v := range s.Tags {
18785			if v == nil {
18786				continue
18787			}
18788			if err := v.Validate(); err != nil {
18789				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
18790			}
18791		}
18792	}
18793
18794	if invalidParams.Len() > 0 {
18795		return invalidParams
18796	}
18797	return nil
18798}
18799
18800// SetMonitoringScheduleConfig sets the MonitoringScheduleConfig field's value.
18801func (s *CreateMonitoringScheduleInput) SetMonitoringScheduleConfig(v *MonitoringScheduleConfig) *CreateMonitoringScheduleInput {
18802	s.MonitoringScheduleConfig = v
18803	return s
18804}
18805
18806// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
18807func (s *CreateMonitoringScheduleInput) SetMonitoringScheduleName(v string) *CreateMonitoringScheduleInput {
18808	s.MonitoringScheduleName = &v
18809	return s
18810}
18811
18812// SetTags sets the Tags field's value.
18813func (s *CreateMonitoringScheduleInput) SetTags(v []*Tag) *CreateMonitoringScheduleInput {
18814	s.Tags = v
18815	return s
18816}
18817
18818type CreateMonitoringScheduleOutput struct {
18819	_ struct{} `type:"structure"`
18820
18821	// The Amazon Resource Name (ARN) of the monitoring schedule.
18822	//
18823	// MonitoringScheduleArn is a required field
18824	MonitoringScheduleArn *string `type:"string" required:"true"`
18825}
18826
18827// String returns the string representation
18828func (s CreateMonitoringScheduleOutput) String() string {
18829	return awsutil.Prettify(s)
18830}
18831
18832// GoString returns the string representation
18833func (s CreateMonitoringScheduleOutput) GoString() string {
18834	return s.String()
18835}
18836
18837// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
18838func (s *CreateMonitoringScheduleOutput) SetMonitoringScheduleArn(v string) *CreateMonitoringScheduleOutput {
18839	s.MonitoringScheduleArn = &v
18840	return s
18841}
18842
18843type CreateNotebookInstanceInput struct {
18844	_ struct{} `type:"structure"`
18845
18846	// A list of Elastic Inference (EI) instance types to associate with this notebook
18847	// instance. Currently, only one instance type can be associated with a notebook
18848	// instance. For more information, see Using Elastic Inference in Amazon SageMaker
18849	// (https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html).
18850	AcceleratorTypes []*string `type:"list"`
18851
18852	// An array of up to three Git repositories to associate with the notebook instance.
18853	// These can be either the names of Git repositories stored as resources in
18854	// your account, or the URL of Git repositories in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
18855	// or in any other Git repository. These repositories are cloned at the same
18856	// level as the default repository of your notebook instance. For more information,
18857	// see Associating Git Repositories with Amazon SageMaker Notebook Instances
18858	// (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
18859	AdditionalCodeRepositories []*string `type:"list"`
18860
18861	// A Git repository to associate with the notebook instance as its default code
18862	// repository. This can be either the name of a Git repository stored as a resource
18863	// in your account, or the URL of a Git repository in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
18864	// or in any other Git repository. When you open a notebook instance, it opens
18865	// in the directory that contains this repository. For more information, see
18866	// Associating Git Repositories with Amazon SageMaker Notebook Instances (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
18867	DefaultCodeRepository *string `min:"1" type:"string"`
18868
18869	// Sets whether Amazon SageMaker provides internet access to the notebook instance.
18870	// If you set this to Disabled this notebook instance will be able to access
18871	// resources only in your VPC, and will not be able to connect to Amazon SageMaker
18872	// training and endpoint services unless your configure a NAT Gateway in your
18873	// VPC.
18874	//
18875	// For more information, see Notebook Instances Are Internet-Enabled by Default
18876	// (https://docs.aws.amazon.com/sagemaker/latest/dg/appendix-additional-considerations.html#appendix-notebook-and-internet-access).
18877	// You can set the value of this parameter to Disabled only if you set a value
18878	// for the SubnetId parameter.
18879	DirectInternetAccess *string `type:"string" enum:"DirectInternetAccess"`
18880
18881	// The type of ML compute instance to launch for the notebook instance.
18882	//
18883	// InstanceType is a required field
18884	InstanceType *string `type:"string" required:"true" enum:"InstanceType"`
18885
18886	// The Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon
18887	// SageMaker uses to encrypt data on the storage volume attached to your notebook
18888	// instance. The KMS key you provide must be enabled. For information, see Enabling
18889	// and Disabling Keys (https://docs.aws.amazon.com/kms/latest/developerguide/enabling-keys.html)
18890	// in the AWS Key Management Service Developer Guide.
18891	KmsKeyId *string `type:"string"`
18892
18893	// The name of a lifecycle configuration to associate with the notebook instance.
18894	// For information about lifestyle configurations, see Step 2.1: (Optional)
18895	// Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
18896	LifecycleConfigName *string `type:"string"`
18897
18898	// The name of the new notebook instance.
18899	//
18900	// NotebookInstanceName is a required field
18901	NotebookInstanceName *string `type:"string" required:"true"`
18902
18903	// When you send any requests to AWS resources from the notebook instance, Amazon
18904	// SageMaker assumes this role to perform tasks on your behalf. You must grant
18905	// this role necessary permissions so Amazon SageMaker can perform these tasks.
18906	// The policy must allow the Amazon SageMaker service principal (sagemaker.amazonaws.com)
18907	// permissions to assume this role. For more information, see Amazon SageMaker
18908	// Roles (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html).
18909	//
18910	// To be able to pass this role to Amazon SageMaker, the caller of this API
18911	// must have the iam:PassRole permission.
18912	//
18913	// RoleArn is a required field
18914	RoleArn *string `min:"20" type:"string" required:"true"`
18915
18916	// Whether root access is enabled or disabled for users of the notebook instance.
18917	// The default value is Enabled.
18918	//
18919	// Lifecycle configurations need root access to be able to set up a notebook
18920	// instance. Because of this, lifecycle configurations associated with a notebook
18921	// instance always run with root access even if you disable root access for
18922	// users.
18923	RootAccess *string `type:"string" enum:"RootAccess"`
18924
18925	// The VPC security group IDs, in the form sg-xxxxxxxx. The security groups
18926	// must be for the same VPC as specified in the subnet.
18927	SecurityGroupIds []*string `type:"list"`
18928
18929	// The ID of the subnet in a VPC to which you would like to have a connectivity
18930	// from your ML compute instance.
18931	SubnetId *string `type:"string"`
18932
18933	// A list of tags to associate with the notebook instance. You can add tags
18934	// later by using the CreateTags API.
18935	Tags []*Tag `type:"list"`
18936
18937	// The size, in GB, of the ML storage volume to attach to the notebook instance.
18938	// The default value is 5 GB.
18939	VolumeSizeInGB *int64 `min:"5" type:"integer"`
18940}
18941
18942// String returns the string representation
18943func (s CreateNotebookInstanceInput) String() string {
18944	return awsutil.Prettify(s)
18945}
18946
18947// GoString returns the string representation
18948func (s CreateNotebookInstanceInput) GoString() string {
18949	return s.String()
18950}
18951
18952// Validate inspects the fields of the type to determine if they are valid.
18953func (s *CreateNotebookInstanceInput) Validate() error {
18954	invalidParams := request.ErrInvalidParams{Context: "CreateNotebookInstanceInput"}
18955	if s.DefaultCodeRepository != nil && len(*s.DefaultCodeRepository) < 1 {
18956		invalidParams.Add(request.NewErrParamMinLen("DefaultCodeRepository", 1))
18957	}
18958	if s.InstanceType == nil {
18959		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
18960	}
18961	if s.NotebookInstanceName == nil {
18962		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
18963	}
18964	if s.RoleArn == nil {
18965		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
18966	}
18967	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
18968		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
18969	}
18970	if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 5 {
18971		invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 5))
18972	}
18973	if s.Tags != nil {
18974		for i, v := range s.Tags {
18975			if v == nil {
18976				continue
18977			}
18978			if err := v.Validate(); err != nil {
18979				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
18980			}
18981		}
18982	}
18983
18984	if invalidParams.Len() > 0 {
18985		return invalidParams
18986	}
18987	return nil
18988}
18989
18990// SetAcceleratorTypes sets the AcceleratorTypes field's value.
18991func (s *CreateNotebookInstanceInput) SetAcceleratorTypes(v []*string) *CreateNotebookInstanceInput {
18992	s.AcceleratorTypes = v
18993	return s
18994}
18995
18996// SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value.
18997func (s *CreateNotebookInstanceInput) SetAdditionalCodeRepositories(v []*string) *CreateNotebookInstanceInput {
18998	s.AdditionalCodeRepositories = v
18999	return s
19000}
19001
19002// SetDefaultCodeRepository sets the DefaultCodeRepository field's value.
19003func (s *CreateNotebookInstanceInput) SetDefaultCodeRepository(v string) *CreateNotebookInstanceInput {
19004	s.DefaultCodeRepository = &v
19005	return s
19006}
19007
19008// SetDirectInternetAccess sets the DirectInternetAccess field's value.
19009func (s *CreateNotebookInstanceInput) SetDirectInternetAccess(v string) *CreateNotebookInstanceInput {
19010	s.DirectInternetAccess = &v
19011	return s
19012}
19013
19014// SetInstanceType sets the InstanceType field's value.
19015func (s *CreateNotebookInstanceInput) SetInstanceType(v string) *CreateNotebookInstanceInput {
19016	s.InstanceType = &v
19017	return s
19018}
19019
19020// SetKmsKeyId sets the KmsKeyId field's value.
19021func (s *CreateNotebookInstanceInput) SetKmsKeyId(v string) *CreateNotebookInstanceInput {
19022	s.KmsKeyId = &v
19023	return s
19024}
19025
19026// SetLifecycleConfigName sets the LifecycleConfigName field's value.
19027func (s *CreateNotebookInstanceInput) SetLifecycleConfigName(v string) *CreateNotebookInstanceInput {
19028	s.LifecycleConfigName = &v
19029	return s
19030}
19031
19032// SetNotebookInstanceName sets the NotebookInstanceName field's value.
19033func (s *CreateNotebookInstanceInput) SetNotebookInstanceName(v string) *CreateNotebookInstanceInput {
19034	s.NotebookInstanceName = &v
19035	return s
19036}
19037
19038// SetRoleArn sets the RoleArn field's value.
19039func (s *CreateNotebookInstanceInput) SetRoleArn(v string) *CreateNotebookInstanceInput {
19040	s.RoleArn = &v
19041	return s
19042}
19043
19044// SetRootAccess sets the RootAccess field's value.
19045func (s *CreateNotebookInstanceInput) SetRootAccess(v string) *CreateNotebookInstanceInput {
19046	s.RootAccess = &v
19047	return s
19048}
19049
19050// SetSecurityGroupIds sets the SecurityGroupIds field's value.
19051func (s *CreateNotebookInstanceInput) SetSecurityGroupIds(v []*string) *CreateNotebookInstanceInput {
19052	s.SecurityGroupIds = v
19053	return s
19054}
19055
19056// SetSubnetId sets the SubnetId field's value.
19057func (s *CreateNotebookInstanceInput) SetSubnetId(v string) *CreateNotebookInstanceInput {
19058	s.SubnetId = &v
19059	return s
19060}
19061
19062// SetTags sets the Tags field's value.
19063func (s *CreateNotebookInstanceInput) SetTags(v []*Tag) *CreateNotebookInstanceInput {
19064	s.Tags = v
19065	return s
19066}
19067
19068// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
19069func (s *CreateNotebookInstanceInput) SetVolumeSizeInGB(v int64) *CreateNotebookInstanceInput {
19070	s.VolumeSizeInGB = &v
19071	return s
19072}
19073
19074type CreateNotebookInstanceLifecycleConfigInput struct {
19075	_ struct{} `type:"structure"`
19076
19077	// The name of the lifecycle configuration.
19078	//
19079	// NotebookInstanceLifecycleConfigName is a required field
19080	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
19081
19082	// A shell script that runs only once, when you create a notebook instance.
19083	// The shell script must be a base64-encoded string.
19084	OnCreate []*NotebookInstanceLifecycleHook `type:"list"`
19085
19086	// A shell script that runs every time you start a notebook instance, including
19087	// when you create the notebook instance. The shell script must be a base64-encoded
19088	// string.
19089	OnStart []*NotebookInstanceLifecycleHook `type:"list"`
19090}
19091
19092// String returns the string representation
19093func (s CreateNotebookInstanceLifecycleConfigInput) String() string {
19094	return awsutil.Prettify(s)
19095}
19096
19097// GoString returns the string representation
19098func (s CreateNotebookInstanceLifecycleConfigInput) GoString() string {
19099	return s.String()
19100}
19101
19102// Validate inspects the fields of the type to determine if they are valid.
19103func (s *CreateNotebookInstanceLifecycleConfigInput) Validate() error {
19104	invalidParams := request.ErrInvalidParams{Context: "CreateNotebookInstanceLifecycleConfigInput"}
19105	if s.NotebookInstanceLifecycleConfigName == nil {
19106		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceLifecycleConfigName"))
19107	}
19108	if s.OnCreate != nil {
19109		for i, v := range s.OnCreate {
19110			if v == nil {
19111				continue
19112			}
19113			if err := v.Validate(); err != nil {
19114				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OnCreate", i), err.(request.ErrInvalidParams))
19115			}
19116		}
19117	}
19118	if s.OnStart != nil {
19119		for i, v := range s.OnStart {
19120			if v == nil {
19121				continue
19122			}
19123			if err := v.Validate(); err != nil {
19124				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OnStart", i), err.(request.ErrInvalidParams))
19125			}
19126		}
19127	}
19128
19129	if invalidParams.Len() > 0 {
19130		return invalidParams
19131	}
19132	return nil
19133}
19134
19135// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
19136func (s *CreateNotebookInstanceLifecycleConfigInput) SetNotebookInstanceLifecycleConfigName(v string) *CreateNotebookInstanceLifecycleConfigInput {
19137	s.NotebookInstanceLifecycleConfigName = &v
19138	return s
19139}
19140
19141// SetOnCreate sets the OnCreate field's value.
19142func (s *CreateNotebookInstanceLifecycleConfigInput) SetOnCreate(v []*NotebookInstanceLifecycleHook) *CreateNotebookInstanceLifecycleConfigInput {
19143	s.OnCreate = v
19144	return s
19145}
19146
19147// SetOnStart sets the OnStart field's value.
19148func (s *CreateNotebookInstanceLifecycleConfigInput) SetOnStart(v []*NotebookInstanceLifecycleHook) *CreateNotebookInstanceLifecycleConfigInput {
19149	s.OnStart = v
19150	return s
19151}
19152
19153type CreateNotebookInstanceLifecycleConfigOutput struct {
19154	_ struct{} `type:"structure"`
19155
19156	// The Amazon Resource Name (ARN) of the lifecycle configuration.
19157	NotebookInstanceLifecycleConfigArn *string `type:"string"`
19158}
19159
19160// String returns the string representation
19161func (s CreateNotebookInstanceLifecycleConfigOutput) String() string {
19162	return awsutil.Prettify(s)
19163}
19164
19165// GoString returns the string representation
19166func (s CreateNotebookInstanceLifecycleConfigOutput) GoString() string {
19167	return s.String()
19168}
19169
19170// SetNotebookInstanceLifecycleConfigArn sets the NotebookInstanceLifecycleConfigArn field's value.
19171func (s *CreateNotebookInstanceLifecycleConfigOutput) SetNotebookInstanceLifecycleConfigArn(v string) *CreateNotebookInstanceLifecycleConfigOutput {
19172	s.NotebookInstanceLifecycleConfigArn = &v
19173	return s
19174}
19175
19176type CreateNotebookInstanceOutput struct {
19177	_ struct{} `type:"structure"`
19178
19179	// The Amazon Resource Name (ARN) of the notebook instance.
19180	NotebookInstanceArn *string `type:"string"`
19181}
19182
19183// String returns the string representation
19184func (s CreateNotebookInstanceOutput) String() string {
19185	return awsutil.Prettify(s)
19186}
19187
19188// GoString returns the string representation
19189func (s CreateNotebookInstanceOutput) GoString() string {
19190	return s.String()
19191}
19192
19193// SetNotebookInstanceArn sets the NotebookInstanceArn field's value.
19194func (s *CreateNotebookInstanceOutput) SetNotebookInstanceArn(v string) *CreateNotebookInstanceOutput {
19195	s.NotebookInstanceArn = &v
19196	return s
19197}
19198
19199type CreatePresignedDomainUrlInput struct {
19200	_ struct{} `type:"structure"`
19201
19202	// The domain ID.
19203	//
19204	// DomainId is a required field
19205	DomainId *string `type:"string" required:"true"`
19206
19207	// The session expiration duration in seconds.
19208	SessionExpirationDurationInSeconds *int64 `min:"1800" type:"integer"`
19209
19210	// The name of the UserProfile to sign-in as.
19211	//
19212	// UserProfileName is a required field
19213	UserProfileName *string `type:"string" required:"true"`
19214}
19215
19216// String returns the string representation
19217func (s CreatePresignedDomainUrlInput) String() string {
19218	return awsutil.Prettify(s)
19219}
19220
19221// GoString returns the string representation
19222func (s CreatePresignedDomainUrlInput) GoString() string {
19223	return s.String()
19224}
19225
19226// Validate inspects the fields of the type to determine if they are valid.
19227func (s *CreatePresignedDomainUrlInput) Validate() error {
19228	invalidParams := request.ErrInvalidParams{Context: "CreatePresignedDomainUrlInput"}
19229	if s.DomainId == nil {
19230		invalidParams.Add(request.NewErrParamRequired("DomainId"))
19231	}
19232	if s.SessionExpirationDurationInSeconds != nil && *s.SessionExpirationDurationInSeconds < 1800 {
19233		invalidParams.Add(request.NewErrParamMinValue("SessionExpirationDurationInSeconds", 1800))
19234	}
19235	if s.UserProfileName == nil {
19236		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
19237	}
19238
19239	if invalidParams.Len() > 0 {
19240		return invalidParams
19241	}
19242	return nil
19243}
19244
19245// SetDomainId sets the DomainId field's value.
19246func (s *CreatePresignedDomainUrlInput) SetDomainId(v string) *CreatePresignedDomainUrlInput {
19247	s.DomainId = &v
19248	return s
19249}
19250
19251// SetSessionExpirationDurationInSeconds sets the SessionExpirationDurationInSeconds field's value.
19252func (s *CreatePresignedDomainUrlInput) SetSessionExpirationDurationInSeconds(v int64) *CreatePresignedDomainUrlInput {
19253	s.SessionExpirationDurationInSeconds = &v
19254	return s
19255}
19256
19257// SetUserProfileName sets the UserProfileName field's value.
19258func (s *CreatePresignedDomainUrlInput) SetUserProfileName(v string) *CreatePresignedDomainUrlInput {
19259	s.UserProfileName = &v
19260	return s
19261}
19262
19263type CreatePresignedDomainUrlOutput struct {
19264	_ struct{} `type:"structure"`
19265
19266	// The presigned URL.
19267	AuthorizedUrl *string `type:"string"`
19268}
19269
19270// String returns the string representation
19271func (s CreatePresignedDomainUrlOutput) String() string {
19272	return awsutil.Prettify(s)
19273}
19274
19275// GoString returns the string representation
19276func (s CreatePresignedDomainUrlOutput) GoString() string {
19277	return s.String()
19278}
19279
19280// SetAuthorizedUrl sets the AuthorizedUrl field's value.
19281func (s *CreatePresignedDomainUrlOutput) SetAuthorizedUrl(v string) *CreatePresignedDomainUrlOutput {
19282	s.AuthorizedUrl = &v
19283	return s
19284}
19285
19286type CreatePresignedNotebookInstanceUrlInput struct {
19287	_ struct{} `type:"structure"`
19288
19289	// The name of the notebook instance.
19290	//
19291	// NotebookInstanceName is a required field
19292	NotebookInstanceName *string `type:"string" required:"true"`
19293
19294	// The duration of the session, in seconds. The default is 12 hours.
19295	SessionExpirationDurationInSeconds *int64 `min:"1800" type:"integer"`
19296}
19297
19298// String returns the string representation
19299func (s CreatePresignedNotebookInstanceUrlInput) String() string {
19300	return awsutil.Prettify(s)
19301}
19302
19303// GoString returns the string representation
19304func (s CreatePresignedNotebookInstanceUrlInput) GoString() string {
19305	return s.String()
19306}
19307
19308// Validate inspects the fields of the type to determine if they are valid.
19309func (s *CreatePresignedNotebookInstanceUrlInput) Validate() error {
19310	invalidParams := request.ErrInvalidParams{Context: "CreatePresignedNotebookInstanceUrlInput"}
19311	if s.NotebookInstanceName == nil {
19312		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
19313	}
19314	if s.SessionExpirationDurationInSeconds != nil && *s.SessionExpirationDurationInSeconds < 1800 {
19315		invalidParams.Add(request.NewErrParamMinValue("SessionExpirationDurationInSeconds", 1800))
19316	}
19317
19318	if invalidParams.Len() > 0 {
19319		return invalidParams
19320	}
19321	return nil
19322}
19323
19324// SetNotebookInstanceName sets the NotebookInstanceName field's value.
19325func (s *CreatePresignedNotebookInstanceUrlInput) SetNotebookInstanceName(v string) *CreatePresignedNotebookInstanceUrlInput {
19326	s.NotebookInstanceName = &v
19327	return s
19328}
19329
19330// SetSessionExpirationDurationInSeconds sets the SessionExpirationDurationInSeconds field's value.
19331func (s *CreatePresignedNotebookInstanceUrlInput) SetSessionExpirationDurationInSeconds(v int64) *CreatePresignedNotebookInstanceUrlInput {
19332	s.SessionExpirationDurationInSeconds = &v
19333	return s
19334}
19335
19336type CreatePresignedNotebookInstanceUrlOutput struct {
19337	_ struct{} `type:"structure"`
19338
19339	// A JSON object that contains the URL string.
19340	AuthorizedUrl *string `type:"string"`
19341}
19342
19343// String returns the string representation
19344func (s CreatePresignedNotebookInstanceUrlOutput) String() string {
19345	return awsutil.Prettify(s)
19346}
19347
19348// GoString returns the string representation
19349func (s CreatePresignedNotebookInstanceUrlOutput) GoString() string {
19350	return s.String()
19351}
19352
19353// SetAuthorizedUrl sets the AuthorizedUrl field's value.
19354func (s *CreatePresignedNotebookInstanceUrlOutput) SetAuthorizedUrl(v string) *CreatePresignedNotebookInstanceUrlOutput {
19355	s.AuthorizedUrl = &v
19356	return s
19357}
19358
19359type CreateProcessingJobInput struct {
19360	_ struct{} `type:"structure"`
19361
19362	// Configures the processing job to run a specified Docker container image.
19363	//
19364	// AppSpecification is a required field
19365	AppSpecification *AppSpecification `type:"structure" required:"true"`
19366
19367	// Sets the environment variables in the Docker container.
19368	Environment map[string]*string `type:"map"`
19369
19370	// Associates a SageMaker job as a trial component with an experiment and trial.
19371	// Specified when you call the following APIs:
19372	//
19373	//    * CreateProcessingJob
19374	//
19375	//    * CreateTrainingJob
19376	//
19377	//    * CreateTransformJob
19378	ExperimentConfig *ExperimentConfig `type:"structure"`
19379
19380	// Networking options for a processing job.
19381	NetworkConfig *NetworkConfig `type:"structure"`
19382
19383	// For each input, data is downloaded from S3 into the processing container
19384	// before the processing job begins running if "S3InputMode" is set to File.
19385	ProcessingInputs []*ProcessingInput `type:"list"`
19386
19387	// The name of the processing job. The name must be unique within an AWS Region
19388	// in the AWS account.
19389	//
19390	// ProcessingJobName is a required field
19391	ProcessingJobName *string `min:"1" type:"string" required:"true"`
19392
19393	// Output configuration for the processing job.
19394	ProcessingOutputConfig *ProcessingOutputConfig `type:"structure"`
19395
19396	// Identifies the resources, ML compute instances, and ML storage volumes to
19397	// deploy for a processing job. In distributed training, you specify more than
19398	// one instance.
19399	//
19400	// ProcessingResources is a required field
19401	ProcessingResources *ProcessingResources `type:"structure" required:"true"`
19402
19403	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
19404	// to perform tasks on your behalf.
19405	//
19406	// RoleArn is a required field
19407	RoleArn *string `min:"20" type:"string" required:"true"`
19408
19409	// The time limit for how long the processing job is allowed to run.
19410	StoppingCondition *ProcessingStoppingCondition `type:"structure"`
19411
19412	// (Optional) An array of key-value pairs. For more information, see Using Cost
19413	// Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL)
19414	// in the AWS Billing and Cost Management User Guide.
19415	Tags []*Tag `type:"list"`
19416}
19417
19418// String returns the string representation
19419func (s CreateProcessingJobInput) String() string {
19420	return awsutil.Prettify(s)
19421}
19422
19423// GoString returns the string representation
19424func (s CreateProcessingJobInput) GoString() string {
19425	return s.String()
19426}
19427
19428// Validate inspects the fields of the type to determine if they are valid.
19429func (s *CreateProcessingJobInput) Validate() error {
19430	invalidParams := request.ErrInvalidParams{Context: "CreateProcessingJobInput"}
19431	if s.AppSpecification == nil {
19432		invalidParams.Add(request.NewErrParamRequired("AppSpecification"))
19433	}
19434	if s.ProcessingJobName == nil {
19435		invalidParams.Add(request.NewErrParamRequired("ProcessingJobName"))
19436	}
19437	if s.ProcessingJobName != nil && len(*s.ProcessingJobName) < 1 {
19438		invalidParams.Add(request.NewErrParamMinLen("ProcessingJobName", 1))
19439	}
19440	if s.ProcessingResources == nil {
19441		invalidParams.Add(request.NewErrParamRequired("ProcessingResources"))
19442	}
19443	if s.RoleArn == nil {
19444		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
19445	}
19446	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
19447		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
19448	}
19449	if s.AppSpecification != nil {
19450		if err := s.AppSpecification.Validate(); err != nil {
19451			invalidParams.AddNested("AppSpecification", err.(request.ErrInvalidParams))
19452		}
19453	}
19454	if s.ExperimentConfig != nil {
19455		if err := s.ExperimentConfig.Validate(); err != nil {
19456			invalidParams.AddNested("ExperimentConfig", err.(request.ErrInvalidParams))
19457		}
19458	}
19459	if s.NetworkConfig != nil {
19460		if err := s.NetworkConfig.Validate(); err != nil {
19461			invalidParams.AddNested("NetworkConfig", err.(request.ErrInvalidParams))
19462		}
19463	}
19464	if s.ProcessingInputs != nil {
19465		for i, v := range s.ProcessingInputs {
19466			if v == nil {
19467				continue
19468			}
19469			if err := v.Validate(); err != nil {
19470				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ProcessingInputs", i), err.(request.ErrInvalidParams))
19471			}
19472		}
19473	}
19474	if s.ProcessingOutputConfig != nil {
19475		if err := s.ProcessingOutputConfig.Validate(); err != nil {
19476			invalidParams.AddNested("ProcessingOutputConfig", err.(request.ErrInvalidParams))
19477		}
19478	}
19479	if s.ProcessingResources != nil {
19480		if err := s.ProcessingResources.Validate(); err != nil {
19481			invalidParams.AddNested("ProcessingResources", err.(request.ErrInvalidParams))
19482		}
19483	}
19484	if s.StoppingCondition != nil {
19485		if err := s.StoppingCondition.Validate(); err != nil {
19486			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
19487		}
19488	}
19489	if s.Tags != nil {
19490		for i, v := range s.Tags {
19491			if v == nil {
19492				continue
19493			}
19494			if err := v.Validate(); err != nil {
19495				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
19496			}
19497		}
19498	}
19499
19500	if invalidParams.Len() > 0 {
19501		return invalidParams
19502	}
19503	return nil
19504}
19505
19506// SetAppSpecification sets the AppSpecification field's value.
19507func (s *CreateProcessingJobInput) SetAppSpecification(v *AppSpecification) *CreateProcessingJobInput {
19508	s.AppSpecification = v
19509	return s
19510}
19511
19512// SetEnvironment sets the Environment field's value.
19513func (s *CreateProcessingJobInput) SetEnvironment(v map[string]*string) *CreateProcessingJobInput {
19514	s.Environment = v
19515	return s
19516}
19517
19518// SetExperimentConfig sets the ExperimentConfig field's value.
19519func (s *CreateProcessingJobInput) SetExperimentConfig(v *ExperimentConfig) *CreateProcessingJobInput {
19520	s.ExperimentConfig = v
19521	return s
19522}
19523
19524// SetNetworkConfig sets the NetworkConfig field's value.
19525func (s *CreateProcessingJobInput) SetNetworkConfig(v *NetworkConfig) *CreateProcessingJobInput {
19526	s.NetworkConfig = v
19527	return s
19528}
19529
19530// SetProcessingInputs sets the ProcessingInputs field's value.
19531func (s *CreateProcessingJobInput) SetProcessingInputs(v []*ProcessingInput) *CreateProcessingJobInput {
19532	s.ProcessingInputs = v
19533	return s
19534}
19535
19536// SetProcessingJobName sets the ProcessingJobName field's value.
19537func (s *CreateProcessingJobInput) SetProcessingJobName(v string) *CreateProcessingJobInput {
19538	s.ProcessingJobName = &v
19539	return s
19540}
19541
19542// SetProcessingOutputConfig sets the ProcessingOutputConfig field's value.
19543func (s *CreateProcessingJobInput) SetProcessingOutputConfig(v *ProcessingOutputConfig) *CreateProcessingJobInput {
19544	s.ProcessingOutputConfig = v
19545	return s
19546}
19547
19548// SetProcessingResources sets the ProcessingResources field's value.
19549func (s *CreateProcessingJobInput) SetProcessingResources(v *ProcessingResources) *CreateProcessingJobInput {
19550	s.ProcessingResources = v
19551	return s
19552}
19553
19554// SetRoleArn sets the RoleArn field's value.
19555func (s *CreateProcessingJobInput) SetRoleArn(v string) *CreateProcessingJobInput {
19556	s.RoleArn = &v
19557	return s
19558}
19559
19560// SetStoppingCondition sets the StoppingCondition field's value.
19561func (s *CreateProcessingJobInput) SetStoppingCondition(v *ProcessingStoppingCondition) *CreateProcessingJobInput {
19562	s.StoppingCondition = v
19563	return s
19564}
19565
19566// SetTags sets the Tags field's value.
19567func (s *CreateProcessingJobInput) SetTags(v []*Tag) *CreateProcessingJobInput {
19568	s.Tags = v
19569	return s
19570}
19571
19572type CreateProcessingJobOutput struct {
19573	_ struct{} `type:"structure"`
19574
19575	// The Amazon Resource Name (ARN) of the processing job.
19576	//
19577	// ProcessingJobArn is a required field
19578	ProcessingJobArn *string `type:"string" required:"true"`
19579}
19580
19581// String returns the string representation
19582func (s CreateProcessingJobOutput) String() string {
19583	return awsutil.Prettify(s)
19584}
19585
19586// GoString returns the string representation
19587func (s CreateProcessingJobOutput) GoString() string {
19588	return s.String()
19589}
19590
19591// SetProcessingJobArn sets the ProcessingJobArn field's value.
19592func (s *CreateProcessingJobOutput) SetProcessingJobArn(v string) *CreateProcessingJobOutput {
19593	s.ProcessingJobArn = &v
19594	return s
19595}
19596
19597type CreateTrainingJobInput struct {
19598	_ struct{} `type:"structure"`
19599
19600	// The registry path of the Docker image that contains the training algorithm
19601	// and algorithm-specific metadata, including the input mode. For more information
19602	// about algorithms provided by Amazon SageMaker, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
19603	// For information about providing your own algorithms, see Using Your Own Algorithms
19604	// with Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
19605	//
19606	// AlgorithmSpecification is a required field
19607	AlgorithmSpecification *AlgorithmSpecification `type:"structure" required:"true"`
19608
19609	// Contains information about the output location for managed spot training
19610	// checkpoint data.
19611	CheckpointConfig *CheckpointConfig `type:"structure"`
19612
19613	// Configuration information for the debug hook parameters, collection configuration,
19614	// and storage paths.
19615	DebugHookConfig *DebugHookConfig `type:"structure"`
19616
19617	// Configuration information for debugging rules.
19618	DebugRuleConfigurations []*DebugRuleConfiguration `type:"list"`
19619
19620	// To encrypt all communications between ML compute instances in distributed
19621	// training, choose True. Encryption provides greater security for distributed
19622	// training, but training might take longer. How long it takes depends on the
19623	// amount of communication between compute instances, especially if you use
19624	// a deep learning algorithm in distributed training. For more information,
19625	// see Protect Communications Between ML Compute Instances in a Distributed
19626	// Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/train-encrypt.html).
19627	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
19628
19629	// To train models using managed spot training, choose True. Managed spot training
19630	// provides a fully managed and scalable infrastructure for training machine
19631	// learning models. this option is useful when training jobs can be interrupted
19632	// and when there is flexibility when the training job is run.
19633	//
19634	// The complete and intermediate results of jobs are stored in an Amazon S3
19635	// bucket, and can be used as a starting point to train models incrementally.
19636	// Amazon SageMaker provides metrics and logs in CloudWatch. They can be used
19637	// to see when managed spot training jobs are running, interrupted, resumed,
19638	// or completed.
19639	EnableManagedSpotTraining *bool `type:"boolean"`
19640
19641	// Isolates the training container. No inbound or outbound network calls can
19642	// be made, except for calls between peers within a training cluster for distributed
19643	// training. If you enable network isolation for training jobs that are configured
19644	// to use a VPC, Amazon SageMaker downloads and uploads customer data and model
19645	// artifacts through the specified VPC, but the training container does not
19646	// have network access.
19647	EnableNetworkIsolation *bool `type:"boolean"`
19648
19649	// Associates a SageMaker job as a trial component with an experiment and trial.
19650	// Specified when you call the following APIs:
19651	//
19652	//    * CreateProcessingJob
19653	//
19654	//    * CreateTrainingJob
19655	//
19656	//    * CreateTransformJob
19657	ExperimentConfig *ExperimentConfig `type:"structure"`
19658
19659	// Algorithm-specific parameters that influence the quality of the model. You
19660	// set hyperparameters before you start the learning process. For a list of
19661	// hyperparameters for each training algorithm provided by Amazon SageMaker,
19662	// see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
19663	//
19664	// You can specify a maximum of 100 hyperparameters. Each hyperparameter is
19665	// a key-value pair. Each key and value is limited to 256 characters, as specified
19666	// by the Length Constraint.
19667	HyperParameters map[string]*string `type:"map"`
19668
19669	// An array of Channel objects. Each channel is a named input source. InputDataConfig
19670	// describes the input data and its location.
19671	//
19672	// Algorithms can accept input data from one or more channels. For example,
19673	// an algorithm might have two channels of input data, training_data and validation_data.
19674	// The configuration for each channel provides the S3, EFS, or FSx location
19675	// where the input data is stored. It also provides information about the stored
19676	// data: the MIME type, compression method, and whether the data is wrapped
19677	// in RecordIO format.
19678	//
19679	// Depending on the input mode that the algorithm supports, Amazon SageMaker
19680	// either copies input data files from an S3 bucket to a local directory in
19681	// the Docker container, or makes it available as input streams. For example,
19682	// if you specify an EFS location, input data files will be made available as
19683	// input streams. They do not need to be downloaded.
19684	InputDataConfig []*Channel `min:"1" type:"list"`
19685
19686	// Specifies the path to the S3 location where you want to store model artifacts.
19687	// Amazon SageMaker creates subfolders for the artifacts.
19688	//
19689	// OutputDataConfig is a required field
19690	OutputDataConfig *OutputDataConfig `type:"structure" required:"true"`
19691
19692	// The resources, including the ML compute instances and ML storage volumes,
19693	// to use for model training.
19694	//
19695	// ML storage volumes store model artifacts and incremental states. Training
19696	// algorithms might also use ML storage volumes for scratch space. If you want
19697	// Amazon SageMaker to use the ML storage volume to store the training data,
19698	// choose File as the TrainingInputMode in the algorithm specification. For
19699	// distributed training algorithms, specify an instance count greater than 1.
19700	//
19701	// ResourceConfig is a required field
19702	ResourceConfig *ResourceConfig `type:"structure" required:"true"`
19703
19704	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
19705	// to perform tasks on your behalf.
19706	//
19707	// During model training, Amazon SageMaker needs your permission to read input
19708	// data from an S3 bucket, download a Docker image that contains training code,
19709	// write model artifacts to an S3 bucket, write logs to Amazon CloudWatch Logs,
19710	// and publish metrics to Amazon CloudWatch. You grant permissions for all of
19711	// these tasks to an IAM role. For more information, see Amazon SageMaker Roles
19712	// (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html).
19713	//
19714	// To be able to pass this role to Amazon SageMaker, the caller of this API
19715	// must have the iam:PassRole permission.
19716	//
19717	// RoleArn is a required field
19718	RoleArn *string `min:"20" type:"string" required:"true"`
19719
19720	// Specifies a limit to how long a model training job can run. When the job
19721	// reaches the time limit, Amazon SageMaker ends the training job. Use this
19722	// API to cap model training costs.
19723	//
19724	// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
19725	// delays job termination for 120 seconds. Algorithms can use this 120-second
19726	// window to save the model artifacts, so the results of training are not lost.
19727	//
19728	// StoppingCondition is a required field
19729	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
19730
19731	// An array of key-value pairs. For more information, see Using Cost Allocation
19732	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
19733	// in the AWS Billing and Cost Management User Guide.
19734	Tags []*Tag `type:"list"`
19735
19736	// Configuration of storage locations for TensorBoard output.
19737	TensorBoardOutputConfig *TensorBoardOutputConfig `type:"structure"`
19738
19739	// The name of the training job. The name must be unique within an AWS Region
19740	// in an AWS account.
19741	//
19742	// TrainingJobName is a required field
19743	TrainingJobName *string `min:"1" type:"string" required:"true"`
19744
19745	// A VpcConfig object that specifies the VPC that you want your training job
19746	// to connect to. Control access to and from your training container by configuring
19747	// the VPC. For more information, see Protect Training Jobs by Using an Amazon
19748	// Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
19749	VpcConfig *VpcConfig `type:"structure"`
19750}
19751
19752// String returns the string representation
19753func (s CreateTrainingJobInput) String() string {
19754	return awsutil.Prettify(s)
19755}
19756
19757// GoString returns the string representation
19758func (s CreateTrainingJobInput) GoString() string {
19759	return s.String()
19760}
19761
19762// Validate inspects the fields of the type to determine if they are valid.
19763func (s *CreateTrainingJobInput) Validate() error {
19764	invalidParams := request.ErrInvalidParams{Context: "CreateTrainingJobInput"}
19765	if s.AlgorithmSpecification == nil {
19766		invalidParams.Add(request.NewErrParamRequired("AlgorithmSpecification"))
19767	}
19768	if s.InputDataConfig != nil && len(s.InputDataConfig) < 1 {
19769		invalidParams.Add(request.NewErrParamMinLen("InputDataConfig", 1))
19770	}
19771	if s.OutputDataConfig == nil {
19772		invalidParams.Add(request.NewErrParamRequired("OutputDataConfig"))
19773	}
19774	if s.ResourceConfig == nil {
19775		invalidParams.Add(request.NewErrParamRequired("ResourceConfig"))
19776	}
19777	if s.RoleArn == nil {
19778		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
19779	}
19780	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
19781		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
19782	}
19783	if s.StoppingCondition == nil {
19784		invalidParams.Add(request.NewErrParamRequired("StoppingCondition"))
19785	}
19786	if s.TrainingJobName == nil {
19787		invalidParams.Add(request.NewErrParamRequired("TrainingJobName"))
19788	}
19789	if s.TrainingJobName != nil && len(*s.TrainingJobName) < 1 {
19790		invalidParams.Add(request.NewErrParamMinLen("TrainingJobName", 1))
19791	}
19792	if s.AlgorithmSpecification != nil {
19793		if err := s.AlgorithmSpecification.Validate(); err != nil {
19794			invalidParams.AddNested("AlgorithmSpecification", err.(request.ErrInvalidParams))
19795		}
19796	}
19797	if s.CheckpointConfig != nil {
19798		if err := s.CheckpointConfig.Validate(); err != nil {
19799			invalidParams.AddNested("CheckpointConfig", err.(request.ErrInvalidParams))
19800		}
19801	}
19802	if s.DebugHookConfig != nil {
19803		if err := s.DebugHookConfig.Validate(); err != nil {
19804			invalidParams.AddNested("DebugHookConfig", err.(request.ErrInvalidParams))
19805		}
19806	}
19807	if s.DebugRuleConfigurations != nil {
19808		for i, v := range s.DebugRuleConfigurations {
19809			if v == nil {
19810				continue
19811			}
19812			if err := v.Validate(); err != nil {
19813				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DebugRuleConfigurations", i), err.(request.ErrInvalidParams))
19814			}
19815		}
19816	}
19817	if s.ExperimentConfig != nil {
19818		if err := s.ExperimentConfig.Validate(); err != nil {
19819			invalidParams.AddNested("ExperimentConfig", err.(request.ErrInvalidParams))
19820		}
19821	}
19822	if s.InputDataConfig != nil {
19823		for i, v := range s.InputDataConfig {
19824			if v == nil {
19825				continue
19826			}
19827			if err := v.Validate(); err != nil {
19828				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputDataConfig", i), err.(request.ErrInvalidParams))
19829			}
19830		}
19831	}
19832	if s.OutputDataConfig != nil {
19833		if err := s.OutputDataConfig.Validate(); err != nil {
19834			invalidParams.AddNested("OutputDataConfig", err.(request.ErrInvalidParams))
19835		}
19836	}
19837	if s.ResourceConfig != nil {
19838		if err := s.ResourceConfig.Validate(); err != nil {
19839			invalidParams.AddNested("ResourceConfig", err.(request.ErrInvalidParams))
19840		}
19841	}
19842	if s.StoppingCondition != nil {
19843		if err := s.StoppingCondition.Validate(); err != nil {
19844			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
19845		}
19846	}
19847	if s.Tags != nil {
19848		for i, v := range s.Tags {
19849			if v == nil {
19850				continue
19851			}
19852			if err := v.Validate(); err != nil {
19853				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
19854			}
19855		}
19856	}
19857	if s.TensorBoardOutputConfig != nil {
19858		if err := s.TensorBoardOutputConfig.Validate(); err != nil {
19859			invalidParams.AddNested("TensorBoardOutputConfig", err.(request.ErrInvalidParams))
19860		}
19861	}
19862	if s.VpcConfig != nil {
19863		if err := s.VpcConfig.Validate(); err != nil {
19864			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
19865		}
19866	}
19867
19868	if invalidParams.Len() > 0 {
19869		return invalidParams
19870	}
19871	return nil
19872}
19873
19874// SetAlgorithmSpecification sets the AlgorithmSpecification field's value.
19875func (s *CreateTrainingJobInput) SetAlgorithmSpecification(v *AlgorithmSpecification) *CreateTrainingJobInput {
19876	s.AlgorithmSpecification = v
19877	return s
19878}
19879
19880// SetCheckpointConfig sets the CheckpointConfig field's value.
19881func (s *CreateTrainingJobInput) SetCheckpointConfig(v *CheckpointConfig) *CreateTrainingJobInput {
19882	s.CheckpointConfig = v
19883	return s
19884}
19885
19886// SetDebugHookConfig sets the DebugHookConfig field's value.
19887func (s *CreateTrainingJobInput) SetDebugHookConfig(v *DebugHookConfig) *CreateTrainingJobInput {
19888	s.DebugHookConfig = v
19889	return s
19890}
19891
19892// SetDebugRuleConfigurations sets the DebugRuleConfigurations field's value.
19893func (s *CreateTrainingJobInput) SetDebugRuleConfigurations(v []*DebugRuleConfiguration) *CreateTrainingJobInput {
19894	s.DebugRuleConfigurations = v
19895	return s
19896}
19897
19898// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
19899func (s *CreateTrainingJobInput) SetEnableInterContainerTrafficEncryption(v bool) *CreateTrainingJobInput {
19900	s.EnableInterContainerTrafficEncryption = &v
19901	return s
19902}
19903
19904// SetEnableManagedSpotTraining sets the EnableManagedSpotTraining field's value.
19905func (s *CreateTrainingJobInput) SetEnableManagedSpotTraining(v bool) *CreateTrainingJobInput {
19906	s.EnableManagedSpotTraining = &v
19907	return s
19908}
19909
19910// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
19911func (s *CreateTrainingJobInput) SetEnableNetworkIsolation(v bool) *CreateTrainingJobInput {
19912	s.EnableNetworkIsolation = &v
19913	return s
19914}
19915
19916// SetExperimentConfig sets the ExperimentConfig field's value.
19917func (s *CreateTrainingJobInput) SetExperimentConfig(v *ExperimentConfig) *CreateTrainingJobInput {
19918	s.ExperimentConfig = v
19919	return s
19920}
19921
19922// SetHyperParameters sets the HyperParameters field's value.
19923func (s *CreateTrainingJobInput) SetHyperParameters(v map[string]*string) *CreateTrainingJobInput {
19924	s.HyperParameters = v
19925	return s
19926}
19927
19928// SetInputDataConfig sets the InputDataConfig field's value.
19929func (s *CreateTrainingJobInput) SetInputDataConfig(v []*Channel) *CreateTrainingJobInput {
19930	s.InputDataConfig = v
19931	return s
19932}
19933
19934// SetOutputDataConfig sets the OutputDataConfig field's value.
19935func (s *CreateTrainingJobInput) SetOutputDataConfig(v *OutputDataConfig) *CreateTrainingJobInput {
19936	s.OutputDataConfig = v
19937	return s
19938}
19939
19940// SetResourceConfig sets the ResourceConfig field's value.
19941func (s *CreateTrainingJobInput) SetResourceConfig(v *ResourceConfig) *CreateTrainingJobInput {
19942	s.ResourceConfig = v
19943	return s
19944}
19945
19946// SetRoleArn sets the RoleArn field's value.
19947func (s *CreateTrainingJobInput) SetRoleArn(v string) *CreateTrainingJobInput {
19948	s.RoleArn = &v
19949	return s
19950}
19951
19952// SetStoppingCondition sets the StoppingCondition field's value.
19953func (s *CreateTrainingJobInput) SetStoppingCondition(v *StoppingCondition) *CreateTrainingJobInput {
19954	s.StoppingCondition = v
19955	return s
19956}
19957
19958// SetTags sets the Tags field's value.
19959func (s *CreateTrainingJobInput) SetTags(v []*Tag) *CreateTrainingJobInput {
19960	s.Tags = v
19961	return s
19962}
19963
19964// SetTensorBoardOutputConfig sets the TensorBoardOutputConfig field's value.
19965func (s *CreateTrainingJobInput) SetTensorBoardOutputConfig(v *TensorBoardOutputConfig) *CreateTrainingJobInput {
19966	s.TensorBoardOutputConfig = v
19967	return s
19968}
19969
19970// SetTrainingJobName sets the TrainingJobName field's value.
19971func (s *CreateTrainingJobInput) SetTrainingJobName(v string) *CreateTrainingJobInput {
19972	s.TrainingJobName = &v
19973	return s
19974}
19975
19976// SetVpcConfig sets the VpcConfig field's value.
19977func (s *CreateTrainingJobInput) SetVpcConfig(v *VpcConfig) *CreateTrainingJobInput {
19978	s.VpcConfig = v
19979	return s
19980}
19981
19982type CreateTrainingJobOutput struct {
19983	_ struct{} `type:"structure"`
19984
19985	// The Amazon Resource Name (ARN) of the training job.
19986	//
19987	// TrainingJobArn is a required field
19988	TrainingJobArn *string `type:"string" required:"true"`
19989}
19990
19991// String returns the string representation
19992func (s CreateTrainingJobOutput) String() string {
19993	return awsutil.Prettify(s)
19994}
19995
19996// GoString returns the string representation
19997func (s CreateTrainingJobOutput) GoString() string {
19998	return s.String()
19999}
20000
20001// SetTrainingJobArn sets the TrainingJobArn field's value.
20002func (s *CreateTrainingJobOutput) SetTrainingJobArn(v string) *CreateTrainingJobOutput {
20003	s.TrainingJobArn = &v
20004	return s
20005}
20006
20007type CreateTransformJobInput struct {
20008	_ struct{} `type:"structure"`
20009
20010	// Specifies the number of records to include in a mini-batch for an HTTP inference
20011	// request. A record is a single unit of input data that inference can be made
20012	// on. For example, a single line in a CSV file is a record.
20013	//
20014	// To enable the batch strategy, you must set the SplitType property to Line,
20015	// RecordIO, or TFRecord.
20016	//
20017	// To use only one record when making an HTTP invocation request to a container,
20018	// set BatchStrategy to SingleRecord and SplitType to Line.
20019	//
20020	// To fit as many records in a mini-batch as can fit within the MaxPayloadInMB
20021	// limit, set BatchStrategy to MultiRecord and SplitType to Line.
20022	BatchStrategy *string `type:"string" enum:"BatchStrategy"`
20023
20024	// The data structure used to specify the data to be used for inference in a
20025	// batch transform job and to associate the data that is relevant to the prediction
20026	// results in the output. The input filter provided allows you to exclude input
20027	// data that is not needed for inference in a batch transform job. The output
20028	// filter provided allows you to include input data relevant to interpreting
20029	// the predictions in the output from the job. For more information, see Associate
20030	// Prediction Results with their Corresponding Input Records (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html).
20031	DataProcessing *DataProcessing `type:"structure"`
20032
20033	// The environment variables to set in the Docker container. We support up to
20034	// 16 key and values entries in the map.
20035	Environment map[string]*string `type:"map"`
20036
20037	// Associates a SageMaker job as a trial component with an experiment and trial.
20038	// Specified when you call the following APIs:
20039	//
20040	//    * CreateProcessingJob
20041	//
20042	//    * CreateTrainingJob
20043	//
20044	//    * CreateTransformJob
20045	ExperimentConfig *ExperimentConfig `type:"structure"`
20046
20047	// The maximum number of parallel requests that can be sent to each instance
20048	// in a transform job. If MaxConcurrentTransforms is set to 0 or left unset,
20049	// Amazon SageMaker checks the optional execution-parameters to determine the
20050	// settings for your chosen algorithm. If the execution-parameters endpoint
20051	// is not enabled, the default value is 1. For more information on execution-parameters,
20052	// see How Containers Serve Requests (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-batch-code.html#your-algorithms-batch-code-how-containe-serves-requests).
20053	// For built-in algorithms, you don't need to set a value for MaxConcurrentTransforms.
20054	MaxConcurrentTransforms *int64 `type:"integer"`
20055
20056	// The maximum allowed size of the payload, in MB. A payload is the data portion
20057	// of a record (without metadata). The value in MaxPayloadInMB must be greater
20058	// than, or equal to, the size of a single record. To estimate the size of a
20059	// record in MB, divide the size of your dataset by the number of records. To
20060	// ensure that the records fit within the maximum payload size, we recommend
20061	// using a slightly larger value. The default value is 6 MB.
20062	//
20063	// For cases where the payload might be arbitrarily large and is transmitted
20064	// using HTTP chunked encoding, set the value to 0. This feature works only
20065	// in supported algorithms. Currently, Amazon SageMaker built-in algorithms
20066	// do not support HTTP chunked encoding.
20067	MaxPayloadInMB *int64 `type:"integer"`
20068
20069	// Configures the timeout and maximum number of retries for processing a transform
20070	// job invocation.
20071	ModelClientConfig *ModelClientConfig `type:"structure"`
20072
20073	// The name of the model that you want to use for the transform job. ModelName
20074	// must be the name of an existing Amazon SageMaker model within an AWS Region
20075	// in an AWS account.
20076	//
20077	// ModelName is a required field
20078	ModelName *string `type:"string" required:"true"`
20079
20080	// (Optional) An array of key-value pairs. For more information, see Using Cost
20081	// Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
20082	// in the AWS Billing and Cost Management User Guide.
20083	Tags []*Tag `type:"list"`
20084
20085	// Describes the input source and the way the transform job consumes it.
20086	//
20087	// TransformInput is a required field
20088	TransformInput *TransformInput `type:"structure" required:"true"`
20089
20090	// The name of the transform job. The name must be unique within an AWS Region
20091	// in an AWS account.
20092	//
20093	// TransformJobName is a required field
20094	TransformJobName *string `min:"1" type:"string" required:"true"`
20095
20096	// Describes the results of the transform job.
20097	//
20098	// TransformOutput is a required field
20099	TransformOutput *TransformOutput `type:"structure" required:"true"`
20100
20101	// Describes the resources, including ML instance types and ML instance count,
20102	// to use for the transform job.
20103	//
20104	// TransformResources is a required field
20105	TransformResources *TransformResources `type:"structure" required:"true"`
20106}
20107
20108// String returns the string representation
20109func (s CreateTransformJobInput) String() string {
20110	return awsutil.Prettify(s)
20111}
20112
20113// GoString returns the string representation
20114func (s CreateTransformJobInput) GoString() string {
20115	return s.String()
20116}
20117
20118// Validate inspects the fields of the type to determine if they are valid.
20119func (s *CreateTransformJobInput) Validate() error {
20120	invalidParams := request.ErrInvalidParams{Context: "CreateTransformJobInput"}
20121	if s.ModelName == nil {
20122		invalidParams.Add(request.NewErrParamRequired("ModelName"))
20123	}
20124	if s.TransformInput == nil {
20125		invalidParams.Add(request.NewErrParamRequired("TransformInput"))
20126	}
20127	if s.TransformJobName == nil {
20128		invalidParams.Add(request.NewErrParamRequired("TransformJobName"))
20129	}
20130	if s.TransformJobName != nil && len(*s.TransformJobName) < 1 {
20131		invalidParams.Add(request.NewErrParamMinLen("TransformJobName", 1))
20132	}
20133	if s.TransformOutput == nil {
20134		invalidParams.Add(request.NewErrParamRequired("TransformOutput"))
20135	}
20136	if s.TransformResources == nil {
20137		invalidParams.Add(request.NewErrParamRequired("TransformResources"))
20138	}
20139	if s.ExperimentConfig != nil {
20140		if err := s.ExperimentConfig.Validate(); err != nil {
20141			invalidParams.AddNested("ExperimentConfig", err.(request.ErrInvalidParams))
20142		}
20143	}
20144	if s.ModelClientConfig != nil {
20145		if err := s.ModelClientConfig.Validate(); err != nil {
20146			invalidParams.AddNested("ModelClientConfig", err.(request.ErrInvalidParams))
20147		}
20148	}
20149	if s.Tags != nil {
20150		for i, v := range s.Tags {
20151			if v == nil {
20152				continue
20153			}
20154			if err := v.Validate(); err != nil {
20155				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
20156			}
20157		}
20158	}
20159	if s.TransformInput != nil {
20160		if err := s.TransformInput.Validate(); err != nil {
20161			invalidParams.AddNested("TransformInput", err.(request.ErrInvalidParams))
20162		}
20163	}
20164	if s.TransformOutput != nil {
20165		if err := s.TransformOutput.Validate(); err != nil {
20166			invalidParams.AddNested("TransformOutput", err.(request.ErrInvalidParams))
20167		}
20168	}
20169	if s.TransformResources != nil {
20170		if err := s.TransformResources.Validate(); err != nil {
20171			invalidParams.AddNested("TransformResources", err.(request.ErrInvalidParams))
20172		}
20173	}
20174
20175	if invalidParams.Len() > 0 {
20176		return invalidParams
20177	}
20178	return nil
20179}
20180
20181// SetBatchStrategy sets the BatchStrategy field's value.
20182func (s *CreateTransformJobInput) SetBatchStrategy(v string) *CreateTransformJobInput {
20183	s.BatchStrategy = &v
20184	return s
20185}
20186
20187// SetDataProcessing sets the DataProcessing field's value.
20188func (s *CreateTransformJobInput) SetDataProcessing(v *DataProcessing) *CreateTransformJobInput {
20189	s.DataProcessing = v
20190	return s
20191}
20192
20193// SetEnvironment sets the Environment field's value.
20194func (s *CreateTransformJobInput) SetEnvironment(v map[string]*string) *CreateTransformJobInput {
20195	s.Environment = v
20196	return s
20197}
20198
20199// SetExperimentConfig sets the ExperimentConfig field's value.
20200func (s *CreateTransformJobInput) SetExperimentConfig(v *ExperimentConfig) *CreateTransformJobInput {
20201	s.ExperimentConfig = v
20202	return s
20203}
20204
20205// SetMaxConcurrentTransforms sets the MaxConcurrentTransforms field's value.
20206func (s *CreateTransformJobInput) SetMaxConcurrentTransforms(v int64) *CreateTransformJobInput {
20207	s.MaxConcurrentTransforms = &v
20208	return s
20209}
20210
20211// SetMaxPayloadInMB sets the MaxPayloadInMB field's value.
20212func (s *CreateTransformJobInput) SetMaxPayloadInMB(v int64) *CreateTransformJobInput {
20213	s.MaxPayloadInMB = &v
20214	return s
20215}
20216
20217// SetModelClientConfig sets the ModelClientConfig field's value.
20218func (s *CreateTransformJobInput) SetModelClientConfig(v *ModelClientConfig) *CreateTransformJobInput {
20219	s.ModelClientConfig = v
20220	return s
20221}
20222
20223// SetModelName sets the ModelName field's value.
20224func (s *CreateTransformJobInput) SetModelName(v string) *CreateTransformJobInput {
20225	s.ModelName = &v
20226	return s
20227}
20228
20229// SetTags sets the Tags field's value.
20230func (s *CreateTransformJobInput) SetTags(v []*Tag) *CreateTransformJobInput {
20231	s.Tags = v
20232	return s
20233}
20234
20235// SetTransformInput sets the TransformInput field's value.
20236func (s *CreateTransformJobInput) SetTransformInput(v *TransformInput) *CreateTransformJobInput {
20237	s.TransformInput = v
20238	return s
20239}
20240
20241// SetTransformJobName sets the TransformJobName field's value.
20242func (s *CreateTransformJobInput) SetTransformJobName(v string) *CreateTransformJobInput {
20243	s.TransformJobName = &v
20244	return s
20245}
20246
20247// SetTransformOutput sets the TransformOutput field's value.
20248func (s *CreateTransformJobInput) SetTransformOutput(v *TransformOutput) *CreateTransformJobInput {
20249	s.TransformOutput = v
20250	return s
20251}
20252
20253// SetTransformResources sets the TransformResources field's value.
20254func (s *CreateTransformJobInput) SetTransformResources(v *TransformResources) *CreateTransformJobInput {
20255	s.TransformResources = v
20256	return s
20257}
20258
20259type CreateTransformJobOutput struct {
20260	_ struct{} `type:"structure"`
20261
20262	// The Amazon Resource Name (ARN) of the transform job.
20263	//
20264	// TransformJobArn is a required field
20265	TransformJobArn *string `type:"string" required:"true"`
20266}
20267
20268// String returns the string representation
20269func (s CreateTransformJobOutput) String() string {
20270	return awsutil.Prettify(s)
20271}
20272
20273// GoString returns the string representation
20274func (s CreateTransformJobOutput) GoString() string {
20275	return s.String()
20276}
20277
20278// SetTransformJobArn sets the TransformJobArn field's value.
20279func (s *CreateTransformJobOutput) SetTransformJobArn(v string) *CreateTransformJobOutput {
20280	s.TransformJobArn = &v
20281	return s
20282}
20283
20284type CreateTrialComponentInput struct {
20285	_ struct{} `type:"structure"`
20286
20287	// The name of the component as displayed. The name doesn't need to be unique.
20288	// If DisplayName isn't specified, TrialComponentName is displayed.
20289	DisplayName *string `min:"1" type:"string"`
20290
20291	// When the component ended.
20292	EndTime *time.Time `type:"timestamp"`
20293
20294	// The input artifacts for the component. Examples of input artifacts are datasets,
20295	// algorithms, hyperparameters, source code, and instance types.
20296	InputArtifacts map[string]*TrialComponentArtifact `type:"map"`
20297
20298	// The output artifacts for the component. Examples of output artifacts are
20299	// metrics, snapshots, logs, and images.
20300	OutputArtifacts map[string]*TrialComponentArtifact `type:"map"`
20301
20302	// The hyperparameters for the component.
20303	Parameters map[string]*TrialComponentParameterValue `type:"map"`
20304
20305	// When the component started.
20306	StartTime *time.Time `type:"timestamp"`
20307
20308	// The status of the component. States include:
20309	//
20310	//    * InProgress
20311	//
20312	//    * Completed
20313	//
20314	//    * Failed
20315	Status *TrialComponentStatus `type:"structure"`
20316
20317	// A list of tags to associate with the component. You can use Search API to
20318	// search on the tags.
20319	Tags []*Tag `type:"list"`
20320
20321	// The name of the component. The name must be unique in your AWS account and
20322	// is not case-sensitive.
20323	//
20324	// TrialComponentName is a required field
20325	TrialComponentName *string `min:"1" type:"string" required:"true"`
20326}
20327
20328// String returns the string representation
20329func (s CreateTrialComponentInput) String() string {
20330	return awsutil.Prettify(s)
20331}
20332
20333// GoString returns the string representation
20334func (s CreateTrialComponentInput) GoString() string {
20335	return s.String()
20336}
20337
20338// Validate inspects the fields of the type to determine if they are valid.
20339func (s *CreateTrialComponentInput) Validate() error {
20340	invalidParams := request.ErrInvalidParams{Context: "CreateTrialComponentInput"}
20341	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
20342		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
20343	}
20344	if s.TrialComponentName == nil {
20345		invalidParams.Add(request.NewErrParamRequired("TrialComponentName"))
20346	}
20347	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
20348		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
20349	}
20350	if s.InputArtifacts != nil {
20351		for i, v := range s.InputArtifacts {
20352			if v == nil {
20353				continue
20354			}
20355			if err := v.Validate(); err != nil {
20356				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputArtifacts", i), err.(request.ErrInvalidParams))
20357			}
20358		}
20359	}
20360	if s.OutputArtifacts != nil {
20361		for i, v := range s.OutputArtifacts {
20362			if v == nil {
20363				continue
20364			}
20365			if err := v.Validate(); err != nil {
20366				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OutputArtifacts", i), err.(request.ErrInvalidParams))
20367			}
20368		}
20369	}
20370	if s.Tags != nil {
20371		for i, v := range s.Tags {
20372			if v == nil {
20373				continue
20374			}
20375			if err := v.Validate(); err != nil {
20376				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
20377			}
20378		}
20379	}
20380
20381	if invalidParams.Len() > 0 {
20382		return invalidParams
20383	}
20384	return nil
20385}
20386
20387// SetDisplayName sets the DisplayName field's value.
20388func (s *CreateTrialComponentInput) SetDisplayName(v string) *CreateTrialComponentInput {
20389	s.DisplayName = &v
20390	return s
20391}
20392
20393// SetEndTime sets the EndTime field's value.
20394func (s *CreateTrialComponentInput) SetEndTime(v time.Time) *CreateTrialComponentInput {
20395	s.EndTime = &v
20396	return s
20397}
20398
20399// SetInputArtifacts sets the InputArtifacts field's value.
20400func (s *CreateTrialComponentInput) SetInputArtifacts(v map[string]*TrialComponentArtifact) *CreateTrialComponentInput {
20401	s.InputArtifacts = v
20402	return s
20403}
20404
20405// SetOutputArtifacts sets the OutputArtifacts field's value.
20406func (s *CreateTrialComponentInput) SetOutputArtifacts(v map[string]*TrialComponentArtifact) *CreateTrialComponentInput {
20407	s.OutputArtifacts = v
20408	return s
20409}
20410
20411// SetParameters sets the Parameters field's value.
20412func (s *CreateTrialComponentInput) SetParameters(v map[string]*TrialComponentParameterValue) *CreateTrialComponentInput {
20413	s.Parameters = v
20414	return s
20415}
20416
20417// SetStartTime sets the StartTime field's value.
20418func (s *CreateTrialComponentInput) SetStartTime(v time.Time) *CreateTrialComponentInput {
20419	s.StartTime = &v
20420	return s
20421}
20422
20423// SetStatus sets the Status field's value.
20424func (s *CreateTrialComponentInput) SetStatus(v *TrialComponentStatus) *CreateTrialComponentInput {
20425	s.Status = v
20426	return s
20427}
20428
20429// SetTags sets the Tags field's value.
20430func (s *CreateTrialComponentInput) SetTags(v []*Tag) *CreateTrialComponentInput {
20431	s.Tags = v
20432	return s
20433}
20434
20435// SetTrialComponentName sets the TrialComponentName field's value.
20436func (s *CreateTrialComponentInput) SetTrialComponentName(v string) *CreateTrialComponentInput {
20437	s.TrialComponentName = &v
20438	return s
20439}
20440
20441type CreateTrialComponentOutput struct {
20442	_ struct{} `type:"structure"`
20443
20444	// The Amazon Resource Name (ARN) of the trial component.
20445	TrialComponentArn *string `type:"string"`
20446}
20447
20448// String returns the string representation
20449func (s CreateTrialComponentOutput) String() string {
20450	return awsutil.Prettify(s)
20451}
20452
20453// GoString returns the string representation
20454func (s CreateTrialComponentOutput) GoString() string {
20455	return s.String()
20456}
20457
20458// SetTrialComponentArn sets the TrialComponentArn field's value.
20459func (s *CreateTrialComponentOutput) SetTrialComponentArn(v string) *CreateTrialComponentOutput {
20460	s.TrialComponentArn = &v
20461	return s
20462}
20463
20464type CreateTrialInput struct {
20465	_ struct{} `type:"structure"`
20466
20467	// The name of the trial as displayed. The name doesn't need to be unique. If
20468	// DisplayName isn't specified, TrialName is displayed.
20469	DisplayName *string `min:"1" type:"string"`
20470
20471	// The name of the experiment to associate the trial with.
20472	//
20473	// ExperimentName is a required field
20474	ExperimentName *string `min:"1" type:"string" required:"true"`
20475
20476	// A list of tags to associate with the trial. You can use Search API to search
20477	// on the tags.
20478	Tags []*Tag `type:"list"`
20479
20480	// The name of the trial. The name must be unique in your AWS account and is
20481	// not case-sensitive.
20482	//
20483	// TrialName is a required field
20484	TrialName *string `min:"1" type:"string" required:"true"`
20485}
20486
20487// String returns the string representation
20488func (s CreateTrialInput) String() string {
20489	return awsutil.Prettify(s)
20490}
20491
20492// GoString returns the string representation
20493func (s CreateTrialInput) GoString() string {
20494	return s.String()
20495}
20496
20497// Validate inspects the fields of the type to determine if they are valid.
20498func (s *CreateTrialInput) Validate() error {
20499	invalidParams := request.ErrInvalidParams{Context: "CreateTrialInput"}
20500	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
20501		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
20502	}
20503	if s.ExperimentName == nil {
20504		invalidParams.Add(request.NewErrParamRequired("ExperimentName"))
20505	}
20506	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
20507		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
20508	}
20509	if s.TrialName == nil {
20510		invalidParams.Add(request.NewErrParamRequired("TrialName"))
20511	}
20512	if s.TrialName != nil && len(*s.TrialName) < 1 {
20513		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
20514	}
20515	if s.Tags != nil {
20516		for i, v := range s.Tags {
20517			if v == nil {
20518				continue
20519			}
20520			if err := v.Validate(); err != nil {
20521				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
20522			}
20523		}
20524	}
20525
20526	if invalidParams.Len() > 0 {
20527		return invalidParams
20528	}
20529	return nil
20530}
20531
20532// SetDisplayName sets the DisplayName field's value.
20533func (s *CreateTrialInput) SetDisplayName(v string) *CreateTrialInput {
20534	s.DisplayName = &v
20535	return s
20536}
20537
20538// SetExperimentName sets the ExperimentName field's value.
20539func (s *CreateTrialInput) SetExperimentName(v string) *CreateTrialInput {
20540	s.ExperimentName = &v
20541	return s
20542}
20543
20544// SetTags sets the Tags field's value.
20545func (s *CreateTrialInput) SetTags(v []*Tag) *CreateTrialInput {
20546	s.Tags = v
20547	return s
20548}
20549
20550// SetTrialName sets the TrialName field's value.
20551func (s *CreateTrialInput) SetTrialName(v string) *CreateTrialInput {
20552	s.TrialName = &v
20553	return s
20554}
20555
20556type CreateTrialOutput struct {
20557	_ struct{} `type:"structure"`
20558
20559	// The Amazon Resource Name (ARN) of the trial.
20560	TrialArn *string `type:"string"`
20561}
20562
20563// String returns the string representation
20564func (s CreateTrialOutput) String() string {
20565	return awsutil.Prettify(s)
20566}
20567
20568// GoString returns the string representation
20569func (s CreateTrialOutput) GoString() string {
20570	return s.String()
20571}
20572
20573// SetTrialArn sets the TrialArn field's value.
20574func (s *CreateTrialOutput) SetTrialArn(v string) *CreateTrialOutput {
20575	s.TrialArn = &v
20576	return s
20577}
20578
20579type CreateUserProfileInput struct {
20580	_ struct{} `type:"structure"`
20581
20582	// The ID of the associated Domain.
20583	//
20584	// DomainId is a required field
20585	DomainId *string `type:"string" required:"true"`
20586
20587	// A specifier for the type of value specified in SingleSignOnUserValue. Currently,
20588	// the only supported value is "UserName". If the Domain's AuthMode is SSO,
20589	// this field is required. If the Domain's AuthMode is not SSO, this field cannot
20590	// be specified.
20591	SingleSignOnUserIdentifier *string `type:"string"`
20592
20593	// The username of the associated AWS Single Sign-On User for this UserProfile.
20594	// If the Domain's AuthMode is SSO, this field is required, and must match a
20595	// valid username of a user in your directory. If the Domain's AuthMode is not
20596	// SSO, this field cannot be specified.
20597	SingleSignOnUserValue *string `type:"string"`
20598
20599	// Each tag consists of a key and an optional value. Tag keys must be unique
20600	// per resource.
20601	Tags []*Tag `type:"list"`
20602
20603	// A name for the UserProfile.
20604	//
20605	// UserProfileName is a required field
20606	UserProfileName *string `type:"string" required:"true"`
20607
20608	// A collection of settings.
20609	UserSettings *UserSettings `type:"structure"`
20610}
20611
20612// String returns the string representation
20613func (s CreateUserProfileInput) String() string {
20614	return awsutil.Prettify(s)
20615}
20616
20617// GoString returns the string representation
20618func (s CreateUserProfileInput) GoString() string {
20619	return s.String()
20620}
20621
20622// Validate inspects the fields of the type to determine if they are valid.
20623func (s *CreateUserProfileInput) Validate() error {
20624	invalidParams := request.ErrInvalidParams{Context: "CreateUserProfileInput"}
20625	if s.DomainId == nil {
20626		invalidParams.Add(request.NewErrParamRequired("DomainId"))
20627	}
20628	if s.UserProfileName == nil {
20629		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
20630	}
20631	if s.Tags != nil {
20632		for i, v := range s.Tags {
20633			if v == nil {
20634				continue
20635			}
20636			if err := v.Validate(); err != nil {
20637				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
20638			}
20639		}
20640	}
20641	if s.UserSettings != nil {
20642		if err := s.UserSettings.Validate(); err != nil {
20643			invalidParams.AddNested("UserSettings", err.(request.ErrInvalidParams))
20644		}
20645	}
20646
20647	if invalidParams.Len() > 0 {
20648		return invalidParams
20649	}
20650	return nil
20651}
20652
20653// SetDomainId sets the DomainId field's value.
20654func (s *CreateUserProfileInput) SetDomainId(v string) *CreateUserProfileInput {
20655	s.DomainId = &v
20656	return s
20657}
20658
20659// SetSingleSignOnUserIdentifier sets the SingleSignOnUserIdentifier field's value.
20660func (s *CreateUserProfileInput) SetSingleSignOnUserIdentifier(v string) *CreateUserProfileInput {
20661	s.SingleSignOnUserIdentifier = &v
20662	return s
20663}
20664
20665// SetSingleSignOnUserValue sets the SingleSignOnUserValue field's value.
20666func (s *CreateUserProfileInput) SetSingleSignOnUserValue(v string) *CreateUserProfileInput {
20667	s.SingleSignOnUserValue = &v
20668	return s
20669}
20670
20671// SetTags sets the Tags field's value.
20672func (s *CreateUserProfileInput) SetTags(v []*Tag) *CreateUserProfileInput {
20673	s.Tags = v
20674	return s
20675}
20676
20677// SetUserProfileName sets the UserProfileName field's value.
20678func (s *CreateUserProfileInput) SetUserProfileName(v string) *CreateUserProfileInput {
20679	s.UserProfileName = &v
20680	return s
20681}
20682
20683// SetUserSettings sets the UserSettings field's value.
20684func (s *CreateUserProfileInput) SetUserSettings(v *UserSettings) *CreateUserProfileInput {
20685	s.UserSettings = v
20686	return s
20687}
20688
20689type CreateUserProfileOutput struct {
20690	_ struct{} `type:"structure"`
20691
20692	// The user profile Amazon Resource Name (ARN).
20693	UserProfileArn *string `type:"string"`
20694}
20695
20696// String returns the string representation
20697func (s CreateUserProfileOutput) String() string {
20698	return awsutil.Prettify(s)
20699}
20700
20701// GoString returns the string representation
20702func (s CreateUserProfileOutput) GoString() string {
20703	return s.String()
20704}
20705
20706// SetUserProfileArn sets the UserProfileArn field's value.
20707func (s *CreateUserProfileOutput) SetUserProfileArn(v string) *CreateUserProfileOutput {
20708	s.UserProfileArn = &v
20709	return s
20710}
20711
20712type CreateWorkforceInput struct {
20713	_ struct{} `type:"structure"`
20714
20715	// Use this parameter to configure an Amazon Cognito private workforce. A single
20716	// Cognito workforce is created using and corresponds to a single Amazon Cognito
20717	// user pool (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html).
20718	//
20719	// Do not use OidcConfig if you specify values for CognitoConfig.
20720	CognitoConfig *CognitoConfig `type:"structure"`
20721
20722	// Use this parameter to configure a private workforce using your own OIDC Identity
20723	// Provider. Do not use CognitoConfig if you specify values for OidcConfig.
20724	OidcConfig *OidcConfig `type:"structure"`
20725
20726	// A list of IP address ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html)).
20727	// Used to create an allow list of IP addresses for a private workforce. For
20728	// more information, see .
20729	SourceIpConfig *SourceIpConfig `type:"structure"`
20730
20731	// An array of key-value pairs that contain metadata to help you categorize
20732	// and organize our workforce. Each tag consists of a key and a value, both
20733	// of which you define.
20734	Tags []*Tag `type:"list"`
20735
20736	// The name of the private workforce.
20737	//
20738	// WorkforceName is a required field
20739	WorkforceName *string `min:"1" type:"string" required:"true"`
20740}
20741
20742// String returns the string representation
20743func (s CreateWorkforceInput) String() string {
20744	return awsutil.Prettify(s)
20745}
20746
20747// GoString returns the string representation
20748func (s CreateWorkforceInput) GoString() string {
20749	return s.String()
20750}
20751
20752// Validate inspects the fields of the type to determine if they are valid.
20753func (s *CreateWorkforceInput) Validate() error {
20754	invalidParams := request.ErrInvalidParams{Context: "CreateWorkforceInput"}
20755	if s.WorkforceName == nil {
20756		invalidParams.Add(request.NewErrParamRequired("WorkforceName"))
20757	}
20758	if s.WorkforceName != nil && len(*s.WorkforceName) < 1 {
20759		invalidParams.Add(request.NewErrParamMinLen("WorkforceName", 1))
20760	}
20761	if s.CognitoConfig != nil {
20762		if err := s.CognitoConfig.Validate(); err != nil {
20763			invalidParams.AddNested("CognitoConfig", err.(request.ErrInvalidParams))
20764		}
20765	}
20766	if s.OidcConfig != nil {
20767		if err := s.OidcConfig.Validate(); err != nil {
20768			invalidParams.AddNested("OidcConfig", err.(request.ErrInvalidParams))
20769		}
20770	}
20771	if s.SourceIpConfig != nil {
20772		if err := s.SourceIpConfig.Validate(); err != nil {
20773			invalidParams.AddNested("SourceIpConfig", err.(request.ErrInvalidParams))
20774		}
20775	}
20776	if s.Tags != nil {
20777		for i, v := range s.Tags {
20778			if v == nil {
20779				continue
20780			}
20781			if err := v.Validate(); err != nil {
20782				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
20783			}
20784		}
20785	}
20786
20787	if invalidParams.Len() > 0 {
20788		return invalidParams
20789	}
20790	return nil
20791}
20792
20793// SetCognitoConfig sets the CognitoConfig field's value.
20794func (s *CreateWorkforceInput) SetCognitoConfig(v *CognitoConfig) *CreateWorkforceInput {
20795	s.CognitoConfig = v
20796	return s
20797}
20798
20799// SetOidcConfig sets the OidcConfig field's value.
20800func (s *CreateWorkforceInput) SetOidcConfig(v *OidcConfig) *CreateWorkforceInput {
20801	s.OidcConfig = v
20802	return s
20803}
20804
20805// SetSourceIpConfig sets the SourceIpConfig field's value.
20806func (s *CreateWorkforceInput) SetSourceIpConfig(v *SourceIpConfig) *CreateWorkforceInput {
20807	s.SourceIpConfig = v
20808	return s
20809}
20810
20811// SetTags sets the Tags field's value.
20812func (s *CreateWorkforceInput) SetTags(v []*Tag) *CreateWorkforceInput {
20813	s.Tags = v
20814	return s
20815}
20816
20817// SetWorkforceName sets the WorkforceName field's value.
20818func (s *CreateWorkforceInput) SetWorkforceName(v string) *CreateWorkforceInput {
20819	s.WorkforceName = &v
20820	return s
20821}
20822
20823type CreateWorkforceOutput struct {
20824	_ struct{} `type:"structure"`
20825
20826	// The Amazon Resource Name (ARN) of the workforce.
20827	//
20828	// WorkforceArn is a required field
20829	WorkforceArn *string `type:"string" required:"true"`
20830}
20831
20832// String returns the string representation
20833func (s CreateWorkforceOutput) String() string {
20834	return awsutil.Prettify(s)
20835}
20836
20837// GoString returns the string representation
20838func (s CreateWorkforceOutput) GoString() string {
20839	return s.String()
20840}
20841
20842// SetWorkforceArn sets the WorkforceArn field's value.
20843func (s *CreateWorkforceOutput) SetWorkforceArn(v string) *CreateWorkforceOutput {
20844	s.WorkforceArn = &v
20845	return s
20846}
20847
20848type CreateWorkteamInput struct {
20849	_ struct{} `type:"structure"`
20850
20851	// A description of the work team.
20852	//
20853	// Description is a required field
20854	Description *string `min:"1" type:"string" required:"true"`
20855
20856	// A list of MemberDefinition objects that contains objects that identify the
20857	// Amazon Cognito user pool that makes up the work team. For more information,
20858	// see Amazon Cognito User Pools (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html).
20859	//
20860	// All of the CognitoMemberDefinition objects that make up the member definition
20861	// must have the same ClientId and UserPool values.
20862	//
20863	// MemberDefinitions is a required field
20864	MemberDefinitions []*MemberDefinition `min:"1" type:"list" required:"true"`
20865
20866	// Configures notification of workers regarding available or expiring work items.
20867	NotificationConfiguration *NotificationConfiguration `type:"structure"`
20868
20869	// An array of key-value pairs.
20870	//
20871	// For more information, see Resource Tag (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html)
20872	// and Using Cost Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
20873	// in the AWS Billing and Cost Management User Guide.
20874	Tags []*Tag `type:"list"`
20875
20876	// The name of the workforce.
20877	WorkforceName *string `min:"1" type:"string"`
20878
20879	// The name of the work team. Use this name to identify the work team.
20880	//
20881	// WorkteamName is a required field
20882	WorkteamName *string `min:"1" type:"string" required:"true"`
20883}
20884
20885// String returns the string representation
20886func (s CreateWorkteamInput) String() string {
20887	return awsutil.Prettify(s)
20888}
20889
20890// GoString returns the string representation
20891func (s CreateWorkteamInput) GoString() string {
20892	return s.String()
20893}
20894
20895// Validate inspects the fields of the type to determine if they are valid.
20896func (s *CreateWorkteamInput) Validate() error {
20897	invalidParams := request.ErrInvalidParams{Context: "CreateWorkteamInput"}
20898	if s.Description == nil {
20899		invalidParams.Add(request.NewErrParamRequired("Description"))
20900	}
20901	if s.Description != nil && len(*s.Description) < 1 {
20902		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
20903	}
20904	if s.MemberDefinitions == nil {
20905		invalidParams.Add(request.NewErrParamRequired("MemberDefinitions"))
20906	}
20907	if s.MemberDefinitions != nil && len(s.MemberDefinitions) < 1 {
20908		invalidParams.Add(request.NewErrParamMinLen("MemberDefinitions", 1))
20909	}
20910	if s.WorkforceName != nil && len(*s.WorkforceName) < 1 {
20911		invalidParams.Add(request.NewErrParamMinLen("WorkforceName", 1))
20912	}
20913	if s.WorkteamName == nil {
20914		invalidParams.Add(request.NewErrParamRequired("WorkteamName"))
20915	}
20916	if s.WorkteamName != nil && len(*s.WorkteamName) < 1 {
20917		invalidParams.Add(request.NewErrParamMinLen("WorkteamName", 1))
20918	}
20919	if s.MemberDefinitions != nil {
20920		for i, v := range s.MemberDefinitions {
20921			if v == nil {
20922				continue
20923			}
20924			if err := v.Validate(); err != nil {
20925				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MemberDefinitions", i), err.(request.ErrInvalidParams))
20926			}
20927		}
20928	}
20929	if s.Tags != nil {
20930		for i, v := range s.Tags {
20931			if v == nil {
20932				continue
20933			}
20934			if err := v.Validate(); err != nil {
20935				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
20936			}
20937		}
20938	}
20939
20940	if invalidParams.Len() > 0 {
20941		return invalidParams
20942	}
20943	return nil
20944}
20945
20946// SetDescription sets the Description field's value.
20947func (s *CreateWorkteamInput) SetDescription(v string) *CreateWorkteamInput {
20948	s.Description = &v
20949	return s
20950}
20951
20952// SetMemberDefinitions sets the MemberDefinitions field's value.
20953func (s *CreateWorkteamInput) SetMemberDefinitions(v []*MemberDefinition) *CreateWorkteamInput {
20954	s.MemberDefinitions = v
20955	return s
20956}
20957
20958// SetNotificationConfiguration sets the NotificationConfiguration field's value.
20959func (s *CreateWorkteamInput) SetNotificationConfiguration(v *NotificationConfiguration) *CreateWorkteamInput {
20960	s.NotificationConfiguration = v
20961	return s
20962}
20963
20964// SetTags sets the Tags field's value.
20965func (s *CreateWorkteamInput) SetTags(v []*Tag) *CreateWorkteamInput {
20966	s.Tags = v
20967	return s
20968}
20969
20970// SetWorkforceName sets the WorkforceName field's value.
20971func (s *CreateWorkteamInput) SetWorkforceName(v string) *CreateWorkteamInput {
20972	s.WorkforceName = &v
20973	return s
20974}
20975
20976// SetWorkteamName sets the WorkteamName field's value.
20977func (s *CreateWorkteamInput) SetWorkteamName(v string) *CreateWorkteamInput {
20978	s.WorkteamName = &v
20979	return s
20980}
20981
20982type CreateWorkteamOutput struct {
20983	_ struct{} `type:"structure"`
20984
20985	// The Amazon Resource Name (ARN) of the work team. You can use this ARN to
20986	// identify the work team.
20987	WorkteamArn *string `type:"string"`
20988}
20989
20990// String returns the string representation
20991func (s CreateWorkteamOutput) String() string {
20992	return awsutil.Prettify(s)
20993}
20994
20995// GoString returns the string representation
20996func (s CreateWorkteamOutput) GoString() string {
20997	return s.String()
20998}
20999
21000// SetWorkteamArn sets the WorkteamArn field's value.
21001func (s *CreateWorkteamOutput) SetWorkteamArn(v string) *CreateWorkteamOutput {
21002	s.WorkteamArn = &v
21003	return s
21004}
21005
21006type DataCaptureConfig struct {
21007	_ struct{} `type:"structure"`
21008
21009	CaptureContentTypeHeader *CaptureContentTypeHeader `type:"structure"`
21010
21011	// CaptureOptions is a required field
21012	CaptureOptions []*CaptureOption `min:"1" type:"list" required:"true"`
21013
21014	// DestinationS3Uri is a required field
21015	DestinationS3Uri *string `type:"string" required:"true"`
21016
21017	EnableCapture *bool `type:"boolean"`
21018
21019	// InitialSamplingPercentage is a required field
21020	InitialSamplingPercentage *int64 `type:"integer" required:"true"`
21021
21022	KmsKeyId *string `type:"string"`
21023}
21024
21025// String returns the string representation
21026func (s DataCaptureConfig) String() string {
21027	return awsutil.Prettify(s)
21028}
21029
21030// GoString returns the string representation
21031func (s DataCaptureConfig) GoString() string {
21032	return s.String()
21033}
21034
21035// Validate inspects the fields of the type to determine if they are valid.
21036func (s *DataCaptureConfig) Validate() error {
21037	invalidParams := request.ErrInvalidParams{Context: "DataCaptureConfig"}
21038	if s.CaptureOptions == nil {
21039		invalidParams.Add(request.NewErrParamRequired("CaptureOptions"))
21040	}
21041	if s.CaptureOptions != nil && len(s.CaptureOptions) < 1 {
21042		invalidParams.Add(request.NewErrParamMinLen("CaptureOptions", 1))
21043	}
21044	if s.DestinationS3Uri == nil {
21045		invalidParams.Add(request.NewErrParamRequired("DestinationS3Uri"))
21046	}
21047	if s.InitialSamplingPercentage == nil {
21048		invalidParams.Add(request.NewErrParamRequired("InitialSamplingPercentage"))
21049	}
21050	if s.CaptureContentTypeHeader != nil {
21051		if err := s.CaptureContentTypeHeader.Validate(); err != nil {
21052			invalidParams.AddNested("CaptureContentTypeHeader", err.(request.ErrInvalidParams))
21053		}
21054	}
21055	if s.CaptureOptions != nil {
21056		for i, v := range s.CaptureOptions {
21057			if v == nil {
21058				continue
21059			}
21060			if err := v.Validate(); err != nil {
21061				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CaptureOptions", i), err.(request.ErrInvalidParams))
21062			}
21063		}
21064	}
21065
21066	if invalidParams.Len() > 0 {
21067		return invalidParams
21068	}
21069	return nil
21070}
21071
21072// SetCaptureContentTypeHeader sets the CaptureContentTypeHeader field's value.
21073func (s *DataCaptureConfig) SetCaptureContentTypeHeader(v *CaptureContentTypeHeader) *DataCaptureConfig {
21074	s.CaptureContentTypeHeader = v
21075	return s
21076}
21077
21078// SetCaptureOptions sets the CaptureOptions field's value.
21079func (s *DataCaptureConfig) SetCaptureOptions(v []*CaptureOption) *DataCaptureConfig {
21080	s.CaptureOptions = v
21081	return s
21082}
21083
21084// SetDestinationS3Uri sets the DestinationS3Uri field's value.
21085func (s *DataCaptureConfig) SetDestinationS3Uri(v string) *DataCaptureConfig {
21086	s.DestinationS3Uri = &v
21087	return s
21088}
21089
21090// SetEnableCapture sets the EnableCapture field's value.
21091func (s *DataCaptureConfig) SetEnableCapture(v bool) *DataCaptureConfig {
21092	s.EnableCapture = &v
21093	return s
21094}
21095
21096// SetInitialSamplingPercentage sets the InitialSamplingPercentage field's value.
21097func (s *DataCaptureConfig) SetInitialSamplingPercentage(v int64) *DataCaptureConfig {
21098	s.InitialSamplingPercentage = &v
21099	return s
21100}
21101
21102// SetKmsKeyId sets the KmsKeyId field's value.
21103func (s *DataCaptureConfig) SetKmsKeyId(v string) *DataCaptureConfig {
21104	s.KmsKeyId = &v
21105	return s
21106}
21107
21108type DataCaptureConfigSummary struct {
21109	_ struct{} `type:"structure"`
21110
21111	// CaptureStatus is a required field
21112	CaptureStatus *string `type:"string" required:"true" enum:"CaptureStatus"`
21113
21114	// CurrentSamplingPercentage is a required field
21115	CurrentSamplingPercentage *int64 `type:"integer" required:"true"`
21116
21117	// DestinationS3Uri is a required field
21118	DestinationS3Uri *string `type:"string" required:"true"`
21119
21120	// EnableCapture is a required field
21121	EnableCapture *bool `type:"boolean" required:"true"`
21122
21123	// KmsKeyId is a required field
21124	KmsKeyId *string `type:"string" required:"true"`
21125}
21126
21127// String returns the string representation
21128func (s DataCaptureConfigSummary) String() string {
21129	return awsutil.Prettify(s)
21130}
21131
21132// GoString returns the string representation
21133func (s DataCaptureConfigSummary) GoString() string {
21134	return s.String()
21135}
21136
21137// SetCaptureStatus sets the CaptureStatus field's value.
21138func (s *DataCaptureConfigSummary) SetCaptureStatus(v string) *DataCaptureConfigSummary {
21139	s.CaptureStatus = &v
21140	return s
21141}
21142
21143// SetCurrentSamplingPercentage sets the CurrentSamplingPercentage field's value.
21144func (s *DataCaptureConfigSummary) SetCurrentSamplingPercentage(v int64) *DataCaptureConfigSummary {
21145	s.CurrentSamplingPercentage = &v
21146	return s
21147}
21148
21149// SetDestinationS3Uri sets the DestinationS3Uri field's value.
21150func (s *DataCaptureConfigSummary) SetDestinationS3Uri(v string) *DataCaptureConfigSummary {
21151	s.DestinationS3Uri = &v
21152	return s
21153}
21154
21155// SetEnableCapture sets the EnableCapture field's value.
21156func (s *DataCaptureConfigSummary) SetEnableCapture(v bool) *DataCaptureConfigSummary {
21157	s.EnableCapture = &v
21158	return s
21159}
21160
21161// SetKmsKeyId sets the KmsKeyId field's value.
21162func (s *DataCaptureConfigSummary) SetKmsKeyId(v string) *DataCaptureConfigSummary {
21163	s.KmsKeyId = &v
21164	return s
21165}
21166
21167// The data structure used to specify the data to be used for inference in a
21168// batch transform job and to associate the data that is relevant to the prediction
21169// results in the output. The input filter provided allows you to exclude input
21170// data that is not needed for inference in a batch transform job. The output
21171// filter provided allows you to include input data relevant to interpreting
21172// the predictions in the output from the job. For more information, see Associate
21173// Prediction Results with their Corresponding Input Records (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html).
21174type DataProcessing struct {
21175	_ struct{} `type:"structure"`
21176
21177	// A JSONPath (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html#data-processing-operators)
21178	// expression used to select a portion of the input data to pass to the algorithm.
21179	// Use the InputFilter parameter to exclude fields, such as an ID column, from
21180	// the input. If you want Amazon SageMaker to pass the entire input dataset
21181	// to the algorithm, accept the default value $.
21182	//
21183	// Examples: "$", "$[1:]", "$.features"
21184	InputFilter *string `type:"string"`
21185
21186	// Specifies the source of the data to join with the transformed data. The valid
21187	// values are None and Input. The default value is None, which specifies not
21188	// to join the input with the transformed data. If you want the batch transform
21189	// job to join the original input data with the transformed data, set JoinSource
21190	// to Input.
21191	//
21192	// For JSON or JSONLines objects, such as a JSON array, Amazon SageMaker adds
21193	// the transformed data to the input JSON object in an attribute called SageMakerOutput.
21194	// The joined result for JSON must be a key-value pair object. If the input
21195	// is not a key-value pair object, Amazon SageMaker creates a new JSON file.
21196	// In the new JSON file, and the input data is stored under the SageMakerInput
21197	// key and the results are stored in SageMakerOutput.
21198	//
21199	// For CSV files, Amazon SageMaker combines the transformed data with the input
21200	// data at the end of the input data and stores it in the output file. The joined
21201	// data has the joined input data followed by the transformed data and the output
21202	// is a CSV file.
21203	JoinSource *string `type:"string" enum:"JoinSource"`
21204
21205	// A JSONPath (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html#data-processing-operators)
21206	// expression used to select a portion of the joined dataset to save in the
21207	// output file for a batch transform job. If you want Amazon SageMaker to store
21208	// the entire input dataset in the output file, leave the default value, $.
21209	// If you specify indexes that aren't within the dimension size of the joined
21210	// dataset, you get an error.
21211	//
21212	// Examples: "$", "$[0,5:]", "$['id','SageMakerOutput']"
21213	OutputFilter *string `type:"string"`
21214}
21215
21216// String returns the string representation
21217func (s DataProcessing) String() string {
21218	return awsutil.Prettify(s)
21219}
21220
21221// GoString returns the string representation
21222func (s DataProcessing) GoString() string {
21223	return s.String()
21224}
21225
21226// SetInputFilter sets the InputFilter field's value.
21227func (s *DataProcessing) SetInputFilter(v string) *DataProcessing {
21228	s.InputFilter = &v
21229	return s
21230}
21231
21232// SetJoinSource sets the JoinSource field's value.
21233func (s *DataProcessing) SetJoinSource(v string) *DataProcessing {
21234	s.JoinSource = &v
21235	return s
21236}
21237
21238// SetOutputFilter sets the OutputFilter field's value.
21239func (s *DataProcessing) SetOutputFilter(v string) *DataProcessing {
21240	s.OutputFilter = &v
21241	return s
21242}
21243
21244// Describes the location of the channel data.
21245type DataSource struct {
21246	_ struct{} `type:"structure"`
21247
21248	// The file system that is associated with a channel.
21249	FileSystemDataSource *FileSystemDataSource `type:"structure"`
21250
21251	// The S3 location of the data source that is associated with a channel.
21252	S3DataSource *S3DataSource `type:"structure"`
21253}
21254
21255// String returns the string representation
21256func (s DataSource) String() string {
21257	return awsutil.Prettify(s)
21258}
21259
21260// GoString returns the string representation
21261func (s DataSource) GoString() string {
21262	return s.String()
21263}
21264
21265// Validate inspects the fields of the type to determine if they are valid.
21266func (s *DataSource) Validate() error {
21267	invalidParams := request.ErrInvalidParams{Context: "DataSource"}
21268	if s.FileSystemDataSource != nil {
21269		if err := s.FileSystemDataSource.Validate(); err != nil {
21270			invalidParams.AddNested("FileSystemDataSource", err.(request.ErrInvalidParams))
21271		}
21272	}
21273	if s.S3DataSource != nil {
21274		if err := s.S3DataSource.Validate(); err != nil {
21275			invalidParams.AddNested("S3DataSource", err.(request.ErrInvalidParams))
21276		}
21277	}
21278
21279	if invalidParams.Len() > 0 {
21280		return invalidParams
21281	}
21282	return nil
21283}
21284
21285// SetFileSystemDataSource sets the FileSystemDataSource field's value.
21286func (s *DataSource) SetFileSystemDataSource(v *FileSystemDataSource) *DataSource {
21287	s.FileSystemDataSource = v
21288	return s
21289}
21290
21291// SetS3DataSource sets the S3DataSource field's value.
21292func (s *DataSource) SetS3DataSource(v *S3DataSource) *DataSource {
21293	s.S3DataSource = v
21294	return s
21295}
21296
21297// Configuration information for the debug hook parameters, collection configuration,
21298// and storage paths.
21299type DebugHookConfig struct {
21300	_ struct{} `type:"structure"`
21301
21302	// Configuration information for tensor collections.
21303	CollectionConfigurations []*CollectionConfiguration `type:"list"`
21304
21305	// Configuration information for the debug hook parameters.
21306	HookParameters map[string]*string `type:"map"`
21307
21308	// Path to local storage location for tensors. Defaults to /opt/ml/output/tensors/.
21309	LocalPath *string `type:"string"`
21310
21311	// Path to Amazon S3 storage location for tensors.
21312	//
21313	// S3OutputPath is a required field
21314	S3OutputPath *string `type:"string" required:"true"`
21315}
21316
21317// String returns the string representation
21318func (s DebugHookConfig) String() string {
21319	return awsutil.Prettify(s)
21320}
21321
21322// GoString returns the string representation
21323func (s DebugHookConfig) GoString() string {
21324	return s.String()
21325}
21326
21327// Validate inspects the fields of the type to determine if they are valid.
21328func (s *DebugHookConfig) Validate() error {
21329	invalidParams := request.ErrInvalidParams{Context: "DebugHookConfig"}
21330	if s.S3OutputPath == nil {
21331		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
21332	}
21333	if s.CollectionConfigurations != nil {
21334		for i, v := range s.CollectionConfigurations {
21335			if v == nil {
21336				continue
21337			}
21338			if err := v.Validate(); err != nil {
21339				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CollectionConfigurations", i), err.(request.ErrInvalidParams))
21340			}
21341		}
21342	}
21343
21344	if invalidParams.Len() > 0 {
21345		return invalidParams
21346	}
21347	return nil
21348}
21349
21350// SetCollectionConfigurations sets the CollectionConfigurations field's value.
21351func (s *DebugHookConfig) SetCollectionConfigurations(v []*CollectionConfiguration) *DebugHookConfig {
21352	s.CollectionConfigurations = v
21353	return s
21354}
21355
21356// SetHookParameters sets the HookParameters field's value.
21357func (s *DebugHookConfig) SetHookParameters(v map[string]*string) *DebugHookConfig {
21358	s.HookParameters = v
21359	return s
21360}
21361
21362// SetLocalPath sets the LocalPath field's value.
21363func (s *DebugHookConfig) SetLocalPath(v string) *DebugHookConfig {
21364	s.LocalPath = &v
21365	return s
21366}
21367
21368// SetS3OutputPath sets the S3OutputPath field's value.
21369func (s *DebugHookConfig) SetS3OutputPath(v string) *DebugHookConfig {
21370	s.S3OutputPath = &v
21371	return s
21372}
21373
21374// Configuration information for debugging rules.
21375type DebugRuleConfiguration struct {
21376	_ struct{} `type:"structure"`
21377
21378	// The instance type to deploy for a training job.
21379	InstanceType *string `type:"string" enum:"ProcessingInstanceType"`
21380
21381	// Path to local storage location for output of rules. Defaults to /opt/ml/processing/output/rule/.
21382	LocalPath *string `type:"string"`
21383
21384	// The name of the rule configuration. It must be unique relative to other rule
21385	// configuration names.
21386	//
21387	// RuleConfigurationName is a required field
21388	RuleConfigurationName *string `min:"1" type:"string" required:"true"`
21389
21390	// The Amazon Elastic Container (ECR) Image for the managed rule evaluation.
21391	//
21392	// RuleEvaluatorImage is a required field
21393	RuleEvaluatorImage *string `type:"string" required:"true"`
21394
21395	// Runtime configuration for rule container.
21396	RuleParameters map[string]*string `type:"map"`
21397
21398	// Path to Amazon S3 storage location for rules.
21399	S3OutputPath *string `type:"string"`
21400
21401	// The size, in GB, of the ML storage volume attached to the processing instance.
21402	VolumeSizeInGB *int64 `type:"integer"`
21403}
21404
21405// String returns the string representation
21406func (s DebugRuleConfiguration) String() string {
21407	return awsutil.Prettify(s)
21408}
21409
21410// GoString returns the string representation
21411func (s DebugRuleConfiguration) GoString() string {
21412	return s.String()
21413}
21414
21415// Validate inspects the fields of the type to determine if they are valid.
21416func (s *DebugRuleConfiguration) Validate() error {
21417	invalidParams := request.ErrInvalidParams{Context: "DebugRuleConfiguration"}
21418	if s.RuleConfigurationName == nil {
21419		invalidParams.Add(request.NewErrParamRequired("RuleConfigurationName"))
21420	}
21421	if s.RuleConfigurationName != nil && len(*s.RuleConfigurationName) < 1 {
21422		invalidParams.Add(request.NewErrParamMinLen("RuleConfigurationName", 1))
21423	}
21424	if s.RuleEvaluatorImage == nil {
21425		invalidParams.Add(request.NewErrParamRequired("RuleEvaluatorImage"))
21426	}
21427
21428	if invalidParams.Len() > 0 {
21429		return invalidParams
21430	}
21431	return nil
21432}
21433
21434// SetInstanceType sets the InstanceType field's value.
21435func (s *DebugRuleConfiguration) SetInstanceType(v string) *DebugRuleConfiguration {
21436	s.InstanceType = &v
21437	return s
21438}
21439
21440// SetLocalPath sets the LocalPath field's value.
21441func (s *DebugRuleConfiguration) SetLocalPath(v string) *DebugRuleConfiguration {
21442	s.LocalPath = &v
21443	return s
21444}
21445
21446// SetRuleConfigurationName sets the RuleConfigurationName field's value.
21447func (s *DebugRuleConfiguration) SetRuleConfigurationName(v string) *DebugRuleConfiguration {
21448	s.RuleConfigurationName = &v
21449	return s
21450}
21451
21452// SetRuleEvaluatorImage sets the RuleEvaluatorImage field's value.
21453func (s *DebugRuleConfiguration) SetRuleEvaluatorImage(v string) *DebugRuleConfiguration {
21454	s.RuleEvaluatorImage = &v
21455	return s
21456}
21457
21458// SetRuleParameters sets the RuleParameters field's value.
21459func (s *DebugRuleConfiguration) SetRuleParameters(v map[string]*string) *DebugRuleConfiguration {
21460	s.RuleParameters = v
21461	return s
21462}
21463
21464// SetS3OutputPath sets the S3OutputPath field's value.
21465func (s *DebugRuleConfiguration) SetS3OutputPath(v string) *DebugRuleConfiguration {
21466	s.S3OutputPath = &v
21467	return s
21468}
21469
21470// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
21471func (s *DebugRuleConfiguration) SetVolumeSizeInGB(v int64) *DebugRuleConfiguration {
21472	s.VolumeSizeInGB = &v
21473	return s
21474}
21475
21476// Information about the status of the rule evaluation.
21477type DebugRuleEvaluationStatus struct {
21478	_ struct{} `type:"structure"`
21479
21480	// Timestamp when the rule evaluation status was last modified.
21481	LastModifiedTime *time.Time `type:"timestamp"`
21482
21483	// The name of the rule configuration
21484	RuleConfigurationName *string `min:"1" type:"string"`
21485
21486	// The Amazon Resource Name (ARN) of the rule evaluation job.
21487	RuleEvaluationJobArn *string `type:"string"`
21488
21489	// Status of the rule evaluation.
21490	RuleEvaluationStatus *string `type:"string" enum:"RuleEvaluationStatus"`
21491
21492	// Details from the rule evaluation.
21493	StatusDetails *string `type:"string"`
21494}
21495
21496// String returns the string representation
21497func (s DebugRuleEvaluationStatus) String() string {
21498	return awsutil.Prettify(s)
21499}
21500
21501// GoString returns the string representation
21502func (s DebugRuleEvaluationStatus) GoString() string {
21503	return s.String()
21504}
21505
21506// SetLastModifiedTime sets the LastModifiedTime field's value.
21507func (s *DebugRuleEvaluationStatus) SetLastModifiedTime(v time.Time) *DebugRuleEvaluationStatus {
21508	s.LastModifiedTime = &v
21509	return s
21510}
21511
21512// SetRuleConfigurationName sets the RuleConfigurationName field's value.
21513func (s *DebugRuleEvaluationStatus) SetRuleConfigurationName(v string) *DebugRuleEvaluationStatus {
21514	s.RuleConfigurationName = &v
21515	return s
21516}
21517
21518// SetRuleEvaluationJobArn sets the RuleEvaluationJobArn field's value.
21519func (s *DebugRuleEvaluationStatus) SetRuleEvaluationJobArn(v string) *DebugRuleEvaluationStatus {
21520	s.RuleEvaluationJobArn = &v
21521	return s
21522}
21523
21524// SetRuleEvaluationStatus sets the RuleEvaluationStatus field's value.
21525func (s *DebugRuleEvaluationStatus) SetRuleEvaluationStatus(v string) *DebugRuleEvaluationStatus {
21526	s.RuleEvaluationStatus = &v
21527	return s
21528}
21529
21530// SetStatusDetails sets the StatusDetails field's value.
21531func (s *DebugRuleEvaluationStatus) SetStatusDetails(v string) *DebugRuleEvaluationStatus {
21532	s.StatusDetails = &v
21533	return s
21534}
21535
21536type DeleteAlgorithmInput struct {
21537	_ struct{} `type:"structure"`
21538
21539	// The name of the algorithm to delete.
21540	//
21541	// AlgorithmName is a required field
21542	AlgorithmName *string `min:"1" type:"string" required:"true"`
21543}
21544
21545// String returns the string representation
21546func (s DeleteAlgorithmInput) String() string {
21547	return awsutil.Prettify(s)
21548}
21549
21550// GoString returns the string representation
21551func (s DeleteAlgorithmInput) GoString() string {
21552	return s.String()
21553}
21554
21555// Validate inspects the fields of the type to determine if they are valid.
21556func (s *DeleteAlgorithmInput) Validate() error {
21557	invalidParams := request.ErrInvalidParams{Context: "DeleteAlgorithmInput"}
21558	if s.AlgorithmName == nil {
21559		invalidParams.Add(request.NewErrParamRequired("AlgorithmName"))
21560	}
21561	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
21562		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
21563	}
21564
21565	if invalidParams.Len() > 0 {
21566		return invalidParams
21567	}
21568	return nil
21569}
21570
21571// SetAlgorithmName sets the AlgorithmName field's value.
21572func (s *DeleteAlgorithmInput) SetAlgorithmName(v string) *DeleteAlgorithmInput {
21573	s.AlgorithmName = &v
21574	return s
21575}
21576
21577type DeleteAlgorithmOutput struct {
21578	_ struct{} `type:"structure"`
21579}
21580
21581// String returns the string representation
21582func (s DeleteAlgorithmOutput) String() string {
21583	return awsutil.Prettify(s)
21584}
21585
21586// GoString returns the string representation
21587func (s DeleteAlgorithmOutput) GoString() string {
21588	return s.String()
21589}
21590
21591type DeleteAppInput struct {
21592	_ struct{} `type:"structure"`
21593
21594	// The name of the app.
21595	//
21596	// AppName is a required field
21597	AppName *string `type:"string" required:"true"`
21598
21599	// The type of app.
21600	//
21601	// AppType is a required field
21602	AppType *string `type:"string" required:"true" enum:"AppType"`
21603
21604	// The domain ID.
21605	//
21606	// DomainId is a required field
21607	DomainId *string `type:"string" required:"true"`
21608
21609	// The user profile name.
21610	//
21611	// UserProfileName is a required field
21612	UserProfileName *string `type:"string" required:"true"`
21613}
21614
21615// String returns the string representation
21616func (s DeleteAppInput) String() string {
21617	return awsutil.Prettify(s)
21618}
21619
21620// GoString returns the string representation
21621func (s DeleteAppInput) GoString() string {
21622	return s.String()
21623}
21624
21625// Validate inspects the fields of the type to determine if they are valid.
21626func (s *DeleteAppInput) Validate() error {
21627	invalidParams := request.ErrInvalidParams{Context: "DeleteAppInput"}
21628	if s.AppName == nil {
21629		invalidParams.Add(request.NewErrParamRequired("AppName"))
21630	}
21631	if s.AppType == nil {
21632		invalidParams.Add(request.NewErrParamRequired("AppType"))
21633	}
21634	if s.DomainId == nil {
21635		invalidParams.Add(request.NewErrParamRequired("DomainId"))
21636	}
21637	if s.UserProfileName == nil {
21638		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
21639	}
21640
21641	if invalidParams.Len() > 0 {
21642		return invalidParams
21643	}
21644	return nil
21645}
21646
21647// SetAppName sets the AppName field's value.
21648func (s *DeleteAppInput) SetAppName(v string) *DeleteAppInput {
21649	s.AppName = &v
21650	return s
21651}
21652
21653// SetAppType sets the AppType field's value.
21654func (s *DeleteAppInput) SetAppType(v string) *DeleteAppInput {
21655	s.AppType = &v
21656	return s
21657}
21658
21659// SetDomainId sets the DomainId field's value.
21660func (s *DeleteAppInput) SetDomainId(v string) *DeleteAppInput {
21661	s.DomainId = &v
21662	return s
21663}
21664
21665// SetUserProfileName sets the UserProfileName field's value.
21666func (s *DeleteAppInput) SetUserProfileName(v string) *DeleteAppInput {
21667	s.UserProfileName = &v
21668	return s
21669}
21670
21671type DeleteAppOutput struct {
21672	_ struct{} `type:"structure"`
21673}
21674
21675// String returns the string representation
21676func (s DeleteAppOutput) String() string {
21677	return awsutil.Prettify(s)
21678}
21679
21680// GoString returns the string representation
21681func (s DeleteAppOutput) GoString() string {
21682	return s.String()
21683}
21684
21685type DeleteCodeRepositoryInput struct {
21686	_ struct{} `type:"structure"`
21687
21688	// The name of the Git repository to delete.
21689	//
21690	// CodeRepositoryName is a required field
21691	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
21692}
21693
21694// String returns the string representation
21695func (s DeleteCodeRepositoryInput) String() string {
21696	return awsutil.Prettify(s)
21697}
21698
21699// GoString returns the string representation
21700func (s DeleteCodeRepositoryInput) GoString() string {
21701	return s.String()
21702}
21703
21704// Validate inspects the fields of the type to determine if they are valid.
21705func (s *DeleteCodeRepositoryInput) Validate() error {
21706	invalidParams := request.ErrInvalidParams{Context: "DeleteCodeRepositoryInput"}
21707	if s.CodeRepositoryName == nil {
21708		invalidParams.Add(request.NewErrParamRequired("CodeRepositoryName"))
21709	}
21710	if s.CodeRepositoryName != nil && len(*s.CodeRepositoryName) < 1 {
21711		invalidParams.Add(request.NewErrParamMinLen("CodeRepositoryName", 1))
21712	}
21713
21714	if invalidParams.Len() > 0 {
21715		return invalidParams
21716	}
21717	return nil
21718}
21719
21720// SetCodeRepositoryName sets the CodeRepositoryName field's value.
21721func (s *DeleteCodeRepositoryInput) SetCodeRepositoryName(v string) *DeleteCodeRepositoryInput {
21722	s.CodeRepositoryName = &v
21723	return s
21724}
21725
21726type DeleteCodeRepositoryOutput struct {
21727	_ struct{} `type:"structure"`
21728}
21729
21730// String returns the string representation
21731func (s DeleteCodeRepositoryOutput) String() string {
21732	return awsutil.Prettify(s)
21733}
21734
21735// GoString returns the string representation
21736func (s DeleteCodeRepositoryOutput) GoString() string {
21737	return s.String()
21738}
21739
21740type DeleteDomainInput struct {
21741	_ struct{} `type:"structure"`
21742
21743	// The domain ID.
21744	//
21745	// DomainId is a required field
21746	DomainId *string `type:"string" required:"true"`
21747
21748	// The retention policy for this domain, which specifies whether resources will
21749	// be retained after the Domain is deleted. By default, all resources are retained
21750	// (not automatically deleted).
21751	RetentionPolicy *RetentionPolicy `type:"structure"`
21752}
21753
21754// String returns the string representation
21755func (s DeleteDomainInput) String() string {
21756	return awsutil.Prettify(s)
21757}
21758
21759// GoString returns the string representation
21760func (s DeleteDomainInput) GoString() string {
21761	return s.String()
21762}
21763
21764// Validate inspects the fields of the type to determine if they are valid.
21765func (s *DeleteDomainInput) Validate() error {
21766	invalidParams := request.ErrInvalidParams{Context: "DeleteDomainInput"}
21767	if s.DomainId == nil {
21768		invalidParams.Add(request.NewErrParamRequired("DomainId"))
21769	}
21770
21771	if invalidParams.Len() > 0 {
21772		return invalidParams
21773	}
21774	return nil
21775}
21776
21777// SetDomainId sets the DomainId field's value.
21778func (s *DeleteDomainInput) SetDomainId(v string) *DeleteDomainInput {
21779	s.DomainId = &v
21780	return s
21781}
21782
21783// SetRetentionPolicy sets the RetentionPolicy field's value.
21784func (s *DeleteDomainInput) SetRetentionPolicy(v *RetentionPolicy) *DeleteDomainInput {
21785	s.RetentionPolicy = v
21786	return s
21787}
21788
21789type DeleteDomainOutput struct {
21790	_ struct{} `type:"structure"`
21791}
21792
21793// String returns the string representation
21794func (s DeleteDomainOutput) String() string {
21795	return awsutil.Prettify(s)
21796}
21797
21798// GoString returns the string representation
21799func (s DeleteDomainOutput) GoString() string {
21800	return s.String()
21801}
21802
21803type DeleteEndpointConfigInput struct {
21804	_ struct{} `type:"structure"`
21805
21806	// The name of the endpoint configuration that you want to delete.
21807	//
21808	// EndpointConfigName is a required field
21809	EndpointConfigName *string `type:"string" required:"true"`
21810}
21811
21812// String returns the string representation
21813func (s DeleteEndpointConfigInput) String() string {
21814	return awsutil.Prettify(s)
21815}
21816
21817// GoString returns the string representation
21818func (s DeleteEndpointConfigInput) GoString() string {
21819	return s.String()
21820}
21821
21822// Validate inspects the fields of the type to determine if they are valid.
21823func (s *DeleteEndpointConfigInput) Validate() error {
21824	invalidParams := request.ErrInvalidParams{Context: "DeleteEndpointConfigInput"}
21825	if s.EndpointConfigName == nil {
21826		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
21827	}
21828
21829	if invalidParams.Len() > 0 {
21830		return invalidParams
21831	}
21832	return nil
21833}
21834
21835// SetEndpointConfigName sets the EndpointConfigName field's value.
21836func (s *DeleteEndpointConfigInput) SetEndpointConfigName(v string) *DeleteEndpointConfigInput {
21837	s.EndpointConfigName = &v
21838	return s
21839}
21840
21841type DeleteEndpointConfigOutput struct {
21842	_ struct{} `type:"structure"`
21843}
21844
21845// String returns the string representation
21846func (s DeleteEndpointConfigOutput) String() string {
21847	return awsutil.Prettify(s)
21848}
21849
21850// GoString returns the string representation
21851func (s DeleteEndpointConfigOutput) GoString() string {
21852	return s.String()
21853}
21854
21855type DeleteEndpointInput struct {
21856	_ struct{} `type:"structure"`
21857
21858	// The name of the endpoint that you want to delete.
21859	//
21860	// EndpointName is a required field
21861	EndpointName *string `type:"string" required:"true"`
21862}
21863
21864// String returns the string representation
21865func (s DeleteEndpointInput) String() string {
21866	return awsutil.Prettify(s)
21867}
21868
21869// GoString returns the string representation
21870func (s DeleteEndpointInput) GoString() string {
21871	return s.String()
21872}
21873
21874// Validate inspects the fields of the type to determine if they are valid.
21875func (s *DeleteEndpointInput) Validate() error {
21876	invalidParams := request.ErrInvalidParams{Context: "DeleteEndpointInput"}
21877	if s.EndpointName == nil {
21878		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
21879	}
21880
21881	if invalidParams.Len() > 0 {
21882		return invalidParams
21883	}
21884	return nil
21885}
21886
21887// SetEndpointName sets the EndpointName field's value.
21888func (s *DeleteEndpointInput) SetEndpointName(v string) *DeleteEndpointInput {
21889	s.EndpointName = &v
21890	return s
21891}
21892
21893type DeleteEndpointOutput struct {
21894	_ struct{} `type:"structure"`
21895}
21896
21897// String returns the string representation
21898func (s DeleteEndpointOutput) String() string {
21899	return awsutil.Prettify(s)
21900}
21901
21902// GoString returns the string representation
21903func (s DeleteEndpointOutput) GoString() string {
21904	return s.String()
21905}
21906
21907type DeleteExperimentInput struct {
21908	_ struct{} `type:"structure"`
21909
21910	// The name of the experiment to delete.
21911	//
21912	// ExperimentName is a required field
21913	ExperimentName *string `min:"1" type:"string" required:"true"`
21914}
21915
21916// String returns the string representation
21917func (s DeleteExperimentInput) String() string {
21918	return awsutil.Prettify(s)
21919}
21920
21921// GoString returns the string representation
21922func (s DeleteExperimentInput) GoString() string {
21923	return s.String()
21924}
21925
21926// Validate inspects the fields of the type to determine if they are valid.
21927func (s *DeleteExperimentInput) Validate() error {
21928	invalidParams := request.ErrInvalidParams{Context: "DeleteExperimentInput"}
21929	if s.ExperimentName == nil {
21930		invalidParams.Add(request.NewErrParamRequired("ExperimentName"))
21931	}
21932	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
21933		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
21934	}
21935
21936	if invalidParams.Len() > 0 {
21937		return invalidParams
21938	}
21939	return nil
21940}
21941
21942// SetExperimentName sets the ExperimentName field's value.
21943func (s *DeleteExperimentInput) SetExperimentName(v string) *DeleteExperimentInput {
21944	s.ExperimentName = &v
21945	return s
21946}
21947
21948type DeleteExperimentOutput struct {
21949	_ struct{} `type:"structure"`
21950
21951	// The Amazon Resource Name (ARN) of the experiment that is being deleted.
21952	ExperimentArn *string `type:"string"`
21953}
21954
21955// String returns the string representation
21956func (s DeleteExperimentOutput) String() string {
21957	return awsutil.Prettify(s)
21958}
21959
21960// GoString returns the string representation
21961func (s DeleteExperimentOutput) GoString() string {
21962	return s.String()
21963}
21964
21965// SetExperimentArn sets the ExperimentArn field's value.
21966func (s *DeleteExperimentOutput) SetExperimentArn(v string) *DeleteExperimentOutput {
21967	s.ExperimentArn = &v
21968	return s
21969}
21970
21971type DeleteFlowDefinitionInput struct {
21972	_ struct{} `type:"structure"`
21973
21974	// The name of the flow definition you are deleting.
21975	//
21976	// FlowDefinitionName is a required field
21977	FlowDefinitionName *string `min:"1" type:"string" required:"true"`
21978}
21979
21980// String returns the string representation
21981func (s DeleteFlowDefinitionInput) String() string {
21982	return awsutil.Prettify(s)
21983}
21984
21985// GoString returns the string representation
21986func (s DeleteFlowDefinitionInput) GoString() string {
21987	return s.String()
21988}
21989
21990// Validate inspects the fields of the type to determine if they are valid.
21991func (s *DeleteFlowDefinitionInput) Validate() error {
21992	invalidParams := request.ErrInvalidParams{Context: "DeleteFlowDefinitionInput"}
21993	if s.FlowDefinitionName == nil {
21994		invalidParams.Add(request.NewErrParamRequired("FlowDefinitionName"))
21995	}
21996	if s.FlowDefinitionName != nil && len(*s.FlowDefinitionName) < 1 {
21997		invalidParams.Add(request.NewErrParamMinLen("FlowDefinitionName", 1))
21998	}
21999
22000	if invalidParams.Len() > 0 {
22001		return invalidParams
22002	}
22003	return nil
22004}
22005
22006// SetFlowDefinitionName sets the FlowDefinitionName field's value.
22007func (s *DeleteFlowDefinitionInput) SetFlowDefinitionName(v string) *DeleteFlowDefinitionInput {
22008	s.FlowDefinitionName = &v
22009	return s
22010}
22011
22012type DeleteFlowDefinitionOutput struct {
22013	_ struct{} `type:"structure"`
22014}
22015
22016// String returns the string representation
22017func (s DeleteFlowDefinitionOutput) String() string {
22018	return awsutil.Prettify(s)
22019}
22020
22021// GoString returns the string representation
22022func (s DeleteFlowDefinitionOutput) GoString() string {
22023	return s.String()
22024}
22025
22026type DeleteHumanTaskUiInput struct {
22027	_ struct{} `type:"structure"`
22028
22029	// The name of the human task user interface (work task template) you want to
22030	// delete.
22031	//
22032	// HumanTaskUiName is a required field
22033	HumanTaskUiName *string `min:"1" type:"string" required:"true"`
22034}
22035
22036// String returns the string representation
22037func (s DeleteHumanTaskUiInput) String() string {
22038	return awsutil.Prettify(s)
22039}
22040
22041// GoString returns the string representation
22042func (s DeleteHumanTaskUiInput) GoString() string {
22043	return s.String()
22044}
22045
22046// Validate inspects the fields of the type to determine if they are valid.
22047func (s *DeleteHumanTaskUiInput) Validate() error {
22048	invalidParams := request.ErrInvalidParams{Context: "DeleteHumanTaskUiInput"}
22049	if s.HumanTaskUiName == nil {
22050		invalidParams.Add(request.NewErrParamRequired("HumanTaskUiName"))
22051	}
22052	if s.HumanTaskUiName != nil && len(*s.HumanTaskUiName) < 1 {
22053		invalidParams.Add(request.NewErrParamMinLen("HumanTaskUiName", 1))
22054	}
22055
22056	if invalidParams.Len() > 0 {
22057		return invalidParams
22058	}
22059	return nil
22060}
22061
22062// SetHumanTaskUiName sets the HumanTaskUiName field's value.
22063func (s *DeleteHumanTaskUiInput) SetHumanTaskUiName(v string) *DeleteHumanTaskUiInput {
22064	s.HumanTaskUiName = &v
22065	return s
22066}
22067
22068type DeleteHumanTaskUiOutput struct {
22069	_ struct{} `type:"structure"`
22070}
22071
22072// String returns the string representation
22073func (s DeleteHumanTaskUiOutput) String() string {
22074	return awsutil.Prettify(s)
22075}
22076
22077// GoString returns the string representation
22078func (s DeleteHumanTaskUiOutput) GoString() string {
22079	return s.String()
22080}
22081
22082type DeleteModelInput struct {
22083	_ struct{} `type:"structure"`
22084
22085	// The name of the model to delete.
22086	//
22087	// ModelName is a required field
22088	ModelName *string `type:"string" required:"true"`
22089}
22090
22091// String returns the string representation
22092func (s DeleteModelInput) String() string {
22093	return awsutil.Prettify(s)
22094}
22095
22096// GoString returns the string representation
22097func (s DeleteModelInput) GoString() string {
22098	return s.String()
22099}
22100
22101// Validate inspects the fields of the type to determine if they are valid.
22102func (s *DeleteModelInput) Validate() error {
22103	invalidParams := request.ErrInvalidParams{Context: "DeleteModelInput"}
22104	if s.ModelName == nil {
22105		invalidParams.Add(request.NewErrParamRequired("ModelName"))
22106	}
22107
22108	if invalidParams.Len() > 0 {
22109		return invalidParams
22110	}
22111	return nil
22112}
22113
22114// SetModelName sets the ModelName field's value.
22115func (s *DeleteModelInput) SetModelName(v string) *DeleteModelInput {
22116	s.ModelName = &v
22117	return s
22118}
22119
22120type DeleteModelOutput struct {
22121	_ struct{} `type:"structure"`
22122}
22123
22124// String returns the string representation
22125func (s DeleteModelOutput) String() string {
22126	return awsutil.Prettify(s)
22127}
22128
22129// GoString returns the string representation
22130func (s DeleteModelOutput) GoString() string {
22131	return s.String()
22132}
22133
22134type DeleteModelPackageInput struct {
22135	_ struct{} `type:"structure"`
22136
22137	// The name of the model package. The name must have 1 to 63 characters. Valid
22138	// characters are a-z, A-Z, 0-9, and - (hyphen).
22139	//
22140	// ModelPackageName is a required field
22141	ModelPackageName *string `min:"1" type:"string" required:"true"`
22142}
22143
22144// String returns the string representation
22145func (s DeleteModelPackageInput) String() string {
22146	return awsutil.Prettify(s)
22147}
22148
22149// GoString returns the string representation
22150func (s DeleteModelPackageInput) GoString() string {
22151	return s.String()
22152}
22153
22154// Validate inspects the fields of the type to determine if they are valid.
22155func (s *DeleteModelPackageInput) Validate() error {
22156	invalidParams := request.ErrInvalidParams{Context: "DeleteModelPackageInput"}
22157	if s.ModelPackageName == nil {
22158		invalidParams.Add(request.NewErrParamRequired("ModelPackageName"))
22159	}
22160	if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 {
22161		invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1))
22162	}
22163
22164	if invalidParams.Len() > 0 {
22165		return invalidParams
22166	}
22167	return nil
22168}
22169
22170// SetModelPackageName sets the ModelPackageName field's value.
22171func (s *DeleteModelPackageInput) SetModelPackageName(v string) *DeleteModelPackageInput {
22172	s.ModelPackageName = &v
22173	return s
22174}
22175
22176type DeleteModelPackageOutput struct {
22177	_ struct{} `type:"structure"`
22178}
22179
22180// String returns the string representation
22181func (s DeleteModelPackageOutput) String() string {
22182	return awsutil.Prettify(s)
22183}
22184
22185// GoString returns the string representation
22186func (s DeleteModelPackageOutput) GoString() string {
22187	return s.String()
22188}
22189
22190type DeleteMonitoringScheduleInput struct {
22191	_ struct{} `type:"structure"`
22192
22193	// The name of the monitoring schedule to delete.
22194	//
22195	// MonitoringScheduleName is a required field
22196	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
22197}
22198
22199// String returns the string representation
22200func (s DeleteMonitoringScheduleInput) String() string {
22201	return awsutil.Prettify(s)
22202}
22203
22204// GoString returns the string representation
22205func (s DeleteMonitoringScheduleInput) GoString() string {
22206	return s.String()
22207}
22208
22209// Validate inspects the fields of the type to determine if they are valid.
22210func (s *DeleteMonitoringScheduleInput) Validate() error {
22211	invalidParams := request.ErrInvalidParams{Context: "DeleteMonitoringScheduleInput"}
22212	if s.MonitoringScheduleName == nil {
22213		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName"))
22214	}
22215	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
22216		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
22217	}
22218
22219	if invalidParams.Len() > 0 {
22220		return invalidParams
22221	}
22222	return nil
22223}
22224
22225// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
22226func (s *DeleteMonitoringScheduleInput) SetMonitoringScheduleName(v string) *DeleteMonitoringScheduleInput {
22227	s.MonitoringScheduleName = &v
22228	return s
22229}
22230
22231type DeleteMonitoringScheduleOutput struct {
22232	_ struct{} `type:"structure"`
22233}
22234
22235// String returns the string representation
22236func (s DeleteMonitoringScheduleOutput) String() string {
22237	return awsutil.Prettify(s)
22238}
22239
22240// GoString returns the string representation
22241func (s DeleteMonitoringScheduleOutput) GoString() string {
22242	return s.String()
22243}
22244
22245type DeleteNotebookInstanceInput struct {
22246	_ struct{} `type:"structure"`
22247
22248	// The name of the Amazon SageMaker notebook instance to delete.
22249	//
22250	// NotebookInstanceName is a required field
22251	NotebookInstanceName *string `type:"string" required:"true"`
22252}
22253
22254// String returns the string representation
22255func (s DeleteNotebookInstanceInput) String() string {
22256	return awsutil.Prettify(s)
22257}
22258
22259// GoString returns the string representation
22260func (s DeleteNotebookInstanceInput) GoString() string {
22261	return s.String()
22262}
22263
22264// Validate inspects the fields of the type to determine if they are valid.
22265func (s *DeleteNotebookInstanceInput) Validate() error {
22266	invalidParams := request.ErrInvalidParams{Context: "DeleteNotebookInstanceInput"}
22267	if s.NotebookInstanceName == nil {
22268		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
22269	}
22270
22271	if invalidParams.Len() > 0 {
22272		return invalidParams
22273	}
22274	return nil
22275}
22276
22277// SetNotebookInstanceName sets the NotebookInstanceName field's value.
22278func (s *DeleteNotebookInstanceInput) SetNotebookInstanceName(v string) *DeleteNotebookInstanceInput {
22279	s.NotebookInstanceName = &v
22280	return s
22281}
22282
22283type DeleteNotebookInstanceLifecycleConfigInput struct {
22284	_ struct{} `type:"structure"`
22285
22286	// The name of the lifecycle configuration to delete.
22287	//
22288	// NotebookInstanceLifecycleConfigName is a required field
22289	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
22290}
22291
22292// String returns the string representation
22293func (s DeleteNotebookInstanceLifecycleConfigInput) String() string {
22294	return awsutil.Prettify(s)
22295}
22296
22297// GoString returns the string representation
22298func (s DeleteNotebookInstanceLifecycleConfigInput) GoString() string {
22299	return s.String()
22300}
22301
22302// Validate inspects the fields of the type to determine if they are valid.
22303func (s *DeleteNotebookInstanceLifecycleConfigInput) Validate() error {
22304	invalidParams := request.ErrInvalidParams{Context: "DeleteNotebookInstanceLifecycleConfigInput"}
22305	if s.NotebookInstanceLifecycleConfigName == nil {
22306		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceLifecycleConfigName"))
22307	}
22308
22309	if invalidParams.Len() > 0 {
22310		return invalidParams
22311	}
22312	return nil
22313}
22314
22315// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
22316func (s *DeleteNotebookInstanceLifecycleConfigInput) SetNotebookInstanceLifecycleConfigName(v string) *DeleteNotebookInstanceLifecycleConfigInput {
22317	s.NotebookInstanceLifecycleConfigName = &v
22318	return s
22319}
22320
22321type DeleteNotebookInstanceLifecycleConfigOutput struct {
22322	_ struct{} `type:"structure"`
22323}
22324
22325// String returns the string representation
22326func (s DeleteNotebookInstanceLifecycleConfigOutput) String() string {
22327	return awsutil.Prettify(s)
22328}
22329
22330// GoString returns the string representation
22331func (s DeleteNotebookInstanceLifecycleConfigOutput) GoString() string {
22332	return s.String()
22333}
22334
22335type DeleteNotebookInstanceOutput struct {
22336	_ struct{} `type:"structure"`
22337}
22338
22339// String returns the string representation
22340func (s DeleteNotebookInstanceOutput) String() string {
22341	return awsutil.Prettify(s)
22342}
22343
22344// GoString returns the string representation
22345func (s DeleteNotebookInstanceOutput) GoString() string {
22346	return s.String()
22347}
22348
22349type DeleteTagsInput struct {
22350	_ struct{} `type:"structure"`
22351
22352	// The Amazon Resource Name (ARN) of the resource whose tags you want to delete.
22353	//
22354	// ResourceArn is a required field
22355	ResourceArn *string `type:"string" required:"true"`
22356
22357	// An array or one or more tag keys to delete.
22358	//
22359	// TagKeys is a required field
22360	TagKeys []*string `min:"1" type:"list" required:"true"`
22361}
22362
22363// String returns the string representation
22364func (s DeleteTagsInput) String() string {
22365	return awsutil.Prettify(s)
22366}
22367
22368// GoString returns the string representation
22369func (s DeleteTagsInput) GoString() string {
22370	return s.String()
22371}
22372
22373// Validate inspects the fields of the type to determine if they are valid.
22374func (s *DeleteTagsInput) Validate() error {
22375	invalidParams := request.ErrInvalidParams{Context: "DeleteTagsInput"}
22376	if s.ResourceArn == nil {
22377		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
22378	}
22379	if s.TagKeys == nil {
22380		invalidParams.Add(request.NewErrParamRequired("TagKeys"))
22381	}
22382	if s.TagKeys != nil && len(s.TagKeys) < 1 {
22383		invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1))
22384	}
22385
22386	if invalidParams.Len() > 0 {
22387		return invalidParams
22388	}
22389	return nil
22390}
22391
22392// SetResourceArn sets the ResourceArn field's value.
22393func (s *DeleteTagsInput) SetResourceArn(v string) *DeleteTagsInput {
22394	s.ResourceArn = &v
22395	return s
22396}
22397
22398// SetTagKeys sets the TagKeys field's value.
22399func (s *DeleteTagsInput) SetTagKeys(v []*string) *DeleteTagsInput {
22400	s.TagKeys = v
22401	return s
22402}
22403
22404type DeleteTagsOutput struct {
22405	_ struct{} `type:"structure"`
22406}
22407
22408// String returns the string representation
22409func (s DeleteTagsOutput) String() string {
22410	return awsutil.Prettify(s)
22411}
22412
22413// GoString returns the string representation
22414func (s DeleteTagsOutput) GoString() string {
22415	return s.String()
22416}
22417
22418type DeleteTrialComponentInput struct {
22419	_ struct{} `type:"structure"`
22420
22421	// The name of the component to delete.
22422	//
22423	// TrialComponentName is a required field
22424	TrialComponentName *string `min:"1" type:"string" required:"true"`
22425}
22426
22427// String returns the string representation
22428func (s DeleteTrialComponentInput) String() string {
22429	return awsutil.Prettify(s)
22430}
22431
22432// GoString returns the string representation
22433func (s DeleteTrialComponentInput) GoString() string {
22434	return s.String()
22435}
22436
22437// Validate inspects the fields of the type to determine if they are valid.
22438func (s *DeleteTrialComponentInput) Validate() error {
22439	invalidParams := request.ErrInvalidParams{Context: "DeleteTrialComponentInput"}
22440	if s.TrialComponentName == nil {
22441		invalidParams.Add(request.NewErrParamRequired("TrialComponentName"))
22442	}
22443	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
22444		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
22445	}
22446
22447	if invalidParams.Len() > 0 {
22448		return invalidParams
22449	}
22450	return nil
22451}
22452
22453// SetTrialComponentName sets the TrialComponentName field's value.
22454func (s *DeleteTrialComponentInput) SetTrialComponentName(v string) *DeleteTrialComponentInput {
22455	s.TrialComponentName = &v
22456	return s
22457}
22458
22459type DeleteTrialComponentOutput struct {
22460	_ struct{} `type:"structure"`
22461
22462	// The Amazon Resource Name (ARN) of the component is being deleted.
22463	TrialComponentArn *string `type:"string"`
22464}
22465
22466// String returns the string representation
22467func (s DeleteTrialComponentOutput) String() string {
22468	return awsutil.Prettify(s)
22469}
22470
22471// GoString returns the string representation
22472func (s DeleteTrialComponentOutput) GoString() string {
22473	return s.String()
22474}
22475
22476// SetTrialComponentArn sets the TrialComponentArn field's value.
22477func (s *DeleteTrialComponentOutput) SetTrialComponentArn(v string) *DeleteTrialComponentOutput {
22478	s.TrialComponentArn = &v
22479	return s
22480}
22481
22482type DeleteTrialInput struct {
22483	_ struct{} `type:"structure"`
22484
22485	// The name of the trial to delete.
22486	//
22487	// TrialName is a required field
22488	TrialName *string `min:"1" type:"string" required:"true"`
22489}
22490
22491// String returns the string representation
22492func (s DeleteTrialInput) String() string {
22493	return awsutil.Prettify(s)
22494}
22495
22496// GoString returns the string representation
22497func (s DeleteTrialInput) GoString() string {
22498	return s.String()
22499}
22500
22501// Validate inspects the fields of the type to determine if they are valid.
22502func (s *DeleteTrialInput) Validate() error {
22503	invalidParams := request.ErrInvalidParams{Context: "DeleteTrialInput"}
22504	if s.TrialName == nil {
22505		invalidParams.Add(request.NewErrParamRequired("TrialName"))
22506	}
22507	if s.TrialName != nil && len(*s.TrialName) < 1 {
22508		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
22509	}
22510
22511	if invalidParams.Len() > 0 {
22512		return invalidParams
22513	}
22514	return nil
22515}
22516
22517// SetTrialName sets the TrialName field's value.
22518func (s *DeleteTrialInput) SetTrialName(v string) *DeleteTrialInput {
22519	s.TrialName = &v
22520	return s
22521}
22522
22523type DeleteTrialOutput struct {
22524	_ struct{} `type:"structure"`
22525
22526	// The Amazon Resource Name (ARN) of the trial that is being deleted.
22527	TrialArn *string `type:"string"`
22528}
22529
22530// String returns the string representation
22531func (s DeleteTrialOutput) String() string {
22532	return awsutil.Prettify(s)
22533}
22534
22535// GoString returns the string representation
22536func (s DeleteTrialOutput) GoString() string {
22537	return s.String()
22538}
22539
22540// SetTrialArn sets the TrialArn field's value.
22541func (s *DeleteTrialOutput) SetTrialArn(v string) *DeleteTrialOutput {
22542	s.TrialArn = &v
22543	return s
22544}
22545
22546type DeleteUserProfileInput struct {
22547	_ struct{} `type:"structure"`
22548
22549	// The domain ID.
22550	//
22551	// DomainId is a required field
22552	DomainId *string `type:"string" required:"true"`
22553
22554	// The user profile name.
22555	//
22556	// UserProfileName is a required field
22557	UserProfileName *string `type:"string" required:"true"`
22558}
22559
22560// String returns the string representation
22561func (s DeleteUserProfileInput) String() string {
22562	return awsutil.Prettify(s)
22563}
22564
22565// GoString returns the string representation
22566func (s DeleteUserProfileInput) GoString() string {
22567	return s.String()
22568}
22569
22570// Validate inspects the fields of the type to determine if they are valid.
22571func (s *DeleteUserProfileInput) Validate() error {
22572	invalidParams := request.ErrInvalidParams{Context: "DeleteUserProfileInput"}
22573	if s.DomainId == nil {
22574		invalidParams.Add(request.NewErrParamRequired("DomainId"))
22575	}
22576	if s.UserProfileName == nil {
22577		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
22578	}
22579
22580	if invalidParams.Len() > 0 {
22581		return invalidParams
22582	}
22583	return nil
22584}
22585
22586// SetDomainId sets the DomainId field's value.
22587func (s *DeleteUserProfileInput) SetDomainId(v string) *DeleteUserProfileInput {
22588	s.DomainId = &v
22589	return s
22590}
22591
22592// SetUserProfileName sets the UserProfileName field's value.
22593func (s *DeleteUserProfileInput) SetUserProfileName(v string) *DeleteUserProfileInput {
22594	s.UserProfileName = &v
22595	return s
22596}
22597
22598type DeleteUserProfileOutput struct {
22599	_ struct{} `type:"structure"`
22600}
22601
22602// String returns the string representation
22603func (s DeleteUserProfileOutput) String() string {
22604	return awsutil.Prettify(s)
22605}
22606
22607// GoString returns the string representation
22608func (s DeleteUserProfileOutput) GoString() string {
22609	return s.String()
22610}
22611
22612type DeleteWorkforceInput struct {
22613	_ struct{} `type:"structure"`
22614
22615	// The name of the workforce.
22616	//
22617	// WorkforceName is a required field
22618	WorkforceName *string `min:"1" type:"string" required:"true"`
22619}
22620
22621// String returns the string representation
22622func (s DeleteWorkforceInput) String() string {
22623	return awsutil.Prettify(s)
22624}
22625
22626// GoString returns the string representation
22627func (s DeleteWorkforceInput) GoString() string {
22628	return s.String()
22629}
22630
22631// Validate inspects the fields of the type to determine if they are valid.
22632func (s *DeleteWorkforceInput) Validate() error {
22633	invalidParams := request.ErrInvalidParams{Context: "DeleteWorkforceInput"}
22634	if s.WorkforceName == nil {
22635		invalidParams.Add(request.NewErrParamRequired("WorkforceName"))
22636	}
22637	if s.WorkforceName != nil && len(*s.WorkforceName) < 1 {
22638		invalidParams.Add(request.NewErrParamMinLen("WorkforceName", 1))
22639	}
22640
22641	if invalidParams.Len() > 0 {
22642		return invalidParams
22643	}
22644	return nil
22645}
22646
22647// SetWorkforceName sets the WorkforceName field's value.
22648func (s *DeleteWorkforceInput) SetWorkforceName(v string) *DeleteWorkforceInput {
22649	s.WorkforceName = &v
22650	return s
22651}
22652
22653type DeleteWorkforceOutput struct {
22654	_ struct{} `type:"structure"`
22655}
22656
22657// String returns the string representation
22658func (s DeleteWorkforceOutput) String() string {
22659	return awsutil.Prettify(s)
22660}
22661
22662// GoString returns the string representation
22663func (s DeleteWorkforceOutput) GoString() string {
22664	return s.String()
22665}
22666
22667type DeleteWorkteamInput struct {
22668	_ struct{} `type:"structure"`
22669
22670	// The name of the work team to delete.
22671	//
22672	// WorkteamName is a required field
22673	WorkteamName *string `min:"1" type:"string" required:"true"`
22674}
22675
22676// String returns the string representation
22677func (s DeleteWorkteamInput) String() string {
22678	return awsutil.Prettify(s)
22679}
22680
22681// GoString returns the string representation
22682func (s DeleteWorkteamInput) GoString() string {
22683	return s.String()
22684}
22685
22686// Validate inspects the fields of the type to determine if they are valid.
22687func (s *DeleteWorkteamInput) Validate() error {
22688	invalidParams := request.ErrInvalidParams{Context: "DeleteWorkteamInput"}
22689	if s.WorkteamName == nil {
22690		invalidParams.Add(request.NewErrParamRequired("WorkteamName"))
22691	}
22692	if s.WorkteamName != nil && len(*s.WorkteamName) < 1 {
22693		invalidParams.Add(request.NewErrParamMinLen("WorkteamName", 1))
22694	}
22695
22696	if invalidParams.Len() > 0 {
22697		return invalidParams
22698	}
22699	return nil
22700}
22701
22702// SetWorkteamName sets the WorkteamName field's value.
22703func (s *DeleteWorkteamInput) SetWorkteamName(v string) *DeleteWorkteamInput {
22704	s.WorkteamName = &v
22705	return s
22706}
22707
22708type DeleteWorkteamOutput struct {
22709	_ struct{} `type:"structure"`
22710
22711	// Returns true if the work team was successfully deleted; otherwise, returns
22712	// false.
22713	//
22714	// Success is a required field
22715	Success *bool `type:"boolean" required:"true"`
22716}
22717
22718// String returns the string representation
22719func (s DeleteWorkteamOutput) String() string {
22720	return awsutil.Prettify(s)
22721}
22722
22723// GoString returns the string representation
22724func (s DeleteWorkteamOutput) GoString() string {
22725	return s.String()
22726}
22727
22728// SetSuccess sets the Success field's value.
22729func (s *DeleteWorkteamOutput) SetSuccess(v bool) *DeleteWorkteamOutput {
22730	s.Success = &v
22731	return s
22732}
22733
22734// Gets the Amazon EC2 Container Registry path of the docker image of the model
22735// that is hosted in this ProductionVariant.
22736//
22737// If you used the registry/repository[:tag] form to specify the image path
22738// of the primary container when you created the model hosted in this ProductionVariant,
22739// the path resolves to a path of the form registry/repository[@digest]. A digest
22740// is a hash value that identifies a specific version of an image. For information
22741// about Amazon ECR paths, see Pulling an Image (https://docs.aws.amazon.com/AmazonECR/latest/userguide/docker-pull-ecr-image.html)
22742// in the Amazon ECR User Guide.
22743type DeployedImage struct {
22744	_ struct{} `type:"structure"`
22745
22746	// The date and time when the image path for the model resolved to the ResolvedImage
22747	ResolutionTime *time.Time `type:"timestamp"`
22748
22749	// The specific digest path of the image hosted in this ProductionVariant.
22750	ResolvedImage *string `type:"string"`
22751
22752	// The image path you specified when you created the model.
22753	SpecifiedImage *string `type:"string"`
22754}
22755
22756// String returns the string representation
22757func (s DeployedImage) String() string {
22758	return awsutil.Prettify(s)
22759}
22760
22761// GoString returns the string representation
22762func (s DeployedImage) GoString() string {
22763	return s.String()
22764}
22765
22766// SetResolutionTime sets the ResolutionTime field's value.
22767func (s *DeployedImage) SetResolutionTime(v time.Time) *DeployedImage {
22768	s.ResolutionTime = &v
22769	return s
22770}
22771
22772// SetResolvedImage sets the ResolvedImage field's value.
22773func (s *DeployedImage) SetResolvedImage(v string) *DeployedImage {
22774	s.ResolvedImage = &v
22775	return s
22776}
22777
22778// SetSpecifiedImage sets the SpecifiedImage field's value.
22779func (s *DeployedImage) SetSpecifiedImage(v string) *DeployedImage {
22780	s.SpecifiedImage = &v
22781	return s
22782}
22783
22784type DescribeAlgorithmInput struct {
22785	_ struct{} `type:"structure"`
22786
22787	// The name of the algorithm to describe.
22788	//
22789	// AlgorithmName is a required field
22790	AlgorithmName *string `min:"1" type:"string" required:"true"`
22791}
22792
22793// String returns the string representation
22794func (s DescribeAlgorithmInput) String() string {
22795	return awsutil.Prettify(s)
22796}
22797
22798// GoString returns the string representation
22799func (s DescribeAlgorithmInput) GoString() string {
22800	return s.String()
22801}
22802
22803// Validate inspects the fields of the type to determine if they are valid.
22804func (s *DescribeAlgorithmInput) Validate() error {
22805	invalidParams := request.ErrInvalidParams{Context: "DescribeAlgorithmInput"}
22806	if s.AlgorithmName == nil {
22807		invalidParams.Add(request.NewErrParamRequired("AlgorithmName"))
22808	}
22809	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
22810		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
22811	}
22812
22813	if invalidParams.Len() > 0 {
22814		return invalidParams
22815	}
22816	return nil
22817}
22818
22819// SetAlgorithmName sets the AlgorithmName field's value.
22820func (s *DescribeAlgorithmInput) SetAlgorithmName(v string) *DescribeAlgorithmInput {
22821	s.AlgorithmName = &v
22822	return s
22823}
22824
22825type DescribeAlgorithmOutput struct {
22826	_ struct{} `type:"structure"`
22827
22828	// The Amazon Resource Name (ARN) of the algorithm.
22829	//
22830	// AlgorithmArn is a required field
22831	AlgorithmArn *string `min:"1" type:"string" required:"true"`
22832
22833	// A brief summary about the algorithm.
22834	AlgorithmDescription *string `type:"string"`
22835
22836	// The name of the algorithm being described.
22837	//
22838	// AlgorithmName is a required field
22839	AlgorithmName *string `min:"1" type:"string" required:"true"`
22840
22841	// The current status of the algorithm.
22842	//
22843	// AlgorithmStatus is a required field
22844	AlgorithmStatus *string `type:"string" required:"true" enum:"AlgorithmStatus"`
22845
22846	// Details about the current status of the algorithm.
22847	//
22848	// AlgorithmStatusDetails is a required field
22849	AlgorithmStatusDetails *AlgorithmStatusDetails `type:"structure" required:"true"`
22850
22851	// Whether the algorithm is certified to be listed in AWS Marketplace.
22852	CertifyForMarketplace *bool `type:"boolean"`
22853
22854	// A timestamp specifying when the algorithm was created.
22855	//
22856	// CreationTime is a required field
22857	CreationTime *time.Time `type:"timestamp" required:"true"`
22858
22859	// Details about inference jobs that the algorithm runs.
22860	InferenceSpecification *InferenceSpecification `type:"structure"`
22861
22862	// The product identifier of the algorithm.
22863	ProductId *string `type:"string"`
22864
22865	// Details about training jobs run by this algorithm.
22866	//
22867	// TrainingSpecification is a required field
22868	TrainingSpecification *TrainingSpecification `type:"structure" required:"true"`
22869
22870	// Details about configurations for one or more training jobs that Amazon SageMaker
22871	// runs to test the algorithm.
22872	ValidationSpecification *AlgorithmValidationSpecification `type:"structure"`
22873}
22874
22875// String returns the string representation
22876func (s DescribeAlgorithmOutput) String() string {
22877	return awsutil.Prettify(s)
22878}
22879
22880// GoString returns the string representation
22881func (s DescribeAlgorithmOutput) GoString() string {
22882	return s.String()
22883}
22884
22885// SetAlgorithmArn sets the AlgorithmArn field's value.
22886func (s *DescribeAlgorithmOutput) SetAlgorithmArn(v string) *DescribeAlgorithmOutput {
22887	s.AlgorithmArn = &v
22888	return s
22889}
22890
22891// SetAlgorithmDescription sets the AlgorithmDescription field's value.
22892func (s *DescribeAlgorithmOutput) SetAlgorithmDescription(v string) *DescribeAlgorithmOutput {
22893	s.AlgorithmDescription = &v
22894	return s
22895}
22896
22897// SetAlgorithmName sets the AlgorithmName field's value.
22898func (s *DescribeAlgorithmOutput) SetAlgorithmName(v string) *DescribeAlgorithmOutput {
22899	s.AlgorithmName = &v
22900	return s
22901}
22902
22903// SetAlgorithmStatus sets the AlgorithmStatus field's value.
22904func (s *DescribeAlgorithmOutput) SetAlgorithmStatus(v string) *DescribeAlgorithmOutput {
22905	s.AlgorithmStatus = &v
22906	return s
22907}
22908
22909// SetAlgorithmStatusDetails sets the AlgorithmStatusDetails field's value.
22910func (s *DescribeAlgorithmOutput) SetAlgorithmStatusDetails(v *AlgorithmStatusDetails) *DescribeAlgorithmOutput {
22911	s.AlgorithmStatusDetails = v
22912	return s
22913}
22914
22915// SetCertifyForMarketplace sets the CertifyForMarketplace field's value.
22916func (s *DescribeAlgorithmOutput) SetCertifyForMarketplace(v bool) *DescribeAlgorithmOutput {
22917	s.CertifyForMarketplace = &v
22918	return s
22919}
22920
22921// SetCreationTime sets the CreationTime field's value.
22922func (s *DescribeAlgorithmOutput) SetCreationTime(v time.Time) *DescribeAlgorithmOutput {
22923	s.CreationTime = &v
22924	return s
22925}
22926
22927// SetInferenceSpecification sets the InferenceSpecification field's value.
22928func (s *DescribeAlgorithmOutput) SetInferenceSpecification(v *InferenceSpecification) *DescribeAlgorithmOutput {
22929	s.InferenceSpecification = v
22930	return s
22931}
22932
22933// SetProductId sets the ProductId field's value.
22934func (s *DescribeAlgorithmOutput) SetProductId(v string) *DescribeAlgorithmOutput {
22935	s.ProductId = &v
22936	return s
22937}
22938
22939// SetTrainingSpecification sets the TrainingSpecification field's value.
22940func (s *DescribeAlgorithmOutput) SetTrainingSpecification(v *TrainingSpecification) *DescribeAlgorithmOutput {
22941	s.TrainingSpecification = v
22942	return s
22943}
22944
22945// SetValidationSpecification sets the ValidationSpecification field's value.
22946func (s *DescribeAlgorithmOutput) SetValidationSpecification(v *AlgorithmValidationSpecification) *DescribeAlgorithmOutput {
22947	s.ValidationSpecification = v
22948	return s
22949}
22950
22951type DescribeAppInput struct {
22952	_ struct{} `type:"structure"`
22953
22954	// The name of the app.
22955	//
22956	// AppName is a required field
22957	AppName *string `type:"string" required:"true"`
22958
22959	// The type of app.
22960	//
22961	// AppType is a required field
22962	AppType *string `type:"string" required:"true" enum:"AppType"`
22963
22964	// The domain ID.
22965	//
22966	// DomainId is a required field
22967	DomainId *string `type:"string" required:"true"`
22968
22969	// The user profile name.
22970	//
22971	// UserProfileName is a required field
22972	UserProfileName *string `type:"string" required:"true"`
22973}
22974
22975// String returns the string representation
22976func (s DescribeAppInput) String() string {
22977	return awsutil.Prettify(s)
22978}
22979
22980// GoString returns the string representation
22981func (s DescribeAppInput) GoString() string {
22982	return s.String()
22983}
22984
22985// Validate inspects the fields of the type to determine if they are valid.
22986func (s *DescribeAppInput) Validate() error {
22987	invalidParams := request.ErrInvalidParams{Context: "DescribeAppInput"}
22988	if s.AppName == nil {
22989		invalidParams.Add(request.NewErrParamRequired("AppName"))
22990	}
22991	if s.AppType == nil {
22992		invalidParams.Add(request.NewErrParamRequired("AppType"))
22993	}
22994	if s.DomainId == nil {
22995		invalidParams.Add(request.NewErrParamRequired("DomainId"))
22996	}
22997	if s.UserProfileName == nil {
22998		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
22999	}
23000
23001	if invalidParams.Len() > 0 {
23002		return invalidParams
23003	}
23004	return nil
23005}
23006
23007// SetAppName sets the AppName field's value.
23008func (s *DescribeAppInput) SetAppName(v string) *DescribeAppInput {
23009	s.AppName = &v
23010	return s
23011}
23012
23013// SetAppType sets the AppType field's value.
23014func (s *DescribeAppInput) SetAppType(v string) *DescribeAppInput {
23015	s.AppType = &v
23016	return s
23017}
23018
23019// SetDomainId sets the DomainId field's value.
23020func (s *DescribeAppInput) SetDomainId(v string) *DescribeAppInput {
23021	s.DomainId = &v
23022	return s
23023}
23024
23025// SetUserProfileName sets the UserProfileName field's value.
23026func (s *DescribeAppInput) SetUserProfileName(v string) *DescribeAppInput {
23027	s.UserProfileName = &v
23028	return s
23029}
23030
23031type DescribeAppOutput struct {
23032	_ struct{} `type:"structure"`
23033
23034	// The app's Amazon Resource Name (ARN).
23035	AppArn *string `type:"string"`
23036
23037	// The name of the app.
23038	AppName *string `type:"string"`
23039
23040	// The type of app.
23041	AppType *string `type:"string" enum:"AppType"`
23042
23043	// The creation time.
23044	CreationTime *time.Time `type:"timestamp"`
23045
23046	// The domain ID.
23047	DomainId *string `type:"string"`
23048
23049	// The failure reason.
23050	FailureReason *string `type:"string"`
23051
23052	// The timestamp of the last health check.
23053	LastHealthCheckTimestamp *time.Time `type:"timestamp"`
23054
23055	// The timestamp of the last user's activity.
23056	LastUserActivityTimestamp *time.Time `type:"timestamp"`
23057
23058	// The instance type and the Amazon Resource Name (ARN) of the SageMaker image
23059	// created on the instance.
23060	ResourceSpec *ResourceSpec `type:"structure"`
23061
23062	// The status.
23063	Status *string `type:"string" enum:"AppStatus"`
23064
23065	// The user profile name.
23066	UserProfileName *string `type:"string"`
23067}
23068
23069// String returns the string representation
23070func (s DescribeAppOutput) String() string {
23071	return awsutil.Prettify(s)
23072}
23073
23074// GoString returns the string representation
23075func (s DescribeAppOutput) GoString() string {
23076	return s.String()
23077}
23078
23079// SetAppArn sets the AppArn field's value.
23080func (s *DescribeAppOutput) SetAppArn(v string) *DescribeAppOutput {
23081	s.AppArn = &v
23082	return s
23083}
23084
23085// SetAppName sets the AppName field's value.
23086func (s *DescribeAppOutput) SetAppName(v string) *DescribeAppOutput {
23087	s.AppName = &v
23088	return s
23089}
23090
23091// SetAppType sets the AppType field's value.
23092func (s *DescribeAppOutput) SetAppType(v string) *DescribeAppOutput {
23093	s.AppType = &v
23094	return s
23095}
23096
23097// SetCreationTime sets the CreationTime field's value.
23098func (s *DescribeAppOutput) SetCreationTime(v time.Time) *DescribeAppOutput {
23099	s.CreationTime = &v
23100	return s
23101}
23102
23103// SetDomainId sets the DomainId field's value.
23104func (s *DescribeAppOutput) SetDomainId(v string) *DescribeAppOutput {
23105	s.DomainId = &v
23106	return s
23107}
23108
23109// SetFailureReason sets the FailureReason field's value.
23110func (s *DescribeAppOutput) SetFailureReason(v string) *DescribeAppOutput {
23111	s.FailureReason = &v
23112	return s
23113}
23114
23115// SetLastHealthCheckTimestamp sets the LastHealthCheckTimestamp field's value.
23116func (s *DescribeAppOutput) SetLastHealthCheckTimestamp(v time.Time) *DescribeAppOutput {
23117	s.LastHealthCheckTimestamp = &v
23118	return s
23119}
23120
23121// SetLastUserActivityTimestamp sets the LastUserActivityTimestamp field's value.
23122func (s *DescribeAppOutput) SetLastUserActivityTimestamp(v time.Time) *DescribeAppOutput {
23123	s.LastUserActivityTimestamp = &v
23124	return s
23125}
23126
23127// SetResourceSpec sets the ResourceSpec field's value.
23128func (s *DescribeAppOutput) SetResourceSpec(v *ResourceSpec) *DescribeAppOutput {
23129	s.ResourceSpec = v
23130	return s
23131}
23132
23133// SetStatus sets the Status field's value.
23134func (s *DescribeAppOutput) SetStatus(v string) *DescribeAppOutput {
23135	s.Status = &v
23136	return s
23137}
23138
23139// SetUserProfileName sets the UserProfileName field's value.
23140func (s *DescribeAppOutput) SetUserProfileName(v string) *DescribeAppOutput {
23141	s.UserProfileName = &v
23142	return s
23143}
23144
23145type DescribeAutoMLJobInput struct {
23146	_ struct{} `type:"structure"`
23147
23148	// Request information about a job using that job's unique name.
23149	//
23150	// AutoMLJobName is a required field
23151	AutoMLJobName *string `min:"1" type:"string" required:"true"`
23152}
23153
23154// String returns the string representation
23155func (s DescribeAutoMLJobInput) String() string {
23156	return awsutil.Prettify(s)
23157}
23158
23159// GoString returns the string representation
23160func (s DescribeAutoMLJobInput) GoString() string {
23161	return s.String()
23162}
23163
23164// Validate inspects the fields of the type to determine if they are valid.
23165func (s *DescribeAutoMLJobInput) Validate() error {
23166	invalidParams := request.ErrInvalidParams{Context: "DescribeAutoMLJobInput"}
23167	if s.AutoMLJobName == nil {
23168		invalidParams.Add(request.NewErrParamRequired("AutoMLJobName"))
23169	}
23170	if s.AutoMLJobName != nil && len(*s.AutoMLJobName) < 1 {
23171		invalidParams.Add(request.NewErrParamMinLen("AutoMLJobName", 1))
23172	}
23173
23174	if invalidParams.Len() > 0 {
23175		return invalidParams
23176	}
23177	return nil
23178}
23179
23180// SetAutoMLJobName sets the AutoMLJobName field's value.
23181func (s *DescribeAutoMLJobInput) SetAutoMLJobName(v string) *DescribeAutoMLJobInput {
23182	s.AutoMLJobName = &v
23183	return s
23184}
23185
23186type DescribeAutoMLJobOutput struct {
23187	_ struct{} `type:"structure"`
23188
23189	// Returns the job's ARN.
23190	//
23191	// AutoMLJobArn is a required field
23192	AutoMLJobArn *string `min:"1" type:"string" required:"true"`
23193
23194	// Returns information on the job's artifacts found in AutoMLJobArtifacts.
23195	AutoMLJobArtifacts *AutoMLJobArtifacts `type:"structure"`
23196
23197	// Returns the job's config.
23198	AutoMLJobConfig *AutoMLJobConfig `type:"structure"`
23199
23200	// Returns the name of a job.
23201	//
23202	// AutoMLJobName is a required field
23203	AutoMLJobName *string `min:"1" type:"string" required:"true"`
23204
23205	// Returns the job's objective.
23206	AutoMLJobObjective *AutoMLJobObjective `type:"structure"`
23207
23208	// Returns the job's AutoMLJobSecondaryStatus.
23209	//
23210	// AutoMLJobSecondaryStatus is a required field
23211	AutoMLJobSecondaryStatus *string `type:"string" required:"true" enum:"AutoMLJobSecondaryStatus"`
23212
23213	// Returns the job's AutoMLJobStatus.
23214	//
23215	// AutoMLJobStatus is a required field
23216	AutoMLJobStatus *string `type:"string" required:"true" enum:"AutoMLJobStatus"`
23217
23218	// Returns the job's BestCandidate.
23219	BestCandidate *AutoMLCandidate `type:"structure"`
23220
23221	// Returns the job's creation time.
23222	//
23223	// CreationTime is a required field
23224	CreationTime *time.Time `type:"timestamp" required:"true"`
23225
23226	// Returns the job's end time.
23227	EndTime *time.Time `type:"timestamp"`
23228
23229	// Returns the job's FailureReason.
23230	FailureReason *string `type:"string"`
23231
23232	// Returns the job's output from GenerateCandidateDefinitionsOnly.
23233	GenerateCandidateDefinitionsOnly *bool `type:"boolean"`
23234
23235	// Returns the job's input data config.
23236	//
23237	// InputDataConfig is a required field
23238	InputDataConfig []*AutoMLChannel `min:"1" type:"list" required:"true"`
23239
23240	// Returns the job's last modified time.
23241	//
23242	// LastModifiedTime is a required field
23243	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
23244
23245	// Returns the job's output data config.
23246	//
23247	// OutputDataConfig is a required field
23248	OutputDataConfig *AutoMLOutputDataConfig `type:"structure" required:"true"`
23249
23250	// Returns the job's problem type.
23251	ProblemType *string `type:"string" enum:"ProblemType"`
23252
23253	// This contains ProblemType, AutoMLJobObjective and CompletionCriteria. They're
23254	// auto-inferred values, if not provided by you. If you do provide them, then
23255	// they'll be the same as provided.
23256	ResolvedAttributes *ResolvedAttributes `type:"structure"`
23257
23258	// The Amazon Resource Name (ARN) of the AWS Identity and Access Management
23259	// (IAM) role that has read permission to the input data location and write
23260	// permission to the output data location in Amazon S3.
23261	//
23262	// RoleArn is a required field
23263	RoleArn *string `min:"20" type:"string" required:"true"`
23264}
23265
23266// String returns the string representation
23267func (s DescribeAutoMLJobOutput) String() string {
23268	return awsutil.Prettify(s)
23269}
23270
23271// GoString returns the string representation
23272func (s DescribeAutoMLJobOutput) GoString() string {
23273	return s.String()
23274}
23275
23276// SetAutoMLJobArn sets the AutoMLJobArn field's value.
23277func (s *DescribeAutoMLJobOutput) SetAutoMLJobArn(v string) *DescribeAutoMLJobOutput {
23278	s.AutoMLJobArn = &v
23279	return s
23280}
23281
23282// SetAutoMLJobArtifacts sets the AutoMLJobArtifacts field's value.
23283func (s *DescribeAutoMLJobOutput) SetAutoMLJobArtifacts(v *AutoMLJobArtifacts) *DescribeAutoMLJobOutput {
23284	s.AutoMLJobArtifacts = v
23285	return s
23286}
23287
23288// SetAutoMLJobConfig sets the AutoMLJobConfig field's value.
23289func (s *DescribeAutoMLJobOutput) SetAutoMLJobConfig(v *AutoMLJobConfig) *DescribeAutoMLJobOutput {
23290	s.AutoMLJobConfig = v
23291	return s
23292}
23293
23294// SetAutoMLJobName sets the AutoMLJobName field's value.
23295func (s *DescribeAutoMLJobOutput) SetAutoMLJobName(v string) *DescribeAutoMLJobOutput {
23296	s.AutoMLJobName = &v
23297	return s
23298}
23299
23300// SetAutoMLJobObjective sets the AutoMLJobObjective field's value.
23301func (s *DescribeAutoMLJobOutput) SetAutoMLJobObjective(v *AutoMLJobObjective) *DescribeAutoMLJobOutput {
23302	s.AutoMLJobObjective = v
23303	return s
23304}
23305
23306// SetAutoMLJobSecondaryStatus sets the AutoMLJobSecondaryStatus field's value.
23307func (s *DescribeAutoMLJobOutput) SetAutoMLJobSecondaryStatus(v string) *DescribeAutoMLJobOutput {
23308	s.AutoMLJobSecondaryStatus = &v
23309	return s
23310}
23311
23312// SetAutoMLJobStatus sets the AutoMLJobStatus field's value.
23313func (s *DescribeAutoMLJobOutput) SetAutoMLJobStatus(v string) *DescribeAutoMLJobOutput {
23314	s.AutoMLJobStatus = &v
23315	return s
23316}
23317
23318// SetBestCandidate sets the BestCandidate field's value.
23319func (s *DescribeAutoMLJobOutput) SetBestCandidate(v *AutoMLCandidate) *DescribeAutoMLJobOutput {
23320	s.BestCandidate = v
23321	return s
23322}
23323
23324// SetCreationTime sets the CreationTime field's value.
23325func (s *DescribeAutoMLJobOutput) SetCreationTime(v time.Time) *DescribeAutoMLJobOutput {
23326	s.CreationTime = &v
23327	return s
23328}
23329
23330// SetEndTime sets the EndTime field's value.
23331func (s *DescribeAutoMLJobOutput) SetEndTime(v time.Time) *DescribeAutoMLJobOutput {
23332	s.EndTime = &v
23333	return s
23334}
23335
23336// SetFailureReason sets the FailureReason field's value.
23337func (s *DescribeAutoMLJobOutput) SetFailureReason(v string) *DescribeAutoMLJobOutput {
23338	s.FailureReason = &v
23339	return s
23340}
23341
23342// SetGenerateCandidateDefinitionsOnly sets the GenerateCandidateDefinitionsOnly field's value.
23343func (s *DescribeAutoMLJobOutput) SetGenerateCandidateDefinitionsOnly(v bool) *DescribeAutoMLJobOutput {
23344	s.GenerateCandidateDefinitionsOnly = &v
23345	return s
23346}
23347
23348// SetInputDataConfig sets the InputDataConfig field's value.
23349func (s *DescribeAutoMLJobOutput) SetInputDataConfig(v []*AutoMLChannel) *DescribeAutoMLJobOutput {
23350	s.InputDataConfig = v
23351	return s
23352}
23353
23354// SetLastModifiedTime sets the LastModifiedTime field's value.
23355func (s *DescribeAutoMLJobOutput) SetLastModifiedTime(v time.Time) *DescribeAutoMLJobOutput {
23356	s.LastModifiedTime = &v
23357	return s
23358}
23359
23360// SetOutputDataConfig sets the OutputDataConfig field's value.
23361func (s *DescribeAutoMLJobOutput) SetOutputDataConfig(v *AutoMLOutputDataConfig) *DescribeAutoMLJobOutput {
23362	s.OutputDataConfig = v
23363	return s
23364}
23365
23366// SetProblemType sets the ProblemType field's value.
23367func (s *DescribeAutoMLJobOutput) SetProblemType(v string) *DescribeAutoMLJobOutput {
23368	s.ProblemType = &v
23369	return s
23370}
23371
23372// SetResolvedAttributes sets the ResolvedAttributes field's value.
23373func (s *DescribeAutoMLJobOutput) SetResolvedAttributes(v *ResolvedAttributes) *DescribeAutoMLJobOutput {
23374	s.ResolvedAttributes = v
23375	return s
23376}
23377
23378// SetRoleArn sets the RoleArn field's value.
23379func (s *DescribeAutoMLJobOutput) SetRoleArn(v string) *DescribeAutoMLJobOutput {
23380	s.RoleArn = &v
23381	return s
23382}
23383
23384type DescribeCodeRepositoryInput struct {
23385	_ struct{} `type:"structure"`
23386
23387	// The name of the Git repository to describe.
23388	//
23389	// CodeRepositoryName is a required field
23390	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
23391}
23392
23393// String returns the string representation
23394func (s DescribeCodeRepositoryInput) String() string {
23395	return awsutil.Prettify(s)
23396}
23397
23398// GoString returns the string representation
23399func (s DescribeCodeRepositoryInput) GoString() string {
23400	return s.String()
23401}
23402
23403// Validate inspects the fields of the type to determine if they are valid.
23404func (s *DescribeCodeRepositoryInput) Validate() error {
23405	invalidParams := request.ErrInvalidParams{Context: "DescribeCodeRepositoryInput"}
23406	if s.CodeRepositoryName == nil {
23407		invalidParams.Add(request.NewErrParamRequired("CodeRepositoryName"))
23408	}
23409	if s.CodeRepositoryName != nil && len(*s.CodeRepositoryName) < 1 {
23410		invalidParams.Add(request.NewErrParamMinLen("CodeRepositoryName", 1))
23411	}
23412
23413	if invalidParams.Len() > 0 {
23414		return invalidParams
23415	}
23416	return nil
23417}
23418
23419// SetCodeRepositoryName sets the CodeRepositoryName field's value.
23420func (s *DescribeCodeRepositoryInput) SetCodeRepositoryName(v string) *DescribeCodeRepositoryInput {
23421	s.CodeRepositoryName = &v
23422	return s
23423}
23424
23425type DescribeCodeRepositoryOutput struct {
23426	_ struct{} `type:"structure"`
23427
23428	// The Amazon Resource Name (ARN) of the Git repository.
23429	//
23430	// CodeRepositoryArn is a required field
23431	CodeRepositoryArn *string `min:"1" type:"string" required:"true"`
23432
23433	// The name of the Git repository.
23434	//
23435	// CodeRepositoryName is a required field
23436	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
23437
23438	// The date and time that the repository was created.
23439	//
23440	// CreationTime is a required field
23441	CreationTime *time.Time `type:"timestamp" required:"true"`
23442
23443	// Configuration details about the repository, including the URL where the repository
23444	// is located, the default branch, and the Amazon Resource Name (ARN) of the
23445	// AWS Secrets Manager secret that contains the credentials used to access the
23446	// repository.
23447	GitConfig *GitConfig `type:"structure"`
23448
23449	// The date and time that the repository was last changed.
23450	//
23451	// LastModifiedTime is a required field
23452	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
23453}
23454
23455// String returns the string representation
23456func (s DescribeCodeRepositoryOutput) String() string {
23457	return awsutil.Prettify(s)
23458}
23459
23460// GoString returns the string representation
23461func (s DescribeCodeRepositoryOutput) GoString() string {
23462	return s.String()
23463}
23464
23465// SetCodeRepositoryArn sets the CodeRepositoryArn field's value.
23466func (s *DescribeCodeRepositoryOutput) SetCodeRepositoryArn(v string) *DescribeCodeRepositoryOutput {
23467	s.CodeRepositoryArn = &v
23468	return s
23469}
23470
23471// SetCodeRepositoryName sets the CodeRepositoryName field's value.
23472func (s *DescribeCodeRepositoryOutput) SetCodeRepositoryName(v string) *DescribeCodeRepositoryOutput {
23473	s.CodeRepositoryName = &v
23474	return s
23475}
23476
23477// SetCreationTime sets the CreationTime field's value.
23478func (s *DescribeCodeRepositoryOutput) SetCreationTime(v time.Time) *DescribeCodeRepositoryOutput {
23479	s.CreationTime = &v
23480	return s
23481}
23482
23483// SetGitConfig sets the GitConfig field's value.
23484func (s *DescribeCodeRepositoryOutput) SetGitConfig(v *GitConfig) *DescribeCodeRepositoryOutput {
23485	s.GitConfig = v
23486	return s
23487}
23488
23489// SetLastModifiedTime sets the LastModifiedTime field's value.
23490func (s *DescribeCodeRepositoryOutput) SetLastModifiedTime(v time.Time) *DescribeCodeRepositoryOutput {
23491	s.LastModifiedTime = &v
23492	return s
23493}
23494
23495type DescribeCompilationJobInput struct {
23496	_ struct{} `type:"structure"`
23497
23498	// The name of the model compilation job that you want information about.
23499	//
23500	// CompilationJobName is a required field
23501	CompilationJobName *string `min:"1" type:"string" required:"true"`
23502}
23503
23504// String returns the string representation
23505func (s DescribeCompilationJobInput) String() string {
23506	return awsutil.Prettify(s)
23507}
23508
23509// GoString returns the string representation
23510func (s DescribeCompilationJobInput) GoString() string {
23511	return s.String()
23512}
23513
23514// Validate inspects the fields of the type to determine if they are valid.
23515func (s *DescribeCompilationJobInput) Validate() error {
23516	invalidParams := request.ErrInvalidParams{Context: "DescribeCompilationJobInput"}
23517	if s.CompilationJobName == nil {
23518		invalidParams.Add(request.NewErrParamRequired("CompilationJobName"))
23519	}
23520	if s.CompilationJobName != nil && len(*s.CompilationJobName) < 1 {
23521		invalidParams.Add(request.NewErrParamMinLen("CompilationJobName", 1))
23522	}
23523
23524	if invalidParams.Len() > 0 {
23525		return invalidParams
23526	}
23527	return nil
23528}
23529
23530// SetCompilationJobName sets the CompilationJobName field's value.
23531func (s *DescribeCompilationJobInput) SetCompilationJobName(v string) *DescribeCompilationJobInput {
23532	s.CompilationJobName = &v
23533	return s
23534}
23535
23536type DescribeCompilationJobOutput struct {
23537	_ struct{} `type:"structure"`
23538
23539	// The time when the model compilation job on a compilation job instance ended.
23540	// For a successful or stopped job, this is when the job's model artifacts have
23541	// finished uploading. For a failed job, this is when Amazon SageMaker detected
23542	// that the job failed.
23543	CompilationEndTime *time.Time `type:"timestamp"`
23544
23545	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes
23546	// to perform the model compilation job.
23547	//
23548	// CompilationJobArn is a required field
23549	CompilationJobArn *string `type:"string" required:"true"`
23550
23551	// The name of the model compilation job.
23552	//
23553	// CompilationJobName is a required field
23554	CompilationJobName *string `min:"1" type:"string" required:"true"`
23555
23556	// The status of the model compilation job.
23557	//
23558	// CompilationJobStatus is a required field
23559	CompilationJobStatus *string `type:"string" required:"true" enum:"CompilationJobStatus"`
23560
23561	// The time when the model compilation job started the CompilationJob instances.
23562	//
23563	// You are billed for the time between this timestamp and the timestamp in the
23564	// DescribeCompilationJobResponse$CompilationEndTime field. In Amazon CloudWatch
23565	// Logs, the start time might be later than this time. That's because it takes
23566	// time to download the compilation job, which depends on the size of the compilation
23567	// job container.
23568	CompilationStartTime *time.Time `type:"timestamp"`
23569
23570	// The time that the model compilation job was created.
23571	//
23572	// CreationTime is a required field
23573	CreationTime *time.Time `type:"timestamp" required:"true"`
23574
23575	// If a model compilation job failed, the reason it failed.
23576	//
23577	// FailureReason is a required field
23578	FailureReason *string `type:"string" required:"true"`
23579
23580	// Information about the location in Amazon S3 of the input model artifacts,
23581	// the name and shape of the expected data inputs, and the framework in which
23582	// the model was trained.
23583	//
23584	// InputConfig is a required field
23585	InputConfig *InputConfig `type:"structure" required:"true"`
23586
23587	// The time that the status of the model compilation job was last modified.
23588	//
23589	// LastModifiedTime is a required field
23590	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
23591
23592	// Information about the location in Amazon S3 that has been configured for
23593	// storing the model artifacts used in the compilation job.
23594	//
23595	// ModelArtifacts is a required field
23596	ModelArtifacts *ModelArtifacts `type:"structure" required:"true"`
23597
23598	// Information about the output location for the compiled model and the target
23599	// device that the model runs on.
23600	//
23601	// OutputConfig is a required field
23602	OutputConfig *OutputConfig `type:"structure" required:"true"`
23603
23604	// The Amazon Resource Name (ARN) of the model compilation job.
23605	//
23606	// RoleArn is a required field
23607	RoleArn *string `min:"20" type:"string" required:"true"`
23608
23609	// Specifies a limit to how long a model compilation job can run. When the job
23610	// reaches the time limit, Amazon SageMaker ends the compilation job. Use this
23611	// API to cap model training costs.
23612	//
23613	// StoppingCondition is a required field
23614	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
23615}
23616
23617// String returns the string representation
23618func (s DescribeCompilationJobOutput) String() string {
23619	return awsutil.Prettify(s)
23620}
23621
23622// GoString returns the string representation
23623func (s DescribeCompilationJobOutput) GoString() string {
23624	return s.String()
23625}
23626
23627// SetCompilationEndTime sets the CompilationEndTime field's value.
23628func (s *DescribeCompilationJobOutput) SetCompilationEndTime(v time.Time) *DescribeCompilationJobOutput {
23629	s.CompilationEndTime = &v
23630	return s
23631}
23632
23633// SetCompilationJobArn sets the CompilationJobArn field's value.
23634func (s *DescribeCompilationJobOutput) SetCompilationJobArn(v string) *DescribeCompilationJobOutput {
23635	s.CompilationJobArn = &v
23636	return s
23637}
23638
23639// SetCompilationJobName sets the CompilationJobName field's value.
23640func (s *DescribeCompilationJobOutput) SetCompilationJobName(v string) *DescribeCompilationJobOutput {
23641	s.CompilationJobName = &v
23642	return s
23643}
23644
23645// SetCompilationJobStatus sets the CompilationJobStatus field's value.
23646func (s *DescribeCompilationJobOutput) SetCompilationJobStatus(v string) *DescribeCompilationJobOutput {
23647	s.CompilationJobStatus = &v
23648	return s
23649}
23650
23651// SetCompilationStartTime sets the CompilationStartTime field's value.
23652func (s *DescribeCompilationJobOutput) SetCompilationStartTime(v time.Time) *DescribeCompilationJobOutput {
23653	s.CompilationStartTime = &v
23654	return s
23655}
23656
23657// SetCreationTime sets the CreationTime field's value.
23658func (s *DescribeCompilationJobOutput) SetCreationTime(v time.Time) *DescribeCompilationJobOutput {
23659	s.CreationTime = &v
23660	return s
23661}
23662
23663// SetFailureReason sets the FailureReason field's value.
23664func (s *DescribeCompilationJobOutput) SetFailureReason(v string) *DescribeCompilationJobOutput {
23665	s.FailureReason = &v
23666	return s
23667}
23668
23669// SetInputConfig sets the InputConfig field's value.
23670func (s *DescribeCompilationJobOutput) SetInputConfig(v *InputConfig) *DescribeCompilationJobOutput {
23671	s.InputConfig = v
23672	return s
23673}
23674
23675// SetLastModifiedTime sets the LastModifiedTime field's value.
23676func (s *DescribeCompilationJobOutput) SetLastModifiedTime(v time.Time) *DescribeCompilationJobOutput {
23677	s.LastModifiedTime = &v
23678	return s
23679}
23680
23681// SetModelArtifacts sets the ModelArtifacts field's value.
23682func (s *DescribeCompilationJobOutput) SetModelArtifacts(v *ModelArtifacts) *DescribeCompilationJobOutput {
23683	s.ModelArtifacts = v
23684	return s
23685}
23686
23687// SetOutputConfig sets the OutputConfig field's value.
23688func (s *DescribeCompilationJobOutput) SetOutputConfig(v *OutputConfig) *DescribeCompilationJobOutput {
23689	s.OutputConfig = v
23690	return s
23691}
23692
23693// SetRoleArn sets the RoleArn field's value.
23694func (s *DescribeCompilationJobOutput) SetRoleArn(v string) *DescribeCompilationJobOutput {
23695	s.RoleArn = &v
23696	return s
23697}
23698
23699// SetStoppingCondition sets the StoppingCondition field's value.
23700func (s *DescribeCompilationJobOutput) SetStoppingCondition(v *StoppingCondition) *DescribeCompilationJobOutput {
23701	s.StoppingCondition = v
23702	return s
23703}
23704
23705type DescribeDomainInput struct {
23706	_ struct{} `type:"structure"`
23707
23708	// The domain ID.
23709	//
23710	// DomainId is a required field
23711	DomainId *string `type:"string" required:"true"`
23712}
23713
23714// String returns the string representation
23715func (s DescribeDomainInput) String() string {
23716	return awsutil.Prettify(s)
23717}
23718
23719// GoString returns the string representation
23720func (s DescribeDomainInput) GoString() string {
23721	return s.String()
23722}
23723
23724// Validate inspects the fields of the type to determine if they are valid.
23725func (s *DescribeDomainInput) Validate() error {
23726	invalidParams := request.ErrInvalidParams{Context: "DescribeDomainInput"}
23727	if s.DomainId == nil {
23728		invalidParams.Add(request.NewErrParamRequired("DomainId"))
23729	}
23730
23731	if invalidParams.Len() > 0 {
23732		return invalidParams
23733	}
23734	return nil
23735}
23736
23737// SetDomainId sets the DomainId field's value.
23738func (s *DescribeDomainInput) SetDomainId(v string) *DescribeDomainInput {
23739	s.DomainId = &v
23740	return s
23741}
23742
23743type DescribeDomainOutput struct {
23744	_ struct{} `type:"structure"`
23745
23746	// The domain's authentication mode.
23747	AuthMode *string `type:"string" enum:"AuthMode"`
23748
23749	// The creation time.
23750	CreationTime *time.Time `type:"timestamp"`
23751
23752	// Settings which are applied to all UserProfile in this domain, if settings
23753	// are not explicitly specified in a given UserProfile.
23754	DefaultUserSettings *UserSettings `type:"structure"`
23755
23756	// The domain's Amazon Resource Name (ARN).
23757	DomainArn *string `type:"string"`
23758
23759	// The domain ID.
23760	DomainId *string `type:"string"`
23761
23762	// The domain name.
23763	DomainName *string `type:"string"`
23764
23765	// The failure reason.
23766	FailureReason *string `type:"string"`
23767
23768	// The ID of the Amazon Elastic File System (EFS) managed by this Domain.
23769	HomeEfsFileSystemId *string `type:"string"`
23770
23771	// The AWS Key Management Service encryption key ID.
23772	HomeEfsFileSystemKmsKeyId *string `type:"string"`
23773
23774	// The last modified time.
23775	LastModifiedTime *time.Time `type:"timestamp"`
23776
23777	// The SSO managed application instance ID.
23778	SingleSignOnManagedApplicationInstanceId *string `type:"string"`
23779
23780	// The status.
23781	Status *string `type:"string" enum:"DomainStatus"`
23782
23783	// Security setting to limit to a set of subnets.
23784	SubnetIds []*string `min:"1" type:"list"`
23785
23786	// The domain's URL.
23787	Url *string `type:"string"`
23788
23789	// The ID of the Amazon Virtual Private Cloud.
23790	VpcId *string `type:"string"`
23791}
23792
23793// String returns the string representation
23794func (s DescribeDomainOutput) String() string {
23795	return awsutil.Prettify(s)
23796}
23797
23798// GoString returns the string representation
23799func (s DescribeDomainOutput) GoString() string {
23800	return s.String()
23801}
23802
23803// SetAuthMode sets the AuthMode field's value.
23804func (s *DescribeDomainOutput) SetAuthMode(v string) *DescribeDomainOutput {
23805	s.AuthMode = &v
23806	return s
23807}
23808
23809// SetCreationTime sets the CreationTime field's value.
23810func (s *DescribeDomainOutput) SetCreationTime(v time.Time) *DescribeDomainOutput {
23811	s.CreationTime = &v
23812	return s
23813}
23814
23815// SetDefaultUserSettings sets the DefaultUserSettings field's value.
23816func (s *DescribeDomainOutput) SetDefaultUserSettings(v *UserSettings) *DescribeDomainOutput {
23817	s.DefaultUserSettings = v
23818	return s
23819}
23820
23821// SetDomainArn sets the DomainArn field's value.
23822func (s *DescribeDomainOutput) SetDomainArn(v string) *DescribeDomainOutput {
23823	s.DomainArn = &v
23824	return s
23825}
23826
23827// SetDomainId sets the DomainId field's value.
23828func (s *DescribeDomainOutput) SetDomainId(v string) *DescribeDomainOutput {
23829	s.DomainId = &v
23830	return s
23831}
23832
23833// SetDomainName sets the DomainName field's value.
23834func (s *DescribeDomainOutput) SetDomainName(v string) *DescribeDomainOutput {
23835	s.DomainName = &v
23836	return s
23837}
23838
23839// SetFailureReason sets the FailureReason field's value.
23840func (s *DescribeDomainOutput) SetFailureReason(v string) *DescribeDomainOutput {
23841	s.FailureReason = &v
23842	return s
23843}
23844
23845// SetHomeEfsFileSystemId sets the HomeEfsFileSystemId field's value.
23846func (s *DescribeDomainOutput) SetHomeEfsFileSystemId(v string) *DescribeDomainOutput {
23847	s.HomeEfsFileSystemId = &v
23848	return s
23849}
23850
23851// SetHomeEfsFileSystemKmsKeyId sets the HomeEfsFileSystemKmsKeyId field's value.
23852func (s *DescribeDomainOutput) SetHomeEfsFileSystemKmsKeyId(v string) *DescribeDomainOutput {
23853	s.HomeEfsFileSystemKmsKeyId = &v
23854	return s
23855}
23856
23857// SetLastModifiedTime sets the LastModifiedTime field's value.
23858func (s *DescribeDomainOutput) SetLastModifiedTime(v time.Time) *DescribeDomainOutput {
23859	s.LastModifiedTime = &v
23860	return s
23861}
23862
23863// SetSingleSignOnManagedApplicationInstanceId sets the SingleSignOnManagedApplicationInstanceId field's value.
23864func (s *DescribeDomainOutput) SetSingleSignOnManagedApplicationInstanceId(v string) *DescribeDomainOutput {
23865	s.SingleSignOnManagedApplicationInstanceId = &v
23866	return s
23867}
23868
23869// SetStatus sets the Status field's value.
23870func (s *DescribeDomainOutput) SetStatus(v string) *DescribeDomainOutput {
23871	s.Status = &v
23872	return s
23873}
23874
23875// SetSubnetIds sets the SubnetIds field's value.
23876func (s *DescribeDomainOutput) SetSubnetIds(v []*string) *DescribeDomainOutput {
23877	s.SubnetIds = v
23878	return s
23879}
23880
23881// SetUrl sets the Url field's value.
23882func (s *DescribeDomainOutput) SetUrl(v string) *DescribeDomainOutput {
23883	s.Url = &v
23884	return s
23885}
23886
23887// SetVpcId sets the VpcId field's value.
23888func (s *DescribeDomainOutput) SetVpcId(v string) *DescribeDomainOutput {
23889	s.VpcId = &v
23890	return s
23891}
23892
23893type DescribeEndpointConfigInput struct {
23894	_ struct{} `type:"structure"`
23895
23896	// The name of the endpoint configuration.
23897	//
23898	// EndpointConfigName is a required field
23899	EndpointConfigName *string `type:"string" required:"true"`
23900}
23901
23902// String returns the string representation
23903func (s DescribeEndpointConfigInput) String() string {
23904	return awsutil.Prettify(s)
23905}
23906
23907// GoString returns the string representation
23908func (s DescribeEndpointConfigInput) GoString() string {
23909	return s.String()
23910}
23911
23912// Validate inspects the fields of the type to determine if they are valid.
23913func (s *DescribeEndpointConfigInput) Validate() error {
23914	invalidParams := request.ErrInvalidParams{Context: "DescribeEndpointConfigInput"}
23915	if s.EndpointConfigName == nil {
23916		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
23917	}
23918
23919	if invalidParams.Len() > 0 {
23920		return invalidParams
23921	}
23922	return nil
23923}
23924
23925// SetEndpointConfigName sets the EndpointConfigName field's value.
23926func (s *DescribeEndpointConfigInput) SetEndpointConfigName(v string) *DescribeEndpointConfigInput {
23927	s.EndpointConfigName = &v
23928	return s
23929}
23930
23931type DescribeEndpointConfigOutput struct {
23932	_ struct{} `type:"structure"`
23933
23934	// A timestamp that shows when the endpoint configuration was created.
23935	//
23936	// CreationTime is a required field
23937	CreationTime *time.Time `type:"timestamp" required:"true"`
23938
23939	DataCaptureConfig *DataCaptureConfig `type:"structure"`
23940
23941	// The Amazon Resource Name (ARN) of the endpoint configuration.
23942	//
23943	// EndpointConfigArn is a required field
23944	EndpointConfigArn *string `min:"20" type:"string" required:"true"`
23945
23946	// Name of the Amazon SageMaker endpoint configuration.
23947	//
23948	// EndpointConfigName is a required field
23949	EndpointConfigName *string `type:"string" required:"true"`
23950
23951	// AWS KMS key ID Amazon SageMaker uses to encrypt data when storing it on the
23952	// ML storage volume attached to the instance.
23953	KmsKeyId *string `type:"string"`
23954
23955	// An array of ProductionVariant objects, one for each model that you want to
23956	// host at this endpoint.
23957	//
23958	// ProductionVariants is a required field
23959	ProductionVariants []*ProductionVariant `min:"1" type:"list" required:"true"`
23960}
23961
23962// String returns the string representation
23963func (s DescribeEndpointConfigOutput) String() string {
23964	return awsutil.Prettify(s)
23965}
23966
23967// GoString returns the string representation
23968func (s DescribeEndpointConfigOutput) GoString() string {
23969	return s.String()
23970}
23971
23972// SetCreationTime sets the CreationTime field's value.
23973func (s *DescribeEndpointConfigOutput) SetCreationTime(v time.Time) *DescribeEndpointConfigOutput {
23974	s.CreationTime = &v
23975	return s
23976}
23977
23978// SetDataCaptureConfig sets the DataCaptureConfig field's value.
23979func (s *DescribeEndpointConfigOutput) SetDataCaptureConfig(v *DataCaptureConfig) *DescribeEndpointConfigOutput {
23980	s.DataCaptureConfig = v
23981	return s
23982}
23983
23984// SetEndpointConfigArn sets the EndpointConfigArn field's value.
23985func (s *DescribeEndpointConfigOutput) SetEndpointConfigArn(v string) *DescribeEndpointConfigOutput {
23986	s.EndpointConfigArn = &v
23987	return s
23988}
23989
23990// SetEndpointConfigName sets the EndpointConfigName field's value.
23991func (s *DescribeEndpointConfigOutput) SetEndpointConfigName(v string) *DescribeEndpointConfigOutput {
23992	s.EndpointConfigName = &v
23993	return s
23994}
23995
23996// SetKmsKeyId sets the KmsKeyId field's value.
23997func (s *DescribeEndpointConfigOutput) SetKmsKeyId(v string) *DescribeEndpointConfigOutput {
23998	s.KmsKeyId = &v
23999	return s
24000}
24001
24002// SetProductionVariants sets the ProductionVariants field's value.
24003func (s *DescribeEndpointConfigOutput) SetProductionVariants(v []*ProductionVariant) *DescribeEndpointConfigOutput {
24004	s.ProductionVariants = v
24005	return s
24006}
24007
24008type DescribeEndpointInput struct {
24009	_ struct{} `type:"structure"`
24010
24011	// The name of the endpoint.
24012	//
24013	// EndpointName is a required field
24014	EndpointName *string `type:"string" required:"true"`
24015}
24016
24017// String returns the string representation
24018func (s DescribeEndpointInput) String() string {
24019	return awsutil.Prettify(s)
24020}
24021
24022// GoString returns the string representation
24023func (s DescribeEndpointInput) GoString() string {
24024	return s.String()
24025}
24026
24027// Validate inspects the fields of the type to determine if they are valid.
24028func (s *DescribeEndpointInput) Validate() error {
24029	invalidParams := request.ErrInvalidParams{Context: "DescribeEndpointInput"}
24030	if s.EndpointName == nil {
24031		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
24032	}
24033
24034	if invalidParams.Len() > 0 {
24035		return invalidParams
24036	}
24037	return nil
24038}
24039
24040// SetEndpointName sets the EndpointName field's value.
24041func (s *DescribeEndpointInput) SetEndpointName(v string) *DescribeEndpointInput {
24042	s.EndpointName = &v
24043	return s
24044}
24045
24046type DescribeEndpointOutput struct {
24047	_ struct{} `type:"structure"`
24048
24049	// A timestamp that shows when the endpoint was created.
24050	//
24051	// CreationTime is a required field
24052	CreationTime *time.Time `type:"timestamp" required:"true"`
24053
24054	DataCaptureConfig *DataCaptureConfigSummary `type:"structure"`
24055
24056	// The Amazon Resource Name (ARN) of the endpoint.
24057	//
24058	// EndpointArn is a required field
24059	EndpointArn *string `min:"20" type:"string" required:"true"`
24060
24061	// The name of the endpoint configuration associated with this endpoint.
24062	//
24063	// EndpointConfigName is a required field
24064	EndpointConfigName *string `type:"string" required:"true"`
24065
24066	// Name of the endpoint.
24067	//
24068	// EndpointName is a required field
24069	EndpointName *string `type:"string" required:"true"`
24070
24071	// The status of the endpoint.
24072	//
24073	//    * OutOfService: Endpoint is not available to take incoming requests.
24074	//
24075	//    * Creating: CreateEndpoint is executing.
24076	//
24077	//    * Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing.
24078	//
24079	//    * SystemUpdating: Endpoint is undergoing maintenance and cannot be updated
24080	//    or deleted or re-scaled until it has completed. This maintenance operation
24081	//    does not change any customer-specified values such as VPC config, KMS
24082	//    encryption, model, instance type, or instance count.
24083	//
24084	//    * RollingBack: Endpoint fails to scale up or down or change its variant
24085	//    weight and is in the process of rolling back to its previous configuration.
24086	//    Once the rollback completes, endpoint returns to an InService status.
24087	//    This transitional status only applies to an endpoint that has autoscaling
24088	//    enabled and is undergoing variant weight or capacity changes as part of
24089	//    an UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities
24090	//    operation is called explicitly.
24091	//
24092	//    * InService: Endpoint is available to process incoming requests.
24093	//
24094	//    * Deleting: DeleteEndpoint is executing.
24095	//
24096	//    * Failed: Endpoint could not be created, updated, or re-scaled. Use DescribeEndpointOutput$FailureReason
24097	//    for information about the failure. DeleteEndpoint is the only operation
24098	//    that can be performed on a failed endpoint.
24099	//
24100	// EndpointStatus is a required field
24101	EndpointStatus *string `type:"string" required:"true" enum:"EndpointStatus"`
24102
24103	// If the status of the endpoint is Failed, the reason why it failed.
24104	FailureReason *string `type:"string"`
24105
24106	// A timestamp that shows when the endpoint was last modified.
24107	//
24108	// LastModifiedTime is a required field
24109	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
24110
24111	// An array of ProductionVariantSummary objects, one for each model hosted behind
24112	// this endpoint.
24113	ProductionVariants []*ProductionVariantSummary `min:"1" type:"list"`
24114}
24115
24116// String returns the string representation
24117func (s DescribeEndpointOutput) String() string {
24118	return awsutil.Prettify(s)
24119}
24120
24121// GoString returns the string representation
24122func (s DescribeEndpointOutput) GoString() string {
24123	return s.String()
24124}
24125
24126// SetCreationTime sets the CreationTime field's value.
24127func (s *DescribeEndpointOutput) SetCreationTime(v time.Time) *DescribeEndpointOutput {
24128	s.CreationTime = &v
24129	return s
24130}
24131
24132// SetDataCaptureConfig sets the DataCaptureConfig field's value.
24133func (s *DescribeEndpointOutput) SetDataCaptureConfig(v *DataCaptureConfigSummary) *DescribeEndpointOutput {
24134	s.DataCaptureConfig = v
24135	return s
24136}
24137
24138// SetEndpointArn sets the EndpointArn field's value.
24139func (s *DescribeEndpointOutput) SetEndpointArn(v string) *DescribeEndpointOutput {
24140	s.EndpointArn = &v
24141	return s
24142}
24143
24144// SetEndpointConfigName sets the EndpointConfigName field's value.
24145func (s *DescribeEndpointOutput) SetEndpointConfigName(v string) *DescribeEndpointOutput {
24146	s.EndpointConfigName = &v
24147	return s
24148}
24149
24150// SetEndpointName sets the EndpointName field's value.
24151func (s *DescribeEndpointOutput) SetEndpointName(v string) *DescribeEndpointOutput {
24152	s.EndpointName = &v
24153	return s
24154}
24155
24156// SetEndpointStatus sets the EndpointStatus field's value.
24157func (s *DescribeEndpointOutput) SetEndpointStatus(v string) *DescribeEndpointOutput {
24158	s.EndpointStatus = &v
24159	return s
24160}
24161
24162// SetFailureReason sets the FailureReason field's value.
24163func (s *DescribeEndpointOutput) SetFailureReason(v string) *DescribeEndpointOutput {
24164	s.FailureReason = &v
24165	return s
24166}
24167
24168// SetLastModifiedTime sets the LastModifiedTime field's value.
24169func (s *DescribeEndpointOutput) SetLastModifiedTime(v time.Time) *DescribeEndpointOutput {
24170	s.LastModifiedTime = &v
24171	return s
24172}
24173
24174// SetProductionVariants sets the ProductionVariants field's value.
24175func (s *DescribeEndpointOutput) SetProductionVariants(v []*ProductionVariantSummary) *DescribeEndpointOutput {
24176	s.ProductionVariants = v
24177	return s
24178}
24179
24180type DescribeExperimentInput struct {
24181	_ struct{} `type:"structure"`
24182
24183	// The name of the experiment to describe.
24184	//
24185	// ExperimentName is a required field
24186	ExperimentName *string `min:"1" type:"string" required:"true"`
24187}
24188
24189// String returns the string representation
24190func (s DescribeExperimentInput) String() string {
24191	return awsutil.Prettify(s)
24192}
24193
24194// GoString returns the string representation
24195func (s DescribeExperimentInput) GoString() string {
24196	return s.String()
24197}
24198
24199// Validate inspects the fields of the type to determine if they are valid.
24200func (s *DescribeExperimentInput) Validate() error {
24201	invalidParams := request.ErrInvalidParams{Context: "DescribeExperimentInput"}
24202	if s.ExperimentName == nil {
24203		invalidParams.Add(request.NewErrParamRequired("ExperimentName"))
24204	}
24205	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
24206		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
24207	}
24208
24209	if invalidParams.Len() > 0 {
24210		return invalidParams
24211	}
24212	return nil
24213}
24214
24215// SetExperimentName sets the ExperimentName field's value.
24216func (s *DescribeExperimentInput) SetExperimentName(v string) *DescribeExperimentInput {
24217	s.ExperimentName = &v
24218	return s
24219}
24220
24221type DescribeExperimentOutput struct {
24222	_ struct{} `type:"structure"`
24223
24224	// Who created the experiment.
24225	CreatedBy *UserContext `type:"structure"`
24226
24227	// When the experiment was created.
24228	CreationTime *time.Time `type:"timestamp"`
24229
24230	// The description of the experiment.
24231	Description *string `type:"string"`
24232
24233	// The name of the experiment as displayed. If DisplayName isn't specified,
24234	// ExperimentName is displayed.
24235	DisplayName *string `min:"1" type:"string"`
24236
24237	// The Amazon Resource Name (ARN) of the experiment.
24238	ExperimentArn *string `type:"string"`
24239
24240	// The name of the experiment.
24241	ExperimentName *string `min:"1" type:"string"`
24242
24243	// Who last modified the experiment.
24244	LastModifiedBy *UserContext `type:"structure"`
24245
24246	// When the experiment was last modified.
24247	LastModifiedTime *time.Time `type:"timestamp"`
24248
24249	// The ARN of the source and, optionally, the type.
24250	Source *ExperimentSource `type:"structure"`
24251}
24252
24253// String returns the string representation
24254func (s DescribeExperimentOutput) String() string {
24255	return awsutil.Prettify(s)
24256}
24257
24258// GoString returns the string representation
24259func (s DescribeExperimentOutput) GoString() string {
24260	return s.String()
24261}
24262
24263// SetCreatedBy sets the CreatedBy field's value.
24264func (s *DescribeExperimentOutput) SetCreatedBy(v *UserContext) *DescribeExperimentOutput {
24265	s.CreatedBy = v
24266	return s
24267}
24268
24269// SetCreationTime sets the CreationTime field's value.
24270func (s *DescribeExperimentOutput) SetCreationTime(v time.Time) *DescribeExperimentOutput {
24271	s.CreationTime = &v
24272	return s
24273}
24274
24275// SetDescription sets the Description field's value.
24276func (s *DescribeExperimentOutput) SetDescription(v string) *DescribeExperimentOutput {
24277	s.Description = &v
24278	return s
24279}
24280
24281// SetDisplayName sets the DisplayName field's value.
24282func (s *DescribeExperimentOutput) SetDisplayName(v string) *DescribeExperimentOutput {
24283	s.DisplayName = &v
24284	return s
24285}
24286
24287// SetExperimentArn sets the ExperimentArn field's value.
24288func (s *DescribeExperimentOutput) SetExperimentArn(v string) *DescribeExperimentOutput {
24289	s.ExperimentArn = &v
24290	return s
24291}
24292
24293// SetExperimentName sets the ExperimentName field's value.
24294func (s *DescribeExperimentOutput) SetExperimentName(v string) *DescribeExperimentOutput {
24295	s.ExperimentName = &v
24296	return s
24297}
24298
24299// SetLastModifiedBy sets the LastModifiedBy field's value.
24300func (s *DescribeExperimentOutput) SetLastModifiedBy(v *UserContext) *DescribeExperimentOutput {
24301	s.LastModifiedBy = v
24302	return s
24303}
24304
24305// SetLastModifiedTime sets the LastModifiedTime field's value.
24306func (s *DescribeExperimentOutput) SetLastModifiedTime(v time.Time) *DescribeExperimentOutput {
24307	s.LastModifiedTime = &v
24308	return s
24309}
24310
24311// SetSource sets the Source field's value.
24312func (s *DescribeExperimentOutput) SetSource(v *ExperimentSource) *DescribeExperimentOutput {
24313	s.Source = v
24314	return s
24315}
24316
24317type DescribeFlowDefinitionInput struct {
24318	_ struct{} `type:"structure"`
24319
24320	// The name of the flow definition.
24321	//
24322	// FlowDefinitionName is a required field
24323	FlowDefinitionName *string `min:"1" type:"string" required:"true"`
24324}
24325
24326// String returns the string representation
24327func (s DescribeFlowDefinitionInput) String() string {
24328	return awsutil.Prettify(s)
24329}
24330
24331// GoString returns the string representation
24332func (s DescribeFlowDefinitionInput) GoString() string {
24333	return s.String()
24334}
24335
24336// Validate inspects the fields of the type to determine if they are valid.
24337func (s *DescribeFlowDefinitionInput) Validate() error {
24338	invalidParams := request.ErrInvalidParams{Context: "DescribeFlowDefinitionInput"}
24339	if s.FlowDefinitionName == nil {
24340		invalidParams.Add(request.NewErrParamRequired("FlowDefinitionName"))
24341	}
24342	if s.FlowDefinitionName != nil && len(*s.FlowDefinitionName) < 1 {
24343		invalidParams.Add(request.NewErrParamMinLen("FlowDefinitionName", 1))
24344	}
24345
24346	if invalidParams.Len() > 0 {
24347		return invalidParams
24348	}
24349	return nil
24350}
24351
24352// SetFlowDefinitionName sets the FlowDefinitionName field's value.
24353func (s *DescribeFlowDefinitionInput) SetFlowDefinitionName(v string) *DescribeFlowDefinitionInput {
24354	s.FlowDefinitionName = &v
24355	return s
24356}
24357
24358type DescribeFlowDefinitionOutput struct {
24359	_ struct{} `type:"structure"`
24360
24361	// The timestamp when the flow definition was created.
24362	//
24363	// CreationTime is a required field
24364	CreationTime *time.Time `type:"timestamp" required:"true"`
24365
24366	// The reason your flow definition failed.
24367	FailureReason *string `type:"string"`
24368
24369	// The Amazon Resource Name (ARN) of the flow defintion.
24370	//
24371	// FlowDefinitionArn is a required field
24372	FlowDefinitionArn *string `type:"string" required:"true"`
24373
24374	// The Amazon Resource Name (ARN) of the flow definition.
24375	//
24376	// FlowDefinitionName is a required field
24377	FlowDefinitionName *string `min:"1" type:"string" required:"true"`
24378
24379	// The status of the flow definition. Valid values are listed below.
24380	//
24381	// FlowDefinitionStatus is a required field
24382	FlowDefinitionStatus *string `type:"string" required:"true" enum:"FlowDefinitionStatus"`
24383
24384	// An object containing information about what triggers a human review workflow.
24385	HumanLoopActivationConfig *HumanLoopActivationConfig `type:"structure"`
24386
24387	// An object containing information about who works on the task, the workforce
24388	// task price, and other task details.
24389	//
24390	// HumanLoopConfig is a required field
24391	HumanLoopConfig *HumanLoopConfig `type:"structure" required:"true"`
24392
24393	// Container for configuring the source of human task requests. Used to specify
24394	// if Amazon Rekognition or Amazon Textract is used as an integration source.
24395	HumanLoopRequestSource *HumanLoopRequestSource `type:"structure"`
24396
24397	// An object containing information about the output file.
24398	//
24399	// OutputConfig is a required field
24400	OutputConfig *FlowDefinitionOutputConfig `type:"structure" required:"true"`
24401
24402	// The Amazon Resource Name (ARN) of the AWS Identity and Access Management
24403	// (IAM) execution role for the flow definition.
24404	//
24405	// RoleArn is a required field
24406	RoleArn *string `min:"20" type:"string" required:"true"`
24407}
24408
24409// String returns the string representation
24410func (s DescribeFlowDefinitionOutput) String() string {
24411	return awsutil.Prettify(s)
24412}
24413
24414// GoString returns the string representation
24415func (s DescribeFlowDefinitionOutput) GoString() string {
24416	return s.String()
24417}
24418
24419// SetCreationTime sets the CreationTime field's value.
24420func (s *DescribeFlowDefinitionOutput) SetCreationTime(v time.Time) *DescribeFlowDefinitionOutput {
24421	s.CreationTime = &v
24422	return s
24423}
24424
24425// SetFailureReason sets the FailureReason field's value.
24426func (s *DescribeFlowDefinitionOutput) SetFailureReason(v string) *DescribeFlowDefinitionOutput {
24427	s.FailureReason = &v
24428	return s
24429}
24430
24431// SetFlowDefinitionArn sets the FlowDefinitionArn field's value.
24432func (s *DescribeFlowDefinitionOutput) SetFlowDefinitionArn(v string) *DescribeFlowDefinitionOutput {
24433	s.FlowDefinitionArn = &v
24434	return s
24435}
24436
24437// SetFlowDefinitionName sets the FlowDefinitionName field's value.
24438func (s *DescribeFlowDefinitionOutput) SetFlowDefinitionName(v string) *DescribeFlowDefinitionOutput {
24439	s.FlowDefinitionName = &v
24440	return s
24441}
24442
24443// SetFlowDefinitionStatus sets the FlowDefinitionStatus field's value.
24444func (s *DescribeFlowDefinitionOutput) SetFlowDefinitionStatus(v string) *DescribeFlowDefinitionOutput {
24445	s.FlowDefinitionStatus = &v
24446	return s
24447}
24448
24449// SetHumanLoopActivationConfig sets the HumanLoopActivationConfig field's value.
24450func (s *DescribeFlowDefinitionOutput) SetHumanLoopActivationConfig(v *HumanLoopActivationConfig) *DescribeFlowDefinitionOutput {
24451	s.HumanLoopActivationConfig = v
24452	return s
24453}
24454
24455// SetHumanLoopConfig sets the HumanLoopConfig field's value.
24456func (s *DescribeFlowDefinitionOutput) SetHumanLoopConfig(v *HumanLoopConfig) *DescribeFlowDefinitionOutput {
24457	s.HumanLoopConfig = v
24458	return s
24459}
24460
24461// SetHumanLoopRequestSource sets the HumanLoopRequestSource field's value.
24462func (s *DescribeFlowDefinitionOutput) SetHumanLoopRequestSource(v *HumanLoopRequestSource) *DescribeFlowDefinitionOutput {
24463	s.HumanLoopRequestSource = v
24464	return s
24465}
24466
24467// SetOutputConfig sets the OutputConfig field's value.
24468func (s *DescribeFlowDefinitionOutput) SetOutputConfig(v *FlowDefinitionOutputConfig) *DescribeFlowDefinitionOutput {
24469	s.OutputConfig = v
24470	return s
24471}
24472
24473// SetRoleArn sets the RoleArn field's value.
24474func (s *DescribeFlowDefinitionOutput) SetRoleArn(v string) *DescribeFlowDefinitionOutput {
24475	s.RoleArn = &v
24476	return s
24477}
24478
24479type DescribeHumanTaskUiInput struct {
24480	_ struct{} `type:"structure"`
24481
24482	// The name of the human task user interface (worker task template) you want
24483	// information about.
24484	//
24485	// HumanTaskUiName is a required field
24486	HumanTaskUiName *string `min:"1" type:"string" required:"true"`
24487}
24488
24489// String returns the string representation
24490func (s DescribeHumanTaskUiInput) String() string {
24491	return awsutil.Prettify(s)
24492}
24493
24494// GoString returns the string representation
24495func (s DescribeHumanTaskUiInput) GoString() string {
24496	return s.String()
24497}
24498
24499// Validate inspects the fields of the type to determine if they are valid.
24500func (s *DescribeHumanTaskUiInput) Validate() error {
24501	invalidParams := request.ErrInvalidParams{Context: "DescribeHumanTaskUiInput"}
24502	if s.HumanTaskUiName == nil {
24503		invalidParams.Add(request.NewErrParamRequired("HumanTaskUiName"))
24504	}
24505	if s.HumanTaskUiName != nil && len(*s.HumanTaskUiName) < 1 {
24506		invalidParams.Add(request.NewErrParamMinLen("HumanTaskUiName", 1))
24507	}
24508
24509	if invalidParams.Len() > 0 {
24510		return invalidParams
24511	}
24512	return nil
24513}
24514
24515// SetHumanTaskUiName sets the HumanTaskUiName field's value.
24516func (s *DescribeHumanTaskUiInput) SetHumanTaskUiName(v string) *DescribeHumanTaskUiInput {
24517	s.HumanTaskUiName = &v
24518	return s
24519}
24520
24521type DescribeHumanTaskUiOutput struct {
24522	_ struct{} `type:"structure"`
24523
24524	// The timestamp when the human task user interface was created.
24525	//
24526	// CreationTime is a required field
24527	CreationTime *time.Time `type:"timestamp" required:"true"`
24528
24529	// The Amazon Resource Name (ARN) of the human task user interface (worker task
24530	// template).
24531	//
24532	// HumanTaskUiArn is a required field
24533	HumanTaskUiArn *string `type:"string" required:"true"`
24534
24535	// The name of the human task user interface (worker task template).
24536	//
24537	// HumanTaskUiName is a required field
24538	HumanTaskUiName *string `min:"1" type:"string" required:"true"`
24539
24540	// The status of the human task user interface (worker task template). Valid
24541	// values are listed below.
24542	HumanTaskUiStatus *string `type:"string" enum:"HumanTaskUiStatus"`
24543
24544	// Container for user interface template information.
24545	//
24546	// UiTemplate is a required field
24547	UiTemplate *UiTemplateInfo `type:"structure" required:"true"`
24548}
24549
24550// String returns the string representation
24551func (s DescribeHumanTaskUiOutput) String() string {
24552	return awsutil.Prettify(s)
24553}
24554
24555// GoString returns the string representation
24556func (s DescribeHumanTaskUiOutput) GoString() string {
24557	return s.String()
24558}
24559
24560// SetCreationTime sets the CreationTime field's value.
24561func (s *DescribeHumanTaskUiOutput) SetCreationTime(v time.Time) *DescribeHumanTaskUiOutput {
24562	s.CreationTime = &v
24563	return s
24564}
24565
24566// SetHumanTaskUiArn sets the HumanTaskUiArn field's value.
24567func (s *DescribeHumanTaskUiOutput) SetHumanTaskUiArn(v string) *DescribeHumanTaskUiOutput {
24568	s.HumanTaskUiArn = &v
24569	return s
24570}
24571
24572// SetHumanTaskUiName sets the HumanTaskUiName field's value.
24573func (s *DescribeHumanTaskUiOutput) SetHumanTaskUiName(v string) *DescribeHumanTaskUiOutput {
24574	s.HumanTaskUiName = &v
24575	return s
24576}
24577
24578// SetHumanTaskUiStatus sets the HumanTaskUiStatus field's value.
24579func (s *DescribeHumanTaskUiOutput) SetHumanTaskUiStatus(v string) *DescribeHumanTaskUiOutput {
24580	s.HumanTaskUiStatus = &v
24581	return s
24582}
24583
24584// SetUiTemplate sets the UiTemplate field's value.
24585func (s *DescribeHumanTaskUiOutput) SetUiTemplate(v *UiTemplateInfo) *DescribeHumanTaskUiOutput {
24586	s.UiTemplate = v
24587	return s
24588}
24589
24590type DescribeHyperParameterTuningJobInput struct {
24591	_ struct{} `type:"structure"`
24592
24593	// The name of the tuning job.
24594	//
24595	// HyperParameterTuningJobName is a required field
24596	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
24597}
24598
24599// String returns the string representation
24600func (s DescribeHyperParameterTuningJobInput) String() string {
24601	return awsutil.Prettify(s)
24602}
24603
24604// GoString returns the string representation
24605func (s DescribeHyperParameterTuningJobInput) GoString() string {
24606	return s.String()
24607}
24608
24609// Validate inspects the fields of the type to determine if they are valid.
24610func (s *DescribeHyperParameterTuningJobInput) Validate() error {
24611	invalidParams := request.ErrInvalidParams{Context: "DescribeHyperParameterTuningJobInput"}
24612	if s.HyperParameterTuningJobName == nil {
24613		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobName"))
24614	}
24615	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
24616		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
24617	}
24618
24619	if invalidParams.Len() > 0 {
24620		return invalidParams
24621	}
24622	return nil
24623}
24624
24625// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
24626func (s *DescribeHyperParameterTuningJobInput) SetHyperParameterTuningJobName(v string) *DescribeHyperParameterTuningJobInput {
24627	s.HyperParameterTuningJobName = &v
24628	return s
24629}
24630
24631type DescribeHyperParameterTuningJobOutput struct {
24632	_ struct{} `type:"structure"`
24633
24634	// A TrainingJobSummary object that describes the training job that completed
24635	// with the best current HyperParameterTuningJobObjective.
24636	BestTrainingJob *HyperParameterTrainingJobSummary `type:"structure"`
24637
24638	// The date and time that the tuning job started.
24639	//
24640	// CreationTime is a required field
24641	CreationTime *time.Time `type:"timestamp" required:"true"`
24642
24643	// If the tuning job failed, the reason it failed.
24644	FailureReason *string `type:"string"`
24645
24646	// The date and time that the tuning job ended.
24647	HyperParameterTuningEndTime *time.Time `type:"timestamp"`
24648
24649	// The Amazon Resource Name (ARN) of the tuning job.
24650	//
24651	// HyperParameterTuningJobArn is a required field
24652	HyperParameterTuningJobArn *string `type:"string" required:"true"`
24653
24654	// The HyperParameterTuningJobConfig object that specifies the configuration
24655	// of the tuning job.
24656	//
24657	// HyperParameterTuningJobConfig is a required field
24658	HyperParameterTuningJobConfig *HyperParameterTuningJobConfig `type:"structure" required:"true"`
24659
24660	// The name of the tuning job.
24661	//
24662	// HyperParameterTuningJobName is a required field
24663	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
24664
24665	// The status of the tuning job: InProgress, Completed, Failed, Stopping, or
24666	// Stopped.
24667	//
24668	// HyperParameterTuningJobStatus is a required field
24669	HyperParameterTuningJobStatus *string `type:"string" required:"true" enum:"HyperParameterTuningJobStatus"`
24670
24671	// The date and time that the status of the tuning job was modified.
24672	LastModifiedTime *time.Time `type:"timestamp"`
24673
24674	// The ObjectiveStatusCounters object that specifies the number of training
24675	// jobs, categorized by the status of their final objective metric, that this
24676	// tuning job launched.
24677	//
24678	// ObjectiveStatusCounters is a required field
24679	ObjectiveStatusCounters *ObjectiveStatusCounters `type:"structure" required:"true"`
24680
24681	// If the hyperparameter tuning job is an warm start tuning job with a WarmStartType
24682	// of IDENTICAL_DATA_AND_ALGORITHM, this is the TrainingJobSummary for the training
24683	// job with the best objective metric value of all training jobs launched by
24684	// this tuning job and all parent jobs specified for the warm start tuning job.
24685	OverallBestTrainingJob *HyperParameterTrainingJobSummary `type:"structure"`
24686
24687	// The HyperParameterTrainingJobDefinition object that specifies the definition
24688	// of the training jobs that this tuning job launches.
24689	TrainingJobDefinition *HyperParameterTrainingJobDefinition `type:"structure"`
24690
24691	// A list of the HyperParameterTrainingJobDefinition objects launched for this
24692	// tuning job.
24693	TrainingJobDefinitions []*HyperParameterTrainingJobDefinition `min:"1" type:"list"`
24694
24695	// The TrainingJobStatusCounters object that specifies the number of training
24696	// jobs, categorized by status, that this tuning job launched.
24697	//
24698	// TrainingJobStatusCounters is a required field
24699	TrainingJobStatusCounters *TrainingJobStatusCounters `type:"structure" required:"true"`
24700
24701	// The configuration for starting the hyperparameter parameter tuning job using
24702	// one or more previous tuning jobs as a starting point. The results of previous
24703	// tuning jobs are used to inform which combinations of hyperparameters to search
24704	// over in the new tuning job.
24705	WarmStartConfig *HyperParameterTuningJobWarmStartConfig `type:"structure"`
24706}
24707
24708// String returns the string representation
24709func (s DescribeHyperParameterTuningJobOutput) String() string {
24710	return awsutil.Prettify(s)
24711}
24712
24713// GoString returns the string representation
24714func (s DescribeHyperParameterTuningJobOutput) GoString() string {
24715	return s.String()
24716}
24717
24718// SetBestTrainingJob sets the BestTrainingJob field's value.
24719func (s *DescribeHyperParameterTuningJobOutput) SetBestTrainingJob(v *HyperParameterTrainingJobSummary) *DescribeHyperParameterTuningJobOutput {
24720	s.BestTrainingJob = v
24721	return s
24722}
24723
24724// SetCreationTime sets the CreationTime field's value.
24725func (s *DescribeHyperParameterTuningJobOutput) SetCreationTime(v time.Time) *DescribeHyperParameterTuningJobOutput {
24726	s.CreationTime = &v
24727	return s
24728}
24729
24730// SetFailureReason sets the FailureReason field's value.
24731func (s *DescribeHyperParameterTuningJobOutput) SetFailureReason(v string) *DescribeHyperParameterTuningJobOutput {
24732	s.FailureReason = &v
24733	return s
24734}
24735
24736// SetHyperParameterTuningEndTime sets the HyperParameterTuningEndTime field's value.
24737func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningEndTime(v time.Time) *DescribeHyperParameterTuningJobOutput {
24738	s.HyperParameterTuningEndTime = &v
24739	return s
24740}
24741
24742// SetHyperParameterTuningJobArn sets the HyperParameterTuningJobArn field's value.
24743func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningJobArn(v string) *DescribeHyperParameterTuningJobOutput {
24744	s.HyperParameterTuningJobArn = &v
24745	return s
24746}
24747
24748// SetHyperParameterTuningJobConfig sets the HyperParameterTuningJobConfig field's value.
24749func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningJobConfig(v *HyperParameterTuningJobConfig) *DescribeHyperParameterTuningJobOutput {
24750	s.HyperParameterTuningJobConfig = v
24751	return s
24752}
24753
24754// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
24755func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningJobName(v string) *DescribeHyperParameterTuningJobOutput {
24756	s.HyperParameterTuningJobName = &v
24757	return s
24758}
24759
24760// SetHyperParameterTuningJobStatus sets the HyperParameterTuningJobStatus field's value.
24761func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningJobStatus(v string) *DescribeHyperParameterTuningJobOutput {
24762	s.HyperParameterTuningJobStatus = &v
24763	return s
24764}
24765
24766// SetLastModifiedTime sets the LastModifiedTime field's value.
24767func (s *DescribeHyperParameterTuningJobOutput) SetLastModifiedTime(v time.Time) *DescribeHyperParameterTuningJobOutput {
24768	s.LastModifiedTime = &v
24769	return s
24770}
24771
24772// SetObjectiveStatusCounters sets the ObjectiveStatusCounters field's value.
24773func (s *DescribeHyperParameterTuningJobOutput) SetObjectiveStatusCounters(v *ObjectiveStatusCounters) *DescribeHyperParameterTuningJobOutput {
24774	s.ObjectiveStatusCounters = v
24775	return s
24776}
24777
24778// SetOverallBestTrainingJob sets the OverallBestTrainingJob field's value.
24779func (s *DescribeHyperParameterTuningJobOutput) SetOverallBestTrainingJob(v *HyperParameterTrainingJobSummary) *DescribeHyperParameterTuningJobOutput {
24780	s.OverallBestTrainingJob = v
24781	return s
24782}
24783
24784// SetTrainingJobDefinition sets the TrainingJobDefinition field's value.
24785func (s *DescribeHyperParameterTuningJobOutput) SetTrainingJobDefinition(v *HyperParameterTrainingJobDefinition) *DescribeHyperParameterTuningJobOutput {
24786	s.TrainingJobDefinition = v
24787	return s
24788}
24789
24790// SetTrainingJobDefinitions sets the TrainingJobDefinitions field's value.
24791func (s *DescribeHyperParameterTuningJobOutput) SetTrainingJobDefinitions(v []*HyperParameterTrainingJobDefinition) *DescribeHyperParameterTuningJobOutput {
24792	s.TrainingJobDefinitions = v
24793	return s
24794}
24795
24796// SetTrainingJobStatusCounters sets the TrainingJobStatusCounters field's value.
24797func (s *DescribeHyperParameterTuningJobOutput) SetTrainingJobStatusCounters(v *TrainingJobStatusCounters) *DescribeHyperParameterTuningJobOutput {
24798	s.TrainingJobStatusCounters = v
24799	return s
24800}
24801
24802// SetWarmStartConfig sets the WarmStartConfig field's value.
24803func (s *DescribeHyperParameterTuningJobOutput) SetWarmStartConfig(v *HyperParameterTuningJobWarmStartConfig) *DescribeHyperParameterTuningJobOutput {
24804	s.WarmStartConfig = v
24805	return s
24806}
24807
24808type DescribeLabelingJobInput struct {
24809	_ struct{} `type:"structure"`
24810
24811	// The name of the labeling job to return information for.
24812	//
24813	// LabelingJobName is a required field
24814	LabelingJobName *string `min:"1" type:"string" required:"true"`
24815}
24816
24817// String returns the string representation
24818func (s DescribeLabelingJobInput) String() string {
24819	return awsutil.Prettify(s)
24820}
24821
24822// GoString returns the string representation
24823func (s DescribeLabelingJobInput) GoString() string {
24824	return s.String()
24825}
24826
24827// Validate inspects the fields of the type to determine if they are valid.
24828func (s *DescribeLabelingJobInput) Validate() error {
24829	invalidParams := request.ErrInvalidParams{Context: "DescribeLabelingJobInput"}
24830	if s.LabelingJobName == nil {
24831		invalidParams.Add(request.NewErrParamRequired("LabelingJobName"))
24832	}
24833	if s.LabelingJobName != nil && len(*s.LabelingJobName) < 1 {
24834		invalidParams.Add(request.NewErrParamMinLen("LabelingJobName", 1))
24835	}
24836
24837	if invalidParams.Len() > 0 {
24838		return invalidParams
24839	}
24840	return nil
24841}
24842
24843// SetLabelingJobName sets the LabelingJobName field's value.
24844func (s *DescribeLabelingJobInput) SetLabelingJobName(v string) *DescribeLabelingJobInput {
24845	s.LabelingJobName = &v
24846	return s
24847}
24848
24849type DescribeLabelingJobOutput struct {
24850	_ struct{} `type:"structure"`
24851
24852	// The date and time that the labeling job was created.
24853	//
24854	// CreationTime is a required field
24855	CreationTime *time.Time `type:"timestamp" required:"true"`
24856
24857	// If the job failed, the reason that it failed.
24858	FailureReason *string `type:"string"`
24859
24860	// Configuration information required for human workers to complete a labeling
24861	// task.
24862	//
24863	// HumanTaskConfig is a required field
24864	HumanTaskConfig *HumanTaskConfig `type:"structure" required:"true"`
24865
24866	// Input configuration information for the labeling job, such as the Amazon
24867	// S3 location of the data objects and the location of the manifest file that
24868	// describes the data objects.
24869	//
24870	// InputConfig is a required field
24871	InputConfig *LabelingJobInputConfig `type:"structure" required:"true"`
24872
24873	// A unique identifier for work done as part of a labeling job.
24874	//
24875	// JobReferenceCode is a required field
24876	JobReferenceCode *string `min:"1" type:"string" required:"true"`
24877
24878	// The attribute used as the label in the output manifest file.
24879	LabelAttributeName *string `min:"1" type:"string"`
24880
24881	// The S3 location of the JSON file that defines the categories used to label
24882	// data objects. Please note the following label-category limits:
24883	//
24884	//    * Semantic segmentation labeling jobs using automated labeling: 20 labels
24885	//
24886	//    * Box bounding labeling jobs (all): 10 labels
24887	//
24888	// The file is a JSON structure in the following format:
24889	//
24890	// {
24891	//
24892	// "document-version": "2018-11-28"
24893	//
24894	// "labels": [
24895	//
24896	// {
24897	//
24898	// "label": "label 1"
24899	//
24900	// },
24901	//
24902	// {
24903	//
24904	// "label": "label 2"
24905	//
24906	// },
24907	//
24908	// ...
24909	//
24910	// {
24911	//
24912	// "label": "label n"
24913	//
24914	// }
24915	//
24916	// ]
24917	//
24918	// }
24919	LabelCategoryConfigS3Uri *string `type:"string"`
24920
24921	// Provides a breakdown of the number of data objects labeled by humans, the
24922	// number of objects labeled by machine, the number of objects than couldn't
24923	// be labeled, and the total number of objects labeled.
24924	//
24925	// LabelCounters is a required field
24926	LabelCounters *LabelCounters `type:"structure" required:"true"`
24927
24928	// Configuration information for automated data labeling.
24929	LabelingJobAlgorithmsConfig *LabelingJobAlgorithmsConfig `type:"structure"`
24930
24931	// The Amazon Resource Name (ARN) of the labeling job.
24932	//
24933	// LabelingJobArn is a required field
24934	LabelingJobArn *string `type:"string" required:"true"`
24935
24936	// The name assigned to the labeling job when it was created.
24937	//
24938	// LabelingJobName is a required field
24939	LabelingJobName *string `min:"1" type:"string" required:"true"`
24940
24941	// The location of the output produced by the labeling job.
24942	LabelingJobOutput *LabelingJobOutput `type:"structure"`
24943
24944	// The processing status of the labeling job.
24945	//
24946	// LabelingJobStatus is a required field
24947	LabelingJobStatus *string `type:"string" required:"true" enum:"LabelingJobStatus"`
24948
24949	// The date and time that the labeling job was last updated.
24950	//
24951	// LastModifiedTime is a required field
24952	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
24953
24954	// The location of the job's output data and the AWS Key Management Service
24955	// key ID for the key used to encrypt the output data, if any.
24956	//
24957	// OutputConfig is a required field
24958	OutputConfig *LabelingJobOutputConfig `type:"structure" required:"true"`
24959
24960	// The Amazon Resource Name (ARN) that Amazon SageMaker assumes to perform tasks
24961	// on your behalf during data labeling.
24962	//
24963	// RoleArn is a required field
24964	RoleArn *string `min:"20" type:"string" required:"true"`
24965
24966	// A set of conditions for stopping a labeling job. If any of the conditions
24967	// are met, the job is automatically stopped.
24968	StoppingConditions *LabelingJobStoppingConditions `type:"structure"`
24969
24970	// An array of key/value pairs. For more information, see Using Cost Allocation
24971	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
24972	// in the AWS Billing and Cost Management User Guide.
24973	Tags []*Tag `type:"list"`
24974}
24975
24976// String returns the string representation
24977func (s DescribeLabelingJobOutput) String() string {
24978	return awsutil.Prettify(s)
24979}
24980
24981// GoString returns the string representation
24982func (s DescribeLabelingJobOutput) GoString() string {
24983	return s.String()
24984}
24985
24986// SetCreationTime sets the CreationTime field's value.
24987func (s *DescribeLabelingJobOutput) SetCreationTime(v time.Time) *DescribeLabelingJobOutput {
24988	s.CreationTime = &v
24989	return s
24990}
24991
24992// SetFailureReason sets the FailureReason field's value.
24993func (s *DescribeLabelingJobOutput) SetFailureReason(v string) *DescribeLabelingJobOutput {
24994	s.FailureReason = &v
24995	return s
24996}
24997
24998// SetHumanTaskConfig sets the HumanTaskConfig field's value.
24999func (s *DescribeLabelingJobOutput) SetHumanTaskConfig(v *HumanTaskConfig) *DescribeLabelingJobOutput {
25000	s.HumanTaskConfig = v
25001	return s
25002}
25003
25004// SetInputConfig sets the InputConfig field's value.
25005func (s *DescribeLabelingJobOutput) SetInputConfig(v *LabelingJobInputConfig) *DescribeLabelingJobOutput {
25006	s.InputConfig = v
25007	return s
25008}
25009
25010// SetJobReferenceCode sets the JobReferenceCode field's value.
25011func (s *DescribeLabelingJobOutput) SetJobReferenceCode(v string) *DescribeLabelingJobOutput {
25012	s.JobReferenceCode = &v
25013	return s
25014}
25015
25016// SetLabelAttributeName sets the LabelAttributeName field's value.
25017func (s *DescribeLabelingJobOutput) SetLabelAttributeName(v string) *DescribeLabelingJobOutput {
25018	s.LabelAttributeName = &v
25019	return s
25020}
25021
25022// SetLabelCategoryConfigS3Uri sets the LabelCategoryConfigS3Uri field's value.
25023func (s *DescribeLabelingJobOutput) SetLabelCategoryConfigS3Uri(v string) *DescribeLabelingJobOutput {
25024	s.LabelCategoryConfigS3Uri = &v
25025	return s
25026}
25027
25028// SetLabelCounters sets the LabelCounters field's value.
25029func (s *DescribeLabelingJobOutput) SetLabelCounters(v *LabelCounters) *DescribeLabelingJobOutput {
25030	s.LabelCounters = v
25031	return s
25032}
25033
25034// SetLabelingJobAlgorithmsConfig sets the LabelingJobAlgorithmsConfig field's value.
25035func (s *DescribeLabelingJobOutput) SetLabelingJobAlgorithmsConfig(v *LabelingJobAlgorithmsConfig) *DescribeLabelingJobOutput {
25036	s.LabelingJobAlgorithmsConfig = v
25037	return s
25038}
25039
25040// SetLabelingJobArn sets the LabelingJobArn field's value.
25041func (s *DescribeLabelingJobOutput) SetLabelingJobArn(v string) *DescribeLabelingJobOutput {
25042	s.LabelingJobArn = &v
25043	return s
25044}
25045
25046// SetLabelingJobName sets the LabelingJobName field's value.
25047func (s *DescribeLabelingJobOutput) SetLabelingJobName(v string) *DescribeLabelingJobOutput {
25048	s.LabelingJobName = &v
25049	return s
25050}
25051
25052// SetLabelingJobOutput sets the LabelingJobOutput field's value.
25053func (s *DescribeLabelingJobOutput) SetLabelingJobOutput(v *LabelingJobOutput) *DescribeLabelingJobOutput {
25054	s.LabelingJobOutput = v
25055	return s
25056}
25057
25058// SetLabelingJobStatus sets the LabelingJobStatus field's value.
25059func (s *DescribeLabelingJobOutput) SetLabelingJobStatus(v string) *DescribeLabelingJobOutput {
25060	s.LabelingJobStatus = &v
25061	return s
25062}
25063
25064// SetLastModifiedTime sets the LastModifiedTime field's value.
25065func (s *DescribeLabelingJobOutput) SetLastModifiedTime(v time.Time) *DescribeLabelingJobOutput {
25066	s.LastModifiedTime = &v
25067	return s
25068}
25069
25070// SetOutputConfig sets the OutputConfig field's value.
25071func (s *DescribeLabelingJobOutput) SetOutputConfig(v *LabelingJobOutputConfig) *DescribeLabelingJobOutput {
25072	s.OutputConfig = v
25073	return s
25074}
25075
25076// SetRoleArn sets the RoleArn field's value.
25077func (s *DescribeLabelingJobOutput) SetRoleArn(v string) *DescribeLabelingJobOutput {
25078	s.RoleArn = &v
25079	return s
25080}
25081
25082// SetStoppingConditions sets the StoppingConditions field's value.
25083func (s *DescribeLabelingJobOutput) SetStoppingConditions(v *LabelingJobStoppingConditions) *DescribeLabelingJobOutput {
25084	s.StoppingConditions = v
25085	return s
25086}
25087
25088// SetTags sets the Tags field's value.
25089func (s *DescribeLabelingJobOutput) SetTags(v []*Tag) *DescribeLabelingJobOutput {
25090	s.Tags = v
25091	return s
25092}
25093
25094type DescribeModelInput struct {
25095	_ struct{} `type:"structure"`
25096
25097	// The name of the model.
25098	//
25099	// ModelName is a required field
25100	ModelName *string `type:"string" required:"true"`
25101}
25102
25103// String returns the string representation
25104func (s DescribeModelInput) String() string {
25105	return awsutil.Prettify(s)
25106}
25107
25108// GoString returns the string representation
25109func (s DescribeModelInput) GoString() string {
25110	return s.String()
25111}
25112
25113// Validate inspects the fields of the type to determine if they are valid.
25114func (s *DescribeModelInput) Validate() error {
25115	invalidParams := request.ErrInvalidParams{Context: "DescribeModelInput"}
25116	if s.ModelName == nil {
25117		invalidParams.Add(request.NewErrParamRequired("ModelName"))
25118	}
25119
25120	if invalidParams.Len() > 0 {
25121		return invalidParams
25122	}
25123	return nil
25124}
25125
25126// SetModelName sets the ModelName field's value.
25127func (s *DescribeModelInput) SetModelName(v string) *DescribeModelInput {
25128	s.ModelName = &v
25129	return s
25130}
25131
25132type DescribeModelOutput struct {
25133	_ struct{} `type:"structure"`
25134
25135	// The containers in the inference pipeline.
25136	Containers []*ContainerDefinition `type:"list"`
25137
25138	// A timestamp that shows when the model was created.
25139	//
25140	// CreationTime is a required field
25141	CreationTime *time.Time `type:"timestamp" required:"true"`
25142
25143	// If True, no inbound or outbound network calls can be made to or from the
25144	// model container.
25145	EnableNetworkIsolation *bool `type:"boolean"`
25146
25147	// The Amazon Resource Name (ARN) of the IAM role that you specified for the
25148	// model.
25149	//
25150	// ExecutionRoleArn is a required field
25151	ExecutionRoleArn *string `min:"20" type:"string" required:"true"`
25152
25153	// The Amazon Resource Name (ARN) of the model.
25154	//
25155	// ModelArn is a required field
25156	ModelArn *string `min:"20" type:"string" required:"true"`
25157
25158	// Name of the Amazon SageMaker model.
25159	//
25160	// ModelName is a required field
25161	ModelName *string `type:"string" required:"true"`
25162
25163	// The location of the primary inference code, associated artifacts, and custom
25164	// environment map that the inference code uses when it is deployed in production.
25165	PrimaryContainer *ContainerDefinition `type:"structure"`
25166
25167	// A VpcConfig object that specifies the VPC that this model has access to.
25168	// For more information, see Protect Endpoints by Using an Amazon Virtual Private
25169	// Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html)
25170	VpcConfig *VpcConfig `type:"structure"`
25171}
25172
25173// String returns the string representation
25174func (s DescribeModelOutput) String() string {
25175	return awsutil.Prettify(s)
25176}
25177
25178// GoString returns the string representation
25179func (s DescribeModelOutput) GoString() string {
25180	return s.String()
25181}
25182
25183// SetContainers sets the Containers field's value.
25184func (s *DescribeModelOutput) SetContainers(v []*ContainerDefinition) *DescribeModelOutput {
25185	s.Containers = v
25186	return s
25187}
25188
25189// SetCreationTime sets the CreationTime field's value.
25190func (s *DescribeModelOutput) SetCreationTime(v time.Time) *DescribeModelOutput {
25191	s.CreationTime = &v
25192	return s
25193}
25194
25195// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
25196func (s *DescribeModelOutput) SetEnableNetworkIsolation(v bool) *DescribeModelOutput {
25197	s.EnableNetworkIsolation = &v
25198	return s
25199}
25200
25201// SetExecutionRoleArn sets the ExecutionRoleArn field's value.
25202func (s *DescribeModelOutput) SetExecutionRoleArn(v string) *DescribeModelOutput {
25203	s.ExecutionRoleArn = &v
25204	return s
25205}
25206
25207// SetModelArn sets the ModelArn field's value.
25208func (s *DescribeModelOutput) SetModelArn(v string) *DescribeModelOutput {
25209	s.ModelArn = &v
25210	return s
25211}
25212
25213// SetModelName sets the ModelName field's value.
25214func (s *DescribeModelOutput) SetModelName(v string) *DescribeModelOutput {
25215	s.ModelName = &v
25216	return s
25217}
25218
25219// SetPrimaryContainer sets the PrimaryContainer field's value.
25220func (s *DescribeModelOutput) SetPrimaryContainer(v *ContainerDefinition) *DescribeModelOutput {
25221	s.PrimaryContainer = v
25222	return s
25223}
25224
25225// SetVpcConfig sets the VpcConfig field's value.
25226func (s *DescribeModelOutput) SetVpcConfig(v *VpcConfig) *DescribeModelOutput {
25227	s.VpcConfig = v
25228	return s
25229}
25230
25231type DescribeModelPackageInput struct {
25232	_ struct{} `type:"structure"`
25233
25234	// The name of the model package to describe.
25235	//
25236	// ModelPackageName is a required field
25237	ModelPackageName *string `min:"1" type:"string" required:"true"`
25238}
25239
25240// String returns the string representation
25241func (s DescribeModelPackageInput) String() string {
25242	return awsutil.Prettify(s)
25243}
25244
25245// GoString returns the string representation
25246func (s DescribeModelPackageInput) GoString() string {
25247	return s.String()
25248}
25249
25250// Validate inspects the fields of the type to determine if they are valid.
25251func (s *DescribeModelPackageInput) Validate() error {
25252	invalidParams := request.ErrInvalidParams{Context: "DescribeModelPackageInput"}
25253	if s.ModelPackageName == nil {
25254		invalidParams.Add(request.NewErrParamRequired("ModelPackageName"))
25255	}
25256	if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 {
25257		invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1))
25258	}
25259
25260	if invalidParams.Len() > 0 {
25261		return invalidParams
25262	}
25263	return nil
25264}
25265
25266// SetModelPackageName sets the ModelPackageName field's value.
25267func (s *DescribeModelPackageInput) SetModelPackageName(v string) *DescribeModelPackageInput {
25268	s.ModelPackageName = &v
25269	return s
25270}
25271
25272type DescribeModelPackageOutput struct {
25273	_ struct{} `type:"structure"`
25274
25275	// Whether the model package is certified for listing on AWS Marketplace.
25276	CertifyForMarketplace *bool `type:"boolean"`
25277
25278	// A timestamp specifying when the model package was created.
25279	//
25280	// CreationTime is a required field
25281	CreationTime *time.Time `type:"timestamp" required:"true"`
25282
25283	// Details about inference jobs that can be run with models based on this model
25284	// package.
25285	InferenceSpecification *InferenceSpecification `type:"structure"`
25286
25287	// The Amazon Resource Name (ARN) of the model package.
25288	//
25289	// ModelPackageArn is a required field
25290	ModelPackageArn *string `min:"1" type:"string" required:"true"`
25291
25292	// A brief summary of the model package.
25293	ModelPackageDescription *string `type:"string"`
25294
25295	// The name of the model package being described.
25296	//
25297	// ModelPackageName is a required field
25298	ModelPackageName *string `min:"1" type:"string" required:"true"`
25299
25300	// The current status of the model package.
25301	//
25302	// ModelPackageStatus is a required field
25303	ModelPackageStatus *string `type:"string" required:"true" enum:"ModelPackageStatus"`
25304
25305	// Details about the current status of the model package.
25306	//
25307	// ModelPackageStatusDetails is a required field
25308	ModelPackageStatusDetails *ModelPackageStatusDetails `type:"structure" required:"true"`
25309
25310	// Details about the algorithm that was used to create the model package.
25311	SourceAlgorithmSpecification *SourceAlgorithmSpecification `type:"structure"`
25312
25313	// Configurations for one or more transform jobs that Amazon SageMaker runs
25314	// to test the model package.
25315	ValidationSpecification *ModelPackageValidationSpecification `type:"structure"`
25316}
25317
25318// String returns the string representation
25319func (s DescribeModelPackageOutput) String() string {
25320	return awsutil.Prettify(s)
25321}
25322
25323// GoString returns the string representation
25324func (s DescribeModelPackageOutput) GoString() string {
25325	return s.String()
25326}
25327
25328// SetCertifyForMarketplace sets the CertifyForMarketplace field's value.
25329func (s *DescribeModelPackageOutput) SetCertifyForMarketplace(v bool) *DescribeModelPackageOutput {
25330	s.CertifyForMarketplace = &v
25331	return s
25332}
25333
25334// SetCreationTime sets the CreationTime field's value.
25335func (s *DescribeModelPackageOutput) SetCreationTime(v time.Time) *DescribeModelPackageOutput {
25336	s.CreationTime = &v
25337	return s
25338}
25339
25340// SetInferenceSpecification sets the InferenceSpecification field's value.
25341func (s *DescribeModelPackageOutput) SetInferenceSpecification(v *InferenceSpecification) *DescribeModelPackageOutput {
25342	s.InferenceSpecification = v
25343	return s
25344}
25345
25346// SetModelPackageArn sets the ModelPackageArn field's value.
25347func (s *DescribeModelPackageOutput) SetModelPackageArn(v string) *DescribeModelPackageOutput {
25348	s.ModelPackageArn = &v
25349	return s
25350}
25351
25352// SetModelPackageDescription sets the ModelPackageDescription field's value.
25353func (s *DescribeModelPackageOutput) SetModelPackageDescription(v string) *DescribeModelPackageOutput {
25354	s.ModelPackageDescription = &v
25355	return s
25356}
25357
25358// SetModelPackageName sets the ModelPackageName field's value.
25359func (s *DescribeModelPackageOutput) SetModelPackageName(v string) *DescribeModelPackageOutput {
25360	s.ModelPackageName = &v
25361	return s
25362}
25363
25364// SetModelPackageStatus sets the ModelPackageStatus field's value.
25365func (s *DescribeModelPackageOutput) SetModelPackageStatus(v string) *DescribeModelPackageOutput {
25366	s.ModelPackageStatus = &v
25367	return s
25368}
25369
25370// SetModelPackageStatusDetails sets the ModelPackageStatusDetails field's value.
25371func (s *DescribeModelPackageOutput) SetModelPackageStatusDetails(v *ModelPackageStatusDetails) *DescribeModelPackageOutput {
25372	s.ModelPackageStatusDetails = v
25373	return s
25374}
25375
25376// SetSourceAlgorithmSpecification sets the SourceAlgorithmSpecification field's value.
25377func (s *DescribeModelPackageOutput) SetSourceAlgorithmSpecification(v *SourceAlgorithmSpecification) *DescribeModelPackageOutput {
25378	s.SourceAlgorithmSpecification = v
25379	return s
25380}
25381
25382// SetValidationSpecification sets the ValidationSpecification field's value.
25383func (s *DescribeModelPackageOutput) SetValidationSpecification(v *ModelPackageValidationSpecification) *DescribeModelPackageOutput {
25384	s.ValidationSpecification = v
25385	return s
25386}
25387
25388type DescribeMonitoringScheduleInput struct {
25389	_ struct{} `type:"structure"`
25390
25391	// Name of a previously created monitoring schedule.
25392	//
25393	// MonitoringScheduleName is a required field
25394	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
25395}
25396
25397// String returns the string representation
25398func (s DescribeMonitoringScheduleInput) String() string {
25399	return awsutil.Prettify(s)
25400}
25401
25402// GoString returns the string representation
25403func (s DescribeMonitoringScheduleInput) GoString() string {
25404	return s.String()
25405}
25406
25407// Validate inspects the fields of the type to determine if they are valid.
25408func (s *DescribeMonitoringScheduleInput) Validate() error {
25409	invalidParams := request.ErrInvalidParams{Context: "DescribeMonitoringScheduleInput"}
25410	if s.MonitoringScheduleName == nil {
25411		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName"))
25412	}
25413	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
25414		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
25415	}
25416
25417	if invalidParams.Len() > 0 {
25418		return invalidParams
25419	}
25420	return nil
25421}
25422
25423// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
25424func (s *DescribeMonitoringScheduleInput) SetMonitoringScheduleName(v string) *DescribeMonitoringScheduleInput {
25425	s.MonitoringScheduleName = &v
25426	return s
25427}
25428
25429type DescribeMonitoringScheduleOutput struct {
25430	_ struct{} `type:"structure"`
25431
25432	// The time at which the monitoring job was created.
25433	//
25434	// CreationTime is a required field
25435	CreationTime *time.Time `type:"timestamp" required:"true"`
25436
25437	// The name of the endpoint for the monitoring job.
25438	EndpointName *string `type:"string"`
25439
25440	// A string, up to one KB in size, that contains the reason a monitoring job
25441	// failed, if it failed.
25442	FailureReason *string `type:"string"`
25443
25444	// The time at which the monitoring job was last modified.
25445	//
25446	// LastModifiedTime is a required field
25447	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
25448
25449	// Describes metadata on the last execution to run, if there was one.
25450	LastMonitoringExecutionSummary *MonitoringExecutionSummary `type:"structure"`
25451
25452	// The Amazon Resource Name (ARN) of the monitoring schedule.
25453	//
25454	// MonitoringScheduleArn is a required field
25455	MonitoringScheduleArn *string `type:"string" required:"true"`
25456
25457	// The configuration object that specifies the monitoring schedule and defines
25458	// the monitoring job.
25459	//
25460	// MonitoringScheduleConfig is a required field
25461	MonitoringScheduleConfig *MonitoringScheduleConfig `type:"structure" required:"true"`
25462
25463	// Name of the monitoring schedule.
25464	//
25465	// MonitoringScheduleName is a required field
25466	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
25467
25468	// The status of an monitoring job.
25469	//
25470	// MonitoringScheduleStatus is a required field
25471	MonitoringScheduleStatus *string `type:"string" required:"true" enum:"ScheduleStatus"`
25472}
25473
25474// String returns the string representation
25475func (s DescribeMonitoringScheduleOutput) String() string {
25476	return awsutil.Prettify(s)
25477}
25478
25479// GoString returns the string representation
25480func (s DescribeMonitoringScheduleOutput) GoString() string {
25481	return s.String()
25482}
25483
25484// SetCreationTime sets the CreationTime field's value.
25485func (s *DescribeMonitoringScheduleOutput) SetCreationTime(v time.Time) *DescribeMonitoringScheduleOutput {
25486	s.CreationTime = &v
25487	return s
25488}
25489
25490// SetEndpointName sets the EndpointName field's value.
25491func (s *DescribeMonitoringScheduleOutput) SetEndpointName(v string) *DescribeMonitoringScheduleOutput {
25492	s.EndpointName = &v
25493	return s
25494}
25495
25496// SetFailureReason sets the FailureReason field's value.
25497func (s *DescribeMonitoringScheduleOutput) SetFailureReason(v string) *DescribeMonitoringScheduleOutput {
25498	s.FailureReason = &v
25499	return s
25500}
25501
25502// SetLastModifiedTime sets the LastModifiedTime field's value.
25503func (s *DescribeMonitoringScheduleOutput) SetLastModifiedTime(v time.Time) *DescribeMonitoringScheduleOutput {
25504	s.LastModifiedTime = &v
25505	return s
25506}
25507
25508// SetLastMonitoringExecutionSummary sets the LastMonitoringExecutionSummary field's value.
25509func (s *DescribeMonitoringScheduleOutput) SetLastMonitoringExecutionSummary(v *MonitoringExecutionSummary) *DescribeMonitoringScheduleOutput {
25510	s.LastMonitoringExecutionSummary = v
25511	return s
25512}
25513
25514// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
25515func (s *DescribeMonitoringScheduleOutput) SetMonitoringScheduleArn(v string) *DescribeMonitoringScheduleOutput {
25516	s.MonitoringScheduleArn = &v
25517	return s
25518}
25519
25520// SetMonitoringScheduleConfig sets the MonitoringScheduleConfig field's value.
25521func (s *DescribeMonitoringScheduleOutput) SetMonitoringScheduleConfig(v *MonitoringScheduleConfig) *DescribeMonitoringScheduleOutput {
25522	s.MonitoringScheduleConfig = v
25523	return s
25524}
25525
25526// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
25527func (s *DescribeMonitoringScheduleOutput) SetMonitoringScheduleName(v string) *DescribeMonitoringScheduleOutput {
25528	s.MonitoringScheduleName = &v
25529	return s
25530}
25531
25532// SetMonitoringScheduleStatus sets the MonitoringScheduleStatus field's value.
25533func (s *DescribeMonitoringScheduleOutput) SetMonitoringScheduleStatus(v string) *DescribeMonitoringScheduleOutput {
25534	s.MonitoringScheduleStatus = &v
25535	return s
25536}
25537
25538type DescribeNotebookInstanceInput struct {
25539	_ struct{} `type:"structure"`
25540
25541	// The name of the notebook instance that you want information about.
25542	//
25543	// NotebookInstanceName is a required field
25544	NotebookInstanceName *string `type:"string" required:"true"`
25545}
25546
25547// String returns the string representation
25548func (s DescribeNotebookInstanceInput) String() string {
25549	return awsutil.Prettify(s)
25550}
25551
25552// GoString returns the string representation
25553func (s DescribeNotebookInstanceInput) GoString() string {
25554	return s.String()
25555}
25556
25557// Validate inspects the fields of the type to determine if they are valid.
25558func (s *DescribeNotebookInstanceInput) Validate() error {
25559	invalidParams := request.ErrInvalidParams{Context: "DescribeNotebookInstanceInput"}
25560	if s.NotebookInstanceName == nil {
25561		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
25562	}
25563
25564	if invalidParams.Len() > 0 {
25565		return invalidParams
25566	}
25567	return nil
25568}
25569
25570// SetNotebookInstanceName sets the NotebookInstanceName field's value.
25571func (s *DescribeNotebookInstanceInput) SetNotebookInstanceName(v string) *DescribeNotebookInstanceInput {
25572	s.NotebookInstanceName = &v
25573	return s
25574}
25575
25576type DescribeNotebookInstanceLifecycleConfigInput struct {
25577	_ struct{} `type:"structure"`
25578
25579	// The name of the lifecycle configuration to describe.
25580	//
25581	// NotebookInstanceLifecycleConfigName is a required field
25582	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
25583}
25584
25585// String returns the string representation
25586func (s DescribeNotebookInstanceLifecycleConfigInput) String() string {
25587	return awsutil.Prettify(s)
25588}
25589
25590// GoString returns the string representation
25591func (s DescribeNotebookInstanceLifecycleConfigInput) GoString() string {
25592	return s.String()
25593}
25594
25595// Validate inspects the fields of the type to determine if they are valid.
25596func (s *DescribeNotebookInstanceLifecycleConfigInput) Validate() error {
25597	invalidParams := request.ErrInvalidParams{Context: "DescribeNotebookInstanceLifecycleConfigInput"}
25598	if s.NotebookInstanceLifecycleConfigName == nil {
25599		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceLifecycleConfigName"))
25600	}
25601
25602	if invalidParams.Len() > 0 {
25603		return invalidParams
25604	}
25605	return nil
25606}
25607
25608// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
25609func (s *DescribeNotebookInstanceLifecycleConfigInput) SetNotebookInstanceLifecycleConfigName(v string) *DescribeNotebookInstanceLifecycleConfigInput {
25610	s.NotebookInstanceLifecycleConfigName = &v
25611	return s
25612}
25613
25614type DescribeNotebookInstanceLifecycleConfigOutput struct {
25615	_ struct{} `type:"structure"`
25616
25617	// A timestamp that tells when the lifecycle configuration was created.
25618	CreationTime *time.Time `type:"timestamp"`
25619
25620	// A timestamp that tells when the lifecycle configuration was last modified.
25621	LastModifiedTime *time.Time `type:"timestamp"`
25622
25623	// The Amazon Resource Name (ARN) of the lifecycle configuration.
25624	NotebookInstanceLifecycleConfigArn *string `type:"string"`
25625
25626	// The name of the lifecycle configuration.
25627	NotebookInstanceLifecycleConfigName *string `type:"string"`
25628
25629	// The shell script that runs only once, when you create a notebook instance.
25630	OnCreate []*NotebookInstanceLifecycleHook `type:"list"`
25631
25632	// The shell script that runs every time you start a notebook instance, including
25633	// when you create the notebook instance.
25634	OnStart []*NotebookInstanceLifecycleHook `type:"list"`
25635}
25636
25637// String returns the string representation
25638func (s DescribeNotebookInstanceLifecycleConfigOutput) String() string {
25639	return awsutil.Prettify(s)
25640}
25641
25642// GoString returns the string representation
25643func (s DescribeNotebookInstanceLifecycleConfigOutput) GoString() string {
25644	return s.String()
25645}
25646
25647// SetCreationTime sets the CreationTime field's value.
25648func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetCreationTime(v time.Time) *DescribeNotebookInstanceLifecycleConfigOutput {
25649	s.CreationTime = &v
25650	return s
25651}
25652
25653// SetLastModifiedTime sets the LastModifiedTime field's value.
25654func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetLastModifiedTime(v time.Time) *DescribeNotebookInstanceLifecycleConfigOutput {
25655	s.LastModifiedTime = &v
25656	return s
25657}
25658
25659// SetNotebookInstanceLifecycleConfigArn sets the NotebookInstanceLifecycleConfigArn field's value.
25660func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetNotebookInstanceLifecycleConfigArn(v string) *DescribeNotebookInstanceLifecycleConfigOutput {
25661	s.NotebookInstanceLifecycleConfigArn = &v
25662	return s
25663}
25664
25665// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
25666func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetNotebookInstanceLifecycleConfigName(v string) *DescribeNotebookInstanceLifecycleConfigOutput {
25667	s.NotebookInstanceLifecycleConfigName = &v
25668	return s
25669}
25670
25671// SetOnCreate sets the OnCreate field's value.
25672func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetOnCreate(v []*NotebookInstanceLifecycleHook) *DescribeNotebookInstanceLifecycleConfigOutput {
25673	s.OnCreate = v
25674	return s
25675}
25676
25677// SetOnStart sets the OnStart field's value.
25678func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetOnStart(v []*NotebookInstanceLifecycleHook) *DescribeNotebookInstanceLifecycleConfigOutput {
25679	s.OnStart = v
25680	return s
25681}
25682
25683type DescribeNotebookInstanceOutput struct {
25684	_ struct{} `type:"structure"`
25685
25686	// A list of the Elastic Inference (EI) instance types associated with this
25687	// notebook instance. Currently only one EI instance type can be associated
25688	// with a notebook instance. For more information, see Using Elastic Inference
25689	// in Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html).
25690	AcceleratorTypes []*string `type:"list"`
25691
25692	// An array of up to three Git repositories associated with the notebook instance.
25693	// These can be either the names of Git repositories stored as resources in
25694	// your account, or the URL of Git repositories in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
25695	// or in any other Git repository. These repositories are cloned at the same
25696	// level as the default repository of your notebook instance. For more information,
25697	// see Associating Git Repositories with Amazon SageMaker Notebook Instances
25698	// (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
25699	AdditionalCodeRepositories []*string `type:"list"`
25700
25701	// A timestamp. Use this parameter to return the time when the notebook instance
25702	// was created
25703	CreationTime *time.Time `type:"timestamp"`
25704
25705	// The Git repository associated with the notebook instance as its default code
25706	// repository. This can be either the name of a Git repository stored as a resource
25707	// in your account, or the URL of a Git repository in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
25708	// or in any other Git repository. When you open a notebook instance, it opens
25709	// in the directory that contains this repository. For more information, see
25710	// Associating Git Repositories with Amazon SageMaker Notebook Instances (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
25711	DefaultCodeRepository *string `min:"1" type:"string"`
25712
25713	// Describes whether Amazon SageMaker provides internet access to the notebook
25714	// instance. If this value is set to Disabled, the notebook instance does not
25715	// have internet access, and cannot connect to Amazon SageMaker training and
25716	// endpoint services.
25717	//
25718	// For more information, see Notebook Instances Are Internet-Enabled by Default
25719	// (https://docs.aws.amazon.com/sagemaker/latest/dg/appendix-additional-considerations.html#appendix-notebook-and-internet-access).
25720	DirectInternetAccess *string `type:"string" enum:"DirectInternetAccess"`
25721
25722	// If status is Failed, the reason it failed.
25723	FailureReason *string `type:"string"`
25724
25725	// The type of ML compute instance running on the notebook instance.
25726	InstanceType *string `type:"string" enum:"InstanceType"`
25727
25728	// The AWS KMS key ID Amazon SageMaker uses to encrypt data when storing it
25729	// on the ML storage volume attached to the instance.
25730	KmsKeyId *string `type:"string"`
25731
25732	// A timestamp. Use this parameter to retrieve the time when the notebook instance
25733	// was last modified.
25734	LastModifiedTime *time.Time `type:"timestamp"`
25735
25736	// The network interface IDs that Amazon SageMaker created at the time of creating
25737	// the instance.
25738	NetworkInterfaceId *string `type:"string"`
25739
25740	// The Amazon Resource Name (ARN) of the notebook instance.
25741	NotebookInstanceArn *string `type:"string"`
25742
25743	// Returns the name of a notebook instance lifecycle configuration.
25744	//
25745	// For information about notebook instance lifestyle configurations, see Step
25746	// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html)
25747	NotebookInstanceLifecycleConfigName *string `type:"string"`
25748
25749	// The name of the Amazon SageMaker notebook instance.
25750	NotebookInstanceName *string `type:"string"`
25751
25752	// The status of the notebook instance.
25753	NotebookInstanceStatus *string `type:"string" enum:"NotebookInstanceStatus"`
25754
25755	// The Amazon Resource Name (ARN) of the IAM role associated with the instance.
25756	RoleArn *string `min:"20" type:"string"`
25757
25758	// Whether root access is enabled or disabled for users of the notebook instance.
25759	//
25760	// Lifecycle configurations need root access to be able to set up a notebook
25761	// instance. Because of this, lifecycle configurations associated with a notebook
25762	// instance always run with root access even if you disable root access for
25763	// users.
25764	RootAccess *string `type:"string" enum:"RootAccess"`
25765
25766	// The IDs of the VPC security groups.
25767	SecurityGroups []*string `type:"list"`
25768
25769	// The ID of the VPC subnet.
25770	SubnetId *string `type:"string"`
25771
25772	// The URL that you use to connect to the Jupyter notebook that is running in
25773	// your notebook instance.
25774	Url *string `type:"string"`
25775
25776	// The size, in GB, of the ML storage volume attached to the notebook instance.
25777	VolumeSizeInGB *int64 `min:"5" type:"integer"`
25778}
25779
25780// String returns the string representation
25781func (s DescribeNotebookInstanceOutput) String() string {
25782	return awsutil.Prettify(s)
25783}
25784
25785// GoString returns the string representation
25786func (s DescribeNotebookInstanceOutput) GoString() string {
25787	return s.String()
25788}
25789
25790// SetAcceleratorTypes sets the AcceleratorTypes field's value.
25791func (s *DescribeNotebookInstanceOutput) SetAcceleratorTypes(v []*string) *DescribeNotebookInstanceOutput {
25792	s.AcceleratorTypes = v
25793	return s
25794}
25795
25796// SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value.
25797func (s *DescribeNotebookInstanceOutput) SetAdditionalCodeRepositories(v []*string) *DescribeNotebookInstanceOutput {
25798	s.AdditionalCodeRepositories = v
25799	return s
25800}
25801
25802// SetCreationTime sets the CreationTime field's value.
25803func (s *DescribeNotebookInstanceOutput) SetCreationTime(v time.Time) *DescribeNotebookInstanceOutput {
25804	s.CreationTime = &v
25805	return s
25806}
25807
25808// SetDefaultCodeRepository sets the DefaultCodeRepository field's value.
25809func (s *DescribeNotebookInstanceOutput) SetDefaultCodeRepository(v string) *DescribeNotebookInstanceOutput {
25810	s.DefaultCodeRepository = &v
25811	return s
25812}
25813
25814// SetDirectInternetAccess sets the DirectInternetAccess field's value.
25815func (s *DescribeNotebookInstanceOutput) SetDirectInternetAccess(v string) *DescribeNotebookInstanceOutput {
25816	s.DirectInternetAccess = &v
25817	return s
25818}
25819
25820// SetFailureReason sets the FailureReason field's value.
25821func (s *DescribeNotebookInstanceOutput) SetFailureReason(v string) *DescribeNotebookInstanceOutput {
25822	s.FailureReason = &v
25823	return s
25824}
25825
25826// SetInstanceType sets the InstanceType field's value.
25827func (s *DescribeNotebookInstanceOutput) SetInstanceType(v string) *DescribeNotebookInstanceOutput {
25828	s.InstanceType = &v
25829	return s
25830}
25831
25832// SetKmsKeyId sets the KmsKeyId field's value.
25833func (s *DescribeNotebookInstanceOutput) SetKmsKeyId(v string) *DescribeNotebookInstanceOutput {
25834	s.KmsKeyId = &v
25835	return s
25836}
25837
25838// SetLastModifiedTime sets the LastModifiedTime field's value.
25839func (s *DescribeNotebookInstanceOutput) SetLastModifiedTime(v time.Time) *DescribeNotebookInstanceOutput {
25840	s.LastModifiedTime = &v
25841	return s
25842}
25843
25844// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
25845func (s *DescribeNotebookInstanceOutput) SetNetworkInterfaceId(v string) *DescribeNotebookInstanceOutput {
25846	s.NetworkInterfaceId = &v
25847	return s
25848}
25849
25850// SetNotebookInstanceArn sets the NotebookInstanceArn field's value.
25851func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceArn(v string) *DescribeNotebookInstanceOutput {
25852	s.NotebookInstanceArn = &v
25853	return s
25854}
25855
25856// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
25857func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceLifecycleConfigName(v string) *DescribeNotebookInstanceOutput {
25858	s.NotebookInstanceLifecycleConfigName = &v
25859	return s
25860}
25861
25862// SetNotebookInstanceName sets the NotebookInstanceName field's value.
25863func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceName(v string) *DescribeNotebookInstanceOutput {
25864	s.NotebookInstanceName = &v
25865	return s
25866}
25867
25868// SetNotebookInstanceStatus sets the NotebookInstanceStatus field's value.
25869func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceStatus(v string) *DescribeNotebookInstanceOutput {
25870	s.NotebookInstanceStatus = &v
25871	return s
25872}
25873
25874// SetRoleArn sets the RoleArn field's value.
25875func (s *DescribeNotebookInstanceOutput) SetRoleArn(v string) *DescribeNotebookInstanceOutput {
25876	s.RoleArn = &v
25877	return s
25878}
25879
25880// SetRootAccess sets the RootAccess field's value.
25881func (s *DescribeNotebookInstanceOutput) SetRootAccess(v string) *DescribeNotebookInstanceOutput {
25882	s.RootAccess = &v
25883	return s
25884}
25885
25886// SetSecurityGroups sets the SecurityGroups field's value.
25887func (s *DescribeNotebookInstanceOutput) SetSecurityGroups(v []*string) *DescribeNotebookInstanceOutput {
25888	s.SecurityGroups = v
25889	return s
25890}
25891
25892// SetSubnetId sets the SubnetId field's value.
25893func (s *DescribeNotebookInstanceOutput) SetSubnetId(v string) *DescribeNotebookInstanceOutput {
25894	s.SubnetId = &v
25895	return s
25896}
25897
25898// SetUrl sets the Url field's value.
25899func (s *DescribeNotebookInstanceOutput) SetUrl(v string) *DescribeNotebookInstanceOutput {
25900	s.Url = &v
25901	return s
25902}
25903
25904// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
25905func (s *DescribeNotebookInstanceOutput) SetVolumeSizeInGB(v int64) *DescribeNotebookInstanceOutput {
25906	s.VolumeSizeInGB = &v
25907	return s
25908}
25909
25910type DescribeProcessingJobInput struct {
25911	_ struct{} `type:"structure"`
25912
25913	// The name of the processing job. The name must be unique within an AWS Region
25914	// in the AWS account.
25915	//
25916	// ProcessingJobName is a required field
25917	ProcessingJobName *string `min:"1" type:"string" required:"true"`
25918}
25919
25920// String returns the string representation
25921func (s DescribeProcessingJobInput) String() string {
25922	return awsutil.Prettify(s)
25923}
25924
25925// GoString returns the string representation
25926func (s DescribeProcessingJobInput) GoString() string {
25927	return s.String()
25928}
25929
25930// Validate inspects the fields of the type to determine if they are valid.
25931func (s *DescribeProcessingJobInput) Validate() error {
25932	invalidParams := request.ErrInvalidParams{Context: "DescribeProcessingJobInput"}
25933	if s.ProcessingJobName == nil {
25934		invalidParams.Add(request.NewErrParamRequired("ProcessingJobName"))
25935	}
25936	if s.ProcessingJobName != nil && len(*s.ProcessingJobName) < 1 {
25937		invalidParams.Add(request.NewErrParamMinLen("ProcessingJobName", 1))
25938	}
25939
25940	if invalidParams.Len() > 0 {
25941		return invalidParams
25942	}
25943	return nil
25944}
25945
25946// SetProcessingJobName sets the ProcessingJobName field's value.
25947func (s *DescribeProcessingJobInput) SetProcessingJobName(v string) *DescribeProcessingJobInput {
25948	s.ProcessingJobName = &v
25949	return s
25950}
25951
25952type DescribeProcessingJobOutput struct {
25953	_ struct{} `type:"structure"`
25954
25955	// Configures the processing job to run a specified container image.
25956	//
25957	// AppSpecification is a required field
25958	AppSpecification *AppSpecification `type:"structure" required:"true"`
25959
25960	// The ARN of an AutoML job associated with this processing job.
25961	AutoMLJobArn *string `min:"1" type:"string"`
25962
25963	// The time at which the processing job was created.
25964	//
25965	// CreationTime is a required field
25966	CreationTime *time.Time `type:"timestamp" required:"true"`
25967
25968	// The environment variables set in the Docker container.
25969	Environment map[string]*string `type:"map"`
25970
25971	// An optional string, up to one KB in size, that contains metadata from the
25972	// processing container when the processing job exits.
25973	ExitMessage *string `type:"string"`
25974
25975	// The configuration information used to create an experiment.
25976	ExperimentConfig *ExperimentConfig `type:"structure"`
25977
25978	// A string, up to one KB in size, that contains the reason a processing job
25979	// failed, if it failed.
25980	FailureReason *string `type:"string"`
25981
25982	// The time at which the processing job was last modified.
25983	LastModifiedTime *time.Time `type:"timestamp"`
25984
25985	// The ARN of a monitoring schedule for an endpoint associated with this processing
25986	// job.
25987	MonitoringScheduleArn *string `type:"string"`
25988
25989	// Networking options for a processing job.
25990	NetworkConfig *NetworkConfig `type:"structure"`
25991
25992	// The time at which the processing job completed.
25993	ProcessingEndTime *time.Time `type:"timestamp"`
25994
25995	// The inputs for a processing job.
25996	ProcessingInputs []*ProcessingInput `type:"list"`
25997
25998	// The Amazon Resource Name (ARN) of the processing job.
25999	//
26000	// ProcessingJobArn is a required field
26001	ProcessingJobArn *string `type:"string" required:"true"`
26002
26003	// The name of the processing job. The name must be unique within an AWS Region
26004	// in the AWS account.
26005	//
26006	// ProcessingJobName is a required field
26007	ProcessingJobName *string `min:"1" type:"string" required:"true"`
26008
26009	// Provides the status of a processing job.
26010	//
26011	// ProcessingJobStatus is a required field
26012	ProcessingJobStatus *string `type:"string" required:"true" enum:"ProcessingJobStatus"`
26013
26014	// Output configuration for the processing job.
26015	ProcessingOutputConfig *ProcessingOutputConfig `type:"structure"`
26016
26017	// Identifies the resources, ML compute instances, and ML storage volumes to
26018	// deploy for a processing job. In distributed training, you specify more than
26019	// one instance.
26020	//
26021	// ProcessingResources is a required field
26022	ProcessingResources *ProcessingResources `type:"structure" required:"true"`
26023
26024	// The time at which the processing job started.
26025	ProcessingStartTime *time.Time `type:"timestamp"`
26026
26027	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
26028	// to perform tasks on your behalf.
26029	RoleArn *string `min:"20" type:"string"`
26030
26031	// The time limit for how long the processing job is allowed to run.
26032	StoppingCondition *ProcessingStoppingCondition `type:"structure"`
26033
26034	// The ARN of a training job associated with this processing job.
26035	TrainingJobArn *string `type:"string"`
26036}
26037
26038// String returns the string representation
26039func (s DescribeProcessingJobOutput) String() string {
26040	return awsutil.Prettify(s)
26041}
26042
26043// GoString returns the string representation
26044func (s DescribeProcessingJobOutput) GoString() string {
26045	return s.String()
26046}
26047
26048// SetAppSpecification sets the AppSpecification field's value.
26049func (s *DescribeProcessingJobOutput) SetAppSpecification(v *AppSpecification) *DescribeProcessingJobOutput {
26050	s.AppSpecification = v
26051	return s
26052}
26053
26054// SetAutoMLJobArn sets the AutoMLJobArn field's value.
26055func (s *DescribeProcessingJobOutput) SetAutoMLJobArn(v string) *DescribeProcessingJobOutput {
26056	s.AutoMLJobArn = &v
26057	return s
26058}
26059
26060// SetCreationTime sets the CreationTime field's value.
26061func (s *DescribeProcessingJobOutput) SetCreationTime(v time.Time) *DescribeProcessingJobOutput {
26062	s.CreationTime = &v
26063	return s
26064}
26065
26066// SetEnvironment sets the Environment field's value.
26067func (s *DescribeProcessingJobOutput) SetEnvironment(v map[string]*string) *DescribeProcessingJobOutput {
26068	s.Environment = v
26069	return s
26070}
26071
26072// SetExitMessage sets the ExitMessage field's value.
26073func (s *DescribeProcessingJobOutput) SetExitMessage(v string) *DescribeProcessingJobOutput {
26074	s.ExitMessage = &v
26075	return s
26076}
26077
26078// SetExperimentConfig sets the ExperimentConfig field's value.
26079func (s *DescribeProcessingJobOutput) SetExperimentConfig(v *ExperimentConfig) *DescribeProcessingJobOutput {
26080	s.ExperimentConfig = v
26081	return s
26082}
26083
26084// SetFailureReason sets the FailureReason field's value.
26085func (s *DescribeProcessingJobOutput) SetFailureReason(v string) *DescribeProcessingJobOutput {
26086	s.FailureReason = &v
26087	return s
26088}
26089
26090// SetLastModifiedTime sets the LastModifiedTime field's value.
26091func (s *DescribeProcessingJobOutput) SetLastModifiedTime(v time.Time) *DescribeProcessingJobOutput {
26092	s.LastModifiedTime = &v
26093	return s
26094}
26095
26096// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
26097func (s *DescribeProcessingJobOutput) SetMonitoringScheduleArn(v string) *DescribeProcessingJobOutput {
26098	s.MonitoringScheduleArn = &v
26099	return s
26100}
26101
26102// SetNetworkConfig sets the NetworkConfig field's value.
26103func (s *DescribeProcessingJobOutput) SetNetworkConfig(v *NetworkConfig) *DescribeProcessingJobOutput {
26104	s.NetworkConfig = v
26105	return s
26106}
26107
26108// SetProcessingEndTime sets the ProcessingEndTime field's value.
26109func (s *DescribeProcessingJobOutput) SetProcessingEndTime(v time.Time) *DescribeProcessingJobOutput {
26110	s.ProcessingEndTime = &v
26111	return s
26112}
26113
26114// SetProcessingInputs sets the ProcessingInputs field's value.
26115func (s *DescribeProcessingJobOutput) SetProcessingInputs(v []*ProcessingInput) *DescribeProcessingJobOutput {
26116	s.ProcessingInputs = v
26117	return s
26118}
26119
26120// SetProcessingJobArn sets the ProcessingJobArn field's value.
26121func (s *DescribeProcessingJobOutput) SetProcessingJobArn(v string) *DescribeProcessingJobOutput {
26122	s.ProcessingJobArn = &v
26123	return s
26124}
26125
26126// SetProcessingJobName sets the ProcessingJobName field's value.
26127func (s *DescribeProcessingJobOutput) SetProcessingJobName(v string) *DescribeProcessingJobOutput {
26128	s.ProcessingJobName = &v
26129	return s
26130}
26131
26132// SetProcessingJobStatus sets the ProcessingJobStatus field's value.
26133func (s *DescribeProcessingJobOutput) SetProcessingJobStatus(v string) *DescribeProcessingJobOutput {
26134	s.ProcessingJobStatus = &v
26135	return s
26136}
26137
26138// SetProcessingOutputConfig sets the ProcessingOutputConfig field's value.
26139func (s *DescribeProcessingJobOutput) SetProcessingOutputConfig(v *ProcessingOutputConfig) *DescribeProcessingJobOutput {
26140	s.ProcessingOutputConfig = v
26141	return s
26142}
26143
26144// SetProcessingResources sets the ProcessingResources field's value.
26145func (s *DescribeProcessingJobOutput) SetProcessingResources(v *ProcessingResources) *DescribeProcessingJobOutput {
26146	s.ProcessingResources = v
26147	return s
26148}
26149
26150// SetProcessingStartTime sets the ProcessingStartTime field's value.
26151func (s *DescribeProcessingJobOutput) SetProcessingStartTime(v time.Time) *DescribeProcessingJobOutput {
26152	s.ProcessingStartTime = &v
26153	return s
26154}
26155
26156// SetRoleArn sets the RoleArn field's value.
26157func (s *DescribeProcessingJobOutput) SetRoleArn(v string) *DescribeProcessingJobOutput {
26158	s.RoleArn = &v
26159	return s
26160}
26161
26162// SetStoppingCondition sets the StoppingCondition field's value.
26163func (s *DescribeProcessingJobOutput) SetStoppingCondition(v *ProcessingStoppingCondition) *DescribeProcessingJobOutput {
26164	s.StoppingCondition = v
26165	return s
26166}
26167
26168// SetTrainingJobArn sets the TrainingJobArn field's value.
26169func (s *DescribeProcessingJobOutput) SetTrainingJobArn(v string) *DescribeProcessingJobOutput {
26170	s.TrainingJobArn = &v
26171	return s
26172}
26173
26174type DescribeSubscribedWorkteamInput struct {
26175	_ struct{} `type:"structure"`
26176
26177	// The Amazon Resource Name (ARN) of the subscribed work team to describe.
26178	//
26179	// WorkteamArn is a required field
26180	WorkteamArn *string `type:"string" required:"true"`
26181}
26182
26183// String returns the string representation
26184func (s DescribeSubscribedWorkteamInput) String() string {
26185	return awsutil.Prettify(s)
26186}
26187
26188// GoString returns the string representation
26189func (s DescribeSubscribedWorkteamInput) GoString() string {
26190	return s.String()
26191}
26192
26193// Validate inspects the fields of the type to determine if they are valid.
26194func (s *DescribeSubscribedWorkteamInput) Validate() error {
26195	invalidParams := request.ErrInvalidParams{Context: "DescribeSubscribedWorkteamInput"}
26196	if s.WorkteamArn == nil {
26197		invalidParams.Add(request.NewErrParamRequired("WorkteamArn"))
26198	}
26199
26200	if invalidParams.Len() > 0 {
26201		return invalidParams
26202	}
26203	return nil
26204}
26205
26206// SetWorkteamArn sets the WorkteamArn field's value.
26207func (s *DescribeSubscribedWorkteamInput) SetWorkteamArn(v string) *DescribeSubscribedWorkteamInput {
26208	s.WorkteamArn = &v
26209	return s
26210}
26211
26212type DescribeSubscribedWorkteamOutput struct {
26213	_ struct{} `type:"structure"`
26214
26215	// A Workteam instance that contains information about the work team.
26216	//
26217	// SubscribedWorkteam is a required field
26218	SubscribedWorkteam *SubscribedWorkteam `type:"structure" required:"true"`
26219}
26220
26221// String returns the string representation
26222func (s DescribeSubscribedWorkteamOutput) String() string {
26223	return awsutil.Prettify(s)
26224}
26225
26226// GoString returns the string representation
26227func (s DescribeSubscribedWorkteamOutput) GoString() string {
26228	return s.String()
26229}
26230
26231// SetSubscribedWorkteam sets the SubscribedWorkteam field's value.
26232func (s *DescribeSubscribedWorkteamOutput) SetSubscribedWorkteam(v *SubscribedWorkteam) *DescribeSubscribedWorkteamOutput {
26233	s.SubscribedWorkteam = v
26234	return s
26235}
26236
26237type DescribeTrainingJobInput struct {
26238	_ struct{} `type:"structure"`
26239
26240	// The name of the training job.
26241	//
26242	// TrainingJobName is a required field
26243	TrainingJobName *string `min:"1" type:"string" required:"true"`
26244}
26245
26246// String returns the string representation
26247func (s DescribeTrainingJobInput) String() string {
26248	return awsutil.Prettify(s)
26249}
26250
26251// GoString returns the string representation
26252func (s DescribeTrainingJobInput) GoString() string {
26253	return s.String()
26254}
26255
26256// Validate inspects the fields of the type to determine if they are valid.
26257func (s *DescribeTrainingJobInput) Validate() error {
26258	invalidParams := request.ErrInvalidParams{Context: "DescribeTrainingJobInput"}
26259	if s.TrainingJobName == nil {
26260		invalidParams.Add(request.NewErrParamRequired("TrainingJobName"))
26261	}
26262	if s.TrainingJobName != nil && len(*s.TrainingJobName) < 1 {
26263		invalidParams.Add(request.NewErrParamMinLen("TrainingJobName", 1))
26264	}
26265
26266	if invalidParams.Len() > 0 {
26267		return invalidParams
26268	}
26269	return nil
26270}
26271
26272// SetTrainingJobName sets the TrainingJobName field's value.
26273func (s *DescribeTrainingJobInput) SetTrainingJobName(v string) *DescribeTrainingJobInput {
26274	s.TrainingJobName = &v
26275	return s
26276}
26277
26278type DescribeTrainingJobOutput struct {
26279	_ struct{} `type:"structure"`
26280
26281	// Information about the algorithm used for training, and algorithm metadata.
26282	//
26283	// AlgorithmSpecification is a required field
26284	AlgorithmSpecification *AlgorithmSpecification `type:"structure" required:"true"`
26285
26286	// The Amazon Resource Name (ARN) of an AutoML job.
26287	AutoMLJobArn *string `min:"1" type:"string"`
26288
26289	// The billable time in seconds.
26290	//
26291	// You can calculate the savings from using managed spot training using the
26292	// formula (1 - BillableTimeInSeconds / TrainingTimeInSeconds) * 100. For example,
26293	// if BillableTimeInSeconds is 100 and TrainingTimeInSeconds is 500, the savings
26294	// is 80%.
26295	BillableTimeInSeconds *int64 `min:"1" type:"integer"`
26296
26297	// Contains information about the output location for managed spot training
26298	// checkpoint data.
26299	CheckpointConfig *CheckpointConfig `type:"structure"`
26300
26301	// A timestamp that indicates when the training job was created.
26302	//
26303	// CreationTime is a required field
26304	CreationTime *time.Time `type:"timestamp" required:"true"`
26305
26306	// Configuration information for the debug hook parameters, collection configuration,
26307	// and storage paths.
26308	DebugHookConfig *DebugHookConfig `type:"structure"`
26309
26310	// Configuration information for debugging rules.
26311	DebugRuleConfigurations []*DebugRuleConfiguration `type:"list"`
26312
26313	// Status about the debug rule evaluation.
26314	DebugRuleEvaluationStatuses []*DebugRuleEvaluationStatus `type:"list"`
26315
26316	// To encrypt all communications between ML compute instances in distributed
26317	// training, choose True. Encryption provides greater security for distributed
26318	// training, but training might take longer. How long it takes depends on the
26319	// amount of communication between compute instances, especially if you use
26320	// a deep learning algorithms in distributed training.
26321	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
26322
26323	// A Boolean indicating whether managed spot training is enabled (True) or not
26324	// (False).
26325	EnableManagedSpotTraining *bool `type:"boolean"`
26326
26327	// If you want to allow inbound or outbound network calls, except for calls
26328	// between peers within a training cluster for distributed training, choose
26329	// True. If you enable network isolation for training jobs that are configured
26330	// to use a VPC, Amazon SageMaker downloads and uploads customer data and model
26331	// artifacts through the specified VPC, but the training container does not
26332	// have network access.
26333	EnableNetworkIsolation *bool `type:"boolean"`
26334
26335	// Associates a SageMaker job as a trial component with an experiment and trial.
26336	// Specified when you call the following APIs:
26337	//
26338	//    * CreateProcessingJob
26339	//
26340	//    * CreateTrainingJob
26341	//
26342	//    * CreateTransformJob
26343	ExperimentConfig *ExperimentConfig `type:"structure"`
26344
26345	// If the training job failed, the reason it failed.
26346	FailureReason *string `type:"string"`
26347
26348	// A collection of MetricData objects that specify the names, values, and dates
26349	// and times that the training algorithm emitted to Amazon CloudWatch.
26350	FinalMetricDataList []*MetricData `type:"list"`
26351
26352	// Algorithm-specific parameters.
26353	HyperParameters map[string]*string `type:"map"`
26354
26355	// An array of Channel objects that describes each data input channel.
26356	InputDataConfig []*Channel `min:"1" type:"list"`
26357
26358	// The Amazon Resource Name (ARN) of the Amazon SageMaker Ground Truth labeling
26359	// job that created the transform or training job.
26360	LabelingJobArn *string `type:"string"`
26361
26362	// A timestamp that indicates when the status of the training job was last modified.
26363	LastModifiedTime *time.Time `type:"timestamp"`
26364
26365	// Information about the Amazon S3 location that is configured for storing model
26366	// artifacts.
26367	//
26368	// ModelArtifacts is a required field
26369	ModelArtifacts *ModelArtifacts `type:"structure" required:"true"`
26370
26371	// The S3 path where model artifacts that you configured when creating the job
26372	// are stored. Amazon SageMaker creates subfolders for model artifacts.
26373	OutputDataConfig *OutputDataConfig `type:"structure"`
26374
26375	// Resources, including ML compute instances and ML storage volumes, that are
26376	// configured for model training.
26377	//
26378	// ResourceConfig is a required field
26379	ResourceConfig *ResourceConfig `type:"structure" required:"true"`
26380
26381	// The AWS Identity and Access Management (IAM) role configured for the training
26382	// job.
26383	RoleArn *string `min:"20" type:"string"`
26384
26385	// Provides detailed information about the state of the training job. For detailed
26386	// information on the secondary status of the training job, see StatusMessage
26387	// under SecondaryStatusTransition.
26388	//
26389	// Amazon SageMaker provides primary statuses and secondary statuses that apply
26390	// to each of them:
26391	//
26392	// InProgress
26393	//
26394	//    * Starting - Starting the training job.
26395	//
26396	//    * Downloading - An optional stage for algorithms that support File training
26397	//    input mode. It indicates that data is being downloaded to the ML storage
26398	//    volumes.
26399	//
26400	//    * Training - Training is in progress.
26401	//
26402	//    * Interrupted - The job stopped because the managed spot training instances
26403	//    were interrupted.
26404	//
26405	//    * Uploading - Training is complete and the model artifacts are being uploaded
26406	//    to the S3 location.
26407	//
26408	// Completed
26409	//
26410	//    * Completed - The training job has completed.
26411	//
26412	// Failed
26413	//
26414	//    * Failed - The training job has failed. The reason for the failure is
26415	//    returned in the FailureReason field of DescribeTrainingJobResponse.
26416	//
26417	// Stopped
26418	//
26419	//    * MaxRuntimeExceeded - The job stopped because it exceeded the maximum
26420	//    allowed runtime.
26421	//
26422	//    * MaxWaitTmeExceeded - The job stopped because it exceeded the maximum
26423	//    allowed wait time.
26424	//
26425	//    * Stopped - The training job has stopped.
26426	//
26427	// Stopping
26428	//
26429	//    * Stopping - Stopping the training job.
26430	//
26431	// Valid values for SecondaryStatus are subject to change.
26432	//
26433	// We no longer support the following secondary statuses:
26434	//
26435	//    * LaunchingMLInstances
26436	//
26437	//    * PreparingTrainingStack
26438	//
26439	//    * DownloadingTrainingImage
26440	//
26441	// SecondaryStatus is a required field
26442	SecondaryStatus *string `type:"string" required:"true" enum:"SecondaryStatus"`
26443
26444	// A history of all of the secondary statuses that the training job has transitioned
26445	// through.
26446	SecondaryStatusTransitions []*SecondaryStatusTransition `type:"list"`
26447
26448	// Specifies a limit to how long a model training job can run. It also specifies
26449	// the maximum time to wait for a spot instance. When the job reaches the time
26450	// limit, Amazon SageMaker ends the training job. Use this API to cap model
26451	// training costs.
26452	//
26453	// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
26454	// delays job termination for 120 seconds. Algorithms can use this 120-second
26455	// window to save the model artifacts, so the results of training are not lost.
26456	//
26457	// StoppingCondition is a required field
26458	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
26459
26460	// Configuration of storage locations for TensorBoard output.
26461	TensorBoardOutputConfig *TensorBoardOutputConfig `type:"structure"`
26462
26463	// Indicates the time when the training job ends on training instances. You
26464	// are billed for the time interval between the value of TrainingStartTime and
26465	// this time. For successful jobs and stopped jobs, this is the time after model
26466	// artifacts are uploaded. For failed jobs, this is the time when Amazon SageMaker
26467	// detects a job failure.
26468	TrainingEndTime *time.Time `type:"timestamp"`
26469
26470	// The Amazon Resource Name (ARN) of the training job.
26471	//
26472	// TrainingJobArn is a required field
26473	TrainingJobArn *string `type:"string" required:"true"`
26474
26475	// Name of the model training job.
26476	//
26477	// TrainingJobName is a required field
26478	TrainingJobName *string `min:"1" type:"string" required:"true"`
26479
26480	// The status of the training job.
26481	//
26482	// Amazon SageMaker provides the following training job statuses:
26483	//
26484	//    * InProgress - The training is in progress.
26485	//
26486	//    * Completed - The training job has completed.
26487	//
26488	//    * Failed - The training job has failed. To see the reason for the failure,
26489	//    see the FailureReason field in the response to a DescribeTrainingJobResponse
26490	//    call.
26491	//
26492	//    * Stopping - The training job is stopping.
26493	//
26494	//    * Stopped - The training job has stopped.
26495	//
26496	// For more detailed information, see SecondaryStatus.
26497	//
26498	// TrainingJobStatus is a required field
26499	TrainingJobStatus *string `type:"string" required:"true" enum:"TrainingJobStatus"`
26500
26501	// Indicates the time when the training job starts on training instances. You
26502	// are billed for the time interval between this time and the value of TrainingEndTime.
26503	// The start time in CloudWatch Logs might be later than this time. The difference
26504	// is due to the time it takes to download the training data and to the size
26505	// of the training container.
26506	TrainingStartTime *time.Time `type:"timestamp"`
26507
26508	// The training time in seconds.
26509	TrainingTimeInSeconds *int64 `min:"1" type:"integer"`
26510
26511	// The Amazon Resource Name (ARN) of the associated hyperparameter tuning job
26512	// if the training job was launched by a hyperparameter tuning job.
26513	TuningJobArn *string `type:"string"`
26514
26515	// A VpcConfig object that specifies the VPC that this training job has access
26516	// to. For more information, see Protect Training Jobs by Using an Amazon Virtual
26517	// Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
26518	VpcConfig *VpcConfig `type:"structure"`
26519}
26520
26521// String returns the string representation
26522func (s DescribeTrainingJobOutput) String() string {
26523	return awsutil.Prettify(s)
26524}
26525
26526// GoString returns the string representation
26527func (s DescribeTrainingJobOutput) GoString() string {
26528	return s.String()
26529}
26530
26531// SetAlgorithmSpecification sets the AlgorithmSpecification field's value.
26532func (s *DescribeTrainingJobOutput) SetAlgorithmSpecification(v *AlgorithmSpecification) *DescribeTrainingJobOutput {
26533	s.AlgorithmSpecification = v
26534	return s
26535}
26536
26537// SetAutoMLJobArn sets the AutoMLJobArn field's value.
26538func (s *DescribeTrainingJobOutput) SetAutoMLJobArn(v string) *DescribeTrainingJobOutput {
26539	s.AutoMLJobArn = &v
26540	return s
26541}
26542
26543// SetBillableTimeInSeconds sets the BillableTimeInSeconds field's value.
26544func (s *DescribeTrainingJobOutput) SetBillableTimeInSeconds(v int64) *DescribeTrainingJobOutput {
26545	s.BillableTimeInSeconds = &v
26546	return s
26547}
26548
26549// SetCheckpointConfig sets the CheckpointConfig field's value.
26550func (s *DescribeTrainingJobOutput) SetCheckpointConfig(v *CheckpointConfig) *DescribeTrainingJobOutput {
26551	s.CheckpointConfig = v
26552	return s
26553}
26554
26555// SetCreationTime sets the CreationTime field's value.
26556func (s *DescribeTrainingJobOutput) SetCreationTime(v time.Time) *DescribeTrainingJobOutput {
26557	s.CreationTime = &v
26558	return s
26559}
26560
26561// SetDebugHookConfig sets the DebugHookConfig field's value.
26562func (s *DescribeTrainingJobOutput) SetDebugHookConfig(v *DebugHookConfig) *DescribeTrainingJobOutput {
26563	s.DebugHookConfig = v
26564	return s
26565}
26566
26567// SetDebugRuleConfigurations sets the DebugRuleConfigurations field's value.
26568func (s *DescribeTrainingJobOutput) SetDebugRuleConfigurations(v []*DebugRuleConfiguration) *DescribeTrainingJobOutput {
26569	s.DebugRuleConfigurations = v
26570	return s
26571}
26572
26573// SetDebugRuleEvaluationStatuses sets the DebugRuleEvaluationStatuses field's value.
26574func (s *DescribeTrainingJobOutput) SetDebugRuleEvaluationStatuses(v []*DebugRuleEvaluationStatus) *DescribeTrainingJobOutput {
26575	s.DebugRuleEvaluationStatuses = v
26576	return s
26577}
26578
26579// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
26580func (s *DescribeTrainingJobOutput) SetEnableInterContainerTrafficEncryption(v bool) *DescribeTrainingJobOutput {
26581	s.EnableInterContainerTrafficEncryption = &v
26582	return s
26583}
26584
26585// SetEnableManagedSpotTraining sets the EnableManagedSpotTraining field's value.
26586func (s *DescribeTrainingJobOutput) SetEnableManagedSpotTraining(v bool) *DescribeTrainingJobOutput {
26587	s.EnableManagedSpotTraining = &v
26588	return s
26589}
26590
26591// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
26592func (s *DescribeTrainingJobOutput) SetEnableNetworkIsolation(v bool) *DescribeTrainingJobOutput {
26593	s.EnableNetworkIsolation = &v
26594	return s
26595}
26596
26597// SetExperimentConfig sets the ExperimentConfig field's value.
26598func (s *DescribeTrainingJobOutput) SetExperimentConfig(v *ExperimentConfig) *DescribeTrainingJobOutput {
26599	s.ExperimentConfig = v
26600	return s
26601}
26602
26603// SetFailureReason sets the FailureReason field's value.
26604func (s *DescribeTrainingJobOutput) SetFailureReason(v string) *DescribeTrainingJobOutput {
26605	s.FailureReason = &v
26606	return s
26607}
26608
26609// SetFinalMetricDataList sets the FinalMetricDataList field's value.
26610func (s *DescribeTrainingJobOutput) SetFinalMetricDataList(v []*MetricData) *DescribeTrainingJobOutput {
26611	s.FinalMetricDataList = v
26612	return s
26613}
26614
26615// SetHyperParameters sets the HyperParameters field's value.
26616func (s *DescribeTrainingJobOutput) SetHyperParameters(v map[string]*string) *DescribeTrainingJobOutput {
26617	s.HyperParameters = v
26618	return s
26619}
26620
26621// SetInputDataConfig sets the InputDataConfig field's value.
26622func (s *DescribeTrainingJobOutput) SetInputDataConfig(v []*Channel) *DescribeTrainingJobOutput {
26623	s.InputDataConfig = v
26624	return s
26625}
26626
26627// SetLabelingJobArn sets the LabelingJobArn field's value.
26628func (s *DescribeTrainingJobOutput) SetLabelingJobArn(v string) *DescribeTrainingJobOutput {
26629	s.LabelingJobArn = &v
26630	return s
26631}
26632
26633// SetLastModifiedTime sets the LastModifiedTime field's value.
26634func (s *DescribeTrainingJobOutput) SetLastModifiedTime(v time.Time) *DescribeTrainingJobOutput {
26635	s.LastModifiedTime = &v
26636	return s
26637}
26638
26639// SetModelArtifacts sets the ModelArtifacts field's value.
26640func (s *DescribeTrainingJobOutput) SetModelArtifacts(v *ModelArtifacts) *DescribeTrainingJobOutput {
26641	s.ModelArtifacts = v
26642	return s
26643}
26644
26645// SetOutputDataConfig sets the OutputDataConfig field's value.
26646func (s *DescribeTrainingJobOutput) SetOutputDataConfig(v *OutputDataConfig) *DescribeTrainingJobOutput {
26647	s.OutputDataConfig = v
26648	return s
26649}
26650
26651// SetResourceConfig sets the ResourceConfig field's value.
26652func (s *DescribeTrainingJobOutput) SetResourceConfig(v *ResourceConfig) *DescribeTrainingJobOutput {
26653	s.ResourceConfig = v
26654	return s
26655}
26656
26657// SetRoleArn sets the RoleArn field's value.
26658func (s *DescribeTrainingJobOutput) SetRoleArn(v string) *DescribeTrainingJobOutput {
26659	s.RoleArn = &v
26660	return s
26661}
26662
26663// SetSecondaryStatus sets the SecondaryStatus field's value.
26664func (s *DescribeTrainingJobOutput) SetSecondaryStatus(v string) *DescribeTrainingJobOutput {
26665	s.SecondaryStatus = &v
26666	return s
26667}
26668
26669// SetSecondaryStatusTransitions sets the SecondaryStatusTransitions field's value.
26670func (s *DescribeTrainingJobOutput) SetSecondaryStatusTransitions(v []*SecondaryStatusTransition) *DescribeTrainingJobOutput {
26671	s.SecondaryStatusTransitions = v
26672	return s
26673}
26674
26675// SetStoppingCondition sets the StoppingCondition field's value.
26676func (s *DescribeTrainingJobOutput) SetStoppingCondition(v *StoppingCondition) *DescribeTrainingJobOutput {
26677	s.StoppingCondition = v
26678	return s
26679}
26680
26681// SetTensorBoardOutputConfig sets the TensorBoardOutputConfig field's value.
26682func (s *DescribeTrainingJobOutput) SetTensorBoardOutputConfig(v *TensorBoardOutputConfig) *DescribeTrainingJobOutput {
26683	s.TensorBoardOutputConfig = v
26684	return s
26685}
26686
26687// SetTrainingEndTime sets the TrainingEndTime field's value.
26688func (s *DescribeTrainingJobOutput) SetTrainingEndTime(v time.Time) *DescribeTrainingJobOutput {
26689	s.TrainingEndTime = &v
26690	return s
26691}
26692
26693// SetTrainingJobArn sets the TrainingJobArn field's value.
26694func (s *DescribeTrainingJobOutput) SetTrainingJobArn(v string) *DescribeTrainingJobOutput {
26695	s.TrainingJobArn = &v
26696	return s
26697}
26698
26699// SetTrainingJobName sets the TrainingJobName field's value.
26700func (s *DescribeTrainingJobOutput) SetTrainingJobName(v string) *DescribeTrainingJobOutput {
26701	s.TrainingJobName = &v
26702	return s
26703}
26704
26705// SetTrainingJobStatus sets the TrainingJobStatus field's value.
26706func (s *DescribeTrainingJobOutput) SetTrainingJobStatus(v string) *DescribeTrainingJobOutput {
26707	s.TrainingJobStatus = &v
26708	return s
26709}
26710
26711// SetTrainingStartTime sets the TrainingStartTime field's value.
26712func (s *DescribeTrainingJobOutput) SetTrainingStartTime(v time.Time) *DescribeTrainingJobOutput {
26713	s.TrainingStartTime = &v
26714	return s
26715}
26716
26717// SetTrainingTimeInSeconds sets the TrainingTimeInSeconds field's value.
26718func (s *DescribeTrainingJobOutput) SetTrainingTimeInSeconds(v int64) *DescribeTrainingJobOutput {
26719	s.TrainingTimeInSeconds = &v
26720	return s
26721}
26722
26723// SetTuningJobArn sets the TuningJobArn field's value.
26724func (s *DescribeTrainingJobOutput) SetTuningJobArn(v string) *DescribeTrainingJobOutput {
26725	s.TuningJobArn = &v
26726	return s
26727}
26728
26729// SetVpcConfig sets the VpcConfig field's value.
26730func (s *DescribeTrainingJobOutput) SetVpcConfig(v *VpcConfig) *DescribeTrainingJobOutput {
26731	s.VpcConfig = v
26732	return s
26733}
26734
26735type DescribeTransformJobInput struct {
26736	_ struct{} `type:"structure"`
26737
26738	// The name of the transform job that you want to view details of.
26739	//
26740	// TransformJobName is a required field
26741	TransformJobName *string `min:"1" type:"string" required:"true"`
26742}
26743
26744// String returns the string representation
26745func (s DescribeTransformJobInput) String() string {
26746	return awsutil.Prettify(s)
26747}
26748
26749// GoString returns the string representation
26750func (s DescribeTransformJobInput) GoString() string {
26751	return s.String()
26752}
26753
26754// Validate inspects the fields of the type to determine if they are valid.
26755func (s *DescribeTransformJobInput) Validate() error {
26756	invalidParams := request.ErrInvalidParams{Context: "DescribeTransformJobInput"}
26757	if s.TransformJobName == nil {
26758		invalidParams.Add(request.NewErrParamRequired("TransformJobName"))
26759	}
26760	if s.TransformJobName != nil && len(*s.TransformJobName) < 1 {
26761		invalidParams.Add(request.NewErrParamMinLen("TransformJobName", 1))
26762	}
26763
26764	if invalidParams.Len() > 0 {
26765		return invalidParams
26766	}
26767	return nil
26768}
26769
26770// SetTransformJobName sets the TransformJobName field's value.
26771func (s *DescribeTransformJobInput) SetTransformJobName(v string) *DescribeTransformJobInput {
26772	s.TransformJobName = &v
26773	return s
26774}
26775
26776type DescribeTransformJobOutput struct {
26777	_ struct{} `type:"structure"`
26778
26779	// The Amazon Resource Name (ARN) of the AutoML transform job.
26780	AutoMLJobArn *string `min:"1" type:"string"`
26781
26782	// Specifies the number of records to include in a mini-batch for an HTTP inference
26783	// request. A record is a single unit of input data that inference can be made
26784	// on. For example, a single line in a CSV file is a record.
26785	//
26786	// To enable the batch strategy, you must set SplitType to Line, RecordIO, or
26787	// TFRecord.
26788	BatchStrategy *string `type:"string" enum:"BatchStrategy"`
26789
26790	// A timestamp that shows when the transform Job was created.
26791	//
26792	// CreationTime is a required field
26793	CreationTime *time.Time `type:"timestamp" required:"true"`
26794
26795	// The data structure used to specify the data to be used for inference in a
26796	// batch transform job and to associate the data that is relevant to the prediction
26797	// results in the output. The input filter provided allows you to exclude input
26798	// data that is not needed for inference in a batch transform job. The output
26799	// filter provided allows you to include input data relevant to interpreting
26800	// the predictions in the output from the job. For more information, see Associate
26801	// Prediction Results with their Corresponding Input Records (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html).
26802	DataProcessing *DataProcessing `type:"structure"`
26803
26804	// The environment variables to set in the Docker container. We support up to
26805	// 16 key and values entries in the map.
26806	Environment map[string]*string `type:"map"`
26807
26808	// Associates a SageMaker job as a trial component with an experiment and trial.
26809	// Specified when you call the following APIs:
26810	//
26811	//    * CreateProcessingJob
26812	//
26813	//    * CreateTrainingJob
26814	//
26815	//    * CreateTransformJob
26816	ExperimentConfig *ExperimentConfig `type:"structure"`
26817
26818	// If the transform job failed, FailureReason describes why it failed. A transform
26819	// job creates a log file, which includes error messages, and stores it as an
26820	// Amazon S3 object. For more information, see Log Amazon SageMaker Events with
26821	// Amazon CloudWatch (https://docs.aws.amazon.com/sagemaker/latest/dg/logging-cloudwatch.html).
26822	FailureReason *string `type:"string"`
26823
26824	// The Amazon Resource Name (ARN) of the Amazon SageMaker Ground Truth labeling
26825	// job that created the transform or training job.
26826	LabelingJobArn *string `type:"string"`
26827
26828	// The maximum number of parallel requests on each instance node that can be
26829	// launched in a transform job. The default value is 1.
26830	MaxConcurrentTransforms *int64 `type:"integer"`
26831
26832	// The maximum payload size, in MB, used in the transform job.
26833	MaxPayloadInMB *int64 `type:"integer"`
26834
26835	// The timeout and maximum number of retries for processing a transform job
26836	// invocation.
26837	ModelClientConfig *ModelClientConfig `type:"structure"`
26838
26839	// The name of the model used in the transform job.
26840	//
26841	// ModelName is a required field
26842	ModelName *string `type:"string" required:"true"`
26843
26844	// Indicates when the transform job has been completed, or has stopped or failed.
26845	// You are billed for the time interval between this time and the value of TransformStartTime.
26846	TransformEndTime *time.Time `type:"timestamp"`
26847
26848	// Describes the dataset to be transformed and the Amazon S3 location where
26849	// it is stored.
26850	//
26851	// TransformInput is a required field
26852	TransformInput *TransformInput `type:"structure" required:"true"`
26853
26854	// The Amazon Resource Name (ARN) of the transform job.
26855	//
26856	// TransformJobArn is a required field
26857	TransformJobArn *string `type:"string" required:"true"`
26858
26859	// The name of the transform job.
26860	//
26861	// TransformJobName is a required field
26862	TransformJobName *string `min:"1" type:"string" required:"true"`
26863
26864	// The status of the transform job. If the transform job failed, the reason
26865	// is returned in the FailureReason field.
26866	//
26867	// TransformJobStatus is a required field
26868	TransformJobStatus *string `type:"string" required:"true" enum:"TransformJobStatus"`
26869
26870	// Identifies the Amazon S3 location where you want Amazon SageMaker to save
26871	// the results from the transform job.
26872	TransformOutput *TransformOutput `type:"structure"`
26873
26874	// Describes the resources, including ML instance types and ML instance count,
26875	// to use for the transform job.
26876	//
26877	// TransformResources is a required field
26878	TransformResources *TransformResources `type:"structure" required:"true"`
26879
26880	// Indicates when the transform job starts on ML instances. You are billed for
26881	// the time interval between this time and the value of TransformEndTime.
26882	TransformStartTime *time.Time `type:"timestamp"`
26883}
26884
26885// String returns the string representation
26886func (s DescribeTransformJobOutput) String() string {
26887	return awsutil.Prettify(s)
26888}
26889
26890// GoString returns the string representation
26891func (s DescribeTransformJobOutput) GoString() string {
26892	return s.String()
26893}
26894
26895// SetAutoMLJobArn sets the AutoMLJobArn field's value.
26896func (s *DescribeTransformJobOutput) SetAutoMLJobArn(v string) *DescribeTransformJobOutput {
26897	s.AutoMLJobArn = &v
26898	return s
26899}
26900
26901// SetBatchStrategy sets the BatchStrategy field's value.
26902func (s *DescribeTransformJobOutput) SetBatchStrategy(v string) *DescribeTransformJobOutput {
26903	s.BatchStrategy = &v
26904	return s
26905}
26906
26907// SetCreationTime sets the CreationTime field's value.
26908func (s *DescribeTransformJobOutput) SetCreationTime(v time.Time) *DescribeTransformJobOutput {
26909	s.CreationTime = &v
26910	return s
26911}
26912
26913// SetDataProcessing sets the DataProcessing field's value.
26914func (s *DescribeTransformJobOutput) SetDataProcessing(v *DataProcessing) *DescribeTransformJobOutput {
26915	s.DataProcessing = v
26916	return s
26917}
26918
26919// SetEnvironment sets the Environment field's value.
26920func (s *DescribeTransformJobOutput) SetEnvironment(v map[string]*string) *DescribeTransformJobOutput {
26921	s.Environment = v
26922	return s
26923}
26924
26925// SetExperimentConfig sets the ExperimentConfig field's value.
26926func (s *DescribeTransformJobOutput) SetExperimentConfig(v *ExperimentConfig) *DescribeTransformJobOutput {
26927	s.ExperimentConfig = v
26928	return s
26929}
26930
26931// SetFailureReason sets the FailureReason field's value.
26932func (s *DescribeTransformJobOutput) SetFailureReason(v string) *DescribeTransformJobOutput {
26933	s.FailureReason = &v
26934	return s
26935}
26936
26937// SetLabelingJobArn sets the LabelingJobArn field's value.
26938func (s *DescribeTransformJobOutput) SetLabelingJobArn(v string) *DescribeTransformJobOutput {
26939	s.LabelingJobArn = &v
26940	return s
26941}
26942
26943// SetMaxConcurrentTransforms sets the MaxConcurrentTransforms field's value.
26944func (s *DescribeTransformJobOutput) SetMaxConcurrentTransforms(v int64) *DescribeTransformJobOutput {
26945	s.MaxConcurrentTransforms = &v
26946	return s
26947}
26948
26949// SetMaxPayloadInMB sets the MaxPayloadInMB field's value.
26950func (s *DescribeTransformJobOutput) SetMaxPayloadInMB(v int64) *DescribeTransformJobOutput {
26951	s.MaxPayloadInMB = &v
26952	return s
26953}
26954
26955// SetModelClientConfig sets the ModelClientConfig field's value.
26956func (s *DescribeTransformJobOutput) SetModelClientConfig(v *ModelClientConfig) *DescribeTransformJobOutput {
26957	s.ModelClientConfig = v
26958	return s
26959}
26960
26961// SetModelName sets the ModelName field's value.
26962func (s *DescribeTransformJobOutput) SetModelName(v string) *DescribeTransformJobOutput {
26963	s.ModelName = &v
26964	return s
26965}
26966
26967// SetTransformEndTime sets the TransformEndTime field's value.
26968func (s *DescribeTransformJobOutput) SetTransformEndTime(v time.Time) *DescribeTransformJobOutput {
26969	s.TransformEndTime = &v
26970	return s
26971}
26972
26973// SetTransformInput sets the TransformInput field's value.
26974func (s *DescribeTransformJobOutput) SetTransformInput(v *TransformInput) *DescribeTransformJobOutput {
26975	s.TransformInput = v
26976	return s
26977}
26978
26979// SetTransformJobArn sets the TransformJobArn field's value.
26980func (s *DescribeTransformJobOutput) SetTransformJobArn(v string) *DescribeTransformJobOutput {
26981	s.TransformJobArn = &v
26982	return s
26983}
26984
26985// SetTransformJobName sets the TransformJobName field's value.
26986func (s *DescribeTransformJobOutput) SetTransformJobName(v string) *DescribeTransformJobOutput {
26987	s.TransformJobName = &v
26988	return s
26989}
26990
26991// SetTransformJobStatus sets the TransformJobStatus field's value.
26992func (s *DescribeTransformJobOutput) SetTransformJobStatus(v string) *DescribeTransformJobOutput {
26993	s.TransformJobStatus = &v
26994	return s
26995}
26996
26997// SetTransformOutput sets the TransformOutput field's value.
26998func (s *DescribeTransformJobOutput) SetTransformOutput(v *TransformOutput) *DescribeTransformJobOutput {
26999	s.TransformOutput = v
27000	return s
27001}
27002
27003// SetTransformResources sets the TransformResources field's value.
27004func (s *DescribeTransformJobOutput) SetTransformResources(v *TransformResources) *DescribeTransformJobOutput {
27005	s.TransformResources = v
27006	return s
27007}
27008
27009// SetTransformStartTime sets the TransformStartTime field's value.
27010func (s *DescribeTransformJobOutput) SetTransformStartTime(v time.Time) *DescribeTransformJobOutput {
27011	s.TransformStartTime = &v
27012	return s
27013}
27014
27015type DescribeTrialComponentInput struct {
27016	_ struct{} `type:"structure"`
27017
27018	// The name of the trial component to describe.
27019	//
27020	// TrialComponentName is a required field
27021	TrialComponentName *string `min:"1" type:"string" required:"true"`
27022}
27023
27024// String returns the string representation
27025func (s DescribeTrialComponentInput) String() string {
27026	return awsutil.Prettify(s)
27027}
27028
27029// GoString returns the string representation
27030func (s DescribeTrialComponentInput) GoString() string {
27031	return s.String()
27032}
27033
27034// Validate inspects the fields of the type to determine if they are valid.
27035func (s *DescribeTrialComponentInput) Validate() error {
27036	invalidParams := request.ErrInvalidParams{Context: "DescribeTrialComponentInput"}
27037	if s.TrialComponentName == nil {
27038		invalidParams.Add(request.NewErrParamRequired("TrialComponentName"))
27039	}
27040	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
27041		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
27042	}
27043
27044	if invalidParams.Len() > 0 {
27045		return invalidParams
27046	}
27047	return nil
27048}
27049
27050// SetTrialComponentName sets the TrialComponentName field's value.
27051func (s *DescribeTrialComponentInput) SetTrialComponentName(v string) *DescribeTrialComponentInput {
27052	s.TrialComponentName = &v
27053	return s
27054}
27055
27056type DescribeTrialComponentOutput struct {
27057	_ struct{} `type:"structure"`
27058
27059	// Who created the component.
27060	CreatedBy *UserContext `type:"structure"`
27061
27062	// When the component was created.
27063	CreationTime *time.Time `type:"timestamp"`
27064
27065	// The name of the component as displayed. If DisplayName isn't specified, TrialComponentName
27066	// is displayed.
27067	DisplayName *string `min:"1" type:"string"`
27068
27069	// When the component ended.
27070	EndTime *time.Time `type:"timestamp"`
27071
27072	// The input artifacts of the component.
27073	InputArtifacts map[string]*TrialComponentArtifact `type:"map"`
27074
27075	// Who last modified the component.
27076	LastModifiedBy *UserContext `type:"structure"`
27077
27078	// When the component was last modified.
27079	LastModifiedTime *time.Time `type:"timestamp"`
27080
27081	// The metrics for the component.
27082	Metrics []*TrialComponentMetricSummary `type:"list"`
27083
27084	// The output artifacts of the component.
27085	OutputArtifacts map[string]*TrialComponentArtifact `type:"map"`
27086
27087	// The hyperparameters of the component.
27088	Parameters map[string]*TrialComponentParameterValue `type:"map"`
27089
27090	// The Amazon Resource Name (ARN) of the source and, optionally, the job type.
27091	Source *TrialComponentSource `type:"structure"`
27092
27093	// When the component started.
27094	StartTime *time.Time `type:"timestamp"`
27095
27096	// The status of the component. States include:
27097	//
27098	//    * InProgress
27099	//
27100	//    * Completed
27101	//
27102	//    * Failed
27103	Status *TrialComponentStatus `type:"structure"`
27104
27105	// The Amazon Resource Name (ARN) of the trial component.
27106	TrialComponentArn *string `type:"string"`
27107
27108	// The name of the trial component.
27109	TrialComponentName *string `min:"1" type:"string"`
27110}
27111
27112// String returns the string representation
27113func (s DescribeTrialComponentOutput) String() string {
27114	return awsutil.Prettify(s)
27115}
27116
27117// GoString returns the string representation
27118func (s DescribeTrialComponentOutput) GoString() string {
27119	return s.String()
27120}
27121
27122// SetCreatedBy sets the CreatedBy field's value.
27123func (s *DescribeTrialComponentOutput) SetCreatedBy(v *UserContext) *DescribeTrialComponentOutput {
27124	s.CreatedBy = v
27125	return s
27126}
27127
27128// SetCreationTime sets the CreationTime field's value.
27129func (s *DescribeTrialComponentOutput) SetCreationTime(v time.Time) *DescribeTrialComponentOutput {
27130	s.CreationTime = &v
27131	return s
27132}
27133
27134// SetDisplayName sets the DisplayName field's value.
27135func (s *DescribeTrialComponentOutput) SetDisplayName(v string) *DescribeTrialComponentOutput {
27136	s.DisplayName = &v
27137	return s
27138}
27139
27140// SetEndTime sets the EndTime field's value.
27141func (s *DescribeTrialComponentOutput) SetEndTime(v time.Time) *DescribeTrialComponentOutput {
27142	s.EndTime = &v
27143	return s
27144}
27145
27146// SetInputArtifacts sets the InputArtifacts field's value.
27147func (s *DescribeTrialComponentOutput) SetInputArtifacts(v map[string]*TrialComponentArtifact) *DescribeTrialComponentOutput {
27148	s.InputArtifacts = v
27149	return s
27150}
27151
27152// SetLastModifiedBy sets the LastModifiedBy field's value.
27153func (s *DescribeTrialComponentOutput) SetLastModifiedBy(v *UserContext) *DescribeTrialComponentOutput {
27154	s.LastModifiedBy = v
27155	return s
27156}
27157
27158// SetLastModifiedTime sets the LastModifiedTime field's value.
27159func (s *DescribeTrialComponentOutput) SetLastModifiedTime(v time.Time) *DescribeTrialComponentOutput {
27160	s.LastModifiedTime = &v
27161	return s
27162}
27163
27164// SetMetrics sets the Metrics field's value.
27165func (s *DescribeTrialComponentOutput) SetMetrics(v []*TrialComponentMetricSummary) *DescribeTrialComponentOutput {
27166	s.Metrics = v
27167	return s
27168}
27169
27170// SetOutputArtifacts sets the OutputArtifacts field's value.
27171func (s *DescribeTrialComponentOutput) SetOutputArtifacts(v map[string]*TrialComponentArtifact) *DescribeTrialComponentOutput {
27172	s.OutputArtifacts = v
27173	return s
27174}
27175
27176// SetParameters sets the Parameters field's value.
27177func (s *DescribeTrialComponentOutput) SetParameters(v map[string]*TrialComponentParameterValue) *DescribeTrialComponentOutput {
27178	s.Parameters = v
27179	return s
27180}
27181
27182// SetSource sets the Source field's value.
27183func (s *DescribeTrialComponentOutput) SetSource(v *TrialComponentSource) *DescribeTrialComponentOutput {
27184	s.Source = v
27185	return s
27186}
27187
27188// SetStartTime sets the StartTime field's value.
27189func (s *DescribeTrialComponentOutput) SetStartTime(v time.Time) *DescribeTrialComponentOutput {
27190	s.StartTime = &v
27191	return s
27192}
27193
27194// SetStatus sets the Status field's value.
27195func (s *DescribeTrialComponentOutput) SetStatus(v *TrialComponentStatus) *DescribeTrialComponentOutput {
27196	s.Status = v
27197	return s
27198}
27199
27200// SetTrialComponentArn sets the TrialComponentArn field's value.
27201func (s *DescribeTrialComponentOutput) SetTrialComponentArn(v string) *DescribeTrialComponentOutput {
27202	s.TrialComponentArn = &v
27203	return s
27204}
27205
27206// SetTrialComponentName sets the TrialComponentName field's value.
27207func (s *DescribeTrialComponentOutput) SetTrialComponentName(v string) *DescribeTrialComponentOutput {
27208	s.TrialComponentName = &v
27209	return s
27210}
27211
27212type DescribeTrialInput struct {
27213	_ struct{} `type:"structure"`
27214
27215	// The name of the trial to describe.
27216	//
27217	// TrialName is a required field
27218	TrialName *string `min:"1" type:"string" required:"true"`
27219}
27220
27221// String returns the string representation
27222func (s DescribeTrialInput) String() string {
27223	return awsutil.Prettify(s)
27224}
27225
27226// GoString returns the string representation
27227func (s DescribeTrialInput) GoString() string {
27228	return s.String()
27229}
27230
27231// Validate inspects the fields of the type to determine if they are valid.
27232func (s *DescribeTrialInput) Validate() error {
27233	invalidParams := request.ErrInvalidParams{Context: "DescribeTrialInput"}
27234	if s.TrialName == nil {
27235		invalidParams.Add(request.NewErrParamRequired("TrialName"))
27236	}
27237	if s.TrialName != nil && len(*s.TrialName) < 1 {
27238		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
27239	}
27240
27241	if invalidParams.Len() > 0 {
27242		return invalidParams
27243	}
27244	return nil
27245}
27246
27247// SetTrialName sets the TrialName field's value.
27248func (s *DescribeTrialInput) SetTrialName(v string) *DescribeTrialInput {
27249	s.TrialName = &v
27250	return s
27251}
27252
27253type DescribeTrialOutput struct {
27254	_ struct{} `type:"structure"`
27255
27256	// Who created the trial.
27257	CreatedBy *UserContext `type:"structure"`
27258
27259	// When the trial was created.
27260	CreationTime *time.Time `type:"timestamp"`
27261
27262	// The name of the trial as displayed. If DisplayName isn't specified, TrialName
27263	// is displayed.
27264	DisplayName *string `min:"1" type:"string"`
27265
27266	// The name of the experiment the trial is part of.
27267	ExperimentName *string `min:"1" type:"string"`
27268
27269	// Who last modified the trial.
27270	LastModifiedBy *UserContext `type:"structure"`
27271
27272	// When the trial was last modified.
27273	LastModifiedTime *time.Time `type:"timestamp"`
27274
27275	// The Amazon Resource Name (ARN) of the source and, optionally, the job type.
27276	Source *TrialSource `type:"structure"`
27277
27278	// The Amazon Resource Name (ARN) of the trial.
27279	TrialArn *string `type:"string"`
27280
27281	// The name of the trial.
27282	TrialName *string `min:"1" type:"string"`
27283}
27284
27285// String returns the string representation
27286func (s DescribeTrialOutput) String() string {
27287	return awsutil.Prettify(s)
27288}
27289
27290// GoString returns the string representation
27291func (s DescribeTrialOutput) GoString() string {
27292	return s.String()
27293}
27294
27295// SetCreatedBy sets the CreatedBy field's value.
27296func (s *DescribeTrialOutput) SetCreatedBy(v *UserContext) *DescribeTrialOutput {
27297	s.CreatedBy = v
27298	return s
27299}
27300
27301// SetCreationTime sets the CreationTime field's value.
27302func (s *DescribeTrialOutput) SetCreationTime(v time.Time) *DescribeTrialOutput {
27303	s.CreationTime = &v
27304	return s
27305}
27306
27307// SetDisplayName sets the DisplayName field's value.
27308func (s *DescribeTrialOutput) SetDisplayName(v string) *DescribeTrialOutput {
27309	s.DisplayName = &v
27310	return s
27311}
27312
27313// SetExperimentName sets the ExperimentName field's value.
27314func (s *DescribeTrialOutput) SetExperimentName(v string) *DescribeTrialOutput {
27315	s.ExperimentName = &v
27316	return s
27317}
27318
27319// SetLastModifiedBy sets the LastModifiedBy field's value.
27320func (s *DescribeTrialOutput) SetLastModifiedBy(v *UserContext) *DescribeTrialOutput {
27321	s.LastModifiedBy = v
27322	return s
27323}
27324
27325// SetLastModifiedTime sets the LastModifiedTime field's value.
27326func (s *DescribeTrialOutput) SetLastModifiedTime(v time.Time) *DescribeTrialOutput {
27327	s.LastModifiedTime = &v
27328	return s
27329}
27330
27331// SetSource sets the Source field's value.
27332func (s *DescribeTrialOutput) SetSource(v *TrialSource) *DescribeTrialOutput {
27333	s.Source = v
27334	return s
27335}
27336
27337// SetTrialArn sets the TrialArn field's value.
27338func (s *DescribeTrialOutput) SetTrialArn(v string) *DescribeTrialOutput {
27339	s.TrialArn = &v
27340	return s
27341}
27342
27343// SetTrialName sets the TrialName field's value.
27344func (s *DescribeTrialOutput) SetTrialName(v string) *DescribeTrialOutput {
27345	s.TrialName = &v
27346	return s
27347}
27348
27349type DescribeUserProfileInput struct {
27350	_ struct{} `type:"structure"`
27351
27352	// The domain ID.
27353	//
27354	// DomainId is a required field
27355	DomainId *string `type:"string" required:"true"`
27356
27357	// The user profile name.
27358	//
27359	// UserProfileName is a required field
27360	UserProfileName *string `type:"string" required:"true"`
27361}
27362
27363// String returns the string representation
27364func (s DescribeUserProfileInput) String() string {
27365	return awsutil.Prettify(s)
27366}
27367
27368// GoString returns the string representation
27369func (s DescribeUserProfileInput) GoString() string {
27370	return s.String()
27371}
27372
27373// Validate inspects the fields of the type to determine if they are valid.
27374func (s *DescribeUserProfileInput) Validate() error {
27375	invalidParams := request.ErrInvalidParams{Context: "DescribeUserProfileInput"}
27376	if s.DomainId == nil {
27377		invalidParams.Add(request.NewErrParamRequired("DomainId"))
27378	}
27379	if s.UserProfileName == nil {
27380		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
27381	}
27382
27383	if invalidParams.Len() > 0 {
27384		return invalidParams
27385	}
27386	return nil
27387}
27388
27389// SetDomainId sets the DomainId field's value.
27390func (s *DescribeUserProfileInput) SetDomainId(v string) *DescribeUserProfileInput {
27391	s.DomainId = &v
27392	return s
27393}
27394
27395// SetUserProfileName sets the UserProfileName field's value.
27396func (s *DescribeUserProfileInput) SetUserProfileName(v string) *DescribeUserProfileInput {
27397	s.UserProfileName = &v
27398	return s
27399}
27400
27401type DescribeUserProfileOutput struct {
27402	_ struct{} `type:"structure"`
27403
27404	// The creation time.
27405	CreationTime *time.Time `type:"timestamp"`
27406
27407	// The ID of the domain that contains the profile.
27408	DomainId *string `type:"string"`
27409
27410	// The failure reason.
27411	FailureReason *string `type:"string"`
27412
27413	// The ID of the user's profile in the Amazon Elastic File System (EFS) volume.
27414	HomeEfsFileSystemUid *string `type:"string"`
27415
27416	// The last modified time.
27417	LastModifiedTime *time.Time `type:"timestamp"`
27418
27419	// The SSO user identifier.
27420	SingleSignOnUserIdentifier *string `type:"string"`
27421
27422	// The SSO user value.
27423	SingleSignOnUserValue *string `type:"string"`
27424
27425	// The status.
27426	Status *string `type:"string" enum:"UserProfileStatus"`
27427
27428	// The user profile Amazon Resource Name (ARN).
27429	UserProfileArn *string `type:"string"`
27430
27431	// The user profile name.
27432	UserProfileName *string `type:"string"`
27433
27434	// A collection of settings.
27435	UserSettings *UserSettings `type:"structure"`
27436}
27437
27438// String returns the string representation
27439func (s DescribeUserProfileOutput) String() string {
27440	return awsutil.Prettify(s)
27441}
27442
27443// GoString returns the string representation
27444func (s DescribeUserProfileOutput) GoString() string {
27445	return s.String()
27446}
27447
27448// SetCreationTime sets the CreationTime field's value.
27449func (s *DescribeUserProfileOutput) SetCreationTime(v time.Time) *DescribeUserProfileOutput {
27450	s.CreationTime = &v
27451	return s
27452}
27453
27454// SetDomainId sets the DomainId field's value.
27455func (s *DescribeUserProfileOutput) SetDomainId(v string) *DescribeUserProfileOutput {
27456	s.DomainId = &v
27457	return s
27458}
27459
27460// SetFailureReason sets the FailureReason field's value.
27461func (s *DescribeUserProfileOutput) SetFailureReason(v string) *DescribeUserProfileOutput {
27462	s.FailureReason = &v
27463	return s
27464}
27465
27466// SetHomeEfsFileSystemUid sets the HomeEfsFileSystemUid field's value.
27467func (s *DescribeUserProfileOutput) SetHomeEfsFileSystemUid(v string) *DescribeUserProfileOutput {
27468	s.HomeEfsFileSystemUid = &v
27469	return s
27470}
27471
27472// SetLastModifiedTime sets the LastModifiedTime field's value.
27473func (s *DescribeUserProfileOutput) SetLastModifiedTime(v time.Time) *DescribeUserProfileOutput {
27474	s.LastModifiedTime = &v
27475	return s
27476}
27477
27478// SetSingleSignOnUserIdentifier sets the SingleSignOnUserIdentifier field's value.
27479func (s *DescribeUserProfileOutput) SetSingleSignOnUserIdentifier(v string) *DescribeUserProfileOutput {
27480	s.SingleSignOnUserIdentifier = &v
27481	return s
27482}
27483
27484// SetSingleSignOnUserValue sets the SingleSignOnUserValue field's value.
27485func (s *DescribeUserProfileOutput) SetSingleSignOnUserValue(v string) *DescribeUserProfileOutput {
27486	s.SingleSignOnUserValue = &v
27487	return s
27488}
27489
27490// SetStatus sets the Status field's value.
27491func (s *DescribeUserProfileOutput) SetStatus(v string) *DescribeUserProfileOutput {
27492	s.Status = &v
27493	return s
27494}
27495
27496// SetUserProfileArn sets the UserProfileArn field's value.
27497func (s *DescribeUserProfileOutput) SetUserProfileArn(v string) *DescribeUserProfileOutput {
27498	s.UserProfileArn = &v
27499	return s
27500}
27501
27502// SetUserProfileName sets the UserProfileName field's value.
27503func (s *DescribeUserProfileOutput) SetUserProfileName(v string) *DescribeUserProfileOutput {
27504	s.UserProfileName = &v
27505	return s
27506}
27507
27508// SetUserSettings sets the UserSettings field's value.
27509func (s *DescribeUserProfileOutput) SetUserSettings(v *UserSettings) *DescribeUserProfileOutput {
27510	s.UserSettings = v
27511	return s
27512}
27513
27514type DescribeWorkforceInput struct {
27515	_ struct{} `type:"structure"`
27516
27517	// The name of the private workforce whose access you want to restrict. WorkforceName
27518	// is automatically set to default when a workforce is created and cannot be
27519	// modified.
27520	//
27521	// WorkforceName is a required field
27522	WorkforceName *string `min:"1" type:"string" required:"true"`
27523}
27524
27525// String returns the string representation
27526func (s DescribeWorkforceInput) String() string {
27527	return awsutil.Prettify(s)
27528}
27529
27530// GoString returns the string representation
27531func (s DescribeWorkforceInput) GoString() string {
27532	return s.String()
27533}
27534
27535// Validate inspects the fields of the type to determine if they are valid.
27536func (s *DescribeWorkforceInput) Validate() error {
27537	invalidParams := request.ErrInvalidParams{Context: "DescribeWorkforceInput"}
27538	if s.WorkforceName == nil {
27539		invalidParams.Add(request.NewErrParamRequired("WorkforceName"))
27540	}
27541	if s.WorkforceName != nil && len(*s.WorkforceName) < 1 {
27542		invalidParams.Add(request.NewErrParamMinLen("WorkforceName", 1))
27543	}
27544
27545	if invalidParams.Len() > 0 {
27546		return invalidParams
27547	}
27548	return nil
27549}
27550
27551// SetWorkforceName sets the WorkforceName field's value.
27552func (s *DescribeWorkforceInput) SetWorkforceName(v string) *DescribeWorkforceInput {
27553	s.WorkforceName = &v
27554	return s
27555}
27556
27557type DescribeWorkforceOutput struct {
27558	_ struct{} `type:"structure"`
27559
27560	// A single private workforce, which is automatically created when you create
27561	// your first private work team. You can create one private work force in each
27562	// AWS Region. By default, any workforce-related API operation used in a specific
27563	// region will apply to the workforce created in that region. To learn how to
27564	// create a private workforce, see Create a Private Workforce (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html).
27565	//
27566	// Workforce is a required field
27567	Workforce *Workforce `type:"structure" required:"true"`
27568}
27569
27570// String returns the string representation
27571func (s DescribeWorkforceOutput) String() string {
27572	return awsutil.Prettify(s)
27573}
27574
27575// GoString returns the string representation
27576func (s DescribeWorkforceOutput) GoString() string {
27577	return s.String()
27578}
27579
27580// SetWorkforce sets the Workforce field's value.
27581func (s *DescribeWorkforceOutput) SetWorkforce(v *Workforce) *DescribeWorkforceOutput {
27582	s.Workforce = v
27583	return s
27584}
27585
27586type DescribeWorkteamInput struct {
27587	_ struct{} `type:"structure"`
27588
27589	// The name of the work team to return a description of.
27590	//
27591	// WorkteamName is a required field
27592	WorkteamName *string `min:"1" type:"string" required:"true"`
27593}
27594
27595// String returns the string representation
27596func (s DescribeWorkteamInput) String() string {
27597	return awsutil.Prettify(s)
27598}
27599
27600// GoString returns the string representation
27601func (s DescribeWorkteamInput) GoString() string {
27602	return s.String()
27603}
27604
27605// Validate inspects the fields of the type to determine if they are valid.
27606func (s *DescribeWorkteamInput) Validate() error {
27607	invalidParams := request.ErrInvalidParams{Context: "DescribeWorkteamInput"}
27608	if s.WorkteamName == nil {
27609		invalidParams.Add(request.NewErrParamRequired("WorkteamName"))
27610	}
27611	if s.WorkteamName != nil && len(*s.WorkteamName) < 1 {
27612		invalidParams.Add(request.NewErrParamMinLen("WorkteamName", 1))
27613	}
27614
27615	if invalidParams.Len() > 0 {
27616		return invalidParams
27617	}
27618	return nil
27619}
27620
27621// SetWorkteamName sets the WorkteamName field's value.
27622func (s *DescribeWorkteamInput) SetWorkteamName(v string) *DescribeWorkteamInput {
27623	s.WorkteamName = &v
27624	return s
27625}
27626
27627type DescribeWorkteamOutput struct {
27628	_ struct{} `type:"structure"`
27629
27630	// A Workteam instance that contains information about the work team.
27631	//
27632	// Workteam is a required field
27633	Workteam *Workteam `type:"structure" required:"true"`
27634}
27635
27636// String returns the string representation
27637func (s DescribeWorkteamOutput) String() string {
27638	return awsutil.Prettify(s)
27639}
27640
27641// GoString returns the string representation
27642func (s DescribeWorkteamOutput) GoString() string {
27643	return s.String()
27644}
27645
27646// SetWorkteam sets the Workteam field's value.
27647func (s *DescribeWorkteamOutput) SetWorkteam(v *Workteam) *DescribeWorkteamOutput {
27648	s.Workteam = v
27649	return s
27650}
27651
27652// Specifies weight and capacity values for a production variant.
27653type DesiredWeightAndCapacity struct {
27654	_ struct{} `type:"structure"`
27655
27656	// The variant's capacity.
27657	DesiredInstanceCount *int64 `min:"1" type:"integer"`
27658
27659	// The variant's weight.
27660	DesiredWeight *float64 `type:"float"`
27661
27662	// The name of the variant to update.
27663	//
27664	// VariantName is a required field
27665	VariantName *string `type:"string" required:"true"`
27666}
27667
27668// String returns the string representation
27669func (s DesiredWeightAndCapacity) String() string {
27670	return awsutil.Prettify(s)
27671}
27672
27673// GoString returns the string representation
27674func (s DesiredWeightAndCapacity) GoString() string {
27675	return s.String()
27676}
27677
27678// Validate inspects the fields of the type to determine if they are valid.
27679func (s *DesiredWeightAndCapacity) Validate() error {
27680	invalidParams := request.ErrInvalidParams{Context: "DesiredWeightAndCapacity"}
27681	if s.DesiredInstanceCount != nil && *s.DesiredInstanceCount < 1 {
27682		invalidParams.Add(request.NewErrParamMinValue("DesiredInstanceCount", 1))
27683	}
27684	if s.VariantName == nil {
27685		invalidParams.Add(request.NewErrParamRequired("VariantName"))
27686	}
27687
27688	if invalidParams.Len() > 0 {
27689		return invalidParams
27690	}
27691	return nil
27692}
27693
27694// SetDesiredInstanceCount sets the DesiredInstanceCount field's value.
27695func (s *DesiredWeightAndCapacity) SetDesiredInstanceCount(v int64) *DesiredWeightAndCapacity {
27696	s.DesiredInstanceCount = &v
27697	return s
27698}
27699
27700// SetDesiredWeight sets the DesiredWeight field's value.
27701func (s *DesiredWeightAndCapacity) SetDesiredWeight(v float64) *DesiredWeightAndCapacity {
27702	s.DesiredWeight = &v
27703	return s
27704}
27705
27706// SetVariantName sets the VariantName field's value.
27707func (s *DesiredWeightAndCapacity) SetVariantName(v string) *DesiredWeightAndCapacity {
27708	s.VariantName = &v
27709	return s
27710}
27711
27712type DisassociateTrialComponentInput struct {
27713	_ struct{} `type:"structure"`
27714
27715	// The name of the component to disassociate from the trial.
27716	//
27717	// TrialComponentName is a required field
27718	TrialComponentName *string `min:"1" type:"string" required:"true"`
27719
27720	// The name of the trial to disassociate from.
27721	//
27722	// TrialName is a required field
27723	TrialName *string `min:"1" type:"string" required:"true"`
27724}
27725
27726// String returns the string representation
27727func (s DisassociateTrialComponentInput) String() string {
27728	return awsutil.Prettify(s)
27729}
27730
27731// GoString returns the string representation
27732func (s DisassociateTrialComponentInput) GoString() string {
27733	return s.String()
27734}
27735
27736// Validate inspects the fields of the type to determine if they are valid.
27737func (s *DisassociateTrialComponentInput) Validate() error {
27738	invalidParams := request.ErrInvalidParams{Context: "DisassociateTrialComponentInput"}
27739	if s.TrialComponentName == nil {
27740		invalidParams.Add(request.NewErrParamRequired("TrialComponentName"))
27741	}
27742	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
27743		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
27744	}
27745	if s.TrialName == nil {
27746		invalidParams.Add(request.NewErrParamRequired("TrialName"))
27747	}
27748	if s.TrialName != nil && len(*s.TrialName) < 1 {
27749		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
27750	}
27751
27752	if invalidParams.Len() > 0 {
27753		return invalidParams
27754	}
27755	return nil
27756}
27757
27758// SetTrialComponentName sets the TrialComponentName field's value.
27759func (s *DisassociateTrialComponentInput) SetTrialComponentName(v string) *DisassociateTrialComponentInput {
27760	s.TrialComponentName = &v
27761	return s
27762}
27763
27764// SetTrialName sets the TrialName field's value.
27765func (s *DisassociateTrialComponentInput) SetTrialName(v string) *DisassociateTrialComponentInput {
27766	s.TrialName = &v
27767	return s
27768}
27769
27770type DisassociateTrialComponentOutput struct {
27771	_ struct{} `type:"structure"`
27772
27773	// The Amazon Resource Name (ARN) of the trial.
27774	TrialArn *string `type:"string"`
27775
27776	// The ARN of the trial component.
27777	TrialComponentArn *string `type:"string"`
27778}
27779
27780// String returns the string representation
27781func (s DisassociateTrialComponentOutput) String() string {
27782	return awsutil.Prettify(s)
27783}
27784
27785// GoString returns the string representation
27786func (s DisassociateTrialComponentOutput) GoString() string {
27787	return s.String()
27788}
27789
27790// SetTrialArn sets the TrialArn field's value.
27791func (s *DisassociateTrialComponentOutput) SetTrialArn(v string) *DisassociateTrialComponentOutput {
27792	s.TrialArn = &v
27793	return s
27794}
27795
27796// SetTrialComponentArn sets the TrialComponentArn field's value.
27797func (s *DisassociateTrialComponentOutput) SetTrialComponentArn(v string) *DisassociateTrialComponentOutput {
27798	s.TrialComponentArn = &v
27799	return s
27800}
27801
27802// The domain's details.
27803type DomainDetails struct {
27804	_ struct{} `type:"structure"`
27805
27806	// The creation time.
27807	CreationTime *time.Time `type:"timestamp"`
27808
27809	// The domain's Amazon Resource Name (ARN).
27810	DomainArn *string `type:"string"`
27811
27812	// The domain ID.
27813	DomainId *string `type:"string"`
27814
27815	// The domain name.
27816	DomainName *string `type:"string"`
27817
27818	// The last modified time.
27819	LastModifiedTime *time.Time `type:"timestamp"`
27820
27821	// The status.
27822	Status *string `type:"string" enum:"DomainStatus"`
27823
27824	// The domain's URL.
27825	Url *string `type:"string"`
27826}
27827
27828// String returns the string representation
27829func (s DomainDetails) String() string {
27830	return awsutil.Prettify(s)
27831}
27832
27833// GoString returns the string representation
27834func (s DomainDetails) GoString() string {
27835	return s.String()
27836}
27837
27838// SetCreationTime sets the CreationTime field's value.
27839func (s *DomainDetails) SetCreationTime(v time.Time) *DomainDetails {
27840	s.CreationTime = &v
27841	return s
27842}
27843
27844// SetDomainArn sets the DomainArn field's value.
27845func (s *DomainDetails) SetDomainArn(v string) *DomainDetails {
27846	s.DomainArn = &v
27847	return s
27848}
27849
27850// SetDomainId sets the DomainId field's value.
27851func (s *DomainDetails) SetDomainId(v string) *DomainDetails {
27852	s.DomainId = &v
27853	return s
27854}
27855
27856// SetDomainName sets the DomainName field's value.
27857func (s *DomainDetails) SetDomainName(v string) *DomainDetails {
27858	s.DomainName = &v
27859	return s
27860}
27861
27862// SetLastModifiedTime sets the LastModifiedTime field's value.
27863func (s *DomainDetails) SetLastModifiedTime(v time.Time) *DomainDetails {
27864	s.LastModifiedTime = &v
27865	return s
27866}
27867
27868// SetStatus sets the Status field's value.
27869func (s *DomainDetails) SetStatus(v string) *DomainDetails {
27870	s.Status = &v
27871	return s
27872}
27873
27874// SetUrl sets the Url field's value.
27875func (s *DomainDetails) SetUrl(v string) *DomainDetails {
27876	s.Url = &v
27877	return s
27878}
27879
27880// Provides summary information for an endpoint configuration.
27881type EndpointConfigSummary struct {
27882	_ struct{} `type:"structure"`
27883
27884	// A timestamp that shows when the endpoint configuration was created.
27885	//
27886	// CreationTime is a required field
27887	CreationTime *time.Time `type:"timestamp" required:"true"`
27888
27889	// The Amazon Resource Name (ARN) of the endpoint configuration.
27890	//
27891	// EndpointConfigArn is a required field
27892	EndpointConfigArn *string `min:"20" type:"string" required:"true"`
27893
27894	// The name of the endpoint configuration.
27895	//
27896	// EndpointConfigName is a required field
27897	EndpointConfigName *string `type:"string" required:"true"`
27898}
27899
27900// String returns the string representation
27901func (s EndpointConfigSummary) String() string {
27902	return awsutil.Prettify(s)
27903}
27904
27905// GoString returns the string representation
27906func (s EndpointConfigSummary) GoString() string {
27907	return s.String()
27908}
27909
27910// SetCreationTime sets the CreationTime field's value.
27911func (s *EndpointConfigSummary) SetCreationTime(v time.Time) *EndpointConfigSummary {
27912	s.CreationTime = &v
27913	return s
27914}
27915
27916// SetEndpointConfigArn sets the EndpointConfigArn field's value.
27917func (s *EndpointConfigSummary) SetEndpointConfigArn(v string) *EndpointConfigSummary {
27918	s.EndpointConfigArn = &v
27919	return s
27920}
27921
27922// SetEndpointConfigName sets the EndpointConfigName field's value.
27923func (s *EndpointConfigSummary) SetEndpointConfigName(v string) *EndpointConfigSummary {
27924	s.EndpointConfigName = &v
27925	return s
27926}
27927
27928// Input object for the endpoint
27929type EndpointInput struct {
27930	_ struct{} `type:"structure"`
27931
27932	// An endpoint in customer's account which has enabled DataCaptureConfig enabled.
27933	//
27934	// EndpointName is a required field
27935	EndpointName *string `type:"string" required:"true"`
27936
27937	// Path to the filesystem where the endpoint data is available to the container.
27938	//
27939	// LocalPath is a required field
27940	LocalPath *string `type:"string" required:"true"`
27941
27942	// Whether input data distributed in Amazon S3 is fully replicated or sharded
27943	// by an S3 key. Defauts to FullyReplicated
27944	S3DataDistributionType *string `type:"string" enum:"ProcessingS3DataDistributionType"`
27945
27946	// Whether the Pipe or File is used as the input mode for transfering data for
27947	// the monitoring job. Pipe mode is recommended for large datasets. File mode
27948	// is useful for small files that fit in memory. Defaults to File.
27949	S3InputMode *string `type:"string" enum:"ProcessingS3InputMode"`
27950}
27951
27952// String returns the string representation
27953func (s EndpointInput) String() string {
27954	return awsutil.Prettify(s)
27955}
27956
27957// GoString returns the string representation
27958func (s EndpointInput) GoString() string {
27959	return s.String()
27960}
27961
27962// Validate inspects the fields of the type to determine if they are valid.
27963func (s *EndpointInput) Validate() error {
27964	invalidParams := request.ErrInvalidParams{Context: "EndpointInput"}
27965	if s.EndpointName == nil {
27966		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
27967	}
27968	if s.LocalPath == nil {
27969		invalidParams.Add(request.NewErrParamRequired("LocalPath"))
27970	}
27971
27972	if invalidParams.Len() > 0 {
27973		return invalidParams
27974	}
27975	return nil
27976}
27977
27978// SetEndpointName sets the EndpointName field's value.
27979func (s *EndpointInput) SetEndpointName(v string) *EndpointInput {
27980	s.EndpointName = &v
27981	return s
27982}
27983
27984// SetLocalPath sets the LocalPath field's value.
27985func (s *EndpointInput) SetLocalPath(v string) *EndpointInput {
27986	s.LocalPath = &v
27987	return s
27988}
27989
27990// SetS3DataDistributionType sets the S3DataDistributionType field's value.
27991func (s *EndpointInput) SetS3DataDistributionType(v string) *EndpointInput {
27992	s.S3DataDistributionType = &v
27993	return s
27994}
27995
27996// SetS3InputMode sets the S3InputMode field's value.
27997func (s *EndpointInput) SetS3InputMode(v string) *EndpointInput {
27998	s.S3InputMode = &v
27999	return s
28000}
28001
28002// Provides summary information for an endpoint.
28003type EndpointSummary struct {
28004	_ struct{} `type:"structure"`
28005
28006	// A timestamp that shows when the endpoint was created.
28007	//
28008	// CreationTime is a required field
28009	CreationTime *time.Time `type:"timestamp" required:"true"`
28010
28011	// The Amazon Resource Name (ARN) of the endpoint.
28012	//
28013	// EndpointArn is a required field
28014	EndpointArn *string `min:"20" type:"string" required:"true"`
28015
28016	// The name of the endpoint.
28017	//
28018	// EndpointName is a required field
28019	EndpointName *string `type:"string" required:"true"`
28020
28021	// The status of the endpoint.
28022	//
28023	//    * OutOfService: Endpoint is not available to take incoming requests.
28024	//
28025	//    * Creating: CreateEndpoint is executing.
28026	//
28027	//    * Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing.
28028	//
28029	//    * SystemUpdating: Endpoint is undergoing maintenance and cannot be updated
28030	//    or deleted or re-scaled until it has completed. This maintenance operation
28031	//    does not change any customer-specified values such as VPC config, KMS
28032	//    encryption, model, instance type, or instance count.
28033	//
28034	//    * RollingBack: Endpoint fails to scale up or down or change its variant
28035	//    weight and is in the process of rolling back to its previous configuration.
28036	//    Once the rollback completes, endpoint returns to an InService status.
28037	//    This transitional status only applies to an endpoint that has autoscaling
28038	//    enabled and is undergoing variant weight or capacity changes as part of
28039	//    an UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities
28040	//    operation is called explicitly.
28041	//
28042	//    * InService: Endpoint is available to process incoming requests.
28043	//
28044	//    * Deleting: DeleteEndpoint is executing.
28045	//
28046	//    * Failed: Endpoint could not be created, updated, or re-scaled. Use DescribeEndpointOutput$FailureReason
28047	//    for information about the failure. DeleteEndpoint is the only operation
28048	//    that can be performed on a failed endpoint.
28049	//
28050	// To get a list of endpoints with a specified status, use the ListEndpointsInput$StatusEquals
28051	// filter.
28052	//
28053	// EndpointStatus is a required field
28054	EndpointStatus *string `type:"string" required:"true" enum:"EndpointStatus"`
28055
28056	// A timestamp that shows when the endpoint was last modified.
28057	//
28058	// LastModifiedTime is a required field
28059	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
28060}
28061
28062// String returns the string representation
28063func (s EndpointSummary) String() string {
28064	return awsutil.Prettify(s)
28065}
28066
28067// GoString returns the string representation
28068func (s EndpointSummary) GoString() string {
28069	return s.String()
28070}
28071
28072// SetCreationTime sets the CreationTime field's value.
28073func (s *EndpointSummary) SetCreationTime(v time.Time) *EndpointSummary {
28074	s.CreationTime = &v
28075	return s
28076}
28077
28078// SetEndpointArn sets the EndpointArn field's value.
28079func (s *EndpointSummary) SetEndpointArn(v string) *EndpointSummary {
28080	s.EndpointArn = &v
28081	return s
28082}
28083
28084// SetEndpointName sets the EndpointName field's value.
28085func (s *EndpointSummary) SetEndpointName(v string) *EndpointSummary {
28086	s.EndpointName = &v
28087	return s
28088}
28089
28090// SetEndpointStatus sets the EndpointStatus field's value.
28091func (s *EndpointSummary) SetEndpointStatus(v string) *EndpointSummary {
28092	s.EndpointStatus = &v
28093	return s
28094}
28095
28096// SetLastModifiedTime sets the LastModifiedTime field's value.
28097func (s *EndpointSummary) SetLastModifiedTime(v time.Time) *EndpointSummary {
28098	s.LastModifiedTime = &v
28099	return s
28100}
28101
28102// The properties of an experiment as returned by the Search API.
28103type Experiment struct {
28104	_ struct{} `type:"structure"`
28105
28106	// Information about the user who created or modified an experiment, trial,
28107	// or trial component.
28108	CreatedBy *UserContext `type:"structure"`
28109
28110	// When the experiment was created.
28111	CreationTime *time.Time `type:"timestamp"`
28112
28113	// The description of the experiment.
28114	Description *string `type:"string"`
28115
28116	// The name of the experiment as displayed. If DisplayName isn't specified,
28117	// ExperimentName is displayed.
28118	DisplayName *string `min:"1" type:"string"`
28119
28120	// The Amazon Resource Name (ARN) of the experiment.
28121	ExperimentArn *string `type:"string"`
28122
28123	// The name of the experiment.
28124	ExperimentName *string `min:"1" type:"string"`
28125
28126	// Information about the user who created or modified an experiment, trial,
28127	// or trial component.
28128	LastModifiedBy *UserContext `type:"structure"`
28129
28130	// When the experiment was last modified.
28131	LastModifiedTime *time.Time `type:"timestamp"`
28132
28133	// The source of the experiment.
28134	Source *ExperimentSource `type:"structure"`
28135
28136	// The list of tags that are associated with the experiment. You can use Search
28137	// API to search on the tags.
28138	Tags []*Tag `type:"list"`
28139}
28140
28141// String returns the string representation
28142func (s Experiment) String() string {
28143	return awsutil.Prettify(s)
28144}
28145
28146// GoString returns the string representation
28147func (s Experiment) GoString() string {
28148	return s.String()
28149}
28150
28151// SetCreatedBy sets the CreatedBy field's value.
28152func (s *Experiment) SetCreatedBy(v *UserContext) *Experiment {
28153	s.CreatedBy = v
28154	return s
28155}
28156
28157// SetCreationTime sets the CreationTime field's value.
28158func (s *Experiment) SetCreationTime(v time.Time) *Experiment {
28159	s.CreationTime = &v
28160	return s
28161}
28162
28163// SetDescription sets the Description field's value.
28164func (s *Experiment) SetDescription(v string) *Experiment {
28165	s.Description = &v
28166	return s
28167}
28168
28169// SetDisplayName sets the DisplayName field's value.
28170func (s *Experiment) SetDisplayName(v string) *Experiment {
28171	s.DisplayName = &v
28172	return s
28173}
28174
28175// SetExperimentArn sets the ExperimentArn field's value.
28176func (s *Experiment) SetExperimentArn(v string) *Experiment {
28177	s.ExperimentArn = &v
28178	return s
28179}
28180
28181// SetExperimentName sets the ExperimentName field's value.
28182func (s *Experiment) SetExperimentName(v string) *Experiment {
28183	s.ExperimentName = &v
28184	return s
28185}
28186
28187// SetLastModifiedBy sets the LastModifiedBy field's value.
28188func (s *Experiment) SetLastModifiedBy(v *UserContext) *Experiment {
28189	s.LastModifiedBy = v
28190	return s
28191}
28192
28193// SetLastModifiedTime sets the LastModifiedTime field's value.
28194func (s *Experiment) SetLastModifiedTime(v time.Time) *Experiment {
28195	s.LastModifiedTime = &v
28196	return s
28197}
28198
28199// SetSource sets the Source field's value.
28200func (s *Experiment) SetSource(v *ExperimentSource) *Experiment {
28201	s.Source = v
28202	return s
28203}
28204
28205// SetTags sets the Tags field's value.
28206func (s *Experiment) SetTags(v []*Tag) *Experiment {
28207	s.Tags = v
28208	return s
28209}
28210
28211// Associates a SageMaker job as a trial component with an experiment and trial.
28212// Specified when you call the following APIs:
28213//
28214//    * CreateProcessingJob
28215//
28216//    * CreateTrainingJob
28217//
28218//    * CreateTransformJob
28219type ExperimentConfig struct {
28220	_ struct{} `type:"structure"`
28221
28222	// The name of an existing experiment to associate the trial component with.
28223	ExperimentName *string `min:"1" type:"string"`
28224
28225	// The display name for the trial component. If this key isn't specified, the
28226	// display name is the trial component name.
28227	TrialComponentDisplayName *string `min:"1" type:"string"`
28228
28229	// The name of an existing trial to associate the trial component with. If not
28230	// specified, a new trial is created.
28231	TrialName *string `min:"1" type:"string"`
28232}
28233
28234// String returns the string representation
28235func (s ExperimentConfig) String() string {
28236	return awsutil.Prettify(s)
28237}
28238
28239// GoString returns the string representation
28240func (s ExperimentConfig) GoString() string {
28241	return s.String()
28242}
28243
28244// Validate inspects the fields of the type to determine if they are valid.
28245func (s *ExperimentConfig) Validate() error {
28246	invalidParams := request.ErrInvalidParams{Context: "ExperimentConfig"}
28247	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
28248		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
28249	}
28250	if s.TrialComponentDisplayName != nil && len(*s.TrialComponentDisplayName) < 1 {
28251		invalidParams.Add(request.NewErrParamMinLen("TrialComponentDisplayName", 1))
28252	}
28253	if s.TrialName != nil && len(*s.TrialName) < 1 {
28254		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
28255	}
28256
28257	if invalidParams.Len() > 0 {
28258		return invalidParams
28259	}
28260	return nil
28261}
28262
28263// SetExperimentName sets the ExperimentName field's value.
28264func (s *ExperimentConfig) SetExperimentName(v string) *ExperimentConfig {
28265	s.ExperimentName = &v
28266	return s
28267}
28268
28269// SetTrialComponentDisplayName sets the TrialComponentDisplayName field's value.
28270func (s *ExperimentConfig) SetTrialComponentDisplayName(v string) *ExperimentConfig {
28271	s.TrialComponentDisplayName = &v
28272	return s
28273}
28274
28275// SetTrialName sets the TrialName field's value.
28276func (s *ExperimentConfig) SetTrialName(v string) *ExperimentConfig {
28277	s.TrialName = &v
28278	return s
28279}
28280
28281// The source of the experiment.
28282type ExperimentSource struct {
28283	_ struct{} `type:"structure"`
28284
28285	// The Amazon Resource Name (ARN) of the source.
28286	//
28287	// SourceArn is a required field
28288	SourceArn *string `type:"string" required:"true"`
28289
28290	// The source type.
28291	SourceType *string `type:"string"`
28292}
28293
28294// String returns the string representation
28295func (s ExperimentSource) String() string {
28296	return awsutil.Prettify(s)
28297}
28298
28299// GoString returns the string representation
28300func (s ExperimentSource) GoString() string {
28301	return s.String()
28302}
28303
28304// SetSourceArn sets the SourceArn field's value.
28305func (s *ExperimentSource) SetSourceArn(v string) *ExperimentSource {
28306	s.SourceArn = &v
28307	return s
28308}
28309
28310// SetSourceType sets the SourceType field's value.
28311func (s *ExperimentSource) SetSourceType(v string) *ExperimentSource {
28312	s.SourceType = &v
28313	return s
28314}
28315
28316// A summary of the properties of an experiment. To get the complete set of
28317// properties, call the DescribeExperiment API and provide the ExperimentName.
28318type ExperimentSummary struct {
28319	_ struct{} `type:"structure"`
28320
28321	// When the experiment was created.
28322	CreationTime *time.Time `type:"timestamp"`
28323
28324	// The name of the experiment as displayed. If DisplayName isn't specified,
28325	// ExperimentName is displayed.
28326	DisplayName *string `min:"1" type:"string"`
28327
28328	// The Amazon Resource Name (ARN) of the experiment.
28329	ExperimentArn *string `type:"string"`
28330
28331	// The name of the experiment.
28332	ExperimentName *string `min:"1" type:"string"`
28333
28334	// The source of the experiment.
28335	ExperimentSource *ExperimentSource `type:"structure"`
28336
28337	// When the experiment was last modified.
28338	LastModifiedTime *time.Time `type:"timestamp"`
28339}
28340
28341// String returns the string representation
28342func (s ExperimentSummary) String() string {
28343	return awsutil.Prettify(s)
28344}
28345
28346// GoString returns the string representation
28347func (s ExperimentSummary) GoString() string {
28348	return s.String()
28349}
28350
28351// SetCreationTime sets the CreationTime field's value.
28352func (s *ExperimentSummary) SetCreationTime(v time.Time) *ExperimentSummary {
28353	s.CreationTime = &v
28354	return s
28355}
28356
28357// SetDisplayName sets the DisplayName field's value.
28358func (s *ExperimentSummary) SetDisplayName(v string) *ExperimentSummary {
28359	s.DisplayName = &v
28360	return s
28361}
28362
28363// SetExperimentArn sets the ExperimentArn field's value.
28364func (s *ExperimentSummary) SetExperimentArn(v string) *ExperimentSummary {
28365	s.ExperimentArn = &v
28366	return s
28367}
28368
28369// SetExperimentName sets the ExperimentName field's value.
28370func (s *ExperimentSummary) SetExperimentName(v string) *ExperimentSummary {
28371	s.ExperimentName = &v
28372	return s
28373}
28374
28375// SetExperimentSource sets the ExperimentSource field's value.
28376func (s *ExperimentSummary) SetExperimentSource(v *ExperimentSource) *ExperimentSummary {
28377	s.ExperimentSource = v
28378	return s
28379}
28380
28381// SetLastModifiedTime sets the LastModifiedTime field's value.
28382func (s *ExperimentSummary) SetLastModifiedTime(v time.Time) *ExperimentSummary {
28383	s.LastModifiedTime = &v
28384	return s
28385}
28386
28387// Specifies a file system data source for a channel.
28388type FileSystemDataSource struct {
28389	_ struct{} `type:"structure"`
28390
28391	// The full path to the directory to associate with the channel.
28392	//
28393	// DirectoryPath is a required field
28394	DirectoryPath *string `type:"string" required:"true"`
28395
28396	// The access mode of the mount of the directory associated with the channel.
28397	// A directory can be mounted either in ro (read-only) or rw (read-write) mode.
28398	//
28399	// FileSystemAccessMode is a required field
28400	FileSystemAccessMode *string `type:"string" required:"true" enum:"FileSystemAccessMode"`
28401
28402	// The file system id.
28403	//
28404	// FileSystemId is a required field
28405	FileSystemId *string `min:"11" type:"string" required:"true"`
28406
28407	// The file system type.
28408	//
28409	// FileSystemType is a required field
28410	FileSystemType *string `type:"string" required:"true" enum:"FileSystemType"`
28411}
28412
28413// String returns the string representation
28414func (s FileSystemDataSource) String() string {
28415	return awsutil.Prettify(s)
28416}
28417
28418// GoString returns the string representation
28419func (s FileSystemDataSource) GoString() string {
28420	return s.String()
28421}
28422
28423// Validate inspects the fields of the type to determine if they are valid.
28424func (s *FileSystemDataSource) Validate() error {
28425	invalidParams := request.ErrInvalidParams{Context: "FileSystemDataSource"}
28426	if s.DirectoryPath == nil {
28427		invalidParams.Add(request.NewErrParamRequired("DirectoryPath"))
28428	}
28429	if s.FileSystemAccessMode == nil {
28430		invalidParams.Add(request.NewErrParamRequired("FileSystemAccessMode"))
28431	}
28432	if s.FileSystemId == nil {
28433		invalidParams.Add(request.NewErrParamRequired("FileSystemId"))
28434	}
28435	if s.FileSystemId != nil && len(*s.FileSystemId) < 11 {
28436		invalidParams.Add(request.NewErrParamMinLen("FileSystemId", 11))
28437	}
28438	if s.FileSystemType == nil {
28439		invalidParams.Add(request.NewErrParamRequired("FileSystemType"))
28440	}
28441
28442	if invalidParams.Len() > 0 {
28443		return invalidParams
28444	}
28445	return nil
28446}
28447
28448// SetDirectoryPath sets the DirectoryPath field's value.
28449func (s *FileSystemDataSource) SetDirectoryPath(v string) *FileSystemDataSource {
28450	s.DirectoryPath = &v
28451	return s
28452}
28453
28454// SetFileSystemAccessMode sets the FileSystemAccessMode field's value.
28455func (s *FileSystemDataSource) SetFileSystemAccessMode(v string) *FileSystemDataSource {
28456	s.FileSystemAccessMode = &v
28457	return s
28458}
28459
28460// SetFileSystemId sets the FileSystemId field's value.
28461func (s *FileSystemDataSource) SetFileSystemId(v string) *FileSystemDataSource {
28462	s.FileSystemId = &v
28463	return s
28464}
28465
28466// SetFileSystemType sets the FileSystemType field's value.
28467func (s *FileSystemDataSource) SetFileSystemType(v string) *FileSystemDataSource {
28468	s.FileSystemType = &v
28469	return s
28470}
28471
28472// A conditional statement for a search expression that includes a resource
28473// property, a Boolean operator, and a value. Resources that match the statement
28474// are returned in the results from the Search API.
28475//
28476// If you specify a Value, but not an Operator, Amazon SageMaker uses the equals
28477// operator.
28478//
28479// In search, there are several property types:
28480//
28481// Metrics
28482//
28483// To define a metric filter, enter a value using the form "Metrics.<name>",
28484// where <name> is a metric name. For example, the following filter searches
28485// for training jobs with an "accuracy" metric greater than "0.9":
28486//
28487// {
28488//
28489// "Name": "Metrics.accuracy",
28490//
28491// "Operator": "GreaterThan",
28492//
28493// "Value": "0.9"
28494//
28495// }
28496//
28497// HyperParameters
28498//
28499// To define a hyperparameter filter, enter a value with the form "HyperParameters.<name>".
28500// Decimal hyperparameter values are treated as a decimal in a comparison if
28501// the specified Value is also a decimal value. If the specified Value is an
28502// integer, the decimal hyperparameter values are treated as integers. For example,
28503// the following filter is satisfied by training jobs with a "learning_rate"
28504// hyperparameter that is less than "0.5":
28505//
28506// {
28507//
28508// "Name": "HyperParameters.learning_rate",
28509//
28510// "Operator": "LessThan",
28511//
28512// "Value": "0.5"
28513//
28514// }
28515//
28516// Tags
28517//
28518// To define a tag filter, enter a value with the form Tags.<key>.
28519type Filter struct {
28520	_ struct{} `type:"structure"`
28521
28522	// A resource property name. For example, TrainingJobName. For valid property
28523	// names, see SearchRecord. You must specify a valid property for the resource.
28524	//
28525	// Name is a required field
28526	Name *string `min:"1" type:"string" required:"true"`
28527
28528	// A Boolean binary operator that is used to evaluate the filter. The operator
28529	// field contains one of the following values:
28530	//
28531	// Equals
28532	//
28533	// The value of Name equals Value.
28534	//
28535	// NotEquals
28536	//
28537	// The value of Name doesn't equal Value.
28538	//
28539	// Exists
28540	//
28541	// The Name property exists.
28542	//
28543	// NotExists
28544	//
28545	// The Name property does not exist.
28546	//
28547	// GreaterThan
28548	//
28549	// The value of Name is greater than Value. Not supported for text properties.
28550	//
28551	// GreaterThanOrEqualTo
28552	//
28553	// The value of Name is greater than or equal to Value. Not supported for text
28554	// properties.
28555	//
28556	// LessThan
28557	//
28558	// The value of Name is less than Value. Not supported for text properties.
28559	//
28560	// LessThanOrEqualTo
28561	//
28562	// The value of Name is less than or equal to Value. Not supported for text
28563	// properties.
28564	//
28565	// In
28566	//
28567	// The value of Name is one of the comma delimited strings in Value. Only supported
28568	// for text properties.
28569	//
28570	// Contains
28571	//
28572	// The value of Name contains the string Value. Only supported for text properties.
28573	//
28574	// A SearchExpression can include the Contains operator multiple times when
28575	// the value of Name is one of the following:
28576	//
28577	//    * Experiment.DisplayName
28578	//
28579	//    * Experiment.ExperimentName
28580	//
28581	//    * Experiment.Tags
28582	//
28583	//    * Trial.DisplayName
28584	//
28585	//    * Trial.TrialName
28586	//
28587	//    * Trial.Tags
28588	//
28589	//    * TrialComponent.DisplayName
28590	//
28591	//    * TrialComponent.TrialComponentName
28592	//
28593	//    * TrialComponent.Tags
28594	//
28595	//    * TrialComponent.InputArtifacts
28596	//
28597	//    * TrialComponent.OutputArtifacts
28598	//
28599	// A SearchExpression can include only one Contains operator for all other values
28600	// of Name. In these cases, if you include multiple Contains operators in the
28601	// SearchExpression, the result is the following error message: "'CONTAINS'
28602	// operator usage limit of 1 exceeded."
28603	Operator *string `type:"string" enum:"Operator"`
28604
28605	// A value used with Name and Operator to determine which resources satisfy
28606	// the filter's condition. For numerical properties, Value must be an integer
28607	// or floating-point decimal. For timestamp properties, Value must be an ISO
28608	// 8601 date-time string of the following format: YYYY-mm-dd'T'HH:MM:SS.
28609	Value *string `min:"1" type:"string"`
28610}
28611
28612// String returns the string representation
28613func (s Filter) String() string {
28614	return awsutil.Prettify(s)
28615}
28616
28617// GoString returns the string representation
28618func (s Filter) GoString() string {
28619	return s.String()
28620}
28621
28622// Validate inspects the fields of the type to determine if they are valid.
28623func (s *Filter) Validate() error {
28624	invalidParams := request.ErrInvalidParams{Context: "Filter"}
28625	if s.Name == nil {
28626		invalidParams.Add(request.NewErrParamRequired("Name"))
28627	}
28628	if s.Name != nil && len(*s.Name) < 1 {
28629		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
28630	}
28631	if s.Value != nil && len(*s.Value) < 1 {
28632		invalidParams.Add(request.NewErrParamMinLen("Value", 1))
28633	}
28634
28635	if invalidParams.Len() > 0 {
28636		return invalidParams
28637	}
28638	return nil
28639}
28640
28641// SetName sets the Name field's value.
28642func (s *Filter) SetName(v string) *Filter {
28643	s.Name = &v
28644	return s
28645}
28646
28647// SetOperator sets the Operator field's value.
28648func (s *Filter) SetOperator(v string) *Filter {
28649	s.Operator = &v
28650	return s
28651}
28652
28653// SetValue sets the Value field's value.
28654func (s *Filter) SetValue(v string) *Filter {
28655	s.Value = &v
28656	return s
28657}
28658
28659// The candidate result from a job.
28660type FinalAutoMLJobObjectiveMetric struct {
28661	_ struct{} `type:"structure"`
28662
28663	// The name of the metric.
28664	//
28665	// MetricName is a required field
28666	MetricName *string `type:"string" required:"true" enum:"AutoMLMetricEnum"`
28667
28668	// The metric type used.
28669	Type *string `type:"string" enum:"AutoMLJobObjectiveType"`
28670
28671	// The value of the metric.
28672	//
28673	// Value is a required field
28674	Value *float64 `type:"float" required:"true"`
28675}
28676
28677// String returns the string representation
28678func (s FinalAutoMLJobObjectiveMetric) String() string {
28679	return awsutil.Prettify(s)
28680}
28681
28682// GoString returns the string representation
28683func (s FinalAutoMLJobObjectiveMetric) GoString() string {
28684	return s.String()
28685}
28686
28687// SetMetricName sets the MetricName field's value.
28688func (s *FinalAutoMLJobObjectiveMetric) SetMetricName(v string) *FinalAutoMLJobObjectiveMetric {
28689	s.MetricName = &v
28690	return s
28691}
28692
28693// SetType sets the Type field's value.
28694func (s *FinalAutoMLJobObjectiveMetric) SetType(v string) *FinalAutoMLJobObjectiveMetric {
28695	s.Type = &v
28696	return s
28697}
28698
28699// SetValue sets the Value field's value.
28700func (s *FinalAutoMLJobObjectiveMetric) SetValue(v float64) *FinalAutoMLJobObjectiveMetric {
28701	s.Value = &v
28702	return s
28703}
28704
28705// Shows the final value for the objective metric for a training job that was
28706// launched by a hyperparameter tuning job. You define the objective metric
28707// in the HyperParameterTuningJobObjective parameter of HyperParameterTuningJobConfig.
28708type FinalHyperParameterTuningJobObjectiveMetric struct {
28709	_ struct{} `type:"structure"`
28710
28711	// The name of the objective metric.
28712	//
28713	// MetricName is a required field
28714	MetricName *string `min:"1" type:"string" required:"true"`
28715
28716	// Whether to minimize or maximize the objective metric. Valid values are Minimize
28717	// and Maximize.
28718	Type *string `type:"string" enum:"HyperParameterTuningJobObjectiveType"`
28719
28720	// The value of the objective metric.
28721	//
28722	// Value is a required field
28723	Value *float64 `type:"float" required:"true"`
28724}
28725
28726// String returns the string representation
28727func (s FinalHyperParameterTuningJobObjectiveMetric) String() string {
28728	return awsutil.Prettify(s)
28729}
28730
28731// GoString returns the string representation
28732func (s FinalHyperParameterTuningJobObjectiveMetric) GoString() string {
28733	return s.String()
28734}
28735
28736// SetMetricName sets the MetricName field's value.
28737func (s *FinalHyperParameterTuningJobObjectiveMetric) SetMetricName(v string) *FinalHyperParameterTuningJobObjectiveMetric {
28738	s.MetricName = &v
28739	return s
28740}
28741
28742// SetType sets the Type field's value.
28743func (s *FinalHyperParameterTuningJobObjectiveMetric) SetType(v string) *FinalHyperParameterTuningJobObjectiveMetric {
28744	s.Type = &v
28745	return s
28746}
28747
28748// SetValue sets the Value field's value.
28749func (s *FinalHyperParameterTuningJobObjectiveMetric) SetValue(v float64) *FinalHyperParameterTuningJobObjectiveMetric {
28750	s.Value = &v
28751	return s
28752}
28753
28754// Contains information about where human output will be stored.
28755type FlowDefinitionOutputConfig struct {
28756	_ struct{} `type:"structure"`
28757
28758	// The Amazon Key Management Service (KMS) key ID for server-side encryption.
28759	KmsKeyId *string `type:"string"`
28760
28761	// The Amazon S3 path where the object containing human output will be made
28762	// available.
28763	//
28764	// S3OutputPath is a required field
28765	S3OutputPath *string `type:"string" required:"true"`
28766}
28767
28768// String returns the string representation
28769func (s FlowDefinitionOutputConfig) String() string {
28770	return awsutil.Prettify(s)
28771}
28772
28773// GoString returns the string representation
28774func (s FlowDefinitionOutputConfig) GoString() string {
28775	return s.String()
28776}
28777
28778// Validate inspects the fields of the type to determine if they are valid.
28779func (s *FlowDefinitionOutputConfig) Validate() error {
28780	invalidParams := request.ErrInvalidParams{Context: "FlowDefinitionOutputConfig"}
28781	if s.S3OutputPath == nil {
28782		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
28783	}
28784
28785	if invalidParams.Len() > 0 {
28786		return invalidParams
28787	}
28788	return nil
28789}
28790
28791// SetKmsKeyId sets the KmsKeyId field's value.
28792func (s *FlowDefinitionOutputConfig) SetKmsKeyId(v string) *FlowDefinitionOutputConfig {
28793	s.KmsKeyId = &v
28794	return s
28795}
28796
28797// SetS3OutputPath sets the S3OutputPath field's value.
28798func (s *FlowDefinitionOutputConfig) SetS3OutputPath(v string) *FlowDefinitionOutputConfig {
28799	s.S3OutputPath = &v
28800	return s
28801}
28802
28803// Contains summary information about the flow definition.
28804type FlowDefinitionSummary struct {
28805	_ struct{} `type:"structure"`
28806
28807	// The timestamp when SageMaker created the flow definition.
28808	//
28809	// CreationTime is a required field
28810	CreationTime *time.Time `type:"timestamp" required:"true"`
28811
28812	// The reason why the flow definition creation failed. A failure reason is returned
28813	// only when the flow definition status is Failed.
28814	FailureReason *string `type:"string"`
28815
28816	// The Amazon Resource Name (ARN) of the flow definition.
28817	//
28818	// FlowDefinitionArn is a required field
28819	FlowDefinitionArn *string `type:"string" required:"true"`
28820
28821	// The name of the flow definition.
28822	//
28823	// FlowDefinitionName is a required field
28824	FlowDefinitionName *string `min:"1" type:"string" required:"true"`
28825
28826	// The status of the flow definition. Valid values:
28827	//
28828	// FlowDefinitionStatus is a required field
28829	FlowDefinitionStatus *string `type:"string" required:"true" enum:"FlowDefinitionStatus"`
28830}
28831
28832// String returns the string representation
28833func (s FlowDefinitionSummary) String() string {
28834	return awsutil.Prettify(s)
28835}
28836
28837// GoString returns the string representation
28838func (s FlowDefinitionSummary) GoString() string {
28839	return s.String()
28840}
28841
28842// SetCreationTime sets the CreationTime field's value.
28843func (s *FlowDefinitionSummary) SetCreationTime(v time.Time) *FlowDefinitionSummary {
28844	s.CreationTime = &v
28845	return s
28846}
28847
28848// SetFailureReason sets the FailureReason field's value.
28849func (s *FlowDefinitionSummary) SetFailureReason(v string) *FlowDefinitionSummary {
28850	s.FailureReason = &v
28851	return s
28852}
28853
28854// SetFlowDefinitionArn sets the FlowDefinitionArn field's value.
28855func (s *FlowDefinitionSummary) SetFlowDefinitionArn(v string) *FlowDefinitionSummary {
28856	s.FlowDefinitionArn = &v
28857	return s
28858}
28859
28860// SetFlowDefinitionName sets the FlowDefinitionName field's value.
28861func (s *FlowDefinitionSummary) SetFlowDefinitionName(v string) *FlowDefinitionSummary {
28862	s.FlowDefinitionName = &v
28863	return s
28864}
28865
28866// SetFlowDefinitionStatus sets the FlowDefinitionStatus field's value.
28867func (s *FlowDefinitionSummary) SetFlowDefinitionStatus(v string) *FlowDefinitionSummary {
28868	s.FlowDefinitionStatus = &v
28869	return s
28870}
28871
28872type GetSearchSuggestionsInput struct {
28873	_ struct{} `type:"structure"`
28874
28875	// The name of the Amazon SageMaker resource to search for.
28876	//
28877	// Resource is a required field
28878	Resource *string `type:"string" required:"true" enum:"ResourceType"`
28879
28880	// Limits the property names that are included in the response.
28881	SuggestionQuery *SuggestionQuery `type:"structure"`
28882}
28883
28884// String returns the string representation
28885func (s GetSearchSuggestionsInput) String() string {
28886	return awsutil.Prettify(s)
28887}
28888
28889// GoString returns the string representation
28890func (s GetSearchSuggestionsInput) GoString() string {
28891	return s.String()
28892}
28893
28894// Validate inspects the fields of the type to determine if they are valid.
28895func (s *GetSearchSuggestionsInput) Validate() error {
28896	invalidParams := request.ErrInvalidParams{Context: "GetSearchSuggestionsInput"}
28897	if s.Resource == nil {
28898		invalidParams.Add(request.NewErrParamRequired("Resource"))
28899	}
28900	if s.SuggestionQuery != nil {
28901		if err := s.SuggestionQuery.Validate(); err != nil {
28902			invalidParams.AddNested("SuggestionQuery", err.(request.ErrInvalidParams))
28903		}
28904	}
28905
28906	if invalidParams.Len() > 0 {
28907		return invalidParams
28908	}
28909	return nil
28910}
28911
28912// SetResource sets the Resource field's value.
28913func (s *GetSearchSuggestionsInput) SetResource(v string) *GetSearchSuggestionsInput {
28914	s.Resource = &v
28915	return s
28916}
28917
28918// SetSuggestionQuery sets the SuggestionQuery field's value.
28919func (s *GetSearchSuggestionsInput) SetSuggestionQuery(v *SuggestionQuery) *GetSearchSuggestionsInput {
28920	s.SuggestionQuery = v
28921	return s
28922}
28923
28924type GetSearchSuggestionsOutput struct {
28925	_ struct{} `type:"structure"`
28926
28927	// A list of property names for a Resource that match a SuggestionQuery.
28928	PropertyNameSuggestions []*PropertyNameSuggestion `type:"list"`
28929}
28930
28931// String returns the string representation
28932func (s GetSearchSuggestionsOutput) String() string {
28933	return awsutil.Prettify(s)
28934}
28935
28936// GoString returns the string representation
28937func (s GetSearchSuggestionsOutput) GoString() string {
28938	return s.String()
28939}
28940
28941// SetPropertyNameSuggestions sets the PropertyNameSuggestions field's value.
28942func (s *GetSearchSuggestionsOutput) SetPropertyNameSuggestions(v []*PropertyNameSuggestion) *GetSearchSuggestionsOutput {
28943	s.PropertyNameSuggestions = v
28944	return s
28945}
28946
28947// Specifies configuration details for a Git repository in your AWS account.
28948type GitConfig struct {
28949	_ struct{} `type:"structure"`
28950
28951	// The default branch for the Git repository.
28952	Branch *string `min:"1" type:"string"`
28953
28954	// The URL where the Git repository is located.
28955	//
28956	// RepositoryUrl is a required field
28957	RepositoryUrl *string `type:"string" required:"true"`
28958
28959	// The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains
28960	// the credentials used to access the git repository. The secret must have a
28961	// staging label of AWSCURRENT and must be in the following format:
28962	//
28963	// {"username": UserName, "password": Password}
28964	SecretArn *string `min:"1" type:"string"`
28965}
28966
28967// String returns the string representation
28968func (s GitConfig) String() string {
28969	return awsutil.Prettify(s)
28970}
28971
28972// GoString returns the string representation
28973func (s GitConfig) GoString() string {
28974	return s.String()
28975}
28976
28977// Validate inspects the fields of the type to determine if they are valid.
28978func (s *GitConfig) Validate() error {
28979	invalidParams := request.ErrInvalidParams{Context: "GitConfig"}
28980	if s.Branch != nil && len(*s.Branch) < 1 {
28981		invalidParams.Add(request.NewErrParamMinLen("Branch", 1))
28982	}
28983	if s.RepositoryUrl == nil {
28984		invalidParams.Add(request.NewErrParamRequired("RepositoryUrl"))
28985	}
28986	if s.SecretArn != nil && len(*s.SecretArn) < 1 {
28987		invalidParams.Add(request.NewErrParamMinLen("SecretArn", 1))
28988	}
28989
28990	if invalidParams.Len() > 0 {
28991		return invalidParams
28992	}
28993	return nil
28994}
28995
28996// SetBranch sets the Branch field's value.
28997func (s *GitConfig) SetBranch(v string) *GitConfig {
28998	s.Branch = &v
28999	return s
29000}
29001
29002// SetRepositoryUrl sets the RepositoryUrl field's value.
29003func (s *GitConfig) SetRepositoryUrl(v string) *GitConfig {
29004	s.RepositoryUrl = &v
29005	return s
29006}
29007
29008// SetSecretArn sets the SecretArn field's value.
29009func (s *GitConfig) SetSecretArn(v string) *GitConfig {
29010	s.SecretArn = &v
29011	return s
29012}
29013
29014// Specifies configuration details for a Git repository when the repository
29015// is updated.
29016type GitConfigForUpdate struct {
29017	_ struct{} `type:"structure"`
29018
29019	// The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains
29020	// the credentials used to access the git repository. The secret must have a
29021	// staging label of AWSCURRENT and must be in the following format:
29022	//
29023	// {"username": UserName, "password": Password}
29024	SecretArn *string `min:"1" type:"string"`
29025}
29026
29027// String returns the string representation
29028func (s GitConfigForUpdate) String() string {
29029	return awsutil.Prettify(s)
29030}
29031
29032// GoString returns the string representation
29033func (s GitConfigForUpdate) GoString() string {
29034	return s.String()
29035}
29036
29037// Validate inspects the fields of the type to determine if they are valid.
29038func (s *GitConfigForUpdate) Validate() error {
29039	invalidParams := request.ErrInvalidParams{Context: "GitConfigForUpdate"}
29040	if s.SecretArn != nil && len(*s.SecretArn) < 1 {
29041		invalidParams.Add(request.NewErrParamMinLen("SecretArn", 1))
29042	}
29043
29044	if invalidParams.Len() > 0 {
29045		return invalidParams
29046	}
29047	return nil
29048}
29049
29050// SetSecretArn sets the SecretArn field's value.
29051func (s *GitConfigForUpdate) SetSecretArn(v string) *GitConfigForUpdate {
29052	s.SecretArn = &v
29053	return s
29054}
29055
29056// Defines under what conditions SageMaker creates a human loop. Used within
29057// . See for the required format of activation conditions.
29058type HumanLoopActivationConditionsConfig struct {
29059	_ struct{} `type:"structure"`
29060
29061	// JSON expressing use-case specific conditions declaratively. If any condition
29062	// is matched, atomic tasks are created against the configured work team. The
29063	// set of conditions is different for Rekognition and Textract. For more information
29064	// about how to structure the JSON, see JSON Schema for Human Loop Activation
29065	// Conditions in Amazon Augmented AI (https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-human-fallback-conditions-json-schema.html)
29066	// in the Amazon SageMaker Developer Guide.
29067	//
29068	// HumanLoopActivationConditions is a required field
29069	HumanLoopActivationConditions aws.JSONValue `type:"jsonvalue" required:"true"`
29070}
29071
29072// String returns the string representation
29073func (s HumanLoopActivationConditionsConfig) String() string {
29074	return awsutil.Prettify(s)
29075}
29076
29077// GoString returns the string representation
29078func (s HumanLoopActivationConditionsConfig) GoString() string {
29079	return s.String()
29080}
29081
29082// Validate inspects the fields of the type to determine if they are valid.
29083func (s *HumanLoopActivationConditionsConfig) Validate() error {
29084	invalidParams := request.ErrInvalidParams{Context: "HumanLoopActivationConditionsConfig"}
29085	if s.HumanLoopActivationConditions == nil {
29086		invalidParams.Add(request.NewErrParamRequired("HumanLoopActivationConditions"))
29087	}
29088
29089	if invalidParams.Len() > 0 {
29090		return invalidParams
29091	}
29092	return nil
29093}
29094
29095// SetHumanLoopActivationConditions sets the HumanLoopActivationConditions field's value.
29096func (s *HumanLoopActivationConditionsConfig) SetHumanLoopActivationConditions(v aws.JSONValue) *HumanLoopActivationConditionsConfig {
29097	s.HumanLoopActivationConditions = v
29098	return s
29099}
29100
29101// Provides information about how and under what conditions SageMaker creates
29102// a human loop. If HumanLoopActivationConfig is not given, then all requests
29103// go to humans.
29104type HumanLoopActivationConfig struct {
29105	_ struct{} `type:"structure"`
29106
29107	// Container structure for defining under what conditions SageMaker creates
29108	// a human loop.
29109	//
29110	// HumanLoopActivationConditionsConfig is a required field
29111	HumanLoopActivationConditionsConfig *HumanLoopActivationConditionsConfig `type:"structure" required:"true"`
29112}
29113
29114// String returns the string representation
29115func (s HumanLoopActivationConfig) String() string {
29116	return awsutil.Prettify(s)
29117}
29118
29119// GoString returns the string representation
29120func (s HumanLoopActivationConfig) GoString() string {
29121	return s.String()
29122}
29123
29124// Validate inspects the fields of the type to determine if they are valid.
29125func (s *HumanLoopActivationConfig) Validate() error {
29126	invalidParams := request.ErrInvalidParams{Context: "HumanLoopActivationConfig"}
29127	if s.HumanLoopActivationConditionsConfig == nil {
29128		invalidParams.Add(request.NewErrParamRequired("HumanLoopActivationConditionsConfig"))
29129	}
29130	if s.HumanLoopActivationConditionsConfig != nil {
29131		if err := s.HumanLoopActivationConditionsConfig.Validate(); err != nil {
29132			invalidParams.AddNested("HumanLoopActivationConditionsConfig", err.(request.ErrInvalidParams))
29133		}
29134	}
29135
29136	if invalidParams.Len() > 0 {
29137		return invalidParams
29138	}
29139	return nil
29140}
29141
29142// SetHumanLoopActivationConditionsConfig sets the HumanLoopActivationConditionsConfig field's value.
29143func (s *HumanLoopActivationConfig) SetHumanLoopActivationConditionsConfig(v *HumanLoopActivationConditionsConfig) *HumanLoopActivationConfig {
29144	s.HumanLoopActivationConditionsConfig = v
29145	return s
29146}
29147
29148// Describes the work to be performed by human workers.
29149type HumanLoopConfig struct {
29150	_ struct{} `type:"structure"`
29151
29152	// The Amazon Resource Name (ARN) of the human task user interface.
29153	//
29154	// HumanTaskUiArn is a required field
29155	HumanTaskUiArn *string `type:"string" required:"true"`
29156
29157	// Defines the amount of money paid to an Amazon Mechanical Turk worker for
29158	// each task performed.
29159	//
29160	// Use one of the following prices for bounding box tasks. Prices are in US
29161	// dollars and should be based on the complexity of the task; the longer it
29162	// takes in your initial testing, the more you should offer.
29163	//
29164	//    * 0.036
29165	//
29166	//    * 0.048
29167	//
29168	//    * 0.060
29169	//
29170	//    * 0.072
29171	//
29172	//    * 0.120
29173	//
29174	//    * 0.240
29175	//
29176	//    * 0.360
29177	//
29178	//    * 0.480
29179	//
29180	//    * 0.600
29181	//
29182	//    * 0.720
29183	//
29184	//    * 0.840
29185	//
29186	//    * 0.960
29187	//
29188	//    * 1.080
29189	//
29190	//    * 1.200
29191	//
29192	// Use one of the following prices for image classification, text classification,
29193	// and custom tasks. Prices are in US dollars.
29194	//
29195	//    * 0.012
29196	//
29197	//    * 0.024
29198	//
29199	//    * 0.036
29200	//
29201	//    * 0.048
29202	//
29203	//    * 0.060
29204	//
29205	//    * 0.072
29206	//
29207	//    * 0.120
29208	//
29209	//    * 0.240
29210	//
29211	//    * 0.360
29212	//
29213	//    * 0.480
29214	//
29215	//    * 0.600
29216	//
29217	//    * 0.720
29218	//
29219	//    * 0.840
29220	//
29221	//    * 0.960
29222	//
29223	//    * 1.080
29224	//
29225	//    * 1.200
29226	//
29227	// Use one of the following prices for semantic segmentation tasks. Prices are
29228	// in US dollars.
29229	//
29230	//    * 0.840
29231	//
29232	//    * 0.960
29233	//
29234	//    * 1.080
29235	//
29236	//    * 1.200
29237	//
29238	// Use one of the following prices for Textract AnalyzeDocument Important Form
29239	// Key Amazon Augmented AI review tasks. Prices are in US dollars.
29240	//
29241	//    * 2.400
29242	//
29243	//    * 2.280
29244	//
29245	//    * 2.160
29246	//
29247	//    * 2.040
29248	//
29249	//    * 1.920
29250	//
29251	//    * 1.800
29252	//
29253	//    * 1.680
29254	//
29255	//    * 1.560
29256	//
29257	//    * 1.440
29258	//
29259	//    * 1.320
29260	//
29261	//    * 1.200
29262	//
29263	//    * 1.080
29264	//
29265	//    * 0.960
29266	//
29267	//    * 0.840
29268	//
29269	//    * 0.720
29270	//
29271	//    * 0.600
29272	//
29273	//    * 0.480
29274	//
29275	//    * 0.360
29276	//
29277	//    * 0.240
29278	//
29279	//    * 0.120
29280	//
29281	//    * 0.072
29282	//
29283	//    * 0.060
29284	//
29285	//    * 0.048
29286	//
29287	//    * 0.036
29288	//
29289	//    * 0.024
29290	//
29291	//    * 0.012
29292	//
29293	// Use one of the following prices for Rekognition DetectModerationLabels Amazon
29294	// Augmented AI review tasks. Prices are in US dollars.
29295	//
29296	//    * 1.200
29297	//
29298	//    * 1.080
29299	//
29300	//    * 0.960
29301	//
29302	//    * 0.840
29303	//
29304	//    * 0.720
29305	//
29306	//    * 0.600
29307	//
29308	//    * 0.480
29309	//
29310	//    * 0.360
29311	//
29312	//    * 0.240
29313	//
29314	//    * 0.120
29315	//
29316	//    * 0.072
29317	//
29318	//    * 0.060
29319	//
29320	//    * 0.048
29321	//
29322	//    * 0.036
29323	//
29324	//    * 0.024
29325	//
29326	//    * 0.012
29327	//
29328	// Use one of the following prices for Amazon Augmented AI custom human review
29329	// tasks. Prices are in US dollars.
29330	//
29331	//    * 1.200
29332	//
29333	//    * 1.080
29334	//
29335	//    * 0.960
29336	//
29337	//    * 0.840
29338	//
29339	//    * 0.720
29340	//
29341	//    * 0.600
29342	//
29343	//    * 0.480
29344	//
29345	//    * 0.360
29346	//
29347	//    * 0.240
29348	//
29349	//    * 0.120
29350	//
29351	//    * 0.072
29352	//
29353	//    * 0.060
29354	//
29355	//    * 0.048
29356	//
29357	//    * 0.036
29358	//
29359	//    * 0.024
29360	//
29361	//    * 0.012
29362	PublicWorkforceTaskPrice *PublicWorkforceTaskPrice `type:"structure"`
29363
29364	// The length of time that a task remains available for labeling by human workers.
29365	TaskAvailabilityLifetimeInSeconds *int64 `min:"1" type:"integer"`
29366
29367	// The number of distinct workers who will perform the same task on each object.
29368	// For example, if TaskCount is set to 3 for an image classification labeling
29369	// job, three workers will classify each input image. Increasing TaskCount can
29370	// improve label accuracy.
29371	//
29372	// TaskCount is a required field
29373	TaskCount *int64 `min:"1" type:"integer" required:"true"`
29374
29375	// A description for the human worker task.
29376	//
29377	// TaskDescription is a required field
29378	TaskDescription *string `min:"1" type:"string" required:"true"`
29379
29380	// Keywords used to describe the task so that workers can discover the task.
29381	TaskKeywords []*string `min:"1" type:"list"`
29382
29383	// The amount of time that a worker has to complete a task.
29384	TaskTimeLimitInSeconds *int64 `min:"30" type:"integer"`
29385
29386	// A title for the human worker task.
29387	//
29388	// TaskTitle is a required field
29389	TaskTitle *string `min:"1" type:"string" required:"true"`
29390
29391	// Amazon Resource Name (ARN) of a team of workers.
29392	//
29393	// WorkteamArn is a required field
29394	WorkteamArn *string `type:"string" required:"true"`
29395}
29396
29397// String returns the string representation
29398func (s HumanLoopConfig) String() string {
29399	return awsutil.Prettify(s)
29400}
29401
29402// GoString returns the string representation
29403func (s HumanLoopConfig) GoString() string {
29404	return s.String()
29405}
29406
29407// Validate inspects the fields of the type to determine if they are valid.
29408func (s *HumanLoopConfig) Validate() error {
29409	invalidParams := request.ErrInvalidParams{Context: "HumanLoopConfig"}
29410	if s.HumanTaskUiArn == nil {
29411		invalidParams.Add(request.NewErrParamRequired("HumanTaskUiArn"))
29412	}
29413	if s.TaskAvailabilityLifetimeInSeconds != nil && *s.TaskAvailabilityLifetimeInSeconds < 1 {
29414		invalidParams.Add(request.NewErrParamMinValue("TaskAvailabilityLifetimeInSeconds", 1))
29415	}
29416	if s.TaskCount == nil {
29417		invalidParams.Add(request.NewErrParamRequired("TaskCount"))
29418	}
29419	if s.TaskCount != nil && *s.TaskCount < 1 {
29420		invalidParams.Add(request.NewErrParamMinValue("TaskCount", 1))
29421	}
29422	if s.TaskDescription == nil {
29423		invalidParams.Add(request.NewErrParamRequired("TaskDescription"))
29424	}
29425	if s.TaskDescription != nil && len(*s.TaskDescription) < 1 {
29426		invalidParams.Add(request.NewErrParamMinLen("TaskDescription", 1))
29427	}
29428	if s.TaskKeywords != nil && len(s.TaskKeywords) < 1 {
29429		invalidParams.Add(request.NewErrParamMinLen("TaskKeywords", 1))
29430	}
29431	if s.TaskTimeLimitInSeconds != nil && *s.TaskTimeLimitInSeconds < 30 {
29432		invalidParams.Add(request.NewErrParamMinValue("TaskTimeLimitInSeconds", 30))
29433	}
29434	if s.TaskTitle == nil {
29435		invalidParams.Add(request.NewErrParamRequired("TaskTitle"))
29436	}
29437	if s.TaskTitle != nil && len(*s.TaskTitle) < 1 {
29438		invalidParams.Add(request.NewErrParamMinLen("TaskTitle", 1))
29439	}
29440	if s.WorkteamArn == nil {
29441		invalidParams.Add(request.NewErrParamRequired("WorkteamArn"))
29442	}
29443
29444	if invalidParams.Len() > 0 {
29445		return invalidParams
29446	}
29447	return nil
29448}
29449
29450// SetHumanTaskUiArn sets the HumanTaskUiArn field's value.
29451func (s *HumanLoopConfig) SetHumanTaskUiArn(v string) *HumanLoopConfig {
29452	s.HumanTaskUiArn = &v
29453	return s
29454}
29455
29456// SetPublicWorkforceTaskPrice sets the PublicWorkforceTaskPrice field's value.
29457func (s *HumanLoopConfig) SetPublicWorkforceTaskPrice(v *PublicWorkforceTaskPrice) *HumanLoopConfig {
29458	s.PublicWorkforceTaskPrice = v
29459	return s
29460}
29461
29462// SetTaskAvailabilityLifetimeInSeconds sets the TaskAvailabilityLifetimeInSeconds field's value.
29463func (s *HumanLoopConfig) SetTaskAvailabilityLifetimeInSeconds(v int64) *HumanLoopConfig {
29464	s.TaskAvailabilityLifetimeInSeconds = &v
29465	return s
29466}
29467
29468// SetTaskCount sets the TaskCount field's value.
29469func (s *HumanLoopConfig) SetTaskCount(v int64) *HumanLoopConfig {
29470	s.TaskCount = &v
29471	return s
29472}
29473
29474// SetTaskDescription sets the TaskDescription field's value.
29475func (s *HumanLoopConfig) SetTaskDescription(v string) *HumanLoopConfig {
29476	s.TaskDescription = &v
29477	return s
29478}
29479
29480// SetTaskKeywords sets the TaskKeywords field's value.
29481func (s *HumanLoopConfig) SetTaskKeywords(v []*string) *HumanLoopConfig {
29482	s.TaskKeywords = v
29483	return s
29484}
29485
29486// SetTaskTimeLimitInSeconds sets the TaskTimeLimitInSeconds field's value.
29487func (s *HumanLoopConfig) SetTaskTimeLimitInSeconds(v int64) *HumanLoopConfig {
29488	s.TaskTimeLimitInSeconds = &v
29489	return s
29490}
29491
29492// SetTaskTitle sets the TaskTitle field's value.
29493func (s *HumanLoopConfig) SetTaskTitle(v string) *HumanLoopConfig {
29494	s.TaskTitle = &v
29495	return s
29496}
29497
29498// SetWorkteamArn sets the WorkteamArn field's value.
29499func (s *HumanLoopConfig) SetWorkteamArn(v string) *HumanLoopConfig {
29500	s.WorkteamArn = &v
29501	return s
29502}
29503
29504// Container for configuring the source of human task requests.
29505type HumanLoopRequestSource struct {
29506	_ struct{} `type:"structure"`
29507
29508	// Specifies whether Amazon Rekognition or Amazon Textract are used as the integration
29509	// source. The default field settings and JSON parsing rules are different based
29510	// on the integration source. Valid values:
29511	//
29512	// AwsManagedHumanLoopRequestSource is a required field
29513	AwsManagedHumanLoopRequestSource *string `type:"string" required:"true" enum:"AwsManagedHumanLoopRequestSource"`
29514}
29515
29516// String returns the string representation
29517func (s HumanLoopRequestSource) String() string {
29518	return awsutil.Prettify(s)
29519}
29520
29521// GoString returns the string representation
29522func (s HumanLoopRequestSource) GoString() string {
29523	return s.String()
29524}
29525
29526// Validate inspects the fields of the type to determine if they are valid.
29527func (s *HumanLoopRequestSource) Validate() error {
29528	invalidParams := request.ErrInvalidParams{Context: "HumanLoopRequestSource"}
29529	if s.AwsManagedHumanLoopRequestSource == nil {
29530		invalidParams.Add(request.NewErrParamRequired("AwsManagedHumanLoopRequestSource"))
29531	}
29532
29533	if invalidParams.Len() > 0 {
29534		return invalidParams
29535	}
29536	return nil
29537}
29538
29539// SetAwsManagedHumanLoopRequestSource sets the AwsManagedHumanLoopRequestSource field's value.
29540func (s *HumanLoopRequestSource) SetAwsManagedHumanLoopRequestSource(v string) *HumanLoopRequestSource {
29541	s.AwsManagedHumanLoopRequestSource = &v
29542	return s
29543}
29544
29545// Information required for human workers to complete a labeling task.
29546type HumanTaskConfig struct {
29547	_ struct{} `type:"structure"`
29548
29549	// Configures how labels are consolidated across human workers.
29550	//
29551	// AnnotationConsolidationConfig is a required field
29552	AnnotationConsolidationConfig *AnnotationConsolidationConfig `type:"structure" required:"true"`
29553
29554	// Defines the maximum number of data objects that can be labeled by human workers
29555	// at the same time. Also referred to as batch size. Each object may have more
29556	// than one worker at one time. The default value is 1000 objects.
29557	MaxConcurrentTaskCount *int64 `min:"1" type:"integer"`
29558
29559	// The number of human workers that will label an object.
29560	//
29561	// NumberOfHumanWorkersPerDataObject is a required field
29562	NumberOfHumanWorkersPerDataObject *int64 `min:"1" type:"integer" required:"true"`
29563
29564	// The Amazon Resource Name (ARN) of a Lambda function that is run before a
29565	// data object is sent to a human worker. Use this function to provide input
29566	// to a custom labeling job.
29567	//
29568	// For built-in task types (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-task-types.html),
29569	// use one of the following Amazon SageMaker Ground Truth Lambda function ARNs
29570	// for PreHumanTaskLambdaArn. For custom labeling workflows, see Pre-annotation
29571	// Lambda (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-custom-templates-step3.html#sms-custom-templates-step3-prelambda).
29572	//
29573	// Bounding box - Finds the most similar boxes from different workers based
29574	// on the Jaccard index of the boxes.
29575	//
29576	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-BoundingBox
29577	//
29578	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-BoundingBox
29579	//
29580	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-BoundingBox
29581	//
29582	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-BoundingBox
29583	//
29584	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-BoundingBox
29585	//
29586	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-BoundingBox
29587	//
29588	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-BoundingBox
29589	//
29590	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-BoundingBox
29591	//
29592	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-BoundingBox
29593	//
29594	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-BoundingBox
29595	//
29596	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-BoundingBox
29597	//
29598	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-BoundingBox
29599	//
29600	// Image classification - Uses a variant of the Expectation Maximization approach
29601	// to estimate the true class of an image based on annotations from individual
29602	// workers.
29603	//
29604	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-ImageMultiClass
29605	//
29606	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-ImageMultiClass
29607	//
29608	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-ImageMultiClass
29609	//
29610	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-ImageMultiClass
29611	//
29612	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-ImageMultiClass
29613	//
29614	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-ImageMultiClass
29615	//
29616	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-ImageMultiClass
29617	//
29618	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-ImageMultiClass
29619	//
29620	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-ImageMultiClass
29621	//
29622	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-ImageMultiClass
29623	//
29624	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-ImageMultiClass
29625	//
29626	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-ImageMultiClass
29627	//
29628	// Multi-label image classification - Uses a variant of the Expectation Maximization
29629	// approach to estimate the true classes of an image based on annotations from
29630	// individual workers.
29631	//
29632	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-ImageMultiClassMultiLabel
29633	//
29634	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-ImageMultiClassMultiLabel
29635	//
29636	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-ImageMultiClassMultiLabel
29637	//
29638	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-ImageMultiClassMultiLabel
29639	//
29640	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-ImageMultiClassMultiLabel
29641	//
29642	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-ImageMultiClassMultiLabel
29643	//
29644	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-ImageMultiClassMultiLabel
29645	//
29646	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-ImageMultiClassMultiLabel
29647	//
29648	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-ImageMultiClassMultiLabel
29649	//
29650	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-ImageMultiClassMultiLabel
29651	//
29652	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-ImageMultiClassMultiLabel
29653	//
29654	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-ImageMultiClassMultiLabel
29655	//
29656	// Semantic segmentation - Treats each pixel in an image as a multi-class classification
29657	// and treats pixel annotations from workers as "votes" for the correct label.
29658	//
29659	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-SemanticSegmentation
29660	//
29661	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-SemanticSegmentation
29662	//
29663	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-SemanticSegmentation
29664	//
29665	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-SemanticSegmentation
29666	//
29667	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-SemanticSegmentation
29668	//
29669	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-SemanticSegmentation
29670	//
29671	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-SemanticSegmentation
29672	//
29673	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-SemanticSegmentation
29674	//
29675	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-SemanticSegmentation
29676	//
29677	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-SemanticSegmentation
29678	//
29679	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-SemanticSegmentation
29680	//
29681	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-SemanticSegmentation
29682	//
29683	// Text classification - Uses a variant of the Expectation Maximization approach
29684	// to estimate the true class of text based on annotations from individual workers.
29685	//
29686	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-TextMultiClass
29687	//
29688	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-TextMultiClass
29689	//
29690	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-TextMultiClass
29691	//
29692	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-TextMultiClass
29693	//
29694	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-TextMultiClass
29695	//
29696	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-TextMultiClass
29697	//
29698	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-TextMultiClass
29699	//
29700	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-TextMultiClass
29701	//
29702	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-TextMultiClass
29703	//
29704	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-TextMultiClass
29705	//
29706	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-TextMultiClass
29707	//
29708	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-TextMultiClass
29709	//
29710	// Multi-label text classification - Uses a variant of the Expectation Maximization
29711	// approach to estimate the true classes of text based on annotations from individual
29712	// workers.
29713	//
29714	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-TextMultiClassMultiLabel
29715	//
29716	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-TextMultiClassMultiLabel
29717	//
29718	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-TextMultiClassMultiLabel
29719	//
29720	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-TextMultiClassMultiLabel
29721	//
29722	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-TextMultiClassMultiLabel
29723	//
29724	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-TextMultiClassMultiLabel
29725	//
29726	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-TextMultiClassMultiLabel
29727	//
29728	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-TextMultiClassMultiLabel
29729	//
29730	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-TextMultiClassMultiLabel
29731	//
29732	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-TextMultiClassMultiLabel
29733	//
29734	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-TextMultiClassMultiLabel
29735	//
29736	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-TextMultiClassMultiLabel
29737	//
29738	// Named entity recognition - Groups similar selections and calculates aggregate
29739	// boundaries, resolving to most-assigned label.
29740	//
29741	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-NamedEntityRecognition
29742	//
29743	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-NamedEntityRecognition
29744	//
29745	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-NamedEntityRecognition
29746	//
29747	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-NamedEntityRecognition
29748	//
29749	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-NamedEntityRecognition
29750	//
29751	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-NamedEntityRecognition
29752	//
29753	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-NamedEntityRecognition
29754	//
29755	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-NamedEntityRecognition
29756	//
29757	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-NamedEntityRecognition
29758	//
29759	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-NamedEntityRecognition
29760	//
29761	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-NamedEntityRecognition
29762	//
29763	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-NamedEntityRecognition
29764	//
29765	// Video Classification - Use this task type when you need workers to classify
29766	// videos using predefined labels that you specify. Workers are shown videos
29767	// and are asked to choose one label for each video.
29768	//
29769	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-VideoMultiClass
29770	//
29771	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-VideoMultiClass
29772	//
29773	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-VideoMultiClass
29774	//
29775	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-VideoMultiClass
29776	//
29777	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-VideoMultiClass
29778	//
29779	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-VideoMultiClass
29780	//
29781	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-VideoMultiClass
29782	//
29783	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-VideoMultiClass
29784	//
29785	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-VideoMultiClass
29786	//
29787	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-VideoMultiClass
29788	//
29789	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-VideoMultiClass
29790	//
29791	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-VideoMultiClass
29792	//
29793	// Video Frame Object Detection - Use this task type to have workers identify
29794	// and locate objects in a sequence of video frames (images extracted from a
29795	// video) using bounding boxes. For example, you can use this task to ask workers
29796	// to identify and localize various objects in a series of video frames, such
29797	// as cars, bikes, and pedestrians.
29798	//
29799	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-VideoObjectDetection
29800	//
29801	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-VideoObjectDetection
29802	//
29803	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-VideoObjectDetection
29804	//
29805	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-VideoObjectDetection
29806	//
29807	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-VideoObjectDetection
29808	//
29809	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-VideoObjectDetection
29810	//
29811	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-VideoObjectDetection
29812	//
29813	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-VideoObjectDetection
29814	//
29815	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-VideoObjectDetection
29816	//
29817	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-VideoObjectDetection
29818	//
29819	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-VideoObjectDetection
29820	//
29821	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-VideoObjectDetection
29822	//
29823	// Video Frame Object Tracking - Use this task type to have workers track the
29824	// movement of objects in a sequence of video frames (images extracted from
29825	// a video) using bounding boxes. For example, you can use this task to ask
29826	// workers to track the movement of objects, such as cars, bikes, and pedestrians.
29827	//
29828	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-VideoObjectTracking
29829	//
29830	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-VideoObjectTracking
29831	//
29832	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-VideoObjectTracking
29833	//
29834	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-VideoObjectTracking
29835	//
29836	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-VideoObjectTracking
29837	//
29838	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-VideoObjectTracking
29839	//
29840	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-VideoObjectTracking
29841	//
29842	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-VideoObjectTracking
29843	//
29844	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-VideoObjectTracking
29845	//
29846	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-VideoObjectTracking
29847	//
29848	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-VideoObjectTracking
29849	//
29850	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-VideoObjectTracking
29851	//
29852	// 3D Point Cloud Modalities
29853	//
29854	// Use the following pre-annotation lambdas for 3D point cloud labeling modality
29855	// tasks. See 3D Point Cloud Task types (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-point-cloud-task-types.html)
29856	// to learn more.
29857	//
29858	// 3D Point Cloud Object Detection - Use this task type when you want workers
29859	// to classify objects in a 3D point cloud by drawing 3D cuboids around objects.
29860	// For example, you can use this task type to ask workers to identify different
29861	// types of objects in a point cloud, such as cars, bikes, and pedestrians.
29862	//
29863	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-3DPointCloudObjectDetection
29864	//
29865	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-3DPointCloudObjectDetection
29866	//
29867	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-3DPointCloudObjectDetection
29868	//
29869	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-3DPointCloudObjectDetection
29870	//
29871	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-3DPointCloudObjectDetection
29872	//
29873	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-3DPointCloudObjectDetection
29874	//
29875	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-3DPointCloudObjectDetection
29876	//
29877	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-3DPointCloudObjectDetection
29878	//
29879	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-3DPointCloudObjectDetection
29880	//
29881	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-3DPointCloudObjectDetection
29882	//
29883	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-3DPointCloudObjectDetection
29884	//
29885	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-3DPointCloudObjectDetection
29886	//
29887	// 3D Point Cloud Object Tracking - Use this task type when you want workers
29888	// to draw 3D cuboids around objects that appear in a sequence of 3D point cloud
29889	// frames. For example, you can use this task type to ask workers to track the
29890	// movement of vehicles across multiple point cloud frames.
29891	//
29892	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-3DPointCloudObjectTracking
29893	//
29894	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-3DPointCloudObjectTracking
29895	//
29896	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-3DPointCloudObjectTracking
29897	//
29898	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-3DPointCloudObjectTracking
29899	//
29900	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-3DPointCloudObjectTracking
29901	//
29902	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-3DPointCloudObjectTracking
29903	//
29904	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-3DPointCloudObjectTracking
29905	//
29906	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-3DPointCloudObjectTracking
29907	//
29908	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-3DPointCloudObjectTracking
29909	//
29910	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-3DPointCloudObjectTracking
29911	//
29912	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-3DPointCloudObjectTracking
29913	//
29914	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-3DPointCloudObjectTracking
29915	//
29916	// 3D Point Cloud Semantic Segmentation - Use this task type when you want workers
29917	// to create a point-level semantic segmentation masks by painting objects in
29918	// a 3D point cloud using different colors where each color is assigned to one
29919	// of the classes you specify.
29920	//
29921	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-3DPointCloudSemanticSegmentation
29922	//
29923	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-3DPointCloudSemanticSegmentation
29924	//
29925	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-3DPointCloudSemanticSegmentation
29926	//
29927	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-3DPointCloudSemanticSegmentation
29928	//
29929	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-3DPointCloudSemanticSegmentation
29930	//
29931	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-3DPointCloudSemanticSegmentation
29932	//
29933	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-3DPointCloudSemanticSegmentation
29934	//
29935	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-3DPointCloudSemanticSegmentation
29936	//
29937	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-3DPointCloudSemanticSegmentation
29938	//
29939	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-3DPointCloudSemanticSegmentation
29940	//
29941	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-3DPointCloudSemanticSegmentation
29942	//
29943	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-3DPointCloudSemanticSegmentation
29944	//
29945	// Use the following ARNs for Label Verification and Adjustment Jobs
29946	//
29947	// Use label verification and adjustment jobs to review and adjust labels. To
29948	// learn more, see Verify and Adjust Labels (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-verification-data.html).
29949	//
29950	// Bounding box verification - Uses a variant of the Expectation Maximization
29951	// approach to estimate the true class of verification judgement for bounding
29952	// box labels based on annotations from individual workers.
29953	//
29954	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-Adjustment3DPointCloudObjectTracking
29955	//
29956	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-Adjustment3DPointCloudObjectTracking
29957	//
29958	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-Adjustment3DPointCloudObjectTracking
29959	//
29960	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-Adjustment3DPointCloudObjectTracking
29961	//
29962	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-Adjustment3DPointCloudObjectTracking
29963	//
29964	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-Adjustment3DPointCloudObjectTracking
29965	//
29966	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-Adjustment3DPointCloudObjectTracking
29967	//
29968	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-Adjustment3DPointCloudObjectTracking
29969	//
29970	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-Adjustment3DPointCloudObjectTracking
29971	//
29972	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-Adjustment3DPointCloudObjectTracking
29973	//
29974	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-Adjustment3DPointCloudObjectTracking
29975	//
29976	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-Adjustment3DPointCloudObjectTracking
29977	//
29978	// Bounding box adjustment - Finds the most similar boxes from different workers
29979	// based on the Jaccard index of the adjusted annotations.
29980	//
29981	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-AdjustmentBoundingBox
29982	//
29983	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-AdjustmentBoundingBox
29984	//
29985	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-AdjustmentBoundingBox
29986	//
29987	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-AdjustmentBoundingBox
29988	//
29989	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-AdjustmentBoundingBox
29990	//
29991	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-AdjustmentBoundingBox
29992	//
29993	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-AdjustmentBoundingBox
29994	//
29995	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-AdjustmentBoundingBox
29996	//
29997	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-AdjustmentBoundingBox
29998	//
29999	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-AdjustmentBoundingBox
30000	//
30001	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-AdjustmentBoundingBox
30002	//
30003	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-AdjustmentBoundingBox
30004	//
30005	// Semantic segmentation verification - Uses a variant of the Expectation Maximization
30006	// approach to estimate the true class of verification judgment for semantic
30007	// segmentation labels based on annotations from individual workers.
30008	//
30009	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-VerificationSemanticSegmentation
30010	//
30011	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-VerificationSemanticSegmentation
30012	//
30013	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-VerificationSemanticSegmentation
30014	//
30015	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-VerificationSemanticSegmentation
30016	//
30017	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-VerificationSemanticSegmentation
30018	//
30019	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-VerificationSemanticSegmentation
30020	//
30021	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-VerificationSemanticSegmentation
30022	//
30023	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-VerificationSemanticSegmentation
30024	//
30025	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-VerificationSemanticSegmentation
30026	//
30027	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-VerificationSemanticSegmentation
30028	//
30029	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-VerificationSemanticSegmentation
30030	//
30031	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-VerificationSemanticSegmentation
30032	//
30033	// Semantic segmentation adjustment - Treats each pixel in an image as a multi-class
30034	// classification and treats pixel adjusted annotations from workers as "votes"
30035	// for the correct label.
30036	//
30037	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-AdjustmentSemanticSegmentation
30038	//
30039	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-AdjustmentSemanticSegmentation
30040	//
30041	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-AdjustmentSemanticSegmentation
30042	//
30043	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-AdjustmentSemanticSegmentation
30044	//
30045	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-AdjustmentSemanticSegmentation
30046	//
30047	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-AdjustmentSemanticSegmentation
30048	//
30049	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-AdjustmentSemanticSegmentation
30050	//
30051	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-AdjustmentSemanticSegmentation
30052	//
30053	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-AdjustmentSemanticSegmentation
30054	//
30055	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-AdjustmentSemanticSegmentation
30056	//
30057	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-AdjustmentSemanticSegmentation
30058	//
30059	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-AdjustmentSemanticSegmentation
30060	//
30061	// Video Frame Object Detection Adjustment - Use this task type when you want
30062	// workers to adjust bounding boxes that workers have added to video frames
30063	// to classify and localize objects in a sequence of video frames.
30064	//
30065	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-AdjustmentVideoObjectDetection
30066	//
30067	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-AdjustmentVideoObjectDetection
30068	//
30069	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-AdjustmentVideoObjectDetection
30070	//
30071	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-AdjustmentVideoObjectDetection
30072	//
30073	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-AdjustmentVideoObjectDetection
30074	//
30075	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-AdjustmentVideoObjectDetection
30076	//
30077	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-AdjustmentVideoObjectDetection
30078	//
30079	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-AdjustmentVideoObjectDetection
30080	//
30081	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-AdjustmentVideoObjectDetection
30082	//
30083	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-AdjustmentVideoObjectDetection
30084	//
30085	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-AdjustmentVideoObjectDetection
30086	//
30087	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-AdjustmentVideoObjectDetection
30088	//
30089	// Video Frame Object Tracking Adjustment - Use this task type when you want
30090	// workers to adjust bounding boxes that workers have added to video frames
30091	// to track object movement across a sequence of video frames.
30092	//
30093	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-AdjustmentVideoObjectTracking
30094	//
30095	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-AdjustmentVideoObjectTracking
30096	//
30097	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-AdjustmentVideoObjectTracking
30098	//
30099	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-AdjustmentVideoObjectTracking
30100	//
30101	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-AdjustmentVideoObjectTracking
30102	//
30103	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-AdjustmentVideoObjectTracking
30104	//
30105	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-AdjustmentVideoObjectTracking
30106	//
30107	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-AdjustmentVideoObjectTracking
30108	//
30109	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-AdjustmentVideoObjectTracking
30110	//
30111	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-AdjustmentVideoObjectTracking
30112	//
30113	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-AdjustmentVideoObjectTracking
30114	//
30115	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-AdjustmentVideoObjectTracking
30116	//
30117	// 3D point cloud object detection adjustment - Adjust 3D cuboids in a point
30118	// cloud frame.
30119	//
30120	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-Adjustment3DPointCloudObjectDetection
30121	//
30122	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-Adjustment3DPointCloudObjectDetection
30123	//
30124	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-Adjustment3DPointCloudObjectDetection
30125	//
30126	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-Adjustment3DPointCloudObjectDetection
30127	//
30128	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-Adjustment3DPointCloudObjectDetection
30129	//
30130	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-Adjustment3DPointCloudObjectDetection
30131	//
30132	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-Adjustment3DPointCloudObjectDetection
30133	//
30134	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-Adjustment3DPointCloudObjectDetection
30135	//
30136	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-Adjustment3DPointCloudObjectDetection
30137	//
30138	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-Adjustment3DPointCloudObjectDetection
30139	//
30140	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-Adjustment3DPointCloudObjectDetection
30141	//
30142	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-Adjustment3DPointCloudObjectDetection
30143	//
30144	// 3D point cloud object tracking adjustment - Adjust 3D cuboids across a sequence
30145	// of point cloud frames.
30146	//
30147	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-Adjustment3DPointCloudObjectTracking
30148	//
30149	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-Adjustment3DPointCloudObjectTracking
30150	//
30151	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-Adjustment3DPointCloudObjectTracking
30152	//
30153	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-Adjustment3DPointCloudObjectTracking
30154	//
30155	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-Adjustment3DPointCloudObjectTracking
30156	//
30157	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-Adjustment3DPointCloudObjectTracking
30158	//
30159	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-Adjustment3DPointCloudObjectTracking
30160	//
30161	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-Adjustment3DPointCloudObjectTracking
30162	//
30163	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-Adjustment3DPointCloudObjectTracking
30164	//
30165	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-Adjustment3DPointCloudObjectTracking
30166	//
30167	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-Adjustment3DPointCloudObjectTracking
30168	//
30169	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-Adjustment3DPointCloudObjectTracking
30170	//
30171	// 3D point cloud semantic segmentation adjustment - Adjust semantic segmentation
30172	// masks in a 3D point cloud.
30173	//
30174	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-Adjustment3DPointCloudSemanticSegmentation
30175	//
30176	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-Adjustment3DPointCloudSemanticSegmentation
30177	//
30178	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-Adjustment3DPointCloudSemanticSegmentation
30179	//
30180	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-Adjustment3DPointCloudSemanticSegmentation
30181	//
30182	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-Adjustment3DPointCloudSemanticSegmentation
30183	//
30184	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-Adjustment3DPointCloudSemanticSegmentation
30185	//
30186	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-Adjustment3DPointCloudSemanticSegmentation
30187	//
30188	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-Adjustment3DPointCloudSemanticSegmentation
30189	//
30190	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-Adjustment3DPointCloudSemanticSegmentation
30191	//
30192	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-Adjustment3DPointCloudSemanticSegmentation
30193	//
30194	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-Adjustment3DPointCloudSemanticSegmentation
30195	//
30196	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-Adjustment3DPointCloudSemanticSegmentation
30197	//
30198	// PreHumanTaskLambdaArn is a required field
30199	PreHumanTaskLambdaArn *string `type:"string" required:"true"`
30200
30201	// The price that you pay for each task performed by an Amazon Mechanical Turk
30202	// worker.
30203	PublicWorkforceTaskPrice *PublicWorkforceTaskPrice `type:"structure"`
30204
30205	// The length of time that a task remains available for labeling by human workers.
30206	// If you choose the Amazon Mechanical Turk workforce, the maximum is 12 hours
30207	// (43200). The default value is 864000 seconds (10 days). For private and vendor
30208	// workforces, the maximum is as listed.
30209	TaskAvailabilityLifetimeInSeconds *int64 `min:"60" type:"integer"`
30210
30211	// A description of the task for your human workers.
30212	//
30213	// TaskDescription is a required field
30214	TaskDescription *string `min:"1" type:"string" required:"true"`
30215
30216	// Keywords used to describe the task so that workers on Amazon Mechanical Turk
30217	// can discover the task.
30218	TaskKeywords []*string `min:"1" type:"list"`
30219
30220	// The amount of time that a worker has to complete a task.
30221	//
30222	// TaskTimeLimitInSeconds is a required field
30223	TaskTimeLimitInSeconds *int64 `min:"30" type:"integer" required:"true"`
30224
30225	// A title for the task for your human workers.
30226	//
30227	// TaskTitle is a required field
30228	TaskTitle *string `min:"1" type:"string" required:"true"`
30229
30230	// Information about the user interface that workers use to complete the labeling
30231	// task.
30232	//
30233	// UiConfig is a required field
30234	UiConfig *UiConfig `type:"structure" required:"true"`
30235
30236	// The Amazon Resource Name (ARN) of the work team assigned to complete the
30237	// tasks.
30238	//
30239	// WorkteamArn is a required field
30240	WorkteamArn *string `type:"string" required:"true"`
30241}
30242
30243// String returns the string representation
30244func (s HumanTaskConfig) String() string {
30245	return awsutil.Prettify(s)
30246}
30247
30248// GoString returns the string representation
30249func (s HumanTaskConfig) GoString() string {
30250	return s.String()
30251}
30252
30253// Validate inspects the fields of the type to determine if they are valid.
30254func (s *HumanTaskConfig) Validate() error {
30255	invalidParams := request.ErrInvalidParams{Context: "HumanTaskConfig"}
30256	if s.AnnotationConsolidationConfig == nil {
30257		invalidParams.Add(request.NewErrParamRequired("AnnotationConsolidationConfig"))
30258	}
30259	if s.MaxConcurrentTaskCount != nil && *s.MaxConcurrentTaskCount < 1 {
30260		invalidParams.Add(request.NewErrParamMinValue("MaxConcurrentTaskCount", 1))
30261	}
30262	if s.NumberOfHumanWorkersPerDataObject == nil {
30263		invalidParams.Add(request.NewErrParamRequired("NumberOfHumanWorkersPerDataObject"))
30264	}
30265	if s.NumberOfHumanWorkersPerDataObject != nil && *s.NumberOfHumanWorkersPerDataObject < 1 {
30266		invalidParams.Add(request.NewErrParamMinValue("NumberOfHumanWorkersPerDataObject", 1))
30267	}
30268	if s.PreHumanTaskLambdaArn == nil {
30269		invalidParams.Add(request.NewErrParamRequired("PreHumanTaskLambdaArn"))
30270	}
30271	if s.TaskAvailabilityLifetimeInSeconds != nil && *s.TaskAvailabilityLifetimeInSeconds < 60 {
30272		invalidParams.Add(request.NewErrParamMinValue("TaskAvailabilityLifetimeInSeconds", 60))
30273	}
30274	if s.TaskDescription == nil {
30275		invalidParams.Add(request.NewErrParamRequired("TaskDescription"))
30276	}
30277	if s.TaskDescription != nil && len(*s.TaskDescription) < 1 {
30278		invalidParams.Add(request.NewErrParamMinLen("TaskDescription", 1))
30279	}
30280	if s.TaskKeywords != nil && len(s.TaskKeywords) < 1 {
30281		invalidParams.Add(request.NewErrParamMinLen("TaskKeywords", 1))
30282	}
30283	if s.TaskTimeLimitInSeconds == nil {
30284		invalidParams.Add(request.NewErrParamRequired("TaskTimeLimitInSeconds"))
30285	}
30286	if s.TaskTimeLimitInSeconds != nil && *s.TaskTimeLimitInSeconds < 30 {
30287		invalidParams.Add(request.NewErrParamMinValue("TaskTimeLimitInSeconds", 30))
30288	}
30289	if s.TaskTitle == nil {
30290		invalidParams.Add(request.NewErrParamRequired("TaskTitle"))
30291	}
30292	if s.TaskTitle != nil && len(*s.TaskTitle) < 1 {
30293		invalidParams.Add(request.NewErrParamMinLen("TaskTitle", 1))
30294	}
30295	if s.UiConfig == nil {
30296		invalidParams.Add(request.NewErrParamRequired("UiConfig"))
30297	}
30298	if s.WorkteamArn == nil {
30299		invalidParams.Add(request.NewErrParamRequired("WorkteamArn"))
30300	}
30301	if s.AnnotationConsolidationConfig != nil {
30302		if err := s.AnnotationConsolidationConfig.Validate(); err != nil {
30303			invalidParams.AddNested("AnnotationConsolidationConfig", err.(request.ErrInvalidParams))
30304		}
30305	}
30306
30307	if invalidParams.Len() > 0 {
30308		return invalidParams
30309	}
30310	return nil
30311}
30312
30313// SetAnnotationConsolidationConfig sets the AnnotationConsolidationConfig field's value.
30314func (s *HumanTaskConfig) SetAnnotationConsolidationConfig(v *AnnotationConsolidationConfig) *HumanTaskConfig {
30315	s.AnnotationConsolidationConfig = v
30316	return s
30317}
30318
30319// SetMaxConcurrentTaskCount sets the MaxConcurrentTaskCount field's value.
30320func (s *HumanTaskConfig) SetMaxConcurrentTaskCount(v int64) *HumanTaskConfig {
30321	s.MaxConcurrentTaskCount = &v
30322	return s
30323}
30324
30325// SetNumberOfHumanWorkersPerDataObject sets the NumberOfHumanWorkersPerDataObject field's value.
30326func (s *HumanTaskConfig) SetNumberOfHumanWorkersPerDataObject(v int64) *HumanTaskConfig {
30327	s.NumberOfHumanWorkersPerDataObject = &v
30328	return s
30329}
30330
30331// SetPreHumanTaskLambdaArn sets the PreHumanTaskLambdaArn field's value.
30332func (s *HumanTaskConfig) SetPreHumanTaskLambdaArn(v string) *HumanTaskConfig {
30333	s.PreHumanTaskLambdaArn = &v
30334	return s
30335}
30336
30337// SetPublicWorkforceTaskPrice sets the PublicWorkforceTaskPrice field's value.
30338func (s *HumanTaskConfig) SetPublicWorkforceTaskPrice(v *PublicWorkforceTaskPrice) *HumanTaskConfig {
30339	s.PublicWorkforceTaskPrice = v
30340	return s
30341}
30342
30343// SetTaskAvailabilityLifetimeInSeconds sets the TaskAvailabilityLifetimeInSeconds field's value.
30344func (s *HumanTaskConfig) SetTaskAvailabilityLifetimeInSeconds(v int64) *HumanTaskConfig {
30345	s.TaskAvailabilityLifetimeInSeconds = &v
30346	return s
30347}
30348
30349// SetTaskDescription sets the TaskDescription field's value.
30350func (s *HumanTaskConfig) SetTaskDescription(v string) *HumanTaskConfig {
30351	s.TaskDescription = &v
30352	return s
30353}
30354
30355// SetTaskKeywords sets the TaskKeywords field's value.
30356func (s *HumanTaskConfig) SetTaskKeywords(v []*string) *HumanTaskConfig {
30357	s.TaskKeywords = v
30358	return s
30359}
30360
30361// SetTaskTimeLimitInSeconds sets the TaskTimeLimitInSeconds field's value.
30362func (s *HumanTaskConfig) SetTaskTimeLimitInSeconds(v int64) *HumanTaskConfig {
30363	s.TaskTimeLimitInSeconds = &v
30364	return s
30365}
30366
30367// SetTaskTitle sets the TaskTitle field's value.
30368func (s *HumanTaskConfig) SetTaskTitle(v string) *HumanTaskConfig {
30369	s.TaskTitle = &v
30370	return s
30371}
30372
30373// SetUiConfig sets the UiConfig field's value.
30374func (s *HumanTaskConfig) SetUiConfig(v *UiConfig) *HumanTaskConfig {
30375	s.UiConfig = v
30376	return s
30377}
30378
30379// SetWorkteamArn sets the WorkteamArn field's value.
30380func (s *HumanTaskConfig) SetWorkteamArn(v string) *HumanTaskConfig {
30381	s.WorkteamArn = &v
30382	return s
30383}
30384
30385// Container for human task user interface information.
30386type HumanTaskUiSummary struct {
30387	_ struct{} `type:"structure"`
30388
30389	// A timestamp when SageMaker created the human task user interface.
30390	//
30391	// CreationTime is a required field
30392	CreationTime *time.Time `type:"timestamp" required:"true"`
30393
30394	// The Amazon Resource Name (ARN) of the human task user interface.
30395	//
30396	// HumanTaskUiArn is a required field
30397	HumanTaskUiArn *string `type:"string" required:"true"`
30398
30399	// The name of the human task user interface.
30400	//
30401	// HumanTaskUiName is a required field
30402	HumanTaskUiName *string `min:"1" type:"string" required:"true"`
30403}
30404
30405// String returns the string representation
30406func (s HumanTaskUiSummary) String() string {
30407	return awsutil.Prettify(s)
30408}
30409
30410// GoString returns the string representation
30411func (s HumanTaskUiSummary) GoString() string {
30412	return s.String()
30413}
30414
30415// SetCreationTime sets the CreationTime field's value.
30416func (s *HumanTaskUiSummary) SetCreationTime(v time.Time) *HumanTaskUiSummary {
30417	s.CreationTime = &v
30418	return s
30419}
30420
30421// SetHumanTaskUiArn sets the HumanTaskUiArn field's value.
30422func (s *HumanTaskUiSummary) SetHumanTaskUiArn(v string) *HumanTaskUiSummary {
30423	s.HumanTaskUiArn = &v
30424	return s
30425}
30426
30427// SetHumanTaskUiName sets the HumanTaskUiName field's value.
30428func (s *HumanTaskUiSummary) SetHumanTaskUiName(v string) *HumanTaskUiSummary {
30429	s.HumanTaskUiName = &v
30430	return s
30431}
30432
30433// Specifies which training algorithm to use for training jobs that a hyperparameter
30434// tuning job launches and the metrics to monitor.
30435type HyperParameterAlgorithmSpecification struct {
30436	_ struct{} `type:"structure"`
30437
30438	// The name of the resource algorithm to use for the hyperparameter tuning job.
30439	// If you specify a value for this parameter, do not specify a value for TrainingImage.
30440	AlgorithmName *string `min:"1" type:"string"`
30441
30442	// An array of MetricDefinition objects that specify the metrics that the algorithm
30443	// emits.
30444	MetricDefinitions []*MetricDefinition `type:"list"`
30445
30446	// The registry path of the Docker image that contains the training algorithm.
30447	// For information about Docker registry paths for built-in algorithms, see
30448	// Algorithms Provided by Amazon SageMaker: Common Parameters (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html).
30449	// Amazon SageMaker supports both registry/repository[:tag] and registry/repository[@digest]
30450	// image path formats. For more information, see Using Your Own Algorithms with
30451	// Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
30452	TrainingImage *string `type:"string"`
30453
30454	// The input mode that the algorithm supports: File or Pipe. In File input mode,
30455	// Amazon SageMaker downloads the training data from Amazon S3 to the storage
30456	// volume that is attached to the training instance and mounts the directory
30457	// to the Docker volume for the training container. In Pipe input mode, Amazon
30458	// SageMaker streams data directly from Amazon S3 to the container.
30459	//
30460	// If you specify File mode, make sure that you provision the storage volume
30461	// that is attached to the training instance with enough capacity to accommodate
30462	// the training data downloaded from Amazon S3, the model artifacts, and intermediate
30463	// information.
30464	//
30465	// For more information about input modes, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
30466	//
30467	// TrainingInputMode is a required field
30468	TrainingInputMode *string `type:"string" required:"true" enum:"TrainingInputMode"`
30469}
30470
30471// String returns the string representation
30472func (s HyperParameterAlgorithmSpecification) String() string {
30473	return awsutil.Prettify(s)
30474}
30475
30476// GoString returns the string representation
30477func (s HyperParameterAlgorithmSpecification) GoString() string {
30478	return s.String()
30479}
30480
30481// Validate inspects the fields of the type to determine if they are valid.
30482func (s *HyperParameterAlgorithmSpecification) Validate() error {
30483	invalidParams := request.ErrInvalidParams{Context: "HyperParameterAlgorithmSpecification"}
30484	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
30485		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
30486	}
30487	if s.TrainingInputMode == nil {
30488		invalidParams.Add(request.NewErrParamRequired("TrainingInputMode"))
30489	}
30490	if s.MetricDefinitions != nil {
30491		for i, v := range s.MetricDefinitions {
30492			if v == nil {
30493				continue
30494			}
30495			if err := v.Validate(); err != nil {
30496				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MetricDefinitions", i), err.(request.ErrInvalidParams))
30497			}
30498		}
30499	}
30500
30501	if invalidParams.Len() > 0 {
30502		return invalidParams
30503	}
30504	return nil
30505}
30506
30507// SetAlgorithmName sets the AlgorithmName field's value.
30508func (s *HyperParameterAlgorithmSpecification) SetAlgorithmName(v string) *HyperParameterAlgorithmSpecification {
30509	s.AlgorithmName = &v
30510	return s
30511}
30512
30513// SetMetricDefinitions sets the MetricDefinitions field's value.
30514func (s *HyperParameterAlgorithmSpecification) SetMetricDefinitions(v []*MetricDefinition) *HyperParameterAlgorithmSpecification {
30515	s.MetricDefinitions = v
30516	return s
30517}
30518
30519// SetTrainingImage sets the TrainingImage field's value.
30520func (s *HyperParameterAlgorithmSpecification) SetTrainingImage(v string) *HyperParameterAlgorithmSpecification {
30521	s.TrainingImage = &v
30522	return s
30523}
30524
30525// SetTrainingInputMode sets the TrainingInputMode field's value.
30526func (s *HyperParameterAlgorithmSpecification) SetTrainingInputMode(v string) *HyperParameterAlgorithmSpecification {
30527	s.TrainingInputMode = &v
30528	return s
30529}
30530
30531// Defines a hyperparameter to be used by an algorithm.
30532type HyperParameterSpecification struct {
30533	_ struct{} `type:"structure"`
30534
30535	// The default value for this hyperparameter. If a default value is specified,
30536	// a hyperparameter cannot be required.
30537	DefaultValue *string `type:"string"`
30538
30539	// A brief description of the hyperparameter.
30540	Description *string `type:"string"`
30541
30542	// Indicates whether this hyperparameter is required.
30543	IsRequired *bool `type:"boolean"`
30544
30545	// Indicates whether this hyperparameter is tunable in a hyperparameter tuning
30546	// job.
30547	IsTunable *bool `type:"boolean"`
30548
30549	// The name of this hyperparameter. The name must be unique.
30550	//
30551	// Name is a required field
30552	Name *string `type:"string" required:"true"`
30553
30554	// The allowed range for this hyperparameter.
30555	Range *ParameterRange `type:"structure"`
30556
30557	// The type of this hyperparameter. The valid types are Integer, Continuous,
30558	// Categorical, and FreeText.
30559	//
30560	// Type is a required field
30561	Type *string `type:"string" required:"true" enum:"ParameterType"`
30562}
30563
30564// String returns the string representation
30565func (s HyperParameterSpecification) String() string {
30566	return awsutil.Prettify(s)
30567}
30568
30569// GoString returns the string representation
30570func (s HyperParameterSpecification) GoString() string {
30571	return s.String()
30572}
30573
30574// Validate inspects the fields of the type to determine if they are valid.
30575func (s *HyperParameterSpecification) Validate() error {
30576	invalidParams := request.ErrInvalidParams{Context: "HyperParameterSpecification"}
30577	if s.Name == nil {
30578		invalidParams.Add(request.NewErrParamRequired("Name"))
30579	}
30580	if s.Type == nil {
30581		invalidParams.Add(request.NewErrParamRequired("Type"))
30582	}
30583	if s.Range != nil {
30584		if err := s.Range.Validate(); err != nil {
30585			invalidParams.AddNested("Range", err.(request.ErrInvalidParams))
30586		}
30587	}
30588
30589	if invalidParams.Len() > 0 {
30590		return invalidParams
30591	}
30592	return nil
30593}
30594
30595// SetDefaultValue sets the DefaultValue field's value.
30596func (s *HyperParameterSpecification) SetDefaultValue(v string) *HyperParameterSpecification {
30597	s.DefaultValue = &v
30598	return s
30599}
30600
30601// SetDescription sets the Description field's value.
30602func (s *HyperParameterSpecification) SetDescription(v string) *HyperParameterSpecification {
30603	s.Description = &v
30604	return s
30605}
30606
30607// SetIsRequired sets the IsRequired field's value.
30608func (s *HyperParameterSpecification) SetIsRequired(v bool) *HyperParameterSpecification {
30609	s.IsRequired = &v
30610	return s
30611}
30612
30613// SetIsTunable sets the IsTunable field's value.
30614func (s *HyperParameterSpecification) SetIsTunable(v bool) *HyperParameterSpecification {
30615	s.IsTunable = &v
30616	return s
30617}
30618
30619// SetName sets the Name field's value.
30620func (s *HyperParameterSpecification) SetName(v string) *HyperParameterSpecification {
30621	s.Name = &v
30622	return s
30623}
30624
30625// SetRange sets the Range field's value.
30626func (s *HyperParameterSpecification) SetRange(v *ParameterRange) *HyperParameterSpecification {
30627	s.Range = v
30628	return s
30629}
30630
30631// SetType sets the Type field's value.
30632func (s *HyperParameterSpecification) SetType(v string) *HyperParameterSpecification {
30633	s.Type = &v
30634	return s
30635}
30636
30637// Defines the training jobs launched by a hyperparameter tuning job.
30638type HyperParameterTrainingJobDefinition struct {
30639	_ struct{} `type:"structure"`
30640
30641	// The HyperParameterAlgorithmSpecification object that specifies the resource
30642	// algorithm to use for the training jobs that the tuning job launches.
30643	//
30644	// AlgorithmSpecification is a required field
30645	AlgorithmSpecification *HyperParameterAlgorithmSpecification `type:"structure" required:"true"`
30646
30647	// Contains information about the output location for managed spot training
30648	// checkpoint data.
30649	CheckpointConfig *CheckpointConfig `type:"structure"`
30650
30651	// The job definition name.
30652	DefinitionName *string `min:"1" type:"string"`
30653
30654	// To encrypt all communications between ML compute instances in distributed
30655	// training, choose True. Encryption provides greater security for distributed
30656	// training, but training might take longer. How long it takes depends on the
30657	// amount of communication between compute instances, especially if you use
30658	// a deep learning algorithm in distributed training.
30659	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
30660
30661	// A Boolean indicating whether managed spot training is enabled (True) or not
30662	// (False).
30663	EnableManagedSpotTraining *bool `type:"boolean"`
30664
30665	// Isolates the training container. No inbound or outbound network calls can
30666	// be made, except for calls between peers within a training cluster for distributed
30667	// training. If network isolation is used for training jobs that are configured
30668	// to use a VPC, Amazon SageMaker downloads and uploads customer data and model
30669	// artifacts through the specified VPC, but the training container does not
30670	// have network access.
30671	EnableNetworkIsolation *bool `type:"boolean"`
30672
30673	// Specifies ranges of integer, continuous, and categorical hyperparameters
30674	// that a hyperparameter tuning job searches. The hyperparameter tuning job
30675	// launches training jobs with hyperparameter values within these ranges to
30676	// find the combination of values that result in the training job with the best
30677	// performance as measured by the objective metric of the hyperparameter tuning
30678	// job.
30679	//
30680	// You can specify a maximum of 20 hyperparameters that a hyperparameter tuning
30681	// job can search over. Every possible value of a categorical parameter range
30682	// counts against this limit.
30683	HyperParameterRanges *ParameterRanges `type:"structure"`
30684
30685	// An array of Channel objects that specify the input for the training jobs
30686	// that the tuning job launches.
30687	InputDataConfig []*Channel `min:"1" type:"list"`
30688
30689	// Specifies the path to the Amazon S3 bucket where you store model artifacts
30690	// from the training jobs that the tuning job launches.
30691	//
30692	// OutputDataConfig is a required field
30693	OutputDataConfig *OutputDataConfig `type:"structure" required:"true"`
30694
30695	// The resources, including the compute instances and storage volumes, to use
30696	// for the training jobs that the tuning job launches.
30697	//
30698	// Storage volumes store model artifacts and incremental states. Training algorithms
30699	// might also use storage volumes for scratch space. If you want Amazon SageMaker
30700	// to use the storage volume to store the training data, choose File as the
30701	// TrainingInputMode in the algorithm specification. For distributed training
30702	// algorithms, specify an instance count greater than 1.
30703	//
30704	// ResourceConfig is a required field
30705	ResourceConfig *ResourceConfig `type:"structure" required:"true"`
30706
30707	// The Amazon Resource Name (ARN) of the IAM role associated with the training
30708	// jobs that the tuning job launches.
30709	//
30710	// RoleArn is a required field
30711	RoleArn *string `min:"20" type:"string" required:"true"`
30712
30713	// Specifies the values of hyperparameters that do not change for the tuning
30714	// job.
30715	StaticHyperParameters map[string]*string `type:"map"`
30716
30717	// Specifies a limit to how long a model hyperparameter training job can run.
30718	// It also specifies how long you are willing to wait for a managed spot training
30719	// job to complete. When the job reaches the a limit, Amazon SageMaker ends
30720	// the training job. Use this API to cap model training costs.
30721	//
30722	// StoppingCondition is a required field
30723	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
30724
30725	// Defines the objective metric for a hyperparameter tuning job. Hyperparameter
30726	// tuning uses the value of this metric to evaluate the training jobs it launches,
30727	// and returns the training job that results in either the highest or lowest
30728	// value for this metric, depending on the value you specify for the Type parameter.
30729	TuningObjective *HyperParameterTuningJobObjective `type:"structure"`
30730
30731	// The VpcConfig object that specifies the VPC that you want the training jobs
30732	// that this hyperparameter tuning job launches to connect to. Control access
30733	// to and from your training container by configuring the VPC. For more information,
30734	// see Protect Training Jobs by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
30735	VpcConfig *VpcConfig `type:"structure"`
30736}
30737
30738// String returns the string representation
30739func (s HyperParameterTrainingJobDefinition) String() string {
30740	return awsutil.Prettify(s)
30741}
30742
30743// GoString returns the string representation
30744func (s HyperParameterTrainingJobDefinition) GoString() string {
30745	return s.String()
30746}
30747
30748// Validate inspects the fields of the type to determine if they are valid.
30749func (s *HyperParameterTrainingJobDefinition) Validate() error {
30750	invalidParams := request.ErrInvalidParams{Context: "HyperParameterTrainingJobDefinition"}
30751	if s.AlgorithmSpecification == nil {
30752		invalidParams.Add(request.NewErrParamRequired("AlgorithmSpecification"))
30753	}
30754	if s.DefinitionName != nil && len(*s.DefinitionName) < 1 {
30755		invalidParams.Add(request.NewErrParamMinLen("DefinitionName", 1))
30756	}
30757	if s.InputDataConfig != nil && len(s.InputDataConfig) < 1 {
30758		invalidParams.Add(request.NewErrParamMinLen("InputDataConfig", 1))
30759	}
30760	if s.OutputDataConfig == nil {
30761		invalidParams.Add(request.NewErrParamRequired("OutputDataConfig"))
30762	}
30763	if s.ResourceConfig == nil {
30764		invalidParams.Add(request.NewErrParamRequired("ResourceConfig"))
30765	}
30766	if s.RoleArn == nil {
30767		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
30768	}
30769	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
30770		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
30771	}
30772	if s.StoppingCondition == nil {
30773		invalidParams.Add(request.NewErrParamRequired("StoppingCondition"))
30774	}
30775	if s.AlgorithmSpecification != nil {
30776		if err := s.AlgorithmSpecification.Validate(); err != nil {
30777			invalidParams.AddNested("AlgorithmSpecification", err.(request.ErrInvalidParams))
30778		}
30779	}
30780	if s.CheckpointConfig != nil {
30781		if err := s.CheckpointConfig.Validate(); err != nil {
30782			invalidParams.AddNested("CheckpointConfig", err.(request.ErrInvalidParams))
30783		}
30784	}
30785	if s.HyperParameterRanges != nil {
30786		if err := s.HyperParameterRanges.Validate(); err != nil {
30787			invalidParams.AddNested("HyperParameterRanges", err.(request.ErrInvalidParams))
30788		}
30789	}
30790	if s.InputDataConfig != nil {
30791		for i, v := range s.InputDataConfig {
30792			if v == nil {
30793				continue
30794			}
30795			if err := v.Validate(); err != nil {
30796				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputDataConfig", i), err.(request.ErrInvalidParams))
30797			}
30798		}
30799	}
30800	if s.OutputDataConfig != nil {
30801		if err := s.OutputDataConfig.Validate(); err != nil {
30802			invalidParams.AddNested("OutputDataConfig", err.(request.ErrInvalidParams))
30803		}
30804	}
30805	if s.ResourceConfig != nil {
30806		if err := s.ResourceConfig.Validate(); err != nil {
30807			invalidParams.AddNested("ResourceConfig", err.(request.ErrInvalidParams))
30808		}
30809	}
30810	if s.StoppingCondition != nil {
30811		if err := s.StoppingCondition.Validate(); err != nil {
30812			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
30813		}
30814	}
30815	if s.TuningObjective != nil {
30816		if err := s.TuningObjective.Validate(); err != nil {
30817			invalidParams.AddNested("TuningObjective", err.(request.ErrInvalidParams))
30818		}
30819	}
30820	if s.VpcConfig != nil {
30821		if err := s.VpcConfig.Validate(); err != nil {
30822			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
30823		}
30824	}
30825
30826	if invalidParams.Len() > 0 {
30827		return invalidParams
30828	}
30829	return nil
30830}
30831
30832// SetAlgorithmSpecification sets the AlgorithmSpecification field's value.
30833func (s *HyperParameterTrainingJobDefinition) SetAlgorithmSpecification(v *HyperParameterAlgorithmSpecification) *HyperParameterTrainingJobDefinition {
30834	s.AlgorithmSpecification = v
30835	return s
30836}
30837
30838// SetCheckpointConfig sets the CheckpointConfig field's value.
30839func (s *HyperParameterTrainingJobDefinition) SetCheckpointConfig(v *CheckpointConfig) *HyperParameterTrainingJobDefinition {
30840	s.CheckpointConfig = v
30841	return s
30842}
30843
30844// SetDefinitionName sets the DefinitionName field's value.
30845func (s *HyperParameterTrainingJobDefinition) SetDefinitionName(v string) *HyperParameterTrainingJobDefinition {
30846	s.DefinitionName = &v
30847	return s
30848}
30849
30850// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
30851func (s *HyperParameterTrainingJobDefinition) SetEnableInterContainerTrafficEncryption(v bool) *HyperParameterTrainingJobDefinition {
30852	s.EnableInterContainerTrafficEncryption = &v
30853	return s
30854}
30855
30856// SetEnableManagedSpotTraining sets the EnableManagedSpotTraining field's value.
30857func (s *HyperParameterTrainingJobDefinition) SetEnableManagedSpotTraining(v bool) *HyperParameterTrainingJobDefinition {
30858	s.EnableManagedSpotTraining = &v
30859	return s
30860}
30861
30862// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
30863func (s *HyperParameterTrainingJobDefinition) SetEnableNetworkIsolation(v bool) *HyperParameterTrainingJobDefinition {
30864	s.EnableNetworkIsolation = &v
30865	return s
30866}
30867
30868// SetHyperParameterRanges sets the HyperParameterRanges field's value.
30869func (s *HyperParameterTrainingJobDefinition) SetHyperParameterRanges(v *ParameterRanges) *HyperParameterTrainingJobDefinition {
30870	s.HyperParameterRanges = v
30871	return s
30872}
30873
30874// SetInputDataConfig sets the InputDataConfig field's value.
30875func (s *HyperParameterTrainingJobDefinition) SetInputDataConfig(v []*Channel) *HyperParameterTrainingJobDefinition {
30876	s.InputDataConfig = v
30877	return s
30878}
30879
30880// SetOutputDataConfig sets the OutputDataConfig field's value.
30881func (s *HyperParameterTrainingJobDefinition) SetOutputDataConfig(v *OutputDataConfig) *HyperParameterTrainingJobDefinition {
30882	s.OutputDataConfig = v
30883	return s
30884}
30885
30886// SetResourceConfig sets the ResourceConfig field's value.
30887func (s *HyperParameterTrainingJobDefinition) SetResourceConfig(v *ResourceConfig) *HyperParameterTrainingJobDefinition {
30888	s.ResourceConfig = v
30889	return s
30890}
30891
30892// SetRoleArn sets the RoleArn field's value.
30893func (s *HyperParameterTrainingJobDefinition) SetRoleArn(v string) *HyperParameterTrainingJobDefinition {
30894	s.RoleArn = &v
30895	return s
30896}
30897
30898// SetStaticHyperParameters sets the StaticHyperParameters field's value.
30899func (s *HyperParameterTrainingJobDefinition) SetStaticHyperParameters(v map[string]*string) *HyperParameterTrainingJobDefinition {
30900	s.StaticHyperParameters = v
30901	return s
30902}
30903
30904// SetStoppingCondition sets the StoppingCondition field's value.
30905func (s *HyperParameterTrainingJobDefinition) SetStoppingCondition(v *StoppingCondition) *HyperParameterTrainingJobDefinition {
30906	s.StoppingCondition = v
30907	return s
30908}
30909
30910// SetTuningObjective sets the TuningObjective field's value.
30911func (s *HyperParameterTrainingJobDefinition) SetTuningObjective(v *HyperParameterTuningJobObjective) *HyperParameterTrainingJobDefinition {
30912	s.TuningObjective = v
30913	return s
30914}
30915
30916// SetVpcConfig sets the VpcConfig field's value.
30917func (s *HyperParameterTrainingJobDefinition) SetVpcConfig(v *VpcConfig) *HyperParameterTrainingJobDefinition {
30918	s.VpcConfig = v
30919	return s
30920}
30921
30922// Specifies summary information about a training job.
30923type HyperParameterTrainingJobSummary struct {
30924	_ struct{} `type:"structure"`
30925
30926	// The date and time that the training job was created.
30927	//
30928	// CreationTime is a required field
30929	CreationTime *time.Time `type:"timestamp" required:"true"`
30930
30931	// The reason that the training job failed.
30932	FailureReason *string `type:"string"`
30933
30934	// The FinalHyperParameterTuningJobObjectiveMetric object that specifies the
30935	// value of the objective metric of the tuning job that launched this training
30936	// job.
30937	FinalHyperParameterTuningJobObjectiveMetric *FinalHyperParameterTuningJobObjectiveMetric `type:"structure"`
30938
30939	// The status of the objective metric for the training job:
30940	//
30941	//    * Succeeded: The final objective metric for the training job was evaluated
30942	//    by the hyperparameter tuning job and used in the hyperparameter tuning
30943	//    process.
30944	//
30945	//    * Pending: The training job is in progress and evaluation of its final
30946	//    objective metric is pending.
30947	//
30948	//    * Failed: The final objective metric for the training job was not evaluated,
30949	//    and was not used in the hyperparameter tuning process. This typically
30950	//    occurs when the training job failed or did not emit an objective metric.
30951	ObjectiveStatus *string `type:"string" enum:"ObjectiveStatus"`
30952
30953	// Specifies the time when the training job ends on training instances. You
30954	// are billed for the time interval between the value of TrainingStartTime and
30955	// this time. For successful jobs and stopped jobs, this is the time after model
30956	// artifacts are uploaded. For failed jobs, this is the time when Amazon SageMaker
30957	// detects a job failure.
30958	TrainingEndTime *time.Time `type:"timestamp"`
30959
30960	// The Amazon Resource Name (ARN) of the training job.
30961	//
30962	// TrainingJobArn is a required field
30963	TrainingJobArn *string `type:"string" required:"true"`
30964
30965	// The training job definition name.
30966	TrainingJobDefinitionName *string `min:"1" type:"string"`
30967
30968	// The name of the training job.
30969	//
30970	// TrainingJobName is a required field
30971	TrainingJobName *string `min:"1" type:"string" required:"true"`
30972
30973	// The status of the training job.
30974	//
30975	// TrainingJobStatus is a required field
30976	TrainingJobStatus *string `type:"string" required:"true" enum:"TrainingJobStatus"`
30977
30978	// The date and time that the training job started.
30979	TrainingStartTime *time.Time `type:"timestamp"`
30980
30981	// A list of the hyperparameters for which you specified ranges to search.
30982	//
30983	// TunedHyperParameters is a required field
30984	TunedHyperParameters map[string]*string `type:"map" required:"true"`
30985
30986	// The HyperParameter tuning job that launched the training job.
30987	TuningJobName *string `min:"1" type:"string"`
30988}
30989
30990// String returns the string representation
30991func (s HyperParameterTrainingJobSummary) String() string {
30992	return awsutil.Prettify(s)
30993}
30994
30995// GoString returns the string representation
30996func (s HyperParameterTrainingJobSummary) GoString() string {
30997	return s.String()
30998}
30999
31000// SetCreationTime sets the CreationTime field's value.
31001func (s *HyperParameterTrainingJobSummary) SetCreationTime(v time.Time) *HyperParameterTrainingJobSummary {
31002	s.CreationTime = &v
31003	return s
31004}
31005
31006// SetFailureReason sets the FailureReason field's value.
31007func (s *HyperParameterTrainingJobSummary) SetFailureReason(v string) *HyperParameterTrainingJobSummary {
31008	s.FailureReason = &v
31009	return s
31010}
31011
31012// SetFinalHyperParameterTuningJobObjectiveMetric sets the FinalHyperParameterTuningJobObjectiveMetric field's value.
31013func (s *HyperParameterTrainingJobSummary) SetFinalHyperParameterTuningJobObjectiveMetric(v *FinalHyperParameterTuningJobObjectiveMetric) *HyperParameterTrainingJobSummary {
31014	s.FinalHyperParameterTuningJobObjectiveMetric = v
31015	return s
31016}
31017
31018// SetObjectiveStatus sets the ObjectiveStatus field's value.
31019func (s *HyperParameterTrainingJobSummary) SetObjectiveStatus(v string) *HyperParameterTrainingJobSummary {
31020	s.ObjectiveStatus = &v
31021	return s
31022}
31023
31024// SetTrainingEndTime sets the TrainingEndTime field's value.
31025func (s *HyperParameterTrainingJobSummary) SetTrainingEndTime(v time.Time) *HyperParameterTrainingJobSummary {
31026	s.TrainingEndTime = &v
31027	return s
31028}
31029
31030// SetTrainingJobArn sets the TrainingJobArn field's value.
31031func (s *HyperParameterTrainingJobSummary) SetTrainingJobArn(v string) *HyperParameterTrainingJobSummary {
31032	s.TrainingJobArn = &v
31033	return s
31034}
31035
31036// SetTrainingJobDefinitionName sets the TrainingJobDefinitionName field's value.
31037func (s *HyperParameterTrainingJobSummary) SetTrainingJobDefinitionName(v string) *HyperParameterTrainingJobSummary {
31038	s.TrainingJobDefinitionName = &v
31039	return s
31040}
31041
31042// SetTrainingJobName sets the TrainingJobName field's value.
31043func (s *HyperParameterTrainingJobSummary) SetTrainingJobName(v string) *HyperParameterTrainingJobSummary {
31044	s.TrainingJobName = &v
31045	return s
31046}
31047
31048// SetTrainingJobStatus sets the TrainingJobStatus field's value.
31049func (s *HyperParameterTrainingJobSummary) SetTrainingJobStatus(v string) *HyperParameterTrainingJobSummary {
31050	s.TrainingJobStatus = &v
31051	return s
31052}
31053
31054// SetTrainingStartTime sets the TrainingStartTime field's value.
31055func (s *HyperParameterTrainingJobSummary) SetTrainingStartTime(v time.Time) *HyperParameterTrainingJobSummary {
31056	s.TrainingStartTime = &v
31057	return s
31058}
31059
31060// SetTunedHyperParameters sets the TunedHyperParameters field's value.
31061func (s *HyperParameterTrainingJobSummary) SetTunedHyperParameters(v map[string]*string) *HyperParameterTrainingJobSummary {
31062	s.TunedHyperParameters = v
31063	return s
31064}
31065
31066// SetTuningJobName sets the TuningJobName field's value.
31067func (s *HyperParameterTrainingJobSummary) SetTuningJobName(v string) *HyperParameterTrainingJobSummary {
31068	s.TuningJobName = &v
31069	return s
31070}
31071
31072// Configures a hyperparameter tuning job.
31073type HyperParameterTuningJobConfig struct {
31074	_ struct{} `type:"structure"`
31075
31076	// The HyperParameterTuningJobObjective object that specifies the objective
31077	// metric for this tuning job.
31078	HyperParameterTuningJobObjective *HyperParameterTuningJobObjective `type:"structure"`
31079
31080	// The ParameterRanges object that specifies the ranges of hyperparameters that
31081	// this tuning job searches.
31082	ParameterRanges *ParameterRanges `type:"structure"`
31083
31084	// The ResourceLimits object that specifies the maximum number of training jobs
31085	// and parallel training jobs for this tuning job.
31086	//
31087	// ResourceLimits is a required field
31088	ResourceLimits *ResourceLimits `type:"structure" required:"true"`
31089
31090	// Specifies how hyperparameter tuning chooses the combinations of hyperparameter
31091	// values to use for the training job it launches. To use the Bayesian search
31092	// strategy, set this to Bayesian. To randomly search, set it to Random. For
31093	// information about search strategies, see How Hyperparameter Tuning Works
31094	// (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-how-it-works.html).
31095	//
31096	// Strategy is a required field
31097	Strategy *string `type:"string" required:"true" enum:"HyperParameterTuningJobStrategyType"`
31098
31099	// Specifies whether to use early stopping for training jobs launched by the
31100	// hyperparameter tuning job. This can be one of the following values (the default
31101	// value is OFF):
31102	//
31103	// OFF
31104	//
31105	// Training jobs launched by the hyperparameter tuning job do not use early
31106	// stopping.
31107	//
31108	// AUTO
31109	//
31110	// Amazon SageMaker stops training jobs launched by the hyperparameter tuning
31111	// job when they are unlikely to perform better than previously completed training
31112	// jobs. For more information, see Stop Training Jobs Early (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-early-stopping.html).
31113	TrainingJobEarlyStoppingType *string `type:"string" enum:"TrainingJobEarlyStoppingType"`
31114
31115	// The tuning job's completion criteria.
31116	TuningJobCompletionCriteria *TuningJobCompletionCriteria `type:"structure"`
31117}
31118
31119// String returns the string representation
31120func (s HyperParameterTuningJobConfig) String() string {
31121	return awsutil.Prettify(s)
31122}
31123
31124// GoString returns the string representation
31125func (s HyperParameterTuningJobConfig) GoString() string {
31126	return s.String()
31127}
31128
31129// Validate inspects the fields of the type to determine if they are valid.
31130func (s *HyperParameterTuningJobConfig) Validate() error {
31131	invalidParams := request.ErrInvalidParams{Context: "HyperParameterTuningJobConfig"}
31132	if s.ResourceLimits == nil {
31133		invalidParams.Add(request.NewErrParamRequired("ResourceLimits"))
31134	}
31135	if s.Strategy == nil {
31136		invalidParams.Add(request.NewErrParamRequired("Strategy"))
31137	}
31138	if s.HyperParameterTuningJobObjective != nil {
31139		if err := s.HyperParameterTuningJobObjective.Validate(); err != nil {
31140			invalidParams.AddNested("HyperParameterTuningJobObjective", err.(request.ErrInvalidParams))
31141		}
31142	}
31143	if s.ParameterRanges != nil {
31144		if err := s.ParameterRanges.Validate(); err != nil {
31145			invalidParams.AddNested("ParameterRanges", err.(request.ErrInvalidParams))
31146		}
31147	}
31148	if s.ResourceLimits != nil {
31149		if err := s.ResourceLimits.Validate(); err != nil {
31150			invalidParams.AddNested("ResourceLimits", err.(request.ErrInvalidParams))
31151		}
31152	}
31153	if s.TuningJobCompletionCriteria != nil {
31154		if err := s.TuningJobCompletionCriteria.Validate(); err != nil {
31155			invalidParams.AddNested("TuningJobCompletionCriteria", err.(request.ErrInvalidParams))
31156		}
31157	}
31158
31159	if invalidParams.Len() > 0 {
31160		return invalidParams
31161	}
31162	return nil
31163}
31164
31165// SetHyperParameterTuningJobObjective sets the HyperParameterTuningJobObjective field's value.
31166func (s *HyperParameterTuningJobConfig) SetHyperParameterTuningJobObjective(v *HyperParameterTuningJobObjective) *HyperParameterTuningJobConfig {
31167	s.HyperParameterTuningJobObjective = v
31168	return s
31169}
31170
31171// SetParameterRanges sets the ParameterRanges field's value.
31172func (s *HyperParameterTuningJobConfig) SetParameterRanges(v *ParameterRanges) *HyperParameterTuningJobConfig {
31173	s.ParameterRanges = v
31174	return s
31175}
31176
31177// SetResourceLimits sets the ResourceLimits field's value.
31178func (s *HyperParameterTuningJobConfig) SetResourceLimits(v *ResourceLimits) *HyperParameterTuningJobConfig {
31179	s.ResourceLimits = v
31180	return s
31181}
31182
31183// SetStrategy sets the Strategy field's value.
31184func (s *HyperParameterTuningJobConfig) SetStrategy(v string) *HyperParameterTuningJobConfig {
31185	s.Strategy = &v
31186	return s
31187}
31188
31189// SetTrainingJobEarlyStoppingType sets the TrainingJobEarlyStoppingType field's value.
31190func (s *HyperParameterTuningJobConfig) SetTrainingJobEarlyStoppingType(v string) *HyperParameterTuningJobConfig {
31191	s.TrainingJobEarlyStoppingType = &v
31192	return s
31193}
31194
31195// SetTuningJobCompletionCriteria sets the TuningJobCompletionCriteria field's value.
31196func (s *HyperParameterTuningJobConfig) SetTuningJobCompletionCriteria(v *TuningJobCompletionCriteria) *HyperParameterTuningJobConfig {
31197	s.TuningJobCompletionCriteria = v
31198	return s
31199}
31200
31201// Defines the objective metric for a hyperparameter tuning job. Hyperparameter
31202// tuning uses the value of this metric to evaluate the training jobs it launches,
31203// and returns the training job that results in either the highest or lowest
31204// value for this metric, depending on the value you specify for the Type parameter.
31205type HyperParameterTuningJobObjective struct {
31206	_ struct{} `type:"structure"`
31207
31208	// The name of the metric to use for the objective metric.
31209	//
31210	// MetricName is a required field
31211	MetricName *string `min:"1" type:"string" required:"true"`
31212
31213	// Whether to minimize or maximize the objective metric.
31214	//
31215	// Type is a required field
31216	Type *string `type:"string" required:"true" enum:"HyperParameterTuningJobObjectiveType"`
31217}
31218
31219// String returns the string representation
31220func (s HyperParameterTuningJobObjective) String() string {
31221	return awsutil.Prettify(s)
31222}
31223
31224// GoString returns the string representation
31225func (s HyperParameterTuningJobObjective) GoString() string {
31226	return s.String()
31227}
31228
31229// Validate inspects the fields of the type to determine if they are valid.
31230func (s *HyperParameterTuningJobObjective) Validate() error {
31231	invalidParams := request.ErrInvalidParams{Context: "HyperParameterTuningJobObjective"}
31232	if s.MetricName == nil {
31233		invalidParams.Add(request.NewErrParamRequired("MetricName"))
31234	}
31235	if s.MetricName != nil && len(*s.MetricName) < 1 {
31236		invalidParams.Add(request.NewErrParamMinLen("MetricName", 1))
31237	}
31238	if s.Type == nil {
31239		invalidParams.Add(request.NewErrParamRequired("Type"))
31240	}
31241
31242	if invalidParams.Len() > 0 {
31243		return invalidParams
31244	}
31245	return nil
31246}
31247
31248// SetMetricName sets the MetricName field's value.
31249func (s *HyperParameterTuningJobObjective) SetMetricName(v string) *HyperParameterTuningJobObjective {
31250	s.MetricName = &v
31251	return s
31252}
31253
31254// SetType sets the Type field's value.
31255func (s *HyperParameterTuningJobObjective) SetType(v string) *HyperParameterTuningJobObjective {
31256	s.Type = &v
31257	return s
31258}
31259
31260// Provides summary information about a hyperparameter tuning job.
31261type HyperParameterTuningJobSummary struct {
31262	_ struct{} `type:"structure"`
31263
31264	// The date and time that the tuning job was created.
31265	//
31266	// CreationTime is a required field
31267	CreationTime *time.Time `type:"timestamp" required:"true"`
31268
31269	// The date and time that the tuning job ended.
31270	HyperParameterTuningEndTime *time.Time `type:"timestamp"`
31271
31272	// The Amazon Resource Name (ARN) of the tuning job.
31273	//
31274	// HyperParameterTuningJobArn is a required field
31275	HyperParameterTuningJobArn *string `type:"string" required:"true"`
31276
31277	// The name of the tuning job.
31278	//
31279	// HyperParameterTuningJobName is a required field
31280	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
31281
31282	// The status of the tuning job.
31283	//
31284	// HyperParameterTuningJobStatus is a required field
31285	HyperParameterTuningJobStatus *string `type:"string" required:"true" enum:"HyperParameterTuningJobStatus"`
31286
31287	// The date and time that the tuning job was modified.
31288	LastModifiedTime *time.Time `type:"timestamp"`
31289
31290	// The ObjectiveStatusCounters object that specifies the numbers of training
31291	// jobs, categorized by objective metric status, that this tuning job launched.
31292	//
31293	// ObjectiveStatusCounters is a required field
31294	ObjectiveStatusCounters *ObjectiveStatusCounters `type:"structure" required:"true"`
31295
31296	// The ResourceLimits object that specifies the maximum number of training jobs
31297	// and parallel training jobs allowed for this tuning job.
31298	ResourceLimits *ResourceLimits `type:"structure"`
31299
31300	// Specifies the search strategy hyperparameter tuning uses to choose which
31301	// hyperparameters to use for each iteration. Currently, the only valid value
31302	// is Bayesian.
31303	//
31304	// Strategy is a required field
31305	Strategy *string `type:"string" required:"true" enum:"HyperParameterTuningJobStrategyType"`
31306
31307	// The TrainingJobStatusCounters object that specifies the numbers of training
31308	// jobs, categorized by status, that this tuning job launched.
31309	//
31310	// TrainingJobStatusCounters is a required field
31311	TrainingJobStatusCounters *TrainingJobStatusCounters `type:"structure" required:"true"`
31312}
31313
31314// String returns the string representation
31315func (s HyperParameterTuningJobSummary) String() string {
31316	return awsutil.Prettify(s)
31317}
31318
31319// GoString returns the string representation
31320func (s HyperParameterTuningJobSummary) GoString() string {
31321	return s.String()
31322}
31323
31324// SetCreationTime sets the CreationTime field's value.
31325func (s *HyperParameterTuningJobSummary) SetCreationTime(v time.Time) *HyperParameterTuningJobSummary {
31326	s.CreationTime = &v
31327	return s
31328}
31329
31330// SetHyperParameterTuningEndTime sets the HyperParameterTuningEndTime field's value.
31331func (s *HyperParameterTuningJobSummary) SetHyperParameterTuningEndTime(v time.Time) *HyperParameterTuningJobSummary {
31332	s.HyperParameterTuningEndTime = &v
31333	return s
31334}
31335
31336// SetHyperParameterTuningJobArn sets the HyperParameterTuningJobArn field's value.
31337func (s *HyperParameterTuningJobSummary) SetHyperParameterTuningJobArn(v string) *HyperParameterTuningJobSummary {
31338	s.HyperParameterTuningJobArn = &v
31339	return s
31340}
31341
31342// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
31343func (s *HyperParameterTuningJobSummary) SetHyperParameterTuningJobName(v string) *HyperParameterTuningJobSummary {
31344	s.HyperParameterTuningJobName = &v
31345	return s
31346}
31347
31348// SetHyperParameterTuningJobStatus sets the HyperParameterTuningJobStatus field's value.
31349func (s *HyperParameterTuningJobSummary) SetHyperParameterTuningJobStatus(v string) *HyperParameterTuningJobSummary {
31350	s.HyperParameterTuningJobStatus = &v
31351	return s
31352}
31353
31354// SetLastModifiedTime sets the LastModifiedTime field's value.
31355func (s *HyperParameterTuningJobSummary) SetLastModifiedTime(v time.Time) *HyperParameterTuningJobSummary {
31356	s.LastModifiedTime = &v
31357	return s
31358}
31359
31360// SetObjectiveStatusCounters sets the ObjectiveStatusCounters field's value.
31361func (s *HyperParameterTuningJobSummary) SetObjectiveStatusCounters(v *ObjectiveStatusCounters) *HyperParameterTuningJobSummary {
31362	s.ObjectiveStatusCounters = v
31363	return s
31364}
31365
31366// SetResourceLimits sets the ResourceLimits field's value.
31367func (s *HyperParameterTuningJobSummary) SetResourceLimits(v *ResourceLimits) *HyperParameterTuningJobSummary {
31368	s.ResourceLimits = v
31369	return s
31370}
31371
31372// SetStrategy sets the Strategy field's value.
31373func (s *HyperParameterTuningJobSummary) SetStrategy(v string) *HyperParameterTuningJobSummary {
31374	s.Strategy = &v
31375	return s
31376}
31377
31378// SetTrainingJobStatusCounters sets the TrainingJobStatusCounters field's value.
31379func (s *HyperParameterTuningJobSummary) SetTrainingJobStatusCounters(v *TrainingJobStatusCounters) *HyperParameterTuningJobSummary {
31380	s.TrainingJobStatusCounters = v
31381	return s
31382}
31383
31384// Specifies the configuration for a hyperparameter tuning job that uses one
31385// or more previous hyperparameter tuning jobs as a starting point. The results
31386// of previous tuning jobs are used to inform which combinations of hyperparameters
31387// to search over in the new tuning job.
31388//
31389// All training jobs launched by the new hyperparameter tuning job are evaluated
31390// by using the objective metric, and the training job that performs the best
31391// is compared to the best training jobs from the parent tuning jobs. From these,
31392// the training job that performs the best as measured by the objective metric
31393// is returned as the overall best training job.
31394//
31395// All training jobs launched by parent hyperparameter tuning jobs and the new
31396// hyperparameter tuning jobs count against the limit of training jobs for the
31397// tuning job.
31398type HyperParameterTuningJobWarmStartConfig struct {
31399	_ struct{} `type:"structure"`
31400
31401	// An array of hyperparameter tuning jobs that are used as the starting point
31402	// for the new hyperparameter tuning job. For more information about warm starting
31403	// a hyperparameter tuning job, see Using a Previous Hyperparameter Tuning Job
31404	// as a Starting Point (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-warm-start.html).
31405	//
31406	// Hyperparameter tuning jobs created before October 1, 2018 cannot be used
31407	// as parent jobs for warm start tuning jobs.
31408	//
31409	// ParentHyperParameterTuningJobs is a required field
31410	ParentHyperParameterTuningJobs []*ParentHyperParameterTuningJob `min:"1" type:"list" required:"true"`
31411
31412	// Specifies one of the following:
31413	//
31414	// IDENTICAL_DATA_AND_ALGORITHM
31415	//
31416	// The new hyperparameter tuning job uses the same input data and training image
31417	// as the parent tuning jobs. You can change the hyperparameter ranges to search
31418	// and the maximum number of training jobs that the hyperparameter tuning job
31419	// launches. You cannot use a new version of the training algorithm, unless
31420	// the changes in the new version do not affect the algorithm itself. For example,
31421	// changes that improve logging or adding support for a different data format
31422	// are allowed. You can also change hyperparameters from tunable to static,
31423	// and from static to tunable, but the total number of static plus tunable hyperparameters
31424	// must remain the same as it is in all parent jobs. The objective metric for
31425	// the new tuning job must be the same as for all parent jobs.
31426	//
31427	// TRANSFER_LEARNING
31428	//
31429	// The new hyperparameter tuning job can include input data, hyperparameter
31430	// ranges, maximum number of concurrent training jobs, and maximum number of
31431	// training jobs that are different than those of its parent hyperparameter
31432	// tuning jobs. The training image can also be a different version from the
31433	// version used in the parent hyperparameter tuning job. You can also change
31434	// hyperparameters from tunable to static, and from static to tunable, but the
31435	// total number of static plus tunable hyperparameters must remain the same
31436	// as it is in all parent jobs. The objective metric for the new tuning job
31437	// must be the same as for all parent jobs.
31438	//
31439	// WarmStartType is a required field
31440	WarmStartType *string `type:"string" required:"true" enum:"HyperParameterTuningJobWarmStartType"`
31441}
31442
31443// String returns the string representation
31444func (s HyperParameterTuningJobWarmStartConfig) String() string {
31445	return awsutil.Prettify(s)
31446}
31447
31448// GoString returns the string representation
31449func (s HyperParameterTuningJobWarmStartConfig) GoString() string {
31450	return s.String()
31451}
31452
31453// Validate inspects the fields of the type to determine if they are valid.
31454func (s *HyperParameterTuningJobWarmStartConfig) Validate() error {
31455	invalidParams := request.ErrInvalidParams{Context: "HyperParameterTuningJobWarmStartConfig"}
31456	if s.ParentHyperParameterTuningJobs == nil {
31457		invalidParams.Add(request.NewErrParamRequired("ParentHyperParameterTuningJobs"))
31458	}
31459	if s.ParentHyperParameterTuningJobs != nil && len(s.ParentHyperParameterTuningJobs) < 1 {
31460		invalidParams.Add(request.NewErrParamMinLen("ParentHyperParameterTuningJobs", 1))
31461	}
31462	if s.WarmStartType == nil {
31463		invalidParams.Add(request.NewErrParamRequired("WarmStartType"))
31464	}
31465	if s.ParentHyperParameterTuningJobs != nil {
31466		for i, v := range s.ParentHyperParameterTuningJobs {
31467			if v == nil {
31468				continue
31469			}
31470			if err := v.Validate(); err != nil {
31471				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ParentHyperParameterTuningJobs", i), err.(request.ErrInvalidParams))
31472			}
31473		}
31474	}
31475
31476	if invalidParams.Len() > 0 {
31477		return invalidParams
31478	}
31479	return nil
31480}
31481
31482// SetParentHyperParameterTuningJobs sets the ParentHyperParameterTuningJobs field's value.
31483func (s *HyperParameterTuningJobWarmStartConfig) SetParentHyperParameterTuningJobs(v []*ParentHyperParameterTuningJob) *HyperParameterTuningJobWarmStartConfig {
31484	s.ParentHyperParameterTuningJobs = v
31485	return s
31486}
31487
31488// SetWarmStartType sets the WarmStartType field's value.
31489func (s *HyperParameterTuningJobWarmStartConfig) SetWarmStartType(v string) *HyperParameterTuningJobWarmStartConfig {
31490	s.WarmStartType = &v
31491	return s
31492}
31493
31494// Defines how to perform inference generation after a training job is run.
31495type InferenceSpecification struct {
31496	_ struct{} `type:"structure"`
31497
31498	// The Amazon ECR registry path of the Docker image that contains the inference
31499	// code.
31500	//
31501	// Containers is a required field
31502	Containers []*ModelPackageContainerDefinition `min:"1" type:"list" required:"true"`
31503
31504	// The supported MIME types for the input data.
31505	//
31506	// SupportedContentTypes is a required field
31507	SupportedContentTypes []*string `type:"list" required:"true"`
31508
31509	// A list of the instance types that are used to generate inferences in real-time.
31510	//
31511	// SupportedRealtimeInferenceInstanceTypes is a required field
31512	SupportedRealtimeInferenceInstanceTypes []*string `type:"list" required:"true"`
31513
31514	// The supported MIME types for the output data.
31515	//
31516	// SupportedResponseMIMETypes is a required field
31517	SupportedResponseMIMETypes []*string `type:"list" required:"true"`
31518
31519	// A list of the instance types on which a transformation job can be run or
31520	// on which an endpoint can be deployed.
31521	//
31522	// SupportedTransformInstanceTypes is a required field
31523	SupportedTransformInstanceTypes []*string `min:"1" type:"list" required:"true"`
31524}
31525
31526// String returns the string representation
31527func (s InferenceSpecification) String() string {
31528	return awsutil.Prettify(s)
31529}
31530
31531// GoString returns the string representation
31532func (s InferenceSpecification) GoString() string {
31533	return s.String()
31534}
31535
31536// Validate inspects the fields of the type to determine if they are valid.
31537func (s *InferenceSpecification) Validate() error {
31538	invalidParams := request.ErrInvalidParams{Context: "InferenceSpecification"}
31539	if s.Containers == nil {
31540		invalidParams.Add(request.NewErrParamRequired("Containers"))
31541	}
31542	if s.Containers != nil && len(s.Containers) < 1 {
31543		invalidParams.Add(request.NewErrParamMinLen("Containers", 1))
31544	}
31545	if s.SupportedContentTypes == nil {
31546		invalidParams.Add(request.NewErrParamRequired("SupportedContentTypes"))
31547	}
31548	if s.SupportedRealtimeInferenceInstanceTypes == nil {
31549		invalidParams.Add(request.NewErrParamRequired("SupportedRealtimeInferenceInstanceTypes"))
31550	}
31551	if s.SupportedResponseMIMETypes == nil {
31552		invalidParams.Add(request.NewErrParamRequired("SupportedResponseMIMETypes"))
31553	}
31554	if s.SupportedTransformInstanceTypes == nil {
31555		invalidParams.Add(request.NewErrParamRequired("SupportedTransformInstanceTypes"))
31556	}
31557	if s.SupportedTransformInstanceTypes != nil && len(s.SupportedTransformInstanceTypes) < 1 {
31558		invalidParams.Add(request.NewErrParamMinLen("SupportedTransformInstanceTypes", 1))
31559	}
31560	if s.Containers != nil {
31561		for i, v := range s.Containers {
31562			if v == nil {
31563				continue
31564			}
31565			if err := v.Validate(); err != nil {
31566				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Containers", i), err.(request.ErrInvalidParams))
31567			}
31568		}
31569	}
31570
31571	if invalidParams.Len() > 0 {
31572		return invalidParams
31573	}
31574	return nil
31575}
31576
31577// SetContainers sets the Containers field's value.
31578func (s *InferenceSpecification) SetContainers(v []*ModelPackageContainerDefinition) *InferenceSpecification {
31579	s.Containers = v
31580	return s
31581}
31582
31583// SetSupportedContentTypes sets the SupportedContentTypes field's value.
31584func (s *InferenceSpecification) SetSupportedContentTypes(v []*string) *InferenceSpecification {
31585	s.SupportedContentTypes = v
31586	return s
31587}
31588
31589// SetSupportedRealtimeInferenceInstanceTypes sets the SupportedRealtimeInferenceInstanceTypes field's value.
31590func (s *InferenceSpecification) SetSupportedRealtimeInferenceInstanceTypes(v []*string) *InferenceSpecification {
31591	s.SupportedRealtimeInferenceInstanceTypes = v
31592	return s
31593}
31594
31595// SetSupportedResponseMIMETypes sets the SupportedResponseMIMETypes field's value.
31596func (s *InferenceSpecification) SetSupportedResponseMIMETypes(v []*string) *InferenceSpecification {
31597	s.SupportedResponseMIMETypes = v
31598	return s
31599}
31600
31601// SetSupportedTransformInstanceTypes sets the SupportedTransformInstanceTypes field's value.
31602func (s *InferenceSpecification) SetSupportedTransformInstanceTypes(v []*string) *InferenceSpecification {
31603	s.SupportedTransformInstanceTypes = v
31604	return s
31605}
31606
31607// Contains information about the location of input model artifacts, the name
31608// and shape of the expected data inputs, and the framework in which the model
31609// was trained.
31610type InputConfig struct {
31611	_ struct{} `type:"structure"`
31612
31613	// Specifies the name and shape of the expected data inputs for your trained
31614	// model with a JSON dictionary form. The data inputs are InputConfig$Framework
31615	// specific.
31616	//
31617	//    * TensorFlow: You must specify the name and shape (NHWC format) of the
31618	//    expected data inputs using a dictionary format for your trained model.
31619	//    The dictionary formats required for the console and CLI are different.
31620	//    Examples for one input: If using the console, {"input":[1,1024,1024,3]}
31621	//    If using the CLI, {\"input\":[1,1024,1024,3]} Examples for two inputs:
31622	//    If using the console, {"data1": [1,28,28,1], "data2":[1,28,28,1]} If using
31623	//    the CLI, {\"data1\": [1,28,28,1], \"data2\":[1,28,28,1]}
31624	//
31625	//    * KERAS: You must specify the name and shape (NCHW format) of expected
31626	//    data inputs using a dictionary format for your trained model. Note that
31627	//    while Keras model artifacts should be uploaded in NHWC (channel-last)
31628	//    format, DataInputConfig should be specified in NCHW (channel-first) format.
31629	//    The dictionary formats required for the console and CLI are different.
31630	//    Examples for one input: If using the console, {"input_1":[1,3,224,224]}
31631	//    If using the CLI, {\"input_1\":[1,3,224,224]} Examples for two inputs:
31632	//    If using the console, {"input_1": [1,3,224,224], "input_2":[1,3,224,224]}
31633	//    If using the CLI, {\"input_1\": [1,3,224,224], \"input_2\":[1,3,224,224]}
31634	//
31635	//    * MXNET/ONNX: You must specify the name and shape (NCHW format) of the
31636	//    expected data inputs in order using a dictionary format for your trained
31637	//    model. The dictionary formats required for the console and CLI are different.
31638	//    Examples for one input: If using the console, {"data":[1,3,1024,1024]}
31639	//    If using the CLI, {\"data\":[1,3,1024,1024]} Examples for two inputs:
31640	//    If using the console, {"var1": [1,1,28,28], "var2":[1,1,28,28]} If using
31641	//    the CLI, {\"var1\": [1,1,28,28], \"var2\":[1,1,28,28]}
31642	//
31643	//    * PyTorch: You can either specify the name and shape (NCHW format) of
31644	//    expected data inputs in order using a dictionary format for your trained
31645	//    model or you can specify the shape only using a list format. The dictionary
31646	//    formats required for the console and CLI are different. The list formats
31647	//    for the console and CLI are the same. Examples for one input in dictionary
31648	//    format: If using the console, {"input0":[1,3,224,224]} If using the CLI,
31649	//    {\"input0\":[1,3,224,224]} Example for one input in list format: [[1,3,224,224]]
31650	//    Examples for two inputs in dictionary format: If using the console, {"input0":[1,3,224,224],
31651	//    "input1":[1,3,224,224]} If using the CLI, {\"input0\":[1,3,224,224], \"input1\":[1,3,224,224]}
31652	//    Example for two inputs in list format: [[1,3,224,224], [1,3,224,224]]
31653	//
31654	//    * XGBOOST: input data name and shape are not needed.
31655	//
31656	// DataInputConfig is a required field
31657	DataInputConfig *string `min:"1" type:"string" required:"true"`
31658
31659	// Identifies the framework in which the model was trained. For example: TENSORFLOW.
31660	//
31661	// Framework is a required field
31662	Framework *string `type:"string" required:"true" enum:"Framework"`
31663
31664	// The S3 path where the model artifacts, which result from model training,
31665	// are stored. This path must point to a single gzip compressed tar archive
31666	// (.tar.gz suffix).
31667	//
31668	// S3Uri is a required field
31669	S3Uri *string `type:"string" required:"true"`
31670}
31671
31672// String returns the string representation
31673func (s InputConfig) String() string {
31674	return awsutil.Prettify(s)
31675}
31676
31677// GoString returns the string representation
31678func (s InputConfig) GoString() string {
31679	return s.String()
31680}
31681
31682// Validate inspects the fields of the type to determine if they are valid.
31683func (s *InputConfig) Validate() error {
31684	invalidParams := request.ErrInvalidParams{Context: "InputConfig"}
31685	if s.DataInputConfig == nil {
31686		invalidParams.Add(request.NewErrParamRequired("DataInputConfig"))
31687	}
31688	if s.DataInputConfig != nil && len(*s.DataInputConfig) < 1 {
31689		invalidParams.Add(request.NewErrParamMinLen("DataInputConfig", 1))
31690	}
31691	if s.Framework == nil {
31692		invalidParams.Add(request.NewErrParamRequired("Framework"))
31693	}
31694	if s.S3Uri == nil {
31695		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
31696	}
31697
31698	if invalidParams.Len() > 0 {
31699		return invalidParams
31700	}
31701	return nil
31702}
31703
31704// SetDataInputConfig sets the DataInputConfig field's value.
31705func (s *InputConfig) SetDataInputConfig(v string) *InputConfig {
31706	s.DataInputConfig = &v
31707	return s
31708}
31709
31710// SetFramework sets the Framework field's value.
31711func (s *InputConfig) SetFramework(v string) *InputConfig {
31712	s.Framework = &v
31713	return s
31714}
31715
31716// SetS3Uri sets the S3Uri field's value.
31717func (s *InputConfig) SetS3Uri(v string) *InputConfig {
31718	s.S3Uri = &v
31719	return s
31720}
31721
31722// For a hyperparameter of the integer type, specifies the range that a hyperparameter
31723// tuning job searches.
31724type IntegerParameterRange struct {
31725	_ struct{} `type:"structure"`
31726
31727	// The maximum value of the hyperparameter to search.
31728	//
31729	// MaxValue is a required field
31730	MaxValue *string `type:"string" required:"true"`
31731
31732	// The minimum value of the hyperparameter to search.
31733	//
31734	// MinValue is a required field
31735	MinValue *string `type:"string" required:"true"`
31736
31737	// The name of the hyperparameter to search.
31738	//
31739	// Name is a required field
31740	Name *string `type:"string" required:"true"`
31741
31742	// The scale that hyperparameter tuning uses to search the hyperparameter range.
31743	// For information about choosing a hyperparameter scale, see Hyperparameter
31744	// Scaling (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-ranges.html#scaling-type).
31745	// One of the following values:
31746	//
31747	// Auto
31748	//
31749	// Amazon SageMaker hyperparameter tuning chooses the best scale for the hyperparameter.
31750	//
31751	// Linear
31752	//
31753	// Hyperparameter tuning searches the values in the hyperparameter range by
31754	// using a linear scale.
31755	//
31756	// Logarithmic
31757	//
31758	// Hyperparameter tuning searches the values in the hyperparameter range by
31759	// using a logarithmic scale.
31760	//
31761	// Logarithmic scaling works only for ranges that have only values greater than
31762	// 0.
31763	ScalingType *string `type:"string" enum:"HyperParameterScalingType"`
31764}
31765
31766// String returns the string representation
31767func (s IntegerParameterRange) String() string {
31768	return awsutil.Prettify(s)
31769}
31770
31771// GoString returns the string representation
31772func (s IntegerParameterRange) GoString() string {
31773	return s.String()
31774}
31775
31776// Validate inspects the fields of the type to determine if they are valid.
31777func (s *IntegerParameterRange) Validate() error {
31778	invalidParams := request.ErrInvalidParams{Context: "IntegerParameterRange"}
31779	if s.MaxValue == nil {
31780		invalidParams.Add(request.NewErrParamRequired("MaxValue"))
31781	}
31782	if s.MinValue == nil {
31783		invalidParams.Add(request.NewErrParamRequired("MinValue"))
31784	}
31785	if s.Name == nil {
31786		invalidParams.Add(request.NewErrParamRequired("Name"))
31787	}
31788
31789	if invalidParams.Len() > 0 {
31790		return invalidParams
31791	}
31792	return nil
31793}
31794
31795// SetMaxValue sets the MaxValue field's value.
31796func (s *IntegerParameterRange) SetMaxValue(v string) *IntegerParameterRange {
31797	s.MaxValue = &v
31798	return s
31799}
31800
31801// SetMinValue sets the MinValue field's value.
31802func (s *IntegerParameterRange) SetMinValue(v string) *IntegerParameterRange {
31803	s.MinValue = &v
31804	return s
31805}
31806
31807// SetName sets the Name field's value.
31808func (s *IntegerParameterRange) SetName(v string) *IntegerParameterRange {
31809	s.Name = &v
31810	return s
31811}
31812
31813// SetScalingType sets the ScalingType field's value.
31814func (s *IntegerParameterRange) SetScalingType(v string) *IntegerParameterRange {
31815	s.ScalingType = &v
31816	return s
31817}
31818
31819// Defines the possible values for an integer hyperparameter.
31820type IntegerParameterRangeSpecification struct {
31821	_ struct{} `type:"structure"`
31822
31823	// The maximum integer value allowed.
31824	//
31825	// MaxValue is a required field
31826	MaxValue *string `type:"string" required:"true"`
31827
31828	// The minimum integer value allowed.
31829	//
31830	// MinValue is a required field
31831	MinValue *string `type:"string" required:"true"`
31832}
31833
31834// String returns the string representation
31835func (s IntegerParameterRangeSpecification) String() string {
31836	return awsutil.Prettify(s)
31837}
31838
31839// GoString returns the string representation
31840func (s IntegerParameterRangeSpecification) GoString() string {
31841	return s.String()
31842}
31843
31844// Validate inspects the fields of the type to determine if they are valid.
31845func (s *IntegerParameterRangeSpecification) Validate() error {
31846	invalidParams := request.ErrInvalidParams{Context: "IntegerParameterRangeSpecification"}
31847	if s.MaxValue == nil {
31848		invalidParams.Add(request.NewErrParamRequired("MaxValue"))
31849	}
31850	if s.MinValue == nil {
31851		invalidParams.Add(request.NewErrParamRequired("MinValue"))
31852	}
31853
31854	if invalidParams.Len() > 0 {
31855		return invalidParams
31856	}
31857	return nil
31858}
31859
31860// SetMaxValue sets the MaxValue field's value.
31861func (s *IntegerParameterRangeSpecification) SetMaxValue(v string) *IntegerParameterRangeSpecification {
31862	s.MaxValue = &v
31863	return s
31864}
31865
31866// SetMinValue sets the MinValue field's value.
31867func (s *IntegerParameterRangeSpecification) SetMinValue(v string) *IntegerParameterRangeSpecification {
31868	s.MinValue = &v
31869	return s
31870}
31871
31872// Jupyter server's app settings.
31873type JupyterServerAppSettings struct {
31874	_ struct{} `type:"structure"`
31875
31876	// The default instance type and the Amazon Resource Name (ARN) of the SageMaker
31877	// image created on the instance.
31878	DefaultResourceSpec *ResourceSpec `type:"structure"`
31879}
31880
31881// String returns the string representation
31882func (s JupyterServerAppSettings) String() string {
31883	return awsutil.Prettify(s)
31884}
31885
31886// GoString returns the string representation
31887func (s JupyterServerAppSettings) GoString() string {
31888	return s.String()
31889}
31890
31891// SetDefaultResourceSpec sets the DefaultResourceSpec field's value.
31892func (s *JupyterServerAppSettings) SetDefaultResourceSpec(v *ResourceSpec) *JupyterServerAppSettings {
31893	s.DefaultResourceSpec = v
31894	return s
31895}
31896
31897// The kernel gateway app settings.
31898type KernelGatewayAppSettings struct {
31899	_ struct{} `type:"structure"`
31900
31901	// The default instance type and the Amazon Resource Name (ARN) of the SageMaker
31902	// image created on the instance.
31903	DefaultResourceSpec *ResourceSpec `type:"structure"`
31904}
31905
31906// String returns the string representation
31907func (s KernelGatewayAppSettings) String() string {
31908	return awsutil.Prettify(s)
31909}
31910
31911// GoString returns the string representation
31912func (s KernelGatewayAppSettings) GoString() string {
31913	return s.String()
31914}
31915
31916// SetDefaultResourceSpec sets the DefaultResourceSpec field's value.
31917func (s *KernelGatewayAppSettings) SetDefaultResourceSpec(v *ResourceSpec) *KernelGatewayAppSettings {
31918	s.DefaultResourceSpec = v
31919	return s
31920}
31921
31922// Provides a breakdown of the number of objects labeled.
31923type LabelCounters struct {
31924	_ struct{} `type:"structure"`
31925
31926	// The total number of objects that could not be labeled due to an error.
31927	FailedNonRetryableError *int64 `type:"integer"`
31928
31929	// The total number of objects labeled by a human worker.
31930	HumanLabeled *int64 `type:"integer"`
31931
31932	// The total number of objects labeled by automated data labeling.
31933	MachineLabeled *int64 `type:"integer"`
31934
31935	// The total number of objects labeled.
31936	TotalLabeled *int64 `type:"integer"`
31937
31938	// The total number of objects not yet labeled.
31939	Unlabeled *int64 `type:"integer"`
31940}
31941
31942// String returns the string representation
31943func (s LabelCounters) String() string {
31944	return awsutil.Prettify(s)
31945}
31946
31947// GoString returns the string representation
31948func (s LabelCounters) GoString() string {
31949	return s.String()
31950}
31951
31952// SetFailedNonRetryableError sets the FailedNonRetryableError field's value.
31953func (s *LabelCounters) SetFailedNonRetryableError(v int64) *LabelCounters {
31954	s.FailedNonRetryableError = &v
31955	return s
31956}
31957
31958// SetHumanLabeled sets the HumanLabeled field's value.
31959func (s *LabelCounters) SetHumanLabeled(v int64) *LabelCounters {
31960	s.HumanLabeled = &v
31961	return s
31962}
31963
31964// SetMachineLabeled sets the MachineLabeled field's value.
31965func (s *LabelCounters) SetMachineLabeled(v int64) *LabelCounters {
31966	s.MachineLabeled = &v
31967	return s
31968}
31969
31970// SetTotalLabeled sets the TotalLabeled field's value.
31971func (s *LabelCounters) SetTotalLabeled(v int64) *LabelCounters {
31972	s.TotalLabeled = &v
31973	return s
31974}
31975
31976// SetUnlabeled sets the Unlabeled field's value.
31977func (s *LabelCounters) SetUnlabeled(v int64) *LabelCounters {
31978	s.Unlabeled = &v
31979	return s
31980}
31981
31982// Provides counts for human-labeled tasks in the labeling job.
31983type LabelCountersForWorkteam struct {
31984	_ struct{} `type:"structure"`
31985
31986	// The total number of data objects labeled by a human worker.
31987	HumanLabeled *int64 `type:"integer"`
31988
31989	// The total number of data objects that need to be labeled by a human worker.
31990	PendingHuman *int64 `type:"integer"`
31991
31992	// The total number of tasks in the labeling job.
31993	Total *int64 `type:"integer"`
31994}
31995
31996// String returns the string representation
31997func (s LabelCountersForWorkteam) String() string {
31998	return awsutil.Prettify(s)
31999}
32000
32001// GoString returns the string representation
32002func (s LabelCountersForWorkteam) GoString() string {
32003	return s.String()
32004}
32005
32006// SetHumanLabeled sets the HumanLabeled field's value.
32007func (s *LabelCountersForWorkteam) SetHumanLabeled(v int64) *LabelCountersForWorkteam {
32008	s.HumanLabeled = &v
32009	return s
32010}
32011
32012// SetPendingHuman sets the PendingHuman field's value.
32013func (s *LabelCountersForWorkteam) SetPendingHuman(v int64) *LabelCountersForWorkteam {
32014	s.PendingHuman = &v
32015	return s
32016}
32017
32018// SetTotal sets the Total field's value.
32019func (s *LabelCountersForWorkteam) SetTotal(v int64) *LabelCountersForWorkteam {
32020	s.Total = &v
32021	return s
32022}
32023
32024// Provides configuration information for auto-labeling of your data objects.
32025// A LabelingJobAlgorithmsConfig object must be supplied in order to use auto-labeling.
32026type LabelingJobAlgorithmsConfig struct {
32027	_ struct{} `type:"structure"`
32028
32029	// At the end of an auto-label job Amazon SageMaker Ground Truth sends the Amazon
32030	// Resource Nam (ARN) of the final model used for auto-labeling. You can use
32031	// this model as the starting point for subsequent similar jobs by providing
32032	// the ARN of the model here.
32033	InitialActiveLearningModelArn *string `min:"20" type:"string"`
32034
32035	// Specifies the Amazon Resource Name (ARN) of the algorithm used for auto-labeling.
32036	// You must select one of the following ARNs:
32037	//
32038	//    * Image classification arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/image-classification
32039	//
32040	//    * Text classification arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/text-classification
32041	//
32042	//    * Object detection arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/object-detection
32043	//
32044	//    * Semantic Segmentation arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/semantic-segmentation
32045	//
32046	// LabelingJobAlgorithmSpecificationArn is a required field
32047	LabelingJobAlgorithmSpecificationArn *string `type:"string" required:"true"`
32048
32049	// Provides configuration information for a labeling job.
32050	LabelingJobResourceConfig *LabelingJobResourceConfig `type:"structure"`
32051}
32052
32053// String returns the string representation
32054func (s LabelingJobAlgorithmsConfig) String() string {
32055	return awsutil.Prettify(s)
32056}
32057
32058// GoString returns the string representation
32059func (s LabelingJobAlgorithmsConfig) GoString() string {
32060	return s.String()
32061}
32062
32063// Validate inspects the fields of the type to determine if they are valid.
32064func (s *LabelingJobAlgorithmsConfig) Validate() error {
32065	invalidParams := request.ErrInvalidParams{Context: "LabelingJobAlgorithmsConfig"}
32066	if s.InitialActiveLearningModelArn != nil && len(*s.InitialActiveLearningModelArn) < 20 {
32067		invalidParams.Add(request.NewErrParamMinLen("InitialActiveLearningModelArn", 20))
32068	}
32069	if s.LabelingJobAlgorithmSpecificationArn == nil {
32070		invalidParams.Add(request.NewErrParamRequired("LabelingJobAlgorithmSpecificationArn"))
32071	}
32072
32073	if invalidParams.Len() > 0 {
32074		return invalidParams
32075	}
32076	return nil
32077}
32078
32079// SetInitialActiveLearningModelArn sets the InitialActiveLearningModelArn field's value.
32080func (s *LabelingJobAlgorithmsConfig) SetInitialActiveLearningModelArn(v string) *LabelingJobAlgorithmsConfig {
32081	s.InitialActiveLearningModelArn = &v
32082	return s
32083}
32084
32085// SetLabelingJobAlgorithmSpecificationArn sets the LabelingJobAlgorithmSpecificationArn field's value.
32086func (s *LabelingJobAlgorithmsConfig) SetLabelingJobAlgorithmSpecificationArn(v string) *LabelingJobAlgorithmsConfig {
32087	s.LabelingJobAlgorithmSpecificationArn = &v
32088	return s
32089}
32090
32091// SetLabelingJobResourceConfig sets the LabelingJobResourceConfig field's value.
32092func (s *LabelingJobAlgorithmsConfig) SetLabelingJobResourceConfig(v *LabelingJobResourceConfig) *LabelingJobAlgorithmsConfig {
32093	s.LabelingJobResourceConfig = v
32094	return s
32095}
32096
32097// Attributes of the data specified by the customer. Use these to describe the
32098// data to be labeled.
32099type LabelingJobDataAttributes struct {
32100	_ struct{} `type:"structure"`
32101
32102	// Declares that your content is free of personally identifiable information
32103	// or adult content. Amazon SageMaker may restrict the Amazon Mechanical Turk
32104	// workers that can view your task based on this information.
32105	ContentClassifiers []*string `type:"list"`
32106}
32107
32108// String returns the string representation
32109func (s LabelingJobDataAttributes) String() string {
32110	return awsutil.Prettify(s)
32111}
32112
32113// GoString returns the string representation
32114func (s LabelingJobDataAttributes) GoString() string {
32115	return s.String()
32116}
32117
32118// SetContentClassifiers sets the ContentClassifiers field's value.
32119func (s *LabelingJobDataAttributes) SetContentClassifiers(v []*string) *LabelingJobDataAttributes {
32120	s.ContentClassifiers = v
32121	return s
32122}
32123
32124// Provides information about the location of input data.
32125type LabelingJobDataSource struct {
32126	_ struct{} `type:"structure"`
32127
32128	// The Amazon S3 location of the input data objects.
32129	S3DataSource *LabelingJobS3DataSource `type:"structure"`
32130}
32131
32132// String returns the string representation
32133func (s LabelingJobDataSource) String() string {
32134	return awsutil.Prettify(s)
32135}
32136
32137// GoString returns the string representation
32138func (s LabelingJobDataSource) GoString() string {
32139	return s.String()
32140}
32141
32142// Validate inspects the fields of the type to determine if they are valid.
32143func (s *LabelingJobDataSource) Validate() error {
32144	invalidParams := request.ErrInvalidParams{Context: "LabelingJobDataSource"}
32145	if s.S3DataSource != nil {
32146		if err := s.S3DataSource.Validate(); err != nil {
32147			invalidParams.AddNested("S3DataSource", err.(request.ErrInvalidParams))
32148		}
32149	}
32150
32151	if invalidParams.Len() > 0 {
32152		return invalidParams
32153	}
32154	return nil
32155}
32156
32157// SetS3DataSource sets the S3DataSource field's value.
32158func (s *LabelingJobDataSource) SetS3DataSource(v *LabelingJobS3DataSource) *LabelingJobDataSource {
32159	s.S3DataSource = v
32160	return s
32161}
32162
32163// Provides summary information for a work team.
32164type LabelingJobForWorkteamSummary struct {
32165	_ struct{} `type:"structure"`
32166
32167	// The date and time that the labeling job was created.
32168	//
32169	// CreationTime is a required field
32170	CreationTime *time.Time `type:"timestamp" required:"true"`
32171
32172	// A unique identifier for a labeling job. You can use this to refer to a specific
32173	// labeling job.
32174	//
32175	// JobReferenceCode is a required field
32176	JobReferenceCode *string `min:"1" type:"string" required:"true"`
32177
32178	// Provides information about the progress of a labeling job.
32179	LabelCounters *LabelCountersForWorkteam `type:"structure"`
32180
32181	// The name of the labeling job that the work team is assigned to.
32182	LabelingJobName *string `min:"1" type:"string"`
32183
32184	// The configured number of workers per data object.
32185	NumberOfHumanWorkersPerDataObject *int64 `min:"1" type:"integer"`
32186
32187	// WorkRequesterAccountId is a required field
32188	WorkRequesterAccountId *string `type:"string" required:"true"`
32189}
32190
32191// String returns the string representation
32192func (s LabelingJobForWorkteamSummary) String() string {
32193	return awsutil.Prettify(s)
32194}
32195
32196// GoString returns the string representation
32197func (s LabelingJobForWorkteamSummary) GoString() string {
32198	return s.String()
32199}
32200
32201// SetCreationTime sets the CreationTime field's value.
32202func (s *LabelingJobForWorkteamSummary) SetCreationTime(v time.Time) *LabelingJobForWorkteamSummary {
32203	s.CreationTime = &v
32204	return s
32205}
32206
32207// SetJobReferenceCode sets the JobReferenceCode field's value.
32208func (s *LabelingJobForWorkteamSummary) SetJobReferenceCode(v string) *LabelingJobForWorkteamSummary {
32209	s.JobReferenceCode = &v
32210	return s
32211}
32212
32213// SetLabelCounters sets the LabelCounters field's value.
32214func (s *LabelingJobForWorkteamSummary) SetLabelCounters(v *LabelCountersForWorkteam) *LabelingJobForWorkteamSummary {
32215	s.LabelCounters = v
32216	return s
32217}
32218
32219// SetLabelingJobName sets the LabelingJobName field's value.
32220func (s *LabelingJobForWorkteamSummary) SetLabelingJobName(v string) *LabelingJobForWorkteamSummary {
32221	s.LabelingJobName = &v
32222	return s
32223}
32224
32225// SetNumberOfHumanWorkersPerDataObject sets the NumberOfHumanWorkersPerDataObject field's value.
32226func (s *LabelingJobForWorkteamSummary) SetNumberOfHumanWorkersPerDataObject(v int64) *LabelingJobForWorkteamSummary {
32227	s.NumberOfHumanWorkersPerDataObject = &v
32228	return s
32229}
32230
32231// SetWorkRequesterAccountId sets the WorkRequesterAccountId field's value.
32232func (s *LabelingJobForWorkteamSummary) SetWorkRequesterAccountId(v string) *LabelingJobForWorkteamSummary {
32233	s.WorkRequesterAccountId = &v
32234	return s
32235}
32236
32237// Input configuration information for a labeling job.
32238type LabelingJobInputConfig struct {
32239	_ struct{} `type:"structure"`
32240
32241	// Attributes of the data specified by the customer.
32242	DataAttributes *LabelingJobDataAttributes `type:"structure"`
32243
32244	// The location of the input data.
32245	//
32246	// DataSource is a required field
32247	DataSource *LabelingJobDataSource `type:"structure" required:"true"`
32248}
32249
32250// String returns the string representation
32251func (s LabelingJobInputConfig) String() string {
32252	return awsutil.Prettify(s)
32253}
32254
32255// GoString returns the string representation
32256func (s LabelingJobInputConfig) GoString() string {
32257	return s.String()
32258}
32259
32260// Validate inspects the fields of the type to determine if they are valid.
32261func (s *LabelingJobInputConfig) Validate() error {
32262	invalidParams := request.ErrInvalidParams{Context: "LabelingJobInputConfig"}
32263	if s.DataSource == nil {
32264		invalidParams.Add(request.NewErrParamRequired("DataSource"))
32265	}
32266	if s.DataSource != nil {
32267		if err := s.DataSource.Validate(); err != nil {
32268			invalidParams.AddNested("DataSource", err.(request.ErrInvalidParams))
32269		}
32270	}
32271
32272	if invalidParams.Len() > 0 {
32273		return invalidParams
32274	}
32275	return nil
32276}
32277
32278// SetDataAttributes sets the DataAttributes field's value.
32279func (s *LabelingJobInputConfig) SetDataAttributes(v *LabelingJobDataAttributes) *LabelingJobInputConfig {
32280	s.DataAttributes = v
32281	return s
32282}
32283
32284// SetDataSource sets the DataSource field's value.
32285func (s *LabelingJobInputConfig) SetDataSource(v *LabelingJobDataSource) *LabelingJobInputConfig {
32286	s.DataSource = v
32287	return s
32288}
32289
32290// Specifies the location of the output produced by the labeling job.
32291type LabelingJobOutput struct {
32292	_ struct{} `type:"structure"`
32293
32294	// The Amazon Resource Name (ARN) for the most recent Amazon SageMaker model
32295	// trained as part of automated data labeling.
32296	FinalActiveLearningModelArn *string `min:"20" type:"string"`
32297
32298	// The Amazon S3 bucket location of the manifest file for labeled data.
32299	//
32300	// OutputDatasetS3Uri is a required field
32301	OutputDatasetS3Uri *string `type:"string" required:"true"`
32302}
32303
32304// String returns the string representation
32305func (s LabelingJobOutput) String() string {
32306	return awsutil.Prettify(s)
32307}
32308
32309// GoString returns the string representation
32310func (s LabelingJobOutput) GoString() string {
32311	return s.String()
32312}
32313
32314// SetFinalActiveLearningModelArn sets the FinalActiveLearningModelArn field's value.
32315func (s *LabelingJobOutput) SetFinalActiveLearningModelArn(v string) *LabelingJobOutput {
32316	s.FinalActiveLearningModelArn = &v
32317	return s
32318}
32319
32320// SetOutputDatasetS3Uri sets the OutputDatasetS3Uri field's value.
32321func (s *LabelingJobOutput) SetOutputDatasetS3Uri(v string) *LabelingJobOutput {
32322	s.OutputDatasetS3Uri = &v
32323	return s
32324}
32325
32326// Output configuration information for a labeling job.
32327type LabelingJobOutputConfig struct {
32328	_ struct{} `type:"structure"`
32329
32330	// The AWS Key Management Service ID of the key used to encrypt the output data,
32331	// if any.
32332	//
32333	// If you use a KMS key ID or an alias of your master key, the Amazon SageMaker
32334	// execution role must include permissions to call kms:Encrypt. If you don't
32335	// provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon
32336	// S3 for your role's account. Amazon SageMaker uses server-side encryption
32337	// with KMS-managed keys for LabelingJobOutputConfig. If you use a bucket policy
32338	// with an s3:PutObject permission that only allows objects with server-side
32339	// encryption, set the condition key of s3:x-amz-server-side-encryption to "aws:kms".
32340	// For more information, see KMS-Managed Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html)
32341	// in the Amazon Simple Storage Service Developer Guide.
32342	//
32343	// The KMS key policy must grant permission to the IAM role that you specify
32344	// in your CreateLabelingJob request. For more information, see Using Key Policies
32345	// in AWS KMS (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html)
32346	// in the AWS Key Management Service Developer Guide.
32347	KmsKeyId *string `type:"string"`
32348
32349	// The Amazon S3 location to write output data.
32350	//
32351	// S3OutputPath is a required field
32352	S3OutputPath *string `type:"string" required:"true"`
32353}
32354
32355// String returns the string representation
32356func (s LabelingJobOutputConfig) String() string {
32357	return awsutil.Prettify(s)
32358}
32359
32360// GoString returns the string representation
32361func (s LabelingJobOutputConfig) GoString() string {
32362	return s.String()
32363}
32364
32365// Validate inspects the fields of the type to determine if they are valid.
32366func (s *LabelingJobOutputConfig) Validate() error {
32367	invalidParams := request.ErrInvalidParams{Context: "LabelingJobOutputConfig"}
32368	if s.S3OutputPath == nil {
32369		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
32370	}
32371
32372	if invalidParams.Len() > 0 {
32373		return invalidParams
32374	}
32375	return nil
32376}
32377
32378// SetKmsKeyId sets the KmsKeyId field's value.
32379func (s *LabelingJobOutputConfig) SetKmsKeyId(v string) *LabelingJobOutputConfig {
32380	s.KmsKeyId = &v
32381	return s
32382}
32383
32384// SetS3OutputPath sets the S3OutputPath field's value.
32385func (s *LabelingJobOutputConfig) SetS3OutputPath(v string) *LabelingJobOutputConfig {
32386	s.S3OutputPath = &v
32387	return s
32388}
32389
32390// Provides configuration information for labeling jobs.
32391type LabelingJobResourceConfig struct {
32392	_ struct{} `type:"structure"`
32393
32394	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
32395	// encrypt data on the storage volume attached to the ML compute instance(s)
32396	// that run the training job. The VolumeKmsKeyId can be any of the following
32397	// formats:
32398	//
32399	//    * // KMS Key ID "1234abcd-12ab-34cd-56ef-1234567890ab"
32400	//
32401	//    * // Amazon Resource Name (ARN) of a KMS Key "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
32402	VolumeKmsKeyId *string `type:"string"`
32403}
32404
32405// String returns the string representation
32406func (s LabelingJobResourceConfig) String() string {
32407	return awsutil.Prettify(s)
32408}
32409
32410// GoString returns the string representation
32411func (s LabelingJobResourceConfig) GoString() string {
32412	return s.String()
32413}
32414
32415// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
32416func (s *LabelingJobResourceConfig) SetVolumeKmsKeyId(v string) *LabelingJobResourceConfig {
32417	s.VolumeKmsKeyId = &v
32418	return s
32419}
32420
32421// The Amazon S3 location of the input data objects.
32422type LabelingJobS3DataSource struct {
32423	_ struct{} `type:"structure"`
32424
32425	// The Amazon S3 location of the manifest file that describes the input data
32426	// objects.
32427	//
32428	// ManifestS3Uri is a required field
32429	ManifestS3Uri *string `type:"string" required:"true"`
32430}
32431
32432// String returns the string representation
32433func (s LabelingJobS3DataSource) String() string {
32434	return awsutil.Prettify(s)
32435}
32436
32437// GoString returns the string representation
32438func (s LabelingJobS3DataSource) GoString() string {
32439	return s.String()
32440}
32441
32442// Validate inspects the fields of the type to determine if they are valid.
32443func (s *LabelingJobS3DataSource) Validate() error {
32444	invalidParams := request.ErrInvalidParams{Context: "LabelingJobS3DataSource"}
32445	if s.ManifestS3Uri == nil {
32446		invalidParams.Add(request.NewErrParamRequired("ManifestS3Uri"))
32447	}
32448
32449	if invalidParams.Len() > 0 {
32450		return invalidParams
32451	}
32452	return nil
32453}
32454
32455// SetManifestS3Uri sets the ManifestS3Uri field's value.
32456func (s *LabelingJobS3DataSource) SetManifestS3Uri(v string) *LabelingJobS3DataSource {
32457	s.ManifestS3Uri = &v
32458	return s
32459}
32460
32461// A set of conditions for stopping a labeling job. If any of the conditions
32462// are met, the job is automatically stopped. You can use these conditions to
32463// control the cost of data labeling.
32464//
32465// Labeling jobs fail after 30 days with an appropriate client error message.
32466type LabelingJobStoppingConditions struct {
32467	_ struct{} `type:"structure"`
32468
32469	// The maximum number of objects that can be labeled by human workers.
32470	MaxHumanLabeledObjectCount *int64 `min:"1" type:"integer"`
32471
32472	// The maximum number of input data objects that should be labeled.
32473	MaxPercentageOfInputDatasetLabeled *int64 `min:"1" type:"integer"`
32474}
32475
32476// String returns the string representation
32477func (s LabelingJobStoppingConditions) String() string {
32478	return awsutil.Prettify(s)
32479}
32480
32481// GoString returns the string representation
32482func (s LabelingJobStoppingConditions) GoString() string {
32483	return s.String()
32484}
32485
32486// Validate inspects the fields of the type to determine if they are valid.
32487func (s *LabelingJobStoppingConditions) Validate() error {
32488	invalidParams := request.ErrInvalidParams{Context: "LabelingJobStoppingConditions"}
32489	if s.MaxHumanLabeledObjectCount != nil && *s.MaxHumanLabeledObjectCount < 1 {
32490		invalidParams.Add(request.NewErrParamMinValue("MaxHumanLabeledObjectCount", 1))
32491	}
32492	if s.MaxPercentageOfInputDatasetLabeled != nil && *s.MaxPercentageOfInputDatasetLabeled < 1 {
32493		invalidParams.Add(request.NewErrParamMinValue("MaxPercentageOfInputDatasetLabeled", 1))
32494	}
32495
32496	if invalidParams.Len() > 0 {
32497		return invalidParams
32498	}
32499	return nil
32500}
32501
32502// SetMaxHumanLabeledObjectCount sets the MaxHumanLabeledObjectCount field's value.
32503func (s *LabelingJobStoppingConditions) SetMaxHumanLabeledObjectCount(v int64) *LabelingJobStoppingConditions {
32504	s.MaxHumanLabeledObjectCount = &v
32505	return s
32506}
32507
32508// SetMaxPercentageOfInputDatasetLabeled sets the MaxPercentageOfInputDatasetLabeled field's value.
32509func (s *LabelingJobStoppingConditions) SetMaxPercentageOfInputDatasetLabeled(v int64) *LabelingJobStoppingConditions {
32510	s.MaxPercentageOfInputDatasetLabeled = &v
32511	return s
32512}
32513
32514// Provides summary information about a labeling job.
32515type LabelingJobSummary struct {
32516	_ struct{} `type:"structure"`
32517
32518	// The Amazon Resource Name (ARN) of the Lambda function used to consolidate
32519	// the annotations from individual workers into a label for a data object. For
32520	// more information, see Annotation Consolidation (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-annotation-consolidation.html).
32521	AnnotationConsolidationLambdaArn *string `type:"string"`
32522
32523	// The date and time that the job was created (timestamp).
32524	//
32525	// CreationTime is a required field
32526	CreationTime *time.Time `type:"timestamp" required:"true"`
32527
32528	// If the LabelingJobStatus field is Failed, this field contains a description
32529	// of the error.
32530	FailureReason *string `type:"string"`
32531
32532	// Input configuration for the labeling job.
32533	InputConfig *LabelingJobInputConfig `type:"structure"`
32534
32535	// Counts showing the progress of the labeling job.
32536	//
32537	// LabelCounters is a required field
32538	LabelCounters *LabelCounters `type:"structure" required:"true"`
32539
32540	// The Amazon Resource Name (ARN) assigned to the labeling job when it was created.
32541	//
32542	// LabelingJobArn is a required field
32543	LabelingJobArn *string `type:"string" required:"true"`
32544
32545	// The name of the labeling job.
32546	//
32547	// LabelingJobName is a required field
32548	LabelingJobName *string `min:"1" type:"string" required:"true"`
32549
32550	// The location of the output produced by the labeling job.
32551	LabelingJobOutput *LabelingJobOutput `type:"structure"`
32552
32553	// The current status of the labeling job.
32554	//
32555	// LabelingJobStatus is a required field
32556	LabelingJobStatus *string `type:"string" required:"true" enum:"LabelingJobStatus"`
32557
32558	// The date and time that the job was last modified (timestamp).
32559	//
32560	// LastModifiedTime is a required field
32561	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
32562
32563	// The Amazon Resource Name (ARN) of a Lambda function. The function is run
32564	// before each data object is sent to a worker.
32565	//
32566	// PreHumanTaskLambdaArn is a required field
32567	PreHumanTaskLambdaArn *string `type:"string" required:"true"`
32568
32569	// The Amazon Resource Name (ARN) of the work team assigned to the job.
32570	//
32571	// WorkteamArn is a required field
32572	WorkteamArn *string `type:"string" required:"true"`
32573}
32574
32575// String returns the string representation
32576func (s LabelingJobSummary) String() string {
32577	return awsutil.Prettify(s)
32578}
32579
32580// GoString returns the string representation
32581func (s LabelingJobSummary) GoString() string {
32582	return s.String()
32583}
32584
32585// SetAnnotationConsolidationLambdaArn sets the AnnotationConsolidationLambdaArn field's value.
32586func (s *LabelingJobSummary) SetAnnotationConsolidationLambdaArn(v string) *LabelingJobSummary {
32587	s.AnnotationConsolidationLambdaArn = &v
32588	return s
32589}
32590
32591// SetCreationTime sets the CreationTime field's value.
32592func (s *LabelingJobSummary) SetCreationTime(v time.Time) *LabelingJobSummary {
32593	s.CreationTime = &v
32594	return s
32595}
32596
32597// SetFailureReason sets the FailureReason field's value.
32598func (s *LabelingJobSummary) SetFailureReason(v string) *LabelingJobSummary {
32599	s.FailureReason = &v
32600	return s
32601}
32602
32603// SetInputConfig sets the InputConfig field's value.
32604func (s *LabelingJobSummary) SetInputConfig(v *LabelingJobInputConfig) *LabelingJobSummary {
32605	s.InputConfig = v
32606	return s
32607}
32608
32609// SetLabelCounters sets the LabelCounters field's value.
32610func (s *LabelingJobSummary) SetLabelCounters(v *LabelCounters) *LabelingJobSummary {
32611	s.LabelCounters = v
32612	return s
32613}
32614
32615// SetLabelingJobArn sets the LabelingJobArn field's value.
32616func (s *LabelingJobSummary) SetLabelingJobArn(v string) *LabelingJobSummary {
32617	s.LabelingJobArn = &v
32618	return s
32619}
32620
32621// SetLabelingJobName sets the LabelingJobName field's value.
32622func (s *LabelingJobSummary) SetLabelingJobName(v string) *LabelingJobSummary {
32623	s.LabelingJobName = &v
32624	return s
32625}
32626
32627// SetLabelingJobOutput sets the LabelingJobOutput field's value.
32628func (s *LabelingJobSummary) SetLabelingJobOutput(v *LabelingJobOutput) *LabelingJobSummary {
32629	s.LabelingJobOutput = v
32630	return s
32631}
32632
32633// SetLabelingJobStatus sets the LabelingJobStatus field's value.
32634func (s *LabelingJobSummary) SetLabelingJobStatus(v string) *LabelingJobSummary {
32635	s.LabelingJobStatus = &v
32636	return s
32637}
32638
32639// SetLastModifiedTime sets the LastModifiedTime field's value.
32640func (s *LabelingJobSummary) SetLastModifiedTime(v time.Time) *LabelingJobSummary {
32641	s.LastModifiedTime = &v
32642	return s
32643}
32644
32645// SetPreHumanTaskLambdaArn sets the PreHumanTaskLambdaArn field's value.
32646func (s *LabelingJobSummary) SetPreHumanTaskLambdaArn(v string) *LabelingJobSummary {
32647	s.PreHumanTaskLambdaArn = &v
32648	return s
32649}
32650
32651// SetWorkteamArn sets the WorkteamArn field's value.
32652func (s *LabelingJobSummary) SetWorkteamArn(v string) *LabelingJobSummary {
32653	s.WorkteamArn = &v
32654	return s
32655}
32656
32657type ListAlgorithmsInput struct {
32658	_ struct{} `type:"structure"`
32659
32660	// A filter that returns only algorithms created after the specified time (timestamp).
32661	CreationTimeAfter *time.Time `type:"timestamp"`
32662
32663	// A filter that returns only algorithms created before the specified time (timestamp).
32664	CreationTimeBefore *time.Time `type:"timestamp"`
32665
32666	// The maximum number of algorithms to return in the response.
32667	MaxResults *int64 `min:"1" type:"integer"`
32668
32669	// A string in the algorithm name. This filter returns only algorithms whose
32670	// name contains the specified string.
32671	NameContains *string `type:"string"`
32672
32673	// If the response to a previous ListAlgorithms request was truncated, the response
32674	// includes a NextToken. To retrieve the next set of algorithms, use the token
32675	// in the next request.
32676	NextToken *string `type:"string"`
32677
32678	// The parameter by which to sort the results. The default is CreationTime.
32679	SortBy *string `type:"string" enum:"AlgorithmSortBy"`
32680
32681	// The sort order for the results. The default is Ascending.
32682	SortOrder *string `type:"string" enum:"SortOrder"`
32683}
32684
32685// String returns the string representation
32686func (s ListAlgorithmsInput) String() string {
32687	return awsutil.Prettify(s)
32688}
32689
32690// GoString returns the string representation
32691func (s ListAlgorithmsInput) GoString() string {
32692	return s.String()
32693}
32694
32695// Validate inspects the fields of the type to determine if they are valid.
32696func (s *ListAlgorithmsInput) Validate() error {
32697	invalidParams := request.ErrInvalidParams{Context: "ListAlgorithmsInput"}
32698	if s.MaxResults != nil && *s.MaxResults < 1 {
32699		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
32700	}
32701
32702	if invalidParams.Len() > 0 {
32703		return invalidParams
32704	}
32705	return nil
32706}
32707
32708// SetCreationTimeAfter sets the CreationTimeAfter field's value.
32709func (s *ListAlgorithmsInput) SetCreationTimeAfter(v time.Time) *ListAlgorithmsInput {
32710	s.CreationTimeAfter = &v
32711	return s
32712}
32713
32714// SetCreationTimeBefore sets the CreationTimeBefore field's value.
32715func (s *ListAlgorithmsInput) SetCreationTimeBefore(v time.Time) *ListAlgorithmsInput {
32716	s.CreationTimeBefore = &v
32717	return s
32718}
32719
32720// SetMaxResults sets the MaxResults field's value.
32721func (s *ListAlgorithmsInput) SetMaxResults(v int64) *ListAlgorithmsInput {
32722	s.MaxResults = &v
32723	return s
32724}
32725
32726// SetNameContains sets the NameContains field's value.
32727func (s *ListAlgorithmsInput) SetNameContains(v string) *ListAlgorithmsInput {
32728	s.NameContains = &v
32729	return s
32730}
32731
32732// SetNextToken sets the NextToken field's value.
32733func (s *ListAlgorithmsInput) SetNextToken(v string) *ListAlgorithmsInput {
32734	s.NextToken = &v
32735	return s
32736}
32737
32738// SetSortBy sets the SortBy field's value.
32739func (s *ListAlgorithmsInput) SetSortBy(v string) *ListAlgorithmsInput {
32740	s.SortBy = &v
32741	return s
32742}
32743
32744// SetSortOrder sets the SortOrder field's value.
32745func (s *ListAlgorithmsInput) SetSortOrder(v string) *ListAlgorithmsInput {
32746	s.SortOrder = &v
32747	return s
32748}
32749
32750type ListAlgorithmsOutput struct {
32751	_ struct{} `type:"structure"`
32752
32753	// >An array of AlgorithmSummary objects, each of which lists an algorithm.
32754	//
32755	// AlgorithmSummaryList is a required field
32756	AlgorithmSummaryList []*AlgorithmSummary `type:"list" required:"true"`
32757
32758	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
32759	// the next set of algorithms, use it in the subsequent request.
32760	NextToken *string `type:"string"`
32761}
32762
32763// String returns the string representation
32764func (s ListAlgorithmsOutput) String() string {
32765	return awsutil.Prettify(s)
32766}
32767
32768// GoString returns the string representation
32769func (s ListAlgorithmsOutput) GoString() string {
32770	return s.String()
32771}
32772
32773// SetAlgorithmSummaryList sets the AlgorithmSummaryList field's value.
32774func (s *ListAlgorithmsOutput) SetAlgorithmSummaryList(v []*AlgorithmSummary) *ListAlgorithmsOutput {
32775	s.AlgorithmSummaryList = v
32776	return s
32777}
32778
32779// SetNextToken sets the NextToken field's value.
32780func (s *ListAlgorithmsOutput) SetNextToken(v string) *ListAlgorithmsOutput {
32781	s.NextToken = &v
32782	return s
32783}
32784
32785type ListAppsInput struct {
32786	_ struct{} `type:"structure"`
32787
32788	// A parameter to search for the domain ID.
32789	DomainIdEquals *string `type:"string"`
32790
32791	// Returns a list up to a specified limit.
32792	MaxResults *int64 `min:"1" type:"integer"`
32793
32794	// If the previous response was truncated, you will receive this token. Use
32795	// it in your next request to receive the next set of results.
32796	NextToken *string `type:"string"`
32797
32798	// The parameter by which to sort the results. The default is CreationTime.
32799	SortBy *string `type:"string" enum:"AppSortKey"`
32800
32801	// The sort order for the results. The default is Ascending.
32802	SortOrder *string `type:"string" enum:"SortOrder"`
32803
32804	// A parameter to search by user profile name.
32805	UserProfileNameEquals *string `type:"string"`
32806}
32807
32808// String returns the string representation
32809func (s ListAppsInput) String() string {
32810	return awsutil.Prettify(s)
32811}
32812
32813// GoString returns the string representation
32814func (s ListAppsInput) GoString() string {
32815	return s.String()
32816}
32817
32818// Validate inspects the fields of the type to determine if they are valid.
32819func (s *ListAppsInput) Validate() error {
32820	invalidParams := request.ErrInvalidParams{Context: "ListAppsInput"}
32821	if s.MaxResults != nil && *s.MaxResults < 1 {
32822		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
32823	}
32824
32825	if invalidParams.Len() > 0 {
32826		return invalidParams
32827	}
32828	return nil
32829}
32830
32831// SetDomainIdEquals sets the DomainIdEquals field's value.
32832func (s *ListAppsInput) SetDomainIdEquals(v string) *ListAppsInput {
32833	s.DomainIdEquals = &v
32834	return s
32835}
32836
32837// SetMaxResults sets the MaxResults field's value.
32838func (s *ListAppsInput) SetMaxResults(v int64) *ListAppsInput {
32839	s.MaxResults = &v
32840	return s
32841}
32842
32843// SetNextToken sets the NextToken field's value.
32844func (s *ListAppsInput) SetNextToken(v string) *ListAppsInput {
32845	s.NextToken = &v
32846	return s
32847}
32848
32849// SetSortBy sets the SortBy field's value.
32850func (s *ListAppsInput) SetSortBy(v string) *ListAppsInput {
32851	s.SortBy = &v
32852	return s
32853}
32854
32855// SetSortOrder sets the SortOrder field's value.
32856func (s *ListAppsInput) SetSortOrder(v string) *ListAppsInput {
32857	s.SortOrder = &v
32858	return s
32859}
32860
32861// SetUserProfileNameEquals sets the UserProfileNameEquals field's value.
32862func (s *ListAppsInput) SetUserProfileNameEquals(v string) *ListAppsInput {
32863	s.UserProfileNameEquals = &v
32864	return s
32865}
32866
32867type ListAppsOutput struct {
32868	_ struct{} `type:"structure"`
32869
32870	// The list of apps.
32871	Apps []*AppDetails `type:"list"`
32872
32873	// If the previous response was truncated, you will receive this token. Use
32874	// it in your next request to receive the next set of results.
32875	NextToken *string `type:"string"`
32876}
32877
32878// String returns the string representation
32879func (s ListAppsOutput) String() string {
32880	return awsutil.Prettify(s)
32881}
32882
32883// GoString returns the string representation
32884func (s ListAppsOutput) GoString() string {
32885	return s.String()
32886}
32887
32888// SetApps sets the Apps field's value.
32889func (s *ListAppsOutput) SetApps(v []*AppDetails) *ListAppsOutput {
32890	s.Apps = v
32891	return s
32892}
32893
32894// SetNextToken sets the NextToken field's value.
32895func (s *ListAppsOutput) SetNextToken(v string) *ListAppsOutput {
32896	s.NextToken = &v
32897	return s
32898}
32899
32900type ListAutoMLJobsInput struct {
32901	_ struct{} `type:"structure"`
32902
32903	// Request a list of jobs, using a filter for time.
32904	CreationTimeAfter *time.Time `type:"timestamp"`
32905
32906	// Request a list of jobs, using a filter for time.
32907	CreationTimeBefore *time.Time `type:"timestamp"`
32908
32909	// Request a list of jobs, using a filter for time.
32910	LastModifiedTimeAfter *time.Time `type:"timestamp"`
32911
32912	// Request a list of jobs, using a filter for time.
32913	LastModifiedTimeBefore *time.Time `type:"timestamp"`
32914
32915	// Request a list of jobs up to a specified limit.
32916	MaxResults *int64 `min:"1" type:"integer"`
32917
32918	// Request a list of jobs, using a search filter for name.
32919	NameContains *string `type:"string"`
32920
32921	// If the previous response was truncated, you will receive this token. Use
32922	// it in your next request to receive the next set of results.
32923	NextToken *string `type:"string"`
32924
32925	// The parameter by which to sort the results. The default is AutoMLJobName.
32926	SortBy *string `type:"string" enum:"AutoMLSortBy"`
32927
32928	// The sort order for the results. The default is Descending.
32929	SortOrder *string `type:"string" enum:"AutoMLSortOrder"`
32930
32931	// Request a list of jobs, using a filter for status.
32932	StatusEquals *string `type:"string" enum:"AutoMLJobStatus"`
32933}
32934
32935// String returns the string representation
32936func (s ListAutoMLJobsInput) String() string {
32937	return awsutil.Prettify(s)
32938}
32939
32940// GoString returns the string representation
32941func (s ListAutoMLJobsInput) GoString() string {
32942	return s.String()
32943}
32944
32945// Validate inspects the fields of the type to determine if they are valid.
32946func (s *ListAutoMLJobsInput) Validate() error {
32947	invalidParams := request.ErrInvalidParams{Context: "ListAutoMLJobsInput"}
32948	if s.MaxResults != nil && *s.MaxResults < 1 {
32949		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
32950	}
32951
32952	if invalidParams.Len() > 0 {
32953		return invalidParams
32954	}
32955	return nil
32956}
32957
32958// SetCreationTimeAfter sets the CreationTimeAfter field's value.
32959func (s *ListAutoMLJobsInput) SetCreationTimeAfter(v time.Time) *ListAutoMLJobsInput {
32960	s.CreationTimeAfter = &v
32961	return s
32962}
32963
32964// SetCreationTimeBefore sets the CreationTimeBefore field's value.
32965func (s *ListAutoMLJobsInput) SetCreationTimeBefore(v time.Time) *ListAutoMLJobsInput {
32966	s.CreationTimeBefore = &v
32967	return s
32968}
32969
32970// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
32971func (s *ListAutoMLJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListAutoMLJobsInput {
32972	s.LastModifiedTimeAfter = &v
32973	return s
32974}
32975
32976// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
32977func (s *ListAutoMLJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListAutoMLJobsInput {
32978	s.LastModifiedTimeBefore = &v
32979	return s
32980}
32981
32982// SetMaxResults sets the MaxResults field's value.
32983func (s *ListAutoMLJobsInput) SetMaxResults(v int64) *ListAutoMLJobsInput {
32984	s.MaxResults = &v
32985	return s
32986}
32987
32988// SetNameContains sets the NameContains field's value.
32989func (s *ListAutoMLJobsInput) SetNameContains(v string) *ListAutoMLJobsInput {
32990	s.NameContains = &v
32991	return s
32992}
32993
32994// SetNextToken sets the NextToken field's value.
32995func (s *ListAutoMLJobsInput) SetNextToken(v string) *ListAutoMLJobsInput {
32996	s.NextToken = &v
32997	return s
32998}
32999
33000// SetSortBy sets the SortBy field's value.
33001func (s *ListAutoMLJobsInput) SetSortBy(v string) *ListAutoMLJobsInput {
33002	s.SortBy = &v
33003	return s
33004}
33005
33006// SetSortOrder sets the SortOrder field's value.
33007func (s *ListAutoMLJobsInput) SetSortOrder(v string) *ListAutoMLJobsInput {
33008	s.SortOrder = &v
33009	return s
33010}
33011
33012// SetStatusEquals sets the StatusEquals field's value.
33013func (s *ListAutoMLJobsInput) SetStatusEquals(v string) *ListAutoMLJobsInput {
33014	s.StatusEquals = &v
33015	return s
33016}
33017
33018type ListAutoMLJobsOutput struct {
33019	_ struct{} `type:"structure"`
33020
33021	// Returns a summary list of jobs.
33022	//
33023	// AutoMLJobSummaries is a required field
33024	AutoMLJobSummaries []*AutoMLJobSummary `type:"list" required:"true"`
33025
33026	// If the previous response was truncated, you will receive this token. Use
33027	// it in your next request to receive the next set of results.
33028	NextToken *string `type:"string"`
33029}
33030
33031// String returns the string representation
33032func (s ListAutoMLJobsOutput) String() string {
33033	return awsutil.Prettify(s)
33034}
33035
33036// GoString returns the string representation
33037func (s ListAutoMLJobsOutput) GoString() string {
33038	return s.String()
33039}
33040
33041// SetAutoMLJobSummaries sets the AutoMLJobSummaries field's value.
33042func (s *ListAutoMLJobsOutput) SetAutoMLJobSummaries(v []*AutoMLJobSummary) *ListAutoMLJobsOutput {
33043	s.AutoMLJobSummaries = v
33044	return s
33045}
33046
33047// SetNextToken sets the NextToken field's value.
33048func (s *ListAutoMLJobsOutput) SetNextToken(v string) *ListAutoMLJobsOutput {
33049	s.NextToken = &v
33050	return s
33051}
33052
33053type ListCandidatesForAutoMLJobInput struct {
33054	_ struct{} `type:"structure"`
33055
33056	// List the Candidates created for the job by providing the job's name.
33057	//
33058	// AutoMLJobName is a required field
33059	AutoMLJobName *string `min:"1" type:"string" required:"true"`
33060
33061	// List the Candidates for the job and filter by candidate name.
33062	CandidateNameEquals *string `min:"1" type:"string"`
33063
33064	// List the job's Candidates up to a specified limit.
33065	MaxResults *int64 `min:"1" type:"integer"`
33066
33067	// If the previous response was truncated, you will receive this token. Use
33068	// it in your next request to receive the next set of results.
33069	NextToken *string `type:"string"`
33070
33071	// The parameter by which to sort the results. The default is Descending.
33072	SortBy *string `type:"string" enum:"CandidateSortBy"`
33073
33074	// The sort order for the results. The default is Ascending.
33075	SortOrder *string `type:"string" enum:"AutoMLSortOrder"`
33076
33077	// List the Candidates for the job and filter by status.
33078	StatusEquals *string `type:"string" enum:"CandidateStatus"`
33079}
33080
33081// String returns the string representation
33082func (s ListCandidatesForAutoMLJobInput) String() string {
33083	return awsutil.Prettify(s)
33084}
33085
33086// GoString returns the string representation
33087func (s ListCandidatesForAutoMLJobInput) GoString() string {
33088	return s.String()
33089}
33090
33091// Validate inspects the fields of the type to determine if they are valid.
33092func (s *ListCandidatesForAutoMLJobInput) Validate() error {
33093	invalidParams := request.ErrInvalidParams{Context: "ListCandidatesForAutoMLJobInput"}
33094	if s.AutoMLJobName == nil {
33095		invalidParams.Add(request.NewErrParamRequired("AutoMLJobName"))
33096	}
33097	if s.AutoMLJobName != nil && len(*s.AutoMLJobName) < 1 {
33098		invalidParams.Add(request.NewErrParamMinLen("AutoMLJobName", 1))
33099	}
33100	if s.CandidateNameEquals != nil && len(*s.CandidateNameEquals) < 1 {
33101		invalidParams.Add(request.NewErrParamMinLen("CandidateNameEquals", 1))
33102	}
33103	if s.MaxResults != nil && *s.MaxResults < 1 {
33104		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
33105	}
33106
33107	if invalidParams.Len() > 0 {
33108		return invalidParams
33109	}
33110	return nil
33111}
33112
33113// SetAutoMLJobName sets the AutoMLJobName field's value.
33114func (s *ListCandidatesForAutoMLJobInput) SetAutoMLJobName(v string) *ListCandidatesForAutoMLJobInput {
33115	s.AutoMLJobName = &v
33116	return s
33117}
33118
33119// SetCandidateNameEquals sets the CandidateNameEquals field's value.
33120func (s *ListCandidatesForAutoMLJobInput) SetCandidateNameEquals(v string) *ListCandidatesForAutoMLJobInput {
33121	s.CandidateNameEquals = &v
33122	return s
33123}
33124
33125// SetMaxResults sets the MaxResults field's value.
33126func (s *ListCandidatesForAutoMLJobInput) SetMaxResults(v int64) *ListCandidatesForAutoMLJobInput {
33127	s.MaxResults = &v
33128	return s
33129}
33130
33131// SetNextToken sets the NextToken field's value.
33132func (s *ListCandidatesForAutoMLJobInput) SetNextToken(v string) *ListCandidatesForAutoMLJobInput {
33133	s.NextToken = &v
33134	return s
33135}
33136
33137// SetSortBy sets the SortBy field's value.
33138func (s *ListCandidatesForAutoMLJobInput) SetSortBy(v string) *ListCandidatesForAutoMLJobInput {
33139	s.SortBy = &v
33140	return s
33141}
33142
33143// SetSortOrder sets the SortOrder field's value.
33144func (s *ListCandidatesForAutoMLJobInput) SetSortOrder(v string) *ListCandidatesForAutoMLJobInput {
33145	s.SortOrder = &v
33146	return s
33147}
33148
33149// SetStatusEquals sets the StatusEquals field's value.
33150func (s *ListCandidatesForAutoMLJobInput) SetStatusEquals(v string) *ListCandidatesForAutoMLJobInput {
33151	s.StatusEquals = &v
33152	return s
33153}
33154
33155type ListCandidatesForAutoMLJobOutput struct {
33156	_ struct{} `type:"structure"`
33157
33158	// Summaries about the Candidates.
33159	//
33160	// Candidates is a required field
33161	Candidates []*AutoMLCandidate `type:"list" required:"true"`
33162
33163	// If the previous response was truncated, you will receive this token. Use
33164	// it in your next request to receive the next set of results.
33165	NextToken *string `type:"string"`
33166}
33167
33168// String returns the string representation
33169func (s ListCandidatesForAutoMLJobOutput) String() string {
33170	return awsutil.Prettify(s)
33171}
33172
33173// GoString returns the string representation
33174func (s ListCandidatesForAutoMLJobOutput) GoString() string {
33175	return s.String()
33176}
33177
33178// SetCandidates sets the Candidates field's value.
33179func (s *ListCandidatesForAutoMLJobOutput) SetCandidates(v []*AutoMLCandidate) *ListCandidatesForAutoMLJobOutput {
33180	s.Candidates = v
33181	return s
33182}
33183
33184// SetNextToken sets the NextToken field's value.
33185func (s *ListCandidatesForAutoMLJobOutput) SetNextToken(v string) *ListCandidatesForAutoMLJobOutput {
33186	s.NextToken = &v
33187	return s
33188}
33189
33190type ListCodeRepositoriesInput struct {
33191	_ struct{} `type:"structure"`
33192
33193	// A filter that returns only Git repositories that were created after the specified
33194	// time.
33195	CreationTimeAfter *time.Time `type:"timestamp"`
33196
33197	// A filter that returns only Git repositories that were created before the
33198	// specified time.
33199	CreationTimeBefore *time.Time `type:"timestamp"`
33200
33201	// A filter that returns only Git repositories that were last modified after
33202	// the specified time.
33203	LastModifiedTimeAfter *time.Time `type:"timestamp"`
33204
33205	// A filter that returns only Git repositories that were last modified before
33206	// the specified time.
33207	LastModifiedTimeBefore *time.Time `type:"timestamp"`
33208
33209	// The maximum number of Git repositories to return in the response.
33210	MaxResults *int64 `min:"1" type:"integer"`
33211
33212	// A string in the Git repositories name. This filter returns only repositories
33213	// whose name contains the specified string.
33214	NameContains *string `type:"string"`
33215
33216	// If the result of a ListCodeRepositoriesOutput request was truncated, the
33217	// response includes a NextToken. To get the next set of Git repositories, use
33218	// the token in the next request.
33219	NextToken *string `type:"string"`
33220
33221	// The field to sort results by. The default is Name.
33222	SortBy *string `type:"string" enum:"CodeRepositorySortBy"`
33223
33224	// The sort order for results. The default is Ascending.
33225	SortOrder *string `type:"string" enum:"CodeRepositorySortOrder"`
33226}
33227
33228// String returns the string representation
33229func (s ListCodeRepositoriesInput) String() string {
33230	return awsutil.Prettify(s)
33231}
33232
33233// GoString returns the string representation
33234func (s ListCodeRepositoriesInput) GoString() string {
33235	return s.String()
33236}
33237
33238// Validate inspects the fields of the type to determine if they are valid.
33239func (s *ListCodeRepositoriesInput) Validate() error {
33240	invalidParams := request.ErrInvalidParams{Context: "ListCodeRepositoriesInput"}
33241	if s.MaxResults != nil && *s.MaxResults < 1 {
33242		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
33243	}
33244
33245	if invalidParams.Len() > 0 {
33246		return invalidParams
33247	}
33248	return nil
33249}
33250
33251// SetCreationTimeAfter sets the CreationTimeAfter field's value.
33252func (s *ListCodeRepositoriesInput) SetCreationTimeAfter(v time.Time) *ListCodeRepositoriesInput {
33253	s.CreationTimeAfter = &v
33254	return s
33255}
33256
33257// SetCreationTimeBefore sets the CreationTimeBefore field's value.
33258func (s *ListCodeRepositoriesInput) SetCreationTimeBefore(v time.Time) *ListCodeRepositoriesInput {
33259	s.CreationTimeBefore = &v
33260	return s
33261}
33262
33263// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
33264func (s *ListCodeRepositoriesInput) SetLastModifiedTimeAfter(v time.Time) *ListCodeRepositoriesInput {
33265	s.LastModifiedTimeAfter = &v
33266	return s
33267}
33268
33269// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
33270func (s *ListCodeRepositoriesInput) SetLastModifiedTimeBefore(v time.Time) *ListCodeRepositoriesInput {
33271	s.LastModifiedTimeBefore = &v
33272	return s
33273}
33274
33275// SetMaxResults sets the MaxResults field's value.
33276func (s *ListCodeRepositoriesInput) SetMaxResults(v int64) *ListCodeRepositoriesInput {
33277	s.MaxResults = &v
33278	return s
33279}
33280
33281// SetNameContains sets the NameContains field's value.
33282func (s *ListCodeRepositoriesInput) SetNameContains(v string) *ListCodeRepositoriesInput {
33283	s.NameContains = &v
33284	return s
33285}
33286
33287// SetNextToken sets the NextToken field's value.
33288func (s *ListCodeRepositoriesInput) SetNextToken(v string) *ListCodeRepositoriesInput {
33289	s.NextToken = &v
33290	return s
33291}
33292
33293// SetSortBy sets the SortBy field's value.
33294func (s *ListCodeRepositoriesInput) SetSortBy(v string) *ListCodeRepositoriesInput {
33295	s.SortBy = &v
33296	return s
33297}
33298
33299// SetSortOrder sets the SortOrder field's value.
33300func (s *ListCodeRepositoriesInput) SetSortOrder(v string) *ListCodeRepositoriesInput {
33301	s.SortOrder = &v
33302	return s
33303}
33304
33305type ListCodeRepositoriesOutput struct {
33306	_ struct{} `type:"structure"`
33307
33308	// Gets a list of summaries of the Git repositories. Each summary specifies
33309	// the following values for the repository:
33310	//
33311	//    * Name
33312	//
33313	//    * Amazon Resource Name (ARN)
33314	//
33315	//    * Creation time
33316	//
33317	//    * Last modified time
33318	//
33319	//    * Configuration information, including the URL location of the repository
33320	//    and the ARN of the AWS Secrets Manager secret that contains the credentials
33321	//    used to access the repository.
33322	//
33323	// CodeRepositorySummaryList is a required field
33324	CodeRepositorySummaryList []*CodeRepositorySummary `type:"list" required:"true"`
33325
33326	// If the result of a ListCodeRepositoriesOutput request was truncated, the
33327	// response includes a NextToken. To get the next set of Git repositories, use
33328	// the token in the next request.
33329	NextToken *string `type:"string"`
33330}
33331
33332// String returns the string representation
33333func (s ListCodeRepositoriesOutput) String() string {
33334	return awsutil.Prettify(s)
33335}
33336
33337// GoString returns the string representation
33338func (s ListCodeRepositoriesOutput) GoString() string {
33339	return s.String()
33340}
33341
33342// SetCodeRepositorySummaryList sets the CodeRepositorySummaryList field's value.
33343func (s *ListCodeRepositoriesOutput) SetCodeRepositorySummaryList(v []*CodeRepositorySummary) *ListCodeRepositoriesOutput {
33344	s.CodeRepositorySummaryList = v
33345	return s
33346}
33347
33348// SetNextToken sets the NextToken field's value.
33349func (s *ListCodeRepositoriesOutput) SetNextToken(v string) *ListCodeRepositoriesOutput {
33350	s.NextToken = &v
33351	return s
33352}
33353
33354type ListCompilationJobsInput struct {
33355	_ struct{} `type:"structure"`
33356
33357	// A filter that returns the model compilation jobs that were created after
33358	// a specified time.
33359	CreationTimeAfter *time.Time `type:"timestamp"`
33360
33361	// A filter that returns the model compilation jobs that were created before
33362	// a specified time.
33363	CreationTimeBefore *time.Time `type:"timestamp"`
33364
33365	// A filter that returns the model compilation jobs that were modified after
33366	// a specified time.
33367	LastModifiedTimeAfter *time.Time `type:"timestamp"`
33368
33369	// A filter that returns the model compilation jobs that were modified before
33370	// a specified time.
33371	LastModifiedTimeBefore *time.Time `type:"timestamp"`
33372
33373	// The maximum number of model compilation jobs to return in the response.
33374	MaxResults *int64 `min:"1" type:"integer"`
33375
33376	// A filter that returns the model compilation jobs whose name contains a specified
33377	// string.
33378	NameContains *string `type:"string"`
33379
33380	// If the result of the previous ListCompilationJobs request was truncated,
33381	// the response includes a NextToken. To retrieve the next set of model compilation
33382	// jobs, use the token in the next request.
33383	NextToken *string `type:"string"`
33384
33385	// The field by which to sort results. The default is CreationTime.
33386	SortBy *string `type:"string" enum:"ListCompilationJobsSortBy"`
33387
33388	// The sort order for results. The default is Ascending.
33389	SortOrder *string `type:"string" enum:"SortOrder"`
33390
33391	// A filter that retrieves model compilation jobs with a specific DescribeCompilationJobResponse$CompilationJobStatus
33392	// status.
33393	StatusEquals *string `type:"string" enum:"CompilationJobStatus"`
33394}
33395
33396// String returns the string representation
33397func (s ListCompilationJobsInput) String() string {
33398	return awsutil.Prettify(s)
33399}
33400
33401// GoString returns the string representation
33402func (s ListCompilationJobsInput) GoString() string {
33403	return s.String()
33404}
33405
33406// Validate inspects the fields of the type to determine if they are valid.
33407func (s *ListCompilationJobsInput) Validate() error {
33408	invalidParams := request.ErrInvalidParams{Context: "ListCompilationJobsInput"}
33409	if s.MaxResults != nil && *s.MaxResults < 1 {
33410		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
33411	}
33412
33413	if invalidParams.Len() > 0 {
33414		return invalidParams
33415	}
33416	return nil
33417}
33418
33419// SetCreationTimeAfter sets the CreationTimeAfter field's value.
33420func (s *ListCompilationJobsInput) SetCreationTimeAfter(v time.Time) *ListCompilationJobsInput {
33421	s.CreationTimeAfter = &v
33422	return s
33423}
33424
33425// SetCreationTimeBefore sets the CreationTimeBefore field's value.
33426func (s *ListCompilationJobsInput) SetCreationTimeBefore(v time.Time) *ListCompilationJobsInput {
33427	s.CreationTimeBefore = &v
33428	return s
33429}
33430
33431// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
33432func (s *ListCompilationJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListCompilationJobsInput {
33433	s.LastModifiedTimeAfter = &v
33434	return s
33435}
33436
33437// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
33438func (s *ListCompilationJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListCompilationJobsInput {
33439	s.LastModifiedTimeBefore = &v
33440	return s
33441}
33442
33443// SetMaxResults sets the MaxResults field's value.
33444func (s *ListCompilationJobsInput) SetMaxResults(v int64) *ListCompilationJobsInput {
33445	s.MaxResults = &v
33446	return s
33447}
33448
33449// SetNameContains sets the NameContains field's value.
33450func (s *ListCompilationJobsInput) SetNameContains(v string) *ListCompilationJobsInput {
33451	s.NameContains = &v
33452	return s
33453}
33454
33455// SetNextToken sets the NextToken field's value.
33456func (s *ListCompilationJobsInput) SetNextToken(v string) *ListCompilationJobsInput {
33457	s.NextToken = &v
33458	return s
33459}
33460
33461// SetSortBy sets the SortBy field's value.
33462func (s *ListCompilationJobsInput) SetSortBy(v string) *ListCompilationJobsInput {
33463	s.SortBy = &v
33464	return s
33465}
33466
33467// SetSortOrder sets the SortOrder field's value.
33468func (s *ListCompilationJobsInput) SetSortOrder(v string) *ListCompilationJobsInput {
33469	s.SortOrder = &v
33470	return s
33471}
33472
33473// SetStatusEquals sets the StatusEquals field's value.
33474func (s *ListCompilationJobsInput) SetStatusEquals(v string) *ListCompilationJobsInput {
33475	s.StatusEquals = &v
33476	return s
33477}
33478
33479type ListCompilationJobsOutput struct {
33480	_ struct{} `type:"structure"`
33481
33482	// An array of CompilationJobSummary objects, each describing a model compilation
33483	// job.
33484	//
33485	// CompilationJobSummaries is a required field
33486	CompilationJobSummaries []*CompilationJobSummary `type:"list" required:"true"`
33487
33488	// If the response is truncated, Amazon SageMaker returns this NextToken. To
33489	// retrieve the next set of model compilation jobs, use this token in the next
33490	// request.
33491	NextToken *string `type:"string"`
33492}
33493
33494// String returns the string representation
33495func (s ListCompilationJobsOutput) String() string {
33496	return awsutil.Prettify(s)
33497}
33498
33499// GoString returns the string representation
33500func (s ListCompilationJobsOutput) GoString() string {
33501	return s.String()
33502}
33503
33504// SetCompilationJobSummaries sets the CompilationJobSummaries field's value.
33505func (s *ListCompilationJobsOutput) SetCompilationJobSummaries(v []*CompilationJobSummary) *ListCompilationJobsOutput {
33506	s.CompilationJobSummaries = v
33507	return s
33508}
33509
33510// SetNextToken sets the NextToken field's value.
33511func (s *ListCompilationJobsOutput) SetNextToken(v string) *ListCompilationJobsOutput {
33512	s.NextToken = &v
33513	return s
33514}
33515
33516type ListDomainsInput struct {
33517	_ struct{} `type:"structure"`
33518
33519	// Returns a list up to a specified limit.
33520	MaxResults *int64 `min:"1" type:"integer"`
33521
33522	// If the previous response was truncated, you will receive this token. Use
33523	// it in your next request to receive the next set of results.
33524	NextToken *string `type:"string"`
33525}
33526
33527// String returns the string representation
33528func (s ListDomainsInput) String() string {
33529	return awsutil.Prettify(s)
33530}
33531
33532// GoString returns the string representation
33533func (s ListDomainsInput) GoString() string {
33534	return s.String()
33535}
33536
33537// Validate inspects the fields of the type to determine if they are valid.
33538func (s *ListDomainsInput) Validate() error {
33539	invalidParams := request.ErrInvalidParams{Context: "ListDomainsInput"}
33540	if s.MaxResults != nil && *s.MaxResults < 1 {
33541		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
33542	}
33543
33544	if invalidParams.Len() > 0 {
33545		return invalidParams
33546	}
33547	return nil
33548}
33549
33550// SetMaxResults sets the MaxResults field's value.
33551func (s *ListDomainsInput) SetMaxResults(v int64) *ListDomainsInput {
33552	s.MaxResults = &v
33553	return s
33554}
33555
33556// SetNextToken sets the NextToken field's value.
33557func (s *ListDomainsInput) SetNextToken(v string) *ListDomainsInput {
33558	s.NextToken = &v
33559	return s
33560}
33561
33562type ListDomainsOutput struct {
33563	_ struct{} `type:"structure"`
33564
33565	// The list of domains.
33566	Domains []*DomainDetails `type:"list"`
33567
33568	// If the previous response was truncated, you will receive this token. Use
33569	// it in your next request to receive the next set of results.
33570	NextToken *string `type:"string"`
33571}
33572
33573// String returns the string representation
33574func (s ListDomainsOutput) String() string {
33575	return awsutil.Prettify(s)
33576}
33577
33578// GoString returns the string representation
33579func (s ListDomainsOutput) GoString() string {
33580	return s.String()
33581}
33582
33583// SetDomains sets the Domains field's value.
33584func (s *ListDomainsOutput) SetDomains(v []*DomainDetails) *ListDomainsOutput {
33585	s.Domains = v
33586	return s
33587}
33588
33589// SetNextToken sets the NextToken field's value.
33590func (s *ListDomainsOutput) SetNextToken(v string) *ListDomainsOutput {
33591	s.NextToken = &v
33592	return s
33593}
33594
33595type ListEndpointConfigsInput struct {
33596	_ struct{} `type:"structure"`
33597
33598	// A filter that returns only endpoint configurations with a creation time greater
33599	// than or equal to the specified time (timestamp).
33600	CreationTimeAfter *time.Time `type:"timestamp"`
33601
33602	// A filter that returns only endpoint configurations created before the specified
33603	// time (timestamp).
33604	CreationTimeBefore *time.Time `type:"timestamp"`
33605
33606	// The maximum number of training jobs to return in the response.
33607	MaxResults *int64 `min:"1" type:"integer"`
33608
33609	// A string in the endpoint configuration name. This filter returns only endpoint
33610	// configurations whose name contains the specified string.
33611	NameContains *string `type:"string"`
33612
33613	// If the result of the previous ListEndpointConfig request was truncated, the
33614	// response includes a NextToken. To retrieve the next set of endpoint configurations,
33615	// use the token in the next request.
33616	NextToken *string `type:"string"`
33617
33618	// The field to sort results by. The default is CreationTime.
33619	SortBy *string `type:"string" enum:"EndpointConfigSortKey"`
33620
33621	// The sort order for results. The default is Descending.
33622	SortOrder *string `type:"string" enum:"OrderKey"`
33623}
33624
33625// String returns the string representation
33626func (s ListEndpointConfigsInput) String() string {
33627	return awsutil.Prettify(s)
33628}
33629
33630// GoString returns the string representation
33631func (s ListEndpointConfigsInput) GoString() string {
33632	return s.String()
33633}
33634
33635// Validate inspects the fields of the type to determine if they are valid.
33636func (s *ListEndpointConfigsInput) Validate() error {
33637	invalidParams := request.ErrInvalidParams{Context: "ListEndpointConfigsInput"}
33638	if s.MaxResults != nil && *s.MaxResults < 1 {
33639		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
33640	}
33641
33642	if invalidParams.Len() > 0 {
33643		return invalidParams
33644	}
33645	return nil
33646}
33647
33648// SetCreationTimeAfter sets the CreationTimeAfter field's value.
33649func (s *ListEndpointConfigsInput) SetCreationTimeAfter(v time.Time) *ListEndpointConfigsInput {
33650	s.CreationTimeAfter = &v
33651	return s
33652}
33653
33654// SetCreationTimeBefore sets the CreationTimeBefore field's value.
33655func (s *ListEndpointConfigsInput) SetCreationTimeBefore(v time.Time) *ListEndpointConfigsInput {
33656	s.CreationTimeBefore = &v
33657	return s
33658}
33659
33660// SetMaxResults sets the MaxResults field's value.
33661func (s *ListEndpointConfigsInput) SetMaxResults(v int64) *ListEndpointConfigsInput {
33662	s.MaxResults = &v
33663	return s
33664}
33665
33666// SetNameContains sets the NameContains field's value.
33667func (s *ListEndpointConfigsInput) SetNameContains(v string) *ListEndpointConfigsInput {
33668	s.NameContains = &v
33669	return s
33670}
33671
33672// SetNextToken sets the NextToken field's value.
33673func (s *ListEndpointConfigsInput) SetNextToken(v string) *ListEndpointConfigsInput {
33674	s.NextToken = &v
33675	return s
33676}
33677
33678// SetSortBy sets the SortBy field's value.
33679func (s *ListEndpointConfigsInput) SetSortBy(v string) *ListEndpointConfigsInput {
33680	s.SortBy = &v
33681	return s
33682}
33683
33684// SetSortOrder sets the SortOrder field's value.
33685func (s *ListEndpointConfigsInput) SetSortOrder(v string) *ListEndpointConfigsInput {
33686	s.SortOrder = &v
33687	return s
33688}
33689
33690type ListEndpointConfigsOutput struct {
33691	_ struct{} `type:"structure"`
33692
33693	// An array of endpoint configurations.
33694	//
33695	// EndpointConfigs is a required field
33696	EndpointConfigs []*EndpointConfigSummary `type:"list" required:"true"`
33697
33698	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
33699	// the next set of endpoint configurations, use it in the subsequent request
33700	NextToken *string `type:"string"`
33701}
33702
33703// String returns the string representation
33704func (s ListEndpointConfigsOutput) String() string {
33705	return awsutil.Prettify(s)
33706}
33707
33708// GoString returns the string representation
33709func (s ListEndpointConfigsOutput) GoString() string {
33710	return s.String()
33711}
33712
33713// SetEndpointConfigs sets the EndpointConfigs field's value.
33714func (s *ListEndpointConfigsOutput) SetEndpointConfigs(v []*EndpointConfigSummary) *ListEndpointConfigsOutput {
33715	s.EndpointConfigs = v
33716	return s
33717}
33718
33719// SetNextToken sets the NextToken field's value.
33720func (s *ListEndpointConfigsOutput) SetNextToken(v string) *ListEndpointConfigsOutput {
33721	s.NextToken = &v
33722	return s
33723}
33724
33725type ListEndpointsInput struct {
33726	_ struct{} `type:"structure"`
33727
33728	// A filter that returns only endpoints with a creation time greater than or
33729	// equal to the specified time (timestamp).
33730	CreationTimeAfter *time.Time `type:"timestamp"`
33731
33732	// A filter that returns only endpoints that were created before the specified
33733	// time (timestamp).
33734	CreationTimeBefore *time.Time `type:"timestamp"`
33735
33736	// A filter that returns only endpoints that were modified after the specified
33737	// timestamp.
33738	LastModifiedTimeAfter *time.Time `type:"timestamp"`
33739
33740	// A filter that returns only endpoints that were modified before the specified
33741	// timestamp.
33742	LastModifiedTimeBefore *time.Time `type:"timestamp"`
33743
33744	// The maximum number of endpoints to return in the response.
33745	MaxResults *int64 `min:"1" type:"integer"`
33746
33747	// A string in endpoint names. This filter returns only endpoints whose name
33748	// contains the specified string.
33749	NameContains *string `type:"string"`
33750
33751	// If the result of a ListEndpoints request was truncated, the response includes
33752	// a NextToken. To retrieve the next set of endpoints, use the token in the
33753	// next request.
33754	NextToken *string `type:"string"`
33755
33756	// Sorts the list of results. The default is CreationTime.
33757	SortBy *string `type:"string" enum:"EndpointSortKey"`
33758
33759	// The sort order for results. The default is Descending.
33760	SortOrder *string `type:"string" enum:"OrderKey"`
33761
33762	// A filter that returns only endpoints with the specified status.
33763	StatusEquals *string `type:"string" enum:"EndpointStatus"`
33764}
33765
33766// String returns the string representation
33767func (s ListEndpointsInput) String() string {
33768	return awsutil.Prettify(s)
33769}
33770
33771// GoString returns the string representation
33772func (s ListEndpointsInput) GoString() string {
33773	return s.String()
33774}
33775
33776// Validate inspects the fields of the type to determine if they are valid.
33777func (s *ListEndpointsInput) Validate() error {
33778	invalidParams := request.ErrInvalidParams{Context: "ListEndpointsInput"}
33779	if s.MaxResults != nil && *s.MaxResults < 1 {
33780		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
33781	}
33782
33783	if invalidParams.Len() > 0 {
33784		return invalidParams
33785	}
33786	return nil
33787}
33788
33789// SetCreationTimeAfter sets the CreationTimeAfter field's value.
33790func (s *ListEndpointsInput) SetCreationTimeAfter(v time.Time) *ListEndpointsInput {
33791	s.CreationTimeAfter = &v
33792	return s
33793}
33794
33795// SetCreationTimeBefore sets the CreationTimeBefore field's value.
33796func (s *ListEndpointsInput) SetCreationTimeBefore(v time.Time) *ListEndpointsInput {
33797	s.CreationTimeBefore = &v
33798	return s
33799}
33800
33801// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
33802func (s *ListEndpointsInput) SetLastModifiedTimeAfter(v time.Time) *ListEndpointsInput {
33803	s.LastModifiedTimeAfter = &v
33804	return s
33805}
33806
33807// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
33808func (s *ListEndpointsInput) SetLastModifiedTimeBefore(v time.Time) *ListEndpointsInput {
33809	s.LastModifiedTimeBefore = &v
33810	return s
33811}
33812
33813// SetMaxResults sets the MaxResults field's value.
33814func (s *ListEndpointsInput) SetMaxResults(v int64) *ListEndpointsInput {
33815	s.MaxResults = &v
33816	return s
33817}
33818
33819// SetNameContains sets the NameContains field's value.
33820func (s *ListEndpointsInput) SetNameContains(v string) *ListEndpointsInput {
33821	s.NameContains = &v
33822	return s
33823}
33824
33825// SetNextToken sets the NextToken field's value.
33826func (s *ListEndpointsInput) SetNextToken(v string) *ListEndpointsInput {
33827	s.NextToken = &v
33828	return s
33829}
33830
33831// SetSortBy sets the SortBy field's value.
33832func (s *ListEndpointsInput) SetSortBy(v string) *ListEndpointsInput {
33833	s.SortBy = &v
33834	return s
33835}
33836
33837// SetSortOrder sets the SortOrder field's value.
33838func (s *ListEndpointsInput) SetSortOrder(v string) *ListEndpointsInput {
33839	s.SortOrder = &v
33840	return s
33841}
33842
33843// SetStatusEquals sets the StatusEquals field's value.
33844func (s *ListEndpointsInput) SetStatusEquals(v string) *ListEndpointsInput {
33845	s.StatusEquals = &v
33846	return s
33847}
33848
33849type ListEndpointsOutput struct {
33850	_ struct{} `type:"structure"`
33851
33852	// An array or endpoint objects.
33853	//
33854	// Endpoints is a required field
33855	Endpoints []*EndpointSummary `type:"list" required:"true"`
33856
33857	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
33858	// the next set of training jobs, use it in the subsequent request.
33859	NextToken *string `type:"string"`
33860}
33861
33862// String returns the string representation
33863func (s ListEndpointsOutput) String() string {
33864	return awsutil.Prettify(s)
33865}
33866
33867// GoString returns the string representation
33868func (s ListEndpointsOutput) GoString() string {
33869	return s.String()
33870}
33871
33872// SetEndpoints sets the Endpoints field's value.
33873func (s *ListEndpointsOutput) SetEndpoints(v []*EndpointSummary) *ListEndpointsOutput {
33874	s.Endpoints = v
33875	return s
33876}
33877
33878// SetNextToken sets the NextToken field's value.
33879func (s *ListEndpointsOutput) SetNextToken(v string) *ListEndpointsOutput {
33880	s.NextToken = &v
33881	return s
33882}
33883
33884type ListExperimentsInput struct {
33885	_ struct{} `type:"structure"`
33886
33887	// A filter that returns only experiments created after the specified time.
33888	CreatedAfter *time.Time `type:"timestamp"`
33889
33890	// A filter that returns only experiments created before the specified time.
33891	CreatedBefore *time.Time `type:"timestamp"`
33892
33893	// The maximum number of experiments to return in the response. The default
33894	// value is 10.
33895	MaxResults *int64 `min:"1" type:"integer"`
33896
33897	// If the previous call to ListExperiments didn't return the full set of experiments,
33898	// the call returns a token for getting the next set of experiments.
33899	NextToken *string `type:"string"`
33900
33901	// The property used to sort results. The default value is CreationTime.
33902	SortBy *string `type:"string" enum:"SortExperimentsBy"`
33903
33904	// The sort order. The default value is Descending.
33905	SortOrder *string `type:"string" enum:"SortOrder"`
33906}
33907
33908// String returns the string representation
33909func (s ListExperimentsInput) String() string {
33910	return awsutil.Prettify(s)
33911}
33912
33913// GoString returns the string representation
33914func (s ListExperimentsInput) GoString() string {
33915	return s.String()
33916}
33917
33918// Validate inspects the fields of the type to determine if they are valid.
33919func (s *ListExperimentsInput) Validate() error {
33920	invalidParams := request.ErrInvalidParams{Context: "ListExperimentsInput"}
33921	if s.MaxResults != nil && *s.MaxResults < 1 {
33922		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
33923	}
33924
33925	if invalidParams.Len() > 0 {
33926		return invalidParams
33927	}
33928	return nil
33929}
33930
33931// SetCreatedAfter sets the CreatedAfter field's value.
33932func (s *ListExperimentsInput) SetCreatedAfter(v time.Time) *ListExperimentsInput {
33933	s.CreatedAfter = &v
33934	return s
33935}
33936
33937// SetCreatedBefore sets the CreatedBefore field's value.
33938func (s *ListExperimentsInput) SetCreatedBefore(v time.Time) *ListExperimentsInput {
33939	s.CreatedBefore = &v
33940	return s
33941}
33942
33943// SetMaxResults sets the MaxResults field's value.
33944func (s *ListExperimentsInput) SetMaxResults(v int64) *ListExperimentsInput {
33945	s.MaxResults = &v
33946	return s
33947}
33948
33949// SetNextToken sets the NextToken field's value.
33950func (s *ListExperimentsInput) SetNextToken(v string) *ListExperimentsInput {
33951	s.NextToken = &v
33952	return s
33953}
33954
33955// SetSortBy sets the SortBy field's value.
33956func (s *ListExperimentsInput) SetSortBy(v string) *ListExperimentsInput {
33957	s.SortBy = &v
33958	return s
33959}
33960
33961// SetSortOrder sets the SortOrder field's value.
33962func (s *ListExperimentsInput) SetSortOrder(v string) *ListExperimentsInput {
33963	s.SortOrder = &v
33964	return s
33965}
33966
33967type ListExperimentsOutput struct {
33968	_ struct{} `type:"structure"`
33969
33970	// A list of the summaries of your experiments.
33971	ExperimentSummaries []*ExperimentSummary `type:"list"`
33972
33973	// A token for getting the next set of experiments, if there are any.
33974	NextToken *string `type:"string"`
33975}
33976
33977// String returns the string representation
33978func (s ListExperimentsOutput) String() string {
33979	return awsutil.Prettify(s)
33980}
33981
33982// GoString returns the string representation
33983func (s ListExperimentsOutput) GoString() string {
33984	return s.String()
33985}
33986
33987// SetExperimentSummaries sets the ExperimentSummaries field's value.
33988func (s *ListExperimentsOutput) SetExperimentSummaries(v []*ExperimentSummary) *ListExperimentsOutput {
33989	s.ExperimentSummaries = v
33990	return s
33991}
33992
33993// SetNextToken sets the NextToken field's value.
33994func (s *ListExperimentsOutput) SetNextToken(v string) *ListExperimentsOutput {
33995	s.NextToken = &v
33996	return s
33997}
33998
33999type ListFlowDefinitionsInput struct {
34000	_ struct{} `type:"structure"`
34001
34002	// A filter that returns only flow definitions with a creation time greater
34003	// than or equal to the specified timestamp.
34004	CreationTimeAfter *time.Time `type:"timestamp"`
34005
34006	// A filter that returns only flow definitions that were created before the
34007	// specified timestamp.
34008	CreationTimeBefore *time.Time `type:"timestamp"`
34009
34010	// The total number of items to return. If the total number of available items
34011	// is more than the value specified in MaxResults, then a NextToken will be
34012	// provided in the output that you can use to resume pagination.
34013	MaxResults *int64 `min:"1" type:"integer"`
34014
34015	// A token to resume pagination.
34016	NextToken *string `type:"string"`
34017
34018	// An optional value that specifies whether you want the results sorted in Ascending
34019	// or Descending order.
34020	SortOrder *string `type:"string" enum:"SortOrder"`
34021}
34022
34023// String returns the string representation
34024func (s ListFlowDefinitionsInput) String() string {
34025	return awsutil.Prettify(s)
34026}
34027
34028// GoString returns the string representation
34029func (s ListFlowDefinitionsInput) GoString() string {
34030	return s.String()
34031}
34032
34033// Validate inspects the fields of the type to determine if they are valid.
34034func (s *ListFlowDefinitionsInput) Validate() error {
34035	invalidParams := request.ErrInvalidParams{Context: "ListFlowDefinitionsInput"}
34036	if s.MaxResults != nil && *s.MaxResults < 1 {
34037		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
34038	}
34039
34040	if invalidParams.Len() > 0 {
34041		return invalidParams
34042	}
34043	return nil
34044}
34045
34046// SetCreationTimeAfter sets the CreationTimeAfter field's value.
34047func (s *ListFlowDefinitionsInput) SetCreationTimeAfter(v time.Time) *ListFlowDefinitionsInput {
34048	s.CreationTimeAfter = &v
34049	return s
34050}
34051
34052// SetCreationTimeBefore sets the CreationTimeBefore field's value.
34053func (s *ListFlowDefinitionsInput) SetCreationTimeBefore(v time.Time) *ListFlowDefinitionsInput {
34054	s.CreationTimeBefore = &v
34055	return s
34056}
34057
34058// SetMaxResults sets the MaxResults field's value.
34059func (s *ListFlowDefinitionsInput) SetMaxResults(v int64) *ListFlowDefinitionsInput {
34060	s.MaxResults = &v
34061	return s
34062}
34063
34064// SetNextToken sets the NextToken field's value.
34065func (s *ListFlowDefinitionsInput) SetNextToken(v string) *ListFlowDefinitionsInput {
34066	s.NextToken = &v
34067	return s
34068}
34069
34070// SetSortOrder sets the SortOrder field's value.
34071func (s *ListFlowDefinitionsInput) SetSortOrder(v string) *ListFlowDefinitionsInput {
34072	s.SortOrder = &v
34073	return s
34074}
34075
34076type ListFlowDefinitionsOutput struct {
34077	_ struct{} `type:"structure"`
34078
34079	// An array of objects describing the flow definitions.
34080	//
34081	// FlowDefinitionSummaries is a required field
34082	FlowDefinitionSummaries []*FlowDefinitionSummary `type:"list" required:"true"`
34083
34084	// A token to resume pagination.
34085	NextToken *string `type:"string"`
34086}
34087
34088// String returns the string representation
34089func (s ListFlowDefinitionsOutput) String() string {
34090	return awsutil.Prettify(s)
34091}
34092
34093// GoString returns the string representation
34094func (s ListFlowDefinitionsOutput) GoString() string {
34095	return s.String()
34096}
34097
34098// SetFlowDefinitionSummaries sets the FlowDefinitionSummaries field's value.
34099func (s *ListFlowDefinitionsOutput) SetFlowDefinitionSummaries(v []*FlowDefinitionSummary) *ListFlowDefinitionsOutput {
34100	s.FlowDefinitionSummaries = v
34101	return s
34102}
34103
34104// SetNextToken sets the NextToken field's value.
34105func (s *ListFlowDefinitionsOutput) SetNextToken(v string) *ListFlowDefinitionsOutput {
34106	s.NextToken = &v
34107	return s
34108}
34109
34110type ListHumanTaskUisInput struct {
34111	_ struct{} `type:"structure"`
34112
34113	// A filter that returns only human task user interfaces with a creation time
34114	// greater than or equal to the specified timestamp.
34115	CreationTimeAfter *time.Time `type:"timestamp"`
34116
34117	// A filter that returns only human task user interfaces that were created before
34118	// the specified timestamp.
34119	CreationTimeBefore *time.Time `type:"timestamp"`
34120
34121	// The total number of items to return. If the total number of available items
34122	// is more than the value specified in MaxResults, then a NextToken will be
34123	// provided in the output that you can use to resume pagination.
34124	MaxResults *int64 `min:"1" type:"integer"`
34125
34126	// A token to resume pagination.
34127	NextToken *string `type:"string"`
34128
34129	// An optional value that specifies whether you want the results sorted in Ascending
34130	// or Descending order.
34131	SortOrder *string `type:"string" enum:"SortOrder"`
34132}
34133
34134// String returns the string representation
34135func (s ListHumanTaskUisInput) String() string {
34136	return awsutil.Prettify(s)
34137}
34138
34139// GoString returns the string representation
34140func (s ListHumanTaskUisInput) GoString() string {
34141	return s.String()
34142}
34143
34144// Validate inspects the fields of the type to determine if they are valid.
34145func (s *ListHumanTaskUisInput) Validate() error {
34146	invalidParams := request.ErrInvalidParams{Context: "ListHumanTaskUisInput"}
34147	if s.MaxResults != nil && *s.MaxResults < 1 {
34148		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
34149	}
34150
34151	if invalidParams.Len() > 0 {
34152		return invalidParams
34153	}
34154	return nil
34155}
34156
34157// SetCreationTimeAfter sets the CreationTimeAfter field's value.
34158func (s *ListHumanTaskUisInput) SetCreationTimeAfter(v time.Time) *ListHumanTaskUisInput {
34159	s.CreationTimeAfter = &v
34160	return s
34161}
34162
34163// SetCreationTimeBefore sets the CreationTimeBefore field's value.
34164func (s *ListHumanTaskUisInput) SetCreationTimeBefore(v time.Time) *ListHumanTaskUisInput {
34165	s.CreationTimeBefore = &v
34166	return s
34167}
34168
34169// SetMaxResults sets the MaxResults field's value.
34170func (s *ListHumanTaskUisInput) SetMaxResults(v int64) *ListHumanTaskUisInput {
34171	s.MaxResults = &v
34172	return s
34173}
34174
34175// SetNextToken sets the NextToken field's value.
34176func (s *ListHumanTaskUisInput) SetNextToken(v string) *ListHumanTaskUisInput {
34177	s.NextToken = &v
34178	return s
34179}
34180
34181// SetSortOrder sets the SortOrder field's value.
34182func (s *ListHumanTaskUisInput) SetSortOrder(v string) *ListHumanTaskUisInput {
34183	s.SortOrder = &v
34184	return s
34185}
34186
34187type ListHumanTaskUisOutput struct {
34188	_ struct{} `type:"structure"`
34189
34190	// An array of objects describing the human task user interfaces.
34191	//
34192	// HumanTaskUiSummaries is a required field
34193	HumanTaskUiSummaries []*HumanTaskUiSummary `type:"list" required:"true"`
34194
34195	// A token to resume pagination.
34196	NextToken *string `type:"string"`
34197}
34198
34199// String returns the string representation
34200func (s ListHumanTaskUisOutput) String() string {
34201	return awsutil.Prettify(s)
34202}
34203
34204// GoString returns the string representation
34205func (s ListHumanTaskUisOutput) GoString() string {
34206	return s.String()
34207}
34208
34209// SetHumanTaskUiSummaries sets the HumanTaskUiSummaries field's value.
34210func (s *ListHumanTaskUisOutput) SetHumanTaskUiSummaries(v []*HumanTaskUiSummary) *ListHumanTaskUisOutput {
34211	s.HumanTaskUiSummaries = v
34212	return s
34213}
34214
34215// SetNextToken sets the NextToken field's value.
34216func (s *ListHumanTaskUisOutput) SetNextToken(v string) *ListHumanTaskUisOutput {
34217	s.NextToken = &v
34218	return s
34219}
34220
34221type ListHyperParameterTuningJobsInput struct {
34222	_ struct{} `type:"structure"`
34223
34224	// A filter that returns only tuning jobs that were created after the specified
34225	// time.
34226	CreationTimeAfter *time.Time `type:"timestamp"`
34227
34228	// A filter that returns only tuning jobs that were created before the specified
34229	// time.
34230	CreationTimeBefore *time.Time `type:"timestamp"`
34231
34232	// A filter that returns only tuning jobs that were modified after the specified
34233	// time.
34234	LastModifiedTimeAfter *time.Time `type:"timestamp"`
34235
34236	// A filter that returns only tuning jobs that were modified before the specified
34237	// time.
34238	LastModifiedTimeBefore *time.Time `type:"timestamp"`
34239
34240	// The maximum number of tuning jobs to return. The default value is 10.
34241	MaxResults *int64 `min:"1" type:"integer"`
34242
34243	// A string in the tuning job name. This filter returns only tuning jobs whose
34244	// name contains the specified string.
34245	NameContains *string `type:"string"`
34246
34247	// If the result of the previous ListHyperParameterTuningJobs request was truncated,
34248	// the response includes a NextToken. To retrieve the next set of tuning jobs,
34249	// use the token in the next request.
34250	NextToken *string `type:"string"`
34251
34252	// The field to sort results by. The default is Name.
34253	SortBy *string `type:"string" enum:"HyperParameterTuningJobSortByOptions"`
34254
34255	// The sort order for results. The default is Ascending.
34256	SortOrder *string `type:"string" enum:"SortOrder"`
34257
34258	// A filter that returns only tuning jobs with the specified status.
34259	StatusEquals *string `type:"string" enum:"HyperParameterTuningJobStatus"`
34260}
34261
34262// String returns the string representation
34263func (s ListHyperParameterTuningJobsInput) String() string {
34264	return awsutil.Prettify(s)
34265}
34266
34267// GoString returns the string representation
34268func (s ListHyperParameterTuningJobsInput) GoString() string {
34269	return s.String()
34270}
34271
34272// Validate inspects the fields of the type to determine if they are valid.
34273func (s *ListHyperParameterTuningJobsInput) Validate() error {
34274	invalidParams := request.ErrInvalidParams{Context: "ListHyperParameterTuningJobsInput"}
34275	if s.MaxResults != nil && *s.MaxResults < 1 {
34276		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
34277	}
34278
34279	if invalidParams.Len() > 0 {
34280		return invalidParams
34281	}
34282	return nil
34283}
34284
34285// SetCreationTimeAfter sets the CreationTimeAfter field's value.
34286func (s *ListHyperParameterTuningJobsInput) SetCreationTimeAfter(v time.Time) *ListHyperParameterTuningJobsInput {
34287	s.CreationTimeAfter = &v
34288	return s
34289}
34290
34291// SetCreationTimeBefore sets the CreationTimeBefore field's value.
34292func (s *ListHyperParameterTuningJobsInput) SetCreationTimeBefore(v time.Time) *ListHyperParameterTuningJobsInput {
34293	s.CreationTimeBefore = &v
34294	return s
34295}
34296
34297// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
34298func (s *ListHyperParameterTuningJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListHyperParameterTuningJobsInput {
34299	s.LastModifiedTimeAfter = &v
34300	return s
34301}
34302
34303// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
34304func (s *ListHyperParameterTuningJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListHyperParameterTuningJobsInput {
34305	s.LastModifiedTimeBefore = &v
34306	return s
34307}
34308
34309// SetMaxResults sets the MaxResults field's value.
34310func (s *ListHyperParameterTuningJobsInput) SetMaxResults(v int64) *ListHyperParameterTuningJobsInput {
34311	s.MaxResults = &v
34312	return s
34313}
34314
34315// SetNameContains sets the NameContains field's value.
34316func (s *ListHyperParameterTuningJobsInput) SetNameContains(v string) *ListHyperParameterTuningJobsInput {
34317	s.NameContains = &v
34318	return s
34319}
34320
34321// SetNextToken sets the NextToken field's value.
34322func (s *ListHyperParameterTuningJobsInput) SetNextToken(v string) *ListHyperParameterTuningJobsInput {
34323	s.NextToken = &v
34324	return s
34325}
34326
34327// SetSortBy sets the SortBy field's value.
34328func (s *ListHyperParameterTuningJobsInput) SetSortBy(v string) *ListHyperParameterTuningJobsInput {
34329	s.SortBy = &v
34330	return s
34331}
34332
34333// SetSortOrder sets the SortOrder field's value.
34334func (s *ListHyperParameterTuningJobsInput) SetSortOrder(v string) *ListHyperParameterTuningJobsInput {
34335	s.SortOrder = &v
34336	return s
34337}
34338
34339// SetStatusEquals sets the StatusEquals field's value.
34340func (s *ListHyperParameterTuningJobsInput) SetStatusEquals(v string) *ListHyperParameterTuningJobsInput {
34341	s.StatusEquals = &v
34342	return s
34343}
34344
34345type ListHyperParameterTuningJobsOutput struct {
34346	_ struct{} `type:"structure"`
34347
34348	// A list of HyperParameterTuningJobSummary objects that describe the tuning
34349	// jobs that the ListHyperParameterTuningJobs request returned.
34350	//
34351	// HyperParameterTuningJobSummaries is a required field
34352	HyperParameterTuningJobSummaries []*HyperParameterTuningJobSummary `type:"list" required:"true"`
34353
34354	// If the result of this ListHyperParameterTuningJobs request was truncated,
34355	// the response includes a NextToken. To retrieve the next set of tuning jobs,
34356	// use the token in the next request.
34357	NextToken *string `type:"string"`
34358}
34359
34360// String returns the string representation
34361func (s ListHyperParameterTuningJobsOutput) String() string {
34362	return awsutil.Prettify(s)
34363}
34364
34365// GoString returns the string representation
34366func (s ListHyperParameterTuningJobsOutput) GoString() string {
34367	return s.String()
34368}
34369
34370// SetHyperParameterTuningJobSummaries sets the HyperParameterTuningJobSummaries field's value.
34371func (s *ListHyperParameterTuningJobsOutput) SetHyperParameterTuningJobSummaries(v []*HyperParameterTuningJobSummary) *ListHyperParameterTuningJobsOutput {
34372	s.HyperParameterTuningJobSummaries = v
34373	return s
34374}
34375
34376// SetNextToken sets the NextToken field's value.
34377func (s *ListHyperParameterTuningJobsOutput) SetNextToken(v string) *ListHyperParameterTuningJobsOutput {
34378	s.NextToken = &v
34379	return s
34380}
34381
34382type ListLabelingJobsForWorkteamInput struct {
34383	_ struct{} `type:"structure"`
34384
34385	// A filter that returns only labeling jobs created after the specified time
34386	// (timestamp).
34387	CreationTimeAfter *time.Time `type:"timestamp"`
34388
34389	// A filter that returns only labeling jobs created before the specified time
34390	// (timestamp).
34391	CreationTimeBefore *time.Time `type:"timestamp"`
34392
34393	// A filter the limits jobs to only the ones whose job reference code contains
34394	// the specified string.
34395	JobReferenceCodeContains *string `min:"1" type:"string"`
34396
34397	// The maximum number of labeling jobs to return in each page of the response.
34398	MaxResults *int64 `min:"1" type:"integer"`
34399
34400	// If the result of the previous ListLabelingJobsForWorkteam request was truncated,
34401	// the response includes a NextToken. To retrieve the next set of labeling jobs,
34402	// use the token in the next request.
34403	NextToken *string `type:"string"`
34404
34405	// The field to sort results by. The default is CreationTime.
34406	SortBy *string `type:"string" enum:"ListLabelingJobsForWorkteamSortByOptions"`
34407
34408	// The sort order for results. The default is Ascending.
34409	SortOrder *string `type:"string" enum:"SortOrder"`
34410
34411	// The Amazon Resource Name (ARN) of the work team for which you want to see
34412	// labeling jobs for.
34413	//
34414	// WorkteamArn is a required field
34415	WorkteamArn *string `type:"string" required:"true"`
34416}
34417
34418// String returns the string representation
34419func (s ListLabelingJobsForWorkteamInput) String() string {
34420	return awsutil.Prettify(s)
34421}
34422
34423// GoString returns the string representation
34424func (s ListLabelingJobsForWorkteamInput) GoString() string {
34425	return s.String()
34426}
34427
34428// Validate inspects the fields of the type to determine if they are valid.
34429func (s *ListLabelingJobsForWorkteamInput) Validate() error {
34430	invalidParams := request.ErrInvalidParams{Context: "ListLabelingJobsForWorkteamInput"}
34431	if s.JobReferenceCodeContains != nil && len(*s.JobReferenceCodeContains) < 1 {
34432		invalidParams.Add(request.NewErrParamMinLen("JobReferenceCodeContains", 1))
34433	}
34434	if s.MaxResults != nil && *s.MaxResults < 1 {
34435		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
34436	}
34437	if s.WorkteamArn == nil {
34438		invalidParams.Add(request.NewErrParamRequired("WorkteamArn"))
34439	}
34440
34441	if invalidParams.Len() > 0 {
34442		return invalidParams
34443	}
34444	return nil
34445}
34446
34447// SetCreationTimeAfter sets the CreationTimeAfter field's value.
34448func (s *ListLabelingJobsForWorkteamInput) SetCreationTimeAfter(v time.Time) *ListLabelingJobsForWorkteamInput {
34449	s.CreationTimeAfter = &v
34450	return s
34451}
34452
34453// SetCreationTimeBefore sets the CreationTimeBefore field's value.
34454func (s *ListLabelingJobsForWorkteamInput) SetCreationTimeBefore(v time.Time) *ListLabelingJobsForWorkteamInput {
34455	s.CreationTimeBefore = &v
34456	return s
34457}
34458
34459// SetJobReferenceCodeContains sets the JobReferenceCodeContains field's value.
34460func (s *ListLabelingJobsForWorkteamInput) SetJobReferenceCodeContains(v string) *ListLabelingJobsForWorkteamInput {
34461	s.JobReferenceCodeContains = &v
34462	return s
34463}
34464
34465// SetMaxResults sets the MaxResults field's value.
34466func (s *ListLabelingJobsForWorkteamInput) SetMaxResults(v int64) *ListLabelingJobsForWorkteamInput {
34467	s.MaxResults = &v
34468	return s
34469}
34470
34471// SetNextToken sets the NextToken field's value.
34472func (s *ListLabelingJobsForWorkteamInput) SetNextToken(v string) *ListLabelingJobsForWorkteamInput {
34473	s.NextToken = &v
34474	return s
34475}
34476
34477// SetSortBy sets the SortBy field's value.
34478func (s *ListLabelingJobsForWorkteamInput) SetSortBy(v string) *ListLabelingJobsForWorkteamInput {
34479	s.SortBy = &v
34480	return s
34481}
34482
34483// SetSortOrder sets the SortOrder field's value.
34484func (s *ListLabelingJobsForWorkteamInput) SetSortOrder(v string) *ListLabelingJobsForWorkteamInput {
34485	s.SortOrder = &v
34486	return s
34487}
34488
34489// SetWorkteamArn sets the WorkteamArn field's value.
34490func (s *ListLabelingJobsForWorkteamInput) SetWorkteamArn(v string) *ListLabelingJobsForWorkteamInput {
34491	s.WorkteamArn = &v
34492	return s
34493}
34494
34495type ListLabelingJobsForWorkteamOutput struct {
34496	_ struct{} `type:"structure"`
34497
34498	// An array of LabelingJobSummary objects, each describing a labeling job.
34499	//
34500	// LabelingJobSummaryList is a required field
34501	LabelingJobSummaryList []*LabelingJobForWorkteamSummary `type:"list" required:"true"`
34502
34503	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
34504	// the next set of labeling jobs, use it in the subsequent request.
34505	NextToken *string `type:"string"`
34506}
34507
34508// String returns the string representation
34509func (s ListLabelingJobsForWorkteamOutput) String() string {
34510	return awsutil.Prettify(s)
34511}
34512
34513// GoString returns the string representation
34514func (s ListLabelingJobsForWorkteamOutput) GoString() string {
34515	return s.String()
34516}
34517
34518// SetLabelingJobSummaryList sets the LabelingJobSummaryList field's value.
34519func (s *ListLabelingJobsForWorkteamOutput) SetLabelingJobSummaryList(v []*LabelingJobForWorkteamSummary) *ListLabelingJobsForWorkteamOutput {
34520	s.LabelingJobSummaryList = v
34521	return s
34522}
34523
34524// SetNextToken sets the NextToken field's value.
34525func (s *ListLabelingJobsForWorkteamOutput) SetNextToken(v string) *ListLabelingJobsForWorkteamOutput {
34526	s.NextToken = &v
34527	return s
34528}
34529
34530type ListLabelingJobsInput struct {
34531	_ struct{} `type:"structure"`
34532
34533	// A filter that returns only labeling jobs created after the specified time
34534	// (timestamp).
34535	CreationTimeAfter *time.Time `type:"timestamp"`
34536
34537	// A filter that returns only labeling jobs created before the specified time
34538	// (timestamp).
34539	CreationTimeBefore *time.Time `type:"timestamp"`
34540
34541	// A filter that returns only labeling jobs modified after the specified time
34542	// (timestamp).
34543	LastModifiedTimeAfter *time.Time `type:"timestamp"`
34544
34545	// A filter that returns only labeling jobs modified before the specified time
34546	// (timestamp).
34547	LastModifiedTimeBefore *time.Time `type:"timestamp"`
34548
34549	// The maximum number of labeling jobs to return in each page of the response.
34550	MaxResults *int64 `min:"1" type:"integer"`
34551
34552	// A string in the labeling job name. This filter returns only labeling jobs
34553	// whose name contains the specified string.
34554	NameContains *string `type:"string"`
34555
34556	// If the result of the previous ListLabelingJobs request was truncated, the
34557	// response includes a NextToken. To retrieve the next set of labeling jobs,
34558	// use the token in the next request.
34559	NextToken *string `type:"string"`
34560
34561	// The field to sort results by. The default is CreationTime.
34562	SortBy *string `type:"string" enum:"SortBy"`
34563
34564	// The sort order for results. The default is Ascending.
34565	SortOrder *string `type:"string" enum:"SortOrder"`
34566
34567	// A filter that retrieves only labeling jobs with a specific status.
34568	StatusEquals *string `type:"string" enum:"LabelingJobStatus"`
34569}
34570
34571// String returns the string representation
34572func (s ListLabelingJobsInput) String() string {
34573	return awsutil.Prettify(s)
34574}
34575
34576// GoString returns the string representation
34577func (s ListLabelingJobsInput) GoString() string {
34578	return s.String()
34579}
34580
34581// Validate inspects the fields of the type to determine if they are valid.
34582func (s *ListLabelingJobsInput) Validate() error {
34583	invalidParams := request.ErrInvalidParams{Context: "ListLabelingJobsInput"}
34584	if s.MaxResults != nil && *s.MaxResults < 1 {
34585		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
34586	}
34587
34588	if invalidParams.Len() > 0 {
34589		return invalidParams
34590	}
34591	return nil
34592}
34593
34594// SetCreationTimeAfter sets the CreationTimeAfter field's value.
34595func (s *ListLabelingJobsInput) SetCreationTimeAfter(v time.Time) *ListLabelingJobsInput {
34596	s.CreationTimeAfter = &v
34597	return s
34598}
34599
34600// SetCreationTimeBefore sets the CreationTimeBefore field's value.
34601func (s *ListLabelingJobsInput) SetCreationTimeBefore(v time.Time) *ListLabelingJobsInput {
34602	s.CreationTimeBefore = &v
34603	return s
34604}
34605
34606// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
34607func (s *ListLabelingJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListLabelingJobsInput {
34608	s.LastModifiedTimeAfter = &v
34609	return s
34610}
34611
34612// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
34613func (s *ListLabelingJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListLabelingJobsInput {
34614	s.LastModifiedTimeBefore = &v
34615	return s
34616}
34617
34618// SetMaxResults sets the MaxResults field's value.
34619func (s *ListLabelingJobsInput) SetMaxResults(v int64) *ListLabelingJobsInput {
34620	s.MaxResults = &v
34621	return s
34622}
34623
34624// SetNameContains sets the NameContains field's value.
34625func (s *ListLabelingJobsInput) SetNameContains(v string) *ListLabelingJobsInput {
34626	s.NameContains = &v
34627	return s
34628}
34629
34630// SetNextToken sets the NextToken field's value.
34631func (s *ListLabelingJobsInput) SetNextToken(v string) *ListLabelingJobsInput {
34632	s.NextToken = &v
34633	return s
34634}
34635
34636// SetSortBy sets the SortBy field's value.
34637func (s *ListLabelingJobsInput) SetSortBy(v string) *ListLabelingJobsInput {
34638	s.SortBy = &v
34639	return s
34640}
34641
34642// SetSortOrder sets the SortOrder field's value.
34643func (s *ListLabelingJobsInput) SetSortOrder(v string) *ListLabelingJobsInput {
34644	s.SortOrder = &v
34645	return s
34646}
34647
34648// SetStatusEquals sets the StatusEquals field's value.
34649func (s *ListLabelingJobsInput) SetStatusEquals(v string) *ListLabelingJobsInput {
34650	s.StatusEquals = &v
34651	return s
34652}
34653
34654type ListLabelingJobsOutput struct {
34655	_ struct{} `type:"structure"`
34656
34657	// An array of LabelingJobSummary objects, each describing a labeling job.
34658	LabelingJobSummaryList []*LabelingJobSummary `type:"list"`
34659
34660	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
34661	// the next set of labeling jobs, use it in the subsequent request.
34662	NextToken *string `type:"string"`
34663}
34664
34665// String returns the string representation
34666func (s ListLabelingJobsOutput) String() string {
34667	return awsutil.Prettify(s)
34668}
34669
34670// GoString returns the string representation
34671func (s ListLabelingJobsOutput) GoString() string {
34672	return s.String()
34673}
34674
34675// SetLabelingJobSummaryList sets the LabelingJobSummaryList field's value.
34676func (s *ListLabelingJobsOutput) SetLabelingJobSummaryList(v []*LabelingJobSummary) *ListLabelingJobsOutput {
34677	s.LabelingJobSummaryList = v
34678	return s
34679}
34680
34681// SetNextToken sets the NextToken field's value.
34682func (s *ListLabelingJobsOutput) SetNextToken(v string) *ListLabelingJobsOutput {
34683	s.NextToken = &v
34684	return s
34685}
34686
34687type ListModelPackagesInput struct {
34688	_ struct{} `type:"structure"`
34689
34690	// A filter that returns only model packages created after the specified time
34691	// (timestamp).
34692	CreationTimeAfter *time.Time `type:"timestamp"`
34693
34694	// A filter that returns only model packages created before the specified time
34695	// (timestamp).
34696	CreationTimeBefore *time.Time `type:"timestamp"`
34697
34698	// The maximum number of model packages to return in the response.
34699	MaxResults *int64 `min:"1" type:"integer"`
34700
34701	// A string in the model package name. This filter returns only model packages
34702	// whose name contains the specified string.
34703	NameContains *string `type:"string"`
34704
34705	// If the response to a previous ListModelPackages request was truncated, the
34706	// response includes a NextToken. To retrieve the next set of model packages,
34707	// use the token in the next request.
34708	NextToken *string `type:"string"`
34709
34710	// The parameter by which to sort the results. The default is CreationTime.
34711	SortBy *string `type:"string" enum:"ModelPackageSortBy"`
34712
34713	// The sort order for the results. The default is Ascending.
34714	SortOrder *string `type:"string" enum:"SortOrder"`
34715}
34716
34717// String returns the string representation
34718func (s ListModelPackagesInput) String() string {
34719	return awsutil.Prettify(s)
34720}
34721
34722// GoString returns the string representation
34723func (s ListModelPackagesInput) GoString() string {
34724	return s.String()
34725}
34726
34727// Validate inspects the fields of the type to determine if they are valid.
34728func (s *ListModelPackagesInput) Validate() error {
34729	invalidParams := request.ErrInvalidParams{Context: "ListModelPackagesInput"}
34730	if s.MaxResults != nil && *s.MaxResults < 1 {
34731		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
34732	}
34733
34734	if invalidParams.Len() > 0 {
34735		return invalidParams
34736	}
34737	return nil
34738}
34739
34740// SetCreationTimeAfter sets the CreationTimeAfter field's value.
34741func (s *ListModelPackagesInput) SetCreationTimeAfter(v time.Time) *ListModelPackagesInput {
34742	s.CreationTimeAfter = &v
34743	return s
34744}
34745
34746// SetCreationTimeBefore sets the CreationTimeBefore field's value.
34747func (s *ListModelPackagesInput) SetCreationTimeBefore(v time.Time) *ListModelPackagesInput {
34748	s.CreationTimeBefore = &v
34749	return s
34750}
34751
34752// SetMaxResults sets the MaxResults field's value.
34753func (s *ListModelPackagesInput) SetMaxResults(v int64) *ListModelPackagesInput {
34754	s.MaxResults = &v
34755	return s
34756}
34757
34758// SetNameContains sets the NameContains field's value.
34759func (s *ListModelPackagesInput) SetNameContains(v string) *ListModelPackagesInput {
34760	s.NameContains = &v
34761	return s
34762}
34763
34764// SetNextToken sets the NextToken field's value.
34765func (s *ListModelPackagesInput) SetNextToken(v string) *ListModelPackagesInput {
34766	s.NextToken = &v
34767	return s
34768}
34769
34770// SetSortBy sets the SortBy field's value.
34771func (s *ListModelPackagesInput) SetSortBy(v string) *ListModelPackagesInput {
34772	s.SortBy = &v
34773	return s
34774}
34775
34776// SetSortOrder sets the SortOrder field's value.
34777func (s *ListModelPackagesInput) SetSortOrder(v string) *ListModelPackagesInput {
34778	s.SortOrder = &v
34779	return s
34780}
34781
34782type ListModelPackagesOutput struct {
34783	_ struct{} `type:"structure"`
34784
34785	// An array of ModelPackageSummary objects, each of which lists a model package.
34786	//
34787	// ModelPackageSummaryList is a required field
34788	ModelPackageSummaryList []*ModelPackageSummary `type:"list" required:"true"`
34789
34790	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
34791	// the next set of model packages, use it in the subsequent request.
34792	NextToken *string `type:"string"`
34793}
34794
34795// String returns the string representation
34796func (s ListModelPackagesOutput) String() string {
34797	return awsutil.Prettify(s)
34798}
34799
34800// GoString returns the string representation
34801func (s ListModelPackagesOutput) GoString() string {
34802	return s.String()
34803}
34804
34805// SetModelPackageSummaryList sets the ModelPackageSummaryList field's value.
34806func (s *ListModelPackagesOutput) SetModelPackageSummaryList(v []*ModelPackageSummary) *ListModelPackagesOutput {
34807	s.ModelPackageSummaryList = v
34808	return s
34809}
34810
34811// SetNextToken sets the NextToken field's value.
34812func (s *ListModelPackagesOutput) SetNextToken(v string) *ListModelPackagesOutput {
34813	s.NextToken = &v
34814	return s
34815}
34816
34817type ListModelsInput struct {
34818	_ struct{} `type:"structure"`
34819
34820	// A filter that returns only models with a creation time greater than or equal
34821	// to the specified time (timestamp).
34822	CreationTimeAfter *time.Time `type:"timestamp"`
34823
34824	// A filter that returns only models created before the specified time (timestamp).
34825	CreationTimeBefore *time.Time `type:"timestamp"`
34826
34827	// The maximum number of models to return in the response.
34828	MaxResults *int64 `min:"1" type:"integer"`
34829
34830	// A string in the training job name. This filter returns only models in the
34831	// training job whose name contains the specified string.
34832	NameContains *string `type:"string"`
34833
34834	// If the response to a previous ListModels request was truncated, the response
34835	// includes a NextToken. To retrieve the next set of models, use the token in
34836	// the next request.
34837	NextToken *string `type:"string"`
34838
34839	// Sorts the list of results. The default is CreationTime.
34840	SortBy *string `type:"string" enum:"ModelSortKey"`
34841
34842	// The sort order for results. The default is Descending.
34843	SortOrder *string `type:"string" enum:"OrderKey"`
34844}
34845
34846// String returns the string representation
34847func (s ListModelsInput) String() string {
34848	return awsutil.Prettify(s)
34849}
34850
34851// GoString returns the string representation
34852func (s ListModelsInput) GoString() string {
34853	return s.String()
34854}
34855
34856// Validate inspects the fields of the type to determine if they are valid.
34857func (s *ListModelsInput) Validate() error {
34858	invalidParams := request.ErrInvalidParams{Context: "ListModelsInput"}
34859	if s.MaxResults != nil && *s.MaxResults < 1 {
34860		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
34861	}
34862
34863	if invalidParams.Len() > 0 {
34864		return invalidParams
34865	}
34866	return nil
34867}
34868
34869// SetCreationTimeAfter sets the CreationTimeAfter field's value.
34870func (s *ListModelsInput) SetCreationTimeAfter(v time.Time) *ListModelsInput {
34871	s.CreationTimeAfter = &v
34872	return s
34873}
34874
34875// SetCreationTimeBefore sets the CreationTimeBefore field's value.
34876func (s *ListModelsInput) SetCreationTimeBefore(v time.Time) *ListModelsInput {
34877	s.CreationTimeBefore = &v
34878	return s
34879}
34880
34881// SetMaxResults sets the MaxResults field's value.
34882func (s *ListModelsInput) SetMaxResults(v int64) *ListModelsInput {
34883	s.MaxResults = &v
34884	return s
34885}
34886
34887// SetNameContains sets the NameContains field's value.
34888func (s *ListModelsInput) SetNameContains(v string) *ListModelsInput {
34889	s.NameContains = &v
34890	return s
34891}
34892
34893// SetNextToken sets the NextToken field's value.
34894func (s *ListModelsInput) SetNextToken(v string) *ListModelsInput {
34895	s.NextToken = &v
34896	return s
34897}
34898
34899// SetSortBy sets the SortBy field's value.
34900func (s *ListModelsInput) SetSortBy(v string) *ListModelsInput {
34901	s.SortBy = &v
34902	return s
34903}
34904
34905// SetSortOrder sets the SortOrder field's value.
34906func (s *ListModelsInput) SetSortOrder(v string) *ListModelsInput {
34907	s.SortOrder = &v
34908	return s
34909}
34910
34911type ListModelsOutput struct {
34912	_ struct{} `type:"structure"`
34913
34914	// An array of ModelSummary objects, each of which lists a model.
34915	//
34916	// Models is a required field
34917	Models []*ModelSummary `type:"list" required:"true"`
34918
34919	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
34920	// the next set of models, use it in the subsequent request.
34921	NextToken *string `type:"string"`
34922}
34923
34924// String returns the string representation
34925func (s ListModelsOutput) String() string {
34926	return awsutil.Prettify(s)
34927}
34928
34929// GoString returns the string representation
34930func (s ListModelsOutput) GoString() string {
34931	return s.String()
34932}
34933
34934// SetModels sets the Models field's value.
34935func (s *ListModelsOutput) SetModels(v []*ModelSummary) *ListModelsOutput {
34936	s.Models = v
34937	return s
34938}
34939
34940// SetNextToken sets the NextToken field's value.
34941func (s *ListModelsOutput) SetNextToken(v string) *ListModelsOutput {
34942	s.NextToken = &v
34943	return s
34944}
34945
34946type ListMonitoringExecutionsInput struct {
34947	_ struct{} `type:"structure"`
34948
34949	// A filter that returns only jobs created after a specified time.
34950	CreationTimeAfter *time.Time `type:"timestamp"`
34951
34952	// A filter that returns only jobs created before a specified time.
34953	CreationTimeBefore *time.Time `type:"timestamp"`
34954
34955	// Name of a specific endpoint to fetch jobs for.
34956	EndpointName *string `type:"string"`
34957
34958	// A filter that returns only jobs modified before a specified time.
34959	LastModifiedTimeAfter *time.Time `type:"timestamp"`
34960
34961	// A filter that returns only jobs modified after a specified time.
34962	LastModifiedTimeBefore *time.Time `type:"timestamp"`
34963
34964	// The maximum number of jobs to return in the response. The default value is
34965	// 10.
34966	MaxResults *int64 `min:"1" type:"integer"`
34967
34968	// Name of a specific schedule to fetch jobs for.
34969	MonitoringScheduleName *string `min:"1" type:"string"`
34970
34971	// The token returned if the response is truncated. To retrieve the next set
34972	// of job executions, use it in the next request.
34973	NextToken *string `type:"string"`
34974
34975	// Filter for jobs scheduled after a specified time.
34976	ScheduledTimeAfter *time.Time `type:"timestamp"`
34977
34978	// Filter for jobs scheduled before a specified time.
34979	ScheduledTimeBefore *time.Time `type:"timestamp"`
34980
34981	// Whether to sort results by Status, CreationTime, ScheduledTime field. The
34982	// default is CreationTime.
34983	SortBy *string `type:"string" enum:"MonitoringExecutionSortKey"`
34984
34985	// Whether to sort the results in Ascending or Descending order. The default
34986	// is Descending.
34987	SortOrder *string `type:"string" enum:"SortOrder"`
34988
34989	// A filter that retrieves only jobs with a specific status.
34990	StatusEquals *string `type:"string" enum:"ExecutionStatus"`
34991}
34992
34993// String returns the string representation
34994func (s ListMonitoringExecutionsInput) String() string {
34995	return awsutil.Prettify(s)
34996}
34997
34998// GoString returns the string representation
34999func (s ListMonitoringExecutionsInput) GoString() string {
35000	return s.String()
35001}
35002
35003// Validate inspects the fields of the type to determine if they are valid.
35004func (s *ListMonitoringExecutionsInput) Validate() error {
35005	invalidParams := request.ErrInvalidParams{Context: "ListMonitoringExecutionsInput"}
35006	if s.MaxResults != nil && *s.MaxResults < 1 {
35007		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
35008	}
35009	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
35010		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
35011	}
35012
35013	if invalidParams.Len() > 0 {
35014		return invalidParams
35015	}
35016	return nil
35017}
35018
35019// SetCreationTimeAfter sets the CreationTimeAfter field's value.
35020func (s *ListMonitoringExecutionsInput) SetCreationTimeAfter(v time.Time) *ListMonitoringExecutionsInput {
35021	s.CreationTimeAfter = &v
35022	return s
35023}
35024
35025// SetCreationTimeBefore sets the CreationTimeBefore field's value.
35026func (s *ListMonitoringExecutionsInput) SetCreationTimeBefore(v time.Time) *ListMonitoringExecutionsInput {
35027	s.CreationTimeBefore = &v
35028	return s
35029}
35030
35031// SetEndpointName sets the EndpointName field's value.
35032func (s *ListMonitoringExecutionsInput) SetEndpointName(v string) *ListMonitoringExecutionsInput {
35033	s.EndpointName = &v
35034	return s
35035}
35036
35037// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
35038func (s *ListMonitoringExecutionsInput) SetLastModifiedTimeAfter(v time.Time) *ListMonitoringExecutionsInput {
35039	s.LastModifiedTimeAfter = &v
35040	return s
35041}
35042
35043// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
35044func (s *ListMonitoringExecutionsInput) SetLastModifiedTimeBefore(v time.Time) *ListMonitoringExecutionsInput {
35045	s.LastModifiedTimeBefore = &v
35046	return s
35047}
35048
35049// SetMaxResults sets the MaxResults field's value.
35050func (s *ListMonitoringExecutionsInput) SetMaxResults(v int64) *ListMonitoringExecutionsInput {
35051	s.MaxResults = &v
35052	return s
35053}
35054
35055// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
35056func (s *ListMonitoringExecutionsInput) SetMonitoringScheduleName(v string) *ListMonitoringExecutionsInput {
35057	s.MonitoringScheduleName = &v
35058	return s
35059}
35060
35061// SetNextToken sets the NextToken field's value.
35062func (s *ListMonitoringExecutionsInput) SetNextToken(v string) *ListMonitoringExecutionsInput {
35063	s.NextToken = &v
35064	return s
35065}
35066
35067// SetScheduledTimeAfter sets the ScheduledTimeAfter field's value.
35068func (s *ListMonitoringExecutionsInput) SetScheduledTimeAfter(v time.Time) *ListMonitoringExecutionsInput {
35069	s.ScheduledTimeAfter = &v
35070	return s
35071}
35072
35073// SetScheduledTimeBefore sets the ScheduledTimeBefore field's value.
35074func (s *ListMonitoringExecutionsInput) SetScheduledTimeBefore(v time.Time) *ListMonitoringExecutionsInput {
35075	s.ScheduledTimeBefore = &v
35076	return s
35077}
35078
35079// SetSortBy sets the SortBy field's value.
35080func (s *ListMonitoringExecutionsInput) SetSortBy(v string) *ListMonitoringExecutionsInput {
35081	s.SortBy = &v
35082	return s
35083}
35084
35085// SetSortOrder sets the SortOrder field's value.
35086func (s *ListMonitoringExecutionsInput) SetSortOrder(v string) *ListMonitoringExecutionsInput {
35087	s.SortOrder = &v
35088	return s
35089}
35090
35091// SetStatusEquals sets the StatusEquals field's value.
35092func (s *ListMonitoringExecutionsInput) SetStatusEquals(v string) *ListMonitoringExecutionsInput {
35093	s.StatusEquals = &v
35094	return s
35095}
35096
35097type ListMonitoringExecutionsOutput struct {
35098	_ struct{} `type:"structure"`
35099
35100	// A JSON array in which each element is a summary for a monitoring execution.
35101	//
35102	// MonitoringExecutionSummaries is a required field
35103	MonitoringExecutionSummaries []*MonitoringExecutionSummary `type:"list" required:"true"`
35104
35105	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
35106	// the next set of jobs, use it in the subsequent reques
35107	NextToken *string `type:"string"`
35108}
35109
35110// String returns the string representation
35111func (s ListMonitoringExecutionsOutput) String() string {
35112	return awsutil.Prettify(s)
35113}
35114
35115// GoString returns the string representation
35116func (s ListMonitoringExecutionsOutput) GoString() string {
35117	return s.String()
35118}
35119
35120// SetMonitoringExecutionSummaries sets the MonitoringExecutionSummaries field's value.
35121func (s *ListMonitoringExecutionsOutput) SetMonitoringExecutionSummaries(v []*MonitoringExecutionSummary) *ListMonitoringExecutionsOutput {
35122	s.MonitoringExecutionSummaries = v
35123	return s
35124}
35125
35126// SetNextToken sets the NextToken field's value.
35127func (s *ListMonitoringExecutionsOutput) SetNextToken(v string) *ListMonitoringExecutionsOutput {
35128	s.NextToken = &v
35129	return s
35130}
35131
35132type ListMonitoringSchedulesInput struct {
35133	_ struct{} `type:"structure"`
35134
35135	// A filter that returns only monitoring schedules created after a specified
35136	// time.
35137	CreationTimeAfter *time.Time `type:"timestamp"`
35138
35139	// A filter that returns only monitoring schedules created before a specified
35140	// time.
35141	CreationTimeBefore *time.Time `type:"timestamp"`
35142
35143	// Name of a specific endpoint to fetch schedules for.
35144	EndpointName *string `type:"string"`
35145
35146	// A filter that returns only monitoring schedules modified after a specified
35147	// time.
35148	LastModifiedTimeAfter *time.Time `type:"timestamp"`
35149
35150	// A filter that returns only monitoring schedules modified before a specified
35151	// time.
35152	LastModifiedTimeBefore *time.Time `type:"timestamp"`
35153
35154	// The maximum number of jobs to return in the response. The default value is
35155	// 10.
35156	MaxResults *int64 `min:"1" type:"integer"`
35157
35158	// Filter for monitoring schedules whose name contains a specified string.
35159	NameContains *string `type:"string"`
35160
35161	// The token returned if the response is truncated. To retrieve the next set
35162	// of job executions, use it in the next request.
35163	NextToken *string `type:"string"`
35164
35165	// Whether to sort results by Status, CreationTime, ScheduledTime field. The
35166	// default is CreationTime.
35167	SortBy *string `type:"string" enum:"MonitoringScheduleSortKey"`
35168
35169	// Whether to sort the results in Ascending or Descending order. The default
35170	// is Descending.
35171	SortOrder *string `type:"string" enum:"SortOrder"`
35172
35173	// A filter that returns only monitoring schedules modified before a specified
35174	// time.
35175	StatusEquals *string `type:"string" enum:"ScheduleStatus"`
35176}
35177
35178// String returns the string representation
35179func (s ListMonitoringSchedulesInput) String() string {
35180	return awsutil.Prettify(s)
35181}
35182
35183// GoString returns the string representation
35184func (s ListMonitoringSchedulesInput) GoString() string {
35185	return s.String()
35186}
35187
35188// Validate inspects the fields of the type to determine if they are valid.
35189func (s *ListMonitoringSchedulesInput) Validate() error {
35190	invalidParams := request.ErrInvalidParams{Context: "ListMonitoringSchedulesInput"}
35191	if s.MaxResults != nil && *s.MaxResults < 1 {
35192		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
35193	}
35194
35195	if invalidParams.Len() > 0 {
35196		return invalidParams
35197	}
35198	return nil
35199}
35200
35201// SetCreationTimeAfter sets the CreationTimeAfter field's value.
35202func (s *ListMonitoringSchedulesInput) SetCreationTimeAfter(v time.Time) *ListMonitoringSchedulesInput {
35203	s.CreationTimeAfter = &v
35204	return s
35205}
35206
35207// SetCreationTimeBefore sets the CreationTimeBefore field's value.
35208func (s *ListMonitoringSchedulesInput) SetCreationTimeBefore(v time.Time) *ListMonitoringSchedulesInput {
35209	s.CreationTimeBefore = &v
35210	return s
35211}
35212
35213// SetEndpointName sets the EndpointName field's value.
35214func (s *ListMonitoringSchedulesInput) SetEndpointName(v string) *ListMonitoringSchedulesInput {
35215	s.EndpointName = &v
35216	return s
35217}
35218
35219// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
35220func (s *ListMonitoringSchedulesInput) SetLastModifiedTimeAfter(v time.Time) *ListMonitoringSchedulesInput {
35221	s.LastModifiedTimeAfter = &v
35222	return s
35223}
35224
35225// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
35226func (s *ListMonitoringSchedulesInput) SetLastModifiedTimeBefore(v time.Time) *ListMonitoringSchedulesInput {
35227	s.LastModifiedTimeBefore = &v
35228	return s
35229}
35230
35231// SetMaxResults sets the MaxResults field's value.
35232func (s *ListMonitoringSchedulesInput) SetMaxResults(v int64) *ListMonitoringSchedulesInput {
35233	s.MaxResults = &v
35234	return s
35235}
35236
35237// SetNameContains sets the NameContains field's value.
35238func (s *ListMonitoringSchedulesInput) SetNameContains(v string) *ListMonitoringSchedulesInput {
35239	s.NameContains = &v
35240	return s
35241}
35242
35243// SetNextToken sets the NextToken field's value.
35244func (s *ListMonitoringSchedulesInput) SetNextToken(v string) *ListMonitoringSchedulesInput {
35245	s.NextToken = &v
35246	return s
35247}
35248
35249// SetSortBy sets the SortBy field's value.
35250func (s *ListMonitoringSchedulesInput) SetSortBy(v string) *ListMonitoringSchedulesInput {
35251	s.SortBy = &v
35252	return s
35253}
35254
35255// SetSortOrder sets the SortOrder field's value.
35256func (s *ListMonitoringSchedulesInput) SetSortOrder(v string) *ListMonitoringSchedulesInput {
35257	s.SortOrder = &v
35258	return s
35259}
35260
35261// SetStatusEquals sets the StatusEquals field's value.
35262func (s *ListMonitoringSchedulesInput) SetStatusEquals(v string) *ListMonitoringSchedulesInput {
35263	s.StatusEquals = &v
35264	return s
35265}
35266
35267type ListMonitoringSchedulesOutput struct {
35268	_ struct{} `type:"structure"`
35269
35270	// A JSON array in which each element is a summary for a monitoring schedule.
35271	//
35272	// MonitoringScheduleSummaries is a required field
35273	MonitoringScheduleSummaries []*MonitoringScheduleSummary `type:"list" required:"true"`
35274
35275	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
35276	// the next set of jobs, use it in the subsequent reques
35277	NextToken *string `type:"string"`
35278}
35279
35280// String returns the string representation
35281func (s ListMonitoringSchedulesOutput) String() string {
35282	return awsutil.Prettify(s)
35283}
35284
35285// GoString returns the string representation
35286func (s ListMonitoringSchedulesOutput) GoString() string {
35287	return s.String()
35288}
35289
35290// SetMonitoringScheduleSummaries sets the MonitoringScheduleSummaries field's value.
35291func (s *ListMonitoringSchedulesOutput) SetMonitoringScheduleSummaries(v []*MonitoringScheduleSummary) *ListMonitoringSchedulesOutput {
35292	s.MonitoringScheduleSummaries = v
35293	return s
35294}
35295
35296// SetNextToken sets the NextToken field's value.
35297func (s *ListMonitoringSchedulesOutput) SetNextToken(v string) *ListMonitoringSchedulesOutput {
35298	s.NextToken = &v
35299	return s
35300}
35301
35302type ListNotebookInstanceLifecycleConfigsInput struct {
35303	_ struct{} `type:"structure"`
35304
35305	// A filter that returns only lifecycle configurations that were created after
35306	// the specified time (timestamp).
35307	CreationTimeAfter *time.Time `type:"timestamp"`
35308
35309	// A filter that returns only lifecycle configurations that were created before
35310	// the specified time (timestamp).
35311	CreationTimeBefore *time.Time `type:"timestamp"`
35312
35313	// A filter that returns only lifecycle configurations that were modified after
35314	// the specified time (timestamp).
35315	LastModifiedTimeAfter *time.Time `type:"timestamp"`
35316
35317	// A filter that returns only lifecycle configurations that were modified before
35318	// the specified time (timestamp).
35319	LastModifiedTimeBefore *time.Time `type:"timestamp"`
35320
35321	// The maximum number of lifecycle configurations to return in the response.
35322	MaxResults *int64 `min:"1" type:"integer"`
35323
35324	// A string in the lifecycle configuration name. This filter returns only lifecycle
35325	// configurations whose name contains the specified string.
35326	NameContains *string `type:"string"`
35327
35328	// If the result of a ListNotebookInstanceLifecycleConfigs request was truncated,
35329	// the response includes a NextToken. To get the next set of lifecycle configurations,
35330	// use the token in the next request.
35331	NextToken *string `type:"string"`
35332
35333	// Sorts the list of results. The default is CreationTime.
35334	SortBy *string `type:"string" enum:"NotebookInstanceLifecycleConfigSortKey"`
35335
35336	// The sort order for results.
35337	SortOrder *string `type:"string" enum:"NotebookInstanceLifecycleConfigSortOrder"`
35338}
35339
35340// String returns the string representation
35341func (s ListNotebookInstanceLifecycleConfigsInput) String() string {
35342	return awsutil.Prettify(s)
35343}
35344
35345// GoString returns the string representation
35346func (s ListNotebookInstanceLifecycleConfigsInput) GoString() string {
35347	return s.String()
35348}
35349
35350// Validate inspects the fields of the type to determine if they are valid.
35351func (s *ListNotebookInstanceLifecycleConfigsInput) Validate() error {
35352	invalidParams := request.ErrInvalidParams{Context: "ListNotebookInstanceLifecycleConfigsInput"}
35353	if s.MaxResults != nil && *s.MaxResults < 1 {
35354		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
35355	}
35356
35357	if invalidParams.Len() > 0 {
35358		return invalidParams
35359	}
35360	return nil
35361}
35362
35363// SetCreationTimeAfter sets the CreationTimeAfter field's value.
35364func (s *ListNotebookInstanceLifecycleConfigsInput) SetCreationTimeAfter(v time.Time) *ListNotebookInstanceLifecycleConfigsInput {
35365	s.CreationTimeAfter = &v
35366	return s
35367}
35368
35369// SetCreationTimeBefore sets the CreationTimeBefore field's value.
35370func (s *ListNotebookInstanceLifecycleConfigsInput) SetCreationTimeBefore(v time.Time) *ListNotebookInstanceLifecycleConfigsInput {
35371	s.CreationTimeBefore = &v
35372	return s
35373}
35374
35375// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
35376func (s *ListNotebookInstanceLifecycleConfigsInput) SetLastModifiedTimeAfter(v time.Time) *ListNotebookInstanceLifecycleConfigsInput {
35377	s.LastModifiedTimeAfter = &v
35378	return s
35379}
35380
35381// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
35382func (s *ListNotebookInstanceLifecycleConfigsInput) SetLastModifiedTimeBefore(v time.Time) *ListNotebookInstanceLifecycleConfigsInput {
35383	s.LastModifiedTimeBefore = &v
35384	return s
35385}
35386
35387// SetMaxResults sets the MaxResults field's value.
35388func (s *ListNotebookInstanceLifecycleConfigsInput) SetMaxResults(v int64) *ListNotebookInstanceLifecycleConfigsInput {
35389	s.MaxResults = &v
35390	return s
35391}
35392
35393// SetNameContains sets the NameContains field's value.
35394func (s *ListNotebookInstanceLifecycleConfigsInput) SetNameContains(v string) *ListNotebookInstanceLifecycleConfigsInput {
35395	s.NameContains = &v
35396	return s
35397}
35398
35399// SetNextToken sets the NextToken field's value.
35400func (s *ListNotebookInstanceLifecycleConfigsInput) SetNextToken(v string) *ListNotebookInstanceLifecycleConfigsInput {
35401	s.NextToken = &v
35402	return s
35403}
35404
35405// SetSortBy sets the SortBy field's value.
35406func (s *ListNotebookInstanceLifecycleConfigsInput) SetSortBy(v string) *ListNotebookInstanceLifecycleConfigsInput {
35407	s.SortBy = &v
35408	return s
35409}
35410
35411// SetSortOrder sets the SortOrder field's value.
35412func (s *ListNotebookInstanceLifecycleConfigsInput) SetSortOrder(v string) *ListNotebookInstanceLifecycleConfigsInput {
35413	s.SortOrder = &v
35414	return s
35415}
35416
35417type ListNotebookInstanceLifecycleConfigsOutput struct {
35418	_ struct{} `type:"structure"`
35419
35420	// If the response is truncated, Amazon SageMaker returns this token. To get
35421	// the next set of lifecycle configurations, use it in the next request.
35422	NextToken *string `type:"string"`
35423
35424	// An array of NotebookInstanceLifecycleConfiguration objects, each listing
35425	// a lifecycle configuration.
35426	NotebookInstanceLifecycleConfigs []*NotebookInstanceLifecycleConfigSummary `type:"list"`
35427}
35428
35429// String returns the string representation
35430func (s ListNotebookInstanceLifecycleConfigsOutput) String() string {
35431	return awsutil.Prettify(s)
35432}
35433
35434// GoString returns the string representation
35435func (s ListNotebookInstanceLifecycleConfigsOutput) GoString() string {
35436	return s.String()
35437}
35438
35439// SetNextToken sets the NextToken field's value.
35440func (s *ListNotebookInstanceLifecycleConfigsOutput) SetNextToken(v string) *ListNotebookInstanceLifecycleConfigsOutput {
35441	s.NextToken = &v
35442	return s
35443}
35444
35445// SetNotebookInstanceLifecycleConfigs sets the NotebookInstanceLifecycleConfigs field's value.
35446func (s *ListNotebookInstanceLifecycleConfigsOutput) SetNotebookInstanceLifecycleConfigs(v []*NotebookInstanceLifecycleConfigSummary) *ListNotebookInstanceLifecycleConfigsOutput {
35447	s.NotebookInstanceLifecycleConfigs = v
35448	return s
35449}
35450
35451type ListNotebookInstancesInput struct {
35452	_ struct{} `type:"structure"`
35453
35454	// A filter that returns only notebook instances with associated with the specified
35455	// git repository.
35456	AdditionalCodeRepositoryEquals *string `min:"1" type:"string"`
35457
35458	// A filter that returns only notebook instances that were created after the
35459	// specified time (timestamp).
35460	CreationTimeAfter *time.Time `type:"timestamp"`
35461
35462	// A filter that returns only notebook instances that were created before the
35463	// specified time (timestamp).
35464	CreationTimeBefore *time.Time `type:"timestamp"`
35465
35466	// A string in the name or URL of a Git repository associated with this notebook
35467	// instance. This filter returns only notebook instances associated with a git
35468	// repository with a name that contains the specified string.
35469	DefaultCodeRepositoryContains *string `type:"string"`
35470
35471	// A filter that returns only notebook instances that were modified after the
35472	// specified time (timestamp).
35473	LastModifiedTimeAfter *time.Time `type:"timestamp"`
35474
35475	// A filter that returns only notebook instances that were modified before the
35476	// specified time (timestamp).
35477	LastModifiedTimeBefore *time.Time `type:"timestamp"`
35478
35479	// The maximum number of notebook instances to return.
35480	MaxResults *int64 `min:"1" type:"integer"`
35481
35482	// A string in the notebook instances' name. This filter returns only notebook
35483	// instances whose name contains the specified string.
35484	NameContains *string `type:"string"`
35485
35486	// If the previous call to the ListNotebookInstances is truncated, the response
35487	// includes a NextToken. You can use this token in your subsequent ListNotebookInstances
35488	// request to fetch the next set of notebook instances.
35489	//
35490	// You might specify a filter or a sort order in your request. When response
35491	// is truncated, you must use the same values for the filer and sort order in
35492	// the next request.
35493	NextToken *string `type:"string"`
35494
35495	// A string in the name of a notebook instances lifecycle configuration associated
35496	// with this notebook instance. This filter returns only notebook instances
35497	// associated with a lifecycle configuration with a name that contains the specified
35498	// string.
35499	NotebookInstanceLifecycleConfigNameContains *string `type:"string"`
35500
35501	// The field to sort results by. The default is Name.
35502	SortBy *string `type:"string" enum:"NotebookInstanceSortKey"`
35503
35504	// The sort order for results.
35505	SortOrder *string `type:"string" enum:"NotebookInstanceSortOrder"`
35506
35507	// A filter that returns only notebook instances with the specified status.
35508	StatusEquals *string `type:"string" enum:"NotebookInstanceStatus"`
35509}
35510
35511// String returns the string representation
35512func (s ListNotebookInstancesInput) String() string {
35513	return awsutil.Prettify(s)
35514}
35515
35516// GoString returns the string representation
35517func (s ListNotebookInstancesInput) GoString() string {
35518	return s.String()
35519}
35520
35521// Validate inspects the fields of the type to determine if they are valid.
35522func (s *ListNotebookInstancesInput) Validate() error {
35523	invalidParams := request.ErrInvalidParams{Context: "ListNotebookInstancesInput"}
35524	if s.AdditionalCodeRepositoryEquals != nil && len(*s.AdditionalCodeRepositoryEquals) < 1 {
35525		invalidParams.Add(request.NewErrParamMinLen("AdditionalCodeRepositoryEquals", 1))
35526	}
35527	if s.MaxResults != nil && *s.MaxResults < 1 {
35528		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
35529	}
35530
35531	if invalidParams.Len() > 0 {
35532		return invalidParams
35533	}
35534	return nil
35535}
35536
35537// SetAdditionalCodeRepositoryEquals sets the AdditionalCodeRepositoryEquals field's value.
35538func (s *ListNotebookInstancesInput) SetAdditionalCodeRepositoryEquals(v string) *ListNotebookInstancesInput {
35539	s.AdditionalCodeRepositoryEquals = &v
35540	return s
35541}
35542
35543// SetCreationTimeAfter sets the CreationTimeAfter field's value.
35544func (s *ListNotebookInstancesInput) SetCreationTimeAfter(v time.Time) *ListNotebookInstancesInput {
35545	s.CreationTimeAfter = &v
35546	return s
35547}
35548
35549// SetCreationTimeBefore sets the CreationTimeBefore field's value.
35550func (s *ListNotebookInstancesInput) SetCreationTimeBefore(v time.Time) *ListNotebookInstancesInput {
35551	s.CreationTimeBefore = &v
35552	return s
35553}
35554
35555// SetDefaultCodeRepositoryContains sets the DefaultCodeRepositoryContains field's value.
35556func (s *ListNotebookInstancesInput) SetDefaultCodeRepositoryContains(v string) *ListNotebookInstancesInput {
35557	s.DefaultCodeRepositoryContains = &v
35558	return s
35559}
35560
35561// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
35562func (s *ListNotebookInstancesInput) SetLastModifiedTimeAfter(v time.Time) *ListNotebookInstancesInput {
35563	s.LastModifiedTimeAfter = &v
35564	return s
35565}
35566
35567// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
35568func (s *ListNotebookInstancesInput) SetLastModifiedTimeBefore(v time.Time) *ListNotebookInstancesInput {
35569	s.LastModifiedTimeBefore = &v
35570	return s
35571}
35572
35573// SetMaxResults sets the MaxResults field's value.
35574func (s *ListNotebookInstancesInput) SetMaxResults(v int64) *ListNotebookInstancesInput {
35575	s.MaxResults = &v
35576	return s
35577}
35578
35579// SetNameContains sets the NameContains field's value.
35580func (s *ListNotebookInstancesInput) SetNameContains(v string) *ListNotebookInstancesInput {
35581	s.NameContains = &v
35582	return s
35583}
35584
35585// SetNextToken sets the NextToken field's value.
35586func (s *ListNotebookInstancesInput) SetNextToken(v string) *ListNotebookInstancesInput {
35587	s.NextToken = &v
35588	return s
35589}
35590
35591// SetNotebookInstanceLifecycleConfigNameContains sets the NotebookInstanceLifecycleConfigNameContains field's value.
35592func (s *ListNotebookInstancesInput) SetNotebookInstanceLifecycleConfigNameContains(v string) *ListNotebookInstancesInput {
35593	s.NotebookInstanceLifecycleConfigNameContains = &v
35594	return s
35595}
35596
35597// SetSortBy sets the SortBy field's value.
35598func (s *ListNotebookInstancesInput) SetSortBy(v string) *ListNotebookInstancesInput {
35599	s.SortBy = &v
35600	return s
35601}
35602
35603// SetSortOrder sets the SortOrder field's value.
35604func (s *ListNotebookInstancesInput) SetSortOrder(v string) *ListNotebookInstancesInput {
35605	s.SortOrder = &v
35606	return s
35607}
35608
35609// SetStatusEquals sets the StatusEquals field's value.
35610func (s *ListNotebookInstancesInput) SetStatusEquals(v string) *ListNotebookInstancesInput {
35611	s.StatusEquals = &v
35612	return s
35613}
35614
35615type ListNotebookInstancesOutput struct {
35616	_ struct{} `type:"structure"`
35617
35618	// If the response to the previous ListNotebookInstances request was truncated,
35619	// Amazon SageMaker returns this token. To retrieve the next set of notebook
35620	// instances, use the token in the next request.
35621	NextToken *string `type:"string"`
35622
35623	// An array of NotebookInstanceSummary objects, one for each notebook instance.
35624	NotebookInstances []*NotebookInstanceSummary `type:"list"`
35625}
35626
35627// String returns the string representation
35628func (s ListNotebookInstancesOutput) String() string {
35629	return awsutil.Prettify(s)
35630}
35631
35632// GoString returns the string representation
35633func (s ListNotebookInstancesOutput) GoString() string {
35634	return s.String()
35635}
35636
35637// SetNextToken sets the NextToken field's value.
35638func (s *ListNotebookInstancesOutput) SetNextToken(v string) *ListNotebookInstancesOutput {
35639	s.NextToken = &v
35640	return s
35641}
35642
35643// SetNotebookInstances sets the NotebookInstances field's value.
35644func (s *ListNotebookInstancesOutput) SetNotebookInstances(v []*NotebookInstanceSummary) *ListNotebookInstancesOutput {
35645	s.NotebookInstances = v
35646	return s
35647}
35648
35649type ListProcessingJobsInput struct {
35650	_ struct{} `type:"structure"`
35651
35652	// A filter that returns only processing jobs created after the specified time.
35653	CreationTimeAfter *time.Time `type:"timestamp"`
35654
35655	// A filter that returns only processing jobs created after the specified time.
35656	CreationTimeBefore *time.Time `type:"timestamp"`
35657
35658	// A filter that returns only processing jobs modified after the specified time.
35659	LastModifiedTimeAfter *time.Time `type:"timestamp"`
35660
35661	// A filter that returns only processing jobs modified before the specified
35662	// time.
35663	LastModifiedTimeBefore *time.Time `type:"timestamp"`
35664
35665	// The maximum number of processing jobs to return in the response.
35666	MaxResults *int64 `min:"1" type:"integer"`
35667
35668	// A string in the processing job name. This filter returns only processing
35669	// jobs whose name contains the specified string.
35670	NameContains *string `type:"string"`
35671
35672	// If the result of the previous ListProcessingJobs request was truncated, the
35673	// response includes a NextToken. To retrieve the next set of processing jobs,
35674	// use the token in the next request.
35675	NextToken *string `type:"string"`
35676
35677	// The field to sort results by. The default is CreationTime.
35678	SortBy *string `type:"string" enum:"SortBy"`
35679
35680	// The sort order for results. The default is Ascending.
35681	SortOrder *string `type:"string" enum:"SortOrder"`
35682
35683	// A filter that retrieves only processing jobs with a specific status.
35684	StatusEquals *string `type:"string" enum:"ProcessingJobStatus"`
35685}
35686
35687// String returns the string representation
35688func (s ListProcessingJobsInput) String() string {
35689	return awsutil.Prettify(s)
35690}
35691
35692// GoString returns the string representation
35693func (s ListProcessingJobsInput) GoString() string {
35694	return s.String()
35695}
35696
35697// Validate inspects the fields of the type to determine if they are valid.
35698func (s *ListProcessingJobsInput) Validate() error {
35699	invalidParams := request.ErrInvalidParams{Context: "ListProcessingJobsInput"}
35700	if s.MaxResults != nil && *s.MaxResults < 1 {
35701		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
35702	}
35703
35704	if invalidParams.Len() > 0 {
35705		return invalidParams
35706	}
35707	return nil
35708}
35709
35710// SetCreationTimeAfter sets the CreationTimeAfter field's value.
35711func (s *ListProcessingJobsInput) SetCreationTimeAfter(v time.Time) *ListProcessingJobsInput {
35712	s.CreationTimeAfter = &v
35713	return s
35714}
35715
35716// SetCreationTimeBefore sets the CreationTimeBefore field's value.
35717func (s *ListProcessingJobsInput) SetCreationTimeBefore(v time.Time) *ListProcessingJobsInput {
35718	s.CreationTimeBefore = &v
35719	return s
35720}
35721
35722// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
35723func (s *ListProcessingJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListProcessingJobsInput {
35724	s.LastModifiedTimeAfter = &v
35725	return s
35726}
35727
35728// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
35729func (s *ListProcessingJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListProcessingJobsInput {
35730	s.LastModifiedTimeBefore = &v
35731	return s
35732}
35733
35734// SetMaxResults sets the MaxResults field's value.
35735func (s *ListProcessingJobsInput) SetMaxResults(v int64) *ListProcessingJobsInput {
35736	s.MaxResults = &v
35737	return s
35738}
35739
35740// SetNameContains sets the NameContains field's value.
35741func (s *ListProcessingJobsInput) SetNameContains(v string) *ListProcessingJobsInput {
35742	s.NameContains = &v
35743	return s
35744}
35745
35746// SetNextToken sets the NextToken field's value.
35747func (s *ListProcessingJobsInput) SetNextToken(v string) *ListProcessingJobsInput {
35748	s.NextToken = &v
35749	return s
35750}
35751
35752// SetSortBy sets the SortBy field's value.
35753func (s *ListProcessingJobsInput) SetSortBy(v string) *ListProcessingJobsInput {
35754	s.SortBy = &v
35755	return s
35756}
35757
35758// SetSortOrder sets the SortOrder field's value.
35759func (s *ListProcessingJobsInput) SetSortOrder(v string) *ListProcessingJobsInput {
35760	s.SortOrder = &v
35761	return s
35762}
35763
35764// SetStatusEquals sets the StatusEquals field's value.
35765func (s *ListProcessingJobsInput) SetStatusEquals(v string) *ListProcessingJobsInput {
35766	s.StatusEquals = &v
35767	return s
35768}
35769
35770type ListProcessingJobsOutput struct {
35771	_ struct{} `type:"structure"`
35772
35773	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
35774	// the next set of processing jobs, use it in the subsequent request.
35775	NextToken *string `type:"string"`
35776
35777	// An array of ProcessingJobSummary objects, each listing a processing job.
35778	//
35779	// ProcessingJobSummaries is a required field
35780	ProcessingJobSummaries []*ProcessingJobSummary `type:"list" required:"true"`
35781}
35782
35783// String returns the string representation
35784func (s ListProcessingJobsOutput) String() string {
35785	return awsutil.Prettify(s)
35786}
35787
35788// GoString returns the string representation
35789func (s ListProcessingJobsOutput) GoString() string {
35790	return s.String()
35791}
35792
35793// SetNextToken sets the NextToken field's value.
35794func (s *ListProcessingJobsOutput) SetNextToken(v string) *ListProcessingJobsOutput {
35795	s.NextToken = &v
35796	return s
35797}
35798
35799// SetProcessingJobSummaries sets the ProcessingJobSummaries field's value.
35800func (s *ListProcessingJobsOutput) SetProcessingJobSummaries(v []*ProcessingJobSummary) *ListProcessingJobsOutput {
35801	s.ProcessingJobSummaries = v
35802	return s
35803}
35804
35805type ListSubscribedWorkteamsInput struct {
35806	_ struct{} `type:"structure"`
35807
35808	// The maximum number of work teams to return in each page of the response.
35809	MaxResults *int64 `min:"1" type:"integer"`
35810
35811	// A string in the work team name. This filter returns only work teams whose
35812	// name contains the specified string.
35813	NameContains *string `min:"1" type:"string"`
35814
35815	// If the result of the previous ListSubscribedWorkteams request was truncated,
35816	// the response includes a NextToken. To retrieve the next set of labeling jobs,
35817	// use the token in the next request.
35818	NextToken *string `type:"string"`
35819}
35820
35821// String returns the string representation
35822func (s ListSubscribedWorkteamsInput) String() string {
35823	return awsutil.Prettify(s)
35824}
35825
35826// GoString returns the string representation
35827func (s ListSubscribedWorkteamsInput) GoString() string {
35828	return s.String()
35829}
35830
35831// Validate inspects the fields of the type to determine if they are valid.
35832func (s *ListSubscribedWorkteamsInput) Validate() error {
35833	invalidParams := request.ErrInvalidParams{Context: "ListSubscribedWorkteamsInput"}
35834	if s.MaxResults != nil && *s.MaxResults < 1 {
35835		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
35836	}
35837	if s.NameContains != nil && len(*s.NameContains) < 1 {
35838		invalidParams.Add(request.NewErrParamMinLen("NameContains", 1))
35839	}
35840
35841	if invalidParams.Len() > 0 {
35842		return invalidParams
35843	}
35844	return nil
35845}
35846
35847// SetMaxResults sets the MaxResults field's value.
35848func (s *ListSubscribedWorkteamsInput) SetMaxResults(v int64) *ListSubscribedWorkteamsInput {
35849	s.MaxResults = &v
35850	return s
35851}
35852
35853// SetNameContains sets the NameContains field's value.
35854func (s *ListSubscribedWorkteamsInput) SetNameContains(v string) *ListSubscribedWorkteamsInput {
35855	s.NameContains = &v
35856	return s
35857}
35858
35859// SetNextToken sets the NextToken field's value.
35860func (s *ListSubscribedWorkteamsInput) SetNextToken(v string) *ListSubscribedWorkteamsInput {
35861	s.NextToken = &v
35862	return s
35863}
35864
35865type ListSubscribedWorkteamsOutput struct {
35866	_ struct{} `type:"structure"`
35867
35868	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
35869	// the next set of work teams, use it in the subsequent request.
35870	NextToken *string `type:"string"`
35871
35872	// An array of Workteam objects, each describing a work team.
35873	//
35874	// SubscribedWorkteams is a required field
35875	SubscribedWorkteams []*SubscribedWorkteam `type:"list" required:"true"`
35876}
35877
35878// String returns the string representation
35879func (s ListSubscribedWorkteamsOutput) String() string {
35880	return awsutil.Prettify(s)
35881}
35882
35883// GoString returns the string representation
35884func (s ListSubscribedWorkteamsOutput) GoString() string {
35885	return s.String()
35886}
35887
35888// SetNextToken sets the NextToken field's value.
35889func (s *ListSubscribedWorkteamsOutput) SetNextToken(v string) *ListSubscribedWorkteamsOutput {
35890	s.NextToken = &v
35891	return s
35892}
35893
35894// SetSubscribedWorkteams sets the SubscribedWorkteams field's value.
35895func (s *ListSubscribedWorkteamsOutput) SetSubscribedWorkteams(v []*SubscribedWorkteam) *ListSubscribedWorkteamsOutput {
35896	s.SubscribedWorkteams = v
35897	return s
35898}
35899
35900type ListTagsInput struct {
35901	_ struct{} `type:"structure"`
35902
35903	// Maximum number of tags to return.
35904	MaxResults *int64 `min:"50" type:"integer"`
35905
35906	// If the response to the previous ListTags request is truncated, Amazon SageMaker
35907	// returns this token. To retrieve the next set of tags, use it in the subsequent
35908	// request.
35909	NextToken *string `type:"string"`
35910
35911	// The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve.
35912	//
35913	// ResourceArn is a required field
35914	ResourceArn *string `type:"string" required:"true"`
35915}
35916
35917// String returns the string representation
35918func (s ListTagsInput) String() string {
35919	return awsutil.Prettify(s)
35920}
35921
35922// GoString returns the string representation
35923func (s ListTagsInput) GoString() string {
35924	return s.String()
35925}
35926
35927// Validate inspects the fields of the type to determine if they are valid.
35928func (s *ListTagsInput) Validate() error {
35929	invalidParams := request.ErrInvalidParams{Context: "ListTagsInput"}
35930	if s.MaxResults != nil && *s.MaxResults < 50 {
35931		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 50))
35932	}
35933	if s.ResourceArn == nil {
35934		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
35935	}
35936
35937	if invalidParams.Len() > 0 {
35938		return invalidParams
35939	}
35940	return nil
35941}
35942
35943// SetMaxResults sets the MaxResults field's value.
35944func (s *ListTagsInput) SetMaxResults(v int64) *ListTagsInput {
35945	s.MaxResults = &v
35946	return s
35947}
35948
35949// SetNextToken sets the NextToken field's value.
35950func (s *ListTagsInput) SetNextToken(v string) *ListTagsInput {
35951	s.NextToken = &v
35952	return s
35953}
35954
35955// SetResourceArn sets the ResourceArn field's value.
35956func (s *ListTagsInput) SetResourceArn(v string) *ListTagsInput {
35957	s.ResourceArn = &v
35958	return s
35959}
35960
35961type ListTagsOutput struct {
35962	_ struct{} `type:"structure"`
35963
35964	// If response is truncated, Amazon SageMaker includes a token in the response.
35965	// You can use this token in your subsequent request to fetch next set of tokens.
35966	NextToken *string `type:"string"`
35967
35968	// An array of Tag objects, each with a tag key and a value.
35969	Tags []*Tag `type:"list"`
35970}
35971
35972// String returns the string representation
35973func (s ListTagsOutput) String() string {
35974	return awsutil.Prettify(s)
35975}
35976
35977// GoString returns the string representation
35978func (s ListTagsOutput) GoString() string {
35979	return s.String()
35980}
35981
35982// SetNextToken sets the NextToken field's value.
35983func (s *ListTagsOutput) SetNextToken(v string) *ListTagsOutput {
35984	s.NextToken = &v
35985	return s
35986}
35987
35988// SetTags sets the Tags field's value.
35989func (s *ListTagsOutput) SetTags(v []*Tag) *ListTagsOutput {
35990	s.Tags = v
35991	return s
35992}
35993
35994type ListTrainingJobsForHyperParameterTuningJobInput struct {
35995	_ struct{} `type:"structure"`
35996
35997	// The name of the tuning job whose training jobs you want to list.
35998	//
35999	// HyperParameterTuningJobName is a required field
36000	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
36001
36002	// The maximum number of training jobs to return. The default value is 10.
36003	MaxResults *int64 `min:"1" type:"integer"`
36004
36005	// If the result of the previous ListTrainingJobsForHyperParameterTuningJob
36006	// request was truncated, the response includes a NextToken. To retrieve the
36007	// next set of training jobs, use the token in the next request.
36008	NextToken *string `type:"string"`
36009
36010	// The field to sort results by. The default is Name.
36011	//
36012	// If the value of this field is FinalObjectiveMetricValue, any training jobs
36013	// that did not return an objective metric are not listed.
36014	SortBy *string `type:"string" enum:"TrainingJobSortByOptions"`
36015
36016	// The sort order for results. The default is Ascending.
36017	SortOrder *string `type:"string" enum:"SortOrder"`
36018
36019	// A filter that returns only training jobs with the specified status.
36020	StatusEquals *string `type:"string" enum:"TrainingJobStatus"`
36021}
36022
36023// String returns the string representation
36024func (s ListTrainingJobsForHyperParameterTuningJobInput) String() string {
36025	return awsutil.Prettify(s)
36026}
36027
36028// GoString returns the string representation
36029func (s ListTrainingJobsForHyperParameterTuningJobInput) GoString() string {
36030	return s.String()
36031}
36032
36033// Validate inspects the fields of the type to determine if they are valid.
36034func (s *ListTrainingJobsForHyperParameterTuningJobInput) Validate() error {
36035	invalidParams := request.ErrInvalidParams{Context: "ListTrainingJobsForHyperParameterTuningJobInput"}
36036	if s.HyperParameterTuningJobName == nil {
36037		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobName"))
36038	}
36039	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
36040		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
36041	}
36042	if s.MaxResults != nil && *s.MaxResults < 1 {
36043		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
36044	}
36045
36046	if invalidParams.Len() > 0 {
36047		return invalidParams
36048	}
36049	return nil
36050}
36051
36052// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
36053func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetHyperParameterTuningJobName(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
36054	s.HyperParameterTuningJobName = &v
36055	return s
36056}
36057
36058// SetMaxResults sets the MaxResults field's value.
36059func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetMaxResults(v int64) *ListTrainingJobsForHyperParameterTuningJobInput {
36060	s.MaxResults = &v
36061	return s
36062}
36063
36064// SetNextToken sets the NextToken field's value.
36065func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetNextToken(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
36066	s.NextToken = &v
36067	return s
36068}
36069
36070// SetSortBy sets the SortBy field's value.
36071func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetSortBy(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
36072	s.SortBy = &v
36073	return s
36074}
36075
36076// SetSortOrder sets the SortOrder field's value.
36077func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetSortOrder(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
36078	s.SortOrder = &v
36079	return s
36080}
36081
36082// SetStatusEquals sets the StatusEquals field's value.
36083func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetStatusEquals(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
36084	s.StatusEquals = &v
36085	return s
36086}
36087
36088type ListTrainingJobsForHyperParameterTuningJobOutput struct {
36089	_ struct{} `type:"structure"`
36090
36091	// If the result of this ListTrainingJobsForHyperParameterTuningJob request
36092	// was truncated, the response includes a NextToken. To retrieve the next set
36093	// of training jobs, use the token in the next request.
36094	NextToken *string `type:"string"`
36095
36096	// A list of TrainingJobSummary objects that describe the training jobs that
36097	// the ListTrainingJobsForHyperParameterTuningJob request returned.
36098	//
36099	// TrainingJobSummaries is a required field
36100	TrainingJobSummaries []*HyperParameterTrainingJobSummary `type:"list" required:"true"`
36101}
36102
36103// String returns the string representation
36104func (s ListTrainingJobsForHyperParameterTuningJobOutput) String() string {
36105	return awsutil.Prettify(s)
36106}
36107
36108// GoString returns the string representation
36109func (s ListTrainingJobsForHyperParameterTuningJobOutput) GoString() string {
36110	return s.String()
36111}
36112
36113// SetNextToken sets the NextToken field's value.
36114func (s *ListTrainingJobsForHyperParameterTuningJobOutput) SetNextToken(v string) *ListTrainingJobsForHyperParameterTuningJobOutput {
36115	s.NextToken = &v
36116	return s
36117}
36118
36119// SetTrainingJobSummaries sets the TrainingJobSummaries field's value.
36120func (s *ListTrainingJobsForHyperParameterTuningJobOutput) SetTrainingJobSummaries(v []*HyperParameterTrainingJobSummary) *ListTrainingJobsForHyperParameterTuningJobOutput {
36121	s.TrainingJobSummaries = v
36122	return s
36123}
36124
36125type ListTrainingJobsInput struct {
36126	_ struct{} `type:"structure"`
36127
36128	// A filter that returns only training jobs created after the specified time
36129	// (timestamp).
36130	CreationTimeAfter *time.Time `type:"timestamp"`
36131
36132	// A filter that returns only training jobs created before the specified time
36133	// (timestamp).
36134	CreationTimeBefore *time.Time `type:"timestamp"`
36135
36136	// A filter that returns only training jobs modified after the specified time
36137	// (timestamp).
36138	LastModifiedTimeAfter *time.Time `type:"timestamp"`
36139
36140	// A filter that returns only training jobs modified before the specified time
36141	// (timestamp).
36142	LastModifiedTimeBefore *time.Time `type:"timestamp"`
36143
36144	// The maximum number of training jobs to return in the response.
36145	MaxResults *int64 `min:"1" type:"integer"`
36146
36147	// A string in the training job name. This filter returns only training jobs
36148	// whose name contains the specified string.
36149	NameContains *string `type:"string"`
36150
36151	// If the result of the previous ListTrainingJobs request was truncated, the
36152	// response includes a NextToken. To retrieve the next set of training jobs,
36153	// use the token in the next request.
36154	NextToken *string `type:"string"`
36155
36156	// The field to sort results by. The default is CreationTime.
36157	SortBy *string `type:"string" enum:"SortBy"`
36158
36159	// The sort order for results. The default is Ascending.
36160	SortOrder *string `type:"string" enum:"SortOrder"`
36161
36162	// A filter that retrieves only training jobs with a specific status.
36163	StatusEquals *string `type:"string" enum:"TrainingJobStatus"`
36164}
36165
36166// String returns the string representation
36167func (s ListTrainingJobsInput) String() string {
36168	return awsutil.Prettify(s)
36169}
36170
36171// GoString returns the string representation
36172func (s ListTrainingJobsInput) GoString() string {
36173	return s.String()
36174}
36175
36176// Validate inspects the fields of the type to determine if they are valid.
36177func (s *ListTrainingJobsInput) Validate() error {
36178	invalidParams := request.ErrInvalidParams{Context: "ListTrainingJobsInput"}
36179	if s.MaxResults != nil && *s.MaxResults < 1 {
36180		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
36181	}
36182
36183	if invalidParams.Len() > 0 {
36184		return invalidParams
36185	}
36186	return nil
36187}
36188
36189// SetCreationTimeAfter sets the CreationTimeAfter field's value.
36190func (s *ListTrainingJobsInput) SetCreationTimeAfter(v time.Time) *ListTrainingJobsInput {
36191	s.CreationTimeAfter = &v
36192	return s
36193}
36194
36195// SetCreationTimeBefore sets the CreationTimeBefore field's value.
36196func (s *ListTrainingJobsInput) SetCreationTimeBefore(v time.Time) *ListTrainingJobsInput {
36197	s.CreationTimeBefore = &v
36198	return s
36199}
36200
36201// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
36202func (s *ListTrainingJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListTrainingJobsInput {
36203	s.LastModifiedTimeAfter = &v
36204	return s
36205}
36206
36207// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
36208func (s *ListTrainingJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListTrainingJobsInput {
36209	s.LastModifiedTimeBefore = &v
36210	return s
36211}
36212
36213// SetMaxResults sets the MaxResults field's value.
36214func (s *ListTrainingJobsInput) SetMaxResults(v int64) *ListTrainingJobsInput {
36215	s.MaxResults = &v
36216	return s
36217}
36218
36219// SetNameContains sets the NameContains field's value.
36220func (s *ListTrainingJobsInput) SetNameContains(v string) *ListTrainingJobsInput {
36221	s.NameContains = &v
36222	return s
36223}
36224
36225// SetNextToken sets the NextToken field's value.
36226func (s *ListTrainingJobsInput) SetNextToken(v string) *ListTrainingJobsInput {
36227	s.NextToken = &v
36228	return s
36229}
36230
36231// SetSortBy sets the SortBy field's value.
36232func (s *ListTrainingJobsInput) SetSortBy(v string) *ListTrainingJobsInput {
36233	s.SortBy = &v
36234	return s
36235}
36236
36237// SetSortOrder sets the SortOrder field's value.
36238func (s *ListTrainingJobsInput) SetSortOrder(v string) *ListTrainingJobsInput {
36239	s.SortOrder = &v
36240	return s
36241}
36242
36243// SetStatusEquals sets the StatusEquals field's value.
36244func (s *ListTrainingJobsInput) SetStatusEquals(v string) *ListTrainingJobsInput {
36245	s.StatusEquals = &v
36246	return s
36247}
36248
36249type ListTrainingJobsOutput struct {
36250	_ struct{} `type:"structure"`
36251
36252	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
36253	// the next set of training jobs, use it in the subsequent request.
36254	NextToken *string `type:"string"`
36255
36256	// An array of TrainingJobSummary objects, each listing a training job.
36257	//
36258	// TrainingJobSummaries is a required field
36259	TrainingJobSummaries []*TrainingJobSummary `type:"list" required:"true"`
36260}
36261
36262// String returns the string representation
36263func (s ListTrainingJobsOutput) String() string {
36264	return awsutil.Prettify(s)
36265}
36266
36267// GoString returns the string representation
36268func (s ListTrainingJobsOutput) GoString() string {
36269	return s.String()
36270}
36271
36272// SetNextToken sets the NextToken field's value.
36273func (s *ListTrainingJobsOutput) SetNextToken(v string) *ListTrainingJobsOutput {
36274	s.NextToken = &v
36275	return s
36276}
36277
36278// SetTrainingJobSummaries sets the TrainingJobSummaries field's value.
36279func (s *ListTrainingJobsOutput) SetTrainingJobSummaries(v []*TrainingJobSummary) *ListTrainingJobsOutput {
36280	s.TrainingJobSummaries = v
36281	return s
36282}
36283
36284type ListTransformJobsInput struct {
36285	_ struct{} `type:"structure"`
36286
36287	// A filter that returns only transform jobs created after the specified time.
36288	CreationTimeAfter *time.Time `type:"timestamp"`
36289
36290	// A filter that returns only transform jobs created before the specified time.
36291	CreationTimeBefore *time.Time `type:"timestamp"`
36292
36293	// A filter that returns only transform jobs modified after the specified time.
36294	LastModifiedTimeAfter *time.Time `type:"timestamp"`
36295
36296	// A filter that returns only transform jobs modified before the specified time.
36297	LastModifiedTimeBefore *time.Time `type:"timestamp"`
36298
36299	// The maximum number of transform jobs to return in the response. The default
36300	// value is 10.
36301	MaxResults *int64 `min:"1" type:"integer"`
36302
36303	// A string in the transform job name. This filter returns only transform jobs
36304	// whose name contains the specified string.
36305	NameContains *string `type:"string"`
36306
36307	// If the result of the previous ListTransformJobs request was truncated, the
36308	// response includes a NextToken. To retrieve the next set of transform jobs,
36309	// use the token in the next request.
36310	NextToken *string `type:"string"`
36311
36312	// The field to sort results by. The default is CreationTime.
36313	SortBy *string `type:"string" enum:"SortBy"`
36314
36315	// The sort order for results. The default is Descending.
36316	SortOrder *string `type:"string" enum:"SortOrder"`
36317
36318	// A filter that retrieves only transform jobs with a specific status.
36319	StatusEquals *string `type:"string" enum:"TransformJobStatus"`
36320}
36321
36322// String returns the string representation
36323func (s ListTransformJobsInput) String() string {
36324	return awsutil.Prettify(s)
36325}
36326
36327// GoString returns the string representation
36328func (s ListTransformJobsInput) GoString() string {
36329	return s.String()
36330}
36331
36332// Validate inspects the fields of the type to determine if they are valid.
36333func (s *ListTransformJobsInput) Validate() error {
36334	invalidParams := request.ErrInvalidParams{Context: "ListTransformJobsInput"}
36335	if s.MaxResults != nil && *s.MaxResults < 1 {
36336		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
36337	}
36338
36339	if invalidParams.Len() > 0 {
36340		return invalidParams
36341	}
36342	return nil
36343}
36344
36345// SetCreationTimeAfter sets the CreationTimeAfter field's value.
36346func (s *ListTransformJobsInput) SetCreationTimeAfter(v time.Time) *ListTransformJobsInput {
36347	s.CreationTimeAfter = &v
36348	return s
36349}
36350
36351// SetCreationTimeBefore sets the CreationTimeBefore field's value.
36352func (s *ListTransformJobsInput) SetCreationTimeBefore(v time.Time) *ListTransformJobsInput {
36353	s.CreationTimeBefore = &v
36354	return s
36355}
36356
36357// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
36358func (s *ListTransformJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListTransformJobsInput {
36359	s.LastModifiedTimeAfter = &v
36360	return s
36361}
36362
36363// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
36364func (s *ListTransformJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListTransformJobsInput {
36365	s.LastModifiedTimeBefore = &v
36366	return s
36367}
36368
36369// SetMaxResults sets the MaxResults field's value.
36370func (s *ListTransformJobsInput) SetMaxResults(v int64) *ListTransformJobsInput {
36371	s.MaxResults = &v
36372	return s
36373}
36374
36375// SetNameContains sets the NameContains field's value.
36376func (s *ListTransformJobsInput) SetNameContains(v string) *ListTransformJobsInput {
36377	s.NameContains = &v
36378	return s
36379}
36380
36381// SetNextToken sets the NextToken field's value.
36382func (s *ListTransformJobsInput) SetNextToken(v string) *ListTransformJobsInput {
36383	s.NextToken = &v
36384	return s
36385}
36386
36387// SetSortBy sets the SortBy field's value.
36388func (s *ListTransformJobsInput) SetSortBy(v string) *ListTransformJobsInput {
36389	s.SortBy = &v
36390	return s
36391}
36392
36393// SetSortOrder sets the SortOrder field's value.
36394func (s *ListTransformJobsInput) SetSortOrder(v string) *ListTransformJobsInput {
36395	s.SortOrder = &v
36396	return s
36397}
36398
36399// SetStatusEquals sets the StatusEquals field's value.
36400func (s *ListTransformJobsInput) SetStatusEquals(v string) *ListTransformJobsInput {
36401	s.StatusEquals = &v
36402	return s
36403}
36404
36405type ListTransformJobsOutput struct {
36406	_ struct{} `type:"structure"`
36407
36408	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
36409	// the next set of transform jobs, use it in the next request.
36410	NextToken *string `type:"string"`
36411
36412	// An array of TransformJobSummary objects.
36413	//
36414	// TransformJobSummaries is a required field
36415	TransformJobSummaries []*TransformJobSummary `type:"list" required:"true"`
36416}
36417
36418// String returns the string representation
36419func (s ListTransformJobsOutput) String() string {
36420	return awsutil.Prettify(s)
36421}
36422
36423// GoString returns the string representation
36424func (s ListTransformJobsOutput) GoString() string {
36425	return s.String()
36426}
36427
36428// SetNextToken sets the NextToken field's value.
36429func (s *ListTransformJobsOutput) SetNextToken(v string) *ListTransformJobsOutput {
36430	s.NextToken = &v
36431	return s
36432}
36433
36434// SetTransformJobSummaries sets the TransformJobSummaries field's value.
36435func (s *ListTransformJobsOutput) SetTransformJobSummaries(v []*TransformJobSummary) *ListTransformJobsOutput {
36436	s.TransformJobSummaries = v
36437	return s
36438}
36439
36440type ListTrialComponentsInput struct {
36441	_ struct{} `type:"structure"`
36442
36443	// A filter that returns only components created after the specified time.
36444	CreatedAfter *time.Time `type:"timestamp"`
36445
36446	// A filter that returns only components created before the specified time.
36447	CreatedBefore *time.Time `type:"timestamp"`
36448
36449	// A filter that returns only components that are part of the specified experiment.
36450	// If you specify ExperimentName, you can't filter by SourceArn or TrialName.
36451	ExperimentName *string `min:"1" type:"string"`
36452
36453	// The maximum number of components to return in the response. The default value
36454	// is 10.
36455	MaxResults *int64 `min:"1" type:"integer"`
36456
36457	// If the previous call to ListTrialComponents didn't return the full set of
36458	// components, the call returns a token for getting the next set of components.
36459	NextToken *string `type:"string"`
36460
36461	// The property used to sort results. The default value is CreationTime.
36462	SortBy *string `type:"string" enum:"SortTrialComponentsBy"`
36463
36464	// The sort order. The default value is Descending.
36465	SortOrder *string `type:"string" enum:"SortOrder"`
36466
36467	// A filter that returns only components that have the specified source Amazon
36468	// Resource Name (ARN). If you specify SourceArn, you can't filter by ExperimentName
36469	// or TrialName.
36470	SourceArn *string `type:"string"`
36471
36472	// A filter that returns only components that are part of the specified trial.
36473	// If you specify TrialName, you can't filter by ExperimentName or SourceArn.
36474	TrialName *string `min:"1" type:"string"`
36475}
36476
36477// String returns the string representation
36478func (s ListTrialComponentsInput) String() string {
36479	return awsutil.Prettify(s)
36480}
36481
36482// GoString returns the string representation
36483func (s ListTrialComponentsInput) GoString() string {
36484	return s.String()
36485}
36486
36487// Validate inspects the fields of the type to determine if they are valid.
36488func (s *ListTrialComponentsInput) Validate() error {
36489	invalidParams := request.ErrInvalidParams{Context: "ListTrialComponentsInput"}
36490	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
36491		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
36492	}
36493	if s.MaxResults != nil && *s.MaxResults < 1 {
36494		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
36495	}
36496	if s.TrialName != nil && len(*s.TrialName) < 1 {
36497		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
36498	}
36499
36500	if invalidParams.Len() > 0 {
36501		return invalidParams
36502	}
36503	return nil
36504}
36505
36506// SetCreatedAfter sets the CreatedAfter field's value.
36507func (s *ListTrialComponentsInput) SetCreatedAfter(v time.Time) *ListTrialComponentsInput {
36508	s.CreatedAfter = &v
36509	return s
36510}
36511
36512// SetCreatedBefore sets the CreatedBefore field's value.
36513func (s *ListTrialComponentsInput) SetCreatedBefore(v time.Time) *ListTrialComponentsInput {
36514	s.CreatedBefore = &v
36515	return s
36516}
36517
36518// SetExperimentName sets the ExperimentName field's value.
36519func (s *ListTrialComponentsInput) SetExperimentName(v string) *ListTrialComponentsInput {
36520	s.ExperimentName = &v
36521	return s
36522}
36523
36524// SetMaxResults sets the MaxResults field's value.
36525func (s *ListTrialComponentsInput) SetMaxResults(v int64) *ListTrialComponentsInput {
36526	s.MaxResults = &v
36527	return s
36528}
36529
36530// SetNextToken sets the NextToken field's value.
36531func (s *ListTrialComponentsInput) SetNextToken(v string) *ListTrialComponentsInput {
36532	s.NextToken = &v
36533	return s
36534}
36535
36536// SetSortBy sets the SortBy field's value.
36537func (s *ListTrialComponentsInput) SetSortBy(v string) *ListTrialComponentsInput {
36538	s.SortBy = &v
36539	return s
36540}
36541
36542// SetSortOrder sets the SortOrder field's value.
36543func (s *ListTrialComponentsInput) SetSortOrder(v string) *ListTrialComponentsInput {
36544	s.SortOrder = &v
36545	return s
36546}
36547
36548// SetSourceArn sets the SourceArn field's value.
36549func (s *ListTrialComponentsInput) SetSourceArn(v string) *ListTrialComponentsInput {
36550	s.SourceArn = &v
36551	return s
36552}
36553
36554// SetTrialName sets the TrialName field's value.
36555func (s *ListTrialComponentsInput) SetTrialName(v string) *ListTrialComponentsInput {
36556	s.TrialName = &v
36557	return s
36558}
36559
36560type ListTrialComponentsOutput struct {
36561	_ struct{} `type:"structure"`
36562
36563	// A token for getting the next set of components, if there are any.
36564	NextToken *string `type:"string"`
36565
36566	// A list of the summaries of your trial components.
36567	TrialComponentSummaries []*TrialComponentSummary `type:"list"`
36568}
36569
36570// String returns the string representation
36571func (s ListTrialComponentsOutput) String() string {
36572	return awsutil.Prettify(s)
36573}
36574
36575// GoString returns the string representation
36576func (s ListTrialComponentsOutput) GoString() string {
36577	return s.String()
36578}
36579
36580// SetNextToken sets the NextToken field's value.
36581func (s *ListTrialComponentsOutput) SetNextToken(v string) *ListTrialComponentsOutput {
36582	s.NextToken = &v
36583	return s
36584}
36585
36586// SetTrialComponentSummaries sets the TrialComponentSummaries field's value.
36587func (s *ListTrialComponentsOutput) SetTrialComponentSummaries(v []*TrialComponentSummary) *ListTrialComponentsOutput {
36588	s.TrialComponentSummaries = v
36589	return s
36590}
36591
36592type ListTrialsInput struct {
36593	_ struct{} `type:"structure"`
36594
36595	// A filter that returns only trials created after the specified time.
36596	CreatedAfter *time.Time `type:"timestamp"`
36597
36598	// A filter that returns only trials created before the specified time.
36599	CreatedBefore *time.Time `type:"timestamp"`
36600
36601	// A filter that returns only trials that are part of the specified experiment.
36602	ExperimentName *string `min:"1" type:"string"`
36603
36604	// The maximum number of trials to return in the response. The default value
36605	// is 10.
36606	MaxResults *int64 `min:"1" type:"integer"`
36607
36608	// If the previous call to ListTrials didn't return the full set of trials,
36609	// the call returns a token for getting the next set of trials.
36610	NextToken *string `type:"string"`
36611
36612	// The property used to sort results. The default value is CreationTime.
36613	SortBy *string `type:"string" enum:"SortTrialsBy"`
36614
36615	// The sort order. The default value is Descending.
36616	SortOrder *string `type:"string" enum:"SortOrder"`
36617
36618	// A filter that returns only trials that are associated with the specified
36619	// trial component.
36620	TrialComponentName *string `min:"1" type:"string"`
36621}
36622
36623// String returns the string representation
36624func (s ListTrialsInput) String() string {
36625	return awsutil.Prettify(s)
36626}
36627
36628// GoString returns the string representation
36629func (s ListTrialsInput) GoString() string {
36630	return s.String()
36631}
36632
36633// Validate inspects the fields of the type to determine if they are valid.
36634func (s *ListTrialsInput) Validate() error {
36635	invalidParams := request.ErrInvalidParams{Context: "ListTrialsInput"}
36636	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
36637		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
36638	}
36639	if s.MaxResults != nil && *s.MaxResults < 1 {
36640		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
36641	}
36642	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
36643		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
36644	}
36645
36646	if invalidParams.Len() > 0 {
36647		return invalidParams
36648	}
36649	return nil
36650}
36651
36652// SetCreatedAfter sets the CreatedAfter field's value.
36653func (s *ListTrialsInput) SetCreatedAfter(v time.Time) *ListTrialsInput {
36654	s.CreatedAfter = &v
36655	return s
36656}
36657
36658// SetCreatedBefore sets the CreatedBefore field's value.
36659func (s *ListTrialsInput) SetCreatedBefore(v time.Time) *ListTrialsInput {
36660	s.CreatedBefore = &v
36661	return s
36662}
36663
36664// SetExperimentName sets the ExperimentName field's value.
36665func (s *ListTrialsInput) SetExperimentName(v string) *ListTrialsInput {
36666	s.ExperimentName = &v
36667	return s
36668}
36669
36670// SetMaxResults sets the MaxResults field's value.
36671func (s *ListTrialsInput) SetMaxResults(v int64) *ListTrialsInput {
36672	s.MaxResults = &v
36673	return s
36674}
36675
36676// SetNextToken sets the NextToken field's value.
36677func (s *ListTrialsInput) SetNextToken(v string) *ListTrialsInput {
36678	s.NextToken = &v
36679	return s
36680}
36681
36682// SetSortBy sets the SortBy field's value.
36683func (s *ListTrialsInput) SetSortBy(v string) *ListTrialsInput {
36684	s.SortBy = &v
36685	return s
36686}
36687
36688// SetSortOrder sets the SortOrder field's value.
36689func (s *ListTrialsInput) SetSortOrder(v string) *ListTrialsInput {
36690	s.SortOrder = &v
36691	return s
36692}
36693
36694// SetTrialComponentName sets the TrialComponentName field's value.
36695func (s *ListTrialsInput) SetTrialComponentName(v string) *ListTrialsInput {
36696	s.TrialComponentName = &v
36697	return s
36698}
36699
36700type ListTrialsOutput struct {
36701	_ struct{} `type:"structure"`
36702
36703	// A token for getting the next set of trials, if there are any.
36704	NextToken *string `type:"string"`
36705
36706	// A list of the summaries of your trials.
36707	TrialSummaries []*TrialSummary `type:"list"`
36708}
36709
36710// String returns the string representation
36711func (s ListTrialsOutput) String() string {
36712	return awsutil.Prettify(s)
36713}
36714
36715// GoString returns the string representation
36716func (s ListTrialsOutput) GoString() string {
36717	return s.String()
36718}
36719
36720// SetNextToken sets the NextToken field's value.
36721func (s *ListTrialsOutput) SetNextToken(v string) *ListTrialsOutput {
36722	s.NextToken = &v
36723	return s
36724}
36725
36726// SetTrialSummaries sets the TrialSummaries field's value.
36727func (s *ListTrialsOutput) SetTrialSummaries(v []*TrialSummary) *ListTrialsOutput {
36728	s.TrialSummaries = v
36729	return s
36730}
36731
36732type ListUserProfilesInput struct {
36733	_ struct{} `type:"structure"`
36734
36735	// A parameter by which to filter the results.
36736	DomainIdEquals *string `type:"string"`
36737
36738	// Returns a list up to a specified limit.
36739	MaxResults *int64 `min:"1" type:"integer"`
36740
36741	// If the previous response was truncated, you will receive this token. Use
36742	// it in your next request to receive the next set of results.
36743	NextToken *string `type:"string"`
36744
36745	// The parameter by which to sort the results. The default is CreationTime.
36746	SortBy *string `type:"string" enum:"UserProfileSortKey"`
36747
36748	// The sort order for the results. The default is Ascending.
36749	SortOrder *string `type:"string" enum:"SortOrder"`
36750
36751	// A parameter by which to filter the results.
36752	UserProfileNameContains *string `type:"string"`
36753}
36754
36755// String returns the string representation
36756func (s ListUserProfilesInput) String() string {
36757	return awsutil.Prettify(s)
36758}
36759
36760// GoString returns the string representation
36761func (s ListUserProfilesInput) GoString() string {
36762	return s.String()
36763}
36764
36765// Validate inspects the fields of the type to determine if they are valid.
36766func (s *ListUserProfilesInput) Validate() error {
36767	invalidParams := request.ErrInvalidParams{Context: "ListUserProfilesInput"}
36768	if s.MaxResults != nil && *s.MaxResults < 1 {
36769		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
36770	}
36771
36772	if invalidParams.Len() > 0 {
36773		return invalidParams
36774	}
36775	return nil
36776}
36777
36778// SetDomainIdEquals sets the DomainIdEquals field's value.
36779func (s *ListUserProfilesInput) SetDomainIdEquals(v string) *ListUserProfilesInput {
36780	s.DomainIdEquals = &v
36781	return s
36782}
36783
36784// SetMaxResults sets the MaxResults field's value.
36785func (s *ListUserProfilesInput) SetMaxResults(v int64) *ListUserProfilesInput {
36786	s.MaxResults = &v
36787	return s
36788}
36789
36790// SetNextToken sets the NextToken field's value.
36791func (s *ListUserProfilesInput) SetNextToken(v string) *ListUserProfilesInput {
36792	s.NextToken = &v
36793	return s
36794}
36795
36796// SetSortBy sets the SortBy field's value.
36797func (s *ListUserProfilesInput) SetSortBy(v string) *ListUserProfilesInput {
36798	s.SortBy = &v
36799	return s
36800}
36801
36802// SetSortOrder sets the SortOrder field's value.
36803func (s *ListUserProfilesInput) SetSortOrder(v string) *ListUserProfilesInput {
36804	s.SortOrder = &v
36805	return s
36806}
36807
36808// SetUserProfileNameContains sets the UserProfileNameContains field's value.
36809func (s *ListUserProfilesInput) SetUserProfileNameContains(v string) *ListUserProfilesInput {
36810	s.UserProfileNameContains = &v
36811	return s
36812}
36813
36814type ListUserProfilesOutput struct {
36815	_ struct{} `type:"structure"`
36816
36817	// If the previous response was truncated, you will receive this token. Use
36818	// it in your next request to receive the next set of results.
36819	NextToken *string `type:"string"`
36820
36821	// The list of user profiles.
36822	UserProfiles []*UserProfileDetails `type:"list"`
36823}
36824
36825// String returns the string representation
36826func (s ListUserProfilesOutput) String() string {
36827	return awsutil.Prettify(s)
36828}
36829
36830// GoString returns the string representation
36831func (s ListUserProfilesOutput) GoString() string {
36832	return s.String()
36833}
36834
36835// SetNextToken sets the NextToken field's value.
36836func (s *ListUserProfilesOutput) SetNextToken(v string) *ListUserProfilesOutput {
36837	s.NextToken = &v
36838	return s
36839}
36840
36841// SetUserProfiles sets the UserProfiles field's value.
36842func (s *ListUserProfilesOutput) SetUserProfiles(v []*UserProfileDetails) *ListUserProfilesOutput {
36843	s.UserProfiles = v
36844	return s
36845}
36846
36847type ListWorkforcesInput struct {
36848	_ struct{} `type:"structure"`
36849
36850	// The maximum number of workforces returned in the response.
36851	MaxResults *int64 `min:"1" type:"integer"`
36852
36853	// A filter you can use to search for workforces using part of the workforce
36854	// name.
36855	NameContains *string `min:"1" type:"string"`
36856
36857	// A token to resume pagination.
36858	NextToken *string `type:"string"`
36859
36860	// Sort workforces using the workforce name or creation date.
36861	SortBy *string `type:"string" enum:"ListWorkforcesSortByOptions"`
36862
36863	// Sort workforces in ascending or descending order.
36864	SortOrder *string `type:"string" enum:"SortOrder"`
36865}
36866
36867// String returns the string representation
36868func (s ListWorkforcesInput) String() string {
36869	return awsutil.Prettify(s)
36870}
36871
36872// GoString returns the string representation
36873func (s ListWorkforcesInput) GoString() string {
36874	return s.String()
36875}
36876
36877// Validate inspects the fields of the type to determine if they are valid.
36878func (s *ListWorkforcesInput) Validate() error {
36879	invalidParams := request.ErrInvalidParams{Context: "ListWorkforcesInput"}
36880	if s.MaxResults != nil && *s.MaxResults < 1 {
36881		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
36882	}
36883	if s.NameContains != nil && len(*s.NameContains) < 1 {
36884		invalidParams.Add(request.NewErrParamMinLen("NameContains", 1))
36885	}
36886
36887	if invalidParams.Len() > 0 {
36888		return invalidParams
36889	}
36890	return nil
36891}
36892
36893// SetMaxResults sets the MaxResults field's value.
36894func (s *ListWorkforcesInput) SetMaxResults(v int64) *ListWorkforcesInput {
36895	s.MaxResults = &v
36896	return s
36897}
36898
36899// SetNameContains sets the NameContains field's value.
36900func (s *ListWorkforcesInput) SetNameContains(v string) *ListWorkforcesInput {
36901	s.NameContains = &v
36902	return s
36903}
36904
36905// SetNextToken sets the NextToken field's value.
36906func (s *ListWorkforcesInput) SetNextToken(v string) *ListWorkforcesInput {
36907	s.NextToken = &v
36908	return s
36909}
36910
36911// SetSortBy sets the SortBy field's value.
36912func (s *ListWorkforcesInput) SetSortBy(v string) *ListWorkforcesInput {
36913	s.SortBy = &v
36914	return s
36915}
36916
36917// SetSortOrder sets the SortOrder field's value.
36918func (s *ListWorkforcesInput) SetSortOrder(v string) *ListWorkforcesInput {
36919	s.SortOrder = &v
36920	return s
36921}
36922
36923type ListWorkforcesOutput struct {
36924	_ struct{} `type:"structure"`
36925
36926	// A token to resume pagination.
36927	NextToken *string `type:"string"`
36928
36929	// A list containing information about your workforce.
36930	//
36931	// Workforces is a required field
36932	Workforces []*Workforce `type:"list" required:"true"`
36933}
36934
36935// String returns the string representation
36936func (s ListWorkforcesOutput) String() string {
36937	return awsutil.Prettify(s)
36938}
36939
36940// GoString returns the string representation
36941func (s ListWorkforcesOutput) GoString() string {
36942	return s.String()
36943}
36944
36945// SetNextToken sets the NextToken field's value.
36946func (s *ListWorkforcesOutput) SetNextToken(v string) *ListWorkforcesOutput {
36947	s.NextToken = &v
36948	return s
36949}
36950
36951// SetWorkforces sets the Workforces field's value.
36952func (s *ListWorkforcesOutput) SetWorkforces(v []*Workforce) *ListWorkforcesOutput {
36953	s.Workforces = v
36954	return s
36955}
36956
36957type ListWorkteamsInput struct {
36958	_ struct{} `type:"structure"`
36959
36960	// The maximum number of work teams to return in each page of the response.
36961	MaxResults *int64 `min:"1" type:"integer"`
36962
36963	// A string in the work team's name. This filter returns only work teams whose
36964	// name contains the specified string.
36965	NameContains *string `min:"1" type:"string"`
36966
36967	// If the result of the previous ListWorkteams request was truncated, the response
36968	// includes a NextToken. To retrieve the next set of labeling jobs, use the
36969	// token in the next request.
36970	NextToken *string `type:"string"`
36971
36972	// The field to sort results by. The default is CreationTime.
36973	SortBy *string `type:"string" enum:"ListWorkteamsSortByOptions"`
36974
36975	// The sort order for results. The default is Ascending.
36976	SortOrder *string `type:"string" enum:"SortOrder"`
36977}
36978
36979// String returns the string representation
36980func (s ListWorkteamsInput) String() string {
36981	return awsutil.Prettify(s)
36982}
36983
36984// GoString returns the string representation
36985func (s ListWorkteamsInput) GoString() string {
36986	return s.String()
36987}
36988
36989// Validate inspects the fields of the type to determine if they are valid.
36990func (s *ListWorkteamsInput) Validate() error {
36991	invalidParams := request.ErrInvalidParams{Context: "ListWorkteamsInput"}
36992	if s.MaxResults != nil && *s.MaxResults < 1 {
36993		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
36994	}
36995	if s.NameContains != nil && len(*s.NameContains) < 1 {
36996		invalidParams.Add(request.NewErrParamMinLen("NameContains", 1))
36997	}
36998
36999	if invalidParams.Len() > 0 {
37000		return invalidParams
37001	}
37002	return nil
37003}
37004
37005// SetMaxResults sets the MaxResults field's value.
37006func (s *ListWorkteamsInput) SetMaxResults(v int64) *ListWorkteamsInput {
37007	s.MaxResults = &v
37008	return s
37009}
37010
37011// SetNameContains sets the NameContains field's value.
37012func (s *ListWorkteamsInput) SetNameContains(v string) *ListWorkteamsInput {
37013	s.NameContains = &v
37014	return s
37015}
37016
37017// SetNextToken sets the NextToken field's value.
37018func (s *ListWorkteamsInput) SetNextToken(v string) *ListWorkteamsInput {
37019	s.NextToken = &v
37020	return s
37021}
37022
37023// SetSortBy sets the SortBy field's value.
37024func (s *ListWorkteamsInput) SetSortBy(v string) *ListWorkteamsInput {
37025	s.SortBy = &v
37026	return s
37027}
37028
37029// SetSortOrder sets the SortOrder field's value.
37030func (s *ListWorkteamsInput) SetSortOrder(v string) *ListWorkteamsInput {
37031	s.SortOrder = &v
37032	return s
37033}
37034
37035type ListWorkteamsOutput struct {
37036	_ struct{} `type:"structure"`
37037
37038	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
37039	// the next set of work teams, use it in the subsequent request.
37040	NextToken *string `type:"string"`
37041
37042	// An array of Workteam objects, each describing a work team.
37043	//
37044	// Workteams is a required field
37045	Workteams []*Workteam `type:"list" required:"true"`
37046}
37047
37048// String returns the string representation
37049func (s ListWorkteamsOutput) String() string {
37050	return awsutil.Prettify(s)
37051}
37052
37053// GoString returns the string representation
37054func (s ListWorkteamsOutput) GoString() string {
37055	return s.String()
37056}
37057
37058// SetNextToken sets the NextToken field's value.
37059func (s *ListWorkteamsOutput) SetNextToken(v string) *ListWorkteamsOutput {
37060	s.NextToken = &v
37061	return s
37062}
37063
37064// SetWorkteams sets the Workteams field's value.
37065func (s *ListWorkteamsOutput) SetWorkteams(v []*Workteam) *ListWorkteamsOutput {
37066	s.Workteams = v
37067	return s
37068}
37069
37070// Defines the Amazon Cognito user group that is part of a work team.
37071type MemberDefinition struct {
37072	_ struct{} `type:"structure"`
37073
37074	// The Amazon Cognito user group that is part of the work team.
37075	CognitoMemberDefinition *CognitoMemberDefinition `type:"structure"`
37076
37077	// A list user groups that exist in your OIDC Identity Provider (IdP). One to
37078	// ten groups can be used to create a single private work team. When you add
37079	// a user group to the list of Groups, you can add that user group to one or
37080	// more private work teams. If you add a user group to a private work team,
37081	// all workers in that user group are added to the work team.
37082	OidcMemberDefinition *OidcMemberDefinition `type:"structure"`
37083}
37084
37085// String returns the string representation
37086func (s MemberDefinition) String() string {
37087	return awsutil.Prettify(s)
37088}
37089
37090// GoString returns the string representation
37091func (s MemberDefinition) GoString() string {
37092	return s.String()
37093}
37094
37095// Validate inspects the fields of the type to determine if they are valid.
37096func (s *MemberDefinition) Validate() error {
37097	invalidParams := request.ErrInvalidParams{Context: "MemberDefinition"}
37098	if s.CognitoMemberDefinition != nil {
37099		if err := s.CognitoMemberDefinition.Validate(); err != nil {
37100			invalidParams.AddNested("CognitoMemberDefinition", err.(request.ErrInvalidParams))
37101		}
37102	}
37103	if s.OidcMemberDefinition != nil {
37104		if err := s.OidcMemberDefinition.Validate(); err != nil {
37105			invalidParams.AddNested("OidcMemberDefinition", err.(request.ErrInvalidParams))
37106		}
37107	}
37108
37109	if invalidParams.Len() > 0 {
37110		return invalidParams
37111	}
37112	return nil
37113}
37114
37115// SetCognitoMemberDefinition sets the CognitoMemberDefinition field's value.
37116func (s *MemberDefinition) SetCognitoMemberDefinition(v *CognitoMemberDefinition) *MemberDefinition {
37117	s.CognitoMemberDefinition = v
37118	return s
37119}
37120
37121// SetOidcMemberDefinition sets the OidcMemberDefinition field's value.
37122func (s *MemberDefinition) SetOidcMemberDefinition(v *OidcMemberDefinition) *MemberDefinition {
37123	s.OidcMemberDefinition = v
37124	return s
37125}
37126
37127// The name, value, and date and time of a metric that was emitted to Amazon
37128// CloudWatch.
37129type MetricData struct {
37130	_ struct{} `type:"structure"`
37131
37132	// The name of the metric.
37133	MetricName *string `min:"1" type:"string"`
37134
37135	// The date and time that the algorithm emitted the metric.
37136	Timestamp *time.Time `type:"timestamp"`
37137
37138	// The value of the metric.
37139	Value *float64 `type:"float"`
37140}
37141
37142// String returns the string representation
37143func (s MetricData) String() string {
37144	return awsutil.Prettify(s)
37145}
37146
37147// GoString returns the string representation
37148func (s MetricData) GoString() string {
37149	return s.String()
37150}
37151
37152// SetMetricName sets the MetricName field's value.
37153func (s *MetricData) SetMetricName(v string) *MetricData {
37154	s.MetricName = &v
37155	return s
37156}
37157
37158// SetTimestamp sets the Timestamp field's value.
37159func (s *MetricData) SetTimestamp(v time.Time) *MetricData {
37160	s.Timestamp = &v
37161	return s
37162}
37163
37164// SetValue sets the Value field's value.
37165func (s *MetricData) SetValue(v float64) *MetricData {
37166	s.Value = &v
37167	return s
37168}
37169
37170// Specifies a metric that the training algorithm writes to stderr or stdout
37171// . Amazon SageMakerhyperparameter tuning captures all defined metrics. You
37172// specify one metric that a hyperparameter tuning job uses as its objective
37173// metric to choose the best training job.
37174type MetricDefinition struct {
37175	_ struct{} `type:"structure"`
37176
37177	// The name of the metric.
37178	//
37179	// Name is a required field
37180	Name *string `min:"1" type:"string" required:"true"`
37181
37182	// A regular expression that searches the output of a training job and gets
37183	// the value of the metric. For more information about using regular expressions
37184	// to define metrics, see Defining Objective Metrics (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-metrics.html).
37185	//
37186	// Regex is a required field
37187	Regex *string `min:"1" type:"string" required:"true"`
37188}
37189
37190// String returns the string representation
37191func (s MetricDefinition) String() string {
37192	return awsutil.Prettify(s)
37193}
37194
37195// GoString returns the string representation
37196func (s MetricDefinition) GoString() string {
37197	return s.String()
37198}
37199
37200// Validate inspects the fields of the type to determine if they are valid.
37201func (s *MetricDefinition) Validate() error {
37202	invalidParams := request.ErrInvalidParams{Context: "MetricDefinition"}
37203	if s.Name == nil {
37204		invalidParams.Add(request.NewErrParamRequired("Name"))
37205	}
37206	if s.Name != nil && len(*s.Name) < 1 {
37207		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
37208	}
37209	if s.Regex == nil {
37210		invalidParams.Add(request.NewErrParamRequired("Regex"))
37211	}
37212	if s.Regex != nil && len(*s.Regex) < 1 {
37213		invalidParams.Add(request.NewErrParamMinLen("Regex", 1))
37214	}
37215
37216	if invalidParams.Len() > 0 {
37217		return invalidParams
37218	}
37219	return nil
37220}
37221
37222// SetName sets the Name field's value.
37223func (s *MetricDefinition) SetName(v string) *MetricDefinition {
37224	s.Name = &v
37225	return s
37226}
37227
37228// SetRegex sets the Regex field's value.
37229func (s *MetricDefinition) SetRegex(v string) *MetricDefinition {
37230	s.Regex = &v
37231	return s
37232}
37233
37234// Provides information about the location that is configured for storing model
37235// artifacts.
37236//
37237// Model artifacts are the output that results from training a model, and typically
37238// consist of trained parameters, a model defintion that desribes how to compute
37239// inferences, and other metadata.
37240type ModelArtifacts struct {
37241	_ struct{} `type:"structure"`
37242
37243	// The path of the S3 object that contains the model artifacts. For example,
37244	// s3://bucket-name/keynameprefix/model.tar.gz.
37245	//
37246	// S3ModelArtifacts is a required field
37247	S3ModelArtifacts *string `type:"string" required:"true"`
37248}
37249
37250// String returns the string representation
37251func (s ModelArtifacts) String() string {
37252	return awsutil.Prettify(s)
37253}
37254
37255// GoString returns the string representation
37256func (s ModelArtifacts) GoString() string {
37257	return s.String()
37258}
37259
37260// SetS3ModelArtifacts sets the S3ModelArtifacts field's value.
37261func (s *ModelArtifacts) SetS3ModelArtifacts(v string) *ModelArtifacts {
37262	s.S3ModelArtifacts = &v
37263	return s
37264}
37265
37266// Configures the timeout and maximum number of retries for processing a transform
37267// job invocation.
37268type ModelClientConfig struct {
37269	_ struct{} `type:"structure"`
37270
37271	// The maximum number of retries when invocation requests are failing.
37272	InvocationsMaxRetries *int64 `type:"integer"`
37273
37274	// The timeout value in seconds for an invocation request.
37275	InvocationsTimeoutInSeconds *int64 `min:"1" type:"integer"`
37276}
37277
37278// String returns the string representation
37279func (s ModelClientConfig) String() string {
37280	return awsutil.Prettify(s)
37281}
37282
37283// GoString returns the string representation
37284func (s ModelClientConfig) GoString() string {
37285	return s.String()
37286}
37287
37288// Validate inspects the fields of the type to determine if they are valid.
37289func (s *ModelClientConfig) Validate() error {
37290	invalidParams := request.ErrInvalidParams{Context: "ModelClientConfig"}
37291	if s.InvocationsTimeoutInSeconds != nil && *s.InvocationsTimeoutInSeconds < 1 {
37292		invalidParams.Add(request.NewErrParamMinValue("InvocationsTimeoutInSeconds", 1))
37293	}
37294
37295	if invalidParams.Len() > 0 {
37296		return invalidParams
37297	}
37298	return nil
37299}
37300
37301// SetInvocationsMaxRetries sets the InvocationsMaxRetries field's value.
37302func (s *ModelClientConfig) SetInvocationsMaxRetries(v int64) *ModelClientConfig {
37303	s.InvocationsMaxRetries = &v
37304	return s
37305}
37306
37307// SetInvocationsTimeoutInSeconds sets the InvocationsTimeoutInSeconds field's value.
37308func (s *ModelClientConfig) SetInvocationsTimeoutInSeconds(v int64) *ModelClientConfig {
37309	s.InvocationsTimeoutInSeconds = &v
37310	return s
37311}
37312
37313// Describes the Docker container for the model package.
37314type ModelPackageContainerDefinition struct {
37315	_ struct{} `type:"structure"`
37316
37317	// The DNS host name for the Docker container.
37318	ContainerHostname *string `type:"string"`
37319
37320	// The Amazon EC2 Container Registry (Amazon ECR) path where inference code
37321	// is stored.
37322	//
37323	// If you are using your own custom algorithm instead of an algorithm provided
37324	// by Amazon SageMaker, the inference code must meet Amazon SageMaker requirements.
37325	// Amazon SageMaker supports both registry/repository[:tag] and registry/repository[@digest]
37326	// image path formats. For more information, see Using Your Own Algorithms with
37327	// Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
37328	//
37329	// Image is a required field
37330	Image *string `type:"string" required:"true"`
37331
37332	// An MD5 hash of the training algorithm that identifies the Docker image used
37333	// for training.
37334	ImageDigest *string `type:"string"`
37335
37336	// The Amazon S3 path where the model artifacts, which result from model training,
37337	// are stored. This path must point to a single gzip compressed tar archive
37338	// (.tar.gz suffix).
37339	ModelDataUrl *string `type:"string"`
37340
37341	// The AWS Marketplace product ID of the model package.
37342	ProductId *string `type:"string"`
37343}
37344
37345// String returns the string representation
37346func (s ModelPackageContainerDefinition) String() string {
37347	return awsutil.Prettify(s)
37348}
37349
37350// GoString returns the string representation
37351func (s ModelPackageContainerDefinition) GoString() string {
37352	return s.String()
37353}
37354
37355// Validate inspects the fields of the type to determine if they are valid.
37356func (s *ModelPackageContainerDefinition) Validate() error {
37357	invalidParams := request.ErrInvalidParams{Context: "ModelPackageContainerDefinition"}
37358	if s.Image == nil {
37359		invalidParams.Add(request.NewErrParamRequired("Image"))
37360	}
37361
37362	if invalidParams.Len() > 0 {
37363		return invalidParams
37364	}
37365	return nil
37366}
37367
37368// SetContainerHostname sets the ContainerHostname field's value.
37369func (s *ModelPackageContainerDefinition) SetContainerHostname(v string) *ModelPackageContainerDefinition {
37370	s.ContainerHostname = &v
37371	return s
37372}
37373
37374// SetImage sets the Image field's value.
37375func (s *ModelPackageContainerDefinition) SetImage(v string) *ModelPackageContainerDefinition {
37376	s.Image = &v
37377	return s
37378}
37379
37380// SetImageDigest sets the ImageDigest field's value.
37381func (s *ModelPackageContainerDefinition) SetImageDigest(v string) *ModelPackageContainerDefinition {
37382	s.ImageDigest = &v
37383	return s
37384}
37385
37386// SetModelDataUrl sets the ModelDataUrl field's value.
37387func (s *ModelPackageContainerDefinition) SetModelDataUrl(v string) *ModelPackageContainerDefinition {
37388	s.ModelDataUrl = &v
37389	return s
37390}
37391
37392// SetProductId sets the ProductId field's value.
37393func (s *ModelPackageContainerDefinition) SetProductId(v string) *ModelPackageContainerDefinition {
37394	s.ProductId = &v
37395	return s
37396}
37397
37398// Specifies the validation and image scan statuses of the model package.
37399type ModelPackageStatusDetails struct {
37400	_ struct{} `type:"structure"`
37401
37402	// The status of the scan of the Docker image container for the model package.
37403	ImageScanStatuses []*ModelPackageStatusItem `type:"list"`
37404
37405	// The validation status of the model package.
37406	//
37407	// ValidationStatuses is a required field
37408	ValidationStatuses []*ModelPackageStatusItem `type:"list" required:"true"`
37409}
37410
37411// String returns the string representation
37412func (s ModelPackageStatusDetails) String() string {
37413	return awsutil.Prettify(s)
37414}
37415
37416// GoString returns the string representation
37417func (s ModelPackageStatusDetails) GoString() string {
37418	return s.String()
37419}
37420
37421// SetImageScanStatuses sets the ImageScanStatuses field's value.
37422func (s *ModelPackageStatusDetails) SetImageScanStatuses(v []*ModelPackageStatusItem) *ModelPackageStatusDetails {
37423	s.ImageScanStatuses = v
37424	return s
37425}
37426
37427// SetValidationStatuses sets the ValidationStatuses field's value.
37428func (s *ModelPackageStatusDetails) SetValidationStatuses(v []*ModelPackageStatusItem) *ModelPackageStatusDetails {
37429	s.ValidationStatuses = v
37430	return s
37431}
37432
37433// Represents the overall status of a model package.
37434type ModelPackageStatusItem struct {
37435	_ struct{} `type:"structure"`
37436
37437	// if the overall status is Failed, the reason for the failure.
37438	FailureReason *string `type:"string"`
37439
37440	// The name of the model package for which the overall status is being reported.
37441	//
37442	// Name is a required field
37443	Name *string `min:"1" type:"string" required:"true"`
37444
37445	// The current status.
37446	//
37447	// Status is a required field
37448	Status *string `type:"string" required:"true" enum:"DetailedModelPackageStatus"`
37449}
37450
37451// String returns the string representation
37452func (s ModelPackageStatusItem) String() string {
37453	return awsutil.Prettify(s)
37454}
37455
37456// GoString returns the string representation
37457func (s ModelPackageStatusItem) GoString() string {
37458	return s.String()
37459}
37460
37461// SetFailureReason sets the FailureReason field's value.
37462func (s *ModelPackageStatusItem) SetFailureReason(v string) *ModelPackageStatusItem {
37463	s.FailureReason = &v
37464	return s
37465}
37466
37467// SetName sets the Name field's value.
37468func (s *ModelPackageStatusItem) SetName(v string) *ModelPackageStatusItem {
37469	s.Name = &v
37470	return s
37471}
37472
37473// SetStatus sets the Status field's value.
37474func (s *ModelPackageStatusItem) SetStatus(v string) *ModelPackageStatusItem {
37475	s.Status = &v
37476	return s
37477}
37478
37479// Provides summary information about a model package.
37480type ModelPackageSummary struct {
37481	_ struct{} `type:"structure"`
37482
37483	// A timestamp that shows when the model package was created.
37484	//
37485	// CreationTime is a required field
37486	CreationTime *time.Time `type:"timestamp" required:"true"`
37487
37488	// The Amazon Resource Name (ARN) of the model package.
37489	//
37490	// ModelPackageArn is a required field
37491	ModelPackageArn *string `min:"1" type:"string" required:"true"`
37492
37493	// A brief description of the model package.
37494	ModelPackageDescription *string `type:"string"`
37495
37496	// The name of the model package.
37497	//
37498	// ModelPackageName is a required field
37499	ModelPackageName *string `min:"1" type:"string" required:"true"`
37500
37501	// The overall status of the model package.
37502	//
37503	// ModelPackageStatus is a required field
37504	ModelPackageStatus *string `type:"string" required:"true" enum:"ModelPackageStatus"`
37505}
37506
37507// String returns the string representation
37508func (s ModelPackageSummary) String() string {
37509	return awsutil.Prettify(s)
37510}
37511
37512// GoString returns the string representation
37513func (s ModelPackageSummary) GoString() string {
37514	return s.String()
37515}
37516
37517// SetCreationTime sets the CreationTime field's value.
37518func (s *ModelPackageSummary) SetCreationTime(v time.Time) *ModelPackageSummary {
37519	s.CreationTime = &v
37520	return s
37521}
37522
37523// SetModelPackageArn sets the ModelPackageArn field's value.
37524func (s *ModelPackageSummary) SetModelPackageArn(v string) *ModelPackageSummary {
37525	s.ModelPackageArn = &v
37526	return s
37527}
37528
37529// SetModelPackageDescription sets the ModelPackageDescription field's value.
37530func (s *ModelPackageSummary) SetModelPackageDescription(v string) *ModelPackageSummary {
37531	s.ModelPackageDescription = &v
37532	return s
37533}
37534
37535// SetModelPackageName sets the ModelPackageName field's value.
37536func (s *ModelPackageSummary) SetModelPackageName(v string) *ModelPackageSummary {
37537	s.ModelPackageName = &v
37538	return s
37539}
37540
37541// SetModelPackageStatus sets the ModelPackageStatus field's value.
37542func (s *ModelPackageSummary) SetModelPackageStatus(v string) *ModelPackageSummary {
37543	s.ModelPackageStatus = &v
37544	return s
37545}
37546
37547// Contains data, such as the inputs and targeted instance types that are used
37548// in the process of validating the model package.
37549//
37550// The data provided in the validation profile is made available to your buyers
37551// on AWS Marketplace.
37552type ModelPackageValidationProfile struct {
37553	_ struct{} `type:"structure"`
37554
37555	// The name of the profile for the model package.
37556	//
37557	// ProfileName is a required field
37558	ProfileName *string `min:"1" type:"string" required:"true"`
37559
37560	// The TransformJobDefinition object that describes the transform job used for
37561	// the validation of the model package.
37562	//
37563	// TransformJobDefinition is a required field
37564	TransformJobDefinition *TransformJobDefinition `type:"structure" required:"true"`
37565}
37566
37567// String returns the string representation
37568func (s ModelPackageValidationProfile) String() string {
37569	return awsutil.Prettify(s)
37570}
37571
37572// GoString returns the string representation
37573func (s ModelPackageValidationProfile) GoString() string {
37574	return s.String()
37575}
37576
37577// Validate inspects the fields of the type to determine if they are valid.
37578func (s *ModelPackageValidationProfile) Validate() error {
37579	invalidParams := request.ErrInvalidParams{Context: "ModelPackageValidationProfile"}
37580	if s.ProfileName == nil {
37581		invalidParams.Add(request.NewErrParamRequired("ProfileName"))
37582	}
37583	if s.ProfileName != nil && len(*s.ProfileName) < 1 {
37584		invalidParams.Add(request.NewErrParamMinLen("ProfileName", 1))
37585	}
37586	if s.TransformJobDefinition == nil {
37587		invalidParams.Add(request.NewErrParamRequired("TransformJobDefinition"))
37588	}
37589	if s.TransformJobDefinition != nil {
37590		if err := s.TransformJobDefinition.Validate(); err != nil {
37591			invalidParams.AddNested("TransformJobDefinition", err.(request.ErrInvalidParams))
37592		}
37593	}
37594
37595	if invalidParams.Len() > 0 {
37596		return invalidParams
37597	}
37598	return nil
37599}
37600
37601// SetProfileName sets the ProfileName field's value.
37602func (s *ModelPackageValidationProfile) SetProfileName(v string) *ModelPackageValidationProfile {
37603	s.ProfileName = &v
37604	return s
37605}
37606
37607// SetTransformJobDefinition sets the TransformJobDefinition field's value.
37608func (s *ModelPackageValidationProfile) SetTransformJobDefinition(v *TransformJobDefinition) *ModelPackageValidationProfile {
37609	s.TransformJobDefinition = v
37610	return s
37611}
37612
37613// Specifies batch transform jobs that Amazon SageMaker runs to validate your
37614// model package.
37615type ModelPackageValidationSpecification struct {
37616	_ struct{} `type:"structure"`
37617
37618	// An array of ModelPackageValidationProfile objects, each of which specifies
37619	// a batch transform job that Amazon SageMaker runs to validate your model package.
37620	//
37621	// ValidationProfiles is a required field
37622	ValidationProfiles []*ModelPackageValidationProfile `min:"1" type:"list" required:"true"`
37623
37624	// The IAM roles to be used for the validation of the model package.
37625	//
37626	// ValidationRole is a required field
37627	ValidationRole *string `min:"20" type:"string" required:"true"`
37628}
37629
37630// String returns the string representation
37631func (s ModelPackageValidationSpecification) String() string {
37632	return awsutil.Prettify(s)
37633}
37634
37635// GoString returns the string representation
37636func (s ModelPackageValidationSpecification) GoString() string {
37637	return s.String()
37638}
37639
37640// Validate inspects the fields of the type to determine if they are valid.
37641func (s *ModelPackageValidationSpecification) Validate() error {
37642	invalidParams := request.ErrInvalidParams{Context: "ModelPackageValidationSpecification"}
37643	if s.ValidationProfiles == nil {
37644		invalidParams.Add(request.NewErrParamRequired("ValidationProfiles"))
37645	}
37646	if s.ValidationProfiles != nil && len(s.ValidationProfiles) < 1 {
37647		invalidParams.Add(request.NewErrParamMinLen("ValidationProfiles", 1))
37648	}
37649	if s.ValidationRole == nil {
37650		invalidParams.Add(request.NewErrParamRequired("ValidationRole"))
37651	}
37652	if s.ValidationRole != nil && len(*s.ValidationRole) < 20 {
37653		invalidParams.Add(request.NewErrParamMinLen("ValidationRole", 20))
37654	}
37655	if s.ValidationProfiles != nil {
37656		for i, v := range s.ValidationProfiles {
37657			if v == nil {
37658				continue
37659			}
37660			if err := v.Validate(); err != nil {
37661				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ValidationProfiles", i), err.(request.ErrInvalidParams))
37662			}
37663		}
37664	}
37665
37666	if invalidParams.Len() > 0 {
37667		return invalidParams
37668	}
37669	return nil
37670}
37671
37672// SetValidationProfiles sets the ValidationProfiles field's value.
37673func (s *ModelPackageValidationSpecification) SetValidationProfiles(v []*ModelPackageValidationProfile) *ModelPackageValidationSpecification {
37674	s.ValidationProfiles = v
37675	return s
37676}
37677
37678// SetValidationRole sets the ValidationRole field's value.
37679func (s *ModelPackageValidationSpecification) SetValidationRole(v string) *ModelPackageValidationSpecification {
37680	s.ValidationRole = &v
37681	return s
37682}
37683
37684// Provides summary information about a model.
37685type ModelSummary struct {
37686	_ struct{} `type:"structure"`
37687
37688	// A timestamp that indicates when the model was created.
37689	//
37690	// CreationTime is a required field
37691	CreationTime *time.Time `type:"timestamp" required:"true"`
37692
37693	// The Amazon Resource Name (ARN) of the model.
37694	//
37695	// ModelArn is a required field
37696	ModelArn *string `min:"20" type:"string" required:"true"`
37697
37698	// The name of the model that you want a summary for.
37699	//
37700	// ModelName is a required field
37701	ModelName *string `type:"string" required:"true"`
37702}
37703
37704// String returns the string representation
37705func (s ModelSummary) String() string {
37706	return awsutil.Prettify(s)
37707}
37708
37709// GoString returns the string representation
37710func (s ModelSummary) GoString() string {
37711	return s.String()
37712}
37713
37714// SetCreationTime sets the CreationTime field's value.
37715func (s *ModelSummary) SetCreationTime(v time.Time) *ModelSummary {
37716	s.CreationTime = &v
37717	return s
37718}
37719
37720// SetModelArn sets the ModelArn field's value.
37721func (s *ModelSummary) SetModelArn(v string) *ModelSummary {
37722	s.ModelArn = &v
37723	return s
37724}
37725
37726// SetModelName sets the ModelName field's value.
37727func (s *ModelSummary) SetModelName(v string) *ModelSummary {
37728	s.ModelName = &v
37729	return s
37730}
37731
37732// Container image configuration object for the monitoring job.
37733type MonitoringAppSpecification struct {
37734	_ struct{} `type:"structure"`
37735
37736	// An array of arguments for the container used to run the monitoring job.
37737	ContainerArguments []*string `min:"1" type:"list"`
37738
37739	// Specifies the entrypoint for a container used to run the monitoring job.
37740	ContainerEntrypoint []*string `min:"1" type:"list"`
37741
37742	// The container image to be run by the monitoring job.
37743	//
37744	// ImageUri is a required field
37745	ImageUri *string `type:"string" required:"true"`
37746
37747	// An Amazon S3 URI to a script that is called after analysis has been performed.
37748	// Applicable only for the built-in (first party) containers.
37749	PostAnalyticsProcessorSourceUri *string `type:"string"`
37750
37751	// An Amazon S3 URI to a script that is called per row prior to running analysis.
37752	// It can base64 decode the payload and convert it into a flatted json so that
37753	// the built-in container can use the converted data. Applicable only for the
37754	// built-in (first party) containers.
37755	RecordPreprocessorSourceUri *string `type:"string"`
37756}
37757
37758// String returns the string representation
37759func (s MonitoringAppSpecification) String() string {
37760	return awsutil.Prettify(s)
37761}
37762
37763// GoString returns the string representation
37764func (s MonitoringAppSpecification) GoString() string {
37765	return s.String()
37766}
37767
37768// Validate inspects the fields of the type to determine if they are valid.
37769func (s *MonitoringAppSpecification) Validate() error {
37770	invalidParams := request.ErrInvalidParams{Context: "MonitoringAppSpecification"}
37771	if s.ContainerArguments != nil && len(s.ContainerArguments) < 1 {
37772		invalidParams.Add(request.NewErrParamMinLen("ContainerArguments", 1))
37773	}
37774	if s.ContainerEntrypoint != nil && len(s.ContainerEntrypoint) < 1 {
37775		invalidParams.Add(request.NewErrParamMinLen("ContainerEntrypoint", 1))
37776	}
37777	if s.ImageUri == nil {
37778		invalidParams.Add(request.NewErrParamRequired("ImageUri"))
37779	}
37780
37781	if invalidParams.Len() > 0 {
37782		return invalidParams
37783	}
37784	return nil
37785}
37786
37787// SetContainerArguments sets the ContainerArguments field's value.
37788func (s *MonitoringAppSpecification) SetContainerArguments(v []*string) *MonitoringAppSpecification {
37789	s.ContainerArguments = v
37790	return s
37791}
37792
37793// SetContainerEntrypoint sets the ContainerEntrypoint field's value.
37794func (s *MonitoringAppSpecification) SetContainerEntrypoint(v []*string) *MonitoringAppSpecification {
37795	s.ContainerEntrypoint = v
37796	return s
37797}
37798
37799// SetImageUri sets the ImageUri field's value.
37800func (s *MonitoringAppSpecification) SetImageUri(v string) *MonitoringAppSpecification {
37801	s.ImageUri = &v
37802	return s
37803}
37804
37805// SetPostAnalyticsProcessorSourceUri sets the PostAnalyticsProcessorSourceUri field's value.
37806func (s *MonitoringAppSpecification) SetPostAnalyticsProcessorSourceUri(v string) *MonitoringAppSpecification {
37807	s.PostAnalyticsProcessorSourceUri = &v
37808	return s
37809}
37810
37811// SetRecordPreprocessorSourceUri sets the RecordPreprocessorSourceUri field's value.
37812func (s *MonitoringAppSpecification) SetRecordPreprocessorSourceUri(v string) *MonitoringAppSpecification {
37813	s.RecordPreprocessorSourceUri = &v
37814	return s
37815}
37816
37817// Configuration for monitoring constraints and monitoring statistics. These
37818// baseline resources are compared against the results of the current job from
37819// the series of jobs scheduled to collect data periodically.
37820type MonitoringBaselineConfig struct {
37821	_ struct{} `type:"structure"`
37822
37823	// The baseline constraint file in Amazon S3 that the current monitoring job
37824	// should validated against.
37825	ConstraintsResource *MonitoringConstraintsResource `type:"structure"`
37826
37827	// The baseline statistics file in Amazon S3 that the current monitoring job
37828	// should be validated against.
37829	StatisticsResource *MonitoringStatisticsResource `type:"structure"`
37830}
37831
37832// String returns the string representation
37833func (s MonitoringBaselineConfig) String() string {
37834	return awsutil.Prettify(s)
37835}
37836
37837// GoString returns the string representation
37838func (s MonitoringBaselineConfig) GoString() string {
37839	return s.String()
37840}
37841
37842// SetConstraintsResource sets the ConstraintsResource field's value.
37843func (s *MonitoringBaselineConfig) SetConstraintsResource(v *MonitoringConstraintsResource) *MonitoringBaselineConfig {
37844	s.ConstraintsResource = v
37845	return s
37846}
37847
37848// SetStatisticsResource sets the StatisticsResource field's value.
37849func (s *MonitoringBaselineConfig) SetStatisticsResource(v *MonitoringStatisticsResource) *MonitoringBaselineConfig {
37850	s.StatisticsResource = v
37851	return s
37852}
37853
37854// Configuration for the cluster used to run model monitoring jobs.
37855type MonitoringClusterConfig struct {
37856	_ struct{} `type:"structure"`
37857
37858	// The number of ML compute instances to use in the model monitoring job. For
37859	// distributed processing jobs, specify a value greater than 1. The default
37860	// value is 1.
37861	//
37862	// InstanceCount is a required field
37863	InstanceCount *int64 `min:"1" type:"integer" required:"true"`
37864
37865	// The ML compute instance type for the processing job.
37866	//
37867	// InstanceType is a required field
37868	InstanceType *string `type:"string" required:"true" enum:"ProcessingInstanceType"`
37869
37870	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
37871	// encrypt data on the storage volume attached to the ML compute instance(s)
37872	// that run the model monitoring job.
37873	VolumeKmsKeyId *string `type:"string"`
37874
37875	// The size of the ML storage volume, in gigabytes, that you want to provision.
37876	// You must specify sufficient ML storage for your scenario.
37877	//
37878	// VolumeSizeInGB is a required field
37879	VolumeSizeInGB *int64 `min:"1" type:"integer" required:"true"`
37880}
37881
37882// String returns the string representation
37883func (s MonitoringClusterConfig) String() string {
37884	return awsutil.Prettify(s)
37885}
37886
37887// GoString returns the string representation
37888func (s MonitoringClusterConfig) GoString() string {
37889	return s.String()
37890}
37891
37892// Validate inspects the fields of the type to determine if they are valid.
37893func (s *MonitoringClusterConfig) Validate() error {
37894	invalidParams := request.ErrInvalidParams{Context: "MonitoringClusterConfig"}
37895	if s.InstanceCount == nil {
37896		invalidParams.Add(request.NewErrParamRequired("InstanceCount"))
37897	}
37898	if s.InstanceCount != nil && *s.InstanceCount < 1 {
37899		invalidParams.Add(request.NewErrParamMinValue("InstanceCount", 1))
37900	}
37901	if s.InstanceType == nil {
37902		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
37903	}
37904	if s.VolumeSizeInGB == nil {
37905		invalidParams.Add(request.NewErrParamRequired("VolumeSizeInGB"))
37906	}
37907	if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 1 {
37908		invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 1))
37909	}
37910
37911	if invalidParams.Len() > 0 {
37912		return invalidParams
37913	}
37914	return nil
37915}
37916
37917// SetInstanceCount sets the InstanceCount field's value.
37918func (s *MonitoringClusterConfig) SetInstanceCount(v int64) *MonitoringClusterConfig {
37919	s.InstanceCount = &v
37920	return s
37921}
37922
37923// SetInstanceType sets the InstanceType field's value.
37924func (s *MonitoringClusterConfig) SetInstanceType(v string) *MonitoringClusterConfig {
37925	s.InstanceType = &v
37926	return s
37927}
37928
37929// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
37930func (s *MonitoringClusterConfig) SetVolumeKmsKeyId(v string) *MonitoringClusterConfig {
37931	s.VolumeKmsKeyId = &v
37932	return s
37933}
37934
37935// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
37936func (s *MonitoringClusterConfig) SetVolumeSizeInGB(v int64) *MonitoringClusterConfig {
37937	s.VolumeSizeInGB = &v
37938	return s
37939}
37940
37941// The constraints resource for a monitoring job.
37942type MonitoringConstraintsResource struct {
37943	_ struct{} `type:"structure"`
37944
37945	// The Amazon S3 URI for the constraints resource.
37946	S3Uri *string `type:"string"`
37947}
37948
37949// String returns the string representation
37950func (s MonitoringConstraintsResource) String() string {
37951	return awsutil.Prettify(s)
37952}
37953
37954// GoString returns the string representation
37955func (s MonitoringConstraintsResource) GoString() string {
37956	return s.String()
37957}
37958
37959// SetS3Uri sets the S3Uri field's value.
37960func (s *MonitoringConstraintsResource) SetS3Uri(v string) *MonitoringConstraintsResource {
37961	s.S3Uri = &v
37962	return s
37963}
37964
37965// Summary of information about the last monitoring job to run.
37966type MonitoringExecutionSummary struct {
37967	_ struct{} `type:"structure"`
37968
37969	// The time at which the monitoring job was created.
37970	//
37971	// CreationTime is a required field
37972	CreationTime *time.Time `type:"timestamp" required:"true"`
37973
37974	// The name of teh endpoint used to run the monitoring job.
37975	EndpointName *string `type:"string"`
37976
37977	// Contains the reason a monitoring job failed, if it failed.
37978	FailureReason *string `type:"string"`
37979
37980	// A timestamp that indicates the last time the monitoring job was modified.
37981	//
37982	// LastModifiedTime is a required field
37983	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
37984
37985	// The status of the monitoring job.
37986	//
37987	// MonitoringExecutionStatus is a required field
37988	MonitoringExecutionStatus *string `type:"string" required:"true" enum:"ExecutionStatus"`
37989
37990	// The name of the monitoring schedule.
37991	//
37992	// MonitoringScheduleName is a required field
37993	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
37994
37995	// The Amazon Resource Name (ARN) of the monitoring job.
37996	ProcessingJobArn *string `type:"string"`
37997
37998	// The time the monitoring job was scheduled.
37999	//
38000	// ScheduledTime is a required field
38001	ScheduledTime *time.Time `type:"timestamp" required:"true"`
38002}
38003
38004// String returns the string representation
38005func (s MonitoringExecutionSummary) String() string {
38006	return awsutil.Prettify(s)
38007}
38008
38009// GoString returns the string representation
38010func (s MonitoringExecutionSummary) GoString() string {
38011	return s.String()
38012}
38013
38014// SetCreationTime sets the CreationTime field's value.
38015func (s *MonitoringExecutionSummary) SetCreationTime(v time.Time) *MonitoringExecutionSummary {
38016	s.CreationTime = &v
38017	return s
38018}
38019
38020// SetEndpointName sets the EndpointName field's value.
38021func (s *MonitoringExecutionSummary) SetEndpointName(v string) *MonitoringExecutionSummary {
38022	s.EndpointName = &v
38023	return s
38024}
38025
38026// SetFailureReason sets the FailureReason field's value.
38027func (s *MonitoringExecutionSummary) SetFailureReason(v string) *MonitoringExecutionSummary {
38028	s.FailureReason = &v
38029	return s
38030}
38031
38032// SetLastModifiedTime sets the LastModifiedTime field's value.
38033func (s *MonitoringExecutionSummary) SetLastModifiedTime(v time.Time) *MonitoringExecutionSummary {
38034	s.LastModifiedTime = &v
38035	return s
38036}
38037
38038// SetMonitoringExecutionStatus sets the MonitoringExecutionStatus field's value.
38039func (s *MonitoringExecutionSummary) SetMonitoringExecutionStatus(v string) *MonitoringExecutionSummary {
38040	s.MonitoringExecutionStatus = &v
38041	return s
38042}
38043
38044// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
38045func (s *MonitoringExecutionSummary) SetMonitoringScheduleName(v string) *MonitoringExecutionSummary {
38046	s.MonitoringScheduleName = &v
38047	return s
38048}
38049
38050// SetProcessingJobArn sets the ProcessingJobArn field's value.
38051func (s *MonitoringExecutionSummary) SetProcessingJobArn(v string) *MonitoringExecutionSummary {
38052	s.ProcessingJobArn = &v
38053	return s
38054}
38055
38056// SetScheduledTime sets the ScheduledTime field's value.
38057func (s *MonitoringExecutionSummary) SetScheduledTime(v time.Time) *MonitoringExecutionSummary {
38058	s.ScheduledTime = &v
38059	return s
38060}
38061
38062// The inputs for a monitoring job.
38063type MonitoringInput struct {
38064	_ struct{} `type:"structure"`
38065
38066	// The endpoint for a monitoring job.
38067	//
38068	// EndpointInput is a required field
38069	EndpointInput *EndpointInput `type:"structure" required:"true"`
38070}
38071
38072// String returns the string representation
38073func (s MonitoringInput) String() string {
38074	return awsutil.Prettify(s)
38075}
38076
38077// GoString returns the string representation
38078func (s MonitoringInput) GoString() string {
38079	return s.String()
38080}
38081
38082// Validate inspects the fields of the type to determine if they are valid.
38083func (s *MonitoringInput) Validate() error {
38084	invalidParams := request.ErrInvalidParams{Context: "MonitoringInput"}
38085	if s.EndpointInput == nil {
38086		invalidParams.Add(request.NewErrParamRequired("EndpointInput"))
38087	}
38088	if s.EndpointInput != nil {
38089		if err := s.EndpointInput.Validate(); err != nil {
38090			invalidParams.AddNested("EndpointInput", err.(request.ErrInvalidParams))
38091		}
38092	}
38093
38094	if invalidParams.Len() > 0 {
38095		return invalidParams
38096	}
38097	return nil
38098}
38099
38100// SetEndpointInput sets the EndpointInput field's value.
38101func (s *MonitoringInput) SetEndpointInput(v *EndpointInput) *MonitoringInput {
38102	s.EndpointInput = v
38103	return s
38104}
38105
38106// Defines the monitoring job.
38107type MonitoringJobDefinition struct {
38108	_ struct{} `type:"structure"`
38109
38110	// Baseline configuration used to validate that the data conforms to the specified
38111	// constraints and statistics
38112	BaselineConfig *MonitoringBaselineConfig `type:"structure"`
38113
38114	// Sets the environment variables in the Docker container.
38115	Environment map[string]*string `type:"map"`
38116
38117	// Configures the monitoring job to run a specified Docker container image.
38118	//
38119	// MonitoringAppSpecification is a required field
38120	MonitoringAppSpecification *MonitoringAppSpecification `type:"structure" required:"true"`
38121
38122	// The array of inputs for the monitoring job. Currently we support monitoring
38123	// an Amazon SageMaker Endpoint.
38124	//
38125	// MonitoringInputs is a required field
38126	MonitoringInputs []*MonitoringInput `min:"1" type:"list" required:"true"`
38127
38128	// The array of outputs from the monitoring job to be uploaded to Amazon Simple
38129	// Storage Service (Amazon S3).
38130	//
38131	// MonitoringOutputConfig is a required field
38132	MonitoringOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"`
38133
38134	// Identifies the resources, ML compute instances, and ML storage volumes to
38135	// deploy for a monitoring job. In distributed processing, you specify more
38136	// than one instance.
38137	//
38138	// MonitoringResources is a required field
38139	MonitoringResources *MonitoringResources `type:"structure" required:"true"`
38140
38141	// Specifies networking options for an monitoring job.
38142	NetworkConfig *NetworkConfig `type:"structure"`
38143
38144	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
38145	// to perform tasks on your behalf.
38146	//
38147	// RoleArn is a required field
38148	RoleArn *string `min:"20" type:"string" required:"true"`
38149
38150	// Specifies a time limit for how long the monitoring job is allowed to run.
38151	StoppingCondition *MonitoringStoppingCondition `type:"structure"`
38152}
38153
38154// String returns the string representation
38155func (s MonitoringJobDefinition) String() string {
38156	return awsutil.Prettify(s)
38157}
38158
38159// GoString returns the string representation
38160func (s MonitoringJobDefinition) GoString() string {
38161	return s.String()
38162}
38163
38164// Validate inspects the fields of the type to determine if they are valid.
38165func (s *MonitoringJobDefinition) Validate() error {
38166	invalidParams := request.ErrInvalidParams{Context: "MonitoringJobDefinition"}
38167	if s.MonitoringAppSpecification == nil {
38168		invalidParams.Add(request.NewErrParamRequired("MonitoringAppSpecification"))
38169	}
38170	if s.MonitoringInputs == nil {
38171		invalidParams.Add(request.NewErrParamRequired("MonitoringInputs"))
38172	}
38173	if s.MonitoringInputs != nil && len(s.MonitoringInputs) < 1 {
38174		invalidParams.Add(request.NewErrParamMinLen("MonitoringInputs", 1))
38175	}
38176	if s.MonitoringOutputConfig == nil {
38177		invalidParams.Add(request.NewErrParamRequired("MonitoringOutputConfig"))
38178	}
38179	if s.MonitoringResources == nil {
38180		invalidParams.Add(request.NewErrParamRequired("MonitoringResources"))
38181	}
38182	if s.RoleArn == nil {
38183		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
38184	}
38185	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
38186		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
38187	}
38188	if s.MonitoringAppSpecification != nil {
38189		if err := s.MonitoringAppSpecification.Validate(); err != nil {
38190			invalidParams.AddNested("MonitoringAppSpecification", err.(request.ErrInvalidParams))
38191		}
38192	}
38193	if s.MonitoringInputs != nil {
38194		for i, v := range s.MonitoringInputs {
38195			if v == nil {
38196				continue
38197			}
38198			if err := v.Validate(); err != nil {
38199				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MonitoringInputs", i), err.(request.ErrInvalidParams))
38200			}
38201		}
38202	}
38203	if s.MonitoringOutputConfig != nil {
38204		if err := s.MonitoringOutputConfig.Validate(); err != nil {
38205			invalidParams.AddNested("MonitoringOutputConfig", err.(request.ErrInvalidParams))
38206		}
38207	}
38208	if s.MonitoringResources != nil {
38209		if err := s.MonitoringResources.Validate(); err != nil {
38210			invalidParams.AddNested("MonitoringResources", err.(request.ErrInvalidParams))
38211		}
38212	}
38213	if s.NetworkConfig != nil {
38214		if err := s.NetworkConfig.Validate(); err != nil {
38215			invalidParams.AddNested("NetworkConfig", err.(request.ErrInvalidParams))
38216		}
38217	}
38218	if s.StoppingCondition != nil {
38219		if err := s.StoppingCondition.Validate(); err != nil {
38220			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
38221		}
38222	}
38223
38224	if invalidParams.Len() > 0 {
38225		return invalidParams
38226	}
38227	return nil
38228}
38229
38230// SetBaselineConfig sets the BaselineConfig field's value.
38231func (s *MonitoringJobDefinition) SetBaselineConfig(v *MonitoringBaselineConfig) *MonitoringJobDefinition {
38232	s.BaselineConfig = v
38233	return s
38234}
38235
38236// SetEnvironment sets the Environment field's value.
38237func (s *MonitoringJobDefinition) SetEnvironment(v map[string]*string) *MonitoringJobDefinition {
38238	s.Environment = v
38239	return s
38240}
38241
38242// SetMonitoringAppSpecification sets the MonitoringAppSpecification field's value.
38243func (s *MonitoringJobDefinition) SetMonitoringAppSpecification(v *MonitoringAppSpecification) *MonitoringJobDefinition {
38244	s.MonitoringAppSpecification = v
38245	return s
38246}
38247
38248// SetMonitoringInputs sets the MonitoringInputs field's value.
38249func (s *MonitoringJobDefinition) SetMonitoringInputs(v []*MonitoringInput) *MonitoringJobDefinition {
38250	s.MonitoringInputs = v
38251	return s
38252}
38253
38254// SetMonitoringOutputConfig sets the MonitoringOutputConfig field's value.
38255func (s *MonitoringJobDefinition) SetMonitoringOutputConfig(v *MonitoringOutputConfig) *MonitoringJobDefinition {
38256	s.MonitoringOutputConfig = v
38257	return s
38258}
38259
38260// SetMonitoringResources sets the MonitoringResources field's value.
38261func (s *MonitoringJobDefinition) SetMonitoringResources(v *MonitoringResources) *MonitoringJobDefinition {
38262	s.MonitoringResources = v
38263	return s
38264}
38265
38266// SetNetworkConfig sets the NetworkConfig field's value.
38267func (s *MonitoringJobDefinition) SetNetworkConfig(v *NetworkConfig) *MonitoringJobDefinition {
38268	s.NetworkConfig = v
38269	return s
38270}
38271
38272// SetRoleArn sets the RoleArn field's value.
38273func (s *MonitoringJobDefinition) SetRoleArn(v string) *MonitoringJobDefinition {
38274	s.RoleArn = &v
38275	return s
38276}
38277
38278// SetStoppingCondition sets the StoppingCondition field's value.
38279func (s *MonitoringJobDefinition) SetStoppingCondition(v *MonitoringStoppingCondition) *MonitoringJobDefinition {
38280	s.StoppingCondition = v
38281	return s
38282}
38283
38284// The output object for a monitoring job.
38285type MonitoringOutput struct {
38286	_ struct{} `type:"structure"`
38287
38288	// The Amazon S3 storage location where the results of a monitoring job are
38289	// saved.
38290	//
38291	// S3Output is a required field
38292	S3Output *MonitoringS3Output `type:"structure" required:"true"`
38293}
38294
38295// String returns the string representation
38296func (s MonitoringOutput) String() string {
38297	return awsutil.Prettify(s)
38298}
38299
38300// GoString returns the string representation
38301func (s MonitoringOutput) GoString() string {
38302	return s.String()
38303}
38304
38305// Validate inspects the fields of the type to determine if they are valid.
38306func (s *MonitoringOutput) Validate() error {
38307	invalidParams := request.ErrInvalidParams{Context: "MonitoringOutput"}
38308	if s.S3Output == nil {
38309		invalidParams.Add(request.NewErrParamRequired("S3Output"))
38310	}
38311	if s.S3Output != nil {
38312		if err := s.S3Output.Validate(); err != nil {
38313			invalidParams.AddNested("S3Output", err.(request.ErrInvalidParams))
38314		}
38315	}
38316
38317	if invalidParams.Len() > 0 {
38318		return invalidParams
38319	}
38320	return nil
38321}
38322
38323// SetS3Output sets the S3Output field's value.
38324func (s *MonitoringOutput) SetS3Output(v *MonitoringS3Output) *MonitoringOutput {
38325	s.S3Output = v
38326	return s
38327}
38328
38329// The output configuration for monitoring jobs.
38330type MonitoringOutputConfig struct {
38331	_ struct{} `type:"structure"`
38332
38333	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
38334	// encrypt the model artifacts at rest using Amazon S3 server-side encryption.
38335	KmsKeyId *string `type:"string"`
38336
38337	// Monitoring outputs for monitoring jobs. This is where the output of the periodic
38338	// monitoring jobs is uploaded.
38339	//
38340	// MonitoringOutputs is a required field
38341	MonitoringOutputs []*MonitoringOutput `min:"1" type:"list" required:"true"`
38342}
38343
38344// String returns the string representation
38345func (s MonitoringOutputConfig) String() string {
38346	return awsutil.Prettify(s)
38347}
38348
38349// GoString returns the string representation
38350func (s MonitoringOutputConfig) GoString() string {
38351	return s.String()
38352}
38353
38354// Validate inspects the fields of the type to determine if they are valid.
38355func (s *MonitoringOutputConfig) Validate() error {
38356	invalidParams := request.ErrInvalidParams{Context: "MonitoringOutputConfig"}
38357	if s.MonitoringOutputs == nil {
38358		invalidParams.Add(request.NewErrParamRequired("MonitoringOutputs"))
38359	}
38360	if s.MonitoringOutputs != nil && len(s.MonitoringOutputs) < 1 {
38361		invalidParams.Add(request.NewErrParamMinLen("MonitoringOutputs", 1))
38362	}
38363	if s.MonitoringOutputs != nil {
38364		for i, v := range s.MonitoringOutputs {
38365			if v == nil {
38366				continue
38367			}
38368			if err := v.Validate(); err != nil {
38369				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MonitoringOutputs", i), err.(request.ErrInvalidParams))
38370			}
38371		}
38372	}
38373
38374	if invalidParams.Len() > 0 {
38375		return invalidParams
38376	}
38377	return nil
38378}
38379
38380// SetKmsKeyId sets the KmsKeyId field's value.
38381func (s *MonitoringOutputConfig) SetKmsKeyId(v string) *MonitoringOutputConfig {
38382	s.KmsKeyId = &v
38383	return s
38384}
38385
38386// SetMonitoringOutputs sets the MonitoringOutputs field's value.
38387func (s *MonitoringOutputConfig) SetMonitoringOutputs(v []*MonitoringOutput) *MonitoringOutputConfig {
38388	s.MonitoringOutputs = v
38389	return s
38390}
38391
38392// Identifies the resources to deploy for a monitoring job.
38393type MonitoringResources struct {
38394	_ struct{} `type:"structure"`
38395
38396	// The configuration for the cluster resources used to run the processing job.
38397	//
38398	// ClusterConfig is a required field
38399	ClusterConfig *MonitoringClusterConfig `type:"structure" required:"true"`
38400}
38401
38402// String returns the string representation
38403func (s MonitoringResources) String() string {
38404	return awsutil.Prettify(s)
38405}
38406
38407// GoString returns the string representation
38408func (s MonitoringResources) GoString() string {
38409	return s.String()
38410}
38411
38412// Validate inspects the fields of the type to determine if they are valid.
38413func (s *MonitoringResources) Validate() error {
38414	invalidParams := request.ErrInvalidParams{Context: "MonitoringResources"}
38415	if s.ClusterConfig == nil {
38416		invalidParams.Add(request.NewErrParamRequired("ClusterConfig"))
38417	}
38418	if s.ClusterConfig != nil {
38419		if err := s.ClusterConfig.Validate(); err != nil {
38420			invalidParams.AddNested("ClusterConfig", err.(request.ErrInvalidParams))
38421		}
38422	}
38423
38424	if invalidParams.Len() > 0 {
38425		return invalidParams
38426	}
38427	return nil
38428}
38429
38430// SetClusterConfig sets the ClusterConfig field's value.
38431func (s *MonitoringResources) SetClusterConfig(v *MonitoringClusterConfig) *MonitoringResources {
38432	s.ClusterConfig = v
38433	return s
38434}
38435
38436// Information about where and how you want to store the results of a monitoring
38437// job.
38438type MonitoringS3Output struct {
38439	_ struct{} `type:"structure"`
38440
38441	// The local path to the Amazon S3 storage location where Amazon SageMaker saves
38442	// the results of a monitoring job. LocalPath is an absolute path for the output
38443	// data.
38444	//
38445	// LocalPath is a required field
38446	LocalPath *string `type:"string" required:"true"`
38447
38448	// Whether to upload the results of the monitoring job continuously or after
38449	// the job completes.
38450	S3UploadMode *string `type:"string" enum:"ProcessingS3UploadMode"`
38451
38452	// A URI that identifies the Amazon S3 storage location where Amazon SageMaker
38453	// saves the results of a monitoring job.
38454	//
38455	// S3Uri is a required field
38456	S3Uri *string `type:"string" required:"true"`
38457}
38458
38459// String returns the string representation
38460func (s MonitoringS3Output) String() string {
38461	return awsutil.Prettify(s)
38462}
38463
38464// GoString returns the string representation
38465func (s MonitoringS3Output) GoString() string {
38466	return s.String()
38467}
38468
38469// Validate inspects the fields of the type to determine if they are valid.
38470func (s *MonitoringS3Output) Validate() error {
38471	invalidParams := request.ErrInvalidParams{Context: "MonitoringS3Output"}
38472	if s.LocalPath == nil {
38473		invalidParams.Add(request.NewErrParamRequired("LocalPath"))
38474	}
38475	if s.S3Uri == nil {
38476		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
38477	}
38478
38479	if invalidParams.Len() > 0 {
38480		return invalidParams
38481	}
38482	return nil
38483}
38484
38485// SetLocalPath sets the LocalPath field's value.
38486func (s *MonitoringS3Output) SetLocalPath(v string) *MonitoringS3Output {
38487	s.LocalPath = &v
38488	return s
38489}
38490
38491// SetS3UploadMode sets the S3UploadMode field's value.
38492func (s *MonitoringS3Output) SetS3UploadMode(v string) *MonitoringS3Output {
38493	s.S3UploadMode = &v
38494	return s
38495}
38496
38497// SetS3Uri sets the S3Uri field's value.
38498func (s *MonitoringS3Output) SetS3Uri(v string) *MonitoringS3Output {
38499	s.S3Uri = &v
38500	return s
38501}
38502
38503// Configures the monitoring schedule and defines the monitoring job.
38504type MonitoringScheduleConfig struct {
38505	_ struct{} `type:"structure"`
38506
38507	// Defines the monitoring job.
38508	//
38509	// MonitoringJobDefinition is a required field
38510	MonitoringJobDefinition *MonitoringJobDefinition `type:"structure" required:"true"`
38511
38512	// Configures the monitoring schedule.
38513	ScheduleConfig *ScheduleConfig `type:"structure"`
38514}
38515
38516// String returns the string representation
38517func (s MonitoringScheduleConfig) String() string {
38518	return awsutil.Prettify(s)
38519}
38520
38521// GoString returns the string representation
38522func (s MonitoringScheduleConfig) GoString() string {
38523	return s.String()
38524}
38525
38526// Validate inspects the fields of the type to determine if they are valid.
38527func (s *MonitoringScheduleConfig) Validate() error {
38528	invalidParams := request.ErrInvalidParams{Context: "MonitoringScheduleConfig"}
38529	if s.MonitoringJobDefinition == nil {
38530		invalidParams.Add(request.NewErrParamRequired("MonitoringJobDefinition"))
38531	}
38532	if s.MonitoringJobDefinition != nil {
38533		if err := s.MonitoringJobDefinition.Validate(); err != nil {
38534			invalidParams.AddNested("MonitoringJobDefinition", err.(request.ErrInvalidParams))
38535		}
38536	}
38537	if s.ScheduleConfig != nil {
38538		if err := s.ScheduleConfig.Validate(); err != nil {
38539			invalidParams.AddNested("ScheduleConfig", err.(request.ErrInvalidParams))
38540		}
38541	}
38542
38543	if invalidParams.Len() > 0 {
38544		return invalidParams
38545	}
38546	return nil
38547}
38548
38549// SetMonitoringJobDefinition sets the MonitoringJobDefinition field's value.
38550func (s *MonitoringScheduleConfig) SetMonitoringJobDefinition(v *MonitoringJobDefinition) *MonitoringScheduleConfig {
38551	s.MonitoringJobDefinition = v
38552	return s
38553}
38554
38555// SetScheduleConfig sets the ScheduleConfig field's value.
38556func (s *MonitoringScheduleConfig) SetScheduleConfig(v *ScheduleConfig) *MonitoringScheduleConfig {
38557	s.ScheduleConfig = v
38558	return s
38559}
38560
38561// Summarizes the monitoring schedule.
38562type MonitoringScheduleSummary struct {
38563	_ struct{} `type:"structure"`
38564
38565	// The creation time of the monitoring schedule.
38566	//
38567	// CreationTime is a required field
38568	CreationTime *time.Time `type:"timestamp" required:"true"`
38569
38570	// The name of the endpoint using the monitoring schedule.
38571	EndpointName *string `type:"string"`
38572
38573	// The last time the monitoring schedule was modified.
38574	//
38575	// LastModifiedTime is a required field
38576	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
38577
38578	// The Amazon Resource Name (ARN) of the monitoring schedule.
38579	//
38580	// MonitoringScheduleArn is a required field
38581	MonitoringScheduleArn *string `type:"string" required:"true"`
38582
38583	// The name of the monitoring schedule.
38584	//
38585	// MonitoringScheduleName is a required field
38586	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
38587
38588	// The status of the monitoring schedule.
38589	//
38590	// MonitoringScheduleStatus is a required field
38591	MonitoringScheduleStatus *string `type:"string" required:"true" enum:"ScheduleStatus"`
38592}
38593
38594// String returns the string representation
38595func (s MonitoringScheduleSummary) String() string {
38596	return awsutil.Prettify(s)
38597}
38598
38599// GoString returns the string representation
38600func (s MonitoringScheduleSummary) GoString() string {
38601	return s.String()
38602}
38603
38604// SetCreationTime sets the CreationTime field's value.
38605func (s *MonitoringScheduleSummary) SetCreationTime(v time.Time) *MonitoringScheduleSummary {
38606	s.CreationTime = &v
38607	return s
38608}
38609
38610// SetEndpointName sets the EndpointName field's value.
38611func (s *MonitoringScheduleSummary) SetEndpointName(v string) *MonitoringScheduleSummary {
38612	s.EndpointName = &v
38613	return s
38614}
38615
38616// SetLastModifiedTime sets the LastModifiedTime field's value.
38617func (s *MonitoringScheduleSummary) SetLastModifiedTime(v time.Time) *MonitoringScheduleSummary {
38618	s.LastModifiedTime = &v
38619	return s
38620}
38621
38622// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
38623func (s *MonitoringScheduleSummary) SetMonitoringScheduleArn(v string) *MonitoringScheduleSummary {
38624	s.MonitoringScheduleArn = &v
38625	return s
38626}
38627
38628// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
38629func (s *MonitoringScheduleSummary) SetMonitoringScheduleName(v string) *MonitoringScheduleSummary {
38630	s.MonitoringScheduleName = &v
38631	return s
38632}
38633
38634// SetMonitoringScheduleStatus sets the MonitoringScheduleStatus field's value.
38635func (s *MonitoringScheduleSummary) SetMonitoringScheduleStatus(v string) *MonitoringScheduleSummary {
38636	s.MonitoringScheduleStatus = &v
38637	return s
38638}
38639
38640// The statistics resource for a monitoring job.
38641type MonitoringStatisticsResource struct {
38642	_ struct{} `type:"structure"`
38643
38644	// The Amazon S3 URI for the statistics resource.
38645	S3Uri *string `type:"string"`
38646}
38647
38648// String returns the string representation
38649func (s MonitoringStatisticsResource) String() string {
38650	return awsutil.Prettify(s)
38651}
38652
38653// GoString returns the string representation
38654func (s MonitoringStatisticsResource) GoString() string {
38655	return s.String()
38656}
38657
38658// SetS3Uri sets the S3Uri field's value.
38659func (s *MonitoringStatisticsResource) SetS3Uri(v string) *MonitoringStatisticsResource {
38660	s.S3Uri = &v
38661	return s
38662}
38663
38664// A time limit for how long the monitoring job is allowed to run before stopping.
38665type MonitoringStoppingCondition struct {
38666	_ struct{} `type:"structure"`
38667
38668	// The maximum runtime allowed in seconds.
38669	//
38670	// MaxRuntimeInSeconds is a required field
38671	MaxRuntimeInSeconds *int64 `min:"1" type:"integer" required:"true"`
38672}
38673
38674// String returns the string representation
38675func (s MonitoringStoppingCondition) String() string {
38676	return awsutil.Prettify(s)
38677}
38678
38679// GoString returns the string representation
38680func (s MonitoringStoppingCondition) GoString() string {
38681	return s.String()
38682}
38683
38684// Validate inspects the fields of the type to determine if they are valid.
38685func (s *MonitoringStoppingCondition) Validate() error {
38686	invalidParams := request.ErrInvalidParams{Context: "MonitoringStoppingCondition"}
38687	if s.MaxRuntimeInSeconds == nil {
38688		invalidParams.Add(request.NewErrParamRequired("MaxRuntimeInSeconds"))
38689	}
38690	if s.MaxRuntimeInSeconds != nil && *s.MaxRuntimeInSeconds < 1 {
38691		invalidParams.Add(request.NewErrParamMinValue("MaxRuntimeInSeconds", 1))
38692	}
38693
38694	if invalidParams.Len() > 0 {
38695		return invalidParams
38696	}
38697	return nil
38698}
38699
38700// SetMaxRuntimeInSeconds sets the MaxRuntimeInSeconds field's value.
38701func (s *MonitoringStoppingCondition) SetMaxRuntimeInSeconds(v int64) *MonitoringStoppingCondition {
38702	s.MaxRuntimeInSeconds = &v
38703	return s
38704}
38705
38706// A list of nested Filter objects. A resource must satisfy the conditions of
38707// all filters to be included in the results returned from the Search API.
38708//
38709// For example, to filter on a training job's InputDataConfig property with
38710// a specific channel name and S3Uri prefix, define the following filters:
38711//
38712//    * '{Name:"InputDataConfig.ChannelName", "Operator":"Equals", "Value":"train"}',
38713//
38714//    * '{Name:"InputDataConfig.DataSource.S3DataSource.S3Uri", "Operator":"Contains",
38715//    "Value":"mybucket/catdata"}'
38716type NestedFilters struct {
38717	_ struct{} `type:"structure"`
38718
38719	// A list of filters. Each filter acts on a property. Filters must contain at
38720	// least one Filters value. For example, a NestedFilters call might include
38721	// a filter on the PropertyName parameter of the InputDataConfig property: InputDataConfig.DataSource.S3DataSource.S3Uri.
38722	//
38723	// Filters is a required field
38724	Filters []*Filter `min:"1" type:"list" required:"true"`
38725
38726	// The name of the property to use in the nested filters. The value must match
38727	// a listed property name, such as InputDataConfig.
38728	//
38729	// NestedPropertyName is a required field
38730	NestedPropertyName *string `min:"1" type:"string" required:"true"`
38731}
38732
38733// String returns the string representation
38734func (s NestedFilters) String() string {
38735	return awsutil.Prettify(s)
38736}
38737
38738// GoString returns the string representation
38739func (s NestedFilters) GoString() string {
38740	return s.String()
38741}
38742
38743// Validate inspects the fields of the type to determine if they are valid.
38744func (s *NestedFilters) Validate() error {
38745	invalidParams := request.ErrInvalidParams{Context: "NestedFilters"}
38746	if s.Filters == nil {
38747		invalidParams.Add(request.NewErrParamRequired("Filters"))
38748	}
38749	if s.Filters != nil && len(s.Filters) < 1 {
38750		invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
38751	}
38752	if s.NestedPropertyName == nil {
38753		invalidParams.Add(request.NewErrParamRequired("NestedPropertyName"))
38754	}
38755	if s.NestedPropertyName != nil && len(*s.NestedPropertyName) < 1 {
38756		invalidParams.Add(request.NewErrParamMinLen("NestedPropertyName", 1))
38757	}
38758	if s.Filters != nil {
38759		for i, v := range s.Filters {
38760			if v == nil {
38761				continue
38762			}
38763			if err := v.Validate(); err != nil {
38764				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
38765			}
38766		}
38767	}
38768
38769	if invalidParams.Len() > 0 {
38770		return invalidParams
38771	}
38772	return nil
38773}
38774
38775// SetFilters sets the Filters field's value.
38776func (s *NestedFilters) SetFilters(v []*Filter) *NestedFilters {
38777	s.Filters = v
38778	return s
38779}
38780
38781// SetNestedPropertyName sets the NestedPropertyName field's value.
38782func (s *NestedFilters) SetNestedPropertyName(v string) *NestedFilters {
38783	s.NestedPropertyName = &v
38784	return s
38785}
38786
38787// Networking options for a job, such as network traffic encryption between
38788// containers, whether to allow inbound and outbound network calls to and from
38789// containers, and the VPC subnets and security groups to use for VPC-enabled
38790// jobs.
38791type NetworkConfig struct {
38792	_ struct{} `type:"structure"`
38793
38794	// Whether to encrypt all communications between distributed processing jobs.
38795	// Choose True to encrypt communications. Encryption provides greater security
38796	// for distributed processing jobs, but the processing might take longer.
38797	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
38798
38799	// Whether to allow inbound and outbound network calls to and from the containers
38800	// used for the processing job.
38801	EnableNetworkIsolation *bool `type:"boolean"`
38802
38803	// Specifies a VPC that your training jobs and hosted models have access to.
38804	// Control access to and from your training and model containers by configuring
38805	// the VPC. For more information, see Protect Endpoints by Using an Amazon Virtual
38806	// Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html)
38807	// and Protect Training Jobs by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
38808	VpcConfig *VpcConfig `type:"structure"`
38809}
38810
38811// String returns the string representation
38812func (s NetworkConfig) String() string {
38813	return awsutil.Prettify(s)
38814}
38815
38816// GoString returns the string representation
38817func (s NetworkConfig) GoString() string {
38818	return s.String()
38819}
38820
38821// Validate inspects the fields of the type to determine if they are valid.
38822func (s *NetworkConfig) Validate() error {
38823	invalidParams := request.ErrInvalidParams{Context: "NetworkConfig"}
38824	if s.VpcConfig != nil {
38825		if err := s.VpcConfig.Validate(); err != nil {
38826			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
38827		}
38828	}
38829
38830	if invalidParams.Len() > 0 {
38831		return invalidParams
38832	}
38833	return nil
38834}
38835
38836// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
38837func (s *NetworkConfig) SetEnableInterContainerTrafficEncryption(v bool) *NetworkConfig {
38838	s.EnableInterContainerTrafficEncryption = &v
38839	return s
38840}
38841
38842// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
38843func (s *NetworkConfig) SetEnableNetworkIsolation(v bool) *NetworkConfig {
38844	s.EnableNetworkIsolation = &v
38845	return s
38846}
38847
38848// SetVpcConfig sets the VpcConfig field's value.
38849func (s *NetworkConfig) SetVpcConfig(v *VpcConfig) *NetworkConfig {
38850	s.VpcConfig = v
38851	return s
38852}
38853
38854// Provides a summary of a notebook instance lifecycle configuration.
38855type NotebookInstanceLifecycleConfigSummary struct {
38856	_ struct{} `type:"structure"`
38857
38858	// A timestamp that tells when the lifecycle configuration was created.
38859	CreationTime *time.Time `type:"timestamp"`
38860
38861	// A timestamp that tells when the lifecycle configuration was last modified.
38862	LastModifiedTime *time.Time `type:"timestamp"`
38863
38864	// The Amazon Resource Name (ARN) of the lifecycle configuration.
38865	//
38866	// NotebookInstanceLifecycleConfigArn is a required field
38867	NotebookInstanceLifecycleConfigArn *string `type:"string" required:"true"`
38868
38869	// The name of the lifecycle configuration.
38870	//
38871	// NotebookInstanceLifecycleConfigName is a required field
38872	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
38873}
38874
38875// String returns the string representation
38876func (s NotebookInstanceLifecycleConfigSummary) String() string {
38877	return awsutil.Prettify(s)
38878}
38879
38880// GoString returns the string representation
38881func (s NotebookInstanceLifecycleConfigSummary) GoString() string {
38882	return s.String()
38883}
38884
38885// SetCreationTime sets the CreationTime field's value.
38886func (s *NotebookInstanceLifecycleConfigSummary) SetCreationTime(v time.Time) *NotebookInstanceLifecycleConfigSummary {
38887	s.CreationTime = &v
38888	return s
38889}
38890
38891// SetLastModifiedTime sets the LastModifiedTime field's value.
38892func (s *NotebookInstanceLifecycleConfigSummary) SetLastModifiedTime(v time.Time) *NotebookInstanceLifecycleConfigSummary {
38893	s.LastModifiedTime = &v
38894	return s
38895}
38896
38897// SetNotebookInstanceLifecycleConfigArn sets the NotebookInstanceLifecycleConfigArn field's value.
38898func (s *NotebookInstanceLifecycleConfigSummary) SetNotebookInstanceLifecycleConfigArn(v string) *NotebookInstanceLifecycleConfigSummary {
38899	s.NotebookInstanceLifecycleConfigArn = &v
38900	return s
38901}
38902
38903// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
38904func (s *NotebookInstanceLifecycleConfigSummary) SetNotebookInstanceLifecycleConfigName(v string) *NotebookInstanceLifecycleConfigSummary {
38905	s.NotebookInstanceLifecycleConfigName = &v
38906	return s
38907}
38908
38909// Contains the notebook instance lifecycle configuration script.
38910//
38911// Each lifecycle configuration script has a limit of 16384 characters.
38912//
38913// The value of the $PATH environment variable that is available to both scripts
38914// is /sbin:bin:/usr/sbin:/usr/bin.
38915//
38916// View CloudWatch Logs for notebook instance lifecycle configurations in log
38917// group /aws/sagemaker/NotebookInstances in log stream [notebook-instance-name]/[LifecycleConfigHook].
38918//
38919// Lifecycle configuration scripts cannot run for longer than 5 minutes. If
38920// a script runs for longer than 5 minutes, it fails and the notebook instance
38921// is not created or started.
38922//
38923// For information about notebook instance lifestyle configurations, see Step
38924// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
38925type NotebookInstanceLifecycleHook struct {
38926	_ struct{} `type:"structure"`
38927
38928	// A base64-encoded string that contains a shell script for a notebook instance
38929	// lifecycle configuration.
38930	Content *string `min:"1" type:"string"`
38931}
38932
38933// String returns the string representation
38934func (s NotebookInstanceLifecycleHook) String() string {
38935	return awsutil.Prettify(s)
38936}
38937
38938// GoString returns the string representation
38939func (s NotebookInstanceLifecycleHook) GoString() string {
38940	return s.String()
38941}
38942
38943// Validate inspects the fields of the type to determine if they are valid.
38944func (s *NotebookInstanceLifecycleHook) Validate() error {
38945	invalidParams := request.ErrInvalidParams{Context: "NotebookInstanceLifecycleHook"}
38946	if s.Content != nil && len(*s.Content) < 1 {
38947		invalidParams.Add(request.NewErrParamMinLen("Content", 1))
38948	}
38949
38950	if invalidParams.Len() > 0 {
38951		return invalidParams
38952	}
38953	return nil
38954}
38955
38956// SetContent sets the Content field's value.
38957func (s *NotebookInstanceLifecycleHook) SetContent(v string) *NotebookInstanceLifecycleHook {
38958	s.Content = &v
38959	return s
38960}
38961
38962// Provides summary information for an Amazon SageMaker notebook instance.
38963type NotebookInstanceSummary struct {
38964	_ struct{} `type:"structure"`
38965
38966	// An array of up to three Git repositories associated with the notebook instance.
38967	// These can be either the names of Git repositories stored as resources in
38968	// your account, or the URL of Git repositories in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
38969	// or in any other Git repository. These repositories are cloned at the same
38970	// level as the default repository of your notebook instance. For more information,
38971	// see Associating Git Repositories with Amazon SageMaker Notebook Instances
38972	// (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
38973	AdditionalCodeRepositories []*string `type:"list"`
38974
38975	// A timestamp that shows when the notebook instance was created.
38976	CreationTime *time.Time `type:"timestamp"`
38977
38978	// The Git repository associated with the notebook instance as its default code
38979	// repository. This can be either the name of a Git repository stored as a resource
38980	// in your account, or the URL of a Git repository in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
38981	// or in any other Git repository. When you open a notebook instance, it opens
38982	// in the directory that contains this repository. For more information, see
38983	// Associating Git Repositories with Amazon SageMaker Notebook Instances (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
38984	DefaultCodeRepository *string `min:"1" type:"string"`
38985
38986	// The type of ML compute instance that the notebook instance is running on.
38987	InstanceType *string `type:"string" enum:"InstanceType"`
38988
38989	// A timestamp that shows when the notebook instance was last modified.
38990	LastModifiedTime *time.Time `type:"timestamp"`
38991
38992	// The Amazon Resource Name (ARN) of the notebook instance.
38993	//
38994	// NotebookInstanceArn is a required field
38995	NotebookInstanceArn *string `type:"string" required:"true"`
38996
38997	// The name of a notebook instance lifecycle configuration associated with this
38998	// notebook instance.
38999	//
39000	// For information about notebook instance lifestyle configurations, see Step
39001	// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
39002	NotebookInstanceLifecycleConfigName *string `type:"string"`
39003
39004	// The name of the notebook instance that you want a summary for.
39005	//
39006	// NotebookInstanceName is a required field
39007	NotebookInstanceName *string `type:"string" required:"true"`
39008
39009	// The status of the notebook instance.
39010	NotebookInstanceStatus *string `type:"string" enum:"NotebookInstanceStatus"`
39011
39012	// The URL that you use to connect to the Jupyter instance running in your notebook
39013	// instance.
39014	Url *string `type:"string"`
39015}
39016
39017// String returns the string representation
39018func (s NotebookInstanceSummary) String() string {
39019	return awsutil.Prettify(s)
39020}
39021
39022// GoString returns the string representation
39023func (s NotebookInstanceSummary) GoString() string {
39024	return s.String()
39025}
39026
39027// SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value.
39028func (s *NotebookInstanceSummary) SetAdditionalCodeRepositories(v []*string) *NotebookInstanceSummary {
39029	s.AdditionalCodeRepositories = v
39030	return s
39031}
39032
39033// SetCreationTime sets the CreationTime field's value.
39034func (s *NotebookInstanceSummary) SetCreationTime(v time.Time) *NotebookInstanceSummary {
39035	s.CreationTime = &v
39036	return s
39037}
39038
39039// SetDefaultCodeRepository sets the DefaultCodeRepository field's value.
39040func (s *NotebookInstanceSummary) SetDefaultCodeRepository(v string) *NotebookInstanceSummary {
39041	s.DefaultCodeRepository = &v
39042	return s
39043}
39044
39045// SetInstanceType sets the InstanceType field's value.
39046func (s *NotebookInstanceSummary) SetInstanceType(v string) *NotebookInstanceSummary {
39047	s.InstanceType = &v
39048	return s
39049}
39050
39051// SetLastModifiedTime sets the LastModifiedTime field's value.
39052func (s *NotebookInstanceSummary) SetLastModifiedTime(v time.Time) *NotebookInstanceSummary {
39053	s.LastModifiedTime = &v
39054	return s
39055}
39056
39057// SetNotebookInstanceArn sets the NotebookInstanceArn field's value.
39058func (s *NotebookInstanceSummary) SetNotebookInstanceArn(v string) *NotebookInstanceSummary {
39059	s.NotebookInstanceArn = &v
39060	return s
39061}
39062
39063// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
39064func (s *NotebookInstanceSummary) SetNotebookInstanceLifecycleConfigName(v string) *NotebookInstanceSummary {
39065	s.NotebookInstanceLifecycleConfigName = &v
39066	return s
39067}
39068
39069// SetNotebookInstanceName sets the NotebookInstanceName field's value.
39070func (s *NotebookInstanceSummary) SetNotebookInstanceName(v string) *NotebookInstanceSummary {
39071	s.NotebookInstanceName = &v
39072	return s
39073}
39074
39075// SetNotebookInstanceStatus sets the NotebookInstanceStatus field's value.
39076func (s *NotebookInstanceSummary) SetNotebookInstanceStatus(v string) *NotebookInstanceSummary {
39077	s.NotebookInstanceStatus = &v
39078	return s
39079}
39080
39081// SetUrl sets the Url field's value.
39082func (s *NotebookInstanceSummary) SetUrl(v string) *NotebookInstanceSummary {
39083	s.Url = &v
39084	return s
39085}
39086
39087// Configures SNS notifications of available or expiring work items for work
39088// teams.
39089type NotificationConfiguration struct {
39090	_ struct{} `type:"structure"`
39091
39092	// The ARN for the SNS topic to which notifications should be published.
39093	NotificationTopicArn *string `type:"string"`
39094}
39095
39096// String returns the string representation
39097func (s NotificationConfiguration) String() string {
39098	return awsutil.Prettify(s)
39099}
39100
39101// GoString returns the string representation
39102func (s NotificationConfiguration) GoString() string {
39103	return s.String()
39104}
39105
39106// SetNotificationTopicArn sets the NotificationTopicArn field's value.
39107func (s *NotificationConfiguration) SetNotificationTopicArn(v string) *NotificationConfiguration {
39108	s.NotificationTopicArn = &v
39109	return s
39110}
39111
39112// Specifies the number of training jobs that this hyperparameter tuning job
39113// launched, categorized by the status of their objective metric. The objective
39114// metric status shows whether the final objective metric for the training job
39115// has been evaluated by the tuning job and used in the hyperparameter tuning
39116// process.
39117type ObjectiveStatusCounters struct {
39118	_ struct{} `type:"structure"`
39119
39120	// The number of training jobs whose final objective metric was not evaluated
39121	// and used in the hyperparameter tuning process. This typically occurs when
39122	// the training job failed or did not emit an objective metric.
39123	Failed *int64 `type:"integer"`
39124
39125	// The number of training jobs that are in progress and pending evaluation of
39126	// their final objective metric.
39127	Pending *int64 `type:"integer"`
39128
39129	// The number of training jobs whose final objective metric was evaluated by
39130	// the hyperparameter tuning job and used in the hyperparameter tuning process.
39131	Succeeded *int64 `type:"integer"`
39132}
39133
39134// String returns the string representation
39135func (s ObjectiveStatusCounters) String() string {
39136	return awsutil.Prettify(s)
39137}
39138
39139// GoString returns the string representation
39140func (s ObjectiveStatusCounters) GoString() string {
39141	return s.String()
39142}
39143
39144// SetFailed sets the Failed field's value.
39145func (s *ObjectiveStatusCounters) SetFailed(v int64) *ObjectiveStatusCounters {
39146	s.Failed = &v
39147	return s
39148}
39149
39150// SetPending sets the Pending field's value.
39151func (s *ObjectiveStatusCounters) SetPending(v int64) *ObjectiveStatusCounters {
39152	s.Pending = &v
39153	return s
39154}
39155
39156// SetSucceeded sets the Succeeded field's value.
39157func (s *ObjectiveStatusCounters) SetSucceeded(v int64) *ObjectiveStatusCounters {
39158	s.Succeeded = &v
39159	return s
39160}
39161
39162// Use this parameter to configure your OIDC Identity Provider (IdP).
39163type OidcConfig struct {
39164	_ struct{} `type:"structure"`
39165
39166	// The OIDC IdP authorization endpoint used to configure your private workforce.
39167	//
39168	// AuthorizationEndpoint is a required field
39169	AuthorizationEndpoint *string `type:"string" required:"true"`
39170
39171	// The OIDC IdP client ID used to configure your private workforce.
39172	//
39173	// ClientId is a required field
39174	ClientId *string `min:"1" type:"string" required:"true"`
39175
39176	// The OIDC IdP client secret used to configure your private workforce.
39177	//
39178	// ClientSecret is a required field
39179	ClientSecret *string `min:"1" type:"string" required:"true" sensitive:"true"`
39180
39181	// The OIDC IdP issuer used to configure your private workforce.
39182	//
39183	// Issuer is a required field
39184	Issuer *string `type:"string" required:"true"`
39185
39186	// The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private workforce.
39187	//
39188	// JwksUri is a required field
39189	JwksUri *string `type:"string" required:"true"`
39190
39191	// The OIDC IdP logout endpoint used to configure your private workforce.
39192	//
39193	// LogoutEndpoint is a required field
39194	LogoutEndpoint *string `type:"string" required:"true"`
39195
39196	// The OIDC IdP token endpoint used to configure your private workforce.
39197	//
39198	// TokenEndpoint is a required field
39199	TokenEndpoint *string `type:"string" required:"true"`
39200
39201	// The OIDC IdP user information endpoint used to configure your private workforce.
39202	//
39203	// UserInfoEndpoint is a required field
39204	UserInfoEndpoint *string `type:"string" required:"true"`
39205}
39206
39207// String returns the string representation
39208func (s OidcConfig) String() string {
39209	return awsutil.Prettify(s)
39210}
39211
39212// GoString returns the string representation
39213func (s OidcConfig) GoString() string {
39214	return s.String()
39215}
39216
39217// Validate inspects the fields of the type to determine if they are valid.
39218func (s *OidcConfig) Validate() error {
39219	invalidParams := request.ErrInvalidParams{Context: "OidcConfig"}
39220	if s.AuthorizationEndpoint == nil {
39221		invalidParams.Add(request.NewErrParamRequired("AuthorizationEndpoint"))
39222	}
39223	if s.ClientId == nil {
39224		invalidParams.Add(request.NewErrParamRequired("ClientId"))
39225	}
39226	if s.ClientId != nil && len(*s.ClientId) < 1 {
39227		invalidParams.Add(request.NewErrParamMinLen("ClientId", 1))
39228	}
39229	if s.ClientSecret == nil {
39230		invalidParams.Add(request.NewErrParamRequired("ClientSecret"))
39231	}
39232	if s.ClientSecret != nil && len(*s.ClientSecret) < 1 {
39233		invalidParams.Add(request.NewErrParamMinLen("ClientSecret", 1))
39234	}
39235	if s.Issuer == nil {
39236		invalidParams.Add(request.NewErrParamRequired("Issuer"))
39237	}
39238	if s.JwksUri == nil {
39239		invalidParams.Add(request.NewErrParamRequired("JwksUri"))
39240	}
39241	if s.LogoutEndpoint == nil {
39242		invalidParams.Add(request.NewErrParamRequired("LogoutEndpoint"))
39243	}
39244	if s.TokenEndpoint == nil {
39245		invalidParams.Add(request.NewErrParamRequired("TokenEndpoint"))
39246	}
39247	if s.UserInfoEndpoint == nil {
39248		invalidParams.Add(request.NewErrParamRequired("UserInfoEndpoint"))
39249	}
39250
39251	if invalidParams.Len() > 0 {
39252		return invalidParams
39253	}
39254	return nil
39255}
39256
39257// SetAuthorizationEndpoint sets the AuthorizationEndpoint field's value.
39258func (s *OidcConfig) SetAuthorizationEndpoint(v string) *OidcConfig {
39259	s.AuthorizationEndpoint = &v
39260	return s
39261}
39262
39263// SetClientId sets the ClientId field's value.
39264func (s *OidcConfig) SetClientId(v string) *OidcConfig {
39265	s.ClientId = &v
39266	return s
39267}
39268
39269// SetClientSecret sets the ClientSecret field's value.
39270func (s *OidcConfig) SetClientSecret(v string) *OidcConfig {
39271	s.ClientSecret = &v
39272	return s
39273}
39274
39275// SetIssuer sets the Issuer field's value.
39276func (s *OidcConfig) SetIssuer(v string) *OidcConfig {
39277	s.Issuer = &v
39278	return s
39279}
39280
39281// SetJwksUri sets the JwksUri field's value.
39282func (s *OidcConfig) SetJwksUri(v string) *OidcConfig {
39283	s.JwksUri = &v
39284	return s
39285}
39286
39287// SetLogoutEndpoint sets the LogoutEndpoint field's value.
39288func (s *OidcConfig) SetLogoutEndpoint(v string) *OidcConfig {
39289	s.LogoutEndpoint = &v
39290	return s
39291}
39292
39293// SetTokenEndpoint sets the TokenEndpoint field's value.
39294func (s *OidcConfig) SetTokenEndpoint(v string) *OidcConfig {
39295	s.TokenEndpoint = &v
39296	return s
39297}
39298
39299// SetUserInfoEndpoint sets the UserInfoEndpoint field's value.
39300func (s *OidcConfig) SetUserInfoEndpoint(v string) *OidcConfig {
39301	s.UserInfoEndpoint = &v
39302	return s
39303}
39304
39305// Your Amazon Cognito workforce configuration.
39306type OidcConfigForResponse struct {
39307	_ struct{} `type:"structure"`
39308
39309	// The OIDC IdP authorization endpoint used to configure your private workforce.
39310	AuthorizationEndpoint *string `type:"string"`
39311
39312	// The OIDC IdP client ID used to configure your private workforce.
39313	ClientId *string `min:"1" type:"string"`
39314
39315	// The OIDC IdP issuer used to configure your private workforce.
39316	Issuer *string `type:"string"`
39317
39318	// The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private workforce.
39319	JwksUri *string `type:"string"`
39320
39321	// The OIDC IdP logout endpoint used to configure your private workforce.
39322	LogoutEndpoint *string `type:"string"`
39323
39324	// The OIDC IdP token endpoint used to configure your private workforce.
39325	TokenEndpoint *string `type:"string"`
39326
39327	// The OIDC IdP user information endpoint used to configure your private workforce.
39328	UserInfoEndpoint *string `type:"string"`
39329}
39330
39331// String returns the string representation
39332func (s OidcConfigForResponse) String() string {
39333	return awsutil.Prettify(s)
39334}
39335
39336// GoString returns the string representation
39337func (s OidcConfigForResponse) GoString() string {
39338	return s.String()
39339}
39340
39341// SetAuthorizationEndpoint sets the AuthorizationEndpoint field's value.
39342func (s *OidcConfigForResponse) SetAuthorizationEndpoint(v string) *OidcConfigForResponse {
39343	s.AuthorizationEndpoint = &v
39344	return s
39345}
39346
39347// SetClientId sets the ClientId field's value.
39348func (s *OidcConfigForResponse) SetClientId(v string) *OidcConfigForResponse {
39349	s.ClientId = &v
39350	return s
39351}
39352
39353// SetIssuer sets the Issuer field's value.
39354func (s *OidcConfigForResponse) SetIssuer(v string) *OidcConfigForResponse {
39355	s.Issuer = &v
39356	return s
39357}
39358
39359// SetJwksUri sets the JwksUri field's value.
39360func (s *OidcConfigForResponse) SetJwksUri(v string) *OidcConfigForResponse {
39361	s.JwksUri = &v
39362	return s
39363}
39364
39365// SetLogoutEndpoint sets the LogoutEndpoint field's value.
39366func (s *OidcConfigForResponse) SetLogoutEndpoint(v string) *OidcConfigForResponse {
39367	s.LogoutEndpoint = &v
39368	return s
39369}
39370
39371// SetTokenEndpoint sets the TokenEndpoint field's value.
39372func (s *OidcConfigForResponse) SetTokenEndpoint(v string) *OidcConfigForResponse {
39373	s.TokenEndpoint = &v
39374	return s
39375}
39376
39377// SetUserInfoEndpoint sets the UserInfoEndpoint field's value.
39378func (s *OidcConfigForResponse) SetUserInfoEndpoint(v string) *OidcConfigForResponse {
39379	s.UserInfoEndpoint = &v
39380	return s
39381}
39382
39383// A list user groups that exist in your OIDC Identity Provider (IdP). One to
39384// ten groups can be used to create a single private work team. When you add
39385// a user group to the list of Groups, you can add that user group to one or
39386// more private work teams. If you add a user group to a private work team,
39387// all workers in that user group are added to the work team.
39388type OidcMemberDefinition struct {
39389	_ struct{} `type:"structure"`
39390
39391	// A list of comma seperated strings that identifies user groups in your OIDC
39392	// IdP. Each user group is made up of a group of private workers.
39393	//
39394	// Groups is a required field
39395	Groups []*string `min:"1" type:"list" required:"true"`
39396}
39397
39398// String returns the string representation
39399func (s OidcMemberDefinition) String() string {
39400	return awsutil.Prettify(s)
39401}
39402
39403// GoString returns the string representation
39404func (s OidcMemberDefinition) GoString() string {
39405	return s.String()
39406}
39407
39408// Validate inspects the fields of the type to determine if they are valid.
39409func (s *OidcMemberDefinition) Validate() error {
39410	invalidParams := request.ErrInvalidParams{Context: "OidcMemberDefinition"}
39411	if s.Groups == nil {
39412		invalidParams.Add(request.NewErrParamRequired("Groups"))
39413	}
39414	if s.Groups != nil && len(s.Groups) < 1 {
39415		invalidParams.Add(request.NewErrParamMinLen("Groups", 1))
39416	}
39417
39418	if invalidParams.Len() > 0 {
39419		return invalidParams
39420	}
39421	return nil
39422}
39423
39424// SetGroups sets the Groups field's value.
39425func (s *OidcMemberDefinition) SetGroups(v []*string) *OidcMemberDefinition {
39426	s.Groups = v
39427	return s
39428}
39429
39430// Contains information about the output location for the compiled model and
39431// the target device that the model runs on. TargetDevice and TargetPlatform
39432// are mutually exclusive, so you need to choose one between the two to specify
39433// your target device or platform. If you cannot find your device you want to
39434// use from the TargetDevice list, use TargetPlatform to describe the platform
39435// of your edge device and CompilerOptions if there are specific settings that
39436// are required or recommended to use for particular TargetPlatform.
39437type OutputConfig struct {
39438	_ struct{} `type:"structure"`
39439
39440	// Specifies additional parameters for compiler options in JSON format. The
39441	// compiler options are TargetPlatform specific. It is required for NVIDIA accelerators
39442	// and highly recommended for CPU compliations. For any other cases, it is optional
39443	// to specify CompilerOptions.
39444	//
39445	//    * CPU: Compilation for CPU supports the following compiler options. mcpu:
39446	//    CPU micro-architecture. For example, {'mcpu': 'skylake-avx512'} mattr:
39447	//    CPU flags. For example, {'mattr': ['+neon', '+vfpv4']}
39448	//
39449	//    * ARM: Details of ARM CPU compilations. NEON: NEON is an implementation
39450	//    of the Advanced SIMD extension used in ARMv7 processors. For example,
39451	//    add {'mattr': ['+neon']} to the compiler options if compiling for ARM
39452	//    32-bit platform with the NEON support.
39453	//
39454	//    * NVIDIA: Compilation for NVIDIA GPU supports the following compiler options.
39455	//    gpu_code: Specifies the targeted architecture. trt-ver: Specifies the
39456	//    TensorRT versions in x.y.z. format. cuda-ver: Specifies the CUDA version
39457	//    in x.y format. For example, {'gpu-code': 'sm_72', 'trt-ver': '6.0.1',
39458	//    'cuda-ver': '10.1'}
39459	//
39460	//    * ANDROID: Compilation for the Android OS supports the following compiler
39461	//    options: ANDROID_PLATFORM: Specifies the Android API levels. Available
39462	//    levels range from 21 to 29. For example, {'ANDROID_PLATFORM': 28}. mattr:
39463	//    Add {'mattr': ['+neon']} to compiler options if compiling for ARM 32-bit
39464	//    platform with NEON support.
39465	CompilerOptions *string `min:"7" type:"string"`
39466
39467	// Identifies the S3 bucket where you want Amazon SageMaker to store the model
39468	// artifacts. For example, s3://bucket-name/key-name-prefix.
39469	//
39470	// S3OutputLocation is a required field
39471	S3OutputLocation *string `type:"string" required:"true"`
39472
39473	// Identifies the target device or the machine learning instance that you want
39474	// to run your model on after the compilation has completed. Alternatively,
39475	// you can specify OS, architecture, and accelerator using TargetPlatform fields.
39476	// It can be used instead of TargetPlatform.
39477	TargetDevice *string `type:"string" enum:"TargetDevice"`
39478
39479	// Contains information about a target platform that you want your model to
39480	// run on, such as OS, architecture, and accelerators. It is an alternative
39481	// of TargetDevice.
39482	//
39483	// The following examples show how to configure the TargetPlatform and CompilerOptions
39484	// JSON strings for popular target platforms:
39485	//
39486	//    * Raspberry Pi 3 Model B+ "TargetPlatform": {"Os": "LINUX", "Arch": "ARM_EABIHF"},
39487	//    "CompilerOptions": {'mattr': ['+neon']}
39488	//
39489	//    * Jetson TX2 "TargetPlatform": {"Os": "LINUX", "Arch": "ARM64", "Accelerator":
39490	//    "NVIDIA"}, "CompilerOptions": {'gpu-code': 'sm_62', 'trt-ver': '6.0.1',
39491	//    'cuda-ver': '10.0'}
39492	//
39493	//    * EC2 m5.2xlarge instance OS "TargetPlatform": {"Os": "LINUX", "Arch":
39494	//    "X86_64", "Accelerator": "NVIDIA"}, "CompilerOptions": {'mcpu': 'skylake-avx512'}
39495	//
39496	//    * RK3399 "TargetPlatform": {"Os": "LINUX", "Arch": "ARM64", "Accelerator":
39497	//    "MALI"}
39498	//
39499	//    * ARMv7 phone (CPU) "TargetPlatform": {"Os": "ANDROID", "Arch": "ARM_EABI"},
39500	//    "CompilerOptions": {'ANDROID_PLATFORM': 25, 'mattr': ['+neon']}
39501	//
39502	//    * ARMv8 phone (CPU) "TargetPlatform": {"Os": "ANDROID", "Arch": "ARM64"},
39503	//    "CompilerOptions": {'ANDROID_PLATFORM': 29}
39504	TargetPlatform *TargetPlatform `type:"structure"`
39505}
39506
39507// String returns the string representation
39508func (s OutputConfig) String() string {
39509	return awsutil.Prettify(s)
39510}
39511
39512// GoString returns the string representation
39513func (s OutputConfig) GoString() string {
39514	return s.String()
39515}
39516
39517// Validate inspects the fields of the type to determine if they are valid.
39518func (s *OutputConfig) Validate() error {
39519	invalidParams := request.ErrInvalidParams{Context: "OutputConfig"}
39520	if s.CompilerOptions != nil && len(*s.CompilerOptions) < 7 {
39521		invalidParams.Add(request.NewErrParamMinLen("CompilerOptions", 7))
39522	}
39523	if s.S3OutputLocation == nil {
39524		invalidParams.Add(request.NewErrParamRequired("S3OutputLocation"))
39525	}
39526	if s.TargetPlatform != nil {
39527		if err := s.TargetPlatform.Validate(); err != nil {
39528			invalidParams.AddNested("TargetPlatform", err.(request.ErrInvalidParams))
39529		}
39530	}
39531
39532	if invalidParams.Len() > 0 {
39533		return invalidParams
39534	}
39535	return nil
39536}
39537
39538// SetCompilerOptions sets the CompilerOptions field's value.
39539func (s *OutputConfig) SetCompilerOptions(v string) *OutputConfig {
39540	s.CompilerOptions = &v
39541	return s
39542}
39543
39544// SetS3OutputLocation sets the S3OutputLocation field's value.
39545func (s *OutputConfig) SetS3OutputLocation(v string) *OutputConfig {
39546	s.S3OutputLocation = &v
39547	return s
39548}
39549
39550// SetTargetDevice sets the TargetDevice field's value.
39551func (s *OutputConfig) SetTargetDevice(v string) *OutputConfig {
39552	s.TargetDevice = &v
39553	return s
39554}
39555
39556// SetTargetPlatform sets the TargetPlatform field's value.
39557func (s *OutputConfig) SetTargetPlatform(v *TargetPlatform) *OutputConfig {
39558	s.TargetPlatform = v
39559	return s
39560}
39561
39562// Provides information about how to store model training results (model artifacts).
39563type OutputDataConfig struct {
39564	_ struct{} `type:"structure"`
39565
39566	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
39567	// encrypt the model artifacts at rest using Amazon S3 server-side encryption.
39568	// The KmsKeyId can be any of the following formats:
39569	//
39570	//    * // KMS Key ID "1234abcd-12ab-34cd-56ef-1234567890ab"
39571	//
39572	//    * // Amazon Resource Name (ARN) of a KMS Key "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
39573	//
39574	//    * // KMS Key Alias "alias/ExampleAlias"
39575	//
39576	//    * // Amazon Resource Name (ARN) of a KMS Key Alias "arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"
39577	//
39578	// If you use a KMS key ID or an alias of your master key, the Amazon SageMaker
39579	// execution role must include permissions to call kms:Encrypt. If you don't
39580	// provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon
39581	// S3 for your role's account. Amazon SageMaker uses server-side encryption
39582	// with KMS-managed keys for OutputDataConfig. If you use a bucket policy with
39583	// an s3:PutObject permission that only allows objects with server-side encryption,
39584	// set the condition key of s3:x-amz-server-side-encryption to "aws:kms". For
39585	// more information, see KMS-Managed Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html)
39586	// in the Amazon Simple Storage Service Developer Guide.
39587	//
39588	// The KMS key policy must grant permission to the IAM role that you specify
39589	// in your CreateTrainingJob, CreateTransformJob, or CreateHyperParameterTuningJob
39590	// requests. For more information, see Using Key Policies in AWS KMS (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html)
39591	// in the AWS Key Management Service Developer Guide.
39592	KmsKeyId *string `type:"string"`
39593
39594	// Identifies the S3 path where you want Amazon SageMaker to store the model
39595	// artifacts. For example, s3://bucket-name/key-name-prefix.
39596	//
39597	// S3OutputPath is a required field
39598	S3OutputPath *string `type:"string" required:"true"`
39599}
39600
39601// String returns the string representation
39602func (s OutputDataConfig) String() string {
39603	return awsutil.Prettify(s)
39604}
39605
39606// GoString returns the string representation
39607func (s OutputDataConfig) GoString() string {
39608	return s.String()
39609}
39610
39611// Validate inspects the fields of the type to determine if they are valid.
39612func (s *OutputDataConfig) Validate() error {
39613	invalidParams := request.ErrInvalidParams{Context: "OutputDataConfig"}
39614	if s.S3OutputPath == nil {
39615		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
39616	}
39617
39618	if invalidParams.Len() > 0 {
39619		return invalidParams
39620	}
39621	return nil
39622}
39623
39624// SetKmsKeyId sets the KmsKeyId field's value.
39625func (s *OutputDataConfig) SetKmsKeyId(v string) *OutputDataConfig {
39626	s.KmsKeyId = &v
39627	return s
39628}
39629
39630// SetS3OutputPath sets the S3OutputPath field's value.
39631func (s *OutputDataConfig) SetS3OutputPath(v string) *OutputDataConfig {
39632	s.S3OutputPath = &v
39633	return s
39634}
39635
39636// Defines the possible values for categorical, continuous, and integer hyperparameters
39637// to be used by an algorithm.
39638type ParameterRange struct {
39639	_ struct{} `type:"structure"`
39640
39641	// A CategoricalParameterRangeSpecification object that defines the possible
39642	// values for a categorical hyperparameter.
39643	CategoricalParameterRangeSpecification *CategoricalParameterRangeSpecification `type:"structure"`
39644
39645	// A ContinuousParameterRangeSpecification object that defines the possible
39646	// values for a continuous hyperparameter.
39647	ContinuousParameterRangeSpecification *ContinuousParameterRangeSpecification `type:"structure"`
39648
39649	// A IntegerParameterRangeSpecification object that defines the possible values
39650	// for an integer hyperparameter.
39651	IntegerParameterRangeSpecification *IntegerParameterRangeSpecification `type:"structure"`
39652}
39653
39654// String returns the string representation
39655func (s ParameterRange) String() string {
39656	return awsutil.Prettify(s)
39657}
39658
39659// GoString returns the string representation
39660func (s ParameterRange) GoString() string {
39661	return s.String()
39662}
39663
39664// Validate inspects the fields of the type to determine if they are valid.
39665func (s *ParameterRange) Validate() error {
39666	invalidParams := request.ErrInvalidParams{Context: "ParameterRange"}
39667	if s.CategoricalParameterRangeSpecification != nil {
39668		if err := s.CategoricalParameterRangeSpecification.Validate(); err != nil {
39669			invalidParams.AddNested("CategoricalParameterRangeSpecification", err.(request.ErrInvalidParams))
39670		}
39671	}
39672	if s.ContinuousParameterRangeSpecification != nil {
39673		if err := s.ContinuousParameterRangeSpecification.Validate(); err != nil {
39674			invalidParams.AddNested("ContinuousParameterRangeSpecification", err.(request.ErrInvalidParams))
39675		}
39676	}
39677	if s.IntegerParameterRangeSpecification != nil {
39678		if err := s.IntegerParameterRangeSpecification.Validate(); err != nil {
39679			invalidParams.AddNested("IntegerParameterRangeSpecification", err.(request.ErrInvalidParams))
39680		}
39681	}
39682
39683	if invalidParams.Len() > 0 {
39684		return invalidParams
39685	}
39686	return nil
39687}
39688
39689// SetCategoricalParameterRangeSpecification sets the CategoricalParameterRangeSpecification field's value.
39690func (s *ParameterRange) SetCategoricalParameterRangeSpecification(v *CategoricalParameterRangeSpecification) *ParameterRange {
39691	s.CategoricalParameterRangeSpecification = v
39692	return s
39693}
39694
39695// SetContinuousParameterRangeSpecification sets the ContinuousParameterRangeSpecification field's value.
39696func (s *ParameterRange) SetContinuousParameterRangeSpecification(v *ContinuousParameterRangeSpecification) *ParameterRange {
39697	s.ContinuousParameterRangeSpecification = v
39698	return s
39699}
39700
39701// SetIntegerParameterRangeSpecification sets the IntegerParameterRangeSpecification field's value.
39702func (s *ParameterRange) SetIntegerParameterRangeSpecification(v *IntegerParameterRangeSpecification) *ParameterRange {
39703	s.IntegerParameterRangeSpecification = v
39704	return s
39705}
39706
39707// Specifies ranges of integer, continuous, and categorical hyperparameters
39708// that a hyperparameter tuning job searches. The hyperparameter tuning job
39709// launches training jobs with hyperparameter values within these ranges to
39710// find the combination of values that result in the training job with the best
39711// performance as measured by the objective metric of the hyperparameter tuning
39712// job.
39713//
39714// You can specify a maximum of 20 hyperparameters that a hyperparameter tuning
39715// job can search over. Every possible value of a categorical parameter range
39716// counts against this limit.
39717type ParameterRanges struct {
39718	_ struct{} `type:"structure"`
39719
39720	// The array of CategoricalParameterRange objects that specify ranges of categorical
39721	// hyperparameters that a hyperparameter tuning job searches.
39722	CategoricalParameterRanges []*CategoricalParameterRange `type:"list"`
39723
39724	// The array of ContinuousParameterRange objects that specify ranges of continuous
39725	// hyperparameters that a hyperparameter tuning job searches.
39726	ContinuousParameterRanges []*ContinuousParameterRange `type:"list"`
39727
39728	// The array of IntegerParameterRange objects that specify ranges of integer
39729	// hyperparameters that a hyperparameter tuning job searches.
39730	IntegerParameterRanges []*IntegerParameterRange `type:"list"`
39731}
39732
39733// String returns the string representation
39734func (s ParameterRanges) String() string {
39735	return awsutil.Prettify(s)
39736}
39737
39738// GoString returns the string representation
39739func (s ParameterRanges) GoString() string {
39740	return s.String()
39741}
39742
39743// Validate inspects the fields of the type to determine if they are valid.
39744func (s *ParameterRanges) Validate() error {
39745	invalidParams := request.ErrInvalidParams{Context: "ParameterRanges"}
39746	if s.CategoricalParameterRanges != nil {
39747		for i, v := range s.CategoricalParameterRanges {
39748			if v == nil {
39749				continue
39750			}
39751			if err := v.Validate(); err != nil {
39752				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CategoricalParameterRanges", i), err.(request.ErrInvalidParams))
39753			}
39754		}
39755	}
39756	if s.ContinuousParameterRanges != nil {
39757		for i, v := range s.ContinuousParameterRanges {
39758			if v == nil {
39759				continue
39760			}
39761			if err := v.Validate(); err != nil {
39762				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ContinuousParameterRanges", i), err.(request.ErrInvalidParams))
39763			}
39764		}
39765	}
39766	if s.IntegerParameterRanges != nil {
39767		for i, v := range s.IntegerParameterRanges {
39768			if v == nil {
39769				continue
39770			}
39771			if err := v.Validate(); err != nil {
39772				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "IntegerParameterRanges", i), err.(request.ErrInvalidParams))
39773			}
39774		}
39775	}
39776
39777	if invalidParams.Len() > 0 {
39778		return invalidParams
39779	}
39780	return nil
39781}
39782
39783// SetCategoricalParameterRanges sets the CategoricalParameterRanges field's value.
39784func (s *ParameterRanges) SetCategoricalParameterRanges(v []*CategoricalParameterRange) *ParameterRanges {
39785	s.CategoricalParameterRanges = v
39786	return s
39787}
39788
39789// SetContinuousParameterRanges sets the ContinuousParameterRanges field's value.
39790func (s *ParameterRanges) SetContinuousParameterRanges(v []*ContinuousParameterRange) *ParameterRanges {
39791	s.ContinuousParameterRanges = v
39792	return s
39793}
39794
39795// SetIntegerParameterRanges sets the IntegerParameterRanges field's value.
39796func (s *ParameterRanges) SetIntegerParameterRanges(v []*IntegerParameterRange) *ParameterRanges {
39797	s.IntegerParameterRanges = v
39798	return s
39799}
39800
39801// The trial that a trial component is associated with and the experiment the
39802// trial is part of. A component might not be associated with a trial. A component
39803// can be associated with multiple trials.
39804type Parent struct {
39805	_ struct{} `type:"structure"`
39806
39807	// The name of the experiment.
39808	ExperimentName *string `min:"1" type:"string"`
39809
39810	// The name of the trial.
39811	TrialName *string `min:"1" type:"string"`
39812}
39813
39814// String returns the string representation
39815func (s Parent) String() string {
39816	return awsutil.Prettify(s)
39817}
39818
39819// GoString returns the string representation
39820func (s Parent) GoString() string {
39821	return s.String()
39822}
39823
39824// SetExperimentName sets the ExperimentName field's value.
39825func (s *Parent) SetExperimentName(v string) *Parent {
39826	s.ExperimentName = &v
39827	return s
39828}
39829
39830// SetTrialName sets the TrialName field's value.
39831func (s *Parent) SetTrialName(v string) *Parent {
39832	s.TrialName = &v
39833	return s
39834}
39835
39836// A previously completed or stopped hyperparameter tuning job to be used as
39837// a starting point for a new hyperparameter tuning job.
39838type ParentHyperParameterTuningJob struct {
39839	_ struct{} `type:"structure"`
39840
39841	// The name of the hyperparameter tuning job to be used as a starting point
39842	// for a new hyperparameter tuning job.
39843	HyperParameterTuningJobName *string `min:"1" type:"string"`
39844}
39845
39846// String returns the string representation
39847func (s ParentHyperParameterTuningJob) String() string {
39848	return awsutil.Prettify(s)
39849}
39850
39851// GoString returns the string representation
39852func (s ParentHyperParameterTuningJob) GoString() string {
39853	return s.String()
39854}
39855
39856// Validate inspects the fields of the type to determine if they are valid.
39857func (s *ParentHyperParameterTuningJob) Validate() error {
39858	invalidParams := request.ErrInvalidParams{Context: "ParentHyperParameterTuningJob"}
39859	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
39860		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
39861	}
39862
39863	if invalidParams.Len() > 0 {
39864		return invalidParams
39865	}
39866	return nil
39867}
39868
39869// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
39870func (s *ParentHyperParameterTuningJob) SetHyperParameterTuningJobName(v string) *ParentHyperParameterTuningJob {
39871	s.HyperParameterTuningJobName = &v
39872	return s
39873}
39874
39875// Configuration for the cluster used to run a processing job.
39876type ProcessingClusterConfig struct {
39877	_ struct{} `type:"structure"`
39878
39879	// The number of ML compute instances to use in the processing job. For distributed
39880	// processing jobs, specify a value greater than 1. The default value is 1.
39881	//
39882	// InstanceCount is a required field
39883	InstanceCount *int64 `min:"1" type:"integer" required:"true"`
39884
39885	// The ML compute instance type for the processing job.
39886	//
39887	// InstanceType is a required field
39888	InstanceType *string `type:"string" required:"true" enum:"ProcessingInstanceType"`
39889
39890	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
39891	// encrypt data on the storage volume attached to the ML compute instance(s)
39892	// that run the processing job.
39893	VolumeKmsKeyId *string `type:"string"`
39894
39895	// The size of the ML storage volume in gigabytes that you want to provision.
39896	// You must specify sufficient ML storage for your scenario.
39897	//
39898	// VolumeSizeInGB is a required field
39899	VolumeSizeInGB *int64 `min:"1" type:"integer" required:"true"`
39900}
39901
39902// String returns the string representation
39903func (s ProcessingClusterConfig) String() string {
39904	return awsutil.Prettify(s)
39905}
39906
39907// GoString returns the string representation
39908func (s ProcessingClusterConfig) GoString() string {
39909	return s.String()
39910}
39911
39912// Validate inspects the fields of the type to determine if they are valid.
39913func (s *ProcessingClusterConfig) Validate() error {
39914	invalidParams := request.ErrInvalidParams{Context: "ProcessingClusterConfig"}
39915	if s.InstanceCount == nil {
39916		invalidParams.Add(request.NewErrParamRequired("InstanceCount"))
39917	}
39918	if s.InstanceCount != nil && *s.InstanceCount < 1 {
39919		invalidParams.Add(request.NewErrParamMinValue("InstanceCount", 1))
39920	}
39921	if s.InstanceType == nil {
39922		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
39923	}
39924	if s.VolumeSizeInGB == nil {
39925		invalidParams.Add(request.NewErrParamRequired("VolumeSizeInGB"))
39926	}
39927	if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 1 {
39928		invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 1))
39929	}
39930
39931	if invalidParams.Len() > 0 {
39932		return invalidParams
39933	}
39934	return nil
39935}
39936
39937// SetInstanceCount sets the InstanceCount field's value.
39938func (s *ProcessingClusterConfig) SetInstanceCount(v int64) *ProcessingClusterConfig {
39939	s.InstanceCount = &v
39940	return s
39941}
39942
39943// SetInstanceType sets the InstanceType field's value.
39944func (s *ProcessingClusterConfig) SetInstanceType(v string) *ProcessingClusterConfig {
39945	s.InstanceType = &v
39946	return s
39947}
39948
39949// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
39950func (s *ProcessingClusterConfig) SetVolumeKmsKeyId(v string) *ProcessingClusterConfig {
39951	s.VolumeKmsKeyId = &v
39952	return s
39953}
39954
39955// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
39956func (s *ProcessingClusterConfig) SetVolumeSizeInGB(v int64) *ProcessingClusterConfig {
39957	s.VolumeSizeInGB = &v
39958	return s
39959}
39960
39961// The inputs for a processing job.
39962type ProcessingInput struct {
39963	_ struct{} `type:"structure"`
39964
39965	// The name of the inputs for the processing job.
39966	//
39967	// InputName is a required field
39968	InputName *string `type:"string" required:"true"`
39969
39970	// The S3 inputs for the processing job.
39971	//
39972	// S3Input is a required field
39973	S3Input *ProcessingS3Input `type:"structure" required:"true"`
39974}
39975
39976// String returns the string representation
39977func (s ProcessingInput) String() string {
39978	return awsutil.Prettify(s)
39979}
39980
39981// GoString returns the string representation
39982func (s ProcessingInput) GoString() string {
39983	return s.String()
39984}
39985
39986// Validate inspects the fields of the type to determine if they are valid.
39987func (s *ProcessingInput) Validate() error {
39988	invalidParams := request.ErrInvalidParams{Context: "ProcessingInput"}
39989	if s.InputName == nil {
39990		invalidParams.Add(request.NewErrParamRequired("InputName"))
39991	}
39992	if s.S3Input == nil {
39993		invalidParams.Add(request.NewErrParamRequired("S3Input"))
39994	}
39995	if s.S3Input != nil {
39996		if err := s.S3Input.Validate(); err != nil {
39997			invalidParams.AddNested("S3Input", err.(request.ErrInvalidParams))
39998		}
39999	}
40000
40001	if invalidParams.Len() > 0 {
40002		return invalidParams
40003	}
40004	return nil
40005}
40006
40007// SetInputName sets the InputName field's value.
40008func (s *ProcessingInput) SetInputName(v string) *ProcessingInput {
40009	s.InputName = &v
40010	return s
40011}
40012
40013// SetS3Input sets the S3Input field's value.
40014func (s *ProcessingInput) SetS3Input(v *ProcessingS3Input) *ProcessingInput {
40015	s.S3Input = v
40016	return s
40017}
40018
40019// An Amazon SageMaker processing job that is used to analyze data and evaluate
40020// models. For more information, see Process Data and Evaluate Models (https://docs.aws.amazon.com/sagemaker/latest/dg/processing-job.html).
40021type ProcessingJob struct {
40022	_ struct{} `type:"structure"`
40023
40024	// Configuration to run a processing job in a specified container image.
40025	AppSpecification *AppSpecification `type:"structure"`
40026
40027	// The Amazon Resource Name (ARN) of the AutoML job associated with this processing
40028	// job.
40029	AutoMLJobArn *string `min:"1" type:"string"`
40030
40031	// The time the processing job was created.
40032	CreationTime *time.Time `type:"timestamp"`
40033
40034	// Sets the environment variables in the Docker container.
40035	Environment map[string]*string `type:"map"`
40036
40037	// A string, up to one KB in size, that contains metadata from the processing
40038	// container when the processing job exits.
40039	ExitMessage *string `type:"string"`
40040
40041	// Associates a SageMaker job as a trial component with an experiment and trial.
40042	// Specified when you call the following APIs:
40043	//
40044	//    * CreateProcessingJob
40045	//
40046	//    * CreateTrainingJob
40047	//
40048	//    * CreateTransformJob
40049	ExperimentConfig *ExperimentConfig `type:"structure"`
40050
40051	// A string, up to one KB in size, that contains the reason a processing job
40052	// failed, if it failed.
40053	FailureReason *string `type:"string"`
40054
40055	// The time the processing job was last modified.
40056	LastModifiedTime *time.Time `type:"timestamp"`
40057
40058	// The ARN of a monitoring schedule for an endpoint associated with this processing
40059	// job.
40060	MonitoringScheduleArn *string `type:"string"`
40061
40062	// Networking options for a job, such as network traffic encryption between
40063	// containers, whether to allow inbound and outbound network calls to and from
40064	// containers, and the VPC subnets and security groups to use for VPC-enabled
40065	// jobs.
40066	NetworkConfig *NetworkConfig `type:"structure"`
40067
40068	// The time that the processing job ended.
40069	ProcessingEndTime *time.Time `type:"timestamp"`
40070
40071	// For each input, data is downloaded from S3 into the processing container
40072	// before the processing job begins running if "S3InputMode" is set to File.
40073	ProcessingInputs []*ProcessingInput `type:"list"`
40074
40075	// The ARN of the processing job.
40076	ProcessingJobArn *string `type:"string"`
40077
40078	// The name of the processing job.
40079	ProcessingJobName *string `min:"1" type:"string"`
40080
40081	// The status of the processing job.
40082	ProcessingJobStatus *string `type:"string" enum:"ProcessingJobStatus"`
40083
40084	// The output configuration for the processing job.
40085	ProcessingOutputConfig *ProcessingOutputConfig `type:"structure"`
40086
40087	// Identifies the resources, ML compute instances, and ML storage volumes to
40088	// deploy for a processing job. In distributed training, you specify more than
40089	// one instance.
40090	ProcessingResources *ProcessingResources `type:"structure"`
40091
40092	// The time that the processing job started.
40093	ProcessingStartTime *time.Time `type:"timestamp"`
40094
40095	// The ARN of the role used to create the processing job.
40096	RoleArn *string `min:"20" type:"string"`
40097
40098	// Specifies a time limit for how long the processing job is allowed to run.
40099	StoppingCondition *ProcessingStoppingCondition `type:"structure"`
40100
40101	// An array of key-value pairs. For more information, see Using Cost Allocation
40102	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL)
40103	// in the AWS Billing and Cost Management User Guide.
40104	Tags []*Tag `type:"list"`
40105
40106	// The ARN of the training job associated with this processing job.
40107	TrainingJobArn *string `type:"string"`
40108}
40109
40110// String returns the string representation
40111func (s ProcessingJob) String() string {
40112	return awsutil.Prettify(s)
40113}
40114
40115// GoString returns the string representation
40116func (s ProcessingJob) GoString() string {
40117	return s.String()
40118}
40119
40120// SetAppSpecification sets the AppSpecification field's value.
40121func (s *ProcessingJob) SetAppSpecification(v *AppSpecification) *ProcessingJob {
40122	s.AppSpecification = v
40123	return s
40124}
40125
40126// SetAutoMLJobArn sets the AutoMLJobArn field's value.
40127func (s *ProcessingJob) SetAutoMLJobArn(v string) *ProcessingJob {
40128	s.AutoMLJobArn = &v
40129	return s
40130}
40131
40132// SetCreationTime sets the CreationTime field's value.
40133func (s *ProcessingJob) SetCreationTime(v time.Time) *ProcessingJob {
40134	s.CreationTime = &v
40135	return s
40136}
40137
40138// SetEnvironment sets the Environment field's value.
40139func (s *ProcessingJob) SetEnvironment(v map[string]*string) *ProcessingJob {
40140	s.Environment = v
40141	return s
40142}
40143
40144// SetExitMessage sets the ExitMessage field's value.
40145func (s *ProcessingJob) SetExitMessage(v string) *ProcessingJob {
40146	s.ExitMessage = &v
40147	return s
40148}
40149
40150// SetExperimentConfig sets the ExperimentConfig field's value.
40151func (s *ProcessingJob) SetExperimentConfig(v *ExperimentConfig) *ProcessingJob {
40152	s.ExperimentConfig = v
40153	return s
40154}
40155
40156// SetFailureReason sets the FailureReason field's value.
40157func (s *ProcessingJob) SetFailureReason(v string) *ProcessingJob {
40158	s.FailureReason = &v
40159	return s
40160}
40161
40162// SetLastModifiedTime sets the LastModifiedTime field's value.
40163func (s *ProcessingJob) SetLastModifiedTime(v time.Time) *ProcessingJob {
40164	s.LastModifiedTime = &v
40165	return s
40166}
40167
40168// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
40169func (s *ProcessingJob) SetMonitoringScheduleArn(v string) *ProcessingJob {
40170	s.MonitoringScheduleArn = &v
40171	return s
40172}
40173
40174// SetNetworkConfig sets the NetworkConfig field's value.
40175func (s *ProcessingJob) SetNetworkConfig(v *NetworkConfig) *ProcessingJob {
40176	s.NetworkConfig = v
40177	return s
40178}
40179
40180// SetProcessingEndTime sets the ProcessingEndTime field's value.
40181func (s *ProcessingJob) SetProcessingEndTime(v time.Time) *ProcessingJob {
40182	s.ProcessingEndTime = &v
40183	return s
40184}
40185
40186// SetProcessingInputs sets the ProcessingInputs field's value.
40187func (s *ProcessingJob) SetProcessingInputs(v []*ProcessingInput) *ProcessingJob {
40188	s.ProcessingInputs = v
40189	return s
40190}
40191
40192// SetProcessingJobArn sets the ProcessingJobArn field's value.
40193func (s *ProcessingJob) SetProcessingJobArn(v string) *ProcessingJob {
40194	s.ProcessingJobArn = &v
40195	return s
40196}
40197
40198// SetProcessingJobName sets the ProcessingJobName field's value.
40199func (s *ProcessingJob) SetProcessingJobName(v string) *ProcessingJob {
40200	s.ProcessingJobName = &v
40201	return s
40202}
40203
40204// SetProcessingJobStatus sets the ProcessingJobStatus field's value.
40205func (s *ProcessingJob) SetProcessingJobStatus(v string) *ProcessingJob {
40206	s.ProcessingJobStatus = &v
40207	return s
40208}
40209
40210// SetProcessingOutputConfig sets the ProcessingOutputConfig field's value.
40211func (s *ProcessingJob) SetProcessingOutputConfig(v *ProcessingOutputConfig) *ProcessingJob {
40212	s.ProcessingOutputConfig = v
40213	return s
40214}
40215
40216// SetProcessingResources sets the ProcessingResources field's value.
40217func (s *ProcessingJob) SetProcessingResources(v *ProcessingResources) *ProcessingJob {
40218	s.ProcessingResources = v
40219	return s
40220}
40221
40222// SetProcessingStartTime sets the ProcessingStartTime field's value.
40223func (s *ProcessingJob) SetProcessingStartTime(v time.Time) *ProcessingJob {
40224	s.ProcessingStartTime = &v
40225	return s
40226}
40227
40228// SetRoleArn sets the RoleArn field's value.
40229func (s *ProcessingJob) SetRoleArn(v string) *ProcessingJob {
40230	s.RoleArn = &v
40231	return s
40232}
40233
40234// SetStoppingCondition sets the StoppingCondition field's value.
40235func (s *ProcessingJob) SetStoppingCondition(v *ProcessingStoppingCondition) *ProcessingJob {
40236	s.StoppingCondition = v
40237	return s
40238}
40239
40240// SetTags sets the Tags field's value.
40241func (s *ProcessingJob) SetTags(v []*Tag) *ProcessingJob {
40242	s.Tags = v
40243	return s
40244}
40245
40246// SetTrainingJobArn sets the TrainingJobArn field's value.
40247func (s *ProcessingJob) SetTrainingJobArn(v string) *ProcessingJob {
40248	s.TrainingJobArn = &v
40249	return s
40250}
40251
40252// Summary of information about a processing job.
40253type ProcessingJobSummary struct {
40254	_ struct{} `type:"structure"`
40255
40256	// The time at which the processing job was created.
40257	//
40258	// CreationTime is a required field
40259	CreationTime *time.Time `type:"timestamp" required:"true"`
40260
40261	// An optional string, up to one KB in size, that contains metadata from the
40262	// processing container when the processing job exits.
40263	ExitMessage *string `type:"string"`
40264
40265	// A string, up to one KB in size, that contains the reason a processing job
40266	// failed, if it failed.
40267	FailureReason *string `type:"string"`
40268
40269	// A timestamp that indicates the last time the processing job was modified.
40270	LastModifiedTime *time.Time `type:"timestamp"`
40271
40272	// The time at which the processing job completed.
40273	ProcessingEndTime *time.Time `type:"timestamp"`
40274
40275	// The Amazon Resource Name (ARN) of the processing job..
40276	//
40277	// ProcessingJobArn is a required field
40278	ProcessingJobArn *string `type:"string" required:"true"`
40279
40280	// The name of the processing job.
40281	//
40282	// ProcessingJobName is a required field
40283	ProcessingJobName *string `min:"1" type:"string" required:"true"`
40284
40285	// The status of the processing job.
40286	//
40287	// ProcessingJobStatus is a required field
40288	ProcessingJobStatus *string `type:"string" required:"true" enum:"ProcessingJobStatus"`
40289}
40290
40291// String returns the string representation
40292func (s ProcessingJobSummary) String() string {
40293	return awsutil.Prettify(s)
40294}
40295
40296// GoString returns the string representation
40297func (s ProcessingJobSummary) GoString() string {
40298	return s.String()
40299}
40300
40301// SetCreationTime sets the CreationTime field's value.
40302func (s *ProcessingJobSummary) SetCreationTime(v time.Time) *ProcessingJobSummary {
40303	s.CreationTime = &v
40304	return s
40305}
40306
40307// SetExitMessage sets the ExitMessage field's value.
40308func (s *ProcessingJobSummary) SetExitMessage(v string) *ProcessingJobSummary {
40309	s.ExitMessage = &v
40310	return s
40311}
40312
40313// SetFailureReason sets the FailureReason field's value.
40314func (s *ProcessingJobSummary) SetFailureReason(v string) *ProcessingJobSummary {
40315	s.FailureReason = &v
40316	return s
40317}
40318
40319// SetLastModifiedTime sets the LastModifiedTime field's value.
40320func (s *ProcessingJobSummary) SetLastModifiedTime(v time.Time) *ProcessingJobSummary {
40321	s.LastModifiedTime = &v
40322	return s
40323}
40324
40325// SetProcessingEndTime sets the ProcessingEndTime field's value.
40326func (s *ProcessingJobSummary) SetProcessingEndTime(v time.Time) *ProcessingJobSummary {
40327	s.ProcessingEndTime = &v
40328	return s
40329}
40330
40331// SetProcessingJobArn sets the ProcessingJobArn field's value.
40332func (s *ProcessingJobSummary) SetProcessingJobArn(v string) *ProcessingJobSummary {
40333	s.ProcessingJobArn = &v
40334	return s
40335}
40336
40337// SetProcessingJobName sets the ProcessingJobName field's value.
40338func (s *ProcessingJobSummary) SetProcessingJobName(v string) *ProcessingJobSummary {
40339	s.ProcessingJobName = &v
40340	return s
40341}
40342
40343// SetProcessingJobStatus sets the ProcessingJobStatus field's value.
40344func (s *ProcessingJobSummary) SetProcessingJobStatus(v string) *ProcessingJobSummary {
40345	s.ProcessingJobStatus = &v
40346	return s
40347}
40348
40349// Describes the results of a processing job.
40350type ProcessingOutput struct {
40351	_ struct{} `type:"structure"`
40352
40353	// The name for the processing job output.
40354	//
40355	// OutputName is a required field
40356	OutputName *string `type:"string" required:"true"`
40357
40358	// Configuration for processing job outputs in Amazon S3.
40359	//
40360	// S3Output is a required field
40361	S3Output *ProcessingS3Output `type:"structure" required:"true"`
40362}
40363
40364// String returns the string representation
40365func (s ProcessingOutput) String() string {
40366	return awsutil.Prettify(s)
40367}
40368
40369// GoString returns the string representation
40370func (s ProcessingOutput) GoString() string {
40371	return s.String()
40372}
40373
40374// Validate inspects the fields of the type to determine if they are valid.
40375func (s *ProcessingOutput) Validate() error {
40376	invalidParams := request.ErrInvalidParams{Context: "ProcessingOutput"}
40377	if s.OutputName == nil {
40378		invalidParams.Add(request.NewErrParamRequired("OutputName"))
40379	}
40380	if s.S3Output == nil {
40381		invalidParams.Add(request.NewErrParamRequired("S3Output"))
40382	}
40383	if s.S3Output != nil {
40384		if err := s.S3Output.Validate(); err != nil {
40385			invalidParams.AddNested("S3Output", err.(request.ErrInvalidParams))
40386		}
40387	}
40388
40389	if invalidParams.Len() > 0 {
40390		return invalidParams
40391	}
40392	return nil
40393}
40394
40395// SetOutputName sets the OutputName field's value.
40396func (s *ProcessingOutput) SetOutputName(v string) *ProcessingOutput {
40397	s.OutputName = &v
40398	return s
40399}
40400
40401// SetS3Output sets the S3Output field's value.
40402func (s *ProcessingOutput) SetS3Output(v *ProcessingS3Output) *ProcessingOutput {
40403	s.S3Output = v
40404	return s
40405}
40406
40407// The output configuration for the processing job.
40408type ProcessingOutputConfig struct {
40409	_ struct{} `type:"structure"`
40410
40411	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
40412	// encrypt the processing job output. KmsKeyId can be an ID of a KMS key, ARN
40413	// of a KMS key, alias of a KMS key, or alias of a KMS key. The KmsKeyId is
40414	// applied to all outputs.
40415	KmsKeyId *string `type:"string"`
40416
40417	// Output configuration information for a processing job.
40418	//
40419	// Outputs is a required field
40420	Outputs []*ProcessingOutput `type:"list" required:"true"`
40421}
40422
40423// String returns the string representation
40424func (s ProcessingOutputConfig) String() string {
40425	return awsutil.Prettify(s)
40426}
40427
40428// GoString returns the string representation
40429func (s ProcessingOutputConfig) GoString() string {
40430	return s.String()
40431}
40432
40433// Validate inspects the fields of the type to determine if they are valid.
40434func (s *ProcessingOutputConfig) Validate() error {
40435	invalidParams := request.ErrInvalidParams{Context: "ProcessingOutputConfig"}
40436	if s.Outputs == nil {
40437		invalidParams.Add(request.NewErrParamRequired("Outputs"))
40438	}
40439	if s.Outputs != nil {
40440		for i, v := range s.Outputs {
40441			if v == nil {
40442				continue
40443			}
40444			if err := v.Validate(); err != nil {
40445				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Outputs", i), err.(request.ErrInvalidParams))
40446			}
40447		}
40448	}
40449
40450	if invalidParams.Len() > 0 {
40451		return invalidParams
40452	}
40453	return nil
40454}
40455
40456// SetKmsKeyId sets the KmsKeyId field's value.
40457func (s *ProcessingOutputConfig) SetKmsKeyId(v string) *ProcessingOutputConfig {
40458	s.KmsKeyId = &v
40459	return s
40460}
40461
40462// SetOutputs sets the Outputs field's value.
40463func (s *ProcessingOutputConfig) SetOutputs(v []*ProcessingOutput) *ProcessingOutputConfig {
40464	s.Outputs = v
40465	return s
40466}
40467
40468// Identifies the resources, ML compute instances, and ML storage volumes to
40469// deploy for a processing job. In distributed training, you specify more than
40470// one instance.
40471type ProcessingResources struct {
40472	_ struct{} `type:"structure"`
40473
40474	// The configuration for the resources in a cluster used to run the processing
40475	// job.
40476	//
40477	// ClusterConfig is a required field
40478	ClusterConfig *ProcessingClusterConfig `type:"structure" required:"true"`
40479}
40480
40481// String returns the string representation
40482func (s ProcessingResources) String() string {
40483	return awsutil.Prettify(s)
40484}
40485
40486// GoString returns the string representation
40487func (s ProcessingResources) GoString() string {
40488	return s.String()
40489}
40490
40491// Validate inspects the fields of the type to determine if they are valid.
40492func (s *ProcessingResources) Validate() error {
40493	invalidParams := request.ErrInvalidParams{Context: "ProcessingResources"}
40494	if s.ClusterConfig == nil {
40495		invalidParams.Add(request.NewErrParamRequired("ClusterConfig"))
40496	}
40497	if s.ClusterConfig != nil {
40498		if err := s.ClusterConfig.Validate(); err != nil {
40499			invalidParams.AddNested("ClusterConfig", err.(request.ErrInvalidParams))
40500		}
40501	}
40502
40503	if invalidParams.Len() > 0 {
40504		return invalidParams
40505	}
40506	return nil
40507}
40508
40509// SetClusterConfig sets the ClusterConfig field's value.
40510func (s *ProcessingResources) SetClusterConfig(v *ProcessingClusterConfig) *ProcessingResources {
40511	s.ClusterConfig = v
40512	return s
40513}
40514
40515// Information about where and how you want to obtain the inputs for an processing
40516// job.
40517type ProcessingS3Input struct {
40518	_ struct{} `type:"structure"`
40519
40520	// The local path to the Amazon S3 bucket where you want Amazon SageMaker to
40521	// download the inputs to run a processing job. LocalPath is an absolute path
40522	// to the input data.
40523	//
40524	// LocalPath is a required field
40525	LocalPath *string `type:"string" required:"true"`
40526
40527	// Whether to use Gzip compression for Amazon S3 storage.
40528	S3CompressionType *string `type:"string" enum:"ProcessingS3CompressionType"`
40529
40530	// Whether the data stored in Amazon S3 is FullyReplicated or ShardedByS3Key.
40531	S3DataDistributionType *string `type:"string" enum:"ProcessingS3DataDistributionType"`
40532
40533	// Whether you use an S3Prefix or a ManifestFile for the data type. If you choose
40534	// S3Prefix, S3Uri identifies a key name prefix. Amazon SageMaker uses all objects
40535	// with the specified key name prefix for the processing job. If you choose
40536	// ManifestFile, S3Uri identifies an object that is a manifest file containing
40537	// a list of object keys that you want Amazon SageMaker to use for the processing
40538	// job.
40539	//
40540	// S3DataType is a required field
40541	S3DataType *string `type:"string" required:"true" enum:"ProcessingS3DataType"`
40542
40543	// Whether to use File or Pipe input mode. In File mode, Amazon SageMaker copies
40544	// the data from the input source onto the local Amazon Elastic Block Store
40545	// (Amazon EBS) volumes before starting your training algorithm. This is the
40546	// most commonly used input mode. In Pipe mode, Amazon SageMaker streams input
40547	// data from the source directly to your algorithm without using the EBS volume.
40548	//
40549	// S3InputMode is a required field
40550	S3InputMode *string `type:"string" required:"true" enum:"ProcessingS3InputMode"`
40551
40552	// The URI for the Amazon S3 storage where you want Amazon SageMaker to download
40553	// the artifacts needed to run a processing job.
40554	//
40555	// S3Uri is a required field
40556	S3Uri *string `type:"string" required:"true"`
40557}
40558
40559// String returns the string representation
40560func (s ProcessingS3Input) String() string {
40561	return awsutil.Prettify(s)
40562}
40563
40564// GoString returns the string representation
40565func (s ProcessingS3Input) GoString() string {
40566	return s.String()
40567}
40568
40569// Validate inspects the fields of the type to determine if they are valid.
40570func (s *ProcessingS3Input) Validate() error {
40571	invalidParams := request.ErrInvalidParams{Context: "ProcessingS3Input"}
40572	if s.LocalPath == nil {
40573		invalidParams.Add(request.NewErrParamRequired("LocalPath"))
40574	}
40575	if s.S3DataType == nil {
40576		invalidParams.Add(request.NewErrParamRequired("S3DataType"))
40577	}
40578	if s.S3InputMode == nil {
40579		invalidParams.Add(request.NewErrParamRequired("S3InputMode"))
40580	}
40581	if s.S3Uri == nil {
40582		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
40583	}
40584
40585	if invalidParams.Len() > 0 {
40586		return invalidParams
40587	}
40588	return nil
40589}
40590
40591// SetLocalPath sets the LocalPath field's value.
40592func (s *ProcessingS3Input) SetLocalPath(v string) *ProcessingS3Input {
40593	s.LocalPath = &v
40594	return s
40595}
40596
40597// SetS3CompressionType sets the S3CompressionType field's value.
40598func (s *ProcessingS3Input) SetS3CompressionType(v string) *ProcessingS3Input {
40599	s.S3CompressionType = &v
40600	return s
40601}
40602
40603// SetS3DataDistributionType sets the S3DataDistributionType field's value.
40604func (s *ProcessingS3Input) SetS3DataDistributionType(v string) *ProcessingS3Input {
40605	s.S3DataDistributionType = &v
40606	return s
40607}
40608
40609// SetS3DataType sets the S3DataType field's value.
40610func (s *ProcessingS3Input) SetS3DataType(v string) *ProcessingS3Input {
40611	s.S3DataType = &v
40612	return s
40613}
40614
40615// SetS3InputMode sets the S3InputMode field's value.
40616func (s *ProcessingS3Input) SetS3InputMode(v string) *ProcessingS3Input {
40617	s.S3InputMode = &v
40618	return s
40619}
40620
40621// SetS3Uri sets the S3Uri field's value.
40622func (s *ProcessingS3Input) SetS3Uri(v string) *ProcessingS3Input {
40623	s.S3Uri = &v
40624	return s
40625}
40626
40627// Information about where and how you want to store the results of an processing
40628// job.
40629type ProcessingS3Output struct {
40630	_ struct{} `type:"structure"`
40631
40632	// The local path to the Amazon S3 bucket where you want Amazon SageMaker to
40633	// save the results of an processing job. LocalPath is an absolute path to the
40634	// input data.
40635	//
40636	// LocalPath is a required field
40637	LocalPath *string `type:"string" required:"true"`
40638
40639	// Whether to upload the results of the processing job continuously or after
40640	// the job completes.
40641	//
40642	// S3UploadMode is a required field
40643	S3UploadMode *string `type:"string" required:"true" enum:"ProcessingS3UploadMode"`
40644
40645	// A URI that identifies the Amazon S3 bucket where you want Amazon SageMaker
40646	// to save the results of a processing job.
40647	//
40648	// S3Uri is a required field
40649	S3Uri *string `type:"string" required:"true"`
40650}
40651
40652// String returns the string representation
40653func (s ProcessingS3Output) String() string {
40654	return awsutil.Prettify(s)
40655}
40656
40657// GoString returns the string representation
40658func (s ProcessingS3Output) GoString() string {
40659	return s.String()
40660}
40661
40662// Validate inspects the fields of the type to determine if they are valid.
40663func (s *ProcessingS3Output) Validate() error {
40664	invalidParams := request.ErrInvalidParams{Context: "ProcessingS3Output"}
40665	if s.LocalPath == nil {
40666		invalidParams.Add(request.NewErrParamRequired("LocalPath"))
40667	}
40668	if s.S3UploadMode == nil {
40669		invalidParams.Add(request.NewErrParamRequired("S3UploadMode"))
40670	}
40671	if s.S3Uri == nil {
40672		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
40673	}
40674
40675	if invalidParams.Len() > 0 {
40676		return invalidParams
40677	}
40678	return nil
40679}
40680
40681// SetLocalPath sets the LocalPath field's value.
40682func (s *ProcessingS3Output) SetLocalPath(v string) *ProcessingS3Output {
40683	s.LocalPath = &v
40684	return s
40685}
40686
40687// SetS3UploadMode sets the S3UploadMode field's value.
40688func (s *ProcessingS3Output) SetS3UploadMode(v string) *ProcessingS3Output {
40689	s.S3UploadMode = &v
40690	return s
40691}
40692
40693// SetS3Uri sets the S3Uri field's value.
40694func (s *ProcessingS3Output) SetS3Uri(v string) *ProcessingS3Output {
40695	s.S3Uri = &v
40696	return s
40697}
40698
40699// Specifies a time limit for how long the processing job is allowed to run.
40700type ProcessingStoppingCondition struct {
40701	_ struct{} `type:"structure"`
40702
40703	// Specifies the maximum runtime in seconds.
40704	//
40705	// MaxRuntimeInSeconds is a required field
40706	MaxRuntimeInSeconds *int64 `min:"1" type:"integer" required:"true"`
40707}
40708
40709// String returns the string representation
40710func (s ProcessingStoppingCondition) String() string {
40711	return awsutil.Prettify(s)
40712}
40713
40714// GoString returns the string representation
40715func (s ProcessingStoppingCondition) GoString() string {
40716	return s.String()
40717}
40718
40719// Validate inspects the fields of the type to determine if they are valid.
40720func (s *ProcessingStoppingCondition) Validate() error {
40721	invalidParams := request.ErrInvalidParams{Context: "ProcessingStoppingCondition"}
40722	if s.MaxRuntimeInSeconds == nil {
40723		invalidParams.Add(request.NewErrParamRequired("MaxRuntimeInSeconds"))
40724	}
40725	if s.MaxRuntimeInSeconds != nil && *s.MaxRuntimeInSeconds < 1 {
40726		invalidParams.Add(request.NewErrParamMinValue("MaxRuntimeInSeconds", 1))
40727	}
40728
40729	if invalidParams.Len() > 0 {
40730		return invalidParams
40731	}
40732	return nil
40733}
40734
40735// SetMaxRuntimeInSeconds sets the MaxRuntimeInSeconds field's value.
40736func (s *ProcessingStoppingCondition) SetMaxRuntimeInSeconds(v int64) *ProcessingStoppingCondition {
40737	s.MaxRuntimeInSeconds = &v
40738	return s
40739}
40740
40741// Identifies a model that you want to host and the resources to deploy for
40742// hosting it. If you are deploying multiple models, tell Amazon SageMaker how
40743// to distribute traffic among the models by specifying variant weights.
40744type ProductionVariant struct {
40745	_ struct{} `type:"structure"`
40746
40747	// The size of the Elastic Inference (EI) instance to use for the production
40748	// variant. EI instances provide on-demand GPU computing for inference. For
40749	// more information, see Using Elastic Inference in Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html).
40750	AcceleratorType *string `type:"string" enum:"ProductionVariantAcceleratorType"`
40751
40752	// Number of instances to launch initially.
40753	//
40754	// InitialInstanceCount is a required field
40755	InitialInstanceCount *int64 `min:"1" type:"integer" required:"true"`
40756
40757	// Determines initial traffic distribution among all of the models that you
40758	// specify in the endpoint configuration. The traffic to a production variant
40759	// is determined by the ratio of the VariantWeight to the sum of all VariantWeight
40760	// values across all ProductionVariants. If unspecified, it defaults to 1.0.
40761	InitialVariantWeight *float64 `type:"float"`
40762
40763	// The ML compute instance type.
40764	//
40765	// InstanceType is a required field
40766	InstanceType *string `type:"string" required:"true" enum:"ProductionVariantInstanceType"`
40767
40768	// The name of the model that you want to host. This is the name that you specified
40769	// when creating the model.
40770	//
40771	// ModelName is a required field
40772	ModelName *string `type:"string" required:"true"`
40773
40774	// The name of the production variant.
40775	//
40776	// VariantName is a required field
40777	VariantName *string `type:"string" required:"true"`
40778}
40779
40780// String returns the string representation
40781func (s ProductionVariant) String() string {
40782	return awsutil.Prettify(s)
40783}
40784
40785// GoString returns the string representation
40786func (s ProductionVariant) GoString() string {
40787	return s.String()
40788}
40789
40790// Validate inspects the fields of the type to determine if they are valid.
40791func (s *ProductionVariant) Validate() error {
40792	invalidParams := request.ErrInvalidParams{Context: "ProductionVariant"}
40793	if s.InitialInstanceCount == nil {
40794		invalidParams.Add(request.NewErrParamRequired("InitialInstanceCount"))
40795	}
40796	if s.InitialInstanceCount != nil && *s.InitialInstanceCount < 1 {
40797		invalidParams.Add(request.NewErrParamMinValue("InitialInstanceCount", 1))
40798	}
40799	if s.InstanceType == nil {
40800		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
40801	}
40802	if s.ModelName == nil {
40803		invalidParams.Add(request.NewErrParamRequired("ModelName"))
40804	}
40805	if s.VariantName == nil {
40806		invalidParams.Add(request.NewErrParamRequired("VariantName"))
40807	}
40808
40809	if invalidParams.Len() > 0 {
40810		return invalidParams
40811	}
40812	return nil
40813}
40814
40815// SetAcceleratorType sets the AcceleratorType field's value.
40816func (s *ProductionVariant) SetAcceleratorType(v string) *ProductionVariant {
40817	s.AcceleratorType = &v
40818	return s
40819}
40820
40821// SetInitialInstanceCount sets the InitialInstanceCount field's value.
40822func (s *ProductionVariant) SetInitialInstanceCount(v int64) *ProductionVariant {
40823	s.InitialInstanceCount = &v
40824	return s
40825}
40826
40827// SetInitialVariantWeight sets the InitialVariantWeight field's value.
40828func (s *ProductionVariant) SetInitialVariantWeight(v float64) *ProductionVariant {
40829	s.InitialVariantWeight = &v
40830	return s
40831}
40832
40833// SetInstanceType sets the InstanceType field's value.
40834func (s *ProductionVariant) SetInstanceType(v string) *ProductionVariant {
40835	s.InstanceType = &v
40836	return s
40837}
40838
40839// SetModelName sets the ModelName field's value.
40840func (s *ProductionVariant) SetModelName(v string) *ProductionVariant {
40841	s.ModelName = &v
40842	return s
40843}
40844
40845// SetVariantName sets the VariantName field's value.
40846func (s *ProductionVariant) SetVariantName(v string) *ProductionVariant {
40847	s.VariantName = &v
40848	return s
40849}
40850
40851// Describes weight and capacities for a production variant associated with
40852// an endpoint. If you sent a request to the UpdateEndpointWeightsAndCapacities
40853// API and the endpoint status is Updating, you get different desired and current
40854// values.
40855type ProductionVariantSummary struct {
40856	_ struct{} `type:"structure"`
40857
40858	// The number of instances associated with the variant.
40859	CurrentInstanceCount *int64 `min:"1" type:"integer"`
40860
40861	// The weight associated with the variant.
40862	CurrentWeight *float64 `type:"float"`
40863
40864	// An array of DeployedImage objects that specify the Amazon EC2 Container Registry
40865	// paths of the inference images deployed on instances of this ProductionVariant.
40866	DeployedImages []*DeployedImage `type:"list"`
40867
40868	// The number of instances requested in the UpdateEndpointWeightsAndCapacities
40869	// request.
40870	DesiredInstanceCount *int64 `min:"1" type:"integer"`
40871
40872	// The requested weight, as specified in the UpdateEndpointWeightsAndCapacities
40873	// request.
40874	DesiredWeight *float64 `type:"float"`
40875
40876	// The name of the variant.
40877	//
40878	// VariantName is a required field
40879	VariantName *string `type:"string" required:"true"`
40880}
40881
40882// String returns the string representation
40883func (s ProductionVariantSummary) String() string {
40884	return awsutil.Prettify(s)
40885}
40886
40887// GoString returns the string representation
40888func (s ProductionVariantSummary) GoString() string {
40889	return s.String()
40890}
40891
40892// SetCurrentInstanceCount sets the CurrentInstanceCount field's value.
40893func (s *ProductionVariantSummary) SetCurrentInstanceCount(v int64) *ProductionVariantSummary {
40894	s.CurrentInstanceCount = &v
40895	return s
40896}
40897
40898// SetCurrentWeight sets the CurrentWeight field's value.
40899func (s *ProductionVariantSummary) SetCurrentWeight(v float64) *ProductionVariantSummary {
40900	s.CurrentWeight = &v
40901	return s
40902}
40903
40904// SetDeployedImages sets the DeployedImages field's value.
40905func (s *ProductionVariantSummary) SetDeployedImages(v []*DeployedImage) *ProductionVariantSummary {
40906	s.DeployedImages = v
40907	return s
40908}
40909
40910// SetDesiredInstanceCount sets the DesiredInstanceCount field's value.
40911func (s *ProductionVariantSummary) SetDesiredInstanceCount(v int64) *ProductionVariantSummary {
40912	s.DesiredInstanceCount = &v
40913	return s
40914}
40915
40916// SetDesiredWeight sets the DesiredWeight field's value.
40917func (s *ProductionVariantSummary) SetDesiredWeight(v float64) *ProductionVariantSummary {
40918	s.DesiredWeight = &v
40919	return s
40920}
40921
40922// SetVariantName sets the VariantName field's value.
40923func (s *ProductionVariantSummary) SetVariantName(v string) *ProductionVariantSummary {
40924	s.VariantName = &v
40925	return s
40926}
40927
40928// Part of the SuggestionQuery type. Specifies a hint for retrieving property
40929// names that begin with the specified text.
40930type PropertyNameQuery struct {
40931	_ struct{} `type:"structure"`
40932
40933	// Text that begins a property's name.
40934	//
40935	// PropertyNameHint is a required field
40936	PropertyNameHint *string `type:"string" required:"true"`
40937}
40938
40939// String returns the string representation
40940func (s PropertyNameQuery) String() string {
40941	return awsutil.Prettify(s)
40942}
40943
40944// GoString returns the string representation
40945func (s PropertyNameQuery) GoString() string {
40946	return s.String()
40947}
40948
40949// Validate inspects the fields of the type to determine if they are valid.
40950func (s *PropertyNameQuery) Validate() error {
40951	invalidParams := request.ErrInvalidParams{Context: "PropertyNameQuery"}
40952	if s.PropertyNameHint == nil {
40953		invalidParams.Add(request.NewErrParamRequired("PropertyNameHint"))
40954	}
40955
40956	if invalidParams.Len() > 0 {
40957		return invalidParams
40958	}
40959	return nil
40960}
40961
40962// SetPropertyNameHint sets the PropertyNameHint field's value.
40963func (s *PropertyNameQuery) SetPropertyNameHint(v string) *PropertyNameQuery {
40964	s.PropertyNameHint = &v
40965	return s
40966}
40967
40968// A property name returned from a GetSearchSuggestions call that specifies
40969// a value in the PropertyNameQuery field.
40970type PropertyNameSuggestion struct {
40971	_ struct{} `type:"structure"`
40972
40973	// A suggested property name based on what you entered in the search textbox
40974	// in the Amazon SageMaker console.
40975	PropertyName *string `min:"1" type:"string"`
40976}
40977
40978// String returns the string representation
40979func (s PropertyNameSuggestion) String() string {
40980	return awsutil.Prettify(s)
40981}
40982
40983// GoString returns the string representation
40984func (s PropertyNameSuggestion) GoString() string {
40985	return s.String()
40986}
40987
40988// SetPropertyName sets the PropertyName field's value.
40989func (s *PropertyNameSuggestion) SetPropertyName(v string) *PropertyNameSuggestion {
40990	s.PropertyName = &v
40991	return s
40992}
40993
40994// Defines the amount of money paid to an Amazon Mechanical Turk worker for
40995// each task performed.
40996//
40997// Use one of the following prices for bounding box tasks. Prices are in US
40998// dollars and should be based on the complexity of the task; the longer it
40999// takes in your initial testing, the more you should offer.
41000//
41001//    * 0.036
41002//
41003//    * 0.048
41004//
41005//    * 0.060
41006//
41007//    * 0.072
41008//
41009//    * 0.120
41010//
41011//    * 0.240
41012//
41013//    * 0.360
41014//
41015//    * 0.480
41016//
41017//    * 0.600
41018//
41019//    * 0.720
41020//
41021//    * 0.840
41022//
41023//    * 0.960
41024//
41025//    * 1.080
41026//
41027//    * 1.200
41028//
41029// Use one of the following prices for image classification, text classification,
41030// and custom tasks. Prices are in US dollars.
41031//
41032//    * 0.012
41033//
41034//    * 0.024
41035//
41036//    * 0.036
41037//
41038//    * 0.048
41039//
41040//    * 0.060
41041//
41042//    * 0.072
41043//
41044//    * 0.120
41045//
41046//    * 0.240
41047//
41048//    * 0.360
41049//
41050//    * 0.480
41051//
41052//    * 0.600
41053//
41054//    * 0.720
41055//
41056//    * 0.840
41057//
41058//    * 0.960
41059//
41060//    * 1.080
41061//
41062//    * 1.200
41063//
41064// Use one of the following prices for semantic segmentation tasks. Prices are
41065// in US dollars.
41066//
41067//    * 0.840
41068//
41069//    * 0.960
41070//
41071//    * 1.080
41072//
41073//    * 1.200
41074//
41075// Use one of the following prices for Textract AnalyzeDocument Important Form
41076// Key Amazon Augmented AI review tasks. Prices are in US dollars.
41077//
41078//    * 2.400
41079//
41080//    * 2.280
41081//
41082//    * 2.160
41083//
41084//    * 2.040
41085//
41086//    * 1.920
41087//
41088//    * 1.800
41089//
41090//    * 1.680
41091//
41092//    * 1.560
41093//
41094//    * 1.440
41095//
41096//    * 1.320
41097//
41098//    * 1.200
41099//
41100//    * 1.080
41101//
41102//    * 0.960
41103//
41104//    * 0.840
41105//
41106//    * 0.720
41107//
41108//    * 0.600
41109//
41110//    * 0.480
41111//
41112//    * 0.360
41113//
41114//    * 0.240
41115//
41116//    * 0.120
41117//
41118//    * 0.072
41119//
41120//    * 0.060
41121//
41122//    * 0.048
41123//
41124//    * 0.036
41125//
41126//    * 0.024
41127//
41128//    * 0.012
41129//
41130// Use one of the following prices for Rekognition DetectModerationLabels Amazon
41131// Augmented AI review tasks. Prices are in US dollars.
41132//
41133//    * 1.200
41134//
41135//    * 1.080
41136//
41137//    * 0.960
41138//
41139//    * 0.840
41140//
41141//    * 0.720
41142//
41143//    * 0.600
41144//
41145//    * 0.480
41146//
41147//    * 0.360
41148//
41149//    * 0.240
41150//
41151//    * 0.120
41152//
41153//    * 0.072
41154//
41155//    * 0.060
41156//
41157//    * 0.048
41158//
41159//    * 0.036
41160//
41161//    * 0.024
41162//
41163//    * 0.012
41164//
41165// Use one of the following prices for Amazon Augmented AI custom human review
41166// tasks. Prices are in US dollars.
41167//
41168//    * 1.200
41169//
41170//    * 1.080
41171//
41172//    * 0.960
41173//
41174//    * 0.840
41175//
41176//    * 0.720
41177//
41178//    * 0.600
41179//
41180//    * 0.480
41181//
41182//    * 0.360
41183//
41184//    * 0.240
41185//
41186//    * 0.120
41187//
41188//    * 0.072
41189//
41190//    * 0.060
41191//
41192//    * 0.048
41193//
41194//    * 0.036
41195//
41196//    * 0.024
41197//
41198//    * 0.012
41199type PublicWorkforceTaskPrice struct {
41200	_ struct{} `type:"structure"`
41201
41202	// Defines the amount of money paid to an Amazon Mechanical Turk worker in United
41203	// States dollars.
41204	AmountInUsd *USD `type:"structure"`
41205}
41206
41207// String returns the string representation
41208func (s PublicWorkforceTaskPrice) String() string {
41209	return awsutil.Prettify(s)
41210}
41211
41212// GoString returns the string representation
41213func (s PublicWorkforceTaskPrice) GoString() string {
41214	return s.String()
41215}
41216
41217// SetAmountInUsd sets the AmountInUsd field's value.
41218func (s *PublicWorkforceTaskPrice) SetAmountInUsd(v *USD) *PublicWorkforceTaskPrice {
41219	s.AmountInUsd = v
41220	return s
41221}
41222
41223type RenderUiTemplateInput struct {
41224	_ struct{} `type:"structure"`
41225
41226	// The HumanTaskUiArn of the worker UI that you want to render. Do not provide
41227	// a HumanTaskUiArn if you use the UiTemplate parameter.
41228	//
41229	// See a list of available Human Ui Amazon Resource Names (ARNs) in UiConfig.
41230	HumanTaskUiArn *string `type:"string"`
41231
41232	// The Amazon Resource Name (ARN) that has access to the S3 objects that are
41233	// used by the template.
41234	//
41235	// RoleArn is a required field
41236	RoleArn *string `min:"20" type:"string" required:"true"`
41237
41238	// A RenderableTask object containing a representative task to render.
41239	//
41240	// Task is a required field
41241	Task *RenderableTask `type:"structure" required:"true"`
41242
41243	// A Template object containing the worker UI template to render.
41244	UiTemplate *UiTemplate `type:"structure"`
41245}
41246
41247// String returns the string representation
41248func (s RenderUiTemplateInput) String() string {
41249	return awsutil.Prettify(s)
41250}
41251
41252// GoString returns the string representation
41253func (s RenderUiTemplateInput) GoString() string {
41254	return s.String()
41255}
41256
41257// Validate inspects the fields of the type to determine if they are valid.
41258func (s *RenderUiTemplateInput) Validate() error {
41259	invalidParams := request.ErrInvalidParams{Context: "RenderUiTemplateInput"}
41260	if s.RoleArn == nil {
41261		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
41262	}
41263	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
41264		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
41265	}
41266	if s.Task == nil {
41267		invalidParams.Add(request.NewErrParamRequired("Task"))
41268	}
41269	if s.Task != nil {
41270		if err := s.Task.Validate(); err != nil {
41271			invalidParams.AddNested("Task", err.(request.ErrInvalidParams))
41272		}
41273	}
41274	if s.UiTemplate != nil {
41275		if err := s.UiTemplate.Validate(); err != nil {
41276			invalidParams.AddNested("UiTemplate", err.(request.ErrInvalidParams))
41277		}
41278	}
41279
41280	if invalidParams.Len() > 0 {
41281		return invalidParams
41282	}
41283	return nil
41284}
41285
41286// SetHumanTaskUiArn sets the HumanTaskUiArn field's value.
41287func (s *RenderUiTemplateInput) SetHumanTaskUiArn(v string) *RenderUiTemplateInput {
41288	s.HumanTaskUiArn = &v
41289	return s
41290}
41291
41292// SetRoleArn sets the RoleArn field's value.
41293func (s *RenderUiTemplateInput) SetRoleArn(v string) *RenderUiTemplateInput {
41294	s.RoleArn = &v
41295	return s
41296}
41297
41298// SetTask sets the Task field's value.
41299func (s *RenderUiTemplateInput) SetTask(v *RenderableTask) *RenderUiTemplateInput {
41300	s.Task = v
41301	return s
41302}
41303
41304// SetUiTemplate sets the UiTemplate field's value.
41305func (s *RenderUiTemplateInput) SetUiTemplate(v *UiTemplate) *RenderUiTemplateInput {
41306	s.UiTemplate = v
41307	return s
41308}
41309
41310type RenderUiTemplateOutput struct {
41311	_ struct{} `type:"structure"`
41312
41313	// A list of one or more RenderingError objects if any were encountered while
41314	// rendering the template. If there were no errors, the list is empty.
41315	//
41316	// Errors is a required field
41317	Errors []*RenderingError `type:"list" required:"true"`
41318
41319	// A Liquid template that renders the HTML for the worker UI.
41320	//
41321	// RenderedContent is a required field
41322	RenderedContent *string `type:"string" required:"true"`
41323}
41324
41325// String returns the string representation
41326func (s RenderUiTemplateOutput) String() string {
41327	return awsutil.Prettify(s)
41328}
41329
41330// GoString returns the string representation
41331func (s RenderUiTemplateOutput) GoString() string {
41332	return s.String()
41333}
41334
41335// SetErrors sets the Errors field's value.
41336func (s *RenderUiTemplateOutput) SetErrors(v []*RenderingError) *RenderUiTemplateOutput {
41337	s.Errors = v
41338	return s
41339}
41340
41341// SetRenderedContent sets the RenderedContent field's value.
41342func (s *RenderUiTemplateOutput) SetRenderedContent(v string) *RenderUiTemplateOutput {
41343	s.RenderedContent = &v
41344	return s
41345}
41346
41347// Contains input values for a task.
41348type RenderableTask struct {
41349	_ struct{} `type:"structure"`
41350
41351	// A JSON object that contains values for the variables defined in the template.
41352	// It is made available to the template under the substitution variable task.input.
41353	// For example, if you define a variable task.input.text in your template, you
41354	// can supply the variable in the JSON object as "text": "sample text".
41355	//
41356	// Input is a required field
41357	Input *string `min:"2" type:"string" required:"true"`
41358}
41359
41360// String returns the string representation
41361func (s RenderableTask) String() string {
41362	return awsutil.Prettify(s)
41363}
41364
41365// GoString returns the string representation
41366func (s RenderableTask) GoString() string {
41367	return s.String()
41368}
41369
41370// Validate inspects the fields of the type to determine if they are valid.
41371func (s *RenderableTask) Validate() error {
41372	invalidParams := request.ErrInvalidParams{Context: "RenderableTask"}
41373	if s.Input == nil {
41374		invalidParams.Add(request.NewErrParamRequired("Input"))
41375	}
41376	if s.Input != nil && len(*s.Input) < 2 {
41377		invalidParams.Add(request.NewErrParamMinLen("Input", 2))
41378	}
41379
41380	if invalidParams.Len() > 0 {
41381		return invalidParams
41382	}
41383	return nil
41384}
41385
41386// SetInput sets the Input field's value.
41387func (s *RenderableTask) SetInput(v string) *RenderableTask {
41388	s.Input = &v
41389	return s
41390}
41391
41392// A description of an error that occurred while rendering the template.
41393type RenderingError struct {
41394	_ struct{} `type:"structure"`
41395
41396	// A unique identifier for a specific class of errors.
41397	//
41398	// Code is a required field
41399	Code *string `type:"string" required:"true"`
41400
41401	// A human-readable message describing the error.
41402	//
41403	// Message is a required field
41404	Message *string `type:"string" required:"true"`
41405}
41406
41407// String returns the string representation
41408func (s RenderingError) String() string {
41409	return awsutil.Prettify(s)
41410}
41411
41412// GoString returns the string representation
41413func (s RenderingError) GoString() string {
41414	return s.String()
41415}
41416
41417// SetCode sets the Code field's value.
41418func (s *RenderingError) SetCode(v string) *RenderingError {
41419	s.Code = &v
41420	return s
41421}
41422
41423// SetMessage sets the Message field's value.
41424func (s *RenderingError) SetMessage(v string) *RenderingError {
41425	s.Message = &v
41426	return s
41427}
41428
41429// The resolved attributes.
41430type ResolvedAttributes struct {
41431	_ struct{} `type:"structure"`
41432
41433	// Applies a metric to minimize or maximize for the job's objective.
41434	AutoMLJobObjective *AutoMLJobObjective `type:"structure"`
41435
41436	// How long a job is allowed to run, or how many candidates a job is allowed
41437	// to generate.
41438	CompletionCriteria *AutoMLJobCompletionCriteria `type:"structure"`
41439
41440	// The problem type.
41441	ProblemType *string `type:"string" enum:"ProblemType"`
41442}
41443
41444// String returns the string representation
41445func (s ResolvedAttributes) String() string {
41446	return awsutil.Prettify(s)
41447}
41448
41449// GoString returns the string representation
41450func (s ResolvedAttributes) GoString() string {
41451	return s.String()
41452}
41453
41454// SetAutoMLJobObjective sets the AutoMLJobObjective field's value.
41455func (s *ResolvedAttributes) SetAutoMLJobObjective(v *AutoMLJobObjective) *ResolvedAttributes {
41456	s.AutoMLJobObjective = v
41457	return s
41458}
41459
41460// SetCompletionCriteria sets the CompletionCriteria field's value.
41461func (s *ResolvedAttributes) SetCompletionCriteria(v *AutoMLJobCompletionCriteria) *ResolvedAttributes {
41462	s.CompletionCriteria = v
41463	return s
41464}
41465
41466// SetProblemType sets the ProblemType field's value.
41467func (s *ResolvedAttributes) SetProblemType(v string) *ResolvedAttributes {
41468	s.ProblemType = &v
41469	return s
41470}
41471
41472// Describes the resources, including ML compute instances and ML storage volumes,
41473// to use for model training.
41474type ResourceConfig struct {
41475	_ struct{} `type:"structure"`
41476
41477	// The number of ML compute instances to use. For distributed training, provide
41478	// a value greater than 1.
41479	//
41480	// InstanceCount is a required field
41481	InstanceCount *int64 `min:"1" type:"integer" required:"true"`
41482
41483	// The ML compute instance type.
41484	//
41485	// InstanceType is a required field
41486	InstanceType *string `type:"string" required:"true" enum:"TrainingInstanceType"`
41487
41488	// The AWS KMS key that Amazon SageMaker uses to encrypt data on the storage
41489	// volume attached to the ML compute instance(s) that run the training job.
41490	//
41491	// Certain Nitro-based instances include local storage, dependent on the instance
41492	// type. Local storage volumes are encrypted using a hardware module on the
41493	// instance. You can't request a VolumeKmsKeyId when using an instance type
41494	// with local storage.
41495	//
41496	// For a list of instance types that support local instance storage, see Instance
41497	// Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes).
41498	//
41499	// For more information about local instance storage encryption, see SSD Instance
41500	// Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html).
41501	//
41502	// The VolumeKmsKeyId can be in any of the following formats:
41503	//
41504	//    * // KMS Key ID "1234abcd-12ab-34cd-56ef-1234567890ab"
41505	//
41506	//    * // Amazon Resource Name (ARN) of a KMS Key "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
41507	VolumeKmsKeyId *string `type:"string"`
41508
41509	// The size of the ML storage volume that you want to provision.
41510	//
41511	// ML storage volumes store model artifacts and incremental states. Training
41512	// algorithms might also use the ML storage volume for scratch space. If you
41513	// want to store the training data in the ML storage volume, choose File as
41514	// the TrainingInputMode in the algorithm specification.
41515	//
41516	// You must specify sufficient ML storage for your scenario.
41517	//
41518	// Amazon SageMaker supports only the General Purpose SSD (gp2) ML storage volume
41519	// type.
41520	//
41521	// Certain Nitro-based instances include local storage with a fixed total size,
41522	// dependent on the instance type. When using these instances for training,
41523	// Amazon SageMaker mounts the local instance storage instead of Amazon EBS
41524	// gp2 storage. You can't request a VolumeSizeInGB greater than the total size
41525	// of the local instance storage.
41526	//
41527	// For a list of instance types that support local instance storage, including
41528	// the total size per instance type, see Instance Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes).
41529	//
41530	// VolumeSizeInGB is a required field
41531	VolumeSizeInGB *int64 `min:"1" type:"integer" required:"true"`
41532}
41533
41534// String returns the string representation
41535func (s ResourceConfig) String() string {
41536	return awsutil.Prettify(s)
41537}
41538
41539// GoString returns the string representation
41540func (s ResourceConfig) GoString() string {
41541	return s.String()
41542}
41543
41544// Validate inspects the fields of the type to determine if they are valid.
41545func (s *ResourceConfig) Validate() error {
41546	invalidParams := request.ErrInvalidParams{Context: "ResourceConfig"}
41547	if s.InstanceCount == nil {
41548		invalidParams.Add(request.NewErrParamRequired("InstanceCount"))
41549	}
41550	if s.InstanceCount != nil && *s.InstanceCount < 1 {
41551		invalidParams.Add(request.NewErrParamMinValue("InstanceCount", 1))
41552	}
41553	if s.InstanceType == nil {
41554		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
41555	}
41556	if s.VolumeSizeInGB == nil {
41557		invalidParams.Add(request.NewErrParamRequired("VolumeSizeInGB"))
41558	}
41559	if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 1 {
41560		invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 1))
41561	}
41562
41563	if invalidParams.Len() > 0 {
41564		return invalidParams
41565	}
41566	return nil
41567}
41568
41569// SetInstanceCount sets the InstanceCount field's value.
41570func (s *ResourceConfig) SetInstanceCount(v int64) *ResourceConfig {
41571	s.InstanceCount = &v
41572	return s
41573}
41574
41575// SetInstanceType sets the InstanceType field's value.
41576func (s *ResourceConfig) SetInstanceType(v string) *ResourceConfig {
41577	s.InstanceType = &v
41578	return s
41579}
41580
41581// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
41582func (s *ResourceConfig) SetVolumeKmsKeyId(v string) *ResourceConfig {
41583	s.VolumeKmsKeyId = &v
41584	return s
41585}
41586
41587// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
41588func (s *ResourceConfig) SetVolumeSizeInGB(v int64) *ResourceConfig {
41589	s.VolumeSizeInGB = &v
41590	return s
41591}
41592
41593// Resource being accessed is in use.
41594type ResourceInUse struct {
41595	_            struct{}                  `type:"structure"`
41596	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
41597
41598	Message_ *string `locationName:"Message" type:"string"`
41599}
41600
41601// String returns the string representation
41602func (s ResourceInUse) String() string {
41603	return awsutil.Prettify(s)
41604}
41605
41606// GoString returns the string representation
41607func (s ResourceInUse) GoString() string {
41608	return s.String()
41609}
41610
41611func newErrorResourceInUse(v protocol.ResponseMetadata) error {
41612	return &ResourceInUse{
41613		RespMetadata: v,
41614	}
41615}
41616
41617// Code returns the exception type name.
41618func (s *ResourceInUse) Code() string {
41619	return "ResourceInUse"
41620}
41621
41622// Message returns the exception's message.
41623func (s *ResourceInUse) Message() string {
41624	if s.Message_ != nil {
41625		return *s.Message_
41626	}
41627	return ""
41628}
41629
41630// OrigErr always returns nil, satisfies awserr.Error interface.
41631func (s *ResourceInUse) OrigErr() error {
41632	return nil
41633}
41634
41635func (s *ResourceInUse) Error() string {
41636	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
41637}
41638
41639// Status code returns the HTTP status code for the request's response error.
41640func (s *ResourceInUse) StatusCode() int {
41641	return s.RespMetadata.StatusCode
41642}
41643
41644// RequestID returns the service's response RequestID for request.
41645func (s *ResourceInUse) RequestID() string {
41646	return s.RespMetadata.RequestID
41647}
41648
41649// You have exceeded an Amazon SageMaker resource limit. For example, you might
41650// have too many training jobs created.
41651type ResourceLimitExceeded struct {
41652	_            struct{}                  `type:"structure"`
41653	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
41654
41655	Message_ *string `locationName:"Message" type:"string"`
41656}
41657
41658// String returns the string representation
41659func (s ResourceLimitExceeded) String() string {
41660	return awsutil.Prettify(s)
41661}
41662
41663// GoString returns the string representation
41664func (s ResourceLimitExceeded) GoString() string {
41665	return s.String()
41666}
41667
41668func newErrorResourceLimitExceeded(v protocol.ResponseMetadata) error {
41669	return &ResourceLimitExceeded{
41670		RespMetadata: v,
41671	}
41672}
41673
41674// Code returns the exception type name.
41675func (s *ResourceLimitExceeded) Code() string {
41676	return "ResourceLimitExceeded"
41677}
41678
41679// Message returns the exception's message.
41680func (s *ResourceLimitExceeded) Message() string {
41681	if s.Message_ != nil {
41682		return *s.Message_
41683	}
41684	return ""
41685}
41686
41687// OrigErr always returns nil, satisfies awserr.Error interface.
41688func (s *ResourceLimitExceeded) OrigErr() error {
41689	return nil
41690}
41691
41692func (s *ResourceLimitExceeded) Error() string {
41693	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
41694}
41695
41696// Status code returns the HTTP status code for the request's response error.
41697func (s *ResourceLimitExceeded) StatusCode() int {
41698	return s.RespMetadata.StatusCode
41699}
41700
41701// RequestID returns the service's response RequestID for request.
41702func (s *ResourceLimitExceeded) RequestID() string {
41703	return s.RespMetadata.RequestID
41704}
41705
41706// Specifies the maximum number of training jobs and parallel training jobs
41707// that a hyperparameter tuning job can launch.
41708type ResourceLimits struct {
41709	_ struct{} `type:"structure"`
41710
41711	// The maximum number of training jobs that a hyperparameter tuning job can
41712	// launch.
41713	//
41714	// MaxNumberOfTrainingJobs is a required field
41715	MaxNumberOfTrainingJobs *int64 `min:"1" type:"integer" required:"true"`
41716
41717	// The maximum number of concurrent training jobs that a hyperparameter tuning
41718	// job can launch.
41719	//
41720	// MaxParallelTrainingJobs is a required field
41721	MaxParallelTrainingJobs *int64 `min:"1" type:"integer" required:"true"`
41722}
41723
41724// String returns the string representation
41725func (s ResourceLimits) String() string {
41726	return awsutil.Prettify(s)
41727}
41728
41729// GoString returns the string representation
41730func (s ResourceLimits) GoString() string {
41731	return s.String()
41732}
41733
41734// Validate inspects the fields of the type to determine if they are valid.
41735func (s *ResourceLimits) Validate() error {
41736	invalidParams := request.ErrInvalidParams{Context: "ResourceLimits"}
41737	if s.MaxNumberOfTrainingJobs == nil {
41738		invalidParams.Add(request.NewErrParamRequired("MaxNumberOfTrainingJobs"))
41739	}
41740	if s.MaxNumberOfTrainingJobs != nil && *s.MaxNumberOfTrainingJobs < 1 {
41741		invalidParams.Add(request.NewErrParamMinValue("MaxNumberOfTrainingJobs", 1))
41742	}
41743	if s.MaxParallelTrainingJobs == nil {
41744		invalidParams.Add(request.NewErrParamRequired("MaxParallelTrainingJobs"))
41745	}
41746	if s.MaxParallelTrainingJobs != nil && *s.MaxParallelTrainingJobs < 1 {
41747		invalidParams.Add(request.NewErrParamMinValue("MaxParallelTrainingJobs", 1))
41748	}
41749
41750	if invalidParams.Len() > 0 {
41751		return invalidParams
41752	}
41753	return nil
41754}
41755
41756// SetMaxNumberOfTrainingJobs sets the MaxNumberOfTrainingJobs field's value.
41757func (s *ResourceLimits) SetMaxNumberOfTrainingJobs(v int64) *ResourceLimits {
41758	s.MaxNumberOfTrainingJobs = &v
41759	return s
41760}
41761
41762// SetMaxParallelTrainingJobs sets the MaxParallelTrainingJobs field's value.
41763func (s *ResourceLimits) SetMaxParallelTrainingJobs(v int64) *ResourceLimits {
41764	s.MaxParallelTrainingJobs = &v
41765	return s
41766}
41767
41768// Resource being access is not found.
41769type ResourceNotFound struct {
41770	_            struct{}                  `type:"structure"`
41771	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
41772
41773	Message_ *string `locationName:"Message" type:"string"`
41774}
41775
41776// String returns the string representation
41777func (s ResourceNotFound) String() string {
41778	return awsutil.Prettify(s)
41779}
41780
41781// GoString returns the string representation
41782func (s ResourceNotFound) GoString() string {
41783	return s.String()
41784}
41785
41786func newErrorResourceNotFound(v protocol.ResponseMetadata) error {
41787	return &ResourceNotFound{
41788		RespMetadata: v,
41789	}
41790}
41791
41792// Code returns the exception type name.
41793func (s *ResourceNotFound) Code() string {
41794	return "ResourceNotFound"
41795}
41796
41797// Message returns the exception's message.
41798func (s *ResourceNotFound) Message() string {
41799	if s.Message_ != nil {
41800		return *s.Message_
41801	}
41802	return ""
41803}
41804
41805// OrigErr always returns nil, satisfies awserr.Error interface.
41806func (s *ResourceNotFound) OrigErr() error {
41807	return nil
41808}
41809
41810func (s *ResourceNotFound) Error() string {
41811	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
41812}
41813
41814// Status code returns the HTTP status code for the request's response error.
41815func (s *ResourceNotFound) StatusCode() int {
41816	return s.RespMetadata.StatusCode
41817}
41818
41819// RequestID returns the service's response RequestID for request.
41820func (s *ResourceNotFound) RequestID() string {
41821	return s.RespMetadata.RequestID
41822}
41823
41824// The instance type and the Amazon Resource Name (ARN) of the SageMaker image
41825// created on the instance. The ARN is stored as metadata in SageMaker Studio
41826// notebooks.
41827type ResourceSpec struct {
41828	_ struct{} `type:"structure"`
41829
41830	// The instance type.
41831	InstanceType *string `type:"string" enum:"AppInstanceType"`
41832
41833	// The Amazon Resource Name (ARN) of the SageMaker image created on the instance.
41834	SageMakerImageArn *string `type:"string"`
41835}
41836
41837// String returns the string representation
41838func (s ResourceSpec) String() string {
41839	return awsutil.Prettify(s)
41840}
41841
41842// GoString returns the string representation
41843func (s ResourceSpec) GoString() string {
41844	return s.String()
41845}
41846
41847// SetInstanceType sets the InstanceType field's value.
41848func (s *ResourceSpec) SetInstanceType(v string) *ResourceSpec {
41849	s.InstanceType = &v
41850	return s
41851}
41852
41853// SetSageMakerImageArn sets the SageMakerImageArn field's value.
41854func (s *ResourceSpec) SetSageMakerImageArn(v string) *ResourceSpec {
41855	s.SageMakerImageArn = &v
41856	return s
41857}
41858
41859// The retention policy for data stored on an Amazon Elastic File System (EFS)
41860// volume.
41861type RetentionPolicy struct {
41862	_ struct{} `type:"structure"`
41863
41864	// The default is Retain, which specifies to keep the data stored on the EFS
41865	// volume.
41866	//
41867	// Specify Delete to delete the data stored on the EFS volume.
41868	HomeEfsFileSystem *string `type:"string" enum:"RetentionType"`
41869}
41870
41871// String returns the string representation
41872func (s RetentionPolicy) String() string {
41873	return awsutil.Prettify(s)
41874}
41875
41876// GoString returns the string representation
41877func (s RetentionPolicy) GoString() string {
41878	return s.String()
41879}
41880
41881// SetHomeEfsFileSystem sets the HomeEfsFileSystem field's value.
41882func (s *RetentionPolicy) SetHomeEfsFileSystem(v string) *RetentionPolicy {
41883	s.HomeEfsFileSystem = &v
41884	return s
41885}
41886
41887// Describes the S3 data source.
41888type S3DataSource struct {
41889	_ struct{} `type:"structure"`
41890
41891	// A list of one or more attribute names to use that are found in a specified
41892	// augmented manifest file.
41893	AttributeNames []*string `type:"list"`
41894
41895	// If you want Amazon SageMaker to replicate the entire dataset on each ML compute
41896	// instance that is launched for model training, specify FullyReplicated.
41897	//
41898	// If you want Amazon SageMaker to replicate a subset of data on each ML compute
41899	// instance that is launched for model training, specify ShardedByS3Key. If
41900	// there are n ML compute instances launched for a training job, each instance
41901	// gets approximately 1/n of the number of S3 objects. In this case, model training
41902	// on each machine uses only the subset of training data.
41903	//
41904	// Don't choose more ML compute instances for training than available S3 objects.
41905	// If you do, some nodes won't get any data and you will pay for nodes that
41906	// aren't getting any training data. This applies in both File and Pipe modes.
41907	// Keep this in mind when developing algorithms.
41908	//
41909	// In distributed training, where you use multiple ML compute EC2 instances,
41910	// you might choose ShardedByS3Key. If the algorithm requires copying training
41911	// data to the ML storage volume (when TrainingInputMode is set to File), this
41912	// copies 1/n of the number of objects.
41913	S3DataDistributionType *string `type:"string" enum:"S3DataDistribution"`
41914
41915	// If you choose S3Prefix, S3Uri identifies a key name prefix. Amazon SageMaker
41916	// uses all objects that match the specified key name prefix for model training.
41917	//
41918	// If you choose ManifestFile, S3Uri identifies an object that is a manifest
41919	// file containing a list of object keys that you want Amazon SageMaker to use
41920	// for model training.
41921	//
41922	// If you choose AugmentedManifestFile, S3Uri identifies an object that is an
41923	// augmented manifest file in JSON lines format. This file contains the data
41924	// you want to use for model training. AugmentedManifestFile can only be used
41925	// if the Channel's input mode is Pipe.
41926	//
41927	// S3DataType is a required field
41928	S3DataType *string `type:"string" required:"true" enum:"S3DataType"`
41929
41930	// Depending on the value specified for the S3DataType, identifies either a
41931	// key name prefix or a manifest. For example:
41932	//
41933	//    * A key name prefix might look like this: s3://bucketname/exampleprefix
41934	//
41935	//    * A manifest might look like this: s3://bucketname/example.manifest A
41936	//    manifest is an S3 object which is a JSON file consisting of an array of
41937	//    elements. The first element is a prefix which is followed by one or more
41938	//    suffixes. SageMaker appends the suffix elements to the prefix to get a
41939	//    full set of S3Uri. Note that the prefix must be a valid non-empty S3Uri
41940	//    that precludes users from specifying a manifest whose individual S3Uri
41941	//    is sourced from different S3 buckets. The following code example shows
41942	//    a valid manifest format: [ {"prefix": "s3://customer_bucket/some/prefix/"},
41943	//    "relative/path/to/custdata-1", "relative/path/custdata-2", ... "relative/path/custdata-N"
41944	//    ] This JSON is equivalent to the following S3Uri list: s3://customer_bucket/some/prefix/relative/path/to/custdata-1
41945	//    s3://customer_bucket/some/prefix/relative/path/custdata-2 ... s3://customer_bucket/some/prefix/relative/path/custdata-N
41946	//    The complete set of S3Uri in this manifest is the input data for the channel
41947	//    for this data source. The object that each S3Uri points to must be readable
41948	//    by the IAM role that Amazon SageMaker uses to perform tasks on your behalf.
41949	//
41950	// S3Uri is a required field
41951	S3Uri *string `type:"string" required:"true"`
41952}
41953
41954// String returns the string representation
41955func (s S3DataSource) String() string {
41956	return awsutil.Prettify(s)
41957}
41958
41959// GoString returns the string representation
41960func (s S3DataSource) GoString() string {
41961	return s.String()
41962}
41963
41964// Validate inspects the fields of the type to determine if they are valid.
41965func (s *S3DataSource) Validate() error {
41966	invalidParams := request.ErrInvalidParams{Context: "S3DataSource"}
41967	if s.S3DataType == nil {
41968		invalidParams.Add(request.NewErrParamRequired("S3DataType"))
41969	}
41970	if s.S3Uri == nil {
41971		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
41972	}
41973
41974	if invalidParams.Len() > 0 {
41975		return invalidParams
41976	}
41977	return nil
41978}
41979
41980// SetAttributeNames sets the AttributeNames field's value.
41981func (s *S3DataSource) SetAttributeNames(v []*string) *S3DataSource {
41982	s.AttributeNames = v
41983	return s
41984}
41985
41986// SetS3DataDistributionType sets the S3DataDistributionType field's value.
41987func (s *S3DataSource) SetS3DataDistributionType(v string) *S3DataSource {
41988	s.S3DataDistributionType = &v
41989	return s
41990}
41991
41992// SetS3DataType sets the S3DataType field's value.
41993func (s *S3DataSource) SetS3DataType(v string) *S3DataSource {
41994	s.S3DataType = &v
41995	return s
41996}
41997
41998// SetS3Uri sets the S3Uri field's value.
41999func (s *S3DataSource) SetS3Uri(v string) *S3DataSource {
42000	s.S3Uri = &v
42001	return s
42002}
42003
42004// Configuration details about the monitoring schedule.
42005type ScheduleConfig struct {
42006	_ struct{} `type:"structure"`
42007
42008	// A cron expression that describes details about the monitoring schedule.
42009	//
42010	// Currently the only supported cron expressions are:
42011	//
42012	//    * If you want to set the job to start every hour, please use the following:
42013	//    Hourly: cron(0 * ? * * *)
42014	//
42015	//    * If you want to start the job daily: cron(0 [00-23] ? * * *)
42016	//
42017	// For example, the following are valid cron expressions:
42018	//
42019	//    * Daily at noon UTC: cron(0 12 ? * * *)
42020	//
42021	//    * Daily at midnight UTC: cron(0 0 ? * * *)
42022	//
42023	// To support running every 6, 12 hours, the following are also supported:
42024	//
42025	// cron(0 [00-23]/[01-24] ? * * *)
42026	//
42027	// For example, the following are valid cron expressions:
42028	//
42029	//    * Every 12 hours, starting at 5pm UTC: cron(0 17/12 ? * * *)
42030	//
42031	//    * Every two hours starting at midnight: cron(0 0/2 ? * * *)
42032	//
42033	//    * Even though the cron expression is set to start at 5PM UTC, note that
42034	//    there could be a delay of 0-20 minutes from the actual requested time
42035	//    to run the execution.
42036	//
42037	//    * We recommend that if you would like a daily schedule, you do not provide
42038	//    this parameter. Amazon SageMaker will pick a time for running every day.
42039	//
42040	// ScheduleExpression is a required field
42041	ScheduleExpression *string `min:"1" type:"string" required:"true"`
42042}
42043
42044// String returns the string representation
42045func (s ScheduleConfig) String() string {
42046	return awsutil.Prettify(s)
42047}
42048
42049// GoString returns the string representation
42050func (s ScheduleConfig) GoString() string {
42051	return s.String()
42052}
42053
42054// Validate inspects the fields of the type to determine if they are valid.
42055func (s *ScheduleConfig) Validate() error {
42056	invalidParams := request.ErrInvalidParams{Context: "ScheduleConfig"}
42057	if s.ScheduleExpression == nil {
42058		invalidParams.Add(request.NewErrParamRequired("ScheduleExpression"))
42059	}
42060	if s.ScheduleExpression != nil && len(*s.ScheduleExpression) < 1 {
42061		invalidParams.Add(request.NewErrParamMinLen("ScheduleExpression", 1))
42062	}
42063
42064	if invalidParams.Len() > 0 {
42065		return invalidParams
42066	}
42067	return nil
42068}
42069
42070// SetScheduleExpression sets the ScheduleExpression field's value.
42071func (s *ScheduleConfig) SetScheduleExpression(v string) *ScheduleConfig {
42072	s.ScheduleExpression = &v
42073	return s
42074}
42075
42076// A multi-expression that searches for the specified resource or resources
42077// in a search. All resource objects that satisfy the expression's condition
42078// are included in the search results. You must specify at least one subexpression,
42079// filter, or nested filter. A SearchExpression can contain up to twenty elements.
42080//
42081// A SearchExpression contains the following components:
42082//
42083//    * A list of Filter objects. Each filter defines a simple Boolean expression
42084//    comprised of a resource property name, Boolean operator, and value.
42085//
42086//    * A list of NestedFilter objects. Each nested filter defines a list of
42087//    Boolean expressions using a list of resource properties. A nested filter
42088//    is satisfied if a single object in the list satisfies all Boolean expressions.
42089//
42090//    * A list of SearchExpression objects. A search expression object can be
42091//    nested in a list of search expression objects.
42092//
42093//    * A Boolean operator: And or Or.
42094type SearchExpression struct {
42095	_ struct{} `type:"structure"`
42096
42097	// A list of filter objects.
42098	Filters []*Filter `min:"1" type:"list"`
42099
42100	// A list of nested filter objects.
42101	NestedFilters []*NestedFilters `min:"1" type:"list"`
42102
42103	// A Boolean operator used to evaluate the search expression. If you want every
42104	// conditional statement in all lists to be satisfied for the entire search
42105	// expression to be true, specify And. If only a single conditional statement
42106	// needs to be true for the entire search expression to be true, specify Or.
42107	// The default value is And.
42108	Operator *string `type:"string" enum:"BooleanOperator"`
42109
42110	// A list of search expression objects.
42111	SubExpressions []*SearchExpression `min:"1" type:"list"`
42112}
42113
42114// String returns the string representation
42115func (s SearchExpression) String() string {
42116	return awsutil.Prettify(s)
42117}
42118
42119// GoString returns the string representation
42120func (s SearchExpression) GoString() string {
42121	return s.String()
42122}
42123
42124// Validate inspects the fields of the type to determine if they are valid.
42125func (s *SearchExpression) Validate() error {
42126	invalidParams := request.ErrInvalidParams{Context: "SearchExpression"}
42127	if s.Filters != nil && len(s.Filters) < 1 {
42128		invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
42129	}
42130	if s.NestedFilters != nil && len(s.NestedFilters) < 1 {
42131		invalidParams.Add(request.NewErrParamMinLen("NestedFilters", 1))
42132	}
42133	if s.SubExpressions != nil && len(s.SubExpressions) < 1 {
42134		invalidParams.Add(request.NewErrParamMinLen("SubExpressions", 1))
42135	}
42136	if s.Filters != nil {
42137		for i, v := range s.Filters {
42138			if v == nil {
42139				continue
42140			}
42141			if err := v.Validate(); err != nil {
42142				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
42143			}
42144		}
42145	}
42146	if s.NestedFilters != nil {
42147		for i, v := range s.NestedFilters {
42148			if v == nil {
42149				continue
42150			}
42151			if err := v.Validate(); err != nil {
42152				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "NestedFilters", i), err.(request.ErrInvalidParams))
42153			}
42154		}
42155	}
42156	if s.SubExpressions != nil {
42157		for i, v := range s.SubExpressions {
42158			if v == nil {
42159				continue
42160			}
42161			if err := v.Validate(); err != nil {
42162				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SubExpressions", i), err.(request.ErrInvalidParams))
42163			}
42164		}
42165	}
42166
42167	if invalidParams.Len() > 0 {
42168		return invalidParams
42169	}
42170	return nil
42171}
42172
42173// SetFilters sets the Filters field's value.
42174func (s *SearchExpression) SetFilters(v []*Filter) *SearchExpression {
42175	s.Filters = v
42176	return s
42177}
42178
42179// SetNestedFilters sets the NestedFilters field's value.
42180func (s *SearchExpression) SetNestedFilters(v []*NestedFilters) *SearchExpression {
42181	s.NestedFilters = v
42182	return s
42183}
42184
42185// SetOperator sets the Operator field's value.
42186func (s *SearchExpression) SetOperator(v string) *SearchExpression {
42187	s.Operator = &v
42188	return s
42189}
42190
42191// SetSubExpressions sets the SubExpressions field's value.
42192func (s *SearchExpression) SetSubExpressions(v []*SearchExpression) *SearchExpression {
42193	s.SubExpressions = v
42194	return s
42195}
42196
42197type SearchInput struct {
42198	_ struct{} `type:"structure"`
42199
42200	// The maximum number of results to return.
42201	MaxResults *int64 `min:"1" type:"integer"`
42202
42203	// If more than MaxResults resources match the specified SearchExpression, the
42204	// response includes a NextToken. The NextToken can be passed to the next SearchRequest
42205	// to continue retrieving results.
42206	NextToken *string `type:"string"`
42207
42208	// The name of the Amazon SageMaker resource to search for.
42209	//
42210	// Resource is a required field
42211	Resource *string `type:"string" required:"true" enum:"ResourceType"`
42212
42213	// A Boolean conditional statement. Resources must satisfy this condition to
42214	// be included in search results. You must provide at least one subexpression,
42215	// filter, or nested filter. The maximum number of recursive SubExpressions,
42216	// NestedFilters, and Filters that can be included in a SearchExpression object
42217	// is 50.
42218	SearchExpression *SearchExpression `type:"structure"`
42219
42220	// The name of the resource property used to sort the SearchResults. The default
42221	// is LastModifiedTime.
42222	SortBy *string `min:"1" type:"string"`
42223
42224	// How SearchResults are ordered. Valid values are Ascending or Descending.
42225	// The default is Descending.
42226	SortOrder *string `type:"string" enum:"SearchSortOrder"`
42227}
42228
42229// String returns the string representation
42230func (s SearchInput) String() string {
42231	return awsutil.Prettify(s)
42232}
42233
42234// GoString returns the string representation
42235func (s SearchInput) GoString() string {
42236	return s.String()
42237}
42238
42239// Validate inspects the fields of the type to determine if they are valid.
42240func (s *SearchInput) Validate() error {
42241	invalidParams := request.ErrInvalidParams{Context: "SearchInput"}
42242	if s.MaxResults != nil && *s.MaxResults < 1 {
42243		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
42244	}
42245	if s.Resource == nil {
42246		invalidParams.Add(request.NewErrParamRequired("Resource"))
42247	}
42248	if s.SortBy != nil && len(*s.SortBy) < 1 {
42249		invalidParams.Add(request.NewErrParamMinLen("SortBy", 1))
42250	}
42251	if s.SearchExpression != nil {
42252		if err := s.SearchExpression.Validate(); err != nil {
42253			invalidParams.AddNested("SearchExpression", err.(request.ErrInvalidParams))
42254		}
42255	}
42256
42257	if invalidParams.Len() > 0 {
42258		return invalidParams
42259	}
42260	return nil
42261}
42262
42263// SetMaxResults sets the MaxResults field's value.
42264func (s *SearchInput) SetMaxResults(v int64) *SearchInput {
42265	s.MaxResults = &v
42266	return s
42267}
42268
42269// SetNextToken sets the NextToken field's value.
42270func (s *SearchInput) SetNextToken(v string) *SearchInput {
42271	s.NextToken = &v
42272	return s
42273}
42274
42275// SetResource sets the Resource field's value.
42276func (s *SearchInput) SetResource(v string) *SearchInput {
42277	s.Resource = &v
42278	return s
42279}
42280
42281// SetSearchExpression sets the SearchExpression field's value.
42282func (s *SearchInput) SetSearchExpression(v *SearchExpression) *SearchInput {
42283	s.SearchExpression = v
42284	return s
42285}
42286
42287// SetSortBy sets the SortBy field's value.
42288func (s *SearchInput) SetSortBy(v string) *SearchInput {
42289	s.SortBy = &v
42290	return s
42291}
42292
42293// SetSortOrder sets the SortOrder field's value.
42294func (s *SearchInput) SetSortOrder(v string) *SearchInput {
42295	s.SortOrder = &v
42296	return s
42297}
42298
42299type SearchOutput struct {
42300	_ struct{} `type:"structure"`
42301
42302	// If the result of the previous Search request was truncated, the response
42303	// includes a NextToken. To retrieve the next set of results, use the token
42304	// in the next request.
42305	NextToken *string `type:"string"`
42306
42307	// A list of SearchRecord objects.
42308	Results []*SearchRecord `type:"list"`
42309}
42310
42311// String returns the string representation
42312func (s SearchOutput) String() string {
42313	return awsutil.Prettify(s)
42314}
42315
42316// GoString returns the string representation
42317func (s SearchOutput) GoString() string {
42318	return s.String()
42319}
42320
42321// SetNextToken sets the NextToken field's value.
42322func (s *SearchOutput) SetNextToken(v string) *SearchOutput {
42323	s.NextToken = &v
42324	return s
42325}
42326
42327// SetResults sets the Results field's value.
42328func (s *SearchOutput) SetResults(v []*SearchRecord) *SearchOutput {
42329	s.Results = v
42330	return s
42331}
42332
42333// A single resource returned as part of the Search API response.
42334type SearchRecord struct {
42335	_ struct{} `type:"structure"`
42336
42337	// The properties of an experiment.
42338	Experiment *Experiment `type:"structure"`
42339
42340	// The properties of a training job.
42341	TrainingJob *TrainingJob `type:"structure"`
42342
42343	// The properties of a trial.
42344	Trial *Trial `type:"structure"`
42345
42346	// The properties of a trial component.
42347	TrialComponent *TrialComponent `type:"structure"`
42348}
42349
42350// String returns the string representation
42351func (s SearchRecord) String() string {
42352	return awsutil.Prettify(s)
42353}
42354
42355// GoString returns the string representation
42356func (s SearchRecord) GoString() string {
42357	return s.String()
42358}
42359
42360// SetExperiment sets the Experiment field's value.
42361func (s *SearchRecord) SetExperiment(v *Experiment) *SearchRecord {
42362	s.Experiment = v
42363	return s
42364}
42365
42366// SetTrainingJob sets the TrainingJob field's value.
42367func (s *SearchRecord) SetTrainingJob(v *TrainingJob) *SearchRecord {
42368	s.TrainingJob = v
42369	return s
42370}
42371
42372// SetTrial sets the Trial field's value.
42373func (s *SearchRecord) SetTrial(v *Trial) *SearchRecord {
42374	s.Trial = v
42375	return s
42376}
42377
42378// SetTrialComponent sets the TrialComponent field's value.
42379func (s *SearchRecord) SetTrialComponent(v *TrialComponent) *SearchRecord {
42380	s.TrialComponent = v
42381	return s
42382}
42383
42384// An array element of DescribeTrainingJobResponse$SecondaryStatusTransitions.
42385// It provides additional details about a status that the training job has transitioned
42386// through. A training job can be in one of several states, for example, starting,
42387// downloading, training, or uploading. Within each state, there are a number
42388// of intermediate states. For example, within the starting state, Amazon SageMaker
42389// could be starting the training job or launching the ML instances. These transitional
42390// states are referred to as the job's secondary status.
42391type SecondaryStatusTransition struct {
42392	_ struct{} `type:"structure"`
42393
42394	// A timestamp that shows when the training job transitioned out of this secondary
42395	// status state into another secondary status state or when the training job
42396	// has ended.
42397	EndTime *time.Time `type:"timestamp"`
42398
42399	// A timestamp that shows when the training job transitioned to the current
42400	// secondary status state.
42401	//
42402	// StartTime is a required field
42403	StartTime *time.Time `type:"timestamp" required:"true"`
42404
42405	// Contains a secondary status information from a training job.
42406	//
42407	// Status might be one of the following secondary statuses:
42408	//
42409	// InProgress
42410	//
42411	//    * Starting - Starting the training job.
42412	//
42413	//    * Downloading - An optional stage for algorithms that support File training
42414	//    input mode. It indicates that data is being downloaded to the ML storage
42415	//    volumes.
42416	//
42417	//    * Training - Training is in progress.
42418	//
42419	//    * Uploading - Training is complete and the model artifacts are being uploaded
42420	//    to the S3 location.
42421	//
42422	// Completed
42423	//
42424	//    * Completed - The training job has completed.
42425	//
42426	// Failed
42427	//
42428	//    * Failed - The training job has failed. The reason for the failure is
42429	//    returned in the FailureReason field of DescribeTrainingJobResponse.
42430	//
42431	// Stopped
42432	//
42433	//    * MaxRuntimeExceeded - The job stopped because it exceeded the maximum
42434	//    allowed runtime.
42435	//
42436	//    * Stopped - The training job has stopped.
42437	//
42438	// Stopping
42439	//
42440	//    * Stopping - Stopping the training job.
42441	//
42442	// We no longer support the following secondary statuses:
42443	//
42444	//    * LaunchingMLInstances
42445	//
42446	//    * PreparingTrainingStack
42447	//
42448	//    * DownloadingTrainingImage
42449	//
42450	// Status is a required field
42451	Status *string `type:"string" required:"true" enum:"SecondaryStatus"`
42452
42453	// A detailed description of the progress within a secondary status.
42454	//
42455	// Amazon SageMaker provides secondary statuses and status messages that apply
42456	// to each of them:
42457	//
42458	// Starting
42459	//
42460	//    * Starting the training job.
42461	//
42462	//    * Launching requested ML instances.
42463	//
42464	//    * Insufficient capacity error from EC2 while launching instances, retrying!
42465	//
42466	//    * Launched instance was unhealthy, replacing it!
42467	//
42468	//    * Preparing the instances for training.
42469	//
42470	// Training
42471	//
42472	//    * Downloading the training image.
42473	//
42474	//    * Training image download completed. Training in progress.
42475	//
42476	// Status messages are subject to change. Therefore, we recommend not including
42477	// them in code that programmatically initiates actions. For examples, don't
42478	// use status messages in if statements.
42479	//
42480	// To have an overview of your training job's progress, view TrainingJobStatus
42481	// and SecondaryStatus in DescribeTrainingJob, and StatusMessage together. For
42482	// example, at the start of a training job, you might see the following:
42483	//
42484	//    * TrainingJobStatus - InProgress
42485	//
42486	//    * SecondaryStatus - Training
42487	//
42488	//    * StatusMessage - Downloading the training image
42489	StatusMessage *string `type:"string"`
42490}
42491
42492// String returns the string representation
42493func (s SecondaryStatusTransition) String() string {
42494	return awsutil.Prettify(s)
42495}
42496
42497// GoString returns the string representation
42498func (s SecondaryStatusTransition) GoString() string {
42499	return s.String()
42500}
42501
42502// SetEndTime sets the EndTime field's value.
42503func (s *SecondaryStatusTransition) SetEndTime(v time.Time) *SecondaryStatusTransition {
42504	s.EndTime = &v
42505	return s
42506}
42507
42508// SetStartTime sets the StartTime field's value.
42509func (s *SecondaryStatusTransition) SetStartTime(v time.Time) *SecondaryStatusTransition {
42510	s.StartTime = &v
42511	return s
42512}
42513
42514// SetStatus sets the Status field's value.
42515func (s *SecondaryStatusTransition) SetStatus(v string) *SecondaryStatusTransition {
42516	s.Status = &v
42517	return s
42518}
42519
42520// SetStatusMessage sets the StatusMessage field's value.
42521func (s *SecondaryStatusTransition) SetStatusMessage(v string) *SecondaryStatusTransition {
42522	s.StatusMessage = &v
42523	return s
42524}
42525
42526// Specifies options when sharing an Amazon SageMaker Studio notebook. These
42527// settings are specified as part of DefaultUserSettings when the CreateDomain
42528// API is called, and as part of UserSettings when the CreateUserProfile API
42529// is called.
42530type SharingSettings struct {
42531	_ struct{} `type:"structure"`
42532
42533	// Whether to include the notebook cell output when sharing the notebook. The
42534	// default is Disabled.
42535	NotebookOutputOption *string `type:"string" enum:"NotebookOutputOption"`
42536
42537	// When NotebookOutputOption is Allowed, the AWS Key Management Service (KMS)
42538	// encryption key ID used to encrypt the notebook cell output in the Amazon
42539	// S3 bucket.
42540	S3KmsKeyId *string `type:"string"`
42541
42542	// When NotebookOutputOption is Allowed, the Amazon S3 bucket used to save the
42543	// notebook cell output. If S3OutputPath isn't specified, a default bucket is
42544	// used.
42545	S3OutputPath *string `type:"string"`
42546}
42547
42548// String returns the string representation
42549func (s SharingSettings) String() string {
42550	return awsutil.Prettify(s)
42551}
42552
42553// GoString returns the string representation
42554func (s SharingSettings) GoString() string {
42555	return s.String()
42556}
42557
42558// SetNotebookOutputOption sets the NotebookOutputOption field's value.
42559func (s *SharingSettings) SetNotebookOutputOption(v string) *SharingSettings {
42560	s.NotebookOutputOption = &v
42561	return s
42562}
42563
42564// SetS3KmsKeyId sets the S3KmsKeyId field's value.
42565func (s *SharingSettings) SetS3KmsKeyId(v string) *SharingSettings {
42566	s.S3KmsKeyId = &v
42567	return s
42568}
42569
42570// SetS3OutputPath sets the S3OutputPath field's value.
42571func (s *SharingSettings) SetS3OutputPath(v string) *SharingSettings {
42572	s.S3OutputPath = &v
42573	return s
42574}
42575
42576// A configuration for a shuffle option for input data in a channel. If you
42577// use S3Prefix for S3DataType, the results of the S3 key prefix matches are
42578// shuffled. If you use ManifestFile, the order of the S3 object references
42579// in the ManifestFile is shuffled. If you use AugmentedManifestFile, the order
42580// of the JSON lines in the AugmentedManifestFile is shuffled. The shuffling
42581// order is determined using the Seed value.
42582//
42583// For Pipe input mode, when ShuffleConfig is specified shuffling is done at
42584// the start of every epoch. With large datasets, this ensures that the order
42585// of the training data is different for each epoch, and it helps reduce bias
42586// and possible overfitting. In a multi-node training job when ShuffleConfig
42587// is combined with S3DataDistributionType of ShardedByS3Key, the data is shuffled
42588// across nodes so that the content sent to a particular node on the first epoch
42589// might be sent to a different node on the second epoch.
42590type ShuffleConfig struct {
42591	_ struct{} `type:"structure"`
42592
42593	// Determines the shuffling order in ShuffleConfig value.
42594	//
42595	// Seed is a required field
42596	Seed *int64 `type:"long" required:"true"`
42597}
42598
42599// String returns the string representation
42600func (s ShuffleConfig) String() string {
42601	return awsutil.Prettify(s)
42602}
42603
42604// GoString returns the string representation
42605func (s ShuffleConfig) GoString() string {
42606	return s.String()
42607}
42608
42609// Validate inspects the fields of the type to determine if they are valid.
42610func (s *ShuffleConfig) Validate() error {
42611	invalidParams := request.ErrInvalidParams{Context: "ShuffleConfig"}
42612	if s.Seed == nil {
42613		invalidParams.Add(request.NewErrParamRequired("Seed"))
42614	}
42615
42616	if invalidParams.Len() > 0 {
42617		return invalidParams
42618	}
42619	return nil
42620}
42621
42622// SetSeed sets the Seed field's value.
42623func (s *ShuffleConfig) SetSeed(v int64) *ShuffleConfig {
42624	s.Seed = &v
42625	return s
42626}
42627
42628// Specifies an algorithm that was used to create the model package. The algorithm
42629// must be either an algorithm resource in your Amazon SageMaker account or
42630// an algorithm in AWS Marketplace that you are subscribed to.
42631type SourceAlgorithm struct {
42632	_ struct{} `type:"structure"`
42633
42634	// The name of an algorithm that was used to create the model package. The algorithm
42635	// must be either an algorithm resource in your Amazon SageMaker account or
42636	// an algorithm in AWS Marketplace that you are subscribed to.
42637	//
42638	// AlgorithmName is a required field
42639	AlgorithmName *string `min:"1" type:"string" required:"true"`
42640
42641	// The Amazon S3 path where the model artifacts, which result from model training,
42642	// are stored. This path must point to a single gzip compressed tar archive
42643	// (.tar.gz suffix).
42644	ModelDataUrl *string `type:"string"`
42645}
42646
42647// String returns the string representation
42648func (s SourceAlgorithm) String() string {
42649	return awsutil.Prettify(s)
42650}
42651
42652// GoString returns the string representation
42653func (s SourceAlgorithm) GoString() string {
42654	return s.String()
42655}
42656
42657// Validate inspects the fields of the type to determine if they are valid.
42658func (s *SourceAlgorithm) Validate() error {
42659	invalidParams := request.ErrInvalidParams{Context: "SourceAlgorithm"}
42660	if s.AlgorithmName == nil {
42661		invalidParams.Add(request.NewErrParamRequired("AlgorithmName"))
42662	}
42663	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
42664		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
42665	}
42666
42667	if invalidParams.Len() > 0 {
42668		return invalidParams
42669	}
42670	return nil
42671}
42672
42673// SetAlgorithmName sets the AlgorithmName field's value.
42674func (s *SourceAlgorithm) SetAlgorithmName(v string) *SourceAlgorithm {
42675	s.AlgorithmName = &v
42676	return s
42677}
42678
42679// SetModelDataUrl sets the ModelDataUrl field's value.
42680func (s *SourceAlgorithm) SetModelDataUrl(v string) *SourceAlgorithm {
42681	s.ModelDataUrl = &v
42682	return s
42683}
42684
42685// A list of algorithms that were used to create a model package.
42686type SourceAlgorithmSpecification struct {
42687	_ struct{} `type:"structure"`
42688
42689	// A list of the algorithms that were used to create a model package.
42690	//
42691	// SourceAlgorithms is a required field
42692	SourceAlgorithms []*SourceAlgorithm `min:"1" type:"list" required:"true"`
42693}
42694
42695// String returns the string representation
42696func (s SourceAlgorithmSpecification) String() string {
42697	return awsutil.Prettify(s)
42698}
42699
42700// GoString returns the string representation
42701func (s SourceAlgorithmSpecification) GoString() string {
42702	return s.String()
42703}
42704
42705// Validate inspects the fields of the type to determine if they are valid.
42706func (s *SourceAlgorithmSpecification) Validate() error {
42707	invalidParams := request.ErrInvalidParams{Context: "SourceAlgorithmSpecification"}
42708	if s.SourceAlgorithms == nil {
42709		invalidParams.Add(request.NewErrParamRequired("SourceAlgorithms"))
42710	}
42711	if s.SourceAlgorithms != nil && len(s.SourceAlgorithms) < 1 {
42712		invalidParams.Add(request.NewErrParamMinLen("SourceAlgorithms", 1))
42713	}
42714	if s.SourceAlgorithms != nil {
42715		for i, v := range s.SourceAlgorithms {
42716			if v == nil {
42717				continue
42718			}
42719			if err := v.Validate(); err != nil {
42720				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SourceAlgorithms", i), err.(request.ErrInvalidParams))
42721			}
42722		}
42723	}
42724
42725	if invalidParams.Len() > 0 {
42726		return invalidParams
42727	}
42728	return nil
42729}
42730
42731// SetSourceAlgorithms sets the SourceAlgorithms field's value.
42732func (s *SourceAlgorithmSpecification) SetSourceAlgorithms(v []*SourceAlgorithm) *SourceAlgorithmSpecification {
42733	s.SourceAlgorithms = v
42734	return s
42735}
42736
42737// A list of IP address ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html)).
42738// Used to create an allow list of IP addresses for a private workforce. For
42739// more information, see .
42740type SourceIpConfig struct {
42741	_ struct{} `type:"structure"`
42742
42743	// A list of one to ten Classless Inter-Domain Routing (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html)
42744	// (CIDR) values.
42745	//
42746	// Maximum: Ten CIDR values
42747	//
42748	// The following Length Constraints apply to individual CIDR values in the CIDR
42749	// value list.
42750	//
42751	// Cidrs is a required field
42752	Cidrs []*string `type:"list" required:"true"`
42753}
42754
42755// String returns the string representation
42756func (s SourceIpConfig) String() string {
42757	return awsutil.Prettify(s)
42758}
42759
42760// GoString returns the string representation
42761func (s SourceIpConfig) GoString() string {
42762	return s.String()
42763}
42764
42765// Validate inspects the fields of the type to determine if they are valid.
42766func (s *SourceIpConfig) Validate() error {
42767	invalidParams := request.ErrInvalidParams{Context: "SourceIpConfig"}
42768	if s.Cidrs == nil {
42769		invalidParams.Add(request.NewErrParamRequired("Cidrs"))
42770	}
42771
42772	if invalidParams.Len() > 0 {
42773		return invalidParams
42774	}
42775	return nil
42776}
42777
42778// SetCidrs sets the Cidrs field's value.
42779func (s *SourceIpConfig) SetCidrs(v []*string) *SourceIpConfig {
42780	s.Cidrs = v
42781	return s
42782}
42783
42784type StartMonitoringScheduleInput struct {
42785	_ struct{} `type:"structure"`
42786
42787	// The name of the schedule to start.
42788	//
42789	// MonitoringScheduleName is a required field
42790	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
42791}
42792
42793// String returns the string representation
42794func (s StartMonitoringScheduleInput) String() string {
42795	return awsutil.Prettify(s)
42796}
42797
42798// GoString returns the string representation
42799func (s StartMonitoringScheduleInput) GoString() string {
42800	return s.String()
42801}
42802
42803// Validate inspects the fields of the type to determine if they are valid.
42804func (s *StartMonitoringScheduleInput) Validate() error {
42805	invalidParams := request.ErrInvalidParams{Context: "StartMonitoringScheduleInput"}
42806	if s.MonitoringScheduleName == nil {
42807		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName"))
42808	}
42809	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
42810		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
42811	}
42812
42813	if invalidParams.Len() > 0 {
42814		return invalidParams
42815	}
42816	return nil
42817}
42818
42819// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
42820func (s *StartMonitoringScheduleInput) SetMonitoringScheduleName(v string) *StartMonitoringScheduleInput {
42821	s.MonitoringScheduleName = &v
42822	return s
42823}
42824
42825type StartMonitoringScheduleOutput struct {
42826	_ struct{} `type:"structure"`
42827}
42828
42829// String returns the string representation
42830func (s StartMonitoringScheduleOutput) String() string {
42831	return awsutil.Prettify(s)
42832}
42833
42834// GoString returns the string representation
42835func (s StartMonitoringScheduleOutput) GoString() string {
42836	return s.String()
42837}
42838
42839type StartNotebookInstanceInput struct {
42840	_ struct{} `type:"structure"`
42841
42842	// The name of the notebook instance to start.
42843	//
42844	// NotebookInstanceName is a required field
42845	NotebookInstanceName *string `type:"string" required:"true"`
42846}
42847
42848// String returns the string representation
42849func (s StartNotebookInstanceInput) String() string {
42850	return awsutil.Prettify(s)
42851}
42852
42853// GoString returns the string representation
42854func (s StartNotebookInstanceInput) GoString() string {
42855	return s.String()
42856}
42857
42858// Validate inspects the fields of the type to determine if they are valid.
42859func (s *StartNotebookInstanceInput) Validate() error {
42860	invalidParams := request.ErrInvalidParams{Context: "StartNotebookInstanceInput"}
42861	if s.NotebookInstanceName == nil {
42862		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
42863	}
42864
42865	if invalidParams.Len() > 0 {
42866		return invalidParams
42867	}
42868	return nil
42869}
42870
42871// SetNotebookInstanceName sets the NotebookInstanceName field's value.
42872func (s *StartNotebookInstanceInput) SetNotebookInstanceName(v string) *StartNotebookInstanceInput {
42873	s.NotebookInstanceName = &v
42874	return s
42875}
42876
42877type StartNotebookInstanceOutput struct {
42878	_ struct{} `type:"structure"`
42879}
42880
42881// String returns the string representation
42882func (s StartNotebookInstanceOutput) String() string {
42883	return awsutil.Prettify(s)
42884}
42885
42886// GoString returns the string representation
42887func (s StartNotebookInstanceOutput) GoString() string {
42888	return s.String()
42889}
42890
42891type StopAutoMLJobInput struct {
42892	_ struct{} `type:"structure"`
42893
42894	// The name of the object you are requesting.
42895	//
42896	// AutoMLJobName is a required field
42897	AutoMLJobName *string `min:"1" type:"string" required:"true"`
42898}
42899
42900// String returns the string representation
42901func (s StopAutoMLJobInput) String() string {
42902	return awsutil.Prettify(s)
42903}
42904
42905// GoString returns the string representation
42906func (s StopAutoMLJobInput) GoString() string {
42907	return s.String()
42908}
42909
42910// Validate inspects the fields of the type to determine if they are valid.
42911func (s *StopAutoMLJobInput) Validate() error {
42912	invalidParams := request.ErrInvalidParams{Context: "StopAutoMLJobInput"}
42913	if s.AutoMLJobName == nil {
42914		invalidParams.Add(request.NewErrParamRequired("AutoMLJobName"))
42915	}
42916	if s.AutoMLJobName != nil && len(*s.AutoMLJobName) < 1 {
42917		invalidParams.Add(request.NewErrParamMinLen("AutoMLJobName", 1))
42918	}
42919
42920	if invalidParams.Len() > 0 {
42921		return invalidParams
42922	}
42923	return nil
42924}
42925
42926// SetAutoMLJobName sets the AutoMLJobName field's value.
42927func (s *StopAutoMLJobInput) SetAutoMLJobName(v string) *StopAutoMLJobInput {
42928	s.AutoMLJobName = &v
42929	return s
42930}
42931
42932type StopAutoMLJobOutput struct {
42933	_ struct{} `type:"structure"`
42934}
42935
42936// String returns the string representation
42937func (s StopAutoMLJobOutput) String() string {
42938	return awsutil.Prettify(s)
42939}
42940
42941// GoString returns the string representation
42942func (s StopAutoMLJobOutput) GoString() string {
42943	return s.String()
42944}
42945
42946type StopCompilationJobInput struct {
42947	_ struct{} `type:"structure"`
42948
42949	// The name of the model compilation job to stop.
42950	//
42951	// CompilationJobName is a required field
42952	CompilationJobName *string `min:"1" type:"string" required:"true"`
42953}
42954
42955// String returns the string representation
42956func (s StopCompilationJobInput) String() string {
42957	return awsutil.Prettify(s)
42958}
42959
42960// GoString returns the string representation
42961func (s StopCompilationJobInput) GoString() string {
42962	return s.String()
42963}
42964
42965// Validate inspects the fields of the type to determine if they are valid.
42966func (s *StopCompilationJobInput) Validate() error {
42967	invalidParams := request.ErrInvalidParams{Context: "StopCompilationJobInput"}
42968	if s.CompilationJobName == nil {
42969		invalidParams.Add(request.NewErrParamRequired("CompilationJobName"))
42970	}
42971	if s.CompilationJobName != nil && len(*s.CompilationJobName) < 1 {
42972		invalidParams.Add(request.NewErrParamMinLen("CompilationJobName", 1))
42973	}
42974
42975	if invalidParams.Len() > 0 {
42976		return invalidParams
42977	}
42978	return nil
42979}
42980
42981// SetCompilationJobName sets the CompilationJobName field's value.
42982func (s *StopCompilationJobInput) SetCompilationJobName(v string) *StopCompilationJobInput {
42983	s.CompilationJobName = &v
42984	return s
42985}
42986
42987type StopCompilationJobOutput struct {
42988	_ struct{} `type:"structure"`
42989}
42990
42991// String returns the string representation
42992func (s StopCompilationJobOutput) String() string {
42993	return awsutil.Prettify(s)
42994}
42995
42996// GoString returns the string representation
42997func (s StopCompilationJobOutput) GoString() string {
42998	return s.String()
42999}
43000
43001type StopHyperParameterTuningJobInput struct {
43002	_ struct{} `type:"structure"`
43003
43004	// The name of the tuning job to stop.
43005	//
43006	// HyperParameterTuningJobName is a required field
43007	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
43008}
43009
43010// String returns the string representation
43011func (s StopHyperParameterTuningJobInput) String() string {
43012	return awsutil.Prettify(s)
43013}
43014
43015// GoString returns the string representation
43016func (s StopHyperParameterTuningJobInput) GoString() string {
43017	return s.String()
43018}
43019
43020// Validate inspects the fields of the type to determine if they are valid.
43021func (s *StopHyperParameterTuningJobInput) Validate() error {
43022	invalidParams := request.ErrInvalidParams{Context: "StopHyperParameterTuningJobInput"}
43023	if s.HyperParameterTuningJobName == nil {
43024		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobName"))
43025	}
43026	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
43027		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
43028	}
43029
43030	if invalidParams.Len() > 0 {
43031		return invalidParams
43032	}
43033	return nil
43034}
43035
43036// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
43037func (s *StopHyperParameterTuningJobInput) SetHyperParameterTuningJobName(v string) *StopHyperParameterTuningJobInput {
43038	s.HyperParameterTuningJobName = &v
43039	return s
43040}
43041
43042type StopHyperParameterTuningJobOutput struct {
43043	_ struct{} `type:"structure"`
43044}
43045
43046// String returns the string representation
43047func (s StopHyperParameterTuningJobOutput) String() string {
43048	return awsutil.Prettify(s)
43049}
43050
43051// GoString returns the string representation
43052func (s StopHyperParameterTuningJobOutput) GoString() string {
43053	return s.String()
43054}
43055
43056type StopLabelingJobInput struct {
43057	_ struct{} `type:"structure"`
43058
43059	// The name of the labeling job to stop.
43060	//
43061	// LabelingJobName is a required field
43062	LabelingJobName *string `min:"1" type:"string" required:"true"`
43063}
43064
43065// String returns the string representation
43066func (s StopLabelingJobInput) String() string {
43067	return awsutil.Prettify(s)
43068}
43069
43070// GoString returns the string representation
43071func (s StopLabelingJobInput) GoString() string {
43072	return s.String()
43073}
43074
43075// Validate inspects the fields of the type to determine if they are valid.
43076func (s *StopLabelingJobInput) Validate() error {
43077	invalidParams := request.ErrInvalidParams{Context: "StopLabelingJobInput"}
43078	if s.LabelingJobName == nil {
43079		invalidParams.Add(request.NewErrParamRequired("LabelingJobName"))
43080	}
43081	if s.LabelingJobName != nil && len(*s.LabelingJobName) < 1 {
43082		invalidParams.Add(request.NewErrParamMinLen("LabelingJobName", 1))
43083	}
43084
43085	if invalidParams.Len() > 0 {
43086		return invalidParams
43087	}
43088	return nil
43089}
43090
43091// SetLabelingJobName sets the LabelingJobName field's value.
43092func (s *StopLabelingJobInput) SetLabelingJobName(v string) *StopLabelingJobInput {
43093	s.LabelingJobName = &v
43094	return s
43095}
43096
43097type StopLabelingJobOutput struct {
43098	_ struct{} `type:"structure"`
43099}
43100
43101// String returns the string representation
43102func (s StopLabelingJobOutput) String() string {
43103	return awsutil.Prettify(s)
43104}
43105
43106// GoString returns the string representation
43107func (s StopLabelingJobOutput) GoString() string {
43108	return s.String()
43109}
43110
43111type StopMonitoringScheduleInput struct {
43112	_ struct{} `type:"structure"`
43113
43114	// The name of the schedule to stop.
43115	//
43116	// MonitoringScheduleName is a required field
43117	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
43118}
43119
43120// String returns the string representation
43121func (s StopMonitoringScheduleInput) String() string {
43122	return awsutil.Prettify(s)
43123}
43124
43125// GoString returns the string representation
43126func (s StopMonitoringScheduleInput) GoString() string {
43127	return s.String()
43128}
43129
43130// Validate inspects the fields of the type to determine if they are valid.
43131func (s *StopMonitoringScheduleInput) Validate() error {
43132	invalidParams := request.ErrInvalidParams{Context: "StopMonitoringScheduleInput"}
43133	if s.MonitoringScheduleName == nil {
43134		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName"))
43135	}
43136	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
43137		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
43138	}
43139
43140	if invalidParams.Len() > 0 {
43141		return invalidParams
43142	}
43143	return nil
43144}
43145
43146// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
43147func (s *StopMonitoringScheduleInput) SetMonitoringScheduleName(v string) *StopMonitoringScheduleInput {
43148	s.MonitoringScheduleName = &v
43149	return s
43150}
43151
43152type StopMonitoringScheduleOutput struct {
43153	_ struct{} `type:"structure"`
43154}
43155
43156// String returns the string representation
43157func (s StopMonitoringScheduleOutput) String() string {
43158	return awsutil.Prettify(s)
43159}
43160
43161// GoString returns the string representation
43162func (s StopMonitoringScheduleOutput) GoString() string {
43163	return s.String()
43164}
43165
43166type StopNotebookInstanceInput struct {
43167	_ struct{} `type:"structure"`
43168
43169	// The name of the notebook instance to terminate.
43170	//
43171	// NotebookInstanceName is a required field
43172	NotebookInstanceName *string `type:"string" required:"true"`
43173}
43174
43175// String returns the string representation
43176func (s StopNotebookInstanceInput) String() string {
43177	return awsutil.Prettify(s)
43178}
43179
43180// GoString returns the string representation
43181func (s StopNotebookInstanceInput) GoString() string {
43182	return s.String()
43183}
43184
43185// Validate inspects the fields of the type to determine if they are valid.
43186func (s *StopNotebookInstanceInput) Validate() error {
43187	invalidParams := request.ErrInvalidParams{Context: "StopNotebookInstanceInput"}
43188	if s.NotebookInstanceName == nil {
43189		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
43190	}
43191
43192	if invalidParams.Len() > 0 {
43193		return invalidParams
43194	}
43195	return nil
43196}
43197
43198// SetNotebookInstanceName sets the NotebookInstanceName field's value.
43199func (s *StopNotebookInstanceInput) SetNotebookInstanceName(v string) *StopNotebookInstanceInput {
43200	s.NotebookInstanceName = &v
43201	return s
43202}
43203
43204type StopNotebookInstanceOutput struct {
43205	_ struct{} `type:"structure"`
43206}
43207
43208// String returns the string representation
43209func (s StopNotebookInstanceOutput) String() string {
43210	return awsutil.Prettify(s)
43211}
43212
43213// GoString returns the string representation
43214func (s StopNotebookInstanceOutput) GoString() string {
43215	return s.String()
43216}
43217
43218type StopProcessingJobInput struct {
43219	_ struct{} `type:"structure"`
43220
43221	// The name of the processing job to stop.
43222	//
43223	// ProcessingJobName is a required field
43224	ProcessingJobName *string `min:"1" type:"string" required:"true"`
43225}
43226
43227// String returns the string representation
43228func (s StopProcessingJobInput) String() string {
43229	return awsutil.Prettify(s)
43230}
43231
43232// GoString returns the string representation
43233func (s StopProcessingJobInput) GoString() string {
43234	return s.String()
43235}
43236
43237// Validate inspects the fields of the type to determine if they are valid.
43238func (s *StopProcessingJobInput) Validate() error {
43239	invalidParams := request.ErrInvalidParams{Context: "StopProcessingJobInput"}
43240	if s.ProcessingJobName == nil {
43241		invalidParams.Add(request.NewErrParamRequired("ProcessingJobName"))
43242	}
43243	if s.ProcessingJobName != nil && len(*s.ProcessingJobName) < 1 {
43244		invalidParams.Add(request.NewErrParamMinLen("ProcessingJobName", 1))
43245	}
43246
43247	if invalidParams.Len() > 0 {
43248		return invalidParams
43249	}
43250	return nil
43251}
43252
43253// SetProcessingJobName sets the ProcessingJobName field's value.
43254func (s *StopProcessingJobInput) SetProcessingJobName(v string) *StopProcessingJobInput {
43255	s.ProcessingJobName = &v
43256	return s
43257}
43258
43259type StopProcessingJobOutput struct {
43260	_ struct{} `type:"structure"`
43261}
43262
43263// String returns the string representation
43264func (s StopProcessingJobOutput) String() string {
43265	return awsutil.Prettify(s)
43266}
43267
43268// GoString returns the string representation
43269func (s StopProcessingJobOutput) GoString() string {
43270	return s.String()
43271}
43272
43273type StopTrainingJobInput struct {
43274	_ struct{} `type:"structure"`
43275
43276	// The name of the training job to stop.
43277	//
43278	// TrainingJobName is a required field
43279	TrainingJobName *string `min:"1" type:"string" required:"true"`
43280}
43281
43282// String returns the string representation
43283func (s StopTrainingJobInput) String() string {
43284	return awsutil.Prettify(s)
43285}
43286
43287// GoString returns the string representation
43288func (s StopTrainingJobInput) GoString() string {
43289	return s.String()
43290}
43291
43292// Validate inspects the fields of the type to determine if they are valid.
43293func (s *StopTrainingJobInput) Validate() error {
43294	invalidParams := request.ErrInvalidParams{Context: "StopTrainingJobInput"}
43295	if s.TrainingJobName == nil {
43296		invalidParams.Add(request.NewErrParamRequired("TrainingJobName"))
43297	}
43298	if s.TrainingJobName != nil && len(*s.TrainingJobName) < 1 {
43299		invalidParams.Add(request.NewErrParamMinLen("TrainingJobName", 1))
43300	}
43301
43302	if invalidParams.Len() > 0 {
43303		return invalidParams
43304	}
43305	return nil
43306}
43307
43308// SetTrainingJobName sets the TrainingJobName field's value.
43309func (s *StopTrainingJobInput) SetTrainingJobName(v string) *StopTrainingJobInput {
43310	s.TrainingJobName = &v
43311	return s
43312}
43313
43314type StopTrainingJobOutput struct {
43315	_ struct{} `type:"structure"`
43316}
43317
43318// String returns the string representation
43319func (s StopTrainingJobOutput) String() string {
43320	return awsutil.Prettify(s)
43321}
43322
43323// GoString returns the string representation
43324func (s StopTrainingJobOutput) GoString() string {
43325	return s.String()
43326}
43327
43328type StopTransformJobInput struct {
43329	_ struct{} `type:"structure"`
43330
43331	// The name of the transform job to stop.
43332	//
43333	// TransformJobName is a required field
43334	TransformJobName *string `min:"1" type:"string" required:"true"`
43335}
43336
43337// String returns the string representation
43338func (s StopTransformJobInput) String() string {
43339	return awsutil.Prettify(s)
43340}
43341
43342// GoString returns the string representation
43343func (s StopTransformJobInput) GoString() string {
43344	return s.String()
43345}
43346
43347// Validate inspects the fields of the type to determine if they are valid.
43348func (s *StopTransformJobInput) Validate() error {
43349	invalidParams := request.ErrInvalidParams{Context: "StopTransformJobInput"}
43350	if s.TransformJobName == nil {
43351		invalidParams.Add(request.NewErrParamRequired("TransformJobName"))
43352	}
43353	if s.TransformJobName != nil && len(*s.TransformJobName) < 1 {
43354		invalidParams.Add(request.NewErrParamMinLen("TransformJobName", 1))
43355	}
43356
43357	if invalidParams.Len() > 0 {
43358		return invalidParams
43359	}
43360	return nil
43361}
43362
43363// SetTransformJobName sets the TransformJobName field's value.
43364func (s *StopTransformJobInput) SetTransformJobName(v string) *StopTransformJobInput {
43365	s.TransformJobName = &v
43366	return s
43367}
43368
43369type StopTransformJobOutput struct {
43370	_ struct{} `type:"structure"`
43371}
43372
43373// String returns the string representation
43374func (s StopTransformJobOutput) String() string {
43375	return awsutil.Prettify(s)
43376}
43377
43378// GoString returns the string representation
43379func (s StopTransformJobOutput) GoString() string {
43380	return s.String()
43381}
43382
43383// Specifies a limit to how long a model training or compilation job can run.
43384// It also specifies how long you are willing to wait for a managed spot training
43385// job to complete. When the job reaches the time limit, Amazon SageMaker ends
43386// the training or compilation job. Use this API to cap model training costs.
43387//
43388// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
43389// delays job termination for 120 seconds. Algorithms can use this 120-second
43390// window to save the model artifacts, so the results of training are not lost.
43391//
43392// The training algorithms provided by Amazon SageMaker automatically save the
43393// intermediate results of a model training job when possible. This attempt
43394// to save artifacts is only a best effort case as model might not be in a state
43395// from which it can be saved. For example, if training has just started, the
43396// model might not be ready to save. When saved, this intermediate data is a
43397// valid model artifact. You can use it to create a model with CreateModel.
43398//
43399// The Neural Topic Model (NTM) currently does not support saving intermediate
43400// model artifacts. When training NTMs, make sure that the maximum runtime is
43401// sufficient for the training job to complete.
43402type StoppingCondition struct {
43403	_ struct{} `type:"structure"`
43404
43405	// The maximum length of time, in seconds, that the training or compilation
43406	// job can run. If job does not complete during this time, Amazon SageMaker
43407	// ends the job. If value is not specified, default value is 1 day. The maximum
43408	// value is 28 days.
43409	MaxRuntimeInSeconds *int64 `min:"1" type:"integer"`
43410
43411	// The maximum length of time, in seconds, how long you are willing to wait
43412	// for a managed spot training job to complete. It is the amount of time spent
43413	// waiting for Spot capacity plus the amount of time the training job runs.
43414	// It must be equal to or greater than MaxRuntimeInSeconds.
43415	MaxWaitTimeInSeconds *int64 `min:"1" type:"integer"`
43416}
43417
43418// String returns the string representation
43419func (s StoppingCondition) String() string {
43420	return awsutil.Prettify(s)
43421}
43422
43423// GoString returns the string representation
43424func (s StoppingCondition) GoString() string {
43425	return s.String()
43426}
43427
43428// Validate inspects the fields of the type to determine if they are valid.
43429func (s *StoppingCondition) Validate() error {
43430	invalidParams := request.ErrInvalidParams{Context: "StoppingCondition"}
43431	if s.MaxRuntimeInSeconds != nil && *s.MaxRuntimeInSeconds < 1 {
43432		invalidParams.Add(request.NewErrParamMinValue("MaxRuntimeInSeconds", 1))
43433	}
43434	if s.MaxWaitTimeInSeconds != nil && *s.MaxWaitTimeInSeconds < 1 {
43435		invalidParams.Add(request.NewErrParamMinValue("MaxWaitTimeInSeconds", 1))
43436	}
43437
43438	if invalidParams.Len() > 0 {
43439		return invalidParams
43440	}
43441	return nil
43442}
43443
43444// SetMaxRuntimeInSeconds sets the MaxRuntimeInSeconds field's value.
43445func (s *StoppingCondition) SetMaxRuntimeInSeconds(v int64) *StoppingCondition {
43446	s.MaxRuntimeInSeconds = &v
43447	return s
43448}
43449
43450// SetMaxWaitTimeInSeconds sets the MaxWaitTimeInSeconds field's value.
43451func (s *StoppingCondition) SetMaxWaitTimeInSeconds(v int64) *StoppingCondition {
43452	s.MaxWaitTimeInSeconds = &v
43453	return s
43454}
43455
43456// Describes a work team of a vendor that does the a labelling job.
43457type SubscribedWorkteam struct {
43458	_ struct{} `type:"structure"`
43459
43460	// Marketplace product listing ID.
43461	ListingId *string `type:"string"`
43462
43463	// The description of the vendor from the Amazon Marketplace.
43464	MarketplaceDescription *string `min:"1" type:"string"`
43465
43466	// The title of the service provided by the vendor in the Amazon Marketplace.
43467	MarketplaceTitle *string `min:"1" type:"string"`
43468
43469	// The name of the vendor in the Amazon Marketplace.
43470	SellerName *string `type:"string"`
43471
43472	// The Amazon Resource Name (ARN) of the vendor that you have subscribed.
43473	//
43474	// WorkteamArn is a required field
43475	WorkteamArn *string `type:"string" required:"true"`
43476}
43477
43478// String returns the string representation
43479func (s SubscribedWorkteam) String() string {
43480	return awsutil.Prettify(s)
43481}
43482
43483// GoString returns the string representation
43484func (s SubscribedWorkteam) GoString() string {
43485	return s.String()
43486}
43487
43488// SetListingId sets the ListingId field's value.
43489func (s *SubscribedWorkteam) SetListingId(v string) *SubscribedWorkteam {
43490	s.ListingId = &v
43491	return s
43492}
43493
43494// SetMarketplaceDescription sets the MarketplaceDescription field's value.
43495func (s *SubscribedWorkteam) SetMarketplaceDescription(v string) *SubscribedWorkteam {
43496	s.MarketplaceDescription = &v
43497	return s
43498}
43499
43500// SetMarketplaceTitle sets the MarketplaceTitle field's value.
43501func (s *SubscribedWorkteam) SetMarketplaceTitle(v string) *SubscribedWorkteam {
43502	s.MarketplaceTitle = &v
43503	return s
43504}
43505
43506// SetSellerName sets the SellerName field's value.
43507func (s *SubscribedWorkteam) SetSellerName(v string) *SubscribedWorkteam {
43508	s.SellerName = &v
43509	return s
43510}
43511
43512// SetWorkteamArn sets the WorkteamArn field's value.
43513func (s *SubscribedWorkteam) SetWorkteamArn(v string) *SubscribedWorkteam {
43514	s.WorkteamArn = &v
43515	return s
43516}
43517
43518// Specified in the GetSearchSuggestions request. Limits the property names
43519// that are included in the response.
43520type SuggestionQuery struct {
43521	_ struct{} `type:"structure"`
43522
43523	// Defines a property name hint. Only property names that begin with the specified
43524	// hint are included in the response.
43525	PropertyNameQuery *PropertyNameQuery `type:"structure"`
43526}
43527
43528// String returns the string representation
43529func (s SuggestionQuery) String() string {
43530	return awsutil.Prettify(s)
43531}
43532
43533// GoString returns the string representation
43534func (s SuggestionQuery) GoString() string {
43535	return s.String()
43536}
43537
43538// Validate inspects the fields of the type to determine if they are valid.
43539func (s *SuggestionQuery) Validate() error {
43540	invalidParams := request.ErrInvalidParams{Context: "SuggestionQuery"}
43541	if s.PropertyNameQuery != nil {
43542		if err := s.PropertyNameQuery.Validate(); err != nil {
43543			invalidParams.AddNested("PropertyNameQuery", err.(request.ErrInvalidParams))
43544		}
43545	}
43546
43547	if invalidParams.Len() > 0 {
43548		return invalidParams
43549	}
43550	return nil
43551}
43552
43553// SetPropertyNameQuery sets the PropertyNameQuery field's value.
43554func (s *SuggestionQuery) SetPropertyNameQuery(v *PropertyNameQuery) *SuggestionQuery {
43555	s.PropertyNameQuery = v
43556	return s
43557}
43558
43559// Describes a tag.
43560type Tag struct {
43561	_ struct{} `type:"structure"`
43562
43563	// The tag key.
43564	//
43565	// Key is a required field
43566	Key *string `min:"1" type:"string" required:"true"`
43567
43568	// The tag value.
43569	//
43570	// Value is a required field
43571	Value *string `type:"string" required:"true"`
43572}
43573
43574// String returns the string representation
43575func (s Tag) String() string {
43576	return awsutil.Prettify(s)
43577}
43578
43579// GoString returns the string representation
43580func (s Tag) GoString() string {
43581	return s.String()
43582}
43583
43584// Validate inspects the fields of the type to determine if they are valid.
43585func (s *Tag) Validate() error {
43586	invalidParams := request.ErrInvalidParams{Context: "Tag"}
43587	if s.Key == nil {
43588		invalidParams.Add(request.NewErrParamRequired("Key"))
43589	}
43590	if s.Key != nil && len(*s.Key) < 1 {
43591		invalidParams.Add(request.NewErrParamMinLen("Key", 1))
43592	}
43593	if s.Value == nil {
43594		invalidParams.Add(request.NewErrParamRequired("Value"))
43595	}
43596
43597	if invalidParams.Len() > 0 {
43598		return invalidParams
43599	}
43600	return nil
43601}
43602
43603// SetKey sets the Key field's value.
43604func (s *Tag) SetKey(v string) *Tag {
43605	s.Key = &v
43606	return s
43607}
43608
43609// SetValue sets the Value field's value.
43610func (s *Tag) SetValue(v string) *Tag {
43611	s.Value = &v
43612	return s
43613}
43614
43615// Contains information about a target platform that you want your model to
43616// run on, such as OS, architecture, and accelerators. It is an alternative
43617// of TargetDevice.
43618type TargetPlatform struct {
43619	_ struct{} `type:"structure"`
43620
43621	// Specifies a target platform accelerator (optional).
43622	//
43623	//    * NVIDIA: Nvidia graphics processing unit. It also requires gpu-code,
43624	//    trt-ver, cuda-ver compiler options
43625	//
43626	//    * MALI: ARM Mali graphics processor
43627	//
43628	//    * INTEL_GRAPHICS: Integrated Intel graphics
43629	Accelerator *string `type:"string" enum:"TargetPlatformAccelerator"`
43630
43631	// Specifies a target platform architecture.
43632	//
43633	//    * X86_64: 64-bit version of the x86 instruction set.
43634	//
43635	//    * X86: 32-bit version of the x86 instruction set.
43636	//
43637	//    * ARM64: ARMv8 64-bit CPU.
43638	//
43639	//    * ARM_EABIHF: ARMv7 32-bit, Hard Float.
43640	//
43641	//    * ARM_EABI: ARMv7 32-bit, Soft Float. Used by Android 32-bit ARM platform.
43642	//
43643	// Arch is a required field
43644	Arch *string `type:"string" required:"true" enum:"TargetPlatformArch"`
43645
43646	// Specifies a target platform OS.
43647	//
43648	//    * LINUX: Linux-based operating systems.
43649	//
43650	//    * ANDROID: Android operating systems. Android API level can be specified
43651	//    using the ANDROID_PLATFORM compiler option. For example, "CompilerOptions":
43652	//    {'ANDROID_PLATFORM': 28}
43653	//
43654	// Os is a required field
43655	Os *string `type:"string" required:"true" enum:"TargetPlatformOs"`
43656}
43657
43658// String returns the string representation
43659func (s TargetPlatform) String() string {
43660	return awsutil.Prettify(s)
43661}
43662
43663// GoString returns the string representation
43664func (s TargetPlatform) GoString() string {
43665	return s.String()
43666}
43667
43668// Validate inspects the fields of the type to determine if they are valid.
43669func (s *TargetPlatform) Validate() error {
43670	invalidParams := request.ErrInvalidParams{Context: "TargetPlatform"}
43671	if s.Arch == nil {
43672		invalidParams.Add(request.NewErrParamRequired("Arch"))
43673	}
43674	if s.Os == nil {
43675		invalidParams.Add(request.NewErrParamRequired("Os"))
43676	}
43677
43678	if invalidParams.Len() > 0 {
43679		return invalidParams
43680	}
43681	return nil
43682}
43683
43684// SetAccelerator sets the Accelerator field's value.
43685func (s *TargetPlatform) SetAccelerator(v string) *TargetPlatform {
43686	s.Accelerator = &v
43687	return s
43688}
43689
43690// SetArch sets the Arch field's value.
43691func (s *TargetPlatform) SetArch(v string) *TargetPlatform {
43692	s.Arch = &v
43693	return s
43694}
43695
43696// SetOs sets the Os field's value.
43697func (s *TargetPlatform) SetOs(v string) *TargetPlatform {
43698	s.Os = &v
43699	return s
43700}
43701
43702// The TensorBoard app settings.
43703type TensorBoardAppSettings struct {
43704	_ struct{} `type:"structure"`
43705
43706	// The default instance type and the Amazon Resource Name (ARN) of the SageMaker
43707	// image created on the instance.
43708	DefaultResourceSpec *ResourceSpec `type:"structure"`
43709}
43710
43711// String returns the string representation
43712func (s TensorBoardAppSettings) String() string {
43713	return awsutil.Prettify(s)
43714}
43715
43716// GoString returns the string representation
43717func (s TensorBoardAppSettings) GoString() string {
43718	return s.String()
43719}
43720
43721// SetDefaultResourceSpec sets the DefaultResourceSpec field's value.
43722func (s *TensorBoardAppSettings) SetDefaultResourceSpec(v *ResourceSpec) *TensorBoardAppSettings {
43723	s.DefaultResourceSpec = v
43724	return s
43725}
43726
43727// Configuration of storage locations for TensorBoard output.
43728type TensorBoardOutputConfig struct {
43729	_ struct{} `type:"structure"`
43730
43731	// Path to local storage location for tensorBoard output. Defaults to /opt/ml/output/tensorboard.
43732	LocalPath *string `type:"string"`
43733
43734	// Path to Amazon S3 storage location for TensorBoard output.
43735	//
43736	// S3OutputPath is a required field
43737	S3OutputPath *string `type:"string" required:"true"`
43738}
43739
43740// String returns the string representation
43741func (s TensorBoardOutputConfig) String() string {
43742	return awsutil.Prettify(s)
43743}
43744
43745// GoString returns the string representation
43746func (s TensorBoardOutputConfig) GoString() string {
43747	return s.String()
43748}
43749
43750// Validate inspects the fields of the type to determine if they are valid.
43751func (s *TensorBoardOutputConfig) Validate() error {
43752	invalidParams := request.ErrInvalidParams{Context: "TensorBoardOutputConfig"}
43753	if s.S3OutputPath == nil {
43754		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
43755	}
43756
43757	if invalidParams.Len() > 0 {
43758		return invalidParams
43759	}
43760	return nil
43761}
43762
43763// SetLocalPath sets the LocalPath field's value.
43764func (s *TensorBoardOutputConfig) SetLocalPath(v string) *TensorBoardOutputConfig {
43765	s.LocalPath = &v
43766	return s
43767}
43768
43769// SetS3OutputPath sets the S3OutputPath field's value.
43770func (s *TensorBoardOutputConfig) SetS3OutputPath(v string) *TensorBoardOutputConfig {
43771	s.S3OutputPath = &v
43772	return s
43773}
43774
43775// Contains information about a training job.
43776type TrainingJob struct {
43777	_ struct{} `type:"structure"`
43778
43779	// Information about the algorithm used for training, and algorithm metadata.
43780	AlgorithmSpecification *AlgorithmSpecification `type:"structure"`
43781
43782	// The Amazon Resource Name (ARN) of the job.
43783	AutoMLJobArn *string `min:"1" type:"string"`
43784
43785	// The billable time in seconds.
43786	BillableTimeInSeconds *int64 `min:"1" type:"integer"`
43787
43788	// Contains information about the output location for managed spot training
43789	// checkpoint data.
43790	CheckpointConfig *CheckpointConfig `type:"structure"`
43791
43792	// A timestamp that indicates when the training job was created.
43793	CreationTime *time.Time `type:"timestamp"`
43794
43795	// Configuration information for the debug hook parameters, collection configuration,
43796	// and storage paths.
43797	DebugHookConfig *DebugHookConfig `type:"structure"`
43798
43799	// Information about the debug rule configuration.
43800	DebugRuleConfigurations []*DebugRuleConfiguration `type:"list"`
43801
43802	// Information about the evaluation status of the rules for the training job.
43803	DebugRuleEvaluationStatuses []*DebugRuleEvaluationStatus `type:"list"`
43804
43805	// To encrypt all communications between ML compute instances in distributed
43806	// training, choose True. Encryption provides greater security for distributed
43807	// training, but training might take longer. How long it takes depends on the
43808	// amount of communication between compute instances, especially if you use
43809	// a deep learning algorithm in distributed training.
43810	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
43811
43812	// When true, enables managed spot training using Amazon EC2 Spot instances
43813	// to run training jobs instead of on-demand instances. For more information,
43814	// see Managed Spot Training (https://docs.aws.amazon.com/sagemaker/latest/dg/model-managed-spot-training.html).
43815	EnableManagedSpotTraining *bool `type:"boolean"`
43816
43817	// If the TrainingJob was created with network isolation, the value is set to
43818	// true. If network isolation is enabled, nodes can't communicate beyond the
43819	// VPC they run in.
43820	EnableNetworkIsolation *bool `type:"boolean"`
43821
43822	// Associates a SageMaker job as a trial component with an experiment and trial.
43823	// Specified when you call the following APIs:
43824	//
43825	//    * CreateProcessingJob
43826	//
43827	//    * CreateTrainingJob
43828	//
43829	//    * CreateTransformJob
43830	ExperimentConfig *ExperimentConfig `type:"structure"`
43831
43832	// If the training job failed, the reason it failed.
43833	FailureReason *string `type:"string"`
43834
43835	// A list of final metric values that are set when the training job completes.
43836	// Used only if the training job was configured to use metrics.
43837	FinalMetricDataList []*MetricData `type:"list"`
43838
43839	// Algorithm-specific parameters.
43840	HyperParameters map[string]*string `type:"map"`
43841
43842	// An array of Channel objects that describes each data input channel.
43843	InputDataConfig []*Channel `min:"1" type:"list"`
43844
43845	// The Amazon Resource Name (ARN) of the labeling job.
43846	LabelingJobArn *string `type:"string"`
43847
43848	// A timestamp that indicates when the status of the training job was last modified.
43849	LastModifiedTime *time.Time `type:"timestamp"`
43850
43851	// Information about the Amazon S3 location that is configured for storing model
43852	// artifacts.
43853	ModelArtifacts *ModelArtifacts `type:"structure"`
43854
43855	// The S3 path where model artifacts that you configured when creating the job
43856	// are stored. Amazon SageMaker creates subfolders for model artifacts.
43857	OutputDataConfig *OutputDataConfig `type:"structure"`
43858
43859	// Resources, including ML compute instances and ML storage volumes, that are
43860	// configured for model training.
43861	ResourceConfig *ResourceConfig `type:"structure"`
43862
43863	// The AWS Identity and Access Management (IAM) role configured for the training
43864	// job.
43865	RoleArn *string `min:"20" type:"string"`
43866
43867	// Provides detailed information about the state of the training job. For detailed
43868	// information about the secondary status of the training job, see StatusMessage
43869	// under SecondaryStatusTransition.
43870	//
43871	// Amazon SageMaker provides primary statuses and secondary statuses that apply
43872	// to each of them:
43873	//
43874	// InProgress
43875	//
43876	//    * Starting - Starting the training job.
43877	//
43878	//    * Downloading - An optional stage for algorithms that support File training
43879	//    input mode. It indicates that data is being downloaded to the ML storage
43880	//    volumes.
43881	//
43882	//    * Training - Training is in progress.
43883	//
43884	//    * Uploading - Training is complete and the model artifacts are being uploaded
43885	//    to the S3 location.
43886	//
43887	// Completed
43888	//
43889	//    * Completed - The training job has completed.
43890	//
43891	// Failed
43892	//
43893	//    * Failed - The training job has failed. The reason for the failure is
43894	//    returned in the FailureReason field of DescribeTrainingJobResponse.
43895	//
43896	// Stopped
43897	//
43898	//    * MaxRuntimeExceeded - The job stopped because it exceeded the maximum
43899	//    allowed runtime.
43900	//
43901	//    * Stopped - The training job has stopped.
43902	//
43903	// Stopping
43904	//
43905	//    * Stopping - Stopping the training job.
43906	//
43907	// Valid values for SecondaryStatus are subject to change.
43908	//
43909	// We no longer support the following secondary statuses:
43910	//
43911	//    * LaunchingMLInstances
43912	//
43913	//    * PreparingTrainingStack
43914	//
43915	//    * DownloadingTrainingImage
43916	SecondaryStatus *string `type:"string" enum:"SecondaryStatus"`
43917
43918	// A history of all of the secondary statuses that the training job has transitioned
43919	// through.
43920	SecondaryStatusTransitions []*SecondaryStatusTransition `type:"list"`
43921
43922	// Specifies a limit to how long a model training job can run. When the job
43923	// reaches the time limit, Amazon SageMaker ends the training job. Use this
43924	// API to cap model training costs.
43925	//
43926	// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
43927	// delays job termination for 120 seconds. Algorithms can use this 120-second
43928	// window to save the model artifacts, so the results of training are not lost.
43929	StoppingCondition *StoppingCondition `type:"structure"`
43930
43931	// An array of key-value pairs. For more information, see Using Cost Allocation
43932	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
43933	// in the AWS Billing and Cost Management User Guide.
43934	Tags []*Tag `type:"list"`
43935
43936	// Configuration of storage locations for TensorBoard output.
43937	TensorBoardOutputConfig *TensorBoardOutputConfig `type:"structure"`
43938
43939	// Indicates the time when the training job ends on training instances. You
43940	// are billed for the time interval between the value of TrainingStartTime and
43941	// this time. For successful jobs and stopped jobs, this is the time after model
43942	// artifacts are uploaded. For failed jobs, this is the time when Amazon SageMaker
43943	// detects a job failure.
43944	TrainingEndTime *time.Time `type:"timestamp"`
43945
43946	// The Amazon Resource Name (ARN) of the training job.
43947	TrainingJobArn *string `type:"string"`
43948
43949	// The name of the training job.
43950	TrainingJobName *string `min:"1" type:"string"`
43951
43952	// The status of the training job.
43953	//
43954	// Training job statuses are:
43955	//
43956	//    * InProgress - The training is in progress.
43957	//
43958	//    * Completed - The training job has completed.
43959	//
43960	//    * Failed - The training job has failed. To see the reason for the failure,
43961	//    see the FailureReason field in the response to a DescribeTrainingJobResponse
43962	//    call.
43963	//
43964	//    * Stopping - The training job is stopping.
43965	//
43966	//    * Stopped - The training job has stopped.
43967	//
43968	// For more detailed information, see SecondaryStatus.
43969	TrainingJobStatus *string `type:"string" enum:"TrainingJobStatus"`
43970
43971	// Indicates the time when the training job starts on training instances. You
43972	// are billed for the time interval between this time and the value of TrainingEndTime.
43973	// The start time in CloudWatch Logs might be later than this time. The difference
43974	// is due to the time it takes to download the training data and to the size
43975	// of the training container.
43976	TrainingStartTime *time.Time `type:"timestamp"`
43977
43978	// The training time in seconds.
43979	TrainingTimeInSeconds *int64 `min:"1" type:"integer"`
43980
43981	// The Amazon Resource Name (ARN) of the associated hyperparameter tuning job
43982	// if the training job was launched by a hyperparameter tuning job.
43983	TuningJobArn *string `type:"string"`
43984
43985	// A VpcConfig object that specifies the VPC that this training job has access
43986	// to. For more information, see Protect Training Jobs by Using an Amazon Virtual
43987	// Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
43988	VpcConfig *VpcConfig `type:"structure"`
43989}
43990
43991// String returns the string representation
43992func (s TrainingJob) String() string {
43993	return awsutil.Prettify(s)
43994}
43995
43996// GoString returns the string representation
43997func (s TrainingJob) GoString() string {
43998	return s.String()
43999}
44000
44001// SetAlgorithmSpecification sets the AlgorithmSpecification field's value.
44002func (s *TrainingJob) SetAlgorithmSpecification(v *AlgorithmSpecification) *TrainingJob {
44003	s.AlgorithmSpecification = v
44004	return s
44005}
44006
44007// SetAutoMLJobArn sets the AutoMLJobArn field's value.
44008func (s *TrainingJob) SetAutoMLJobArn(v string) *TrainingJob {
44009	s.AutoMLJobArn = &v
44010	return s
44011}
44012
44013// SetBillableTimeInSeconds sets the BillableTimeInSeconds field's value.
44014func (s *TrainingJob) SetBillableTimeInSeconds(v int64) *TrainingJob {
44015	s.BillableTimeInSeconds = &v
44016	return s
44017}
44018
44019// SetCheckpointConfig sets the CheckpointConfig field's value.
44020func (s *TrainingJob) SetCheckpointConfig(v *CheckpointConfig) *TrainingJob {
44021	s.CheckpointConfig = v
44022	return s
44023}
44024
44025// SetCreationTime sets the CreationTime field's value.
44026func (s *TrainingJob) SetCreationTime(v time.Time) *TrainingJob {
44027	s.CreationTime = &v
44028	return s
44029}
44030
44031// SetDebugHookConfig sets the DebugHookConfig field's value.
44032func (s *TrainingJob) SetDebugHookConfig(v *DebugHookConfig) *TrainingJob {
44033	s.DebugHookConfig = v
44034	return s
44035}
44036
44037// SetDebugRuleConfigurations sets the DebugRuleConfigurations field's value.
44038func (s *TrainingJob) SetDebugRuleConfigurations(v []*DebugRuleConfiguration) *TrainingJob {
44039	s.DebugRuleConfigurations = v
44040	return s
44041}
44042
44043// SetDebugRuleEvaluationStatuses sets the DebugRuleEvaluationStatuses field's value.
44044func (s *TrainingJob) SetDebugRuleEvaluationStatuses(v []*DebugRuleEvaluationStatus) *TrainingJob {
44045	s.DebugRuleEvaluationStatuses = v
44046	return s
44047}
44048
44049// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
44050func (s *TrainingJob) SetEnableInterContainerTrafficEncryption(v bool) *TrainingJob {
44051	s.EnableInterContainerTrafficEncryption = &v
44052	return s
44053}
44054
44055// SetEnableManagedSpotTraining sets the EnableManagedSpotTraining field's value.
44056func (s *TrainingJob) SetEnableManagedSpotTraining(v bool) *TrainingJob {
44057	s.EnableManagedSpotTraining = &v
44058	return s
44059}
44060
44061// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
44062func (s *TrainingJob) SetEnableNetworkIsolation(v bool) *TrainingJob {
44063	s.EnableNetworkIsolation = &v
44064	return s
44065}
44066
44067// SetExperimentConfig sets the ExperimentConfig field's value.
44068func (s *TrainingJob) SetExperimentConfig(v *ExperimentConfig) *TrainingJob {
44069	s.ExperimentConfig = v
44070	return s
44071}
44072
44073// SetFailureReason sets the FailureReason field's value.
44074func (s *TrainingJob) SetFailureReason(v string) *TrainingJob {
44075	s.FailureReason = &v
44076	return s
44077}
44078
44079// SetFinalMetricDataList sets the FinalMetricDataList field's value.
44080func (s *TrainingJob) SetFinalMetricDataList(v []*MetricData) *TrainingJob {
44081	s.FinalMetricDataList = v
44082	return s
44083}
44084
44085// SetHyperParameters sets the HyperParameters field's value.
44086func (s *TrainingJob) SetHyperParameters(v map[string]*string) *TrainingJob {
44087	s.HyperParameters = v
44088	return s
44089}
44090
44091// SetInputDataConfig sets the InputDataConfig field's value.
44092func (s *TrainingJob) SetInputDataConfig(v []*Channel) *TrainingJob {
44093	s.InputDataConfig = v
44094	return s
44095}
44096
44097// SetLabelingJobArn sets the LabelingJobArn field's value.
44098func (s *TrainingJob) SetLabelingJobArn(v string) *TrainingJob {
44099	s.LabelingJobArn = &v
44100	return s
44101}
44102
44103// SetLastModifiedTime sets the LastModifiedTime field's value.
44104func (s *TrainingJob) SetLastModifiedTime(v time.Time) *TrainingJob {
44105	s.LastModifiedTime = &v
44106	return s
44107}
44108
44109// SetModelArtifacts sets the ModelArtifacts field's value.
44110func (s *TrainingJob) SetModelArtifacts(v *ModelArtifacts) *TrainingJob {
44111	s.ModelArtifacts = v
44112	return s
44113}
44114
44115// SetOutputDataConfig sets the OutputDataConfig field's value.
44116func (s *TrainingJob) SetOutputDataConfig(v *OutputDataConfig) *TrainingJob {
44117	s.OutputDataConfig = v
44118	return s
44119}
44120
44121// SetResourceConfig sets the ResourceConfig field's value.
44122func (s *TrainingJob) SetResourceConfig(v *ResourceConfig) *TrainingJob {
44123	s.ResourceConfig = v
44124	return s
44125}
44126
44127// SetRoleArn sets the RoleArn field's value.
44128func (s *TrainingJob) SetRoleArn(v string) *TrainingJob {
44129	s.RoleArn = &v
44130	return s
44131}
44132
44133// SetSecondaryStatus sets the SecondaryStatus field's value.
44134func (s *TrainingJob) SetSecondaryStatus(v string) *TrainingJob {
44135	s.SecondaryStatus = &v
44136	return s
44137}
44138
44139// SetSecondaryStatusTransitions sets the SecondaryStatusTransitions field's value.
44140func (s *TrainingJob) SetSecondaryStatusTransitions(v []*SecondaryStatusTransition) *TrainingJob {
44141	s.SecondaryStatusTransitions = v
44142	return s
44143}
44144
44145// SetStoppingCondition sets the StoppingCondition field's value.
44146func (s *TrainingJob) SetStoppingCondition(v *StoppingCondition) *TrainingJob {
44147	s.StoppingCondition = v
44148	return s
44149}
44150
44151// SetTags sets the Tags field's value.
44152func (s *TrainingJob) SetTags(v []*Tag) *TrainingJob {
44153	s.Tags = v
44154	return s
44155}
44156
44157// SetTensorBoardOutputConfig sets the TensorBoardOutputConfig field's value.
44158func (s *TrainingJob) SetTensorBoardOutputConfig(v *TensorBoardOutputConfig) *TrainingJob {
44159	s.TensorBoardOutputConfig = v
44160	return s
44161}
44162
44163// SetTrainingEndTime sets the TrainingEndTime field's value.
44164func (s *TrainingJob) SetTrainingEndTime(v time.Time) *TrainingJob {
44165	s.TrainingEndTime = &v
44166	return s
44167}
44168
44169// SetTrainingJobArn sets the TrainingJobArn field's value.
44170func (s *TrainingJob) SetTrainingJobArn(v string) *TrainingJob {
44171	s.TrainingJobArn = &v
44172	return s
44173}
44174
44175// SetTrainingJobName sets the TrainingJobName field's value.
44176func (s *TrainingJob) SetTrainingJobName(v string) *TrainingJob {
44177	s.TrainingJobName = &v
44178	return s
44179}
44180
44181// SetTrainingJobStatus sets the TrainingJobStatus field's value.
44182func (s *TrainingJob) SetTrainingJobStatus(v string) *TrainingJob {
44183	s.TrainingJobStatus = &v
44184	return s
44185}
44186
44187// SetTrainingStartTime sets the TrainingStartTime field's value.
44188func (s *TrainingJob) SetTrainingStartTime(v time.Time) *TrainingJob {
44189	s.TrainingStartTime = &v
44190	return s
44191}
44192
44193// SetTrainingTimeInSeconds sets the TrainingTimeInSeconds field's value.
44194func (s *TrainingJob) SetTrainingTimeInSeconds(v int64) *TrainingJob {
44195	s.TrainingTimeInSeconds = &v
44196	return s
44197}
44198
44199// SetTuningJobArn sets the TuningJobArn field's value.
44200func (s *TrainingJob) SetTuningJobArn(v string) *TrainingJob {
44201	s.TuningJobArn = &v
44202	return s
44203}
44204
44205// SetVpcConfig sets the VpcConfig field's value.
44206func (s *TrainingJob) SetVpcConfig(v *VpcConfig) *TrainingJob {
44207	s.VpcConfig = v
44208	return s
44209}
44210
44211// Defines the input needed to run a training job using the algorithm.
44212type TrainingJobDefinition struct {
44213	_ struct{} `type:"structure"`
44214
44215	// The hyperparameters used for the training job.
44216	HyperParameters map[string]*string `type:"map"`
44217
44218	// An array of Channel objects, each of which specifies an input source.
44219	//
44220	// InputDataConfig is a required field
44221	InputDataConfig []*Channel `min:"1" type:"list" required:"true"`
44222
44223	// the path to the S3 bucket where you want to store model artifacts. Amazon
44224	// SageMaker creates subfolders for the artifacts.
44225	//
44226	// OutputDataConfig is a required field
44227	OutputDataConfig *OutputDataConfig `type:"structure" required:"true"`
44228
44229	// The resources, including the ML compute instances and ML storage volumes,
44230	// to use for model training.
44231	//
44232	// ResourceConfig is a required field
44233	ResourceConfig *ResourceConfig `type:"structure" required:"true"`
44234
44235	// Specifies a limit to how long a model training job can run. When the job
44236	// reaches the time limit, Amazon SageMaker ends the training job. Use this
44237	// API to cap model training costs.
44238	//
44239	// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
44240	// delays job termination for 120 seconds. Algorithms can use this 120-second
44241	// window to save the model artifacts.
44242	//
44243	// StoppingCondition is a required field
44244	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
44245
44246	// The input mode used by the algorithm for the training job. For the input
44247	// modes that Amazon SageMaker algorithms support, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
44248	//
44249	// If an algorithm supports the File input mode, Amazon SageMaker downloads
44250	// the training data from S3 to the provisioned ML storage Volume, and mounts
44251	// the directory to docker volume for training container. If an algorithm supports
44252	// the Pipe input mode, Amazon SageMaker streams data directly from S3 to the
44253	// container.
44254	//
44255	// TrainingInputMode is a required field
44256	TrainingInputMode *string `type:"string" required:"true" enum:"TrainingInputMode"`
44257}
44258
44259// String returns the string representation
44260func (s TrainingJobDefinition) String() string {
44261	return awsutil.Prettify(s)
44262}
44263
44264// GoString returns the string representation
44265func (s TrainingJobDefinition) GoString() string {
44266	return s.String()
44267}
44268
44269// Validate inspects the fields of the type to determine if they are valid.
44270func (s *TrainingJobDefinition) Validate() error {
44271	invalidParams := request.ErrInvalidParams{Context: "TrainingJobDefinition"}
44272	if s.InputDataConfig == nil {
44273		invalidParams.Add(request.NewErrParamRequired("InputDataConfig"))
44274	}
44275	if s.InputDataConfig != nil && len(s.InputDataConfig) < 1 {
44276		invalidParams.Add(request.NewErrParamMinLen("InputDataConfig", 1))
44277	}
44278	if s.OutputDataConfig == nil {
44279		invalidParams.Add(request.NewErrParamRequired("OutputDataConfig"))
44280	}
44281	if s.ResourceConfig == nil {
44282		invalidParams.Add(request.NewErrParamRequired("ResourceConfig"))
44283	}
44284	if s.StoppingCondition == nil {
44285		invalidParams.Add(request.NewErrParamRequired("StoppingCondition"))
44286	}
44287	if s.TrainingInputMode == nil {
44288		invalidParams.Add(request.NewErrParamRequired("TrainingInputMode"))
44289	}
44290	if s.InputDataConfig != nil {
44291		for i, v := range s.InputDataConfig {
44292			if v == nil {
44293				continue
44294			}
44295			if err := v.Validate(); err != nil {
44296				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputDataConfig", i), err.(request.ErrInvalidParams))
44297			}
44298		}
44299	}
44300	if s.OutputDataConfig != nil {
44301		if err := s.OutputDataConfig.Validate(); err != nil {
44302			invalidParams.AddNested("OutputDataConfig", err.(request.ErrInvalidParams))
44303		}
44304	}
44305	if s.ResourceConfig != nil {
44306		if err := s.ResourceConfig.Validate(); err != nil {
44307			invalidParams.AddNested("ResourceConfig", err.(request.ErrInvalidParams))
44308		}
44309	}
44310	if s.StoppingCondition != nil {
44311		if err := s.StoppingCondition.Validate(); err != nil {
44312			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
44313		}
44314	}
44315
44316	if invalidParams.Len() > 0 {
44317		return invalidParams
44318	}
44319	return nil
44320}
44321
44322// SetHyperParameters sets the HyperParameters field's value.
44323func (s *TrainingJobDefinition) SetHyperParameters(v map[string]*string) *TrainingJobDefinition {
44324	s.HyperParameters = v
44325	return s
44326}
44327
44328// SetInputDataConfig sets the InputDataConfig field's value.
44329func (s *TrainingJobDefinition) SetInputDataConfig(v []*Channel) *TrainingJobDefinition {
44330	s.InputDataConfig = v
44331	return s
44332}
44333
44334// SetOutputDataConfig sets the OutputDataConfig field's value.
44335func (s *TrainingJobDefinition) SetOutputDataConfig(v *OutputDataConfig) *TrainingJobDefinition {
44336	s.OutputDataConfig = v
44337	return s
44338}
44339
44340// SetResourceConfig sets the ResourceConfig field's value.
44341func (s *TrainingJobDefinition) SetResourceConfig(v *ResourceConfig) *TrainingJobDefinition {
44342	s.ResourceConfig = v
44343	return s
44344}
44345
44346// SetStoppingCondition sets the StoppingCondition field's value.
44347func (s *TrainingJobDefinition) SetStoppingCondition(v *StoppingCondition) *TrainingJobDefinition {
44348	s.StoppingCondition = v
44349	return s
44350}
44351
44352// SetTrainingInputMode sets the TrainingInputMode field's value.
44353func (s *TrainingJobDefinition) SetTrainingInputMode(v string) *TrainingJobDefinition {
44354	s.TrainingInputMode = &v
44355	return s
44356}
44357
44358// The numbers of training jobs launched by a hyperparameter tuning job, categorized
44359// by status.
44360type TrainingJobStatusCounters struct {
44361	_ struct{} `type:"structure"`
44362
44363	// The number of completed training jobs launched by the hyperparameter tuning
44364	// job.
44365	Completed *int64 `type:"integer"`
44366
44367	// The number of in-progress training jobs launched by a hyperparameter tuning
44368	// job.
44369	InProgress *int64 `type:"integer"`
44370
44371	// The number of training jobs that failed and can't be retried. A failed training
44372	// job can't be retried if it failed because a client error occurred.
44373	NonRetryableError *int64 `type:"integer"`
44374
44375	// The number of training jobs that failed, but can be retried. A failed training
44376	// job can be retried only if it failed because an internal service error occurred.
44377	RetryableError *int64 `type:"integer"`
44378
44379	// The number of training jobs launched by a hyperparameter tuning job that
44380	// were manually stopped.
44381	Stopped *int64 `type:"integer"`
44382}
44383
44384// String returns the string representation
44385func (s TrainingJobStatusCounters) String() string {
44386	return awsutil.Prettify(s)
44387}
44388
44389// GoString returns the string representation
44390func (s TrainingJobStatusCounters) GoString() string {
44391	return s.String()
44392}
44393
44394// SetCompleted sets the Completed field's value.
44395func (s *TrainingJobStatusCounters) SetCompleted(v int64) *TrainingJobStatusCounters {
44396	s.Completed = &v
44397	return s
44398}
44399
44400// SetInProgress sets the InProgress field's value.
44401func (s *TrainingJobStatusCounters) SetInProgress(v int64) *TrainingJobStatusCounters {
44402	s.InProgress = &v
44403	return s
44404}
44405
44406// SetNonRetryableError sets the NonRetryableError field's value.
44407func (s *TrainingJobStatusCounters) SetNonRetryableError(v int64) *TrainingJobStatusCounters {
44408	s.NonRetryableError = &v
44409	return s
44410}
44411
44412// SetRetryableError sets the RetryableError field's value.
44413func (s *TrainingJobStatusCounters) SetRetryableError(v int64) *TrainingJobStatusCounters {
44414	s.RetryableError = &v
44415	return s
44416}
44417
44418// SetStopped sets the Stopped field's value.
44419func (s *TrainingJobStatusCounters) SetStopped(v int64) *TrainingJobStatusCounters {
44420	s.Stopped = &v
44421	return s
44422}
44423
44424// Provides summary information about a training job.
44425type TrainingJobSummary struct {
44426	_ struct{} `type:"structure"`
44427
44428	// A timestamp that shows when the training job was created.
44429	//
44430	// CreationTime is a required field
44431	CreationTime *time.Time `type:"timestamp" required:"true"`
44432
44433	// Timestamp when the training job was last modified.
44434	LastModifiedTime *time.Time `type:"timestamp"`
44435
44436	// A timestamp that shows when the training job ended. This field is set only
44437	// if the training job has one of the terminal statuses (Completed, Failed,
44438	// or Stopped).
44439	TrainingEndTime *time.Time `type:"timestamp"`
44440
44441	// The Amazon Resource Name (ARN) of the training job.
44442	//
44443	// TrainingJobArn is a required field
44444	TrainingJobArn *string `type:"string" required:"true"`
44445
44446	// The name of the training job that you want a summary for.
44447	//
44448	// TrainingJobName is a required field
44449	TrainingJobName *string `min:"1" type:"string" required:"true"`
44450
44451	// The status of the training job.
44452	//
44453	// TrainingJobStatus is a required field
44454	TrainingJobStatus *string `type:"string" required:"true" enum:"TrainingJobStatus"`
44455}
44456
44457// String returns the string representation
44458func (s TrainingJobSummary) String() string {
44459	return awsutil.Prettify(s)
44460}
44461
44462// GoString returns the string representation
44463func (s TrainingJobSummary) GoString() string {
44464	return s.String()
44465}
44466
44467// SetCreationTime sets the CreationTime field's value.
44468func (s *TrainingJobSummary) SetCreationTime(v time.Time) *TrainingJobSummary {
44469	s.CreationTime = &v
44470	return s
44471}
44472
44473// SetLastModifiedTime sets the LastModifiedTime field's value.
44474func (s *TrainingJobSummary) SetLastModifiedTime(v time.Time) *TrainingJobSummary {
44475	s.LastModifiedTime = &v
44476	return s
44477}
44478
44479// SetTrainingEndTime sets the TrainingEndTime field's value.
44480func (s *TrainingJobSummary) SetTrainingEndTime(v time.Time) *TrainingJobSummary {
44481	s.TrainingEndTime = &v
44482	return s
44483}
44484
44485// SetTrainingJobArn sets the TrainingJobArn field's value.
44486func (s *TrainingJobSummary) SetTrainingJobArn(v string) *TrainingJobSummary {
44487	s.TrainingJobArn = &v
44488	return s
44489}
44490
44491// SetTrainingJobName sets the TrainingJobName field's value.
44492func (s *TrainingJobSummary) SetTrainingJobName(v string) *TrainingJobSummary {
44493	s.TrainingJobName = &v
44494	return s
44495}
44496
44497// SetTrainingJobStatus sets the TrainingJobStatus field's value.
44498func (s *TrainingJobSummary) SetTrainingJobStatus(v string) *TrainingJobSummary {
44499	s.TrainingJobStatus = &v
44500	return s
44501}
44502
44503// Defines how the algorithm is used for a training job.
44504type TrainingSpecification struct {
44505	_ struct{} `type:"structure"`
44506
44507	// A list of MetricDefinition objects, which are used for parsing metrics generated
44508	// by the algorithm.
44509	MetricDefinitions []*MetricDefinition `type:"list"`
44510
44511	// A list of the HyperParameterSpecification objects, that define the supported
44512	// hyperparameters. This is required if the algorithm supports automatic model
44513	// tuning.>
44514	SupportedHyperParameters []*HyperParameterSpecification `type:"list"`
44515
44516	// A list of the instance types that this algorithm can use for training.
44517	//
44518	// SupportedTrainingInstanceTypes is a required field
44519	SupportedTrainingInstanceTypes []*string `type:"list" required:"true"`
44520
44521	// A list of the metrics that the algorithm emits that can be used as the objective
44522	// metric in a hyperparameter tuning job.
44523	SupportedTuningJobObjectiveMetrics []*HyperParameterTuningJobObjective `type:"list"`
44524
44525	// Indicates whether the algorithm supports distributed training. If set to
44526	// false, buyers can't request more than one instance during training.
44527	SupportsDistributedTraining *bool `type:"boolean"`
44528
44529	// A list of ChannelSpecification objects, which specify the input sources to
44530	// be used by the algorithm.
44531	//
44532	// TrainingChannels is a required field
44533	TrainingChannels []*ChannelSpecification `min:"1" type:"list" required:"true"`
44534
44535	// The Amazon ECR registry path of the Docker image that contains the training
44536	// algorithm.
44537	//
44538	// TrainingImage is a required field
44539	TrainingImage *string `type:"string" required:"true"`
44540
44541	// An MD5 hash of the training algorithm that identifies the Docker image used
44542	// for training.
44543	TrainingImageDigest *string `type:"string"`
44544}
44545
44546// String returns the string representation
44547func (s TrainingSpecification) String() string {
44548	return awsutil.Prettify(s)
44549}
44550
44551// GoString returns the string representation
44552func (s TrainingSpecification) GoString() string {
44553	return s.String()
44554}
44555
44556// Validate inspects the fields of the type to determine if they are valid.
44557func (s *TrainingSpecification) Validate() error {
44558	invalidParams := request.ErrInvalidParams{Context: "TrainingSpecification"}
44559	if s.SupportedTrainingInstanceTypes == nil {
44560		invalidParams.Add(request.NewErrParamRequired("SupportedTrainingInstanceTypes"))
44561	}
44562	if s.TrainingChannels == nil {
44563		invalidParams.Add(request.NewErrParamRequired("TrainingChannels"))
44564	}
44565	if s.TrainingChannels != nil && len(s.TrainingChannels) < 1 {
44566		invalidParams.Add(request.NewErrParamMinLen("TrainingChannels", 1))
44567	}
44568	if s.TrainingImage == nil {
44569		invalidParams.Add(request.NewErrParamRequired("TrainingImage"))
44570	}
44571	if s.MetricDefinitions != nil {
44572		for i, v := range s.MetricDefinitions {
44573			if v == nil {
44574				continue
44575			}
44576			if err := v.Validate(); err != nil {
44577				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MetricDefinitions", i), err.(request.ErrInvalidParams))
44578			}
44579		}
44580	}
44581	if s.SupportedHyperParameters != nil {
44582		for i, v := range s.SupportedHyperParameters {
44583			if v == nil {
44584				continue
44585			}
44586			if err := v.Validate(); err != nil {
44587				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SupportedHyperParameters", i), err.(request.ErrInvalidParams))
44588			}
44589		}
44590	}
44591	if s.SupportedTuningJobObjectiveMetrics != nil {
44592		for i, v := range s.SupportedTuningJobObjectiveMetrics {
44593			if v == nil {
44594				continue
44595			}
44596			if err := v.Validate(); err != nil {
44597				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SupportedTuningJobObjectiveMetrics", i), err.(request.ErrInvalidParams))
44598			}
44599		}
44600	}
44601	if s.TrainingChannels != nil {
44602		for i, v := range s.TrainingChannels {
44603			if v == nil {
44604				continue
44605			}
44606			if err := v.Validate(); err != nil {
44607				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TrainingChannels", i), err.(request.ErrInvalidParams))
44608			}
44609		}
44610	}
44611
44612	if invalidParams.Len() > 0 {
44613		return invalidParams
44614	}
44615	return nil
44616}
44617
44618// SetMetricDefinitions sets the MetricDefinitions field's value.
44619func (s *TrainingSpecification) SetMetricDefinitions(v []*MetricDefinition) *TrainingSpecification {
44620	s.MetricDefinitions = v
44621	return s
44622}
44623
44624// SetSupportedHyperParameters sets the SupportedHyperParameters field's value.
44625func (s *TrainingSpecification) SetSupportedHyperParameters(v []*HyperParameterSpecification) *TrainingSpecification {
44626	s.SupportedHyperParameters = v
44627	return s
44628}
44629
44630// SetSupportedTrainingInstanceTypes sets the SupportedTrainingInstanceTypes field's value.
44631func (s *TrainingSpecification) SetSupportedTrainingInstanceTypes(v []*string) *TrainingSpecification {
44632	s.SupportedTrainingInstanceTypes = v
44633	return s
44634}
44635
44636// SetSupportedTuningJobObjectiveMetrics sets the SupportedTuningJobObjectiveMetrics field's value.
44637func (s *TrainingSpecification) SetSupportedTuningJobObjectiveMetrics(v []*HyperParameterTuningJobObjective) *TrainingSpecification {
44638	s.SupportedTuningJobObjectiveMetrics = v
44639	return s
44640}
44641
44642// SetSupportsDistributedTraining sets the SupportsDistributedTraining field's value.
44643func (s *TrainingSpecification) SetSupportsDistributedTraining(v bool) *TrainingSpecification {
44644	s.SupportsDistributedTraining = &v
44645	return s
44646}
44647
44648// SetTrainingChannels sets the TrainingChannels field's value.
44649func (s *TrainingSpecification) SetTrainingChannels(v []*ChannelSpecification) *TrainingSpecification {
44650	s.TrainingChannels = v
44651	return s
44652}
44653
44654// SetTrainingImage sets the TrainingImage field's value.
44655func (s *TrainingSpecification) SetTrainingImage(v string) *TrainingSpecification {
44656	s.TrainingImage = &v
44657	return s
44658}
44659
44660// SetTrainingImageDigest sets the TrainingImageDigest field's value.
44661func (s *TrainingSpecification) SetTrainingImageDigest(v string) *TrainingSpecification {
44662	s.TrainingImageDigest = &v
44663	return s
44664}
44665
44666// Describes the location of the channel data.
44667type TransformDataSource struct {
44668	_ struct{} `type:"structure"`
44669
44670	// The S3 location of the data source that is associated with a channel.
44671	//
44672	// S3DataSource is a required field
44673	S3DataSource *TransformS3DataSource `type:"structure" required:"true"`
44674}
44675
44676// String returns the string representation
44677func (s TransformDataSource) String() string {
44678	return awsutil.Prettify(s)
44679}
44680
44681// GoString returns the string representation
44682func (s TransformDataSource) GoString() string {
44683	return s.String()
44684}
44685
44686// Validate inspects the fields of the type to determine if they are valid.
44687func (s *TransformDataSource) Validate() error {
44688	invalidParams := request.ErrInvalidParams{Context: "TransformDataSource"}
44689	if s.S3DataSource == nil {
44690		invalidParams.Add(request.NewErrParamRequired("S3DataSource"))
44691	}
44692	if s.S3DataSource != nil {
44693		if err := s.S3DataSource.Validate(); err != nil {
44694			invalidParams.AddNested("S3DataSource", err.(request.ErrInvalidParams))
44695		}
44696	}
44697
44698	if invalidParams.Len() > 0 {
44699		return invalidParams
44700	}
44701	return nil
44702}
44703
44704// SetS3DataSource sets the S3DataSource field's value.
44705func (s *TransformDataSource) SetS3DataSource(v *TransformS3DataSource) *TransformDataSource {
44706	s.S3DataSource = v
44707	return s
44708}
44709
44710// Describes the input source of a transform job and the way the transform job
44711// consumes it.
44712type TransformInput struct {
44713	_ struct{} `type:"structure"`
44714
44715	// If your transform data is compressed, specify the compression type. Amazon
44716	// SageMaker automatically decompresses the data for the transform job accordingly.
44717	// The default value is None.
44718	CompressionType *string `type:"string" enum:"CompressionType"`
44719
44720	// The multipurpose internet mail extension (MIME) type of the data. Amazon
44721	// SageMaker uses the MIME type with each http call to transfer data to the
44722	// transform job.
44723	ContentType *string `type:"string"`
44724
44725	// Describes the location of the channel data, which is, the S3 location of
44726	// the input data that the model can consume.
44727	//
44728	// DataSource is a required field
44729	DataSource *TransformDataSource `type:"structure" required:"true"`
44730
44731	// The method to use to split the transform job's data files into smaller batches.
44732	// Splitting is necessary when the total size of each object is too large to
44733	// fit in a single request. You can also use data splitting to improve performance
44734	// by processing multiple concurrent mini-batches. The default value for SplitType
44735	// is None, which indicates that input data files are not split, and request
44736	// payloads contain the entire contents of an input object. Set the value of
44737	// this parameter to Line to split records on a newline character boundary.
44738	// SplitType also supports a number of record-oriented binary data formats.
44739	//
44740	// When splitting is enabled, the size of a mini-batch depends on the values
44741	// of the BatchStrategy and MaxPayloadInMB parameters. When the value of BatchStrategy
44742	// is MultiRecord, Amazon SageMaker sends the maximum number of records in each
44743	// request, up to the MaxPayloadInMB limit. If the value of BatchStrategy is
44744	// SingleRecord, Amazon SageMaker sends individual records in each request.
44745	//
44746	// Some data formats represent a record as a binary payload wrapped with extra
44747	// padding bytes. When splitting is applied to a binary data format, padding
44748	// is removed if the value of BatchStrategy is set to SingleRecord. Padding
44749	// is not removed if the value of BatchStrategy is set to MultiRecord.
44750	//
44751	// For more information about RecordIO, see Create a Dataset Using RecordIO
44752	// (https://mxnet.apache.org/api/faq/recordio) in the MXNet documentation. For
44753	// more information about TFRecord, see Consuming TFRecord data (https://www.tensorflow.org/guide/datasets#consuming_tfrecord_data)
44754	// in the TensorFlow documentation.
44755	SplitType *string `type:"string" enum:"SplitType"`
44756}
44757
44758// String returns the string representation
44759func (s TransformInput) String() string {
44760	return awsutil.Prettify(s)
44761}
44762
44763// GoString returns the string representation
44764func (s TransformInput) GoString() string {
44765	return s.String()
44766}
44767
44768// Validate inspects the fields of the type to determine if they are valid.
44769func (s *TransformInput) Validate() error {
44770	invalidParams := request.ErrInvalidParams{Context: "TransformInput"}
44771	if s.DataSource == nil {
44772		invalidParams.Add(request.NewErrParamRequired("DataSource"))
44773	}
44774	if s.DataSource != nil {
44775		if err := s.DataSource.Validate(); err != nil {
44776			invalidParams.AddNested("DataSource", err.(request.ErrInvalidParams))
44777		}
44778	}
44779
44780	if invalidParams.Len() > 0 {
44781		return invalidParams
44782	}
44783	return nil
44784}
44785
44786// SetCompressionType sets the CompressionType field's value.
44787func (s *TransformInput) SetCompressionType(v string) *TransformInput {
44788	s.CompressionType = &v
44789	return s
44790}
44791
44792// SetContentType sets the ContentType field's value.
44793func (s *TransformInput) SetContentType(v string) *TransformInput {
44794	s.ContentType = &v
44795	return s
44796}
44797
44798// SetDataSource sets the DataSource field's value.
44799func (s *TransformInput) SetDataSource(v *TransformDataSource) *TransformInput {
44800	s.DataSource = v
44801	return s
44802}
44803
44804// SetSplitType sets the SplitType field's value.
44805func (s *TransformInput) SetSplitType(v string) *TransformInput {
44806	s.SplitType = &v
44807	return s
44808}
44809
44810// A batch transform job. For information about SageMaker batch transform, see
44811// Use Batch Transform (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform.html).
44812type TransformJob struct {
44813	_ struct{} `type:"structure"`
44814
44815	// The Amazon Resource Name (ARN) of the AutoML job that created the transform
44816	// job.
44817	AutoMLJobArn *string `min:"1" type:"string"`
44818
44819	// Specifies the number of records to include in a mini-batch for an HTTP inference
44820	// request. A record is a single unit of input data that inference can be made
44821	// on. For example, a single line in a CSV file is a record.
44822	BatchStrategy *string `type:"string" enum:"BatchStrategy"`
44823
44824	// A timestamp that shows when the transform Job was created.
44825	CreationTime *time.Time `type:"timestamp"`
44826
44827	// The data structure used to specify the data to be used for inference in a
44828	// batch transform job and to associate the data that is relevant to the prediction
44829	// results in the output. The input filter provided allows you to exclude input
44830	// data that is not needed for inference in a batch transform job. The output
44831	// filter provided allows you to include input data relevant to interpreting
44832	// the predictions in the output from the job. For more information, see Associate
44833	// Prediction Results with their Corresponding Input Records (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html).
44834	DataProcessing *DataProcessing `type:"structure"`
44835
44836	// The environment variables to set in the Docker container. We support up to
44837	// 16 key and values entries in the map.
44838	Environment map[string]*string `type:"map"`
44839
44840	// Associates a SageMaker job as a trial component with an experiment and trial.
44841	// Specified when you call the following APIs:
44842	//
44843	//    * CreateProcessingJob
44844	//
44845	//    * CreateTrainingJob
44846	//
44847	//    * CreateTransformJob
44848	ExperimentConfig *ExperimentConfig `type:"structure"`
44849
44850	// If the transform job failed, the reason it failed.
44851	FailureReason *string `type:"string"`
44852
44853	// The Amazon Resource Name (ARN) of the labeling job that created the transform
44854	// job.
44855	LabelingJobArn *string `type:"string"`
44856
44857	// The maximum number of parallel requests that can be sent to each instance
44858	// in a transform job. If MaxConcurrentTransforms is set to 0 or left unset,
44859	// SageMaker checks the optional execution-parameters to determine the settings
44860	// for your chosen algorithm. If the execution-parameters endpoint is not enabled,
44861	// the default value is 1. For built-in algorithms, you don't need to set a
44862	// value for MaxConcurrentTransforms.
44863	MaxConcurrentTransforms *int64 `type:"integer"`
44864
44865	// The maximum allowed size of the payload, in MB. A payload is the data portion
44866	// of a record (without metadata). The value in MaxPayloadInMB must be greater
44867	// than, or equal to, the size of a single record. To estimate the size of a
44868	// record in MB, divide the size of your dataset by the number of records. To
44869	// ensure that the records fit within the maximum payload size, we recommend
44870	// using a slightly larger value. The default value is 6 MB. For cases where
44871	// the payload might be arbitrarily large and is transmitted using HTTP chunked
44872	// encoding, set the value to 0. This feature works only in supported algorithms.
44873	// Currently, SageMaker built-in algorithms do not support HTTP chunked encoding.
44874	MaxPayloadInMB *int64 `type:"integer"`
44875
44876	// Configures the timeout and maximum number of retries for processing a transform
44877	// job invocation.
44878	ModelClientConfig *ModelClientConfig `type:"structure"`
44879
44880	// The name of the model associated with the transform job.
44881	ModelName *string `type:"string"`
44882
44883	// A list of tags associated with the transform job.
44884	Tags []*Tag `type:"list"`
44885
44886	// Indicates when the transform job has been completed, or has stopped or failed.
44887	// You are billed for the time interval between this time and the value of TransformStartTime.
44888	TransformEndTime *time.Time `type:"timestamp"`
44889
44890	// Describes the input source of a transform job and the way the transform job
44891	// consumes it.
44892	TransformInput *TransformInput `type:"structure"`
44893
44894	// The Amazon Resource Name (ARN) of the transform job.
44895	TransformJobArn *string `type:"string"`
44896
44897	// The name of the transform job.
44898	TransformJobName *string `min:"1" type:"string"`
44899
44900	// The status of the transform job.
44901	//
44902	// Transform job statuses are:
44903	//
44904	//    * InProgress - The job is in progress.
44905	//
44906	//    * Completed - The job has completed.
44907	//
44908	//    * Failed - The transform job has failed. To see the reason for the failure,
44909	//    see the FailureReason field in the response to a DescribeTransformJob
44910	//    call.
44911	//
44912	//    * Stopping - The transform job is stopping.
44913	//
44914	//    * Stopped - The transform job has stopped.
44915	TransformJobStatus *string `type:"string" enum:"TransformJobStatus"`
44916
44917	// Describes the results of a transform job.
44918	TransformOutput *TransformOutput `type:"structure"`
44919
44920	// Describes the resources, including ML instance types and ML instance count,
44921	// to use for transform job.
44922	TransformResources *TransformResources `type:"structure"`
44923
44924	// Indicates when the transform job starts on ML instances. You are billed for
44925	// the time interval between this time and the value of TransformEndTime.
44926	TransformStartTime *time.Time `type:"timestamp"`
44927}
44928
44929// String returns the string representation
44930func (s TransformJob) String() string {
44931	return awsutil.Prettify(s)
44932}
44933
44934// GoString returns the string representation
44935func (s TransformJob) GoString() string {
44936	return s.String()
44937}
44938
44939// SetAutoMLJobArn sets the AutoMLJobArn field's value.
44940func (s *TransformJob) SetAutoMLJobArn(v string) *TransformJob {
44941	s.AutoMLJobArn = &v
44942	return s
44943}
44944
44945// SetBatchStrategy sets the BatchStrategy field's value.
44946func (s *TransformJob) SetBatchStrategy(v string) *TransformJob {
44947	s.BatchStrategy = &v
44948	return s
44949}
44950
44951// SetCreationTime sets the CreationTime field's value.
44952func (s *TransformJob) SetCreationTime(v time.Time) *TransformJob {
44953	s.CreationTime = &v
44954	return s
44955}
44956
44957// SetDataProcessing sets the DataProcessing field's value.
44958func (s *TransformJob) SetDataProcessing(v *DataProcessing) *TransformJob {
44959	s.DataProcessing = v
44960	return s
44961}
44962
44963// SetEnvironment sets the Environment field's value.
44964func (s *TransformJob) SetEnvironment(v map[string]*string) *TransformJob {
44965	s.Environment = v
44966	return s
44967}
44968
44969// SetExperimentConfig sets the ExperimentConfig field's value.
44970func (s *TransformJob) SetExperimentConfig(v *ExperimentConfig) *TransformJob {
44971	s.ExperimentConfig = v
44972	return s
44973}
44974
44975// SetFailureReason sets the FailureReason field's value.
44976func (s *TransformJob) SetFailureReason(v string) *TransformJob {
44977	s.FailureReason = &v
44978	return s
44979}
44980
44981// SetLabelingJobArn sets the LabelingJobArn field's value.
44982func (s *TransformJob) SetLabelingJobArn(v string) *TransformJob {
44983	s.LabelingJobArn = &v
44984	return s
44985}
44986
44987// SetMaxConcurrentTransforms sets the MaxConcurrentTransforms field's value.
44988func (s *TransformJob) SetMaxConcurrentTransforms(v int64) *TransformJob {
44989	s.MaxConcurrentTransforms = &v
44990	return s
44991}
44992
44993// SetMaxPayloadInMB sets the MaxPayloadInMB field's value.
44994func (s *TransformJob) SetMaxPayloadInMB(v int64) *TransformJob {
44995	s.MaxPayloadInMB = &v
44996	return s
44997}
44998
44999// SetModelClientConfig sets the ModelClientConfig field's value.
45000func (s *TransformJob) SetModelClientConfig(v *ModelClientConfig) *TransformJob {
45001	s.ModelClientConfig = v
45002	return s
45003}
45004
45005// SetModelName sets the ModelName field's value.
45006func (s *TransformJob) SetModelName(v string) *TransformJob {
45007	s.ModelName = &v
45008	return s
45009}
45010
45011// SetTags sets the Tags field's value.
45012func (s *TransformJob) SetTags(v []*Tag) *TransformJob {
45013	s.Tags = v
45014	return s
45015}
45016
45017// SetTransformEndTime sets the TransformEndTime field's value.
45018func (s *TransformJob) SetTransformEndTime(v time.Time) *TransformJob {
45019	s.TransformEndTime = &v
45020	return s
45021}
45022
45023// SetTransformInput sets the TransformInput field's value.
45024func (s *TransformJob) SetTransformInput(v *TransformInput) *TransformJob {
45025	s.TransformInput = v
45026	return s
45027}
45028
45029// SetTransformJobArn sets the TransformJobArn field's value.
45030func (s *TransformJob) SetTransformJobArn(v string) *TransformJob {
45031	s.TransformJobArn = &v
45032	return s
45033}
45034
45035// SetTransformJobName sets the TransformJobName field's value.
45036func (s *TransformJob) SetTransformJobName(v string) *TransformJob {
45037	s.TransformJobName = &v
45038	return s
45039}
45040
45041// SetTransformJobStatus sets the TransformJobStatus field's value.
45042func (s *TransformJob) SetTransformJobStatus(v string) *TransformJob {
45043	s.TransformJobStatus = &v
45044	return s
45045}
45046
45047// SetTransformOutput sets the TransformOutput field's value.
45048func (s *TransformJob) SetTransformOutput(v *TransformOutput) *TransformJob {
45049	s.TransformOutput = v
45050	return s
45051}
45052
45053// SetTransformResources sets the TransformResources field's value.
45054func (s *TransformJob) SetTransformResources(v *TransformResources) *TransformJob {
45055	s.TransformResources = v
45056	return s
45057}
45058
45059// SetTransformStartTime sets the TransformStartTime field's value.
45060func (s *TransformJob) SetTransformStartTime(v time.Time) *TransformJob {
45061	s.TransformStartTime = &v
45062	return s
45063}
45064
45065// Defines the input needed to run a transform job using the inference specification
45066// specified in the algorithm.
45067type TransformJobDefinition struct {
45068	_ struct{} `type:"structure"`
45069
45070	// A string that determines the number of records included in a single mini-batch.
45071	//
45072	// SingleRecord means only one record is used per mini-batch. MultiRecord means
45073	// a mini-batch is set to contain as many records that can fit within the MaxPayloadInMB
45074	// limit.
45075	BatchStrategy *string `type:"string" enum:"BatchStrategy"`
45076
45077	// The environment variables to set in the Docker container. We support up to
45078	// 16 key and values entries in the map.
45079	Environment map[string]*string `type:"map"`
45080
45081	// The maximum number of parallel requests that can be sent to each instance
45082	// in a transform job. The default value is 1.
45083	MaxConcurrentTransforms *int64 `type:"integer"`
45084
45085	// The maximum payload size allowed, in MB. A payload is the data portion of
45086	// a record (without metadata).
45087	MaxPayloadInMB *int64 `type:"integer"`
45088
45089	// A description of the input source and the way the transform job consumes
45090	// it.
45091	//
45092	// TransformInput is a required field
45093	TransformInput *TransformInput `type:"structure" required:"true"`
45094
45095	// Identifies the Amazon S3 location where you want Amazon SageMaker to save
45096	// the results from the transform job.
45097	//
45098	// TransformOutput is a required field
45099	TransformOutput *TransformOutput `type:"structure" required:"true"`
45100
45101	// Identifies the ML compute instances for the transform job.
45102	//
45103	// TransformResources is a required field
45104	TransformResources *TransformResources `type:"structure" required:"true"`
45105}
45106
45107// String returns the string representation
45108func (s TransformJobDefinition) String() string {
45109	return awsutil.Prettify(s)
45110}
45111
45112// GoString returns the string representation
45113func (s TransformJobDefinition) GoString() string {
45114	return s.String()
45115}
45116
45117// Validate inspects the fields of the type to determine if they are valid.
45118func (s *TransformJobDefinition) Validate() error {
45119	invalidParams := request.ErrInvalidParams{Context: "TransformJobDefinition"}
45120	if s.TransformInput == nil {
45121		invalidParams.Add(request.NewErrParamRequired("TransformInput"))
45122	}
45123	if s.TransformOutput == nil {
45124		invalidParams.Add(request.NewErrParamRequired("TransformOutput"))
45125	}
45126	if s.TransformResources == nil {
45127		invalidParams.Add(request.NewErrParamRequired("TransformResources"))
45128	}
45129	if s.TransformInput != nil {
45130		if err := s.TransformInput.Validate(); err != nil {
45131			invalidParams.AddNested("TransformInput", err.(request.ErrInvalidParams))
45132		}
45133	}
45134	if s.TransformOutput != nil {
45135		if err := s.TransformOutput.Validate(); err != nil {
45136			invalidParams.AddNested("TransformOutput", err.(request.ErrInvalidParams))
45137		}
45138	}
45139	if s.TransformResources != nil {
45140		if err := s.TransformResources.Validate(); err != nil {
45141			invalidParams.AddNested("TransformResources", err.(request.ErrInvalidParams))
45142		}
45143	}
45144
45145	if invalidParams.Len() > 0 {
45146		return invalidParams
45147	}
45148	return nil
45149}
45150
45151// SetBatchStrategy sets the BatchStrategy field's value.
45152func (s *TransformJobDefinition) SetBatchStrategy(v string) *TransformJobDefinition {
45153	s.BatchStrategy = &v
45154	return s
45155}
45156
45157// SetEnvironment sets the Environment field's value.
45158func (s *TransformJobDefinition) SetEnvironment(v map[string]*string) *TransformJobDefinition {
45159	s.Environment = v
45160	return s
45161}
45162
45163// SetMaxConcurrentTransforms sets the MaxConcurrentTransforms field's value.
45164func (s *TransformJobDefinition) SetMaxConcurrentTransforms(v int64) *TransformJobDefinition {
45165	s.MaxConcurrentTransforms = &v
45166	return s
45167}
45168
45169// SetMaxPayloadInMB sets the MaxPayloadInMB field's value.
45170func (s *TransformJobDefinition) SetMaxPayloadInMB(v int64) *TransformJobDefinition {
45171	s.MaxPayloadInMB = &v
45172	return s
45173}
45174
45175// SetTransformInput sets the TransformInput field's value.
45176func (s *TransformJobDefinition) SetTransformInput(v *TransformInput) *TransformJobDefinition {
45177	s.TransformInput = v
45178	return s
45179}
45180
45181// SetTransformOutput sets the TransformOutput field's value.
45182func (s *TransformJobDefinition) SetTransformOutput(v *TransformOutput) *TransformJobDefinition {
45183	s.TransformOutput = v
45184	return s
45185}
45186
45187// SetTransformResources sets the TransformResources field's value.
45188func (s *TransformJobDefinition) SetTransformResources(v *TransformResources) *TransformJobDefinition {
45189	s.TransformResources = v
45190	return s
45191}
45192
45193// Provides a summary of a transform job. Multiple TransformJobSummary objects
45194// are returned as a list after in response to a ListTransformJobs call.
45195type TransformJobSummary struct {
45196	_ struct{} `type:"structure"`
45197
45198	// A timestamp that shows when the transform Job was created.
45199	//
45200	// CreationTime is a required field
45201	CreationTime *time.Time `type:"timestamp" required:"true"`
45202
45203	// If the transform job failed, the reason it failed.
45204	FailureReason *string `type:"string"`
45205
45206	// Indicates when the transform job was last modified.
45207	LastModifiedTime *time.Time `type:"timestamp"`
45208
45209	// Indicates when the transform job ends on compute instances. For successful
45210	// jobs and stopped jobs, this is the exact time recorded after the results
45211	// are uploaded. For failed jobs, this is when Amazon SageMaker detected that
45212	// the job failed.
45213	TransformEndTime *time.Time `type:"timestamp"`
45214
45215	// The Amazon Resource Name (ARN) of the transform job.
45216	//
45217	// TransformJobArn is a required field
45218	TransformJobArn *string `type:"string" required:"true"`
45219
45220	// The name of the transform job.
45221	//
45222	// TransformJobName is a required field
45223	TransformJobName *string `min:"1" type:"string" required:"true"`
45224
45225	// The status of the transform job.
45226	//
45227	// TransformJobStatus is a required field
45228	TransformJobStatus *string `type:"string" required:"true" enum:"TransformJobStatus"`
45229}
45230
45231// String returns the string representation
45232func (s TransformJobSummary) String() string {
45233	return awsutil.Prettify(s)
45234}
45235
45236// GoString returns the string representation
45237func (s TransformJobSummary) GoString() string {
45238	return s.String()
45239}
45240
45241// SetCreationTime sets the CreationTime field's value.
45242func (s *TransformJobSummary) SetCreationTime(v time.Time) *TransformJobSummary {
45243	s.CreationTime = &v
45244	return s
45245}
45246
45247// SetFailureReason sets the FailureReason field's value.
45248func (s *TransformJobSummary) SetFailureReason(v string) *TransformJobSummary {
45249	s.FailureReason = &v
45250	return s
45251}
45252
45253// SetLastModifiedTime sets the LastModifiedTime field's value.
45254func (s *TransformJobSummary) SetLastModifiedTime(v time.Time) *TransformJobSummary {
45255	s.LastModifiedTime = &v
45256	return s
45257}
45258
45259// SetTransformEndTime sets the TransformEndTime field's value.
45260func (s *TransformJobSummary) SetTransformEndTime(v time.Time) *TransformJobSummary {
45261	s.TransformEndTime = &v
45262	return s
45263}
45264
45265// SetTransformJobArn sets the TransformJobArn field's value.
45266func (s *TransformJobSummary) SetTransformJobArn(v string) *TransformJobSummary {
45267	s.TransformJobArn = &v
45268	return s
45269}
45270
45271// SetTransformJobName sets the TransformJobName field's value.
45272func (s *TransformJobSummary) SetTransformJobName(v string) *TransformJobSummary {
45273	s.TransformJobName = &v
45274	return s
45275}
45276
45277// SetTransformJobStatus sets the TransformJobStatus field's value.
45278func (s *TransformJobSummary) SetTransformJobStatus(v string) *TransformJobSummary {
45279	s.TransformJobStatus = &v
45280	return s
45281}
45282
45283// Describes the results of a transform job.
45284type TransformOutput struct {
45285	_ struct{} `type:"structure"`
45286
45287	// The MIME type used to specify the output data. Amazon SageMaker uses the
45288	// MIME type with each http call to transfer data from the transform job.
45289	Accept *string `type:"string"`
45290
45291	// Defines how to assemble the results of the transform job as a single S3 object.
45292	// Choose a format that is most convenient to you. To concatenate the results
45293	// in binary format, specify None. To add a newline character at the end of
45294	// every transformed record, specify Line.
45295	AssembleWith *string `type:"string" enum:"AssemblyType"`
45296
45297	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
45298	// encrypt the model artifacts at rest using Amazon S3 server-side encryption.
45299	// The KmsKeyId can be any of the following formats:
45300	//
45301	//    * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
45302	//
45303	//    * Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
45304	//
45305	//    * Alias name: alias/ExampleAlias
45306	//
45307	//    * Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
45308	//
45309	// If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS
45310	// key for Amazon S3 for your role's account. For more information, see KMS-Managed
45311	// Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html)
45312	// in the Amazon Simple Storage Service Developer Guide.
45313	//
45314	// The KMS key policy must grant permission to the IAM role that you specify
45315	// in your CreateModel request. For more information, see Using Key Policies
45316	// in AWS KMS (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html)
45317	// in the AWS Key Management Service Developer Guide.
45318	KmsKeyId *string `type:"string"`
45319
45320	// The Amazon S3 path where you want Amazon SageMaker to store the results of
45321	// the transform job. For example, s3://bucket-name/key-name-prefix.
45322	//
45323	// For every S3 object used as input for the transform job, batch transform
45324	// stores the transformed data with an .out suffix in a corresponding subfolder
45325	// in the location in the output prefix. For example, for the input data stored
45326	// at s3://bucket-name/input-name-prefix/dataset01/data.csv, batch transform
45327	// stores the transformed data at s3://bucket-name/output-name-prefix/input-name-prefix/data.csv.out.
45328	// Batch transform doesn't upload partially processed objects. For an input
45329	// S3 object that contains multiple records, it creates an .out file only if
45330	// the transform job succeeds on the entire file. When the input contains multiple
45331	// S3 objects, the batch transform job processes the listed S3 objects and uploads
45332	// only the output for successfully processed objects. If any object fails in
45333	// the transform job batch transform marks the job as failed to prompt investigation.
45334	//
45335	// S3OutputPath is a required field
45336	S3OutputPath *string `type:"string" required:"true"`
45337}
45338
45339// String returns the string representation
45340func (s TransformOutput) String() string {
45341	return awsutil.Prettify(s)
45342}
45343
45344// GoString returns the string representation
45345func (s TransformOutput) GoString() string {
45346	return s.String()
45347}
45348
45349// Validate inspects the fields of the type to determine if they are valid.
45350func (s *TransformOutput) Validate() error {
45351	invalidParams := request.ErrInvalidParams{Context: "TransformOutput"}
45352	if s.S3OutputPath == nil {
45353		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
45354	}
45355
45356	if invalidParams.Len() > 0 {
45357		return invalidParams
45358	}
45359	return nil
45360}
45361
45362// SetAccept sets the Accept field's value.
45363func (s *TransformOutput) SetAccept(v string) *TransformOutput {
45364	s.Accept = &v
45365	return s
45366}
45367
45368// SetAssembleWith sets the AssembleWith field's value.
45369func (s *TransformOutput) SetAssembleWith(v string) *TransformOutput {
45370	s.AssembleWith = &v
45371	return s
45372}
45373
45374// SetKmsKeyId sets the KmsKeyId field's value.
45375func (s *TransformOutput) SetKmsKeyId(v string) *TransformOutput {
45376	s.KmsKeyId = &v
45377	return s
45378}
45379
45380// SetS3OutputPath sets the S3OutputPath field's value.
45381func (s *TransformOutput) SetS3OutputPath(v string) *TransformOutput {
45382	s.S3OutputPath = &v
45383	return s
45384}
45385
45386// Describes the resources, including ML instance types and ML instance count,
45387// to use for transform job.
45388type TransformResources struct {
45389	_ struct{} `type:"structure"`
45390
45391	// The number of ML compute instances to use in the transform job. For distributed
45392	// transform jobs, specify a value greater than 1. The default value is 1.
45393	//
45394	// InstanceCount is a required field
45395	InstanceCount *int64 `min:"1" type:"integer" required:"true"`
45396
45397	// The ML compute instance type for the transform job. If you are using built-in
45398	// algorithms to transform moderately sized datasets, we recommend using ml.m4.xlarge
45399	// or ml.m5.large instance types.
45400	//
45401	// InstanceType is a required field
45402	InstanceType *string `type:"string" required:"true" enum:"TransformInstanceType"`
45403
45404	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
45405	// encrypt model data on the storage volume attached to the ML compute instance(s)
45406	// that run the batch transform job. The VolumeKmsKeyId can be any of the following
45407	// formats:
45408	//
45409	//    * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
45410	//
45411	//    * Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
45412	//
45413	//    * Alias name: alias/ExampleAlias
45414	//
45415	//    * Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
45416	VolumeKmsKeyId *string `type:"string"`
45417}
45418
45419// String returns the string representation
45420func (s TransformResources) String() string {
45421	return awsutil.Prettify(s)
45422}
45423
45424// GoString returns the string representation
45425func (s TransformResources) GoString() string {
45426	return s.String()
45427}
45428
45429// Validate inspects the fields of the type to determine if they are valid.
45430func (s *TransformResources) Validate() error {
45431	invalidParams := request.ErrInvalidParams{Context: "TransformResources"}
45432	if s.InstanceCount == nil {
45433		invalidParams.Add(request.NewErrParamRequired("InstanceCount"))
45434	}
45435	if s.InstanceCount != nil && *s.InstanceCount < 1 {
45436		invalidParams.Add(request.NewErrParamMinValue("InstanceCount", 1))
45437	}
45438	if s.InstanceType == nil {
45439		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
45440	}
45441
45442	if invalidParams.Len() > 0 {
45443		return invalidParams
45444	}
45445	return nil
45446}
45447
45448// SetInstanceCount sets the InstanceCount field's value.
45449func (s *TransformResources) SetInstanceCount(v int64) *TransformResources {
45450	s.InstanceCount = &v
45451	return s
45452}
45453
45454// SetInstanceType sets the InstanceType field's value.
45455func (s *TransformResources) SetInstanceType(v string) *TransformResources {
45456	s.InstanceType = &v
45457	return s
45458}
45459
45460// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
45461func (s *TransformResources) SetVolumeKmsKeyId(v string) *TransformResources {
45462	s.VolumeKmsKeyId = &v
45463	return s
45464}
45465
45466// Describes the S3 data source.
45467type TransformS3DataSource struct {
45468	_ struct{} `type:"structure"`
45469
45470	// If you choose S3Prefix, S3Uri identifies a key name prefix. Amazon SageMaker
45471	// uses all objects with the specified key name prefix for batch transform.
45472	//
45473	// If you choose ManifestFile, S3Uri identifies an object that is a manifest
45474	// file containing a list of object keys that you want Amazon SageMaker to use
45475	// for batch transform.
45476	//
45477	// The following values are compatible: ManifestFile, S3Prefix
45478	//
45479	// The following value is not compatible: AugmentedManifestFile
45480	//
45481	// S3DataType is a required field
45482	S3DataType *string `type:"string" required:"true" enum:"S3DataType"`
45483
45484	// Depending on the value specified for the S3DataType, identifies either a
45485	// key name prefix or a manifest. For example:
45486	//
45487	//    * A key name prefix might look like this: s3://bucketname/exampleprefix.
45488	//
45489	//    * A manifest might look like this: s3://bucketname/example.manifest The
45490	//    manifest is an S3 object which is a JSON file with the following format:
45491	//    [ {"prefix": "s3://customer_bucket/some/prefix/"}, "relative/path/to/custdata-1",
45492	//    "relative/path/custdata-2", ... "relative/path/custdata-N" ] The preceding
45493	//    JSON matches the following S3Uris: s3://customer_bucket/some/prefix/relative/path/to/custdata-1
45494	//    s3://customer_bucket/some/prefix/relative/path/custdata-2 ... s3://customer_bucket/some/prefix/relative/path/custdata-N
45495	//    The complete set of S3Uris in this manifest constitutes the input data
45496	//    for the channel for this datasource. The object that each S3Uris points
45497	//    to must be readable by the IAM role that Amazon SageMaker uses to perform
45498	//    tasks on your behalf.
45499	//
45500	// S3Uri is a required field
45501	S3Uri *string `type:"string" required:"true"`
45502}
45503
45504// String returns the string representation
45505func (s TransformS3DataSource) String() string {
45506	return awsutil.Prettify(s)
45507}
45508
45509// GoString returns the string representation
45510func (s TransformS3DataSource) GoString() string {
45511	return s.String()
45512}
45513
45514// Validate inspects the fields of the type to determine if they are valid.
45515func (s *TransformS3DataSource) Validate() error {
45516	invalidParams := request.ErrInvalidParams{Context: "TransformS3DataSource"}
45517	if s.S3DataType == nil {
45518		invalidParams.Add(request.NewErrParamRequired("S3DataType"))
45519	}
45520	if s.S3Uri == nil {
45521		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
45522	}
45523
45524	if invalidParams.Len() > 0 {
45525		return invalidParams
45526	}
45527	return nil
45528}
45529
45530// SetS3DataType sets the S3DataType field's value.
45531func (s *TransformS3DataSource) SetS3DataType(v string) *TransformS3DataSource {
45532	s.S3DataType = &v
45533	return s
45534}
45535
45536// SetS3Uri sets the S3Uri field's value.
45537func (s *TransformS3DataSource) SetS3Uri(v string) *TransformS3DataSource {
45538	s.S3Uri = &v
45539	return s
45540}
45541
45542// The properties of a trial as returned by the Search API.
45543type Trial struct {
45544	_ struct{} `type:"structure"`
45545
45546	// Information about the user who created or modified an experiment, trial,
45547	// or trial component.
45548	CreatedBy *UserContext `type:"structure"`
45549
45550	// When the trial was created.
45551	CreationTime *time.Time `type:"timestamp"`
45552
45553	// The name of the trial as displayed. If DisplayName isn't specified, TrialName
45554	// is displayed.
45555	DisplayName *string `min:"1" type:"string"`
45556
45557	// The name of the experiment the trial is part of.
45558	ExperimentName *string `min:"1" type:"string"`
45559
45560	// Information about the user who created or modified an experiment, trial,
45561	// or trial component.
45562	LastModifiedBy *UserContext `type:"structure"`
45563
45564	// Who last modified the trial.
45565	LastModifiedTime *time.Time `type:"timestamp"`
45566
45567	// The source of the trial.
45568	Source *TrialSource `type:"structure"`
45569
45570	// The list of tags that are associated with the trial. You can use Search API
45571	// to search on the tags.
45572	Tags []*Tag `type:"list"`
45573
45574	// The Amazon Resource Name (ARN) of the trial.
45575	TrialArn *string `type:"string"`
45576
45577	// A list of the components associated with the trial. For each component, a
45578	// summary of the component's properties is included.
45579	TrialComponentSummaries []*TrialComponentSimpleSummary `type:"list"`
45580
45581	// The name of the trial.
45582	TrialName *string `min:"1" type:"string"`
45583}
45584
45585// String returns the string representation
45586func (s Trial) String() string {
45587	return awsutil.Prettify(s)
45588}
45589
45590// GoString returns the string representation
45591func (s Trial) GoString() string {
45592	return s.String()
45593}
45594
45595// SetCreatedBy sets the CreatedBy field's value.
45596func (s *Trial) SetCreatedBy(v *UserContext) *Trial {
45597	s.CreatedBy = v
45598	return s
45599}
45600
45601// SetCreationTime sets the CreationTime field's value.
45602func (s *Trial) SetCreationTime(v time.Time) *Trial {
45603	s.CreationTime = &v
45604	return s
45605}
45606
45607// SetDisplayName sets the DisplayName field's value.
45608func (s *Trial) SetDisplayName(v string) *Trial {
45609	s.DisplayName = &v
45610	return s
45611}
45612
45613// SetExperimentName sets the ExperimentName field's value.
45614func (s *Trial) SetExperimentName(v string) *Trial {
45615	s.ExperimentName = &v
45616	return s
45617}
45618
45619// SetLastModifiedBy sets the LastModifiedBy field's value.
45620func (s *Trial) SetLastModifiedBy(v *UserContext) *Trial {
45621	s.LastModifiedBy = v
45622	return s
45623}
45624
45625// SetLastModifiedTime sets the LastModifiedTime field's value.
45626func (s *Trial) SetLastModifiedTime(v time.Time) *Trial {
45627	s.LastModifiedTime = &v
45628	return s
45629}
45630
45631// SetSource sets the Source field's value.
45632func (s *Trial) SetSource(v *TrialSource) *Trial {
45633	s.Source = v
45634	return s
45635}
45636
45637// SetTags sets the Tags field's value.
45638func (s *Trial) SetTags(v []*Tag) *Trial {
45639	s.Tags = v
45640	return s
45641}
45642
45643// SetTrialArn sets the TrialArn field's value.
45644func (s *Trial) SetTrialArn(v string) *Trial {
45645	s.TrialArn = &v
45646	return s
45647}
45648
45649// SetTrialComponentSummaries sets the TrialComponentSummaries field's value.
45650func (s *Trial) SetTrialComponentSummaries(v []*TrialComponentSimpleSummary) *Trial {
45651	s.TrialComponentSummaries = v
45652	return s
45653}
45654
45655// SetTrialName sets the TrialName field's value.
45656func (s *Trial) SetTrialName(v string) *Trial {
45657	s.TrialName = &v
45658	return s
45659}
45660
45661// The properties of a trial component as returned by the Search API.
45662type TrialComponent struct {
45663	_ struct{} `type:"structure"`
45664
45665	// Information about the user who created or modified an experiment, trial,
45666	// or trial component.
45667	CreatedBy *UserContext `type:"structure"`
45668
45669	// When the component was created.
45670	CreationTime *time.Time `type:"timestamp"`
45671
45672	// The name of the component as displayed. If DisplayName isn't specified, TrialComponentName
45673	// is displayed.
45674	DisplayName *string `min:"1" type:"string"`
45675
45676	// When the component ended.
45677	EndTime *time.Time `type:"timestamp"`
45678
45679	// The input artifacts of the component.
45680	InputArtifacts map[string]*TrialComponentArtifact `type:"map"`
45681
45682	// Information about the user who created or modified an experiment, trial,
45683	// or trial component.
45684	LastModifiedBy *UserContext `type:"structure"`
45685
45686	// When the component was last modified.
45687	LastModifiedTime *time.Time `type:"timestamp"`
45688
45689	// The metrics for the component.
45690	Metrics []*TrialComponentMetricSummary `type:"list"`
45691
45692	// The output artifacts of the component.
45693	OutputArtifacts map[string]*TrialComponentArtifact `type:"map"`
45694
45695	// The hyperparameters of the component.
45696	Parameters map[string]*TrialComponentParameterValue `type:"map"`
45697
45698	// An array of the parents of the component. A parent is a trial the component
45699	// is associated with and the experiment the trial is part of. A component might
45700	// not have any parents.
45701	Parents []*Parent `type:"list"`
45702
45703	// The Amazon Resource Name (ARN) and job type of the source of the component.
45704	Source *TrialComponentSource `type:"structure"`
45705
45706	// Details of the source of the component.
45707	SourceDetail *TrialComponentSourceDetail `type:"structure"`
45708
45709	// When the component started.
45710	StartTime *time.Time `type:"timestamp"`
45711
45712	// The status of the trial component.
45713	Status *TrialComponentStatus `type:"structure"`
45714
45715	// The list of tags that are associated with the component. You can use Search
45716	// API to search on the tags.
45717	Tags []*Tag `type:"list"`
45718
45719	// The Amazon Resource Name (ARN) of the trial component.
45720	TrialComponentArn *string `type:"string"`
45721
45722	// The name of the trial component.
45723	TrialComponentName *string `min:"1" type:"string"`
45724}
45725
45726// String returns the string representation
45727func (s TrialComponent) String() string {
45728	return awsutil.Prettify(s)
45729}
45730
45731// GoString returns the string representation
45732func (s TrialComponent) GoString() string {
45733	return s.String()
45734}
45735
45736// SetCreatedBy sets the CreatedBy field's value.
45737func (s *TrialComponent) SetCreatedBy(v *UserContext) *TrialComponent {
45738	s.CreatedBy = v
45739	return s
45740}
45741
45742// SetCreationTime sets the CreationTime field's value.
45743func (s *TrialComponent) SetCreationTime(v time.Time) *TrialComponent {
45744	s.CreationTime = &v
45745	return s
45746}
45747
45748// SetDisplayName sets the DisplayName field's value.
45749func (s *TrialComponent) SetDisplayName(v string) *TrialComponent {
45750	s.DisplayName = &v
45751	return s
45752}
45753
45754// SetEndTime sets the EndTime field's value.
45755func (s *TrialComponent) SetEndTime(v time.Time) *TrialComponent {
45756	s.EndTime = &v
45757	return s
45758}
45759
45760// SetInputArtifacts sets the InputArtifacts field's value.
45761func (s *TrialComponent) SetInputArtifacts(v map[string]*TrialComponentArtifact) *TrialComponent {
45762	s.InputArtifacts = v
45763	return s
45764}
45765
45766// SetLastModifiedBy sets the LastModifiedBy field's value.
45767func (s *TrialComponent) SetLastModifiedBy(v *UserContext) *TrialComponent {
45768	s.LastModifiedBy = v
45769	return s
45770}
45771
45772// SetLastModifiedTime sets the LastModifiedTime field's value.
45773func (s *TrialComponent) SetLastModifiedTime(v time.Time) *TrialComponent {
45774	s.LastModifiedTime = &v
45775	return s
45776}
45777
45778// SetMetrics sets the Metrics field's value.
45779func (s *TrialComponent) SetMetrics(v []*TrialComponentMetricSummary) *TrialComponent {
45780	s.Metrics = v
45781	return s
45782}
45783
45784// SetOutputArtifacts sets the OutputArtifacts field's value.
45785func (s *TrialComponent) SetOutputArtifacts(v map[string]*TrialComponentArtifact) *TrialComponent {
45786	s.OutputArtifacts = v
45787	return s
45788}
45789
45790// SetParameters sets the Parameters field's value.
45791func (s *TrialComponent) SetParameters(v map[string]*TrialComponentParameterValue) *TrialComponent {
45792	s.Parameters = v
45793	return s
45794}
45795
45796// SetParents sets the Parents field's value.
45797func (s *TrialComponent) SetParents(v []*Parent) *TrialComponent {
45798	s.Parents = v
45799	return s
45800}
45801
45802// SetSource sets the Source field's value.
45803func (s *TrialComponent) SetSource(v *TrialComponentSource) *TrialComponent {
45804	s.Source = v
45805	return s
45806}
45807
45808// SetSourceDetail sets the SourceDetail field's value.
45809func (s *TrialComponent) SetSourceDetail(v *TrialComponentSourceDetail) *TrialComponent {
45810	s.SourceDetail = v
45811	return s
45812}
45813
45814// SetStartTime sets the StartTime field's value.
45815func (s *TrialComponent) SetStartTime(v time.Time) *TrialComponent {
45816	s.StartTime = &v
45817	return s
45818}
45819
45820// SetStatus sets the Status field's value.
45821func (s *TrialComponent) SetStatus(v *TrialComponentStatus) *TrialComponent {
45822	s.Status = v
45823	return s
45824}
45825
45826// SetTags sets the Tags field's value.
45827func (s *TrialComponent) SetTags(v []*Tag) *TrialComponent {
45828	s.Tags = v
45829	return s
45830}
45831
45832// SetTrialComponentArn sets the TrialComponentArn field's value.
45833func (s *TrialComponent) SetTrialComponentArn(v string) *TrialComponent {
45834	s.TrialComponentArn = &v
45835	return s
45836}
45837
45838// SetTrialComponentName sets the TrialComponentName field's value.
45839func (s *TrialComponent) SetTrialComponentName(v string) *TrialComponent {
45840	s.TrialComponentName = &v
45841	return s
45842}
45843
45844// Represents an input or output artifact of a trial component. You specify
45845// TrialComponentArtifact as part of the InputArtifacts and OutputArtifacts
45846// parameters in the CreateTrialComponent request.
45847//
45848// Examples of input artifacts are datasets, algorithms, hyperparameters, source
45849// code, and instance types. Examples of output artifacts are metrics, snapshots,
45850// logs, and images.
45851type TrialComponentArtifact struct {
45852	_ struct{} `type:"structure"`
45853
45854	// The media type of the artifact, which indicates the type of data in the artifact
45855	// file. The media type consists of a type and a subtype concatenated with a
45856	// slash (/) character, for example, text/csv, image/jpeg, and s3/uri. The type
45857	// specifies the category of the media. The subtype specifies the kind of data.
45858	MediaType *string `type:"string"`
45859
45860	// The location of the artifact.
45861	//
45862	// Value is a required field
45863	Value *string `type:"string" required:"true"`
45864}
45865
45866// String returns the string representation
45867func (s TrialComponentArtifact) String() string {
45868	return awsutil.Prettify(s)
45869}
45870
45871// GoString returns the string representation
45872func (s TrialComponentArtifact) GoString() string {
45873	return s.String()
45874}
45875
45876// Validate inspects the fields of the type to determine if they are valid.
45877func (s *TrialComponentArtifact) Validate() error {
45878	invalidParams := request.ErrInvalidParams{Context: "TrialComponentArtifact"}
45879	if s.Value == nil {
45880		invalidParams.Add(request.NewErrParamRequired("Value"))
45881	}
45882
45883	if invalidParams.Len() > 0 {
45884		return invalidParams
45885	}
45886	return nil
45887}
45888
45889// SetMediaType sets the MediaType field's value.
45890func (s *TrialComponentArtifact) SetMediaType(v string) *TrialComponentArtifact {
45891	s.MediaType = &v
45892	return s
45893}
45894
45895// SetValue sets the Value field's value.
45896func (s *TrialComponentArtifact) SetValue(v string) *TrialComponentArtifact {
45897	s.Value = &v
45898	return s
45899}
45900
45901// A summary of the metrics of a trial component.
45902type TrialComponentMetricSummary struct {
45903	_ struct{} `type:"structure"`
45904
45905	// The average value of the metric.
45906	Avg *float64 `type:"double"`
45907
45908	// The number of samples used to generate the metric.
45909	Count *int64 `type:"integer"`
45910
45911	// The most recent value of the metric.
45912	Last *float64 `type:"double"`
45913
45914	// The maximum value of the metric.
45915	Max *float64 `type:"double"`
45916
45917	// The name of the metric.
45918	MetricName *string `min:"1" type:"string"`
45919
45920	// The minimum value of the metric.
45921	Min *float64 `type:"double"`
45922
45923	// The Amazon Resource Name (ARN) of the source.
45924	SourceArn *string `type:"string"`
45925
45926	// The standard deviation of the metric.
45927	StdDev *float64 `type:"double"`
45928
45929	// When the metric was last updated.
45930	TimeStamp *time.Time `type:"timestamp"`
45931}
45932
45933// String returns the string representation
45934func (s TrialComponentMetricSummary) String() string {
45935	return awsutil.Prettify(s)
45936}
45937
45938// GoString returns the string representation
45939func (s TrialComponentMetricSummary) GoString() string {
45940	return s.String()
45941}
45942
45943// SetAvg sets the Avg field's value.
45944func (s *TrialComponentMetricSummary) SetAvg(v float64) *TrialComponentMetricSummary {
45945	s.Avg = &v
45946	return s
45947}
45948
45949// SetCount sets the Count field's value.
45950func (s *TrialComponentMetricSummary) SetCount(v int64) *TrialComponentMetricSummary {
45951	s.Count = &v
45952	return s
45953}
45954
45955// SetLast sets the Last field's value.
45956func (s *TrialComponentMetricSummary) SetLast(v float64) *TrialComponentMetricSummary {
45957	s.Last = &v
45958	return s
45959}
45960
45961// SetMax sets the Max field's value.
45962func (s *TrialComponentMetricSummary) SetMax(v float64) *TrialComponentMetricSummary {
45963	s.Max = &v
45964	return s
45965}
45966
45967// SetMetricName sets the MetricName field's value.
45968func (s *TrialComponentMetricSummary) SetMetricName(v string) *TrialComponentMetricSummary {
45969	s.MetricName = &v
45970	return s
45971}
45972
45973// SetMin sets the Min field's value.
45974func (s *TrialComponentMetricSummary) SetMin(v float64) *TrialComponentMetricSummary {
45975	s.Min = &v
45976	return s
45977}
45978
45979// SetSourceArn sets the SourceArn field's value.
45980func (s *TrialComponentMetricSummary) SetSourceArn(v string) *TrialComponentMetricSummary {
45981	s.SourceArn = &v
45982	return s
45983}
45984
45985// SetStdDev sets the StdDev field's value.
45986func (s *TrialComponentMetricSummary) SetStdDev(v float64) *TrialComponentMetricSummary {
45987	s.StdDev = &v
45988	return s
45989}
45990
45991// SetTimeStamp sets the TimeStamp field's value.
45992func (s *TrialComponentMetricSummary) SetTimeStamp(v time.Time) *TrialComponentMetricSummary {
45993	s.TimeStamp = &v
45994	return s
45995}
45996
45997// The value of a hyperparameter. Only one of NumberValue or StringValue can
45998// be specified.
45999//
46000// This object is specified in the CreateTrialComponent request.
46001type TrialComponentParameterValue struct {
46002	_ struct{} `type:"structure"`
46003
46004	// The numeric value of a numeric hyperparameter. If you specify a value for
46005	// this parameter, you can't specify the StringValue parameter.
46006	NumberValue *float64 `type:"double"`
46007
46008	// The string value of a categorical hyperparameter. If you specify a value
46009	// for this parameter, you can't specify the NumberValue parameter.
46010	StringValue *string `type:"string"`
46011}
46012
46013// String returns the string representation
46014func (s TrialComponentParameterValue) String() string {
46015	return awsutil.Prettify(s)
46016}
46017
46018// GoString returns the string representation
46019func (s TrialComponentParameterValue) GoString() string {
46020	return s.String()
46021}
46022
46023// SetNumberValue sets the NumberValue field's value.
46024func (s *TrialComponentParameterValue) SetNumberValue(v float64) *TrialComponentParameterValue {
46025	s.NumberValue = &v
46026	return s
46027}
46028
46029// SetStringValue sets the StringValue field's value.
46030func (s *TrialComponentParameterValue) SetStringValue(v string) *TrialComponentParameterValue {
46031	s.StringValue = &v
46032	return s
46033}
46034
46035// A short summary of a trial component.
46036type TrialComponentSimpleSummary struct {
46037	_ struct{} `type:"structure"`
46038
46039	// Information about the user who created or modified an experiment, trial,
46040	// or trial component.
46041	CreatedBy *UserContext `type:"structure"`
46042
46043	// When the component was created.
46044	CreationTime *time.Time `type:"timestamp"`
46045
46046	// The Amazon Resource Name (ARN) of the trial component.
46047	TrialComponentArn *string `type:"string"`
46048
46049	// The name of the trial component.
46050	TrialComponentName *string `min:"1" type:"string"`
46051
46052	// The Amazon Resource Name (ARN) and job type of the source of a trial component.
46053	TrialComponentSource *TrialComponentSource `type:"structure"`
46054}
46055
46056// String returns the string representation
46057func (s TrialComponentSimpleSummary) String() string {
46058	return awsutil.Prettify(s)
46059}
46060
46061// GoString returns the string representation
46062func (s TrialComponentSimpleSummary) GoString() string {
46063	return s.String()
46064}
46065
46066// SetCreatedBy sets the CreatedBy field's value.
46067func (s *TrialComponentSimpleSummary) SetCreatedBy(v *UserContext) *TrialComponentSimpleSummary {
46068	s.CreatedBy = v
46069	return s
46070}
46071
46072// SetCreationTime sets the CreationTime field's value.
46073func (s *TrialComponentSimpleSummary) SetCreationTime(v time.Time) *TrialComponentSimpleSummary {
46074	s.CreationTime = &v
46075	return s
46076}
46077
46078// SetTrialComponentArn sets the TrialComponentArn field's value.
46079func (s *TrialComponentSimpleSummary) SetTrialComponentArn(v string) *TrialComponentSimpleSummary {
46080	s.TrialComponentArn = &v
46081	return s
46082}
46083
46084// SetTrialComponentName sets the TrialComponentName field's value.
46085func (s *TrialComponentSimpleSummary) SetTrialComponentName(v string) *TrialComponentSimpleSummary {
46086	s.TrialComponentName = &v
46087	return s
46088}
46089
46090// SetTrialComponentSource sets the TrialComponentSource field's value.
46091func (s *TrialComponentSimpleSummary) SetTrialComponentSource(v *TrialComponentSource) *TrialComponentSimpleSummary {
46092	s.TrialComponentSource = v
46093	return s
46094}
46095
46096// The Amazon Resource Name (ARN) and job type of the source of a trial component.
46097type TrialComponentSource struct {
46098	_ struct{} `type:"structure"`
46099
46100	// The source ARN.
46101	//
46102	// SourceArn is a required field
46103	SourceArn *string `type:"string" required:"true"`
46104
46105	// The source job type.
46106	SourceType *string `type:"string"`
46107}
46108
46109// String returns the string representation
46110func (s TrialComponentSource) String() string {
46111	return awsutil.Prettify(s)
46112}
46113
46114// GoString returns the string representation
46115func (s TrialComponentSource) GoString() string {
46116	return s.String()
46117}
46118
46119// SetSourceArn sets the SourceArn field's value.
46120func (s *TrialComponentSource) SetSourceArn(v string) *TrialComponentSource {
46121	s.SourceArn = &v
46122	return s
46123}
46124
46125// SetSourceType sets the SourceType field's value.
46126func (s *TrialComponentSource) SetSourceType(v string) *TrialComponentSource {
46127	s.SourceType = &v
46128	return s
46129}
46130
46131// Detailed information about the source of a trial component. Either ProcessingJob
46132// or TrainingJob is returned.
46133type TrialComponentSourceDetail struct {
46134	_ struct{} `type:"structure"`
46135
46136	// Information about a processing job that's the source of a trial component.
46137	ProcessingJob *ProcessingJob `type:"structure"`
46138
46139	// The Amazon Resource Name (ARN) of the source.
46140	SourceArn *string `type:"string"`
46141
46142	// Information about a training job that's the source of a trial component.
46143	TrainingJob *TrainingJob `type:"structure"`
46144
46145	// Information about a transform job that's the source of the trial component.
46146	TransformJob *TransformJob `type:"structure"`
46147}
46148
46149// String returns the string representation
46150func (s TrialComponentSourceDetail) String() string {
46151	return awsutil.Prettify(s)
46152}
46153
46154// GoString returns the string representation
46155func (s TrialComponentSourceDetail) GoString() string {
46156	return s.String()
46157}
46158
46159// SetProcessingJob sets the ProcessingJob field's value.
46160func (s *TrialComponentSourceDetail) SetProcessingJob(v *ProcessingJob) *TrialComponentSourceDetail {
46161	s.ProcessingJob = v
46162	return s
46163}
46164
46165// SetSourceArn sets the SourceArn field's value.
46166func (s *TrialComponentSourceDetail) SetSourceArn(v string) *TrialComponentSourceDetail {
46167	s.SourceArn = &v
46168	return s
46169}
46170
46171// SetTrainingJob sets the TrainingJob field's value.
46172func (s *TrialComponentSourceDetail) SetTrainingJob(v *TrainingJob) *TrialComponentSourceDetail {
46173	s.TrainingJob = v
46174	return s
46175}
46176
46177// SetTransformJob sets the TransformJob field's value.
46178func (s *TrialComponentSourceDetail) SetTransformJob(v *TransformJob) *TrialComponentSourceDetail {
46179	s.TransformJob = v
46180	return s
46181}
46182
46183// The status of the trial component.
46184type TrialComponentStatus struct {
46185	_ struct{} `type:"structure"`
46186
46187	// If the component failed, a message describing why.
46188	Message *string `type:"string"`
46189
46190	// The status of the trial component.
46191	PrimaryStatus *string `type:"string" enum:"TrialComponentPrimaryStatus"`
46192}
46193
46194// String returns the string representation
46195func (s TrialComponentStatus) String() string {
46196	return awsutil.Prettify(s)
46197}
46198
46199// GoString returns the string representation
46200func (s TrialComponentStatus) GoString() string {
46201	return s.String()
46202}
46203
46204// SetMessage sets the Message field's value.
46205func (s *TrialComponentStatus) SetMessage(v string) *TrialComponentStatus {
46206	s.Message = &v
46207	return s
46208}
46209
46210// SetPrimaryStatus sets the PrimaryStatus field's value.
46211func (s *TrialComponentStatus) SetPrimaryStatus(v string) *TrialComponentStatus {
46212	s.PrimaryStatus = &v
46213	return s
46214}
46215
46216// A summary of the properties of a trial component. To get all the properties,
46217// call the DescribeTrialComponent API and provide the TrialComponentName.
46218type TrialComponentSummary struct {
46219	_ struct{} `type:"structure"`
46220
46221	// Who created the component.
46222	CreatedBy *UserContext `type:"structure"`
46223
46224	// When the component was created.
46225	CreationTime *time.Time `type:"timestamp"`
46226
46227	// The name of the component as displayed. If DisplayName isn't specified, TrialComponentName
46228	// is displayed.
46229	DisplayName *string `min:"1" type:"string"`
46230
46231	// When the component ended.
46232	EndTime *time.Time `type:"timestamp"`
46233
46234	// Who last modified the component.
46235	LastModifiedBy *UserContext `type:"structure"`
46236
46237	// When the component was last modified.
46238	LastModifiedTime *time.Time `type:"timestamp"`
46239
46240	// When the component started.
46241	StartTime *time.Time `type:"timestamp"`
46242
46243	// The status of the component. States include:
46244	//
46245	//    * InProgress
46246	//
46247	//    * Completed
46248	//
46249	//    * Failed
46250	Status *TrialComponentStatus `type:"structure"`
46251
46252	// The ARN of the trial component.
46253	TrialComponentArn *string `type:"string"`
46254
46255	// The name of the trial component.
46256	TrialComponentName *string `min:"1" type:"string"`
46257
46258	// The Amazon Resource Name (ARN) and job type of the source of a trial component.
46259	TrialComponentSource *TrialComponentSource `type:"structure"`
46260}
46261
46262// String returns the string representation
46263func (s TrialComponentSummary) String() string {
46264	return awsutil.Prettify(s)
46265}
46266
46267// GoString returns the string representation
46268func (s TrialComponentSummary) GoString() string {
46269	return s.String()
46270}
46271
46272// SetCreatedBy sets the CreatedBy field's value.
46273func (s *TrialComponentSummary) SetCreatedBy(v *UserContext) *TrialComponentSummary {
46274	s.CreatedBy = v
46275	return s
46276}
46277
46278// SetCreationTime sets the CreationTime field's value.
46279func (s *TrialComponentSummary) SetCreationTime(v time.Time) *TrialComponentSummary {
46280	s.CreationTime = &v
46281	return s
46282}
46283
46284// SetDisplayName sets the DisplayName field's value.
46285func (s *TrialComponentSummary) SetDisplayName(v string) *TrialComponentSummary {
46286	s.DisplayName = &v
46287	return s
46288}
46289
46290// SetEndTime sets the EndTime field's value.
46291func (s *TrialComponentSummary) SetEndTime(v time.Time) *TrialComponentSummary {
46292	s.EndTime = &v
46293	return s
46294}
46295
46296// SetLastModifiedBy sets the LastModifiedBy field's value.
46297func (s *TrialComponentSummary) SetLastModifiedBy(v *UserContext) *TrialComponentSummary {
46298	s.LastModifiedBy = v
46299	return s
46300}
46301
46302// SetLastModifiedTime sets the LastModifiedTime field's value.
46303func (s *TrialComponentSummary) SetLastModifiedTime(v time.Time) *TrialComponentSummary {
46304	s.LastModifiedTime = &v
46305	return s
46306}
46307
46308// SetStartTime sets the StartTime field's value.
46309func (s *TrialComponentSummary) SetStartTime(v time.Time) *TrialComponentSummary {
46310	s.StartTime = &v
46311	return s
46312}
46313
46314// SetStatus sets the Status field's value.
46315func (s *TrialComponentSummary) SetStatus(v *TrialComponentStatus) *TrialComponentSummary {
46316	s.Status = v
46317	return s
46318}
46319
46320// SetTrialComponentArn sets the TrialComponentArn field's value.
46321func (s *TrialComponentSummary) SetTrialComponentArn(v string) *TrialComponentSummary {
46322	s.TrialComponentArn = &v
46323	return s
46324}
46325
46326// SetTrialComponentName sets the TrialComponentName field's value.
46327func (s *TrialComponentSummary) SetTrialComponentName(v string) *TrialComponentSummary {
46328	s.TrialComponentName = &v
46329	return s
46330}
46331
46332// SetTrialComponentSource sets the TrialComponentSource field's value.
46333func (s *TrialComponentSummary) SetTrialComponentSource(v *TrialComponentSource) *TrialComponentSummary {
46334	s.TrialComponentSource = v
46335	return s
46336}
46337
46338// The source of the trial.
46339type TrialSource struct {
46340	_ struct{} `type:"structure"`
46341
46342	// The Amazon Resource Name (ARN) of the source.
46343	//
46344	// SourceArn is a required field
46345	SourceArn *string `type:"string" required:"true"`
46346
46347	// The source job type.
46348	SourceType *string `type:"string"`
46349}
46350
46351// String returns the string representation
46352func (s TrialSource) String() string {
46353	return awsutil.Prettify(s)
46354}
46355
46356// GoString returns the string representation
46357func (s TrialSource) GoString() string {
46358	return s.String()
46359}
46360
46361// SetSourceArn sets the SourceArn field's value.
46362func (s *TrialSource) SetSourceArn(v string) *TrialSource {
46363	s.SourceArn = &v
46364	return s
46365}
46366
46367// SetSourceType sets the SourceType field's value.
46368func (s *TrialSource) SetSourceType(v string) *TrialSource {
46369	s.SourceType = &v
46370	return s
46371}
46372
46373// A summary of the properties of a trial. To get the complete set of properties,
46374// call the DescribeTrial API and provide the TrialName.
46375type TrialSummary struct {
46376	_ struct{} `type:"structure"`
46377
46378	// When the trial was created.
46379	CreationTime *time.Time `type:"timestamp"`
46380
46381	// The name of the trial as displayed. If DisplayName isn't specified, TrialName
46382	// is displayed.
46383	DisplayName *string `min:"1" type:"string"`
46384
46385	// When the trial was last modified.
46386	LastModifiedTime *time.Time `type:"timestamp"`
46387
46388	// The Amazon Resource Name (ARN) of the trial.
46389	TrialArn *string `type:"string"`
46390
46391	// The name of the trial.
46392	TrialName *string `min:"1" type:"string"`
46393
46394	// The source of the trial.
46395	TrialSource *TrialSource `type:"structure"`
46396}
46397
46398// String returns the string representation
46399func (s TrialSummary) String() string {
46400	return awsutil.Prettify(s)
46401}
46402
46403// GoString returns the string representation
46404func (s TrialSummary) GoString() string {
46405	return s.String()
46406}
46407
46408// SetCreationTime sets the CreationTime field's value.
46409func (s *TrialSummary) SetCreationTime(v time.Time) *TrialSummary {
46410	s.CreationTime = &v
46411	return s
46412}
46413
46414// SetDisplayName sets the DisplayName field's value.
46415func (s *TrialSummary) SetDisplayName(v string) *TrialSummary {
46416	s.DisplayName = &v
46417	return s
46418}
46419
46420// SetLastModifiedTime sets the LastModifiedTime field's value.
46421func (s *TrialSummary) SetLastModifiedTime(v time.Time) *TrialSummary {
46422	s.LastModifiedTime = &v
46423	return s
46424}
46425
46426// SetTrialArn sets the TrialArn field's value.
46427func (s *TrialSummary) SetTrialArn(v string) *TrialSummary {
46428	s.TrialArn = &v
46429	return s
46430}
46431
46432// SetTrialName sets the TrialName field's value.
46433func (s *TrialSummary) SetTrialName(v string) *TrialSummary {
46434	s.TrialName = &v
46435	return s
46436}
46437
46438// SetTrialSource sets the TrialSource field's value.
46439func (s *TrialSummary) SetTrialSource(v *TrialSource) *TrialSummary {
46440	s.TrialSource = v
46441	return s
46442}
46443
46444// The job completion criteria.
46445type TuningJobCompletionCriteria struct {
46446	_ struct{} `type:"structure"`
46447
46448	// The objective metric's value.
46449	//
46450	// TargetObjectiveMetricValue is a required field
46451	TargetObjectiveMetricValue *float64 `type:"float" required:"true"`
46452}
46453
46454// String returns the string representation
46455func (s TuningJobCompletionCriteria) String() string {
46456	return awsutil.Prettify(s)
46457}
46458
46459// GoString returns the string representation
46460func (s TuningJobCompletionCriteria) GoString() string {
46461	return s.String()
46462}
46463
46464// Validate inspects the fields of the type to determine if they are valid.
46465func (s *TuningJobCompletionCriteria) Validate() error {
46466	invalidParams := request.ErrInvalidParams{Context: "TuningJobCompletionCriteria"}
46467	if s.TargetObjectiveMetricValue == nil {
46468		invalidParams.Add(request.NewErrParamRequired("TargetObjectiveMetricValue"))
46469	}
46470
46471	if invalidParams.Len() > 0 {
46472		return invalidParams
46473	}
46474	return nil
46475}
46476
46477// SetTargetObjectiveMetricValue sets the TargetObjectiveMetricValue field's value.
46478func (s *TuningJobCompletionCriteria) SetTargetObjectiveMetricValue(v float64) *TuningJobCompletionCriteria {
46479	s.TargetObjectiveMetricValue = &v
46480	return s
46481}
46482
46483// Represents an amount of money in United States dollars/
46484type USD struct {
46485	_ struct{} `type:"structure"`
46486
46487	// The fractional portion, in cents, of the amount.
46488	Cents *int64 `type:"integer"`
46489
46490	// The whole number of dollars in the amount.
46491	Dollars *int64 `type:"integer"`
46492
46493	// Fractions of a cent, in tenths.
46494	TenthFractionsOfACent *int64 `type:"integer"`
46495}
46496
46497// String returns the string representation
46498func (s USD) String() string {
46499	return awsutil.Prettify(s)
46500}
46501
46502// GoString returns the string representation
46503func (s USD) GoString() string {
46504	return s.String()
46505}
46506
46507// SetCents sets the Cents field's value.
46508func (s *USD) SetCents(v int64) *USD {
46509	s.Cents = &v
46510	return s
46511}
46512
46513// SetDollars sets the Dollars field's value.
46514func (s *USD) SetDollars(v int64) *USD {
46515	s.Dollars = &v
46516	return s
46517}
46518
46519// SetTenthFractionsOfACent sets the TenthFractionsOfACent field's value.
46520func (s *USD) SetTenthFractionsOfACent(v int64) *USD {
46521	s.TenthFractionsOfACent = &v
46522	return s
46523}
46524
46525// Provided configuration information for the worker UI for a labeling job.
46526type UiConfig struct {
46527	_ struct{} `type:"structure"`
46528
46529	// The ARN of the worker task template used to render the worker UI and tools
46530	// for labeling job tasks.
46531	//
46532	// Use this parameter when you are creating a labeling job for 3D point cloud
46533	// and video fram labeling jobs. Use your labeling job task type to select one
46534	// of the following ARN's and use it with this parameter when you create a labeling
46535	// job. Replace aws-region with the AWS region you are creating your labeling
46536	// job in.
46537	//
46538	// 3D Point Cloud HumanTaskUiArns
46539	//
46540	// Use this HumanTaskUiArn for 3D point cloud object detection and 3D point
46541	// cloud object detection adjustment labeling jobs.
46542	//
46543	//    * arn:aws:sagemaker:aws-region:394669845002:human-task-ui/PointCloudObjectDetection
46544	//
46545	// Use this HumanTaskUiArn for 3D point cloud object tracking and 3D point cloud
46546	// object tracking adjustment labeling jobs.
46547	//
46548	//    * arn:aws:sagemaker:aws-region:394669845002:human-task-ui/PointCloudObjectTracking
46549	//
46550	// Use this HumanTaskUiArn for 3D point cloud semantic segmentation and 3D point
46551	// cloud semantic segmentation adjustment labeling jobs.
46552	//
46553	//    * arn:aws:sagemaker:aws-region:394669845002:human-task-ui/PointCloudSemanticSegmentation
46554	//
46555	// Video Frame HumanTaskUiArns
46556	//
46557	// Use this HumanTaskUiArn for video frame object detection and video frame
46558	// object detection adjustment labeling jobs.
46559	//
46560	//    * arn:aws:sagemaker:region:394669845002:human-task-ui/VideoObjectDetection
46561	//
46562	// Use this HumanTaskUiArn for video frame object tracking and video frame object
46563	// tracking adjustment labeling jobs.
46564	//
46565	//    * arn:aws:sagemaker:aws-region:394669845002:human-task-ui/VideoObjectTracking
46566	HumanTaskUiArn *string `type:"string"`
46567
46568	// The Amazon S3 bucket location of the UI template, or worker task template.
46569	// This is the template used to render the worker UI and tools for labeling
46570	// job tasks. For more information about the contents of a UI template, see
46571	// Creating Your Custom Labeling Task Template (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-custom-templates-step2.html).
46572	UiTemplateS3Uri *string `type:"string"`
46573}
46574
46575// String returns the string representation
46576func (s UiConfig) String() string {
46577	return awsutil.Prettify(s)
46578}
46579
46580// GoString returns the string representation
46581func (s UiConfig) GoString() string {
46582	return s.String()
46583}
46584
46585// SetHumanTaskUiArn sets the HumanTaskUiArn field's value.
46586func (s *UiConfig) SetHumanTaskUiArn(v string) *UiConfig {
46587	s.HumanTaskUiArn = &v
46588	return s
46589}
46590
46591// SetUiTemplateS3Uri sets the UiTemplateS3Uri field's value.
46592func (s *UiConfig) SetUiTemplateS3Uri(v string) *UiConfig {
46593	s.UiTemplateS3Uri = &v
46594	return s
46595}
46596
46597// The Liquid template for the worker user interface.
46598type UiTemplate struct {
46599	_ struct{} `type:"structure"`
46600
46601	// The content of the Liquid template for the worker user interface.
46602	//
46603	// Content is a required field
46604	Content *string `min:"1" type:"string" required:"true"`
46605}
46606
46607// String returns the string representation
46608func (s UiTemplate) String() string {
46609	return awsutil.Prettify(s)
46610}
46611
46612// GoString returns the string representation
46613func (s UiTemplate) GoString() string {
46614	return s.String()
46615}
46616
46617// Validate inspects the fields of the type to determine if they are valid.
46618func (s *UiTemplate) Validate() error {
46619	invalidParams := request.ErrInvalidParams{Context: "UiTemplate"}
46620	if s.Content == nil {
46621		invalidParams.Add(request.NewErrParamRequired("Content"))
46622	}
46623	if s.Content != nil && len(*s.Content) < 1 {
46624		invalidParams.Add(request.NewErrParamMinLen("Content", 1))
46625	}
46626
46627	if invalidParams.Len() > 0 {
46628		return invalidParams
46629	}
46630	return nil
46631}
46632
46633// SetContent sets the Content field's value.
46634func (s *UiTemplate) SetContent(v string) *UiTemplate {
46635	s.Content = &v
46636	return s
46637}
46638
46639// Container for user interface template information.
46640type UiTemplateInfo struct {
46641	_ struct{} `type:"structure"`
46642
46643	// The SHA-256 digest of the contents of the template.
46644	ContentSha256 *string `min:"1" type:"string"`
46645
46646	// The URL for the user interface template.
46647	Url *string `min:"1" type:"string"`
46648}
46649
46650// String returns the string representation
46651func (s UiTemplateInfo) String() string {
46652	return awsutil.Prettify(s)
46653}
46654
46655// GoString returns the string representation
46656func (s UiTemplateInfo) GoString() string {
46657	return s.String()
46658}
46659
46660// SetContentSha256 sets the ContentSha256 field's value.
46661func (s *UiTemplateInfo) SetContentSha256(v string) *UiTemplateInfo {
46662	s.ContentSha256 = &v
46663	return s
46664}
46665
46666// SetUrl sets the Url field's value.
46667func (s *UiTemplateInfo) SetUrl(v string) *UiTemplateInfo {
46668	s.Url = &v
46669	return s
46670}
46671
46672type UpdateCodeRepositoryInput struct {
46673	_ struct{} `type:"structure"`
46674
46675	// The name of the Git repository to update.
46676	//
46677	// CodeRepositoryName is a required field
46678	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
46679
46680	// The configuration of the git repository, including the URL and the Amazon
46681	// Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials
46682	// used to access the repository. The secret must have a staging label of AWSCURRENT
46683	// and must be in the following format:
46684	//
46685	// {"username": UserName, "password": Password}
46686	GitConfig *GitConfigForUpdate `type:"structure"`
46687}
46688
46689// String returns the string representation
46690func (s UpdateCodeRepositoryInput) String() string {
46691	return awsutil.Prettify(s)
46692}
46693
46694// GoString returns the string representation
46695func (s UpdateCodeRepositoryInput) GoString() string {
46696	return s.String()
46697}
46698
46699// Validate inspects the fields of the type to determine if they are valid.
46700func (s *UpdateCodeRepositoryInput) Validate() error {
46701	invalidParams := request.ErrInvalidParams{Context: "UpdateCodeRepositoryInput"}
46702	if s.CodeRepositoryName == nil {
46703		invalidParams.Add(request.NewErrParamRequired("CodeRepositoryName"))
46704	}
46705	if s.CodeRepositoryName != nil && len(*s.CodeRepositoryName) < 1 {
46706		invalidParams.Add(request.NewErrParamMinLen("CodeRepositoryName", 1))
46707	}
46708	if s.GitConfig != nil {
46709		if err := s.GitConfig.Validate(); err != nil {
46710			invalidParams.AddNested("GitConfig", err.(request.ErrInvalidParams))
46711		}
46712	}
46713
46714	if invalidParams.Len() > 0 {
46715		return invalidParams
46716	}
46717	return nil
46718}
46719
46720// SetCodeRepositoryName sets the CodeRepositoryName field's value.
46721func (s *UpdateCodeRepositoryInput) SetCodeRepositoryName(v string) *UpdateCodeRepositoryInput {
46722	s.CodeRepositoryName = &v
46723	return s
46724}
46725
46726// SetGitConfig sets the GitConfig field's value.
46727func (s *UpdateCodeRepositoryInput) SetGitConfig(v *GitConfigForUpdate) *UpdateCodeRepositoryInput {
46728	s.GitConfig = v
46729	return s
46730}
46731
46732type UpdateCodeRepositoryOutput struct {
46733	_ struct{} `type:"structure"`
46734
46735	// The ARN of the Git repository.
46736	//
46737	// CodeRepositoryArn is a required field
46738	CodeRepositoryArn *string `min:"1" type:"string" required:"true"`
46739}
46740
46741// String returns the string representation
46742func (s UpdateCodeRepositoryOutput) String() string {
46743	return awsutil.Prettify(s)
46744}
46745
46746// GoString returns the string representation
46747func (s UpdateCodeRepositoryOutput) GoString() string {
46748	return s.String()
46749}
46750
46751// SetCodeRepositoryArn sets the CodeRepositoryArn field's value.
46752func (s *UpdateCodeRepositoryOutput) SetCodeRepositoryArn(v string) *UpdateCodeRepositoryOutput {
46753	s.CodeRepositoryArn = &v
46754	return s
46755}
46756
46757type UpdateDomainInput struct {
46758	_ struct{} `type:"structure"`
46759
46760	// A collection of settings.
46761	DefaultUserSettings *UserSettings `type:"structure"`
46762
46763	// The ID of the domain to be updated.
46764	//
46765	// DomainId is a required field
46766	DomainId *string `type:"string" required:"true"`
46767}
46768
46769// String returns the string representation
46770func (s UpdateDomainInput) String() string {
46771	return awsutil.Prettify(s)
46772}
46773
46774// GoString returns the string representation
46775func (s UpdateDomainInput) GoString() string {
46776	return s.String()
46777}
46778
46779// Validate inspects the fields of the type to determine if they are valid.
46780func (s *UpdateDomainInput) Validate() error {
46781	invalidParams := request.ErrInvalidParams{Context: "UpdateDomainInput"}
46782	if s.DomainId == nil {
46783		invalidParams.Add(request.NewErrParamRequired("DomainId"))
46784	}
46785	if s.DefaultUserSettings != nil {
46786		if err := s.DefaultUserSettings.Validate(); err != nil {
46787			invalidParams.AddNested("DefaultUserSettings", err.(request.ErrInvalidParams))
46788		}
46789	}
46790
46791	if invalidParams.Len() > 0 {
46792		return invalidParams
46793	}
46794	return nil
46795}
46796
46797// SetDefaultUserSettings sets the DefaultUserSettings field's value.
46798func (s *UpdateDomainInput) SetDefaultUserSettings(v *UserSettings) *UpdateDomainInput {
46799	s.DefaultUserSettings = v
46800	return s
46801}
46802
46803// SetDomainId sets the DomainId field's value.
46804func (s *UpdateDomainInput) SetDomainId(v string) *UpdateDomainInput {
46805	s.DomainId = &v
46806	return s
46807}
46808
46809type UpdateDomainOutput struct {
46810	_ struct{} `type:"structure"`
46811
46812	// The Amazon Resource Name (ARN) of the domain.
46813	DomainArn *string `type:"string"`
46814}
46815
46816// String returns the string representation
46817func (s UpdateDomainOutput) String() string {
46818	return awsutil.Prettify(s)
46819}
46820
46821// GoString returns the string representation
46822func (s UpdateDomainOutput) GoString() string {
46823	return s.String()
46824}
46825
46826// SetDomainArn sets the DomainArn field's value.
46827func (s *UpdateDomainOutput) SetDomainArn(v string) *UpdateDomainOutput {
46828	s.DomainArn = &v
46829	return s
46830}
46831
46832type UpdateEndpointInput struct {
46833	_ struct{} `type:"structure"`
46834
46835	// The name of the new endpoint configuration.
46836	//
46837	// EndpointConfigName is a required field
46838	EndpointConfigName *string `type:"string" required:"true"`
46839
46840	// The name of the endpoint whose configuration you want to update.
46841	//
46842	// EndpointName is a required field
46843	EndpointName *string `type:"string" required:"true"`
46844
46845	// When you are updating endpoint resources with UpdateEndpointInput$RetainAllVariantProperties,
46846	// whose value is set to true, ExcludeRetainedVariantProperties specifies the
46847	// list of type VariantProperty to override with the values provided by EndpointConfig.
46848	// If you don't specify a value for ExcludeAllVariantProperties, no variant
46849	// properties are overridden.
46850	ExcludeRetainedVariantProperties []*VariantProperty `type:"list"`
46851
46852	// When updating endpoint resources, enables or disables the retention of variant
46853	// properties, such as the instance count or the variant weight. To retain the
46854	// variant properties of an endpoint when updating it, set RetainAllVariantProperties
46855	// to true. To use the variant properties specified in a new EndpointConfig
46856	// call when updating an endpoint, set RetainAllVariantProperties to false.
46857	RetainAllVariantProperties *bool `type:"boolean"`
46858}
46859
46860// String returns the string representation
46861func (s UpdateEndpointInput) String() string {
46862	return awsutil.Prettify(s)
46863}
46864
46865// GoString returns the string representation
46866func (s UpdateEndpointInput) GoString() string {
46867	return s.String()
46868}
46869
46870// Validate inspects the fields of the type to determine if they are valid.
46871func (s *UpdateEndpointInput) Validate() error {
46872	invalidParams := request.ErrInvalidParams{Context: "UpdateEndpointInput"}
46873	if s.EndpointConfigName == nil {
46874		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
46875	}
46876	if s.EndpointName == nil {
46877		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
46878	}
46879	if s.ExcludeRetainedVariantProperties != nil {
46880		for i, v := range s.ExcludeRetainedVariantProperties {
46881			if v == nil {
46882				continue
46883			}
46884			if err := v.Validate(); err != nil {
46885				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ExcludeRetainedVariantProperties", i), err.(request.ErrInvalidParams))
46886			}
46887		}
46888	}
46889
46890	if invalidParams.Len() > 0 {
46891		return invalidParams
46892	}
46893	return nil
46894}
46895
46896// SetEndpointConfigName sets the EndpointConfigName field's value.
46897func (s *UpdateEndpointInput) SetEndpointConfigName(v string) *UpdateEndpointInput {
46898	s.EndpointConfigName = &v
46899	return s
46900}
46901
46902// SetEndpointName sets the EndpointName field's value.
46903func (s *UpdateEndpointInput) SetEndpointName(v string) *UpdateEndpointInput {
46904	s.EndpointName = &v
46905	return s
46906}
46907
46908// SetExcludeRetainedVariantProperties sets the ExcludeRetainedVariantProperties field's value.
46909func (s *UpdateEndpointInput) SetExcludeRetainedVariantProperties(v []*VariantProperty) *UpdateEndpointInput {
46910	s.ExcludeRetainedVariantProperties = v
46911	return s
46912}
46913
46914// SetRetainAllVariantProperties sets the RetainAllVariantProperties field's value.
46915func (s *UpdateEndpointInput) SetRetainAllVariantProperties(v bool) *UpdateEndpointInput {
46916	s.RetainAllVariantProperties = &v
46917	return s
46918}
46919
46920type UpdateEndpointOutput struct {
46921	_ struct{} `type:"structure"`
46922
46923	// The Amazon Resource Name (ARN) of the endpoint.
46924	//
46925	// EndpointArn is a required field
46926	EndpointArn *string `min:"20" type:"string" required:"true"`
46927}
46928
46929// String returns the string representation
46930func (s UpdateEndpointOutput) String() string {
46931	return awsutil.Prettify(s)
46932}
46933
46934// GoString returns the string representation
46935func (s UpdateEndpointOutput) GoString() string {
46936	return s.String()
46937}
46938
46939// SetEndpointArn sets the EndpointArn field's value.
46940func (s *UpdateEndpointOutput) SetEndpointArn(v string) *UpdateEndpointOutput {
46941	s.EndpointArn = &v
46942	return s
46943}
46944
46945type UpdateEndpointWeightsAndCapacitiesInput struct {
46946	_ struct{} `type:"structure"`
46947
46948	// An object that provides new capacity and weight values for a variant.
46949	//
46950	// DesiredWeightsAndCapacities is a required field
46951	DesiredWeightsAndCapacities []*DesiredWeightAndCapacity `min:"1" type:"list" required:"true"`
46952
46953	// The name of an existing Amazon SageMaker endpoint.
46954	//
46955	// EndpointName is a required field
46956	EndpointName *string `type:"string" required:"true"`
46957}
46958
46959// String returns the string representation
46960func (s UpdateEndpointWeightsAndCapacitiesInput) String() string {
46961	return awsutil.Prettify(s)
46962}
46963
46964// GoString returns the string representation
46965func (s UpdateEndpointWeightsAndCapacitiesInput) GoString() string {
46966	return s.String()
46967}
46968
46969// Validate inspects the fields of the type to determine if they are valid.
46970func (s *UpdateEndpointWeightsAndCapacitiesInput) Validate() error {
46971	invalidParams := request.ErrInvalidParams{Context: "UpdateEndpointWeightsAndCapacitiesInput"}
46972	if s.DesiredWeightsAndCapacities == nil {
46973		invalidParams.Add(request.NewErrParamRequired("DesiredWeightsAndCapacities"))
46974	}
46975	if s.DesiredWeightsAndCapacities != nil && len(s.DesiredWeightsAndCapacities) < 1 {
46976		invalidParams.Add(request.NewErrParamMinLen("DesiredWeightsAndCapacities", 1))
46977	}
46978	if s.EndpointName == nil {
46979		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
46980	}
46981	if s.DesiredWeightsAndCapacities != nil {
46982		for i, v := range s.DesiredWeightsAndCapacities {
46983			if v == nil {
46984				continue
46985			}
46986			if err := v.Validate(); err != nil {
46987				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DesiredWeightsAndCapacities", i), err.(request.ErrInvalidParams))
46988			}
46989		}
46990	}
46991
46992	if invalidParams.Len() > 0 {
46993		return invalidParams
46994	}
46995	return nil
46996}
46997
46998// SetDesiredWeightsAndCapacities sets the DesiredWeightsAndCapacities field's value.
46999func (s *UpdateEndpointWeightsAndCapacitiesInput) SetDesiredWeightsAndCapacities(v []*DesiredWeightAndCapacity) *UpdateEndpointWeightsAndCapacitiesInput {
47000	s.DesiredWeightsAndCapacities = v
47001	return s
47002}
47003
47004// SetEndpointName sets the EndpointName field's value.
47005func (s *UpdateEndpointWeightsAndCapacitiesInput) SetEndpointName(v string) *UpdateEndpointWeightsAndCapacitiesInput {
47006	s.EndpointName = &v
47007	return s
47008}
47009
47010type UpdateEndpointWeightsAndCapacitiesOutput struct {
47011	_ struct{} `type:"structure"`
47012
47013	// The Amazon Resource Name (ARN) of the updated endpoint.
47014	//
47015	// EndpointArn is a required field
47016	EndpointArn *string `min:"20" type:"string" required:"true"`
47017}
47018
47019// String returns the string representation
47020func (s UpdateEndpointWeightsAndCapacitiesOutput) String() string {
47021	return awsutil.Prettify(s)
47022}
47023
47024// GoString returns the string representation
47025func (s UpdateEndpointWeightsAndCapacitiesOutput) GoString() string {
47026	return s.String()
47027}
47028
47029// SetEndpointArn sets the EndpointArn field's value.
47030func (s *UpdateEndpointWeightsAndCapacitiesOutput) SetEndpointArn(v string) *UpdateEndpointWeightsAndCapacitiesOutput {
47031	s.EndpointArn = &v
47032	return s
47033}
47034
47035type UpdateExperimentInput struct {
47036	_ struct{} `type:"structure"`
47037
47038	// The description of the experiment.
47039	Description *string `type:"string"`
47040
47041	// The name of the experiment as displayed. The name doesn't need to be unique.
47042	// If DisplayName isn't specified, ExperimentName is displayed.
47043	DisplayName *string `min:"1" type:"string"`
47044
47045	// The name of the experiment to update.
47046	//
47047	// ExperimentName is a required field
47048	ExperimentName *string `min:"1" type:"string" required:"true"`
47049}
47050
47051// String returns the string representation
47052func (s UpdateExperimentInput) String() string {
47053	return awsutil.Prettify(s)
47054}
47055
47056// GoString returns the string representation
47057func (s UpdateExperimentInput) GoString() string {
47058	return s.String()
47059}
47060
47061// Validate inspects the fields of the type to determine if they are valid.
47062func (s *UpdateExperimentInput) Validate() error {
47063	invalidParams := request.ErrInvalidParams{Context: "UpdateExperimentInput"}
47064	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
47065		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
47066	}
47067	if s.ExperimentName == nil {
47068		invalidParams.Add(request.NewErrParamRequired("ExperimentName"))
47069	}
47070	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
47071		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
47072	}
47073
47074	if invalidParams.Len() > 0 {
47075		return invalidParams
47076	}
47077	return nil
47078}
47079
47080// SetDescription sets the Description field's value.
47081func (s *UpdateExperimentInput) SetDescription(v string) *UpdateExperimentInput {
47082	s.Description = &v
47083	return s
47084}
47085
47086// SetDisplayName sets the DisplayName field's value.
47087func (s *UpdateExperimentInput) SetDisplayName(v string) *UpdateExperimentInput {
47088	s.DisplayName = &v
47089	return s
47090}
47091
47092// SetExperimentName sets the ExperimentName field's value.
47093func (s *UpdateExperimentInput) SetExperimentName(v string) *UpdateExperimentInput {
47094	s.ExperimentName = &v
47095	return s
47096}
47097
47098type UpdateExperimentOutput struct {
47099	_ struct{} `type:"structure"`
47100
47101	// The Amazon Resource Name (ARN) of the experiment.
47102	ExperimentArn *string `type:"string"`
47103}
47104
47105// String returns the string representation
47106func (s UpdateExperimentOutput) String() string {
47107	return awsutil.Prettify(s)
47108}
47109
47110// GoString returns the string representation
47111func (s UpdateExperimentOutput) GoString() string {
47112	return s.String()
47113}
47114
47115// SetExperimentArn sets the ExperimentArn field's value.
47116func (s *UpdateExperimentOutput) SetExperimentArn(v string) *UpdateExperimentOutput {
47117	s.ExperimentArn = &v
47118	return s
47119}
47120
47121type UpdateMonitoringScheduleInput struct {
47122	_ struct{} `type:"structure"`
47123
47124	// The configuration object that specifies the monitoring schedule and defines
47125	// the monitoring job.
47126	//
47127	// MonitoringScheduleConfig is a required field
47128	MonitoringScheduleConfig *MonitoringScheduleConfig `type:"structure" required:"true"`
47129
47130	// The name of the monitoring schedule. The name must be unique within an AWS
47131	// Region within an AWS account.
47132	//
47133	// MonitoringScheduleName is a required field
47134	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
47135}
47136
47137// String returns the string representation
47138func (s UpdateMonitoringScheduleInput) String() string {
47139	return awsutil.Prettify(s)
47140}
47141
47142// GoString returns the string representation
47143func (s UpdateMonitoringScheduleInput) GoString() string {
47144	return s.String()
47145}
47146
47147// Validate inspects the fields of the type to determine if they are valid.
47148func (s *UpdateMonitoringScheduleInput) Validate() error {
47149	invalidParams := request.ErrInvalidParams{Context: "UpdateMonitoringScheduleInput"}
47150	if s.MonitoringScheduleConfig == nil {
47151		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleConfig"))
47152	}
47153	if s.MonitoringScheduleName == nil {
47154		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName"))
47155	}
47156	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
47157		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
47158	}
47159	if s.MonitoringScheduleConfig != nil {
47160		if err := s.MonitoringScheduleConfig.Validate(); err != nil {
47161			invalidParams.AddNested("MonitoringScheduleConfig", err.(request.ErrInvalidParams))
47162		}
47163	}
47164
47165	if invalidParams.Len() > 0 {
47166		return invalidParams
47167	}
47168	return nil
47169}
47170
47171// SetMonitoringScheduleConfig sets the MonitoringScheduleConfig field's value.
47172func (s *UpdateMonitoringScheduleInput) SetMonitoringScheduleConfig(v *MonitoringScheduleConfig) *UpdateMonitoringScheduleInput {
47173	s.MonitoringScheduleConfig = v
47174	return s
47175}
47176
47177// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
47178func (s *UpdateMonitoringScheduleInput) SetMonitoringScheduleName(v string) *UpdateMonitoringScheduleInput {
47179	s.MonitoringScheduleName = &v
47180	return s
47181}
47182
47183type UpdateMonitoringScheduleOutput struct {
47184	_ struct{} `type:"structure"`
47185
47186	// The Amazon Resource Name (ARN) of the monitoring schedule.
47187	//
47188	// MonitoringScheduleArn is a required field
47189	MonitoringScheduleArn *string `type:"string" required:"true"`
47190}
47191
47192// String returns the string representation
47193func (s UpdateMonitoringScheduleOutput) String() string {
47194	return awsutil.Prettify(s)
47195}
47196
47197// GoString returns the string representation
47198func (s UpdateMonitoringScheduleOutput) GoString() string {
47199	return s.String()
47200}
47201
47202// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
47203func (s *UpdateMonitoringScheduleOutput) SetMonitoringScheduleArn(v string) *UpdateMonitoringScheduleOutput {
47204	s.MonitoringScheduleArn = &v
47205	return s
47206}
47207
47208type UpdateNotebookInstanceInput struct {
47209	_ struct{} `type:"structure"`
47210
47211	// A list of the Elastic Inference (EI) instance types to associate with this
47212	// notebook instance. Currently only one EI instance type can be associated
47213	// with a notebook instance. For more information, see Using Elastic Inference
47214	// in Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html).
47215	AcceleratorTypes []*string `type:"list"`
47216
47217	// An array of up to three Git repositories to associate with the notebook instance.
47218	// These can be either the names of Git repositories stored as resources in
47219	// your account, or the URL of Git repositories in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
47220	// or in any other Git repository. These repositories are cloned at the same
47221	// level as the default repository of your notebook instance. For more information,
47222	// see Associating Git Repositories with Amazon SageMaker Notebook Instances
47223	// (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
47224	AdditionalCodeRepositories []*string `type:"list"`
47225
47226	// The Git repository to associate with the notebook instance as its default
47227	// code repository. This can be either the name of a Git repository stored as
47228	// a resource in your account, or the URL of a Git repository in AWS CodeCommit
47229	// (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or
47230	// in any other Git repository. When you open a notebook instance, it opens
47231	// in the directory that contains this repository. For more information, see
47232	// Associating Git Repositories with Amazon SageMaker Notebook Instances (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
47233	DefaultCodeRepository *string `min:"1" type:"string"`
47234
47235	// A list of the Elastic Inference (EI) instance types to remove from this notebook
47236	// instance. This operation is idempotent. If you specify an accelerator type
47237	// that is not associated with the notebook instance when you call this method,
47238	// it does not throw an error.
47239	DisassociateAcceleratorTypes *bool `type:"boolean"`
47240
47241	// A list of names or URLs of the default Git repositories to remove from this
47242	// notebook instance. This operation is idempotent. If you specify a Git repository
47243	// that is not associated with the notebook instance when you call this method,
47244	// it does not throw an error.
47245	DisassociateAdditionalCodeRepositories *bool `type:"boolean"`
47246
47247	// The name or URL of the default Git repository to remove from this notebook
47248	// instance. This operation is idempotent. If you specify a Git repository that
47249	// is not associated with the notebook instance when you call this method, it
47250	// does not throw an error.
47251	DisassociateDefaultCodeRepository *bool `type:"boolean"`
47252
47253	// Set to true to remove the notebook instance lifecycle configuration currently
47254	// associated with the notebook instance. This operation is idempotent. If you
47255	// specify a lifecycle configuration that is not associated with the notebook
47256	// instance when you call this method, it does not throw an error.
47257	DisassociateLifecycleConfig *bool `type:"boolean"`
47258
47259	// The Amazon ML compute instance type.
47260	InstanceType *string `type:"string" enum:"InstanceType"`
47261
47262	// The name of a lifecycle configuration to associate with the notebook instance.
47263	// For information about lifestyle configurations, see Step 2.1: (Optional)
47264	// Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
47265	LifecycleConfigName *string `type:"string"`
47266
47267	// The name of the notebook instance to update.
47268	//
47269	// NotebookInstanceName is a required field
47270	NotebookInstanceName *string `type:"string" required:"true"`
47271
47272	// The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can
47273	// assume to access the notebook instance. For more information, see Amazon
47274	// SageMaker Roles (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html).
47275	//
47276	// To be able to pass this role to Amazon SageMaker, the caller of this API
47277	// must have the iam:PassRole permission.
47278	RoleArn *string `min:"20" type:"string"`
47279
47280	// Whether root access is enabled or disabled for users of the notebook instance.
47281	// The default value is Enabled.
47282	//
47283	// If you set this to Disabled, users don't have root access on the notebook
47284	// instance, but lifecycle configuration scripts still run with root permissions.
47285	RootAccess *string `type:"string" enum:"RootAccess"`
47286
47287	// The size, in GB, of the ML storage volume to attach to the notebook instance.
47288	// The default value is 5 GB. ML storage volumes are encrypted, so Amazon SageMaker
47289	// can't determine the amount of available free space on the volume. Because
47290	// of this, you can increase the volume size when you update a notebook instance,
47291	// but you can't decrease the volume size. If you want to decrease the size
47292	// of the ML storage volume in use, create a new notebook instance with the
47293	// desired size.
47294	VolumeSizeInGB *int64 `min:"5" type:"integer"`
47295}
47296
47297// String returns the string representation
47298func (s UpdateNotebookInstanceInput) String() string {
47299	return awsutil.Prettify(s)
47300}
47301
47302// GoString returns the string representation
47303func (s UpdateNotebookInstanceInput) GoString() string {
47304	return s.String()
47305}
47306
47307// Validate inspects the fields of the type to determine if they are valid.
47308func (s *UpdateNotebookInstanceInput) Validate() error {
47309	invalidParams := request.ErrInvalidParams{Context: "UpdateNotebookInstanceInput"}
47310	if s.DefaultCodeRepository != nil && len(*s.DefaultCodeRepository) < 1 {
47311		invalidParams.Add(request.NewErrParamMinLen("DefaultCodeRepository", 1))
47312	}
47313	if s.NotebookInstanceName == nil {
47314		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
47315	}
47316	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
47317		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
47318	}
47319	if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 5 {
47320		invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 5))
47321	}
47322
47323	if invalidParams.Len() > 0 {
47324		return invalidParams
47325	}
47326	return nil
47327}
47328
47329// SetAcceleratorTypes sets the AcceleratorTypes field's value.
47330func (s *UpdateNotebookInstanceInput) SetAcceleratorTypes(v []*string) *UpdateNotebookInstanceInput {
47331	s.AcceleratorTypes = v
47332	return s
47333}
47334
47335// SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value.
47336func (s *UpdateNotebookInstanceInput) SetAdditionalCodeRepositories(v []*string) *UpdateNotebookInstanceInput {
47337	s.AdditionalCodeRepositories = v
47338	return s
47339}
47340
47341// SetDefaultCodeRepository sets the DefaultCodeRepository field's value.
47342func (s *UpdateNotebookInstanceInput) SetDefaultCodeRepository(v string) *UpdateNotebookInstanceInput {
47343	s.DefaultCodeRepository = &v
47344	return s
47345}
47346
47347// SetDisassociateAcceleratorTypes sets the DisassociateAcceleratorTypes field's value.
47348func (s *UpdateNotebookInstanceInput) SetDisassociateAcceleratorTypes(v bool) *UpdateNotebookInstanceInput {
47349	s.DisassociateAcceleratorTypes = &v
47350	return s
47351}
47352
47353// SetDisassociateAdditionalCodeRepositories sets the DisassociateAdditionalCodeRepositories field's value.
47354func (s *UpdateNotebookInstanceInput) SetDisassociateAdditionalCodeRepositories(v bool) *UpdateNotebookInstanceInput {
47355	s.DisassociateAdditionalCodeRepositories = &v
47356	return s
47357}
47358
47359// SetDisassociateDefaultCodeRepository sets the DisassociateDefaultCodeRepository field's value.
47360func (s *UpdateNotebookInstanceInput) SetDisassociateDefaultCodeRepository(v bool) *UpdateNotebookInstanceInput {
47361	s.DisassociateDefaultCodeRepository = &v
47362	return s
47363}
47364
47365// SetDisassociateLifecycleConfig sets the DisassociateLifecycleConfig field's value.
47366func (s *UpdateNotebookInstanceInput) SetDisassociateLifecycleConfig(v bool) *UpdateNotebookInstanceInput {
47367	s.DisassociateLifecycleConfig = &v
47368	return s
47369}
47370
47371// SetInstanceType sets the InstanceType field's value.
47372func (s *UpdateNotebookInstanceInput) SetInstanceType(v string) *UpdateNotebookInstanceInput {
47373	s.InstanceType = &v
47374	return s
47375}
47376
47377// SetLifecycleConfigName sets the LifecycleConfigName field's value.
47378func (s *UpdateNotebookInstanceInput) SetLifecycleConfigName(v string) *UpdateNotebookInstanceInput {
47379	s.LifecycleConfigName = &v
47380	return s
47381}
47382
47383// SetNotebookInstanceName sets the NotebookInstanceName field's value.
47384func (s *UpdateNotebookInstanceInput) SetNotebookInstanceName(v string) *UpdateNotebookInstanceInput {
47385	s.NotebookInstanceName = &v
47386	return s
47387}
47388
47389// SetRoleArn sets the RoleArn field's value.
47390func (s *UpdateNotebookInstanceInput) SetRoleArn(v string) *UpdateNotebookInstanceInput {
47391	s.RoleArn = &v
47392	return s
47393}
47394
47395// SetRootAccess sets the RootAccess field's value.
47396func (s *UpdateNotebookInstanceInput) SetRootAccess(v string) *UpdateNotebookInstanceInput {
47397	s.RootAccess = &v
47398	return s
47399}
47400
47401// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
47402func (s *UpdateNotebookInstanceInput) SetVolumeSizeInGB(v int64) *UpdateNotebookInstanceInput {
47403	s.VolumeSizeInGB = &v
47404	return s
47405}
47406
47407type UpdateNotebookInstanceLifecycleConfigInput struct {
47408	_ struct{} `type:"structure"`
47409
47410	// The name of the lifecycle configuration.
47411	//
47412	// NotebookInstanceLifecycleConfigName is a required field
47413	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
47414
47415	// The shell script that runs only once, when you create a notebook instance.
47416	// The shell script must be a base64-encoded string.
47417	OnCreate []*NotebookInstanceLifecycleHook `type:"list"`
47418
47419	// The shell script that runs every time you start a notebook instance, including
47420	// when you create the notebook instance. The shell script must be a base64-encoded
47421	// string.
47422	OnStart []*NotebookInstanceLifecycleHook `type:"list"`
47423}
47424
47425// String returns the string representation
47426func (s UpdateNotebookInstanceLifecycleConfigInput) String() string {
47427	return awsutil.Prettify(s)
47428}
47429
47430// GoString returns the string representation
47431func (s UpdateNotebookInstanceLifecycleConfigInput) GoString() string {
47432	return s.String()
47433}
47434
47435// Validate inspects the fields of the type to determine if they are valid.
47436func (s *UpdateNotebookInstanceLifecycleConfigInput) Validate() error {
47437	invalidParams := request.ErrInvalidParams{Context: "UpdateNotebookInstanceLifecycleConfigInput"}
47438	if s.NotebookInstanceLifecycleConfigName == nil {
47439		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceLifecycleConfigName"))
47440	}
47441	if s.OnCreate != nil {
47442		for i, v := range s.OnCreate {
47443			if v == nil {
47444				continue
47445			}
47446			if err := v.Validate(); err != nil {
47447				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OnCreate", i), err.(request.ErrInvalidParams))
47448			}
47449		}
47450	}
47451	if s.OnStart != nil {
47452		for i, v := range s.OnStart {
47453			if v == nil {
47454				continue
47455			}
47456			if err := v.Validate(); err != nil {
47457				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OnStart", i), err.(request.ErrInvalidParams))
47458			}
47459		}
47460	}
47461
47462	if invalidParams.Len() > 0 {
47463		return invalidParams
47464	}
47465	return nil
47466}
47467
47468// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
47469func (s *UpdateNotebookInstanceLifecycleConfigInput) SetNotebookInstanceLifecycleConfigName(v string) *UpdateNotebookInstanceLifecycleConfigInput {
47470	s.NotebookInstanceLifecycleConfigName = &v
47471	return s
47472}
47473
47474// SetOnCreate sets the OnCreate field's value.
47475func (s *UpdateNotebookInstanceLifecycleConfigInput) SetOnCreate(v []*NotebookInstanceLifecycleHook) *UpdateNotebookInstanceLifecycleConfigInput {
47476	s.OnCreate = v
47477	return s
47478}
47479
47480// SetOnStart sets the OnStart field's value.
47481func (s *UpdateNotebookInstanceLifecycleConfigInput) SetOnStart(v []*NotebookInstanceLifecycleHook) *UpdateNotebookInstanceLifecycleConfigInput {
47482	s.OnStart = v
47483	return s
47484}
47485
47486type UpdateNotebookInstanceLifecycleConfigOutput struct {
47487	_ struct{} `type:"structure"`
47488}
47489
47490// String returns the string representation
47491func (s UpdateNotebookInstanceLifecycleConfigOutput) String() string {
47492	return awsutil.Prettify(s)
47493}
47494
47495// GoString returns the string representation
47496func (s UpdateNotebookInstanceLifecycleConfigOutput) GoString() string {
47497	return s.String()
47498}
47499
47500type UpdateNotebookInstanceOutput struct {
47501	_ struct{} `type:"structure"`
47502}
47503
47504// String returns the string representation
47505func (s UpdateNotebookInstanceOutput) String() string {
47506	return awsutil.Prettify(s)
47507}
47508
47509// GoString returns the string representation
47510func (s UpdateNotebookInstanceOutput) GoString() string {
47511	return s.String()
47512}
47513
47514type UpdateTrialComponentInput struct {
47515	_ struct{} `type:"structure"`
47516
47517	// The name of the component as displayed. The name doesn't need to be unique.
47518	// If DisplayName isn't specified, TrialComponentName is displayed.
47519	DisplayName *string `min:"1" type:"string"`
47520
47521	// When the component ended.
47522	EndTime *time.Time `type:"timestamp"`
47523
47524	// Replaces all of the component's input artifacts with the specified artifacts.
47525	InputArtifacts map[string]*TrialComponentArtifact `type:"map"`
47526
47527	// The input artifacts to remove from the component.
47528	InputArtifactsToRemove []*string `type:"list"`
47529
47530	// Replaces all of the component's output artifacts with the specified artifacts.
47531	OutputArtifacts map[string]*TrialComponentArtifact `type:"map"`
47532
47533	// The output artifacts to remove from the component.
47534	OutputArtifactsToRemove []*string `type:"list"`
47535
47536	// Replaces all of the component's hyperparameters with the specified hyperparameters.
47537	Parameters map[string]*TrialComponentParameterValue `type:"map"`
47538
47539	// The hyperparameters to remove from the component.
47540	ParametersToRemove []*string `type:"list"`
47541
47542	// When the component started.
47543	StartTime *time.Time `type:"timestamp"`
47544
47545	// The new status of the component.
47546	Status *TrialComponentStatus `type:"structure"`
47547
47548	// The name of the component to update.
47549	//
47550	// TrialComponentName is a required field
47551	TrialComponentName *string `min:"1" type:"string" required:"true"`
47552}
47553
47554// String returns the string representation
47555func (s UpdateTrialComponentInput) String() string {
47556	return awsutil.Prettify(s)
47557}
47558
47559// GoString returns the string representation
47560func (s UpdateTrialComponentInput) GoString() string {
47561	return s.String()
47562}
47563
47564// Validate inspects the fields of the type to determine if they are valid.
47565func (s *UpdateTrialComponentInput) Validate() error {
47566	invalidParams := request.ErrInvalidParams{Context: "UpdateTrialComponentInput"}
47567	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
47568		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
47569	}
47570	if s.TrialComponentName == nil {
47571		invalidParams.Add(request.NewErrParamRequired("TrialComponentName"))
47572	}
47573	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
47574		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
47575	}
47576	if s.InputArtifacts != nil {
47577		for i, v := range s.InputArtifacts {
47578			if v == nil {
47579				continue
47580			}
47581			if err := v.Validate(); err != nil {
47582				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputArtifacts", i), err.(request.ErrInvalidParams))
47583			}
47584		}
47585	}
47586	if s.OutputArtifacts != nil {
47587		for i, v := range s.OutputArtifacts {
47588			if v == nil {
47589				continue
47590			}
47591			if err := v.Validate(); err != nil {
47592				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OutputArtifacts", i), err.(request.ErrInvalidParams))
47593			}
47594		}
47595	}
47596
47597	if invalidParams.Len() > 0 {
47598		return invalidParams
47599	}
47600	return nil
47601}
47602
47603// SetDisplayName sets the DisplayName field's value.
47604func (s *UpdateTrialComponentInput) SetDisplayName(v string) *UpdateTrialComponentInput {
47605	s.DisplayName = &v
47606	return s
47607}
47608
47609// SetEndTime sets the EndTime field's value.
47610func (s *UpdateTrialComponentInput) SetEndTime(v time.Time) *UpdateTrialComponentInput {
47611	s.EndTime = &v
47612	return s
47613}
47614
47615// SetInputArtifacts sets the InputArtifacts field's value.
47616func (s *UpdateTrialComponentInput) SetInputArtifacts(v map[string]*TrialComponentArtifact) *UpdateTrialComponentInput {
47617	s.InputArtifacts = v
47618	return s
47619}
47620
47621// SetInputArtifactsToRemove sets the InputArtifactsToRemove field's value.
47622func (s *UpdateTrialComponentInput) SetInputArtifactsToRemove(v []*string) *UpdateTrialComponentInput {
47623	s.InputArtifactsToRemove = v
47624	return s
47625}
47626
47627// SetOutputArtifacts sets the OutputArtifacts field's value.
47628func (s *UpdateTrialComponentInput) SetOutputArtifacts(v map[string]*TrialComponentArtifact) *UpdateTrialComponentInput {
47629	s.OutputArtifacts = v
47630	return s
47631}
47632
47633// SetOutputArtifactsToRemove sets the OutputArtifactsToRemove field's value.
47634func (s *UpdateTrialComponentInput) SetOutputArtifactsToRemove(v []*string) *UpdateTrialComponentInput {
47635	s.OutputArtifactsToRemove = v
47636	return s
47637}
47638
47639// SetParameters sets the Parameters field's value.
47640func (s *UpdateTrialComponentInput) SetParameters(v map[string]*TrialComponentParameterValue) *UpdateTrialComponentInput {
47641	s.Parameters = v
47642	return s
47643}
47644
47645// SetParametersToRemove sets the ParametersToRemove field's value.
47646func (s *UpdateTrialComponentInput) SetParametersToRemove(v []*string) *UpdateTrialComponentInput {
47647	s.ParametersToRemove = v
47648	return s
47649}
47650
47651// SetStartTime sets the StartTime field's value.
47652func (s *UpdateTrialComponentInput) SetStartTime(v time.Time) *UpdateTrialComponentInput {
47653	s.StartTime = &v
47654	return s
47655}
47656
47657// SetStatus sets the Status field's value.
47658func (s *UpdateTrialComponentInput) SetStatus(v *TrialComponentStatus) *UpdateTrialComponentInput {
47659	s.Status = v
47660	return s
47661}
47662
47663// SetTrialComponentName sets the TrialComponentName field's value.
47664func (s *UpdateTrialComponentInput) SetTrialComponentName(v string) *UpdateTrialComponentInput {
47665	s.TrialComponentName = &v
47666	return s
47667}
47668
47669type UpdateTrialComponentOutput struct {
47670	_ struct{} `type:"structure"`
47671
47672	// The Amazon Resource Name (ARN) of the trial component.
47673	TrialComponentArn *string `type:"string"`
47674}
47675
47676// String returns the string representation
47677func (s UpdateTrialComponentOutput) String() string {
47678	return awsutil.Prettify(s)
47679}
47680
47681// GoString returns the string representation
47682func (s UpdateTrialComponentOutput) GoString() string {
47683	return s.String()
47684}
47685
47686// SetTrialComponentArn sets the TrialComponentArn field's value.
47687func (s *UpdateTrialComponentOutput) SetTrialComponentArn(v string) *UpdateTrialComponentOutput {
47688	s.TrialComponentArn = &v
47689	return s
47690}
47691
47692type UpdateTrialInput struct {
47693	_ struct{} `type:"structure"`
47694
47695	// The name of the trial as displayed. The name doesn't need to be unique. If
47696	// DisplayName isn't specified, TrialName is displayed.
47697	DisplayName *string `min:"1" type:"string"`
47698
47699	// The name of the trial to update.
47700	//
47701	// TrialName is a required field
47702	TrialName *string `min:"1" type:"string" required:"true"`
47703}
47704
47705// String returns the string representation
47706func (s UpdateTrialInput) String() string {
47707	return awsutil.Prettify(s)
47708}
47709
47710// GoString returns the string representation
47711func (s UpdateTrialInput) GoString() string {
47712	return s.String()
47713}
47714
47715// Validate inspects the fields of the type to determine if they are valid.
47716func (s *UpdateTrialInput) Validate() error {
47717	invalidParams := request.ErrInvalidParams{Context: "UpdateTrialInput"}
47718	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
47719		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
47720	}
47721	if s.TrialName == nil {
47722		invalidParams.Add(request.NewErrParamRequired("TrialName"))
47723	}
47724	if s.TrialName != nil && len(*s.TrialName) < 1 {
47725		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
47726	}
47727
47728	if invalidParams.Len() > 0 {
47729		return invalidParams
47730	}
47731	return nil
47732}
47733
47734// SetDisplayName sets the DisplayName field's value.
47735func (s *UpdateTrialInput) SetDisplayName(v string) *UpdateTrialInput {
47736	s.DisplayName = &v
47737	return s
47738}
47739
47740// SetTrialName sets the TrialName field's value.
47741func (s *UpdateTrialInput) SetTrialName(v string) *UpdateTrialInput {
47742	s.TrialName = &v
47743	return s
47744}
47745
47746type UpdateTrialOutput struct {
47747	_ struct{} `type:"structure"`
47748
47749	// The Amazon Resource Name (ARN) of the trial.
47750	TrialArn *string `type:"string"`
47751}
47752
47753// String returns the string representation
47754func (s UpdateTrialOutput) String() string {
47755	return awsutil.Prettify(s)
47756}
47757
47758// GoString returns the string representation
47759func (s UpdateTrialOutput) GoString() string {
47760	return s.String()
47761}
47762
47763// SetTrialArn sets the TrialArn field's value.
47764func (s *UpdateTrialOutput) SetTrialArn(v string) *UpdateTrialOutput {
47765	s.TrialArn = &v
47766	return s
47767}
47768
47769type UpdateUserProfileInput struct {
47770	_ struct{} `type:"structure"`
47771
47772	// The domain ID.
47773	//
47774	// DomainId is a required field
47775	DomainId *string `type:"string" required:"true"`
47776
47777	// The user profile name.
47778	//
47779	// UserProfileName is a required field
47780	UserProfileName *string `type:"string" required:"true"`
47781
47782	// A collection of settings.
47783	UserSettings *UserSettings `type:"structure"`
47784}
47785
47786// String returns the string representation
47787func (s UpdateUserProfileInput) String() string {
47788	return awsutil.Prettify(s)
47789}
47790
47791// GoString returns the string representation
47792func (s UpdateUserProfileInput) GoString() string {
47793	return s.String()
47794}
47795
47796// Validate inspects the fields of the type to determine if they are valid.
47797func (s *UpdateUserProfileInput) Validate() error {
47798	invalidParams := request.ErrInvalidParams{Context: "UpdateUserProfileInput"}
47799	if s.DomainId == nil {
47800		invalidParams.Add(request.NewErrParamRequired("DomainId"))
47801	}
47802	if s.UserProfileName == nil {
47803		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
47804	}
47805	if s.UserSettings != nil {
47806		if err := s.UserSettings.Validate(); err != nil {
47807			invalidParams.AddNested("UserSettings", err.(request.ErrInvalidParams))
47808		}
47809	}
47810
47811	if invalidParams.Len() > 0 {
47812		return invalidParams
47813	}
47814	return nil
47815}
47816
47817// SetDomainId sets the DomainId field's value.
47818func (s *UpdateUserProfileInput) SetDomainId(v string) *UpdateUserProfileInput {
47819	s.DomainId = &v
47820	return s
47821}
47822
47823// SetUserProfileName sets the UserProfileName field's value.
47824func (s *UpdateUserProfileInput) SetUserProfileName(v string) *UpdateUserProfileInput {
47825	s.UserProfileName = &v
47826	return s
47827}
47828
47829// SetUserSettings sets the UserSettings field's value.
47830func (s *UpdateUserProfileInput) SetUserSettings(v *UserSettings) *UpdateUserProfileInput {
47831	s.UserSettings = v
47832	return s
47833}
47834
47835type UpdateUserProfileOutput struct {
47836	_ struct{} `type:"structure"`
47837
47838	// The user profile Amazon Resource Name (ARN).
47839	UserProfileArn *string `type:"string"`
47840}
47841
47842// String returns the string representation
47843func (s UpdateUserProfileOutput) String() string {
47844	return awsutil.Prettify(s)
47845}
47846
47847// GoString returns the string representation
47848func (s UpdateUserProfileOutput) GoString() string {
47849	return s.String()
47850}
47851
47852// SetUserProfileArn sets the UserProfileArn field's value.
47853func (s *UpdateUserProfileOutput) SetUserProfileArn(v string) *UpdateUserProfileOutput {
47854	s.UserProfileArn = &v
47855	return s
47856}
47857
47858type UpdateWorkforceInput struct {
47859	_ struct{} `type:"structure"`
47860
47861	// Use this parameter to update your OIDC Identity Provider (IdP) configuration
47862	// for a workforce made using your own IdP.
47863	OidcConfig *OidcConfig `type:"structure"`
47864
47865	// A list of one to ten worker IP address ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html))
47866	// that can be used to access tasks assigned to this workforce.
47867	//
47868	// Maximum: Ten CIDR values
47869	SourceIpConfig *SourceIpConfig `type:"structure"`
47870
47871	// The name of the private workforce whose access you want to restrict. WorkforceName
47872	// is automatically set to default when a workforce is created and cannot be
47873	// modified.
47874	//
47875	// WorkforceName is a required field
47876	WorkforceName *string `min:"1" type:"string" required:"true"`
47877}
47878
47879// String returns the string representation
47880func (s UpdateWorkforceInput) String() string {
47881	return awsutil.Prettify(s)
47882}
47883
47884// GoString returns the string representation
47885func (s UpdateWorkforceInput) GoString() string {
47886	return s.String()
47887}
47888
47889// Validate inspects the fields of the type to determine if they are valid.
47890func (s *UpdateWorkforceInput) Validate() error {
47891	invalidParams := request.ErrInvalidParams{Context: "UpdateWorkforceInput"}
47892	if s.WorkforceName == nil {
47893		invalidParams.Add(request.NewErrParamRequired("WorkforceName"))
47894	}
47895	if s.WorkforceName != nil && len(*s.WorkforceName) < 1 {
47896		invalidParams.Add(request.NewErrParamMinLen("WorkforceName", 1))
47897	}
47898	if s.OidcConfig != nil {
47899		if err := s.OidcConfig.Validate(); err != nil {
47900			invalidParams.AddNested("OidcConfig", err.(request.ErrInvalidParams))
47901		}
47902	}
47903	if s.SourceIpConfig != nil {
47904		if err := s.SourceIpConfig.Validate(); err != nil {
47905			invalidParams.AddNested("SourceIpConfig", err.(request.ErrInvalidParams))
47906		}
47907	}
47908
47909	if invalidParams.Len() > 0 {
47910		return invalidParams
47911	}
47912	return nil
47913}
47914
47915// SetOidcConfig sets the OidcConfig field's value.
47916func (s *UpdateWorkforceInput) SetOidcConfig(v *OidcConfig) *UpdateWorkforceInput {
47917	s.OidcConfig = v
47918	return s
47919}
47920
47921// SetSourceIpConfig sets the SourceIpConfig field's value.
47922func (s *UpdateWorkforceInput) SetSourceIpConfig(v *SourceIpConfig) *UpdateWorkforceInput {
47923	s.SourceIpConfig = v
47924	return s
47925}
47926
47927// SetWorkforceName sets the WorkforceName field's value.
47928func (s *UpdateWorkforceInput) SetWorkforceName(v string) *UpdateWorkforceInput {
47929	s.WorkforceName = &v
47930	return s
47931}
47932
47933type UpdateWorkforceOutput struct {
47934	_ struct{} `type:"structure"`
47935
47936	// A single private workforce, which is automatically created when you create
47937	// your first private work team. You can create one private work force in each
47938	// AWS Region. By default, any workforce-related API operation used in a specific
47939	// region will apply to the workforce created in that region. To learn how to
47940	// create a private workforce, see Create a Private Workforce (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html).
47941	//
47942	// Workforce is a required field
47943	Workforce *Workforce `type:"structure" required:"true"`
47944}
47945
47946// String returns the string representation
47947func (s UpdateWorkforceOutput) String() string {
47948	return awsutil.Prettify(s)
47949}
47950
47951// GoString returns the string representation
47952func (s UpdateWorkforceOutput) GoString() string {
47953	return s.String()
47954}
47955
47956// SetWorkforce sets the Workforce field's value.
47957func (s *UpdateWorkforceOutput) SetWorkforce(v *Workforce) *UpdateWorkforceOutput {
47958	s.Workforce = v
47959	return s
47960}
47961
47962type UpdateWorkteamInput struct {
47963	_ struct{} `type:"structure"`
47964
47965	// An updated description for the work team.
47966	Description *string `min:"1" type:"string"`
47967
47968	// A list of MemberDefinition objects that contain the updated work team members.
47969	MemberDefinitions []*MemberDefinition `min:"1" type:"list"`
47970
47971	// Configures SNS topic notifications for available or expiring work items
47972	NotificationConfiguration *NotificationConfiguration `type:"structure"`
47973
47974	// The name of the work team to update.
47975	//
47976	// WorkteamName is a required field
47977	WorkteamName *string `min:"1" type:"string" required:"true"`
47978}
47979
47980// String returns the string representation
47981func (s UpdateWorkteamInput) String() string {
47982	return awsutil.Prettify(s)
47983}
47984
47985// GoString returns the string representation
47986func (s UpdateWorkteamInput) GoString() string {
47987	return s.String()
47988}
47989
47990// Validate inspects the fields of the type to determine if they are valid.
47991func (s *UpdateWorkteamInput) Validate() error {
47992	invalidParams := request.ErrInvalidParams{Context: "UpdateWorkteamInput"}
47993	if s.Description != nil && len(*s.Description) < 1 {
47994		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
47995	}
47996	if s.MemberDefinitions != nil && len(s.MemberDefinitions) < 1 {
47997		invalidParams.Add(request.NewErrParamMinLen("MemberDefinitions", 1))
47998	}
47999	if s.WorkteamName == nil {
48000		invalidParams.Add(request.NewErrParamRequired("WorkteamName"))
48001	}
48002	if s.WorkteamName != nil && len(*s.WorkteamName) < 1 {
48003		invalidParams.Add(request.NewErrParamMinLen("WorkteamName", 1))
48004	}
48005	if s.MemberDefinitions != nil {
48006		for i, v := range s.MemberDefinitions {
48007			if v == nil {
48008				continue
48009			}
48010			if err := v.Validate(); err != nil {
48011				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MemberDefinitions", i), err.(request.ErrInvalidParams))
48012			}
48013		}
48014	}
48015
48016	if invalidParams.Len() > 0 {
48017		return invalidParams
48018	}
48019	return nil
48020}
48021
48022// SetDescription sets the Description field's value.
48023func (s *UpdateWorkteamInput) SetDescription(v string) *UpdateWorkteamInput {
48024	s.Description = &v
48025	return s
48026}
48027
48028// SetMemberDefinitions sets the MemberDefinitions field's value.
48029func (s *UpdateWorkteamInput) SetMemberDefinitions(v []*MemberDefinition) *UpdateWorkteamInput {
48030	s.MemberDefinitions = v
48031	return s
48032}
48033
48034// SetNotificationConfiguration sets the NotificationConfiguration field's value.
48035func (s *UpdateWorkteamInput) SetNotificationConfiguration(v *NotificationConfiguration) *UpdateWorkteamInput {
48036	s.NotificationConfiguration = v
48037	return s
48038}
48039
48040// SetWorkteamName sets the WorkteamName field's value.
48041func (s *UpdateWorkteamInput) SetWorkteamName(v string) *UpdateWorkteamInput {
48042	s.WorkteamName = &v
48043	return s
48044}
48045
48046type UpdateWorkteamOutput struct {
48047	_ struct{} `type:"structure"`
48048
48049	// A Workteam object that describes the updated work team.
48050	//
48051	// Workteam is a required field
48052	Workteam *Workteam `type:"structure" required:"true"`
48053}
48054
48055// String returns the string representation
48056func (s UpdateWorkteamOutput) String() string {
48057	return awsutil.Prettify(s)
48058}
48059
48060// GoString returns the string representation
48061func (s UpdateWorkteamOutput) GoString() string {
48062	return s.String()
48063}
48064
48065// SetWorkteam sets the Workteam field's value.
48066func (s *UpdateWorkteamOutput) SetWorkteam(v *Workteam) *UpdateWorkteamOutput {
48067	s.Workteam = v
48068	return s
48069}
48070
48071// Information about the user who created or modified an experiment, trial,
48072// or trial component.
48073type UserContext struct {
48074	_ struct{} `type:"structure"`
48075
48076	// The domain associated with the user.
48077	DomainId *string `type:"string"`
48078
48079	// The Amazon Resource Name (ARN) of the user's profile.
48080	UserProfileArn *string `type:"string"`
48081
48082	// The name of the user's profile.
48083	UserProfileName *string `type:"string"`
48084}
48085
48086// String returns the string representation
48087func (s UserContext) String() string {
48088	return awsutil.Prettify(s)
48089}
48090
48091// GoString returns the string representation
48092func (s UserContext) GoString() string {
48093	return s.String()
48094}
48095
48096// SetDomainId sets the DomainId field's value.
48097func (s *UserContext) SetDomainId(v string) *UserContext {
48098	s.DomainId = &v
48099	return s
48100}
48101
48102// SetUserProfileArn sets the UserProfileArn field's value.
48103func (s *UserContext) SetUserProfileArn(v string) *UserContext {
48104	s.UserProfileArn = &v
48105	return s
48106}
48107
48108// SetUserProfileName sets the UserProfileName field's value.
48109func (s *UserContext) SetUserProfileName(v string) *UserContext {
48110	s.UserProfileName = &v
48111	return s
48112}
48113
48114// The user profile details.
48115type UserProfileDetails struct {
48116	_ struct{} `type:"structure"`
48117
48118	// The creation time.
48119	CreationTime *time.Time `type:"timestamp"`
48120
48121	// The domain ID.
48122	DomainId *string `type:"string"`
48123
48124	// The last modified time.
48125	LastModifiedTime *time.Time `type:"timestamp"`
48126
48127	// The status.
48128	Status *string `type:"string" enum:"UserProfileStatus"`
48129
48130	// The user profile name.
48131	UserProfileName *string `type:"string"`
48132}
48133
48134// String returns the string representation
48135func (s UserProfileDetails) String() string {
48136	return awsutil.Prettify(s)
48137}
48138
48139// GoString returns the string representation
48140func (s UserProfileDetails) GoString() string {
48141	return s.String()
48142}
48143
48144// SetCreationTime sets the CreationTime field's value.
48145func (s *UserProfileDetails) SetCreationTime(v time.Time) *UserProfileDetails {
48146	s.CreationTime = &v
48147	return s
48148}
48149
48150// SetDomainId sets the DomainId field's value.
48151func (s *UserProfileDetails) SetDomainId(v string) *UserProfileDetails {
48152	s.DomainId = &v
48153	return s
48154}
48155
48156// SetLastModifiedTime sets the LastModifiedTime field's value.
48157func (s *UserProfileDetails) SetLastModifiedTime(v time.Time) *UserProfileDetails {
48158	s.LastModifiedTime = &v
48159	return s
48160}
48161
48162// SetStatus sets the Status field's value.
48163func (s *UserProfileDetails) SetStatus(v string) *UserProfileDetails {
48164	s.Status = &v
48165	return s
48166}
48167
48168// SetUserProfileName sets the UserProfileName field's value.
48169func (s *UserProfileDetails) SetUserProfileName(v string) *UserProfileDetails {
48170	s.UserProfileName = &v
48171	return s
48172}
48173
48174// A collection of settings.
48175type UserSettings struct {
48176	_ struct{} `type:"structure"`
48177
48178	// The execution role for the user.
48179	ExecutionRole *string `min:"20" type:"string"`
48180
48181	// The Jupyter server's app settings.
48182	JupyterServerAppSettings *JupyterServerAppSettings `type:"structure"`
48183
48184	// The kernel gateway app settings.
48185	KernelGatewayAppSettings *KernelGatewayAppSettings `type:"structure"`
48186
48187	// The security groups.
48188	SecurityGroups []*string `type:"list"`
48189
48190	// The sharing settings.
48191	SharingSettings *SharingSettings `type:"structure"`
48192
48193	// The TensorBoard app settings.
48194	TensorBoardAppSettings *TensorBoardAppSettings `type:"structure"`
48195}
48196
48197// String returns the string representation
48198func (s UserSettings) String() string {
48199	return awsutil.Prettify(s)
48200}
48201
48202// GoString returns the string representation
48203func (s UserSettings) GoString() string {
48204	return s.String()
48205}
48206
48207// Validate inspects the fields of the type to determine if they are valid.
48208func (s *UserSettings) Validate() error {
48209	invalidParams := request.ErrInvalidParams{Context: "UserSettings"}
48210	if s.ExecutionRole != nil && len(*s.ExecutionRole) < 20 {
48211		invalidParams.Add(request.NewErrParamMinLen("ExecutionRole", 20))
48212	}
48213
48214	if invalidParams.Len() > 0 {
48215		return invalidParams
48216	}
48217	return nil
48218}
48219
48220// SetExecutionRole sets the ExecutionRole field's value.
48221func (s *UserSettings) SetExecutionRole(v string) *UserSettings {
48222	s.ExecutionRole = &v
48223	return s
48224}
48225
48226// SetJupyterServerAppSettings sets the JupyterServerAppSettings field's value.
48227func (s *UserSettings) SetJupyterServerAppSettings(v *JupyterServerAppSettings) *UserSettings {
48228	s.JupyterServerAppSettings = v
48229	return s
48230}
48231
48232// SetKernelGatewayAppSettings sets the KernelGatewayAppSettings field's value.
48233func (s *UserSettings) SetKernelGatewayAppSettings(v *KernelGatewayAppSettings) *UserSettings {
48234	s.KernelGatewayAppSettings = v
48235	return s
48236}
48237
48238// SetSecurityGroups sets the SecurityGroups field's value.
48239func (s *UserSettings) SetSecurityGroups(v []*string) *UserSettings {
48240	s.SecurityGroups = v
48241	return s
48242}
48243
48244// SetSharingSettings sets the SharingSettings field's value.
48245func (s *UserSettings) SetSharingSettings(v *SharingSettings) *UserSettings {
48246	s.SharingSettings = v
48247	return s
48248}
48249
48250// SetTensorBoardAppSettings sets the TensorBoardAppSettings field's value.
48251func (s *UserSettings) SetTensorBoardAppSettings(v *TensorBoardAppSettings) *UserSettings {
48252	s.TensorBoardAppSettings = v
48253	return s
48254}
48255
48256// Specifies a production variant property type for an Endpoint.
48257//
48258// If you are updating an endpoint with the UpdateEndpointInput$RetainAllVariantProperties
48259// option set to true, the VariantProperty objects listed in UpdateEndpointInput$ExcludeRetainedVariantProperties
48260// override the existing variant properties of the endpoint.
48261type VariantProperty struct {
48262	_ struct{} `type:"structure"`
48263
48264	// The type of variant property. The supported values are:
48265	//
48266	//    * DesiredInstanceCount: Overrides the existing variant instance counts
48267	//    using the ProductionVariant$InitialInstanceCount values in the CreateEndpointConfigInput$ProductionVariants.
48268	//
48269	//    * DesiredWeight: Overrides the existing variant weights using the ProductionVariant$InitialVariantWeight
48270	//    values in the CreateEndpointConfigInput$ProductionVariants.
48271	//
48272	//    * DataCaptureConfig: (Not currently supported.)
48273	//
48274	// VariantPropertyType is a required field
48275	VariantPropertyType *string `type:"string" required:"true" enum:"VariantPropertyType"`
48276}
48277
48278// String returns the string representation
48279func (s VariantProperty) String() string {
48280	return awsutil.Prettify(s)
48281}
48282
48283// GoString returns the string representation
48284func (s VariantProperty) GoString() string {
48285	return s.String()
48286}
48287
48288// Validate inspects the fields of the type to determine if they are valid.
48289func (s *VariantProperty) Validate() error {
48290	invalidParams := request.ErrInvalidParams{Context: "VariantProperty"}
48291	if s.VariantPropertyType == nil {
48292		invalidParams.Add(request.NewErrParamRequired("VariantPropertyType"))
48293	}
48294
48295	if invalidParams.Len() > 0 {
48296		return invalidParams
48297	}
48298	return nil
48299}
48300
48301// SetVariantPropertyType sets the VariantPropertyType field's value.
48302func (s *VariantProperty) SetVariantPropertyType(v string) *VariantProperty {
48303	s.VariantPropertyType = &v
48304	return s
48305}
48306
48307// Specifies a VPC that your training jobs and hosted models have access to.
48308// Control access to and from your training and model containers by configuring
48309// the VPC. For more information, see Protect Endpoints by Using an Amazon Virtual
48310// Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html)
48311// and Protect Training Jobs by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
48312type VpcConfig struct {
48313	_ struct{} `type:"structure"`
48314
48315	// The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security
48316	// groups for the VPC that is specified in the Subnets field.
48317	//
48318	// SecurityGroupIds is a required field
48319	SecurityGroupIds []*string `min:"1" type:"list" required:"true"`
48320
48321	// The ID of the subnets in the VPC to which you want to connect your training
48322	// job or model. For information about the availability of specific instance
48323	// types, see Supported Instance Types and Availability Zones (https://docs.aws.amazon.com/sagemaker/latest/dg/instance-types-az.html).
48324	//
48325	// Subnets is a required field
48326	Subnets []*string `min:"1" type:"list" required:"true"`
48327}
48328
48329// String returns the string representation
48330func (s VpcConfig) String() string {
48331	return awsutil.Prettify(s)
48332}
48333
48334// GoString returns the string representation
48335func (s VpcConfig) GoString() string {
48336	return s.String()
48337}
48338
48339// Validate inspects the fields of the type to determine if they are valid.
48340func (s *VpcConfig) Validate() error {
48341	invalidParams := request.ErrInvalidParams{Context: "VpcConfig"}
48342	if s.SecurityGroupIds == nil {
48343		invalidParams.Add(request.NewErrParamRequired("SecurityGroupIds"))
48344	}
48345	if s.SecurityGroupIds != nil && len(s.SecurityGroupIds) < 1 {
48346		invalidParams.Add(request.NewErrParamMinLen("SecurityGroupIds", 1))
48347	}
48348	if s.Subnets == nil {
48349		invalidParams.Add(request.NewErrParamRequired("Subnets"))
48350	}
48351	if s.Subnets != nil && len(s.Subnets) < 1 {
48352		invalidParams.Add(request.NewErrParamMinLen("Subnets", 1))
48353	}
48354
48355	if invalidParams.Len() > 0 {
48356		return invalidParams
48357	}
48358	return nil
48359}
48360
48361// SetSecurityGroupIds sets the SecurityGroupIds field's value.
48362func (s *VpcConfig) SetSecurityGroupIds(v []*string) *VpcConfig {
48363	s.SecurityGroupIds = v
48364	return s
48365}
48366
48367// SetSubnets sets the Subnets field's value.
48368func (s *VpcConfig) SetSubnets(v []*string) *VpcConfig {
48369	s.Subnets = v
48370	return s
48371}
48372
48373// A single private workforce, which is automatically created when you create
48374// your first private work team. You can create one private work force in each
48375// AWS Region. By default, any workforce-related API operation used in a specific
48376// region will apply to the workforce created in that region. To learn how to
48377// create a private workforce, see Create a Private Workforce (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html).
48378type Workforce struct {
48379	_ struct{} `type:"structure"`
48380
48381	// The configuration of an Amazon Cognito workforce. A single Cognito workforce
48382	// is created using and corresponds to a single Amazon Cognito user pool (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html).
48383	CognitoConfig *CognitoConfig `type:"structure"`
48384
48385	// The date that the workforce is created.
48386	CreateDate *time.Time `type:"timestamp"`
48387
48388	// The most recent date that was used to successfully add one or more IP address
48389	// ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html))
48390	// to a private workforce's allow list.
48391	LastUpdatedDate *time.Time `type:"timestamp"`
48392
48393	// The configuration of an OIDC Identity Provider (IdP) private workforce.
48394	OidcConfig *OidcConfigForResponse `type:"structure"`
48395
48396	// A list of one to ten IP address ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html))
48397	// to be added to the workforce allow list.
48398	SourceIpConfig *SourceIpConfig `type:"structure"`
48399
48400	// The subdomain for your OIDC Identity Provider.
48401	SubDomain *string `type:"string"`
48402
48403	// The Amazon Resource Name (ARN) of the private workforce.
48404	//
48405	// WorkforceArn is a required field
48406	WorkforceArn *string `type:"string" required:"true"`
48407
48408	// The name of the private workforce.
48409	//
48410	// WorkforceName is a required field
48411	WorkforceName *string `min:"1" type:"string" required:"true"`
48412}
48413
48414// String returns the string representation
48415func (s Workforce) String() string {
48416	return awsutil.Prettify(s)
48417}
48418
48419// GoString returns the string representation
48420func (s Workforce) GoString() string {
48421	return s.String()
48422}
48423
48424// SetCognitoConfig sets the CognitoConfig field's value.
48425func (s *Workforce) SetCognitoConfig(v *CognitoConfig) *Workforce {
48426	s.CognitoConfig = v
48427	return s
48428}
48429
48430// SetCreateDate sets the CreateDate field's value.
48431func (s *Workforce) SetCreateDate(v time.Time) *Workforce {
48432	s.CreateDate = &v
48433	return s
48434}
48435
48436// SetLastUpdatedDate sets the LastUpdatedDate field's value.
48437func (s *Workforce) SetLastUpdatedDate(v time.Time) *Workforce {
48438	s.LastUpdatedDate = &v
48439	return s
48440}
48441
48442// SetOidcConfig sets the OidcConfig field's value.
48443func (s *Workforce) SetOidcConfig(v *OidcConfigForResponse) *Workforce {
48444	s.OidcConfig = v
48445	return s
48446}
48447
48448// SetSourceIpConfig sets the SourceIpConfig field's value.
48449func (s *Workforce) SetSourceIpConfig(v *SourceIpConfig) *Workforce {
48450	s.SourceIpConfig = v
48451	return s
48452}
48453
48454// SetSubDomain sets the SubDomain field's value.
48455func (s *Workforce) SetSubDomain(v string) *Workforce {
48456	s.SubDomain = &v
48457	return s
48458}
48459
48460// SetWorkforceArn sets the WorkforceArn field's value.
48461func (s *Workforce) SetWorkforceArn(v string) *Workforce {
48462	s.WorkforceArn = &v
48463	return s
48464}
48465
48466// SetWorkforceName sets the WorkforceName field's value.
48467func (s *Workforce) SetWorkforceName(v string) *Workforce {
48468	s.WorkforceName = &v
48469	return s
48470}
48471
48472// Provides details about a labeling work team.
48473type Workteam struct {
48474	_ struct{} `type:"structure"`
48475
48476	// The date and time that the work team was created (timestamp).
48477	CreateDate *time.Time `type:"timestamp"`
48478
48479	// A description of the work team.
48480	//
48481	// Description is a required field
48482	Description *string `min:"1" type:"string" required:"true"`
48483
48484	// The date and time that the work team was last updated (timestamp).
48485	LastUpdatedDate *time.Time `type:"timestamp"`
48486
48487	// The Amazon Cognito user groups that make up the work team.
48488	//
48489	// MemberDefinitions is a required field
48490	MemberDefinitions []*MemberDefinition `min:"1" type:"list" required:"true"`
48491
48492	// Configures SNS notifications of available or expiring work items for work
48493	// teams.
48494	NotificationConfiguration *NotificationConfiguration `type:"structure"`
48495
48496	// The Amazon Marketplace identifier for a vendor's work team.
48497	ProductListingIds []*string `type:"list"`
48498
48499	// The URI of the labeling job's user interface. Workers open this URI to start
48500	// labeling your data objects.
48501	SubDomain *string `type:"string"`
48502
48503	// The Amazon Resource Name (ARN) of the workforce.
48504	WorkforceArn *string `type:"string"`
48505
48506	// The Amazon Resource Name (ARN) that identifies the work team.
48507	//
48508	// WorkteamArn is a required field
48509	WorkteamArn *string `type:"string" required:"true"`
48510
48511	// The name of the work team.
48512	//
48513	// WorkteamName is a required field
48514	WorkteamName *string `min:"1" type:"string" required:"true"`
48515}
48516
48517// String returns the string representation
48518func (s Workteam) String() string {
48519	return awsutil.Prettify(s)
48520}
48521
48522// GoString returns the string representation
48523func (s Workteam) GoString() string {
48524	return s.String()
48525}
48526
48527// SetCreateDate sets the CreateDate field's value.
48528func (s *Workteam) SetCreateDate(v time.Time) *Workteam {
48529	s.CreateDate = &v
48530	return s
48531}
48532
48533// SetDescription sets the Description field's value.
48534func (s *Workteam) SetDescription(v string) *Workteam {
48535	s.Description = &v
48536	return s
48537}
48538
48539// SetLastUpdatedDate sets the LastUpdatedDate field's value.
48540func (s *Workteam) SetLastUpdatedDate(v time.Time) *Workteam {
48541	s.LastUpdatedDate = &v
48542	return s
48543}
48544
48545// SetMemberDefinitions sets the MemberDefinitions field's value.
48546func (s *Workteam) SetMemberDefinitions(v []*MemberDefinition) *Workteam {
48547	s.MemberDefinitions = v
48548	return s
48549}
48550
48551// SetNotificationConfiguration sets the NotificationConfiguration field's value.
48552func (s *Workteam) SetNotificationConfiguration(v *NotificationConfiguration) *Workteam {
48553	s.NotificationConfiguration = v
48554	return s
48555}
48556
48557// SetProductListingIds sets the ProductListingIds field's value.
48558func (s *Workteam) SetProductListingIds(v []*string) *Workteam {
48559	s.ProductListingIds = v
48560	return s
48561}
48562
48563// SetSubDomain sets the SubDomain field's value.
48564func (s *Workteam) SetSubDomain(v string) *Workteam {
48565	s.SubDomain = &v
48566	return s
48567}
48568
48569// SetWorkforceArn sets the WorkforceArn field's value.
48570func (s *Workteam) SetWorkforceArn(v string) *Workteam {
48571	s.WorkforceArn = &v
48572	return s
48573}
48574
48575// SetWorkteamArn sets the WorkteamArn field's value.
48576func (s *Workteam) SetWorkteamArn(v string) *Workteam {
48577	s.WorkteamArn = &v
48578	return s
48579}
48580
48581// SetWorkteamName sets the WorkteamName field's value.
48582func (s *Workteam) SetWorkteamName(v string) *Workteam {
48583	s.WorkteamName = &v
48584	return s
48585}
48586
48587const (
48588	// AlgorithmSortByName is a AlgorithmSortBy enum value
48589	AlgorithmSortByName = "Name"
48590
48591	// AlgorithmSortByCreationTime is a AlgorithmSortBy enum value
48592	AlgorithmSortByCreationTime = "CreationTime"
48593)
48594
48595const (
48596	// AlgorithmStatusPending is a AlgorithmStatus enum value
48597	AlgorithmStatusPending = "Pending"
48598
48599	// AlgorithmStatusInProgress is a AlgorithmStatus enum value
48600	AlgorithmStatusInProgress = "InProgress"
48601
48602	// AlgorithmStatusCompleted is a AlgorithmStatus enum value
48603	AlgorithmStatusCompleted = "Completed"
48604
48605	// AlgorithmStatusFailed is a AlgorithmStatus enum value
48606	AlgorithmStatusFailed = "Failed"
48607
48608	// AlgorithmStatusDeleting is a AlgorithmStatus enum value
48609	AlgorithmStatusDeleting = "Deleting"
48610)
48611
48612const (
48613	// AppInstanceTypeSystem is a AppInstanceType enum value
48614	AppInstanceTypeSystem = "system"
48615
48616	// AppInstanceTypeMlT3Micro is a AppInstanceType enum value
48617	AppInstanceTypeMlT3Micro = "ml.t3.micro"
48618
48619	// AppInstanceTypeMlT3Small is a AppInstanceType enum value
48620	AppInstanceTypeMlT3Small = "ml.t3.small"
48621
48622	// AppInstanceTypeMlT3Medium is a AppInstanceType enum value
48623	AppInstanceTypeMlT3Medium = "ml.t3.medium"
48624
48625	// AppInstanceTypeMlT3Large is a AppInstanceType enum value
48626	AppInstanceTypeMlT3Large = "ml.t3.large"
48627
48628	// AppInstanceTypeMlT3Xlarge is a AppInstanceType enum value
48629	AppInstanceTypeMlT3Xlarge = "ml.t3.xlarge"
48630
48631	// AppInstanceTypeMlT32xlarge is a AppInstanceType enum value
48632	AppInstanceTypeMlT32xlarge = "ml.t3.2xlarge"
48633
48634	// AppInstanceTypeMlM5Large is a AppInstanceType enum value
48635	AppInstanceTypeMlM5Large = "ml.m5.large"
48636
48637	// AppInstanceTypeMlM5Xlarge is a AppInstanceType enum value
48638	AppInstanceTypeMlM5Xlarge = "ml.m5.xlarge"
48639
48640	// AppInstanceTypeMlM52xlarge is a AppInstanceType enum value
48641	AppInstanceTypeMlM52xlarge = "ml.m5.2xlarge"
48642
48643	// AppInstanceTypeMlM54xlarge is a AppInstanceType enum value
48644	AppInstanceTypeMlM54xlarge = "ml.m5.4xlarge"
48645
48646	// AppInstanceTypeMlM58xlarge is a AppInstanceType enum value
48647	AppInstanceTypeMlM58xlarge = "ml.m5.8xlarge"
48648
48649	// AppInstanceTypeMlM512xlarge is a AppInstanceType enum value
48650	AppInstanceTypeMlM512xlarge = "ml.m5.12xlarge"
48651
48652	// AppInstanceTypeMlM516xlarge is a AppInstanceType enum value
48653	AppInstanceTypeMlM516xlarge = "ml.m5.16xlarge"
48654
48655	// AppInstanceTypeMlM524xlarge is a AppInstanceType enum value
48656	AppInstanceTypeMlM524xlarge = "ml.m5.24xlarge"
48657
48658	// AppInstanceTypeMlC5Large is a AppInstanceType enum value
48659	AppInstanceTypeMlC5Large = "ml.c5.large"
48660
48661	// AppInstanceTypeMlC5Xlarge is a AppInstanceType enum value
48662	AppInstanceTypeMlC5Xlarge = "ml.c5.xlarge"
48663
48664	// AppInstanceTypeMlC52xlarge is a AppInstanceType enum value
48665	AppInstanceTypeMlC52xlarge = "ml.c5.2xlarge"
48666
48667	// AppInstanceTypeMlC54xlarge is a AppInstanceType enum value
48668	AppInstanceTypeMlC54xlarge = "ml.c5.4xlarge"
48669
48670	// AppInstanceTypeMlC59xlarge is a AppInstanceType enum value
48671	AppInstanceTypeMlC59xlarge = "ml.c5.9xlarge"
48672
48673	// AppInstanceTypeMlC512xlarge is a AppInstanceType enum value
48674	AppInstanceTypeMlC512xlarge = "ml.c5.12xlarge"
48675
48676	// AppInstanceTypeMlC518xlarge is a AppInstanceType enum value
48677	AppInstanceTypeMlC518xlarge = "ml.c5.18xlarge"
48678
48679	// AppInstanceTypeMlC524xlarge is a AppInstanceType enum value
48680	AppInstanceTypeMlC524xlarge = "ml.c5.24xlarge"
48681
48682	// AppInstanceTypeMlP32xlarge is a AppInstanceType enum value
48683	AppInstanceTypeMlP32xlarge = "ml.p3.2xlarge"
48684
48685	// AppInstanceTypeMlP38xlarge is a AppInstanceType enum value
48686	AppInstanceTypeMlP38xlarge = "ml.p3.8xlarge"
48687
48688	// AppInstanceTypeMlP316xlarge is a AppInstanceType enum value
48689	AppInstanceTypeMlP316xlarge = "ml.p3.16xlarge"
48690
48691	// AppInstanceTypeMlG4dnXlarge is a AppInstanceType enum value
48692	AppInstanceTypeMlG4dnXlarge = "ml.g4dn.xlarge"
48693
48694	// AppInstanceTypeMlG4dn2xlarge is a AppInstanceType enum value
48695	AppInstanceTypeMlG4dn2xlarge = "ml.g4dn.2xlarge"
48696
48697	// AppInstanceTypeMlG4dn4xlarge is a AppInstanceType enum value
48698	AppInstanceTypeMlG4dn4xlarge = "ml.g4dn.4xlarge"
48699
48700	// AppInstanceTypeMlG4dn8xlarge is a AppInstanceType enum value
48701	AppInstanceTypeMlG4dn8xlarge = "ml.g4dn.8xlarge"
48702
48703	// AppInstanceTypeMlG4dn12xlarge is a AppInstanceType enum value
48704	AppInstanceTypeMlG4dn12xlarge = "ml.g4dn.12xlarge"
48705
48706	// AppInstanceTypeMlG4dn16xlarge is a AppInstanceType enum value
48707	AppInstanceTypeMlG4dn16xlarge = "ml.g4dn.16xlarge"
48708)
48709
48710const (
48711	// AppSortKeyCreationTime is a AppSortKey enum value
48712	AppSortKeyCreationTime = "CreationTime"
48713)
48714
48715const (
48716	// AppStatusDeleted is a AppStatus enum value
48717	AppStatusDeleted = "Deleted"
48718
48719	// AppStatusDeleting is a AppStatus enum value
48720	AppStatusDeleting = "Deleting"
48721
48722	// AppStatusFailed is a AppStatus enum value
48723	AppStatusFailed = "Failed"
48724
48725	// AppStatusInService is a AppStatus enum value
48726	AppStatusInService = "InService"
48727
48728	// AppStatusPending is a AppStatus enum value
48729	AppStatusPending = "Pending"
48730)
48731
48732const (
48733	// AppTypeJupyterServer is a AppType enum value
48734	AppTypeJupyterServer = "JupyterServer"
48735
48736	// AppTypeKernelGateway is a AppType enum value
48737	AppTypeKernelGateway = "KernelGateway"
48738
48739	// AppTypeTensorBoard is a AppType enum value
48740	AppTypeTensorBoard = "TensorBoard"
48741)
48742
48743const (
48744	// AssemblyTypeNone is a AssemblyType enum value
48745	AssemblyTypeNone = "None"
48746
48747	// AssemblyTypeLine is a AssemblyType enum value
48748	AssemblyTypeLine = "Line"
48749)
48750
48751const (
48752	// AuthModeSso is a AuthMode enum value
48753	AuthModeSso = "SSO"
48754
48755	// AuthModeIam is a AuthMode enum value
48756	AuthModeIam = "IAM"
48757)
48758
48759const (
48760	// AutoMLJobObjectiveTypeMaximize is a AutoMLJobObjectiveType enum value
48761	AutoMLJobObjectiveTypeMaximize = "Maximize"
48762
48763	// AutoMLJobObjectiveTypeMinimize is a AutoMLJobObjectiveType enum value
48764	AutoMLJobObjectiveTypeMinimize = "Minimize"
48765)
48766
48767const (
48768	// AutoMLJobSecondaryStatusStarting is a AutoMLJobSecondaryStatus enum value
48769	AutoMLJobSecondaryStatusStarting = "Starting"
48770
48771	// AutoMLJobSecondaryStatusAnalyzingData is a AutoMLJobSecondaryStatus enum value
48772	AutoMLJobSecondaryStatusAnalyzingData = "AnalyzingData"
48773
48774	// AutoMLJobSecondaryStatusFeatureEngineering is a AutoMLJobSecondaryStatus enum value
48775	AutoMLJobSecondaryStatusFeatureEngineering = "FeatureEngineering"
48776
48777	// AutoMLJobSecondaryStatusModelTuning is a AutoMLJobSecondaryStatus enum value
48778	AutoMLJobSecondaryStatusModelTuning = "ModelTuning"
48779
48780	// AutoMLJobSecondaryStatusMaxCandidatesReached is a AutoMLJobSecondaryStatus enum value
48781	AutoMLJobSecondaryStatusMaxCandidatesReached = "MaxCandidatesReached"
48782
48783	// AutoMLJobSecondaryStatusFailed is a AutoMLJobSecondaryStatus enum value
48784	AutoMLJobSecondaryStatusFailed = "Failed"
48785
48786	// AutoMLJobSecondaryStatusStopped is a AutoMLJobSecondaryStatus enum value
48787	AutoMLJobSecondaryStatusStopped = "Stopped"
48788
48789	// AutoMLJobSecondaryStatusMaxAutoMljobRuntimeReached is a AutoMLJobSecondaryStatus enum value
48790	AutoMLJobSecondaryStatusMaxAutoMljobRuntimeReached = "MaxAutoMLJobRuntimeReached"
48791
48792	// AutoMLJobSecondaryStatusStopping is a AutoMLJobSecondaryStatus enum value
48793	AutoMLJobSecondaryStatusStopping = "Stopping"
48794
48795	// AutoMLJobSecondaryStatusCandidateDefinitionsGenerated is a AutoMLJobSecondaryStatus enum value
48796	AutoMLJobSecondaryStatusCandidateDefinitionsGenerated = "CandidateDefinitionsGenerated"
48797)
48798
48799const (
48800	// AutoMLJobStatusCompleted is a AutoMLJobStatus enum value
48801	AutoMLJobStatusCompleted = "Completed"
48802
48803	// AutoMLJobStatusInProgress is a AutoMLJobStatus enum value
48804	AutoMLJobStatusInProgress = "InProgress"
48805
48806	// AutoMLJobStatusFailed is a AutoMLJobStatus enum value
48807	AutoMLJobStatusFailed = "Failed"
48808
48809	// AutoMLJobStatusStopped is a AutoMLJobStatus enum value
48810	AutoMLJobStatusStopped = "Stopped"
48811
48812	// AutoMLJobStatusStopping is a AutoMLJobStatus enum value
48813	AutoMLJobStatusStopping = "Stopping"
48814)
48815
48816const (
48817	// AutoMLMetricEnumAccuracy is a AutoMLMetricEnum enum value
48818	AutoMLMetricEnumAccuracy = "Accuracy"
48819
48820	// AutoMLMetricEnumMse is a AutoMLMetricEnum enum value
48821	AutoMLMetricEnumMse = "MSE"
48822
48823	// AutoMLMetricEnumF1 is a AutoMLMetricEnum enum value
48824	AutoMLMetricEnumF1 = "F1"
48825
48826	// AutoMLMetricEnumF1macro is a AutoMLMetricEnum enum value
48827	AutoMLMetricEnumF1macro = "F1macro"
48828)
48829
48830const (
48831	// AutoMLS3DataTypeManifestFile is a AutoMLS3DataType enum value
48832	AutoMLS3DataTypeManifestFile = "ManifestFile"
48833
48834	// AutoMLS3DataTypeS3prefix is a AutoMLS3DataType enum value
48835	AutoMLS3DataTypeS3prefix = "S3Prefix"
48836)
48837
48838const (
48839	// AutoMLSortByName is a AutoMLSortBy enum value
48840	AutoMLSortByName = "Name"
48841
48842	// AutoMLSortByCreationTime is a AutoMLSortBy enum value
48843	AutoMLSortByCreationTime = "CreationTime"
48844
48845	// AutoMLSortByStatus is a AutoMLSortBy enum value
48846	AutoMLSortByStatus = "Status"
48847)
48848
48849const (
48850	// AutoMLSortOrderAscending is a AutoMLSortOrder enum value
48851	AutoMLSortOrderAscending = "Ascending"
48852
48853	// AutoMLSortOrderDescending is a AutoMLSortOrder enum value
48854	AutoMLSortOrderDescending = "Descending"
48855)
48856
48857const (
48858	// AwsManagedHumanLoopRequestSourceAwsRekognitionDetectModerationLabelsImageV3 is a AwsManagedHumanLoopRequestSource enum value
48859	AwsManagedHumanLoopRequestSourceAwsRekognitionDetectModerationLabelsImageV3 = "AWS/Rekognition/DetectModerationLabels/Image/V3"
48860
48861	// AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeDocumentFormsV1 is a AwsManagedHumanLoopRequestSource enum value
48862	AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeDocumentFormsV1 = "AWS/Textract/AnalyzeDocument/Forms/V1"
48863)
48864
48865const (
48866	// BatchStrategyMultiRecord is a BatchStrategy enum value
48867	BatchStrategyMultiRecord = "MultiRecord"
48868
48869	// BatchStrategySingleRecord is a BatchStrategy enum value
48870	BatchStrategySingleRecord = "SingleRecord"
48871)
48872
48873const (
48874	// BooleanOperatorAnd is a BooleanOperator enum value
48875	BooleanOperatorAnd = "And"
48876
48877	// BooleanOperatorOr is a BooleanOperator enum value
48878	BooleanOperatorOr = "Or"
48879)
48880
48881const (
48882	// CandidateSortByCreationTime is a CandidateSortBy enum value
48883	CandidateSortByCreationTime = "CreationTime"
48884
48885	// CandidateSortByStatus is a CandidateSortBy enum value
48886	CandidateSortByStatus = "Status"
48887
48888	// CandidateSortByFinalObjectiveMetricValue is a CandidateSortBy enum value
48889	CandidateSortByFinalObjectiveMetricValue = "FinalObjectiveMetricValue"
48890)
48891
48892const (
48893	// CandidateStatusCompleted is a CandidateStatus enum value
48894	CandidateStatusCompleted = "Completed"
48895
48896	// CandidateStatusInProgress is a CandidateStatus enum value
48897	CandidateStatusInProgress = "InProgress"
48898
48899	// CandidateStatusFailed is a CandidateStatus enum value
48900	CandidateStatusFailed = "Failed"
48901
48902	// CandidateStatusStopped is a CandidateStatus enum value
48903	CandidateStatusStopped = "Stopped"
48904
48905	// CandidateStatusStopping is a CandidateStatus enum value
48906	CandidateStatusStopping = "Stopping"
48907)
48908
48909const (
48910	// CandidateStepTypeAwsSageMakerTrainingJob is a CandidateStepType enum value
48911	CandidateStepTypeAwsSageMakerTrainingJob = "AWS::SageMaker::TrainingJob"
48912
48913	// CandidateStepTypeAwsSageMakerTransformJob is a CandidateStepType enum value
48914	CandidateStepTypeAwsSageMakerTransformJob = "AWS::SageMaker::TransformJob"
48915
48916	// CandidateStepTypeAwsSageMakerProcessingJob is a CandidateStepType enum value
48917	CandidateStepTypeAwsSageMakerProcessingJob = "AWS::SageMaker::ProcessingJob"
48918)
48919
48920const (
48921	// CaptureModeInput is a CaptureMode enum value
48922	CaptureModeInput = "Input"
48923
48924	// CaptureModeOutput is a CaptureMode enum value
48925	CaptureModeOutput = "Output"
48926)
48927
48928const (
48929	// CaptureStatusStarted is a CaptureStatus enum value
48930	CaptureStatusStarted = "Started"
48931
48932	// CaptureStatusStopped is a CaptureStatus enum value
48933	CaptureStatusStopped = "Stopped"
48934)
48935
48936const (
48937	// CodeRepositorySortByName is a CodeRepositorySortBy enum value
48938	CodeRepositorySortByName = "Name"
48939
48940	// CodeRepositorySortByCreationTime is a CodeRepositorySortBy enum value
48941	CodeRepositorySortByCreationTime = "CreationTime"
48942
48943	// CodeRepositorySortByLastModifiedTime is a CodeRepositorySortBy enum value
48944	CodeRepositorySortByLastModifiedTime = "LastModifiedTime"
48945)
48946
48947const (
48948	// CodeRepositorySortOrderAscending is a CodeRepositorySortOrder enum value
48949	CodeRepositorySortOrderAscending = "Ascending"
48950
48951	// CodeRepositorySortOrderDescending is a CodeRepositorySortOrder enum value
48952	CodeRepositorySortOrderDescending = "Descending"
48953)
48954
48955const (
48956	// CompilationJobStatusInprogress is a CompilationJobStatus enum value
48957	CompilationJobStatusInprogress = "INPROGRESS"
48958
48959	// CompilationJobStatusCompleted is a CompilationJobStatus enum value
48960	CompilationJobStatusCompleted = "COMPLETED"
48961
48962	// CompilationJobStatusFailed is a CompilationJobStatus enum value
48963	CompilationJobStatusFailed = "FAILED"
48964
48965	// CompilationJobStatusStarting is a CompilationJobStatus enum value
48966	CompilationJobStatusStarting = "STARTING"
48967
48968	// CompilationJobStatusStopping is a CompilationJobStatus enum value
48969	CompilationJobStatusStopping = "STOPPING"
48970
48971	// CompilationJobStatusStopped is a CompilationJobStatus enum value
48972	CompilationJobStatusStopped = "STOPPED"
48973)
48974
48975const (
48976	// CompressionTypeNone is a CompressionType enum value
48977	CompressionTypeNone = "None"
48978
48979	// CompressionTypeGzip is a CompressionType enum value
48980	CompressionTypeGzip = "Gzip"
48981)
48982
48983const (
48984	// ContainerModeSingleModel is a ContainerMode enum value
48985	ContainerModeSingleModel = "SingleModel"
48986
48987	// ContainerModeMultiModel is a ContainerMode enum value
48988	ContainerModeMultiModel = "MultiModel"
48989)
48990
48991const (
48992	// ContentClassifierFreeOfPersonallyIdentifiableInformation is a ContentClassifier enum value
48993	ContentClassifierFreeOfPersonallyIdentifiableInformation = "FreeOfPersonallyIdentifiableInformation"
48994
48995	// ContentClassifierFreeOfAdultContent is a ContentClassifier enum value
48996	ContentClassifierFreeOfAdultContent = "FreeOfAdultContent"
48997)
48998
48999const (
49000	// DetailedAlgorithmStatusNotStarted is a DetailedAlgorithmStatus enum value
49001	DetailedAlgorithmStatusNotStarted = "NotStarted"
49002
49003	// DetailedAlgorithmStatusInProgress is a DetailedAlgorithmStatus enum value
49004	DetailedAlgorithmStatusInProgress = "InProgress"
49005
49006	// DetailedAlgorithmStatusCompleted is a DetailedAlgorithmStatus enum value
49007	DetailedAlgorithmStatusCompleted = "Completed"
49008
49009	// DetailedAlgorithmStatusFailed is a DetailedAlgorithmStatus enum value
49010	DetailedAlgorithmStatusFailed = "Failed"
49011)
49012
49013const (
49014	// DetailedModelPackageStatusNotStarted is a DetailedModelPackageStatus enum value
49015	DetailedModelPackageStatusNotStarted = "NotStarted"
49016
49017	// DetailedModelPackageStatusInProgress is a DetailedModelPackageStatus enum value
49018	DetailedModelPackageStatusInProgress = "InProgress"
49019
49020	// DetailedModelPackageStatusCompleted is a DetailedModelPackageStatus enum value
49021	DetailedModelPackageStatusCompleted = "Completed"
49022
49023	// DetailedModelPackageStatusFailed is a DetailedModelPackageStatus enum value
49024	DetailedModelPackageStatusFailed = "Failed"
49025)
49026
49027const (
49028	// DirectInternetAccessEnabled is a DirectInternetAccess enum value
49029	DirectInternetAccessEnabled = "Enabled"
49030
49031	// DirectInternetAccessDisabled is a DirectInternetAccess enum value
49032	DirectInternetAccessDisabled = "Disabled"
49033)
49034
49035const (
49036	// DomainStatusDeleting is a DomainStatus enum value
49037	DomainStatusDeleting = "Deleting"
49038
49039	// DomainStatusFailed is a DomainStatus enum value
49040	DomainStatusFailed = "Failed"
49041
49042	// DomainStatusInService is a DomainStatus enum value
49043	DomainStatusInService = "InService"
49044
49045	// DomainStatusPending is a DomainStatus enum value
49046	DomainStatusPending = "Pending"
49047)
49048
49049const (
49050	// EndpointConfigSortKeyName is a EndpointConfigSortKey enum value
49051	EndpointConfigSortKeyName = "Name"
49052
49053	// EndpointConfigSortKeyCreationTime is a EndpointConfigSortKey enum value
49054	EndpointConfigSortKeyCreationTime = "CreationTime"
49055)
49056
49057const (
49058	// EndpointSortKeyName is a EndpointSortKey enum value
49059	EndpointSortKeyName = "Name"
49060
49061	// EndpointSortKeyCreationTime is a EndpointSortKey enum value
49062	EndpointSortKeyCreationTime = "CreationTime"
49063
49064	// EndpointSortKeyStatus is a EndpointSortKey enum value
49065	EndpointSortKeyStatus = "Status"
49066)
49067
49068const (
49069	// EndpointStatusOutOfService is a EndpointStatus enum value
49070	EndpointStatusOutOfService = "OutOfService"
49071
49072	// EndpointStatusCreating is a EndpointStatus enum value
49073	EndpointStatusCreating = "Creating"
49074
49075	// EndpointStatusUpdating is a EndpointStatus enum value
49076	EndpointStatusUpdating = "Updating"
49077
49078	// EndpointStatusSystemUpdating is a EndpointStatus enum value
49079	EndpointStatusSystemUpdating = "SystemUpdating"
49080
49081	// EndpointStatusRollingBack is a EndpointStatus enum value
49082	EndpointStatusRollingBack = "RollingBack"
49083
49084	// EndpointStatusInService is a EndpointStatus enum value
49085	EndpointStatusInService = "InService"
49086
49087	// EndpointStatusDeleting is a EndpointStatus enum value
49088	EndpointStatusDeleting = "Deleting"
49089
49090	// EndpointStatusFailed is a EndpointStatus enum value
49091	EndpointStatusFailed = "Failed"
49092)
49093
49094const (
49095	// ExecutionStatusPending is a ExecutionStatus enum value
49096	ExecutionStatusPending = "Pending"
49097
49098	// ExecutionStatusCompleted is a ExecutionStatus enum value
49099	ExecutionStatusCompleted = "Completed"
49100
49101	// ExecutionStatusCompletedWithViolations is a ExecutionStatus enum value
49102	ExecutionStatusCompletedWithViolations = "CompletedWithViolations"
49103
49104	// ExecutionStatusInProgress is a ExecutionStatus enum value
49105	ExecutionStatusInProgress = "InProgress"
49106
49107	// ExecutionStatusFailed is a ExecutionStatus enum value
49108	ExecutionStatusFailed = "Failed"
49109
49110	// ExecutionStatusStopping is a ExecutionStatus enum value
49111	ExecutionStatusStopping = "Stopping"
49112
49113	// ExecutionStatusStopped is a ExecutionStatus enum value
49114	ExecutionStatusStopped = "Stopped"
49115)
49116
49117const (
49118	// FileSystemAccessModeRw is a FileSystemAccessMode enum value
49119	FileSystemAccessModeRw = "rw"
49120
49121	// FileSystemAccessModeRo is a FileSystemAccessMode enum value
49122	FileSystemAccessModeRo = "ro"
49123)
49124
49125const (
49126	// FileSystemTypeEfs is a FileSystemType enum value
49127	FileSystemTypeEfs = "EFS"
49128
49129	// FileSystemTypeFsxLustre is a FileSystemType enum value
49130	FileSystemTypeFsxLustre = "FSxLustre"
49131)
49132
49133const (
49134	// FlowDefinitionStatusInitializing is a FlowDefinitionStatus enum value
49135	FlowDefinitionStatusInitializing = "Initializing"
49136
49137	// FlowDefinitionStatusActive is a FlowDefinitionStatus enum value
49138	FlowDefinitionStatusActive = "Active"
49139
49140	// FlowDefinitionStatusFailed is a FlowDefinitionStatus enum value
49141	FlowDefinitionStatusFailed = "Failed"
49142
49143	// FlowDefinitionStatusDeleting is a FlowDefinitionStatus enum value
49144	FlowDefinitionStatusDeleting = "Deleting"
49145)
49146
49147const (
49148	// FrameworkTensorflow is a Framework enum value
49149	FrameworkTensorflow = "TENSORFLOW"
49150
49151	// FrameworkKeras is a Framework enum value
49152	FrameworkKeras = "KERAS"
49153
49154	// FrameworkMxnet is a Framework enum value
49155	FrameworkMxnet = "MXNET"
49156
49157	// FrameworkOnnx is a Framework enum value
49158	FrameworkOnnx = "ONNX"
49159
49160	// FrameworkPytorch is a Framework enum value
49161	FrameworkPytorch = "PYTORCH"
49162
49163	// FrameworkXgboost is a Framework enum value
49164	FrameworkXgboost = "XGBOOST"
49165
49166	// FrameworkTflite is a Framework enum value
49167	FrameworkTflite = "TFLITE"
49168)
49169
49170const (
49171	// HumanTaskUiStatusActive is a HumanTaskUiStatus enum value
49172	HumanTaskUiStatusActive = "Active"
49173
49174	// HumanTaskUiStatusDeleting is a HumanTaskUiStatus enum value
49175	HumanTaskUiStatusDeleting = "Deleting"
49176)
49177
49178const (
49179	// HyperParameterScalingTypeAuto is a HyperParameterScalingType enum value
49180	HyperParameterScalingTypeAuto = "Auto"
49181
49182	// HyperParameterScalingTypeLinear is a HyperParameterScalingType enum value
49183	HyperParameterScalingTypeLinear = "Linear"
49184
49185	// HyperParameterScalingTypeLogarithmic is a HyperParameterScalingType enum value
49186	HyperParameterScalingTypeLogarithmic = "Logarithmic"
49187
49188	// HyperParameterScalingTypeReverseLogarithmic is a HyperParameterScalingType enum value
49189	HyperParameterScalingTypeReverseLogarithmic = "ReverseLogarithmic"
49190)
49191
49192const (
49193	// HyperParameterTuningJobObjectiveTypeMaximize is a HyperParameterTuningJobObjectiveType enum value
49194	HyperParameterTuningJobObjectiveTypeMaximize = "Maximize"
49195
49196	// HyperParameterTuningJobObjectiveTypeMinimize is a HyperParameterTuningJobObjectiveType enum value
49197	HyperParameterTuningJobObjectiveTypeMinimize = "Minimize"
49198)
49199
49200const (
49201	// HyperParameterTuningJobSortByOptionsName is a HyperParameterTuningJobSortByOptions enum value
49202	HyperParameterTuningJobSortByOptionsName = "Name"
49203
49204	// HyperParameterTuningJobSortByOptionsStatus is a HyperParameterTuningJobSortByOptions enum value
49205	HyperParameterTuningJobSortByOptionsStatus = "Status"
49206
49207	// HyperParameterTuningJobSortByOptionsCreationTime is a HyperParameterTuningJobSortByOptions enum value
49208	HyperParameterTuningJobSortByOptionsCreationTime = "CreationTime"
49209)
49210
49211const (
49212	// HyperParameterTuningJobStatusCompleted is a HyperParameterTuningJobStatus enum value
49213	HyperParameterTuningJobStatusCompleted = "Completed"
49214
49215	// HyperParameterTuningJobStatusInProgress is a HyperParameterTuningJobStatus enum value
49216	HyperParameterTuningJobStatusInProgress = "InProgress"
49217
49218	// HyperParameterTuningJobStatusFailed is a HyperParameterTuningJobStatus enum value
49219	HyperParameterTuningJobStatusFailed = "Failed"
49220
49221	// HyperParameterTuningJobStatusStopped is a HyperParameterTuningJobStatus enum value
49222	HyperParameterTuningJobStatusStopped = "Stopped"
49223
49224	// HyperParameterTuningJobStatusStopping is a HyperParameterTuningJobStatus enum value
49225	HyperParameterTuningJobStatusStopping = "Stopping"
49226)
49227
49228// The strategy hyperparameter tuning uses to find the best combination of hyperparameters
49229// for your model. Currently, the only supported value is Bayesian.
49230const (
49231	// HyperParameterTuningJobStrategyTypeBayesian is a HyperParameterTuningJobStrategyType enum value
49232	HyperParameterTuningJobStrategyTypeBayesian = "Bayesian"
49233
49234	// HyperParameterTuningJobStrategyTypeRandom is a HyperParameterTuningJobStrategyType enum value
49235	HyperParameterTuningJobStrategyTypeRandom = "Random"
49236)
49237
49238const (
49239	// HyperParameterTuningJobWarmStartTypeIdenticalDataAndAlgorithm is a HyperParameterTuningJobWarmStartType enum value
49240	HyperParameterTuningJobWarmStartTypeIdenticalDataAndAlgorithm = "IdenticalDataAndAlgorithm"
49241
49242	// HyperParameterTuningJobWarmStartTypeTransferLearning is a HyperParameterTuningJobWarmStartType enum value
49243	HyperParameterTuningJobWarmStartTypeTransferLearning = "TransferLearning"
49244)
49245
49246const (
49247	// InstanceTypeMlT2Medium is a InstanceType enum value
49248	InstanceTypeMlT2Medium = "ml.t2.medium"
49249
49250	// InstanceTypeMlT2Large is a InstanceType enum value
49251	InstanceTypeMlT2Large = "ml.t2.large"
49252
49253	// InstanceTypeMlT2Xlarge is a InstanceType enum value
49254	InstanceTypeMlT2Xlarge = "ml.t2.xlarge"
49255
49256	// InstanceTypeMlT22xlarge is a InstanceType enum value
49257	InstanceTypeMlT22xlarge = "ml.t2.2xlarge"
49258
49259	// InstanceTypeMlT3Medium is a InstanceType enum value
49260	InstanceTypeMlT3Medium = "ml.t3.medium"
49261
49262	// InstanceTypeMlT3Large is a InstanceType enum value
49263	InstanceTypeMlT3Large = "ml.t3.large"
49264
49265	// InstanceTypeMlT3Xlarge is a InstanceType enum value
49266	InstanceTypeMlT3Xlarge = "ml.t3.xlarge"
49267
49268	// InstanceTypeMlT32xlarge is a InstanceType enum value
49269	InstanceTypeMlT32xlarge = "ml.t3.2xlarge"
49270
49271	// InstanceTypeMlM4Xlarge is a InstanceType enum value
49272	InstanceTypeMlM4Xlarge = "ml.m4.xlarge"
49273
49274	// InstanceTypeMlM42xlarge is a InstanceType enum value
49275	InstanceTypeMlM42xlarge = "ml.m4.2xlarge"
49276
49277	// InstanceTypeMlM44xlarge is a InstanceType enum value
49278	InstanceTypeMlM44xlarge = "ml.m4.4xlarge"
49279
49280	// InstanceTypeMlM410xlarge is a InstanceType enum value
49281	InstanceTypeMlM410xlarge = "ml.m4.10xlarge"
49282
49283	// InstanceTypeMlM416xlarge is a InstanceType enum value
49284	InstanceTypeMlM416xlarge = "ml.m4.16xlarge"
49285
49286	// InstanceTypeMlM5Xlarge is a InstanceType enum value
49287	InstanceTypeMlM5Xlarge = "ml.m5.xlarge"
49288
49289	// InstanceTypeMlM52xlarge is a InstanceType enum value
49290	InstanceTypeMlM52xlarge = "ml.m5.2xlarge"
49291
49292	// InstanceTypeMlM54xlarge is a InstanceType enum value
49293	InstanceTypeMlM54xlarge = "ml.m5.4xlarge"
49294
49295	// InstanceTypeMlM512xlarge is a InstanceType enum value
49296	InstanceTypeMlM512xlarge = "ml.m5.12xlarge"
49297
49298	// InstanceTypeMlM524xlarge is a InstanceType enum value
49299	InstanceTypeMlM524xlarge = "ml.m5.24xlarge"
49300
49301	// InstanceTypeMlC4Xlarge is a InstanceType enum value
49302	InstanceTypeMlC4Xlarge = "ml.c4.xlarge"
49303
49304	// InstanceTypeMlC42xlarge is a InstanceType enum value
49305	InstanceTypeMlC42xlarge = "ml.c4.2xlarge"
49306
49307	// InstanceTypeMlC44xlarge is a InstanceType enum value
49308	InstanceTypeMlC44xlarge = "ml.c4.4xlarge"
49309
49310	// InstanceTypeMlC48xlarge is a InstanceType enum value
49311	InstanceTypeMlC48xlarge = "ml.c4.8xlarge"
49312
49313	// InstanceTypeMlC5Xlarge is a InstanceType enum value
49314	InstanceTypeMlC5Xlarge = "ml.c5.xlarge"
49315
49316	// InstanceTypeMlC52xlarge is a InstanceType enum value
49317	InstanceTypeMlC52xlarge = "ml.c5.2xlarge"
49318
49319	// InstanceTypeMlC54xlarge is a InstanceType enum value
49320	InstanceTypeMlC54xlarge = "ml.c5.4xlarge"
49321
49322	// InstanceTypeMlC59xlarge is a InstanceType enum value
49323	InstanceTypeMlC59xlarge = "ml.c5.9xlarge"
49324
49325	// InstanceTypeMlC518xlarge is a InstanceType enum value
49326	InstanceTypeMlC518xlarge = "ml.c5.18xlarge"
49327
49328	// InstanceTypeMlC5dXlarge is a InstanceType enum value
49329	InstanceTypeMlC5dXlarge = "ml.c5d.xlarge"
49330
49331	// InstanceTypeMlC5d2xlarge is a InstanceType enum value
49332	InstanceTypeMlC5d2xlarge = "ml.c5d.2xlarge"
49333
49334	// InstanceTypeMlC5d4xlarge is a InstanceType enum value
49335	InstanceTypeMlC5d4xlarge = "ml.c5d.4xlarge"
49336
49337	// InstanceTypeMlC5d9xlarge is a InstanceType enum value
49338	InstanceTypeMlC5d9xlarge = "ml.c5d.9xlarge"
49339
49340	// InstanceTypeMlC5d18xlarge is a InstanceType enum value
49341	InstanceTypeMlC5d18xlarge = "ml.c5d.18xlarge"
49342
49343	// InstanceTypeMlP2Xlarge is a InstanceType enum value
49344	InstanceTypeMlP2Xlarge = "ml.p2.xlarge"
49345
49346	// InstanceTypeMlP28xlarge is a InstanceType enum value
49347	InstanceTypeMlP28xlarge = "ml.p2.8xlarge"
49348
49349	// InstanceTypeMlP216xlarge is a InstanceType enum value
49350	InstanceTypeMlP216xlarge = "ml.p2.16xlarge"
49351
49352	// InstanceTypeMlP32xlarge is a InstanceType enum value
49353	InstanceTypeMlP32xlarge = "ml.p3.2xlarge"
49354
49355	// InstanceTypeMlP38xlarge is a InstanceType enum value
49356	InstanceTypeMlP38xlarge = "ml.p3.8xlarge"
49357
49358	// InstanceTypeMlP316xlarge is a InstanceType enum value
49359	InstanceTypeMlP316xlarge = "ml.p3.16xlarge"
49360)
49361
49362const (
49363	// JoinSourceInput is a JoinSource enum value
49364	JoinSourceInput = "Input"
49365
49366	// JoinSourceNone is a JoinSource enum value
49367	JoinSourceNone = "None"
49368)
49369
49370const (
49371	// LabelingJobStatusInitializing is a LabelingJobStatus enum value
49372	LabelingJobStatusInitializing = "Initializing"
49373
49374	// LabelingJobStatusInProgress is a LabelingJobStatus enum value
49375	LabelingJobStatusInProgress = "InProgress"
49376
49377	// LabelingJobStatusCompleted is a LabelingJobStatus enum value
49378	LabelingJobStatusCompleted = "Completed"
49379
49380	// LabelingJobStatusFailed is a LabelingJobStatus enum value
49381	LabelingJobStatusFailed = "Failed"
49382
49383	// LabelingJobStatusStopping is a LabelingJobStatus enum value
49384	LabelingJobStatusStopping = "Stopping"
49385
49386	// LabelingJobStatusStopped is a LabelingJobStatus enum value
49387	LabelingJobStatusStopped = "Stopped"
49388)
49389
49390const (
49391	// ListCompilationJobsSortByName is a ListCompilationJobsSortBy enum value
49392	ListCompilationJobsSortByName = "Name"
49393
49394	// ListCompilationJobsSortByCreationTime is a ListCompilationJobsSortBy enum value
49395	ListCompilationJobsSortByCreationTime = "CreationTime"
49396
49397	// ListCompilationJobsSortByStatus is a ListCompilationJobsSortBy enum value
49398	ListCompilationJobsSortByStatus = "Status"
49399)
49400
49401const (
49402	// ListLabelingJobsForWorkteamSortByOptionsCreationTime is a ListLabelingJobsForWorkteamSortByOptions enum value
49403	ListLabelingJobsForWorkteamSortByOptionsCreationTime = "CreationTime"
49404)
49405
49406const (
49407	// ListWorkforcesSortByOptionsName is a ListWorkforcesSortByOptions enum value
49408	ListWorkforcesSortByOptionsName = "Name"
49409
49410	// ListWorkforcesSortByOptionsCreateDate is a ListWorkforcesSortByOptions enum value
49411	ListWorkforcesSortByOptionsCreateDate = "CreateDate"
49412)
49413
49414const (
49415	// ListWorkteamsSortByOptionsName is a ListWorkteamsSortByOptions enum value
49416	ListWorkteamsSortByOptionsName = "Name"
49417
49418	// ListWorkteamsSortByOptionsCreateDate is a ListWorkteamsSortByOptions enum value
49419	ListWorkteamsSortByOptionsCreateDate = "CreateDate"
49420)
49421
49422const (
49423	// ModelPackageSortByName is a ModelPackageSortBy enum value
49424	ModelPackageSortByName = "Name"
49425
49426	// ModelPackageSortByCreationTime is a ModelPackageSortBy enum value
49427	ModelPackageSortByCreationTime = "CreationTime"
49428)
49429
49430const (
49431	// ModelPackageStatusPending is a ModelPackageStatus enum value
49432	ModelPackageStatusPending = "Pending"
49433
49434	// ModelPackageStatusInProgress is a ModelPackageStatus enum value
49435	ModelPackageStatusInProgress = "InProgress"
49436
49437	// ModelPackageStatusCompleted is a ModelPackageStatus enum value
49438	ModelPackageStatusCompleted = "Completed"
49439
49440	// ModelPackageStatusFailed is a ModelPackageStatus enum value
49441	ModelPackageStatusFailed = "Failed"
49442
49443	// ModelPackageStatusDeleting is a ModelPackageStatus enum value
49444	ModelPackageStatusDeleting = "Deleting"
49445)
49446
49447const (
49448	// ModelSortKeyName is a ModelSortKey enum value
49449	ModelSortKeyName = "Name"
49450
49451	// ModelSortKeyCreationTime is a ModelSortKey enum value
49452	ModelSortKeyCreationTime = "CreationTime"
49453)
49454
49455const (
49456	// MonitoringExecutionSortKeyCreationTime is a MonitoringExecutionSortKey enum value
49457	MonitoringExecutionSortKeyCreationTime = "CreationTime"
49458
49459	// MonitoringExecutionSortKeyScheduledTime is a MonitoringExecutionSortKey enum value
49460	MonitoringExecutionSortKeyScheduledTime = "ScheduledTime"
49461
49462	// MonitoringExecutionSortKeyStatus is a MonitoringExecutionSortKey enum value
49463	MonitoringExecutionSortKeyStatus = "Status"
49464)
49465
49466const (
49467	// MonitoringScheduleSortKeyName is a MonitoringScheduleSortKey enum value
49468	MonitoringScheduleSortKeyName = "Name"
49469
49470	// MonitoringScheduleSortKeyCreationTime is a MonitoringScheduleSortKey enum value
49471	MonitoringScheduleSortKeyCreationTime = "CreationTime"
49472
49473	// MonitoringScheduleSortKeyStatus is a MonitoringScheduleSortKey enum value
49474	MonitoringScheduleSortKeyStatus = "Status"
49475)
49476
49477const (
49478	// NotebookInstanceAcceleratorTypeMlEia1Medium is a NotebookInstanceAcceleratorType enum value
49479	NotebookInstanceAcceleratorTypeMlEia1Medium = "ml.eia1.medium"
49480
49481	// NotebookInstanceAcceleratorTypeMlEia1Large is a NotebookInstanceAcceleratorType enum value
49482	NotebookInstanceAcceleratorTypeMlEia1Large = "ml.eia1.large"
49483
49484	// NotebookInstanceAcceleratorTypeMlEia1Xlarge is a NotebookInstanceAcceleratorType enum value
49485	NotebookInstanceAcceleratorTypeMlEia1Xlarge = "ml.eia1.xlarge"
49486
49487	// NotebookInstanceAcceleratorTypeMlEia2Medium is a NotebookInstanceAcceleratorType enum value
49488	NotebookInstanceAcceleratorTypeMlEia2Medium = "ml.eia2.medium"
49489
49490	// NotebookInstanceAcceleratorTypeMlEia2Large is a NotebookInstanceAcceleratorType enum value
49491	NotebookInstanceAcceleratorTypeMlEia2Large = "ml.eia2.large"
49492
49493	// NotebookInstanceAcceleratorTypeMlEia2Xlarge is a NotebookInstanceAcceleratorType enum value
49494	NotebookInstanceAcceleratorTypeMlEia2Xlarge = "ml.eia2.xlarge"
49495)
49496
49497const (
49498	// NotebookInstanceLifecycleConfigSortKeyName is a NotebookInstanceLifecycleConfigSortKey enum value
49499	NotebookInstanceLifecycleConfigSortKeyName = "Name"
49500
49501	// NotebookInstanceLifecycleConfigSortKeyCreationTime is a NotebookInstanceLifecycleConfigSortKey enum value
49502	NotebookInstanceLifecycleConfigSortKeyCreationTime = "CreationTime"
49503
49504	// NotebookInstanceLifecycleConfigSortKeyLastModifiedTime is a NotebookInstanceLifecycleConfigSortKey enum value
49505	NotebookInstanceLifecycleConfigSortKeyLastModifiedTime = "LastModifiedTime"
49506)
49507
49508const (
49509	// NotebookInstanceLifecycleConfigSortOrderAscending is a NotebookInstanceLifecycleConfigSortOrder enum value
49510	NotebookInstanceLifecycleConfigSortOrderAscending = "Ascending"
49511
49512	// NotebookInstanceLifecycleConfigSortOrderDescending is a NotebookInstanceLifecycleConfigSortOrder enum value
49513	NotebookInstanceLifecycleConfigSortOrderDescending = "Descending"
49514)
49515
49516const (
49517	// NotebookInstanceSortKeyName is a NotebookInstanceSortKey enum value
49518	NotebookInstanceSortKeyName = "Name"
49519
49520	// NotebookInstanceSortKeyCreationTime is a NotebookInstanceSortKey enum value
49521	NotebookInstanceSortKeyCreationTime = "CreationTime"
49522
49523	// NotebookInstanceSortKeyStatus is a NotebookInstanceSortKey enum value
49524	NotebookInstanceSortKeyStatus = "Status"
49525)
49526
49527const (
49528	// NotebookInstanceSortOrderAscending is a NotebookInstanceSortOrder enum value
49529	NotebookInstanceSortOrderAscending = "Ascending"
49530
49531	// NotebookInstanceSortOrderDescending is a NotebookInstanceSortOrder enum value
49532	NotebookInstanceSortOrderDescending = "Descending"
49533)
49534
49535const (
49536	// NotebookInstanceStatusPending is a NotebookInstanceStatus enum value
49537	NotebookInstanceStatusPending = "Pending"
49538
49539	// NotebookInstanceStatusInService is a NotebookInstanceStatus enum value
49540	NotebookInstanceStatusInService = "InService"
49541
49542	// NotebookInstanceStatusStopping is a NotebookInstanceStatus enum value
49543	NotebookInstanceStatusStopping = "Stopping"
49544
49545	// NotebookInstanceStatusStopped is a NotebookInstanceStatus enum value
49546	NotebookInstanceStatusStopped = "Stopped"
49547
49548	// NotebookInstanceStatusFailed is a NotebookInstanceStatus enum value
49549	NotebookInstanceStatusFailed = "Failed"
49550
49551	// NotebookInstanceStatusDeleting is a NotebookInstanceStatus enum value
49552	NotebookInstanceStatusDeleting = "Deleting"
49553
49554	// NotebookInstanceStatusUpdating is a NotebookInstanceStatus enum value
49555	NotebookInstanceStatusUpdating = "Updating"
49556)
49557
49558const (
49559	// NotebookOutputOptionAllowed is a NotebookOutputOption enum value
49560	NotebookOutputOptionAllowed = "Allowed"
49561
49562	// NotebookOutputOptionDisabled is a NotebookOutputOption enum value
49563	NotebookOutputOptionDisabled = "Disabled"
49564)
49565
49566const (
49567	// ObjectiveStatusSucceeded is a ObjectiveStatus enum value
49568	ObjectiveStatusSucceeded = "Succeeded"
49569
49570	// ObjectiveStatusPending is a ObjectiveStatus enum value
49571	ObjectiveStatusPending = "Pending"
49572
49573	// ObjectiveStatusFailed is a ObjectiveStatus enum value
49574	ObjectiveStatusFailed = "Failed"
49575)
49576
49577const (
49578	// OperatorEquals is a Operator enum value
49579	OperatorEquals = "Equals"
49580
49581	// OperatorNotEquals is a Operator enum value
49582	OperatorNotEquals = "NotEquals"
49583
49584	// OperatorGreaterThan is a Operator enum value
49585	OperatorGreaterThan = "GreaterThan"
49586
49587	// OperatorGreaterThanOrEqualTo is a Operator enum value
49588	OperatorGreaterThanOrEqualTo = "GreaterThanOrEqualTo"
49589
49590	// OperatorLessThan is a Operator enum value
49591	OperatorLessThan = "LessThan"
49592
49593	// OperatorLessThanOrEqualTo is a Operator enum value
49594	OperatorLessThanOrEqualTo = "LessThanOrEqualTo"
49595
49596	// OperatorContains is a Operator enum value
49597	OperatorContains = "Contains"
49598
49599	// OperatorExists is a Operator enum value
49600	OperatorExists = "Exists"
49601
49602	// OperatorNotExists is a Operator enum value
49603	OperatorNotExists = "NotExists"
49604
49605	// OperatorIn is a Operator enum value
49606	OperatorIn = "In"
49607)
49608
49609const (
49610	// OrderKeyAscending is a OrderKey enum value
49611	OrderKeyAscending = "Ascending"
49612
49613	// OrderKeyDescending is a OrderKey enum value
49614	OrderKeyDescending = "Descending"
49615)
49616
49617const (
49618	// ParameterTypeInteger is a ParameterType enum value
49619	ParameterTypeInteger = "Integer"
49620
49621	// ParameterTypeContinuous is a ParameterType enum value
49622	ParameterTypeContinuous = "Continuous"
49623
49624	// ParameterTypeCategorical is a ParameterType enum value
49625	ParameterTypeCategorical = "Categorical"
49626
49627	// ParameterTypeFreeText is a ParameterType enum value
49628	ParameterTypeFreeText = "FreeText"
49629)
49630
49631const (
49632	// ProblemTypeBinaryClassification is a ProblemType enum value
49633	ProblemTypeBinaryClassification = "BinaryClassification"
49634
49635	// ProblemTypeMulticlassClassification is a ProblemType enum value
49636	ProblemTypeMulticlassClassification = "MulticlassClassification"
49637
49638	// ProblemTypeRegression is a ProblemType enum value
49639	ProblemTypeRegression = "Regression"
49640)
49641
49642const (
49643	// ProcessingInstanceTypeMlT3Medium is a ProcessingInstanceType enum value
49644	ProcessingInstanceTypeMlT3Medium = "ml.t3.medium"
49645
49646	// ProcessingInstanceTypeMlT3Large is a ProcessingInstanceType enum value
49647	ProcessingInstanceTypeMlT3Large = "ml.t3.large"
49648
49649	// ProcessingInstanceTypeMlT3Xlarge is a ProcessingInstanceType enum value
49650	ProcessingInstanceTypeMlT3Xlarge = "ml.t3.xlarge"
49651
49652	// ProcessingInstanceTypeMlT32xlarge is a ProcessingInstanceType enum value
49653	ProcessingInstanceTypeMlT32xlarge = "ml.t3.2xlarge"
49654
49655	// ProcessingInstanceTypeMlM4Xlarge is a ProcessingInstanceType enum value
49656	ProcessingInstanceTypeMlM4Xlarge = "ml.m4.xlarge"
49657
49658	// ProcessingInstanceTypeMlM42xlarge is a ProcessingInstanceType enum value
49659	ProcessingInstanceTypeMlM42xlarge = "ml.m4.2xlarge"
49660
49661	// ProcessingInstanceTypeMlM44xlarge is a ProcessingInstanceType enum value
49662	ProcessingInstanceTypeMlM44xlarge = "ml.m4.4xlarge"
49663
49664	// ProcessingInstanceTypeMlM410xlarge is a ProcessingInstanceType enum value
49665	ProcessingInstanceTypeMlM410xlarge = "ml.m4.10xlarge"
49666
49667	// ProcessingInstanceTypeMlM416xlarge is a ProcessingInstanceType enum value
49668	ProcessingInstanceTypeMlM416xlarge = "ml.m4.16xlarge"
49669
49670	// ProcessingInstanceTypeMlC4Xlarge is a ProcessingInstanceType enum value
49671	ProcessingInstanceTypeMlC4Xlarge = "ml.c4.xlarge"
49672
49673	// ProcessingInstanceTypeMlC42xlarge is a ProcessingInstanceType enum value
49674	ProcessingInstanceTypeMlC42xlarge = "ml.c4.2xlarge"
49675
49676	// ProcessingInstanceTypeMlC44xlarge is a ProcessingInstanceType enum value
49677	ProcessingInstanceTypeMlC44xlarge = "ml.c4.4xlarge"
49678
49679	// ProcessingInstanceTypeMlC48xlarge is a ProcessingInstanceType enum value
49680	ProcessingInstanceTypeMlC48xlarge = "ml.c4.8xlarge"
49681
49682	// ProcessingInstanceTypeMlP2Xlarge is a ProcessingInstanceType enum value
49683	ProcessingInstanceTypeMlP2Xlarge = "ml.p2.xlarge"
49684
49685	// ProcessingInstanceTypeMlP28xlarge is a ProcessingInstanceType enum value
49686	ProcessingInstanceTypeMlP28xlarge = "ml.p2.8xlarge"
49687
49688	// ProcessingInstanceTypeMlP216xlarge is a ProcessingInstanceType enum value
49689	ProcessingInstanceTypeMlP216xlarge = "ml.p2.16xlarge"
49690
49691	// ProcessingInstanceTypeMlP32xlarge is a ProcessingInstanceType enum value
49692	ProcessingInstanceTypeMlP32xlarge = "ml.p3.2xlarge"
49693
49694	// ProcessingInstanceTypeMlP38xlarge is a ProcessingInstanceType enum value
49695	ProcessingInstanceTypeMlP38xlarge = "ml.p3.8xlarge"
49696
49697	// ProcessingInstanceTypeMlP316xlarge is a ProcessingInstanceType enum value
49698	ProcessingInstanceTypeMlP316xlarge = "ml.p3.16xlarge"
49699
49700	// ProcessingInstanceTypeMlC5Xlarge is a ProcessingInstanceType enum value
49701	ProcessingInstanceTypeMlC5Xlarge = "ml.c5.xlarge"
49702
49703	// ProcessingInstanceTypeMlC52xlarge is a ProcessingInstanceType enum value
49704	ProcessingInstanceTypeMlC52xlarge = "ml.c5.2xlarge"
49705
49706	// ProcessingInstanceTypeMlC54xlarge is a ProcessingInstanceType enum value
49707	ProcessingInstanceTypeMlC54xlarge = "ml.c5.4xlarge"
49708
49709	// ProcessingInstanceTypeMlC59xlarge is a ProcessingInstanceType enum value
49710	ProcessingInstanceTypeMlC59xlarge = "ml.c5.9xlarge"
49711
49712	// ProcessingInstanceTypeMlC518xlarge is a ProcessingInstanceType enum value
49713	ProcessingInstanceTypeMlC518xlarge = "ml.c5.18xlarge"
49714
49715	// ProcessingInstanceTypeMlM5Large is a ProcessingInstanceType enum value
49716	ProcessingInstanceTypeMlM5Large = "ml.m5.large"
49717
49718	// ProcessingInstanceTypeMlM5Xlarge is a ProcessingInstanceType enum value
49719	ProcessingInstanceTypeMlM5Xlarge = "ml.m5.xlarge"
49720
49721	// ProcessingInstanceTypeMlM52xlarge is a ProcessingInstanceType enum value
49722	ProcessingInstanceTypeMlM52xlarge = "ml.m5.2xlarge"
49723
49724	// ProcessingInstanceTypeMlM54xlarge is a ProcessingInstanceType enum value
49725	ProcessingInstanceTypeMlM54xlarge = "ml.m5.4xlarge"
49726
49727	// ProcessingInstanceTypeMlM512xlarge is a ProcessingInstanceType enum value
49728	ProcessingInstanceTypeMlM512xlarge = "ml.m5.12xlarge"
49729
49730	// ProcessingInstanceTypeMlM524xlarge is a ProcessingInstanceType enum value
49731	ProcessingInstanceTypeMlM524xlarge = "ml.m5.24xlarge"
49732
49733	// ProcessingInstanceTypeMlR5Large is a ProcessingInstanceType enum value
49734	ProcessingInstanceTypeMlR5Large = "ml.r5.large"
49735
49736	// ProcessingInstanceTypeMlR5Xlarge is a ProcessingInstanceType enum value
49737	ProcessingInstanceTypeMlR5Xlarge = "ml.r5.xlarge"
49738
49739	// ProcessingInstanceTypeMlR52xlarge is a ProcessingInstanceType enum value
49740	ProcessingInstanceTypeMlR52xlarge = "ml.r5.2xlarge"
49741
49742	// ProcessingInstanceTypeMlR54xlarge is a ProcessingInstanceType enum value
49743	ProcessingInstanceTypeMlR54xlarge = "ml.r5.4xlarge"
49744
49745	// ProcessingInstanceTypeMlR58xlarge is a ProcessingInstanceType enum value
49746	ProcessingInstanceTypeMlR58xlarge = "ml.r5.8xlarge"
49747
49748	// ProcessingInstanceTypeMlR512xlarge is a ProcessingInstanceType enum value
49749	ProcessingInstanceTypeMlR512xlarge = "ml.r5.12xlarge"
49750
49751	// ProcessingInstanceTypeMlR516xlarge is a ProcessingInstanceType enum value
49752	ProcessingInstanceTypeMlR516xlarge = "ml.r5.16xlarge"
49753
49754	// ProcessingInstanceTypeMlR524xlarge is a ProcessingInstanceType enum value
49755	ProcessingInstanceTypeMlR524xlarge = "ml.r5.24xlarge"
49756)
49757
49758const (
49759	// ProcessingJobStatusInProgress is a ProcessingJobStatus enum value
49760	ProcessingJobStatusInProgress = "InProgress"
49761
49762	// ProcessingJobStatusCompleted is a ProcessingJobStatus enum value
49763	ProcessingJobStatusCompleted = "Completed"
49764
49765	// ProcessingJobStatusFailed is a ProcessingJobStatus enum value
49766	ProcessingJobStatusFailed = "Failed"
49767
49768	// ProcessingJobStatusStopping is a ProcessingJobStatus enum value
49769	ProcessingJobStatusStopping = "Stopping"
49770
49771	// ProcessingJobStatusStopped is a ProcessingJobStatus enum value
49772	ProcessingJobStatusStopped = "Stopped"
49773)
49774
49775const (
49776	// ProcessingS3CompressionTypeNone is a ProcessingS3CompressionType enum value
49777	ProcessingS3CompressionTypeNone = "None"
49778
49779	// ProcessingS3CompressionTypeGzip is a ProcessingS3CompressionType enum value
49780	ProcessingS3CompressionTypeGzip = "Gzip"
49781)
49782
49783const (
49784	// ProcessingS3DataDistributionTypeFullyReplicated is a ProcessingS3DataDistributionType enum value
49785	ProcessingS3DataDistributionTypeFullyReplicated = "FullyReplicated"
49786
49787	// ProcessingS3DataDistributionTypeShardedByS3key is a ProcessingS3DataDistributionType enum value
49788	ProcessingS3DataDistributionTypeShardedByS3key = "ShardedByS3Key"
49789)
49790
49791const (
49792	// ProcessingS3DataTypeManifestFile is a ProcessingS3DataType enum value
49793	ProcessingS3DataTypeManifestFile = "ManifestFile"
49794
49795	// ProcessingS3DataTypeS3prefix is a ProcessingS3DataType enum value
49796	ProcessingS3DataTypeS3prefix = "S3Prefix"
49797)
49798
49799const (
49800	// ProcessingS3InputModePipe is a ProcessingS3InputMode enum value
49801	ProcessingS3InputModePipe = "Pipe"
49802
49803	// ProcessingS3InputModeFile is a ProcessingS3InputMode enum value
49804	ProcessingS3InputModeFile = "File"
49805)
49806
49807const (
49808	// ProcessingS3UploadModeContinuous is a ProcessingS3UploadMode enum value
49809	ProcessingS3UploadModeContinuous = "Continuous"
49810
49811	// ProcessingS3UploadModeEndOfJob is a ProcessingS3UploadMode enum value
49812	ProcessingS3UploadModeEndOfJob = "EndOfJob"
49813)
49814
49815const (
49816	// ProductionVariantAcceleratorTypeMlEia1Medium is a ProductionVariantAcceleratorType enum value
49817	ProductionVariantAcceleratorTypeMlEia1Medium = "ml.eia1.medium"
49818
49819	// ProductionVariantAcceleratorTypeMlEia1Large is a ProductionVariantAcceleratorType enum value
49820	ProductionVariantAcceleratorTypeMlEia1Large = "ml.eia1.large"
49821
49822	// ProductionVariantAcceleratorTypeMlEia1Xlarge is a ProductionVariantAcceleratorType enum value
49823	ProductionVariantAcceleratorTypeMlEia1Xlarge = "ml.eia1.xlarge"
49824
49825	// ProductionVariantAcceleratorTypeMlEia2Medium is a ProductionVariantAcceleratorType enum value
49826	ProductionVariantAcceleratorTypeMlEia2Medium = "ml.eia2.medium"
49827
49828	// ProductionVariantAcceleratorTypeMlEia2Large is a ProductionVariantAcceleratorType enum value
49829	ProductionVariantAcceleratorTypeMlEia2Large = "ml.eia2.large"
49830
49831	// ProductionVariantAcceleratorTypeMlEia2Xlarge is a ProductionVariantAcceleratorType enum value
49832	ProductionVariantAcceleratorTypeMlEia2Xlarge = "ml.eia2.xlarge"
49833)
49834
49835const (
49836	// ProductionVariantInstanceTypeMlT2Medium is a ProductionVariantInstanceType enum value
49837	ProductionVariantInstanceTypeMlT2Medium = "ml.t2.medium"
49838
49839	// ProductionVariantInstanceTypeMlT2Large is a ProductionVariantInstanceType enum value
49840	ProductionVariantInstanceTypeMlT2Large = "ml.t2.large"
49841
49842	// ProductionVariantInstanceTypeMlT2Xlarge is a ProductionVariantInstanceType enum value
49843	ProductionVariantInstanceTypeMlT2Xlarge = "ml.t2.xlarge"
49844
49845	// ProductionVariantInstanceTypeMlT22xlarge is a ProductionVariantInstanceType enum value
49846	ProductionVariantInstanceTypeMlT22xlarge = "ml.t2.2xlarge"
49847
49848	// ProductionVariantInstanceTypeMlM4Xlarge is a ProductionVariantInstanceType enum value
49849	ProductionVariantInstanceTypeMlM4Xlarge = "ml.m4.xlarge"
49850
49851	// ProductionVariantInstanceTypeMlM42xlarge is a ProductionVariantInstanceType enum value
49852	ProductionVariantInstanceTypeMlM42xlarge = "ml.m4.2xlarge"
49853
49854	// ProductionVariantInstanceTypeMlM44xlarge is a ProductionVariantInstanceType enum value
49855	ProductionVariantInstanceTypeMlM44xlarge = "ml.m4.4xlarge"
49856
49857	// ProductionVariantInstanceTypeMlM410xlarge is a ProductionVariantInstanceType enum value
49858	ProductionVariantInstanceTypeMlM410xlarge = "ml.m4.10xlarge"
49859
49860	// ProductionVariantInstanceTypeMlM416xlarge is a ProductionVariantInstanceType enum value
49861	ProductionVariantInstanceTypeMlM416xlarge = "ml.m4.16xlarge"
49862
49863	// ProductionVariantInstanceTypeMlM5Large is a ProductionVariantInstanceType enum value
49864	ProductionVariantInstanceTypeMlM5Large = "ml.m5.large"
49865
49866	// ProductionVariantInstanceTypeMlM5Xlarge is a ProductionVariantInstanceType enum value
49867	ProductionVariantInstanceTypeMlM5Xlarge = "ml.m5.xlarge"
49868
49869	// ProductionVariantInstanceTypeMlM52xlarge is a ProductionVariantInstanceType enum value
49870	ProductionVariantInstanceTypeMlM52xlarge = "ml.m5.2xlarge"
49871
49872	// ProductionVariantInstanceTypeMlM54xlarge is a ProductionVariantInstanceType enum value
49873	ProductionVariantInstanceTypeMlM54xlarge = "ml.m5.4xlarge"
49874
49875	// ProductionVariantInstanceTypeMlM512xlarge is a ProductionVariantInstanceType enum value
49876	ProductionVariantInstanceTypeMlM512xlarge = "ml.m5.12xlarge"
49877
49878	// ProductionVariantInstanceTypeMlM524xlarge is a ProductionVariantInstanceType enum value
49879	ProductionVariantInstanceTypeMlM524xlarge = "ml.m5.24xlarge"
49880
49881	// ProductionVariantInstanceTypeMlM5dLarge is a ProductionVariantInstanceType enum value
49882	ProductionVariantInstanceTypeMlM5dLarge = "ml.m5d.large"
49883
49884	// ProductionVariantInstanceTypeMlM5dXlarge is a ProductionVariantInstanceType enum value
49885	ProductionVariantInstanceTypeMlM5dXlarge = "ml.m5d.xlarge"
49886
49887	// ProductionVariantInstanceTypeMlM5d2xlarge is a ProductionVariantInstanceType enum value
49888	ProductionVariantInstanceTypeMlM5d2xlarge = "ml.m5d.2xlarge"
49889
49890	// ProductionVariantInstanceTypeMlM5d4xlarge is a ProductionVariantInstanceType enum value
49891	ProductionVariantInstanceTypeMlM5d4xlarge = "ml.m5d.4xlarge"
49892
49893	// ProductionVariantInstanceTypeMlM5d12xlarge is a ProductionVariantInstanceType enum value
49894	ProductionVariantInstanceTypeMlM5d12xlarge = "ml.m5d.12xlarge"
49895
49896	// ProductionVariantInstanceTypeMlM5d24xlarge is a ProductionVariantInstanceType enum value
49897	ProductionVariantInstanceTypeMlM5d24xlarge = "ml.m5d.24xlarge"
49898
49899	// ProductionVariantInstanceTypeMlC4Large is a ProductionVariantInstanceType enum value
49900	ProductionVariantInstanceTypeMlC4Large = "ml.c4.large"
49901
49902	// ProductionVariantInstanceTypeMlC4Xlarge is a ProductionVariantInstanceType enum value
49903	ProductionVariantInstanceTypeMlC4Xlarge = "ml.c4.xlarge"
49904
49905	// ProductionVariantInstanceTypeMlC42xlarge is a ProductionVariantInstanceType enum value
49906	ProductionVariantInstanceTypeMlC42xlarge = "ml.c4.2xlarge"
49907
49908	// ProductionVariantInstanceTypeMlC44xlarge is a ProductionVariantInstanceType enum value
49909	ProductionVariantInstanceTypeMlC44xlarge = "ml.c4.4xlarge"
49910
49911	// ProductionVariantInstanceTypeMlC48xlarge is a ProductionVariantInstanceType enum value
49912	ProductionVariantInstanceTypeMlC48xlarge = "ml.c4.8xlarge"
49913
49914	// ProductionVariantInstanceTypeMlP2Xlarge is a ProductionVariantInstanceType enum value
49915	ProductionVariantInstanceTypeMlP2Xlarge = "ml.p2.xlarge"
49916
49917	// ProductionVariantInstanceTypeMlP28xlarge is a ProductionVariantInstanceType enum value
49918	ProductionVariantInstanceTypeMlP28xlarge = "ml.p2.8xlarge"
49919
49920	// ProductionVariantInstanceTypeMlP216xlarge is a ProductionVariantInstanceType enum value
49921	ProductionVariantInstanceTypeMlP216xlarge = "ml.p2.16xlarge"
49922
49923	// ProductionVariantInstanceTypeMlP32xlarge is a ProductionVariantInstanceType enum value
49924	ProductionVariantInstanceTypeMlP32xlarge = "ml.p3.2xlarge"
49925
49926	// ProductionVariantInstanceTypeMlP38xlarge is a ProductionVariantInstanceType enum value
49927	ProductionVariantInstanceTypeMlP38xlarge = "ml.p3.8xlarge"
49928
49929	// ProductionVariantInstanceTypeMlP316xlarge is a ProductionVariantInstanceType enum value
49930	ProductionVariantInstanceTypeMlP316xlarge = "ml.p3.16xlarge"
49931
49932	// ProductionVariantInstanceTypeMlC5Large is a ProductionVariantInstanceType enum value
49933	ProductionVariantInstanceTypeMlC5Large = "ml.c5.large"
49934
49935	// ProductionVariantInstanceTypeMlC5Xlarge is a ProductionVariantInstanceType enum value
49936	ProductionVariantInstanceTypeMlC5Xlarge = "ml.c5.xlarge"
49937
49938	// ProductionVariantInstanceTypeMlC52xlarge is a ProductionVariantInstanceType enum value
49939	ProductionVariantInstanceTypeMlC52xlarge = "ml.c5.2xlarge"
49940
49941	// ProductionVariantInstanceTypeMlC54xlarge is a ProductionVariantInstanceType enum value
49942	ProductionVariantInstanceTypeMlC54xlarge = "ml.c5.4xlarge"
49943
49944	// ProductionVariantInstanceTypeMlC59xlarge is a ProductionVariantInstanceType enum value
49945	ProductionVariantInstanceTypeMlC59xlarge = "ml.c5.9xlarge"
49946
49947	// ProductionVariantInstanceTypeMlC518xlarge is a ProductionVariantInstanceType enum value
49948	ProductionVariantInstanceTypeMlC518xlarge = "ml.c5.18xlarge"
49949
49950	// ProductionVariantInstanceTypeMlC5dLarge is a ProductionVariantInstanceType enum value
49951	ProductionVariantInstanceTypeMlC5dLarge = "ml.c5d.large"
49952
49953	// ProductionVariantInstanceTypeMlC5dXlarge is a ProductionVariantInstanceType enum value
49954	ProductionVariantInstanceTypeMlC5dXlarge = "ml.c5d.xlarge"
49955
49956	// ProductionVariantInstanceTypeMlC5d2xlarge is a ProductionVariantInstanceType enum value
49957	ProductionVariantInstanceTypeMlC5d2xlarge = "ml.c5d.2xlarge"
49958
49959	// ProductionVariantInstanceTypeMlC5d4xlarge is a ProductionVariantInstanceType enum value
49960	ProductionVariantInstanceTypeMlC5d4xlarge = "ml.c5d.4xlarge"
49961
49962	// ProductionVariantInstanceTypeMlC5d9xlarge is a ProductionVariantInstanceType enum value
49963	ProductionVariantInstanceTypeMlC5d9xlarge = "ml.c5d.9xlarge"
49964
49965	// ProductionVariantInstanceTypeMlC5d18xlarge is a ProductionVariantInstanceType enum value
49966	ProductionVariantInstanceTypeMlC5d18xlarge = "ml.c5d.18xlarge"
49967
49968	// ProductionVariantInstanceTypeMlG4dnXlarge is a ProductionVariantInstanceType enum value
49969	ProductionVariantInstanceTypeMlG4dnXlarge = "ml.g4dn.xlarge"
49970
49971	// ProductionVariantInstanceTypeMlG4dn2xlarge is a ProductionVariantInstanceType enum value
49972	ProductionVariantInstanceTypeMlG4dn2xlarge = "ml.g4dn.2xlarge"
49973
49974	// ProductionVariantInstanceTypeMlG4dn4xlarge is a ProductionVariantInstanceType enum value
49975	ProductionVariantInstanceTypeMlG4dn4xlarge = "ml.g4dn.4xlarge"
49976
49977	// ProductionVariantInstanceTypeMlG4dn8xlarge is a ProductionVariantInstanceType enum value
49978	ProductionVariantInstanceTypeMlG4dn8xlarge = "ml.g4dn.8xlarge"
49979
49980	// ProductionVariantInstanceTypeMlG4dn12xlarge is a ProductionVariantInstanceType enum value
49981	ProductionVariantInstanceTypeMlG4dn12xlarge = "ml.g4dn.12xlarge"
49982
49983	// ProductionVariantInstanceTypeMlG4dn16xlarge is a ProductionVariantInstanceType enum value
49984	ProductionVariantInstanceTypeMlG4dn16xlarge = "ml.g4dn.16xlarge"
49985
49986	// ProductionVariantInstanceTypeMlR5Large is a ProductionVariantInstanceType enum value
49987	ProductionVariantInstanceTypeMlR5Large = "ml.r5.large"
49988
49989	// ProductionVariantInstanceTypeMlR5Xlarge is a ProductionVariantInstanceType enum value
49990	ProductionVariantInstanceTypeMlR5Xlarge = "ml.r5.xlarge"
49991
49992	// ProductionVariantInstanceTypeMlR52xlarge is a ProductionVariantInstanceType enum value
49993	ProductionVariantInstanceTypeMlR52xlarge = "ml.r5.2xlarge"
49994
49995	// ProductionVariantInstanceTypeMlR54xlarge is a ProductionVariantInstanceType enum value
49996	ProductionVariantInstanceTypeMlR54xlarge = "ml.r5.4xlarge"
49997
49998	// ProductionVariantInstanceTypeMlR512xlarge is a ProductionVariantInstanceType enum value
49999	ProductionVariantInstanceTypeMlR512xlarge = "ml.r5.12xlarge"
50000
50001	// ProductionVariantInstanceTypeMlR524xlarge is a ProductionVariantInstanceType enum value
50002	ProductionVariantInstanceTypeMlR524xlarge = "ml.r5.24xlarge"
50003
50004	// ProductionVariantInstanceTypeMlR5dLarge is a ProductionVariantInstanceType enum value
50005	ProductionVariantInstanceTypeMlR5dLarge = "ml.r5d.large"
50006
50007	// ProductionVariantInstanceTypeMlR5dXlarge is a ProductionVariantInstanceType enum value
50008	ProductionVariantInstanceTypeMlR5dXlarge = "ml.r5d.xlarge"
50009
50010	// ProductionVariantInstanceTypeMlR5d2xlarge is a ProductionVariantInstanceType enum value
50011	ProductionVariantInstanceTypeMlR5d2xlarge = "ml.r5d.2xlarge"
50012
50013	// ProductionVariantInstanceTypeMlR5d4xlarge is a ProductionVariantInstanceType enum value
50014	ProductionVariantInstanceTypeMlR5d4xlarge = "ml.r5d.4xlarge"
50015
50016	// ProductionVariantInstanceTypeMlR5d12xlarge is a ProductionVariantInstanceType enum value
50017	ProductionVariantInstanceTypeMlR5d12xlarge = "ml.r5d.12xlarge"
50018
50019	// ProductionVariantInstanceTypeMlR5d24xlarge is a ProductionVariantInstanceType enum value
50020	ProductionVariantInstanceTypeMlR5d24xlarge = "ml.r5d.24xlarge"
50021
50022	// ProductionVariantInstanceTypeMlInf1Xlarge is a ProductionVariantInstanceType enum value
50023	ProductionVariantInstanceTypeMlInf1Xlarge = "ml.inf1.xlarge"
50024
50025	// ProductionVariantInstanceTypeMlInf12xlarge is a ProductionVariantInstanceType enum value
50026	ProductionVariantInstanceTypeMlInf12xlarge = "ml.inf1.2xlarge"
50027
50028	// ProductionVariantInstanceTypeMlInf16xlarge is a ProductionVariantInstanceType enum value
50029	ProductionVariantInstanceTypeMlInf16xlarge = "ml.inf1.6xlarge"
50030
50031	// ProductionVariantInstanceTypeMlInf124xlarge is a ProductionVariantInstanceType enum value
50032	ProductionVariantInstanceTypeMlInf124xlarge = "ml.inf1.24xlarge"
50033)
50034
50035const (
50036	// RecordWrapperNone is a RecordWrapper enum value
50037	RecordWrapperNone = "None"
50038
50039	// RecordWrapperRecordIo is a RecordWrapper enum value
50040	RecordWrapperRecordIo = "RecordIO"
50041)
50042
50043const (
50044	// ResourceTypeTrainingJob is a ResourceType enum value
50045	ResourceTypeTrainingJob = "TrainingJob"
50046
50047	// ResourceTypeExperiment is a ResourceType enum value
50048	ResourceTypeExperiment = "Experiment"
50049
50050	// ResourceTypeExperimentTrial is a ResourceType enum value
50051	ResourceTypeExperimentTrial = "ExperimentTrial"
50052
50053	// ResourceTypeExperimentTrialComponent is a ResourceType enum value
50054	ResourceTypeExperimentTrialComponent = "ExperimentTrialComponent"
50055)
50056
50057const (
50058	// RetentionTypeRetain is a RetentionType enum value
50059	RetentionTypeRetain = "Retain"
50060
50061	// RetentionTypeDelete is a RetentionType enum value
50062	RetentionTypeDelete = "Delete"
50063)
50064
50065const (
50066	// RootAccessEnabled is a RootAccess enum value
50067	RootAccessEnabled = "Enabled"
50068
50069	// RootAccessDisabled is a RootAccess enum value
50070	RootAccessDisabled = "Disabled"
50071)
50072
50073const (
50074	// RuleEvaluationStatusInProgress is a RuleEvaluationStatus enum value
50075	RuleEvaluationStatusInProgress = "InProgress"
50076
50077	// RuleEvaluationStatusNoIssuesFound is a RuleEvaluationStatus enum value
50078	RuleEvaluationStatusNoIssuesFound = "NoIssuesFound"
50079
50080	// RuleEvaluationStatusIssuesFound is a RuleEvaluationStatus enum value
50081	RuleEvaluationStatusIssuesFound = "IssuesFound"
50082
50083	// RuleEvaluationStatusError is a RuleEvaluationStatus enum value
50084	RuleEvaluationStatusError = "Error"
50085
50086	// RuleEvaluationStatusStopping is a RuleEvaluationStatus enum value
50087	RuleEvaluationStatusStopping = "Stopping"
50088
50089	// RuleEvaluationStatusStopped is a RuleEvaluationStatus enum value
50090	RuleEvaluationStatusStopped = "Stopped"
50091)
50092
50093const (
50094	// S3DataDistributionFullyReplicated is a S3DataDistribution enum value
50095	S3DataDistributionFullyReplicated = "FullyReplicated"
50096
50097	// S3DataDistributionShardedByS3key is a S3DataDistribution enum value
50098	S3DataDistributionShardedByS3key = "ShardedByS3Key"
50099)
50100
50101const (
50102	// S3DataTypeManifestFile is a S3DataType enum value
50103	S3DataTypeManifestFile = "ManifestFile"
50104
50105	// S3DataTypeS3prefix is a S3DataType enum value
50106	S3DataTypeS3prefix = "S3Prefix"
50107
50108	// S3DataTypeAugmentedManifestFile is a S3DataType enum value
50109	S3DataTypeAugmentedManifestFile = "AugmentedManifestFile"
50110)
50111
50112const (
50113	// ScheduleStatusPending is a ScheduleStatus enum value
50114	ScheduleStatusPending = "Pending"
50115
50116	// ScheduleStatusFailed is a ScheduleStatus enum value
50117	ScheduleStatusFailed = "Failed"
50118
50119	// ScheduleStatusScheduled is a ScheduleStatus enum value
50120	ScheduleStatusScheduled = "Scheduled"
50121
50122	// ScheduleStatusStopped is a ScheduleStatus enum value
50123	ScheduleStatusStopped = "Stopped"
50124)
50125
50126const (
50127	// SearchSortOrderAscending is a SearchSortOrder enum value
50128	SearchSortOrderAscending = "Ascending"
50129
50130	// SearchSortOrderDescending is a SearchSortOrder enum value
50131	SearchSortOrderDescending = "Descending"
50132)
50133
50134const (
50135	// SecondaryStatusStarting is a SecondaryStatus enum value
50136	SecondaryStatusStarting = "Starting"
50137
50138	// SecondaryStatusLaunchingMlinstances is a SecondaryStatus enum value
50139	SecondaryStatusLaunchingMlinstances = "LaunchingMLInstances"
50140
50141	// SecondaryStatusPreparingTrainingStack is a SecondaryStatus enum value
50142	SecondaryStatusPreparingTrainingStack = "PreparingTrainingStack"
50143
50144	// SecondaryStatusDownloading is a SecondaryStatus enum value
50145	SecondaryStatusDownloading = "Downloading"
50146
50147	// SecondaryStatusDownloadingTrainingImage is a SecondaryStatus enum value
50148	SecondaryStatusDownloadingTrainingImage = "DownloadingTrainingImage"
50149
50150	// SecondaryStatusTraining is a SecondaryStatus enum value
50151	SecondaryStatusTraining = "Training"
50152
50153	// SecondaryStatusUploading is a SecondaryStatus enum value
50154	SecondaryStatusUploading = "Uploading"
50155
50156	// SecondaryStatusStopping is a SecondaryStatus enum value
50157	SecondaryStatusStopping = "Stopping"
50158
50159	// SecondaryStatusStopped is a SecondaryStatus enum value
50160	SecondaryStatusStopped = "Stopped"
50161
50162	// SecondaryStatusMaxRuntimeExceeded is a SecondaryStatus enum value
50163	SecondaryStatusMaxRuntimeExceeded = "MaxRuntimeExceeded"
50164
50165	// SecondaryStatusCompleted is a SecondaryStatus enum value
50166	SecondaryStatusCompleted = "Completed"
50167
50168	// SecondaryStatusFailed is a SecondaryStatus enum value
50169	SecondaryStatusFailed = "Failed"
50170
50171	// SecondaryStatusInterrupted is a SecondaryStatus enum value
50172	SecondaryStatusInterrupted = "Interrupted"
50173
50174	// SecondaryStatusMaxWaitTimeExceeded is a SecondaryStatus enum value
50175	SecondaryStatusMaxWaitTimeExceeded = "MaxWaitTimeExceeded"
50176)
50177
50178const (
50179	// SortByName is a SortBy enum value
50180	SortByName = "Name"
50181
50182	// SortByCreationTime is a SortBy enum value
50183	SortByCreationTime = "CreationTime"
50184
50185	// SortByStatus is a SortBy enum value
50186	SortByStatus = "Status"
50187)
50188
50189const (
50190	// SortExperimentsByName is a SortExperimentsBy enum value
50191	SortExperimentsByName = "Name"
50192
50193	// SortExperimentsByCreationTime is a SortExperimentsBy enum value
50194	SortExperimentsByCreationTime = "CreationTime"
50195)
50196
50197const (
50198	// SortOrderAscending is a SortOrder enum value
50199	SortOrderAscending = "Ascending"
50200
50201	// SortOrderDescending is a SortOrder enum value
50202	SortOrderDescending = "Descending"
50203)
50204
50205const (
50206	// SortTrialComponentsByName is a SortTrialComponentsBy enum value
50207	SortTrialComponentsByName = "Name"
50208
50209	// SortTrialComponentsByCreationTime is a SortTrialComponentsBy enum value
50210	SortTrialComponentsByCreationTime = "CreationTime"
50211)
50212
50213const (
50214	// SortTrialsByName is a SortTrialsBy enum value
50215	SortTrialsByName = "Name"
50216
50217	// SortTrialsByCreationTime is a SortTrialsBy enum value
50218	SortTrialsByCreationTime = "CreationTime"
50219)
50220
50221const (
50222	// SplitTypeNone is a SplitType enum value
50223	SplitTypeNone = "None"
50224
50225	// SplitTypeLine is a SplitType enum value
50226	SplitTypeLine = "Line"
50227
50228	// SplitTypeRecordIo is a SplitType enum value
50229	SplitTypeRecordIo = "RecordIO"
50230
50231	// SplitTypeTfrecord is a SplitType enum value
50232	SplitTypeTfrecord = "TFRecord"
50233)
50234
50235const (
50236	// TargetDeviceLambda is a TargetDevice enum value
50237	TargetDeviceLambda = "lambda"
50238
50239	// TargetDeviceMlM4 is a TargetDevice enum value
50240	TargetDeviceMlM4 = "ml_m4"
50241
50242	// TargetDeviceMlM5 is a TargetDevice enum value
50243	TargetDeviceMlM5 = "ml_m5"
50244
50245	// TargetDeviceMlC4 is a TargetDevice enum value
50246	TargetDeviceMlC4 = "ml_c4"
50247
50248	// TargetDeviceMlC5 is a TargetDevice enum value
50249	TargetDeviceMlC5 = "ml_c5"
50250
50251	// TargetDeviceMlP2 is a TargetDevice enum value
50252	TargetDeviceMlP2 = "ml_p2"
50253
50254	// TargetDeviceMlP3 is a TargetDevice enum value
50255	TargetDeviceMlP3 = "ml_p3"
50256
50257	// TargetDeviceMlG4dn is a TargetDevice enum value
50258	TargetDeviceMlG4dn = "ml_g4dn"
50259
50260	// TargetDeviceMlInf1 is a TargetDevice enum value
50261	TargetDeviceMlInf1 = "ml_inf1"
50262
50263	// TargetDeviceJetsonTx1 is a TargetDevice enum value
50264	TargetDeviceJetsonTx1 = "jetson_tx1"
50265
50266	// TargetDeviceJetsonTx2 is a TargetDevice enum value
50267	TargetDeviceJetsonTx2 = "jetson_tx2"
50268
50269	// TargetDeviceJetsonNano is a TargetDevice enum value
50270	TargetDeviceJetsonNano = "jetson_nano"
50271
50272	// TargetDeviceJetsonXavier is a TargetDevice enum value
50273	TargetDeviceJetsonXavier = "jetson_xavier"
50274
50275	// TargetDeviceRasp3b is a TargetDevice enum value
50276	TargetDeviceRasp3b = "rasp3b"
50277
50278	// TargetDeviceImx8qm is a TargetDevice enum value
50279	TargetDeviceImx8qm = "imx8qm"
50280
50281	// TargetDeviceDeeplens is a TargetDevice enum value
50282	TargetDeviceDeeplens = "deeplens"
50283
50284	// TargetDeviceRk3399 is a TargetDevice enum value
50285	TargetDeviceRk3399 = "rk3399"
50286
50287	// TargetDeviceRk3288 is a TargetDevice enum value
50288	TargetDeviceRk3288 = "rk3288"
50289
50290	// TargetDeviceAisage is a TargetDevice enum value
50291	TargetDeviceAisage = "aisage"
50292
50293	// TargetDeviceSbeC is a TargetDevice enum value
50294	TargetDeviceSbeC = "sbe_c"
50295
50296	// TargetDeviceQcs605 is a TargetDevice enum value
50297	TargetDeviceQcs605 = "qcs605"
50298
50299	// TargetDeviceQcs603 is a TargetDevice enum value
50300	TargetDeviceQcs603 = "qcs603"
50301
50302	// TargetDeviceSitaraAm57x is a TargetDevice enum value
50303	TargetDeviceSitaraAm57x = "sitara_am57x"
50304
50305	// TargetDeviceAmbaCv22 is a TargetDevice enum value
50306	TargetDeviceAmbaCv22 = "amba_cv22"
50307
50308	// TargetDeviceX86Win32 is a TargetDevice enum value
50309	TargetDeviceX86Win32 = "x86_win32"
50310
50311	// TargetDeviceX86Win64 is a TargetDevice enum value
50312	TargetDeviceX86Win64 = "x86_win64"
50313)
50314
50315const (
50316	// TargetPlatformAcceleratorIntelGraphics is a TargetPlatformAccelerator enum value
50317	TargetPlatformAcceleratorIntelGraphics = "INTEL_GRAPHICS"
50318
50319	// TargetPlatformAcceleratorMali is a TargetPlatformAccelerator enum value
50320	TargetPlatformAcceleratorMali = "MALI"
50321
50322	// TargetPlatformAcceleratorNvidia is a TargetPlatformAccelerator enum value
50323	TargetPlatformAcceleratorNvidia = "NVIDIA"
50324)
50325
50326const (
50327	// TargetPlatformArchX8664 is a TargetPlatformArch enum value
50328	TargetPlatformArchX8664 = "X86_64"
50329
50330	// TargetPlatformArchX86 is a TargetPlatformArch enum value
50331	TargetPlatformArchX86 = "X86"
50332
50333	// TargetPlatformArchArm64 is a TargetPlatformArch enum value
50334	TargetPlatformArchArm64 = "ARM64"
50335
50336	// TargetPlatformArchArmEabi is a TargetPlatformArch enum value
50337	TargetPlatformArchArmEabi = "ARM_EABI"
50338
50339	// TargetPlatformArchArmEabihf is a TargetPlatformArch enum value
50340	TargetPlatformArchArmEabihf = "ARM_EABIHF"
50341)
50342
50343const (
50344	// TargetPlatformOsAndroid is a TargetPlatformOs enum value
50345	TargetPlatformOsAndroid = "ANDROID"
50346
50347	// TargetPlatformOsLinux is a TargetPlatformOs enum value
50348	TargetPlatformOsLinux = "LINUX"
50349)
50350
50351const (
50352	// TrainingInputModePipe is a TrainingInputMode enum value
50353	TrainingInputModePipe = "Pipe"
50354
50355	// TrainingInputModeFile is a TrainingInputMode enum value
50356	TrainingInputModeFile = "File"
50357)
50358
50359const (
50360	// TrainingInstanceTypeMlM4Xlarge is a TrainingInstanceType enum value
50361	TrainingInstanceTypeMlM4Xlarge = "ml.m4.xlarge"
50362
50363	// TrainingInstanceTypeMlM42xlarge is a TrainingInstanceType enum value
50364	TrainingInstanceTypeMlM42xlarge = "ml.m4.2xlarge"
50365
50366	// TrainingInstanceTypeMlM44xlarge is a TrainingInstanceType enum value
50367	TrainingInstanceTypeMlM44xlarge = "ml.m4.4xlarge"
50368
50369	// TrainingInstanceTypeMlM410xlarge is a TrainingInstanceType enum value
50370	TrainingInstanceTypeMlM410xlarge = "ml.m4.10xlarge"
50371
50372	// TrainingInstanceTypeMlM416xlarge is a TrainingInstanceType enum value
50373	TrainingInstanceTypeMlM416xlarge = "ml.m4.16xlarge"
50374
50375	// TrainingInstanceTypeMlG4dnXlarge is a TrainingInstanceType enum value
50376	TrainingInstanceTypeMlG4dnXlarge = "ml.g4dn.xlarge"
50377
50378	// TrainingInstanceTypeMlG4dn2xlarge is a TrainingInstanceType enum value
50379	TrainingInstanceTypeMlG4dn2xlarge = "ml.g4dn.2xlarge"
50380
50381	// TrainingInstanceTypeMlG4dn4xlarge is a TrainingInstanceType enum value
50382	TrainingInstanceTypeMlG4dn4xlarge = "ml.g4dn.4xlarge"
50383
50384	// TrainingInstanceTypeMlG4dn8xlarge is a TrainingInstanceType enum value
50385	TrainingInstanceTypeMlG4dn8xlarge = "ml.g4dn.8xlarge"
50386
50387	// TrainingInstanceTypeMlG4dn12xlarge is a TrainingInstanceType enum value
50388	TrainingInstanceTypeMlG4dn12xlarge = "ml.g4dn.12xlarge"
50389
50390	// TrainingInstanceTypeMlG4dn16xlarge is a TrainingInstanceType enum value
50391	TrainingInstanceTypeMlG4dn16xlarge = "ml.g4dn.16xlarge"
50392
50393	// TrainingInstanceTypeMlM5Large is a TrainingInstanceType enum value
50394	TrainingInstanceTypeMlM5Large = "ml.m5.large"
50395
50396	// TrainingInstanceTypeMlM5Xlarge is a TrainingInstanceType enum value
50397	TrainingInstanceTypeMlM5Xlarge = "ml.m5.xlarge"
50398
50399	// TrainingInstanceTypeMlM52xlarge is a TrainingInstanceType enum value
50400	TrainingInstanceTypeMlM52xlarge = "ml.m5.2xlarge"
50401
50402	// TrainingInstanceTypeMlM54xlarge is a TrainingInstanceType enum value
50403	TrainingInstanceTypeMlM54xlarge = "ml.m5.4xlarge"
50404
50405	// TrainingInstanceTypeMlM512xlarge is a TrainingInstanceType enum value
50406	TrainingInstanceTypeMlM512xlarge = "ml.m5.12xlarge"
50407
50408	// TrainingInstanceTypeMlM524xlarge is a TrainingInstanceType enum value
50409	TrainingInstanceTypeMlM524xlarge = "ml.m5.24xlarge"
50410
50411	// TrainingInstanceTypeMlC4Xlarge is a TrainingInstanceType enum value
50412	TrainingInstanceTypeMlC4Xlarge = "ml.c4.xlarge"
50413
50414	// TrainingInstanceTypeMlC42xlarge is a TrainingInstanceType enum value
50415	TrainingInstanceTypeMlC42xlarge = "ml.c4.2xlarge"
50416
50417	// TrainingInstanceTypeMlC44xlarge is a TrainingInstanceType enum value
50418	TrainingInstanceTypeMlC44xlarge = "ml.c4.4xlarge"
50419
50420	// TrainingInstanceTypeMlC48xlarge is a TrainingInstanceType enum value
50421	TrainingInstanceTypeMlC48xlarge = "ml.c4.8xlarge"
50422
50423	// TrainingInstanceTypeMlP2Xlarge is a TrainingInstanceType enum value
50424	TrainingInstanceTypeMlP2Xlarge = "ml.p2.xlarge"
50425
50426	// TrainingInstanceTypeMlP28xlarge is a TrainingInstanceType enum value
50427	TrainingInstanceTypeMlP28xlarge = "ml.p2.8xlarge"
50428
50429	// TrainingInstanceTypeMlP216xlarge is a TrainingInstanceType enum value
50430	TrainingInstanceTypeMlP216xlarge = "ml.p2.16xlarge"
50431
50432	// TrainingInstanceTypeMlP32xlarge is a TrainingInstanceType enum value
50433	TrainingInstanceTypeMlP32xlarge = "ml.p3.2xlarge"
50434
50435	// TrainingInstanceTypeMlP38xlarge is a TrainingInstanceType enum value
50436	TrainingInstanceTypeMlP38xlarge = "ml.p3.8xlarge"
50437
50438	// TrainingInstanceTypeMlP316xlarge is a TrainingInstanceType enum value
50439	TrainingInstanceTypeMlP316xlarge = "ml.p3.16xlarge"
50440
50441	// TrainingInstanceTypeMlP3dn24xlarge is a TrainingInstanceType enum value
50442	TrainingInstanceTypeMlP3dn24xlarge = "ml.p3dn.24xlarge"
50443
50444	// TrainingInstanceTypeMlC5Xlarge is a TrainingInstanceType enum value
50445	TrainingInstanceTypeMlC5Xlarge = "ml.c5.xlarge"
50446
50447	// TrainingInstanceTypeMlC52xlarge is a TrainingInstanceType enum value
50448	TrainingInstanceTypeMlC52xlarge = "ml.c5.2xlarge"
50449
50450	// TrainingInstanceTypeMlC54xlarge is a TrainingInstanceType enum value
50451	TrainingInstanceTypeMlC54xlarge = "ml.c5.4xlarge"
50452
50453	// TrainingInstanceTypeMlC59xlarge is a TrainingInstanceType enum value
50454	TrainingInstanceTypeMlC59xlarge = "ml.c5.9xlarge"
50455
50456	// TrainingInstanceTypeMlC518xlarge is a TrainingInstanceType enum value
50457	TrainingInstanceTypeMlC518xlarge = "ml.c5.18xlarge"
50458
50459	// TrainingInstanceTypeMlC5nXlarge is a TrainingInstanceType enum value
50460	TrainingInstanceTypeMlC5nXlarge = "ml.c5n.xlarge"
50461
50462	// TrainingInstanceTypeMlC5n2xlarge is a TrainingInstanceType enum value
50463	TrainingInstanceTypeMlC5n2xlarge = "ml.c5n.2xlarge"
50464
50465	// TrainingInstanceTypeMlC5n4xlarge is a TrainingInstanceType enum value
50466	TrainingInstanceTypeMlC5n4xlarge = "ml.c5n.4xlarge"
50467
50468	// TrainingInstanceTypeMlC5n9xlarge is a TrainingInstanceType enum value
50469	TrainingInstanceTypeMlC5n9xlarge = "ml.c5n.9xlarge"
50470
50471	// TrainingInstanceTypeMlC5n18xlarge is a TrainingInstanceType enum value
50472	TrainingInstanceTypeMlC5n18xlarge = "ml.c5n.18xlarge"
50473)
50474
50475const (
50476	// TrainingJobEarlyStoppingTypeOff is a TrainingJobEarlyStoppingType enum value
50477	TrainingJobEarlyStoppingTypeOff = "Off"
50478
50479	// TrainingJobEarlyStoppingTypeAuto is a TrainingJobEarlyStoppingType enum value
50480	TrainingJobEarlyStoppingTypeAuto = "Auto"
50481)
50482
50483const (
50484	// TrainingJobSortByOptionsName is a TrainingJobSortByOptions enum value
50485	TrainingJobSortByOptionsName = "Name"
50486
50487	// TrainingJobSortByOptionsCreationTime is a TrainingJobSortByOptions enum value
50488	TrainingJobSortByOptionsCreationTime = "CreationTime"
50489
50490	// TrainingJobSortByOptionsStatus is a TrainingJobSortByOptions enum value
50491	TrainingJobSortByOptionsStatus = "Status"
50492
50493	// TrainingJobSortByOptionsFinalObjectiveMetricValue is a TrainingJobSortByOptions enum value
50494	TrainingJobSortByOptionsFinalObjectiveMetricValue = "FinalObjectiveMetricValue"
50495)
50496
50497const (
50498	// TrainingJobStatusInProgress is a TrainingJobStatus enum value
50499	TrainingJobStatusInProgress = "InProgress"
50500
50501	// TrainingJobStatusCompleted is a TrainingJobStatus enum value
50502	TrainingJobStatusCompleted = "Completed"
50503
50504	// TrainingJobStatusFailed is a TrainingJobStatus enum value
50505	TrainingJobStatusFailed = "Failed"
50506
50507	// TrainingJobStatusStopping is a TrainingJobStatus enum value
50508	TrainingJobStatusStopping = "Stopping"
50509
50510	// TrainingJobStatusStopped is a TrainingJobStatus enum value
50511	TrainingJobStatusStopped = "Stopped"
50512)
50513
50514const (
50515	// TransformInstanceTypeMlM4Xlarge is a TransformInstanceType enum value
50516	TransformInstanceTypeMlM4Xlarge = "ml.m4.xlarge"
50517
50518	// TransformInstanceTypeMlM42xlarge is a TransformInstanceType enum value
50519	TransformInstanceTypeMlM42xlarge = "ml.m4.2xlarge"
50520
50521	// TransformInstanceTypeMlM44xlarge is a TransformInstanceType enum value
50522	TransformInstanceTypeMlM44xlarge = "ml.m4.4xlarge"
50523
50524	// TransformInstanceTypeMlM410xlarge is a TransformInstanceType enum value
50525	TransformInstanceTypeMlM410xlarge = "ml.m4.10xlarge"
50526
50527	// TransformInstanceTypeMlM416xlarge is a TransformInstanceType enum value
50528	TransformInstanceTypeMlM416xlarge = "ml.m4.16xlarge"
50529
50530	// TransformInstanceTypeMlC4Xlarge is a TransformInstanceType enum value
50531	TransformInstanceTypeMlC4Xlarge = "ml.c4.xlarge"
50532
50533	// TransformInstanceTypeMlC42xlarge is a TransformInstanceType enum value
50534	TransformInstanceTypeMlC42xlarge = "ml.c4.2xlarge"
50535
50536	// TransformInstanceTypeMlC44xlarge is a TransformInstanceType enum value
50537	TransformInstanceTypeMlC44xlarge = "ml.c4.4xlarge"
50538
50539	// TransformInstanceTypeMlC48xlarge is a TransformInstanceType enum value
50540	TransformInstanceTypeMlC48xlarge = "ml.c4.8xlarge"
50541
50542	// TransformInstanceTypeMlP2Xlarge is a TransformInstanceType enum value
50543	TransformInstanceTypeMlP2Xlarge = "ml.p2.xlarge"
50544
50545	// TransformInstanceTypeMlP28xlarge is a TransformInstanceType enum value
50546	TransformInstanceTypeMlP28xlarge = "ml.p2.8xlarge"
50547
50548	// TransformInstanceTypeMlP216xlarge is a TransformInstanceType enum value
50549	TransformInstanceTypeMlP216xlarge = "ml.p2.16xlarge"
50550
50551	// TransformInstanceTypeMlP32xlarge is a TransformInstanceType enum value
50552	TransformInstanceTypeMlP32xlarge = "ml.p3.2xlarge"
50553
50554	// TransformInstanceTypeMlP38xlarge is a TransformInstanceType enum value
50555	TransformInstanceTypeMlP38xlarge = "ml.p3.8xlarge"
50556
50557	// TransformInstanceTypeMlP316xlarge is a TransformInstanceType enum value
50558	TransformInstanceTypeMlP316xlarge = "ml.p3.16xlarge"
50559
50560	// TransformInstanceTypeMlC5Xlarge is a TransformInstanceType enum value
50561	TransformInstanceTypeMlC5Xlarge = "ml.c5.xlarge"
50562
50563	// TransformInstanceTypeMlC52xlarge is a TransformInstanceType enum value
50564	TransformInstanceTypeMlC52xlarge = "ml.c5.2xlarge"
50565
50566	// TransformInstanceTypeMlC54xlarge is a TransformInstanceType enum value
50567	TransformInstanceTypeMlC54xlarge = "ml.c5.4xlarge"
50568
50569	// TransformInstanceTypeMlC59xlarge is a TransformInstanceType enum value
50570	TransformInstanceTypeMlC59xlarge = "ml.c5.9xlarge"
50571
50572	// TransformInstanceTypeMlC518xlarge is a TransformInstanceType enum value
50573	TransformInstanceTypeMlC518xlarge = "ml.c5.18xlarge"
50574
50575	// TransformInstanceTypeMlM5Large is a TransformInstanceType enum value
50576	TransformInstanceTypeMlM5Large = "ml.m5.large"
50577
50578	// TransformInstanceTypeMlM5Xlarge is a TransformInstanceType enum value
50579	TransformInstanceTypeMlM5Xlarge = "ml.m5.xlarge"
50580
50581	// TransformInstanceTypeMlM52xlarge is a TransformInstanceType enum value
50582	TransformInstanceTypeMlM52xlarge = "ml.m5.2xlarge"
50583
50584	// TransformInstanceTypeMlM54xlarge is a TransformInstanceType enum value
50585	TransformInstanceTypeMlM54xlarge = "ml.m5.4xlarge"
50586
50587	// TransformInstanceTypeMlM512xlarge is a TransformInstanceType enum value
50588	TransformInstanceTypeMlM512xlarge = "ml.m5.12xlarge"
50589
50590	// TransformInstanceTypeMlM524xlarge is a TransformInstanceType enum value
50591	TransformInstanceTypeMlM524xlarge = "ml.m5.24xlarge"
50592)
50593
50594const (
50595	// TransformJobStatusInProgress is a TransformJobStatus enum value
50596	TransformJobStatusInProgress = "InProgress"
50597
50598	// TransformJobStatusCompleted is a TransformJobStatus enum value
50599	TransformJobStatusCompleted = "Completed"
50600
50601	// TransformJobStatusFailed is a TransformJobStatus enum value
50602	TransformJobStatusFailed = "Failed"
50603
50604	// TransformJobStatusStopping is a TransformJobStatus enum value
50605	TransformJobStatusStopping = "Stopping"
50606
50607	// TransformJobStatusStopped is a TransformJobStatus enum value
50608	TransformJobStatusStopped = "Stopped"
50609)
50610
50611const (
50612	// TrialComponentPrimaryStatusInProgress is a TrialComponentPrimaryStatus enum value
50613	TrialComponentPrimaryStatusInProgress = "InProgress"
50614
50615	// TrialComponentPrimaryStatusCompleted is a TrialComponentPrimaryStatus enum value
50616	TrialComponentPrimaryStatusCompleted = "Completed"
50617
50618	// TrialComponentPrimaryStatusFailed is a TrialComponentPrimaryStatus enum value
50619	TrialComponentPrimaryStatusFailed = "Failed"
50620
50621	// TrialComponentPrimaryStatusStopping is a TrialComponentPrimaryStatus enum value
50622	TrialComponentPrimaryStatusStopping = "Stopping"
50623
50624	// TrialComponentPrimaryStatusStopped is a TrialComponentPrimaryStatus enum value
50625	TrialComponentPrimaryStatusStopped = "Stopped"
50626)
50627
50628const (
50629	// UserProfileSortKeyCreationTime is a UserProfileSortKey enum value
50630	UserProfileSortKeyCreationTime = "CreationTime"
50631
50632	// UserProfileSortKeyLastModifiedTime is a UserProfileSortKey enum value
50633	UserProfileSortKeyLastModifiedTime = "LastModifiedTime"
50634)
50635
50636const (
50637	// UserProfileStatusDeleting is a UserProfileStatus enum value
50638	UserProfileStatusDeleting = "Deleting"
50639
50640	// UserProfileStatusFailed is a UserProfileStatus enum value
50641	UserProfileStatusFailed = "Failed"
50642
50643	// UserProfileStatusInService is a UserProfileStatus enum value
50644	UserProfileStatusInService = "InService"
50645
50646	// UserProfileStatusPending is a UserProfileStatus enum value
50647	UserProfileStatusPending = "Pending"
50648)
50649
50650const (
50651	// VariantPropertyTypeDesiredInstanceCount is a VariantPropertyType enum value
50652	VariantPropertyTypeDesiredInstanceCount = "DesiredInstanceCount"
50653
50654	// VariantPropertyTypeDesiredWeight is a VariantPropertyType enum value
50655	VariantPropertyTypeDesiredWeight = "DesiredWeight"
50656
50657	// VariantPropertyTypeDataCaptureConfig is a VariantPropertyType enum value
50658	VariantPropertyTypeDataCaptureConfig = "DataCaptureConfig"
50659)
50660