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// KernelGateway, and TensorBoard. This operation is automatically invoked by
311// Amazon SageMaker Studio upon access to the associated Domain, and when new
312// kernel configurations are selected by the user. A user may have multiple
313// Apps active simultaneously. UserProfiles are limited to 5 concurrently running
314// Apps at a time.
315//
316// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
317// with awserr.Error's Code and Message methods to get detailed information about
318// the error.
319//
320// See the AWS API reference guide for Amazon SageMaker Service's
321// API operation CreateApp for usage and error information.
322//
323// Returned Error Types:
324//   * ResourceLimitExceeded
325//   You have exceeded an Amazon SageMaker resource limit. For example, you might
326//   have too many training jobs created.
327//
328//   * ResourceInUse
329//   Resource being accessed is in use.
330//
331// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateApp
332func (c *SageMaker) CreateApp(input *CreateAppInput) (*CreateAppOutput, error) {
333	req, out := c.CreateAppRequest(input)
334	return out, req.Send()
335}
336
337// CreateAppWithContext is the same as CreateApp with the addition of
338// the ability to pass a context and additional request options.
339//
340// See CreateApp for details on how to use this API operation.
341//
342// The context must be non-nil and will be used for request cancellation. If
343// the context is nil a panic will occur. In the future the SDK may create
344// sub-contexts for http.Requests. See https://golang.org/pkg/context/
345// for more information on using Contexts.
346func (c *SageMaker) CreateAppWithContext(ctx aws.Context, input *CreateAppInput, opts ...request.Option) (*CreateAppOutput, error) {
347	req, out := c.CreateAppRequest(input)
348	req.SetContext(ctx)
349	req.ApplyOptions(opts...)
350	return out, req.Send()
351}
352
353const opCreateAutoMLJob = "CreateAutoMLJob"
354
355// CreateAutoMLJobRequest generates a "aws/request.Request" representing the
356// client's request for the CreateAutoMLJob operation. The "output" return
357// value will be populated with the request's response once the request completes
358// successfully.
359//
360// Use "Send" method on the returned Request to send the API call to the service.
361// the "output" return value is not valid until after Send returns without error.
362//
363// See CreateAutoMLJob for more information on using the CreateAutoMLJob
364// API call, and error handling.
365//
366// This method is useful when you want to inject custom logic or configuration
367// into the SDK's request lifecycle. Such as custom headers, or retry logic.
368//
369//
370//    // Example sending a request using the CreateAutoMLJobRequest method.
371//    req, resp := client.CreateAutoMLJobRequest(params)
372//
373//    err := req.Send()
374//    if err == nil { // resp is now filled
375//        fmt.Println(resp)
376//    }
377//
378// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAutoMLJob
379func (c *SageMaker) CreateAutoMLJobRequest(input *CreateAutoMLJobInput) (req *request.Request, output *CreateAutoMLJobOutput) {
380	op := &request.Operation{
381		Name:       opCreateAutoMLJob,
382		HTTPMethod: "POST",
383		HTTPPath:   "/",
384	}
385
386	if input == nil {
387		input = &CreateAutoMLJobInput{}
388	}
389
390	output = &CreateAutoMLJobOutput{}
391	req = c.newRequest(op, input, output)
392	return
393}
394
395// CreateAutoMLJob API operation for Amazon SageMaker Service.
396//
397// Creates an AutoPilot job.
398//
399// After you run an AutoPilot job, you can find the best performing model by
400// calling , and then deploy that model by following the steps described in
401// Step 6.1: Deploy the Model to Amazon SageMaker Hosting Services (https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html).
402//
403// For information about how to use AutoPilot, see Use AutoPilot to Automate
404// Model Development (https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development.html).
405//
406// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
407// with awserr.Error's Code and Message methods to get detailed information about
408// the error.
409//
410// See the AWS API reference guide for Amazon SageMaker Service's
411// API operation CreateAutoMLJob for usage and error information.
412//
413// Returned Error Types:
414//   * ResourceInUse
415//   Resource being accessed is in use.
416//
417//   * ResourceLimitExceeded
418//   You have exceeded an Amazon SageMaker resource limit. For example, you might
419//   have too many training jobs created.
420//
421// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAutoMLJob
422func (c *SageMaker) CreateAutoMLJob(input *CreateAutoMLJobInput) (*CreateAutoMLJobOutput, error) {
423	req, out := c.CreateAutoMLJobRequest(input)
424	return out, req.Send()
425}
426
427// CreateAutoMLJobWithContext is the same as CreateAutoMLJob with the addition of
428// the ability to pass a context and additional request options.
429//
430// See CreateAutoMLJob for details on how to use this API operation.
431//
432// The context must be non-nil and will be used for request cancellation. If
433// the context is nil a panic will occur. In the future the SDK may create
434// sub-contexts for http.Requests. See https://golang.org/pkg/context/
435// for more information on using Contexts.
436func (c *SageMaker) CreateAutoMLJobWithContext(ctx aws.Context, input *CreateAutoMLJobInput, opts ...request.Option) (*CreateAutoMLJobOutput, error) {
437	req, out := c.CreateAutoMLJobRequest(input)
438	req.SetContext(ctx)
439	req.ApplyOptions(opts...)
440	return out, req.Send()
441}
442
443const opCreateCodeRepository = "CreateCodeRepository"
444
445// CreateCodeRepositoryRequest generates a "aws/request.Request" representing the
446// client's request for the CreateCodeRepository operation. The "output" return
447// value will be populated with the request's response once the request completes
448// successfully.
449//
450// Use "Send" method on the returned Request to send the API call to the service.
451// the "output" return value is not valid until after Send returns without error.
452//
453// See CreateCodeRepository for more information on using the CreateCodeRepository
454// API call, and error handling.
455//
456// This method is useful when you want to inject custom logic or configuration
457// into the SDK's request lifecycle. Such as custom headers, or retry logic.
458//
459//
460//    // Example sending a request using the CreateCodeRepositoryRequest method.
461//    req, resp := client.CreateCodeRepositoryRequest(params)
462//
463//    err := req.Send()
464//    if err == nil { // resp is now filled
465//        fmt.Println(resp)
466//    }
467//
468// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCodeRepository
469func (c *SageMaker) CreateCodeRepositoryRequest(input *CreateCodeRepositoryInput) (req *request.Request, output *CreateCodeRepositoryOutput) {
470	op := &request.Operation{
471		Name:       opCreateCodeRepository,
472		HTTPMethod: "POST",
473		HTTPPath:   "/",
474	}
475
476	if input == nil {
477		input = &CreateCodeRepositoryInput{}
478	}
479
480	output = &CreateCodeRepositoryOutput{}
481	req = c.newRequest(op, input, output)
482	return
483}
484
485// CreateCodeRepository API operation for Amazon SageMaker Service.
486//
487// Creates a Git repository as a resource in your Amazon SageMaker account.
488// You can associate the repository with notebook instances so that you can
489// use Git source control for the notebooks you create. The Git repository is
490// a resource in your Amazon SageMaker account, so it can be associated with
491// more than one notebook instance, and it persists independently from the lifecycle
492// of any notebook instances it is associated with.
493//
494// The repository can be hosted either in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
495// or in any other Git repository.
496//
497// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
498// with awserr.Error's Code and Message methods to get detailed information about
499// the error.
500//
501// See the AWS API reference guide for Amazon SageMaker Service's
502// API operation CreateCodeRepository for usage and error information.
503// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCodeRepository
504func (c *SageMaker) CreateCodeRepository(input *CreateCodeRepositoryInput) (*CreateCodeRepositoryOutput, error) {
505	req, out := c.CreateCodeRepositoryRequest(input)
506	return out, req.Send()
507}
508
509// CreateCodeRepositoryWithContext is the same as CreateCodeRepository with the addition of
510// the ability to pass a context and additional request options.
511//
512// See CreateCodeRepository for details on how to use this API operation.
513//
514// The context must be non-nil and will be used for request cancellation. If
515// the context is nil a panic will occur. In the future the SDK may create
516// sub-contexts for http.Requests. See https://golang.org/pkg/context/
517// for more information on using Contexts.
518func (c *SageMaker) CreateCodeRepositoryWithContext(ctx aws.Context, input *CreateCodeRepositoryInput, opts ...request.Option) (*CreateCodeRepositoryOutput, error) {
519	req, out := c.CreateCodeRepositoryRequest(input)
520	req.SetContext(ctx)
521	req.ApplyOptions(opts...)
522	return out, req.Send()
523}
524
525const opCreateCompilationJob = "CreateCompilationJob"
526
527// CreateCompilationJobRequest generates a "aws/request.Request" representing the
528// client's request for the CreateCompilationJob operation. The "output" return
529// value will be populated with the request's response once the request completes
530// successfully.
531//
532// Use "Send" method on the returned Request to send the API call to the service.
533// the "output" return value is not valid until after Send returns without error.
534//
535// See CreateCompilationJob for more information on using the CreateCompilationJob
536// API call, and error handling.
537//
538// This method is useful when you want to inject custom logic or configuration
539// into the SDK's request lifecycle. Such as custom headers, or retry logic.
540//
541//
542//    // Example sending a request using the CreateCompilationJobRequest method.
543//    req, resp := client.CreateCompilationJobRequest(params)
544//
545//    err := req.Send()
546//    if err == nil { // resp is now filled
547//        fmt.Println(resp)
548//    }
549//
550// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCompilationJob
551func (c *SageMaker) CreateCompilationJobRequest(input *CreateCompilationJobInput) (req *request.Request, output *CreateCompilationJobOutput) {
552	op := &request.Operation{
553		Name:       opCreateCompilationJob,
554		HTTPMethod: "POST",
555		HTTPPath:   "/",
556	}
557
558	if input == nil {
559		input = &CreateCompilationJobInput{}
560	}
561
562	output = &CreateCompilationJobOutput{}
563	req = c.newRequest(op, input, output)
564	return
565}
566
567// CreateCompilationJob API operation for Amazon SageMaker Service.
568//
569// Starts a model compilation job. After the model has been compiled, Amazon
570// SageMaker saves the resulting model artifacts to an Amazon Simple Storage
571// Service (Amazon S3) bucket that you specify.
572//
573// If you choose to host your model using Amazon SageMaker hosting services,
574// you can use the resulting model artifacts as part of the model. You can also
575// use the artifacts with AWS IoT Greengrass. In that case, deploy them as an
576// ML resource.
577//
578// In the request body, you provide the following:
579//
580//    * A name for the compilation job
581//
582//    * Information about the input model artifacts
583//
584//    * The output location for the compiled model and the device (target) that
585//    the model runs on
586//
587//    * The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker
588//    assumes to perform the model compilation job
589//
590// You can also provide a Tag to track the model compilation job's resource
591// use and costs. The response body contains the CompilationJobArn for the compiled
592// job.
593//
594// To stop a model compilation job, use StopCompilationJob. To get information
595// about a particular model compilation job, use DescribeCompilationJob. To
596// get information about multiple model compilation jobs, use ListCompilationJobs.
597//
598// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
599// with awserr.Error's Code and Message methods to get detailed information about
600// the error.
601//
602// See the AWS API reference guide for Amazon SageMaker Service's
603// API operation CreateCompilationJob for usage and error information.
604//
605// Returned Error Types:
606//   * ResourceInUse
607//   Resource being accessed is in use.
608//
609//   * ResourceLimitExceeded
610//   You have exceeded an Amazon SageMaker resource limit. For example, you might
611//   have too many training jobs created.
612//
613// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCompilationJob
614func (c *SageMaker) CreateCompilationJob(input *CreateCompilationJobInput) (*CreateCompilationJobOutput, error) {
615	req, out := c.CreateCompilationJobRequest(input)
616	return out, req.Send()
617}
618
619// CreateCompilationJobWithContext is the same as CreateCompilationJob with the addition of
620// the ability to pass a context and additional request options.
621//
622// See CreateCompilationJob for details on how to use this API operation.
623//
624// The context must be non-nil and will be used for request cancellation. If
625// the context is nil a panic will occur. In the future the SDK may create
626// sub-contexts for http.Requests. See https://golang.org/pkg/context/
627// for more information on using Contexts.
628func (c *SageMaker) CreateCompilationJobWithContext(ctx aws.Context, input *CreateCompilationJobInput, opts ...request.Option) (*CreateCompilationJobOutput, error) {
629	req, out := c.CreateCompilationJobRequest(input)
630	req.SetContext(ctx)
631	req.ApplyOptions(opts...)
632	return out, req.Send()
633}
634
635const opCreateDomain = "CreateDomain"
636
637// CreateDomainRequest generates a "aws/request.Request" representing the
638// client's request for the CreateDomain operation. The "output" return
639// value will be populated with the request's response once the request completes
640// successfully.
641//
642// Use "Send" method on the returned Request to send the API call to the service.
643// the "output" return value is not valid until after Send returns without error.
644//
645// See CreateDomain for more information on using the CreateDomain
646// API call, and error handling.
647//
648// This method is useful when you want to inject custom logic or configuration
649// into the SDK's request lifecycle. Such as custom headers, or retry logic.
650//
651//
652//    // Example sending a request using the CreateDomainRequest method.
653//    req, resp := client.CreateDomainRequest(params)
654//
655//    err := req.Send()
656//    if err == nil { // resp is now filled
657//        fmt.Println(resp)
658//    }
659//
660// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDomain
661func (c *SageMaker) CreateDomainRequest(input *CreateDomainInput) (req *request.Request, output *CreateDomainOutput) {
662	op := &request.Operation{
663		Name:       opCreateDomain,
664		HTTPMethod: "POST",
665		HTTPPath:   "/",
666	}
667
668	if input == nil {
669		input = &CreateDomainInput{}
670	}
671
672	output = &CreateDomainOutput{}
673	req = c.newRequest(op, input, output)
674	return
675}
676
677// CreateDomain API operation for Amazon SageMaker Service.
678//
679// Creates a Domain used by SageMaker Studio. A domain consists of an associated
680// directory, a list of authorized users, and a variety of security, application,
681// policy, and Amazon Virtual Private Cloud (VPC) configurations. An AWS account
682// is limited to one domain per region. Users within a domain can share notebook
683// files and other artifacts with each other.
684//
685// When a domain is created, an Amazon Elastic File System (EFS) volume is also
686// created for use by all of the users within the domain. Each user receives
687// a private home directory within the EFS for notebooks, Git repositories,
688// and data files.
689//
690// All traffic between the domain and the EFS volume is communicated through
691// the specified subnet IDs. All other traffic goes over the Internet through
692// an Amazon SageMaker system VPC. The EFS traffic uses the NFS/TCP protocol
693// over port 2049.
694//
695// NFS traffic over TCP on port 2049 needs to be allowed in both inbound and
696// outbound rules in order to launch a SageMaker Studio app successfully.
697//
698// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
699// with awserr.Error's Code and Message methods to get detailed information about
700// the error.
701//
702// See the AWS API reference guide for Amazon SageMaker Service's
703// API operation CreateDomain for usage and error information.
704//
705// Returned Error Types:
706//   * ResourceLimitExceeded
707//   You have exceeded an Amazon SageMaker resource limit. For example, you might
708//   have too many training jobs created.
709//
710//   * ResourceInUse
711//   Resource being accessed is in use.
712//
713// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDomain
714func (c *SageMaker) CreateDomain(input *CreateDomainInput) (*CreateDomainOutput, error) {
715	req, out := c.CreateDomainRequest(input)
716	return out, req.Send()
717}
718
719// CreateDomainWithContext is the same as CreateDomain with the addition of
720// the ability to pass a context and additional request options.
721//
722// See CreateDomain for details on how to use this API operation.
723//
724// The context must be non-nil and will be used for request cancellation. If
725// the context is nil a panic will occur. In the future the SDK may create
726// sub-contexts for http.Requests. See https://golang.org/pkg/context/
727// for more information on using Contexts.
728func (c *SageMaker) CreateDomainWithContext(ctx aws.Context, input *CreateDomainInput, opts ...request.Option) (*CreateDomainOutput, error) {
729	req, out := c.CreateDomainRequest(input)
730	req.SetContext(ctx)
731	req.ApplyOptions(opts...)
732	return out, req.Send()
733}
734
735const opCreateEndpoint = "CreateEndpoint"
736
737// CreateEndpointRequest generates a "aws/request.Request" representing the
738// client's request for the CreateEndpoint operation. The "output" return
739// value will be populated with the request's response once the request completes
740// successfully.
741//
742// Use "Send" method on the returned Request to send the API call to the service.
743// the "output" return value is not valid until after Send returns without error.
744//
745// See CreateEndpoint for more information on using the CreateEndpoint
746// API call, and error handling.
747//
748// This method is useful when you want to inject custom logic or configuration
749// into the SDK's request lifecycle. Such as custom headers, or retry logic.
750//
751//
752//    // Example sending a request using the CreateEndpointRequest method.
753//    req, resp := client.CreateEndpointRequest(params)
754//
755//    err := req.Send()
756//    if err == nil { // resp is now filled
757//        fmt.Println(resp)
758//    }
759//
760// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpoint
761func (c *SageMaker) CreateEndpointRequest(input *CreateEndpointInput) (req *request.Request, output *CreateEndpointOutput) {
762	op := &request.Operation{
763		Name:       opCreateEndpoint,
764		HTTPMethod: "POST",
765		HTTPPath:   "/",
766	}
767
768	if input == nil {
769		input = &CreateEndpointInput{}
770	}
771
772	output = &CreateEndpointOutput{}
773	req = c.newRequest(op, input, output)
774	return
775}
776
777// CreateEndpoint API operation for Amazon SageMaker Service.
778//
779// Creates an endpoint using the endpoint configuration specified in the request.
780// Amazon SageMaker uses the endpoint to provision resources and deploy models.
781// You create the endpoint configuration with the CreateEndpointConfig API.
782//
783// Use this API to deploy models using Amazon SageMaker hosting services.
784//
785// For an example that calls this method when deploying a model to Amazon SageMaker
786// hosting services, see Deploy the Model to Amazon SageMaker Hosting Services
787// (AWS SDK for Python (Boto 3)). (https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html#ex1-deploy-model-boto)
788//
789// You must not delete an EndpointConfig that is in use by an endpoint that
790// is live or while the UpdateEndpoint or CreateEndpoint operations are being
791// performed on the endpoint. To update an endpoint, you must create a new EndpointConfig.
792//
793// The endpoint name must be unique within an AWS Region in your AWS account.
794//
795// When it receives the request, Amazon SageMaker creates the endpoint, launches
796// the resources (ML compute instances), and deploys the model(s) on them.
797//
798// When you call CreateEndpoint, a load call is made to DynamoDB to verify that
799// your endpoint configuration exists. When you read data from a DynamoDB table
800// supporting Eventually Consistent Reads (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html),
801// the response might not reflect the results of a recently completed write
802// operation. The response might include some stale data. If the dependent entities
803// are not yet in DynamoDB, this causes a validation error. If you repeat your
804// read request after a short time, the response should return the latest data.
805// So retry logic is recommended to handle these possible issues. We also recommend
806// that customers call DescribeEndpointConfig before calling CreateEndpoint
807// to minimize the potential impact of a DynamoDB eventually consistent read.
808//
809// When Amazon SageMaker receives the request, it sets the endpoint status to
810// Creating. After it creates the endpoint, it sets the status to InService.
811// Amazon SageMaker can then process incoming requests for inferences. To check
812// the status of an endpoint, use the DescribeEndpoint API.
813//
814// If any of the models hosted at this endpoint get model data from an Amazon
815// S3 location, Amazon SageMaker uses AWS Security Token Service to download
816// model artifacts from the S3 path you provided. AWS STS is activated in your
817// IAM user account by default. If you previously deactivated AWS STS for a
818// region, you need to reactivate AWS STS for that region. For more information,
819// see Activating and Deactivating AWS STS in an AWS Region (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
820// in the AWS Identity and Access Management User Guide.
821//
822// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
823// with awserr.Error's Code and Message methods to get detailed information about
824// the error.
825//
826// See the AWS API reference guide for Amazon SageMaker Service's
827// API operation CreateEndpoint for usage and error information.
828//
829// Returned Error Types:
830//   * ResourceLimitExceeded
831//   You have exceeded an Amazon SageMaker resource limit. For example, you might
832//   have too many training jobs created.
833//
834// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpoint
835func (c *SageMaker) CreateEndpoint(input *CreateEndpointInput) (*CreateEndpointOutput, error) {
836	req, out := c.CreateEndpointRequest(input)
837	return out, req.Send()
838}
839
840// CreateEndpointWithContext is the same as CreateEndpoint with the addition of
841// the ability to pass a context and additional request options.
842//
843// See CreateEndpoint for details on how to use this API operation.
844//
845// The context must be non-nil and will be used for request cancellation. If
846// the context is nil a panic will occur. In the future the SDK may create
847// sub-contexts for http.Requests. See https://golang.org/pkg/context/
848// for more information on using Contexts.
849func (c *SageMaker) CreateEndpointWithContext(ctx aws.Context, input *CreateEndpointInput, opts ...request.Option) (*CreateEndpointOutput, error) {
850	req, out := c.CreateEndpointRequest(input)
851	req.SetContext(ctx)
852	req.ApplyOptions(opts...)
853	return out, req.Send()
854}
855
856const opCreateEndpointConfig = "CreateEndpointConfig"
857
858// CreateEndpointConfigRequest generates a "aws/request.Request" representing the
859// client's request for the CreateEndpointConfig operation. The "output" return
860// value will be populated with the request's response once the request completes
861// successfully.
862//
863// Use "Send" method on the returned Request to send the API call to the service.
864// the "output" return value is not valid until after Send returns without error.
865//
866// See CreateEndpointConfig for more information on using the CreateEndpointConfig
867// API call, and error handling.
868//
869// This method is useful when you want to inject custom logic or configuration
870// into the SDK's request lifecycle. Such as custom headers, or retry logic.
871//
872//
873//    // Example sending a request using the CreateEndpointConfigRequest method.
874//    req, resp := client.CreateEndpointConfigRequest(params)
875//
876//    err := req.Send()
877//    if err == nil { // resp is now filled
878//        fmt.Println(resp)
879//    }
880//
881// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointConfig
882func (c *SageMaker) CreateEndpointConfigRequest(input *CreateEndpointConfigInput) (req *request.Request, output *CreateEndpointConfigOutput) {
883	op := &request.Operation{
884		Name:       opCreateEndpointConfig,
885		HTTPMethod: "POST",
886		HTTPPath:   "/",
887	}
888
889	if input == nil {
890		input = &CreateEndpointConfigInput{}
891	}
892
893	output = &CreateEndpointConfigOutput{}
894	req = c.newRequest(op, input, output)
895	return
896}
897
898// CreateEndpointConfig API operation for Amazon SageMaker Service.
899//
900// Creates an endpoint configuration that Amazon SageMaker hosting services
901// uses to deploy models. In the configuration, you identify one or more models,
902// created using the CreateModel API, to deploy and the resources that you want
903// Amazon SageMaker to provision. Then you call the CreateEndpoint API.
904//
905// Use this API if you want to use Amazon SageMaker hosting services to deploy
906// models into production.
907//
908// In the request, you define a ProductionVariant, for each model that you want
909// to deploy. Each ProductionVariant parameter also describes the resources
910// that you want Amazon SageMaker to provision. This includes the number and
911// type of ML compute instances to deploy.
912//
913// If you are hosting multiple models, you also assign a VariantWeight to specify
914// how much traffic you want to allocate to each model. For example, suppose
915// that you want to host two models, A and B, and you assign traffic weight
916// 2 for model A and 1 for model B. Amazon SageMaker distributes two-thirds
917// of the traffic to Model A, and one-third to model B.
918//
919// For an example that calls this method when deploying a model to Amazon SageMaker
920// hosting services, see Deploy the Model to Amazon SageMaker Hosting Services
921// (AWS SDK for Python (Boto 3)). (https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html#ex1-deploy-model-boto)
922//
923// When you call CreateEndpoint, a load call is made to DynamoDB to verify that
924// your endpoint configuration exists. When you read data from a DynamoDB table
925// supporting Eventually Consistent Reads (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html),
926// the response might not reflect the results of a recently completed write
927// operation. The response might include some stale data. If the dependent entities
928// are not yet in DynamoDB, this causes a validation error. If you repeat your
929// read request after a short time, the response should return the latest data.
930// So retry logic is recommended to handle these possible issues. We also recommend
931// that customers call DescribeEndpointConfig before calling CreateEndpoint
932// to minimize the potential impact of a DynamoDB eventually consistent read.
933//
934// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
935// with awserr.Error's Code and Message methods to get detailed information about
936// the error.
937//
938// See the AWS API reference guide for Amazon SageMaker Service's
939// API operation CreateEndpointConfig for usage and error information.
940//
941// Returned Error Types:
942//   * ResourceLimitExceeded
943//   You have exceeded an Amazon SageMaker resource limit. For example, you might
944//   have too many training jobs created.
945//
946// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointConfig
947func (c *SageMaker) CreateEndpointConfig(input *CreateEndpointConfigInput) (*CreateEndpointConfigOutput, error) {
948	req, out := c.CreateEndpointConfigRequest(input)
949	return out, req.Send()
950}
951
952// CreateEndpointConfigWithContext is the same as CreateEndpointConfig with the addition of
953// the ability to pass a context and additional request options.
954//
955// See CreateEndpointConfig for details on how to use this API operation.
956//
957// The context must be non-nil and will be used for request cancellation. If
958// the context is nil a panic will occur. In the future the SDK may create
959// sub-contexts for http.Requests. See https://golang.org/pkg/context/
960// for more information on using Contexts.
961func (c *SageMaker) CreateEndpointConfigWithContext(ctx aws.Context, input *CreateEndpointConfigInput, opts ...request.Option) (*CreateEndpointConfigOutput, error) {
962	req, out := c.CreateEndpointConfigRequest(input)
963	req.SetContext(ctx)
964	req.ApplyOptions(opts...)
965	return out, req.Send()
966}
967
968const opCreateExperiment = "CreateExperiment"
969
970// CreateExperimentRequest generates a "aws/request.Request" representing the
971// client's request for the CreateExperiment operation. The "output" return
972// value will be populated with the request's response once the request completes
973// successfully.
974//
975// Use "Send" method on the returned Request to send the API call to the service.
976// the "output" return value is not valid until after Send returns without error.
977//
978// See CreateExperiment for more information on using the CreateExperiment
979// API call, and error handling.
980//
981// This method is useful when you want to inject custom logic or configuration
982// into the SDK's request lifecycle. Such as custom headers, or retry logic.
983//
984//
985//    // Example sending a request using the CreateExperimentRequest method.
986//    req, resp := client.CreateExperimentRequest(params)
987//
988//    err := req.Send()
989//    if err == nil { // resp is now filled
990//        fmt.Println(resp)
991//    }
992//
993// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateExperiment
994func (c *SageMaker) CreateExperimentRequest(input *CreateExperimentInput) (req *request.Request, output *CreateExperimentOutput) {
995	op := &request.Operation{
996		Name:       opCreateExperiment,
997		HTTPMethod: "POST",
998		HTTPPath:   "/",
999	}
1000
1001	if input == nil {
1002		input = &CreateExperimentInput{}
1003	}
1004
1005	output = &CreateExperimentOutput{}
1006	req = c.newRequest(op, input, output)
1007	return
1008}
1009
1010// CreateExperiment API operation for Amazon SageMaker Service.
1011//
1012// Creates an Amazon SageMaker experiment. An experiment is a collection of
1013// trials that are observed, compared and evaluated as a group. A trial is a
1014// set of steps, called trial components, that produce a machine learning model.
1015//
1016// The goal of an experiment is to determine the components that produce the
1017// best model. Multiple trials are performed, each one isolating and measuring
1018// the impact of a change to one or more inputs, while keeping the remaining
1019// inputs constant.
1020//
1021// When you use Amazon SageMaker Studio or the Amazon SageMaker Python SDK,
1022// all experiments, trials, and trial components are automatically tracked,
1023// logged, and indexed. When you use the AWS SDK for Python (Boto), you must
1024// use the logging APIs provided by the SDK.
1025//
1026// You can add tags to experiments, trials, trial components and then use the
1027// Search API to search for the tags.
1028//
1029// To add a description to an experiment, specify the optional Description parameter.
1030// To add a description later, or to change the description, call the UpdateExperiment
1031// API.
1032//
1033// To get a list of all your experiments, call the ListExperiments API. To view
1034// an experiment's properties, call the DescribeExperiment API. To get a list
1035// of all the trials associated with an experiment, call the ListTrials API.
1036// To create a trial call the CreateTrial API.
1037//
1038// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1039// with awserr.Error's Code and Message methods to get detailed information about
1040// the error.
1041//
1042// See the AWS API reference guide for Amazon SageMaker Service's
1043// API operation CreateExperiment for usage and error information.
1044//
1045// Returned Error Types:
1046//   * ResourceLimitExceeded
1047//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1048//   have too many training jobs created.
1049//
1050// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateExperiment
1051func (c *SageMaker) CreateExperiment(input *CreateExperimentInput) (*CreateExperimentOutput, error) {
1052	req, out := c.CreateExperimentRequest(input)
1053	return out, req.Send()
1054}
1055
1056// CreateExperimentWithContext is the same as CreateExperiment with the addition of
1057// the ability to pass a context and additional request options.
1058//
1059// See CreateExperiment for details on how to use this API operation.
1060//
1061// The context must be non-nil and will be used for request cancellation. If
1062// the context is nil a panic will occur. In the future the SDK may create
1063// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1064// for more information on using Contexts.
1065func (c *SageMaker) CreateExperimentWithContext(ctx aws.Context, input *CreateExperimentInput, opts ...request.Option) (*CreateExperimentOutput, error) {
1066	req, out := c.CreateExperimentRequest(input)
1067	req.SetContext(ctx)
1068	req.ApplyOptions(opts...)
1069	return out, req.Send()
1070}
1071
1072const opCreateFlowDefinition = "CreateFlowDefinition"
1073
1074// CreateFlowDefinitionRequest generates a "aws/request.Request" representing the
1075// client's request for the CreateFlowDefinition operation. The "output" return
1076// value will be populated with the request's response once the request completes
1077// successfully.
1078//
1079// Use "Send" method on the returned Request to send the API call to the service.
1080// the "output" return value is not valid until after Send returns without error.
1081//
1082// See CreateFlowDefinition for more information on using the CreateFlowDefinition
1083// API call, and error handling.
1084//
1085// This method is useful when you want to inject custom logic or configuration
1086// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1087//
1088//
1089//    // Example sending a request using the CreateFlowDefinitionRequest method.
1090//    req, resp := client.CreateFlowDefinitionRequest(params)
1091//
1092//    err := req.Send()
1093//    if err == nil { // resp is now filled
1094//        fmt.Println(resp)
1095//    }
1096//
1097// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateFlowDefinition
1098func (c *SageMaker) CreateFlowDefinitionRequest(input *CreateFlowDefinitionInput) (req *request.Request, output *CreateFlowDefinitionOutput) {
1099	op := &request.Operation{
1100		Name:       opCreateFlowDefinition,
1101		HTTPMethod: "POST",
1102		HTTPPath:   "/",
1103	}
1104
1105	if input == nil {
1106		input = &CreateFlowDefinitionInput{}
1107	}
1108
1109	output = &CreateFlowDefinitionOutput{}
1110	req = c.newRequest(op, input, output)
1111	return
1112}
1113
1114// CreateFlowDefinition API operation for Amazon SageMaker Service.
1115//
1116// Creates a flow definition.
1117//
1118// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1119// with awserr.Error's Code and Message methods to get detailed information about
1120// the error.
1121//
1122// See the AWS API reference guide for Amazon SageMaker Service's
1123// API operation CreateFlowDefinition for usage and error information.
1124//
1125// Returned Error Types:
1126//   * ResourceLimitExceeded
1127//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1128//   have too many training jobs created.
1129//
1130//   * ResourceInUse
1131//   Resource being accessed is in use.
1132//
1133// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateFlowDefinition
1134func (c *SageMaker) CreateFlowDefinition(input *CreateFlowDefinitionInput) (*CreateFlowDefinitionOutput, error) {
1135	req, out := c.CreateFlowDefinitionRequest(input)
1136	return out, req.Send()
1137}
1138
1139// CreateFlowDefinitionWithContext is the same as CreateFlowDefinition with the addition of
1140// the ability to pass a context and additional request options.
1141//
1142// See CreateFlowDefinition for details on how to use this API operation.
1143//
1144// The context must be non-nil and will be used for request cancellation. If
1145// the context is nil a panic will occur. In the future the SDK may create
1146// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1147// for more information on using Contexts.
1148func (c *SageMaker) CreateFlowDefinitionWithContext(ctx aws.Context, input *CreateFlowDefinitionInput, opts ...request.Option) (*CreateFlowDefinitionOutput, error) {
1149	req, out := c.CreateFlowDefinitionRequest(input)
1150	req.SetContext(ctx)
1151	req.ApplyOptions(opts...)
1152	return out, req.Send()
1153}
1154
1155const opCreateHumanTaskUi = "CreateHumanTaskUi"
1156
1157// CreateHumanTaskUiRequest generates a "aws/request.Request" representing the
1158// client's request for the CreateHumanTaskUi operation. The "output" return
1159// value will be populated with the request's response once the request completes
1160// successfully.
1161//
1162// Use "Send" method on the returned Request to send the API call to the service.
1163// the "output" return value is not valid until after Send returns without error.
1164//
1165// See CreateHumanTaskUi for more information on using the CreateHumanTaskUi
1166// API call, and error handling.
1167//
1168// This method is useful when you want to inject custom logic or configuration
1169// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1170//
1171//
1172//    // Example sending a request using the CreateHumanTaskUiRequest method.
1173//    req, resp := client.CreateHumanTaskUiRequest(params)
1174//
1175//    err := req.Send()
1176//    if err == nil { // resp is now filled
1177//        fmt.Println(resp)
1178//    }
1179//
1180// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHumanTaskUi
1181func (c *SageMaker) CreateHumanTaskUiRequest(input *CreateHumanTaskUiInput) (req *request.Request, output *CreateHumanTaskUiOutput) {
1182	op := &request.Operation{
1183		Name:       opCreateHumanTaskUi,
1184		HTTPMethod: "POST",
1185		HTTPPath:   "/",
1186	}
1187
1188	if input == nil {
1189		input = &CreateHumanTaskUiInput{}
1190	}
1191
1192	output = &CreateHumanTaskUiOutput{}
1193	req = c.newRequest(op, input, output)
1194	return
1195}
1196
1197// CreateHumanTaskUi API operation for Amazon SageMaker Service.
1198//
1199// Defines the settings you will use for the human review workflow user interface.
1200// Reviewers will see a three-panel interface with an instruction area, the
1201// item to review, and an input area.
1202//
1203// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1204// with awserr.Error's Code and Message methods to get detailed information about
1205// the error.
1206//
1207// See the AWS API reference guide for Amazon SageMaker Service's
1208// API operation CreateHumanTaskUi for usage and error information.
1209//
1210// Returned Error Types:
1211//   * ResourceLimitExceeded
1212//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1213//   have too many training jobs created.
1214//
1215//   * ResourceInUse
1216//   Resource being accessed is in use.
1217//
1218// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHumanTaskUi
1219func (c *SageMaker) CreateHumanTaskUi(input *CreateHumanTaskUiInput) (*CreateHumanTaskUiOutput, error) {
1220	req, out := c.CreateHumanTaskUiRequest(input)
1221	return out, req.Send()
1222}
1223
1224// CreateHumanTaskUiWithContext is the same as CreateHumanTaskUi with the addition of
1225// the ability to pass a context and additional request options.
1226//
1227// See CreateHumanTaskUi for details on how to use this API operation.
1228//
1229// The context must be non-nil and will be used for request cancellation. If
1230// the context is nil a panic will occur. In the future the SDK may create
1231// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1232// for more information on using Contexts.
1233func (c *SageMaker) CreateHumanTaskUiWithContext(ctx aws.Context, input *CreateHumanTaskUiInput, opts ...request.Option) (*CreateHumanTaskUiOutput, error) {
1234	req, out := c.CreateHumanTaskUiRequest(input)
1235	req.SetContext(ctx)
1236	req.ApplyOptions(opts...)
1237	return out, req.Send()
1238}
1239
1240const opCreateHyperParameterTuningJob = "CreateHyperParameterTuningJob"
1241
1242// CreateHyperParameterTuningJobRequest generates a "aws/request.Request" representing the
1243// client's request for the CreateHyperParameterTuningJob operation. The "output" return
1244// value will be populated with the request's response once the request completes
1245// successfully.
1246//
1247// Use "Send" method on the returned Request to send the API call to the service.
1248// the "output" return value is not valid until after Send returns without error.
1249//
1250// See CreateHyperParameterTuningJob for more information on using the CreateHyperParameterTuningJob
1251// API call, and error handling.
1252//
1253// This method is useful when you want to inject custom logic or configuration
1254// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1255//
1256//
1257//    // Example sending a request using the CreateHyperParameterTuningJobRequest method.
1258//    req, resp := client.CreateHyperParameterTuningJobRequest(params)
1259//
1260//    err := req.Send()
1261//    if err == nil { // resp is now filled
1262//        fmt.Println(resp)
1263//    }
1264//
1265// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHyperParameterTuningJob
1266func (c *SageMaker) CreateHyperParameterTuningJobRequest(input *CreateHyperParameterTuningJobInput) (req *request.Request, output *CreateHyperParameterTuningJobOutput) {
1267	op := &request.Operation{
1268		Name:       opCreateHyperParameterTuningJob,
1269		HTTPMethod: "POST",
1270		HTTPPath:   "/",
1271	}
1272
1273	if input == nil {
1274		input = &CreateHyperParameterTuningJobInput{}
1275	}
1276
1277	output = &CreateHyperParameterTuningJobOutput{}
1278	req = c.newRequest(op, input, output)
1279	return
1280}
1281
1282// CreateHyperParameterTuningJob API operation for Amazon SageMaker Service.
1283//
1284// Starts a hyperparameter tuning job. A hyperparameter tuning job finds the
1285// best version of a model by running many training jobs on your dataset using
1286// the algorithm you choose and values for hyperparameters within ranges that
1287// you specify. It then chooses the hyperparameter values that result in a model
1288// that performs the best, as measured by an objective metric that you choose.
1289//
1290// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1291// with awserr.Error's Code and Message methods to get detailed information about
1292// the error.
1293//
1294// See the AWS API reference guide for Amazon SageMaker Service's
1295// API operation CreateHyperParameterTuningJob for usage and error information.
1296//
1297// Returned Error Types:
1298//   * ResourceInUse
1299//   Resource being accessed is in use.
1300//
1301//   * ResourceLimitExceeded
1302//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1303//   have too many training jobs created.
1304//
1305// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHyperParameterTuningJob
1306func (c *SageMaker) CreateHyperParameterTuningJob(input *CreateHyperParameterTuningJobInput) (*CreateHyperParameterTuningJobOutput, error) {
1307	req, out := c.CreateHyperParameterTuningJobRequest(input)
1308	return out, req.Send()
1309}
1310
1311// CreateHyperParameterTuningJobWithContext is the same as CreateHyperParameterTuningJob with the addition of
1312// the ability to pass a context and additional request options.
1313//
1314// See CreateHyperParameterTuningJob for details on how to use this API operation.
1315//
1316// The context must be non-nil and will be used for request cancellation. If
1317// the context is nil a panic will occur. In the future the SDK may create
1318// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1319// for more information on using Contexts.
1320func (c *SageMaker) CreateHyperParameterTuningJobWithContext(ctx aws.Context, input *CreateHyperParameterTuningJobInput, opts ...request.Option) (*CreateHyperParameterTuningJobOutput, error) {
1321	req, out := c.CreateHyperParameterTuningJobRequest(input)
1322	req.SetContext(ctx)
1323	req.ApplyOptions(opts...)
1324	return out, req.Send()
1325}
1326
1327const opCreateLabelingJob = "CreateLabelingJob"
1328
1329// CreateLabelingJobRequest generates a "aws/request.Request" representing the
1330// client's request for the CreateLabelingJob operation. The "output" return
1331// value will be populated with the request's response once the request completes
1332// successfully.
1333//
1334// Use "Send" method on the returned Request to send the API call to the service.
1335// the "output" return value is not valid until after Send returns without error.
1336//
1337// See CreateLabelingJob for more information on using the CreateLabelingJob
1338// API call, and error handling.
1339//
1340// This method is useful when you want to inject custom logic or configuration
1341// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1342//
1343//
1344//    // Example sending a request using the CreateLabelingJobRequest method.
1345//    req, resp := client.CreateLabelingJobRequest(params)
1346//
1347//    err := req.Send()
1348//    if err == nil { // resp is now filled
1349//        fmt.Println(resp)
1350//    }
1351//
1352// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateLabelingJob
1353func (c *SageMaker) CreateLabelingJobRequest(input *CreateLabelingJobInput) (req *request.Request, output *CreateLabelingJobOutput) {
1354	op := &request.Operation{
1355		Name:       opCreateLabelingJob,
1356		HTTPMethod: "POST",
1357		HTTPPath:   "/",
1358	}
1359
1360	if input == nil {
1361		input = &CreateLabelingJobInput{}
1362	}
1363
1364	output = &CreateLabelingJobOutput{}
1365	req = c.newRequest(op, input, output)
1366	return
1367}
1368
1369// CreateLabelingJob API operation for Amazon SageMaker Service.
1370//
1371// Creates a job that uses workers to label the data objects in your input dataset.
1372// You can use the labeled data to train machine learning models.
1373//
1374// You can select your workforce from one of three providers:
1375//
1376//    * A private workforce that you create. It can include employees, contractors,
1377//    and outside experts. Use a private workforce when want the data to stay
1378//    within your organization or when a specific set of skills is required.
1379//
1380//    * One or more vendors that you select from the AWS Marketplace. Vendors
1381//    provide expertise in specific areas.
1382//
1383//    * The Amazon Mechanical Turk workforce. This is the largest workforce,
1384//    but it should only be used for public data or data that has been stripped
1385//    of any personally identifiable information.
1386//
1387// You can also use automated data labeling to reduce the number of data objects
1388// that need to be labeled by a human. Automated data labeling uses active learning
1389// to determine if a data object can be labeled by machine or if it needs to
1390// be sent to a human worker. For more information, see Using Automated Data
1391// Labeling (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-automated-labeling.html).
1392//
1393// The data objects to be labeled are contained in an Amazon S3 bucket. You
1394// create a manifest file that describes the location of each object. For more
1395// information, see Using Input and Output Data (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-data.html).
1396//
1397// The output can be used as the manifest file for another labeling job or as
1398// training data for your machine learning models.
1399//
1400// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1401// with awserr.Error's Code and Message methods to get detailed information about
1402// the error.
1403//
1404// See the AWS API reference guide for Amazon SageMaker Service's
1405// API operation CreateLabelingJob for usage and error information.
1406//
1407// Returned Error Types:
1408//   * ResourceInUse
1409//   Resource being accessed is in use.
1410//
1411//   * ResourceLimitExceeded
1412//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1413//   have too many training jobs created.
1414//
1415// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateLabelingJob
1416func (c *SageMaker) CreateLabelingJob(input *CreateLabelingJobInput) (*CreateLabelingJobOutput, error) {
1417	req, out := c.CreateLabelingJobRequest(input)
1418	return out, req.Send()
1419}
1420
1421// CreateLabelingJobWithContext is the same as CreateLabelingJob with the addition of
1422// the ability to pass a context and additional request options.
1423//
1424// See CreateLabelingJob for details on how to use this API operation.
1425//
1426// The context must be non-nil and will be used for request cancellation. If
1427// the context is nil a panic will occur. In the future the SDK may create
1428// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1429// for more information on using Contexts.
1430func (c *SageMaker) CreateLabelingJobWithContext(ctx aws.Context, input *CreateLabelingJobInput, opts ...request.Option) (*CreateLabelingJobOutput, error) {
1431	req, out := c.CreateLabelingJobRequest(input)
1432	req.SetContext(ctx)
1433	req.ApplyOptions(opts...)
1434	return out, req.Send()
1435}
1436
1437const opCreateModel = "CreateModel"
1438
1439// CreateModelRequest generates a "aws/request.Request" representing the
1440// client's request for the CreateModel operation. The "output" return
1441// value will be populated with the request's response once the request completes
1442// successfully.
1443//
1444// Use "Send" method on the returned Request to send the API call to the service.
1445// the "output" return value is not valid until after Send returns without error.
1446//
1447// See CreateModel for more information on using the CreateModel
1448// API call, and error handling.
1449//
1450// This method is useful when you want to inject custom logic or configuration
1451// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1452//
1453//
1454//    // Example sending a request using the CreateModelRequest method.
1455//    req, resp := client.CreateModelRequest(params)
1456//
1457//    err := req.Send()
1458//    if err == nil { // resp is now filled
1459//        fmt.Println(resp)
1460//    }
1461//
1462// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModel
1463func (c *SageMaker) CreateModelRequest(input *CreateModelInput) (req *request.Request, output *CreateModelOutput) {
1464	op := &request.Operation{
1465		Name:       opCreateModel,
1466		HTTPMethod: "POST",
1467		HTTPPath:   "/",
1468	}
1469
1470	if input == nil {
1471		input = &CreateModelInput{}
1472	}
1473
1474	output = &CreateModelOutput{}
1475	req = c.newRequest(op, input, output)
1476	return
1477}
1478
1479// CreateModel API operation for Amazon SageMaker Service.
1480//
1481// Creates a model in Amazon SageMaker. In the request, you name the model and
1482// describe a primary container. For the primary container, you specify the
1483// Docker image that contains inference code, artifacts (from prior training),
1484// and a custom environment map that the inference code uses when you deploy
1485// the model for predictions.
1486//
1487// Use this API to create a model if you want to use Amazon SageMaker hosting
1488// services or run a batch transform job.
1489//
1490// To host your model, you create an endpoint configuration with the CreateEndpointConfig
1491// API, and then create an endpoint with the CreateEndpoint API. Amazon SageMaker
1492// then deploys all of the containers that you defined for the model in the
1493// hosting environment.
1494//
1495// For an example that calls this method when deploying a model to Amazon SageMaker
1496// hosting services, see Deploy the Model to Amazon SageMaker Hosting Services
1497// (AWS SDK for Python (Boto 3)). (https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html#ex1-deploy-model-boto)
1498//
1499// To run a batch transform using your model, you start a job with the CreateTransformJob
1500// API. Amazon SageMaker uses your model and your dataset to get inferences
1501// which are then saved to a specified S3 location.
1502//
1503// In the CreateModel request, you must define a container with the PrimaryContainer
1504// parameter.
1505//
1506// In the request, you also provide an IAM role that Amazon SageMaker can assume
1507// to access model artifacts and docker image for deployment on ML compute hosting
1508// instances or for batch transform jobs. In addition, you also use the IAM
1509// role to manage permissions the inference code needs. For example, if the
1510// inference code access any other AWS resources, you grant necessary permissions
1511// via this role.
1512//
1513// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1514// with awserr.Error's Code and Message methods to get detailed information about
1515// the error.
1516//
1517// See the AWS API reference guide for Amazon SageMaker Service's
1518// API operation CreateModel for usage and error information.
1519//
1520// Returned Error Types:
1521//   * ResourceLimitExceeded
1522//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1523//   have too many training jobs created.
1524//
1525// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModel
1526func (c *SageMaker) CreateModel(input *CreateModelInput) (*CreateModelOutput, error) {
1527	req, out := c.CreateModelRequest(input)
1528	return out, req.Send()
1529}
1530
1531// CreateModelWithContext is the same as CreateModel with the addition of
1532// the ability to pass a context and additional request options.
1533//
1534// See CreateModel for details on how to use this API operation.
1535//
1536// The context must be non-nil and will be used for request cancellation. If
1537// the context is nil a panic will occur. In the future the SDK may create
1538// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1539// for more information on using Contexts.
1540func (c *SageMaker) CreateModelWithContext(ctx aws.Context, input *CreateModelInput, opts ...request.Option) (*CreateModelOutput, error) {
1541	req, out := c.CreateModelRequest(input)
1542	req.SetContext(ctx)
1543	req.ApplyOptions(opts...)
1544	return out, req.Send()
1545}
1546
1547const opCreateModelPackage = "CreateModelPackage"
1548
1549// CreateModelPackageRequest generates a "aws/request.Request" representing the
1550// client's request for the CreateModelPackage operation. The "output" return
1551// value will be populated with the request's response once the request completes
1552// successfully.
1553//
1554// Use "Send" method on the returned Request to send the API call to the service.
1555// the "output" return value is not valid until after Send returns without error.
1556//
1557// See CreateModelPackage for more information on using the CreateModelPackage
1558// API call, and error handling.
1559//
1560// This method is useful when you want to inject custom logic or configuration
1561// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1562//
1563//
1564//    // Example sending a request using the CreateModelPackageRequest method.
1565//    req, resp := client.CreateModelPackageRequest(params)
1566//
1567//    err := req.Send()
1568//    if err == nil { // resp is now filled
1569//        fmt.Println(resp)
1570//    }
1571//
1572// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackage
1573func (c *SageMaker) CreateModelPackageRequest(input *CreateModelPackageInput) (req *request.Request, output *CreateModelPackageOutput) {
1574	op := &request.Operation{
1575		Name:       opCreateModelPackage,
1576		HTTPMethod: "POST",
1577		HTTPPath:   "/",
1578	}
1579
1580	if input == nil {
1581		input = &CreateModelPackageInput{}
1582	}
1583
1584	output = &CreateModelPackageOutput{}
1585	req = c.newRequest(op, input, output)
1586	return
1587}
1588
1589// CreateModelPackage API operation for Amazon SageMaker Service.
1590//
1591// Creates a model package that you can use to create Amazon SageMaker models
1592// or list on AWS Marketplace. Buyers can subscribe to model packages listed
1593// on AWS Marketplace to create models in Amazon SageMaker.
1594//
1595// To create a model package by specifying a Docker container that contains
1596// your inference code and the Amazon S3 location of your model artifacts, provide
1597// values for InferenceSpecification. To create a model from an algorithm resource
1598// that you created or subscribed to in AWS Marketplace, provide a value for
1599// SourceAlgorithmSpecification.
1600//
1601// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1602// with awserr.Error's Code and Message methods to get detailed information about
1603// the error.
1604//
1605// See the AWS API reference guide for Amazon SageMaker Service's
1606// API operation CreateModelPackage for usage and error information.
1607// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackage
1608func (c *SageMaker) CreateModelPackage(input *CreateModelPackageInput) (*CreateModelPackageOutput, error) {
1609	req, out := c.CreateModelPackageRequest(input)
1610	return out, req.Send()
1611}
1612
1613// CreateModelPackageWithContext is the same as CreateModelPackage with the addition of
1614// the ability to pass a context and additional request options.
1615//
1616// See CreateModelPackage for details on how to use this API operation.
1617//
1618// The context must be non-nil and will be used for request cancellation. If
1619// the context is nil a panic will occur. In the future the SDK may create
1620// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1621// for more information on using Contexts.
1622func (c *SageMaker) CreateModelPackageWithContext(ctx aws.Context, input *CreateModelPackageInput, opts ...request.Option) (*CreateModelPackageOutput, error) {
1623	req, out := c.CreateModelPackageRequest(input)
1624	req.SetContext(ctx)
1625	req.ApplyOptions(opts...)
1626	return out, req.Send()
1627}
1628
1629const opCreateMonitoringSchedule = "CreateMonitoringSchedule"
1630
1631// CreateMonitoringScheduleRequest generates a "aws/request.Request" representing the
1632// client's request for the CreateMonitoringSchedule operation. The "output" return
1633// value will be populated with the request's response once the request completes
1634// successfully.
1635//
1636// Use "Send" method on the returned Request to send the API call to the service.
1637// the "output" return value is not valid until after Send returns without error.
1638//
1639// See CreateMonitoringSchedule for more information on using the CreateMonitoringSchedule
1640// API call, and error handling.
1641//
1642// This method is useful when you want to inject custom logic or configuration
1643// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1644//
1645//
1646//    // Example sending a request using the CreateMonitoringScheduleRequest method.
1647//    req, resp := client.CreateMonitoringScheduleRequest(params)
1648//
1649//    err := req.Send()
1650//    if err == nil { // resp is now filled
1651//        fmt.Println(resp)
1652//    }
1653//
1654// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateMonitoringSchedule
1655func (c *SageMaker) CreateMonitoringScheduleRequest(input *CreateMonitoringScheduleInput) (req *request.Request, output *CreateMonitoringScheduleOutput) {
1656	op := &request.Operation{
1657		Name:       opCreateMonitoringSchedule,
1658		HTTPMethod: "POST",
1659		HTTPPath:   "/",
1660	}
1661
1662	if input == nil {
1663		input = &CreateMonitoringScheduleInput{}
1664	}
1665
1666	output = &CreateMonitoringScheduleOutput{}
1667	req = c.newRequest(op, input, output)
1668	return
1669}
1670
1671// CreateMonitoringSchedule API operation for Amazon SageMaker Service.
1672//
1673// Creates a schedule that regularly starts Amazon SageMaker Processing Jobs
1674// to monitor the data captured for an Amazon SageMaker Endoint.
1675//
1676// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1677// with awserr.Error's Code and Message methods to get detailed information about
1678// the error.
1679//
1680// See the AWS API reference guide for Amazon SageMaker Service's
1681// API operation CreateMonitoringSchedule for usage and error information.
1682//
1683// Returned Error Types:
1684//   * ResourceLimitExceeded
1685//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1686//   have too many training jobs created.
1687//
1688//   * ResourceInUse
1689//   Resource being accessed is in use.
1690//
1691// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateMonitoringSchedule
1692func (c *SageMaker) CreateMonitoringSchedule(input *CreateMonitoringScheduleInput) (*CreateMonitoringScheduleOutput, error) {
1693	req, out := c.CreateMonitoringScheduleRequest(input)
1694	return out, req.Send()
1695}
1696
1697// CreateMonitoringScheduleWithContext is the same as CreateMonitoringSchedule with the addition of
1698// the ability to pass a context and additional request options.
1699//
1700// See CreateMonitoringSchedule for details on how to use this API operation.
1701//
1702// The context must be non-nil and will be used for request cancellation. If
1703// the context is nil a panic will occur. In the future the SDK may create
1704// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1705// for more information on using Contexts.
1706func (c *SageMaker) CreateMonitoringScheduleWithContext(ctx aws.Context, input *CreateMonitoringScheduleInput, opts ...request.Option) (*CreateMonitoringScheduleOutput, error) {
1707	req, out := c.CreateMonitoringScheduleRequest(input)
1708	req.SetContext(ctx)
1709	req.ApplyOptions(opts...)
1710	return out, req.Send()
1711}
1712
1713const opCreateNotebookInstance = "CreateNotebookInstance"
1714
1715// CreateNotebookInstanceRequest generates a "aws/request.Request" representing the
1716// client's request for the CreateNotebookInstance operation. The "output" return
1717// value will be populated with the request's response once the request completes
1718// successfully.
1719//
1720// Use "Send" method on the returned Request to send the API call to the service.
1721// the "output" return value is not valid until after Send returns without error.
1722//
1723// See CreateNotebookInstance for more information on using the CreateNotebookInstance
1724// API call, and error handling.
1725//
1726// This method is useful when you want to inject custom logic or configuration
1727// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1728//
1729//
1730//    // Example sending a request using the CreateNotebookInstanceRequest method.
1731//    req, resp := client.CreateNotebookInstanceRequest(params)
1732//
1733//    err := req.Send()
1734//    if err == nil { // resp is now filled
1735//        fmt.Println(resp)
1736//    }
1737//
1738// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstance
1739func (c *SageMaker) CreateNotebookInstanceRequest(input *CreateNotebookInstanceInput) (req *request.Request, output *CreateNotebookInstanceOutput) {
1740	op := &request.Operation{
1741		Name:       opCreateNotebookInstance,
1742		HTTPMethod: "POST",
1743		HTTPPath:   "/",
1744	}
1745
1746	if input == nil {
1747		input = &CreateNotebookInstanceInput{}
1748	}
1749
1750	output = &CreateNotebookInstanceOutput{}
1751	req = c.newRequest(op, input, output)
1752	return
1753}
1754
1755// CreateNotebookInstance API operation for Amazon SageMaker Service.
1756//
1757// Creates an Amazon SageMaker notebook instance. A notebook instance is a machine
1758// learning (ML) compute instance running on a Jupyter notebook.
1759//
1760// In a CreateNotebookInstance request, specify the type of ML compute instance
1761// that you want to run. Amazon SageMaker launches the instance, installs common
1762// libraries that you can use to explore datasets for model training, and attaches
1763// an ML storage volume to the notebook instance.
1764//
1765// Amazon SageMaker also provides a set of example notebooks. Each notebook
1766// demonstrates how to use Amazon SageMaker with a specific algorithm or with
1767// a machine learning framework.
1768//
1769// After receiving the request, Amazon SageMaker does the following:
1770//
1771// Creates a network interface in the Amazon SageMaker VPC.
1772//
1773// (Option) If you specified SubnetId, Amazon SageMaker creates a network interface
1774// in your own VPC, which is inferred from the subnet ID that you provide in
1775// the input. When creating this network interface, Amazon SageMaker attaches
1776// the security group that you specified in the request to the network interface
1777// that it creates in your VPC.
1778//
1779// Launches an EC2 instance of the type specified in the request in the Amazon
1780// SageMaker VPC. If you specified SubnetId of your VPC, Amazon SageMaker specifies
1781// both network interfaces when launching this instance. This enables inbound
1782// traffic from your own VPC to the notebook instance, assuming that the security
1783// groups allow it.
1784//
1785// After creating the notebook instance, Amazon SageMaker returns its Amazon
1786// Resource Name (ARN). You can't change the name of a notebook instance after
1787// you create it.
1788//
1789// After Amazon SageMaker creates the notebook instance, you can connect to
1790// the Jupyter server and work in Jupyter notebooks. For example, you can write
1791// code to explore a dataset that you can use for model training, train a model,
1792// host models by creating Amazon SageMaker endpoints, and validate hosted models.
1793//
1794// For more information, see How It Works (https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html).
1795//
1796// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1797// with awserr.Error's Code and Message methods to get detailed information about
1798// the error.
1799//
1800// See the AWS API reference guide for Amazon SageMaker Service's
1801// API operation CreateNotebookInstance for usage and error information.
1802//
1803// Returned Error Types:
1804//   * ResourceLimitExceeded
1805//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1806//   have too many training jobs created.
1807//
1808// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstance
1809func (c *SageMaker) CreateNotebookInstance(input *CreateNotebookInstanceInput) (*CreateNotebookInstanceOutput, error) {
1810	req, out := c.CreateNotebookInstanceRequest(input)
1811	return out, req.Send()
1812}
1813
1814// CreateNotebookInstanceWithContext is the same as CreateNotebookInstance with the addition of
1815// the ability to pass a context and additional request options.
1816//
1817// See CreateNotebookInstance for details on how to use this API operation.
1818//
1819// The context must be non-nil and will be used for request cancellation. If
1820// the context is nil a panic will occur. In the future the SDK may create
1821// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1822// for more information on using Contexts.
1823func (c *SageMaker) CreateNotebookInstanceWithContext(ctx aws.Context, input *CreateNotebookInstanceInput, opts ...request.Option) (*CreateNotebookInstanceOutput, error) {
1824	req, out := c.CreateNotebookInstanceRequest(input)
1825	req.SetContext(ctx)
1826	req.ApplyOptions(opts...)
1827	return out, req.Send()
1828}
1829
1830const opCreateNotebookInstanceLifecycleConfig = "CreateNotebookInstanceLifecycleConfig"
1831
1832// CreateNotebookInstanceLifecycleConfigRequest generates a "aws/request.Request" representing the
1833// client's request for the CreateNotebookInstanceLifecycleConfig operation. The "output" return
1834// value will be populated with the request's response once the request completes
1835// successfully.
1836//
1837// Use "Send" method on the returned Request to send the API call to the service.
1838// the "output" return value is not valid until after Send returns without error.
1839//
1840// See CreateNotebookInstanceLifecycleConfig for more information on using the CreateNotebookInstanceLifecycleConfig
1841// API call, and error handling.
1842//
1843// This method is useful when you want to inject custom logic or configuration
1844// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1845//
1846//
1847//    // Example sending a request using the CreateNotebookInstanceLifecycleConfigRequest method.
1848//    req, resp := client.CreateNotebookInstanceLifecycleConfigRequest(params)
1849//
1850//    err := req.Send()
1851//    if err == nil { // resp is now filled
1852//        fmt.Println(resp)
1853//    }
1854//
1855// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstanceLifecycleConfig
1856func (c *SageMaker) CreateNotebookInstanceLifecycleConfigRequest(input *CreateNotebookInstanceLifecycleConfigInput) (req *request.Request, output *CreateNotebookInstanceLifecycleConfigOutput) {
1857	op := &request.Operation{
1858		Name:       opCreateNotebookInstanceLifecycleConfig,
1859		HTTPMethod: "POST",
1860		HTTPPath:   "/",
1861	}
1862
1863	if input == nil {
1864		input = &CreateNotebookInstanceLifecycleConfigInput{}
1865	}
1866
1867	output = &CreateNotebookInstanceLifecycleConfigOutput{}
1868	req = c.newRequest(op, input, output)
1869	return
1870}
1871
1872// CreateNotebookInstanceLifecycleConfig API operation for Amazon SageMaker Service.
1873//
1874// Creates a lifecycle configuration that you can associate with a notebook
1875// instance. A lifecycle configuration is a collection of shell scripts that
1876// run when you create or start a notebook instance.
1877//
1878// Each lifecycle configuration script has a limit of 16384 characters.
1879//
1880// The value of the $PATH environment variable that is available to both scripts
1881// is /sbin:bin:/usr/sbin:/usr/bin.
1882//
1883// View CloudWatch Logs for notebook instance lifecycle configurations in log
1884// group /aws/sagemaker/NotebookInstances in log stream [notebook-instance-name]/[LifecycleConfigHook].
1885//
1886// Lifecycle configuration scripts cannot run for longer than 5 minutes. If
1887// a script runs for longer than 5 minutes, it fails and the notebook instance
1888// is not created or started.
1889//
1890// For information about notebook instance lifestyle configurations, see Step
1891// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
1892//
1893// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1894// with awserr.Error's Code and Message methods to get detailed information about
1895// the error.
1896//
1897// See the AWS API reference guide for Amazon SageMaker Service's
1898// API operation CreateNotebookInstanceLifecycleConfig for usage and error information.
1899//
1900// Returned Error Types:
1901//   * ResourceLimitExceeded
1902//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1903//   have too many training jobs created.
1904//
1905// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstanceLifecycleConfig
1906func (c *SageMaker) CreateNotebookInstanceLifecycleConfig(input *CreateNotebookInstanceLifecycleConfigInput) (*CreateNotebookInstanceLifecycleConfigOutput, error) {
1907	req, out := c.CreateNotebookInstanceLifecycleConfigRequest(input)
1908	return out, req.Send()
1909}
1910
1911// CreateNotebookInstanceLifecycleConfigWithContext is the same as CreateNotebookInstanceLifecycleConfig with the addition of
1912// the ability to pass a context and additional request options.
1913//
1914// See CreateNotebookInstanceLifecycleConfig for details on how to use this API operation.
1915//
1916// The context must be non-nil and will be used for request cancellation. If
1917// the context is nil a panic will occur. In the future the SDK may create
1918// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1919// for more information on using Contexts.
1920func (c *SageMaker) CreateNotebookInstanceLifecycleConfigWithContext(ctx aws.Context, input *CreateNotebookInstanceLifecycleConfigInput, opts ...request.Option) (*CreateNotebookInstanceLifecycleConfigOutput, error) {
1921	req, out := c.CreateNotebookInstanceLifecycleConfigRequest(input)
1922	req.SetContext(ctx)
1923	req.ApplyOptions(opts...)
1924	return out, req.Send()
1925}
1926
1927const opCreatePresignedDomainUrl = "CreatePresignedDomainUrl"
1928
1929// CreatePresignedDomainUrlRequest generates a "aws/request.Request" representing the
1930// client's request for the CreatePresignedDomainUrl operation. The "output" return
1931// value will be populated with the request's response once the request completes
1932// successfully.
1933//
1934// Use "Send" method on the returned Request to send the API call to the service.
1935// the "output" return value is not valid until after Send returns without error.
1936//
1937// See CreatePresignedDomainUrl for more information on using the CreatePresignedDomainUrl
1938// API call, and error handling.
1939//
1940// This method is useful when you want to inject custom logic or configuration
1941// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1942//
1943//
1944//    // Example sending a request using the CreatePresignedDomainUrlRequest method.
1945//    req, resp := client.CreatePresignedDomainUrlRequest(params)
1946//
1947//    err := req.Send()
1948//    if err == nil { // resp is now filled
1949//        fmt.Println(resp)
1950//    }
1951//
1952// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedDomainUrl
1953func (c *SageMaker) CreatePresignedDomainUrlRequest(input *CreatePresignedDomainUrlInput) (req *request.Request, output *CreatePresignedDomainUrlOutput) {
1954	op := &request.Operation{
1955		Name:       opCreatePresignedDomainUrl,
1956		HTTPMethod: "POST",
1957		HTTPPath:   "/",
1958	}
1959
1960	if input == nil {
1961		input = &CreatePresignedDomainUrlInput{}
1962	}
1963
1964	output = &CreatePresignedDomainUrlOutput{}
1965	req = c.newRequest(op, input, output)
1966	return
1967}
1968
1969// CreatePresignedDomainUrl API operation for Amazon SageMaker Service.
1970//
1971// Creates a URL for a specified UserProfile in a Domain. When accessed in a
1972// web browser, the user will be automatically signed in to Amazon SageMaker
1973// Studio, and granted access to all of the Apps and files associated with the
1974// Domain's Amazon Elastic File System (EFS) volume. This operation can only
1975// be called when the authentication mode equals IAM.
1976//
1977// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1978// with awserr.Error's Code and Message methods to get detailed information about
1979// the error.
1980//
1981// See the AWS API reference guide for Amazon SageMaker Service's
1982// API operation CreatePresignedDomainUrl for usage and error information.
1983//
1984// Returned Error Types:
1985//   * ResourceNotFound
1986//   Resource being access is not found.
1987//
1988// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedDomainUrl
1989func (c *SageMaker) CreatePresignedDomainUrl(input *CreatePresignedDomainUrlInput) (*CreatePresignedDomainUrlOutput, error) {
1990	req, out := c.CreatePresignedDomainUrlRequest(input)
1991	return out, req.Send()
1992}
1993
1994// CreatePresignedDomainUrlWithContext is the same as CreatePresignedDomainUrl with the addition of
1995// the ability to pass a context and additional request options.
1996//
1997// See CreatePresignedDomainUrl for details on how to use this API operation.
1998//
1999// The context must be non-nil and will be used for request cancellation. If
2000// the context is nil a panic will occur. In the future the SDK may create
2001// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2002// for more information on using Contexts.
2003func (c *SageMaker) CreatePresignedDomainUrlWithContext(ctx aws.Context, input *CreatePresignedDomainUrlInput, opts ...request.Option) (*CreatePresignedDomainUrlOutput, error) {
2004	req, out := c.CreatePresignedDomainUrlRequest(input)
2005	req.SetContext(ctx)
2006	req.ApplyOptions(opts...)
2007	return out, req.Send()
2008}
2009
2010const opCreatePresignedNotebookInstanceUrl = "CreatePresignedNotebookInstanceUrl"
2011
2012// CreatePresignedNotebookInstanceUrlRequest generates a "aws/request.Request" representing the
2013// client's request for the CreatePresignedNotebookInstanceUrl operation. The "output" return
2014// value will be populated with the request's response once the request completes
2015// successfully.
2016//
2017// Use "Send" method on the returned Request to send the API call to the service.
2018// the "output" return value is not valid until after Send returns without error.
2019//
2020// See CreatePresignedNotebookInstanceUrl for more information on using the CreatePresignedNotebookInstanceUrl
2021// API call, and error handling.
2022//
2023// This method is useful when you want to inject custom logic or configuration
2024// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2025//
2026//
2027//    // Example sending a request using the CreatePresignedNotebookInstanceUrlRequest method.
2028//    req, resp := client.CreatePresignedNotebookInstanceUrlRequest(params)
2029//
2030//    err := req.Send()
2031//    if err == nil { // resp is now filled
2032//        fmt.Println(resp)
2033//    }
2034//
2035// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedNotebookInstanceUrl
2036func (c *SageMaker) CreatePresignedNotebookInstanceUrlRequest(input *CreatePresignedNotebookInstanceUrlInput) (req *request.Request, output *CreatePresignedNotebookInstanceUrlOutput) {
2037	op := &request.Operation{
2038		Name:       opCreatePresignedNotebookInstanceUrl,
2039		HTTPMethod: "POST",
2040		HTTPPath:   "/",
2041	}
2042
2043	if input == nil {
2044		input = &CreatePresignedNotebookInstanceUrlInput{}
2045	}
2046
2047	output = &CreatePresignedNotebookInstanceUrlOutput{}
2048	req = c.newRequest(op, input, output)
2049	return
2050}
2051
2052// CreatePresignedNotebookInstanceUrl API operation for Amazon SageMaker Service.
2053//
2054// Returns a URL that you can use to connect to the Jupyter server from a notebook
2055// instance. In the Amazon SageMaker console, when you choose Open next to a
2056// notebook instance, Amazon SageMaker opens a new tab showing the Jupyter server
2057// home page from the notebook instance. The console uses this API to get the
2058// URL and show the page.
2059//
2060// The IAM role or user used to call this API defines the permissions to access
2061// the notebook instance. Once the presigned URL is created, no additional permission
2062// is required to access this URL. IAM authorization policies for this API are
2063// also enforced for every HTTP request and WebSocket frame that attempts to
2064// connect to the notebook instance.
2065//
2066// You can restrict access to this API and to the URL that it returns to a list
2067// of IP addresses that you specify. Use the NotIpAddress condition operator
2068// and the aws:SourceIP condition context key to specify the list of IP addresses
2069// that you want to have access to the notebook instance. For more information,
2070// 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).
2071//
2072// The URL that you get from a call to CreatePresignedNotebookInstanceUrl is
2073// valid only for 5 minutes. If you try to use the URL after the 5-minute limit
2074// expires, you are directed to the AWS console sign-in page.
2075//
2076// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2077// with awserr.Error's Code and Message methods to get detailed information about
2078// the error.
2079//
2080// See the AWS API reference guide for Amazon SageMaker Service's
2081// API operation CreatePresignedNotebookInstanceUrl for usage and error information.
2082// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedNotebookInstanceUrl
2083func (c *SageMaker) CreatePresignedNotebookInstanceUrl(input *CreatePresignedNotebookInstanceUrlInput) (*CreatePresignedNotebookInstanceUrlOutput, error) {
2084	req, out := c.CreatePresignedNotebookInstanceUrlRequest(input)
2085	return out, req.Send()
2086}
2087
2088// CreatePresignedNotebookInstanceUrlWithContext is the same as CreatePresignedNotebookInstanceUrl with the addition of
2089// the ability to pass a context and additional request options.
2090//
2091// See CreatePresignedNotebookInstanceUrl for details on how to use this API operation.
2092//
2093// The context must be non-nil and will be used for request cancellation. If
2094// the context is nil a panic will occur. In the future the SDK may create
2095// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2096// for more information on using Contexts.
2097func (c *SageMaker) CreatePresignedNotebookInstanceUrlWithContext(ctx aws.Context, input *CreatePresignedNotebookInstanceUrlInput, opts ...request.Option) (*CreatePresignedNotebookInstanceUrlOutput, error) {
2098	req, out := c.CreatePresignedNotebookInstanceUrlRequest(input)
2099	req.SetContext(ctx)
2100	req.ApplyOptions(opts...)
2101	return out, req.Send()
2102}
2103
2104const opCreateProcessingJob = "CreateProcessingJob"
2105
2106// CreateProcessingJobRequest generates a "aws/request.Request" representing the
2107// client's request for the CreateProcessingJob operation. The "output" return
2108// value will be populated with the request's response once the request completes
2109// successfully.
2110//
2111// Use "Send" method on the returned Request to send the API call to the service.
2112// the "output" return value is not valid until after Send returns without error.
2113//
2114// See CreateProcessingJob for more information on using the CreateProcessingJob
2115// API call, and error handling.
2116//
2117// This method is useful when you want to inject custom logic or configuration
2118// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2119//
2120//
2121//    // Example sending a request using the CreateProcessingJobRequest method.
2122//    req, resp := client.CreateProcessingJobRequest(params)
2123//
2124//    err := req.Send()
2125//    if err == nil { // resp is now filled
2126//        fmt.Println(resp)
2127//    }
2128//
2129// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateProcessingJob
2130func (c *SageMaker) CreateProcessingJobRequest(input *CreateProcessingJobInput) (req *request.Request, output *CreateProcessingJobOutput) {
2131	op := &request.Operation{
2132		Name:       opCreateProcessingJob,
2133		HTTPMethod: "POST",
2134		HTTPPath:   "/",
2135	}
2136
2137	if input == nil {
2138		input = &CreateProcessingJobInput{}
2139	}
2140
2141	output = &CreateProcessingJobOutput{}
2142	req = c.newRequest(op, input, output)
2143	return
2144}
2145
2146// CreateProcessingJob API operation for Amazon SageMaker Service.
2147//
2148// Creates a processing job.
2149//
2150// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2151// with awserr.Error's Code and Message methods to get detailed information about
2152// the error.
2153//
2154// See the AWS API reference guide for Amazon SageMaker Service's
2155// API operation CreateProcessingJob for usage and error information.
2156//
2157// Returned Error Types:
2158//   * ResourceInUse
2159//   Resource being accessed is in use.
2160//
2161//   * ResourceLimitExceeded
2162//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2163//   have too many training jobs created.
2164//
2165//   * ResourceNotFound
2166//   Resource being access is not found.
2167//
2168// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateProcessingJob
2169func (c *SageMaker) CreateProcessingJob(input *CreateProcessingJobInput) (*CreateProcessingJobOutput, error) {
2170	req, out := c.CreateProcessingJobRequest(input)
2171	return out, req.Send()
2172}
2173
2174// CreateProcessingJobWithContext is the same as CreateProcessingJob with the addition of
2175// the ability to pass a context and additional request options.
2176//
2177// See CreateProcessingJob for details on how to use this API operation.
2178//
2179// The context must be non-nil and will be used for request cancellation. If
2180// the context is nil a panic will occur. In the future the SDK may create
2181// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2182// for more information on using Contexts.
2183func (c *SageMaker) CreateProcessingJobWithContext(ctx aws.Context, input *CreateProcessingJobInput, opts ...request.Option) (*CreateProcessingJobOutput, error) {
2184	req, out := c.CreateProcessingJobRequest(input)
2185	req.SetContext(ctx)
2186	req.ApplyOptions(opts...)
2187	return out, req.Send()
2188}
2189
2190const opCreateTrainingJob = "CreateTrainingJob"
2191
2192// CreateTrainingJobRequest generates a "aws/request.Request" representing the
2193// client's request for the CreateTrainingJob operation. The "output" return
2194// value will be populated with the request's response once the request completes
2195// successfully.
2196//
2197// Use "Send" method on the returned Request to send the API call to the service.
2198// the "output" return value is not valid until after Send returns without error.
2199//
2200// See CreateTrainingJob for more information on using the CreateTrainingJob
2201// API call, and error handling.
2202//
2203// This method is useful when you want to inject custom logic or configuration
2204// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2205//
2206//
2207//    // Example sending a request using the CreateTrainingJobRequest method.
2208//    req, resp := client.CreateTrainingJobRequest(params)
2209//
2210//    err := req.Send()
2211//    if err == nil { // resp is now filled
2212//        fmt.Println(resp)
2213//    }
2214//
2215// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingJob
2216func (c *SageMaker) CreateTrainingJobRequest(input *CreateTrainingJobInput) (req *request.Request, output *CreateTrainingJobOutput) {
2217	op := &request.Operation{
2218		Name:       opCreateTrainingJob,
2219		HTTPMethod: "POST",
2220		HTTPPath:   "/",
2221	}
2222
2223	if input == nil {
2224		input = &CreateTrainingJobInput{}
2225	}
2226
2227	output = &CreateTrainingJobOutput{}
2228	req = c.newRequest(op, input, output)
2229	return
2230}
2231
2232// CreateTrainingJob API operation for Amazon SageMaker Service.
2233//
2234// Starts a model training job. After training completes, Amazon SageMaker saves
2235// the resulting model artifacts to an Amazon S3 location that you specify.
2236//
2237// If you choose to host your model using Amazon SageMaker hosting services,
2238// you can use the resulting model artifacts as part of the model. You can also
2239// use the artifacts in a machine learning service other than Amazon SageMaker,
2240// provided that you know how to use them for inferences.
2241//
2242// In the request body, you provide the following:
2243//
2244//    * AlgorithmSpecification - Identifies the training algorithm to use.
2245//
2246//    * HyperParameters - Specify these algorithm-specific parameters to enable
2247//    the estimation of model parameters during training. Hyperparameters can
2248//    be tuned to optimize this learning process. For a list of hyperparameters
2249//    for each training algorithm provided by Amazon SageMaker, see Algorithms
2250//    (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
2251//
2252//    * InputDataConfig - Describes the training dataset and the Amazon S3,
2253//    EFS, or FSx location where it is stored.
2254//
2255//    * OutputDataConfig - Identifies the Amazon S3 bucket where you want Amazon
2256//    SageMaker to save the results of model training.
2257//
2258//    * ResourceConfig - Identifies the resources, ML compute instances, and
2259//    ML storage volumes to deploy for model training. In distributed training,
2260//    you specify more than one instance.
2261//
2262//    * EnableManagedSpotTraining - Optimize the cost of training machine learning
2263//    models by up to 80% by using Amazon EC2 Spot instances. For more information,
2264//    see Managed Spot Training (https://docs.aws.amazon.com/sagemaker/latest/dg/model-managed-spot-training.html).
2265//
2266//    * RoleARN - The Amazon Resource Number (ARN) that Amazon SageMaker assumes
2267//    to perform tasks on your behalf during model training. You must grant
2268//    this role the necessary permissions so that Amazon SageMaker can successfully
2269//    complete model training.
2270//
2271//    * StoppingCondition - To help cap training costs, use MaxRuntimeInSeconds
2272//    to set a time limit for training. Use MaxWaitTimeInSeconds to specify
2273//    how long you are willing to wait for a managed spot training job to complete.
2274//
2275// For more information about Amazon SageMaker, see How It Works (https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html).
2276//
2277// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2278// with awserr.Error's Code and Message methods to get detailed information about
2279// the error.
2280//
2281// See the AWS API reference guide for Amazon SageMaker Service's
2282// API operation CreateTrainingJob for usage and error information.
2283//
2284// Returned Error Types:
2285//   * ResourceInUse
2286//   Resource being accessed is in use.
2287//
2288//   * ResourceLimitExceeded
2289//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2290//   have too many training jobs created.
2291//
2292//   * ResourceNotFound
2293//   Resource being access is not found.
2294//
2295// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingJob
2296func (c *SageMaker) CreateTrainingJob(input *CreateTrainingJobInput) (*CreateTrainingJobOutput, error) {
2297	req, out := c.CreateTrainingJobRequest(input)
2298	return out, req.Send()
2299}
2300
2301// CreateTrainingJobWithContext is the same as CreateTrainingJob with the addition of
2302// the ability to pass a context and additional request options.
2303//
2304// See CreateTrainingJob for details on how to use this API operation.
2305//
2306// The context must be non-nil and will be used for request cancellation. If
2307// the context is nil a panic will occur. In the future the SDK may create
2308// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2309// for more information on using Contexts.
2310func (c *SageMaker) CreateTrainingJobWithContext(ctx aws.Context, input *CreateTrainingJobInput, opts ...request.Option) (*CreateTrainingJobOutput, error) {
2311	req, out := c.CreateTrainingJobRequest(input)
2312	req.SetContext(ctx)
2313	req.ApplyOptions(opts...)
2314	return out, req.Send()
2315}
2316
2317const opCreateTransformJob = "CreateTransformJob"
2318
2319// CreateTransformJobRequest generates a "aws/request.Request" representing the
2320// client's request for the CreateTransformJob operation. The "output" return
2321// value will be populated with the request's response once the request completes
2322// successfully.
2323//
2324// Use "Send" method on the returned Request to send the API call to the service.
2325// the "output" return value is not valid until after Send returns without error.
2326//
2327// See CreateTransformJob for more information on using the CreateTransformJob
2328// API call, and error handling.
2329//
2330// This method is useful when you want to inject custom logic or configuration
2331// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2332//
2333//
2334//    // Example sending a request using the CreateTransformJobRequest method.
2335//    req, resp := client.CreateTransformJobRequest(params)
2336//
2337//    err := req.Send()
2338//    if err == nil { // resp is now filled
2339//        fmt.Println(resp)
2340//    }
2341//
2342// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTransformJob
2343func (c *SageMaker) CreateTransformJobRequest(input *CreateTransformJobInput) (req *request.Request, output *CreateTransformJobOutput) {
2344	op := &request.Operation{
2345		Name:       opCreateTransformJob,
2346		HTTPMethod: "POST",
2347		HTTPPath:   "/",
2348	}
2349
2350	if input == nil {
2351		input = &CreateTransformJobInput{}
2352	}
2353
2354	output = &CreateTransformJobOutput{}
2355	req = c.newRequest(op, input, output)
2356	return
2357}
2358
2359// CreateTransformJob API operation for Amazon SageMaker Service.
2360//
2361// Starts a transform job. A transform job uses a trained model to get inferences
2362// on a dataset and saves these results to an Amazon S3 location that you specify.
2363//
2364// To perform batch transformations, you create a transform job and use the
2365// data that you have readily available.
2366//
2367// In the request body, you provide the following:
2368//
2369//    * TransformJobName - Identifies the transform job. The name must be unique
2370//    within an AWS Region in an AWS account.
2371//
2372//    * ModelName - Identifies the model to use. ModelName must be the name
2373//    of an existing Amazon SageMaker model in the same AWS Region and AWS account.
2374//    For information on creating a model, see CreateModel.
2375//
2376//    * TransformInput - Describes the dataset to be transformed and the Amazon
2377//    S3 location where it is stored.
2378//
2379//    * TransformOutput - Identifies the Amazon S3 location where you want Amazon
2380//    SageMaker to save the results from the transform job.
2381//
2382//    * TransformResources - Identifies the ML compute instances for the transform
2383//    job.
2384//
2385// For more information about how batch transformation works, see Batch Transform
2386// (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform.html).
2387//
2388// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2389// with awserr.Error's Code and Message methods to get detailed information about
2390// the error.
2391//
2392// See the AWS API reference guide for Amazon SageMaker Service's
2393// API operation CreateTransformJob for usage and error information.
2394//
2395// Returned Error Types:
2396//   * ResourceInUse
2397//   Resource being accessed is in use.
2398//
2399//   * ResourceLimitExceeded
2400//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2401//   have too many training jobs created.
2402//
2403//   * ResourceNotFound
2404//   Resource being access is not found.
2405//
2406// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTransformJob
2407func (c *SageMaker) CreateTransformJob(input *CreateTransformJobInput) (*CreateTransformJobOutput, error) {
2408	req, out := c.CreateTransformJobRequest(input)
2409	return out, req.Send()
2410}
2411
2412// CreateTransformJobWithContext is the same as CreateTransformJob with the addition of
2413// the ability to pass a context and additional request options.
2414//
2415// See CreateTransformJob for details on how to use this API operation.
2416//
2417// The context must be non-nil and will be used for request cancellation. If
2418// the context is nil a panic will occur. In the future the SDK may create
2419// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2420// for more information on using Contexts.
2421func (c *SageMaker) CreateTransformJobWithContext(ctx aws.Context, input *CreateTransformJobInput, opts ...request.Option) (*CreateTransformJobOutput, error) {
2422	req, out := c.CreateTransformJobRequest(input)
2423	req.SetContext(ctx)
2424	req.ApplyOptions(opts...)
2425	return out, req.Send()
2426}
2427
2428const opCreateTrial = "CreateTrial"
2429
2430// CreateTrialRequest generates a "aws/request.Request" representing the
2431// client's request for the CreateTrial operation. The "output" return
2432// value will be populated with the request's response once the request completes
2433// successfully.
2434//
2435// Use "Send" method on the returned Request to send the API call to the service.
2436// the "output" return value is not valid until after Send returns without error.
2437//
2438// See CreateTrial for more information on using the CreateTrial
2439// API call, and error handling.
2440//
2441// This method is useful when you want to inject custom logic or configuration
2442// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2443//
2444//
2445//    // Example sending a request using the CreateTrialRequest method.
2446//    req, resp := client.CreateTrialRequest(params)
2447//
2448//    err := req.Send()
2449//    if err == nil { // resp is now filled
2450//        fmt.Println(resp)
2451//    }
2452//
2453// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrial
2454func (c *SageMaker) CreateTrialRequest(input *CreateTrialInput) (req *request.Request, output *CreateTrialOutput) {
2455	op := &request.Operation{
2456		Name:       opCreateTrial,
2457		HTTPMethod: "POST",
2458		HTTPPath:   "/",
2459	}
2460
2461	if input == nil {
2462		input = &CreateTrialInput{}
2463	}
2464
2465	output = &CreateTrialOutput{}
2466	req = c.newRequest(op, input, output)
2467	return
2468}
2469
2470// CreateTrial API operation for Amazon SageMaker Service.
2471//
2472// Creates an Amazon SageMaker trial. A trial is a set of steps called trial
2473// components that produce a machine learning model. A trial is part of a single
2474// Amazon SageMaker experiment.
2475//
2476// When you use Amazon SageMaker Studio or the Amazon SageMaker Python SDK,
2477// all experiments, trials, and trial components are automatically tracked,
2478// logged, and indexed. When you use the AWS SDK for Python (Boto), you must
2479// use the logging APIs provided by the SDK.
2480//
2481// You can add tags to a trial and then use the Search API to search for the
2482// tags.
2483//
2484// To get a list of all your trials, call the ListTrials API. To view a trial's
2485// properties, call the DescribeTrial API. To create a trial component, call
2486// the CreateTrialComponent API.
2487//
2488// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2489// with awserr.Error's Code and Message methods to get detailed information about
2490// the error.
2491//
2492// See the AWS API reference guide for Amazon SageMaker Service's
2493// API operation CreateTrial for usage and error information.
2494//
2495// Returned Error Types:
2496//   * ResourceNotFound
2497//   Resource being access is not found.
2498//
2499//   * ResourceLimitExceeded
2500//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2501//   have too many training jobs created.
2502//
2503// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrial
2504func (c *SageMaker) CreateTrial(input *CreateTrialInput) (*CreateTrialOutput, error) {
2505	req, out := c.CreateTrialRequest(input)
2506	return out, req.Send()
2507}
2508
2509// CreateTrialWithContext is the same as CreateTrial with the addition of
2510// the ability to pass a context and additional request options.
2511//
2512// See CreateTrial for details on how to use this API operation.
2513//
2514// The context must be non-nil and will be used for request cancellation. If
2515// the context is nil a panic will occur. In the future the SDK may create
2516// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2517// for more information on using Contexts.
2518func (c *SageMaker) CreateTrialWithContext(ctx aws.Context, input *CreateTrialInput, opts ...request.Option) (*CreateTrialOutput, error) {
2519	req, out := c.CreateTrialRequest(input)
2520	req.SetContext(ctx)
2521	req.ApplyOptions(opts...)
2522	return out, req.Send()
2523}
2524
2525const opCreateTrialComponent = "CreateTrialComponent"
2526
2527// CreateTrialComponentRequest generates a "aws/request.Request" representing the
2528// client's request for the CreateTrialComponent operation. The "output" return
2529// value will be populated with the request's response once the request completes
2530// successfully.
2531//
2532// Use "Send" method on the returned Request to send the API call to the service.
2533// the "output" return value is not valid until after Send returns without error.
2534//
2535// See CreateTrialComponent for more information on using the CreateTrialComponent
2536// API call, and error handling.
2537//
2538// This method is useful when you want to inject custom logic or configuration
2539// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2540//
2541//
2542//    // Example sending a request using the CreateTrialComponentRequest method.
2543//    req, resp := client.CreateTrialComponentRequest(params)
2544//
2545//    err := req.Send()
2546//    if err == nil { // resp is now filled
2547//        fmt.Println(resp)
2548//    }
2549//
2550// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrialComponent
2551func (c *SageMaker) CreateTrialComponentRequest(input *CreateTrialComponentInput) (req *request.Request, output *CreateTrialComponentOutput) {
2552	op := &request.Operation{
2553		Name:       opCreateTrialComponent,
2554		HTTPMethod: "POST",
2555		HTTPPath:   "/",
2556	}
2557
2558	if input == nil {
2559		input = &CreateTrialComponentInput{}
2560	}
2561
2562	output = &CreateTrialComponentOutput{}
2563	req = c.newRequest(op, input, output)
2564	return
2565}
2566
2567// CreateTrialComponent API operation for Amazon SageMaker Service.
2568//
2569// Creates a trial component, which is a stage of a machine learning trial.
2570// A trial is composed of one or more trial components. A trial component can
2571// be used in multiple trials.
2572//
2573// Trial components include pre-processing jobs, training jobs, and batch transform
2574// jobs.
2575//
2576// When you use Amazon SageMaker Studio or the Amazon SageMaker Python SDK,
2577// all experiments, trials, and trial components are automatically tracked,
2578// logged, and indexed. When you use the AWS SDK for Python (Boto), you must
2579// use the logging APIs provided by the SDK.
2580//
2581// You can add tags to a trial component and then use the Search API to search
2582// for the tags.
2583//
2584// CreateTrialComponent can only be invoked from within an Amazon SageMaker
2585// managed environment. This includes Amazon SageMaker training jobs, processing
2586// jobs, transform jobs, and Amazon SageMaker notebooks. A call to CreateTrialComponent
2587// from outside one of these environments results in an error.
2588//
2589// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2590// with awserr.Error's Code and Message methods to get detailed information about
2591// the error.
2592//
2593// See the AWS API reference guide for Amazon SageMaker Service's
2594// API operation CreateTrialComponent for usage and error information.
2595//
2596// Returned Error Types:
2597//   * ResourceLimitExceeded
2598//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2599//   have too many training jobs created.
2600//
2601// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrialComponent
2602func (c *SageMaker) CreateTrialComponent(input *CreateTrialComponentInput) (*CreateTrialComponentOutput, error) {
2603	req, out := c.CreateTrialComponentRequest(input)
2604	return out, req.Send()
2605}
2606
2607// CreateTrialComponentWithContext is the same as CreateTrialComponent with the addition of
2608// the ability to pass a context and additional request options.
2609//
2610// See CreateTrialComponent for details on how to use this API operation.
2611//
2612// The context must be non-nil and will be used for request cancellation. If
2613// the context is nil a panic will occur. In the future the SDK may create
2614// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2615// for more information on using Contexts.
2616func (c *SageMaker) CreateTrialComponentWithContext(ctx aws.Context, input *CreateTrialComponentInput, opts ...request.Option) (*CreateTrialComponentOutput, error) {
2617	req, out := c.CreateTrialComponentRequest(input)
2618	req.SetContext(ctx)
2619	req.ApplyOptions(opts...)
2620	return out, req.Send()
2621}
2622
2623const opCreateUserProfile = "CreateUserProfile"
2624
2625// CreateUserProfileRequest generates a "aws/request.Request" representing the
2626// client's request for the CreateUserProfile operation. The "output" return
2627// value will be populated with the request's response once the request completes
2628// successfully.
2629//
2630// Use "Send" method on the returned Request to send the API call to the service.
2631// the "output" return value is not valid until after Send returns without error.
2632//
2633// See CreateUserProfile for more information on using the CreateUserProfile
2634// API call, and error handling.
2635//
2636// This method is useful when you want to inject custom logic or configuration
2637// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2638//
2639//
2640//    // Example sending a request using the CreateUserProfileRequest method.
2641//    req, resp := client.CreateUserProfileRequest(params)
2642//
2643//    err := req.Send()
2644//    if err == nil { // resp is now filled
2645//        fmt.Println(resp)
2646//    }
2647//
2648// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateUserProfile
2649func (c *SageMaker) CreateUserProfileRequest(input *CreateUserProfileInput) (req *request.Request, output *CreateUserProfileOutput) {
2650	op := &request.Operation{
2651		Name:       opCreateUserProfile,
2652		HTTPMethod: "POST",
2653		HTTPPath:   "/",
2654	}
2655
2656	if input == nil {
2657		input = &CreateUserProfileInput{}
2658	}
2659
2660	output = &CreateUserProfileOutput{}
2661	req = c.newRequest(op, input, output)
2662	return
2663}
2664
2665// CreateUserProfile API operation for Amazon SageMaker Service.
2666//
2667// Creates a user profile. A user profile represents a single user within a
2668// domain, and is the main way to reference a "person" for the purposes of sharing,
2669// reporting, and other user-oriented features. This entity is created when
2670// a user onboards to Amazon SageMaker Studio. If an administrator invites a
2671// person by email or imports them from SSO, a user profile is automatically
2672// created. A user profile is the primary holder of settings for an individual
2673// user and has a reference to the user's private Amazon Elastic File System
2674// (EFS) home directory.
2675//
2676// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2677// with awserr.Error's Code and Message methods to get detailed information about
2678// the error.
2679//
2680// See the AWS API reference guide for Amazon SageMaker Service's
2681// API operation CreateUserProfile for usage and error information.
2682//
2683// Returned Error Types:
2684//   * ResourceLimitExceeded
2685//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2686//   have too many training jobs created.
2687//
2688//   * ResourceInUse
2689//   Resource being accessed is in use.
2690//
2691// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateUserProfile
2692func (c *SageMaker) CreateUserProfile(input *CreateUserProfileInput) (*CreateUserProfileOutput, error) {
2693	req, out := c.CreateUserProfileRequest(input)
2694	return out, req.Send()
2695}
2696
2697// CreateUserProfileWithContext is the same as CreateUserProfile with the addition of
2698// the ability to pass a context and additional request options.
2699//
2700// See CreateUserProfile for details on how to use this API operation.
2701//
2702// The context must be non-nil and will be used for request cancellation. If
2703// the context is nil a panic will occur. In the future the SDK may create
2704// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2705// for more information on using Contexts.
2706func (c *SageMaker) CreateUserProfileWithContext(ctx aws.Context, input *CreateUserProfileInput, opts ...request.Option) (*CreateUserProfileOutput, error) {
2707	req, out := c.CreateUserProfileRequest(input)
2708	req.SetContext(ctx)
2709	req.ApplyOptions(opts...)
2710	return out, req.Send()
2711}
2712
2713const opCreateWorkteam = "CreateWorkteam"
2714
2715// CreateWorkteamRequest generates a "aws/request.Request" representing the
2716// client's request for the CreateWorkteam operation. The "output" return
2717// value will be populated with the request's response once the request completes
2718// successfully.
2719//
2720// Use "Send" method on the returned Request to send the API call to the service.
2721// the "output" return value is not valid until after Send returns without error.
2722//
2723// See CreateWorkteam for more information on using the CreateWorkteam
2724// API call, and error handling.
2725//
2726// This method is useful when you want to inject custom logic or configuration
2727// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2728//
2729//
2730//    // Example sending a request using the CreateWorkteamRequest method.
2731//    req, resp := client.CreateWorkteamRequest(params)
2732//
2733//    err := req.Send()
2734//    if err == nil { // resp is now filled
2735//        fmt.Println(resp)
2736//    }
2737//
2738// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkteam
2739func (c *SageMaker) CreateWorkteamRequest(input *CreateWorkteamInput) (req *request.Request, output *CreateWorkteamOutput) {
2740	op := &request.Operation{
2741		Name:       opCreateWorkteam,
2742		HTTPMethod: "POST",
2743		HTTPPath:   "/",
2744	}
2745
2746	if input == nil {
2747		input = &CreateWorkteamInput{}
2748	}
2749
2750	output = &CreateWorkteamOutput{}
2751	req = c.newRequest(op, input, output)
2752	return
2753}
2754
2755// CreateWorkteam API operation for Amazon SageMaker Service.
2756//
2757// Creates a new work team for labeling your data. A work team is defined by
2758// one or more Amazon Cognito user pools. You must first create the user pools
2759// before you can create a work team.
2760//
2761// You cannot create more than 25 work teams in an account and region.
2762//
2763// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2764// with awserr.Error's Code and Message methods to get detailed information about
2765// the error.
2766//
2767// See the AWS API reference guide for Amazon SageMaker Service's
2768// API operation CreateWorkteam for usage and error information.
2769//
2770// Returned Error Types:
2771//   * ResourceInUse
2772//   Resource being accessed is in use.
2773//
2774//   * ResourceLimitExceeded
2775//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2776//   have too many training jobs created.
2777//
2778// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkteam
2779func (c *SageMaker) CreateWorkteam(input *CreateWorkteamInput) (*CreateWorkteamOutput, error) {
2780	req, out := c.CreateWorkteamRequest(input)
2781	return out, req.Send()
2782}
2783
2784// CreateWorkteamWithContext is the same as CreateWorkteam with the addition of
2785// the ability to pass a context and additional request options.
2786//
2787// See CreateWorkteam for details on how to use this API operation.
2788//
2789// The context must be non-nil and will be used for request cancellation. If
2790// the context is nil a panic will occur. In the future the SDK may create
2791// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2792// for more information on using Contexts.
2793func (c *SageMaker) CreateWorkteamWithContext(ctx aws.Context, input *CreateWorkteamInput, opts ...request.Option) (*CreateWorkteamOutput, error) {
2794	req, out := c.CreateWorkteamRequest(input)
2795	req.SetContext(ctx)
2796	req.ApplyOptions(opts...)
2797	return out, req.Send()
2798}
2799
2800const opDeleteAlgorithm = "DeleteAlgorithm"
2801
2802// DeleteAlgorithmRequest generates a "aws/request.Request" representing the
2803// client's request for the DeleteAlgorithm operation. The "output" return
2804// value will be populated with the request's response once the request completes
2805// successfully.
2806//
2807// Use "Send" method on the returned Request to send the API call to the service.
2808// the "output" return value is not valid until after Send returns without error.
2809//
2810// See DeleteAlgorithm for more information on using the DeleteAlgorithm
2811// API call, and error handling.
2812//
2813// This method is useful when you want to inject custom logic or configuration
2814// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2815//
2816//
2817//    // Example sending a request using the DeleteAlgorithmRequest method.
2818//    req, resp := client.DeleteAlgorithmRequest(params)
2819//
2820//    err := req.Send()
2821//    if err == nil { // resp is now filled
2822//        fmt.Println(resp)
2823//    }
2824//
2825// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAlgorithm
2826func (c *SageMaker) DeleteAlgorithmRequest(input *DeleteAlgorithmInput) (req *request.Request, output *DeleteAlgorithmOutput) {
2827	op := &request.Operation{
2828		Name:       opDeleteAlgorithm,
2829		HTTPMethod: "POST",
2830		HTTPPath:   "/",
2831	}
2832
2833	if input == nil {
2834		input = &DeleteAlgorithmInput{}
2835	}
2836
2837	output = &DeleteAlgorithmOutput{}
2838	req = c.newRequest(op, input, output)
2839	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
2840	return
2841}
2842
2843// DeleteAlgorithm API operation for Amazon SageMaker Service.
2844//
2845// Removes the specified algorithm from your account.
2846//
2847// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2848// with awserr.Error's Code and Message methods to get detailed information about
2849// the error.
2850//
2851// See the AWS API reference guide for Amazon SageMaker Service's
2852// API operation DeleteAlgorithm for usage and error information.
2853// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAlgorithm
2854func (c *SageMaker) DeleteAlgorithm(input *DeleteAlgorithmInput) (*DeleteAlgorithmOutput, error) {
2855	req, out := c.DeleteAlgorithmRequest(input)
2856	return out, req.Send()
2857}
2858
2859// DeleteAlgorithmWithContext is the same as DeleteAlgorithm with the addition of
2860// the ability to pass a context and additional request options.
2861//
2862// See DeleteAlgorithm for details on how to use this API operation.
2863//
2864// The context must be non-nil and will be used for request cancellation. If
2865// the context is nil a panic will occur. In the future the SDK may create
2866// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2867// for more information on using Contexts.
2868func (c *SageMaker) DeleteAlgorithmWithContext(ctx aws.Context, input *DeleteAlgorithmInput, opts ...request.Option) (*DeleteAlgorithmOutput, error) {
2869	req, out := c.DeleteAlgorithmRequest(input)
2870	req.SetContext(ctx)
2871	req.ApplyOptions(opts...)
2872	return out, req.Send()
2873}
2874
2875const opDeleteApp = "DeleteApp"
2876
2877// DeleteAppRequest generates a "aws/request.Request" representing the
2878// client's request for the DeleteApp operation. The "output" return
2879// value will be populated with the request's response once the request completes
2880// successfully.
2881//
2882// Use "Send" method on the returned Request to send the API call to the service.
2883// the "output" return value is not valid until after Send returns without error.
2884//
2885// See DeleteApp for more information on using the DeleteApp
2886// API call, and error handling.
2887//
2888// This method is useful when you want to inject custom logic or configuration
2889// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2890//
2891//
2892//    // Example sending a request using the DeleteAppRequest method.
2893//    req, resp := client.DeleteAppRequest(params)
2894//
2895//    err := req.Send()
2896//    if err == nil { // resp is now filled
2897//        fmt.Println(resp)
2898//    }
2899//
2900// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteApp
2901func (c *SageMaker) DeleteAppRequest(input *DeleteAppInput) (req *request.Request, output *DeleteAppOutput) {
2902	op := &request.Operation{
2903		Name:       opDeleteApp,
2904		HTTPMethod: "POST",
2905		HTTPPath:   "/",
2906	}
2907
2908	if input == nil {
2909		input = &DeleteAppInput{}
2910	}
2911
2912	output = &DeleteAppOutput{}
2913	req = c.newRequest(op, input, output)
2914	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
2915	return
2916}
2917
2918// DeleteApp API operation for Amazon SageMaker Service.
2919//
2920// Used to stop and delete an app.
2921//
2922// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2923// with awserr.Error's Code and Message methods to get detailed information about
2924// the error.
2925//
2926// See the AWS API reference guide for Amazon SageMaker Service's
2927// API operation DeleteApp for usage and error information.
2928//
2929// Returned Error Types:
2930//   * ResourceInUse
2931//   Resource being accessed is in use.
2932//
2933//   * ResourceNotFound
2934//   Resource being access is not found.
2935//
2936// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteApp
2937func (c *SageMaker) DeleteApp(input *DeleteAppInput) (*DeleteAppOutput, error) {
2938	req, out := c.DeleteAppRequest(input)
2939	return out, req.Send()
2940}
2941
2942// DeleteAppWithContext is the same as DeleteApp with the addition of
2943// the ability to pass a context and additional request options.
2944//
2945// See DeleteApp for details on how to use this API operation.
2946//
2947// The context must be non-nil and will be used for request cancellation. If
2948// the context is nil a panic will occur. In the future the SDK may create
2949// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2950// for more information on using Contexts.
2951func (c *SageMaker) DeleteAppWithContext(ctx aws.Context, input *DeleteAppInput, opts ...request.Option) (*DeleteAppOutput, error) {
2952	req, out := c.DeleteAppRequest(input)
2953	req.SetContext(ctx)
2954	req.ApplyOptions(opts...)
2955	return out, req.Send()
2956}
2957
2958const opDeleteCodeRepository = "DeleteCodeRepository"
2959
2960// DeleteCodeRepositoryRequest generates a "aws/request.Request" representing the
2961// client's request for the DeleteCodeRepository operation. The "output" return
2962// value will be populated with the request's response once the request completes
2963// successfully.
2964//
2965// Use "Send" method on the returned Request to send the API call to the service.
2966// the "output" return value is not valid until after Send returns without error.
2967//
2968// See DeleteCodeRepository for more information on using the DeleteCodeRepository
2969// API call, and error handling.
2970//
2971// This method is useful when you want to inject custom logic or configuration
2972// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2973//
2974//
2975//    // Example sending a request using the DeleteCodeRepositoryRequest method.
2976//    req, resp := client.DeleteCodeRepositoryRequest(params)
2977//
2978//    err := req.Send()
2979//    if err == nil { // resp is now filled
2980//        fmt.Println(resp)
2981//    }
2982//
2983// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteCodeRepository
2984func (c *SageMaker) DeleteCodeRepositoryRequest(input *DeleteCodeRepositoryInput) (req *request.Request, output *DeleteCodeRepositoryOutput) {
2985	op := &request.Operation{
2986		Name:       opDeleteCodeRepository,
2987		HTTPMethod: "POST",
2988		HTTPPath:   "/",
2989	}
2990
2991	if input == nil {
2992		input = &DeleteCodeRepositoryInput{}
2993	}
2994
2995	output = &DeleteCodeRepositoryOutput{}
2996	req = c.newRequest(op, input, output)
2997	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
2998	return
2999}
3000
3001// DeleteCodeRepository API operation for Amazon SageMaker Service.
3002//
3003// Deletes the specified Git repository from your account.
3004//
3005// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3006// with awserr.Error's Code and Message methods to get detailed information about
3007// the error.
3008//
3009// See the AWS API reference guide for Amazon SageMaker Service's
3010// API operation DeleteCodeRepository for usage and error information.
3011// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteCodeRepository
3012func (c *SageMaker) DeleteCodeRepository(input *DeleteCodeRepositoryInput) (*DeleteCodeRepositoryOutput, error) {
3013	req, out := c.DeleteCodeRepositoryRequest(input)
3014	return out, req.Send()
3015}
3016
3017// DeleteCodeRepositoryWithContext is the same as DeleteCodeRepository with the addition of
3018// the ability to pass a context and additional request options.
3019//
3020// See DeleteCodeRepository for details on how to use this API operation.
3021//
3022// The context must be non-nil and will be used for request cancellation. If
3023// the context is nil a panic will occur. In the future the SDK may create
3024// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3025// for more information on using Contexts.
3026func (c *SageMaker) DeleteCodeRepositoryWithContext(ctx aws.Context, input *DeleteCodeRepositoryInput, opts ...request.Option) (*DeleteCodeRepositoryOutput, error) {
3027	req, out := c.DeleteCodeRepositoryRequest(input)
3028	req.SetContext(ctx)
3029	req.ApplyOptions(opts...)
3030	return out, req.Send()
3031}
3032
3033const opDeleteDomain = "DeleteDomain"
3034
3035// DeleteDomainRequest generates a "aws/request.Request" representing the
3036// client's request for the DeleteDomain operation. The "output" return
3037// value will be populated with the request's response once the request completes
3038// successfully.
3039//
3040// Use "Send" method on the returned Request to send the API call to the service.
3041// the "output" return value is not valid until after Send returns without error.
3042//
3043// See DeleteDomain for more information on using the DeleteDomain
3044// API call, and error handling.
3045//
3046// This method is useful when you want to inject custom logic or configuration
3047// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3048//
3049//
3050//    // Example sending a request using the DeleteDomainRequest method.
3051//    req, resp := client.DeleteDomainRequest(params)
3052//
3053//    err := req.Send()
3054//    if err == nil { // resp is now filled
3055//        fmt.Println(resp)
3056//    }
3057//
3058// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDomain
3059func (c *SageMaker) DeleteDomainRequest(input *DeleteDomainInput) (req *request.Request, output *DeleteDomainOutput) {
3060	op := &request.Operation{
3061		Name:       opDeleteDomain,
3062		HTTPMethod: "POST",
3063		HTTPPath:   "/",
3064	}
3065
3066	if input == nil {
3067		input = &DeleteDomainInput{}
3068	}
3069
3070	output = &DeleteDomainOutput{}
3071	req = c.newRequest(op, input, output)
3072	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3073	return
3074}
3075
3076// DeleteDomain API operation for Amazon SageMaker Service.
3077//
3078// Used to delete a domain. If you onboarded with IAM mode, you will need to
3079// delete your domain to onboard again using SSO. Use with caution. All of the
3080// members of the domain will lose access to their EFS volume, including data,
3081// notebooks, and other artifacts.
3082//
3083// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3084// with awserr.Error's Code and Message methods to get detailed information about
3085// the error.
3086//
3087// See the AWS API reference guide for Amazon SageMaker Service's
3088// API operation DeleteDomain for usage and error information.
3089//
3090// Returned Error Types:
3091//   * ResourceInUse
3092//   Resource being accessed is in use.
3093//
3094//   * ResourceNotFound
3095//   Resource being access is not found.
3096//
3097// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDomain
3098func (c *SageMaker) DeleteDomain(input *DeleteDomainInput) (*DeleteDomainOutput, error) {
3099	req, out := c.DeleteDomainRequest(input)
3100	return out, req.Send()
3101}
3102
3103// DeleteDomainWithContext is the same as DeleteDomain with the addition of
3104// the ability to pass a context and additional request options.
3105//
3106// See DeleteDomain for details on how to use this API operation.
3107//
3108// The context must be non-nil and will be used for request cancellation. If
3109// the context is nil a panic will occur. In the future the SDK may create
3110// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3111// for more information on using Contexts.
3112func (c *SageMaker) DeleteDomainWithContext(ctx aws.Context, input *DeleteDomainInput, opts ...request.Option) (*DeleteDomainOutput, error) {
3113	req, out := c.DeleteDomainRequest(input)
3114	req.SetContext(ctx)
3115	req.ApplyOptions(opts...)
3116	return out, req.Send()
3117}
3118
3119const opDeleteEndpoint = "DeleteEndpoint"
3120
3121// DeleteEndpointRequest generates a "aws/request.Request" representing the
3122// client's request for the DeleteEndpoint operation. The "output" return
3123// value will be populated with the request's response once the request completes
3124// successfully.
3125//
3126// Use "Send" method on the returned Request to send the API call to the service.
3127// the "output" return value is not valid until after Send returns without error.
3128//
3129// See DeleteEndpoint for more information on using the DeleteEndpoint
3130// API call, and error handling.
3131//
3132// This method is useful when you want to inject custom logic or configuration
3133// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3134//
3135//
3136//    // Example sending a request using the DeleteEndpointRequest method.
3137//    req, resp := client.DeleteEndpointRequest(params)
3138//
3139//    err := req.Send()
3140//    if err == nil { // resp is now filled
3141//        fmt.Println(resp)
3142//    }
3143//
3144// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpoint
3145func (c *SageMaker) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Request, output *DeleteEndpointOutput) {
3146	op := &request.Operation{
3147		Name:       opDeleteEndpoint,
3148		HTTPMethod: "POST",
3149		HTTPPath:   "/",
3150	}
3151
3152	if input == nil {
3153		input = &DeleteEndpointInput{}
3154	}
3155
3156	output = &DeleteEndpointOutput{}
3157	req = c.newRequest(op, input, output)
3158	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3159	return
3160}
3161
3162// DeleteEndpoint API operation for Amazon SageMaker Service.
3163//
3164// Deletes an endpoint. Amazon SageMaker frees up all of the resources that
3165// were deployed when the endpoint was created.
3166//
3167// Amazon SageMaker retires any custom KMS key grants associated with the endpoint,
3168// meaning you don't need to use the RevokeGrant (http://docs.aws.amazon.com/kms/latest/APIReference/API_RevokeGrant.html)
3169// API call.
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 DeleteEndpoint for usage and error information.
3177// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpoint
3178func (c *SageMaker) DeleteEndpoint(input *DeleteEndpointInput) (*DeleteEndpointOutput, error) {
3179	req, out := c.DeleteEndpointRequest(input)
3180	return out, req.Send()
3181}
3182
3183// DeleteEndpointWithContext is the same as DeleteEndpoint with the addition of
3184// the ability to pass a context and additional request options.
3185//
3186// See DeleteEndpoint for details on how to use this API operation.
3187//
3188// The context must be non-nil and will be used for request cancellation. If
3189// the context is nil a panic will occur. In the future the SDK may create
3190// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3191// for more information on using Contexts.
3192func (c *SageMaker) DeleteEndpointWithContext(ctx aws.Context, input *DeleteEndpointInput, opts ...request.Option) (*DeleteEndpointOutput, error) {
3193	req, out := c.DeleteEndpointRequest(input)
3194	req.SetContext(ctx)
3195	req.ApplyOptions(opts...)
3196	return out, req.Send()
3197}
3198
3199const opDeleteEndpointConfig = "DeleteEndpointConfig"
3200
3201// DeleteEndpointConfigRequest generates a "aws/request.Request" representing the
3202// client's request for the DeleteEndpointConfig operation. The "output" return
3203// value will be populated with the request's response once the request completes
3204// successfully.
3205//
3206// Use "Send" method on the returned Request to send the API call to the service.
3207// the "output" return value is not valid until after Send returns without error.
3208//
3209// See DeleteEndpointConfig for more information on using the DeleteEndpointConfig
3210// API call, and error handling.
3211//
3212// This method is useful when you want to inject custom logic or configuration
3213// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3214//
3215//
3216//    // Example sending a request using the DeleteEndpointConfigRequest method.
3217//    req, resp := client.DeleteEndpointConfigRequest(params)
3218//
3219//    err := req.Send()
3220//    if err == nil { // resp is now filled
3221//        fmt.Println(resp)
3222//    }
3223//
3224// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpointConfig
3225func (c *SageMaker) DeleteEndpointConfigRequest(input *DeleteEndpointConfigInput) (req *request.Request, output *DeleteEndpointConfigOutput) {
3226	op := &request.Operation{
3227		Name:       opDeleteEndpointConfig,
3228		HTTPMethod: "POST",
3229		HTTPPath:   "/",
3230	}
3231
3232	if input == nil {
3233		input = &DeleteEndpointConfigInput{}
3234	}
3235
3236	output = &DeleteEndpointConfigOutput{}
3237	req = c.newRequest(op, input, output)
3238	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3239	return
3240}
3241
3242// DeleteEndpointConfig API operation for Amazon SageMaker Service.
3243//
3244// Deletes an endpoint configuration. The DeleteEndpointConfig API deletes only
3245// the specified configuration. It does not delete endpoints created using the
3246// configuration.
3247//
3248// You must not delete an EndpointConfig in use by an endpoint that is live
3249// or while the UpdateEndpoint or CreateEndpoint operations are being performed
3250// on the endpoint. If you delete the EndpointConfig of an endpoint that is
3251// active or being created or updated you may lose visibility into the instance
3252// type the endpoint is using. The endpoint must be deleted in order to stop
3253// incurring charges.
3254//
3255// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3256// with awserr.Error's Code and Message methods to get detailed information about
3257// the error.
3258//
3259// See the AWS API reference guide for Amazon SageMaker Service's
3260// API operation DeleteEndpointConfig for usage and error information.
3261// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpointConfig
3262func (c *SageMaker) DeleteEndpointConfig(input *DeleteEndpointConfigInput) (*DeleteEndpointConfigOutput, error) {
3263	req, out := c.DeleteEndpointConfigRequest(input)
3264	return out, req.Send()
3265}
3266
3267// DeleteEndpointConfigWithContext is the same as DeleteEndpointConfig with the addition of
3268// the ability to pass a context and additional request options.
3269//
3270// See DeleteEndpointConfig for details on how to use this API operation.
3271//
3272// The context must be non-nil and will be used for request cancellation. If
3273// the context is nil a panic will occur. In the future the SDK may create
3274// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3275// for more information on using Contexts.
3276func (c *SageMaker) DeleteEndpointConfigWithContext(ctx aws.Context, input *DeleteEndpointConfigInput, opts ...request.Option) (*DeleteEndpointConfigOutput, error) {
3277	req, out := c.DeleteEndpointConfigRequest(input)
3278	req.SetContext(ctx)
3279	req.ApplyOptions(opts...)
3280	return out, req.Send()
3281}
3282
3283const opDeleteExperiment = "DeleteExperiment"
3284
3285// DeleteExperimentRequest generates a "aws/request.Request" representing the
3286// client's request for the DeleteExperiment operation. The "output" return
3287// value will be populated with the request's response once the request completes
3288// successfully.
3289//
3290// Use "Send" method on the returned Request to send the API call to the service.
3291// the "output" return value is not valid until after Send returns without error.
3292//
3293// See DeleteExperiment for more information on using the DeleteExperiment
3294// API call, and error handling.
3295//
3296// This method is useful when you want to inject custom logic or configuration
3297// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3298//
3299//
3300//    // Example sending a request using the DeleteExperimentRequest method.
3301//    req, resp := client.DeleteExperimentRequest(params)
3302//
3303//    err := req.Send()
3304//    if err == nil { // resp is now filled
3305//        fmt.Println(resp)
3306//    }
3307//
3308// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteExperiment
3309func (c *SageMaker) DeleteExperimentRequest(input *DeleteExperimentInput) (req *request.Request, output *DeleteExperimentOutput) {
3310	op := &request.Operation{
3311		Name:       opDeleteExperiment,
3312		HTTPMethod: "POST",
3313		HTTPPath:   "/",
3314	}
3315
3316	if input == nil {
3317		input = &DeleteExperimentInput{}
3318	}
3319
3320	output = &DeleteExperimentOutput{}
3321	req = c.newRequest(op, input, output)
3322	return
3323}
3324
3325// DeleteExperiment API operation for Amazon SageMaker Service.
3326//
3327// Deletes an Amazon SageMaker experiment. All trials associated with the experiment
3328// must be deleted first. Use the ListTrials API to get a list of the trials
3329// associated with the experiment.
3330//
3331// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3332// with awserr.Error's Code and Message methods to get detailed information about
3333// the error.
3334//
3335// See the AWS API reference guide for Amazon SageMaker Service's
3336// API operation DeleteExperiment for usage and error information.
3337//
3338// Returned Error Types:
3339//   * ResourceNotFound
3340//   Resource being access is not found.
3341//
3342// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteExperiment
3343func (c *SageMaker) DeleteExperiment(input *DeleteExperimentInput) (*DeleteExperimentOutput, error) {
3344	req, out := c.DeleteExperimentRequest(input)
3345	return out, req.Send()
3346}
3347
3348// DeleteExperimentWithContext is the same as DeleteExperiment with the addition of
3349// the ability to pass a context and additional request options.
3350//
3351// See DeleteExperiment for details on how to use this API operation.
3352//
3353// The context must be non-nil and will be used for request cancellation. If
3354// the context is nil a panic will occur. In the future the SDK may create
3355// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3356// for more information on using Contexts.
3357func (c *SageMaker) DeleteExperimentWithContext(ctx aws.Context, input *DeleteExperimentInput, opts ...request.Option) (*DeleteExperimentOutput, error) {
3358	req, out := c.DeleteExperimentRequest(input)
3359	req.SetContext(ctx)
3360	req.ApplyOptions(opts...)
3361	return out, req.Send()
3362}
3363
3364const opDeleteFlowDefinition = "DeleteFlowDefinition"
3365
3366// DeleteFlowDefinitionRequest generates a "aws/request.Request" representing the
3367// client's request for the DeleteFlowDefinition operation. The "output" return
3368// value will be populated with the request's response once the request completes
3369// successfully.
3370//
3371// Use "Send" method on the returned Request to send the API call to the service.
3372// the "output" return value is not valid until after Send returns without error.
3373//
3374// See DeleteFlowDefinition for more information on using the DeleteFlowDefinition
3375// API call, and error handling.
3376//
3377// This method is useful when you want to inject custom logic or configuration
3378// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3379//
3380//
3381//    // Example sending a request using the DeleteFlowDefinitionRequest method.
3382//    req, resp := client.DeleteFlowDefinitionRequest(params)
3383//
3384//    err := req.Send()
3385//    if err == nil { // resp is now filled
3386//        fmt.Println(resp)
3387//    }
3388//
3389// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteFlowDefinition
3390func (c *SageMaker) DeleteFlowDefinitionRequest(input *DeleteFlowDefinitionInput) (req *request.Request, output *DeleteFlowDefinitionOutput) {
3391	op := &request.Operation{
3392		Name:       opDeleteFlowDefinition,
3393		HTTPMethod: "POST",
3394		HTTPPath:   "/",
3395	}
3396
3397	if input == nil {
3398		input = &DeleteFlowDefinitionInput{}
3399	}
3400
3401	output = &DeleteFlowDefinitionOutput{}
3402	req = c.newRequest(op, input, output)
3403	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3404	return
3405}
3406
3407// DeleteFlowDefinition API operation for Amazon SageMaker Service.
3408//
3409// Deletes the specified flow definition.
3410//
3411// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3412// with awserr.Error's Code and Message methods to get detailed information about
3413// the error.
3414//
3415// See the AWS API reference guide for Amazon SageMaker Service's
3416// API operation DeleteFlowDefinition for usage and error information.
3417//
3418// Returned Error Types:
3419//   * ResourceNotFound
3420//   Resource being access is not found.
3421//
3422// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteFlowDefinition
3423func (c *SageMaker) DeleteFlowDefinition(input *DeleteFlowDefinitionInput) (*DeleteFlowDefinitionOutput, error) {
3424	req, out := c.DeleteFlowDefinitionRequest(input)
3425	return out, req.Send()
3426}
3427
3428// DeleteFlowDefinitionWithContext is the same as DeleteFlowDefinition with the addition of
3429// the ability to pass a context and additional request options.
3430//
3431// See DeleteFlowDefinition for details on how to use this API operation.
3432//
3433// The context must be non-nil and will be used for request cancellation. If
3434// the context is nil a panic will occur. In the future the SDK may create
3435// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3436// for more information on using Contexts.
3437func (c *SageMaker) DeleteFlowDefinitionWithContext(ctx aws.Context, input *DeleteFlowDefinitionInput, opts ...request.Option) (*DeleteFlowDefinitionOutput, error) {
3438	req, out := c.DeleteFlowDefinitionRequest(input)
3439	req.SetContext(ctx)
3440	req.ApplyOptions(opts...)
3441	return out, req.Send()
3442}
3443
3444const opDeleteModel = "DeleteModel"
3445
3446// DeleteModelRequest generates a "aws/request.Request" representing the
3447// client's request for the DeleteModel operation. The "output" return
3448// value will be populated with the request's response once the request completes
3449// successfully.
3450//
3451// Use "Send" method on the returned Request to send the API call to the service.
3452// the "output" return value is not valid until after Send returns without error.
3453//
3454// See DeleteModel for more information on using the DeleteModel
3455// API call, and error handling.
3456//
3457// This method is useful when you want to inject custom logic or configuration
3458// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3459//
3460//
3461//    // Example sending a request using the DeleteModelRequest method.
3462//    req, resp := client.DeleteModelRequest(params)
3463//
3464//    err := req.Send()
3465//    if err == nil { // resp is now filled
3466//        fmt.Println(resp)
3467//    }
3468//
3469// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModel
3470func (c *SageMaker) DeleteModelRequest(input *DeleteModelInput) (req *request.Request, output *DeleteModelOutput) {
3471	op := &request.Operation{
3472		Name:       opDeleteModel,
3473		HTTPMethod: "POST",
3474		HTTPPath:   "/",
3475	}
3476
3477	if input == nil {
3478		input = &DeleteModelInput{}
3479	}
3480
3481	output = &DeleteModelOutput{}
3482	req = c.newRequest(op, input, output)
3483	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3484	return
3485}
3486
3487// DeleteModel API operation for Amazon SageMaker Service.
3488//
3489// Deletes a model. The DeleteModel API deletes only the model entry that was
3490// created in Amazon SageMaker when you called the CreateModel API. It does
3491// not delete model artifacts, inference code, or the IAM role that you specified
3492// when creating the model.
3493//
3494// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3495// with awserr.Error's Code and Message methods to get detailed information about
3496// the error.
3497//
3498// See the AWS API reference guide for Amazon SageMaker Service's
3499// API operation DeleteModel for usage and error information.
3500// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModel
3501func (c *SageMaker) DeleteModel(input *DeleteModelInput) (*DeleteModelOutput, error) {
3502	req, out := c.DeleteModelRequest(input)
3503	return out, req.Send()
3504}
3505
3506// DeleteModelWithContext is the same as DeleteModel with the addition of
3507// the ability to pass a context and additional request options.
3508//
3509// See DeleteModel for details on how to use this API operation.
3510//
3511// The context must be non-nil and will be used for request cancellation. If
3512// the context is nil a panic will occur. In the future the SDK may create
3513// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3514// for more information on using Contexts.
3515func (c *SageMaker) DeleteModelWithContext(ctx aws.Context, input *DeleteModelInput, opts ...request.Option) (*DeleteModelOutput, error) {
3516	req, out := c.DeleteModelRequest(input)
3517	req.SetContext(ctx)
3518	req.ApplyOptions(opts...)
3519	return out, req.Send()
3520}
3521
3522const opDeleteModelPackage = "DeleteModelPackage"
3523
3524// DeleteModelPackageRequest generates a "aws/request.Request" representing the
3525// client's request for the DeleteModelPackage operation. The "output" return
3526// value will be populated with the request's response once the request completes
3527// successfully.
3528//
3529// Use "Send" method on the returned Request to send the API call to the service.
3530// the "output" return value is not valid until after Send returns without error.
3531//
3532// See DeleteModelPackage for more information on using the DeleteModelPackage
3533// API call, and error handling.
3534//
3535// This method is useful when you want to inject custom logic or configuration
3536// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3537//
3538//
3539//    // Example sending a request using the DeleteModelPackageRequest method.
3540//    req, resp := client.DeleteModelPackageRequest(params)
3541//
3542//    err := req.Send()
3543//    if err == nil { // resp is now filled
3544//        fmt.Println(resp)
3545//    }
3546//
3547// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackage
3548func (c *SageMaker) DeleteModelPackageRequest(input *DeleteModelPackageInput) (req *request.Request, output *DeleteModelPackageOutput) {
3549	op := &request.Operation{
3550		Name:       opDeleteModelPackage,
3551		HTTPMethod: "POST",
3552		HTTPPath:   "/",
3553	}
3554
3555	if input == nil {
3556		input = &DeleteModelPackageInput{}
3557	}
3558
3559	output = &DeleteModelPackageOutput{}
3560	req = c.newRequest(op, input, output)
3561	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3562	return
3563}
3564
3565// DeleteModelPackage API operation for Amazon SageMaker Service.
3566//
3567// Deletes a model package.
3568//
3569// A model package is used to create Amazon SageMaker models or list on AWS
3570// Marketplace. Buyers can subscribe to model packages listed on AWS Marketplace
3571// to create models in Amazon SageMaker.
3572//
3573// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3574// with awserr.Error's Code and Message methods to get detailed information about
3575// the error.
3576//
3577// See the AWS API reference guide for Amazon SageMaker Service's
3578// API operation DeleteModelPackage for usage and error information.
3579// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackage
3580func (c *SageMaker) DeleteModelPackage(input *DeleteModelPackageInput) (*DeleteModelPackageOutput, error) {
3581	req, out := c.DeleteModelPackageRequest(input)
3582	return out, req.Send()
3583}
3584
3585// DeleteModelPackageWithContext is the same as DeleteModelPackage with the addition of
3586// the ability to pass a context and additional request options.
3587//
3588// See DeleteModelPackage for details on how to use this API operation.
3589//
3590// The context must be non-nil and will be used for request cancellation. If
3591// the context is nil a panic will occur. In the future the SDK may create
3592// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3593// for more information on using Contexts.
3594func (c *SageMaker) DeleteModelPackageWithContext(ctx aws.Context, input *DeleteModelPackageInput, opts ...request.Option) (*DeleteModelPackageOutput, error) {
3595	req, out := c.DeleteModelPackageRequest(input)
3596	req.SetContext(ctx)
3597	req.ApplyOptions(opts...)
3598	return out, req.Send()
3599}
3600
3601const opDeleteMonitoringSchedule = "DeleteMonitoringSchedule"
3602
3603// DeleteMonitoringScheduleRequest generates a "aws/request.Request" representing the
3604// client's request for the DeleteMonitoringSchedule operation. The "output" return
3605// value will be populated with the request's response once the request completes
3606// successfully.
3607//
3608// Use "Send" method on the returned Request to send the API call to the service.
3609// the "output" return value is not valid until after Send returns without error.
3610//
3611// See DeleteMonitoringSchedule for more information on using the DeleteMonitoringSchedule
3612// API call, and error handling.
3613//
3614// This method is useful when you want to inject custom logic or configuration
3615// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3616//
3617//
3618//    // Example sending a request using the DeleteMonitoringScheduleRequest method.
3619//    req, resp := client.DeleteMonitoringScheduleRequest(params)
3620//
3621//    err := req.Send()
3622//    if err == nil { // resp is now filled
3623//        fmt.Println(resp)
3624//    }
3625//
3626// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteMonitoringSchedule
3627func (c *SageMaker) DeleteMonitoringScheduleRequest(input *DeleteMonitoringScheduleInput) (req *request.Request, output *DeleteMonitoringScheduleOutput) {
3628	op := &request.Operation{
3629		Name:       opDeleteMonitoringSchedule,
3630		HTTPMethod: "POST",
3631		HTTPPath:   "/",
3632	}
3633
3634	if input == nil {
3635		input = &DeleteMonitoringScheduleInput{}
3636	}
3637
3638	output = &DeleteMonitoringScheduleOutput{}
3639	req = c.newRequest(op, input, output)
3640	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3641	return
3642}
3643
3644// DeleteMonitoringSchedule API operation for Amazon SageMaker Service.
3645//
3646// Deletes a monitoring schedule. Also stops the schedule had not already been
3647// stopped. This does not delete the job execution history of the monitoring
3648// schedule.
3649//
3650// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3651// with awserr.Error's Code and Message methods to get detailed information about
3652// the error.
3653//
3654// See the AWS API reference guide for Amazon SageMaker Service's
3655// API operation DeleteMonitoringSchedule for usage and error information.
3656//
3657// Returned Error Types:
3658//   * ResourceNotFound
3659//   Resource being access is not found.
3660//
3661// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteMonitoringSchedule
3662func (c *SageMaker) DeleteMonitoringSchedule(input *DeleteMonitoringScheduleInput) (*DeleteMonitoringScheduleOutput, error) {
3663	req, out := c.DeleteMonitoringScheduleRequest(input)
3664	return out, req.Send()
3665}
3666
3667// DeleteMonitoringScheduleWithContext is the same as DeleteMonitoringSchedule with the addition of
3668// the ability to pass a context and additional request options.
3669//
3670// See DeleteMonitoringSchedule for details on how to use this API operation.
3671//
3672// The context must be non-nil and will be used for request cancellation. If
3673// the context is nil a panic will occur. In the future the SDK may create
3674// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3675// for more information on using Contexts.
3676func (c *SageMaker) DeleteMonitoringScheduleWithContext(ctx aws.Context, input *DeleteMonitoringScheduleInput, opts ...request.Option) (*DeleteMonitoringScheduleOutput, error) {
3677	req, out := c.DeleteMonitoringScheduleRequest(input)
3678	req.SetContext(ctx)
3679	req.ApplyOptions(opts...)
3680	return out, req.Send()
3681}
3682
3683const opDeleteNotebookInstance = "DeleteNotebookInstance"
3684
3685// DeleteNotebookInstanceRequest generates a "aws/request.Request" representing the
3686// client's request for the DeleteNotebookInstance operation. The "output" return
3687// value will be populated with the request's response once the request completes
3688// successfully.
3689//
3690// Use "Send" method on the returned Request to send the API call to the service.
3691// the "output" return value is not valid until after Send returns without error.
3692//
3693// See DeleteNotebookInstance for more information on using the DeleteNotebookInstance
3694// API call, and error handling.
3695//
3696// This method is useful when you want to inject custom logic or configuration
3697// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3698//
3699//
3700//    // Example sending a request using the DeleteNotebookInstanceRequest method.
3701//    req, resp := client.DeleteNotebookInstanceRequest(params)
3702//
3703//    err := req.Send()
3704//    if err == nil { // resp is now filled
3705//        fmt.Println(resp)
3706//    }
3707//
3708// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstance
3709func (c *SageMaker) DeleteNotebookInstanceRequest(input *DeleteNotebookInstanceInput) (req *request.Request, output *DeleteNotebookInstanceOutput) {
3710	op := &request.Operation{
3711		Name:       opDeleteNotebookInstance,
3712		HTTPMethod: "POST",
3713		HTTPPath:   "/",
3714	}
3715
3716	if input == nil {
3717		input = &DeleteNotebookInstanceInput{}
3718	}
3719
3720	output = &DeleteNotebookInstanceOutput{}
3721	req = c.newRequest(op, input, output)
3722	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3723	return
3724}
3725
3726// DeleteNotebookInstance API operation for Amazon SageMaker Service.
3727//
3728// Deletes an Amazon SageMaker notebook instance. Before you can delete a notebook
3729// instance, you must call the StopNotebookInstance API.
3730//
3731// When you delete a notebook instance, you lose all of your data. Amazon SageMaker
3732// removes the ML compute instance, and deletes the ML storage volume and the
3733// network interface associated with the notebook instance.
3734//
3735// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3736// with awserr.Error's Code and Message methods to get detailed information about
3737// the error.
3738//
3739// See the AWS API reference guide for Amazon SageMaker Service's
3740// API operation DeleteNotebookInstance for usage and error information.
3741// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstance
3742func (c *SageMaker) DeleteNotebookInstance(input *DeleteNotebookInstanceInput) (*DeleteNotebookInstanceOutput, error) {
3743	req, out := c.DeleteNotebookInstanceRequest(input)
3744	return out, req.Send()
3745}
3746
3747// DeleteNotebookInstanceWithContext is the same as DeleteNotebookInstance with the addition of
3748// the ability to pass a context and additional request options.
3749//
3750// See DeleteNotebookInstance for details on how to use this API operation.
3751//
3752// The context must be non-nil and will be used for request cancellation. If
3753// the context is nil a panic will occur. In the future the SDK may create
3754// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3755// for more information on using Contexts.
3756func (c *SageMaker) DeleteNotebookInstanceWithContext(ctx aws.Context, input *DeleteNotebookInstanceInput, opts ...request.Option) (*DeleteNotebookInstanceOutput, error) {
3757	req, out := c.DeleteNotebookInstanceRequest(input)
3758	req.SetContext(ctx)
3759	req.ApplyOptions(opts...)
3760	return out, req.Send()
3761}
3762
3763const opDeleteNotebookInstanceLifecycleConfig = "DeleteNotebookInstanceLifecycleConfig"
3764
3765// DeleteNotebookInstanceLifecycleConfigRequest generates a "aws/request.Request" representing the
3766// client's request for the DeleteNotebookInstanceLifecycleConfig operation. The "output" return
3767// value will be populated with the request's response once the request completes
3768// successfully.
3769//
3770// Use "Send" method on the returned Request to send the API call to the service.
3771// the "output" return value is not valid until after Send returns without error.
3772//
3773// See DeleteNotebookInstanceLifecycleConfig for more information on using the DeleteNotebookInstanceLifecycleConfig
3774// API call, and error handling.
3775//
3776// This method is useful when you want to inject custom logic or configuration
3777// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3778//
3779//
3780//    // Example sending a request using the DeleteNotebookInstanceLifecycleConfigRequest method.
3781//    req, resp := client.DeleteNotebookInstanceLifecycleConfigRequest(params)
3782//
3783//    err := req.Send()
3784//    if err == nil { // resp is now filled
3785//        fmt.Println(resp)
3786//    }
3787//
3788// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstanceLifecycleConfig
3789func (c *SageMaker) DeleteNotebookInstanceLifecycleConfigRequest(input *DeleteNotebookInstanceLifecycleConfigInput) (req *request.Request, output *DeleteNotebookInstanceLifecycleConfigOutput) {
3790	op := &request.Operation{
3791		Name:       opDeleteNotebookInstanceLifecycleConfig,
3792		HTTPMethod: "POST",
3793		HTTPPath:   "/",
3794	}
3795
3796	if input == nil {
3797		input = &DeleteNotebookInstanceLifecycleConfigInput{}
3798	}
3799
3800	output = &DeleteNotebookInstanceLifecycleConfigOutput{}
3801	req = c.newRequest(op, input, output)
3802	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3803	return
3804}
3805
3806// DeleteNotebookInstanceLifecycleConfig API operation for Amazon SageMaker Service.
3807//
3808// Deletes a notebook instance lifecycle configuration.
3809//
3810// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3811// with awserr.Error's Code and Message methods to get detailed information about
3812// the error.
3813//
3814// See the AWS API reference guide for Amazon SageMaker Service's
3815// API operation DeleteNotebookInstanceLifecycleConfig for usage and error information.
3816// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstanceLifecycleConfig
3817func (c *SageMaker) DeleteNotebookInstanceLifecycleConfig(input *DeleteNotebookInstanceLifecycleConfigInput) (*DeleteNotebookInstanceLifecycleConfigOutput, error) {
3818	req, out := c.DeleteNotebookInstanceLifecycleConfigRequest(input)
3819	return out, req.Send()
3820}
3821
3822// DeleteNotebookInstanceLifecycleConfigWithContext is the same as DeleteNotebookInstanceLifecycleConfig with the addition of
3823// the ability to pass a context and additional request options.
3824//
3825// See DeleteNotebookInstanceLifecycleConfig for details on how to use this API operation.
3826//
3827// The context must be non-nil and will be used for request cancellation. If
3828// the context is nil a panic will occur. In the future the SDK may create
3829// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3830// for more information on using Contexts.
3831func (c *SageMaker) DeleteNotebookInstanceLifecycleConfigWithContext(ctx aws.Context, input *DeleteNotebookInstanceLifecycleConfigInput, opts ...request.Option) (*DeleteNotebookInstanceLifecycleConfigOutput, error) {
3832	req, out := c.DeleteNotebookInstanceLifecycleConfigRequest(input)
3833	req.SetContext(ctx)
3834	req.ApplyOptions(opts...)
3835	return out, req.Send()
3836}
3837
3838const opDeleteTags = "DeleteTags"
3839
3840// DeleteTagsRequest generates a "aws/request.Request" representing the
3841// client's request for the DeleteTags operation. The "output" return
3842// value will be populated with the request's response once the request completes
3843// successfully.
3844//
3845// Use "Send" method on the returned Request to send the API call to the service.
3846// the "output" return value is not valid until after Send returns without error.
3847//
3848// See DeleteTags for more information on using the DeleteTags
3849// API call, and error handling.
3850//
3851// This method is useful when you want to inject custom logic or configuration
3852// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3853//
3854//
3855//    // Example sending a request using the DeleteTagsRequest method.
3856//    req, resp := client.DeleteTagsRequest(params)
3857//
3858//    err := req.Send()
3859//    if err == nil { // resp is now filled
3860//        fmt.Println(resp)
3861//    }
3862//
3863// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTags
3864func (c *SageMaker) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput) {
3865	op := &request.Operation{
3866		Name:       opDeleteTags,
3867		HTTPMethod: "POST",
3868		HTTPPath:   "/",
3869	}
3870
3871	if input == nil {
3872		input = &DeleteTagsInput{}
3873	}
3874
3875	output = &DeleteTagsOutput{}
3876	req = c.newRequest(op, input, output)
3877	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
3878	return
3879}
3880
3881// DeleteTags API operation for Amazon SageMaker Service.
3882//
3883// Deletes the specified tags from an Amazon SageMaker resource.
3884//
3885// To list a resource's tags, use the ListTags API.
3886//
3887// When you call this API to delete tags from a hyperparameter tuning job, the
3888// deleted tags are not removed from training jobs that the hyperparameter tuning
3889// job launched before you called this API.
3890//
3891// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3892// with awserr.Error's Code and Message methods to get detailed information about
3893// the error.
3894//
3895// See the AWS API reference guide for Amazon SageMaker Service's
3896// API operation DeleteTags for usage and error information.
3897// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTags
3898func (c *SageMaker) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error) {
3899	req, out := c.DeleteTagsRequest(input)
3900	return out, req.Send()
3901}
3902
3903// DeleteTagsWithContext is the same as DeleteTags with the addition of
3904// the ability to pass a context and additional request options.
3905//
3906// See DeleteTags for details on how to use this API operation.
3907//
3908// The context must be non-nil and will be used for request cancellation. If
3909// the context is nil a panic will occur. In the future the SDK may create
3910// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3911// for more information on using Contexts.
3912func (c *SageMaker) DeleteTagsWithContext(ctx aws.Context, input *DeleteTagsInput, opts ...request.Option) (*DeleteTagsOutput, error) {
3913	req, out := c.DeleteTagsRequest(input)
3914	req.SetContext(ctx)
3915	req.ApplyOptions(opts...)
3916	return out, req.Send()
3917}
3918
3919const opDeleteTrial = "DeleteTrial"
3920
3921// DeleteTrialRequest generates a "aws/request.Request" representing the
3922// client's request for the DeleteTrial operation. The "output" return
3923// value will be populated with the request's response once the request completes
3924// successfully.
3925//
3926// Use "Send" method on the returned Request to send the API call to the service.
3927// the "output" return value is not valid until after Send returns without error.
3928//
3929// See DeleteTrial for more information on using the DeleteTrial
3930// API call, and error handling.
3931//
3932// This method is useful when you want to inject custom logic or configuration
3933// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3934//
3935//
3936//    // Example sending a request using the DeleteTrialRequest method.
3937//    req, resp := client.DeleteTrialRequest(params)
3938//
3939//    err := req.Send()
3940//    if err == nil { // resp is now filled
3941//        fmt.Println(resp)
3942//    }
3943//
3944// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrial
3945func (c *SageMaker) DeleteTrialRequest(input *DeleteTrialInput) (req *request.Request, output *DeleteTrialOutput) {
3946	op := &request.Operation{
3947		Name:       opDeleteTrial,
3948		HTTPMethod: "POST",
3949		HTTPPath:   "/",
3950	}
3951
3952	if input == nil {
3953		input = &DeleteTrialInput{}
3954	}
3955
3956	output = &DeleteTrialOutput{}
3957	req = c.newRequest(op, input, output)
3958	return
3959}
3960
3961// DeleteTrial API operation for Amazon SageMaker Service.
3962//
3963// Deletes the specified trial. All trial components that make up the trial
3964// must be deleted first. Use the DescribeTrialComponent API to get the list
3965// of trial components.
3966//
3967// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3968// with awserr.Error's Code and Message methods to get detailed information about
3969// the error.
3970//
3971// See the AWS API reference guide for Amazon SageMaker Service's
3972// API operation DeleteTrial for usage and error information.
3973//
3974// Returned Error Types:
3975//   * ResourceNotFound
3976//   Resource being access is not found.
3977//
3978// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrial
3979func (c *SageMaker) DeleteTrial(input *DeleteTrialInput) (*DeleteTrialOutput, error) {
3980	req, out := c.DeleteTrialRequest(input)
3981	return out, req.Send()
3982}
3983
3984// DeleteTrialWithContext is the same as DeleteTrial with the addition of
3985// the ability to pass a context and additional request options.
3986//
3987// See DeleteTrial for details on how to use this API operation.
3988//
3989// The context must be non-nil and will be used for request cancellation. If
3990// the context is nil a panic will occur. In the future the SDK may create
3991// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3992// for more information on using Contexts.
3993func (c *SageMaker) DeleteTrialWithContext(ctx aws.Context, input *DeleteTrialInput, opts ...request.Option) (*DeleteTrialOutput, error) {
3994	req, out := c.DeleteTrialRequest(input)
3995	req.SetContext(ctx)
3996	req.ApplyOptions(opts...)
3997	return out, req.Send()
3998}
3999
4000const opDeleteTrialComponent = "DeleteTrialComponent"
4001
4002// DeleteTrialComponentRequest generates a "aws/request.Request" representing the
4003// client's request for the DeleteTrialComponent operation. The "output" return
4004// value will be populated with the request's response once the request completes
4005// successfully.
4006//
4007// Use "Send" method on the returned Request to send the API call to the service.
4008// the "output" return value is not valid until after Send returns without error.
4009//
4010// See DeleteTrialComponent for more information on using the DeleteTrialComponent
4011// API call, and error handling.
4012//
4013// This method is useful when you want to inject custom logic or configuration
4014// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4015//
4016//
4017//    // Example sending a request using the DeleteTrialComponentRequest method.
4018//    req, resp := client.DeleteTrialComponentRequest(params)
4019//
4020//    err := req.Send()
4021//    if err == nil { // resp is now filled
4022//        fmt.Println(resp)
4023//    }
4024//
4025// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrialComponent
4026func (c *SageMaker) DeleteTrialComponentRequest(input *DeleteTrialComponentInput) (req *request.Request, output *DeleteTrialComponentOutput) {
4027	op := &request.Operation{
4028		Name:       opDeleteTrialComponent,
4029		HTTPMethod: "POST",
4030		HTTPPath:   "/",
4031	}
4032
4033	if input == nil {
4034		input = &DeleteTrialComponentInput{}
4035	}
4036
4037	output = &DeleteTrialComponentOutput{}
4038	req = c.newRequest(op, input, output)
4039	return
4040}
4041
4042// DeleteTrialComponent API operation for Amazon SageMaker Service.
4043//
4044// Deletes the specified trial component. A trial component must be disassociated
4045// from all trials before the trial component can be deleted. To disassociate
4046// a trial component from a trial, call the DisassociateTrialComponent API.
4047//
4048// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4049// with awserr.Error's Code and Message methods to get detailed information about
4050// the error.
4051//
4052// See the AWS API reference guide for Amazon SageMaker Service's
4053// API operation DeleteTrialComponent for usage and error information.
4054//
4055// Returned Error Types:
4056//   * ResourceNotFound
4057//   Resource being access is not found.
4058//
4059// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrialComponent
4060func (c *SageMaker) DeleteTrialComponent(input *DeleteTrialComponentInput) (*DeleteTrialComponentOutput, error) {
4061	req, out := c.DeleteTrialComponentRequest(input)
4062	return out, req.Send()
4063}
4064
4065// DeleteTrialComponentWithContext is the same as DeleteTrialComponent with the addition of
4066// the ability to pass a context and additional request options.
4067//
4068// See DeleteTrialComponent for details on how to use this API operation.
4069//
4070// The context must be non-nil and will be used for request cancellation. If
4071// the context is nil a panic will occur. In the future the SDK may create
4072// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4073// for more information on using Contexts.
4074func (c *SageMaker) DeleteTrialComponentWithContext(ctx aws.Context, input *DeleteTrialComponentInput, opts ...request.Option) (*DeleteTrialComponentOutput, error) {
4075	req, out := c.DeleteTrialComponentRequest(input)
4076	req.SetContext(ctx)
4077	req.ApplyOptions(opts...)
4078	return out, req.Send()
4079}
4080
4081const opDeleteUserProfile = "DeleteUserProfile"
4082
4083// DeleteUserProfileRequest generates a "aws/request.Request" representing the
4084// client's request for the DeleteUserProfile operation. The "output" return
4085// value will be populated with the request's response once the request completes
4086// successfully.
4087//
4088// Use "Send" method on the returned Request to send the API call to the service.
4089// the "output" return value is not valid until after Send returns without error.
4090//
4091// See DeleteUserProfile for more information on using the DeleteUserProfile
4092// API call, and error handling.
4093//
4094// This method is useful when you want to inject custom logic or configuration
4095// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4096//
4097//
4098//    // Example sending a request using the DeleteUserProfileRequest method.
4099//    req, resp := client.DeleteUserProfileRequest(params)
4100//
4101//    err := req.Send()
4102//    if err == nil { // resp is now filled
4103//        fmt.Println(resp)
4104//    }
4105//
4106// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteUserProfile
4107func (c *SageMaker) DeleteUserProfileRequest(input *DeleteUserProfileInput) (req *request.Request, output *DeleteUserProfileOutput) {
4108	op := &request.Operation{
4109		Name:       opDeleteUserProfile,
4110		HTTPMethod: "POST",
4111		HTTPPath:   "/",
4112	}
4113
4114	if input == nil {
4115		input = &DeleteUserProfileInput{}
4116	}
4117
4118	output = &DeleteUserProfileOutput{}
4119	req = c.newRequest(op, input, output)
4120	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4121	return
4122}
4123
4124// DeleteUserProfile API operation for Amazon SageMaker Service.
4125//
4126// Deletes a user profile. When a user profile is deleted, the user loses access
4127// to their EFS volume, including data, notebooks, and other artifacts.
4128//
4129// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4130// with awserr.Error's Code and Message methods to get detailed information about
4131// the error.
4132//
4133// See the AWS API reference guide for Amazon SageMaker Service's
4134// API operation DeleteUserProfile for usage and error information.
4135//
4136// Returned Error Types:
4137//   * ResourceInUse
4138//   Resource being accessed is in use.
4139//
4140//   * ResourceNotFound
4141//   Resource being access is not found.
4142//
4143// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteUserProfile
4144func (c *SageMaker) DeleteUserProfile(input *DeleteUserProfileInput) (*DeleteUserProfileOutput, error) {
4145	req, out := c.DeleteUserProfileRequest(input)
4146	return out, req.Send()
4147}
4148
4149// DeleteUserProfileWithContext is the same as DeleteUserProfile with the addition of
4150// the ability to pass a context and additional request options.
4151//
4152// See DeleteUserProfile for details on how to use this API operation.
4153//
4154// The context must be non-nil and will be used for request cancellation. If
4155// the context is nil a panic will occur. In the future the SDK may create
4156// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4157// for more information on using Contexts.
4158func (c *SageMaker) DeleteUserProfileWithContext(ctx aws.Context, input *DeleteUserProfileInput, opts ...request.Option) (*DeleteUserProfileOutput, error) {
4159	req, out := c.DeleteUserProfileRequest(input)
4160	req.SetContext(ctx)
4161	req.ApplyOptions(opts...)
4162	return out, req.Send()
4163}
4164
4165const opDeleteWorkteam = "DeleteWorkteam"
4166
4167// DeleteWorkteamRequest generates a "aws/request.Request" representing the
4168// client's request for the DeleteWorkteam operation. The "output" return
4169// value will be populated with the request's response once the request completes
4170// successfully.
4171//
4172// Use "Send" method on the returned Request to send the API call to the service.
4173// the "output" return value is not valid until after Send returns without error.
4174//
4175// See DeleteWorkteam for more information on using the DeleteWorkteam
4176// API call, and error handling.
4177//
4178// This method is useful when you want to inject custom logic or configuration
4179// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4180//
4181//
4182//    // Example sending a request using the DeleteWorkteamRequest method.
4183//    req, resp := client.DeleteWorkteamRequest(params)
4184//
4185//    err := req.Send()
4186//    if err == nil { // resp is now filled
4187//        fmt.Println(resp)
4188//    }
4189//
4190// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkteam
4191func (c *SageMaker) DeleteWorkteamRequest(input *DeleteWorkteamInput) (req *request.Request, output *DeleteWorkteamOutput) {
4192	op := &request.Operation{
4193		Name:       opDeleteWorkteam,
4194		HTTPMethod: "POST",
4195		HTTPPath:   "/",
4196	}
4197
4198	if input == nil {
4199		input = &DeleteWorkteamInput{}
4200	}
4201
4202	output = &DeleteWorkteamOutput{}
4203	req = c.newRequest(op, input, output)
4204	return
4205}
4206
4207// DeleteWorkteam API operation for Amazon SageMaker Service.
4208//
4209// Deletes an existing work team. This operation can't be undone.
4210//
4211// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4212// with awserr.Error's Code and Message methods to get detailed information about
4213// the error.
4214//
4215// See the AWS API reference guide for Amazon SageMaker Service's
4216// API operation DeleteWorkteam for usage and error information.
4217//
4218// Returned Error Types:
4219//   * ResourceLimitExceeded
4220//   You have exceeded an Amazon SageMaker resource limit. For example, you might
4221//   have too many training jobs created.
4222//
4223// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkteam
4224func (c *SageMaker) DeleteWorkteam(input *DeleteWorkteamInput) (*DeleteWorkteamOutput, error) {
4225	req, out := c.DeleteWorkteamRequest(input)
4226	return out, req.Send()
4227}
4228
4229// DeleteWorkteamWithContext is the same as DeleteWorkteam with the addition of
4230// the ability to pass a context and additional request options.
4231//
4232// See DeleteWorkteam for details on how to use this API operation.
4233//
4234// The context must be non-nil and will be used for request cancellation. If
4235// the context is nil a panic will occur. In the future the SDK may create
4236// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4237// for more information on using Contexts.
4238func (c *SageMaker) DeleteWorkteamWithContext(ctx aws.Context, input *DeleteWorkteamInput, opts ...request.Option) (*DeleteWorkteamOutput, error) {
4239	req, out := c.DeleteWorkteamRequest(input)
4240	req.SetContext(ctx)
4241	req.ApplyOptions(opts...)
4242	return out, req.Send()
4243}
4244
4245const opDescribeAlgorithm = "DescribeAlgorithm"
4246
4247// DescribeAlgorithmRequest generates a "aws/request.Request" representing the
4248// client's request for the DescribeAlgorithm operation. The "output" return
4249// value will be populated with the request's response once the request completes
4250// successfully.
4251//
4252// Use "Send" method on the returned Request to send the API call to the service.
4253// the "output" return value is not valid until after Send returns without error.
4254//
4255// See DescribeAlgorithm for more information on using the DescribeAlgorithm
4256// API call, and error handling.
4257//
4258// This method is useful when you want to inject custom logic or configuration
4259// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4260//
4261//
4262//    // Example sending a request using the DescribeAlgorithmRequest method.
4263//    req, resp := client.DescribeAlgorithmRequest(params)
4264//
4265//    err := req.Send()
4266//    if err == nil { // resp is now filled
4267//        fmt.Println(resp)
4268//    }
4269//
4270// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAlgorithm
4271func (c *SageMaker) DescribeAlgorithmRequest(input *DescribeAlgorithmInput) (req *request.Request, output *DescribeAlgorithmOutput) {
4272	op := &request.Operation{
4273		Name:       opDescribeAlgorithm,
4274		HTTPMethod: "POST",
4275		HTTPPath:   "/",
4276	}
4277
4278	if input == nil {
4279		input = &DescribeAlgorithmInput{}
4280	}
4281
4282	output = &DescribeAlgorithmOutput{}
4283	req = c.newRequest(op, input, output)
4284	return
4285}
4286
4287// DescribeAlgorithm API operation for Amazon SageMaker Service.
4288//
4289// Returns a description of the specified algorithm that is in your account.
4290//
4291// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4292// with awserr.Error's Code and Message methods to get detailed information about
4293// the error.
4294//
4295// See the AWS API reference guide for Amazon SageMaker Service's
4296// API operation DescribeAlgorithm for usage and error information.
4297// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAlgorithm
4298func (c *SageMaker) DescribeAlgorithm(input *DescribeAlgorithmInput) (*DescribeAlgorithmOutput, error) {
4299	req, out := c.DescribeAlgorithmRequest(input)
4300	return out, req.Send()
4301}
4302
4303// DescribeAlgorithmWithContext is the same as DescribeAlgorithm with the addition of
4304// the ability to pass a context and additional request options.
4305//
4306// See DescribeAlgorithm for details on how to use this API operation.
4307//
4308// The context must be non-nil and will be used for request cancellation. If
4309// the context is nil a panic will occur. In the future the SDK may create
4310// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4311// for more information on using Contexts.
4312func (c *SageMaker) DescribeAlgorithmWithContext(ctx aws.Context, input *DescribeAlgorithmInput, opts ...request.Option) (*DescribeAlgorithmOutput, error) {
4313	req, out := c.DescribeAlgorithmRequest(input)
4314	req.SetContext(ctx)
4315	req.ApplyOptions(opts...)
4316	return out, req.Send()
4317}
4318
4319const opDescribeApp = "DescribeApp"
4320
4321// DescribeAppRequest generates a "aws/request.Request" representing the
4322// client's request for the DescribeApp operation. The "output" return
4323// value will be populated with the request's response once the request completes
4324// successfully.
4325//
4326// Use "Send" method on the returned Request to send the API call to the service.
4327// the "output" return value is not valid until after Send returns without error.
4328//
4329// See DescribeApp for more information on using the DescribeApp
4330// API call, and error handling.
4331//
4332// This method is useful when you want to inject custom logic or configuration
4333// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4334//
4335//
4336//    // Example sending a request using the DescribeAppRequest method.
4337//    req, resp := client.DescribeAppRequest(params)
4338//
4339//    err := req.Send()
4340//    if err == nil { // resp is now filled
4341//        fmt.Println(resp)
4342//    }
4343//
4344// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeApp
4345func (c *SageMaker) DescribeAppRequest(input *DescribeAppInput) (req *request.Request, output *DescribeAppOutput) {
4346	op := &request.Operation{
4347		Name:       opDescribeApp,
4348		HTTPMethod: "POST",
4349		HTTPPath:   "/",
4350	}
4351
4352	if input == nil {
4353		input = &DescribeAppInput{}
4354	}
4355
4356	output = &DescribeAppOutput{}
4357	req = c.newRequest(op, input, output)
4358	return
4359}
4360
4361// DescribeApp API operation for Amazon SageMaker Service.
4362//
4363// Describes the app.
4364//
4365// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4366// with awserr.Error's Code and Message methods to get detailed information about
4367// the error.
4368//
4369// See the AWS API reference guide for Amazon SageMaker Service's
4370// API operation DescribeApp for usage and error information.
4371//
4372// Returned Error Types:
4373//   * ResourceNotFound
4374//   Resource being access is not found.
4375//
4376// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeApp
4377func (c *SageMaker) DescribeApp(input *DescribeAppInput) (*DescribeAppOutput, error) {
4378	req, out := c.DescribeAppRequest(input)
4379	return out, req.Send()
4380}
4381
4382// DescribeAppWithContext is the same as DescribeApp with the addition of
4383// the ability to pass a context and additional request options.
4384//
4385// See DescribeApp for details on how to use this API operation.
4386//
4387// The context must be non-nil and will be used for request cancellation. If
4388// the context is nil a panic will occur. In the future the SDK may create
4389// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4390// for more information on using Contexts.
4391func (c *SageMaker) DescribeAppWithContext(ctx aws.Context, input *DescribeAppInput, opts ...request.Option) (*DescribeAppOutput, error) {
4392	req, out := c.DescribeAppRequest(input)
4393	req.SetContext(ctx)
4394	req.ApplyOptions(opts...)
4395	return out, req.Send()
4396}
4397
4398const opDescribeAutoMLJob = "DescribeAutoMLJob"
4399
4400// DescribeAutoMLJobRequest generates a "aws/request.Request" representing the
4401// client's request for the DescribeAutoMLJob operation. The "output" return
4402// value will be populated with the request's response once the request completes
4403// successfully.
4404//
4405// Use "Send" method on the returned Request to send the API call to the service.
4406// the "output" return value is not valid until after Send returns without error.
4407//
4408// See DescribeAutoMLJob for more information on using the DescribeAutoMLJob
4409// API call, and error handling.
4410//
4411// This method is useful when you want to inject custom logic or configuration
4412// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4413//
4414//
4415//    // Example sending a request using the DescribeAutoMLJobRequest method.
4416//    req, resp := client.DescribeAutoMLJobRequest(params)
4417//
4418//    err := req.Send()
4419//    if err == nil { // resp is now filled
4420//        fmt.Println(resp)
4421//    }
4422//
4423// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAutoMLJob
4424func (c *SageMaker) DescribeAutoMLJobRequest(input *DescribeAutoMLJobInput) (req *request.Request, output *DescribeAutoMLJobOutput) {
4425	op := &request.Operation{
4426		Name:       opDescribeAutoMLJob,
4427		HTTPMethod: "POST",
4428		HTTPPath:   "/",
4429	}
4430
4431	if input == nil {
4432		input = &DescribeAutoMLJobInput{}
4433	}
4434
4435	output = &DescribeAutoMLJobOutput{}
4436	req = c.newRequest(op, input, output)
4437	return
4438}
4439
4440// DescribeAutoMLJob API operation for Amazon SageMaker Service.
4441//
4442// Returns information about an Amazon SageMaker job.
4443//
4444// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4445// with awserr.Error's Code and Message methods to get detailed information about
4446// the error.
4447//
4448// See the AWS API reference guide for Amazon SageMaker Service's
4449// API operation DescribeAutoMLJob for usage and error information.
4450//
4451// Returned Error Types:
4452//   * ResourceNotFound
4453//   Resource being access is not found.
4454//
4455// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAutoMLJob
4456func (c *SageMaker) DescribeAutoMLJob(input *DescribeAutoMLJobInput) (*DescribeAutoMLJobOutput, error) {
4457	req, out := c.DescribeAutoMLJobRequest(input)
4458	return out, req.Send()
4459}
4460
4461// DescribeAutoMLJobWithContext is the same as DescribeAutoMLJob with the addition of
4462// the ability to pass a context and additional request options.
4463//
4464// See DescribeAutoMLJob for details on how to use this API operation.
4465//
4466// The context must be non-nil and will be used for request cancellation. If
4467// the context is nil a panic will occur. In the future the SDK may create
4468// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4469// for more information on using Contexts.
4470func (c *SageMaker) DescribeAutoMLJobWithContext(ctx aws.Context, input *DescribeAutoMLJobInput, opts ...request.Option) (*DescribeAutoMLJobOutput, error) {
4471	req, out := c.DescribeAutoMLJobRequest(input)
4472	req.SetContext(ctx)
4473	req.ApplyOptions(opts...)
4474	return out, req.Send()
4475}
4476
4477const opDescribeCodeRepository = "DescribeCodeRepository"
4478
4479// DescribeCodeRepositoryRequest generates a "aws/request.Request" representing the
4480// client's request for the DescribeCodeRepository operation. The "output" return
4481// value will be populated with the request's response once the request completes
4482// successfully.
4483//
4484// Use "Send" method on the returned Request to send the API call to the service.
4485// the "output" return value is not valid until after Send returns without error.
4486//
4487// See DescribeCodeRepository for more information on using the DescribeCodeRepository
4488// API call, and error handling.
4489//
4490// This method is useful when you want to inject custom logic or configuration
4491// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4492//
4493//
4494//    // Example sending a request using the DescribeCodeRepositoryRequest method.
4495//    req, resp := client.DescribeCodeRepositoryRequest(params)
4496//
4497//    err := req.Send()
4498//    if err == nil { // resp is now filled
4499//        fmt.Println(resp)
4500//    }
4501//
4502// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCodeRepository
4503func (c *SageMaker) DescribeCodeRepositoryRequest(input *DescribeCodeRepositoryInput) (req *request.Request, output *DescribeCodeRepositoryOutput) {
4504	op := &request.Operation{
4505		Name:       opDescribeCodeRepository,
4506		HTTPMethod: "POST",
4507		HTTPPath:   "/",
4508	}
4509
4510	if input == nil {
4511		input = &DescribeCodeRepositoryInput{}
4512	}
4513
4514	output = &DescribeCodeRepositoryOutput{}
4515	req = c.newRequest(op, input, output)
4516	return
4517}
4518
4519// DescribeCodeRepository API operation for Amazon SageMaker Service.
4520//
4521// Gets details about the specified Git repository.
4522//
4523// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4524// with awserr.Error's Code and Message methods to get detailed information about
4525// the error.
4526//
4527// See the AWS API reference guide for Amazon SageMaker Service's
4528// API operation DescribeCodeRepository for usage and error information.
4529// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCodeRepository
4530func (c *SageMaker) DescribeCodeRepository(input *DescribeCodeRepositoryInput) (*DescribeCodeRepositoryOutput, error) {
4531	req, out := c.DescribeCodeRepositoryRequest(input)
4532	return out, req.Send()
4533}
4534
4535// DescribeCodeRepositoryWithContext is the same as DescribeCodeRepository with the addition of
4536// the ability to pass a context and additional request options.
4537//
4538// See DescribeCodeRepository for details on how to use this API operation.
4539//
4540// The context must be non-nil and will be used for request cancellation. If
4541// the context is nil a panic will occur. In the future the SDK may create
4542// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4543// for more information on using Contexts.
4544func (c *SageMaker) DescribeCodeRepositoryWithContext(ctx aws.Context, input *DescribeCodeRepositoryInput, opts ...request.Option) (*DescribeCodeRepositoryOutput, error) {
4545	req, out := c.DescribeCodeRepositoryRequest(input)
4546	req.SetContext(ctx)
4547	req.ApplyOptions(opts...)
4548	return out, req.Send()
4549}
4550
4551const opDescribeCompilationJob = "DescribeCompilationJob"
4552
4553// DescribeCompilationJobRequest generates a "aws/request.Request" representing the
4554// client's request for the DescribeCompilationJob operation. The "output" return
4555// value will be populated with the request's response once the request completes
4556// successfully.
4557//
4558// Use "Send" method on the returned Request to send the API call to the service.
4559// the "output" return value is not valid until after Send returns without error.
4560//
4561// See DescribeCompilationJob for more information on using the DescribeCompilationJob
4562// API call, and error handling.
4563//
4564// This method is useful when you want to inject custom logic or configuration
4565// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4566//
4567//
4568//    // Example sending a request using the DescribeCompilationJobRequest method.
4569//    req, resp := client.DescribeCompilationJobRequest(params)
4570//
4571//    err := req.Send()
4572//    if err == nil { // resp is now filled
4573//        fmt.Println(resp)
4574//    }
4575//
4576// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCompilationJob
4577func (c *SageMaker) DescribeCompilationJobRequest(input *DescribeCompilationJobInput) (req *request.Request, output *DescribeCompilationJobOutput) {
4578	op := &request.Operation{
4579		Name:       opDescribeCompilationJob,
4580		HTTPMethod: "POST",
4581		HTTPPath:   "/",
4582	}
4583
4584	if input == nil {
4585		input = &DescribeCompilationJobInput{}
4586	}
4587
4588	output = &DescribeCompilationJobOutput{}
4589	req = c.newRequest(op, input, output)
4590	return
4591}
4592
4593// DescribeCompilationJob API operation for Amazon SageMaker Service.
4594//
4595// Returns information about a model compilation job.
4596//
4597// To create a model compilation job, use CreateCompilationJob. To get information
4598// about multiple model compilation jobs, use ListCompilationJobs.
4599//
4600// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4601// with awserr.Error's Code and Message methods to get detailed information about
4602// the error.
4603//
4604// See the AWS API reference guide for Amazon SageMaker Service's
4605// API operation DescribeCompilationJob for usage and error information.
4606//
4607// Returned Error Types:
4608//   * ResourceNotFound
4609//   Resource being access is not found.
4610//
4611// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCompilationJob
4612func (c *SageMaker) DescribeCompilationJob(input *DescribeCompilationJobInput) (*DescribeCompilationJobOutput, error) {
4613	req, out := c.DescribeCompilationJobRequest(input)
4614	return out, req.Send()
4615}
4616
4617// DescribeCompilationJobWithContext is the same as DescribeCompilationJob with the addition of
4618// the ability to pass a context and additional request options.
4619//
4620// See DescribeCompilationJob for details on how to use this API operation.
4621//
4622// The context must be non-nil and will be used for request cancellation. If
4623// the context is nil a panic will occur. In the future the SDK may create
4624// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4625// for more information on using Contexts.
4626func (c *SageMaker) DescribeCompilationJobWithContext(ctx aws.Context, input *DescribeCompilationJobInput, opts ...request.Option) (*DescribeCompilationJobOutput, error) {
4627	req, out := c.DescribeCompilationJobRequest(input)
4628	req.SetContext(ctx)
4629	req.ApplyOptions(opts...)
4630	return out, req.Send()
4631}
4632
4633const opDescribeDomain = "DescribeDomain"
4634
4635// DescribeDomainRequest generates a "aws/request.Request" representing the
4636// client's request for the DescribeDomain operation. The "output" return
4637// value will be populated with the request's response once the request completes
4638// successfully.
4639//
4640// Use "Send" method on the returned Request to send the API call to the service.
4641// the "output" return value is not valid until after Send returns without error.
4642//
4643// See DescribeDomain for more information on using the DescribeDomain
4644// API call, and error handling.
4645//
4646// This method is useful when you want to inject custom logic or configuration
4647// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4648//
4649//
4650//    // Example sending a request using the DescribeDomainRequest method.
4651//    req, resp := client.DescribeDomainRequest(params)
4652//
4653//    err := req.Send()
4654//    if err == nil { // resp is now filled
4655//        fmt.Println(resp)
4656//    }
4657//
4658// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDomain
4659func (c *SageMaker) DescribeDomainRequest(input *DescribeDomainInput) (req *request.Request, output *DescribeDomainOutput) {
4660	op := &request.Operation{
4661		Name:       opDescribeDomain,
4662		HTTPMethod: "POST",
4663		HTTPPath:   "/",
4664	}
4665
4666	if input == nil {
4667		input = &DescribeDomainInput{}
4668	}
4669
4670	output = &DescribeDomainOutput{}
4671	req = c.newRequest(op, input, output)
4672	return
4673}
4674
4675// DescribeDomain API operation for Amazon SageMaker Service.
4676//
4677// The description of the domain.
4678//
4679// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4680// with awserr.Error's Code and Message methods to get detailed information about
4681// the error.
4682//
4683// See the AWS API reference guide for Amazon SageMaker Service's
4684// API operation DescribeDomain for usage and error information.
4685//
4686// Returned Error Types:
4687//   * ResourceNotFound
4688//   Resource being access is not found.
4689//
4690// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDomain
4691func (c *SageMaker) DescribeDomain(input *DescribeDomainInput) (*DescribeDomainOutput, error) {
4692	req, out := c.DescribeDomainRequest(input)
4693	return out, req.Send()
4694}
4695
4696// DescribeDomainWithContext is the same as DescribeDomain with the addition of
4697// the ability to pass a context and additional request options.
4698//
4699// See DescribeDomain for details on how to use this API operation.
4700//
4701// The context must be non-nil and will be used for request cancellation. If
4702// the context is nil a panic will occur. In the future the SDK may create
4703// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4704// for more information on using Contexts.
4705func (c *SageMaker) DescribeDomainWithContext(ctx aws.Context, input *DescribeDomainInput, opts ...request.Option) (*DescribeDomainOutput, error) {
4706	req, out := c.DescribeDomainRequest(input)
4707	req.SetContext(ctx)
4708	req.ApplyOptions(opts...)
4709	return out, req.Send()
4710}
4711
4712const opDescribeEndpoint = "DescribeEndpoint"
4713
4714// DescribeEndpointRequest generates a "aws/request.Request" representing the
4715// client's request for the DescribeEndpoint operation. The "output" return
4716// value will be populated with the request's response once the request completes
4717// successfully.
4718//
4719// Use "Send" method on the returned Request to send the API call to the service.
4720// the "output" return value is not valid until after Send returns without error.
4721//
4722// See DescribeEndpoint for more information on using the DescribeEndpoint
4723// API call, and error handling.
4724//
4725// This method is useful when you want to inject custom logic or configuration
4726// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4727//
4728//
4729//    // Example sending a request using the DescribeEndpointRequest method.
4730//    req, resp := client.DescribeEndpointRequest(params)
4731//
4732//    err := req.Send()
4733//    if err == nil { // resp is now filled
4734//        fmt.Println(resp)
4735//    }
4736//
4737// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpoint
4738func (c *SageMaker) DescribeEndpointRequest(input *DescribeEndpointInput) (req *request.Request, output *DescribeEndpointOutput) {
4739	op := &request.Operation{
4740		Name:       opDescribeEndpoint,
4741		HTTPMethod: "POST",
4742		HTTPPath:   "/",
4743	}
4744
4745	if input == nil {
4746		input = &DescribeEndpointInput{}
4747	}
4748
4749	output = &DescribeEndpointOutput{}
4750	req = c.newRequest(op, input, output)
4751	return
4752}
4753
4754// DescribeEndpoint API operation for Amazon SageMaker Service.
4755//
4756// Returns the description of an endpoint.
4757//
4758// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4759// with awserr.Error's Code and Message methods to get detailed information about
4760// the error.
4761//
4762// See the AWS API reference guide for Amazon SageMaker Service's
4763// API operation DescribeEndpoint for usage and error information.
4764// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpoint
4765func (c *SageMaker) DescribeEndpoint(input *DescribeEndpointInput) (*DescribeEndpointOutput, error) {
4766	req, out := c.DescribeEndpointRequest(input)
4767	return out, req.Send()
4768}
4769
4770// DescribeEndpointWithContext is the same as DescribeEndpoint with the addition of
4771// the ability to pass a context and additional request options.
4772//
4773// See DescribeEndpoint for details on how to use this API operation.
4774//
4775// The context must be non-nil and will be used for request cancellation. If
4776// the context is nil a panic will occur. In the future the SDK may create
4777// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4778// for more information on using Contexts.
4779func (c *SageMaker) DescribeEndpointWithContext(ctx aws.Context, input *DescribeEndpointInput, opts ...request.Option) (*DescribeEndpointOutput, error) {
4780	req, out := c.DescribeEndpointRequest(input)
4781	req.SetContext(ctx)
4782	req.ApplyOptions(opts...)
4783	return out, req.Send()
4784}
4785
4786const opDescribeEndpointConfig = "DescribeEndpointConfig"
4787
4788// DescribeEndpointConfigRequest generates a "aws/request.Request" representing the
4789// client's request for the DescribeEndpointConfig operation. The "output" return
4790// value will be populated with the request's response once the request completes
4791// successfully.
4792//
4793// Use "Send" method on the returned Request to send the API call to the service.
4794// the "output" return value is not valid until after Send returns without error.
4795//
4796// See DescribeEndpointConfig for more information on using the DescribeEndpointConfig
4797// API call, and error handling.
4798//
4799// This method is useful when you want to inject custom logic or configuration
4800// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4801//
4802//
4803//    // Example sending a request using the DescribeEndpointConfigRequest method.
4804//    req, resp := client.DescribeEndpointConfigRequest(params)
4805//
4806//    err := req.Send()
4807//    if err == nil { // resp is now filled
4808//        fmt.Println(resp)
4809//    }
4810//
4811// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointConfig
4812func (c *SageMaker) DescribeEndpointConfigRequest(input *DescribeEndpointConfigInput) (req *request.Request, output *DescribeEndpointConfigOutput) {
4813	op := &request.Operation{
4814		Name:       opDescribeEndpointConfig,
4815		HTTPMethod: "POST",
4816		HTTPPath:   "/",
4817	}
4818
4819	if input == nil {
4820		input = &DescribeEndpointConfigInput{}
4821	}
4822
4823	output = &DescribeEndpointConfigOutput{}
4824	req = c.newRequest(op, input, output)
4825	return
4826}
4827
4828// DescribeEndpointConfig API operation for Amazon SageMaker Service.
4829//
4830// Returns the description of an endpoint configuration created using the CreateEndpointConfig
4831// API.
4832//
4833// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4834// with awserr.Error's Code and Message methods to get detailed information about
4835// the error.
4836//
4837// See the AWS API reference guide for Amazon SageMaker Service's
4838// API operation DescribeEndpointConfig for usage and error information.
4839// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointConfig
4840func (c *SageMaker) DescribeEndpointConfig(input *DescribeEndpointConfigInput) (*DescribeEndpointConfigOutput, error) {
4841	req, out := c.DescribeEndpointConfigRequest(input)
4842	return out, req.Send()
4843}
4844
4845// DescribeEndpointConfigWithContext is the same as DescribeEndpointConfig with the addition of
4846// the ability to pass a context and additional request options.
4847//
4848// See DescribeEndpointConfig for details on how to use this API operation.
4849//
4850// The context must be non-nil and will be used for request cancellation. If
4851// the context is nil a panic will occur. In the future the SDK may create
4852// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4853// for more information on using Contexts.
4854func (c *SageMaker) DescribeEndpointConfigWithContext(ctx aws.Context, input *DescribeEndpointConfigInput, opts ...request.Option) (*DescribeEndpointConfigOutput, error) {
4855	req, out := c.DescribeEndpointConfigRequest(input)
4856	req.SetContext(ctx)
4857	req.ApplyOptions(opts...)
4858	return out, req.Send()
4859}
4860
4861const opDescribeExperiment = "DescribeExperiment"
4862
4863// DescribeExperimentRequest generates a "aws/request.Request" representing the
4864// client's request for the DescribeExperiment operation. The "output" return
4865// value will be populated with the request's response once the request completes
4866// successfully.
4867//
4868// Use "Send" method on the returned Request to send the API call to the service.
4869// the "output" return value is not valid until after Send returns without error.
4870//
4871// See DescribeExperiment for more information on using the DescribeExperiment
4872// API call, and error handling.
4873//
4874// This method is useful when you want to inject custom logic or configuration
4875// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4876//
4877//
4878//    // Example sending a request using the DescribeExperimentRequest method.
4879//    req, resp := client.DescribeExperimentRequest(params)
4880//
4881//    err := req.Send()
4882//    if err == nil { // resp is now filled
4883//        fmt.Println(resp)
4884//    }
4885//
4886// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeExperiment
4887func (c *SageMaker) DescribeExperimentRequest(input *DescribeExperimentInput) (req *request.Request, output *DescribeExperimentOutput) {
4888	op := &request.Operation{
4889		Name:       opDescribeExperiment,
4890		HTTPMethod: "POST",
4891		HTTPPath:   "/",
4892	}
4893
4894	if input == nil {
4895		input = &DescribeExperimentInput{}
4896	}
4897
4898	output = &DescribeExperimentOutput{}
4899	req = c.newRequest(op, input, output)
4900	return
4901}
4902
4903// DescribeExperiment API operation for Amazon SageMaker Service.
4904//
4905// Provides a list of an experiment's properties.
4906//
4907// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4908// with awserr.Error's Code and Message methods to get detailed information about
4909// the error.
4910//
4911// See the AWS API reference guide for Amazon SageMaker Service's
4912// API operation DescribeExperiment for usage and error information.
4913//
4914// Returned Error Types:
4915//   * ResourceNotFound
4916//   Resource being access is not found.
4917//
4918// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeExperiment
4919func (c *SageMaker) DescribeExperiment(input *DescribeExperimentInput) (*DescribeExperimentOutput, error) {
4920	req, out := c.DescribeExperimentRequest(input)
4921	return out, req.Send()
4922}
4923
4924// DescribeExperimentWithContext is the same as DescribeExperiment with the addition of
4925// the ability to pass a context and additional request options.
4926//
4927// See DescribeExperiment for details on how to use this API operation.
4928//
4929// The context must be non-nil and will be used for request cancellation. If
4930// the context is nil a panic will occur. In the future the SDK may create
4931// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4932// for more information on using Contexts.
4933func (c *SageMaker) DescribeExperimentWithContext(ctx aws.Context, input *DescribeExperimentInput, opts ...request.Option) (*DescribeExperimentOutput, error) {
4934	req, out := c.DescribeExperimentRequest(input)
4935	req.SetContext(ctx)
4936	req.ApplyOptions(opts...)
4937	return out, req.Send()
4938}
4939
4940const opDescribeFlowDefinition = "DescribeFlowDefinition"
4941
4942// DescribeFlowDefinitionRequest generates a "aws/request.Request" representing the
4943// client's request for the DescribeFlowDefinition operation. The "output" return
4944// value will be populated with the request's response once the request completes
4945// successfully.
4946//
4947// Use "Send" method on the returned Request to send the API call to the service.
4948// the "output" return value is not valid until after Send returns without error.
4949//
4950// See DescribeFlowDefinition for more information on using the DescribeFlowDefinition
4951// API call, and error handling.
4952//
4953// This method is useful when you want to inject custom logic or configuration
4954// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4955//
4956//
4957//    // Example sending a request using the DescribeFlowDefinitionRequest method.
4958//    req, resp := client.DescribeFlowDefinitionRequest(params)
4959//
4960//    err := req.Send()
4961//    if err == nil { // resp is now filled
4962//        fmt.Println(resp)
4963//    }
4964//
4965// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeFlowDefinition
4966func (c *SageMaker) DescribeFlowDefinitionRequest(input *DescribeFlowDefinitionInput) (req *request.Request, output *DescribeFlowDefinitionOutput) {
4967	op := &request.Operation{
4968		Name:       opDescribeFlowDefinition,
4969		HTTPMethod: "POST",
4970		HTTPPath:   "/",
4971	}
4972
4973	if input == nil {
4974		input = &DescribeFlowDefinitionInput{}
4975	}
4976
4977	output = &DescribeFlowDefinitionOutput{}
4978	req = c.newRequest(op, input, output)
4979	return
4980}
4981
4982// DescribeFlowDefinition API operation for Amazon SageMaker Service.
4983//
4984// Returns information about the specified flow definition.
4985//
4986// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4987// with awserr.Error's Code and Message methods to get detailed information about
4988// the error.
4989//
4990// See the AWS API reference guide for Amazon SageMaker Service's
4991// API operation DescribeFlowDefinition for usage and error information.
4992//
4993// Returned Error Types:
4994//   * ResourceNotFound
4995//   Resource being access is not found.
4996//
4997// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeFlowDefinition
4998func (c *SageMaker) DescribeFlowDefinition(input *DescribeFlowDefinitionInput) (*DescribeFlowDefinitionOutput, error) {
4999	req, out := c.DescribeFlowDefinitionRequest(input)
5000	return out, req.Send()
5001}
5002
5003// DescribeFlowDefinitionWithContext is the same as DescribeFlowDefinition with the addition of
5004// the ability to pass a context and additional request options.
5005//
5006// See DescribeFlowDefinition for details on how to use this API operation.
5007//
5008// The context must be non-nil and will be used for request cancellation. If
5009// the context is nil a panic will occur. In the future the SDK may create
5010// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5011// for more information on using Contexts.
5012func (c *SageMaker) DescribeFlowDefinitionWithContext(ctx aws.Context, input *DescribeFlowDefinitionInput, opts ...request.Option) (*DescribeFlowDefinitionOutput, error) {
5013	req, out := c.DescribeFlowDefinitionRequest(input)
5014	req.SetContext(ctx)
5015	req.ApplyOptions(opts...)
5016	return out, req.Send()
5017}
5018
5019const opDescribeHumanTaskUi = "DescribeHumanTaskUi"
5020
5021// DescribeHumanTaskUiRequest generates a "aws/request.Request" representing the
5022// client's request for the DescribeHumanTaskUi operation. The "output" return
5023// value will be populated with the request's response once the request completes
5024// successfully.
5025//
5026// Use "Send" method on the returned Request to send the API call to the service.
5027// the "output" return value is not valid until after Send returns without error.
5028//
5029// See DescribeHumanTaskUi for more information on using the DescribeHumanTaskUi
5030// API call, and error handling.
5031//
5032// This method is useful when you want to inject custom logic or configuration
5033// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5034//
5035//
5036//    // Example sending a request using the DescribeHumanTaskUiRequest method.
5037//    req, resp := client.DescribeHumanTaskUiRequest(params)
5038//
5039//    err := req.Send()
5040//    if err == nil { // resp is now filled
5041//        fmt.Println(resp)
5042//    }
5043//
5044// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHumanTaskUi
5045func (c *SageMaker) DescribeHumanTaskUiRequest(input *DescribeHumanTaskUiInput) (req *request.Request, output *DescribeHumanTaskUiOutput) {
5046	op := &request.Operation{
5047		Name:       opDescribeHumanTaskUi,
5048		HTTPMethod: "POST",
5049		HTTPPath:   "/",
5050	}
5051
5052	if input == nil {
5053		input = &DescribeHumanTaskUiInput{}
5054	}
5055
5056	output = &DescribeHumanTaskUiOutput{}
5057	req = c.newRequest(op, input, output)
5058	return
5059}
5060
5061// DescribeHumanTaskUi API operation for Amazon SageMaker Service.
5062//
5063// Returns information about the requested human task user interface.
5064//
5065// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5066// with awserr.Error's Code and Message methods to get detailed information about
5067// the error.
5068//
5069// See the AWS API reference guide for Amazon SageMaker Service's
5070// API operation DescribeHumanTaskUi for usage and error information.
5071//
5072// Returned Error Types:
5073//   * ResourceNotFound
5074//   Resource being access is not found.
5075//
5076// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHumanTaskUi
5077func (c *SageMaker) DescribeHumanTaskUi(input *DescribeHumanTaskUiInput) (*DescribeHumanTaskUiOutput, error) {
5078	req, out := c.DescribeHumanTaskUiRequest(input)
5079	return out, req.Send()
5080}
5081
5082// DescribeHumanTaskUiWithContext is the same as DescribeHumanTaskUi with the addition of
5083// the ability to pass a context and additional request options.
5084//
5085// See DescribeHumanTaskUi for details on how to use this API operation.
5086//
5087// The context must be non-nil and will be used for request cancellation. If
5088// the context is nil a panic will occur. In the future the SDK may create
5089// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5090// for more information on using Contexts.
5091func (c *SageMaker) DescribeHumanTaskUiWithContext(ctx aws.Context, input *DescribeHumanTaskUiInput, opts ...request.Option) (*DescribeHumanTaskUiOutput, error) {
5092	req, out := c.DescribeHumanTaskUiRequest(input)
5093	req.SetContext(ctx)
5094	req.ApplyOptions(opts...)
5095	return out, req.Send()
5096}
5097
5098const opDescribeHyperParameterTuningJob = "DescribeHyperParameterTuningJob"
5099
5100// DescribeHyperParameterTuningJobRequest generates a "aws/request.Request" representing the
5101// client's request for the DescribeHyperParameterTuningJob operation. The "output" return
5102// value will be populated with the request's response once the request completes
5103// successfully.
5104//
5105// Use "Send" method on the returned Request to send the API call to the service.
5106// the "output" return value is not valid until after Send returns without error.
5107//
5108// See DescribeHyperParameterTuningJob for more information on using the DescribeHyperParameterTuningJob
5109// API call, and error handling.
5110//
5111// This method is useful when you want to inject custom logic or configuration
5112// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5113//
5114//
5115//    // Example sending a request using the DescribeHyperParameterTuningJobRequest method.
5116//    req, resp := client.DescribeHyperParameterTuningJobRequest(params)
5117//
5118//    err := req.Send()
5119//    if err == nil { // resp is now filled
5120//        fmt.Println(resp)
5121//    }
5122//
5123// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHyperParameterTuningJob
5124func (c *SageMaker) DescribeHyperParameterTuningJobRequest(input *DescribeHyperParameterTuningJobInput) (req *request.Request, output *DescribeHyperParameterTuningJobOutput) {
5125	op := &request.Operation{
5126		Name:       opDescribeHyperParameterTuningJob,
5127		HTTPMethod: "POST",
5128		HTTPPath:   "/",
5129	}
5130
5131	if input == nil {
5132		input = &DescribeHyperParameterTuningJobInput{}
5133	}
5134
5135	output = &DescribeHyperParameterTuningJobOutput{}
5136	req = c.newRequest(op, input, output)
5137	return
5138}
5139
5140// DescribeHyperParameterTuningJob API operation for Amazon SageMaker Service.
5141//
5142// Gets a description of a hyperparameter tuning job.
5143//
5144// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5145// with awserr.Error's Code and Message methods to get detailed information about
5146// the error.
5147//
5148// See the AWS API reference guide for Amazon SageMaker Service's
5149// API operation DescribeHyperParameterTuningJob for usage and error information.
5150//
5151// Returned Error Types:
5152//   * ResourceNotFound
5153//   Resource being access is not found.
5154//
5155// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHyperParameterTuningJob
5156func (c *SageMaker) DescribeHyperParameterTuningJob(input *DescribeHyperParameterTuningJobInput) (*DescribeHyperParameterTuningJobOutput, error) {
5157	req, out := c.DescribeHyperParameterTuningJobRequest(input)
5158	return out, req.Send()
5159}
5160
5161// DescribeHyperParameterTuningJobWithContext is the same as DescribeHyperParameterTuningJob with the addition of
5162// the ability to pass a context and additional request options.
5163//
5164// See DescribeHyperParameterTuningJob for details on how to use this API operation.
5165//
5166// The context must be non-nil and will be used for request cancellation. If
5167// the context is nil a panic will occur. In the future the SDK may create
5168// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5169// for more information on using Contexts.
5170func (c *SageMaker) DescribeHyperParameterTuningJobWithContext(ctx aws.Context, input *DescribeHyperParameterTuningJobInput, opts ...request.Option) (*DescribeHyperParameterTuningJobOutput, error) {
5171	req, out := c.DescribeHyperParameterTuningJobRequest(input)
5172	req.SetContext(ctx)
5173	req.ApplyOptions(opts...)
5174	return out, req.Send()
5175}
5176
5177const opDescribeLabelingJob = "DescribeLabelingJob"
5178
5179// DescribeLabelingJobRequest generates a "aws/request.Request" representing the
5180// client's request for the DescribeLabelingJob operation. The "output" return
5181// value will be populated with the request's response once the request completes
5182// successfully.
5183//
5184// Use "Send" method on the returned Request to send the API call to the service.
5185// the "output" return value is not valid until after Send returns without error.
5186//
5187// See DescribeLabelingJob for more information on using the DescribeLabelingJob
5188// API call, and error handling.
5189//
5190// This method is useful when you want to inject custom logic or configuration
5191// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5192//
5193//
5194//    // Example sending a request using the DescribeLabelingJobRequest method.
5195//    req, resp := client.DescribeLabelingJobRequest(params)
5196//
5197//    err := req.Send()
5198//    if err == nil { // resp is now filled
5199//        fmt.Println(resp)
5200//    }
5201//
5202// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeLabelingJob
5203func (c *SageMaker) DescribeLabelingJobRequest(input *DescribeLabelingJobInput) (req *request.Request, output *DescribeLabelingJobOutput) {
5204	op := &request.Operation{
5205		Name:       opDescribeLabelingJob,
5206		HTTPMethod: "POST",
5207		HTTPPath:   "/",
5208	}
5209
5210	if input == nil {
5211		input = &DescribeLabelingJobInput{}
5212	}
5213
5214	output = &DescribeLabelingJobOutput{}
5215	req = c.newRequest(op, input, output)
5216	return
5217}
5218
5219// DescribeLabelingJob API operation for Amazon SageMaker Service.
5220//
5221// Gets information about a labeling job.
5222//
5223// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5224// with awserr.Error's Code and Message methods to get detailed information about
5225// the error.
5226//
5227// See the AWS API reference guide for Amazon SageMaker Service's
5228// API operation DescribeLabelingJob for usage and error information.
5229//
5230// Returned Error Types:
5231//   * ResourceNotFound
5232//   Resource being access is not found.
5233//
5234// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeLabelingJob
5235func (c *SageMaker) DescribeLabelingJob(input *DescribeLabelingJobInput) (*DescribeLabelingJobOutput, error) {
5236	req, out := c.DescribeLabelingJobRequest(input)
5237	return out, req.Send()
5238}
5239
5240// DescribeLabelingJobWithContext is the same as DescribeLabelingJob with the addition of
5241// the ability to pass a context and additional request options.
5242//
5243// See DescribeLabelingJob for details on how to use this API operation.
5244//
5245// The context must be non-nil and will be used for request cancellation. If
5246// the context is nil a panic will occur. In the future the SDK may create
5247// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5248// for more information on using Contexts.
5249func (c *SageMaker) DescribeLabelingJobWithContext(ctx aws.Context, input *DescribeLabelingJobInput, opts ...request.Option) (*DescribeLabelingJobOutput, error) {
5250	req, out := c.DescribeLabelingJobRequest(input)
5251	req.SetContext(ctx)
5252	req.ApplyOptions(opts...)
5253	return out, req.Send()
5254}
5255
5256const opDescribeModel = "DescribeModel"
5257
5258// DescribeModelRequest generates a "aws/request.Request" representing the
5259// client's request for the DescribeModel operation. The "output" return
5260// value will be populated with the request's response once the request completes
5261// successfully.
5262//
5263// Use "Send" method on the returned Request to send the API call to the service.
5264// the "output" return value is not valid until after Send returns without error.
5265//
5266// See DescribeModel for more information on using the DescribeModel
5267// API call, and error handling.
5268//
5269// This method is useful when you want to inject custom logic or configuration
5270// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5271//
5272//
5273//    // Example sending a request using the DescribeModelRequest method.
5274//    req, resp := client.DescribeModelRequest(params)
5275//
5276//    err := req.Send()
5277//    if err == nil { // resp is now filled
5278//        fmt.Println(resp)
5279//    }
5280//
5281// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModel
5282func (c *SageMaker) DescribeModelRequest(input *DescribeModelInput) (req *request.Request, output *DescribeModelOutput) {
5283	op := &request.Operation{
5284		Name:       opDescribeModel,
5285		HTTPMethod: "POST",
5286		HTTPPath:   "/",
5287	}
5288
5289	if input == nil {
5290		input = &DescribeModelInput{}
5291	}
5292
5293	output = &DescribeModelOutput{}
5294	req = c.newRequest(op, input, output)
5295	return
5296}
5297
5298// DescribeModel API operation for Amazon SageMaker Service.
5299//
5300// Describes a model that you created using the CreateModel API.
5301//
5302// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5303// with awserr.Error's Code and Message methods to get detailed information about
5304// the error.
5305//
5306// See the AWS API reference guide for Amazon SageMaker Service's
5307// API operation DescribeModel for usage and error information.
5308// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModel
5309func (c *SageMaker) DescribeModel(input *DescribeModelInput) (*DescribeModelOutput, error) {
5310	req, out := c.DescribeModelRequest(input)
5311	return out, req.Send()
5312}
5313
5314// DescribeModelWithContext is the same as DescribeModel with the addition of
5315// the ability to pass a context and additional request options.
5316//
5317// See DescribeModel for details on how to use this API operation.
5318//
5319// The context must be non-nil and will be used for request cancellation. If
5320// the context is nil a panic will occur. In the future the SDK may create
5321// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5322// for more information on using Contexts.
5323func (c *SageMaker) DescribeModelWithContext(ctx aws.Context, input *DescribeModelInput, opts ...request.Option) (*DescribeModelOutput, error) {
5324	req, out := c.DescribeModelRequest(input)
5325	req.SetContext(ctx)
5326	req.ApplyOptions(opts...)
5327	return out, req.Send()
5328}
5329
5330const opDescribeModelPackage = "DescribeModelPackage"
5331
5332// DescribeModelPackageRequest generates a "aws/request.Request" representing the
5333// client's request for the DescribeModelPackage operation. The "output" return
5334// value will be populated with the request's response once the request completes
5335// successfully.
5336//
5337// Use "Send" method on the returned Request to send the API call to the service.
5338// the "output" return value is not valid until after Send returns without error.
5339//
5340// See DescribeModelPackage for more information on using the DescribeModelPackage
5341// API call, and error handling.
5342//
5343// This method is useful when you want to inject custom logic or configuration
5344// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5345//
5346//
5347//    // Example sending a request using the DescribeModelPackageRequest method.
5348//    req, resp := client.DescribeModelPackageRequest(params)
5349//
5350//    err := req.Send()
5351//    if err == nil { // resp is now filled
5352//        fmt.Println(resp)
5353//    }
5354//
5355// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackage
5356func (c *SageMaker) DescribeModelPackageRequest(input *DescribeModelPackageInput) (req *request.Request, output *DescribeModelPackageOutput) {
5357	op := &request.Operation{
5358		Name:       opDescribeModelPackage,
5359		HTTPMethod: "POST",
5360		HTTPPath:   "/",
5361	}
5362
5363	if input == nil {
5364		input = &DescribeModelPackageInput{}
5365	}
5366
5367	output = &DescribeModelPackageOutput{}
5368	req = c.newRequest(op, input, output)
5369	return
5370}
5371
5372// DescribeModelPackage API operation for Amazon SageMaker Service.
5373//
5374// Returns a description of the specified model package, which is used to create
5375// Amazon SageMaker models or list them on AWS Marketplace.
5376//
5377// To create models in Amazon SageMaker, buyers can subscribe to model packages
5378// listed on AWS Marketplace.
5379//
5380// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5381// with awserr.Error's Code and Message methods to get detailed information about
5382// the error.
5383//
5384// See the AWS API reference guide for Amazon SageMaker Service's
5385// API operation DescribeModelPackage for usage and error information.
5386// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackage
5387func (c *SageMaker) DescribeModelPackage(input *DescribeModelPackageInput) (*DescribeModelPackageOutput, error) {
5388	req, out := c.DescribeModelPackageRequest(input)
5389	return out, req.Send()
5390}
5391
5392// DescribeModelPackageWithContext is the same as DescribeModelPackage with the addition of
5393// the ability to pass a context and additional request options.
5394//
5395// See DescribeModelPackage for details on how to use this API operation.
5396//
5397// The context must be non-nil and will be used for request cancellation. If
5398// the context is nil a panic will occur. In the future the SDK may create
5399// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5400// for more information on using Contexts.
5401func (c *SageMaker) DescribeModelPackageWithContext(ctx aws.Context, input *DescribeModelPackageInput, opts ...request.Option) (*DescribeModelPackageOutput, error) {
5402	req, out := c.DescribeModelPackageRequest(input)
5403	req.SetContext(ctx)
5404	req.ApplyOptions(opts...)
5405	return out, req.Send()
5406}
5407
5408const opDescribeMonitoringSchedule = "DescribeMonitoringSchedule"
5409
5410// DescribeMonitoringScheduleRequest generates a "aws/request.Request" representing the
5411// client's request for the DescribeMonitoringSchedule operation. The "output" return
5412// value will be populated with the request's response once the request completes
5413// successfully.
5414//
5415// Use "Send" method on the returned Request to send the API call to the service.
5416// the "output" return value is not valid until after Send returns without error.
5417//
5418// See DescribeMonitoringSchedule for more information on using the DescribeMonitoringSchedule
5419// API call, and error handling.
5420//
5421// This method is useful when you want to inject custom logic or configuration
5422// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5423//
5424//
5425//    // Example sending a request using the DescribeMonitoringScheduleRequest method.
5426//    req, resp := client.DescribeMonitoringScheduleRequest(params)
5427//
5428//    err := req.Send()
5429//    if err == nil { // resp is now filled
5430//        fmt.Println(resp)
5431//    }
5432//
5433// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeMonitoringSchedule
5434func (c *SageMaker) DescribeMonitoringScheduleRequest(input *DescribeMonitoringScheduleInput) (req *request.Request, output *DescribeMonitoringScheduleOutput) {
5435	op := &request.Operation{
5436		Name:       opDescribeMonitoringSchedule,
5437		HTTPMethod: "POST",
5438		HTTPPath:   "/",
5439	}
5440
5441	if input == nil {
5442		input = &DescribeMonitoringScheduleInput{}
5443	}
5444
5445	output = &DescribeMonitoringScheduleOutput{}
5446	req = c.newRequest(op, input, output)
5447	return
5448}
5449
5450// DescribeMonitoringSchedule API operation for Amazon SageMaker Service.
5451//
5452// Describes the schedule for a monitoring job.
5453//
5454// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5455// with awserr.Error's Code and Message methods to get detailed information about
5456// the error.
5457//
5458// See the AWS API reference guide for Amazon SageMaker Service's
5459// API operation DescribeMonitoringSchedule for usage and error information.
5460//
5461// Returned Error Types:
5462//   * ResourceNotFound
5463//   Resource being access is not found.
5464//
5465// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeMonitoringSchedule
5466func (c *SageMaker) DescribeMonitoringSchedule(input *DescribeMonitoringScheduleInput) (*DescribeMonitoringScheduleOutput, error) {
5467	req, out := c.DescribeMonitoringScheduleRequest(input)
5468	return out, req.Send()
5469}
5470
5471// DescribeMonitoringScheduleWithContext is the same as DescribeMonitoringSchedule with the addition of
5472// the ability to pass a context and additional request options.
5473//
5474// See DescribeMonitoringSchedule for details on how to use this API operation.
5475//
5476// The context must be non-nil and will be used for request cancellation. If
5477// the context is nil a panic will occur. In the future the SDK may create
5478// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5479// for more information on using Contexts.
5480func (c *SageMaker) DescribeMonitoringScheduleWithContext(ctx aws.Context, input *DescribeMonitoringScheduleInput, opts ...request.Option) (*DescribeMonitoringScheduleOutput, error) {
5481	req, out := c.DescribeMonitoringScheduleRequest(input)
5482	req.SetContext(ctx)
5483	req.ApplyOptions(opts...)
5484	return out, req.Send()
5485}
5486
5487const opDescribeNotebookInstance = "DescribeNotebookInstance"
5488
5489// DescribeNotebookInstanceRequest generates a "aws/request.Request" representing the
5490// client's request for the DescribeNotebookInstance operation. The "output" return
5491// value will be populated with the request's response once the request completes
5492// successfully.
5493//
5494// Use "Send" method on the returned Request to send the API call to the service.
5495// the "output" return value is not valid until after Send returns without error.
5496//
5497// See DescribeNotebookInstance for more information on using the DescribeNotebookInstance
5498// API call, and error handling.
5499//
5500// This method is useful when you want to inject custom logic or configuration
5501// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5502//
5503//
5504//    // Example sending a request using the DescribeNotebookInstanceRequest method.
5505//    req, resp := client.DescribeNotebookInstanceRequest(params)
5506//
5507//    err := req.Send()
5508//    if err == nil { // resp is now filled
5509//        fmt.Println(resp)
5510//    }
5511//
5512// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstance
5513func (c *SageMaker) DescribeNotebookInstanceRequest(input *DescribeNotebookInstanceInput) (req *request.Request, output *DescribeNotebookInstanceOutput) {
5514	op := &request.Operation{
5515		Name:       opDescribeNotebookInstance,
5516		HTTPMethod: "POST",
5517		HTTPPath:   "/",
5518	}
5519
5520	if input == nil {
5521		input = &DescribeNotebookInstanceInput{}
5522	}
5523
5524	output = &DescribeNotebookInstanceOutput{}
5525	req = c.newRequest(op, input, output)
5526	return
5527}
5528
5529// DescribeNotebookInstance API operation for Amazon SageMaker Service.
5530//
5531// Returns information about a notebook instance.
5532//
5533// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5534// with awserr.Error's Code and Message methods to get detailed information about
5535// the error.
5536//
5537// See the AWS API reference guide for Amazon SageMaker Service's
5538// API operation DescribeNotebookInstance for usage and error information.
5539// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstance
5540func (c *SageMaker) DescribeNotebookInstance(input *DescribeNotebookInstanceInput) (*DescribeNotebookInstanceOutput, error) {
5541	req, out := c.DescribeNotebookInstanceRequest(input)
5542	return out, req.Send()
5543}
5544
5545// DescribeNotebookInstanceWithContext is the same as DescribeNotebookInstance with the addition of
5546// the ability to pass a context and additional request options.
5547//
5548// See DescribeNotebookInstance for details on how to use this API operation.
5549//
5550// The context must be non-nil and will be used for request cancellation. If
5551// the context is nil a panic will occur. In the future the SDK may create
5552// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5553// for more information on using Contexts.
5554func (c *SageMaker) DescribeNotebookInstanceWithContext(ctx aws.Context, input *DescribeNotebookInstanceInput, opts ...request.Option) (*DescribeNotebookInstanceOutput, error) {
5555	req, out := c.DescribeNotebookInstanceRequest(input)
5556	req.SetContext(ctx)
5557	req.ApplyOptions(opts...)
5558	return out, req.Send()
5559}
5560
5561const opDescribeNotebookInstanceLifecycleConfig = "DescribeNotebookInstanceLifecycleConfig"
5562
5563// DescribeNotebookInstanceLifecycleConfigRequest generates a "aws/request.Request" representing the
5564// client's request for the DescribeNotebookInstanceLifecycleConfig operation. The "output" return
5565// value will be populated with the request's response once the request completes
5566// successfully.
5567//
5568// Use "Send" method on the returned Request to send the API call to the service.
5569// the "output" return value is not valid until after Send returns without error.
5570//
5571// See DescribeNotebookInstanceLifecycleConfig for more information on using the DescribeNotebookInstanceLifecycleConfig
5572// API call, and error handling.
5573//
5574// This method is useful when you want to inject custom logic or configuration
5575// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5576//
5577//
5578//    // Example sending a request using the DescribeNotebookInstanceLifecycleConfigRequest method.
5579//    req, resp := client.DescribeNotebookInstanceLifecycleConfigRequest(params)
5580//
5581//    err := req.Send()
5582//    if err == nil { // resp is now filled
5583//        fmt.Println(resp)
5584//    }
5585//
5586// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstanceLifecycleConfig
5587func (c *SageMaker) DescribeNotebookInstanceLifecycleConfigRequest(input *DescribeNotebookInstanceLifecycleConfigInput) (req *request.Request, output *DescribeNotebookInstanceLifecycleConfigOutput) {
5588	op := &request.Operation{
5589		Name:       opDescribeNotebookInstanceLifecycleConfig,
5590		HTTPMethod: "POST",
5591		HTTPPath:   "/",
5592	}
5593
5594	if input == nil {
5595		input = &DescribeNotebookInstanceLifecycleConfigInput{}
5596	}
5597
5598	output = &DescribeNotebookInstanceLifecycleConfigOutput{}
5599	req = c.newRequest(op, input, output)
5600	return
5601}
5602
5603// DescribeNotebookInstanceLifecycleConfig API operation for Amazon SageMaker Service.
5604//
5605// Returns a description of a notebook instance lifecycle configuration.
5606//
5607// For information about notebook instance lifestyle configurations, see Step
5608// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
5609//
5610// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5611// with awserr.Error's Code and Message methods to get detailed information about
5612// the error.
5613//
5614// See the AWS API reference guide for Amazon SageMaker Service's
5615// API operation DescribeNotebookInstanceLifecycleConfig for usage and error information.
5616// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstanceLifecycleConfig
5617func (c *SageMaker) DescribeNotebookInstanceLifecycleConfig(input *DescribeNotebookInstanceLifecycleConfigInput) (*DescribeNotebookInstanceLifecycleConfigOutput, error) {
5618	req, out := c.DescribeNotebookInstanceLifecycleConfigRequest(input)
5619	return out, req.Send()
5620}
5621
5622// DescribeNotebookInstanceLifecycleConfigWithContext is the same as DescribeNotebookInstanceLifecycleConfig with the addition of
5623// the ability to pass a context and additional request options.
5624//
5625// See DescribeNotebookInstanceLifecycleConfig for details on how to use this API operation.
5626//
5627// The context must be non-nil and will be used for request cancellation. If
5628// the context is nil a panic will occur. In the future the SDK may create
5629// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5630// for more information on using Contexts.
5631func (c *SageMaker) DescribeNotebookInstanceLifecycleConfigWithContext(ctx aws.Context, input *DescribeNotebookInstanceLifecycleConfigInput, opts ...request.Option) (*DescribeNotebookInstanceLifecycleConfigOutput, error) {
5632	req, out := c.DescribeNotebookInstanceLifecycleConfigRequest(input)
5633	req.SetContext(ctx)
5634	req.ApplyOptions(opts...)
5635	return out, req.Send()
5636}
5637
5638const opDescribeProcessingJob = "DescribeProcessingJob"
5639
5640// DescribeProcessingJobRequest generates a "aws/request.Request" representing the
5641// client's request for the DescribeProcessingJob operation. The "output" return
5642// value will be populated with the request's response once the request completes
5643// successfully.
5644//
5645// Use "Send" method on the returned Request to send the API call to the service.
5646// the "output" return value is not valid until after Send returns without error.
5647//
5648// See DescribeProcessingJob for more information on using the DescribeProcessingJob
5649// API call, and error handling.
5650//
5651// This method is useful when you want to inject custom logic or configuration
5652// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5653//
5654//
5655//    // Example sending a request using the DescribeProcessingJobRequest method.
5656//    req, resp := client.DescribeProcessingJobRequest(params)
5657//
5658//    err := req.Send()
5659//    if err == nil { // resp is now filled
5660//        fmt.Println(resp)
5661//    }
5662//
5663// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeProcessingJob
5664func (c *SageMaker) DescribeProcessingJobRequest(input *DescribeProcessingJobInput) (req *request.Request, output *DescribeProcessingJobOutput) {
5665	op := &request.Operation{
5666		Name:       opDescribeProcessingJob,
5667		HTTPMethod: "POST",
5668		HTTPPath:   "/",
5669	}
5670
5671	if input == nil {
5672		input = &DescribeProcessingJobInput{}
5673	}
5674
5675	output = &DescribeProcessingJobOutput{}
5676	req = c.newRequest(op, input, output)
5677	return
5678}
5679
5680// DescribeProcessingJob API operation for Amazon SageMaker Service.
5681//
5682// Returns a description of a processing job.
5683//
5684// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5685// with awserr.Error's Code and Message methods to get detailed information about
5686// the error.
5687//
5688// See the AWS API reference guide for Amazon SageMaker Service's
5689// API operation DescribeProcessingJob for usage and error information.
5690//
5691// Returned Error Types:
5692//   * ResourceNotFound
5693//   Resource being access is not found.
5694//
5695// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeProcessingJob
5696func (c *SageMaker) DescribeProcessingJob(input *DescribeProcessingJobInput) (*DescribeProcessingJobOutput, error) {
5697	req, out := c.DescribeProcessingJobRequest(input)
5698	return out, req.Send()
5699}
5700
5701// DescribeProcessingJobWithContext is the same as DescribeProcessingJob with the addition of
5702// the ability to pass a context and additional request options.
5703//
5704// See DescribeProcessingJob for details on how to use this API operation.
5705//
5706// The context must be non-nil and will be used for request cancellation. If
5707// the context is nil a panic will occur. In the future the SDK may create
5708// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5709// for more information on using Contexts.
5710func (c *SageMaker) DescribeProcessingJobWithContext(ctx aws.Context, input *DescribeProcessingJobInput, opts ...request.Option) (*DescribeProcessingJobOutput, error) {
5711	req, out := c.DescribeProcessingJobRequest(input)
5712	req.SetContext(ctx)
5713	req.ApplyOptions(opts...)
5714	return out, req.Send()
5715}
5716
5717const opDescribeSubscribedWorkteam = "DescribeSubscribedWorkteam"
5718
5719// DescribeSubscribedWorkteamRequest generates a "aws/request.Request" representing the
5720// client's request for the DescribeSubscribedWorkteam operation. The "output" return
5721// value will be populated with the request's response once the request completes
5722// successfully.
5723//
5724// Use "Send" method on the returned Request to send the API call to the service.
5725// the "output" return value is not valid until after Send returns without error.
5726//
5727// See DescribeSubscribedWorkteam for more information on using the DescribeSubscribedWorkteam
5728// API call, and error handling.
5729//
5730// This method is useful when you want to inject custom logic or configuration
5731// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5732//
5733//
5734//    // Example sending a request using the DescribeSubscribedWorkteamRequest method.
5735//    req, resp := client.DescribeSubscribedWorkteamRequest(params)
5736//
5737//    err := req.Send()
5738//    if err == nil { // resp is now filled
5739//        fmt.Println(resp)
5740//    }
5741//
5742// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeSubscribedWorkteam
5743func (c *SageMaker) DescribeSubscribedWorkteamRequest(input *DescribeSubscribedWorkteamInput) (req *request.Request, output *DescribeSubscribedWorkteamOutput) {
5744	op := &request.Operation{
5745		Name:       opDescribeSubscribedWorkteam,
5746		HTTPMethod: "POST",
5747		HTTPPath:   "/",
5748	}
5749
5750	if input == nil {
5751		input = &DescribeSubscribedWorkteamInput{}
5752	}
5753
5754	output = &DescribeSubscribedWorkteamOutput{}
5755	req = c.newRequest(op, input, output)
5756	return
5757}
5758
5759// DescribeSubscribedWorkteam API operation for Amazon SageMaker Service.
5760//
5761// Gets information about a work team provided by a vendor. It returns details
5762// about the subscription with a vendor in the AWS Marketplace.
5763//
5764// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5765// with awserr.Error's Code and Message methods to get detailed information about
5766// the error.
5767//
5768// See the AWS API reference guide for Amazon SageMaker Service's
5769// API operation DescribeSubscribedWorkteam for usage and error information.
5770// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeSubscribedWorkteam
5771func (c *SageMaker) DescribeSubscribedWorkteam(input *DescribeSubscribedWorkteamInput) (*DescribeSubscribedWorkteamOutput, error) {
5772	req, out := c.DescribeSubscribedWorkteamRequest(input)
5773	return out, req.Send()
5774}
5775
5776// DescribeSubscribedWorkteamWithContext is the same as DescribeSubscribedWorkteam with the addition of
5777// the ability to pass a context and additional request options.
5778//
5779// See DescribeSubscribedWorkteam for details on how to use this API operation.
5780//
5781// The context must be non-nil and will be used for request cancellation. If
5782// the context is nil a panic will occur. In the future the SDK may create
5783// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5784// for more information on using Contexts.
5785func (c *SageMaker) DescribeSubscribedWorkteamWithContext(ctx aws.Context, input *DescribeSubscribedWorkteamInput, opts ...request.Option) (*DescribeSubscribedWorkteamOutput, error) {
5786	req, out := c.DescribeSubscribedWorkteamRequest(input)
5787	req.SetContext(ctx)
5788	req.ApplyOptions(opts...)
5789	return out, req.Send()
5790}
5791
5792const opDescribeTrainingJob = "DescribeTrainingJob"
5793
5794// DescribeTrainingJobRequest generates a "aws/request.Request" representing the
5795// client's request for the DescribeTrainingJob operation. The "output" return
5796// value will be populated with the request's response once the request completes
5797// successfully.
5798//
5799// Use "Send" method on the returned Request to send the API call to the service.
5800// the "output" return value is not valid until after Send returns without error.
5801//
5802// See DescribeTrainingJob for more information on using the DescribeTrainingJob
5803// API call, and error handling.
5804//
5805// This method is useful when you want to inject custom logic or configuration
5806// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5807//
5808//
5809//    // Example sending a request using the DescribeTrainingJobRequest method.
5810//    req, resp := client.DescribeTrainingJobRequest(params)
5811//
5812//    err := req.Send()
5813//    if err == nil { // resp is now filled
5814//        fmt.Println(resp)
5815//    }
5816//
5817// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingJob
5818func (c *SageMaker) DescribeTrainingJobRequest(input *DescribeTrainingJobInput) (req *request.Request, output *DescribeTrainingJobOutput) {
5819	op := &request.Operation{
5820		Name:       opDescribeTrainingJob,
5821		HTTPMethod: "POST",
5822		HTTPPath:   "/",
5823	}
5824
5825	if input == nil {
5826		input = &DescribeTrainingJobInput{}
5827	}
5828
5829	output = &DescribeTrainingJobOutput{}
5830	req = c.newRequest(op, input, output)
5831	return
5832}
5833
5834// DescribeTrainingJob API operation for Amazon SageMaker Service.
5835//
5836// Returns information about a training job.
5837//
5838// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5839// with awserr.Error's Code and Message methods to get detailed information about
5840// the error.
5841//
5842// See the AWS API reference guide for Amazon SageMaker Service's
5843// API operation DescribeTrainingJob for usage and error information.
5844//
5845// Returned Error Types:
5846//   * ResourceNotFound
5847//   Resource being access is not found.
5848//
5849// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingJob
5850func (c *SageMaker) DescribeTrainingJob(input *DescribeTrainingJobInput) (*DescribeTrainingJobOutput, error) {
5851	req, out := c.DescribeTrainingJobRequest(input)
5852	return out, req.Send()
5853}
5854
5855// DescribeTrainingJobWithContext is the same as DescribeTrainingJob with the addition of
5856// the ability to pass a context and additional request options.
5857//
5858// See DescribeTrainingJob for details on how to use this API operation.
5859//
5860// The context must be non-nil and will be used for request cancellation. If
5861// the context is nil a panic will occur. In the future the SDK may create
5862// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5863// for more information on using Contexts.
5864func (c *SageMaker) DescribeTrainingJobWithContext(ctx aws.Context, input *DescribeTrainingJobInput, opts ...request.Option) (*DescribeTrainingJobOutput, error) {
5865	req, out := c.DescribeTrainingJobRequest(input)
5866	req.SetContext(ctx)
5867	req.ApplyOptions(opts...)
5868	return out, req.Send()
5869}
5870
5871const opDescribeTransformJob = "DescribeTransformJob"
5872
5873// DescribeTransformJobRequest generates a "aws/request.Request" representing the
5874// client's request for the DescribeTransformJob operation. The "output" return
5875// value will be populated with the request's response once the request completes
5876// successfully.
5877//
5878// Use "Send" method on the returned Request to send the API call to the service.
5879// the "output" return value is not valid until after Send returns without error.
5880//
5881// See DescribeTransformJob for more information on using the DescribeTransformJob
5882// API call, and error handling.
5883//
5884// This method is useful when you want to inject custom logic or configuration
5885// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5886//
5887//
5888//    // Example sending a request using the DescribeTransformJobRequest method.
5889//    req, resp := client.DescribeTransformJobRequest(params)
5890//
5891//    err := req.Send()
5892//    if err == nil { // resp is now filled
5893//        fmt.Println(resp)
5894//    }
5895//
5896// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTransformJob
5897func (c *SageMaker) DescribeTransformJobRequest(input *DescribeTransformJobInput) (req *request.Request, output *DescribeTransformJobOutput) {
5898	op := &request.Operation{
5899		Name:       opDescribeTransformJob,
5900		HTTPMethod: "POST",
5901		HTTPPath:   "/",
5902	}
5903
5904	if input == nil {
5905		input = &DescribeTransformJobInput{}
5906	}
5907
5908	output = &DescribeTransformJobOutput{}
5909	req = c.newRequest(op, input, output)
5910	return
5911}
5912
5913// DescribeTransformJob API operation for Amazon SageMaker Service.
5914//
5915// Returns information about a transform job.
5916//
5917// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5918// with awserr.Error's Code and Message methods to get detailed information about
5919// the error.
5920//
5921// See the AWS API reference guide for Amazon SageMaker Service's
5922// API operation DescribeTransformJob for usage and error information.
5923//
5924// Returned Error Types:
5925//   * ResourceNotFound
5926//   Resource being access is not found.
5927//
5928// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTransformJob
5929func (c *SageMaker) DescribeTransformJob(input *DescribeTransformJobInput) (*DescribeTransformJobOutput, error) {
5930	req, out := c.DescribeTransformJobRequest(input)
5931	return out, req.Send()
5932}
5933
5934// DescribeTransformJobWithContext is the same as DescribeTransformJob with the addition of
5935// the ability to pass a context and additional request options.
5936//
5937// See DescribeTransformJob for details on how to use this API operation.
5938//
5939// The context must be non-nil and will be used for request cancellation. If
5940// the context is nil a panic will occur. In the future the SDK may create
5941// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5942// for more information on using Contexts.
5943func (c *SageMaker) DescribeTransformJobWithContext(ctx aws.Context, input *DescribeTransformJobInput, opts ...request.Option) (*DescribeTransformJobOutput, error) {
5944	req, out := c.DescribeTransformJobRequest(input)
5945	req.SetContext(ctx)
5946	req.ApplyOptions(opts...)
5947	return out, req.Send()
5948}
5949
5950const opDescribeTrial = "DescribeTrial"
5951
5952// DescribeTrialRequest generates a "aws/request.Request" representing the
5953// client's request for the DescribeTrial operation. The "output" return
5954// value will be populated with the request's response once the request completes
5955// successfully.
5956//
5957// Use "Send" method on the returned Request to send the API call to the service.
5958// the "output" return value is not valid until after Send returns without error.
5959//
5960// See DescribeTrial for more information on using the DescribeTrial
5961// API call, and error handling.
5962//
5963// This method is useful when you want to inject custom logic or configuration
5964// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5965//
5966//
5967//    // Example sending a request using the DescribeTrialRequest method.
5968//    req, resp := client.DescribeTrialRequest(params)
5969//
5970//    err := req.Send()
5971//    if err == nil { // resp is now filled
5972//        fmt.Println(resp)
5973//    }
5974//
5975// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrial
5976func (c *SageMaker) DescribeTrialRequest(input *DescribeTrialInput) (req *request.Request, output *DescribeTrialOutput) {
5977	op := &request.Operation{
5978		Name:       opDescribeTrial,
5979		HTTPMethod: "POST",
5980		HTTPPath:   "/",
5981	}
5982
5983	if input == nil {
5984		input = &DescribeTrialInput{}
5985	}
5986
5987	output = &DescribeTrialOutput{}
5988	req = c.newRequest(op, input, output)
5989	return
5990}
5991
5992// DescribeTrial API operation for Amazon SageMaker Service.
5993//
5994// Provides a list of a trial's properties.
5995//
5996// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5997// with awserr.Error's Code and Message methods to get detailed information about
5998// the error.
5999//
6000// See the AWS API reference guide for Amazon SageMaker Service's
6001// API operation DescribeTrial for usage and error information.
6002//
6003// Returned Error Types:
6004//   * ResourceNotFound
6005//   Resource being access is not found.
6006//
6007// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrial
6008func (c *SageMaker) DescribeTrial(input *DescribeTrialInput) (*DescribeTrialOutput, error) {
6009	req, out := c.DescribeTrialRequest(input)
6010	return out, req.Send()
6011}
6012
6013// DescribeTrialWithContext is the same as DescribeTrial with the addition of
6014// the ability to pass a context and additional request options.
6015//
6016// See DescribeTrial for details on how to use this API operation.
6017//
6018// The context must be non-nil and will be used for request cancellation. If
6019// the context is nil a panic will occur. In the future the SDK may create
6020// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6021// for more information on using Contexts.
6022func (c *SageMaker) DescribeTrialWithContext(ctx aws.Context, input *DescribeTrialInput, opts ...request.Option) (*DescribeTrialOutput, error) {
6023	req, out := c.DescribeTrialRequest(input)
6024	req.SetContext(ctx)
6025	req.ApplyOptions(opts...)
6026	return out, req.Send()
6027}
6028
6029const opDescribeTrialComponent = "DescribeTrialComponent"
6030
6031// DescribeTrialComponentRequest generates a "aws/request.Request" representing the
6032// client's request for the DescribeTrialComponent operation. The "output" return
6033// value will be populated with the request's response once the request completes
6034// successfully.
6035//
6036// Use "Send" method on the returned Request to send the API call to the service.
6037// the "output" return value is not valid until after Send returns without error.
6038//
6039// See DescribeTrialComponent for more information on using the DescribeTrialComponent
6040// API call, and error handling.
6041//
6042// This method is useful when you want to inject custom logic or configuration
6043// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6044//
6045//
6046//    // Example sending a request using the DescribeTrialComponentRequest method.
6047//    req, resp := client.DescribeTrialComponentRequest(params)
6048//
6049//    err := req.Send()
6050//    if err == nil { // resp is now filled
6051//        fmt.Println(resp)
6052//    }
6053//
6054// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrialComponent
6055func (c *SageMaker) DescribeTrialComponentRequest(input *DescribeTrialComponentInput) (req *request.Request, output *DescribeTrialComponentOutput) {
6056	op := &request.Operation{
6057		Name:       opDescribeTrialComponent,
6058		HTTPMethod: "POST",
6059		HTTPPath:   "/",
6060	}
6061
6062	if input == nil {
6063		input = &DescribeTrialComponentInput{}
6064	}
6065
6066	output = &DescribeTrialComponentOutput{}
6067	req = c.newRequest(op, input, output)
6068	return
6069}
6070
6071// DescribeTrialComponent API operation for Amazon SageMaker Service.
6072//
6073// Provides a list of a trials component's properties.
6074//
6075// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6076// with awserr.Error's Code and Message methods to get detailed information about
6077// the error.
6078//
6079// See the AWS API reference guide for Amazon SageMaker Service's
6080// API operation DescribeTrialComponent for usage and error information.
6081//
6082// Returned Error Types:
6083//   * ResourceNotFound
6084//   Resource being access is not found.
6085//
6086// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrialComponent
6087func (c *SageMaker) DescribeTrialComponent(input *DescribeTrialComponentInput) (*DescribeTrialComponentOutput, error) {
6088	req, out := c.DescribeTrialComponentRequest(input)
6089	return out, req.Send()
6090}
6091
6092// DescribeTrialComponentWithContext is the same as DescribeTrialComponent with the addition of
6093// the ability to pass a context and additional request options.
6094//
6095// See DescribeTrialComponent for details on how to use this API operation.
6096//
6097// The context must be non-nil and will be used for request cancellation. If
6098// the context is nil a panic will occur. In the future the SDK may create
6099// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6100// for more information on using Contexts.
6101func (c *SageMaker) DescribeTrialComponentWithContext(ctx aws.Context, input *DescribeTrialComponentInput, opts ...request.Option) (*DescribeTrialComponentOutput, error) {
6102	req, out := c.DescribeTrialComponentRequest(input)
6103	req.SetContext(ctx)
6104	req.ApplyOptions(opts...)
6105	return out, req.Send()
6106}
6107
6108const opDescribeUserProfile = "DescribeUserProfile"
6109
6110// DescribeUserProfileRequest generates a "aws/request.Request" representing the
6111// client's request for the DescribeUserProfile operation. The "output" return
6112// value will be populated with the request's response once the request completes
6113// successfully.
6114//
6115// Use "Send" method on the returned Request to send the API call to the service.
6116// the "output" return value is not valid until after Send returns without error.
6117//
6118// See DescribeUserProfile for more information on using the DescribeUserProfile
6119// API call, and error handling.
6120//
6121// This method is useful when you want to inject custom logic or configuration
6122// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6123//
6124//
6125//    // Example sending a request using the DescribeUserProfileRequest method.
6126//    req, resp := client.DescribeUserProfileRequest(params)
6127//
6128//    err := req.Send()
6129//    if err == nil { // resp is now filled
6130//        fmt.Println(resp)
6131//    }
6132//
6133// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeUserProfile
6134func (c *SageMaker) DescribeUserProfileRequest(input *DescribeUserProfileInput) (req *request.Request, output *DescribeUserProfileOutput) {
6135	op := &request.Operation{
6136		Name:       opDescribeUserProfile,
6137		HTTPMethod: "POST",
6138		HTTPPath:   "/",
6139	}
6140
6141	if input == nil {
6142		input = &DescribeUserProfileInput{}
6143	}
6144
6145	output = &DescribeUserProfileOutput{}
6146	req = c.newRequest(op, input, output)
6147	return
6148}
6149
6150// DescribeUserProfile API operation for Amazon SageMaker Service.
6151//
6152// Describes a user profile. For more information, see CreateUserProfile.
6153//
6154// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6155// with awserr.Error's Code and Message methods to get detailed information about
6156// the error.
6157//
6158// See the AWS API reference guide for Amazon SageMaker Service's
6159// API operation DescribeUserProfile for usage and error information.
6160//
6161// Returned Error Types:
6162//   * ResourceNotFound
6163//   Resource being access is not found.
6164//
6165// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeUserProfile
6166func (c *SageMaker) DescribeUserProfile(input *DescribeUserProfileInput) (*DescribeUserProfileOutput, error) {
6167	req, out := c.DescribeUserProfileRequest(input)
6168	return out, req.Send()
6169}
6170
6171// DescribeUserProfileWithContext is the same as DescribeUserProfile with the addition of
6172// the ability to pass a context and additional request options.
6173//
6174// See DescribeUserProfile for details on how to use this API operation.
6175//
6176// The context must be non-nil and will be used for request cancellation. If
6177// the context is nil a panic will occur. In the future the SDK may create
6178// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6179// for more information on using Contexts.
6180func (c *SageMaker) DescribeUserProfileWithContext(ctx aws.Context, input *DescribeUserProfileInput, opts ...request.Option) (*DescribeUserProfileOutput, error) {
6181	req, out := c.DescribeUserProfileRequest(input)
6182	req.SetContext(ctx)
6183	req.ApplyOptions(opts...)
6184	return out, req.Send()
6185}
6186
6187const opDescribeWorkforce = "DescribeWorkforce"
6188
6189// DescribeWorkforceRequest generates a "aws/request.Request" representing the
6190// client's request for the DescribeWorkforce operation. The "output" return
6191// value will be populated with the request's response once the request completes
6192// successfully.
6193//
6194// Use "Send" method on the returned Request to send the API call to the service.
6195// the "output" return value is not valid until after Send returns without error.
6196//
6197// See DescribeWorkforce for more information on using the DescribeWorkforce
6198// API call, and error handling.
6199//
6200// This method is useful when you want to inject custom logic or configuration
6201// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6202//
6203//
6204//    // Example sending a request using the DescribeWorkforceRequest method.
6205//    req, resp := client.DescribeWorkforceRequest(params)
6206//
6207//    err := req.Send()
6208//    if err == nil { // resp is now filled
6209//        fmt.Println(resp)
6210//    }
6211//
6212// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkforce
6213func (c *SageMaker) DescribeWorkforceRequest(input *DescribeWorkforceInput) (req *request.Request, output *DescribeWorkforceOutput) {
6214	op := &request.Operation{
6215		Name:       opDescribeWorkforce,
6216		HTTPMethod: "POST",
6217		HTTPPath:   "/",
6218	}
6219
6220	if input == nil {
6221		input = &DescribeWorkforceInput{}
6222	}
6223
6224	output = &DescribeWorkforceOutput{}
6225	req = c.newRequest(op, input, output)
6226	return
6227}
6228
6229// DescribeWorkforce API operation for Amazon SageMaker Service.
6230//
6231// Lists private workforce information, including workforce name, Amazon Resource
6232// Name (ARN), and, if applicable, allowed IP address ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html)).
6233// Allowable IP address ranges are the IP addresses that workers can use to
6234// access tasks.
6235//
6236// This operation applies only to private workforces.
6237//
6238// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6239// with awserr.Error's Code and Message methods to get detailed information about
6240// the error.
6241//
6242// See the AWS API reference guide for Amazon SageMaker Service's
6243// API operation DescribeWorkforce for usage and error information.
6244// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkforce
6245func (c *SageMaker) DescribeWorkforce(input *DescribeWorkforceInput) (*DescribeWorkforceOutput, error) {
6246	req, out := c.DescribeWorkforceRequest(input)
6247	return out, req.Send()
6248}
6249
6250// DescribeWorkforceWithContext is the same as DescribeWorkforce with the addition of
6251// the ability to pass a context and additional request options.
6252//
6253// See DescribeWorkforce for details on how to use this API operation.
6254//
6255// The context must be non-nil and will be used for request cancellation. If
6256// the context is nil a panic will occur. In the future the SDK may create
6257// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6258// for more information on using Contexts.
6259func (c *SageMaker) DescribeWorkforceWithContext(ctx aws.Context, input *DescribeWorkforceInput, opts ...request.Option) (*DescribeWorkforceOutput, error) {
6260	req, out := c.DescribeWorkforceRequest(input)
6261	req.SetContext(ctx)
6262	req.ApplyOptions(opts...)
6263	return out, req.Send()
6264}
6265
6266const opDescribeWorkteam = "DescribeWorkteam"
6267
6268// DescribeWorkteamRequest generates a "aws/request.Request" representing the
6269// client's request for the DescribeWorkteam operation. The "output" return
6270// value will be populated with the request's response once the request completes
6271// successfully.
6272//
6273// Use "Send" method on the returned Request to send the API call to the service.
6274// the "output" return value is not valid until after Send returns without error.
6275//
6276// See DescribeWorkteam for more information on using the DescribeWorkteam
6277// API call, and error handling.
6278//
6279// This method is useful when you want to inject custom logic or configuration
6280// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6281//
6282//
6283//    // Example sending a request using the DescribeWorkteamRequest method.
6284//    req, resp := client.DescribeWorkteamRequest(params)
6285//
6286//    err := req.Send()
6287//    if err == nil { // resp is now filled
6288//        fmt.Println(resp)
6289//    }
6290//
6291// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkteam
6292func (c *SageMaker) DescribeWorkteamRequest(input *DescribeWorkteamInput) (req *request.Request, output *DescribeWorkteamOutput) {
6293	op := &request.Operation{
6294		Name:       opDescribeWorkteam,
6295		HTTPMethod: "POST",
6296		HTTPPath:   "/",
6297	}
6298
6299	if input == nil {
6300		input = &DescribeWorkteamInput{}
6301	}
6302
6303	output = &DescribeWorkteamOutput{}
6304	req = c.newRequest(op, input, output)
6305	return
6306}
6307
6308// DescribeWorkteam API operation for Amazon SageMaker Service.
6309//
6310// Gets information about a specific work team. You can see information such
6311// as the create date, the last updated date, membership information, and the
6312// work team's Amazon Resource Name (ARN).
6313//
6314// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6315// with awserr.Error's Code and Message methods to get detailed information about
6316// the error.
6317//
6318// See the AWS API reference guide for Amazon SageMaker Service's
6319// API operation DescribeWorkteam for usage and error information.
6320// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkteam
6321func (c *SageMaker) DescribeWorkteam(input *DescribeWorkteamInput) (*DescribeWorkteamOutput, error) {
6322	req, out := c.DescribeWorkteamRequest(input)
6323	return out, req.Send()
6324}
6325
6326// DescribeWorkteamWithContext is the same as DescribeWorkteam with the addition of
6327// the ability to pass a context and additional request options.
6328//
6329// See DescribeWorkteam for details on how to use this API operation.
6330//
6331// The context must be non-nil and will be used for request cancellation. If
6332// the context is nil a panic will occur. In the future the SDK may create
6333// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6334// for more information on using Contexts.
6335func (c *SageMaker) DescribeWorkteamWithContext(ctx aws.Context, input *DescribeWorkteamInput, opts ...request.Option) (*DescribeWorkteamOutput, error) {
6336	req, out := c.DescribeWorkteamRequest(input)
6337	req.SetContext(ctx)
6338	req.ApplyOptions(opts...)
6339	return out, req.Send()
6340}
6341
6342const opDisassociateTrialComponent = "DisassociateTrialComponent"
6343
6344// DisassociateTrialComponentRequest generates a "aws/request.Request" representing the
6345// client's request for the DisassociateTrialComponent operation. The "output" return
6346// value will be populated with the request's response once the request completes
6347// successfully.
6348//
6349// Use "Send" method on the returned Request to send the API call to the service.
6350// the "output" return value is not valid until after Send returns without error.
6351//
6352// See DisassociateTrialComponent for more information on using the DisassociateTrialComponent
6353// API call, and error handling.
6354//
6355// This method is useful when you want to inject custom logic or configuration
6356// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6357//
6358//
6359//    // Example sending a request using the DisassociateTrialComponentRequest method.
6360//    req, resp := client.DisassociateTrialComponentRequest(params)
6361//
6362//    err := req.Send()
6363//    if err == nil { // resp is now filled
6364//        fmt.Println(resp)
6365//    }
6366//
6367// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DisassociateTrialComponent
6368func (c *SageMaker) DisassociateTrialComponentRequest(input *DisassociateTrialComponentInput) (req *request.Request, output *DisassociateTrialComponentOutput) {
6369	op := &request.Operation{
6370		Name:       opDisassociateTrialComponent,
6371		HTTPMethod: "POST",
6372		HTTPPath:   "/",
6373	}
6374
6375	if input == nil {
6376		input = &DisassociateTrialComponentInput{}
6377	}
6378
6379	output = &DisassociateTrialComponentOutput{}
6380	req = c.newRequest(op, input, output)
6381	return
6382}
6383
6384// DisassociateTrialComponent API operation for Amazon SageMaker Service.
6385//
6386// Disassociates a trial component from a trial. This doesn't effect other trials
6387// the component is associated with. Before you can delete a component, you
6388// must disassociate the component from all trials it is associated with. To
6389// associate a trial component with a trial, call the AssociateTrialComponent
6390// API.
6391//
6392// To get a list of the trials a component is associated with, use the Search
6393// API. Specify ExperimentTrialComponent for the Resource parameter. The list
6394// appears in the response under Results.TrialComponent.Parents.
6395//
6396// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6397// with awserr.Error's Code and Message methods to get detailed information about
6398// the error.
6399//
6400// See the AWS API reference guide for Amazon SageMaker Service's
6401// API operation DisassociateTrialComponent for usage and error information.
6402//
6403// Returned Error Types:
6404//   * ResourceNotFound
6405//   Resource being access is not found.
6406//
6407// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DisassociateTrialComponent
6408func (c *SageMaker) DisassociateTrialComponent(input *DisassociateTrialComponentInput) (*DisassociateTrialComponentOutput, error) {
6409	req, out := c.DisassociateTrialComponentRequest(input)
6410	return out, req.Send()
6411}
6412
6413// DisassociateTrialComponentWithContext is the same as DisassociateTrialComponent with the addition of
6414// the ability to pass a context and additional request options.
6415//
6416// See DisassociateTrialComponent for details on how to use this API operation.
6417//
6418// The context must be non-nil and will be used for request cancellation. If
6419// the context is nil a panic will occur. In the future the SDK may create
6420// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6421// for more information on using Contexts.
6422func (c *SageMaker) DisassociateTrialComponentWithContext(ctx aws.Context, input *DisassociateTrialComponentInput, opts ...request.Option) (*DisassociateTrialComponentOutput, error) {
6423	req, out := c.DisassociateTrialComponentRequest(input)
6424	req.SetContext(ctx)
6425	req.ApplyOptions(opts...)
6426	return out, req.Send()
6427}
6428
6429const opGetSearchSuggestions = "GetSearchSuggestions"
6430
6431// GetSearchSuggestionsRequest generates a "aws/request.Request" representing the
6432// client's request for the GetSearchSuggestions operation. The "output" return
6433// value will be populated with the request's response once the request completes
6434// successfully.
6435//
6436// Use "Send" method on the returned Request to send the API call to the service.
6437// the "output" return value is not valid until after Send returns without error.
6438//
6439// See GetSearchSuggestions for more information on using the GetSearchSuggestions
6440// API call, and error handling.
6441//
6442// This method is useful when you want to inject custom logic or configuration
6443// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6444//
6445//
6446//    // Example sending a request using the GetSearchSuggestionsRequest method.
6447//    req, resp := client.GetSearchSuggestionsRequest(params)
6448//
6449//    err := req.Send()
6450//    if err == nil { // resp is now filled
6451//        fmt.Println(resp)
6452//    }
6453//
6454// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetSearchSuggestions
6455func (c *SageMaker) GetSearchSuggestionsRequest(input *GetSearchSuggestionsInput) (req *request.Request, output *GetSearchSuggestionsOutput) {
6456	op := &request.Operation{
6457		Name:       opGetSearchSuggestions,
6458		HTTPMethod: "POST",
6459		HTTPPath:   "/",
6460	}
6461
6462	if input == nil {
6463		input = &GetSearchSuggestionsInput{}
6464	}
6465
6466	output = &GetSearchSuggestionsOutput{}
6467	req = c.newRequest(op, input, output)
6468	return
6469}
6470
6471// GetSearchSuggestions API operation for Amazon SageMaker Service.
6472//
6473// An auto-complete API for the search functionality in the Amazon SageMaker
6474// console. It returns suggestions of possible matches for the property name
6475// to use in Search queries. Provides suggestions for HyperParameters, Tags,
6476// and Metrics.
6477//
6478// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6479// with awserr.Error's Code and Message methods to get detailed information about
6480// the error.
6481//
6482// See the AWS API reference guide for Amazon SageMaker Service's
6483// API operation GetSearchSuggestions for usage and error information.
6484// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetSearchSuggestions
6485func (c *SageMaker) GetSearchSuggestions(input *GetSearchSuggestionsInput) (*GetSearchSuggestionsOutput, error) {
6486	req, out := c.GetSearchSuggestionsRequest(input)
6487	return out, req.Send()
6488}
6489
6490// GetSearchSuggestionsWithContext is the same as GetSearchSuggestions with the addition of
6491// the ability to pass a context and additional request options.
6492//
6493// See GetSearchSuggestions for details on how to use this API operation.
6494//
6495// The context must be non-nil and will be used for request cancellation. If
6496// the context is nil a panic will occur. In the future the SDK may create
6497// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6498// for more information on using Contexts.
6499func (c *SageMaker) GetSearchSuggestionsWithContext(ctx aws.Context, input *GetSearchSuggestionsInput, opts ...request.Option) (*GetSearchSuggestionsOutput, error) {
6500	req, out := c.GetSearchSuggestionsRequest(input)
6501	req.SetContext(ctx)
6502	req.ApplyOptions(opts...)
6503	return out, req.Send()
6504}
6505
6506const opListAlgorithms = "ListAlgorithms"
6507
6508// ListAlgorithmsRequest generates a "aws/request.Request" representing the
6509// client's request for the ListAlgorithms operation. The "output" return
6510// value will be populated with the request's response once the request completes
6511// successfully.
6512//
6513// Use "Send" method on the returned Request to send the API call to the service.
6514// the "output" return value is not valid until after Send returns without error.
6515//
6516// See ListAlgorithms for more information on using the ListAlgorithms
6517// API call, and error handling.
6518//
6519// This method is useful when you want to inject custom logic or configuration
6520// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6521//
6522//
6523//    // Example sending a request using the ListAlgorithmsRequest method.
6524//    req, resp := client.ListAlgorithmsRequest(params)
6525//
6526//    err := req.Send()
6527//    if err == nil { // resp is now filled
6528//        fmt.Println(resp)
6529//    }
6530//
6531// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAlgorithms
6532func (c *SageMaker) ListAlgorithmsRequest(input *ListAlgorithmsInput) (req *request.Request, output *ListAlgorithmsOutput) {
6533	op := &request.Operation{
6534		Name:       opListAlgorithms,
6535		HTTPMethod: "POST",
6536		HTTPPath:   "/",
6537		Paginator: &request.Paginator{
6538			InputTokens:     []string{"NextToken"},
6539			OutputTokens:    []string{"NextToken"},
6540			LimitToken:      "MaxResults",
6541			TruncationToken: "",
6542		},
6543	}
6544
6545	if input == nil {
6546		input = &ListAlgorithmsInput{}
6547	}
6548
6549	output = &ListAlgorithmsOutput{}
6550	req = c.newRequest(op, input, output)
6551	return
6552}
6553
6554// ListAlgorithms API operation for Amazon SageMaker Service.
6555//
6556// Lists the machine learning algorithms that have been created.
6557//
6558// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6559// with awserr.Error's Code and Message methods to get detailed information about
6560// the error.
6561//
6562// See the AWS API reference guide for Amazon SageMaker Service's
6563// API operation ListAlgorithms for usage and error information.
6564// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAlgorithms
6565func (c *SageMaker) ListAlgorithms(input *ListAlgorithmsInput) (*ListAlgorithmsOutput, error) {
6566	req, out := c.ListAlgorithmsRequest(input)
6567	return out, req.Send()
6568}
6569
6570// ListAlgorithmsWithContext is the same as ListAlgorithms with the addition of
6571// the ability to pass a context and additional request options.
6572//
6573// See ListAlgorithms for details on how to use this API operation.
6574//
6575// The context must be non-nil and will be used for request cancellation. If
6576// the context is nil a panic will occur. In the future the SDK may create
6577// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6578// for more information on using Contexts.
6579func (c *SageMaker) ListAlgorithmsWithContext(ctx aws.Context, input *ListAlgorithmsInput, opts ...request.Option) (*ListAlgorithmsOutput, error) {
6580	req, out := c.ListAlgorithmsRequest(input)
6581	req.SetContext(ctx)
6582	req.ApplyOptions(opts...)
6583	return out, req.Send()
6584}
6585
6586// ListAlgorithmsPages iterates over the pages of a ListAlgorithms operation,
6587// calling the "fn" function with the response data for each page. To stop
6588// iterating, return false from the fn function.
6589//
6590// See ListAlgorithms method for more information on how to use this operation.
6591//
6592// Note: This operation can generate multiple requests to a service.
6593//
6594//    // Example iterating over at most 3 pages of a ListAlgorithms operation.
6595//    pageNum := 0
6596//    err := client.ListAlgorithmsPages(params,
6597//        func(page *sagemaker.ListAlgorithmsOutput, lastPage bool) bool {
6598//            pageNum++
6599//            fmt.Println(page)
6600//            return pageNum <= 3
6601//        })
6602//
6603func (c *SageMaker) ListAlgorithmsPages(input *ListAlgorithmsInput, fn func(*ListAlgorithmsOutput, bool) bool) error {
6604	return c.ListAlgorithmsPagesWithContext(aws.BackgroundContext(), input, fn)
6605}
6606
6607// ListAlgorithmsPagesWithContext same as ListAlgorithmsPages except
6608// it takes a Context and allows setting request options on the pages.
6609//
6610// The context must be non-nil and will be used for request cancellation. If
6611// the context is nil a panic will occur. In the future the SDK may create
6612// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6613// for more information on using Contexts.
6614func (c *SageMaker) ListAlgorithmsPagesWithContext(ctx aws.Context, input *ListAlgorithmsInput, fn func(*ListAlgorithmsOutput, bool) bool, opts ...request.Option) error {
6615	p := request.Pagination{
6616		NewRequest: func() (*request.Request, error) {
6617			var inCpy *ListAlgorithmsInput
6618			if input != nil {
6619				tmp := *input
6620				inCpy = &tmp
6621			}
6622			req, _ := c.ListAlgorithmsRequest(inCpy)
6623			req.SetContext(ctx)
6624			req.ApplyOptions(opts...)
6625			return req, nil
6626		},
6627	}
6628
6629	for p.Next() {
6630		if !fn(p.Page().(*ListAlgorithmsOutput), !p.HasNextPage()) {
6631			break
6632		}
6633	}
6634
6635	return p.Err()
6636}
6637
6638const opListApps = "ListApps"
6639
6640// ListAppsRequest generates a "aws/request.Request" representing the
6641// client's request for the ListApps operation. The "output" return
6642// value will be populated with the request's response once the request completes
6643// successfully.
6644//
6645// Use "Send" method on the returned Request to send the API call to the service.
6646// the "output" return value is not valid until after Send returns without error.
6647//
6648// See ListApps for more information on using the ListApps
6649// API call, and error handling.
6650//
6651// This method is useful when you want to inject custom logic or configuration
6652// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6653//
6654//
6655//    // Example sending a request using the ListAppsRequest method.
6656//    req, resp := client.ListAppsRequest(params)
6657//
6658//    err := req.Send()
6659//    if err == nil { // resp is now filled
6660//        fmt.Println(resp)
6661//    }
6662//
6663// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListApps
6664func (c *SageMaker) ListAppsRequest(input *ListAppsInput) (req *request.Request, output *ListAppsOutput) {
6665	op := &request.Operation{
6666		Name:       opListApps,
6667		HTTPMethod: "POST",
6668		HTTPPath:   "/",
6669		Paginator: &request.Paginator{
6670			InputTokens:     []string{"NextToken"},
6671			OutputTokens:    []string{"NextToken"},
6672			LimitToken:      "MaxResults",
6673			TruncationToken: "",
6674		},
6675	}
6676
6677	if input == nil {
6678		input = &ListAppsInput{}
6679	}
6680
6681	output = &ListAppsOutput{}
6682	req = c.newRequest(op, input, output)
6683	return
6684}
6685
6686// ListApps API operation for Amazon SageMaker Service.
6687//
6688// Lists apps.
6689//
6690// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6691// with awserr.Error's Code and Message methods to get detailed information about
6692// the error.
6693//
6694// See the AWS API reference guide for Amazon SageMaker Service's
6695// API operation ListApps for usage and error information.
6696// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListApps
6697func (c *SageMaker) ListApps(input *ListAppsInput) (*ListAppsOutput, error) {
6698	req, out := c.ListAppsRequest(input)
6699	return out, req.Send()
6700}
6701
6702// ListAppsWithContext is the same as ListApps with the addition of
6703// the ability to pass a context and additional request options.
6704//
6705// See ListApps for details on how to use this API operation.
6706//
6707// The context must be non-nil and will be used for request cancellation. If
6708// the context is nil a panic will occur. In the future the SDK may create
6709// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6710// for more information on using Contexts.
6711func (c *SageMaker) ListAppsWithContext(ctx aws.Context, input *ListAppsInput, opts ...request.Option) (*ListAppsOutput, error) {
6712	req, out := c.ListAppsRequest(input)
6713	req.SetContext(ctx)
6714	req.ApplyOptions(opts...)
6715	return out, req.Send()
6716}
6717
6718// ListAppsPages iterates over the pages of a ListApps operation,
6719// calling the "fn" function with the response data for each page. To stop
6720// iterating, return false from the fn function.
6721//
6722// See ListApps method for more information on how to use this operation.
6723//
6724// Note: This operation can generate multiple requests to a service.
6725//
6726//    // Example iterating over at most 3 pages of a ListApps operation.
6727//    pageNum := 0
6728//    err := client.ListAppsPages(params,
6729//        func(page *sagemaker.ListAppsOutput, lastPage bool) bool {
6730//            pageNum++
6731//            fmt.Println(page)
6732//            return pageNum <= 3
6733//        })
6734//
6735func (c *SageMaker) ListAppsPages(input *ListAppsInput, fn func(*ListAppsOutput, bool) bool) error {
6736	return c.ListAppsPagesWithContext(aws.BackgroundContext(), input, fn)
6737}
6738
6739// ListAppsPagesWithContext same as ListAppsPages except
6740// it takes a Context and allows setting request options on the pages.
6741//
6742// The context must be non-nil and will be used for request cancellation. If
6743// the context is nil a panic will occur. In the future the SDK may create
6744// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6745// for more information on using Contexts.
6746func (c *SageMaker) ListAppsPagesWithContext(ctx aws.Context, input *ListAppsInput, fn func(*ListAppsOutput, bool) bool, opts ...request.Option) error {
6747	p := request.Pagination{
6748		NewRequest: func() (*request.Request, error) {
6749			var inCpy *ListAppsInput
6750			if input != nil {
6751				tmp := *input
6752				inCpy = &tmp
6753			}
6754			req, _ := c.ListAppsRequest(inCpy)
6755			req.SetContext(ctx)
6756			req.ApplyOptions(opts...)
6757			return req, nil
6758		},
6759	}
6760
6761	for p.Next() {
6762		if !fn(p.Page().(*ListAppsOutput), !p.HasNextPage()) {
6763			break
6764		}
6765	}
6766
6767	return p.Err()
6768}
6769
6770const opListAutoMLJobs = "ListAutoMLJobs"
6771
6772// ListAutoMLJobsRequest generates a "aws/request.Request" representing the
6773// client's request for the ListAutoMLJobs operation. The "output" return
6774// value will be populated with the request's response once the request completes
6775// successfully.
6776//
6777// Use "Send" method on the returned Request to send the API call to the service.
6778// the "output" return value is not valid until after Send returns without error.
6779//
6780// See ListAutoMLJobs for more information on using the ListAutoMLJobs
6781// API call, and error handling.
6782//
6783// This method is useful when you want to inject custom logic or configuration
6784// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6785//
6786//
6787//    // Example sending a request using the ListAutoMLJobsRequest method.
6788//    req, resp := client.ListAutoMLJobsRequest(params)
6789//
6790//    err := req.Send()
6791//    if err == nil { // resp is now filled
6792//        fmt.Println(resp)
6793//    }
6794//
6795// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAutoMLJobs
6796func (c *SageMaker) ListAutoMLJobsRequest(input *ListAutoMLJobsInput) (req *request.Request, output *ListAutoMLJobsOutput) {
6797	op := &request.Operation{
6798		Name:       opListAutoMLJobs,
6799		HTTPMethod: "POST",
6800		HTTPPath:   "/",
6801		Paginator: &request.Paginator{
6802			InputTokens:     []string{"NextToken"},
6803			OutputTokens:    []string{"NextToken"},
6804			LimitToken:      "MaxResults",
6805			TruncationToken: "",
6806		},
6807	}
6808
6809	if input == nil {
6810		input = &ListAutoMLJobsInput{}
6811	}
6812
6813	output = &ListAutoMLJobsOutput{}
6814	req = c.newRequest(op, input, output)
6815	return
6816}
6817
6818// ListAutoMLJobs API operation for Amazon SageMaker Service.
6819//
6820// Request a list of jobs.
6821//
6822// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6823// with awserr.Error's Code and Message methods to get detailed information about
6824// the error.
6825//
6826// See the AWS API reference guide for Amazon SageMaker Service's
6827// API operation ListAutoMLJobs for usage and error information.
6828// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAutoMLJobs
6829func (c *SageMaker) ListAutoMLJobs(input *ListAutoMLJobsInput) (*ListAutoMLJobsOutput, error) {
6830	req, out := c.ListAutoMLJobsRequest(input)
6831	return out, req.Send()
6832}
6833
6834// ListAutoMLJobsWithContext is the same as ListAutoMLJobs with the addition of
6835// the ability to pass a context and additional request options.
6836//
6837// See ListAutoMLJobs for details on how to use this API operation.
6838//
6839// The context must be non-nil and will be used for request cancellation. If
6840// the context is nil a panic will occur. In the future the SDK may create
6841// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6842// for more information on using Contexts.
6843func (c *SageMaker) ListAutoMLJobsWithContext(ctx aws.Context, input *ListAutoMLJobsInput, opts ...request.Option) (*ListAutoMLJobsOutput, error) {
6844	req, out := c.ListAutoMLJobsRequest(input)
6845	req.SetContext(ctx)
6846	req.ApplyOptions(opts...)
6847	return out, req.Send()
6848}
6849
6850// ListAutoMLJobsPages iterates over the pages of a ListAutoMLJobs operation,
6851// calling the "fn" function with the response data for each page. To stop
6852// iterating, return false from the fn function.
6853//
6854// See ListAutoMLJobs method for more information on how to use this operation.
6855//
6856// Note: This operation can generate multiple requests to a service.
6857//
6858//    // Example iterating over at most 3 pages of a ListAutoMLJobs operation.
6859//    pageNum := 0
6860//    err := client.ListAutoMLJobsPages(params,
6861//        func(page *sagemaker.ListAutoMLJobsOutput, lastPage bool) bool {
6862//            pageNum++
6863//            fmt.Println(page)
6864//            return pageNum <= 3
6865//        })
6866//
6867func (c *SageMaker) ListAutoMLJobsPages(input *ListAutoMLJobsInput, fn func(*ListAutoMLJobsOutput, bool) bool) error {
6868	return c.ListAutoMLJobsPagesWithContext(aws.BackgroundContext(), input, fn)
6869}
6870
6871// ListAutoMLJobsPagesWithContext same as ListAutoMLJobsPages except
6872// it takes a Context and allows setting request options on the pages.
6873//
6874// The context must be non-nil and will be used for request cancellation. If
6875// the context is nil a panic will occur. In the future the SDK may create
6876// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6877// for more information on using Contexts.
6878func (c *SageMaker) ListAutoMLJobsPagesWithContext(ctx aws.Context, input *ListAutoMLJobsInput, fn func(*ListAutoMLJobsOutput, bool) bool, opts ...request.Option) error {
6879	p := request.Pagination{
6880		NewRequest: func() (*request.Request, error) {
6881			var inCpy *ListAutoMLJobsInput
6882			if input != nil {
6883				tmp := *input
6884				inCpy = &tmp
6885			}
6886			req, _ := c.ListAutoMLJobsRequest(inCpy)
6887			req.SetContext(ctx)
6888			req.ApplyOptions(opts...)
6889			return req, nil
6890		},
6891	}
6892
6893	for p.Next() {
6894		if !fn(p.Page().(*ListAutoMLJobsOutput), !p.HasNextPage()) {
6895			break
6896		}
6897	}
6898
6899	return p.Err()
6900}
6901
6902const opListCandidatesForAutoMLJob = "ListCandidatesForAutoMLJob"
6903
6904// ListCandidatesForAutoMLJobRequest generates a "aws/request.Request" representing the
6905// client's request for the ListCandidatesForAutoMLJob operation. The "output" return
6906// value will be populated with the request's response once the request completes
6907// successfully.
6908//
6909// Use "Send" method on the returned Request to send the API call to the service.
6910// the "output" return value is not valid until after Send returns without error.
6911//
6912// See ListCandidatesForAutoMLJob for more information on using the ListCandidatesForAutoMLJob
6913// API call, and error handling.
6914//
6915// This method is useful when you want to inject custom logic or configuration
6916// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6917//
6918//
6919//    // Example sending a request using the ListCandidatesForAutoMLJobRequest method.
6920//    req, resp := client.ListCandidatesForAutoMLJobRequest(params)
6921//
6922//    err := req.Send()
6923//    if err == nil { // resp is now filled
6924//        fmt.Println(resp)
6925//    }
6926//
6927// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCandidatesForAutoMLJob
6928func (c *SageMaker) ListCandidatesForAutoMLJobRequest(input *ListCandidatesForAutoMLJobInput) (req *request.Request, output *ListCandidatesForAutoMLJobOutput) {
6929	op := &request.Operation{
6930		Name:       opListCandidatesForAutoMLJob,
6931		HTTPMethod: "POST",
6932		HTTPPath:   "/",
6933		Paginator: &request.Paginator{
6934			InputTokens:     []string{"NextToken"},
6935			OutputTokens:    []string{"NextToken"},
6936			LimitToken:      "MaxResults",
6937			TruncationToken: "",
6938		},
6939	}
6940
6941	if input == nil {
6942		input = &ListCandidatesForAutoMLJobInput{}
6943	}
6944
6945	output = &ListCandidatesForAutoMLJobOutput{}
6946	req = c.newRequest(op, input, output)
6947	return
6948}
6949
6950// ListCandidatesForAutoMLJob API operation for Amazon SageMaker Service.
6951//
6952// List the Candidates created for the job.
6953//
6954// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6955// with awserr.Error's Code and Message methods to get detailed information about
6956// the error.
6957//
6958// See the AWS API reference guide for Amazon SageMaker Service's
6959// API operation ListCandidatesForAutoMLJob for usage and error information.
6960//
6961// Returned Error Types:
6962//   * ResourceNotFound
6963//   Resource being access is not found.
6964//
6965// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCandidatesForAutoMLJob
6966func (c *SageMaker) ListCandidatesForAutoMLJob(input *ListCandidatesForAutoMLJobInput) (*ListCandidatesForAutoMLJobOutput, error) {
6967	req, out := c.ListCandidatesForAutoMLJobRequest(input)
6968	return out, req.Send()
6969}
6970
6971// ListCandidatesForAutoMLJobWithContext is the same as ListCandidatesForAutoMLJob with the addition of
6972// the ability to pass a context and additional request options.
6973//
6974// See ListCandidatesForAutoMLJob for details on how to use this API operation.
6975//
6976// The context must be non-nil and will be used for request cancellation. If
6977// the context is nil a panic will occur. In the future the SDK may create
6978// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6979// for more information on using Contexts.
6980func (c *SageMaker) ListCandidatesForAutoMLJobWithContext(ctx aws.Context, input *ListCandidatesForAutoMLJobInput, opts ...request.Option) (*ListCandidatesForAutoMLJobOutput, error) {
6981	req, out := c.ListCandidatesForAutoMLJobRequest(input)
6982	req.SetContext(ctx)
6983	req.ApplyOptions(opts...)
6984	return out, req.Send()
6985}
6986
6987// ListCandidatesForAutoMLJobPages iterates over the pages of a ListCandidatesForAutoMLJob operation,
6988// calling the "fn" function with the response data for each page. To stop
6989// iterating, return false from the fn function.
6990//
6991// See ListCandidatesForAutoMLJob method for more information on how to use this operation.
6992//
6993// Note: This operation can generate multiple requests to a service.
6994//
6995//    // Example iterating over at most 3 pages of a ListCandidatesForAutoMLJob operation.
6996//    pageNum := 0
6997//    err := client.ListCandidatesForAutoMLJobPages(params,
6998//        func(page *sagemaker.ListCandidatesForAutoMLJobOutput, lastPage bool) bool {
6999//            pageNum++
7000//            fmt.Println(page)
7001//            return pageNum <= 3
7002//        })
7003//
7004func (c *SageMaker) ListCandidatesForAutoMLJobPages(input *ListCandidatesForAutoMLJobInput, fn func(*ListCandidatesForAutoMLJobOutput, bool) bool) error {
7005	return c.ListCandidatesForAutoMLJobPagesWithContext(aws.BackgroundContext(), input, fn)
7006}
7007
7008// ListCandidatesForAutoMLJobPagesWithContext same as ListCandidatesForAutoMLJobPages except
7009// it takes a Context and allows setting request options on the pages.
7010//
7011// The context must be non-nil and will be used for request cancellation. If
7012// the context is nil a panic will occur. In the future the SDK may create
7013// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7014// for more information on using Contexts.
7015func (c *SageMaker) ListCandidatesForAutoMLJobPagesWithContext(ctx aws.Context, input *ListCandidatesForAutoMLJobInput, fn func(*ListCandidatesForAutoMLJobOutput, bool) bool, opts ...request.Option) error {
7016	p := request.Pagination{
7017		NewRequest: func() (*request.Request, error) {
7018			var inCpy *ListCandidatesForAutoMLJobInput
7019			if input != nil {
7020				tmp := *input
7021				inCpy = &tmp
7022			}
7023			req, _ := c.ListCandidatesForAutoMLJobRequest(inCpy)
7024			req.SetContext(ctx)
7025			req.ApplyOptions(opts...)
7026			return req, nil
7027		},
7028	}
7029
7030	for p.Next() {
7031		if !fn(p.Page().(*ListCandidatesForAutoMLJobOutput), !p.HasNextPage()) {
7032			break
7033		}
7034	}
7035
7036	return p.Err()
7037}
7038
7039const opListCodeRepositories = "ListCodeRepositories"
7040
7041// ListCodeRepositoriesRequest generates a "aws/request.Request" representing the
7042// client's request for the ListCodeRepositories operation. The "output" return
7043// value will be populated with the request's response once the request completes
7044// successfully.
7045//
7046// Use "Send" method on the returned Request to send the API call to the service.
7047// the "output" return value is not valid until after Send returns without error.
7048//
7049// See ListCodeRepositories for more information on using the ListCodeRepositories
7050// API call, and error handling.
7051//
7052// This method is useful when you want to inject custom logic or configuration
7053// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7054//
7055//
7056//    // Example sending a request using the ListCodeRepositoriesRequest method.
7057//    req, resp := client.ListCodeRepositoriesRequest(params)
7058//
7059//    err := req.Send()
7060//    if err == nil { // resp is now filled
7061//        fmt.Println(resp)
7062//    }
7063//
7064// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCodeRepositories
7065func (c *SageMaker) ListCodeRepositoriesRequest(input *ListCodeRepositoriesInput) (req *request.Request, output *ListCodeRepositoriesOutput) {
7066	op := &request.Operation{
7067		Name:       opListCodeRepositories,
7068		HTTPMethod: "POST",
7069		HTTPPath:   "/",
7070		Paginator: &request.Paginator{
7071			InputTokens:     []string{"NextToken"},
7072			OutputTokens:    []string{"NextToken"},
7073			LimitToken:      "MaxResults",
7074			TruncationToken: "",
7075		},
7076	}
7077
7078	if input == nil {
7079		input = &ListCodeRepositoriesInput{}
7080	}
7081
7082	output = &ListCodeRepositoriesOutput{}
7083	req = c.newRequest(op, input, output)
7084	return
7085}
7086
7087// ListCodeRepositories API operation for Amazon SageMaker Service.
7088//
7089// Gets a list of the Git repositories in your account.
7090//
7091// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7092// with awserr.Error's Code and Message methods to get detailed information about
7093// the error.
7094//
7095// See the AWS API reference guide for Amazon SageMaker Service's
7096// API operation ListCodeRepositories for usage and error information.
7097// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCodeRepositories
7098func (c *SageMaker) ListCodeRepositories(input *ListCodeRepositoriesInput) (*ListCodeRepositoriesOutput, error) {
7099	req, out := c.ListCodeRepositoriesRequest(input)
7100	return out, req.Send()
7101}
7102
7103// ListCodeRepositoriesWithContext is the same as ListCodeRepositories with the addition of
7104// the ability to pass a context and additional request options.
7105//
7106// See ListCodeRepositories for details on how to use this API operation.
7107//
7108// The context must be non-nil and will be used for request cancellation. If
7109// the context is nil a panic will occur. In the future the SDK may create
7110// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7111// for more information on using Contexts.
7112func (c *SageMaker) ListCodeRepositoriesWithContext(ctx aws.Context, input *ListCodeRepositoriesInput, opts ...request.Option) (*ListCodeRepositoriesOutput, error) {
7113	req, out := c.ListCodeRepositoriesRequest(input)
7114	req.SetContext(ctx)
7115	req.ApplyOptions(opts...)
7116	return out, req.Send()
7117}
7118
7119// ListCodeRepositoriesPages iterates over the pages of a ListCodeRepositories operation,
7120// calling the "fn" function with the response data for each page. To stop
7121// iterating, return false from the fn function.
7122//
7123// See ListCodeRepositories method for more information on how to use this operation.
7124//
7125// Note: This operation can generate multiple requests to a service.
7126//
7127//    // Example iterating over at most 3 pages of a ListCodeRepositories operation.
7128//    pageNum := 0
7129//    err := client.ListCodeRepositoriesPages(params,
7130//        func(page *sagemaker.ListCodeRepositoriesOutput, lastPage bool) bool {
7131//            pageNum++
7132//            fmt.Println(page)
7133//            return pageNum <= 3
7134//        })
7135//
7136func (c *SageMaker) ListCodeRepositoriesPages(input *ListCodeRepositoriesInput, fn func(*ListCodeRepositoriesOutput, bool) bool) error {
7137	return c.ListCodeRepositoriesPagesWithContext(aws.BackgroundContext(), input, fn)
7138}
7139
7140// ListCodeRepositoriesPagesWithContext same as ListCodeRepositoriesPages except
7141// it takes a Context and allows setting request options on the pages.
7142//
7143// The context must be non-nil and will be used for request cancellation. If
7144// the context is nil a panic will occur. In the future the SDK may create
7145// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7146// for more information on using Contexts.
7147func (c *SageMaker) ListCodeRepositoriesPagesWithContext(ctx aws.Context, input *ListCodeRepositoriesInput, fn func(*ListCodeRepositoriesOutput, bool) bool, opts ...request.Option) error {
7148	p := request.Pagination{
7149		NewRequest: func() (*request.Request, error) {
7150			var inCpy *ListCodeRepositoriesInput
7151			if input != nil {
7152				tmp := *input
7153				inCpy = &tmp
7154			}
7155			req, _ := c.ListCodeRepositoriesRequest(inCpy)
7156			req.SetContext(ctx)
7157			req.ApplyOptions(opts...)
7158			return req, nil
7159		},
7160	}
7161
7162	for p.Next() {
7163		if !fn(p.Page().(*ListCodeRepositoriesOutput), !p.HasNextPage()) {
7164			break
7165		}
7166	}
7167
7168	return p.Err()
7169}
7170
7171const opListCompilationJobs = "ListCompilationJobs"
7172
7173// ListCompilationJobsRequest generates a "aws/request.Request" representing the
7174// client's request for the ListCompilationJobs operation. The "output" return
7175// value will be populated with the request's response once the request completes
7176// successfully.
7177//
7178// Use "Send" method on the returned Request to send the API call to the service.
7179// the "output" return value is not valid until after Send returns without error.
7180//
7181// See ListCompilationJobs for more information on using the ListCompilationJobs
7182// API call, and error handling.
7183//
7184// This method is useful when you want to inject custom logic or configuration
7185// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7186//
7187//
7188//    // Example sending a request using the ListCompilationJobsRequest method.
7189//    req, resp := client.ListCompilationJobsRequest(params)
7190//
7191//    err := req.Send()
7192//    if err == nil { // resp is now filled
7193//        fmt.Println(resp)
7194//    }
7195//
7196// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCompilationJobs
7197func (c *SageMaker) ListCompilationJobsRequest(input *ListCompilationJobsInput) (req *request.Request, output *ListCompilationJobsOutput) {
7198	op := &request.Operation{
7199		Name:       opListCompilationJobs,
7200		HTTPMethod: "POST",
7201		HTTPPath:   "/",
7202		Paginator: &request.Paginator{
7203			InputTokens:     []string{"NextToken"},
7204			OutputTokens:    []string{"NextToken"},
7205			LimitToken:      "MaxResults",
7206			TruncationToken: "",
7207		},
7208	}
7209
7210	if input == nil {
7211		input = &ListCompilationJobsInput{}
7212	}
7213
7214	output = &ListCompilationJobsOutput{}
7215	req = c.newRequest(op, input, output)
7216	return
7217}
7218
7219// ListCompilationJobs API operation for Amazon SageMaker Service.
7220//
7221// Lists model compilation jobs that satisfy various filters.
7222//
7223// To create a model compilation job, use CreateCompilationJob. To get information
7224// about a particular model compilation job you have created, use DescribeCompilationJob.
7225//
7226// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7227// with awserr.Error's Code and Message methods to get detailed information about
7228// the error.
7229//
7230// See the AWS API reference guide for Amazon SageMaker Service's
7231// API operation ListCompilationJobs for usage and error information.
7232// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCompilationJobs
7233func (c *SageMaker) ListCompilationJobs(input *ListCompilationJobsInput) (*ListCompilationJobsOutput, error) {
7234	req, out := c.ListCompilationJobsRequest(input)
7235	return out, req.Send()
7236}
7237
7238// ListCompilationJobsWithContext is the same as ListCompilationJobs with the addition of
7239// the ability to pass a context and additional request options.
7240//
7241// See ListCompilationJobs for details on how to use this API operation.
7242//
7243// The context must be non-nil and will be used for request cancellation. If
7244// the context is nil a panic will occur. In the future the SDK may create
7245// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7246// for more information on using Contexts.
7247func (c *SageMaker) ListCompilationJobsWithContext(ctx aws.Context, input *ListCompilationJobsInput, opts ...request.Option) (*ListCompilationJobsOutput, error) {
7248	req, out := c.ListCompilationJobsRequest(input)
7249	req.SetContext(ctx)
7250	req.ApplyOptions(opts...)
7251	return out, req.Send()
7252}
7253
7254// ListCompilationJobsPages iterates over the pages of a ListCompilationJobs operation,
7255// calling the "fn" function with the response data for each page. To stop
7256// iterating, return false from the fn function.
7257//
7258// See ListCompilationJobs method for more information on how to use this operation.
7259//
7260// Note: This operation can generate multiple requests to a service.
7261//
7262//    // Example iterating over at most 3 pages of a ListCompilationJobs operation.
7263//    pageNum := 0
7264//    err := client.ListCompilationJobsPages(params,
7265//        func(page *sagemaker.ListCompilationJobsOutput, lastPage bool) bool {
7266//            pageNum++
7267//            fmt.Println(page)
7268//            return pageNum <= 3
7269//        })
7270//
7271func (c *SageMaker) ListCompilationJobsPages(input *ListCompilationJobsInput, fn func(*ListCompilationJobsOutput, bool) bool) error {
7272	return c.ListCompilationJobsPagesWithContext(aws.BackgroundContext(), input, fn)
7273}
7274
7275// ListCompilationJobsPagesWithContext same as ListCompilationJobsPages except
7276// it takes a Context and allows setting request options on the pages.
7277//
7278// The context must be non-nil and will be used for request cancellation. If
7279// the context is nil a panic will occur. In the future the SDK may create
7280// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7281// for more information on using Contexts.
7282func (c *SageMaker) ListCompilationJobsPagesWithContext(ctx aws.Context, input *ListCompilationJobsInput, fn func(*ListCompilationJobsOutput, bool) bool, opts ...request.Option) error {
7283	p := request.Pagination{
7284		NewRequest: func() (*request.Request, error) {
7285			var inCpy *ListCompilationJobsInput
7286			if input != nil {
7287				tmp := *input
7288				inCpy = &tmp
7289			}
7290			req, _ := c.ListCompilationJobsRequest(inCpy)
7291			req.SetContext(ctx)
7292			req.ApplyOptions(opts...)
7293			return req, nil
7294		},
7295	}
7296
7297	for p.Next() {
7298		if !fn(p.Page().(*ListCompilationJobsOutput), !p.HasNextPage()) {
7299			break
7300		}
7301	}
7302
7303	return p.Err()
7304}
7305
7306const opListDomains = "ListDomains"
7307
7308// ListDomainsRequest generates a "aws/request.Request" representing the
7309// client's request for the ListDomains operation. The "output" return
7310// value will be populated with the request's response once the request completes
7311// successfully.
7312//
7313// Use "Send" method on the returned Request to send the API call to the service.
7314// the "output" return value is not valid until after Send returns without error.
7315//
7316// See ListDomains for more information on using the ListDomains
7317// API call, and error handling.
7318//
7319// This method is useful when you want to inject custom logic or configuration
7320// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7321//
7322//
7323//    // Example sending a request using the ListDomainsRequest method.
7324//    req, resp := client.ListDomainsRequest(params)
7325//
7326//    err := req.Send()
7327//    if err == nil { // resp is now filled
7328//        fmt.Println(resp)
7329//    }
7330//
7331// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDomains
7332func (c *SageMaker) ListDomainsRequest(input *ListDomainsInput) (req *request.Request, output *ListDomainsOutput) {
7333	op := &request.Operation{
7334		Name:       opListDomains,
7335		HTTPMethod: "POST",
7336		HTTPPath:   "/",
7337		Paginator: &request.Paginator{
7338			InputTokens:     []string{"NextToken"},
7339			OutputTokens:    []string{"NextToken"},
7340			LimitToken:      "MaxResults",
7341			TruncationToken: "",
7342		},
7343	}
7344
7345	if input == nil {
7346		input = &ListDomainsInput{}
7347	}
7348
7349	output = &ListDomainsOutput{}
7350	req = c.newRequest(op, input, output)
7351	return
7352}
7353
7354// ListDomains API operation for Amazon SageMaker Service.
7355//
7356// Lists the domains.
7357//
7358// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7359// with awserr.Error's Code and Message methods to get detailed information about
7360// the error.
7361//
7362// See the AWS API reference guide for Amazon SageMaker Service's
7363// API operation ListDomains for usage and error information.
7364// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDomains
7365func (c *SageMaker) ListDomains(input *ListDomainsInput) (*ListDomainsOutput, error) {
7366	req, out := c.ListDomainsRequest(input)
7367	return out, req.Send()
7368}
7369
7370// ListDomainsWithContext is the same as ListDomains with the addition of
7371// the ability to pass a context and additional request options.
7372//
7373// See ListDomains for details on how to use this API operation.
7374//
7375// The context must be non-nil and will be used for request cancellation. If
7376// the context is nil a panic will occur. In the future the SDK may create
7377// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7378// for more information on using Contexts.
7379func (c *SageMaker) ListDomainsWithContext(ctx aws.Context, input *ListDomainsInput, opts ...request.Option) (*ListDomainsOutput, error) {
7380	req, out := c.ListDomainsRequest(input)
7381	req.SetContext(ctx)
7382	req.ApplyOptions(opts...)
7383	return out, req.Send()
7384}
7385
7386// ListDomainsPages iterates over the pages of a ListDomains operation,
7387// calling the "fn" function with the response data for each page. To stop
7388// iterating, return false from the fn function.
7389//
7390// See ListDomains method for more information on how to use this operation.
7391//
7392// Note: This operation can generate multiple requests to a service.
7393//
7394//    // Example iterating over at most 3 pages of a ListDomains operation.
7395//    pageNum := 0
7396//    err := client.ListDomainsPages(params,
7397//        func(page *sagemaker.ListDomainsOutput, lastPage bool) bool {
7398//            pageNum++
7399//            fmt.Println(page)
7400//            return pageNum <= 3
7401//        })
7402//
7403func (c *SageMaker) ListDomainsPages(input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool) error {
7404	return c.ListDomainsPagesWithContext(aws.BackgroundContext(), input, fn)
7405}
7406
7407// ListDomainsPagesWithContext same as ListDomainsPages except
7408// it takes a Context and allows setting request options on the pages.
7409//
7410// The context must be non-nil and will be used for request cancellation. If
7411// the context is nil a panic will occur. In the future the SDK may create
7412// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7413// for more information on using Contexts.
7414func (c *SageMaker) ListDomainsPagesWithContext(ctx aws.Context, input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool, opts ...request.Option) error {
7415	p := request.Pagination{
7416		NewRequest: func() (*request.Request, error) {
7417			var inCpy *ListDomainsInput
7418			if input != nil {
7419				tmp := *input
7420				inCpy = &tmp
7421			}
7422			req, _ := c.ListDomainsRequest(inCpy)
7423			req.SetContext(ctx)
7424			req.ApplyOptions(opts...)
7425			return req, nil
7426		},
7427	}
7428
7429	for p.Next() {
7430		if !fn(p.Page().(*ListDomainsOutput), !p.HasNextPage()) {
7431			break
7432		}
7433	}
7434
7435	return p.Err()
7436}
7437
7438const opListEndpointConfigs = "ListEndpointConfigs"
7439
7440// ListEndpointConfigsRequest generates a "aws/request.Request" representing the
7441// client's request for the ListEndpointConfigs operation. The "output" return
7442// value will be populated with the request's response once the request completes
7443// successfully.
7444//
7445// Use "Send" method on the returned Request to send the API call to the service.
7446// the "output" return value is not valid until after Send returns without error.
7447//
7448// See ListEndpointConfigs for more information on using the ListEndpointConfigs
7449// API call, and error handling.
7450//
7451// This method is useful when you want to inject custom logic or configuration
7452// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7453//
7454//
7455//    // Example sending a request using the ListEndpointConfigsRequest method.
7456//    req, resp := client.ListEndpointConfigsRequest(params)
7457//
7458//    err := req.Send()
7459//    if err == nil { // resp is now filled
7460//        fmt.Println(resp)
7461//    }
7462//
7463// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpointConfigs
7464func (c *SageMaker) ListEndpointConfigsRequest(input *ListEndpointConfigsInput) (req *request.Request, output *ListEndpointConfigsOutput) {
7465	op := &request.Operation{
7466		Name:       opListEndpointConfigs,
7467		HTTPMethod: "POST",
7468		HTTPPath:   "/",
7469		Paginator: &request.Paginator{
7470			InputTokens:     []string{"NextToken"},
7471			OutputTokens:    []string{"NextToken"},
7472			LimitToken:      "MaxResults",
7473			TruncationToken: "",
7474		},
7475	}
7476
7477	if input == nil {
7478		input = &ListEndpointConfigsInput{}
7479	}
7480
7481	output = &ListEndpointConfigsOutput{}
7482	req = c.newRequest(op, input, output)
7483	return
7484}
7485
7486// ListEndpointConfigs API operation for Amazon SageMaker Service.
7487//
7488// Lists endpoint configurations.
7489//
7490// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7491// with awserr.Error's Code and Message methods to get detailed information about
7492// the error.
7493//
7494// See the AWS API reference guide for Amazon SageMaker Service's
7495// API operation ListEndpointConfigs for usage and error information.
7496// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpointConfigs
7497func (c *SageMaker) ListEndpointConfigs(input *ListEndpointConfigsInput) (*ListEndpointConfigsOutput, error) {
7498	req, out := c.ListEndpointConfigsRequest(input)
7499	return out, req.Send()
7500}
7501
7502// ListEndpointConfigsWithContext is the same as ListEndpointConfigs with the addition of
7503// the ability to pass a context and additional request options.
7504//
7505// See ListEndpointConfigs for details on how to use this API operation.
7506//
7507// The context must be non-nil and will be used for request cancellation. If
7508// the context is nil a panic will occur. In the future the SDK may create
7509// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7510// for more information on using Contexts.
7511func (c *SageMaker) ListEndpointConfigsWithContext(ctx aws.Context, input *ListEndpointConfigsInput, opts ...request.Option) (*ListEndpointConfigsOutput, error) {
7512	req, out := c.ListEndpointConfigsRequest(input)
7513	req.SetContext(ctx)
7514	req.ApplyOptions(opts...)
7515	return out, req.Send()
7516}
7517
7518// ListEndpointConfigsPages iterates over the pages of a ListEndpointConfigs operation,
7519// calling the "fn" function with the response data for each page. To stop
7520// iterating, return false from the fn function.
7521//
7522// See ListEndpointConfigs method for more information on how to use this operation.
7523//
7524// Note: This operation can generate multiple requests to a service.
7525//
7526//    // Example iterating over at most 3 pages of a ListEndpointConfigs operation.
7527//    pageNum := 0
7528//    err := client.ListEndpointConfigsPages(params,
7529//        func(page *sagemaker.ListEndpointConfigsOutput, lastPage bool) bool {
7530//            pageNum++
7531//            fmt.Println(page)
7532//            return pageNum <= 3
7533//        })
7534//
7535func (c *SageMaker) ListEndpointConfigsPages(input *ListEndpointConfigsInput, fn func(*ListEndpointConfigsOutput, bool) bool) error {
7536	return c.ListEndpointConfigsPagesWithContext(aws.BackgroundContext(), input, fn)
7537}
7538
7539// ListEndpointConfigsPagesWithContext same as ListEndpointConfigsPages except
7540// it takes a Context and allows setting request options on the pages.
7541//
7542// The context must be non-nil and will be used for request cancellation. If
7543// the context is nil a panic will occur. In the future the SDK may create
7544// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7545// for more information on using Contexts.
7546func (c *SageMaker) ListEndpointConfigsPagesWithContext(ctx aws.Context, input *ListEndpointConfigsInput, fn func(*ListEndpointConfigsOutput, bool) bool, opts ...request.Option) error {
7547	p := request.Pagination{
7548		NewRequest: func() (*request.Request, error) {
7549			var inCpy *ListEndpointConfigsInput
7550			if input != nil {
7551				tmp := *input
7552				inCpy = &tmp
7553			}
7554			req, _ := c.ListEndpointConfigsRequest(inCpy)
7555			req.SetContext(ctx)
7556			req.ApplyOptions(opts...)
7557			return req, nil
7558		},
7559	}
7560
7561	for p.Next() {
7562		if !fn(p.Page().(*ListEndpointConfigsOutput), !p.HasNextPage()) {
7563			break
7564		}
7565	}
7566
7567	return p.Err()
7568}
7569
7570const opListEndpoints = "ListEndpoints"
7571
7572// ListEndpointsRequest generates a "aws/request.Request" representing the
7573// client's request for the ListEndpoints operation. The "output" return
7574// value will be populated with the request's response once the request completes
7575// successfully.
7576//
7577// Use "Send" method on the returned Request to send the API call to the service.
7578// the "output" return value is not valid until after Send returns without error.
7579//
7580// See ListEndpoints for more information on using the ListEndpoints
7581// API call, and error handling.
7582//
7583// This method is useful when you want to inject custom logic or configuration
7584// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7585//
7586//
7587//    // Example sending a request using the ListEndpointsRequest method.
7588//    req, resp := client.ListEndpointsRequest(params)
7589//
7590//    err := req.Send()
7591//    if err == nil { // resp is now filled
7592//        fmt.Println(resp)
7593//    }
7594//
7595// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpoints
7596func (c *SageMaker) ListEndpointsRequest(input *ListEndpointsInput) (req *request.Request, output *ListEndpointsOutput) {
7597	op := &request.Operation{
7598		Name:       opListEndpoints,
7599		HTTPMethod: "POST",
7600		HTTPPath:   "/",
7601		Paginator: &request.Paginator{
7602			InputTokens:     []string{"NextToken"},
7603			OutputTokens:    []string{"NextToken"},
7604			LimitToken:      "MaxResults",
7605			TruncationToken: "",
7606		},
7607	}
7608
7609	if input == nil {
7610		input = &ListEndpointsInput{}
7611	}
7612
7613	output = &ListEndpointsOutput{}
7614	req = c.newRequest(op, input, output)
7615	return
7616}
7617
7618// ListEndpoints API operation for Amazon SageMaker Service.
7619//
7620// Lists endpoints.
7621//
7622// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7623// with awserr.Error's Code and Message methods to get detailed information about
7624// the error.
7625//
7626// See the AWS API reference guide for Amazon SageMaker Service's
7627// API operation ListEndpoints for usage and error information.
7628// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpoints
7629func (c *SageMaker) ListEndpoints(input *ListEndpointsInput) (*ListEndpointsOutput, error) {
7630	req, out := c.ListEndpointsRequest(input)
7631	return out, req.Send()
7632}
7633
7634// ListEndpointsWithContext is the same as ListEndpoints with the addition of
7635// the ability to pass a context and additional request options.
7636//
7637// See ListEndpoints for details on how to use this API operation.
7638//
7639// The context must be non-nil and will be used for request cancellation. If
7640// the context is nil a panic will occur. In the future the SDK may create
7641// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7642// for more information on using Contexts.
7643func (c *SageMaker) ListEndpointsWithContext(ctx aws.Context, input *ListEndpointsInput, opts ...request.Option) (*ListEndpointsOutput, error) {
7644	req, out := c.ListEndpointsRequest(input)
7645	req.SetContext(ctx)
7646	req.ApplyOptions(opts...)
7647	return out, req.Send()
7648}
7649
7650// ListEndpointsPages iterates over the pages of a ListEndpoints operation,
7651// calling the "fn" function with the response data for each page. To stop
7652// iterating, return false from the fn function.
7653//
7654// See ListEndpoints method for more information on how to use this operation.
7655//
7656// Note: This operation can generate multiple requests to a service.
7657//
7658//    // Example iterating over at most 3 pages of a ListEndpoints operation.
7659//    pageNum := 0
7660//    err := client.ListEndpointsPages(params,
7661//        func(page *sagemaker.ListEndpointsOutput, lastPage bool) bool {
7662//            pageNum++
7663//            fmt.Println(page)
7664//            return pageNum <= 3
7665//        })
7666//
7667func (c *SageMaker) ListEndpointsPages(input *ListEndpointsInput, fn func(*ListEndpointsOutput, bool) bool) error {
7668	return c.ListEndpointsPagesWithContext(aws.BackgroundContext(), input, fn)
7669}
7670
7671// ListEndpointsPagesWithContext same as ListEndpointsPages except
7672// it takes a Context and allows setting request options on the pages.
7673//
7674// The context must be non-nil and will be used for request cancellation. If
7675// the context is nil a panic will occur. In the future the SDK may create
7676// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7677// for more information on using Contexts.
7678func (c *SageMaker) ListEndpointsPagesWithContext(ctx aws.Context, input *ListEndpointsInput, fn func(*ListEndpointsOutput, bool) bool, opts ...request.Option) error {
7679	p := request.Pagination{
7680		NewRequest: func() (*request.Request, error) {
7681			var inCpy *ListEndpointsInput
7682			if input != nil {
7683				tmp := *input
7684				inCpy = &tmp
7685			}
7686			req, _ := c.ListEndpointsRequest(inCpy)
7687			req.SetContext(ctx)
7688			req.ApplyOptions(opts...)
7689			return req, nil
7690		},
7691	}
7692
7693	for p.Next() {
7694		if !fn(p.Page().(*ListEndpointsOutput), !p.HasNextPage()) {
7695			break
7696		}
7697	}
7698
7699	return p.Err()
7700}
7701
7702const opListExperiments = "ListExperiments"
7703
7704// ListExperimentsRequest generates a "aws/request.Request" representing the
7705// client's request for the ListExperiments operation. The "output" return
7706// value will be populated with the request's response once the request completes
7707// successfully.
7708//
7709// Use "Send" method on the returned Request to send the API call to the service.
7710// the "output" return value is not valid until after Send returns without error.
7711//
7712// See ListExperiments for more information on using the ListExperiments
7713// API call, and error handling.
7714//
7715// This method is useful when you want to inject custom logic or configuration
7716// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7717//
7718//
7719//    // Example sending a request using the ListExperimentsRequest method.
7720//    req, resp := client.ListExperimentsRequest(params)
7721//
7722//    err := req.Send()
7723//    if err == nil { // resp is now filled
7724//        fmt.Println(resp)
7725//    }
7726//
7727// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListExperiments
7728func (c *SageMaker) ListExperimentsRequest(input *ListExperimentsInput) (req *request.Request, output *ListExperimentsOutput) {
7729	op := &request.Operation{
7730		Name:       opListExperiments,
7731		HTTPMethod: "POST",
7732		HTTPPath:   "/",
7733		Paginator: &request.Paginator{
7734			InputTokens:     []string{"NextToken"},
7735			OutputTokens:    []string{"NextToken"},
7736			LimitToken:      "MaxResults",
7737			TruncationToken: "",
7738		},
7739	}
7740
7741	if input == nil {
7742		input = &ListExperimentsInput{}
7743	}
7744
7745	output = &ListExperimentsOutput{}
7746	req = c.newRequest(op, input, output)
7747	return
7748}
7749
7750// ListExperiments API operation for Amazon SageMaker Service.
7751//
7752// Lists all the experiments in your account. The list can be filtered to show
7753// only experiments that were created in a specific time range. The list can
7754// be sorted by experiment name or creation time.
7755//
7756// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7757// with awserr.Error's Code and Message methods to get detailed information about
7758// the error.
7759//
7760// See the AWS API reference guide for Amazon SageMaker Service's
7761// API operation ListExperiments for usage and error information.
7762// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListExperiments
7763func (c *SageMaker) ListExperiments(input *ListExperimentsInput) (*ListExperimentsOutput, error) {
7764	req, out := c.ListExperimentsRequest(input)
7765	return out, req.Send()
7766}
7767
7768// ListExperimentsWithContext is the same as ListExperiments with the addition of
7769// the ability to pass a context and additional request options.
7770//
7771// See ListExperiments for details on how to use this API operation.
7772//
7773// The context must be non-nil and will be used for request cancellation. If
7774// the context is nil a panic will occur. In the future the SDK may create
7775// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7776// for more information on using Contexts.
7777func (c *SageMaker) ListExperimentsWithContext(ctx aws.Context, input *ListExperimentsInput, opts ...request.Option) (*ListExperimentsOutput, error) {
7778	req, out := c.ListExperimentsRequest(input)
7779	req.SetContext(ctx)
7780	req.ApplyOptions(opts...)
7781	return out, req.Send()
7782}
7783
7784// ListExperimentsPages iterates over the pages of a ListExperiments operation,
7785// calling the "fn" function with the response data for each page. To stop
7786// iterating, return false from the fn function.
7787//
7788// See ListExperiments method for more information on how to use this operation.
7789//
7790// Note: This operation can generate multiple requests to a service.
7791//
7792//    // Example iterating over at most 3 pages of a ListExperiments operation.
7793//    pageNum := 0
7794//    err := client.ListExperimentsPages(params,
7795//        func(page *sagemaker.ListExperimentsOutput, lastPage bool) bool {
7796//            pageNum++
7797//            fmt.Println(page)
7798//            return pageNum <= 3
7799//        })
7800//
7801func (c *SageMaker) ListExperimentsPages(input *ListExperimentsInput, fn func(*ListExperimentsOutput, bool) bool) error {
7802	return c.ListExperimentsPagesWithContext(aws.BackgroundContext(), input, fn)
7803}
7804
7805// ListExperimentsPagesWithContext same as ListExperimentsPages except
7806// it takes a Context and allows setting request options on the pages.
7807//
7808// The context must be non-nil and will be used for request cancellation. If
7809// the context is nil a panic will occur. In the future the SDK may create
7810// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7811// for more information on using Contexts.
7812func (c *SageMaker) ListExperimentsPagesWithContext(ctx aws.Context, input *ListExperimentsInput, fn func(*ListExperimentsOutput, bool) bool, opts ...request.Option) error {
7813	p := request.Pagination{
7814		NewRequest: func() (*request.Request, error) {
7815			var inCpy *ListExperimentsInput
7816			if input != nil {
7817				tmp := *input
7818				inCpy = &tmp
7819			}
7820			req, _ := c.ListExperimentsRequest(inCpy)
7821			req.SetContext(ctx)
7822			req.ApplyOptions(opts...)
7823			return req, nil
7824		},
7825	}
7826
7827	for p.Next() {
7828		if !fn(p.Page().(*ListExperimentsOutput), !p.HasNextPage()) {
7829			break
7830		}
7831	}
7832
7833	return p.Err()
7834}
7835
7836const opListFlowDefinitions = "ListFlowDefinitions"
7837
7838// ListFlowDefinitionsRequest generates a "aws/request.Request" representing the
7839// client's request for the ListFlowDefinitions operation. The "output" return
7840// value will be populated with the request's response once the request completes
7841// successfully.
7842//
7843// Use "Send" method on the returned Request to send the API call to the service.
7844// the "output" return value is not valid until after Send returns without error.
7845//
7846// See ListFlowDefinitions for more information on using the ListFlowDefinitions
7847// API call, and error handling.
7848//
7849// This method is useful when you want to inject custom logic or configuration
7850// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7851//
7852//
7853//    // Example sending a request using the ListFlowDefinitionsRequest method.
7854//    req, resp := client.ListFlowDefinitionsRequest(params)
7855//
7856//    err := req.Send()
7857//    if err == nil { // resp is now filled
7858//        fmt.Println(resp)
7859//    }
7860//
7861// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListFlowDefinitions
7862func (c *SageMaker) ListFlowDefinitionsRequest(input *ListFlowDefinitionsInput) (req *request.Request, output *ListFlowDefinitionsOutput) {
7863	op := &request.Operation{
7864		Name:       opListFlowDefinitions,
7865		HTTPMethod: "POST",
7866		HTTPPath:   "/",
7867		Paginator: &request.Paginator{
7868			InputTokens:     []string{"NextToken"},
7869			OutputTokens:    []string{"NextToken"},
7870			LimitToken:      "MaxResults",
7871			TruncationToken: "",
7872		},
7873	}
7874
7875	if input == nil {
7876		input = &ListFlowDefinitionsInput{}
7877	}
7878
7879	output = &ListFlowDefinitionsOutput{}
7880	req = c.newRequest(op, input, output)
7881	return
7882}
7883
7884// ListFlowDefinitions API operation for Amazon SageMaker Service.
7885//
7886// Returns information about the flow definitions in your account.
7887//
7888// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7889// with awserr.Error's Code and Message methods to get detailed information about
7890// the error.
7891//
7892// See the AWS API reference guide for Amazon SageMaker Service's
7893// API operation ListFlowDefinitions for usage and error information.
7894// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListFlowDefinitions
7895func (c *SageMaker) ListFlowDefinitions(input *ListFlowDefinitionsInput) (*ListFlowDefinitionsOutput, error) {
7896	req, out := c.ListFlowDefinitionsRequest(input)
7897	return out, req.Send()
7898}
7899
7900// ListFlowDefinitionsWithContext is the same as ListFlowDefinitions with the addition of
7901// the ability to pass a context and additional request options.
7902//
7903// See ListFlowDefinitions for details on how to use this API operation.
7904//
7905// The context must be non-nil and will be used for request cancellation. If
7906// the context is nil a panic will occur. In the future the SDK may create
7907// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7908// for more information on using Contexts.
7909func (c *SageMaker) ListFlowDefinitionsWithContext(ctx aws.Context, input *ListFlowDefinitionsInput, opts ...request.Option) (*ListFlowDefinitionsOutput, error) {
7910	req, out := c.ListFlowDefinitionsRequest(input)
7911	req.SetContext(ctx)
7912	req.ApplyOptions(opts...)
7913	return out, req.Send()
7914}
7915
7916// ListFlowDefinitionsPages iterates over the pages of a ListFlowDefinitions operation,
7917// calling the "fn" function with the response data for each page. To stop
7918// iterating, return false from the fn function.
7919//
7920// See ListFlowDefinitions method for more information on how to use this operation.
7921//
7922// Note: This operation can generate multiple requests to a service.
7923//
7924//    // Example iterating over at most 3 pages of a ListFlowDefinitions operation.
7925//    pageNum := 0
7926//    err := client.ListFlowDefinitionsPages(params,
7927//        func(page *sagemaker.ListFlowDefinitionsOutput, lastPage bool) bool {
7928//            pageNum++
7929//            fmt.Println(page)
7930//            return pageNum <= 3
7931//        })
7932//
7933func (c *SageMaker) ListFlowDefinitionsPages(input *ListFlowDefinitionsInput, fn func(*ListFlowDefinitionsOutput, bool) bool) error {
7934	return c.ListFlowDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn)
7935}
7936
7937// ListFlowDefinitionsPagesWithContext same as ListFlowDefinitionsPages except
7938// it takes a Context and allows setting request options on the pages.
7939//
7940// The context must be non-nil and will be used for request cancellation. If
7941// the context is nil a panic will occur. In the future the SDK may create
7942// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7943// for more information on using Contexts.
7944func (c *SageMaker) ListFlowDefinitionsPagesWithContext(ctx aws.Context, input *ListFlowDefinitionsInput, fn func(*ListFlowDefinitionsOutput, bool) bool, opts ...request.Option) error {
7945	p := request.Pagination{
7946		NewRequest: func() (*request.Request, error) {
7947			var inCpy *ListFlowDefinitionsInput
7948			if input != nil {
7949				tmp := *input
7950				inCpy = &tmp
7951			}
7952			req, _ := c.ListFlowDefinitionsRequest(inCpy)
7953			req.SetContext(ctx)
7954			req.ApplyOptions(opts...)
7955			return req, nil
7956		},
7957	}
7958
7959	for p.Next() {
7960		if !fn(p.Page().(*ListFlowDefinitionsOutput), !p.HasNextPage()) {
7961			break
7962		}
7963	}
7964
7965	return p.Err()
7966}
7967
7968const opListHumanTaskUis = "ListHumanTaskUis"
7969
7970// ListHumanTaskUisRequest generates a "aws/request.Request" representing the
7971// client's request for the ListHumanTaskUis operation. The "output" return
7972// value will be populated with the request's response once the request completes
7973// successfully.
7974//
7975// Use "Send" method on the returned Request to send the API call to the service.
7976// the "output" return value is not valid until after Send returns without error.
7977//
7978// See ListHumanTaskUis for more information on using the ListHumanTaskUis
7979// API call, and error handling.
7980//
7981// This method is useful when you want to inject custom logic or configuration
7982// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7983//
7984//
7985//    // Example sending a request using the ListHumanTaskUisRequest method.
7986//    req, resp := client.ListHumanTaskUisRequest(params)
7987//
7988//    err := req.Send()
7989//    if err == nil { // resp is now filled
7990//        fmt.Println(resp)
7991//    }
7992//
7993// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHumanTaskUis
7994func (c *SageMaker) ListHumanTaskUisRequest(input *ListHumanTaskUisInput) (req *request.Request, output *ListHumanTaskUisOutput) {
7995	op := &request.Operation{
7996		Name:       opListHumanTaskUis,
7997		HTTPMethod: "POST",
7998		HTTPPath:   "/",
7999		Paginator: &request.Paginator{
8000			InputTokens:     []string{"NextToken"},
8001			OutputTokens:    []string{"NextToken"},
8002			LimitToken:      "MaxResults",
8003			TruncationToken: "",
8004		},
8005	}
8006
8007	if input == nil {
8008		input = &ListHumanTaskUisInput{}
8009	}
8010
8011	output = &ListHumanTaskUisOutput{}
8012	req = c.newRequest(op, input, output)
8013	return
8014}
8015
8016// ListHumanTaskUis API operation for Amazon SageMaker Service.
8017//
8018// Returns information about the human task user interfaces in your account.
8019//
8020// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8021// with awserr.Error's Code and Message methods to get detailed information about
8022// the error.
8023//
8024// See the AWS API reference guide for Amazon SageMaker Service's
8025// API operation ListHumanTaskUis for usage and error information.
8026// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHumanTaskUis
8027func (c *SageMaker) ListHumanTaskUis(input *ListHumanTaskUisInput) (*ListHumanTaskUisOutput, error) {
8028	req, out := c.ListHumanTaskUisRequest(input)
8029	return out, req.Send()
8030}
8031
8032// ListHumanTaskUisWithContext is the same as ListHumanTaskUis with the addition of
8033// the ability to pass a context and additional request options.
8034//
8035// See ListHumanTaskUis for details on how to use this API operation.
8036//
8037// The context must be non-nil and will be used for request cancellation. If
8038// the context is nil a panic will occur. In the future the SDK may create
8039// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8040// for more information on using Contexts.
8041func (c *SageMaker) ListHumanTaskUisWithContext(ctx aws.Context, input *ListHumanTaskUisInput, opts ...request.Option) (*ListHumanTaskUisOutput, error) {
8042	req, out := c.ListHumanTaskUisRequest(input)
8043	req.SetContext(ctx)
8044	req.ApplyOptions(opts...)
8045	return out, req.Send()
8046}
8047
8048// ListHumanTaskUisPages iterates over the pages of a ListHumanTaskUis operation,
8049// calling the "fn" function with the response data for each page. To stop
8050// iterating, return false from the fn function.
8051//
8052// See ListHumanTaskUis method for more information on how to use this operation.
8053//
8054// Note: This operation can generate multiple requests to a service.
8055//
8056//    // Example iterating over at most 3 pages of a ListHumanTaskUis operation.
8057//    pageNum := 0
8058//    err := client.ListHumanTaskUisPages(params,
8059//        func(page *sagemaker.ListHumanTaskUisOutput, lastPage bool) bool {
8060//            pageNum++
8061//            fmt.Println(page)
8062//            return pageNum <= 3
8063//        })
8064//
8065func (c *SageMaker) ListHumanTaskUisPages(input *ListHumanTaskUisInput, fn func(*ListHumanTaskUisOutput, bool) bool) error {
8066	return c.ListHumanTaskUisPagesWithContext(aws.BackgroundContext(), input, fn)
8067}
8068
8069// ListHumanTaskUisPagesWithContext same as ListHumanTaskUisPages except
8070// it takes a Context and allows setting request options on the pages.
8071//
8072// The context must be non-nil and will be used for request cancellation. If
8073// the context is nil a panic will occur. In the future the SDK may create
8074// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8075// for more information on using Contexts.
8076func (c *SageMaker) ListHumanTaskUisPagesWithContext(ctx aws.Context, input *ListHumanTaskUisInput, fn func(*ListHumanTaskUisOutput, bool) bool, opts ...request.Option) error {
8077	p := request.Pagination{
8078		NewRequest: func() (*request.Request, error) {
8079			var inCpy *ListHumanTaskUisInput
8080			if input != nil {
8081				tmp := *input
8082				inCpy = &tmp
8083			}
8084			req, _ := c.ListHumanTaskUisRequest(inCpy)
8085			req.SetContext(ctx)
8086			req.ApplyOptions(opts...)
8087			return req, nil
8088		},
8089	}
8090
8091	for p.Next() {
8092		if !fn(p.Page().(*ListHumanTaskUisOutput), !p.HasNextPage()) {
8093			break
8094		}
8095	}
8096
8097	return p.Err()
8098}
8099
8100const opListHyperParameterTuningJobs = "ListHyperParameterTuningJobs"
8101
8102// ListHyperParameterTuningJobsRequest generates a "aws/request.Request" representing the
8103// client's request for the ListHyperParameterTuningJobs operation. The "output" return
8104// value will be populated with the request's response once the request completes
8105// successfully.
8106//
8107// Use "Send" method on the returned Request to send the API call to the service.
8108// the "output" return value is not valid until after Send returns without error.
8109//
8110// See ListHyperParameterTuningJobs for more information on using the ListHyperParameterTuningJobs
8111// API call, and error handling.
8112//
8113// This method is useful when you want to inject custom logic or configuration
8114// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8115//
8116//
8117//    // Example sending a request using the ListHyperParameterTuningJobsRequest method.
8118//    req, resp := client.ListHyperParameterTuningJobsRequest(params)
8119//
8120//    err := req.Send()
8121//    if err == nil { // resp is now filled
8122//        fmt.Println(resp)
8123//    }
8124//
8125// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHyperParameterTuningJobs
8126func (c *SageMaker) ListHyperParameterTuningJobsRequest(input *ListHyperParameterTuningJobsInput) (req *request.Request, output *ListHyperParameterTuningJobsOutput) {
8127	op := &request.Operation{
8128		Name:       opListHyperParameterTuningJobs,
8129		HTTPMethod: "POST",
8130		HTTPPath:   "/",
8131		Paginator: &request.Paginator{
8132			InputTokens:     []string{"NextToken"},
8133			OutputTokens:    []string{"NextToken"},
8134			LimitToken:      "MaxResults",
8135			TruncationToken: "",
8136		},
8137	}
8138
8139	if input == nil {
8140		input = &ListHyperParameterTuningJobsInput{}
8141	}
8142
8143	output = &ListHyperParameterTuningJobsOutput{}
8144	req = c.newRequest(op, input, output)
8145	return
8146}
8147
8148// ListHyperParameterTuningJobs API operation for Amazon SageMaker Service.
8149//
8150// Gets a list of HyperParameterTuningJobSummary objects that describe the hyperparameter
8151// tuning jobs launched in your account.
8152//
8153// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8154// with awserr.Error's Code and Message methods to get detailed information about
8155// the error.
8156//
8157// See the AWS API reference guide for Amazon SageMaker Service's
8158// API operation ListHyperParameterTuningJobs for usage and error information.
8159// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHyperParameterTuningJobs
8160func (c *SageMaker) ListHyperParameterTuningJobs(input *ListHyperParameterTuningJobsInput) (*ListHyperParameterTuningJobsOutput, error) {
8161	req, out := c.ListHyperParameterTuningJobsRequest(input)
8162	return out, req.Send()
8163}
8164
8165// ListHyperParameterTuningJobsWithContext is the same as ListHyperParameterTuningJobs with the addition of
8166// the ability to pass a context and additional request options.
8167//
8168// See ListHyperParameterTuningJobs for details on how to use this API operation.
8169//
8170// The context must be non-nil and will be used for request cancellation. If
8171// the context is nil a panic will occur. In the future the SDK may create
8172// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8173// for more information on using Contexts.
8174func (c *SageMaker) ListHyperParameterTuningJobsWithContext(ctx aws.Context, input *ListHyperParameterTuningJobsInput, opts ...request.Option) (*ListHyperParameterTuningJobsOutput, error) {
8175	req, out := c.ListHyperParameterTuningJobsRequest(input)
8176	req.SetContext(ctx)
8177	req.ApplyOptions(opts...)
8178	return out, req.Send()
8179}
8180
8181// ListHyperParameterTuningJobsPages iterates over the pages of a ListHyperParameterTuningJobs operation,
8182// calling the "fn" function with the response data for each page. To stop
8183// iterating, return false from the fn function.
8184//
8185// See ListHyperParameterTuningJobs method for more information on how to use this operation.
8186//
8187// Note: This operation can generate multiple requests to a service.
8188//
8189//    // Example iterating over at most 3 pages of a ListHyperParameterTuningJobs operation.
8190//    pageNum := 0
8191//    err := client.ListHyperParameterTuningJobsPages(params,
8192//        func(page *sagemaker.ListHyperParameterTuningJobsOutput, lastPage bool) bool {
8193//            pageNum++
8194//            fmt.Println(page)
8195//            return pageNum <= 3
8196//        })
8197//
8198func (c *SageMaker) ListHyperParameterTuningJobsPages(input *ListHyperParameterTuningJobsInput, fn func(*ListHyperParameterTuningJobsOutput, bool) bool) error {
8199	return c.ListHyperParameterTuningJobsPagesWithContext(aws.BackgroundContext(), input, fn)
8200}
8201
8202// ListHyperParameterTuningJobsPagesWithContext same as ListHyperParameterTuningJobsPages except
8203// it takes a Context and allows setting request options on the pages.
8204//
8205// The context must be non-nil and will be used for request cancellation. If
8206// the context is nil a panic will occur. In the future the SDK may create
8207// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8208// for more information on using Contexts.
8209func (c *SageMaker) ListHyperParameterTuningJobsPagesWithContext(ctx aws.Context, input *ListHyperParameterTuningJobsInput, fn func(*ListHyperParameterTuningJobsOutput, bool) bool, opts ...request.Option) error {
8210	p := request.Pagination{
8211		NewRequest: func() (*request.Request, error) {
8212			var inCpy *ListHyperParameterTuningJobsInput
8213			if input != nil {
8214				tmp := *input
8215				inCpy = &tmp
8216			}
8217			req, _ := c.ListHyperParameterTuningJobsRequest(inCpy)
8218			req.SetContext(ctx)
8219			req.ApplyOptions(opts...)
8220			return req, nil
8221		},
8222	}
8223
8224	for p.Next() {
8225		if !fn(p.Page().(*ListHyperParameterTuningJobsOutput), !p.HasNextPage()) {
8226			break
8227		}
8228	}
8229
8230	return p.Err()
8231}
8232
8233const opListLabelingJobs = "ListLabelingJobs"
8234
8235// ListLabelingJobsRequest generates a "aws/request.Request" representing the
8236// client's request for the ListLabelingJobs operation. The "output" return
8237// value will be populated with the request's response once the request completes
8238// successfully.
8239//
8240// Use "Send" method on the returned Request to send the API call to the service.
8241// the "output" return value is not valid until after Send returns without error.
8242//
8243// See ListLabelingJobs for more information on using the ListLabelingJobs
8244// API call, and error handling.
8245//
8246// This method is useful when you want to inject custom logic or configuration
8247// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8248//
8249//
8250//    // Example sending a request using the ListLabelingJobsRequest method.
8251//    req, resp := client.ListLabelingJobsRequest(params)
8252//
8253//    err := req.Send()
8254//    if err == nil { // resp is now filled
8255//        fmt.Println(resp)
8256//    }
8257//
8258// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobs
8259func (c *SageMaker) ListLabelingJobsRequest(input *ListLabelingJobsInput) (req *request.Request, output *ListLabelingJobsOutput) {
8260	op := &request.Operation{
8261		Name:       opListLabelingJobs,
8262		HTTPMethod: "POST",
8263		HTTPPath:   "/",
8264		Paginator: &request.Paginator{
8265			InputTokens:     []string{"NextToken"},
8266			OutputTokens:    []string{"NextToken"},
8267			LimitToken:      "MaxResults",
8268			TruncationToken: "",
8269		},
8270	}
8271
8272	if input == nil {
8273		input = &ListLabelingJobsInput{}
8274	}
8275
8276	output = &ListLabelingJobsOutput{}
8277	req = c.newRequest(op, input, output)
8278	return
8279}
8280
8281// ListLabelingJobs API operation for Amazon SageMaker Service.
8282//
8283// Gets a list of labeling jobs.
8284//
8285// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8286// with awserr.Error's Code and Message methods to get detailed information about
8287// the error.
8288//
8289// See the AWS API reference guide for Amazon SageMaker Service's
8290// API operation ListLabelingJobs for usage and error information.
8291// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobs
8292func (c *SageMaker) ListLabelingJobs(input *ListLabelingJobsInput) (*ListLabelingJobsOutput, error) {
8293	req, out := c.ListLabelingJobsRequest(input)
8294	return out, req.Send()
8295}
8296
8297// ListLabelingJobsWithContext is the same as ListLabelingJobs with the addition of
8298// the ability to pass a context and additional request options.
8299//
8300// See ListLabelingJobs for details on how to use this API operation.
8301//
8302// The context must be non-nil and will be used for request cancellation. If
8303// the context is nil a panic will occur. In the future the SDK may create
8304// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8305// for more information on using Contexts.
8306func (c *SageMaker) ListLabelingJobsWithContext(ctx aws.Context, input *ListLabelingJobsInput, opts ...request.Option) (*ListLabelingJobsOutput, error) {
8307	req, out := c.ListLabelingJobsRequest(input)
8308	req.SetContext(ctx)
8309	req.ApplyOptions(opts...)
8310	return out, req.Send()
8311}
8312
8313// ListLabelingJobsPages iterates over the pages of a ListLabelingJobs operation,
8314// calling the "fn" function with the response data for each page. To stop
8315// iterating, return false from the fn function.
8316//
8317// See ListLabelingJobs method for more information on how to use this operation.
8318//
8319// Note: This operation can generate multiple requests to a service.
8320//
8321//    // Example iterating over at most 3 pages of a ListLabelingJobs operation.
8322//    pageNum := 0
8323//    err := client.ListLabelingJobsPages(params,
8324//        func(page *sagemaker.ListLabelingJobsOutput, lastPage bool) bool {
8325//            pageNum++
8326//            fmt.Println(page)
8327//            return pageNum <= 3
8328//        })
8329//
8330func (c *SageMaker) ListLabelingJobsPages(input *ListLabelingJobsInput, fn func(*ListLabelingJobsOutput, bool) bool) error {
8331	return c.ListLabelingJobsPagesWithContext(aws.BackgroundContext(), input, fn)
8332}
8333
8334// ListLabelingJobsPagesWithContext same as ListLabelingJobsPages except
8335// it takes a Context and allows setting request options on the pages.
8336//
8337// The context must be non-nil and will be used for request cancellation. If
8338// the context is nil a panic will occur. In the future the SDK may create
8339// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8340// for more information on using Contexts.
8341func (c *SageMaker) ListLabelingJobsPagesWithContext(ctx aws.Context, input *ListLabelingJobsInput, fn func(*ListLabelingJobsOutput, bool) bool, opts ...request.Option) error {
8342	p := request.Pagination{
8343		NewRequest: func() (*request.Request, error) {
8344			var inCpy *ListLabelingJobsInput
8345			if input != nil {
8346				tmp := *input
8347				inCpy = &tmp
8348			}
8349			req, _ := c.ListLabelingJobsRequest(inCpy)
8350			req.SetContext(ctx)
8351			req.ApplyOptions(opts...)
8352			return req, nil
8353		},
8354	}
8355
8356	for p.Next() {
8357		if !fn(p.Page().(*ListLabelingJobsOutput), !p.HasNextPage()) {
8358			break
8359		}
8360	}
8361
8362	return p.Err()
8363}
8364
8365const opListLabelingJobsForWorkteam = "ListLabelingJobsForWorkteam"
8366
8367// ListLabelingJobsForWorkteamRequest generates a "aws/request.Request" representing the
8368// client's request for the ListLabelingJobsForWorkteam operation. The "output" return
8369// value will be populated with the request's response once the request completes
8370// successfully.
8371//
8372// Use "Send" method on the returned Request to send the API call to the service.
8373// the "output" return value is not valid until after Send returns without error.
8374//
8375// See ListLabelingJobsForWorkteam for more information on using the ListLabelingJobsForWorkteam
8376// API call, and error handling.
8377//
8378// This method is useful when you want to inject custom logic or configuration
8379// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8380//
8381//
8382//    // Example sending a request using the ListLabelingJobsForWorkteamRequest method.
8383//    req, resp := client.ListLabelingJobsForWorkteamRequest(params)
8384//
8385//    err := req.Send()
8386//    if err == nil { // resp is now filled
8387//        fmt.Println(resp)
8388//    }
8389//
8390// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobsForWorkteam
8391func (c *SageMaker) ListLabelingJobsForWorkteamRequest(input *ListLabelingJobsForWorkteamInput) (req *request.Request, output *ListLabelingJobsForWorkteamOutput) {
8392	op := &request.Operation{
8393		Name:       opListLabelingJobsForWorkteam,
8394		HTTPMethod: "POST",
8395		HTTPPath:   "/",
8396		Paginator: &request.Paginator{
8397			InputTokens:     []string{"NextToken"},
8398			OutputTokens:    []string{"NextToken"},
8399			LimitToken:      "MaxResults",
8400			TruncationToken: "",
8401		},
8402	}
8403
8404	if input == nil {
8405		input = &ListLabelingJobsForWorkteamInput{}
8406	}
8407
8408	output = &ListLabelingJobsForWorkteamOutput{}
8409	req = c.newRequest(op, input, output)
8410	return
8411}
8412
8413// ListLabelingJobsForWorkteam API operation for Amazon SageMaker Service.
8414//
8415// Gets a list of labeling jobs assigned to a specified work team.
8416//
8417// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8418// with awserr.Error's Code and Message methods to get detailed information about
8419// the error.
8420//
8421// See the AWS API reference guide for Amazon SageMaker Service's
8422// API operation ListLabelingJobsForWorkteam for usage and error information.
8423//
8424// Returned Error Types:
8425//   * ResourceNotFound
8426//   Resource being access is not found.
8427//
8428// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobsForWorkteam
8429func (c *SageMaker) ListLabelingJobsForWorkteam(input *ListLabelingJobsForWorkteamInput) (*ListLabelingJobsForWorkteamOutput, error) {
8430	req, out := c.ListLabelingJobsForWorkteamRequest(input)
8431	return out, req.Send()
8432}
8433
8434// ListLabelingJobsForWorkteamWithContext is the same as ListLabelingJobsForWorkteam with the addition of
8435// the ability to pass a context and additional request options.
8436//
8437// See ListLabelingJobsForWorkteam for details on how to use this API operation.
8438//
8439// The context must be non-nil and will be used for request cancellation. If
8440// the context is nil a panic will occur. In the future the SDK may create
8441// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8442// for more information on using Contexts.
8443func (c *SageMaker) ListLabelingJobsForWorkteamWithContext(ctx aws.Context, input *ListLabelingJobsForWorkteamInput, opts ...request.Option) (*ListLabelingJobsForWorkteamOutput, error) {
8444	req, out := c.ListLabelingJobsForWorkteamRequest(input)
8445	req.SetContext(ctx)
8446	req.ApplyOptions(opts...)
8447	return out, req.Send()
8448}
8449
8450// ListLabelingJobsForWorkteamPages iterates over the pages of a ListLabelingJobsForWorkteam operation,
8451// calling the "fn" function with the response data for each page. To stop
8452// iterating, return false from the fn function.
8453//
8454// See ListLabelingJobsForWorkteam method for more information on how to use this operation.
8455//
8456// Note: This operation can generate multiple requests to a service.
8457//
8458//    // Example iterating over at most 3 pages of a ListLabelingJobsForWorkteam operation.
8459//    pageNum := 0
8460//    err := client.ListLabelingJobsForWorkteamPages(params,
8461//        func(page *sagemaker.ListLabelingJobsForWorkteamOutput, lastPage bool) bool {
8462//            pageNum++
8463//            fmt.Println(page)
8464//            return pageNum <= 3
8465//        })
8466//
8467func (c *SageMaker) ListLabelingJobsForWorkteamPages(input *ListLabelingJobsForWorkteamInput, fn func(*ListLabelingJobsForWorkteamOutput, bool) bool) error {
8468	return c.ListLabelingJobsForWorkteamPagesWithContext(aws.BackgroundContext(), input, fn)
8469}
8470
8471// ListLabelingJobsForWorkteamPagesWithContext same as ListLabelingJobsForWorkteamPages except
8472// it takes a Context and allows setting request options on the pages.
8473//
8474// The context must be non-nil and will be used for request cancellation. If
8475// the context is nil a panic will occur. In the future the SDK may create
8476// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8477// for more information on using Contexts.
8478func (c *SageMaker) ListLabelingJobsForWorkteamPagesWithContext(ctx aws.Context, input *ListLabelingJobsForWorkteamInput, fn func(*ListLabelingJobsForWorkteamOutput, bool) bool, opts ...request.Option) error {
8479	p := request.Pagination{
8480		NewRequest: func() (*request.Request, error) {
8481			var inCpy *ListLabelingJobsForWorkteamInput
8482			if input != nil {
8483				tmp := *input
8484				inCpy = &tmp
8485			}
8486			req, _ := c.ListLabelingJobsForWorkteamRequest(inCpy)
8487			req.SetContext(ctx)
8488			req.ApplyOptions(opts...)
8489			return req, nil
8490		},
8491	}
8492
8493	for p.Next() {
8494		if !fn(p.Page().(*ListLabelingJobsForWorkteamOutput), !p.HasNextPage()) {
8495			break
8496		}
8497	}
8498
8499	return p.Err()
8500}
8501
8502const opListModelPackages = "ListModelPackages"
8503
8504// ListModelPackagesRequest generates a "aws/request.Request" representing the
8505// client's request for the ListModelPackages operation. The "output" return
8506// value will be populated with the request's response once the request completes
8507// successfully.
8508//
8509// Use "Send" method on the returned Request to send the API call to the service.
8510// the "output" return value is not valid until after Send returns without error.
8511//
8512// See ListModelPackages for more information on using the ListModelPackages
8513// API call, and error handling.
8514//
8515// This method is useful when you want to inject custom logic or configuration
8516// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8517//
8518//
8519//    // Example sending a request using the ListModelPackagesRequest method.
8520//    req, resp := client.ListModelPackagesRequest(params)
8521//
8522//    err := req.Send()
8523//    if err == nil { // resp is now filled
8524//        fmt.Println(resp)
8525//    }
8526//
8527// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelPackages
8528func (c *SageMaker) ListModelPackagesRequest(input *ListModelPackagesInput) (req *request.Request, output *ListModelPackagesOutput) {
8529	op := &request.Operation{
8530		Name:       opListModelPackages,
8531		HTTPMethod: "POST",
8532		HTTPPath:   "/",
8533		Paginator: &request.Paginator{
8534			InputTokens:     []string{"NextToken"},
8535			OutputTokens:    []string{"NextToken"},
8536			LimitToken:      "MaxResults",
8537			TruncationToken: "",
8538		},
8539	}
8540
8541	if input == nil {
8542		input = &ListModelPackagesInput{}
8543	}
8544
8545	output = &ListModelPackagesOutput{}
8546	req = c.newRequest(op, input, output)
8547	return
8548}
8549
8550// ListModelPackages API operation for Amazon SageMaker Service.
8551//
8552// Lists the model packages that have been created.
8553//
8554// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8555// with awserr.Error's Code and Message methods to get detailed information about
8556// the error.
8557//
8558// See the AWS API reference guide for Amazon SageMaker Service's
8559// API operation ListModelPackages for usage and error information.
8560// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelPackages
8561func (c *SageMaker) ListModelPackages(input *ListModelPackagesInput) (*ListModelPackagesOutput, error) {
8562	req, out := c.ListModelPackagesRequest(input)
8563	return out, req.Send()
8564}
8565
8566// ListModelPackagesWithContext is the same as ListModelPackages with the addition of
8567// the ability to pass a context and additional request options.
8568//
8569// See ListModelPackages for details on how to use this API operation.
8570//
8571// The context must be non-nil and will be used for request cancellation. If
8572// the context is nil a panic will occur. In the future the SDK may create
8573// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8574// for more information on using Contexts.
8575func (c *SageMaker) ListModelPackagesWithContext(ctx aws.Context, input *ListModelPackagesInput, opts ...request.Option) (*ListModelPackagesOutput, error) {
8576	req, out := c.ListModelPackagesRequest(input)
8577	req.SetContext(ctx)
8578	req.ApplyOptions(opts...)
8579	return out, req.Send()
8580}
8581
8582// ListModelPackagesPages iterates over the pages of a ListModelPackages operation,
8583// calling the "fn" function with the response data for each page. To stop
8584// iterating, return false from the fn function.
8585//
8586// See ListModelPackages method for more information on how to use this operation.
8587//
8588// Note: This operation can generate multiple requests to a service.
8589//
8590//    // Example iterating over at most 3 pages of a ListModelPackages operation.
8591//    pageNum := 0
8592//    err := client.ListModelPackagesPages(params,
8593//        func(page *sagemaker.ListModelPackagesOutput, lastPage bool) bool {
8594//            pageNum++
8595//            fmt.Println(page)
8596//            return pageNum <= 3
8597//        })
8598//
8599func (c *SageMaker) ListModelPackagesPages(input *ListModelPackagesInput, fn func(*ListModelPackagesOutput, bool) bool) error {
8600	return c.ListModelPackagesPagesWithContext(aws.BackgroundContext(), input, fn)
8601}
8602
8603// ListModelPackagesPagesWithContext same as ListModelPackagesPages except
8604// it takes a Context and allows setting request options on the pages.
8605//
8606// The context must be non-nil and will be used for request cancellation. If
8607// the context is nil a panic will occur. In the future the SDK may create
8608// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8609// for more information on using Contexts.
8610func (c *SageMaker) ListModelPackagesPagesWithContext(ctx aws.Context, input *ListModelPackagesInput, fn func(*ListModelPackagesOutput, bool) bool, opts ...request.Option) error {
8611	p := request.Pagination{
8612		NewRequest: func() (*request.Request, error) {
8613			var inCpy *ListModelPackagesInput
8614			if input != nil {
8615				tmp := *input
8616				inCpy = &tmp
8617			}
8618			req, _ := c.ListModelPackagesRequest(inCpy)
8619			req.SetContext(ctx)
8620			req.ApplyOptions(opts...)
8621			return req, nil
8622		},
8623	}
8624
8625	for p.Next() {
8626		if !fn(p.Page().(*ListModelPackagesOutput), !p.HasNextPage()) {
8627			break
8628		}
8629	}
8630
8631	return p.Err()
8632}
8633
8634const opListModels = "ListModels"
8635
8636// ListModelsRequest generates a "aws/request.Request" representing the
8637// client's request for the ListModels operation. The "output" return
8638// value will be populated with the request's response once the request completes
8639// successfully.
8640//
8641// Use "Send" method on the returned Request to send the API call to the service.
8642// the "output" return value is not valid until after Send returns without error.
8643//
8644// See ListModels for more information on using the ListModels
8645// API call, and error handling.
8646//
8647// This method is useful when you want to inject custom logic or configuration
8648// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8649//
8650//
8651//    // Example sending a request using the ListModelsRequest method.
8652//    req, resp := client.ListModelsRequest(params)
8653//
8654//    err := req.Send()
8655//    if err == nil { // resp is now filled
8656//        fmt.Println(resp)
8657//    }
8658//
8659// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModels
8660func (c *SageMaker) ListModelsRequest(input *ListModelsInput) (req *request.Request, output *ListModelsOutput) {
8661	op := &request.Operation{
8662		Name:       opListModels,
8663		HTTPMethod: "POST",
8664		HTTPPath:   "/",
8665		Paginator: &request.Paginator{
8666			InputTokens:     []string{"NextToken"},
8667			OutputTokens:    []string{"NextToken"},
8668			LimitToken:      "MaxResults",
8669			TruncationToken: "",
8670		},
8671	}
8672
8673	if input == nil {
8674		input = &ListModelsInput{}
8675	}
8676
8677	output = &ListModelsOutput{}
8678	req = c.newRequest(op, input, output)
8679	return
8680}
8681
8682// ListModels API operation for Amazon SageMaker Service.
8683//
8684// Lists models created with the CreateModel API.
8685//
8686// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8687// with awserr.Error's Code and Message methods to get detailed information about
8688// the error.
8689//
8690// See the AWS API reference guide for Amazon SageMaker Service's
8691// API operation ListModels for usage and error information.
8692// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModels
8693func (c *SageMaker) ListModels(input *ListModelsInput) (*ListModelsOutput, error) {
8694	req, out := c.ListModelsRequest(input)
8695	return out, req.Send()
8696}
8697
8698// ListModelsWithContext is the same as ListModels with the addition of
8699// the ability to pass a context and additional request options.
8700//
8701// See ListModels for details on how to use this API operation.
8702//
8703// The context must be non-nil and will be used for request cancellation. If
8704// the context is nil a panic will occur. In the future the SDK may create
8705// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8706// for more information on using Contexts.
8707func (c *SageMaker) ListModelsWithContext(ctx aws.Context, input *ListModelsInput, opts ...request.Option) (*ListModelsOutput, error) {
8708	req, out := c.ListModelsRequest(input)
8709	req.SetContext(ctx)
8710	req.ApplyOptions(opts...)
8711	return out, req.Send()
8712}
8713
8714// ListModelsPages iterates over the pages of a ListModels operation,
8715// calling the "fn" function with the response data for each page. To stop
8716// iterating, return false from the fn function.
8717//
8718// See ListModels method for more information on how to use this operation.
8719//
8720// Note: This operation can generate multiple requests to a service.
8721//
8722//    // Example iterating over at most 3 pages of a ListModels operation.
8723//    pageNum := 0
8724//    err := client.ListModelsPages(params,
8725//        func(page *sagemaker.ListModelsOutput, lastPage bool) bool {
8726//            pageNum++
8727//            fmt.Println(page)
8728//            return pageNum <= 3
8729//        })
8730//
8731func (c *SageMaker) ListModelsPages(input *ListModelsInput, fn func(*ListModelsOutput, bool) bool) error {
8732	return c.ListModelsPagesWithContext(aws.BackgroundContext(), input, fn)
8733}
8734
8735// ListModelsPagesWithContext same as ListModelsPages except
8736// it takes a Context and allows setting request options on the pages.
8737//
8738// The context must be non-nil and will be used for request cancellation. If
8739// the context is nil a panic will occur. In the future the SDK may create
8740// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8741// for more information on using Contexts.
8742func (c *SageMaker) ListModelsPagesWithContext(ctx aws.Context, input *ListModelsInput, fn func(*ListModelsOutput, bool) bool, opts ...request.Option) error {
8743	p := request.Pagination{
8744		NewRequest: func() (*request.Request, error) {
8745			var inCpy *ListModelsInput
8746			if input != nil {
8747				tmp := *input
8748				inCpy = &tmp
8749			}
8750			req, _ := c.ListModelsRequest(inCpy)
8751			req.SetContext(ctx)
8752			req.ApplyOptions(opts...)
8753			return req, nil
8754		},
8755	}
8756
8757	for p.Next() {
8758		if !fn(p.Page().(*ListModelsOutput), !p.HasNextPage()) {
8759			break
8760		}
8761	}
8762
8763	return p.Err()
8764}
8765
8766const opListMonitoringExecutions = "ListMonitoringExecutions"
8767
8768// ListMonitoringExecutionsRequest generates a "aws/request.Request" representing the
8769// client's request for the ListMonitoringExecutions operation. The "output" return
8770// value will be populated with the request's response once the request completes
8771// successfully.
8772//
8773// Use "Send" method on the returned Request to send the API call to the service.
8774// the "output" return value is not valid until after Send returns without error.
8775//
8776// See ListMonitoringExecutions for more information on using the ListMonitoringExecutions
8777// API call, and error handling.
8778//
8779// This method is useful when you want to inject custom logic or configuration
8780// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8781//
8782//
8783//    // Example sending a request using the ListMonitoringExecutionsRequest method.
8784//    req, resp := client.ListMonitoringExecutionsRequest(params)
8785//
8786//    err := req.Send()
8787//    if err == nil { // resp is now filled
8788//        fmt.Println(resp)
8789//    }
8790//
8791// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListMonitoringExecutions
8792func (c *SageMaker) ListMonitoringExecutionsRequest(input *ListMonitoringExecutionsInput) (req *request.Request, output *ListMonitoringExecutionsOutput) {
8793	op := &request.Operation{
8794		Name:       opListMonitoringExecutions,
8795		HTTPMethod: "POST",
8796		HTTPPath:   "/",
8797		Paginator: &request.Paginator{
8798			InputTokens:     []string{"NextToken"},
8799			OutputTokens:    []string{"NextToken"},
8800			LimitToken:      "MaxResults",
8801			TruncationToken: "",
8802		},
8803	}
8804
8805	if input == nil {
8806		input = &ListMonitoringExecutionsInput{}
8807	}
8808
8809	output = &ListMonitoringExecutionsOutput{}
8810	req = c.newRequest(op, input, output)
8811	return
8812}
8813
8814// ListMonitoringExecutions API operation for Amazon SageMaker Service.
8815//
8816// Returns list of all monitoring job executions.
8817//
8818// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8819// with awserr.Error's Code and Message methods to get detailed information about
8820// the error.
8821//
8822// See the AWS API reference guide for Amazon SageMaker Service's
8823// API operation ListMonitoringExecutions for usage and error information.
8824// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListMonitoringExecutions
8825func (c *SageMaker) ListMonitoringExecutions(input *ListMonitoringExecutionsInput) (*ListMonitoringExecutionsOutput, error) {
8826	req, out := c.ListMonitoringExecutionsRequest(input)
8827	return out, req.Send()
8828}
8829
8830// ListMonitoringExecutionsWithContext is the same as ListMonitoringExecutions with the addition of
8831// the ability to pass a context and additional request options.
8832//
8833// See ListMonitoringExecutions for details on how to use this API operation.
8834//
8835// The context must be non-nil and will be used for request cancellation. If
8836// the context is nil a panic will occur. In the future the SDK may create
8837// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8838// for more information on using Contexts.
8839func (c *SageMaker) ListMonitoringExecutionsWithContext(ctx aws.Context, input *ListMonitoringExecutionsInput, opts ...request.Option) (*ListMonitoringExecutionsOutput, error) {
8840	req, out := c.ListMonitoringExecutionsRequest(input)
8841	req.SetContext(ctx)
8842	req.ApplyOptions(opts...)
8843	return out, req.Send()
8844}
8845
8846// ListMonitoringExecutionsPages iterates over the pages of a ListMonitoringExecutions operation,
8847// calling the "fn" function with the response data for each page. To stop
8848// iterating, return false from the fn function.
8849//
8850// See ListMonitoringExecutions method for more information on how to use this operation.
8851//
8852// Note: This operation can generate multiple requests to a service.
8853//
8854//    // Example iterating over at most 3 pages of a ListMonitoringExecutions operation.
8855//    pageNum := 0
8856//    err := client.ListMonitoringExecutionsPages(params,
8857//        func(page *sagemaker.ListMonitoringExecutionsOutput, lastPage bool) bool {
8858//            pageNum++
8859//            fmt.Println(page)
8860//            return pageNum <= 3
8861//        })
8862//
8863func (c *SageMaker) ListMonitoringExecutionsPages(input *ListMonitoringExecutionsInput, fn func(*ListMonitoringExecutionsOutput, bool) bool) error {
8864	return c.ListMonitoringExecutionsPagesWithContext(aws.BackgroundContext(), input, fn)
8865}
8866
8867// ListMonitoringExecutionsPagesWithContext same as ListMonitoringExecutionsPages except
8868// it takes a Context and allows setting request options on the pages.
8869//
8870// The context must be non-nil and will be used for request cancellation. If
8871// the context is nil a panic will occur. In the future the SDK may create
8872// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8873// for more information on using Contexts.
8874func (c *SageMaker) ListMonitoringExecutionsPagesWithContext(ctx aws.Context, input *ListMonitoringExecutionsInput, fn func(*ListMonitoringExecutionsOutput, bool) bool, opts ...request.Option) error {
8875	p := request.Pagination{
8876		NewRequest: func() (*request.Request, error) {
8877			var inCpy *ListMonitoringExecutionsInput
8878			if input != nil {
8879				tmp := *input
8880				inCpy = &tmp
8881			}
8882			req, _ := c.ListMonitoringExecutionsRequest(inCpy)
8883			req.SetContext(ctx)
8884			req.ApplyOptions(opts...)
8885			return req, nil
8886		},
8887	}
8888
8889	for p.Next() {
8890		if !fn(p.Page().(*ListMonitoringExecutionsOutput), !p.HasNextPage()) {
8891			break
8892		}
8893	}
8894
8895	return p.Err()
8896}
8897
8898const opListMonitoringSchedules = "ListMonitoringSchedules"
8899
8900// ListMonitoringSchedulesRequest generates a "aws/request.Request" representing the
8901// client's request for the ListMonitoringSchedules operation. The "output" return
8902// value will be populated with the request's response once the request completes
8903// successfully.
8904//
8905// Use "Send" method on the returned Request to send the API call to the service.
8906// the "output" return value is not valid until after Send returns without error.
8907//
8908// See ListMonitoringSchedules for more information on using the ListMonitoringSchedules
8909// API call, and error handling.
8910//
8911// This method is useful when you want to inject custom logic or configuration
8912// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8913//
8914//
8915//    // Example sending a request using the ListMonitoringSchedulesRequest method.
8916//    req, resp := client.ListMonitoringSchedulesRequest(params)
8917//
8918//    err := req.Send()
8919//    if err == nil { // resp is now filled
8920//        fmt.Println(resp)
8921//    }
8922//
8923// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListMonitoringSchedules
8924func (c *SageMaker) ListMonitoringSchedulesRequest(input *ListMonitoringSchedulesInput) (req *request.Request, output *ListMonitoringSchedulesOutput) {
8925	op := &request.Operation{
8926		Name:       opListMonitoringSchedules,
8927		HTTPMethod: "POST",
8928		HTTPPath:   "/",
8929		Paginator: &request.Paginator{
8930			InputTokens:     []string{"NextToken"},
8931			OutputTokens:    []string{"NextToken"},
8932			LimitToken:      "MaxResults",
8933			TruncationToken: "",
8934		},
8935	}
8936
8937	if input == nil {
8938		input = &ListMonitoringSchedulesInput{}
8939	}
8940
8941	output = &ListMonitoringSchedulesOutput{}
8942	req = c.newRequest(op, input, output)
8943	return
8944}
8945
8946// ListMonitoringSchedules API operation for Amazon SageMaker Service.
8947//
8948// Returns list of all monitoring schedules.
8949//
8950// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8951// with awserr.Error's Code and Message methods to get detailed information about
8952// the error.
8953//
8954// See the AWS API reference guide for Amazon SageMaker Service's
8955// API operation ListMonitoringSchedules for usage and error information.
8956// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListMonitoringSchedules
8957func (c *SageMaker) ListMonitoringSchedules(input *ListMonitoringSchedulesInput) (*ListMonitoringSchedulesOutput, error) {
8958	req, out := c.ListMonitoringSchedulesRequest(input)
8959	return out, req.Send()
8960}
8961
8962// ListMonitoringSchedulesWithContext is the same as ListMonitoringSchedules with the addition of
8963// the ability to pass a context and additional request options.
8964//
8965// See ListMonitoringSchedules for details on how to use this API operation.
8966//
8967// The context must be non-nil and will be used for request cancellation. If
8968// the context is nil a panic will occur. In the future the SDK may create
8969// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8970// for more information on using Contexts.
8971func (c *SageMaker) ListMonitoringSchedulesWithContext(ctx aws.Context, input *ListMonitoringSchedulesInput, opts ...request.Option) (*ListMonitoringSchedulesOutput, error) {
8972	req, out := c.ListMonitoringSchedulesRequest(input)
8973	req.SetContext(ctx)
8974	req.ApplyOptions(opts...)
8975	return out, req.Send()
8976}
8977
8978// ListMonitoringSchedulesPages iterates over the pages of a ListMonitoringSchedules operation,
8979// calling the "fn" function with the response data for each page. To stop
8980// iterating, return false from the fn function.
8981//
8982// See ListMonitoringSchedules method for more information on how to use this operation.
8983//
8984// Note: This operation can generate multiple requests to a service.
8985//
8986//    // Example iterating over at most 3 pages of a ListMonitoringSchedules operation.
8987//    pageNum := 0
8988//    err := client.ListMonitoringSchedulesPages(params,
8989//        func(page *sagemaker.ListMonitoringSchedulesOutput, lastPage bool) bool {
8990//            pageNum++
8991//            fmt.Println(page)
8992//            return pageNum <= 3
8993//        })
8994//
8995func (c *SageMaker) ListMonitoringSchedulesPages(input *ListMonitoringSchedulesInput, fn func(*ListMonitoringSchedulesOutput, bool) bool) error {
8996	return c.ListMonitoringSchedulesPagesWithContext(aws.BackgroundContext(), input, fn)
8997}
8998
8999// ListMonitoringSchedulesPagesWithContext same as ListMonitoringSchedulesPages except
9000// it takes a Context and allows setting request options on the pages.
9001//
9002// The context must be non-nil and will be used for request cancellation. If
9003// the context is nil a panic will occur. In the future the SDK may create
9004// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9005// for more information on using Contexts.
9006func (c *SageMaker) ListMonitoringSchedulesPagesWithContext(ctx aws.Context, input *ListMonitoringSchedulesInput, fn func(*ListMonitoringSchedulesOutput, bool) bool, opts ...request.Option) error {
9007	p := request.Pagination{
9008		NewRequest: func() (*request.Request, error) {
9009			var inCpy *ListMonitoringSchedulesInput
9010			if input != nil {
9011				tmp := *input
9012				inCpy = &tmp
9013			}
9014			req, _ := c.ListMonitoringSchedulesRequest(inCpy)
9015			req.SetContext(ctx)
9016			req.ApplyOptions(opts...)
9017			return req, nil
9018		},
9019	}
9020
9021	for p.Next() {
9022		if !fn(p.Page().(*ListMonitoringSchedulesOutput), !p.HasNextPage()) {
9023			break
9024		}
9025	}
9026
9027	return p.Err()
9028}
9029
9030const opListNotebookInstanceLifecycleConfigs = "ListNotebookInstanceLifecycleConfigs"
9031
9032// ListNotebookInstanceLifecycleConfigsRequest generates a "aws/request.Request" representing the
9033// client's request for the ListNotebookInstanceLifecycleConfigs operation. The "output" return
9034// value will be populated with the request's response once the request completes
9035// successfully.
9036//
9037// Use "Send" method on the returned Request to send the API call to the service.
9038// the "output" return value is not valid until after Send returns without error.
9039//
9040// See ListNotebookInstanceLifecycleConfigs for more information on using the ListNotebookInstanceLifecycleConfigs
9041// API call, and error handling.
9042//
9043// This method is useful when you want to inject custom logic or configuration
9044// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9045//
9046//
9047//    // Example sending a request using the ListNotebookInstanceLifecycleConfigsRequest method.
9048//    req, resp := client.ListNotebookInstanceLifecycleConfigsRequest(params)
9049//
9050//    err := req.Send()
9051//    if err == nil { // resp is now filled
9052//        fmt.Println(resp)
9053//    }
9054//
9055// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstanceLifecycleConfigs
9056func (c *SageMaker) ListNotebookInstanceLifecycleConfigsRequest(input *ListNotebookInstanceLifecycleConfigsInput) (req *request.Request, output *ListNotebookInstanceLifecycleConfigsOutput) {
9057	op := &request.Operation{
9058		Name:       opListNotebookInstanceLifecycleConfigs,
9059		HTTPMethod: "POST",
9060		HTTPPath:   "/",
9061		Paginator: &request.Paginator{
9062			InputTokens:     []string{"NextToken"},
9063			OutputTokens:    []string{"NextToken"},
9064			LimitToken:      "MaxResults",
9065			TruncationToken: "",
9066		},
9067	}
9068
9069	if input == nil {
9070		input = &ListNotebookInstanceLifecycleConfigsInput{}
9071	}
9072
9073	output = &ListNotebookInstanceLifecycleConfigsOutput{}
9074	req = c.newRequest(op, input, output)
9075	return
9076}
9077
9078// ListNotebookInstanceLifecycleConfigs API operation for Amazon SageMaker Service.
9079//
9080// Lists notebook instance lifestyle configurations created with the CreateNotebookInstanceLifecycleConfig
9081// API.
9082//
9083// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9084// with awserr.Error's Code and Message methods to get detailed information about
9085// the error.
9086//
9087// See the AWS API reference guide for Amazon SageMaker Service's
9088// API operation ListNotebookInstanceLifecycleConfigs for usage and error information.
9089// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstanceLifecycleConfigs
9090func (c *SageMaker) ListNotebookInstanceLifecycleConfigs(input *ListNotebookInstanceLifecycleConfigsInput) (*ListNotebookInstanceLifecycleConfigsOutput, error) {
9091	req, out := c.ListNotebookInstanceLifecycleConfigsRequest(input)
9092	return out, req.Send()
9093}
9094
9095// ListNotebookInstanceLifecycleConfigsWithContext is the same as ListNotebookInstanceLifecycleConfigs with the addition of
9096// the ability to pass a context and additional request options.
9097//
9098// See ListNotebookInstanceLifecycleConfigs for details on how to use this API operation.
9099//
9100// The context must be non-nil and will be used for request cancellation. If
9101// the context is nil a panic will occur. In the future the SDK may create
9102// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9103// for more information on using Contexts.
9104func (c *SageMaker) ListNotebookInstanceLifecycleConfigsWithContext(ctx aws.Context, input *ListNotebookInstanceLifecycleConfigsInput, opts ...request.Option) (*ListNotebookInstanceLifecycleConfigsOutput, error) {
9105	req, out := c.ListNotebookInstanceLifecycleConfigsRequest(input)
9106	req.SetContext(ctx)
9107	req.ApplyOptions(opts...)
9108	return out, req.Send()
9109}
9110
9111// ListNotebookInstanceLifecycleConfigsPages iterates over the pages of a ListNotebookInstanceLifecycleConfigs operation,
9112// calling the "fn" function with the response data for each page. To stop
9113// iterating, return false from the fn function.
9114//
9115// See ListNotebookInstanceLifecycleConfigs method for more information on how to use this operation.
9116//
9117// Note: This operation can generate multiple requests to a service.
9118//
9119//    // Example iterating over at most 3 pages of a ListNotebookInstanceLifecycleConfigs operation.
9120//    pageNum := 0
9121//    err := client.ListNotebookInstanceLifecycleConfigsPages(params,
9122//        func(page *sagemaker.ListNotebookInstanceLifecycleConfigsOutput, lastPage bool) bool {
9123//            pageNum++
9124//            fmt.Println(page)
9125//            return pageNum <= 3
9126//        })
9127//
9128func (c *SageMaker) ListNotebookInstanceLifecycleConfigsPages(input *ListNotebookInstanceLifecycleConfigsInput, fn func(*ListNotebookInstanceLifecycleConfigsOutput, bool) bool) error {
9129	return c.ListNotebookInstanceLifecycleConfigsPagesWithContext(aws.BackgroundContext(), input, fn)
9130}
9131
9132// ListNotebookInstanceLifecycleConfigsPagesWithContext same as ListNotebookInstanceLifecycleConfigsPages except
9133// it takes a Context and allows setting request options on the pages.
9134//
9135// The context must be non-nil and will be used for request cancellation. If
9136// the context is nil a panic will occur. In the future the SDK may create
9137// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9138// for more information on using Contexts.
9139func (c *SageMaker) ListNotebookInstanceLifecycleConfigsPagesWithContext(ctx aws.Context, input *ListNotebookInstanceLifecycleConfigsInput, fn func(*ListNotebookInstanceLifecycleConfigsOutput, bool) bool, opts ...request.Option) error {
9140	p := request.Pagination{
9141		NewRequest: func() (*request.Request, error) {
9142			var inCpy *ListNotebookInstanceLifecycleConfigsInput
9143			if input != nil {
9144				tmp := *input
9145				inCpy = &tmp
9146			}
9147			req, _ := c.ListNotebookInstanceLifecycleConfigsRequest(inCpy)
9148			req.SetContext(ctx)
9149			req.ApplyOptions(opts...)
9150			return req, nil
9151		},
9152	}
9153
9154	for p.Next() {
9155		if !fn(p.Page().(*ListNotebookInstanceLifecycleConfigsOutput), !p.HasNextPage()) {
9156			break
9157		}
9158	}
9159
9160	return p.Err()
9161}
9162
9163const opListNotebookInstances = "ListNotebookInstances"
9164
9165// ListNotebookInstancesRequest generates a "aws/request.Request" representing the
9166// client's request for the ListNotebookInstances operation. The "output" return
9167// value will be populated with the request's response once the request completes
9168// successfully.
9169//
9170// Use "Send" method on the returned Request to send the API call to the service.
9171// the "output" return value is not valid until after Send returns without error.
9172//
9173// See ListNotebookInstances for more information on using the ListNotebookInstances
9174// API call, and error handling.
9175//
9176// This method is useful when you want to inject custom logic or configuration
9177// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9178//
9179//
9180//    // Example sending a request using the ListNotebookInstancesRequest method.
9181//    req, resp := client.ListNotebookInstancesRequest(params)
9182//
9183//    err := req.Send()
9184//    if err == nil { // resp is now filled
9185//        fmt.Println(resp)
9186//    }
9187//
9188// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstances
9189func (c *SageMaker) ListNotebookInstancesRequest(input *ListNotebookInstancesInput) (req *request.Request, output *ListNotebookInstancesOutput) {
9190	op := &request.Operation{
9191		Name:       opListNotebookInstances,
9192		HTTPMethod: "POST",
9193		HTTPPath:   "/",
9194		Paginator: &request.Paginator{
9195			InputTokens:     []string{"NextToken"},
9196			OutputTokens:    []string{"NextToken"},
9197			LimitToken:      "MaxResults",
9198			TruncationToken: "",
9199		},
9200	}
9201
9202	if input == nil {
9203		input = &ListNotebookInstancesInput{}
9204	}
9205
9206	output = &ListNotebookInstancesOutput{}
9207	req = c.newRequest(op, input, output)
9208	return
9209}
9210
9211// ListNotebookInstances API operation for Amazon SageMaker Service.
9212//
9213// Returns a list of the Amazon SageMaker notebook instances in the requester's
9214// account in an AWS Region.
9215//
9216// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9217// with awserr.Error's Code and Message methods to get detailed information about
9218// the error.
9219//
9220// See the AWS API reference guide for Amazon SageMaker Service's
9221// API operation ListNotebookInstances for usage and error information.
9222// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstances
9223func (c *SageMaker) ListNotebookInstances(input *ListNotebookInstancesInput) (*ListNotebookInstancesOutput, error) {
9224	req, out := c.ListNotebookInstancesRequest(input)
9225	return out, req.Send()
9226}
9227
9228// ListNotebookInstancesWithContext is the same as ListNotebookInstances with the addition of
9229// the ability to pass a context and additional request options.
9230//
9231// See ListNotebookInstances for details on how to use this API operation.
9232//
9233// The context must be non-nil and will be used for request cancellation. If
9234// the context is nil a panic will occur. In the future the SDK may create
9235// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9236// for more information on using Contexts.
9237func (c *SageMaker) ListNotebookInstancesWithContext(ctx aws.Context, input *ListNotebookInstancesInput, opts ...request.Option) (*ListNotebookInstancesOutput, error) {
9238	req, out := c.ListNotebookInstancesRequest(input)
9239	req.SetContext(ctx)
9240	req.ApplyOptions(opts...)
9241	return out, req.Send()
9242}
9243
9244// ListNotebookInstancesPages iterates over the pages of a ListNotebookInstances operation,
9245// calling the "fn" function with the response data for each page. To stop
9246// iterating, return false from the fn function.
9247//
9248// See ListNotebookInstances method for more information on how to use this operation.
9249//
9250// Note: This operation can generate multiple requests to a service.
9251//
9252//    // Example iterating over at most 3 pages of a ListNotebookInstances operation.
9253//    pageNum := 0
9254//    err := client.ListNotebookInstancesPages(params,
9255//        func(page *sagemaker.ListNotebookInstancesOutput, lastPage bool) bool {
9256//            pageNum++
9257//            fmt.Println(page)
9258//            return pageNum <= 3
9259//        })
9260//
9261func (c *SageMaker) ListNotebookInstancesPages(input *ListNotebookInstancesInput, fn func(*ListNotebookInstancesOutput, bool) bool) error {
9262	return c.ListNotebookInstancesPagesWithContext(aws.BackgroundContext(), input, fn)
9263}
9264
9265// ListNotebookInstancesPagesWithContext same as ListNotebookInstancesPages except
9266// it takes a Context and allows setting request options on the pages.
9267//
9268// The context must be non-nil and will be used for request cancellation. If
9269// the context is nil a panic will occur. In the future the SDK may create
9270// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9271// for more information on using Contexts.
9272func (c *SageMaker) ListNotebookInstancesPagesWithContext(ctx aws.Context, input *ListNotebookInstancesInput, fn func(*ListNotebookInstancesOutput, bool) bool, opts ...request.Option) error {
9273	p := request.Pagination{
9274		NewRequest: func() (*request.Request, error) {
9275			var inCpy *ListNotebookInstancesInput
9276			if input != nil {
9277				tmp := *input
9278				inCpy = &tmp
9279			}
9280			req, _ := c.ListNotebookInstancesRequest(inCpy)
9281			req.SetContext(ctx)
9282			req.ApplyOptions(opts...)
9283			return req, nil
9284		},
9285	}
9286
9287	for p.Next() {
9288		if !fn(p.Page().(*ListNotebookInstancesOutput), !p.HasNextPage()) {
9289			break
9290		}
9291	}
9292
9293	return p.Err()
9294}
9295
9296const opListProcessingJobs = "ListProcessingJobs"
9297
9298// ListProcessingJobsRequest generates a "aws/request.Request" representing the
9299// client's request for the ListProcessingJobs operation. The "output" return
9300// value will be populated with the request's response once the request completes
9301// successfully.
9302//
9303// Use "Send" method on the returned Request to send the API call to the service.
9304// the "output" return value is not valid until after Send returns without error.
9305//
9306// See ListProcessingJobs for more information on using the ListProcessingJobs
9307// API call, and error handling.
9308//
9309// This method is useful when you want to inject custom logic or configuration
9310// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9311//
9312//
9313//    // Example sending a request using the ListProcessingJobsRequest method.
9314//    req, resp := client.ListProcessingJobsRequest(params)
9315//
9316//    err := req.Send()
9317//    if err == nil { // resp is now filled
9318//        fmt.Println(resp)
9319//    }
9320//
9321// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListProcessingJobs
9322func (c *SageMaker) ListProcessingJobsRequest(input *ListProcessingJobsInput) (req *request.Request, output *ListProcessingJobsOutput) {
9323	op := &request.Operation{
9324		Name:       opListProcessingJobs,
9325		HTTPMethod: "POST",
9326		HTTPPath:   "/",
9327		Paginator: &request.Paginator{
9328			InputTokens:     []string{"NextToken"},
9329			OutputTokens:    []string{"NextToken"},
9330			LimitToken:      "MaxResults",
9331			TruncationToken: "",
9332		},
9333	}
9334
9335	if input == nil {
9336		input = &ListProcessingJobsInput{}
9337	}
9338
9339	output = &ListProcessingJobsOutput{}
9340	req = c.newRequest(op, input, output)
9341	return
9342}
9343
9344// ListProcessingJobs API operation for Amazon SageMaker Service.
9345//
9346// Lists processing jobs that satisfy various filters.
9347//
9348// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9349// with awserr.Error's Code and Message methods to get detailed information about
9350// the error.
9351//
9352// See the AWS API reference guide for Amazon SageMaker Service's
9353// API operation ListProcessingJobs for usage and error information.
9354// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListProcessingJobs
9355func (c *SageMaker) ListProcessingJobs(input *ListProcessingJobsInput) (*ListProcessingJobsOutput, error) {
9356	req, out := c.ListProcessingJobsRequest(input)
9357	return out, req.Send()
9358}
9359
9360// ListProcessingJobsWithContext is the same as ListProcessingJobs with the addition of
9361// the ability to pass a context and additional request options.
9362//
9363// See ListProcessingJobs for details on how to use this API operation.
9364//
9365// The context must be non-nil and will be used for request cancellation. If
9366// the context is nil a panic will occur. In the future the SDK may create
9367// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9368// for more information on using Contexts.
9369func (c *SageMaker) ListProcessingJobsWithContext(ctx aws.Context, input *ListProcessingJobsInput, opts ...request.Option) (*ListProcessingJobsOutput, error) {
9370	req, out := c.ListProcessingJobsRequest(input)
9371	req.SetContext(ctx)
9372	req.ApplyOptions(opts...)
9373	return out, req.Send()
9374}
9375
9376// ListProcessingJobsPages iterates over the pages of a ListProcessingJobs operation,
9377// calling the "fn" function with the response data for each page. To stop
9378// iterating, return false from the fn function.
9379//
9380// See ListProcessingJobs method for more information on how to use this operation.
9381//
9382// Note: This operation can generate multiple requests to a service.
9383//
9384//    // Example iterating over at most 3 pages of a ListProcessingJobs operation.
9385//    pageNum := 0
9386//    err := client.ListProcessingJobsPages(params,
9387//        func(page *sagemaker.ListProcessingJobsOutput, lastPage bool) bool {
9388//            pageNum++
9389//            fmt.Println(page)
9390//            return pageNum <= 3
9391//        })
9392//
9393func (c *SageMaker) ListProcessingJobsPages(input *ListProcessingJobsInput, fn func(*ListProcessingJobsOutput, bool) bool) error {
9394	return c.ListProcessingJobsPagesWithContext(aws.BackgroundContext(), input, fn)
9395}
9396
9397// ListProcessingJobsPagesWithContext same as ListProcessingJobsPages except
9398// it takes a Context and allows setting request options on the pages.
9399//
9400// The context must be non-nil and will be used for request cancellation. If
9401// the context is nil a panic will occur. In the future the SDK may create
9402// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9403// for more information on using Contexts.
9404func (c *SageMaker) ListProcessingJobsPagesWithContext(ctx aws.Context, input *ListProcessingJobsInput, fn func(*ListProcessingJobsOutput, bool) bool, opts ...request.Option) error {
9405	p := request.Pagination{
9406		NewRequest: func() (*request.Request, error) {
9407			var inCpy *ListProcessingJobsInput
9408			if input != nil {
9409				tmp := *input
9410				inCpy = &tmp
9411			}
9412			req, _ := c.ListProcessingJobsRequest(inCpy)
9413			req.SetContext(ctx)
9414			req.ApplyOptions(opts...)
9415			return req, nil
9416		},
9417	}
9418
9419	for p.Next() {
9420		if !fn(p.Page().(*ListProcessingJobsOutput), !p.HasNextPage()) {
9421			break
9422		}
9423	}
9424
9425	return p.Err()
9426}
9427
9428const opListSubscribedWorkteams = "ListSubscribedWorkteams"
9429
9430// ListSubscribedWorkteamsRequest generates a "aws/request.Request" representing the
9431// client's request for the ListSubscribedWorkteams operation. The "output" return
9432// value will be populated with the request's response once the request completes
9433// successfully.
9434//
9435// Use "Send" method on the returned Request to send the API call to the service.
9436// the "output" return value is not valid until after Send returns without error.
9437//
9438// See ListSubscribedWorkteams for more information on using the ListSubscribedWorkteams
9439// API call, and error handling.
9440//
9441// This method is useful when you want to inject custom logic or configuration
9442// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9443//
9444//
9445//    // Example sending a request using the ListSubscribedWorkteamsRequest method.
9446//    req, resp := client.ListSubscribedWorkteamsRequest(params)
9447//
9448//    err := req.Send()
9449//    if err == nil { // resp is now filled
9450//        fmt.Println(resp)
9451//    }
9452//
9453// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListSubscribedWorkteams
9454func (c *SageMaker) ListSubscribedWorkteamsRequest(input *ListSubscribedWorkteamsInput) (req *request.Request, output *ListSubscribedWorkteamsOutput) {
9455	op := &request.Operation{
9456		Name:       opListSubscribedWorkteams,
9457		HTTPMethod: "POST",
9458		HTTPPath:   "/",
9459		Paginator: &request.Paginator{
9460			InputTokens:     []string{"NextToken"},
9461			OutputTokens:    []string{"NextToken"},
9462			LimitToken:      "MaxResults",
9463			TruncationToken: "",
9464		},
9465	}
9466
9467	if input == nil {
9468		input = &ListSubscribedWorkteamsInput{}
9469	}
9470
9471	output = &ListSubscribedWorkteamsOutput{}
9472	req = c.newRequest(op, input, output)
9473	return
9474}
9475
9476// ListSubscribedWorkteams API operation for Amazon SageMaker Service.
9477//
9478// Gets a list of the work teams that you are subscribed to in the AWS Marketplace.
9479// The list may be empty if no work team satisfies the filter specified in the
9480// NameContains parameter.
9481//
9482// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9483// with awserr.Error's Code and Message methods to get detailed information about
9484// the error.
9485//
9486// See the AWS API reference guide for Amazon SageMaker Service's
9487// API operation ListSubscribedWorkteams for usage and error information.
9488// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListSubscribedWorkteams
9489func (c *SageMaker) ListSubscribedWorkteams(input *ListSubscribedWorkteamsInput) (*ListSubscribedWorkteamsOutput, error) {
9490	req, out := c.ListSubscribedWorkteamsRequest(input)
9491	return out, req.Send()
9492}
9493
9494// ListSubscribedWorkteamsWithContext is the same as ListSubscribedWorkteams with the addition of
9495// the ability to pass a context and additional request options.
9496//
9497// See ListSubscribedWorkteams for details on how to use this API operation.
9498//
9499// The context must be non-nil and will be used for request cancellation. If
9500// the context is nil a panic will occur. In the future the SDK may create
9501// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9502// for more information on using Contexts.
9503func (c *SageMaker) ListSubscribedWorkteamsWithContext(ctx aws.Context, input *ListSubscribedWorkteamsInput, opts ...request.Option) (*ListSubscribedWorkteamsOutput, error) {
9504	req, out := c.ListSubscribedWorkteamsRequest(input)
9505	req.SetContext(ctx)
9506	req.ApplyOptions(opts...)
9507	return out, req.Send()
9508}
9509
9510// ListSubscribedWorkteamsPages iterates over the pages of a ListSubscribedWorkteams operation,
9511// calling the "fn" function with the response data for each page. To stop
9512// iterating, return false from the fn function.
9513//
9514// See ListSubscribedWorkteams method for more information on how to use this operation.
9515//
9516// Note: This operation can generate multiple requests to a service.
9517//
9518//    // Example iterating over at most 3 pages of a ListSubscribedWorkteams operation.
9519//    pageNum := 0
9520//    err := client.ListSubscribedWorkteamsPages(params,
9521//        func(page *sagemaker.ListSubscribedWorkteamsOutput, lastPage bool) bool {
9522//            pageNum++
9523//            fmt.Println(page)
9524//            return pageNum <= 3
9525//        })
9526//
9527func (c *SageMaker) ListSubscribedWorkteamsPages(input *ListSubscribedWorkteamsInput, fn func(*ListSubscribedWorkteamsOutput, bool) bool) error {
9528	return c.ListSubscribedWorkteamsPagesWithContext(aws.BackgroundContext(), input, fn)
9529}
9530
9531// ListSubscribedWorkteamsPagesWithContext same as ListSubscribedWorkteamsPages except
9532// it takes a Context and allows setting request options on the pages.
9533//
9534// The context must be non-nil and will be used for request cancellation. If
9535// the context is nil a panic will occur. In the future the SDK may create
9536// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9537// for more information on using Contexts.
9538func (c *SageMaker) ListSubscribedWorkteamsPagesWithContext(ctx aws.Context, input *ListSubscribedWorkteamsInput, fn func(*ListSubscribedWorkteamsOutput, bool) bool, opts ...request.Option) error {
9539	p := request.Pagination{
9540		NewRequest: func() (*request.Request, error) {
9541			var inCpy *ListSubscribedWorkteamsInput
9542			if input != nil {
9543				tmp := *input
9544				inCpy = &tmp
9545			}
9546			req, _ := c.ListSubscribedWorkteamsRequest(inCpy)
9547			req.SetContext(ctx)
9548			req.ApplyOptions(opts...)
9549			return req, nil
9550		},
9551	}
9552
9553	for p.Next() {
9554		if !fn(p.Page().(*ListSubscribedWorkteamsOutput), !p.HasNextPage()) {
9555			break
9556		}
9557	}
9558
9559	return p.Err()
9560}
9561
9562const opListTags = "ListTags"
9563
9564// ListTagsRequest generates a "aws/request.Request" representing the
9565// client's request for the ListTags operation. The "output" return
9566// value will be populated with the request's response once the request completes
9567// successfully.
9568//
9569// Use "Send" method on the returned Request to send the API call to the service.
9570// the "output" return value is not valid until after Send returns without error.
9571//
9572// See ListTags for more information on using the ListTags
9573// API call, and error handling.
9574//
9575// This method is useful when you want to inject custom logic or configuration
9576// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9577//
9578//
9579//    // Example sending a request using the ListTagsRequest method.
9580//    req, resp := client.ListTagsRequest(params)
9581//
9582//    err := req.Send()
9583//    if err == nil { // resp is now filled
9584//        fmt.Println(resp)
9585//    }
9586//
9587// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTags
9588func (c *SageMaker) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) {
9589	op := &request.Operation{
9590		Name:       opListTags,
9591		HTTPMethod: "POST",
9592		HTTPPath:   "/",
9593		Paginator: &request.Paginator{
9594			InputTokens:     []string{"NextToken"},
9595			OutputTokens:    []string{"NextToken"},
9596			LimitToken:      "MaxResults",
9597			TruncationToken: "",
9598		},
9599	}
9600
9601	if input == nil {
9602		input = &ListTagsInput{}
9603	}
9604
9605	output = &ListTagsOutput{}
9606	req = c.newRequest(op, input, output)
9607	return
9608}
9609
9610// ListTags API operation for Amazon SageMaker Service.
9611//
9612// Returns the tags for the specified Amazon SageMaker resource.
9613//
9614// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9615// with awserr.Error's Code and Message methods to get detailed information about
9616// the error.
9617//
9618// See the AWS API reference guide for Amazon SageMaker Service's
9619// API operation ListTags for usage and error information.
9620// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTags
9621func (c *SageMaker) ListTags(input *ListTagsInput) (*ListTagsOutput, error) {
9622	req, out := c.ListTagsRequest(input)
9623	return out, req.Send()
9624}
9625
9626// ListTagsWithContext is the same as ListTags with the addition of
9627// the ability to pass a context and additional request options.
9628//
9629// See ListTags for details on how to use this API operation.
9630//
9631// The context must be non-nil and will be used for request cancellation. If
9632// the context is nil a panic will occur. In the future the SDK may create
9633// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9634// for more information on using Contexts.
9635func (c *SageMaker) ListTagsWithContext(ctx aws.Context, input *ListTagsInput, opts ...request.Option) (*ListTagsOutput, error) {
9636	req, out := c.ListTagsRequest(input)
9637	req.SetContext(ctx)
9638	req.ApplyOptions(opts...)
9639	return out, req.Send()
9640}
9641
9642// ListTagsPages iterates over the pages of a ListTags operation,
9643// calling the "fn" function with the response data for each page. To stop
9644// iterating, return false from the fn function.
9645//
9646// See ListTags method for more information on how to use this operation.
9647//
9648// Note: This operation can generate multiple requests to a service.
9649//
9650//    // Example iterating over at most 3 pages of a ListTags operation.
9651//    pageNum := 0
9652//    err := client.ListTagsPages(params,
9653//        func(page *sagemaker.ListTagsOutput, lastPage bool) bool {
9654//            pageNum++
9655//            fmt.Println(page)
9656//            return pageNum <= 3
9657//        })
9658//
9659func (c *SageMaker) ListTagsPages(input *ListTagsInput, fn func(*ListTagsOutput, bool) bool) error {
9660	return c.ListTagsPagesWithContext(aws.BackgroundContext(), input, fn)
9661}
9662
9663// ListTagsPagesWithContext same as ListTagsPages except
9664// it takes a Context and allows setting request options on the pages.
9665//
9666// The context must be non-nil and will be used for request cancellation. If
9667// the context is nil a panic will occur. In the future the SDK may create
9668// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9669// for more information on using Contexts.
9670func (c *SageMaker) ListTagsPagesWithContext(ctx aws.Context, input *ListTagsInput, fn func(*ListTagsOutput, bool) bool, opts ...request.Option) error {
9671	p := request.Pagination{
9672		NewRequest: func() (*request.Request, error) {
9673			var inCpy *ListTagsInput
9674			if input != nil {
9675				tmp := *input
9676				inCpy = &tmp
9677			}
9678			req, _ := c.ListTagsRequest(inCpy)
9679			req.SetContext(ctx)
9680			req.ApplyOptions(opts...)
9681			return req, nil
9682		},
9683	}
9684
9685	for p.Next() {
9686		if !fn(p.Page().(*ListTagsOutput), !p.HasNextPage()) {
9687			break
9688		}
9689	}
9690
9691	return p.Err()
9692}
9693
9694const opListTrainingJobs = "ListTrainingJobs"
9695
9696// ListTrainingJobsRequest generates a "aws/request.Request" representing the
9697// client's request for the ListTrainingJobs operation. The "output" return
9698// value will be populated with the request's response once the request completes
9699// successfully.
9700//
9701// Use "Send" method on the returned Request to send the API call to the service.
9702// the "output" return value is not valid until after Send returns without error.
9703//
9704// See ListTrainingJobs for more information on using the ListTrainingJobs
9705// API call, and error handling.
9706//
9707// This method is useful when you want to inject custom logic or configuration
9708// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9709//
9710//
9711//    // Example sending a request using the ListTrainingJobsRequest method.
9712//    req, resp := client.ListTrainingJobsRequest(params)
9713//
9714//    err := req.Send()
9715//    if err == nil { // resp is now filled
9716//        fmt.Println(resp)
9717//    }
9718//
9719// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobs
9720func (c *SageMaker) ListTrainingJobsRequest(input *ListTrainingJobsInput) (req *request.Request, output *ListTrainingJobsOutput) {
9721	op := &request.Operation{
9722		Name:       opListTrainingJobs,
9723		HTTPMethod: "POST",
9724		HTTPPath:   "/",
9725		Paginator: &request.Paginator{
9726			InputTokens:     []string{"NextToken"},
9727			OutputTokens:    []string{"NextToken"},
9728			LimitToken:      "MaxResults",
9729			TruncationToken: "",
9730		},
9731	}
9732
9733	if input == nil {
9734		input = &ListTrainingJobsInput{}
9735	}
9736
9737	output = &ListTrainingJobsOutput{}
9738	req = c.newRequest(op, input, output)
9739	return
9740}
9741
9742// ListTrainingJobs API operation for Amazon SageMaker Service.
9743//
9744// Lists training jobs.
9745//
9746// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9747// with awserr.Error's Code and Message methods to get detailed information about
9748// the error.
9749//
9750// See the AWS API reference guide for Amazon SageMaker Service's
9751// API operation ListTrainingJobs for usage and error information.
9752// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobs
9753func (c *SageMaker) ListTrainingJobs(input *ListTrainingJobsInput) (*ListTrainingJobsOutput, error) {
9754	req, out := c.ListTrainingJobsRequest(input)
9755	return out, req.Send()
9756}
9757
9758// ListTrainingJobsWithContext is the same as ListTrainingJobs with the addition of
9759// the ability to pass a context and additional request options.
9760//
9761// See ListTrainingJobs for details on how to use this API operation.
9762//
9763// The context must be non-nil and will be used for request cancellation. If
9764// the context is nil a panic will occur. In the future the SDK may create
9765// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9766// for more information on using Contexts.
9767func (c *SageMaker) ListTrainingJobsWithContext(ctx aws.Context, input *ListTrainingJobsInput, opts ...request.Option) (*ListTrainingJobsOutput, error) {
9768	req, out := c.ListTrainingJobsRequest(input)
9769	req.SetContext(ctx)
9770	req.ApplyOptions(opts...)
9771	return out, req.Send()
9772}
9773
9774// ListTrainingJobsPages iterates over the pages of a ListTrainingJobs operation,
9775// calling the "fn" function with the response data for each page. To stop
9776// iterating, return false from the fn function.
9777//
9778// See ListTrainingJobs method for more information on how to use this operation.
9779//
9780// Note: This operation can generate multiple requests to a service.
9781//
9782//    // Example iterating over at most 3 pages of a ListTrainingJobs operation.
9783//    pageNum := 0
9784//    err := client.ListTrainingJobsPages(params,
9785//        func(page *sagemaker.ListTrainingJobsOutput, lastPage bool) bool {
9786//            pageNum++
9787//            fmt.Println(page)
9788//            return pageNum <= 3
9789//        })
9790//
9791func (c *SageMaker) ListTrainingJobsPages(input *ListTrainingJobsInput, fn func(*ListTrainingJobsOutput, bool) bool) error {
9792	return c.ListTrainingJobsPagesWithContext(aws.BackgroundContext(), input, fn)
9793}
9794
9795// ListTrainingJobsPagesWithContext same as ListTrainingJobsPages except
9796// it takes a Context and allows setting request options on the pages.
9797//
9798// The context must be non-nil and will be used for request cancellation. If
9799// the context is nil a panic will occur. In the future the SDK may create
9800// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9801// for more information on using Contexts.
9802func (c *SageMaker) ListTrainingJobsPagesWithContext(ctx aws.Context, input *ListTrainingJobsInput, fn func(*ListTrainingJobsOutput, bool) bool, opts ...request.Option) error {
9803	p := request.Pagination{
9804		NewRequest: func() (*request.Request, error) {
9805			var inCpy *ListTrainingJobsInput
9806			if input != nil {
9807				tmp := *input
9808				inCpy = &tmp
9809			}
9810			req, _ := c.ListTrainingJobsRequest(inCpy)
9811			req.SetContext(ctx)
9812			req.ApplyOptions(opts...)
9813			return req, nil
9814		},
9815	}
9816
9817	for p.Next() {
9818		if !fn(p.Page().(*ListTrainingJobsOutput), !p.HasNextPage()) {
9819			break
9820		}
9821	}
9822
9823	return p.Err()
9824}
9825
9826const opListTrainingJobsForHyperParameterTuningJob = "ListTrainingJobsForHyperParameterTuningJob"
9827
9828// ListTrainingJobsForHyperParameterTuningJobRequest generates a "aws/request.Request" representing the
9829// client's request for the ListTrainingJobsForHyperParameterTuningJob operation. The "output" return
9830// value will be populated with the request's response once the request completes
9831// successfully.
9832//
9833// Use "Send" method on the returned Request to send the API call to the service.
9834// the "output" return value is not valid until after Send returns without error.
9835//
9836// See ListTrainingJobsForHyperParameterTuningJob for more information on using the ListTrainingJobsForHyperParameterTuningJob
9837// API call, and error handling.
9838//
9839// This method is useful when you want to inject custom logic or configuration
9840// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9841//
9842//
9843//    // Example sending a request using the ListTrainingJobsForHyperParameterTuningJobRequest method.
9844//    req, resp := client.ListTrainingJobsForHyperParameterTuningJobRequest(params)
9845//
9846//    err := req.Send()
9847//    if err == nil { // resp is now filled
9848//        fmt.Println(resp)
9849//    }
9850//
9851// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobsForHyperParameterTuningJob
9852func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobRequest(input *ListTrainingJobsForHyperParameterTuningJobInput) (req *request.Request, output *ListTrainingJobsForHyperParameterTuningJobOutput) {
9853	op := &request.Operation{
9854		Name:       opListTrainingJobsForHyperParameterTuningJob,
9855		HTTPMethod: "POST",
9856		HTTPPath:   "/",
9857		Paginator: &request.Paginator{
9858			InputTokens:     []string{"NextToken"},
9859			OutputTokens:    []string{"NextToken"},
9860			LimitToken:      "MaxResults",
9861			TruncationToken: "",
9862		},
9863	}
9864
9865	if input == nil {
9866		input = &ListTrainingJobsForHyperParameterTuningJobInput{}
9867	}
9868
9869	output = &ListTrainingJobsForHyperParameterTuningJobOutput{}
9870	req = c.newRequest(op, input, output)
9871	return
9872}
9873
9874// ListTrainingJobsForHyperParameterTuningJob API operation for Amazon SageMaker Service.
9875//
9876// Gets a list of TrainingJobSummary objects that describe the training jobs
9877// that a hyperparameter tuning job launched.
9878//
9879// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9880// with awserr.Error's Code and Message methods to get detailed information about
9881// the error.
9882//
9883// See the AWS API reference guide for Amazon SageMaker Service's
9884// API operation ListTrainingJobsForHyperParameterTuningJob for usage and error information.
9885//
9886// Returned Error Types:
9887//   * ResourceNotFound
9888//   Resource being access is not found.
9889//
9890// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobsForHyperParameterTuningJob
9891func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJob(input *ListTrainingJobsForHyperParameterTuningJobInput) (*ListTrainingJobsForHyperParameterTuningJobOutput, error) {
9892	req, out := c.ListTrainingJobsForHyperParameterTuningJobRequest(input)
9893	return out, req.Send()
9894}
9895
9896// ListTrainingJobsForHyperParameterTuningJobWithContext is the same as ListTrainingJobsForHyperParameterTuningJob with the addition of
9897// the ability to pass a context and additional request options.
9898//
9899// See ListTrainingJobsForHyperParameterTuningJob for details on how to use this API operation.
9900//
9901// The context must be non-nil and will be used for request cancellation. If
9902// the context is nil a panic will occur. In the future the SDK may create
9903// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9904// for more information on using Contexts.
9905func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobWithContext(ctx aws.Context, input *ListTrainingJobsForHyperParameterTuningJobInput, opts ...request.Option) (*ListTrainingJobsForHyperParameterTuningJobOutput, error) {
9906	req, out := c.ListTrainingJobsForHyperParameterTuningJobRequest(input)
9907	req.SetContext(ctx)
9908	req.ApplyOptions(opts...)
9909	return out, req.Send()
9910}
9911
9912// ListTrainingJobsForHyperParameterTuningJobPages iterates over the pages of a ListTrainingJobsForHyperParameterTuningJob operation,
9913// calling the "fn" function with the response data for each page. To stop
9914// iterating, return false from the fn function.
9915//
9916// See ListTrainingJobsForHyperParameterTuningJob method for more information on how to use this operation.
9917//
9918// Note: This operation can generate multiple requests to a service.
9919//
9920//    // Example iterating over at most 3 pages of a ListTrainingJobsForHyperParameterTuningJob operation.
9921//    pageNum := 0
9922//    err := client.ListTrainingJobsForHyperParameterTuningJobPages(params,
9923//        func(page *sagemaker.ListTrainingJobsForHyperParameterTuningJobOutput, lastPage bool) bool {
9924//            pageNum++
9925//            fmt.Println(page)
9926//            return pageNum <= 3
9927//        })
9928//
9929func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobPages(input *ListTrainingJobsForHyperParameterTuningJobInput, fn func(*ListTrainingJobsForHyperParameterTuningJobOutput, bool) bool) error {
9930	return c.ListTrainingJobsForHyperParameterTuningJobPagesWithContext(aws.BackgroundContext(), input, fn)
9931}
9932
9933// ListTrainingJobsForHyperParameterTuningJobPagesWithContext same as ListTrainingJobsForHyperParameterTuningJobPages except
9934// it takes a Context and allows setting request options on the pages.
9935//
9936// The context must be non-nil and will be used for request cancellation. If
9937// the context is nil a panic will occur. In the future the SDK may create
9938// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9939// for more information on using Contexts.
9940func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobPagesWithContext(ctx aws.Context, input *ListTrainingJobsForHyperParameterTuningJobInput, fn func(*ListTrainingJobsForHyperParameterTuningJobOutput, bool) bool, opts ...request.Option) error {
9941	p := request.Pagination{
9942		NewRequest: func() (*request.Request, error) {
9943			var inCpy *ListTrainingJobsForHyperParameterTuningJobInput
9944			if input != nil {
9945				tmp := *input
9946				inCpy = &tmp
9947			}
9948			req, _ := c.ListTrainingJobsForHyperParameterTuningJobRequest(inCpy)
9949			req.SetContext(ctx)
9950			req.ApplyOptions(opts...)
9951			return req, nil
9952		},
9953	}
9954
9955	for p.Next() {
9956		if !fn(p.Page().(*ListTrainingJobsForHyperParameterTuningJobOutput), !p.HasNextPage()) {
9957			break
9958		}
9959	}
9960
9961	return p.Err()
9962}
9963
9964const opListTransformJobs = "ListTransformJobs"
9965
9966// ListTransformJobsRequest generates a "aws/request.Request" representing the
9967// client's request for the ListTransformJobs operation. The "output" return
9968// value will be populated with the request's response once the request completes
9969// successfully.
9970//
9971// Use "Send" method on the returned Request to send the API call to the service.
9972// the "output" return value is not valid until after Send returns without error.
9973//
9974// See ListTransformJobs for more information on using the ListTransformJobs
9975// API call, and error handling.
9976//
9977// This method is useful when you want to inject custom logic or configuration
9978// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9979//
9980//
9981//    // Example sending a request using the ListTransformJobsRequest method.
9982//    req, resp := client.ListTransformJobsRequest(params)
9983//
9984//    err := req.Send()
9985//    if err == nil { // resp is now filled
9986//        fmt.Println(resp)
9987//    }
9988//
9989// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTransformJobs
9990func (c *SageMaker) ListTransformJobsRequest(input *ListTransformJobsInput) (req *request.Request, output *ListTransformJobsOutput) {
9991	op := &request.Operation{
9992		Name:       opListTransformJobs,
9993		HTTPMethod: "POST",
9994		HTTPPath:   "/",
9995		Paginator: &request.Paginator{
9996			InputTokens:     []string{"NextToken"},
9997			OutputTokens:    []string{"NextToken"},
9998			LimitToken:      "MaxResults",
9999			TruncationToken: "",
10000		},
10001	}
10002
10003	if input == nil {
10004		input = &ListTransformJobsInput{}
10005	}
10006
10007	output = &ListTransformJobsOutput{}
10008	req = c.newRequest(op, input, output)
10009	return
10010}
10011
10012// ListTransformJobs API operation for Amazon SageMaker Service.
10013//
10014// Lists transform jobs.
10015//
10016// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10017// with awserr.Error's Code and Message methods to get detailed information about
10018// the error.
10019//
10020// See the AWS API reference guide for Amazon SageMaker Service's
10021// API operation ListTransformJobs for usage and error information.
10022// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTransformJobs
10023func (c *SageMaker) ListTransformJobs(input *ListTransformJobsInput) (*ListTransformJobsOutput, error) {
10024	req, out := c.ListTransformJobsRequest(input)
10025	return out, req.Send()
10026}
10027
10028// ListTransformJobsWithContext is the same as ListTransformJobs with the addition of
10029// the ability to pass a context and additional request options.
10030//
10031// See ListTransformJobs for details on how to use this API operation.
10032//
10033// The context must be non-nil and will be used for request cancellation. If
10034// the context is nil a panic will occur. In the future the SDK may create
10035// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10036// for more information on using Contexts.
10037func (c *SageMaker) ListTransformJobsWithContext(ctx aws.Context, input *ListTransformJobsInput, opts ...request.Option) (*ListTransformJobsOutput, error) {
10038	req, out := c.ListTransformJobsRequest(input)
10039	req.SetContext(ctx)
10040	req.ApplyOptions(opts...)
10041	return out, req.Send()
10042}
10043
10044// ListTransformJobsPages iterates over the pages of a ListTransformJobs operation,
10045// calling the "fn" function with the response data for each page. To stop
10046// iterating, return false from the fn function.
10047//
10048// See ListTransformJobs method for more information on how to use this operation.
10049//
10050// Note: This operation can generate multiple requests to a service.
10051//
10052//    // Example iterating over at most 3 pages of a ListTransformJobs operation.
10053//    pageNum := 0
10054//    err := client.ListTransformJobsPages(params,
10055//        func(page *sagemaker.ListTransformJobsOutput, lastPage bool) bool {
10056//            pageNum++
10057//            fmt.Println(page)
10058//            return pageNum <= 3
10059//        })
10060//
10061func (c *SageMaker) ListTransformJobsPages(input *ListTransformJobsInput, fn func(*ListTransformJobsOutput, bool) bool) error {
10062	return c.ListTransformJobsPagesWithContext(aws.BackgroundContext(), input, fn)
10063}
10064
10065// ListTransformJobsPagesWithContext same as ListTransformJobsPages except
10066// it takes a Context and allows setting request options on the pages.
10067//
10068// The context must be non-nil and will be used for request cancellation. If
10069// the context is nil a panic will occur. In the future the SDK may create
10070// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10071// for more information on using Contexts.
10072func (c *SageMaker) ListTransformJobsPagesWithContext(ctx aws.Context, input *ListTransformJobsInput, fn func(*ListTransformJobsOutput, bool) bool, opts ...request.Option) error {
10073	p := request.Pagination{
10074		NewRequest: func() (*request.Request, error) {
10075			var inCpy *ListTransformJobsInput
10076			if input != nil {
10077				tmp := *input
10078				inCpy = &tmp
10079			}
10080			req, _ := c.ListTransformJobsRequest(inCpy)
10081			req.SetContext(ctx)
10082			req.ApplyOptions(opts...)
10083			return req, nil
10084		},
10085	}
10086
10087	for p.Next() {
10088		if !fn(p.Page().(*ListTransformJobsOutput), !p.HasNextPage()) {
10089			break
10090		}
10091	}
10092
10093	return p.Err()
10094}
10095
10096const opListTrialComponents = "ListTrialComponents"
10097
10098// ListTrialComponentsRequest generates a "aws/request.Request" representing the
10099// client's request for the ListTrialComponents operation. The "output" return
10100// value will be populated with the request's response once the request completes
10101// successfully.
10102//
10103// Use "Send" method on the returned Request to send the API call to the service.
10104// the "output" return value is not valid until after Send returns without error.
10105//
10106// See ListTrialComponents for more information on using the ListTrialComponents
10107// API call, and error handling.
10108//
10109// This method is useful when you want to inject custom logic or configuration
10110// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10111//
10112//
10113//    // Example sending a request using the ListTrialComponentsRequest method.
10114//    req, resp := client.ListTrialComponentsRequest(params)
10115//
10116//    err := req.Send()
10117//    if err == nil { // resp is now filled
10118//        fmt.Println(resp)
10119//    }
10120//
10121// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrialComponents
10122func (c *SageMaker) ListTrialComponentsRequest(input *ListTrialComponentsInput) (req *request.Request, output *ListTrialComponentsOutput) {
10123	op := &request.Operation{
10124		Name:       opListTrialComponents,
10125		HTTPMethod: "POST",
10126		HTTPPath:   "/",
10127		Paginator: &request.Paginator{
10128			InputTokens:     []string{"NextToken"},
10129			OutputTokens:    []string{"NextToken"},
10130			LimitToken:      "MaxResults",
10131			TruncationToken: "",
10132		},
10133	}
10134
10135	if input == nil {
10136		input = &ListTrialComponentsInput{}
10137	}
10138
10139	output = &ListTrialComponentsOutput{}
10140	req = c.newRequest(op, input, output)
10141	return
10142}
10143
10144// ListTrialComponents API operation for Amazon SageMaker Service.
10145//
10146// Lists the trial components in your account. You can sort the list by trial
10147// component name or creation time. You can filter the list to show only components
10148// that were created in a specific time range. You can also filter on one of
10149// the following:
10150//
10151//    * ExperimentName
10152//
10153//    * SourceArn
10154//
10155//    * TrialName
10156//
10157// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10158// with awserr.Error's Code and Message methods to get detailed information about
10159// the error.
10160//
10161// See the AWS API reference guide for Amazon SageMaker Service's
10162// API operation ListTrialComponents for usage and error information.
10163//
10164// Returned Error Types:
10165//   * ResourceNotFound
10166//   Resource being access is not found.
10167//
10168// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrialComponents
10169func (c *SageMaker) ListTrialComponents(input *ListTrialComponentsInput) (*ListTrialComponentsOutput, error) {
10170	req, out := c.ListTrialComponentsRequest(input)
10171	return out, req.Send()
10172}
10173
10174// ListTrialComponentsWithContext is the same as ListTrialComponents with the addition of
10175// the ability to pass a context and additional request options.
10176//
10177// See ListTrialComponents for details on how to use this API operation.
10178//
10179// The context must be non-nil and will be used for request cancellation. If
10180// the context is nil a panic will occur. In the future the SDK may create
10181// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10182// for more information on using Contexts.
10183func (c *SageMaker) ListTrialComponentsWithContext(ctx aws.Context, input *ListTrialComponentsInput, opts ...request.Option) (*ListTrialComponentsOutput, error) {
10184	req, out := c.ListTrialComponentsRequest(input)
10185	req.SetContext(ctx)
10186	req.ApplyOptions(opts...)
10187	return out, req.Send()
10188}
10189
10190// ListTrialComponentsPages iterates over the pages of a ListTrialComponents operation,
10191// calling the "fn" function with the response data for each page. To stop
10192// iterating, return false from the fn function.
10193//
10194// See ListTrialComponents method for more information on how to use this operation.
10195//
10196// Note: This operation can generate multiple requests to a service.
10197//
10198//    // Example iterating over at most 3 pages of a ListTrialComponents operation.
10199//    pageNum := 0
10200//    err := client.ListTrialComponentsPages(params,
10201//        func(page *sagemaker.ListTrialComponentsOutput, lastPage bool) bool {
10202//            pageNum++
10203//            fmt.Println(page)
10204//            return pageNum <= 3
10205//        })
10206//
10207func (c *SageMaker) ListTrialComponentsPages(input *ListTrialComponentsInput, fn func(*ListTrialComponentsOutput, bool) bool) error {
10208	return c.ListTrialComponentsPagesWithContext(aws.BackgroundContext(), input, fn)
10209}
10210
10211// ListTrialComponentsPagesWithContext same as ListTrialComponentsPages except
10212// it takes a Context and allows setting request options on the pages.
10213//
10214// The context must be non-nil and will be used for request cancellation. If
10215// the context is nil a panic will occur. In the future the SDK may create
10216// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10217// for more information on using Contexts.
10218func (c *SageMaker) ListTrialComponentsPagesWithContext(ctx aws.Context, input *ListTrialComponentsInput, fn func(*ListTrialComponentsOutput, bool) bool, opts ...request.Option) error {
10219	p := request.Pagination{
10220		NewRequest: func() (*request.Request, error) {
10221			var inCpy *ListTrialComponentsInput
10222			if input != nil {
10223				tmp := *input
10224				inCpy = &tmp
10225			}
10226			req, _ := c.ListTrialComponentsRequest(inCpy)
10227			req.SetContext(ctx)
10228			req.ApplyOptions(opts...)
10229			return req, nil
10230		},
10231	}
10232
10233	for p.Next() {
10234		if !fn(p.Page().(*ListTrialComponentsOutput), !p.HasNextPage()) {
10235			break
10236		}
10237	}
10238
10239	return p.Err()
10240}
10241
10242const opListTrials = "ListTrials"
10243
10244// ListTrialsRequest generates a "aws/request.Request" representing the
10245// client's request for the ListTrials operation. The "output" return
10246// value will be populated with the request's response once the request completes
10247// successfully.
10248//
10249// Use "Send" method on the returned Request to send the API call to the service.
10250// the "output" return value is not valid until after Send returns without error.
10251//
10252// See ListTrials for more information on using the ListTrials
10253// API call, and error handling.
10254//
10255// This method is useful when you want to inject custom logic or configuration
10256// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10257//
10258//
10259//    // Example sending a request using the ListTrialsRequest method.
10260//    req, resp := client.ListTrialsRequest(params)
10261//
10262//    err := req.Send()
10263//    if err == nil { // resp is now filled
10264//        fmt.Println(resp)
10265//    }
10266//
10267// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrials
10268func (c *SageMaker) ListTrialsRequest(input *ListTrialsInput) (req *request.Request, output *ListTrialsOutput) {
10269	op := &request.Operation{
10270		Name:       opListTrials,
10271		HTTPMethod: "POST",
10272		HTTPPath:   "/",
10273		Paginator: &request.Paginator{
10274			InputTokens:     []string{"NextToken"},
10275			OutputTokens:    []string{"NextToken"},
10276			LimitToken:      "MaxResults",
10277			TruncationToken: "",
10278		},
10279	}
10280
10281	if input == nil {
10282		input = &ListTrialsInput{}
10283	}
10284
10285	output = &ListTrialsOutput{}
10286	req = c.newRequest(op, input, output)
10287	return
10288}
10289
10290// ListTrials API operation for Amazon SageMaker Service.
10291//
10292// Lists the trials in your account. Specify an experiment name to limit the
10293// list to the trials that are part of that experiment. Specify a trial component
10294// name to limit the list to the trials that associated with that trial component.
10295// The list can be filtered to show only trials that were created in a specific
10296// time range. The list can be sorted by trial name or creation time.
10297//
10298// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10299// with awserr.Error's Code and Message methods to get detailed information about
10300// the error.
10301//
10302// See the AWS API reference guide for Amazon SageMaker Service's
10303// API operation ListTrials for usage and error information.
10304//
10305// Returned Error Types:
10306//   * ResourceNotFound
10307//   Resource being access is not found.
10308//
10309// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrials
10310func (c *SageMaker) ListTrials(input *ListTrialsInput) (*ListTrialsOutput, error) {
10311	req, out := c.ListTrialsRequest(input)
10312	return out, req.Send()
10313}
10314
10315// ListTrialsWithContext is the same as ListTrials with the addition of
10316// the ability to pass a context and additional request options.
10317//
10318// See ListTrials for details on how to use this API operation.
10319//
10320// The context must be non-nil and will be used for request cancellation. If
10321// the context is nil a panic will occur. In the future the SDK may create
10322// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10323// for more information on using Contexts.
10324func (c *SageMaker) ListTrialsWithContext(ctx aws.Context, input *ListTrialsInput, opts ...request.Option) (*ListTrialsOutput, error) {
10325	req, out := c.ListTrialsRequest(input)
10326	req.SetContext(ctx)
10327	req.ApplyOptions(opts...)
10328	return out, req.Send()
10329}
10330
10331// ListTrialsPages iterates over the pages of a ListTrials operation,
10332// calling the "fn" function with the response data for each page. To stop
10333// iterating, return false from the fn function.
10334//
10335// See ListTrials method for more information on how to use this operation.
10336//
10337// Note: This operation can generate multiple requests to a service.
10338//
10339//    // Example iterating over at most 3 pages of a ListTrials operation.
10340//    pageNum := 0
10341//    err := client.ListTrialsPages(params,
10342//        func(page *sagemaker.ListTrialsOutput, lastPage bool) bool {
10343//            pageNum++
10344//            fmt.Println(page)
10345//            return pageNum <= 3
10346//        })
10347//
10348func (c *SageMaker) ListTrialsPages(input *ListTrialsInput, fn func(*ListTrialsOutput, bool) bool) error {
10349	return c.ListTrialsPagesWithContext(aws.BackgroundContext(), input, fn)
10350}
10351
10352// ListTrialsPagesWithContext same as ListTrialsPages except
10353// it takes a Context and allows setting request options on the pages.
10354//
10355// The context must be non-nil and will be used for request cancellation. If
10356// the context is nil a panic will occur. In the future the SDK may create
10357// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10358// for more information on using Contexts.
10359func (c *SageMaker) ListTrialsPagesWithContext(ctx aws.Context, input *ListTrialsInput, fn func(*ListTrialsOutput, bool) bool, opts ...request.Option) error {
10360	p := request.Pagination{
10361		NewRequest: func() (*request.Request, error) {
10362			var inCpy *ListTrialsInput
10363			if input != nil {
10364				tmp := *input
10365				inCpy = &tmp
10366			}
10367			req, _ := c.ListTrialsRequest(inCpy)
10368			req.SetContext(ctx)
10369			req.ApplyOptions(opts...)
10370			return req, nil
10371		},
10372	}
10373
10374	for p.Next() {
10375		if !fn(p.Page().(*ListTrialsOutput), !p.HasNextPage()) {
10376			break
10377		}
10378	}
10379
10380	return p.Err()
10381}
10382
10383const opListUserProfiles = "ListUserProfiles"
10384
10385// ListUserProfilesRequest generates a "aws/request.Request" representing the
10386// client's request for the ListUserProfiles operation. The "output" return
10387// value will be populated with the request's response once the request completes
10388// successfully.
10389//
10390// Use "Send" method on the returned Request to send the API call to the service.
10391// the "output" return value is not valid until after Send returns without error.
10392//
10393// See ListUserProfiles for more information on using the ListUserProfiles
10394// API call, and error handling.
10395//
10396// This method is useful when you want to inject custom logic or configuration
10397// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10398//
10399//
10400//    // Example sending a request using the ListUserProfilesRequest method.
10401//    req, resp := client.ListUserProfilesRequest(params)
10402//
10403//    err := req.Send()
10404//    if err == nil { // resp is now filled
10405//        fmt.Println(resp)
10406//    }
10407//
10408// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListUserProfiles
10409func (c *SageMaker) ListUserProfilesRequest(input *ListUserProfilesInput) (req *request.Request, output *ListUserProfilesOutput) {
10410	op := &request.Operation{
10411		Name:       opListUserProfiles,
10412		HTTPMethod: "POST",
10413		HTTPPath:   "/",
10414		Paginator: &request.Paginator{
10415			InputTokens:     []string{"NextToken"},
10416			OutputTokens:    []string{"NextToken"},
10417			LimitToken:      "MaxResults",
10418			TruncationToken: "",
10419		},
10420	}
10421
10422	if input == nil {
10423		input = &ListUserProfilesInput{}
10424	}
10425
10426	output = &ListUserProfilesOutput{}
10427	req = c.newRequest(op, input, output)
10428	return
10429}
10430
10431// ListUserProfiles API operation for Amazon SageMaker Service.
10432//
10433// Lists user profiles.
10434//
10435// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10436// with awserr.Error's Code and Message methods to get detailed information about
10437// the error.
10438//
10439// See the AWS API reference guide for Amazon SageMaker Service's
10440// API operation ListUserProfiles for usage and error information.
10441// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListUserProfiles
10442func (c *SageMaker) ListUserProfiles(input *ListUserProfilesInput) (*ListUserProfilesOutput, error) {
10443	req, out := c.ListUserProfilesRequest(input)
10444	return out, req.Send()
10445}
10446
10447// ListUserProfilesWithContext is the same as ListUserProfiles with the addition of
10448// the ability to pass a context and additional request options.
10449//
10450// See ListUserProfiles for details on how to use this API operation.
10451//
10452// The context must be non-nil and will be used for request cancellation. If
10453// the context is nil a panic will occur. In the future the SDK may create
10454// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10455// for more information on using Contexts.
10456func (c *SageMaker) ListUserProfilesWithContext(ctx aws.Context, input *ListUserProfilesInput, opts ...request.Option) (*ListUserProfilesOutput, error) {
10457	req, out := c.ListUserProfilesRequest(input)
10458	req.SetContext(ctx)
10459	req.ApplyOptions(opts...)
10460	return out, req.Send()
10461}
10462
10463// ListUserProfilesPages iterates over the pages of a ListUserProfiles operation,
10464// calling the "fn" function with the response data for each page. To stop
10465// iterating, return false from the fn function.
10466//
10467// See ListUserProfiles method for more information on how to use this operation.
10468//
10469// Note: This operation can generate multiple requests to a service.
10470//
10471//    // Example iterating over at most 3 pages of a ListUserProfiles operation.
10472//    pageNum := 0
10473//    err := client.ListUserProfilesPages(params,
10474//        func(page *sagemaker.ListUserProfilesOutput, lastPage bool) bool {
10475//            pageNum++
10476//            fmt.Println(page)
10477//            return pageNum <= 3
10478//        })
10479//
10480func (c *SageMaker) ListUserProfilesPages(input *ListUserProfilesInput, fn func(*ListUserProfilesOutput, bool) bool) error {
10481	return c.ListUserProfilesPagesWithContext(aws.BackgroundContext(), input, fn)
10482}
10483
10484// ListUserProfilesPagesWithContext same as ListUserProfilesPages except
10485// it takes a Context and allows setting request options on the pages.
10486//
10487// The context must be non-nil and will be used for request cancellation. If
10488// the context is nil a panic will occur. In the future the SDK may create
10489// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10490// for more information on using Contexts.
10491func (c *SageMaker) ListUserProfilesPagesWithContext(ctx aws.Context, input *ListUserProfilesInput, fn func(*ListUserProfilesOutput, bool) bool, opts ...request.Option) error {
10492	p := request.Pagination{
10493		NewRequest: func() (*request.Request, error) {
10494			var inCpy *ListUserProfilesInput
10495			if input != nil {
10496				tmp := *input
10497				inCpy = &tmp
10498			}
10499			req, _ := c.ListUserProfilesRequest(inCpy)
10500			req.SetContext(ctx)
10501			req.ApplyOptions(opts...)
10502			return req, nil
10503		},
10504	}
10505
10506	for p.Next() {
10507		if !fn(p.Page().(*ListUserProfilesOutput), !p.HasNextPage()) {
10508			break
10509		}
10510	}
10511
10512	return p.Err()
10513}
10514
10515const opListWorkteams = "ListWorkteams"
10516
10517// ListWorkteamsRequest generates a "aws/request.Request" representing the
10518// client's request for the ListWorkteams operation. The "output" return
10519// value will be populated with the request's response once the request completes
10520// successfully.
10521//
10522// Use "Send" method on the returned Request to send the API call to the service.
10523// the "output" return value is not valid until after Send returns without error.
10524//
10525// See ListWorkteams for more information on using the ListWorkteams
10526// API call, and error handling.
10527//
10528// This method is useful when you want to inject custom logic or configuration
10529// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10530//
10531//
10532//    // Example sending a request using the ListWorkteamsRequest method.
10533//    req, resp := client.ListWorkteamsRequest(params)
10534//
10535//    err := req.Send()
10536//    if err == nil { // resp is now filled
10537//        fmt.Println(resp)
10538//    }
10539//
10540// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkteams
10541func (c *SageMaker) ListWorkteamsRequest(input *ListWorkteamsInput) (req *request.Request, output *ListWorkteamsOutput) {
10542	op := &request.Operation{
10543		Name:       opListWorkteams,
10544		HTTPMethod: "POST",
10545		HTTPPath:   "/",
10546		Paginator: &request.Paginator{
10547			InputTokens:     []string{"NextToken"},
10548			OutputTokens:    []string{"NextToken"},
10549			LimitToken:      "MaxResults",
10550			TruncationToken: "",
10551		},
10552	}
10553
10554	if input == nil {
10555		input = &ListWorkteamsInput{}
10556	}
10557
10558	output = &ListWorkteamsOutput{}
10559	req = c.newRequest(op, input, output)
10560	return
10561}
10562
10563// ListWorkteams API operation for Amazon SageMaker Service.
10564//
10565// Gets a list of work teams that you have defined in a region. The list may
10566// be empty if no work team satisfies the filter specified in the NameContains
10567// parameter.
10568//
10569// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10570// with awserr.Error's Code and Message methods to get detailed information about
10571// the error.
10572//
10573// See the AWS API reference guide for Amazon SageMaker Service's
10574// API operation ListWorkteams for usage and error information.
10575// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkteams
10576func (c *SageMaker) ListWorkteams(input *ListWorkteamsInput) (*ListWorkteamsOutput, error) {
10577	req, out := c.ListWorkteamsRequest(input)
10578	return out, req.Send()
10579}
10580
10581// ListWorkteamsWithContext is the same as ListWorkteams with the addition of
10582// the ability to pass a context and additional request options.
10583//
10584// See ListWorkteams for details on how to use this API operation.
10585//
10586// The context must be non-nil and will be used for request cancellation. If
10587// the context is nil a panic will occur. In the future the SDK may create
10588// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10589// for more information on using Contexts.
10590func (c *SageMaker) ListWorkteamsWithContext(ctx aws.Context, input *ListWorkteamsInput, opts ...request.Option) (*ListWorkteamsOutput, error) {
10591	req, out := c.ListWorkteamsRequest(input)
10592	req.SetContext(ctx)
10593	req.ApplyOptions(opts...)
10594	return out, req.Send()
10595}
10596
10597// ListWorkteamsPages iterates over the pages of a ListWorkteams operation,
10598// calling the "fn" function with the response data for each page. To stop
10599// iterating, return false from the fn function.
10600//
10601// See ListWorkteams method for more information on how to use this operation.
10602//
10603// Note: This operation can generate multiple requests to a service.
10604//
10605//    // Example iterating over at most 3 pages of a ListWorkteams operation.
10606//    pageNum := 0
10607//    err := client.ListWorkteamsPages(params,
10608//        func(page *sagemaker.ListWorkteamsOutput, lastPage bool) bool {
10609//            pageNum++
10610//            fmt.Println(page)
10611//            return pageNum <= 3
10612//        })
10613//
10614func (c *SageMaker) ListWorkteamsPages(input *ListWorkteamsInput, fn func(*ListWorkteamsOutput, bool) bool) error {
10615	return c.ListWorkteamsPagesWithContext(aws.BackgroundContext(), input, fn)
10616}
10617
10618// ListWorkteamsPagesWithContext same as ListWorkteamsPages except
10619// it takes a Context and allows setting request options on the pages.
10620//
10621// The context must be non-nil and will be used for request cancellation. If
10622// the context is nil a panic will occur. In the future the SDK may create
10623// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10624// for more information on using Contexts.
10625func (c *SageMaker) ListWorkteamsPagesWithContext(ctx aws.Context, input *ListWorkteamsInput, fn func(*ListWorkteamsOutput, bool) bool, opts ...request.Option) error {
10626	p := request.Pagination{
10627		NewRequest: func() (*request.Request, error) {
10628			var inCpy *ListWorkteamsInput
10629			if input != nil {
10630				tmp := *input
10631				inCpy = &tmp
10632			}
10633			req, _ := c.ListWorkteamsRequest(inCpy)
10634			req.SetContext(ctx)
10635			req.ApplyOptions(opts...)
10636			return req, nil
10637		},
10638	}
10639
10640	for p.Next() {
10641		if !fn(p.Page().(*ListWorkteamsOutput), !p.HasNextPage()) {
10642			break
10643		}
10644	}
10645
10646	return p.Err()
10647}
10648
10649const opRenderUiTemplate = "RenderUiTemplate"
10650
10651// RenderUiTemplateRequest generates a "aws/request.Request" representing the
10652// client's request for the RenderUiTemplate operation. The "output" return
10653// value will be populated with the request's response once the request completes
10654// successfully.
10655//
10656// Use "Send" method on the returned Request to send the API call to the service.
10657// the "output" return value is not valid until after Send returns without error.
10658//
10659// See RenderUiTemplate for more information on using the RenderUiTemplate
10660// API call, and error handling.
10661//
10662// This method is useful when you want to inject custom logic or configuration
10663// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10664//
10665//
10666//    // Example sending a request using the RenderUiTemplateRequest method.
10667//    req, resp := client.RenderUiTemplateRequest(params)
10668//
10669//    err := req.Send()
10670//    if err == nil { // resp is now filled
10671//        fmt.Println(resp)
10672//    }
10673//
10674// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RenderUiTemplate
10675func (c *SageMaker) RenderUiTemplateRequest(input *RenderUiTemplateInput) (req *request.Request, output *RenderUiTemplateOutput) {
10676	op := &request.Operation{
10677		Name:       opRenderUiTemplate,
10678		HTTPMethod: "POST",
10679		HTTPPath:   "/",
10680	}
10681
10682	if input == nil {
10683		input = &RenderUiTemplateInput{}
10684	}
10685
10686	output = &RenderUiTemplateOutput{}
10687	req = c.newRequest(op, input, output)
10688	return
10689}
10690
10691// RenderUiTemplate API operation for Amazon SageMaker Service.
10692//
10693// Renders the UI template so that you can preview the worker's experience.
10694//
10695// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10696// with awserr.Error's Code and Message methods to get detailed information about
10697// the error.
10698//
10699// See the AWS API reference guide for Amazon SageMaker Service's
10700// API operation RenderUiTemplate for usage and error information.
10701// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RenderUiTemplate
10702func (c *SageMaker) RenderUiTemplate(input *RenderUiTemplateInput) (*RenderUiTemplateOutput, error) {
10703	req, out := c.RenderUiTemplateRequest(input)
10704	return out, req.Send()
10705}
10706
10707// RenderUiTemplateWithContext is the same as RenderUiTemplate with the addition of
10708// the ability to pass a context and additional request options.
10709//
10710// See RenderUiTemplate for details on how to use this API operation.
10711//
10712// The context must be non-nil and will be used for request cancellation. If
10713// the context is nil a panic will occur. In the future the SDK may create
10714// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10715// for more information on using Contexts.
10716func (c *SageMaker) RenderUiTemplateWithContext(ctx aws.Context, input *RenderUiTemplateInput, opts ...request.Option) (*RenderUiTemplateOutput, error) {
10717	req, out := c.RenderUiTemplateRequest(input)
10718	req.SetContext(ctx)
10719	req.ApplyOptions(opts...)
10720	return out, req.Send()
10721}
10722
10723const opSearch = "Search"
10724
10725// SearchRequest generates a "aws/request.Request" representing the
10726// client's request for the Search operation. The "output" return
10727// value will be populated with the request's response once the request completes
10728// successfully.
10729//
10730// Use "Send" method on the returned Request to send the API call to the service.
10731// the "output" return value is not valid until after Send returns without error.
10732//
10733// See Search for more information on using the Search
10734// API call, and error handling.
10735//
10736// This method is useful when you want to inject custom logic or configuration
10737// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10738//
10739//
10740//    // Example sending a request using the SearchRequest method.
10741//    req, resp := client.SearchRequest(params)
10742//
10743//    err := req.Send()
10744//    if err == nil { // resp is now filled
10745//        fmt.Println(resp)
10746//    }
10747//
10748// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Search
10749func (c *SageMaker) SearchRequest(input *SearchInput) (req *request.Request, output *SearchOutput) {
10750	op := &request.Operation{
10751		Name:       opSearch,
10752		HTTPMethod: "POST",
10753		HTTPPath:   "/",
10754		Paginator: &request.Paginator{
10755			InputTokens:     []string{"NextToken"},
10756			OutputTokens:    []string{"NextToken"},
10757			LimitToken:      "MaxResults",
10758			TruncationToken: "",
10759		},
10760	}
10761
10762	if input == nil {
10763		input = &SearchInput{}
10764	}
10765
10766	output = &SearchOutput{}
10767	req = c.newRequest(op, input, output)
10768	return
10769}
10770
10771// Search API operation for Amazon SageMaker Service.
10772//
10773// Finds Amazon SageMaker resources that match a search query. Matching resources
10774// are returned as a list of SearchRecord objects in the response. You can sort
10775// the search results by any resource property in a ascending or descending
10776// order.
10777//
10778// You can query against the following value types: numeric, text, Boolean,
10779// and timestamp.
10780//
10781// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10782// with awserr.Error's Code and Message methods to get detailed information about
10783// the error.
10784//
10785// See the AWS API reference guide for Amazon SageMaker Service's
10786// API operation Search for usage and error information.
10787// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Search
10788func (c *SageMaker) Search(input *SearchInput) (*SearchOutput, error) {
10789	req, out := c.SearchRequest(input)
10790	return out, req.Send()
10791}
10792
10793// SearchWithContext is the same as Search with the addition of
10794// the ability to pass a context and additional request options.
10795//
10796// See Search for details on how to use this API operation.
10797//
10798// The context must be non-nil and will be used for request cancellation. If
10799// the context is nil a panic will occur. In the future the SDK may create
10800// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10801// for more information on using Contexts.
10802func (c *SageMaker) SearchWithContext(ctx aws.Context, input *SearchInput, opts ...request.Option) (*SearchOutput, error) {
10803	req, out := c.SearchRequest(input)
10804	req.SetContext(ctx)
10805	req.ApplyOptions(opts...)
10806	return out, req.Send()
10807}
10808
10809// SearchPages iterates over the pages of a Search operation,
10810// calling the "fn" function with the response data for each page. To stop
10811// iterating, return false from the fn function.
10812//
10813// See Search method for more information on how to use this operation.
10814//
10815// Note: This operation can generate multiple requests to a service.
10816//
10817//    // Example iterating over at most 3 pages of a Search operation.
10818//    pageNum := 0
10819//    err := client.SearchPages(params,
10820//        func(page *sagemaker.SearchOutput, lastPage bool) bool {
10821//            pageNum++
10822//            fmt.Println(page)
10823//            return pageNum <= 3
10824//        })
10825//
10826func (c *SageMaker) SearchPages(input *SearchInput, fn func(*SearchOutput, bool) bool) error {
10827	return c.SearchPagesWithContext(aws.BackgroundContext(), input, fn)
10828}
10829
10830// SearchPagesWithContext same as SearchPages except
10831// it takes a Context and allows setting request options on the pages.
10832//
10833// The context must be non-nil and will be used for request cancellation. If
10834// the context is nil a panic will occur. In the future the SDK may create
10835// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10836// for more information on using Contexts.
10837func (c *SageMaker) SearchPagesWithContext(ctx aws.Context, input *SearchInput, fn func(*SearchOutput, bool) bool, opts ...request.Option) error {
10838	p := request.Pagination{
10839		NewRequest: func() (*request.Request, error) {
10840			var inCpy *SearchInput
10841			if input != nil {
10842				tmp := *input
10843				inCpy = &tmp
10844			}
10845			req, _ := c.SearchRequest(inCpy)
10846			req.SetContext(ctx)
10847			req.ApplyOptions(opts...)
10848			return req, nil
10849		},
10850	}
10851
10852	for p.Next() {
10853		if !fn(p.Page().(*SearchOutput), !p.HasNextPage()) {
10854			break
10855		}
10856	}
10857
10858	return p.Err()
10859}
10860
10861const opStartMonitoringSchedule = "StartMonitoringSchedule"
10862
10863// StartMonitoringScheduleRequest generates a "aws/request.Request" representing the
10864// client's request for the StartMonitoringSchedule operation. The "output" return
10865// value will be populated with the request's response once the request completes
10866// successfully.
10867//
10868// Use "Send" method on the returned Request to send the API call to the service.
10869// the "output" return value is not valid until after Send returns without error.
10870//
10871// See StartMonitoringSchedule for more information on using the StartMonitoringSchedule
10872// API call, and error handling.
10873//
10874// This method is useful when you want to inject custom logic or configuration
10875// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10876//
10877//
10878//    // Example sending a request using the StartMonitoringScheduleRequest method.
10879//    req, resp := client.StartMonitoringScheduleRequest(params)
10880//
10881//    err := req.Send()
10882//    if err == nil { // resp is now filled
10883//        fmt.Println(resp)
10884//    }
10885//
10886// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartMonitoringSchedule
10887func (c *SageMaker) StartMonitoringScheduleRequest(input *StartMonitoringScheduleInput) (req *request.Request, output *StartMonitoringScheduleOutput) {
10888	op := &request.Operation{
10889		Name:       opStartMonitoringSchedule,
10890		HTTPMethod: "POST",
10891		HTTPPath:   "/",
10892	}
10893
10894	if input == nil {
10895		input = &StartMonitoringScheduleInput{}
10896	}
10897
10898	output = &StartMonitoringScheduleOutput{}
10899	req = c.newRequest(op, input, output)
10900	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
10901	return
10902}
10903
10904// StartMonitoringSchedule API operation for Amazon SageMaker Service.
10905//
10906// Starts a previously stopped monitoring schedule.
10907//
10908// New monitoring schedules are immediately started after creation.
10909//
10910// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10911// with awserr.Error's Code and Message methods to get detailed information about
10912// the error.
10913//
10914// See the AWS API reference guide for Amazon SageMaker Service's
10915// API operation StartMonitoringSchedule for usage and error information.
10916//
10917// Returned Error Types:
10918//   * ResourceNotFound
10919//   Resource being access is not found.
10920//
10921// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartMonitoringSchedule
10922func (c *SageMaker) StartMonitoringSchedule(input *StartMonitoringScheduleInput) (*StartMonitoringScheduleOutput, error) {
10923	req, out := c.StartMonitoringScheduleRequest(input)
10924	return out, req.Send()
10925}
10926
10927// StartMonitoringScheduleWithContext is the same as StartMonitoringSchedule with the addition of
10928// the ability to pass a context and additional request options.
10929//
10930// See StartMonitoringSchedule for details on how to use this API operation.
10931//
10932// The context must be non-nil and will be used for request cancellation. If
10933// the context is nil a panic will occur. In the future the SDK may create
10934// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10935// for more information on using Contexts.
10936func (c *SageMaker) StartMonitoringScheduleWithContext(ctx aws.Context, input *StartMonitoringScheduleInput, opts ...request.Option) (*StartMonitoringScheduleOutput, error) {
10937	req, out := c.StartMonitoringScheduleRequest(input)
10938	req.SetContext(ctx)
10939	req.ApplyOptions(opts...)
10940	return out, req.Send()
10941}
10942
10943const opStartNotebookInstance = "StartNotebookInstance"
10944
10945// StartNotebookInstanceRequest generates a "aws/request.Request" representing the
10946// client's request for the StartNotebookInstance operation. The "output" return
10947// value will be populated with the request's response once the request completes
10948// successfully.
10949//
10950// Use "Send" method on the returned Request to send the API call to the service.
10951// the "output" return value is not valid until after Send returns without error.
10952//
10953// See StartNotebookInstance for more information on using the StartNotebookInstance
10954// API call, and error handling.
10955//
10956// This method is useful when you want to inject custom logic or configuration
10957// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10958//
10959//
10960//    // Example sending a request using the StartNotebookInstanceRequest method.
10961//    req, resp := client.StartNotebookInstanceRequest(params)
10962//
10963//    err := req.Send()
10964//    if err == nil { // resp is now filled
10965//        fmt.Println(resp)
10966//    }
10967//
10968// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartNotebookInstance
10969func (c *SageMaker) StartNotebookInstanceRequest(input *StartNotebookInstanceInput) (req *request.Request, output *StartNotebookInstanceOutput) {
10970	op := &request.Operation{
10971		Name:       opStartNotebookInstance,
10972		HTTPMethod: "POST",
10973		HTTPPath:   "/",
10974	}
10975
10976	if input == nil {
10977		input = &StartNotebookInstanceInput{}
10978	}
10979
10980	output = &StartNotebookInstanceOutput{}
10981	req = c.newRequest(op, input, output)
10982	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
10983	return
10984}
10985
10986// StartNotebookInstance API operation for Amazon SageMaker Service.
10987//
10988// Launches an ML compute instance with the latest version of the libraries
10989// and attaches your ML storage volume. After configuring the notebook instance,
10990// Amazon SageMaker sets the notebook instance status to InService. A notebook
10991// instance's status must be InService before you can connect to your Jupyter
10992// notebook.
10993//
10994// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10995// with awserr.Error's Code and Message methods to get detailed information about
10996// the error.
10997//
10998// See the AWS API reference guide for Amazon SageMaker Service's
10999// API operation StartNotebookInstance for usage and error information.
11000//
11001// Returned Error Types:
11002//   * ResourceLimitExceeded
11003//   You have exceeded an Amazon SageMaker resource limit. For example, you might
11004//   have too many training jobs created.
11005//
11006// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartNotebookInstance
11007func (c *SageMaker) StartNotebookInstance(input *StartNotebookInstanceInput) (*StartNotebookInstanceOutput, error) {
11008	req, out := c.StartNotebookInstanceRequest(input)
11009	return out, req.Send()
11010}
11011
11012// StartNotebookInstanceWithContext is the same as StartNotebookInstance with the addition of
11013// the ability to pass a context and additional request options.
11014//
11015// See StartNotebookInstance for details on how to use this API operation.
11016//
11017// The context must be non-nil and will be used for request cancellation. If
11018// the context is nil a panic will occur. In the future the SDK may create
11019// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11020// for more information on using Contexts.
11021func (c *SageMaker) StartNotebookInstanceWithContext(ctx aws.Context, input *StartNotebookInstanceInput, opts ...request.Option) (*StartNotebookInstanceOutput, error) {
11022	req, out := c.StartNotebookInstanceRequest(input)
11023	req.SetContext(ctx)
11024	req.ApplyOptions(opts...)
11025	return out, req.Send()
11026}
11027
11028const opStopAutoMLJob = "StopAutoMLJob"
11029
11030// StopAutoMLJobRequest generates a "aws/request.Request" representing the
11031// client's request for the StopAutoMLJob operation. The "output" return
11032// value will be populated with the request's response once the request completes
11033// successfully.
11034//
11035// Use "Send" method on the returned Request to send the API call to the service.
11036// the "output" return value is not valid until after Send returns without error.
11037//
11038// See StopAutoMLJob for more information on using the StopAutoMLJob
11039// API call, and error handling.
11040//
11041// This method is useful when you want to inject custom logic or configuration
11042// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11043//
11044//
11045//    // Example sending a request using the StopAutoMLJobRequest method.
11046//    req, resp := client.StopAutoMLJobRequest(params)
11047//
11048//    err := req.Send()
11049//    if err == nil { // resp is now filled
11050//        fmt.Println(resp)
11051//    }
11052//
11053// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopAutoMLJob
11054func (c *SageMaker) StopAutoMLJobRequest(input *StopAutoMLJobInput) (req *request.Request, output *StopAutoMLJobOutput) {
11055	op := &request.Operation{
11056		Name:       opStopAutoMLJob,
11057		HTTPMethod: "POST",
11058		HTTPPath:   "/",
11059	}
11060
11061	if input == nil {
11062		input = &StopAutoMLJobInput{}
11063	}
11064
11065	output = &StopAutoMLJobOutput{}
11066	req = c.newRequest(op, input, output)
11067	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11068	return
11069}
11070
11071// StopAutoMLJob API operation for Amazon SageMaker Service.
11072//
11073// A method for forcing the termination of a running job.
11074//
11075// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11076// with awserr.Error's Code and Message methods to get detailed information about
11077// the error.
11078//
11079// See the AWS API reference guide for Amazon SageMaker Service's
11080// API operation StopAutoMLJob for usage and error information.
11081//
11082// Returned Error Types:
11083//   * ResourceNotFound
11084//   Resource being access is not found.
11085//
11086// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopAutoMLJob
11087func (c *SageMaker) StopAutoMLJob(input *StopAutoMLJobInput) (*StopAutoMLJobOutput, error) {
11088	req, out := c.StopAutoMLJobRequest(input)
11089	return out, req.Send()
11090}
11091
11092// StopAutoMLJobWithContext is the same as StopAutoMLJob with the addition of
11093// the ability to pass a context and additional request options.
11094//
11095// See StopAutoMLJob for details on how to use this API operation.
11096//
11097// The context must be non-nil and will be used for request cancellation. If
11098// the context is nil a panic will occur. In the future the SDK may create
11099// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11100// for more information on using Contexts.
11101func (c *SageMaker) StopAutoMLJobWithContext(ctx aws.Context, input *StopAutoMLJobInput, opts ...request.Option) (*StopAutoMLJobOutput, error) {
11102	req, out := c.StopAutoMLJobRequest(input)
11103	req.SetContext(ctx)
11104	req.ApplyOptions(opts...)
11105	return out, req.Send()
11106}
11107
11108const opStopCompilationJob = "StopCompilationJob"
11109
11110// StopCompilationJobRequest generates a "aws/request.Request" representing the
11111// client's request for the StopCompilationJob operation. The "output" return
11112// value will be populated with the request's response once the request completes
11113// successfully.
11114//
11115// Use "Send" method on the returned Request to send the API call to the service.
11116// the "output" return value is not valid until after Send returns without error.
11117//
11118// See StopCompilationJob for more information on using the StopCompilationJob
11119// API call, and error handling.
11120//
11121// This method is useful when you want to inject custom logic or configuration
11122// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11123//
11124//
11125//    // Example sending a request using the StopCompilationJobRequest method.
11126//    req, resp := client.StopCompilationJobRequest(params)
11127//
11128//    err := req.Send()
11129//    if err == nil { // resp is now filled
11130//        fmt.Println(resp)
11131//    }
11132//
11133// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopCompilationJob
11134func (c *SageMaker) StopCompilationJobRequest(input *StopCompilationJobInput) (req *request.Request, output *StopCompilationJobOutput) {
11135	op := &request.Operation{
11136		Name:       opStopCompilationJob,
11137		HTTPMethod: "POST",
11138		HTTPPath:   "/",
11139	}
11140
11141	if input == nil {
11142		input = &StopCompilationJobInput{}
11143	}
11144
11145	output = &StopCompilationJobOutput{}
11146	req = c.newRequest(op, input, output)
11147	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11148	return
11149}
11150
11151// StopCompilationJob API operation for Amazon SageMaker Service.
11152//
11153// Stops a model compilation job.
11154//
11155// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal. This
11156// gracefully shuts the job down. If the job hasn't stopped, it sends the SIGKILL
11157// signal.
11158//
11159// When it receives a StopCompilationJob request, Amazon SageMaker changes the
11160// CompilationJobSummary$CompilationJobStatus of the job to Stopping. After
11161// Amazon SageMaker stops the job, it sets the CompilationJobSummary$CompilationJobStatus
11162// to Stopped.
11163//
11164// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11165// with awserr.Error's Code and Message methods to get detailed information about
11166// the error.
11167//
11168// See the AWS API reference guide for Amazon SageMaker Service's
11169// API operation StopCompilationJob for usage and error information.
11170//
11171// Returned Error Types:
11172//   * ResourceNotFound
11173//   Resource being access is not found.
11174//
11175// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopCompilationJob
11176func (c *SageMaker) StopCompilationJob(input *StopCompilationJobInput) (*StopCompilationJobOutput, error) {
11177	req, out := c.StopCompilationJobRequest(input)
11178	return out, req.Send()
11179}
11180
11181// StopCompilationJobWithContext is the same as StopCompilationJob with the addition of
11182// the ability to pass a context and additional request options.
11183//
11184// See StopCompilationJob for details on how to use this API operation.
11185//
11186// The context must be non-nil and will be used for request cancellation. If
11187// the context is nil a panic will occur. In the future the SDK may create
11188// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11189// for more information on using Contexts.
11190func (c *SageMaker) StopCompilationJobWithContext(ctx aws.Context, input *StopCompilationJobInput, opts ...request.Option) (*StopCompilationJobOutput, error) {
11191	req, out := c.StopCompilationJobRequest(input)
11192	req.SetContext(ctx)
11193	req.ApplyOptions(opts...)
11194	return out, req.Send()
11195}
11196
11197const opStopHyperParameterTuningJob = "StopHyperParameterTuningJob"
11198
11199// StopHyperParameterTuningJobRequest generates a "aws/request.Request" representing the
11200// client's request for the StopHyperParameterTuningJob operation. The "output" return
11201// value will be populated with the request's response once the request completes
11202// successfully.
11203//
11204// Use "Send" method on the returned Request to send the API call to the service.
11205// the "output" return value is not valid until after Send returns without error.
11206//
11207// See StopHyperParameterTuningJob for more information on using the StopHyperParameterTuningJob
11208// API call, and error handling.
11209//
11210// This method is useful when you want to inject custom logic or configuration
11211// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11212//
11213//
11214//    // Example sending a request using the StopHyperParameterTuningJobRequest method.
11215//    req, resp := client.StopHyperParameterTuningJobRequest(params)
11216//
11217//    err := req.Send()
11218//    if err == nil { // resp is now filled
11219//        fmt.Println(resp)
11220//    }
11221//
11222// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopHyperParameterTuningJob
11223func (c *SageMaker) StopHyperParameterTuningJobRequest(input *StopHyperParameterTuningJobInput) (req *request.Request, output *StopHyperParameterTuningJobOutput) {
11224	op := &request.Operation{
11225		Name:       opStopHyperParameterTuningJob,
11226		HTTPMethod: "POST",
11227		HTTPPath:   "/",
11228	}
11229
11230	if input == nil {
11231		input = &StopHyperParameterTuningJobInput{}
11232	}
11233
11234	output = &StopHyperParameterTuningJobOutput{}
11235	req = c.newRequest(op, input, output)
11236	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11237	return
11238}
11239
11240// StopHyperParameterTuningJob API operation for Amazon SageMaker Service.
11241//
11242// Stops a running hyperparameter tuning job and all running training jobs that
11243// the tuning job launched.
11244//
11245// All model artifacts output from the training jobs are stored in Amazon Simple
11246// Storage Service (Amazon S3). All data that the training jobs write to Amazon
11247// CloudWatch Logs are still available in CloudWatch. After the tuning job moves
11248// to the Stopped state, it releases all reserved resources for the tuning job.
11249//
11250// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11251// with awserr.Error's Code and Message methods to get detailed information about
11252// the error.
11253//
11254// See the AWS API reference guide for Amazon SageMaker Service's
11255// API operation StopHyperParameterTuningJob for usage and error information.
11256//
11257// Returned Error Types:
11258//   * ResourceNotFound
11259//   Resource being access is not found.
11260//
11261// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopHyperParameterTuningJob
11262func (c *SageMaker) StopHyperParameterTuningJob(input *StopHyperParameterTuningJobInput) (*StopHyperParameterTuningJobOutput, error) {
11263	req, out := c.StopHyperParameterTuningJobRequest(input)
11264	return out, req.Send()
11265}
11266
11267// StopHyperParameterTuningJobWithContext is the same as StopHyperParameterTuningJob with the addition of
11268// the ability to pass a context and additional request options.
11269//
11270// See StopHyperParameterTuningJob for details on how to use this API operation.
11271//
11272// The context must be non-nil and will be used for request cancellation. If
11273// the context is nil a panic will occur. In the future the SDK may create
11274// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11275// for more information on using Contexts.
11276func (c *SageMaker) StopHyperParameterTuningJobWithContext(ctx aws.Context, input *StopHyperParameterTuningJobInput, opts ...request.Option) (*StopHyperParameterTuningJobOutput, error) {
11277	req, out := c.StopHyperParameterTuningJobRequest(input)
11278	req.SetContext(ctx)
11279	req.ApplyOptions(opts...)
11280	return out, req.Send()
11281}
11282
11283const opStopLabelingJob = "StopLabelingJob"
11284
11285// StopLabelingJobRequest generates a "aws/request.Request" representing the
11286// client's request for the StopLabelingJob operation. The "output" return
11287// value will be populated with the request's response once the request completes
11288// successfully.
11289//
11290// Use "Send" method on the returned Request to send the API call to the service.
11291// the "output" return value is not valid until after Send returns without error.
11292//
11293// See StopLabelingJob for more information on using the StopLabelingJob
11294// API call, and error handling.
11295//
11296// This method is useful when you want to inject custom logic or configuration
11297// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11298//
11299//
11300//    // Example sending a request using the StopLabelingJobRequest method.
11301//    req, resp := client.StopLabelingJobRequest(params)
11302//
11303//    err := req.Send()
11304//    if err == nil { // resp is now filled
11305//        fmt.Println(resp)
11306//    }
11307//
11308// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopLabelingJob
11309func (c *SageMaker) StopLabelingJobRequest(input *StopLabelingJobInput) (req *request.Request, output *StopLabelingJobOutput) {
11310	op := &request.Operation{
11311		Name:       opStopLabelingJob,
11312		HTTPMethod: "POST",
11313		HTTPPath:   "/",
11314	}
11315
11316	if input == nil {
11317		input = &StopLabelingJobInput{}
11318	}
11319
11320	output = &StopLabelingJobOutput{}
11321	req = c.newRequest(op, input, output)
11322	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11323	return
11324}
11325
11326// StopLabelingJob API operation for Amazon SageMaker Service.
11327//
11328// Stops a running labeling job. A job that is stopped cannot be restarted.
11329// Any results obtained before the job is stopped are placed in the Amazon S3
11330// output bucket.
11331//
11332// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11333// with awserr.Error's Code and Message methods to get detailed information about
11334// the error.
11335//
11336// See the AWS API reference guide for Amazon SageMaker Service's
11337// API operation StopLabelingJob for usage and error information.
11338//
11339// Returned Error Types:
11340//   * ResourceNotFound
11341//   Resource being access is not found.
11342//
11343// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopLabelingJob
11344func (c *SageMaker) StopLabelingJob(input *StopLabelingJobInput) (*StopLabelingJobOutput, error) {
11345	req, out := c.StopLabelingJobRequest(input)
11346	return out, req.Send()
11347}
11348
11349// StopLabelingJobWithContext is the same as StopLabelingJob with the addition of
11350// the ability to pass a context and additional request options.
11351//
11352// See StopLabelingJob for details on how to use this API operation.
11353//
11354// The context must be non-nil and will be used for request cancellation. If
11355// the context is nil a panic will occur. In the future the SDK may create
11356// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11357// for more information on using Contexts.
11358func (c *SageMaker) StopLabelingJobWithContext(ctx aws.Context, input *StopLabelingJobInput, opts ...request.Option) (*StopLabelingJobOutput, error) {
11359	req, out := c.StopLabelingJobRequest(input)
11360	req.SetContext(ctx)
11361	req.ApplyOptions(opts...)
11362	return out, req.Send()
11363}
11364
11365const opStopMonitoringSchedule = "StopMonitoringSchedule"
11366
11367// StopMonitoringScheduleRequest generates a "aws/request.Request" representing the
11368// client's request for the StopMonitoringSchedule operation. The "output" return
11369// value will be populated with the request's response once the request completes
11370// successfully.
11371//
11372// Use "Send" method on the returned Request to send the API call to the service.
11373// the "output" return value is not valid until after Send returns without error.
11374//
11375// See StopMonitoringSchedule for more information on using the StopMonitoringSchedule
11376// API call, and error handling.
11377//
11378// This method is useful when you want to inject custom logic or configuration
11379// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11380//
11381//
11382//    // Example sending a request using the StopMonitoringScheduleRequest method.
11383//    req, resp := client.StopMonitoringScheduleRequest(params)
11384//
11385//    err := req.Send()
11386//    if err == nil { // resp is now filled
11387//        fmt.Println(resp)
11388//    }
11389//
11390// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopMonitoringSchedule
11391func (c *SageMaker) StopMonitoringScheduleRequest(input *StopMonitoringScheduleInput) (req *request.Request, output *StopMonitoringScheduleOutput) {
11392	op := &request.Operation{
11393		Name:       opStopMonitoringSchedule,
11394		HTTPMethod: "POST",
11395		HTTPPath:   "/",
11396	}
11397
11398	if input == nil {
11399		input = &StopMonitoringScheduleInput{}
11400	}
11401
11402	output = &StopMonitoringScheduleOutput{}
11403	req = c.newRequest(op, input, output)
11404	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11405	return
11406}
11407
11408// StopMonitoringSchedule API operation for Amazon SageMaker Service.
11409//
11410// Stops a previously started monitoring schedule.
11411//
11412// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11413// with awserr.Error's Code and Message methods to get detailed information about
11414// the error.
11415//
11416// See the AWS API reference guide for Amazon SageMaker Service's
11417// API operation StopMonitoringSchedule for usage and error information.
11418//
11419// Returned Error Types:
11420//   * ResourceNotFound
11421//   Resource being access is not found.
11422//
11423// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopMonitoringSchedule
11424func (c *SageMaker) StopMonitoringSchedule(input *StopMonitoringScheduleInput) (*StopMonitoringScheduleOutput, error) {
11425	req, out := c.StopMonitoringScheduleRequest(input)
11426	return out, req.Send()
11427}
11428
11429// StopMonitoringScheduleWithContext is the same as StopMonitoringSchedule with the addition of
11430// the ability to pass a context and additional request options.
11431//
11432// See StopMonitoringSchedule for details on how to use this API operation.
11433//
11434// The context must be non-nil and will be used for request cancellation. If
11435// the context is nil a panic will occur. In the future the SDK may create
11436// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11437// for more information on using Contexts.
11438func (c *SageMaker) StopMonitoringScheduleWithContext(ctx aws.Context, input *StopMonitoringScheduleInput, opts ...request.Option) (*StopMonitoringScheduleOutput, error) {
11439	req, out := c.StopMonitoringScheduleRequest(input)
11440	req.SetContext(ctx)
11441	req.ApplyOptions(opts...)
11442	return out, req.Send()
11443}
11444
11445const opStopNotebookInstance = "StopNotebookInstance"
11446
11447// StopNotebookInstanceRequest generates a "aws/request.Request" representing the
11448// client's request for the StopNotebookInstance operation. The "output" return
11449// value will be populated with the request's response once the request completes
11450// successfully.
11451//
11452// Use "Send" method on the returned Request to send the API call to the service.
11453// the "output" return value is not valid until after Send returns without error.
11454//
11455// See StopNotebookInstance for more information on using the StopNotebookInstance
11456// API call, and error handling.
11457//
11458// This method is useful when you want to inject custom logic or configuration
11459// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11460//
11461//
11462//    // Example sending a request using the StopNotebookInstanceRequest method.
11463//    req, resp := client.StopNotebookInstanceRequest(params)
11464//
11465//    err := req.Send()
11466//    if err == nil { // resp is now filled
11467//        fmt.Println(resp)
11468//    }
11469//
11470// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopNotebookInstance
11471func (c *SageMaker) StopNotebookInstanceRequest(input *StopNotebookInstanceInput) (req *request.Request, output *StopNotebookInstanceOutput) {
11472	op := &request.Operation{
11473		Name:       opStopNotebookInstance,
11474		HTTPMethod: "POST",
11475		HTTPPath:   "/",
11476	}
11477
11478	if input == nil {
11479		input = &StopNotebookInstanceInput{}
11480	}
11481
11482	output = &StopNotebookInstanceOutput{}
11483	req = c.newRequest(op, input, output)
11484	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11485	return
11486}
11487
11488// StopNotebookInstance API operation for Amazon SageMaker Service.
11489//
11490// Terminates the ML compute instance. Before terminating the instance, Amazon
11491// SageMaker disconnects the ML storage volume from it. Amazon SageMaker preserves
11492// the ML storage volume. Amazon SageMaker stops charging you for the ML compute
11493// instance when you call StopNotebookInstance.
11494//
11495// To access data on the ML storage volume for a notebook instance that has
11496// been terminated, call the StartNotebookInstance API. StartNotebookInstance
11497// launches another ML compute instance, configures it, and attaches the preserved
11498// ML storage volume so you can continue your work.
11499//
11500// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11501// with awserr.Error's Code and Message methods to get detailed information about
11502// the error.
11503//
11504// See the AWS API reference guide for Amazon SageMaker Service's
11505// API operation StopNotebookInstance for usage and error information.
11506// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopNotebookInstance
11507func (c *SageMaker) StopNotebookInstance(input *StopNotebookInstanceInput) (*StopNotebookInstanceOutput, error) {
11508	req, out := c.StopNotebookInstanceRequest(input)
11509	return out, req.Send()
11510}
11511
11512// StopNotebookInstanceWithContext is the same as StopNotebookInstance with the addition of
11513// the ability to pass a context and additional request options.
11514//
11515// See StopNotebookInstance for details on how to use this API operation.
11516//
11517// The context must be non-nil and will be used for request cancellation. If
11518// the context is nil a panic will occur. In the future the SDK may create
11519// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11520// for more information on using Contexts.
11521func (c *SageMaker) StopNotebookInstanceWithContext(ctx aws.Context, input *StopNotebookInstanceInput, opts ...request.Option) (*StopNotebookInstanceOutput, error) {
11522	req, out := c.StopNotebookInstanceRequest(input)
11523	req.SetContext(ctx)
11524	req.ApplyOptions(opts...)
11525	return out, req.Send()
11526}
11527
11528const opStopProcessingJob = "StopProcessingJob"
11529
11530// StopProcessingJobRequest generates a "aws/request.Request" representing the
11531// client's request for the StopProcessingJob operation. The "output" return
11532// value will be populated with the request's response once the request completes
11533// successfully.
11534//
11535// Use "Send" method on the returned Request to send the API call to the service.
11536// the "output" return value is not valid until after Send returns without error.
11537//
11538// See StopProcessingJob for more information on using the StopProcessingJob
11539// API call, and error handling.
11540//
11541// This method is useful when you want to inject custom logic or configuration
11542// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11543//
11544//
11545//    // Example sending a request using the StopProcessingJobRequest method.
11546//    req, resp := client.StopProcessingJobRequest(params)
11547//
11548//    err := req.Send()
11549//    if err == nil { // resp is now filled
11550//        fmt.Println(resp)
11551//    }
11552//
11553// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopProcessingJob
11554func (c *SageMaker) StopProcessingJobRequest(input *StopProcessingJobInput) (req *request.Request, output *StopProcessingJobOutput) {
11555	op := &request.Operation{
11556		Name:       opStopProcessingJob,
11557		HTTPMethod: "POST",
11558		HTTPPath:   "/",
11559	}
11560
11561	if input == nil {
11562		input = &StopProcessingJobInput{}
11563	}
11564
11565	output = &StopProcessingJobOutput{}
11566	req = c.newRequest(op, input, output)
11567	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11568	return
11569}
11570
11571// StopProcessingJob API operation for Amazon SageMaker Service.
11572//
11573// Stops a processing job.
11574//
11575// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11576// with awserr.Error's Code and Message methods to get detailed information about
11577// the error.
11578//
11579// See the AWS API reference guide for Amazon SageMaker Service's
11580// API operation StopProcessingJob for usage and error information.
11581//
11582// Returned Error Types:
11583//   * ResourceNotFound
11584//   Resource being access is not found.
11585//
11586// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopProcessingJob
11587func (c *SageMaker) StopProcessingJob(input *StopProcessingJobInput) (*StopProcessingJobOutput, error) {
11588	req, out := c.StopProcessingJobRequest(input)
11589	return out, req.Send()
11590}
11591
11592// StopProcessingJobWithContext is the same as StopProcessingJob with the addition of
11593// the ability to pass a context and additional request options.
11594//
11595// See StopProcessingJob for details on how to use this API operation.
11596//
11597// The context must be non-nil and will be used for request cancellation. If
11598// the context is nil a panic will occur. In the future the SDK may create
11599// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11600// for more information on using Contexts.
11601func (c *SageMaker) StopProcessingJobWithContext(ctx aws.Context, input *StopProcessingJobInput, opts ...request.Option) (*StopProcessingJobOutput, error) {
11602	req, out := c.StopProcessingJobRequest(input)
11603	req.SetContext(ctx)
11604	req.ApplyOptions(opts...)
11605	return out, req.Send()
11606}
11607
11608const opStopTrainingJob = "StopTrainingJob"
11609
11610// StopTrainingJobRequest generates a "aws/request.Request" representing the
11611// client's request for the StopTrainingJob operation. The "output" return
11612// value will be populated with the request's response once the request completes
11613// successfully.
11614//
11615// Use "Send" method on the returned Request to send the API call to the service.
11616// the "output" return value is not valid until after Send returns without error.
11617//
11618// See StopTrainingJob for more information on using the StopTrainingJob
11619// API call, and error handling.
11620//
11621// This method is useful when you want to inject custom logic or configuration
11622// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11623//
11624//
11625//    // Example sending a request using the StopTrainingJobRequest method.
11626//    req, resp := client.StopTrainingJobRequest(params)
11627//
11628//    err := req.Send()
11629//    if err == nil { // resp is now filled
11630//        fmt.Println(resp)
11631//    }
11632//
11633// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTrainingJob
11634func (c *SageMaker) StopTrainingJobRequest(input *StopTrainingJobInput) (req *request.Request, output *StopTrainingJobOutput) {
11635	op := &request.Operation{
11636		Name:       opStopTrainingJob,
11637		HTTPMethod: "POST",
11638		HTTPPath:   "/",
11639	}
11640
11641	if input == nil {
11642		input = &StopTrainingJobInput{}
11643	}
11644
11645	output = &StopTrainingJobOutput{}
11646	req = c.newRequest(op, input, output)
11647	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11648	return
11649}
11650
11651// StopTrainingJob API operation for Amazon SageMaker Service.
11652//
11653// Stops a training job. To stop a job, Amazon SageMaker sends the algorithm
11654// the SIGTERM signal, which delays job termination for 120 seconds. Algorithms
11655// might use this 120-second window to save the model artifacts, so the results
11656// of the training is not lost.
11657//
11658// When it receives a StopTrainingJob request, Amazon SageMaker changes the
11659// status of the job to Stopping. After Amazon SageMaker stops the job, it sets
11660// the status to Stopped.
11661//
11662// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11663// with awserr.Error's Code and Message methods to get detailed information about
11664// the error.
11665//
11666// See the AWS API reference guide for Amazon SageMaker Service's
11667// API operation StopTrainingJob for usage and error information.
11668//
11669// Returned Error Types:
11670//   * ResourceNotFound
11671//   Resource being access is not found.
11672//
11673// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTrainingJob
11674func (c *SageMaker) StopTrainingJob(input *StopTrainingJobInput) (*StopTrainingJobOutput, error) {
11675	req, out := c.StopTrainingJobRequest(input)
11676	return out, req.Send()
11677}
11678
11679// StopTrainingJobWithContext is the same as StopTrainingJob with the addition of
11680// the ability to pass a context and additional request options.
11681//
11682// See StopTrainingJob for details on how to use this API operation.
11683//
11684// The context must be non-nil and will be used for request cancellation. If
11685// the context is nil a panic will occur. In the future the SDK may create
11686// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11687// for more information on using Contexts.
11688func (c *SageMaker) StopTrainingJobWithContext(ctx aws.Context, input *StopTrainingJobInput, opts ...request.Option) (*StopTrainingJobOutput, error) {
11689	req, out := c.StopTrainingJobRequest(input)
11690	req.SetContext(ctx)
11691	req.ApplyOptions(opts...)
11692	return out, req.Send()
11693}
11694
11695const opStopTransformJob = "StopTransformJob"
11696
11697// StopTransformJobRequest generates a "aws/request.Request" representing the
11698// client's request for the StopTransformJob operation. The "output" return
11699// value will be populated with the request's response once the request completes
11700// successfully.
11701//
11702// Use "Send" method on the returned Request to send the API call to the service.
11703// the "output" return value is not valid until after Send returns without error.
11704//
11705// See StopTransformJob for more information on using the StopTransformJob
11706// API call, and error handling.
11707//
11708// This method is useful when you want to inject custom logic or configuration
11709// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11710//
11711//
11712//    // Example sending a request using the StopTransformJobRequest method.
11713//    req, resp := client.StopTransformJobRequest(params)
11714//
11715//    err := req.Send()
11716//    if err == nil { // resp is now filled
11717//        fmt.Println(resp)
11718//    }
11719//
11720// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTransformJob
11721func (c *SageMaker) StopTransformJobRequest(input *StopTransformJobInput) (req *request.Request, output *StopTransformJobOutput) {
11722	op := &request.Operation{
11723		Name:       opStopTransformJob,
11724		HTTPMethod: "POST",
11725		HTTPPath:   "/",
11726	}
11727
11728	if input == nil {
11729		input = &StopTransformJobInput{}
11730	}
11731
11732	output = &StopTransformJobOutput{}
11733	req = c.newRequest(op, input, output)
11734	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11735	return
11736}
11737
11738// StopTransformJob API operation for Amazon SageMaker Service.
11739//
11740// Stops a transform job.
11741//
11742// When Amazon SageMaker receives a StopTransformJob request, the status of
11743// the job changes to Stopping. After Amazon SageMaker stops the job, the status
11744// is set to Stopped. When you stop a transform job before it is completed,
11745// Amazon SageMaker doesn't store the job's output in Amazon S3.
11746//
11747// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11748// with awserr.Error's Code and Message methods to get detailed information about
11749// the error.
11750//
11751// See the AWS API reference guide for Amazon SageMaker Service's
11752// API operation StopTransformJob for usage and error information.
11753//
11754// Returned Error Types:
11755//   * ResourceNotFound
11756//   Resource being access is not found.
11757//
11758// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTransformJob
11759func (c *SageMaker) StopTransformJob(input *StopTransformJobInput) (*StopTransformJobOutput, error) {
11760	req, out := c.StopTransformJobRequest(input)
11761	return out, req.Send()
11762}
11763
11764// StopTransformJobWithContext is the same as StopTransformJob with the addition of
11765// the ability to pass a context and additional request options.
11766//
11767// See StopTransformJob for details on how to use this API operation.
11768//
11769// The context must be non-nil and will be used for request cancellation. If
11770// the context is nil a panic will occur. In the future the SDK may create
11771// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11772// for more information on using Contexts.
11773func (c *SageMaker) StopTransformJobWithContext(ctx aws.Context, input *StopTransformJobInput, opts ...request.Option) (*StopTransformJobOutput, error) {
11774	req, out := c.StopTransformJobRequest(input)
11775	req.SetContext(ctx)
11776	req.ApplyOptions(opts...)
11777	return out, req.Send()
11778}
11779
11780const opUpdateCodeRepository = "UpdateCodeRepository"
11781
11782// UpdateCodeRepositoryRequest generates a "aws/request.Request" representing the
11783// client's request for the UpdateCodeRepository operation. The "output" return
11784// value will be populated with the request's response once the request completes
11785// successfully.
11786//
11787// Use "Send" method on the returned Request to send the API call to the service.
11788// the "output" return value is not valid until after Send returns without error.
11789//
11790// See UpdateCodeRepository for more information on using the UpdateCodeRepository
11791// API call, and error handling.
11792//
11793// This method is useful when you want to inject custom logic or configuration
11794// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11795//
11796//
11797//    // Example sending a request using the UpdateCodeRepositoryRequest method.
11798//    req, resp := client.UpdateCodeRepositoryRequest(params)
11799//
11800//    err := req.Send()
11801//    if err == nil { // resp is now filled
11802//        fmt.Println(resp)
11803//    }
11804//
11805// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateCodeRepository
11806func (c *SageMaker) UpdateCodeRepositoryRequest(input *UpdateCodeRepositoryInput) (req *request.Request, output *UpdateCodeRepositoryOutput) {
11807	op := &request.Operation{
11808		Name:       opUpdateCodeRepository,
11809		HTTPMethod: "POST",
11810		HTTPPath:   "/",
11811	}
11812
11813	if input == nil {
11814		input = &UpdateCodeRepositoryInput{}
11815	}
11816
11817	output = &UpdateCodeRepositoryOutput{}
11818	req = c.newRequest(op, input, output)
11819	return
11820}
11821
11822// UpdateCodeRepository API operation for Amazon SageMaker Service.
11823//
11824// Updates the specified Git repository with the specified values.
11825//
11826// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11827// with awserr.Error's Code and Message methods to get detailed information about
11828// the error.
11829//
11830// See the AWS API reference guide for Amazon SageMaker Service's
11831// API operation UpdateCodeRepository for usage and error information.
11832// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateCodeRepository
11833func (c *SageMaker) UpdateCodeRepository(input *UpdateCodeRepositoryInput) (*UpdateCodeRepositoryOutput, error) {
11834	req, out := c.UpdateCodeRepositoryRequest(input)
11835	return out, req.Send()
11836}
11837
11838// UpdateCodeRepositoryWithContext is the same as UpdateCodeRepository with the addition of
11839// the ability to pass a context and additional request options.
11840//
11841// See UpdateCodeRepository for details on how to use this API operation.
11842//
11843// The context must be non-nil and will be used for request cancellation. If
11844// the context is nil a panic will occur. In the future the SDK may create
11845// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11846// for more information on using Contexts.
11847func (c *SageMaker) UpdateCodeRepositoryWithContext(ctx aws.Context, input *UpdateCodeRepositoryInput, opts ...request.Option) (*UpdateCodeRepositoryOutput, error) {
11848	req, out := c.UpdateCodeRepositoryRequest(input)
11849	req.SetContext(ctx)
11850	req.ApplyOptions(opts...)
11851	return out, req.Send()
11852}
11853
11854const opUpdateDomain = "UpdateDomain"
11855
11856// UpdateDomainRequest generates a "aws/request.Request" representing the
11857// client's request for the UpdateDomain operation. The "output" return
11858// value will be populated with the request's response once the request completes
11859// successfully.
11860//
11861// Use "Send" method on the returned Request to send the API call to the service.
11862// the "output" return value is not valid until after Send returns without error.
11863//
11864// See UpdateDomain for more information on using the UpdateDomain
11865// API call, and error handling.
11866//
11867// This method is useful when you want to inject custom logic or configuration
11868// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11869//
11870//
11871//    // Example sending a request using the UpdateDomainRequest method.
11872//    req, resp := client.UpdateDomainRequest(params)
11873//
11874//    err := req.Send()
11875//    if err == nil { // resp is now filled
11876//        fmt.Println(resp)
11877//    }
11878//
11879// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDomain
11880func (c *SageMaker) UpdateDomainRequest(input *UpdateDomainInput) (req *request.Request, output *UpdateDomainOutput) {
11881	op := &request.Operation{
11882		Name:       opUpdateDomain,
11883		HTTPMethod: "POST",
11884		HTTPPath:   "/",
11885	}
11886
11887	if input == nil {
11888		input = &UpdateDomainInput{}
11889	}
11890
11891	output = &UpdateDomainOutput{}
11892	req = c.newRequest(op, input, output)
11893	return
11894}
11895
11896// UpdateDomain API operation for Amazon SageMaker Service.
11897//
11898// Updates the default settings for new user profiles in the domain.
11899//
11900// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11901// with awserr.Error's Code and Message methods to get detailed information about
11902// the error.
11903//
11904// See the AWS API reference guide for Amazon SageMaker Service's
11905// API operation UpdateDomain for usage and error information.
11906//
11907// Returned Error Types:
11908//   * ResourceLimitExceeded
11909//   You have exceeded an Amazon SageMaker resource limit. For example, you might
11910//   have too many training jobs created.
11911//
11912//   * ResourceInUse
11913//   Resource being accessed is in use.
11914//
11915//   * ResourceNotFound
11916//   Resource being access is not found.
11917//
11918// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDomain
11919func (c *SageMaker) UpdateDomain(input *UpdateDomainInput) (*UpdateDomainOutput, error) {
11920	req, out := c.UpdateDomainRequest(input)
11921	return out, req.Send()
11922}
11923
11924// UpdateDomainWithContext is the same as UpdateDomain with the addition of
11925// the ability to pass a context and additional request options.
11926//
11927// See UpdateDomain for details on how to use this API operation.
11928//
11929// The context must be non-nil and will be used for request cancellation. If
11930// the context is nil a panic will occur. In the future the SDK may create
11931// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11932// for more information on using Contexts.
11933func (c *SageMaker) UpdateDomainWithContext(ctx aws.Context, input *UpdateDomainInput, opts ...request.Option) (*UpdateDomainOutput, error) {
11934	req, out := c.UpdateDomainRequest(input)
11935	req.SetContext(ctx)
11936	req.ApplyOptions(opts...)
11937	return out, req.Send()
11938}
11939
11940const opUpdateEndpoint = "UpdateEndpoint"
11941
11942// UpdateEndpointRequest generates a "aws/request.Request" representing the
11943// client's request for the UpdateEndpoint operation. The "output" return
11944// value will be populated with the request's response once the request completes
11945// successfully.
11946//
11947// Use "Send" method on the returned Request to send the API call to the service.
11948// the "output" return value is not valid until after Send returns without error.
11949//
11950// See UpdateEndpoint for more information on using the UpdateEndpoint
11951// API call, and error handling.
11952//
11953// This method is useful when you want to inject custom logic or configuration
11954// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11955//
11956//
11957//    // Example sending a request using the UpdateEndpointRequest method.
11958//    req, resp := client.UpdateEndpointRequest(params)
11959//
11960//    err := req.Send()
11961//    if err == nil { // resp is now filled
11962//        fmt.Println(resp)
11963//    }
11964//
11965// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpoint
11966func (c *SageMaker) UpdateEndpointRequest(input *UpdateEndpointInput) (req *request.Request, output *UpdateEndpointOutput) {
11967	op := &request.Operation{
11968		Name:       opUpdateEndpoint,
11969		HTTPMethod: "POST",
11970		HTTPPath:   "/",
11971	}
11972
11973	if input == nil {
11974		input = &UpdateEndpointInput{}
11975	}
11976
11977	output = &UpdateEndpointOutput{}
11978	req = c.newRequest(op, input, output)
11979	return
11980}
11981
11982// UpdateEndpoint API operation for Amazon SageMaker Service.
11983//
11984// Deploys the new EndpointConfig specified in the request, switches to using
11985// newly created endpoint, and then deletes resources provisioned for the endpoint
11986// using the previous EndpointConfig (there is no availability loss).
11987//
11988// When Amazon SageMaker receives the request, it sets the endpoint status to
11989// Updating. After updating the endpoint, it sets the status to InService. To
11990// check the status of an endpoint, use the DescribeEndpoint API.
11991//
11992// You must not delete an EndpointConfig in use by an endpoint that is live
11993// or while the UpdateEndpoint or CreateEndpoint operations are being performed
11994// on the endpoint. To update an endpoint, you must create a new EndpointConfig.
11995//
11996// If you delete the EndpointConfig of an endpoint that is active or being created
11997// or updated you may lose visibility into the instance type the endpoint is
11998// using. The endpoint must be deleted in order to stop incurring charges.
11999//
12000// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12001// with awserr.Error's Code and Message methods to get detailed information about
12002// the error.
12003//
12004// See the AWS API reference guide for Amazon SageMaker Service's
12005// API operation UpdateEndpoint for usage and error information.
12006//
12007// Returned Error Types:
12008//   * ResourceLimitExceeded
12009//   You have exceeded an Amazon SageMaker resource limit. For example, you might
12010//   have too many training jobs created.
12011//
12012// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpoint
12013func (c *SageMaker) UpdateEndpoint(input *UpdateEndpointInput) (*UpdateEndpointOutput, error) {
12014	req, out := c.UpdateEndpointRequest(input)
12015	return out, req.Send()
12016}
12017
12018// UpdateEndpointWithContext is the same as UpdateEndpoint with the addition of
12019// the ability to pass a context and additional request options.
12020//
12021// See UpdateEndpoint for details on how to use this API operation.
12022//
12023// The context must be non-nil and will be used for request cancellation. If
12024// the context is nil a panic will occur. In the future the SDK may create
12025// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12026// for more information on using Contexts.
12027func (c *SageMaker) UpdateEndpointWithContext(ctx aws.Context, input *UpdateEndpointInput, opts ...request.Option) (*UpdateEndpointOutput, error) {
12028	req, out := c.UpdateEndpointRequest(input)
12029	req.SetContext(ctx)
12030	req.ApplyOptions(opts...)
12031	return out, req.Send()
12032}
12033
12034const opUpdateEndpointWeightsAndCapacities = "UpdateEndpointWeightsAndCapacities"
12035
12036// UpdateEndpointWeightsAndCapacitiesRequest generates a "aws/request.Request" representing the
12037// client's request for the UpdateEndpointWeightsAndCapacities operation. The "output" return
12038// value will be populated with the request's response once the request completes
12039// successfully.
12040//
12041// Use "Send" method on the returned Request to send the API call to the service.
12042// the "output" return value is not valid until after Send returns without error.
12043//
12044// See UpdateEndpointWeightsAndCapacities for more information on using the UpdateEndpointWeightsAndCapacities
12045// API call, and error handling.
12046//
12047// This method is useful when you want to inject custom logic or configuration
12048// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12049//
12050//
12051//    // Example sending a request using the UpdateEndpointWeightsAndCapacitiesRequest method.
12052//    req, resp := client.UpdateEndpointWeightsAndCapacitiesRequest(params)
12053//
12054//    err := req.Send()
12055//    if err == nil { // resp is now filled
12056//        fmt.Println(resp)
12057//    }
12058//
12059// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointWeightsAndCapacities
12060func (c *SageMaker) UpdateEndpointWeightsAndCapacitiesRequest(input *UpdateEndpointWeightsAndCapacitiesInput) (req *request.Request, output *UpdateEndpointWeightsAndCapacitiesOutput) {
12061	op := &request.Operation{
12062		Name:       opUpdateEndpointWeightsAndCapacities,
12063		HTTPMethod: "POST",
12064		HTTPPath:   "/",
12065	}
12066
12067	if input == nil {
12068		input = &UpdateEndpointWeightsAndCapacitiesInput{}
12069	}
12070
12071	output = &UpdateEndpointWeightsAndCapacitiesOutput{}
12072	req = c.newRequest(op, input, output)
12073	return
12074}
12075
12076// UpdateEndpointWeightsAndCapacities API operation for Amazon SageMaker Service.
12077//
12078// Updates variant weight of one or more variants associated with an existing
12079// endpoint, or capacity of one variant associated with an existing endpoint.
12080// When it receives the request, Amazon SageMaker sets the endpoint status to
12081// Updating. After updating the endpoint, it sets the status to InService. To
12082// check the status of an endpoint, use the DescribeEndpoint API.
12083//
12084// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12085// with awserr.Error's Code and Message methods to get detailed information about
12086// the error.
12087//
12088// See the AWS API reference guide for Amazon SageMaker Service's
12089// API operation UpdateEndpointWeightsAndCapacities for usage and error information.
12090//
12091// Returned Error Types:
12092//   * ResourceLimitExceeded
12093//   You have exceeded an Amazon SageMaker resource limit. For example, you might
12094//   have too many training jobs created.
12095//
12096// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointWeightsAndCapacities
12097func (c *SageMaker) UpdateEndpointWeightsAndCapacities(input *UpdateEndpointWeightsAndCapacitiesInput) (*UpdateEndpointWeightsAndCapacitiesOutput, error) {
12098	req, out := c.UpdateEndpointWeightsAndCapacitiesRequest(input)
12099	return out, req.Send()
12100}
12101
12102// UpdateEndpointWeightsAndCapacitiesWithContext is the same as UpdateEndpointWeightsAndCapacities with the addition of
12103// the ability to pass a context and additional request options.
12104//
12105// See UpdateEndpointWeightsAndCapacities for details on how to use this API operation.
12106//
12107// The context must be non-nil and will be used for request cancellation. If
12108// the context is nil a panic will occur. In the future the SDK may create
12109// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12110// for more information on using Contexts.
12111func (c *SageMaker) UpdateEndpointWeightsAndCapacitiesWithContext(ctx aws.Context, input *UpdateEndpointWeightsAndCapacitiesInput, opts ...request.Option) (*UpdateEndpointWeightsAndCapacitiesOutput, error) {
12112	req, out := c.UpdateEndpointWeightsAndCapacitiesRequest(input)
12113	req.SetContext(ctx)
12114	req.ApplyOptions(opts...)
12115	return out, req.Send()
12116}
12117
12118const opUpdateExperiment = "UpdateExperiment"
12119
12120// UpdateExperimentRequest generates a "aws/request.Request" representing the
12121// client's request for the UpdateExperiment operation. The "output" return
12122// value will be populated with the request's response once the request completes
12123// successfully.
12124//
12125// Use "Send" method on the returned Request to send the API call to the service.
12126// the "output" return value is not valid until after Send returns without error.
12127//
12128// See UpdateExperiment for more information on using the UpdateExperiment
12129// API call, and error handling.
12130//
12131// This method is useful when you want to inject custom logic or configuration
12132// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12133//
12134//
12135//    // Example sending a request using the UpdateExperimentRequest method.
12136//    req, resp := client.UpdateExperimentRequest(params)
12137//
12138//    err := req.Send()
12139//    if err == nil { // resp is now filled
12140//        fmt.Println(resp)
12141//    }
12142//
12143// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateExperiment
12144func (c *SageMaker) UpdateExperimentRequest(input *UpdateExperimentInput) (req *request.Request, output *UpdateExperimentOutput) {
12145	op := &request.Operation{
12146		Name:       opUpdateExperiment,
12147		HTTPMethod: "POST",
12148		HTTPPath:   "/",
12149	}
12150
12151	if input == nil {
12152		input = &UpdateExperimentInput{}
12153	}
12154
12155	output = &UpdateExperimentOutput{}
12156	req = c.newRequest(op, input, output)
12157	return
12158}
12159
12160// UpdateExperiment API operation for Amazon SageMaker Service.
12161//
12162// Adds, updates, or removes the description of an experiment. Updates the display
12163// name of an experiment.
12164//
12165// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12166// with awserr.Error's Code and Message methods to get detailed information about
12167// the error.
12168//
12169// See the AWS API reference guide for Amazon SageMaker Service's
12170// API operation UpdateExperiment for usage and error information.
12171//
12172// Returned Error Types:
12173//   * ConflictException
12174//   There was a conflict when you attempted to modify an experiment, trial, or
12175//   trial component.
12176//
12177//   * ResourceNotFound
12178//   Resource being access is not found.
12179//
12180// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateExperiment
12181func (c *SageMaker) UpdateExperiment(input *UpdateExperimentInput) (*UpdateExperimentOutput, error) {
12182	req, out := c.UpdateExperimentRequest(input)
12183	return out, req.Send()
12184}
12185
12186// UpdateExperimentWithContext is the same as UpdateExperiment with the addition of
12187// the ability to pass a context and additional request options.
12188//
12189// See UpdateExperiment for details on how to use this API operation.
12190//
12191// The context must be non-nil and will be used for request cancellation. If
12192// the context is nil a panic will occur. In the future the SDK may create
12193// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12194// for more information on using Contexts.
12195func (c *SageMaker) UpdateExperimentWithContext(ctx aws.Context, input *UpdateExperimentInput, opts ...request.Option) (*UpdateExperimentOutput, error) {
12196	req, out := c.UpdateExperimentRequest(input)
12197	req.SetContext(ctx)
12198	req.ApplyOptions(opts...)
12199	return out, req.Send()
12200}
12201
12202const opUpdateMonitoringSchedule = "UpdateMonitoringSchedule"
12203
12204// UpdateMonitoringScheduleRequest generates a "aws/request.Request" representing the
12205// client's request for the UpdateMonitoringSchedule operation. The "output" return
12206// value will be populated with the request's response once the request completes
12207// successfully.
12208//
12209// Use "Send" method on the returned Request to send the API call to the service.
12210// the "output" return value is not valid until after Send returns without error.
12211//
12212// See UpdateMonitoringSchedule for more information on using the UpdateMonitoringSchedule
12213// API call, and error handling.
12214//
12215// This method is useful when you want to inject custom logic or configuration
12216// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12217//
12218//
12219//    // Example sending a request using the UpdateMonitoringScheduleRequest method.
12220//    req, resp := client.UpdateMonitoringScheduleRequest(params)
12221//
12222//    err := req.Send()
12223//    if err == nil { // resp is now filled
12224//        fmt.Println(resp)
12225//    }
12226//
12227// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateMonitoringSchedule
12228func (c *SageMaker) UpdateMonitoringScheduleRequest(input *UpdateMonitoringScheduleInput) (req *request.Request, output *UpdateMonitoringScheduleOutput) {
12229	op := &request.Operation{
12230		Name:       opUpdateMonitoringSchedule,
12231		HTTPMethod: "POST",
12232		HTTPPath:   "/",
12233	}
12234
12235	if input == nil {
12236		input = &UpdateMonitoringScheduleInput{}
12237	}
12238
12239	output = &UpdateMonitoringScheduleOutput{}
12240	req = c.newRequest(op, input, output)
12241	return
12242}
12243
12244// UpdateMonitoringSchedule API operation for Amazon SageMaker Service.
12245//
12246// Updates a previously created schedule.
12247//
12248// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12249// with awserr.Error's Code and Message methods to get detailed information about
12250// the error.
12251//
12252// See the AWS API reference guide for Amazon SageMaker Service's
12253// API operation UpdateMonitoringSchedule for usage and error information.
12254//
12255// Returned Error Types:
12256//   * ResourceLimitExceeded
12257//   You have exceeded an Amazon SageMaker resource limit. For example, you might
12258//   have too many training jobs created.
12259//
12260//   * ResourceNotFound
12261//   Resource being access is not found.
12262//
12263// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateMonitoringSchedule
12264func (c *SageMaker) UpdateMonitoringSchedule(input *UpdateMonitoringScheduleInput) (*UpdateMonitoringScheduleOutput, error) {
12265	req, out := c.UpdateMonitoringScheduleRequest(input)
12266	return out, req.Send()
12267}
12268
12269// UpdateMonitoringScheduleWithContext is the same as UpdateMonitoringSchedule with the addition of
12270// the ability to pass a context and additional request options.
12271//
12272// See UpdateMonitoringSchedule for details on how to use this API operation.
12273//
12274// The context must be non-nil and will be used for request cancellation. If
12275// the context is nil a panic will occur. In the future the SDK may create
12276// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12277// for more information on using Contexts.
12278func (c *SageMaker) UpdateMonitoringScheduleWithContext(ctx aws.Context, input *UpdateMonitoringScheduleInput, opts ...request.Option) (*UpdateMonitoringScheduleOutput, error) {
12279	req, out := c.UpdateMonitoringScheduleRequest(input)
12280	req.SetContext(ctx)
12281	req.ApplyOptions(opts...)
12282	return out, req.Send()
12283}
12284
12285const opUpdateNotebookInstance = "UpdateNotebookInstance"
12286
12287// UpdateNotebookInstanceRequest generates a "aws/request.Request" representing the
12288// client's request for the UpdateNotebookInstance operation. The "output" return
12289// value will be populated with the request's response once the request completes
12290// successfully.
12291//
12292// Use "Send" method on the returned Request to send the API call to the service.
12293// the "output" return value is not valid until after Send returns without error.
12294//
12295// See UpdateNotebookInstance for more information on using the UpdateNotebookInstance
12296// API call, and error handling.
12297//
12298// This method is useful when you want to inject custom logic or configuration
12299// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12300//
12301//
12302//    // Example sending a request using the UpdateNotebookInstanceRequest method.
12303//    req, resp := client.UpdateNotebookInstanceRequest(params)
12304//
12305//    err := req.Send()
12306//    if err == nil { // resp is now filled
12307//        fmt.Println(resp)
12308//    }
12309//
12310// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstance
12311func (c *SageMaker) UpdateNotebookInstanceRequest(input *UpdateNotebookInstanceInput) (req *request.Request, output *UpdateNotebookInstanceOutput) {
12312	op := &request.Operation{
12313		Name:       opUpdateNotebookInstance,
12314		HTTPMethod: "POST",
12315		HTTPPath:   "/",
12316	}
12317
12318	if input == nil {
12319		input = &UpdateNotebookInstanceInput{}
12320	}
12321
12322	output = &UpdateNotebookInstanceOutput{}
12323	req = c.newRequest(op, input, output)
12324	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
12325	return
12326}
12327
12328// UpdateNotebookInstance API operation for Amazon SageMaker Service.
12329//
12330// Updates a notebook instance. NotebookInstance updates include upgrading or
12331// downgrading the ML compute instance used for your notebook instance to accommodate
12332// changes in your workload requirements.
12333//
12334// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12335// with awserr.Error's Code and Message methods to get detailed information about
12336// the error.
12337//
12338// See the AWS API reference guide for Amazon SageMaker Service's
12339// API operation UpdateNotebookInstance for usage and error information.
12340//
12341// Returned Error Types:
12342//   * ResourceLimitExceeded
12343//   You have exceeded an Amazon SageMaker resource limit. For example, you might
12344//   have too many training jobs created.
12345//
12346// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstance
12347func (c *SageMaker) UpdateNotebookInstance(input *UpdateNotebookInstanceInput) (*UpdateNotebookInstanceOutput, error) {
12348	req, out := c.UpdateNotebookInstanceRequest(input)
12349	return out, req.Send()
12350}
12351
12352// UpdateNotebookInstanceWithContext is the same as UpdateNotebookInstance with the addition of
12353// the ability to pass a context and additional request options.
12354//
12355// See UpdateNotebookInstance for details on how to use this API operation.
12356//
12357// The context must be non-nil and will be used for request cancellation. If
12358// the context is nil a panic will occur. In the future the SDK may create
12359// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12360// for more information on using Contexts.
12361func (c *SageMaker) UpdateNotebookInstanceWithContext(ctx aws.Context, input *UpdateNotebookInstanceInput, opts ...request.Option) (*UpdateNotebookInstanceOutput, error) {
12362	req, out := c.UpdateNotebookInstanceRequest(input)
12363	req.SetContext(ctx)
12364	req.ApplyOptions(opts...)
12365	return out, req.Send()
12366}
12367
12368const opUpdateNotebookInstanceLifecycleConfig = "UpdateNotebookInstanceLifecycleConfig"
12369
12370// UpdateNotebookInstanceLifecycleConfigRequest generates a "aws/request.Request" representing the
12371// client's request for the UpdateNotebookInstanceLifecycleConfig operation. The "output" return
12372// value will be populated with the request's response once the request completes
12373// successfully.
12374//
12375// Use "Send" method on the returned Request to send the API call to the service.
12376// the "output" return value is not valid until after Send returns without error.
12377//
12378// See UpdateNotebookInstanceLifecycleConfig for more information on using the UpdateNotebookInstanceLifecycleConfig
12379// API call, and error handling.
12380//
12381// This method is useful when you want to inject custom logic or configuration
12382// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12383//
12384//
12385//    // Example sending a request using the UpdateNotebookInstanceLifecycleConfigRequest method.
12386//    req, resp := client.UpdateNotebookInstanceLifecycleConfigRequest(params)
12387//
12388//    err := req.Send()
12389//    if err == nil { // resp is now filled
12390//        fmt.Println(resp)
12391//    }
12392//
12393// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstanceLifecycleConfig
12394func (c *SageMaker) UpdateNotebookInstanceLifecycleConfigRequest(input *UpdateNotebookInstanceLifecycleConfigInput) (req *request.Request, output *UpdateNotebookInstanceLifecycleConfigOutput) {
12395	op := &request.Operation{
12396		Name:       opUpdateNotebookInstanceLifecycleConfig,
12397		HTTPMethod: "POST",
12398		HTTPPath:   "/",
12399	}
12400
12401	if input == nil {
12402		input = &UpdateNotebookInstanceLifecycleConfigInput{}
12403	}
12404
12405	output = &UpdateNotebookInstanceLifecycleConfigOutput{}
12406	req = c.newRequest(op, input, output)
12407	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
12408	return
12409}
12410
12411// UpdateNotebookInstanceLifecycleConfig API operation for Amazon SageMaker Service.
12412//
12413// Updates a notebook instance lifecycle configuration created with the CreateNotebookInstanceLifecycleConfig
12414// API.
12415//
12416// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12417// with awserr.Error's Code and Message methods to get detailed information about
12418// the error.
12419//
12420// See the AWS API reference guide for Amazon SageMaker Service's
12421// API operation UpdateNotebookInstanceLifecycleConfig for usage and error information.
12422//
12423// Returned Error Types:
12424//   * ResourceLimitExceeded
12425//   You have exceeded an Amazon SageMaker resource limit. For example, you might
12426//   have too many training jobs created.
12427//
12428// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstanceLifecycleConfig
12429func (c *SageMaker) UpdateNotebookInstanceLifecycleConfig(input *UpdateNotebookInstanceLifecycleConfigInput) (*UpdateNotebookInstanceLifecycleConfigOutput, error) {
12430	req, out := c.UpdateNotebookInstanceLifecycleConfigRequest(input)
12431	return out, req.Send()
12432}
12433
12434// UpdateNotebookInstanceLifecycleConfigWithContext is the same as UpdateNotebookInstanceLifecycleConfig with the addition of
12435// the ability to pass a context and additional request options.
12436//
12437// See UpdateNotebookInstanceLifecycleConfig for details on how to use this API operation.
12438//
12439// The context must be non-nil and will be used for request cancellation. If
12440// the context is nil a panic will occur. In the future the SDK may create
12441// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12442// for more information on using Contexts.
12443func (c *SageMaker) UpdateNotebookInstanceLifecycleConfigWithContext(ctx aws.Context, input *UpdateNotebookInstanceLifecycleConfigInput, opts ...request.Option) (*UpdateNotebookInstanceLifecycleConfigOutput, error) {
12444	req, out := c.UpdateNotebookInstanceLifecycleConfigRequest(input)
12445	req.SetContext(ctx)
12446	req.ApplyOptions(opts...)
12447	return out, req.Send()
12448}
12449
12450const opUpdateTrial = "UpdateTrial"
12451
12452// UpdateTrialRequest generates a "aws/request.Request" representing the
12453// client's request for the UpdateTrial operation. The "output" return
12454// value will be populated with the request's response once the request completes
12455// successfully.
12456//
12457// Use "Send" method on the returned Request to send the API call to the service.
12458// the "output" return value is not valid until after Send returns without error.
12459//
12460// See UpdateTrial for more information on using the UpdateTrial
12461// API call, and error handling.
12462//
12463// This method is useful when you want to inject custom logic or configuration
12464// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12465//
12466//
12467//    // Example sending a request using the UpdateTrialRequest method.
12468//    req, resp := client.UpdateTrialRequest(params)
12469//
12470//    err := req.Send()
12471//    if err == nil { // resp is now filled
12472//        fmt.Println(resp)
12473//    }
12474//
12475// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrial
12476func (c *SageMaker) UpdateTrialRequest(input *UpdateTrialInput) (req *request.Request, output *UpdateTrialOutput) {
12477	op := &request.Operation{
12478		Name:       opUpdateTrial,
12479		HTTPMethod: "POST",
12480		HTTPPath:   "/",
12481	}
12482
12483	if input == nil {
12484		input = &UpdateTrialInput{}
12485	}
12486
12487	output = &UpdateTrialOutput{}
12488	req = c.newRequest(op, input, output)
12489	return
12490}
12491
12492// UpdateTrial API operation for Amazon SageMaker Service.
12493//
12494// Updates the display name of a trial.
12495//
12496// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12497// with awserr.Error's Code and Message methods to get detailed information about
12498// the error.
12499//
12500// See the AWS API reference guide for Amazon SageMaker Service's
12501// API operation UpdateTrial for usage and error information.
12502//
12503// Returned Error Types:
12504//   * ConflictException
12505//   There was a conflict when you attempted to modify an experiment, trial, or
12506//   trial component.
12507//
12508//   * ResourceNotFound
12509//   Resource being access is not found.
12510//
12511// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrial
12512func (c *SageMaker) UpdateTrial(input *UpdateTrialInput) (*UpdateTrialOutput, error) {
12513	req, out := c.UpdateTrialRequest(input)
12514	return out, req.Send()
12515}
12516
12517// UpdateTrialWithContext is the same as UpdateTrial with the addition of
12518// the ability to pass a context and additional request options.
12519//
12520// See UpdateTrial for details on how to use this API operation.
12521//
12522// The context must be non-nil and will be used for request cancellation. If
12523// the context is nil a panic will occur. In the future the SDK may create
12524// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12525// for more information on using Contexts.
12526func (c *SageMaker) UpdateTrialWithContext(ctx aws.Context, input *UpdateTrialInput, opts ...request.Option) (*UpdateTrialOutput, error) {
12527	req, out := c.UpdateTrialRequest(input)
12528	req.SetContext(ctx)
12529	req.ApplyOptions(opts...)
12530	return out, req.Send()
12531}
12532
12533const opUpdateTrialComponent = "UpdateTrialComponent"
12534
12535// UpdateTrialComponentRequest generates a "aws/request.Request" representing the
12536// client's request for the UpdateTrialComponent operation. The "output" return
12537// value will be populated with the request's response once the request completes
12538// successfully.
12539//
12540// Use "Send" method on the returned Request to send the API call to the service.
12541// the "output" return value is not valid until after Send returns without error.
12542//
12543// See UpdateTrialComponent for more information on using the UpdateTrialComponent
12544// API call, and error handling.
12545//
12546// This method is useful when you want to inject custom logic or configuration
12547// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12548//
12549//
12550//    // Example sending a request using the UpdateTrialComponentRequest method.
12551//    req, resp := client.UpdateTrialComponentRequest(params)
12552//
12553//    err := req.Send()
12554//    if err == nil { // resp is now filled
12555//        fmt.Println(resp)
12556//    }
12557//
12558// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrialComponent
12559func (c *SageMaker) UpdateTrialComponentRequest(input *UpdateTrialComponentInput) (req *request.Request, output *UpdateTrialComponentOutput) {
12560	op := &request.Operation{
12561		Name:       opUpdateTrialComponent,
12562		HTTPMethod: "POST",
12563		HTTPPath:   "/",
12564	}
12565
12566	if input == nil {
12567		input = &UpdateTrialComponentInput{}
12568	}
12569
12570	output = &UpdateTrialComponentOutput{}
12571	req = c.newRequest(op, input, output)
12572	return
12573}
12574
12575// UpdateTrialComponent API operation for Amazon SageMaker Service.
12576//
12577// Updates one or more properties of a trial component.
12578//
12579// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12580// with awserr.Error's Code and Message methods to get detailed information about
12581// the error.
12582//
12583// See the AWS API reference guide for Amazon SageMaker Service's
12584// API operation UpdateTrialComponent for usage and error information.
12585//
12586// Returned Error Types:
12587//   * ConflictException
12588//   There was a conflict when you attempted to modify an experiment, trial, or
12589//   trial component.
12590//
12591//   * ResourceNotFound
12592//   Resource being access is not found.
12593//
12594// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrialComponent
12595func (c *SageMaker) UpdateTrialComponent(input *UpdateTrialComponentInput) (*UpdateTrialComponentOutput, error) {
12596	req, out := c.UpdateTrialComponentRequest(input)
12597	return out, req.Send()
12598}
12599
12600// UpdateTrialComponentWithContext is the same as UpdateTrialComponent with the addition of
12601// the ability to pass a context and additional request options.
12602//
12603// See UpdateTrialComponent for details on how to use this API operation.
12604//
12605// The context must be non-nil and will be used for request cancellation. If
12606// the context is nil a panic will occur. In the future the SDK may create
12607// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12608// for more information on using Contexts.
12609func (c *SageMaker) UpdateTrialComponentWithContext(ctx aws.Context, input *UpdateTrialComponentInput, opts ...request.Option) (*UpdateTrialComponentOutput, error) {
12610	req, out := c.UpdateTrialComponentRequest(input)
12611	req.SetContext(ctx)
12612	req.ApplyOptions(opts...)
12613	return out, req.Send()
12614}
12615
12616const opUpdateUserProfile = "UpdateUserProfile"
12617
12618// UpdateUserProfileRequest generates a "aws/request.Request" representing the
12619// client's request for the UpdateUserProfile operation. The "output" return
12620// value will be populated with the request's response once the request completes
12621// successfully.
12622//
12623// Use "Send" method on the returned Request to send the API call to the service.
12624// the "output" return value is not valid until after Send returns without error.
12625//
12626// See UpdateUserProfile for more information on using the UpdateUserProfile
12627// API call, and error handling.
12628//
12629// This method is useful when you want to inject custom logic or configuration
12630// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12631//
12632//
12633//    // Example sending a request using the UpdateUserProfileRequest method.
12634//    req, resp := client.UpdateUserProfileRequest(params)
12635//
12636//    err := req.Send()
12637//    if err == nil { // resp is now filled
12638//        fmt.Println(resp)
12639//    }
12640//
12641// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateUserProfile
12642func (c *SageMaker) UpdateUserProfileRequest(input *UpdateUserProfileInput) (req *request.Request, output *UpdateUserProfileOutput) {
12643	op := &request.Operation{
12644		Name:       opUpdateUserProfile,
12645		HTTPMethod: "POST",
12646		HTTPPath:   "/",
12647	}
12648
12649	if input == nil {
12650		input = &UpdateUserProfileInput{}
12651	}
12652
12653	output = &UpdateUserProfileOutput{}
12654	req = c.newRequest(op, input, output)
12655	return
12656}
12657
12658// UpdateUserProfile API operation for Amazon SageMaker Service.
12659//
12660// Updates a user profile.
12661//
12662// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12663// with awserr.Error's Code and Message methods to get detailed information about
12664// the error.
12665//
12666// See the AWS API reference guide for Amazon SageMaker Service's
12667// API operation UpdateUserProfile for usage and error information.
12668//
12669// Returned Error Types:
12670//   * ResourceLimitExceeded
12671//   You have exceeded an Amazon SageMaker resource limit. For example, you might
12672//   have too many training jobs created.
12673//
12674//   * ResourceInUse
12675//   Resource being accessed is in use.
12676//
12677//   * ResourceNotFound
12678//   Resource being access is not found.
12679//
12680// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateUserProfile
12681func (c *SageMaker) UpdateUserProfile(input *UpdateUserProfileInput) (*UpdateUserProfileOutput, error) {
12682	req, out := c.UpdateUserProfileRequest(input)
12683	return out, req.Send()
12684}
12685
12686// UpdateUserProfileWithContext is the same as UpdateUserProfile with the addition of
12687// the ability to pass a context and additional request options.
12688//
12689// See UpdateUserProfile for details on how to use this API operation.
12690//
12691// The context must be non-nil and will be used for request cancellation. If
12692// the context is nil a panic will occur. In the future the SDK may create
12693// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12694// for more information on using Contexts.
12695func (c *SageMaker) UpdateUserProfileWithContext(ctx aws.Context, input *UpdateUserProfileInput, opts ...request.Option) (*UpdateUserProfileOutput, error) {
12696	req, out := c.UpdateUserProfileRequest(input)
12697	req.SetContext(ctx)
12698	req.ApplyOptions(opts...)
12699	return out, req.Send()
12700}
12701
12702const opUpdateWorkforce = "UpdateWorkforce"
12703
12704// UpdateWorkforceRequest generates a "aws/request.Request" representing the
12705// client's request for the UpdateWorkforce operation. The "output" return
12706// value will be populated with the request's response once the request completes
12707// successfully.
12708//
12709// Use "Send" method on the returned Request to send the API call to the service.
12710// the "output" return value is not valid until after Send returns without error.
12711//
12712// See UpdateWorkforce for more information on using the UpdateWorkforce
12713// API call, and error handling.
12714//
12715// This method is useful when you want to inject custom logic or configuration
12716// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12717//
12718//
12719//    // Example sending a request using the UpdateWorkforceRequest method.
12720//    req, resp := client.UpdateWorkforceRequest(params)
12721//
12722//    err := req.Send()
12723//    if err == nil { // resp is now filled
12724//        fmt.Println(resp)
12725//    }
12726//
12727// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkforce
12728func (c *SageMaker) UpdateWorkforceRequest(input *UpdateWorkforceInput) (req *request.Request, output *UpdateWorkforceOutput) {
12729	op := &request.Operation{
12730		Name:       opUpdateWorkforce,
12731		HTTPMethod: "POST",
12732		HTTPPath:   "/",
12733	}
12734
12735	if input == nil {
12736		input = &UpdateWorkforceInput{}
12737	}
12738
12739	output = &UpdateWorkforceOutput{}
12740	req = c.newRequest(op, input, output)
12741	return
12742}
12743
12744// UpdateWorkforce API operation for Amazon SageMaker Service.
12745//
12746// Restricts access to tasks assigned to workers in the specified workforce
12747// to those within specific ranges of IP addresses. You specify allowed IP addresses
12748// by creating a list of up to four CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html).
12749//
12750// By default, a workforce isn't restricted to specific IP addresses. If you
12751// specify a range of IP addresses, workers who attempt to access tasks using
12752// any IP address outside the specified range are denied access and get a Not
12753// Found error message on the worker portal. After restricting access with this
12754// operation, you can see the allowed IP values for a private workforce with
12755// the operation.
12756//
12757// This operation applies only to private workforces.
12758//
12759// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12760// with awserr.Error's Code and Message methods to get detailed information about
12761// the error.
12762//
12763// See the AWS API reference guide for Amazon SageMaker Service's
12764// API operation UpdateWorkforce for usage and error information.
12765// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkforce
12766func (c *SageMaker) UpdateWorkforce(input *UpdateWorkforceInput) (*UpdateWorkforceOutput, error) {
12767	req, out := c.UpdateWorkforceRequest(input)
12768	return out, req.Send()
12769}
12770
12771// UpdateWorkforceWithContext is the same as UpdateWorkforce with the addition of
12772// the ability to pass a context and additional request options.
12773//
12774// See UpdateWorkforce for details on how to use this API operation.
12775//
12776// The context must be non-nil and will be used for request cancellation. If
12777// the context is nil a panic will occur. In the future the SDK may create
12778// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12779// for more information on using Contexts.
12780func (c *SageMaker) UpdateWorkforceWithContext(ctx aws.Context, input *UpdateWorkforceInput, opts ...request.Option) (*UpdateWorkforceOutput, error) {
12781	req, out := c.UpdateWorkforceRequest(input)
12782	req.SetContext(ctx)
12783	req.ApplyOptions(opts...)
12784	return out, req.Send()
12785}
12786
12787const opUpdateWorkteam = "UpdateWorkteam"
12788
12789// UpdateWorkteamRequest generates a "aws/request.Request" representing the
12790// client's request for the UpdateWorkteam operation. The "output" return
12791// value will be populated with the request's response once the request completes
12792// successfully.
12793//
12794// Use "Send" method on the returned Request to send the API call to the service.
12795// the "output" return value is not valid until after Send returns without error.
12796//
12797// See UpdateWorkteam for more information on using the UpdateWorkteam
12798// API call, and error handling.
12799//
12800// This method is useful when you want to inject custom logic or configuration
12801// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12802//
12803//
12804//    // Example sending a request using the UpdateWorkteamRequest method.
12805//    req, resp := client.UpdateWorkteamRequest(params)
12806//
12807//    err := req.Send()
12808//    if err == nil { // resp is now filled
12809//        fmt.Println(resp)
12810//    }
12811//
12812// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkteam
12813func (c *SageMaker) UpdateWorkteamRequest(input *UpdateWorkteamInput) (req *request.Request, output *UpdateWorkteamOutput) {
12814	op := &request.Operation{
12815		Name:       opUpdateWorkteam,
12816		HTTPMethod: "POST",
12817		HTTPPath:   "/",
12818	}
12819
12820	if input == nil {
12821		input = &UpdateWorkteamInput{}
12822	}
12823
12824	output = &UpdateWorkteamOutput{}
12825	req = c.newRequest(op, input, output)
12826	return
12827}
12828
12829// UpdateWorkteam API operation for Amazon SageMaker Service.
12830//
12831// Updates an existing work team with new member definitions or description.
12832//
12833// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12834// with awserr.Error's Code and Message methods to get detailed information about
12835// the error.
12836//
12837// See the AWS API reference guide for Amazon SageMaker Service's
12838// API operation UpdateWorkteam for usage and error information.
12839//
12840// Returned Error Types:
12841//   * ResourceLimitExceeded
12842//   You have exceeded an Amazon SageMaker resource limit. For example, you might
12843//   have too many training jobs created.
12844//
12845// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkteam
12846func (c *SageMaker) UpdateWorkteam(input *UpdateWorkteamInput) (*UpdateWorkteamOutput, error) {
12847	req, out := c.UpdateWorkteamRequest(input)
12848	return out, req.Send()
12849}
12850
12851// UpdateWorkteamWithContext is the same as UpdateWorkteam with the addition of
12852// the ability to pass a context and additional request options.
12853//
12854// See UpdateWorkteam for details on how to use this API operation.
12855//
12856// The context must be non-nil and will be used for request cancellation. If
12857// the context is nil a panic will occur. In the future the SDK may create
12858// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12859// for more information on using Contexts.
12860func (c *SageMaker) UpdateWorkteamWithContext(ctx aws.Context, input *UpdateWorkteamInput, opts ...request.Option) (*UpdateWorkteamOutput, error) {
12861	req, out := c.UpdateWorkteamRequest(input)
12862	req.SetContext(ctx)
12863	req.ApplyOptions(opts...)
12864	return out, req.Send()
12865}
12866
12867type AddTagsInput struct {
12868	_ struct{} `type:"structure"`
12869
12870	// The Amazon Resource Name (ARN) of the resource that you want to tag.
12871	//
12872	// ResourceArn is a required field
12873	ResourceArn *string `type:"string" required:"true"`
12874
12875	// An array of Tag objects. Each tag is a key-value pair. Only the key parameter
12876	// is required. If you don't specify a value, Amazon SageMaker sets the value
12877	// to an empty string.
12878	//
12879	// Tags is a required field
12880	Tags []*Tag `type:"list" required:"true"`
12881}
12882
12883// String returns the string representation
12884func (s AddTagsInput) String() string {
12885	return awsutil.Prettify(s)
12886}
12887
12888// GoString returns the string representation
12889func (s AddTagsInput) GoString() string {
12890	return s.String()
12891}
12892
12893// Validate inspects the fields of the type to determine if they are valid.
12894func (s *AddTagsInput) Validate() error {
12895	invalidParams := request.ErrInvalidParams{Context: "AddTagsInput"}
12896	if s.ResourceArn == nil {
12897		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
12898	}
12899	if s.Tags == nil {
12900		invalidParams.Add(request.NewErrParamRequired("Tags"))
12901	}
12902	if s.Tags != nil {
12903		for i, v := range s.Tags {
12904			if v == nil {
12905				continue
12906			}
12907			if err := v.Validate(); err != nil {
12908				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
12909			}
12910		}
12911	}
12912
12913	if invalidParams.Len() > 0 {
12914		return invalidParams
12915	}
12916	return nil
12917}
12918
12919// SetResourceArn sets the ResourceArn field's value.
12920func (s *AddTagsInput) SetResourceArn(v string) *AddTagsInput {
12921	s.ResourceArn = &v
12922	return s
12923}
12924
12925// SetTags sets the Tags field's value.
12926func (s *AddTagsInput) SetTags(v []*Tag) *AddTagsInput {
12927	s.Tags = v
12928	return s
12929}
12930
12931type AddTagsOutput struct {
12932	_ struct{} `type:"structure"`
12933
12934	// A list of tags associated with the Amazon SageMaker resource.
12935	Tags []*Tag `type:"list"`
12936}
12937
12938// String returns the string representation
12939func (s AddTagsOutput) String() string {
12940	return awsutil.Prettify(s)
12941}
12942
12943// GoString returns the string representation
12944func (s AddTagsOutput) GoString() string {
12945	return s.String()
12946}
12947
12948// SetTags sets the Tags field's value.
12949func (s *AddTagsOutput) SetTags(v []*Tag) *AddTagsOutput {
12950	s.Tags = v
12951	return s
12952}
12953
12954// Specifies the training algorithm to use in a CreateTrainingJob request.
12955//
12956// For more information about algorithms provided by Amazon SageMaker, see Algorithms
12957// (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html). For information
12958// about using your own algorithms, see Using Your Own Algorithms with Amazon
12959// SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
12960type AlgorithmSpecification struct {
12961	_ struct{} `type:"structure"`
12962
12963	// The name of the algorithm resource to use for the training job. This must
12964	// be an algorithm resource that you created or subscribe to on AWS Marketplace.
12965	// If you specify a value for this parameter, you can't specify a value for
12966	// TrainingImage.
12967	AlgorithmName *string `min:"1" type:"string"`
12968
12969	// To generate and save time-series metrics during training, set to true. The
12970	// default is false and time-series metrics aren't generated except in the following
12971	// cases:
12972	//
12973	//    * You use one of the Amazon SageMaker built-in algorithms
12974	//
12975	//    * You use one of the following Prebuilt Amazon SageMaker Docker Images
12976	//    (https://docs.aws.amazon.com/sagemaker/latest/dg/pre-built-containers-frameworks-deep-learning.html):
12977	//    Tensorflow (version >= 1.15) MXNet (version >= 1.6) PyTorch (version >=
12978	//    1.3)
12979	//
12980	//    * You specify at least one MetricDefinition
12981	EnableSageMakerMetricsTimeSeries *bool `type:"boolean"`
12982
12983	// A list of metric definition objects. Each object specifies the metric name
12984	// and regular expressions used to parse algorithm logs. Amazon SageMaker publishes
12985	// each metric to Amazon CloudWatch.
12986	MetricDefinitions []*MetricDefinition `type:"list"`
12987
12988	// The registry path of the Docker image that contains the training algorithm.
12989	// For information about docker registry paths for built-in algorithms, see
12990	// Algorithms Provided by Amazon SageMaker: Common Parameters (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html).
12991	// Amazon SageMaker supports both registry/repository[:tag] and registry/repository[@digest]
12992	// image path formats. For more information, see Using Your Own Algorithms with
12993	// Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
12994	TrainingImage *string `type:"string"`
12995
12996	// The input mode that the algorithm supports. For the input modes that Amazon
12997	// SageMaker algorithms support, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
12998	// If an algorithm supports the File input mode, Amazon SageMaker downloads
12999	// the training data from S3 to the provisioned ML storage Volume, and mounts
13000	// the directory to docker volume for training container. If an algorithm supports
13001	// the Pipe input mode, Amazon SageMaker streams data directly from S3 to the
13002	// container.
13003	//
13004	// In File mode, make sure you provision ML storage volume with sufficient capacity
13005	// to accommodate the data download from S3. In addition to the training data,
13006	// the ML storage volume also stores the output model. The algorithm container
13007	// use ML storage volume to also store intermediate information, if any.
13008	//
13009	// For distributed algorithms using File mode, training data is distributed
13010	// uniformly, and your training duration is predictable if the input data objects
13011	// size is approximately same. Amazon SageMaker does not split the files any
13012	// further for model training. If the object sizes are skewed, training won't
13013	// be optimal as the data distribution is also skewed where one host in a training
13014	// cluster is overloaded, thus becoming bottleneck in training.
13015	//
13016	// TrainingInputMode is a required field
13017	TrainingInputMode *string `type:"string" required:"true" enum:"TrainingInputMode"`
13018}
13019
13020// String returns the string representation
13021func (s AlgorithmSpecification) String() string {
13022	return awsutil.Prettify(s)
13023}
13024
13025// GoString returns the string representation
13026func (s AlgorithmSpecification) GoString() string {
13027	return s.String()
13028}
13029
13030// Validate inspects the fields of the type to determine if they are valid.
13031func (s *AlgorithmSpecification) Validate() error {
13032	invalidParams := request.ErrInvalidParams{Context: "AlgorithmSpecification"}
13033	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
13034		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
13035	}
13036	if s.TrainingInputMode == nil {
13037		invalidParams.Add(request.NewErrParamRequired("TrainingInputMode"))
13038	}
13039	if s.MetricDefinitions != nil {
13040		for i, v := range s.MetricDefinitions {
13041			if v == nil {
13042				continue
13043			}
13044			if err := v.Validate(); err != nil {
13045				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MetricDefinitions", i), err.(request.ErrInvalidParams))
13046			}
13047		}
13048	}
13049
13050	if invalidParams.Len() > 0 {
13051		return invalidParams
13052	}
13053	return nil
13054}
13055
13056// SetAlgorithmName sets the AlgorithmName field's value.
13057func (s *AlgorithmSpecification) SetAlgorithmName(v string) *AlgorithmSpecification {
13058	s.AlgorithmName = &v
13059	return s
13060}
13061
13062// SetEnableSageMakerMetricsTimeSeries sets the EnableSageMakerMetricsTimeSeries field's value.
13063func (s *AlgorithmSpecification) SetEnableSageMakerMetricsTimeSeries(v bool) *AlgorithmSpecification {
13064	s.EnableSageMakerMetricsTimeSeries = &v
13065	return s
13066}
13067
13068// SetMetricDefinitions sets the MetricDefinitions field's value.
13069func (s *AlgorithmSpecification) SetMetricDefinitions(v []*MetricDefinition) *AlgorithmSpecification {
13070	s.MetricDefinitions = v
13071	return s
13072}
13073
13074// SetTrainingImage sets the TrainingImage field's value.
13075func (s *AlgorithmSpecification) SetTrainingImage(v string) *AlgorithmSpecification {
13076	s.TrainingImage = &v
13077	return s
13078}
13079
13080// SetTrainingInputMode sets the TrainingInputMode field's value.
13081func (s *AlgorithmSpecification) SetTrainingInputMode(v string) *AlgorithmSpecification {
13082	s.TrainingInputMode = &v
13083	return s
13084}
13085
13086// Specifies the validation and image scan statuses of the algorithm.
13087type AlgorithmStatusDetails struct {
13088	_ struct{} `type:"structure"`
13089
13090	// The status of the scan of the algorithm's Docker image container.
13091	ImageScanStatuses []*AlgorithmStatusItem `type:"list"`
13092
13093	// The status of algorithm validation.
13094	ValidationStatuses []*AlgorithmStatusItem `type:"list"`
13095}
13096
13097// String returns the string representation
13098func (s AlgorithmStatusDetails) String() string {
13099	return awsutil.Prettify(s)
13100}
13101
13102// GoString returns the string representation
13103func (s AlgorithmStatusDetails) GoString() string {
13104	return s.String()
13105}
13106
13107// SetImageScanStatuses sets the ImageScanStatuses field's value.
13108func (s *AlgorithmStatusDetails) SetImageScanStatuses(v []*AlgorithmStatusItem) *AlgorithmStatusDetails {
13109	s.ImageScanStatuses = v
13110	return s
13111}
13112
13113// SetValidationStatuses sets the ValidationStatuses field's value.
13114func (s *AlgorithmStatusDetails) SetValidationStatuses(v []*AlgorithmStatusItem) *AlgorithmStatusDetails {
13115	s.ValidationStatuses = v
13116	return s
13117}
13118
13119// Represents the overall status of an algorithm.
13120type AlgorithmStatusItem struct {
13121	_ struct{} `type:"structure"`
13122
13123	// if the overall status is Failed, the reason for the failure.
13124	FailureReason *string `type:"string"`
13125
13126	// The name of the algorithm for which the overall status is being reported.
13127	//
13128	// Name is a required field
13129	Name *string `min:"1" type:"string" required:"true"`
13130
13131	// The current status.
13132	//
13133	// Status is a required field
13134	Status *string `type:"string" required:"true" enum:"DetailedAlgorithmStatus"`
13135}
13136
13137// String returns the string representation
13138func (s AlgorithmStatusItem) String() string {
13139	return awsutil.Prettify(s)
13140}
13141
13142// GoString returns the string representation
13143func (s AlgorithmStatusItem) GoString() string {
13144	return s.String()
13145}
13146
13147// SetFailureReason sets the FailureReason field's value.
13148func (s *AlgorithmStatusItem) SetFailureReason(v string) *AlgorithmStatusItem {
13149	s.FailureReason = &v
13150	return s
13151}
13152
13153// SetName sets the Name field's value.
13154func (s *AlgorithmStatusItem) SetName(v string) *AlgorithmStatusItem {
13155	s.Name = &v
13156	return s
13157}
13158
13159// SetStatus sets the Status field's value.
13160func (s *AlgorithmStatusItem) SetStatus(v string) *AlgorithmStatusItem {
13161	s.Status = &v
13162	return s
13163}
13164
13165// Provides summary information about an algorithm.
13166type AlgorithmSummary struct {
13167	_ struct{} `type:"structure"`
13168
13169	// The Amazon Resource Name (ARN) of the algorithm.
13170	//
13171	// AlgorithmArn is a required field
13172	AlgorithmArn *string `min:"1" type:"string" required:"true"`
13173
13174	// A brief description of the algorithm.
13175	AlgorithmDescription *string `type:"string"`
13176
13177	// The name of the algorithm that is described by the summary.
13178	//
13179	// AlgorithmName is a required field
13180	AlgorithmName *string `min:"1" type:"string" required:"true"`
13181
13182	// The overall status of the algorithm.
13183	//
13184	// AlgorithmStatus is a required field
13185	AlgorithmStatus *string `type:"string" required:"true" enum:"AlgorithmStatus"`
13186
13187	// A timestamp that shows when the algorithm was created.
13188	//
13189	// CreationTime is a required field
13190	CreationTime *time.Time `type:"timestamp" required:"true"`
13191}
13192
13193// String returns the string representation
13194func (s AlgorithmSummary) String() string {
13195	return awsutil.Prettify(s)
13196}
13197
13198// GoString returns the string representation
13199func (s AlgorithmSummary) GoString() string {
13200	return s.String()
13201}
13202
13203// SetAlgorithmArn sets the AlgorithmArn field's value.
13204func (s *AlgorithmSummary) SetAlgorithmArn(v string) *AlgorithmSummary {
13205	s.AlgorithmArn = &v
13206	return s
13207}
13208
13209// SetAlgorithmDescription sets the AlgorithmDescription field's value.
13210func (s *AlgorithmSummary) SetAlgorithmDescription(v string) *AlgorithmSummary {
13211	s.AlgorithmDescription = &v
13212	return s
13213}
13214
13215// SetAlgorithmName sets the AlgorithmName field's value.
13216func (s *AlgorithmSummary) SetAlgorithmName(v string) *AlgorithmSummary {
13217	s.AlgorithmName = &v
13218	return s
13219}
13220
13221// SetAlgorithmStatus sets the AlgorithmStatus field's value.
13222func (s *AlgorithmSummary) SetAlgorithmStatus(v string) *AlgorithmSummary {
13223	s.AlgorithmStatus = &v
13224	return s
13225}
13226
13227// SetCreationTime sets the CreationTime field's value.
13228func (s *AlgorithmSummary) SetCreationTime(v time.Time) *AlgorithmSummary {
13229	s.CreationTime = &v
13230	return s
13231}
13232
13233// Defines a training job and a batch transform job that Amazon SageMaker runs
13234// to validate your algorithm.
13235//
13236// The data provided in the validation profile is made available to your buyers
13237// on AWS Marketplace.
13238type AlgorithmValidationProfile struct {
13239	_ struct{} `type:"structure"`
13240
13241	// The name of the profile for the algorithm. The name must have 1 to 63 characters.
13242	// Valid characters are a-z, A-Z, 0-9, and - (hyphen).
13243	//
13244	// ProfileName is a required field
13245	ProfileName *string `min:"1" type:"string" required:"true"`
13246
13247	// The TrainingJobDefinition object that describes the training job that Amazon
13248	// SageMaker runs to validate your algorithm.
13249	//
13250	// TrainingJobDefinition is a required field
13251	TrainingJobDefinition *TrainingJobDefinition `type:"structure" required:"true"`
13252
13253	// The TransformJobDefinition object that describes the transform job that Amazon
13254	// SageMaker runs to validate your algorithm.
13255	TransformJobDefinition *TransformJobDefinition `type:"structure"`
13256}
13257
13258// String returns the string representation
13259func (s AlgorithmValidationProfile) String() string {
13260	return awsutil.Prettify(s)
13261}
13262
13263// GoString returns the string representation
13264func (s AlgorithmValidationProfile) GoString() string {
13265	return s.String()
13266}
13267
13268// Validate inspects the fields of the type to determine if they are valid.
13269func (s *AlgorithmValidationProfile) Validate() error {
13270	invalidParams := request.ErrInvalidParams{Context: "AlgorithmValidationProfile"}
13271	if s.ProfileName == nil {
13272		invalidParams.Add(request.NewErrParamRequired("ProfileName"))
13273	}
13274	if s.ProfileName != nil && len(*s.ProfileName) < 1 {
13275		invalidParams.Add(request.NewErrParamMinLen("ProfileName", 1))
13276	}
13277	if s.TrainingJobDefinition == nil {
13278		invalidParams.Add(request.NewErrParamRequired("TrainingJobDefinition"))
13279	}
13280	if s.TrainingJobDefinition != nil {
13281		if err := s.TrainingJobDefinition.Validate(); err != nil {
13282			invalidParams.AddNested("TrainingJobDefinition", err.(request.ErrInvalidParams))
13283		}
13284	}
13285	if s.TransformJobDefinition != nil {
13286		if err := s.TransformJobDefinition.Validate(); err != nil {
13287			invalidParams.AddNested("TransformJobDefinition", err.(request.ErrInvalidParams))
13288		}
13289	}
13290
13291	if invalidParams.Len() > 0 {
13292		return invalidParams
13293	}
13294	return nil
13295}
13296
13297// SetProfileName sets the ProfileName field's value.
13298func (s *AlgorithmValidationProfile) SetProfileName(v string) *AlgorithmValidationProfile {
13299	s.ProfileName = &v
13300	return s
13301}
13302
13303// SetTrainingJobDefinition sets the TrainingJobDefinition field's value.
13304func (s *AlgorithmValidationProfile) SetTrainingJobDefinition(v *TrainingJobDefinition) *AlgorithmValidationProfile {
13305	s.TrainingJobDefinition = v
13306	return s
13307}
13308
13309// SetTransformJobDefinition sets the TransformJobDefinition field's value.
13310func (s *AlgorithmValidationProfile) SetTransformJobDefinition(v *TransformJobDefinition) *AlgorithmValidationProfile {
13311	s.TransformJobDefinition = v
13312	return s
13313}
13314
13315// Specifies configurations for one or more training jobs that Amazon SageMaker
13316// runs to test the algorithm.
13317type AlgorithmValidationSpecification struct {
13318	_ struct{} `type:"structure"`
13319
13320	// An array of AlgorithmValidationProfile objects, each of which specifies a
13321	// training job and batch transform job that Amazon SageMaker runs to validate
13322	// your algorithm.
13323	//
13324	// ValidationProfiles is a required field
13325	ValidationProfiles []*AlgorithmValidationProfile `min:"1" type:"list" required:"true"`
13326
13327	// The IAM roles that Amazon SageMaker uses to run the training jobs.
13328	//
13329	// ValidationRole is a required field
13330	ValidationRole *string `min:"20" type:"string" required:"true"`
13331}
13332
13333// String returns the string representation
13334func (s AlgorithmValidationSpecification) String() string {
13335	return awsutil.Prettify(s)
13336}
13337
13338// GoString returns the string representation
13339func (s AlgorithmValidationSpecification) GoString() string {
13340	return s.String()
13341}
13342
13343// Validate inspects the fields of the type to determine if they are valid.
13344func (s *AlgorithmValidationSpecification) Validate() error {
13345	invalidParams := request.ErrInvalidParams{Context: "AlgorithmValidationSpecification"}
13346	if s.ValidationProfiles == nil {
13347		invalidParams.Add(request.NewErrParamRequired("ValidationProfiles"))
13348	}
13349	if s.ValidationProfiles != nil && len(s.ValidationProfiles) < 1 {
13350		invalidParams.Add(request.NewErrParamMinLen("ValidationProfiles", 1))
13351	}
13352	if s.ValidationRole == nil {
13353		invalidParams.Add(request.NewErrParamRequired("ValidationRole"))
13354	}
13355	if s.ValidationRole != nil && len(*s.ValidationRole) < 20 {
13356		invalidParams.Add(request.NewErrParamMinLen("ValidationRole", 20))
13357	}
13358	if s.ValidationProfiles != nil {
13359		for i, v := range s.ValidationProfiles {
13360			if v == nil {
13361				continue
13362			}
13363			if err := v.Validate(); err != nil {
13364				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ValidationProfiles", i), err.(request.ErrInvalidParams))
13365			}
13366		}
13367	}
13368
13369	if invalidParams.Len() > 0 {
13370		return invalidParams
13371	}
13372	return nil
13373}
13374
13375// SetValidationProfiles sets the ValidationProfiles field's value.
13376func (s *AlgorithmValidationSpecification) SetValidationProfiles(v []*AlgorithmValidationProfile) *AlgorithmValidationSpecification {
13377	s.ValidationProfiles = v
13378	return s
13379}
13380
13381// SetValidationRole sets the ValidationRole field's value.
13382func (s *AlgorithmValidationSpecification) SetValidationRole(v string) *AlgorithmValidationSpecification {
13383	s.ValidationRole = &v
13384	return s
13385}
13386
13387// Configures how labels are consolidated across human workers.
13388type AnnotationConsolidationConfig struct {
13389	_ struct{} `type:"structure"`
13390
13391	// The Amazon Resource Name (ARN) of a Lambda function implements the logic
13392	// for annotation consolidation.
13393	//
13394	// For the built-in bounding box, image classification, semantic segmentation,
13395	// and text classification task types, Amazon SageMaker Ground Truth provides
13396	// the following Lambda functions:
13397	//
13398	// Bounding box - Finds the most similar boxes from different workers based
13399	// on the Jaccard index of the boxes.
13400	//
13401	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-BoundingBox arn:aws:lambda:us-east-2:266458841044:function:ACS-BoundingBox
13402	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-BoundingBox arn:aws:lambda:eu-west-1:568282634449:function:ACS-BoundingBox
13403	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-BoundingBox arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-BoundingBox
13404	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-BoundingBox arn:aws:lambda:eu-central-1:203001061592:function:ACS-BoundingBox
13405	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-BoundingBox arn:aws:lambda:eu-west-2:487402164563:function:ACS-BoundingBox
13406	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-BoundingBox arn:aws:lambda:ca-central-1:918755190332:function:ACS-BoundingBox
13407	//
13408	// Image classification - Uses a variant of the Expectation Maximization approach
13409	// to estimate the true class of an image based on annotations from individual
13410	// workers.
13411	//
13412	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-ImageMultiClass arn:aws:lambda:us-east-2:266458841044:function:ACS-ImageMultiClass
13413	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-ImageMultiClass arn:aws:lambda:eu-west-1:568282634449:function:ACS-ImageMultiClass
13414	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-ImageMultiClass
13415	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-ImageMultiClass
13416	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-ImageMultiClass arn:aws:lambda:eu-central-1:203001061592:function:ACS-ImageMultiClass
13417	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-ImageMultiClass
13418	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-ImageMultiClass arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-ImageMultiClass
13419	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-ImageMultiClass
13420	//
13421	// Multi-label image classification - Uses a variant of the Expectation Maximization
13422	// approach to estimate the true classes of an image based on annotations from
13423	// individual workers.
13424	//
13425	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-ImageMultiClassMultiLabel
13426	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-ImageMultiClassMultiLabel
13427	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-ImageMultiClassMultiLabel
13428	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-ImageMultiClassMultiLabel
13429	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-ImageMultiClassMultiLabel
13430	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-ImageMultiClassMultiLabel
13431	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-ImageMultiClassMultiLabel
13432	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-ImageMultiClassMultiLabel
13433	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-ImageMultiClassMultiLabel
13434	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-ImageMultiClassMultiLabel
13435	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-ImageMultiClassMultiLabel
13436	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-ImageMultiClassMultiLabel
13437	//
13438	// Semantic segmentation - Treats each pixel in an image as a multi-class classification
13439	// and treats pixel annotations from workers as "votes" for the correct label.
13440	//
13441	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-SemanticSegmentation
13442	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-SemanticSegmentation
13443	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-SemanticSegmentation
13444	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-SemanticSegmentation
13445	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-SemanticSegmentation
13446	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-SemanticSegmentation
13447	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-SemanticSegmentation
13448	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-SemanticSegmentation
13449	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-SemanticSegmentation
13450	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-SemanticSegmentation
13451	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-SemanticSegmentation
13452	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-SemanticSegmentation
13453	//
13454	// Text classification - Uses a variant of the Expectation Maximization approach
13455	// to estimate the true class of text based on annotations from individual workers.
13456	//
13457	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-TextMultiClass arn:aws:lambda:us-east-2:266458841044:function:ACS-TextMultiClass
13458	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-TextMultiClass arn:aws:lambda:eu-west-1:568282634449:function:ACS-TextMultiClass
13459	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-TextMultiClass
13460	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-TextMultiClass
13461	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-TextMultiClass arn:aws:lambda:eu-central-1:203001061592:function:ACS-TextMultiClass
13462	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-TextMultiClass
13463	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-TextMultiClass arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-TextMultiClass
13464	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-TextMultiClass
13465	//
13466	// Multi-label text classification - Uses a variant of the Expectation Maximization
13467	// approach to estimate the true classes of text based on annotations from individual
13468	// workers.
13469	//
13470	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-TextMultiClassMultiLabel
13471	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-TextMultiClassMultiLabel
13472	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-TextMultiClassMultiLabel
13473	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-TextMultiClassMultiLabel
13474	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-TextMultiClassMultiLabel
13475	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-TextMultiClassMultiLabel
13476	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-TextMultiClassMultiLabel
13477	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-TextMultiClassMultiLabel
13478	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-TextMultiClassMultiLabel
13479	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-TextMultiClassMultiLabel
13480	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-TextMultiClassMultiLabel
13481	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-TextMultiClassMultiLabel
13482	//
13483	// Named entity recognition - Groups similar selections and calculates aggregate
13484	// boundaries, resolving to most-assigned label.
13485	//
13486	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-NamedEntityRecognition
13487	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-NamedEntityRecognition
13488	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-NamedEntityRecognition
13489	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-NamedEntityRecognition
13490	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-NamedEntityRecognition
13491	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-NamedEntityRecognition
13492	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-NamedEntityRecognition
13493	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-NamedEntityRecognition
13494	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-NamedEntityRecognition
13495	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-NamedEntityRecognition
13496	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-NamedEntityRecognition
13497	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-NamedEntityRecognition
13498	//
13499	// Bounding box verification - Uses a variant of the Expectation Maximization
13500	// approach to estimate the true class of verification judgement for bounding
13501	// box labels based on annotations from individual workers.
13502	//
13503	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-VerificationBoundingBox
13504	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-VerificationBoundingBox
13505	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-VerificationBoundingBox
13506	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-VerificationBoundingBox
13507	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VerificationBoundingBox
13508	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VerificationBoundingBox
13509	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-VerificationBoundingBox
13510	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-VerificationBoundingBox
13511	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VerificationBoundingBox
13512	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-VerificationBoundingBox
13513	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VerificationBoundingBox
13514	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-VerificationBoundingBox
13515	//
13516	// Semantic segmentation verification - Uses a variant of the Expectation Maximization
13517	// approach to estimate the true class of verification judgment for semantic
13518	// segmentation labels based on annotations from individual workers.
13519	//
13520	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-VerificationSemanticSegmentation
13521	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-VerificationSemanticSegmentation
13522	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-VerificationSemanticSegmentation
13523	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-VerificationSemanticSegmentation
13524	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VerificationSemanticSegmentation
13525	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VerificationSemanticSegmentation
13526	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-VerificationSemanticSegmentation
13527	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-VerificationSemanticSegmentation
13528	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VerificationSemanticSegmentation
13529	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-VerificationSemanticSegmentation
13530	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VerificationSemanticSegmentation
13531	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-VerificationSemanticSegmentation
13532	//
13533	// Bounding box adjustment - Finds the most similar boxes from different workers
13534	// based on the Jaccard index of the adjusted annotations.
13535	//
13536	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-AdjustmentBoundingBox
13537	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-AdjustmentBoundingBox
13538	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-AdjustmentBoundingBox
13539	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-AdjustmentBoundingBox
13540	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-AdjustmentBoundingBox
13541	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-AdjustmentBoundingBox
13542	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-AdjustmentBoundingBox
13543	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-AdjustmentBoundingBox
13544	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-AdjustmentBoundingBox
13545	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-AdjustmentBoundingBox
13546	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-AdjustmentBoundingBox
13547	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-AdjustmentBoundingBox
13548	//
13549	// Semantic segmentation adjustment - Treats each pixel in an image as a multi-class
13550	// classification and treats pixel adjusted annotations from workers as "votes"
13551	// for the correct label.
13552	//
13553	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-AdjustmentSemanticSegmentation
13554	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-AdjustmentSemanticSegmentation
13555	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-AdjustmentSemanticSegmentation
13556	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-AdjustmentSemanticSegmentation
13557	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-AdjustmentSemanticSegmentation
13558	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-AdjustmentSemanticSegmentation
13559	//    arn:aws:lambda:ap-south-1:565803892007:function:ACS-AdjustmentSemanticSegmentation
13560	//    arn:aws:lambda:eu-central-1:203001061592:function:ACS-AdjustmentSemanticSegmentation
13561	//    arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-AdjustmentSemanticSegmentation
13562	//    arn:aws:lambda:eu-west-2:487402164563:function:ACS-AdjustmentSemanticSegmentation
13563	//    arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-AdjustmentSemanticSegmentation
13564	//    arn:aws:lambda:ca-central-1:918755190332:function:ACS-AdjustmentSemanticSegmentation
13565	//
13566	// For more information, see Annotation Consolidation (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-annotation-consolidation.html).
13567	//
13568	// AnnotationConsolidationLambdaArn is a required field
13569	AnnotationConsolidationLambdaArn *string `type:"string" required:"true"`
13570}
13571
13572// String returns the string representation
13573func (s AnnotationConsolidationConfig) String() string {
13574	return awsutil.Prettify(s)
13575}
13576
13577// GoString returns the string representation
13578func (s AnnotationConsolidationConfig) GoString() string {
13579	return s.String()
13580}
13581
13582// Validate inspects the fields of the type to determine if they are valid.
13583func (s *AnnotationConsolidationConfig) Validate() error {
13584	invalidParams := request.ErrInvalidParams{Context: "AnnotationConsolidationConfig"}
13585	if s.AnnotationConsolidationLambdaArn == nil {
13586		invalidParams.Add(request.NewErrParamRequired("AnnotationConsolidationLambdaArn"))
13587	}
13588
13589	if invalidParams.Len() > 0 {
13590		return invalidParams
13591	}
13592	return nil
13593}
13594
13595// SetAnnotationConsolidationLambdaArn sets the AnnotationConsolidationLambdaArn field's value.
13596func (s *AnnotationConsolidationConfig) SetAnnotationConsolidationLambdaArn(v string) *AnnotationConsolidationConfig {
13597	s.AnnotationConsolidationLambdaArn = &v
13598	return s
13599}
13600
13601// The app's details.
13602type AppDetails struct {
13603	_ struct{} `type:"structure"`
13604
13605	// The name of the app.
13606	AppName *string `type:"string"`
13607
13608	// The type of app.
13609	AppType *string `type:"string" enum:"AppType"`
13610
13611	// The creation time.
13612	CreationTime *time.Time `type:"timestamp"`
13613
13614	// The domain ID.
13615	DomainId *string `type:"string"`
13616
13617	// The status.
13618	Status *string `type:"string" enum:"AppStatus"`
13619
13620	// The user profile name.
13621	UserProfileName *string `type:"string"`
13622}
13623
13624// String returns the string representation
13625func (s AppDetails) String() string {
13626	return awsutil.Prettify(s)
13627}
13628
13629// GoString returns the string representation
13630func (s AppDetails) GoString() string {
13631	return s.String()
13632}
13633
13634// SetAppName sets the AppName field's value.
13635func (s *AppDetails) SetAppName(v string) *AppDetails {
13636	s.AppName = &v
13637	return s
13638}
13639
13640// SetAppType sets the AppType field's value.
13641func (s *AppDetails) SetAppType(v string) *AppDetails {
13642	s.AppType = &v
13643	return s
13644}
13645
13646// SetCreationTime sets the CreationTime field's value.
13647func (s *AppDetails) SetCreationTime(v time.Time) *AppDetails {
13648	s.CreationTime = &v
13649	return s
13650}
13651
13652// SetDomainId sets the DomainId field's value.
13653func (s *AppDetails) SetDomainId(v string) *AppDetails {
13654	s.DomainId = &v
13655	return s
13656}
13657
13658// SetStatus sets the Status field's value.
13659func (s *AppDetails) SetStatus(v string) *AppDetails {
13660	s.Status = &v
13661	return s
13662}
13663
13664// SetUserProfileName sets the UserProfileName field's value.
13665func (s *AppDetails) SetUserProfileName(v string) *AppDetails {
13666	s.UserProfileName = &v
13667	return s
13668}
13669
13670// Configuration to run a processing job in a specified container image.
13671type AppSpecification struct {
13672	_ struct{} `type:"structure"`
13673
13674	// The arguments for a container used to run a processing job.
13675	ContainerArguments []*string `min:"1" type:"list"`
13676
13677	// The entrypoint for a container used to run a processing job.
13678	ContainerEntrypoint []*string `min:"1" type:"list"`
13679
13680	// The container image to be run by the processing job.
13681	//
13682	// ImageUri is a required field
13683	ImageUri *string `type:"string" required:"true"`
13684}
13685
13686// String returns the string representation
13687func (s AppSpecification) String() string {
13688	return awsutil.Prettify(s)
13689}
13690
13691// GoString returns the string representation
13692func (s AppSpecification) GoString() string {
13693	return s.String()
13694}
13695
13696// Validate inspects the fields of the type to determine if they are valid.
13697func (s *AppSpecification) Validate() error {
13698	invalidParams := request.ErrInvalidParams{Context: "AppSpecification"}
13699	if s.ContainerArguments != nil && len(s.ContainerArguments) < 1 {
13700		invalidParams.Add(request.NewErrParamMinLen("ContainerArguments", 1))
13701	}
13702	if s.ContainerEntrypoint != nil && len(s.ContainerEntrypoint) < 1 {
13703		invalidParams.Add(request.NewErrParamMinLen("ContainerEntrypoint", 1))
13704	}
13705	if s.ImageUri == nil {
13706		invalidParams.Add(request.NewErrParamRequired("ImageUri"))
13707	}
13708
13709	if invalidParams.Len() > 0 {
13710		return invalidParams
13711	}
13712	return nil
13713}
13714
13715// SetContainerArguments sets the ContainerArguments field's value.
13716func (s *AppSpecification) SetContainerArguments(v []*string) *AppSpecification {
13717	s.ContainerArguments = v
13718	return s
13719}
13720
13721// SetContainerEntrypoint sets the ContainerEntrypoint field's value.
13722func (s *AppSpecification) SetContainerEntrypoint(v []*string) *AppSpecification {
13723	s.ContainerEntrypoint = v
13724	return s
13725}
13726
13727// SetImageUri sets the ImageUri field's value.
13728func (s *AppSpecification) SetImageUri(v string) *AppSpecification {
13729	s.ImageUri = &v
13730	return s
13731}
13732
13733type AssociateTrialComponentInput struct {
13734	_ struct{} `type:"structure"`
13735
13736	// The name of the component to associated with the trial.
13737	//
13738	// TrialComponentName is a required field
13739	TrialComponentName *string `min:"1" type:"string" required:"true"`
13740
13741	// The name of the trial to associate with.
13742	//
13743	// TrialName is a required field
13744	TrialName *string `min:"1" type:"string" required:"true"`
13745}
13746
13747// String returns the string representation
13748func (s AssociateTrialComponentInput) String() string {
13749	return awsutil.Prettify(s)
13750}
13751
13752// GoString returns the string representation
13753func (s AssociateTrialComponentInput) GoString() string {
13754	return s.String()
13755}
13756
13757// Validate inspects the fields of the type to determine if they are valid.
13758func (s *AssociateTrialComponentInput) Validate() error {
13759	invalidParams := request.ErrInvalidParams{Context: "AssociateTrialComponentInput"}
13760	if s.TrialComponentName == nil {
13761		invalidParams.Add(request.NewErrParamRequired("TrialComponentName"))
13762	}
13763	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
13764		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
13765	}
13766	if s.TrialName == nil {
13767		invalidParams.Add(request.NewErrParamRequired("TrialName"))
13768	}
13769	if s.TrialName != nil && len(*s.TrialName) < 1 {
13770		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
13771	}
13772
13773	if invalidParams.Len() > 0 {
13774		return invalidParams
13775	}
13776	return nil
13777}
13778
13779// SetTrialComponentName sets the TrialComponentName field's value.
13780func (s *AssociateTrialComponentInput) SetTrialComponentName(v string) *AssociateTrialComponentInput {
13781	s.TrialComponentName = &v
13782	return s
13783}
13784
13785// SetTrialName sets the TrialName field's value.
13786func (s *AssociateTrialComponentInput) SetTrialName(v string) *AssociateTrialComponentInput {
13787	s.TrialName = &v
13788	return s
13789}
13790
13791type AssociateTrialComponentOutput struct {
13792	_ struct{} `type:"structure"`
13793
13794	// The Amazon Resource Name (ARN) of the trial.
13795	TrialArn *string `type:"string"`
13796
13797	// The ARN of the trial component.
13798	TrialComponentArn *string `type:"string"`
13799}
13800
13801// String returns the string representation
13802func (s AssociateTrialComponentOutput) String() string {
13803	return awsutil.Prettify(s)
13804}
13805
13806// GoString returns the string representation
13807func (s AssociateTrialComponentOutput) GoString() string {
13808	return s.String()
13809}
13810
13811// SetTrialArn sets the TrialArn field's value.
13812func (s *AssociateTrialComponentOutput) SetTrialArn(v string) *AssociateTrialComponentOutput {
13813	s.TrialArn = &v
13814	return s
13815}
13816
13817// SetTrialComponentArn sets the TrialComponentArn field's value.
13818func (s *AssociateTrialComponentOutput) SetTrialComponentArn(v string) *AssociateTrialComponentOutput {
13819	s.TrialComponentArn = &v
13820	return s
13821}
13822
13823// An AutoPilot job will return recommendations, or candidates. Each candidate
13824// has futher details about the steps involed, and the status.
13825type AutoMLCandidate struct {
13826	_ struct{} `type:"structure"`
13827
13828	// The candidate name.
13829	//
13830	// CandidateName is a required field
13831	CandidateName *string `min:"1" type:"string" required:"true"`
13832
13833	// The candidate's status.
13834	//
13835	// CandidateStatus is a required field
13836	CandidateStatus *string `type:"string" required:"true" enum:"CandidateStatus"`
13837
13838	// The candidate's steps.
13839	//
13840	// CandidateSteps is a required field
13841	CandidateSteps []*AutoMLCandidateStep `type:"list" required:"true"`
13842
13843	// The creation time.
13844	//
13845	// CreationTime is a required field
13846	CreationTime *time.Time `type:"timestamp" required:"true"`
13847
13848	// The end time.
13849	EndTime *time.Time `type:"timestamp"`
13850
13851	// The failure reason.
13852	FailureReason *string `type:"string"`
13853
13854	// The candidate result from a job.
13855	FinalAutoMLJobObjectiveMetric *FinalAutoMLJobObjectiveMetric `type:"structure"`
13856
13857	// The inference containers.
13858	InferenceContainers []*AutoMLContainerDefinition `type:"list"`
13859
13860	// The last modified time.
13861	//
13862	// LastModifiedTime is a required field
13863	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
13864
13865	// The objective status.
13866	//
13867	// ObjectiveStatus is a required field
13868	ObjectiveStatus *string `type:"string" required:"true" enum:"ObjectiveStatus"`
13869}
13870
13871// String returns the string representation
13872func (s AutoMLCandidate) String() string {
13873	return awsutil.Prettify(s)
13874}
13875
13876// GoString returns the string representation
13877func (s AutoMLCandidate) GoString() string {
13878	return s.String()
13879}
13880
13881// SetCandidateName sets the CandidateName field's value.
13882func (s *AutoMLCandidate) SetCandidateName(v string) *AutoMLCandidate {
13883	s.CandidateName = &v
13884	return s
13885}
13886
13887// SetCandidateStatus sets the CandidateStatus field's value.
13888func (s *AutoMLCandidate) SetCandidateStatus(v string) *AutoMLCandidate {
13889	s.CandidateStatus = &v
13890	return s
13891}
13892
13893// SetCandidateSteps sets the CandidateSteps field's value.
13894func (s *AutoMLCandidate) SetCandidateSteps(v []*AutoMLCandidateStep) *AutoMLCandidate {
13895	s.CandidateSteps = v
13896	return s
13897}
13898
13899// SetCreationTime sets the CreationTime field's value.
13900func (s *AutoMLCandidate) SetCreationTime(v time.Time) *AutoMLCandidate {
13901	s.CreationTime = &v
13902	return s
13903}
13904
13905// SetEndTime sets the EndTime field's value.
13906func (s *AutoMLCandidate) SetEndTime(v time.Time) *AutoMLCandidate {
13907	s.EndTime = &v
13908	return s
13909}
13910
13911// SetFailureReason sets the FailureReason field's value.
13912func (s *AutoMLCandidate) SetFailureReason(v string) *AutoMLCandidate {
13913	s.FailureReason = &v
13914	return s
13915}
13916
13917// SetFinalAutoMLJobObjectiveMetric sets the FinalAutoMLJobObjectiveMetric field's value.
13918func (s *AutoMLCandidate) SetFinalAutoMLJobObjectiveMetric(v *FinalAutoMLJobObjectiveMetric) *AutoMLCandidate {
13919	s.FinalAutoMLJobObjectiveMetric = v
13920	return s
13921}
13922
13923// SetInferenceContainers sets the InferenceContainers field's value.
13924func (s *AutoMLCandidate) SetInferenceContainers(v []*AutoMLContainerDefinition) *AutoMLCandidate {
13925	s.InferenceContainers = v
13926	return s
13927}
13928
13929// SetLastModifiedTime sets the LastModifiedTime field's value.
13930func (s *AutoMLCandidate) SetLastModifiedTime(v time.Time) *AutoMLCandidate {
13931	s.LastModifiedTime = &v
13932	return s
13933}
13934
13935// SetObjectiveStatus sets the ObjectiveStatus field's value.
13936func (s *AutoMLCandidate) SetObjectiveStatus(v string) *AutoMLCandidate {
13937	s.ObjectiveStatus = &v
13938	return s
13939}
13940
13941// Information about the steps for a Candidate, and what step it is working
13942// on.
13943type AutoMLCandidateStep struct {
13944	_ struct{} `type:"structure"`
13945
13946	// The ARN for the Candidate's step.
13947	//
13948	// CandidateStepArn is a required field
13949	CandidateStepArn *string `min:"1" type:"string" required:"true"`
13950
13951	// The name for the Candidate's step.
13952	//
13953	// CandidateStepName is a required field
13954	CandidateStepName *string `min:"1" type:"string" required:"true"`
13955
13956	// Whether the Candidate is at the transform, training, or processing step.
13957	//
13958	// CandidateStepType is a required field
13959	CandidateStepType *string `type:"string" required:"true" enum:"CandidateStepType"`
13960}
13961
13962// String returns the string representation
13963func (s AutoMLCandidateStep) String() string {
13964	return awsutil.Prettify(s)
13965}
13966
13967// GoString returns the string representation
13968func (s AutoMLCandidateStep) GoString() string {
13969	return s.String()
13970}
13971
13972// SetCandidateStepArn sets the CandidateStepArn field's value.
13973func (s *AutoMLCandidateStep) SetCandidateStepArn(v string) *AutoMLCandidateStep {
13974	s.CandidateStepArn = &v
13975	return s
13976}
13977
13978// SetCandidateStepName sets the CandidateStepName field's value.
13979func (s *AutoMLCandidateStep) SetCandidateStepName(v string) *AutoMLCandidateStep {
13980	s.CandidateStepName = &v
13981	return s
13982}
13983
13984// SetCandidateStepType sets the CandidateStepType field's value.
13985func (s *AutoMLCandidateStep) SetCandidateStepType(v string) *AutoMLCandidateStep {
13986	s.CandidateStepType = &v
13987	return s
13988}
13989
13990// Similar to Channel. A channel is a named input source that training algorithms
13991// can consume. Refer to Channel for detailed descriptions.
13992type AutoMLChannel struct {
13993	_ struct{} `type:"structure"`
13994
13995	// You can use Gzip or None. The default value is None.
13996	CompressionType *string `type:"string" enum:"CompressionType"`
13997
13998	// The data source.
13999	//
14000	// DataSource is a required field
14001	DataSource *AutoMLDataSource `type:"structure" required:"true"`
14002
14003	// The name of the target variable in supervised learning, a.k.a. 'y'.
14004	//
14005	// TargetAttributeName is a required field
14006	TargetAttributeName *string `min:"1" type:"string" required:"true"`
14007}
14008
14009// String returns the string representation
14010func (s AutoMLChannel) String() string {
14011	return awsutil.Prettify(s)
14012}
14013
14014// GoString returns the string representation
14015func (s AutoMLChannel) GoString() string {
14016	return s.String()
14017}
14018
14019// Validate inspects the fields of the type to determine if they are valid.
14020func (s *AutoMLChannel) Validate() error {
14021	invalidParams := request.ErrInvalidParams{Context: "AutoMLChannel"}
14022	if s.DataSource == nil {
14023		invalidParams.Add(request.NewErrParamRequired("DataSource"))
14024	}
14025	if s.TargetAttributeName == nil {
14026		invalidParams.Add(request.NewErrParamRequired("TargetAttributeName"))
14027	}
14028	if s.TargetAttributeName != nil && len(*s.TargetAttributeName) < 1 {
14029		invalidParams.Add(request.NewErrParamMinLen("TargetAttributeName", 1))
14030	}
14031	if s.DataSource != nil {
14032		if err := s.DataSource.Validate(); err != nil {
14033			invalidParams.AddNested("DataSource", err.(request.ErrInvalidParams))
14034		}
14035	}
14036
14037	if invalidParams.Len() > 0 {
14038		return invalidParams
14039	}
14040	return nil
14041}
14042
14043// SetCompressionType sets the CompressionType field's value.
14044func (s *AutoMLChannel) SetCompressionType(v string) *AutoMLChannel {
14045	s.CompressionType = &v
14046	return s
14047}
14048
14049// SetDataSource sets the DataSource field's value.
14050func (s *AutoMLChannel) SetDataSource(v *AutoMLDataSource) *AutoMLChannel {
14051	s.DataSource = v
14052	return s
14053}
14054
14055// SetTargetAttributeName sets the TargetAttributeName field's value.
14056func (s *AutoMLChannel) SetTargetAttributeName(v string) *AutoMLChannel {
14057	s.TargetAttributeName = &v
14058	return s
14059}
14060
14061// A list of container definitions that describe the different containers that
14062// make up one AutoML candidate. Refer to ContainerDefinition for more details.
14063type AutoMLContainerDefinition struct {
14064	_ struct{} `type:"structure"`
14065
14066	// Environment variables to set in the container. Refer to ContainerDefinition
14067	// for more details.
14068	Environment map[string]*string `type:"map"`
14069
14070	// The ECR path of the container. Refer to ContainerDefinition for more details.
14071	//
14072	// Image is a required field
14073	Image *string `type:"string" required:"true"`
14074
14075	// The location of the model artifacts. Refer to ContainerDefinition for more
14076	// details.
14077	//
14078	// ModelDataUrl is a required field
14079	ModelDataUrl *string `type:"string" required:"true"`
14080}
14081
14082// String returns the string representation
14083func (s AutoMLContainerDefinition) String() string {
14084	return awsutil.Prettify(s)
14085}
14086
14087// GoString returns the string representation
14088func (s AutoMLContainerDefinition) GoString() string {
14089	return s.String()
14090}
14091
14092// SetEnvironment sets the Environment field's value.
14093func (s *AutoMLContainerDefinition) SetEnvironment(v map[string]*string) *AutoMLContainerDefinition {
14094	s.Environment = v
14095	return s
14096}
14097
14098// SetImage sets the Image field's value.
14099func (s *AutoMLContainerDefinition) SetImage(v string) *AutoMLContainerDefinition {
14100	s.Image = &v
14101	return s
14102}
14103
14104// SetModelDataUrl sets the ModelDataUrl field's value.
14105func (s *AutoMLContainerDefinition) SetModelDataUrl(v string) *AutoMLContainerDefinition {
14106	s.ModelDataUrl = &v
14107	return s
14108}
14109
14110// The data source for the AutoPilot job.
14111type AutoMLDataSource struct {
14112	_ struct{} `type:"structure"`
14113
14114	// The Amazon S3 location of the input data.
14115	//
14116	// The input data must be in CSV format and contain at least 1000 rows.
14117	//
14118	// S3DataSource is a required field
14119	S3DataSource *AutoMLS3DataSource `type:"structure" required:"true"`
14120}
14121
14122// String returns the string representation
14123func (s AutoMLDataSource) String() string {
14124	return awsutil.Prettify(s)
14125}
14126
14127// GoString returns the string representation
14128func (s AutoMLDataSource) GoString() string {
14129	return s.String()
14130}
14131
14132// Validate inspects the fields of the type to determine if they are valid.
14133func (s *AutoMLDataSource) Validate() error {
14134	invalidParams := request.ErrInvalidParams{Context: "AutoMLDataSource"}
14135	if s.S3DataSource == nil {
14136		invalidParams.Add(request.NewErrParamRequired("S3DataSource"))
14137	}
14138	if s.S3DataSource != nil {
14139		if err := s.S3DataSource.Validate(); err != nil {
14140			invalidParams.AddNested("S3DataSource", err.(request.ErrInvalidParams))
14141		}
14142	}
14143
14144	if invalidParams.Len() > 0 {
14145		return invalidParams
14146	}
14147	return nil
14148}
14149
14150// SetS3DataSource sets the S3DataSource field's value.
14151func (s *AutoMLDataSource) SetS3DataSource(v *AutoMLS3DataSource) *AutoMLDataSource {
14152	s.S3DataSource = v
14153	return s
14154}
14155
14156// Artifacts that are generation during a job.
14157type AutoMLJobArtifacts struct {
14158	_ struct{} `type:"structure"`
14159
14160	// The URL to the notebook location.
14161	CandidateDefinitionNotebookLocation *string `min:"1" type:"string"`
14162
14163	// The URL to the notebook location.
14164	DataExplorationNotebookLocation *string `min:"1" type:"string"`
14165}
14166
14167// String returns the string representation
14168func (s AutoMLJobArtifacts) String() string {
14169	return awsutil.Prettify(s)
14170}
14171
14172// GoString returns the string representation
14173func (s AutoMLJobArtifacts) GoString() string {
14174	return s.String()
14175}
14176
14177// SetCandidateDefinitionNotebookLocation sets the CandidateDefinitionNotebookLocation field's value.
14178func (s *AutoMLJobArtifacts) SetCandidateDefinitionNotebookLocation(v string) *AutoMLJobArtifacts {
14179	s.CandidateDefinitionNotebookLocation = &v
14180	return s
14181}
14182
14183// SetDataExplorationNotebookLocation sets the DataExplorationNotebookLocation field's value.
14184func (s *AutoMLJobArtifacts) SetDataExplorationNotebookLocation(v string) *AutoMLJobArtifacts {
14185	s.DataExplorationNotebookLocation = &v
14186	return s
14187}
14188
14189// How long a job is allowed to run, or how many candidates a job is allowed
14190// to generate.
14191type AutoMLJobCompletionCriteria struct {
14192	_ struct{} `type:"structure"`
14193
14194	// The maximum time, in seconds, an AutoML job is allowed to wait for a trial
14195	// to complete. It must be equal to or greater than MaxRuntimePerTrainingJobInSeconds.
14196	MaxAutoMLJobRuntimeInSeconds *int64 `min:"1" type:"integer"`
14197
14198	// The maximum number of times a training job is allowed to run.
14199	MaxCandidates *int64 `min:"1" type:"integer"`
14200
14201	// The maximum time, in seconds, a job is allowed to run.
14202	MaxRuntimePerTrainingJobInSeconds *int64 `min:"1" type:"integer"`
14203}
14204
14205// String returns the string representation
14206func (s AutoMLJobCompletionCriteria) String() string {
14207	return awsutil.Prettify(s)
14208}
14209
14210// GoString returns the string representation
14211func (s AutoMLJobCompletionCriteria) GoString() string {
14212	return s.String()
14213}
14214
14215// Validate inspects the fields of the type to determine if they are valid.
14216func (s *AutoMLJobCompletionCriteria) Validate() error {
14217	invalidParams := request.ErrInvalidParams{Context: "AutoMLJobCompletionCriteria"}
14218	if s.MaxAutoMLJobRuntimeInSeconds != nil && *s.MaxAutoMLJobRuntimeInSeconds < 1 {
14219		invalidParams.Add(request.NewErrParamMinValue("MaxAutoMLJobRuntimeInSeconds", 1))
14220	}
14221	if s.MaxCandidates != nil && *s.MaxCandidates < 1 {
14222		invalidParams.Add(request.NewErrParamMinValue("MaxCandidates", 1))
14223	}
14224	if s.MaxRuntimePerTrainingJobInSeconds != nil && *s.MaxRuntimePerTrainingJobInSeconds < 1 {
14225		invalidParams.Add(request.NewErrParamMinValue("MaxRuntimePerTrainingJobInSeconds", 1))
14226	}
14227
14228	if invalidParams.Len() > 0 {
14229		return invalidParams
14230	}
14231	return nil
14232}
14233
14234// SetMaxAutoMLJobRuntimeInSeconds sets the MaxAutoMLJobRuntimeInSeconds field's value.
14235func (s *AutoMLJobCompletionCriteria) SetMaxAutoMLJobRuntimeInSeconds(v int64) *AutoMLJobCompletionCriteria {
14236	s.MaxAutoMLJobRuntimeInSeconds = &v
14237	return s
14238}
14239
14240// SetMaxCandidates sets the MaxCandidates field's value.
14241func (s *AutoMLJobCompletionCriteria) SetMaxCandidates(v int64) *AutoMLJobCompletionCriteria {
14242	s.MaxCandidates = &v
14243	return s
14244}
14245
14246// SetMaxRuntimePerTrainingJobInSeconds sets the MaxRuntimePerTrainingJobInSeconds field's value.
14247func (s *AutoMLJobCompletionCriteria) SetMaxRuntimePerTrainingJobInSeconds(v int64) *AutoMLJobCompletionCriteria {
14248	s.MaxRuntimePerTrainingJobInSeconds = &v
14249	return s
14250}
14251
14252// A collection of settings used for a job.
14253type AutoMLJobConfig struct {
14254	_ struct{} `type:"structure"`
14255
14256	// How long a job is allowed to run, or how many candidates a job is allowed
14257	// to generate.
14258	CompletionCriteria *AutoMLJobCompletionCriteria `type:"structure"`
14259
14260	// Security configuration for traffic encryption or Amazon VPC settings.
14261	SecurityConfig *AutoMLSecurityConfig `type:"structure"`
14262}
14263
14264// String returns the string representation
14265func (s AutoMLJobConfig) String() string {
14266	return awsutil.Prettify(s)
14267}
14268
14269// GoString returns the string representation
14270func (s AutoMLJobConfig) GoString() string {
14271	return s.String()
14272}
14273
14274// Validate inspects the fields of the type to determine if they are valid.
14275func (s *AutoMLJobConfig) Validate() error {
14276	invalidParams := request.ErrInvalidParams{Context: "AutoMLJobConfig"}
14277	if s.CompletionCriteria != nil {
14278		if err := s.CompletionCriteria.Validate(); err != nil {
14279			invalidParams.AddNested("CompletionCriteria", err.(request.ErrInvalidParams))
14280		}
14281	}
14282	if s.SecurityConfig != nil {
14283		if err := s.SecurityConfig.Validate(); err != nil {
14284			invalidParams.AddNested("SecurityConfig", err.(request.ErrInvalidParams))
14285		}
14286	}
14287
14288	if invalidParams.Len() > 0 {
14289		return invalidParams
14290	}
14291	return nil
14292}
14293
14294// SetCompletionCriteria sets the CompletionCriteria field's value.
14295func (s *AutoMLJobConfig) SetCompletionCriteria(v *AutoMLJobCompletionCriteria) *AutoMLJobConfig {
14296	s.CompletionCriteria = v
14297	return s
14298}
14299
14300// SetSecurityConfig sets the SecurityConfig field's value.
14301func (s *AutoMLJobConfig) SetSecurityConfig(v *AutoMLSecurityConfig) *AutoMLJobConfig {
14302	s.SecurityConfig = v
14303	return s
14304}
14305
14306// Applies a metric to minimize or maximize for the job's objective.
14307type AutoMLJobObjective struct {
14308	_ struct{} `type:"structure"`
14309
14310	// The name of the metric.
14311	//
14312	// MetricName is a required field
14313	MetricName *string `type:"string" required:"true" enum:"AutoMLMetricEnum"`
14314}
14315
14316// String returns the string representation
14317func (s AutoMLJobObjective) String() string {
14318	return awsutil.Prettify(s)
14319}
14320
14321// GoString returns the string representation
14322func (s AutoMLJobObjective) GoString() string {
14323	return s.String()
14324}
14325
14326// Validate inspects the fields of the type to determine if they are valid.
14327func (s *AutoMLJobObjective) Validate() error {
14328	invalidParams := request.ErrInvalidParams{Context: "AutoMLJobObjective"}
14329	if s.MetricName == nil {
14330		invalidParams.Add(request.NewErrParamRequired("MetricName"))
14331	}
14332
14333	if invalidParams.Len() > 0 {
14334		return invalidParams
14335	}
14336	return nil
14337}
14338
14339// SetMetricName sets the MetricName field's value.
14340func (s *AutoMLJobObjective) SetMetricName(v string) *AutoMLJobObjective {
14341	s.MetricName = &v
14342	return s
14343}
14344
14345// Provides a summary about a job.
14346type AutoMLJobSummary struct {
14347	_ struct{} `type:"structure"`
14348
14349	// The ARN of the job.
14350	//
14351	// AutoMLJobArn is a required field
14352	AutoMLJobArn *string `min:"1" type:"string" required:"true"`
14353
14354	// The name of the object you are requesting.
14355	//
14356	// AutoMLJobName is a required field
14357	AutoMLJobName *string `min:"1" type:"string" required:"true"`
14358
14359	// The job's secondary status.
14360	//
14361	// AutoMLJobSecondaryStatus is a required field
14362	AutoMLJobSecondaryStatus *string `type:"string" required:"true" enum:"AutoMLJobSecondaryStatus"`
14363
14364	// The job's status.
14365	//
14366	// AutoMLJobStatus is a required field
14367	AutoMLJobStatus *string `type:"string" required:"true" enum:"AutoMLJobStatus"`
14368
14369	// When the job was created.
14370	//
14371	// CreationTime is a required field
14372	CreationTime *time.Time `type:"timestamp" required:"true"`
14373
14374	// The end time.
14375	EndTime *time.Time `type:"timestamp"`
14376
14377	// The failure reason.
14378	FailureReason *string `type:"string"`
14379
14380	// When the job was last modified.
14381	//
14382	// LastModifiedTime is a required field
14383	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
14384}
14385
14386// String returns the string representation
14387func (s AutoMLJobSummary) String() string {
14388	return awsutil.Prettify(s)
14389}
14390
14391// GoString returns the string representation
14392func (s AutoMLJobSummary) GoString() string {
14393	return s.String()
14394}
14395
14396// SetAutoMLJobArn sets the AutoMLJobArn field's value.
14397func (s *AutoMLJobSummary) SetAutoMLJobArn(v string) *AutoMLJobSummary {
14398	s.AutoMLJobArn = &v
14399	return s
14400}
14401
14402// SetAutoMLJobName sets the AutoMLJobName field's value.
14403func (s *AutoMLJobSummary) SetAutoMLJobName(v string) *AutoMLJobSummary {
14404	s.AutoMLJobName = &v
14405	return s
14406}
14407
14408// SetAutoMLJobSecondaryStatus sets the AutoMLJobSecondaryStatus field's value.
14409func (s *AutoMLJobSummary) SetAutoMLJobSecondaryStatus(v string) *AutoMLJobSummary {
14410	s.AutoMLJobSecondaryStatus = &v
14411	return s
14412}
14413
14414// SetAutoMLJobStatus sets the AutoMLJobStatus field's value.
14415func (s *AutoMLJobSummary) SetAutoMLJobStatus(v string) *AutoMLJobSummary {
14416	s.AutoMLJobStatus = &v
14417	return s
14418}
14419
14420// SetCreationTime sets the CreationTime field's value.
14421func (s *AutoMLJobSummary) SetCreationTime(v time.Time) *AutoMLJobSummary {
14422	s.CreationTime = &v
14423	return s
14424}
14425
14426// SetEndTime sets the EndTime field's value.
14427func (s *AutoMLJobSummary) SetEndTime(v time.Time) *AutoMLJobSummary {
14428	s.EndTime = &v
14429	return s
14430}
14431
14432// SetFailureReason sets the FailureReason field's value.
14433func (s *AutoMLJobSummary) SetFailureReason(v string) *AutoMLJobSummary {
14434	s.FailureReason = &v
14435	return s
14436}
14437
14438// SetLastModifiedTime sets the LastModifiedTime field's value.
14439func (s *AutoMLJobSummary) SetLastModifiedTime(v time.Time) *AutoMLJobSummary {
14440	s.LastModifiedTime = &v
14441	return s
14442}
14443
14444// The output data configuration.
14445type AutoMLOutputDataConfig struct {
14446	_ struct{} `type:"structure"`
14447
14448	// The AWS KMS encryption key ID.
14449	KmsKeyId *string `type:"string"`
14450
14451	// The Amazon S3 output path. Must be 128 characters or less.
14452	//
14453	// S3OutputPath is a required field
14454	S3OutputPath *string `type:"string" required:"true"`
14455}
14456
14457// String returns the string representation
14458func (s AutoMLOutputDataConfig) String() string {
14459	return awsutil.Prettify(s)
14460}
14461
14462// GoString returns the string representation
14463func (s AutoMLOutputDataConfig) GoString() string {
14464	return s.String()
14465}
14466
14467// Validate inspects the fields of the type to determine if they are valid.
14468func (s *AutoMLOutputDataConfig) Validate() error {
14469	invalidParams := request.ErrInvalidParams{Context: "AutoMLOutputDataConfig"}
14470	if s.S3OutputPath == nil {
14471		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
14472	}
14473
14474	if invalidParams.Len() > 0 {
14475		return invalidParams
14476	}
14477	return nil
14478}
14479
14480// SetKmsKeyId sets the KmsKeyId field's value.
14481func (s *AutoMLOutputDataConfig) SetKmsKeyId(v string) *AutoMLOutputDataConfig {
14482	s.KmsKeyId = &v
14483	return s
14484}
14485
14486// SetS3OutputPath sets the S3OutputPath field's value.
14487func (s *AutoMLOutputDataConfig) SetS3OutputPath(v string) *AutoMLOutputDataConfig {
14488	s.S3OutputPath = &v
14489	return s
14490}
14491
14492// The Amazon S3 data source.
14493type AutoMLS3DataSource struct {
14494	_ struct{} `type:"structure"`
14495
14496	// The data type.
14497	//
14498	// S3DataType is a required field
14499	S3DataType *string `type:"string" required:"true" enum:"AutoMLS3DataType"`
14500
14501	// The URL to the Amazon S3 data source.
14502	//
14503	// S3Uri is a required field
14504	S3Uri *string `type:"string" required:"true"`
14505}
14506
14507// String returns the string representation
14508func (s AutoMLS3DataSource) String() string {
14509	return awsutil.Prettify(s)
14510}
14511
14512// GoString returns the string representation
14513func (s AutoMLS3DataSource) GoString() string {
14514	return s.String()
14515}
14516
14517// Validate inspects the fields of the type to determine if they are valid.
14518func (s *AutoMLS3DataSource) Validate() error {
14519	invalidParams := request.ErrInvalidParams{Context: "AutoMLS3DataSource"}
14520	if s.S3DataType == nil {
14521		invalidParams.Add(request.NewErrParamRequired("S3DataType"))
14522	}
14523	if s.S3Uri == nil {
14524		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
14525	}
14526
14527	if invalidParams.Len() > 0 {
14528		return invalidParams
14529	}
14530	return nil
14531}
14532
14533// SetS3DataType sets the S3DataType field's value.
14534func (s *AutoMLS3DataSource) SetS3DataType(v string) *AutoMLS3DataSource {
14535	s.S3DataType = &v
14536	return s
14537}
14538
14539// SetS3Uri sets the S3Uri field's value.
14540func (s *AutoMLS3DataSource) SetS3Uri(v string) *AutoMLS3DataSource {
14541	s.S3Uri = &v
14542	return s
14543}
14544
14545// Security options.
14546type AutoMLSecurityConfig struct {
14547	_ struct{} `type:"structure"`
14548
14549	// Whether to use traffic encryption between the container layers.
14550	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
14551
14552	// The key used to encrypt stored data.
14553	VolumeKmsKeyId *string `type:"string"`
14554
14555	// VPC configuration.
14556	VpcConfig *VpcConfig `type:"structure"`
14557}
14558
14559// String returns the string representation
14560func (s AutoMLSecurityConfig) String() string {
14561	return awsutil.Prettify(s)
14562}
14563
14564// GoString returns the string representation
14565func (s AutoMLSecurityConfig) GoString() string {
14566	return s.String()
14567}
14568
14569// Validate inspects the fields of the type to determine if they are valid.
14570func (s *AutoMLSecurityConfig) Validate() error {
14571	invalidParams := request.ErrInvalidParams{Context: "AutoMLSecurityConfig"}
14572	if s.VpcConfig != nil {
14573		if err := s.VpcConfig.Validate(); err != nil {
14574			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
14575		}
14576	}
14577
14578	if invalidParams.Len() > 0 {
14579		return invalidParams
14580	}
14581	return nil
14582}
14583
14584// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
14585func (s *AutoMLSecurityConfig) SetEnableInterContainerTrafficEncryption(v bool) *AutoMLSecurityConfig {
14586	s.EnableInterContainerTrafficEncryption = &v
14587	return s
14588}
14589
14590// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
14591func (s *AutoMLSecurityConfig) SetVolumeKmsKeyId(v string) *AutoMLSecurityConfig {
14592	s.VolumeKmsKeyId = &v
14593	return s
14594}
14595
14596// SetVpcConfig sets the VpcConfig field's value.
14597func (s *AutoMLSecurityConfig) SetVpcConfig(v *VpcConfig) *AutoMLSecurityConfig {
14598	s.VpcConfig = v
14599	return s
14600}
14601
14602type CaptureContentTypeHeader struct {
14603	_ struct{} `type:"structure"`
14604
14605	CsvContentTypes []*string `min:"1" type:"list"`
14606
14607	JsonContentTypes []*string `min:"1" type:"list"`
14608}
14609
14610// String returns the string representation
14611func (s CaptureContentTypeHeader) String() string {
14612	return awsutil.Prettify(s)
14613}
14614
14615// GoString returns the string representation
14616func (s CaptureContentTypeHeader) GoString() string {
14617	return s.String()
14618}
14619
14620// Validate inspects the fields of the type to determine if they are valid.
14621func (s *CaptureContentTypeHeader) Validate() error {
14622	invalidParams := request.ErrInvalidParams{Context: "CaptureContentTypeHeader"}
14623	if s.CsvContentTypes != nil && len(s.CsvContentTypes) < 1 {
14624		invalidParams.Add(request.NewErrParamMinLen("CsvContentTypes", 1))
14625	}
14626	if s.JsonContentTypes != nil && len(s.JsonContentTypes) < 1 {
14627		invalidParams.Add(request.NewErrParamMinLen("JsonContentTypes", 1))
14628	}
14629
14630	if invalidParams.Len() > 0 {
14631		return invalidParams
14632	}
14633	return nil
14634}
14635
14636// SetCsvContentTypes sets the CsvContentTypes field's value.
14637func (s *CaptureContentTypeHeader) SetCsvContentTypes(v []*string) *CaptureContentTypeHeader {
14638	s.CsvContentTypes = v
14639	return s
14640}
14641
14642// SetJsonContentTypes sets the JsonContentTypes field's value.
14643func (s *CaptureContentTypeHeader) SetJsonContentTypes(v []*string) *CaptureContentTypeHeader {
14644	s.JsonContentTypes = v
14645	return s
14646}
14647
14648type CaptureOption struct {
14649	_ struct{} `type:"structure"`
14650
14651	// CaptureMode is a required field
14652	CaptureMode *string `type:"string" required:"true" enum:"CaptureMode"`
14653}
14654
14655// String returns the string representation
14656func (s CaptureOption) String() string {
14657	return awsutil.Prettify(s)
14658}
14659
14660// GoString returns the string representation
14661func (s CaptureOption) GoString() string {
14662	return s.String()
14663}
14664
14665// Validate inspects the fields of the type to determine if they are valid.
14666func (s *CaptureOption) Validate() error {
14667	invalidParams := request.ErrInvalidParams{Context: "CaptureOption"}
14668	if s.CaptureMode == nil {
14669		invalidParams.Add(request.NewErrParamRequired("CaptureMode"))
14670	}
14671
14672	if invalidParams.Len() > 0 {
14673		return invalidParams
14674	}
14675	return nil
14676}
14677
14678// SetCaptureMode sets the CaptureMode field's value.
14679func (s *CaptureOption) SetCaptureMode(v string) *CaptureOption {
14680	s.CaptureMode = &v
14681	return s
14682}
14683
14684// A list of categorical hyperparameters to tune.
14685type CategoricalParameterRange struct {
14686	_ struct{} `type:"structure"`
14687
14688	// The name of the categorical hyperparameter to tune.
14689	//
14690	// Name is a required field
14691	Name *string `type:"string" required:"true"`
14692
14693	// A list of the categories for the hyperparameter.
14694	//
14695	// Values is a required field
14696	Values []*string `min:"1" type:"list" required:"true"`
14697}
14698
14699// String returns the string representation
14700func (s CategoricalParameterRange) String() string {
14701	return awsutil.Prettify(s)
14702}
14703
14704// GoString returns the string representation
14705func (s CategoricalParameterRange) GoString() string {
14706	return s.String()
14707}
14708
14709// Validate inspects the fields of the type to determine if they are valid.
14710func (s *CategoricalParameterRange) Validate() error {
14711	invalidParams := request.ErrInvalidParams{Context: "CategoricalParameterRange"}
14712	if s.Name == nil {
14713		invalidParams.Add(request.NewErrParamRequired("Name"))
14714	}
14715	if s.Values == nil {
14716		invalidParams.Add(request.NewErrParamRequired("Values"))
14717	}
14718	if s.Values != nil && len(s.Values) < 1 {
14719		invalidParams.Add(request.NewErrParamMinLen("Values", 1))
14720	}
14721
14722	if invalidParams.Len() > 0 {
14723		return invalidParams
14724	}
14725	return nil
14726}
14727
14728// SetName sets the Name field's value.
14729func (s *CategoricalParameterRange) SetName(v string) *CategoricalParameterRange {
14730	s.Name = &v
14731	return s
14732}
14733
14734// SetValues sets the Values field's value.
14735func (s *CategoricalParameterRange) SetValues(v []*string) *CategoricalParameterRange {
14736	s.Values = v
14737	return s
14738}
14739
14740// Defines the possible values for a categorical hyperparameter.
14741type CategoricalParameterRangeSpecification struct {
14742	_ struct{} `type:"structure"`
14743
14744	// The allowed categories for the hyperparameter.
14745	//
14746	// Values is a required field
14747	Values []*string `min:"1" type:"list" required:"true"`
14748}
14749
14750// String returns the string representation
14751func (s CategoricalParameterRangeSpecification) String() string {
14752	return awsutil.Prettify(s)
14753}
14754
14755// GoString returns the string representation
14756func (s CategoricalParameterRangeSpecification) GoString() string {
14757	return s.String()
14758}
14759
14760// Validate inspects the fields of the type to determine if they are valid.
14761func (s *CategoricalParameterRangeSpecification) Validate() error {
14762	invalidParams := request.ErrInvalidParams{Context: "CategoricalParameterRangeSpecification"}
14763	if s.Values == nil {
14764		invalidParams.Add(request.NewErrParamRequired("Values"))
14765	}
14766	if s.Values != nil && len(s.Values) < 1 {
14767		invalidParams.Add(request.NewErrParamMinLen("Values", 1))
14768	}
14769
14770	if invalidParams.Len() > 0 {
14771		return invalidParams
14772	}
14773	return nil
14774}
14775
14776// SetValues sets the Values field's value.
14777func (s *CategoricalParameterRangeSpecification) SetValues(v []*string) *CategoricalParameterRangeSpecification {
14778	s.Values = v
14779	return s
14780}
14781
14782// A channel is a named input source that training algorithms can consume.
14783type Channel struct {
14784	_ struct{} `type:"structure"`
14785
14786	// The name of the channel.
14787	//
14788	// ChannelName is a required field
14789	ChannelName *string `min:"1" type:"string" required:"true"`
14790
14791	// If training data is compressed, the compression type. The default value is
14792	// None. CompressionType is used only in Pipe input mode. In File mode, leave
14793	// this field unset or set it to None.
14794	CompressionType *string `type:"string" enum:"CompressionType"`
14795
14796	// The MIME type of the data.
14797	ContentType *string `type:"string"`
14798
14799	// The location of the channel data.
14800	//
14801	// DataSource is a required field
14802	DataSource *DataSource `type:"structure" required:"true"`
14803
14804	// (Optional) The input mode to use for the data channel in a training job.
14805	// If you don't set a value for InputMode, Amazon SageMaker uses the value set
14806	// for TrainingInputMode. Use this parameter to override the TrainingInputMode
14807	// setting in a AlgorithmSpecification request when you have a channel that
14808	// needs a different input mode from the training job's general setting. To
14809	// download the data from Amazon Simple Storage Service (Amazon S3) to the provisioned
14810	// ML storage volume, and mount the directory to a Docker volume, use File input
14811	// mode. To stream data directly from Amazon S3 to the container, choose Pipe
14812	// input mode.
14813	//
14814	// To use a model for incremental training, choose File input model.
14815	InputMode *string `type:"string" enum:"TrainingInputMode"`
14816
14817	// Specify RecordIO as the value when input data is in raw format but the training
14818	// algorithm requires the RecordIO format. In this case, Amazon SageMaker wraps
14819	// each individual S3 object in a RecordIO record. If the input data is already
14820	// in RecordIO format, you don't need to set this attribute. For more information,
14821	// see Create a Dataset Using RecordIO (https://mxnet.apache.org/api/architecture/note_data_loading#data-format).
14822	//
14823	// In File mode, leave this field unset or set it to None.
14824	RecordWrapperType *string `type:"string" enum:"RecordWrapper"`
14825
14826	// A configuration for a shuffle option for input data in a channel. If you
14827	// use S3Prefix for S3DataType, this shuffles the results of the S3 key prefix
14828	// matches. If you use ManifestFile, the order of the S3 object references in
14829	// the ManifestFile is shuffled. If you use AugmentedManifestFile, the order
14830	// of the JSON lines in the AugmentedManifestFile is shuffled. The shuffling
14831	// order is determined using the Seed value.
14832	//
14833	// For Pipe input mode, shuffling is done at the start of every epoch. With
14834	// large datasets this ensures that the order of the training data is different
14835	// for each epoch, it helps reduce bias and possible overfitting. In a multi-node
14836	// training job when ShuffleConfig is combined with S3DataDistributionType of
14837	// ShardedByS3Key, the data is shuffled across nodes so that the content sent
14838	// to a particular node on the first epoch might be sent to a different node
14839	// on the second epoch.
14840	ShuffleConfig *ShuffleConfig `type:"structure"`
14841}
14842
14843// String returns the string representation
14844func (s Channel) String() string {
14845	return awsutil.Prettify(s)
14846}
14847
14848// GoString returns the string representation
14849func (s Channel) GoString() string {
14850	return s.String()
14851}
14852
14853// Validate inspects the fields of the type to determine if they are valid.
14854func (s *Channel) Validate() error {
14855	invalidParams := request.ErrInvalidParams{Context: "Channel"}
14856	if s.ChannelName == nil {
14857		invalidParams.Add(request.NewErrParamRequired("ChannelName"))
14858	}
14859	if s.ChannelName != nil && len(*s.ChannelName) < 1 {
14860		invalidParams.Add(request.NewErrParamMinLen("ChannelName", 1))
14861	}
14862	if s.DataSource == nil {
14863		invalidParams.Add(request.NewErrParamRequired("DataSource"))
14864	}
14865	if s.DataSource != nil {
14866		if err := s.DataSource.Validate(); err != nil {
14867			invalidParams.AddNested("DataSource", err.(request.ErrInvalidParams))
14868		}
14869	}
14870	if s.ShuffleConfig != nil {
14871		if err := s.ShuffleConfig.Validate(); err != nil {
14872			invalidParams.AddNested("ShuffleConfig", err.(request.ErrInvalidParams))
14873		}
14874	}
14875
14876	if invalidParams.Len() > 0 {
14877		return invalidParams
14878	}
14879	return nil
14880}
14881
14882// SetChannelName sets the ChannelName field's value.
14883func (s *Channel) SetChannelName(v string) *Channel {
14884	s.ChannelName = &v
14885	return s
14886}
14887
14888// SetCompressionType sets the CompressionType field's value.
14889func (s *Channel) SetCompressionType(v string) *Channel {
14890	s.CompressionType = &v
14891	return s
14892}
14893
14894// SetContentType sets the ContentType field's value.
14895func (s *Channel) SetContentType(v string) *Channel {
14896	s.ContentType = &v
14897	return s
14898}
14899
14900// SetDataSource sets the DataSource field's value.
14901func (s *Channel) SetDataSource(v *DataSource) *Channel {
14902	s.DataSource = v
14903	return s
14904}
14905
14906// SetInputMode sets the InputMode field's value.
14907func (s *Channel) SetInputMode(v string) *Channel {
14908	s.InputMode = &v
14909	return s
14910}
14911
14912// SetRecordWrapperType sets the RecordWrapperType field's value.
14913func (s *Channel) SetRecordWrapperType(v string) *Channel {
14914	s.RecordWrapperType = &v
14915	return s
14916}
14917
14918// SetShuffleConfig sets the ShuffleConfig field's value.
14919func (s *Channel) SetShuffleConfig(v *ShuffleConfig) *Channel {
14920	s.ShuffleConfig = v
14921	return s
14922}
14923
14924// Defines a named input source, called a channel, to be used by an algorithm.
14925type ChannelSpecification struct {
14926	_ struct{} `type:"structure"`
14927
14928	// A brief description of the channel.
14929	Description *string `type:"string"`
14930
14931	// Indicates whether the channel is required by the algorithm.
14932	IsRequired *bool `type:"boolean"`
14933
14934	// The name of the channel.
14935	//
14936	// Name is a required field
14937	Name *string `min:"1" type:"string" required:"true"`
14938
14939	// The allowed compression types, if data compression is used.
14940	SupportedCompressionTypes []*string `type:"list"`
14941
14942	// The supported MIME types for the data.
14943	//
14944	// SupportedContentTypes is a required field
14945	SupportedContentTypes []*string `type:"list" required:"true"`
14946
14947	// The allowed input mode, either FILE or PIPE.
14948	//
14949	// In FILE mode, Amazon SageMaker copies the data from the input source onto
14950	// the local Amazon Elastic Block Store (Amazon EBS) volumes before starting
14951	// your training algorithm. This is the most commonly used input mode.
14952	//
14953	// In PIPE mode, Amazon SageMaker streams input data from the source directly
14954	// to your algorithm without using the EBS volume.
14955	//
14956	// SupportedInputModes is a required field
14957	SupportedInputModes []*string `min:"1" type:"list" required:"true"`
14958}
14959
14960// String returns the string representation
14961func (s ChannelSpecification) String() string {
14962	return awsutil.Prettify(s)
14963}
14964
14965// GoString returns the string representation
14966func (s ChannelSpecification) GoString() string {
14967	return s.String()
14968}
14969
14970// Validate inspects the fields of the type to determine if they are valid.
14971func (s *ChannelSpecification) Validate() error {
14972	invalidParams := request.ErrInvalidParams{Context: "ChannelSpecification"}
14973	if s.Name == nil {
14974		invalidParams.Add(request.NewErrParamRequired("Name"))
14975	}
14976	if s.Name != nil && len(*s.Name) < 1 {
14977		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
14978	}
14979	if s.SupportedContentTypes == nil {
14980		invalidParams.Add(request.NewErrParamRequired("SupportedContentTypes"))
14981	}
14982	if s.SupportedInputModes == nil {
14983		invalidParams.Add(request.NewErrParamRequired("SupportedInputModes"))
14984	}
14985	if s.SupportedInputModes != nil && len(s.SupportedInputModes) < 1 {
14986		invalidParams.Add(request.NewErrParamMinLen("SupportedInputModes", 1))
14987	}
14988
14989	if invalidParams.Len() > 0 {
14990		return invalidParams
14991	}
14992	return nil
14993}
14994
14995// SetDescription sets the Description field's value.
14996func (s *ChannelSpecification) SetDescription(v string) *ChannelSpecification {
14997	s.Description = &v
14998	return s
14999}
15000
15001// SetIsRequired sets the IsRequired field's value.
15002func (s *ChannelSpecification) SetIsRequired(v bool) *ChannelSpecification {
15003	s.IsRequired = &v
15004	return s
15005}
15006
15007// SetName sets the Name field's value.
15008func (s *ChannelSpecification) SetName(v string) *ChannelSpecification {
15009	s.Name = &v
15010	return s
15011}
15012
15013// SetSupportedCompressionTypes sets the SupportedCompressionTypes field's value.
15014func (s *ChannelSpecification) SetSupportedCompressionTypes(v []*string) *ChannelSpecification {
15015	s.SupportedCompressionTypes = v
15016	return s
15017}
15018
15019// SetSupportedContentTypes sets the SupportedContentTypes field's value.
15020func (s *ChannelSpecification) SetSupportedContentTypes(v []*string) *ChannelSpecification {
15021	s.SupportedContentTypes = v
15022	return s
15023}
15024
15025// SetSupportedInputModes sets the SupportedInputModes field's value.
15026func (s *ChannelSpecification) SetSupportedInputModes(v []*string) *ChannelSpecification {
15027	s.SupportedInputModes = v
15028	return s
15029}
15030
15031// Contains information about the output location for managed spot training
15032// checkpoint data.
15033type CheckpointConfig struct {
15034	_ struct{} `type:"structure"`
15035
15036	// (Optional) The local directory where checkpoints are written. The default
15037	// directory is /opt/ml/checkpoints/.
15038	LocalPath *string `type:"string"`
15039
15040	// Identifies the S3 path where you want Amazon SageMaker to store checkpoints.
15041	// For example, s3://bucket-name/key-name-prefix.
15042	//
15043	// S3Uri is a required field
15044	S3Uri *string `type:"string" required:"true"`
15045}
15046
15047// String returns the string representation
15048func (s CheckpointConfig) String() string {
15049	return awsutil.Prettify(s)
15050}
15051
15052// GoString returns the string representation
15053func (s CheckpointConfig) GoString() string {
15054	return s.String()
15055}
15056
15057// Validate inspects the fields of the type to determine if they are valid.
15058func (s *CheckpointConfig) Validate() error {
15059	invalidParams := request.ErrInvalidParams{Context: "CheckpointConfig"}
15060	if s.S3Uri == nil {
15061		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
15062	}
15063
15064	if invalidParams.Len() > 0 {
15065		return invalidParams
15066	}
15067	return nil
15068}
15069
15070// SetLocalPath sets the LocalPath field's value.
15071func (s *CheckpointConfig) SetLocalPath(v string) *CheckpointConfig {
15072	s.LocalPath = &v
15073	return s
15074}
15075
15076// SetS3Uri sets the S3Uri field's value.
15077func (s *CheckpointConfig) SetS3Uri(v string) *CheckpointConfig {
15078	s.S3Uri = &v
15079	return s
15080}
15081
15082// Specifies summary information about a Git repository.
15083type CodeRepositorySummary struct {
15084	_ struct{} `type:"structure"`
15085
15086	// The Amazon Resource Name (ARN) of the Git repository.
15087	//
15088	// CodeRepositoryArn is a required field
15089	CodeRepositoryArn *string `min:"1" type:"string" required:"true"`
15090
15091	// The name of the Git repository.
15092	//
15093	// CodeRepositoryName is a required field
15094	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
15095
15096	// The date and time that the Git repository was created.
15097	//
15098	// CreationTime is a required field
15099	CreationTime *time.Time `type:"timestamp" required:"true"`
15100
15101	// Configuration details for the Git repository, including the URL where it
15102	// is located and the ARN of the AWS Secrets Manager secret that contains the
15103	// credentials used to access the repository.
15104	GitConfig *GitConfig `type:"structure"`
15105
15106	// The date and time that the Git repository was last modified.
15107	//
15108	// LastModifiedTime is a required field
15109	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
15110}
15111
15112// String returns the string representation
15113func (s CodeRepositorySummary) String() string {
15114	return awsutil.Prettify(s)
15115}
15116
15117// GoString returns the string representation
15118func (s CodeRepositorySummary) GoString() string {
15119	return s.String()
15120}
15121
15122// SetCodeRepositoryArn sets the CodeRepositoryArn field's value.
15123func (s *CodeRepositorySummary) SetCodeRepositoryArn(v string) *CodeRepositorySummary {
15124	s.CodeRepositoryArn = &v
15125	return s
15126}
15127
15128// SetCodeRepositoryName sets the CodeRepositoryName field's value.
15129func (s *CodeRepositorySummary) SetCodeRepositoryName(v string) *CodeRepositorySummary {
15130	s.CodeRepositoryName = &v
15131	return s
15132}
15133
15134// SetCreationTime sets the CreationTime field's value.
15135func (s *CodeRepositorySummary) SetCreationTime(v time.Time) *CodeRepositorySummary {
15136	s.CreationTime = &v
15137	return s
15138}
15139
15140// SetGitConfig sets the GitConfig field's value.
15141func (s *CodeRepositorySummary) SetGitConfig(v *GitConfig) *CodeRepositorySummary {
15142	s.GitConfig = v
15143	return s
15144}
15145
15146// SetLastModifiedTime sets the LastModifiedTime field's value.
15147func (s *CodeRepositorySummary) SetLastModifiedTime(v time.Time) *CodeRepositorySummary {
15148	s.LastModifiedTime = &v
15149	return s
15150}
15151
15152// Identifies a Amazon Cognito user group. A user group can be used in on or
15153// more work teams.
15154type CognitoMemberDefinition struct {
15155	_ struct{} `type:"structure"`
15156
15157	// An identifier for an application client. You must create the app client ID
15158	// using Amazon Cognito.
15159	//
15160	// ClientId is a required field
15161	ClientId *string `min:"1" type:"string" required:"true"`
15162
15163	// An identifier for a user group.
15164	//
15165	// UserGroup is a required field
15166	UserGroup *string `min:"1" type:"string" required:"true"`
15167
15168	// An identifier for a user pool. The user pool must be in the same region as
15169	// the service that you are calling.
15170	//
15171	// UserPool is a required field
15172	UserPool *string `min:"1" type:"string" required:"true"`
15173}
15174
15175// String returns the string representation
15176func (s CognitoMemberDefinition) String() string {
15177	return awsutil.Prettify(s)
15178}
15179
15180// GoString returns the string representation
15181func (s CognitoMemberDefinition) GoString() string {
15182	return s.String()
15183}
15184
15185// Validate inspects the fields of the type to determine if they are valid.
15186func (s *CognitoMemberDefinition) Validate() error {
15187	invalidParams := request.ErrInvalidParams{Context: "CognitoMemberDefinition"}
15188	if s.ClientId == nil {
15189		invalidParams.Add(request.NewErrParamRequired("ClientId"))
15190	}
15191	if s.ClientId != nil && len(*s.ClientId) < 1 {
15192		invalidParams.Add(request.NewErrParamMinLen("ClientId", 1))
15193	}
15194	if s.UserGroup == nil {
15195		invalidParams.Add(request.NewErrParamRequired("UserGroup"))
15196	}
15197	if s.UserGroup != nil && len(*s.UserGroup) < 1 {
15198		invalidParams.Add(request.NewErrParamMinLen("UserGroup", 1))
15199	}
15200	if s.UserPool == nil {
15201		invalidParams.Add(request.NewErrParamRequired("UserPool"))
15202	}
15203	if s.UserPool != nil && len(*s.UserPool) < 1 {
15204		invalidParams.Add(request.NewErrParamMinLen("UserPool", 1))
15205	}
15206
15207	if invalidParams.Len() > 0 {
15208		return invalidParams
15209	}
15210	return nil
15211}
15212
15213// SetClientId sets the ClientId field's value.
15214func (s *CognitoMemberDefinition) SetClientId(v string) *CognitoMemberDefinition {
15215	s.ClientId = &v
15216	return s
15217}
15218
15219// SetUserGroup sets the UserGroup field's value.
15220func (s *CognitoMemberDefinition) SetUserGroup(v string) *CognitoMemberDefinition {
15221	s.UserGroup = &v
15222	return s
15223}
15224
15225// SetUserPool sets the UserPool field's value.
15226func (s *CognitoMemberDefinition) SetUserPool(v string) *CognitoMemberDefinition {
15227	s.UserPool = &v
15228	return s
15229}
15230
15231// Configuration information for tensor collections.
15232type CollectionConfiguration struct {
15233	_ struct{} `type:"structure"`
15234
15235	// The name of the tensor collection. The name must be unique relative to other
15236	// rule configuration names.
15237	CollectionName *string `min:"1" type:"string"`
15238
15239	// Parameter values for the tensor collection. The allowed parameters are "name",
15240	// "include_regex", "reduction_config", "save_config", "tensor_names", and "save_histogram".
15241	CollectionParameters map[string]*string `type:"map"`
15242}
15243
15244// String returns the string representation
15245func (s CollectionConfiguration) String() string {
15246	return awsutil.Prettify(s)
15247}
15248
15249// GoString returns the string representation
15250func (s CollectionConfiguration) GoString() string {
15251	return s.String()
15252}
15253
15254// Validate inspects the fields of the type to determine if they are valid.
15255func (s *CollectionConfiguration) Validate() error {
15256	invalidParams := request.ErrInvalidParams{Context: "CollectionConfiguration"}
15257	if s.CollectionName != nil && len(*s.CollectionName) < 1 {
15258		invalidParams.Add(request.NewErrParamMinLen("CollectionName", 1))
15259	}
15260
15261	if invalidParams.Len() > 0 {
15262		return invalidParams
15263	}
15264	return nil
15265}
15266
15267// SetCollectionName sets the CollectionName field's value.
15268func (s *CollectionConfiguration) SetCollectionName(v string) *CollectionConfiguration {
15269	s.CollectionName = &v
15270	return s
15271}
15272
15273// SetCollectionParameters sets the CollectionParameters field's value.
15274func (s *CollectionConfiguration) SetCollectionParameters(v map[string]*string) *CollectionConfiguration {
15275	s.CollectionParameters = v
15276	return s
15277}
15278
15279// A summary of a model compilation job.
15280type CompilationJobSummary struct {
15281	_ struct{} `type:"structure"`
15282
15283	// The time when the model compilation job completed.
15284	CompilationEndTime *time.Time `type:"timestamp"`
15285
15286	// The Amazon Resource Name (ARN) of the model compilation job.
15287	//
15288	// CompilationJobArn is a required field
15289	CompilationJobArn *string `type:"string" required:"true"`
15290
15291	// The name of the model compilation job that you want a summary for.
15292	//
15293	// CompilationJobName is a required field
15294	CompilationJobName *string `min:"1" type:"string" required:"true"`
15295
15296	// The status of the model compilation job.
15297	//
15298	// CompilationJobStatus is a required field
15299	CompilationJobStatus *string `type:"string" required:"true" enum:"CompilationJobStatus"`
15300
15301	// The time when the model compilation job started.
15302	CompilationStartTime *time.Time `type:"timestamp"`
15303
15304	// The type of device that the model will run on after compilation has completed.
15305	//
15306	// CompilationTargetDevice is a required field
15307	CompilationTargetDevice *string `type:"string" required:"true" enum:"TargetDevice"`
15308
15309	// The time when the model compilation job was created.
15310	//
15311	// CreationTime is a required field
15312	CreationTime *time.Time `type:"timestamp" required:"true"`
15313
15314	// The time when the model compilation job was last modified.
15315	LastModifiedTime *time.Time `type:"timestamp"`
15316}
15317
15318// String returns the string representation
15319func (s CompilationJobSummary) String() string {
15320	return awsutil.Prettify(s)
15321}
15322
15323// GoString returns the string representation
15324func (s CompilationJobSummary) GoString() string {
15325	return s.String()
15326}
15327
15328// SetCompilationEndTime sets the CompilationEndTime field's value.
15329func (s *CompilationJobSummary) SetCompilationEndTime(v time.Time) *CompilationJobSummary {
15330	s.CompilationEndTime = &v
15331	return s
15332}
15333
15334// SetCompilationJobArn sets the CompilationJobArn field's value.
15335func (s *CompilationJobSummary) SetCompilationJobArn(v string) *CompilationJobSummary {
15336	s.CompilationJobArn = &v
15337	return s
15338}
15339
15340// SetCompilationJobName sets the CompilationJobName field's value.
15341func (s *CompilationJobSummary) SetCompilationJobName(v string) *CompilationJobSummary {
15342	s.CompilationJobName = &v
15343	return s
15344}
15345
15346// SetCompilationJobStatus sets the CompilationJobStatus field's value.
15347func (s *CompilationJobSummary) SetCompilationJobStatus(v string) *CompilationJobSummary {
15348	s.CompilationJobStatus = &v
15349	return s
15350}
15351
15352// SetCompilationStartTime sets the CompilationStartTime field's value.
15353func (s *CompilationJobSummary) SetCompilationStartTime(v time.Time) *CompilationJobSummary {
15354	s.CompilationStartTime = &v
15355	return s
15356}
15357
15358// SetCompilationTargetDevice sets the CompilationTargetDevice field's value.
15359func (s *CompilationJobSummary) SetCompilationTargetDevice(v string) *CompilationJobSummary {
15360	s.CompilationTargetDevice = &v
15361	return s
15362}
15363
15364// SetCreationTime sets the CreationTime field's value.
15365func (s *CompilationJobSummary) SetCreationTime(v time.Time) *CompilationJobSummary {
15366	s.CreationTime = &v
15367	return s
15368}
15369
15370// SetLastModifiedTime sets the LastModifiedTime field's value.
15371func (s *CompilationJobSummary) SetLastModifiedTime(v time.Time) *CompilationJobSummary {
15372	s.LastModifiedTime = &v
15373	return s
15374}
15375
15376// There was a conflict when you attempted to modify an experiment, trial, or
15377// trial component.
15378type ConflictException struct {
15379	_            struct{}                  `type:"structure"`
15380	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
15381
15382	Message_ *string `locationName:"Message" type:"string"`
15383}
15384
15385// String returns the string representation
15386func (s ConflictException) String() string {
15387	return awsutil.Prettify(s)
15388}
15389
15390// GoString returns the string representation
15391func (s ConflictException) GoString() string {
15392	return s.String()
15393}
15394
15395func newErrorConflictException(v protocol.ResponseMetadata) error {
15396	return &ConflictException{
15397		RespMetadata: v,
15398	}
15399}
15400
15401// Code returns the exception type name.
15402func (s *ConflictException) Code() string {
15403	return "ConflictException"
15404}
15405
15406// Message returns the exception's message.
15407func (s *ConflictException) Message() string {
15408	if s.Message_ != nil {
15409		return *s.Message_
15410	}
15411	return ""
15412}
15413
15414// OrigErr always returns nil, satisfies awserr.Error interface.
15415func (s *ConflictException) OrigErr() error {
15416	return nil
15417}
15418
15419func (s *ConflictException) Error() string {
15420	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
15421}
15422
15423// Status code returns the HTTP status code for the request's response error.
15424func (s *ConflictException) StatusCode() int {
15425	return s.RespMetadata.StatusCode
15426}
15427
15428// RequestID returns the service's response RequestID for request.
15429func (s *ConflictException) RequestID() string {
15430	return s.RespMetadata.RequestID
15431}
15432
15433// Describes the container, as part of model definition.
15434type ContainerDefinition struct {
15435	_ struct{} `type:"structure"`
15436
15437	// This parameter is ignored for models that contain only a PrimaryContainer.
15438	//
15439	// When a ContainerDefinition is part of an inference pipeline, the value of
15440	// the parameter uniquely identifies the container for the purposes of logging
15441	// and metrics. For information, see Use Logs and Metrics to Monitor an Inference
15442	// Pipeline (https://docs.aws.amazon.com/sagemaker/latest/dg/inference-pipeline-logs-metrics.html).
15443	// If you don't specify a value for this parameter for a ContainerDefinition
15444	// that is part of an inference pipeline, a unique name is automatically assigned
15445	// based on the position of the ContainerDefinition in the pipeline. If you
15446	// specify a value for the ContainerHostName for any ContainerDefinition that
15447	// is part of an inference pipeline, you must specify a value for the ContainerHostName
15448	// parameter of every ContainerDefinition in that pipeline.
15449	ContainerHostname *string `type:"string"`
15450
15451	// The environment variables to set in the Docker container. Each key and value
15452	// in the Environment string to string map can have length of up to 1024. We
15453	// support up to 16 entries in the map.
15454	Environment map[string]*string `type:"map"`
15455
15456	// The Amazon EC2 Container Registry (Amazon ECR) path where inference code
15457	// is stored. If you are using your own custom algorithm instead of an algorithm
15458	// provided by Amazon SageMaker, the inference code must meet Amazon SageMaker
15459	// requirements. Amazon SageMaker supports both registry/repository[:tag] and
15460	// registry/repository[@digest] image path formats. For more information, see
15461	// Using Your Own Algorithms with Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html)
15462	Image *string `type:"string"`
15463
15464	// Whether the container hosts a single model or multiple models.
15465	Mode *string `type:"string" enum:"ContainerMode"`
15466
15467	// The S3 path where the model artifacts, which result from model training,
15468	// are stored. This path must point to a single gzip compressed tar archive
15469	// (.tar.gz suffix). The S3 path is required for Amazon SageMaker built-in algorithms,
15470	// but not if you use your own algorithms. For more information on built-in
15471	// algorithms, see Common Parameters (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html).
15472	//
15473	// If you provide a value for this parameter, Amazon SageMaker uses AWS Security
15474	// Token Service to download model artifacts from the S3 path you provide. AWS
15475	// STS is activated in your IAM user account by default. If you previously deactivated
15476	// AWS STS for a region, you need to reactivate AWS STS for that region. For
15477	// more information, see Activating and Deactivating AWS STS in an AWS Region
15478	// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
15479	// in the AWS Identity and Access Management User Guide.
15480	//
15481	// If you use a built-in algorithm to create a model, Amazon SageMaker requires
15482	// that you provide a S3 path to the model artifacts in ModelDataUrl.
15483	ModelDataUrl *string `type:"string"`
15484
15485	// The name or Amazon Resource Name (ARN) of the model package to use to create
15486	// the model.
15487	ModelPackageName *string `min:"1" type:"string"`
15488}
15489
15490// String returns the string representation
15491func (s ContainerDefinition) String() string {
15492	return awsutil.Prettify(s)
15493}
15494
15495// GoString returns the string representation
15496func (s ContainerDefinition) GoString() string {
15497	return s.String()
15498}
15499
15500// Validate inspects the fields of the type to determine if they are valid.
15501func (s *ContainerDefinition) Validate() error {
15502	invalidParams := request.ErrInvalidParams{Context: "ContainerDefinition"}
15503	if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 {
15504		invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1))
15505	}
15506
15507	if invalidParams.Len() > 0 {
15508		return invalidParams
15509	}
15510	return nil
15511}
15512
15513// SetContainerHostname sets the ContainerHostname field's value.
15514func (s *ContainerDefinition) SetContainerHostname(v string) *ContainerDefinition {
15515	s.ContainerHostname = &v
15516	return s
15517}
15518
15519// SetEnvironment sets the Environment field's value.
15520func (s *ContainerDefinition) SetEnvironment(v map[string]*string) *ContainerDefinition {
15521	s.Environment = v
15522	return s
15523}
15524
15525// SetImage sets the Image field's value.
15526func (s *ContainerDefinition) SetImage(v string) *ContainerDefinition {
15527	s.Image = &v
15528	return s
15529}
15530
15531// SetMode sets the Mode field's value.
15532func (s *ContainerDefinition) SetMode(v string) *ContainerDefinition {
15533	s.Mode = &v
15534	return s
15535}
15536
15537// SetModelDataUrl sets the ModelDataUrl field's value.
15538func (s *ContainerDefinition) SetModelDataUrl(v string) *ContainerDefinition {
15539	s.ModelDataUrl = &v
15540	return s
15541}
15542
15543// SetModelPackageName sets the ModelPackageName field's value.
15544func (s *ContainerDefinition) SetModelPackageName(v string) *ContainerDefinition {
15545	s.ModelPackageName = &v
15546	return s
15547}
15548
15549// A list of continuous hyperparameters to tune.
15550type ContinuousParameterRange struct {
15551	_ struct{} `type:"structure"`
15552
15553	// The maximum value for the hyperparameter. The tuning job uses floating-point
15554	// values between MinValue value and this value for tuning.
15555	//
15556	// MaxValue is a required field
15557	MaxValue *string `type:"string" required:"true"`
15558
15559	// The minimum value for the hyperparameter. The tuning job uses floating-point
15560	// values between this value and MaxValuefor tuning.
15561	//
15562	// MinValue is a required field
15563	MinValue *string `type:"string" required:"true"`
15564
15565	// The name of the continuous hyperparameter to tune.
15566	//
15567	// Name is a required field
15568	Name *string `type:"string" required:"true"`
15569
15570	// The scale that hyperparameter tuning uses to search the hyperparameter range.
15571	// For information about choosing a hyperparameter scale, see Hyperparameter
15572	// Scaling (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-ranges.html#scaling-type).
15573	// One of the following values:
15574	//
15575	// Auto
15576	//
15577	// Amazon SageMaker hyperparameter tuning chooses the best scale for the hyperparameter.
15578	//
15579	// Linear
15580	//
15581	// Hyperparameter tuning searches the values in the hyperparameter range by
15582	// using a linear scale.
15583	//
15584	// Logarithmic
15585	//
15586	// Hyperparameter tuning searches the values in the hyperparameter range by
15587	// using a logarithmic scale.
15588	//
15589	// Logarithmic scaling works only for ranges that have only values greater than
15590	// 0.
15591	//
15592	// ReverseLogarithmic
15593	//
15594	// Hyperparameter tuning searches the values in the hyperparameter range by
15595	// using a reverse logarithmic scale.
15596	//
15597	// Reverse logarithmic scaling works only for ranges that are entirely within
15598	// the range 0<=x<1.0.
15599	ScalingType *string `type:"string" enum:"HyperParameterScalingType"`
15600}
15601
15602// String returns the string representation
15603func (s ContinuousParameterRange) String() string {
15604	return awsutil.Prettify(s)
15605}
15606
15607// GoString returns the string representation
15608func (s ContinuousParameterRange) GoString() string {
15609	return s.String()
15610}
15611
15612// Validate inspects the fields of the type to determine if they are valid.
15613func (s *ContinuousParameterRange) Validate() error {
15614	invalidParams := request.ErrInvalidParams{Context: "ContinuousParameterRange"}
15615	if s.MaxValue == nil {
15616		invalidParams.Add(request.NewErrParamRequired("MaxValue"))
15617	}
15618	if s.MinValue == nil {
15619		invalidParams.Add(request.NewErrParamRequired("MinValue"))
15620	}
15621	if s.Name == nil {
15622		invalidParams.Add(request.NewErrParamRequired("Name"))
15623	}
15624
15625	if invalidParams.Len() > 0 {
15626		return invalidParams
15627	}
15628	return nil
15629}
15630
15631// SetMaxValue sets the MaxValue field's value.
15632func (s *ContinuousParameterRange) SetMaxValue(v string) *ContinuousParameterRange {
15633	s.MaxValue = &v
15634	return s
15635}
15636
15637// SetMinValue sets the MinValue field's value.
15638func (s *ContinuousParameterRange) SetMinValue(v string) *ContinuousParameterRange {
15639	s.MinValue = &v
15640	return s
15641}
15642
15643// SetName sets the Name field's value.
15644func (s *ContinuousParameterRange) SetName(v string) *ContinuousParameterRange {
15645	s.Name = &v
15646	return s
15647}
15648
15649// SetScalingType sets the ScalingType field's value.
15650func (s *ContinuousParameterRange) SetScalingType(v string) *ContinuousParameterRange {
15651	s.ScalingType = &v
15652	return s
15653}
15654
15655// Defines the possible values for a continuous hyperparameter.
15656type ContinuousParameterRangeSpecification struct {
15657	_ struct{} `type:"structure"`
15658
15659	// The maximum floating-point value allowed.
15660	//
15661	// MaxValue is a required field
15662	MaxValue *string `type:"string" required:"true"`
15663
15664	// The minimum floating-point value allowed.
15665	//
15666	// MinValue is a required field
15667	MinValue *string `type:"string" required:"true"`
15668}
15669
15670// String returns the string representation
15671func (s ContinuousParameterRangeSpecification) String() string {
15672	return awsutil.Prettify(s)
15673}
15674
15675// GoString returns the string representation
15676func (s ContinuousParameterRangeSpecification) GoString() string {
15677	return s.String()
15678}
15679
15680// Validate inspects the fields of the type to determine if they are valid.
15681func (s *ContinuousParameterRangeSpecification) Validate() error {
15682	invalidParams := request.ErrInvalidParams{Context: "ContinuousParameterRangeSpecification"}
15683	if s.MaxValue == nil {
15684		invalidParams.Add(request.NewErrParamRequired("MaxValue"))
15685	}
15686	if s.MinValue == nil {
15687		invalidParams.Add(request.NewErrParamRequired("MinValue"))
15688	}
15689
15690	if invalidParams.Len() > 0 {
15691		return invalidParams
15692	}
15693	return nil
15694}
15695
15696// SetMaxValue sets the MaxValue field's value.
15697func (s *ContinuousParameterRangeSpecification) SetMaxValue(v string) *ContinuousParameterRangeSpecification {
15698	s.MaxValue = &v
15699	return s
15700}
15701
15702// SetMinValue sets the MinValue field's value.
15703func (s *ContinuousParameterRangeSpecification) SetMinValue(v string) *ContinuousParameterRangeSpecification {
15704	s.MinValue = &v
15705	return s
15706}
15707
15708type CreateAlgorithmInput struct {
15709	_ struct{} `type:"structure"`
15710
15711	// A description of the algorithm.
15712	AlgorithmDescription *string `type:"string"`
15713
15714	// The name of the algorithm.
15715	//
15716	// AlgorithmName is a required field
15717	AlgorithmName *string `min:"1" type:"string" required:"true"`
15718
15719	// Whether to certify the algorithm so that it can be listed in AWS Marketplace.
15720	CertifyForMarketplace *bool `type:"boolean"`
15721
15722	// Specifies details about inference jobs that the algorithm runs, including
15723	// the following:
15724	//
15725	//    * The Amazon ECR paths of containers that contain the inference code and
15726	//    model artifacts.
15727	//
15728	//    * The instance types that the algorithm supports for transform jobs and
15729	//    real-time endpoints used for inference.
15730	//
15731	//    * The input and output content formats that the algorithm supports for
15732	//    inference.
15733	InferenceSpecification *InferenceSpecification `type:"structure"`
15734
15735	// Specifies details about training jobs run by this algorithm, including the
15736	// following:
15737	//
15738	//    * The Amazon ECR path of the container and the version digest of the algorithm.
15739	//
15740	//    * The hyperparameters that the algorithm supports.
15741	//
15742	//    * The instance types that the algorithm supports for training.
15743	//
15744	//    * Whether the algorithm supports distributed training.
15745	//
15746	//    * The metrics that the algorithm emits to Amazon CloudWatch.
15747	//
15748	//    * Which metrics that the algorithm emits can be used as the objective
15749	//    metric for hyperparameter tuning jobs.
15750	//
15751	//    * The input channels that the algorithm supports for training data. For
15752	//    example, an algorithm might support train, validation, and test channels.
15753	//
15754	// TrainingSpecification is a required field
15755	TrainingSpecification *TrainingSpecification `type:"structure" required:"true"`
15756
15757	// Specifies configurations for one or more training jobs and that Amazon SageMaker
15758	// runs to test the algorithm's training code and, optionally, one or more batch
15759	// transform jobs that Amazon SageMaker runs to test the algorithm's inference
15760	// code.
15761	ValidationSpecification *AlgorithmValidationSpecification `type:"structure"`
15762}
15763
15764// String returns the string representation
15765func (s CreateAlgorithmInput) String() string {
15766	return awsutil.Prettify(s)
15767}
15768
15769// GoString returns the string representation
15770func (s CreateAlgorithmInput) GoString() string {
15771	return s.String()
15772}
15773
15774// Validate inspects the fields of the type to determine if they are valid.
15775func (s *CreateAlgorithmInput) Validate() error {
15776	invalidParams := request.ErrInvalidParams{Context: "CreateAlgorithmInput"}
15777	if s.AlgorithmName == nil {
15778		invalidParams.Add(request.NewErrParamRequired("AlgorithmName"))
15779	}
15780	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
15781		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
15782	}
15783	if s.TrainingSpecification == nil {
15784		invalidParams.Add(request.NewErrParamRequired("TrainingSpecification"))
15785	}
15786	if s.InferenceSpecification != nil {
15787		if err := s.InferenceSpecification.Validate(); err != nil {
15788			invalidParams.AddNested("InferenceSpecification", err.(request.ErrInvalidParams))
15789		}
15790	}
15791	if s.TrainingSpecification != nil {
15792		if err := s.TrainingSpecification.Validate(); err != nil {
15793			invalidParams.AddNested("TrainingSpecification", err.(request.ErrInvalidParams))
15794		}
15795	}
15796	if s.ValidationSpecification != nil {
15797		if err := s.ValidationSpecification.Validate(); err != nil {
15798			invalidParams.AddNested("ValidationSpecification", err.(request.ErrInvalidParams))
15799		}
15800	}
15801
15802	if invalidParams.Len() > 0 {
15803		return invalidParams
15804	}
15805	return nil
15806}
15807
15808// SetAlgorithmDescription sets the AlgorithmDescription field's value.
15809func (s *CreateAlgorithmInput) SetAlgorithmDescription(v string) *CreateAlgorithmInput {
15810	s.AlgorithmDescription = &v
15811	return s
15812}
15813
15814// SetAlgorithmName sets the AlgorithmName field's value.
15815func (s *CreateAlgorithmInput) SetAlgorithmName(v string) *CreateAlgorithmInput {
15816	s.AlgorithmName = &v
15817	return s
15818}
15819
15820// SetCertifyForMarketplace sets the CertifyForMarketplace field's value.
15821func (s *CreateAlgorithmInput) SetCertifyForMarketplace(v bool) *CreateAlgorithmInput {
15822	s.CertifyForMarketplace = &v
15823	return s
15824}
15825
15826// SetInferenceSpecification sets the InferenceSpecification field's value.
15827func (s *CreateAlgorithmInput) SetInferenceSpecification(v *InferenceSpecification) *CreateAlgorithmInput {
15828	s.InferenceSpecification = v
15829	return s
15830}
15831
15832// SetTrainingSpecification sets the TrainingSpecification field's value.
15833func (s *CreateAlgorithmInput) SetTrainingSpecification(v *TrainingSpecification) *CreateAlgorithmInput {
15834	s.TrainingSpecification = v
15835	return s
15836}
15837
15838// SetValidationSpecification sets the ValidationSpecification field's value.
15839func (s *CreateAlgorithmInput) SetValidationSpecification(v *AlgorithmValidationSpecification) *CreateAlgorithmInput {
15840	s.ValidationSpecification = v
15841	return s
15842}
15843
15844type CreateAlgorithmOutput struct {
15845	_ struct{} `type:"structure"`
15846
15847	// The Amazon Resource Name (ARN) of the new algorithm.
15848	//
15849	// AlgorithmArn is a required field
15850	AlgorithmArn *string `min:"1" type:"string" required:"true"`
15851}
15852
15853// String returns the string representation
15854func (s CreateAlgorithmOutput) String() string {
15855	return awsutil.Prettify(s)
15856}
15857
15858// GoString returns the string representation
15859func (s CreateAlgorithmOutput) GoString() string {
15860	return s.String()
15861}
15862
15863// SetAlgorithmArn sets the AlgorithmArn field's value.
15864func (s *CreateAlgorithmOutput) SetAlgorithmArn(v string) *CreateAlgorithmOutput {
15865	s.AlgorithmArn = &v
15866	return s
15867}
15868
15869type CreateAppInput struct {
15870	_ struct{} `type:"structure"`
15871
15872	// The name of the app.
15873	//
15874	// AppName is a required field
15875	AppName *string `type:"string" required:"true"`
15876
15877	// The type of app.
15878	//
15879	// AppType is a required field
15880	AppType *string `type:"string" required:"true" enum:"AppType"`
15881
15882	// The domain ID.
15883	//
15884	// DomainId is a required field
15885	DomainId *string `type:"string" required:"true"`
15886
15887	// The instance type and the Amazon Resource Name (ARN) of the SageMaker image
15888	// created on the instance.
15889	ResourceSpec *ResourceSpec `type:"structure"`
15890
15891	// Each tag consists of a key and an optional value. Tag keys must be unique
15892	// per resource.
15893	Tags []*Tag `type:"list"`
15894
15895	// The user profile name.
15896	//
15897	// UserProfileName is a required field
15898	UserProfileName *string `type:"string" required:"true"`
15899}
15900
15901// String returns the string representation
15902func (s CreateAppInput) String() string {
15903	return awsutil.Prettify(s)
15904}
15905
15906// GoString returns the string representation
15907func (s CreateAppInput) GoString() string {
15908	return s.String()
15909}
15910
15911// Validate inspects the fields of the type to determine if they are valid.
15912func (s *CreateAppInput) Validate() error {
15913	invalidParams := request.ErrInvalidParams{Context: "CreateAppInput"}
15914	if s.AppName == nil {
15915		invalidParams.Add(request.NewErrParamRequired("AppName"))
15916	}
15917	if s.AppType == nil {
15918		invalidParams.Add(request.NewErrParamRequired("AppType"))
15919	}
15920	if s.DomainId == nil {
15921		invalidParams.Add(request.NewErrParamRequired("DomainId"))
15922	}
15923	if s.UserProfileName == nil {
15924		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
15925	}
15926	if s.Tags != nil {
15927		for i, v := range s.Tags {
15928			if v == nil {
15929				continue
15930			}
15931			if err := v.Validate(); err != nil {
15932				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
15933			}
15934		}
15935	}
15936
15937	if invalidParams.Len() > 0 {
15938		return invalidParams
15939	}
15940	return nil
15941}
15942
15943// SetAppName sets the AppName field's value.
15944func (s *CreateAppInput) SetAppName(v string) *CreateAppInput {
15945	s.AppName = &v
15946	return s
15947}
15948
15949// SetAppType sets the AppType field's value.
15950func (s *CreateAppInput) SetAppType(v string) *CreateAppInput {
15951	s.AppType = &v
15952	return s
15953}
15954
15955// SetDomainId sets the DomainId field's value.
15956func (s *CreateAppInput) SetDomainId(v string) *CreateAppInput {
15957	s.DomainId = &v
15958	return s
15959}
15960
15961// SetResourceSpec sets the ResourceSpec field's value.
15962func (s *CreateAppInput) SetResourceSpec(v *ResourceSpec) *CreateAppInput {
15963	s.ResourceSpec = v
15964	return s
15965}
15966
15967// SetTags sets the Tags field's value.
15968func (s *CreateAppInput) SetTags(v []*Tag) *CreateAppInput {
15969	s.Tags = v
15970	return s
15971}
15972
15973// SetUserProfileName sets the UserProfileName field's value.
15974func (s *CreateAppInput) SetUserProfileName(v string) *CreateAppInput {
15975	s.UserProfileName = &v
15976	return s
15977}
15978
15979type CreateAppOutput struct {
15980	_ struct{} `type:"structure"`
15981
15982	// The App's Amazon Resource Name (ARN).
15983	AppArn *string `type:"string"`
15984}
15985
15986// String returns the string representation
15987func (s CreateAppOutput) String() string {
15988	return awsutil.Prettify(s)
15989}
15990
15991// GoString returns the string representation
15992func (s CreateAppOutput) GoString() string {
15993	return s.String()
15994}
15995
15996// SetAppArn sets the AppArn field's value.
15997func (s *CreateAppOutput) SetAppArn(v string) *CreateAppOutput {
15998	s.AppArn = &v
15999	return s
16000}
16001
16002type CreateAutoMLJobInput struct {
16003	_ struct{} `type:"structure"`
16004
16005	// Contains CompletionCriteria and SecurityConfig.
16006	AutoMLJobConfig *AutoMLJobConfig `type:"structure"`
16007
16008	// Identifies an AutoPilot job. Must be unique to your account and is case-insensitive.
16009	//
16010	// AutoMLJobName is a required field
16011	AutoMLJobName *string `min:"1" type:"string" required:"true"`
16012
16013	// Defines the job's objective. You provide a MetricName and AutoML will infer
16014	// minimize or maximize. If this is not provided, the most commonly used ObjectiveMetric
16015	// for problem type will be selected.
16016	AutoMLJobObjective *AutoMLJobObjective `type:"structure"`
16017
16018	// This will generate possible candidates without training a model. A candidate
16019	// is a combination of data preprocessors, algorithms, and algorithm parameter
16020	// settings.
16021	GenerateCandidateDefinitionsOnly *bool `type:"boolean"`
16022
16023	// Similar to InputDataConfig supported by Tuning. Format(s) supported: CSV.
16024	// Minimum of 1000 rows.
16025	//
16026	// InputDataConfig is a required field
16027	InputDataConfig []*AutoMLChannel `min:"1" type:"list" required:"true"`
16028
16029	// Similar to OutputDataConfig supported by Tuning. Format(s) supported: CSV.
16030	//
16031	// OutputDataConfig is a required field
16032	OutputDataConfig *AutoMLOutputDataConfig `type:"structure" required:"true"`
16033
16034	// Defines the kind of preprocessing and algorithms intended for the candidates.
16035	// Options include: BinaryClassification, MulticlassClassification, and Regression.
16036	ProblemType *string `type:"string" enum:"ProblemType"`
16037
16038	// The ARN of the role that will be used to access the data.
16039	//
16040	// RoleArn is a required field
16041	RoleArn *string `min:"20" type:"string" required:"true"`
16042
16043	// Each tag consists of a key and an optional value. Tag keys must be unique
16044	// per resource.
16045	Tags []*Tag `type:"list"`
16046}
16047
16048// String returns the string representation
16049func (s CreateAutoMLJobInput) String() string {
16050	return awsutil.Prettify(s)
16051}
16052
16053// GoString returns the string representation
16054func (s CreateAutoMLJobInput) GoString() string {
16055	return s.String()
16056}
16057
16058// Validate inspects the fields of the type to determine if they are valid.
16059func (s *CreateAutoMLJobInput) Validate() error {
16060	invalidParams := request.ErrInvalidParams{Context: "CreateAutoMLJobInput"}
16061	if s.AutoMLJobName == nil {
16062		invalidParams.Add(request.NewErrParamRequired("AutoMLJobName"))
16063	}
16064	if s.AutoMLJobName != nil && len(*s.AutoMLJobName) < 1 {
16065		invalidParams.Add(request.NewErrParamMinLen("AutoMLJobName", 1))
16066	}
16067	if s.InputDataConfig == nil {
16068		invalidParams.Add(request.NewErrParamRequired("InputDataConfig"))
16069	}
16070	if s.InputDataConfig != nil && len(s.InputDataConfig) < 1 {
16071		invalidParams.Add(request.NewErrParamMinLen("InputDataConfig", 1))
16072	}
16073	if s.OutputDataConfig == nil {
16074		invalidParams.Add(request.NewErrParamRequired("OutputDataConfig"))
16075	}
16076	if s.RoleArn == nil {
16077		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
16078	}
16079	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
16080		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
16081	}
16082	if s.AutoMLJobConfig != nil {
16083		if err := s.AutoMLJobConfig.Validate(); err != nil {
16084			invalidParams.AddNested("AutoMLJobConfig", err.(request.ErrInvalidParams))
16085		}
16086	}
16087	if s.AutoMLJobObjective != nil {
16088		if err := s.AutoMLJobObjective.Validate(); err != nil {
16089			invalidParams.AddNested("AutoMLJobObjective", err.(request.ErrInvalidParams))
16090		}
16091	}
16092	if s.InputDataConfig != nil {
16093		for i, v := range s.InputDataConfig {
16094			if v == nil {
16095				continue
16096			}
16097			if err := v.Validate(); err != nil {
16098				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputDataConfig", i), err.(request.ErrInvalidParams))
16099			}
16100		}
16101	}
16102	if s.OutputDataConfig != nil {
16103		if err := s.OutputDataConfig.Validate(); err != nil {
16104			invalidParams.AddNested("OutputDataConfig", err.(request.ErrInvalidParams))
16105		}
16106	}
16107	if s.Tags != nil {
16108		for i, v := range s.Tags {
16109			if v == nil {
16110				continue
16111			}
16112			if err := v.Validate(); err != nil {
16113				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
16114			}
16115		}
16116	}
16117
16118	if invalidParams.Len() > 0 {
16119		return invalidParams
16120	}
16121	return nil
16122}
16123
16124// SetAutoMLJobConfig sets the AutoMLJobConfig field's value.
16125func (s *CreateAutoMLJobInput) SetAutoMLJobConfig(v *AutoMLJobConfig) *CreateAutoMLJobInput {
16126	s.AutoMLJobConfig = v
16127	return s
16128}
16129
16130// SetAutoMLJobName sets the AutoMLJobName field's value.
16131func (s *CreateAutoMLJobInput) SetAutoMLJobName(v string) *CreateAutoMLJobInput {
16132	s.AutoMLJobName = &v
16133	return s
16134}
16135
16136// SetAutoMLJobObjective sets the AutoMLJobObjective field's value.
16137func (s *CreateAutoMLJobInput) SetAutoMLJobObjective(v *AutoMLJobObjective) *CreateAutoMLJobInput {
16138	s.AutoMLJobObjective = v
16139	return s
16140}
16141
16142// SetGenerateCandidateDefinitionsOnly sets the GenerateCandidateDefinitionsOnly field's value.
16143func (s *CreateAutoMLJobInput) SetGenerateCandidateDefinitionsOnly(v bool) *CreateAutoMLJobInput {
16144	s.GenerateCandidateDefinitionsOnly = &v
16145	return s
16146}
16147
16148// SetInputDataConfig sets the InputDataConfig field's value.
16149func (s *CreateAutoMLJobInput) SetInputDataConfig(v []*AutoMLChannel) *CreateAutoMLJobInput {
16150	s.InputDataConfig = v
16151	return s
16152}
16153
16154// SetOutputDataConfig sets the OutputDataConfig field's value.
16155func (s *CreateAutoMLJobInput) SetOutputDataConfig(v *AutoMLOutputDataConfig) *CreateAutoMLJobInput {
16156	s.OutputDataConfig = v
16157	return s
16158}
16159
16160// SetProblemType sets the ProblemType field's value.
16161func (s *CreateAutoMLJobInput) SetProblemType(v string) *CreateAutoMLJobInput {
16162	s.ProblemType = &v
16163	return s
16164}
16165
16166// SetRoleArn sets the RoleArn field's value.
16167func (s *CreateAutoMLJobInput) SetRoleArn(v string) *CreateAutoMLJobInput {
16168	s.RoleArn = &v
16169	return s
16170}
16171
16172// SetTags sets the Tags field's value.
16173func (s *CreateAutoMLJobInput) SetTags(v []*Tag) *CreateAutoMLJobInput {
16174	s.Tags = v
16175	return s
16176}
16177
16178type CreateAutoMLJobOutput struct {
16179	_ struct{} `type:"structure"`
16180
16181	// When a job is created, it is assigned a unique ARN.
16182	//
16183	// AutoMLJobArn is a required field
16184	AutoMLJobArn *string `min:"1" type:"string" required:"true"`
16185}
16186
16187// String returns the string representation
16188func (s CreateAutoMLJobOutput) String() string {
16189	return awsutil.Prettify(s)
16190}
16191
16192// GoString returns the string representation
16193func (s CreateAutoMLJobOutput) GoString() string {
16194	return s.String()
16195}
16196
16197// SetAutoMLJobArn sets the AutoMLJobArn field's value.
16198func (s *CreateAutoMLJobOutput) SetAutoMLJobArn(v string) *CreateAutoMLJobOutput {
16199	s.AutoMLJobArn = &v
16200	return s
16201}
16202
16203type CreateCodeRepositoryInput struct {
16204	_ struct{} `type:"structure"`
16205
16206	// The name of the Git repository. The name must have 1 to 63 characters. Valid
16207	// characters are a-z, A-Z, 0-9, and - (hyphen).
16208	//
16209	// CodeRepositoryName is a required field
16210	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
16211
16212	// Specifies details about the repository, including the URL where the repository
16213	// is located, the default branch, and credentials to use to access the repository.
16214	//
16215	// GitConfig is a required field
16216	GitConfig *GitConfig `type:"structure" required:"true"`
16217}
16218
16219// String returns the string representation
16220func (s CreateCodeRepositoryInput) String() string {
16221	return awsutil.Prettify(s)
16222}
16223
16224// GoString returns the string representation
16225func (s CreateCodeRepositoryInput) GoString() string {
16226	return s.String()
16227}
16228
16229// Validate inspects the fields of the type to determine if they are valid.
16230func (s *CreateCodeRepositoryInput) Validate() error {
16231	invalidParams := request.ErrInvalidParams{Context: "CreateCodeRepositoryInput"}
16232	if s.CodeRepositoryName == nil {
16233		invalidParams.Add(request.NewErrParamRequired("CodeRepositoryName"))
16234	}
16235	if s.CodeRepositoryName != nil && len(*s.CodeRepositoryName) < 1 {
16236		invalidParams.Add(request.NewErrParamMinLen("CodeRepositoryName", 1))
16237	}
16238	if s.GitConfig == nil {
16239		invalidParams.Add(request.NewErrParamRequired("GitConfig"))
16240	}
16241	if s.GitConfig != nil {
16242		if err := s.GitConfig.Validate(); err != nil {
16243			invalidParams.AddNested("GitConfig", err.(request.ErrInvalidParams))
16244		}
16245	}
16246
16247	if invalidParams.Len() > 0 {
16248		return invalidParams
16249	}
16250	return nil
16251}
16252
16253// SetCodeRepositoryName sets the CodeRepositoryName field's value.
16254func (s *CreateCodeRepositoryInput) SetCodeRepositoryName(v string) *CreateCodeRepositoryInput {
16255	s.CodeRepositoryName = &v
16256	return s
16257}
16258
16259// SetGitConfig sets the GitConfig field's value.
16260func (s *CreateCodeRepositoryInput) SetGitConfig(v *GitConfig) *CreateCodeRepositoryInput {
16261	s.GitConfig = v
16262	return s
16263}
16264
16265type CreateCodeRepositoryOutput struct {
16266	_ struct{} `type:"structure"`
16267
16268	// The Amazon Resource Name (ARN) of the new repository.
16269	//
16270	// CodeRepositoryArn is a required field
16271	CodeRepositoryArn *string `min:"1" type:"string" required:"true"`
16272}
16273
16274// String returns the string representation
16275func (s CreateCodeRepositoryOutput) String() string {
16276	return awsutil.Prettify(s)
16277}
16278
16279// GoString returns the string representation
16280func (s CreateCodeRepositoryOutput) GoString() string {
16281	return s.String()
16282}
16283
16284// SetCodeRepositoryArn sets the CodeRepositoryArn field's value.
16285func (s *CreateCodeRepositoryOutput) SetCodeRepositoryArn(v string) *CreateCodeRepositoryOutput {
16286	s.CodeRepositoryArn = &v
16287	return s
16288}
16289
16290type CreateCompilationJobInput struct {
16291	_ struct{} `type:"structure"`
16292
16293	// A name for the model compilation job. The name must be unique within the
16294	// AWS Region and within your AWS account.
16295	//
16296	// CompilationJobName is a required field
16297	CompilationJobName *string `min:"1" type:"string" required:"true"`
16298
16299	// Provides information about the location of input model artifacts, the name
16300	// and shape of the expected data inputs, and the framework in which the model
16301	// was trained.
16302	//
16303	// InputConfig is a required field
16304	InputConfig *InputConfig `type:"structure" required:"true"`
16305
16306	// Provides information about the output location for the compiled model and
16307	// the target device the model runs on.
16308	//
16309	// OutputConfig is a required field
16310	OutputConfig *OutputConfig `type:"structure" required:"true"`
16311
16312	// The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker
16313	// to perform tasks on your behalf.
16314	//
16315	// During model compilation, Amazon SageMaker needs your permission to:
16316	//
16317	//    * Read input data from an S3 bucket
16318	//
16319	//    * Write model artifacts to an S3 bucket
16320	//
16321	//    * Write logs to Amazon CloudWatch Logs
16322	//
16323	//    * Publish metrics to Amazon CloudWatch
16324	//
16325	// You grant permissions for all of these tasks to an IAM role. To pass this
16326	// role to Amazon SageMaker, the caller of this API must have the iam:PassRole
16327	// permission. For more information, see Amazon SageMaker Roles. (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html)
16328	//
16329	// RoleArn is a required field
16330	RoleArn *string `min:"20" type:"string" required:"true"`
16331
16332	// Specifies a limit to how long a model compilation job can run. When the job
16333	// reaches the time limit, Amazon SageMaker ends the compilation job. Use this
16334	// API to cap model training costs.
16335	//
16336	// StoppingCondition is a required field
16337	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
16338}
16339
16340// String returns the string representation
16341func (s CreateCompilationJobInput) String() string {
16342	return awsutil.Prettify(s)
16343}
16344
16345// GoString returns the string representation
16346func (s CreateCompilationJobInput) GoString() string {
16347	return s.String()
16348}
16349
16350// Validate inspects the fields of the type to determine if they are valid.
16351func (s *CreateCompilationJobInput) Validate() error {
16352	invalidParams := request.ErrInvalidParams{Context: "CreateCompilationJobInput"}
16353	if s.CompilationJobName == nil {
16354		invalidParams.Add(request.NewErrParamRequired("CompilationJobName"))
16355	}
16356	if s.CompilationJobName != nil && len(*s.CompilationJobName) < 1 {
16357		invalidParams.Add(request.NewErrParamMinLen("CompilationJobName", 1))
16358	}
16359	if s.InputConfig == nil {
16360		invalidParams.Add(request.NewErrParamRequired("InputConfig"))
16361	}
16362	if s.OutputConfig == nil {
16363		invalidParams.Add(request.NewErrParamRequired("OutputConfig"))
16364	}
16365	if s.RoleArn == nil {
16366		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
16367	}
16368	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
16369		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
16370	}
16371	if s.StoppingCondition == nil {
16372		invalidParams.Add(request.NewErrParamRequired("StoppingCondition"))
16373	}
16374	if s.InputConfig != nil {
16375		if err := s.InputConfig.Validate(); err != nil {
16376			invalidParams.AddNested("InputConfig", err.(request.ErrInvalidParams))
16377		}
16378	}
16379	if s.OutputConfig != nil {
16380		if err := s.OutputConfig.Validate(); err != nil {
16381			invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams))
16382		}
16383	}
16384	if s.StoppingCondition != nil {
16385		if err := s.StoppingCondition.Validate(); err != nil {
16386			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
16387		}
16388	}
16389
16390	if invalidParams.Len() > 0 {
16391		return invalidParams
16392	}
16393	return nil
16394}
16395
16396// SetCompilationJobName sets the CompilationJobName field's value.
16397func (s *CreateCompilationJobInput) SetCompilationJobName(v string) *CreateCompilationJobInput {
16398	s.CompilationJobName = &v
16399	return s
16400}
16401
16402// SetInputConfig sets the InputConfig field's value.
16403func (s *CreateCompilationJobInput) SetInputConfig(v *InputConfig) *CreateCompilationJobInput {
16404	s.InputConfig = v
16405	return s
16406}
16407
16408// SetOutputConfig sets the OutputConfig field's value.
16409func (s *CreateCompilationJobInput) SetOutputConfig(v *OutputConfig) *CreateCompilationJobInput {
16410	s.OutputConfig = v
16411	return s
16412}
16413
16414// SetRoleArn sets the RoleArn field's value.
16415func (s *CreateCompilationJobInput) SetRoleArn(v string) *CreateCompilationJobInput {
16416	s.RoleArn = &v
16417	return s
16418}
16419
16420// SetStoppingCondition sets the StoppingCondition field's value.
16421func (s *CreateCompilationJobInput) SetStoppingCondition(v *StoppingCondition) *CreateCompilationJobInput {
16422	s.StoppingCondition = v
16423	return s
16424}
16425
16426type CreateCompilationJobOutput struct {
16427	_ struct{} `type:"structure"`
16428
16429	// If the action is successful, the service sends back an HTTP 200 response.
16430	// Amazon SageMaker returns the following data in JSON format:
16431	//
16432	//    * CompilationJobArn: The Amazon Resource Name (ARN) of the compiled job.
16433	//
16434	// CompilationJobArn is a required field
16435	CompilationJobArn *string `type:"string" required:"true"`
16436}
16437
16438// String returns the string representation
16439func (s CreateCompilationJobOutput) String() string {
16440	return awsutil.Prettify(s)
16441}
16442
16443// GoString returns the string representation
16444func (s CreateCompilationJobOutput) GoString() string {
16445	return s.String()
16446}
16447
16448// SetCompilationJobArn sets the CompilationJobArn field's value.
16449func (s *CreateCompilationJobOutput) SetCompilationJobArn(v string) *CreateCompilationJobOutput {
16450	s.CompilationJobArn = &v
16451	return s
16452}
16453
16454type CreateDomainInput struct {
16455	_ struct{} `type:"structure"`
16456
16457	// The mode of authentication that members use to access the domain.
16458	//
16459	// AuthMode is a required field
16460	AuthMode *string `type:"string" required:"true" enum:"AuthMode"`
16461
16462	// The default user settings.
16463	//
16464	// DefaultUserSettings is a required field
16465	DefaultUserSettings *UserSettings `type:"structure" required:"true"`
16466
16467	// A name for the domain.
16468	//
16469	// DomainName is a required field
16470	DomainName *string `type:"string" required:"true"`
16471
16472	// The AWS Key Management Service (KMS) encryption key ID. Encryption with a
16473	// customer master key (CMK) is not supported.
16474	HomeEfsFileSystemKmsKeyId *string `type:"string"`
16475
16476	// The VPC subnets to use for communication with the EFS volume.
16477	//
16478	// SubnetIds is a required field
16479	SubnetIds []*string `min:"1" type:"list" required:"true"`
16480
16481	// Tags to associated with the Domain. Each tag consists of a key and an optional
16482	// value. Tag keys must be unique per resource. Tags are searchable using the
16483	// Search API.
16484	Tags []*Tag `type:"list"`
16485
16486	// The ID of the Amazon Virtual Private Cloud (VPC) to use for communication
16487	// with the EFS volume.
16488	//
16489	// VpcId is a required field
16490	VpcId *string `type:"string" required:"true"`
16491}
16492
16493// String returns the string representation
16494func (s CreateDomainInput) String() string {
16495	return awsutil.Prettify(s)
16496}
16497
16498// GoString returns the string representation
16499func (s CreateDomainInput) GoString() string {
16500	return s.String()
16501}
16502
16503// Validate inspects the fields of the type to determine if they are valid.
16504func (s *CreateDomainInput) Validate() error {
16505	invalidParams := request.ErrInvalidParams{Context: "CreateDomainInput"}
16506	if s.AuthMode == nil {
16507		invalidParams.Add(request.NewErrParamRequired("AuthMode"))
16508	}
16509	if s.DefaultUserSettings == nil {
16510		invalidParams.Add(request.NewErrParamRequired("DefaultUserSettings"))
16511	}
16512	if s.DomainName == nil {
16513		invalidParams.Add(request.NewErrParamRequired("DomainName"))
16514	}
16515	if s.SubnetIds == nil {
16516		invalidParams.Add(request.NewErrParamRequired("SubnetIds"))
16517	}
16518	if s.SubnetIds != nil && len(s.SubnetIds) < 1 {
16519		invalidParams.Add(request.NewErrParamMinLen("SubnetIds", 1))
16520	}
16521	if s.VpcId == nil {
16522		invalidParams.Add(request.NewErrParamRequired("VpcId"))
16523	}
16524	if s.DefaultUserSettings != nil {
16525		if err := s.DefaultUserSettings.Validate(); err != nil {
16526			invalidParams.AddNested("DefaultUserSettings", err.(request.ErrInvalidParams))
16527		}
16528	}
16529	if s.Tags != nil {
16530		for i, v := range s.Tags {
16531			if v == nil {
16532				continue
16533			}
16534			if err := v.Validate(); err != nil {
16535				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
16536			}
16537		}
16538	}
16539
16540	if invalidParams.Len() > 0 {
16541		return invalidParams
16542	}
16543	return nil
16544}
16545
16546// SetAuthMode sets the AuthMode field's value.
16547func (s *CreateDomainInput) SetAuthMode(v string) *CreateDomainInput {
16548	s.AuthMode = &v
16549	return s
16550}
16551
16552// SetDefaultUserSettings sets the DefaultUserSettings field's value.
16553func (s *CreateDomainInput) SetDefaultUserSettings(v *UserSettings) *CreateDomainInput {
16554	s.DefaultUserSettings = v
16555	return s
16556}
16557
16558// SetDomainName sets the DomainName field's value.
16559func (s *CreateDomainInput) SetDomainName(v string) *CreateDomainInput {
16560	s.DomainName = &v
16561	return s
16562}
16563
16564// SetHomeEfsFileSystemKmsKeyId sets the HomeEfsFileSystemKmsKeyId field's value.
16565func (s *CreateDomainInput) SetHomeEfsFileSystemKmsKeyId(v string) *CreateDomainInput {
16566	s.HomeEfsFileSystemKmsKeyId = &v
16567	return s
16568}
16569
16570// SetSubnetIds sets the SubnetIds field's value.
16571func (s *CreateDomainInput) SetSubnetIds(v []*string) *CreateDomainInput {
16572	s.SubnetIds = v
16573	return s
16574}
16575
16576// SetTags sets the Tags field's value.
16577func (s *CreateDomainInput) SetTags(v []*Tag) *CreateDomainInput {
16578	s.Tags = v
16579	return s
16580}
16581
16582// SetVpcId sets the VpcId field's value.
16583func (s *CreateDomainInput) SetVpcId(v string) *CreateDomainInput {
16584	s.VpcId = &v
16585	return s
16586}
16587
16588type CreateDomainOutput struct {
16589	_ struct{} `type:"structure"`
16590
16591	// The Amazon Resource Name (ARN) of the created domain.
16592	DomainArn *string `type:"string"`
16593
16594	// The URL to the created domain.
16595	Url *string `type:"string"`
16596}
16597
16598// String returns the string representation
16599func (s CreateDomainOutput) String() string {
16600	return awsutil.Prettify(s)
16601}
16602
16603// GoString returns the string representation
16604func (s CreateDomainOutput) GoString() string {
16605	return s.String()
16606}
16607
16608// SetDomainArn sets the DomainArn field's value.
16609func (s *CreateDomainOutput) SetDomainArn(v string) *CreateDomainOutput {
16610	s.DomainArn = &v
16611	return s
16612}
16613
16614// SetUrl sets the Url field's value.
16615func (s *CreateDomainOutput) SetUrl(v string) *CreateDomainOutput {
16616	s.Url = &v
16617	return s
16618}
16619
16620type CreateEndpointConfigInput struct {
16621	_ struct{} `type:"structure"`
16622
16623	DataCaptureConfig *DataCaptureConfig `type:"structure"`
16624
16625	// The name of the endpoint configuration. You specify this name in a CreateEndpoint
16626	// request.
16627	//
16628	// EndpointConfigName is a required field
16629	EndpointConfigName *string `type:"string" required:"true"`
16630
16631	// The Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon
16632	// SageMaker uses to encrypt data on the storage volume attached to the ML compute
16633	// instance that hosts the endpoint.
16634	//
16635	// The KmsKeyId can be any of the following formats:
16636	//
16637	//    * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
16638	//
16639	//    * Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
16640	//
16641	//    * Alias name: alias/ExampleAlias
16642	//
16643	//    * Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
16644	//
16645	// The KMS key policy must grant permission to the IAM role that you specify
16646	// in your CreateEndpoint, UpdateEndpoint requests. For more information, refer
16647	// to the AWS Key Management Service section Using Key Policies in AWS KMS (https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html)
16648	//
16649	// Certain Nitro-based instances include local storage, dependent on the instance
16650	// type. Local storage volumes are encrypted using a hardware module on the
16651	// instance. You can't request a KmsKeyId when using an instance type with local
16652	// storage. If any of the models that you specify in the ProductionVariants
16653	// parameter use nitro-based instances with local storage, do not specify a
16654	// value for the KmsKeyId parameter. If you specify a value for KmsKeyId when
16655	// using any nitro-based instances with local storage, the call to CreateEndpointConfig
16656	// fails.
16657	//
16658	// For a list of instance types that support local instance storage, see Instance
16659	// Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes).
16660	//
16661	// For more information about local instance storage encryption, see SSD Instance
16662	// Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html).
16663	KmsKeyId *string `type:"string"`
16664
16665	// An list of ProductionVariant objects, one for each model that you want to
16666	// host at this endpoint.
16667	//
16668	// ProductionVariants is a required field
16669	ProductionVariants []*ProductionVariant `min:"1" type:"list" required:"true"`
16670
16671	// A list of key-value pairs. For more information, see Using Cost Allocation
16672	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
16673	// in the AWS Billing and Cost Management User Guide.
16674	Tags []*Tag `type:"list"`
16675}
16676
16677// String returns the string representation
16678func (s CreateEndpointConfigInput) String() string {
16679	return awsutil.Prettify(s)
16680}
16681
16682// GoString returns the string representation
16683func (s CreateEndpointConfigInput) GoString() string {
16684	return s.String()
16685}
16686
16687// Validate inspects the fields of the type to determine if they are valid.
16688func (s *CreateEndpointConfigInput) Validate() error {
16689	invalidParams := request.ErrInvalidParams{Context: "CreateEndpointConfigInput"}
16690	if s.EndpointConfigName == nil {
16691		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
16692	}
16693	if s.ProductionVariants == nil {
16694		invalidParams.Add(request.NewErrParamRequired("ProductionVariants"))
16695	}
16696	if s.ProductionVariants != nil && len(s.ProductionVariants) < 1 {
16697		invalidParams.Add(request.NewErrParamMinLen("ProductionVariants", 1))
16698	}
16699	if s.DataCaptureConfig != nil {
16700		if err := s.DataCaptureConfig.Validate(); err != nil {
16701			invalidParams.AddNested("DataCaptureConfig", err.(request.ErrInvalidParams))
16702		}
16703	}
16704	if s.ProductionVariants != nil {
16705		for i, v := range s.ProductionVariants {
16706			if v == nil {
16707				continue
16708			}
16709			if err := v.Validate(); err != nil {
16710				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ProductionVariants", i), err.(request.ErrInvalidParams))
16711			}
16712		}
16713	}
16714	if s.Tags != nil {
16715		for i, v := range s.Tags {
16716			if v == nil {
16717				continue
16718			}
16719			if err := v.Validate(); err != nil {
16720				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
16721			}
16722		}
16723	}
16724
16725	if invalidParams.Len() > 0 {
16726		return invalidParams
16727	}
16728	return nil
16729}
16730
16731// SetDataCaptureConfig sets the DataCaptureConfig field's value.
16732func (s *CreateEndpointConfigInput) SetDataCaptureConfig(v *DataCaptureConfig) *CreateEndpointConfigInput {
16733	s.DataCaptureConfig = v
16734	return s
16735}
16736
16737// SetEndpointConfigName sets the EndpointConfigName field's value.
16738func (s *CreateEndpointConfigInput) SetEndpointConfigName(v string) *CreateEndpointConfigInput {
16739	s.EndpointConfigName = &v
16740	return s
16741}
16742
16743// SetKmsKeyId sets the KmsKeyId field's value.
16744func (s *CreateEndpointConfigInput) SetKmsKeyId(v string) *CreateEndpointConfigInput {
16745	s.KmsKeyId = &v
16746	return s
16747}
16748
16749// SetProductionVariants sets the ProductionVariants field's value.
16750func (s *CreateEndpointConfigInput) SetProductionVariants(v []*ProductionVariant) *CreateEndpointConfigInput {
16751	s.ProductionVariants = v
16752	return s
16753}
16754
16755// SetTags sets the Tags field's value.
16756func (s *CreateEndpointConfigInput) SetTags(v []*Tag) *CreateEndpointConfigInput {
16757	s.Tags = v
16758	return s
16759}
16760
16761type CreateEndpointConfigOutput struct {
16762	_ struct{} `type:"structure"`
16763
16764	// The Amazon Resource Name (ARN) of the endpoint configuration.
16765	//
16766	// EndpointConfigArn is a required field
16767	EndpointConfigArn *string `min:"20" type:"string" required:"true"`
16768}
16769
16770// String returns the string representation
16771func (s CreateEndpointConfigOutput) String() string {
16772	return awsutil.Prettify(s)
16773}
16774
16775// GoString returns the string representation
16776func (s CreateEndpointConfigOutput) GoString() string {
16777	return s.String()
16778}
16779
16780// SetEndpointConfigArn sets the EndpointConfigArn field's value.
16781func (s *CreateEndpointConfigOutput) SetEndpointConfigArn(v string) *CreateEndpointConfigOutput {
16782	s.EndpointConfigArn = &v
16783	return s
16784}
16785
16786type CreateEndpointInput struct {
16787	_ struct{} `type:"structure"`
16788
16789	// The name of an endpoint configuration. For more information, see CreateEndpointConfig.
16790	//
16791	// EndpointConfigName is a required field
16792	EndpointConfigName *string `type:"string" required:"true"`
16793
16794	// The name of the endpoint. The name must be unique within an AWS Region in
16795	// your AWS account.
16796	//
16797	// EndpointName is a required field
16798	EndpointName *string `type:"string" required:"true"`
16799
16800	// An array of key-value pairs. For more information, see Using Cost Allocation
16801	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)in
16802	// the AWS Billing and Cost Management User Guide.
16803	Tags []*Tag `type:"list"`
16804}
16805
16806// String returns the string representation
16807func (s CreateEndpointInput) String() string {
16808	return awsutil.Prettify(s)
16809}
16810
16811// GoString returns the string representation
16812func (s CreateEndpointInput) GoString() string {
16813	return s.String()
16814}
16815
16816// Validate inspects the fields of the type to determine if they are valid.
16817func (s *CreateEndpointInput) Validate() error {
16818	invalidParams := request.ErrInvalidParams{Context: "CreateEndpointInput"}
16819	if s.EndpointConfigName == nil {
16820		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
16821	}
16822	if s.EndpointName == nil {
16823		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
16824	}
16825	if s.Tags != nil {
16826		for i, v := range s.Tags {
16827			if v == nil {
16828				continue
16829			}
16830			if err := v.Validate(); err != nil {
16831				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
16832			}
16833		}
16834	}
16835
16836	if invalidParams.Len() > 0 {
16837		return invalidParams
16838	}
16839	return nil
16840}
16841
16842// SetEndpointConfigName sets the EndpointConfigName field's value.
16843func (s *CreateEndpointInput) SetEndpointConfigName(v string) *CreateEndpointInput {
16844	s.EndpointConfigName = &v
16845	return s
16846}
16847
16848// SetEndpointName sets the EndpointName field's value.
16849func (s *CreateEndpointInput) SetEndpointName(v string) *CreateEndpointInput {
16850	s.EndpointName = &v
16851	return s
16852}
16853
16854// SetTags sets the Tags field's value.
16855func (s *CreateEndpointInput) SetTags(v []*Tag) *CreateEndpointInput {
16856	s.Tags = v
16857	return s
16858}
16859
16860type CreateEndpointOutput struct {
16861	_ struct{} `type:"structure"`
16862
16863	// The Amazon Resource Name (ARN) of the endpoint.
16864	//
16865	// EndpointArn is a required field
16866	EndpointArn *string `min:"20" type:"string" required:"true"`
16867}
16868
16869// String returns the string representation
16870func (s CreateEndpointOutput) String() string {
16871	return awsutil.Prettify(s)
16872}
16873
16874// GoString returns the string representation
16875func (s CreateEndpointOutput) GoString() string {
16876	return s.String()
16877}
16878
16879// SetEndpointArn sets the EndpointArn field's value.
16880func (s *CreateEndpointOutput) SetEndpointArn(v string) *CreateEndpointOutput {
16881	s.EndpointArn = &v
16882	return s
16883}
16884
16885type CreateExperimentInput struct {
16886	_ struct{} `type:"structure"`
16887
16888	// The description of the experiment.
16889	Description *string `type:"string"`
16890
16891	// The name of the experiment as displayed. The name doesn't need to be unique.
16892	// If you don't specify DisplayName, the value in ExperimentName is displayed.
16893	DisplayName *string `min:"1" type:"string"`
16894
16895	// The name of the experiment. The name must be unique in your AWS account and
16896	// is not case-sensitive.
16897	//
16898	// ExperimentName is a required field
16899	ExperimentName *string `min:"1" type:"string" required:"true"`
16900
16901	// A list of tags to associate with the experiment. You can use Search API to
16902	// search on the tags.
16903	Tags []*Tag `type:"list"`
16904}
16905
16906// String returns the string representation
16907func (s CreateExperimentInput) String() string {
16908	return awsutil.Prettify(s)
16909}
16910
16911// GoString returns the string representation
16912func (s CreateExperimentInput) GoString() string {
16913	return s.String()
16914}
16915
16916// Validate inspects the fields of the type to determine if they are valid.
16917func (s *CreateExperimentInput) Validate() error {
16918	invalidParams := request.ErrInvalidParams{Context: "CreateExperimentInput"}
16919	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
16920		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
16921	}
16922	if s.ExperimentName == nil {
16923		invalidParams.Add(request.NewErrParamRequired("ExperimentName"))
16924	}
16925	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
16926		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
16927	}
16928	if s.Tags != nil {
16929		for i, v := range s.Tags {
16930			if v == nil {
16931				continue
16932			}
16933			if err := v.Validate(); err != nil {
16934				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
16935			}
16936		}
16937	}
16938
16939	if invalidParams.Len() > 0 {
16940		return invalidParams
16941	}
16942	return nil
16943}
16944
16945// SetDescription sets the Description field's value.
16946func (s *CreateExperimentInput) SetDescription(v string) *CreateExperimentInput {
16947	s.Description = &v
16948	return s
16949}
16950
16951// SetDisplayName sets the DisplayName field's value.
16952func (s *CreateExperimentInput) SetDisplayName(v string) *CreateExperimentInput {
16953	s.DisplayName = &v
16954	return s
16955}
16956
16957// SetExperimentName sets the ExperimentName field's value.
16958func (s *CreateExperimentInput) SetExperimentName(v string) *CreateExperimentInput {
16959	s.ExperimentName = &v
16960	return s
16961}
16962
16963// SetTags sets the Tags field's value.
16964func (s *CreateExperimentInput) SetTags(v []*Tag) *CreateExperimentInput {
16965	s.Tags = v
16966	return s
16967}
16968
16969type CreateExperimentOutput struct {
16970	_ struct{} `type:"structure"`
16971
16972	// The Amazon Resource Name (ARN) of the experiment.
16973	ExperimentArn *string `type:"string"`
16974}
16975
16976// String returns the string representation
16977func (s CreateExperimentOutput) String() string {
16978	return awsutil.Prettify(s)
16979}
16980
16981// GoString returns the string representation
16982func (s CreateExperimentOutput) GoString() string {
16983	return s.String()
16984}
16985
16986// SetExperimentArn sets the ExperimentArn field's value.
16987func (s *CreateExperimentOutput) SetExperimentArn(v string) *CreateExperimentOutput {
16988	s.ExperimentArn = &v
16989	return s
16990}
16991
16992type CreateFlowDefinitionInput struct {
16993	_ struct{} `type:"structure"`
16994
16995	// The name of your flow definition.
16996	//
16997	// FlowDefinitionName is a required field
16998	FlowDefinitionName *string `min:"1" type:"string" required:"true"`
16999
17000	// An object containing information about the events that trigger a human workflow.
17001	HumanLoopActivationConfig *HumanLoopActivationConfig `type:"structure"`
17002
17003	// An object containing information about the tasks the human reviewers will
17004	// perform.
17005	//
17006	// HumanLoopConfig is a required field
17007	HumanLoopConfig *HumanLoopConfig `type:"structure" required:"true"`
17008
17009	// Container for configuring the source of human task requests. Use to specify
17010	// if Amazon Rekognition or Amazon Textract is used as an integration source.
17011	HumanLoopRequestSource *HumanLoopRequestSource `type:"structure"`
17012
17013	// An object containing information about where the human review results will
17014	// be uploaded.
17015	//
17016	// OutputConfig is a required field
17017	OutputConfig *FlowDefinitionOutputConfig `type:"structure" required:"true"`
17018
17019	// The Amazon Resource Name (ARN) of the role needed to call other services
17020	// on your behalf. For example, arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298.
17021	//
17022	// RoleArn is a required field
17023	RoleArn *string `min:"20" type:"string" required:"true"`
17024
17025	// An array of key-value pairs that contain metadata to help you categorize
17026	// and organize a flow definition. Each tag consists of a key and a value, both
17027	// of which you define.
17028	Tags []*Tag `type:"list"`
17029}
17030
17031// String returns the string representation
17032func (s CreateFlowDefinitionInput) String() string {
17033	return awsutil.Prettify(s)
17034}
17035
17036// GoString returns the string representation
17037func (s CreateFlowDefinitionInput) GoString() string {
17038	return s.String()
17039}
17040
17041// Validate inspects the fields of the type to determine if they are valid.
17042func (s *CreateFlowDefinitionInput) Validate() error {
17043	invalidParams := request.ErrInvalidParams{Context: "CreateFlowDefinitionInput"}
17044	if s.FlowDefinitionName == nil {
17045		invalidParams.Add(request.NewErrParamRequired("FlowDefinitionName"))
17046	}
17047	if s.FlowDefinitionName != nil && len(*s.FlowDefinitionName) < 1 {
17048		invalidParams.Add(request.NewErrParamMinLen("FlowDefinitionName", 1))
17049	}
17050	if s.HumanLoopConfig == nil {
17051		invalidParams.Add(request.NewErrParamRequired("HumanLoopConfig"))
17052	}
17053	if s.OutputConfig == nil {
17054		invalidParams.Add(request.NewErrParamRequired("OutputConfig"))
17055	}
17056	if s.RoleArn == nil {
17057		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
17058	}
17059	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
17060		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
17061	}
17062	if s.HumanLoopActivationConfig != nil {
17063		if err := s.HumanLoopActivationConfig.Validate(); err != nil {
17064			invalidParams.AddNested("HumanLoopActivationConfig", err.(request.ErrInvalidParams))
17065		}
17066	}
17067	if s.HumanLoopConfig != nil {
17068		if err := s.HumanLoopConfig.Validate(); err != nil {
17069			invalidParams.AddNested("HumanLoopConfig", err.(request.ErrInvalidParams))
17070		}
17071	}
17072	if s.HumanLoopRequestSource != nil {
17073		if err := s.HumanLoopRequestSource.Validate(); err != nil {
17074			invalidParams.AddNested("HumanLoopRequestSource", err.(request.ErrInvalidParams))
17075		}
17076	}
17077	if s.OutputConfig != nil {
17078		if err := s.OutputConfig.Validate(); err != nil {
17079			invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams))
17080		}
17081	}
17082	if s.Tags != nil {
17083		for i, v := range s.Tags {
17084			if v == nil {
17085				continue
17086			}
17087			if err := v.Validate(); err != nil {
17088				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
17089			}
17090		}
17091	}
17092
17093	if invalidParams.Len() > 0 {
17094		return invalidParams
17095	}
17096	return nil
17097}
17098
17099// SetFlowDefinitionName sets the FlowDefinitionName field's value.
17100func (s *CreateFlowDefinitionInput) SetFlowDefinitionName(v string) *CreateFlowDefinitionInput {
17101	s.FlowDefinitionName = &v
17102	return s
17103}
17104
17105// SetHumanLoopActivationConfig sets the HumanLoopActivationConfig field's value.
17106func (s *CreateFlowDefinitionInput) SetHumanLoopActivationConfig(v *HumanLoopActivationConfig) *CreateFlowDefinitionInput {
17107	s.HumanLoopActivationConfig = v
17108	return s
17109}
17110
17111// SetHumanLoopConfig sets the HumanLoopConfig field's value.
17112func (s *CreateFlowDefinitionInput) SetHumanLoopConfig(v *HumanLoopConfig) *CreateFlowDefinitionInput {
17113	s.HumanLoopConfig = v
17114	return s
17115}
17116
17117// SetHumanLoopRequestSource sets the HumanLoopRequestSource field's value.
17118func (s *CreateFlowDefinitionInput) SetHumanLoopRequestSource(v *HumanLoopRequestSource) *CreateFlowDefinitionInput {
17119	s.HumanLoopRequestSource = v
17120	return s
17121}
17122
17123// SetOutputConfig sets the OutputConfig field's value.
17124func (s *CreateFlowDefinitionInput) SetOutputConfig(v *FlowDefinitionOutputConfig) *CreateFlowDefinitionInput {
17125	s.OutputConfig = v
17126	return s
17127}
17128
17129// SetRoleArn sets the RoleArn field's value.
17130func (s *CreateFlowDefinitionInput) SetRoleArn(v string) *CreateFlowDefinitionInput {
17131	s.RoleArn = &v
17132	return s
17133}
17134
17135// SetTags sets the Tags field's value.
17136func (s *CreateFlowDefinitionInput) SetTags(v []*Tag) *CreateFlowDefinitionInput {
17137	s.Tags = v
17138	return s
17139}
17140
17141type CreateFlowDefinitionOutput struct {
17142	_ struct{} `type:"structure"`
17143
17144	// The Amazon Resource Name (ARN) of the flow definition you create.
17145	//
17146	// FlowDefinitionArn is a required field
17147	FlowDefinitionArn *string `type:"string" required:"true"`
17148}
17149
17150// String returns the string representation
17151func (s CreateFlowDefinitionOutput) String() string {
17152	return awsutil.Prettify(s)
17153}
17154
17155// GoString returns the string representation
17156func (s CreateFlowDefinitionOutput) GoString() string {
17157	return s.String()
17158}
17159
17160// SetFlowDefinitionArn sets the FlowDefinitionArn field's value.
17161func (s *CreateFlowDefinitionOutput) SetFlowDefinitionArn(v string) *CreateFlowDefinitionOutput {
17162	s.FlowDefinitionArn = &v
17163	return s
17164}
17165
17166type CreateHumanTaskUiInput struct {
17167	_ struct{} `type:"structure"`
17168
17169	// The name of the user interface you are creating.
17170	//
17171	// HumanTaskUiName is a required field
17172	HumanTaskUiName *string `min:"1" type:"string" required:"true"`
17173
17174	// An array of key-value pairs that contain metadata to help you categorize
17175	// and organize a human review workflow user interface. Each tag consists of
17176	// a key and a value, both of which you define.
17177	Tags []*Tag `type:"list"`
17178
17179	// The Liquid template for the worker user interface.
17180	//
17181	// UiTemplate is a required field
17182	UiTemplate *UiTemplate `type:"structure" required:"true"`
17183}
17184
17185// String returns the string representation
17186func (s CreateHumanTaskUiInput) String() string {
17187	return awsutil.Prettify(s)
17188}
17189
17190// GoString returns the string representation
17191func (s CreateHumanTaskUiInput) GoString() string {
17192	return s.String()
17193}
17194
17195// Validate inspects the fields of the type to determine if they are valid.
17196func (s *CreateHumanTaskUiInput) Validate() error {
17197	invalidParams := request.ErrInvalidParams{Context: "CreateHumanTaskUiInput"}
17198	if s.HumanTaskUiName == nil {
17199		invalidParams.Add(request.NewErrParamRequired("HumanTaskUiName"))
17200	}
17201	if s.HumanTaskUiName != nil && len(*s.HumanTaskUiName) < 1 {
17202		invalidParams.Add(request.NewErrParamMinLen("HumanTaskUiName", 1))
17203	}
17204	if s.UiTemplate == nil {
17205		invalidParams.Add(request.NewErrParamRequired("UiTemplate"))
17206	}
17207	if s.Tags != nil {
17208		for i, v := range s.Tags {
17209			if v == nil {
17210				continue
17211			}
17212			if err := v.Validate(); err != nil {
17213				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
17214			}
17215		}
17216	}
17217	if s.UiTemplate != nil {
17218		if err := s.UiTemplate.Validate(); err != nil {
17219			invalidParams.AddNested("UiTemplate", err.(request.ErrInvalidParams))
17220		}
17221	}
17222
17223	if invalidParams.Len() > 0 {
17224		return invalidParams
17225	}
17226	return nil
17227}
17228
17229// SetHumanTaskUiName sets the HumanTaskUiName field's value.
17230func (s *CreateHumanTaskUiInput) SetHumanTaskUiName(v string) *CreateHumanTaskUiInput {
17231	s.HumanTaskUiName = &v
17232	return s
17233}
17234
17235// SetTags sets the Tags field's value.
17236func (s *CreateHumanTaskUiInput) SetTags(v []*Tag) *CreateHumanTaskUiInput {
17237	s.Tags = v
17238	return s
17239}
17240
17241// SetUiTemplate sets the UiTemplate field's value.
17242func (s *CreateHumanTaskUiInput) SetUiTemplate(v *UiTemplate) *CreateHumanTaskUiInput {
17243	s.UiTemplate = v
17244	return s
17245}
17246
17247type CreateHumanTaskUiOutput struct {
17248	_ struct{} `type:"structure"`
17249
17250	// The Amazon Resource Name (ARN) of the human review workflow user interface
17251	// you create.
17252	//
17253	// HumanTaskUiArn is a required field
17254	HumanTaskUiArn *string `type:"string" required:"true"`
17255}
17256
17257// String returns the string representation
17258func (s CreateHumanTaskUiOutput) String() string {
17259	return awsutil.Prettify(s)
17260}
17261
17262// GoString returns the string representation
17263func (s CreateHumanTaskUiOutput) GoString() string {
17264	return s.String()
17265}
17266
17267// SetHumanTaskUiArn sets the HumanTaskUiArn field's value.
17268func (s *CreateHumanTaskUiOutput) SetHumanTaskUiArn(v string) *CreateHumanTaskUiOutput {
17269	s.HumanTaskUiArn = &v
17270	return s
17271}
17272
17273type CreateHyperParameterTuningJobInput struct {
17274	_ struct{} `type:"structure"`
17275
17276	// The HyperParameterTuningJobConfig object that describes the tuning job, including
17277	// the search strategy, the objective metric used to evaluate training jobs,
17278	// ranges of parameters to search, and resource limits for the tuning job. For
17279	// more information, see How Hyperparameter Tuning Works (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-how-it-works.html).
17280	//
17281	// HyperParameterTuningJobConfig is a required field
17282	HyperParameterTuningJobConfig *HyperParameterTuningJobConfig `type:"structure" required:"true"`
17283
17284	// The name of the tuning job. This name is the prefix for the names of all
17285	// training jobs that this tuning job launches. The name must be unique within
17286	// the same AWS account and AWS Region. The name must have { } to { } characters.
17287	// Valid characters are a-z, A-Z, 0-9, and : + = @ _ % - (hyphen). The name
17288	// is not case sensitive.
17289	//
17290	// HyperParameterTuningJobName is a required field
17291	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
17292
17293	// An array of key-value pairs. You can use tags to categorize your AWS resources
17294	// in different ways, for example, by purpose, owner, or environment. For more
17295	// information, see AWS Tagging Strategies (https://aws.amazon.com/answers/account-management/aws-tagging-strategies/).
17296	//
17297	// Tags that you specify for the tuning job are also added to all training jobs
17298	// that the tuning job launches.
17299	Tags []*Tag `type:"list"`
17300
17301	// The HyperParameterTrainingJobDefinition object that describes the training
17302	// jobs that this tuning job launches, including static hyperparameters, input
17303	// data configuration, output data configuration, resource configuration, and
17304	// stopping condition.
17305	TrainingJobDefinition *HyperParameterTrainingJobDefinition `type:"structure"`
17306
17307	// A list of the HyperParameterTrainingJobDefinition objects launched for this
17308	// tuning job.
17309	TrainingJobDefinitions []*HyperParameterTrainingJobDefinition `min:"1" type:"list"`
17310
17311	// Specifies the configuration for starting the hyperparameter tuning job using
17312	// one or more previous tuning jobs as a starting point. The results of previous
17313	// tuning jobs are used to inform which combinations of hyperparameters to search
17314	// over in the new tuning job.
17315	//
17316	// All training jobs launched by the new hyperparameter tuning job are evaluated
17317	// by using the objective metric. If you specify IDENTICAL_DATA_AND_ALGORITHM
17318	// as the WarmStartType value for the warm start configuration, the training
17319	// job that performs the best in the new tuning job is compared to the best
17320	// training jobs from the parent tuning jobs. From these, the training job that
17321	// performs the best as measured by the objective metric is returned as the
17322	// overall best training job.
17323	//
17324	// All training jobs launched by parent hyperparameter tuning jobs and the new
17325	// hyperparameter tuning jobs count against the limit of training jobs for the
17326	// tuning job.
17327	WarmStartConfig *HyperParameterTuningJobWarmStartConfig `type:"structure"`
17328}
17329
17330// String returns the string representation
17331func (s CreateHyperParameterTuningJobInput) String() string {
17332	return awsutil.Prettify(s)
17333}
17334
17335// GoString returns the string representation
17336func (s CreateHyperParameterTuningJobInput) GoString() string {
17337	return s.String()
17338}
17339
17340// Validate inspects the fields of the type to determine if they are valid.
17341func (s *CreateHyperParameterTuningJobInput) Validate() error {
17342	invalidParams := request.ErrInvalidParams{Context: "CreateHyperParameterTuningJobInput"}
17343	if s.HyperParameterTuningJobConfig == nil {
17344		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobConfig"))
17345	}
17346	if s.HyperParameterTuningJobName == nil {
17347		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobName"))
17348	}
17349	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
17350		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
17351	}
17352	if s.TrainingJobDefinitions != nil && len(s.TrainingJobDefinitions) < 1 {
17353		invalidParams.Add(request.NewErrParamMinLen("TrainingJobDefinitions", 1))
17354	}
17355	if s.HyperParameterTuningJobConfig != nil {
17356		if err := s.HyperParameterTuningJobConfig.Validate(); err != nil {
17357			invalidParams.AddNested("HyperParameterTuningJobConfig", err.(request.ErrInvalidParams))
17358		}
17359	}
17360	if s.Tags != nil {
17361		for i, v := range s.Tags {
17362			if v == nil {
17363				continue
17364			}
17365			if err := v.Validate(); err != nil {
17366				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
17367			}
17368		}
17369	}
17370	if s.TrainingJobDefinition != nil {
17371		if err := s.TrainingJobDefinition.Validate(); err != nil {
17372			invalidParams.AddNested("TrainingJobDefinition", err.(request.ErrInvalidParams))
17373		}
17374	}
17375	if s.TrainingJobDefinitions != nil {
17376		for i, v := range s.TrainingJobDefinitions {
17377			if v == nil {
17378				continue
17379			}
17380			if err := v.Validate(); err != nil {
17381				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TrainingJobDefinitions", i), err.(request.ErrInvalidParams))
17382			}
17383		}
17384	}
17385	if s.WarmStartConfig != nil {
17386		if err := s.WarmStartConfig.Validate(); err != nil {
17387			invalidParams.AddNested("WarmStartConfig", err.(request.ErrInvalidParams))
17388		}
17389	}
17390
17391	if invalidParams.Len() > 0 {
17392		return invalidParams
17393	}
17394	return nil
17395}
17396
17397// SetHyperParameterTuningJobConfig sets the HyperParameterTuningJobConfig field's value.
17398func (s *CreateHyperParameterTuningJobInput) SetHyperParameterTuningJobConfig(v *HyperParameterTuningJobConfig) *CreateHyperParameterTuningJobInput {
17399	s.HyperParameterTuningJobConfig = v
17400	return s
17401}
17402
17403// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
17404func (s *CreateHyperParameterTuningJobInput) SetHyperParameterTuningJobName(v string) *CreateHyperParameterTuningJobInput {
17405	s.HyperParameterTuningJobName = &v
17406	return s
17407}
17408
17409// SetTags sets the Tags field's value.
17410func (s *CreateHyperParameterTuningJobInput) SetTags(v []*Tag) *CreateHyperParameterTuningJobInput {
17411	s.Tags = v
17412	return s
17413}
17414
17415// SetTrainingJobDefinition sets the TrainingJobDefinition field's value.
17416func (s *CreateHyperParameterTuningJobInput) SetTrainingJobDefinition(v *HyperParameterTrainingJobDefinition) *CreateHyperParameterTuningJobInput {
17417	s.TrainingJobDefinition = v
17418	return s
17419}
17420
17421// SetTrainingJobDefinitions sets the TrainingJobDefinitions field's value.
17422func (s *CreateHyperParameterTuningJobInput) SetTrainingJobDefinitions(v []*HyperParameterTrainingJobDefinition) *CreateHyperParameterTuningJobInput {
17423	s.TrainingJobDefinitions = v
17424	return s
17425}
17426
17427// SetWarmStartConfig sets the WarmStartConfig field's value.
17428func (s *CreateHyperParameterTuningJobInput) SetWarmStartConfig(v *HyperParameterTuningJobWarmStartConfig) *CreateHyperParameterTuningJobInput {
17429	s.WarmStartConfig = v
17430	return s
17431}
17432
17433type CreateHyperParameterTuningJobOutput struct {
17434	_ struct{} `type:"structure"`
17435
17436	// The Amazon Resource Name (ARN) of the tuning job. Amazon SageMaker assigns
17437	// an ARN to a hyperparameter tuning job when you create it.
17438	//
17439	// HyperParameterTuningJobArn is a required field
17440	HyperParameterTuningJobArn *string `type:"string" required:"true"`
17441}
17442
17443// String returns the string representation
17444func (s CreateHyperParameterTuningJobOutput) String() string {
17445	return awsutil.Prettify(s)
17446}
17447
17448// GoString returns the string representation
17449func (s CreateHyperParameterTuningJobOutput) GoString() string {
17450	return s.String()
17451}
17452
17453// SetHyperParameterTuningJobArn sets the HyperParameterTuningJobArn field's value.
17454func (s *CreateHyperParameterTuningJobOutput) SetHyperParameterTuningJobArn(v string) *CreateHyperParameterTuningJobOutput {
17455	s.HyperParameterTuningJobArn = &v
17456	return s
17457}
17458
17459type CreateLabelingJobInput struct {
17460	_ struct{} `type:"structure"`
17461
17462	// Configures the labeling task and how it is presented to workers; including,
17463	// but not limited to price, keywords, and batch size (task count).
17464	//
17465	// HumanTaskConfig is a required field
17466	HumanTaskConfig *HumanTaskConfig `type:"structure" required:"true"`
17467
17468	// Input data for the labeling job, such as the Amazon S3 location of the data
17469	// objects and the location of the manifest file that describes the data objects.
17470	//
17471	// InputConfig is a required field
17472	InputConfig *LabelingJobInputConfig `type:"structure" required:"true"`
17473
17474	// The attribute name to use for the label in the output manifest file. This
17475	// is the key for the key/value pair formed with the label that a worker assigns
17476	// to the object. The name can't end with "-metadata". If you are running a
17477	// semantic segmentation labeling job, the attribute name must end with "-ref".
17478	// If you are running any other kind of labeling job, the attribute name must
17479	// not end with "-ref".
17480	//
17481	// LabelAttributeName is a required field
17482	LabelAttributeName *string `min:"1" type:"string" required:"true"`
17483
17484	// The S3 URL of the file that defines the categories used to label the data
17485	// objects.
17486	//
17487	// The file is a JSON structure in the following format:
17488	//
17489	// {
17490	//
17491	// "document-version": "2018-11-28"
17492	//
17493	// "labels": [
17494	//
17495	// {
17496	//
17497	// "label": "label 1"
17498	//
17499	// },
17500	//
17501	// {
17502	//
17503	// "label": "label 2"
17504	//
17505	// },
17506	//
17507	// ...
17508	//
17509	// {
17510	//
17511	// "label": "label n"
17512	//
17513	// }
17514	//
17515	// ]
17516	//
17517	// }
17518	LabelCategoryConfigS3Uri *string `type:"string"`
17519
17520	// Configures the information required to perform automated data labeling.
17521	LabelingJobAlgorithmsConfig *LabelingJobAlgorithmsConfig `type:"structure"`
17522
17523	// The name of the labeling job. This name is used to identify the job in a
17524	// list of labeling jobs.
17525	//
17526	// LabelingJobName is a required field
17527	LabelingJobName *string `min:"1" type:"string" required:"true"`
17528
17529	// The location of the output data and the AWS Key Management Service key ID
17530	// for the key used to encrypt the output data, if any.
17531	//
17532	// OutputConfig is a required field
17533	OutputConfig *LabelingJobOutputConfig `type:"structure" required:"true"`
17534
17535	// The Amazon Resource Number (ARN) that Amazon SageMaker assumes to perform
17536	// tasks on your behalf during data labeling. You must grant this role the necessary
17537	// permissions so that Amazon SageMaker can successfully complete data labeling.
17538	//
17539	// RoleArn is a required field
17540	RoleArn *string `min:"20" type:"string" required:"true"`
17541
17542	// A set of conditions for stopping the labeling job. If any of the conditions
17543	// are met, the job is automatically stopped. You can use these conditions to
17544	// control the cost of data labeling.
17545	StoppingConditions *LabelingJobStoppingConditions `type:"structure"`
17546
17547	// An array of key/value pairs. For more information, see Using Cost Allocation
17548	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
17549	// in the AWS Billing and Cost Management User Guide.
17550	Tags []*Tag `type:"list"`
17551}
17552
17553// String returns the string representation
17554func (s CreateLabelingJobInput) String() string {
17555	return awsutil.Prettify(s)
17556}
17557
17558// GoString returns the string representation
17559func (s CreateLabelingJobInput) GoString() string {
17560	return s.String()
17561}
17562
17563// Validate inspects the fields of the type to determine if they are valid.
17564func (s *CreateLabelingJobInput) Validate() error {
17565	invalidParams := request.ErrInvalidParams{Context: "CreateLabelingJobInput"}
17566	if s.HumanTaskConfig == nil {
17567		invalidParams.Add(request.NewErrParamRequired("HumanTaskConfig"))
17568	}
17569	if s.InputConfig == nil {
17570		invalidParams.Add(request.NewErrParamRequired("InputConfig"))
17571	}
17572	if s.LabelAttributeName == nil {
17573		invalidParams.Add(request.NewErrParamRequired("LabelAttributeName"))
17574	}
17575	if s.LabelAttributeName != nil && len(*s.LabelAttributeName) < 1 {
17576		invalidParams.Add(request.NewErrParamMinLen("LabelAttributeName", 1))
17577	}
17578	if s.LabelingJobName == nil {
17579		invalidParams.Add(request.NewErrParamRequired("LabelingJobName"))
17580	}
17581	if s.LabelingJobName != nil && len(*s.LabelingJobName) < 1 {
17582		invalidParams.Add(request.NewErrParamMinLen("LabelingJobName", 1))
17583	}
17584	if s.OutputConfig == nil {
17585		invalidParams.Add(request.NewErrParamRequired("OutputConfig"))
17586	}
17587	if s.RoleArn == nil {
17588		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
17589	}
17590	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
17591		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
17592	}
17593	if s.HumanTaskConfig != nil {
17594		if err := s.HumanTaskConfig.Validate(); err != nil {
17595			invalidParams.AddNested("HumanTaskConfig", err.(request.ErrInvalidParams))
17596		}
17597	}
17598	if s.InputConfig != nil {
17599		if err := s.InputConfig.Validate(); err != nil {
17600			invalidParams.AddNested("InputConfig", err.(request.ErrInvalidParams))
17601		}
17602	}
17603	if s.LabelingJobAlgorithmsConfig != nil {
17604		if err := s.LabelingJobAlgorithmsConfig.Validate(); err != nil {
17605			invalidParams.AddNested("LabelingJobAlgorithmsConfig", err.(request.ErrInvalidParams))
17606		}
17607	}
17608	if s.OutputConfig != nil {
17609		if err := s.OutputConfig.Validate(); err != nil {
17610			invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams))
17611		}
17612	}
17613	if s.StoppingConditions != nil {
17614		if err := s.StoppingConditions.Validate(); err != nil {
17615			invalidParams.AddNested("StoppingConditions", err.(request.ErrInvalidParams))
17616		}
17617	}
17618	if s.Tags != nil {
17619		for i, v := range s.Tags {
17620			if v == nil {
17621				continue
17622			}
17623			if err := v.Validate(); err != nil {
17624				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
17625			}
17626		}
17627	}
17628
17629	if invalidParams.Len() > 0 {
17630		return invalidParams
17631	}
17632	return nil
17633}
17634
17635// SetHumanTaskConfig sets the HumanTaskConfig field's value.
17636func (s *CreateLabelingJobInput) SetHumanTaskConfig(v *HumanTaskConfig) *CreateLabelingJobInput {
17637	s.HumanTaskConfig = v
17638	return s
17639}
17640
17641// SetInputConfig sets the InputConfig field's value.
17642func (s *CreateLabelingJobInput) SetInputConfig(v *LabelingJobInputConfig) *CreateLabelingJobInput {
17643	s.InputConfig = v
17644	return s
17645}
17646
17647// SetLabelAttributeName sets the LabelAttributeName field's value.
17648func (s *CreateLabelingJobInput) SetLabelAttributeName(v string) *CreateLabelingJobInput {
17649	s.LabelAttributeName = &v
17650	return s
17651}
17652
17653// SetLabelCategoryConfigS3Uri sets the LabelCategoryConfigS3Uri field's value.
17654func (s *CreateLabelingJobInput) SetLabelCategoryConfigS3Uri(v string) *CreateLabelingJobInput {
17655	s.LabelCategoryConfigS3Uri = &v
17656	return s
17657}
17658
17659// SetLabelingJobAlgorithmsConfig sets the LabelingJobAlgorithmsConfig field's value.
17660func (s *CreateLabelingJobInput) SetLabelingJobAlgorithmsConfig(v *LabelingJobAlgorithmsConfig) *CreateLabelingJobInput {
17661	s.LabelingJobAlgorithmsConfig = v
17662	return s
17663}
17664
17665// SetLabelingJobName sets the LabelingJobName field's value.
17666func (s *CreateLabelingJobInput) SetLabelingJobName(v string) *CreateLabelingJobInput {
17667	s.LabelingJobName = &v
17668	return s
17669}
17670
17671// SetOutputConfig sets the OutputConfig field's value.
17672func (s *CreateLabelingJobInput) SetOutputConfig(v *LabelingJobOutputConfig) *CreateLabelingJobInput {
17673	s.OutputConfig = v
17674	return s
17675}
17676
17677// SetRoleArn sets the RoleArn field's value.
17678func (s *CreateLabelingJobInput) SetRoleArn(v string) *CreateLabelingJobInput {
17679	s.RoleArn = &v
17680	return s
17681}
17682
17683// SetStoppingConditions sets the StoppingConditions field's value.
17684func (s *CreateLabelingJobInput) SetStoppingConditions(v *LabelingJobStoppingConditions) *CreateLabelingJobInput {
17685	s.StoppingConditions = v
17686	return s
17687}
17688
17689// SetTags sets the Tags field's value.
17690func (s *CreateLabelingJobInput) SetTags(v []*Tag) *CreateLabelingJobInput {
17691	s.Tags = v
17692	return s
17693}
17694
17695type CreateLabelingJobOutput struct {
17696	_ struct{} `type:"structure"`
17697
17698	// The Amazon Resource Name (ARN) of the labeling job. You use this ARN to identify
17699	// the labeling job.
17700	//
17701	// LabelingJobArn is a required field
17702	LabelingJobArn *string `type:"string" required:"true"`
17703}
17704
17705// String returns the string representation
17706func (s CreateLabelingJobOutput) String() string {
17707	return awsutil.Prettify(s)
17708}
17709
17710// GoString returns the string representation
17711func (s CreateLabelingJobOutput) GoString() string {
17712	return s.String()
17713}
17714
17715// SetLabelingJobArn sets the LabelingJobArn field's value.
17716func (s *CreateLabelingJobOutput) SetLabelingJobArn(v string) *CreateLabelingJobOutput {
17717	s.LabelingJobArn = &v
17718	return s
17719}
17720
17721type CreateModelInput struct {
17722	_ struct{} `type:"structure"`
17723
17724	// Specifies the containers in the inference pipeline.
17725	Containers []*ContainerDefinition `type:"list"`
17726
17727	// Isolates the model container. No inbound or outbound network calls can be
17728	// made to or from the model container.
17729	EnableNetworkIsolation *bool `type:"boolean"`
17730
17731	// The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can
17732	// assume to access model artifacts and docker image for deployment on ML compute
17733	// instances or for batch transform jobs. Deploying on ML compute instances
17734	// is part of model hosting. For more information, see Amazon SageMaker Roles
17735	// (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html).
17736	//
17737	// To be able to pass this role to Amazon SageMaker, the caller of this API
17738	// must have the iam:PassRole permission.
17739	//
17740	// ExecutionRoleArn is a required field
17741	ExecutionRoleArn *string `min:"20" type:"string" required:"true"`
17742
17743	// The name of the new model.
17744	//
17745	// ModelName is a required field
17746	ModelName *string `type:"string" required:"true"`
17747
17748	// The location of the primary docker image containing inference code, associated
17749	// artifacts, and custom environment map that the inference code uses when the
17750	// model is deployed for predictions.
17751	PrimaryContainer *ContainerDefinition `type:"structure"`
17752
17753	// An array of key-value pairs. For more information, see Using Cost Allocation
17754	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
17755	// in the AWS Billing and Cost Management User Guide.
17756	Tags []*Tag `type:"list"`
17757
17758	// A VpcConfig object that specifies the VPC that you want your model to connect
17759	// to. Control access to and from your model container by configuring the VPC.
17760	// VpcConfig is used in hosting services and in batch transform. For more information,
17761	// see Protect Endpoints by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html)
17762	// and Protect Data in Batch Transform Jobs by Using an Amazon Virtual Private
17763	// Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-vpc.html).
17764	VpcConfig *VpcConfig `type:"structure"`
17765}
17766
17767// String returns the string representation
17768func (s CreateModelInput) String() string {
17769	return awsutil.Prettify(s)
17770}
17771
17772// GoString returns the string representation
17773func (s CreateModelInput) GoString() string {
17774	return s.String()
17775}
17776
17777// Validate inspects the fields of the type to determine if they are valid.
17778func (s *CreateModelInput) Validate() error {
17779	invalidParams := request.ErrInvalidParams{Context: "CreateModelInput"}
17780	if s.ExecutionRoleArn == nil {
17781		invalidParams.Add(request.NewErrParamRequired("ExecutionRoleArn"))
17782	}
17783	if s.ExecutionRoleArn != nil && len(*s.ExecutionRoleArn) < 20 {
17784		invalidParams.Add(request.NewErrParamMinLen("ExecutionRoleArn", 20))
17785	}
17786	if s.ModelName == nil {
17787		invalidParams.Add(request.NewErrParamRequired("ModelName"))
17788	}
17789	if s.Containers != nil {
17790		for i, v := range s.Containers {
17791			if v == nil {
17792				continue
17793			}
17794			if err := v.Validate(); err != nil {
17795				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Containers", i), err.(request.ErrInvalidParams))
17796			}
17797		}
17798	}
17799	if s.PrimaryContainer != nil {
17800		if err := s.PrimaryContainer.Validate(); err != nil {
17801			invalidParams.AddNested("PrimaryContainer", err.(request.ErrInvalidParams))
17802		}
17803	}
17804	if s.Tags != nil {
17805		for i, v := range s.Tags {
17806			if v == nil {
17807				continue
17808			}
17809			if err := v.Validate(); err != nil {
17810				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
17811			}
17812		}
17813	}
17814	if s.VpcConfig != nil {
17815		if err := s.VpcConfig.Validate(); err != nil {
17816			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
17817		}
17818	}
17819
17820	if invalidParams.Len() > 0 {
17821		return invalidParams
17822	}
17823	return nil
17824}
17825
17826// SetContainers sets the Containers field's value.
17827func (s *CreateModelInput) SetContainers(v []*ContainerDefinition) *CreateModelInput {
17828	s.Containers = v
17829	return s
17830}
17831
17832// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
17833func (s *CreateModelInput) SetEnableNetworkIsolation(v bool) *CreateModelInput {
17834	s.EnableNetworkIsolation = &v
17835	return s
17836}
17837
17838// SetExecutionRoleArn sets the ExecutionRoleArn field's value.
17839func (s *CreateModelInput) SetExecutionRoleArn(v string) *CreateModelInput {
17840	s.ExecutionRoleArn = &v
17841	return s
17842}
17843
17844// SetModelName sets the ModelName field's value.
17845func (s *CreateModelInput) SetModelName(v string) *CreateModelInput {
17846	s.ModelName = &v
17847	return s
17848}
17849
17850// SetPrimaryContainer sets the PrimaryContainer field's value.
17851func (s *CreateModelInput) SetPrimaryContainer(v *ContainerDefinition) *CreateModelInput {
17852	s.PrimaryContainer = v
17853	return s
17854}
17855
17856// SetTags sets the Tags field's value.
17857func (s *CreateModelInput) SetTags(v []*Tag) *CreateModelInput {
17858	s.Tags = v
17859	return s
17860}
17861
17862// SetVpcConfig sets the VpcConfig field's value.
17863func (s *CreateModelInput) SetVpcConfig(v *VpcConfig) *CreateModelInput {
17864	s.VpcConfig = v
17865	return s
17866}
17867
17868type CreateModelOutput struct {
17869	_ struct{} `type:"structure"`
17870
17871	// The ARN of the model created in Amazon SageMaker.
17872	//
17873	// ModelArn is a required field
17874	ModelArn *string `min:"20" type:"string" required:"true"`
17875}
17876
17877// String returns the string representation
17878func (s CreateModelOutput) String() string {
17879	return awsutil.Prettify(s)
17880}
17881
17882// GoString returns the string representation
17883func (s CreateModelOutput) GoString() string {
17884	return s.String()
17885}
17886
17887// SetModelArn sets the ModelArn field's value.
17888func (s *CreateModelOutput) SetModelArn(v string) *CreateModelOutput {
17889	s.ModelArn = &v
17890	return s
17891}
17892
17893type CreateModelPackageInput struct {
17894	_ struct{} `type:"structure"`
17895
17896	// Whether to certify the model package for listing on AWS Marketplace.
17897	CertifyForMarketplace *bool `type:"boolean"`
17898
17899	// Specifies details about inference jobs that can be run with models based
17900	// on this model package, including the following:
17901	//
17902	//    * The Amazon ECR paths of containers that contain the inference code and
17903	//    model artifacts.
17904	//
17905	//    * The instance types that the model package supports for transform jobs
17906	//    and real-time endpoints used for inference.
17907	//
17908	//    * The input and output content formats that the model package supports
17909	//    for inference.
17910	InferenceSpecification *InferenceSpecification `type:"structure"`
17911
17912	// A description of the model package.
17913	ModelPackageDescription *string `type:"string"`
17914
17915	// The name of the model package. The name must have 1 to 63 characters. Valid
17916	// characters are a-z, A-Z, 0-9, and - (hyphen).
17917	//
17918	// ModelPackageName is a required field
17919	ModelPackageName *string `min:"1" type:"string" required:"true"`
17920
17921	// Details about the algorithm that was used to create the model package.
17922	SourceAlgorithmSpecification *SourceAlgorithmSpecification `type:"structure"`
17923
17924	// Specifies configurations for one or more transform jobs that Amazon SageMaker
17925	// runs to test the model package.
17926	ValidationSpecification *ModelPackageValidationSpecification `type:"structure"`
17927}
17928
17929// String returns the string representation
17930func (s CreateModelPackageInput) String() string {
17931	return awsutil.Prettify(s)
17932}
17933
17934// GoString returns the string representation
17935func (s CreateModelPackageInput) GoString() string {
17936	return s.String()
17937}
17938
17939// Validate inspects the fields of the type to determine if they are valid.
17940func (s *CreateModelPackageInput) Validate() error {
17941	invalidParams := request.ErrInvalidParams{Context: "CreateModelPackageInput"}
17942	if s.ModelPackageName == nil {
17943		invalidParams.Add(request.NewErrParamRequired("ModelPackageName"))
17944	}
17945	if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 {
17946		invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1))
17947	}
17948	if s.InferenceSpecification != nil {
17949		if err := s.InferenceSpecification.Validate(); err != nil {
17950			invalidParams.AddNested("InferenceSpecification", err.(request.ErrInvalidParams))
17951		}
17952	}
17953	if s.SourceAlgorithmSpecification != nil {
17954		if err := s.SourceAlgorithmSpecification.Validate(); err != nil {
17955			invalidParams.AddNested("SourceAlgorithmSpecification", err.(request.ErrInvalidParams))
17956		}
17957	}
17958	if s.ValidationSpecification != nil {
17959		if err := s.ValidationSpecification.Validate(); err != nil {
17960			invalidParams.AddNested("ValidationSpecification", err.(request.ErrInvalidParams))
17961		}
17962	}
17963
17964	if invalidParams.Len() > 0 {
17965		return invalidParams
17966	}
17967	return nil
17968}
17969
17970// SetCertifyForMarketplace sets the CertifyForMarketplace field's value.
17971func (s *CreateModelPackageInput) SetCertifyForMarketplace(v bool) *CreateModelPackageInput {
17972	s.CertifyForMarketplace = &v
17973	return s
17974}
17975
17976// SetInferenceSpecification sets the InferenceSpecification field's value.
17977func (s *CreateModelPackageInput) SetInferenceSpecification(v *InferenceSpecification) *CreateModelPackageInput {
17978	s.InferenceSpecification = v
17979	return s
17980}
17981
17982// SetModelPackageDescription sets the ModelPackageDescription field's value.
17983func (s *CreateModelPackageInput) SetModelPackageDescription(v string) *CreateModelPackageInput {
17984	s.ModelPackageDescription = &v
17985	return s
17986}
17987
17988// SetModelPackageName sets the ModelPackageName field's value.
17989func (s *CreateModelPackageInput) SetModelPackageName(v string) *CreateModelPackageInput {
17990	s.ModelPackageName = &v
17991	return s
17992}
17993
17994// SetSourceAlgorithmSpecification sets the SourceAlgorithmSpecification field's value.
17995func (s *CreateModelPackageInput) SetSourceAlgorithmSpecification(v *SourceAlgorithmSpecification) *CreateModelPackageInput {
17996	s.SourceAlgorithmSpecification = v
17997	return s
17998}
17999
18000// SetValidationSpecification sets the ValidationSpecification field's value.
18001func (s *CreateModelPackageInput) SetValidationSpecification(v *ModelPackageValidationSpecification) *CreateModelPackageInput {
18002	s.ValidationSpecification = v
18003	return s
18004}
18005
18006type CreateModelPackageOutput struct {
18007	_ struct{} `type:"structure"`
18008
18009	// The Amazon Resource Name (ARN) of the new model package.
18010	//
18011	// ModelPackageArn is a required field
18012	ModelPackageArn *string `min:"1" type:"string" required:"true"`
18013}
18014
18015// String returns the string representation
18016func (s CreateModelPackageOutput) String() string {
18017	return awsutil.Prettify(s)
18018}
18019
18020// GoString returns the string representation
18021func (s CreateModelPackageOutput) GoString() string {
18022	return s.String()
18023}
18024
18025// SetModelPackageArn sets the ModelPackageArn field's value.
18026func (s *CreateModelPackageOutput) SetModelPackageArn(v string) *CreateModelPackageOutput {
18027	s.ModelPackageArn = &v
18028	return s
18029}
18030
18031type CreateMonitoringScheduleInput struct {
18032	_ struct{} `type:"structure"`
18033
18034	// The configuration object that specifies the monitoring schedule and defines
18035	// the monitoring job.
18036	//
18037	// MonitoringScheduleConfig is a required field
18038	MonitoringScheduleConfig *MonitoringScheduleConfig `type:"structure" required:"true"`
18039
18040	// The name of the monitoring schedule. The name must be unique within an AWS
18041	// Region within an AWS account.
18042	//
18043	// MonitoringScheduleName is a required field
18044	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
18045
18046	// (Optional) An array of key-value pairs. For more information, see Using Cost
18047	// Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL)
18048	// in the AWS Billing and Cost Management User Guide.
18049	Tags []*Tag `type:"list"`
18050}
18051
18052// String returns the string representation
18053func (s CreateMonitoringScheduleInput) String() string {
18054	return awsutil.Prettify(s)
18055}
18056
18057// GoString returns the string representation
18058func (s CreateMonitoringScheduleInput) GoString() string {
18059	return s.String()
18060}
18061
18062// Validate inspects the fields of the type to determine if they are valid.
18063func (s *CreateMonitoringScheduleInput) Validate() error {
18064	invalidParams := request.ErrInvalidParams{Context: "CreateMonitoringScheduleInput"}
18065	if s.MonitoringScheduleConfig == nil {
18066		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleConfig"))
18067	}
18068	if s.MonitoringScheduleName == nil {
18069		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName"))
18070	}
18071	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
18072		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
18073	}
18074	if s.MonitoringScheduleConfig != nil {
18075		if err := s.MonitoringScheduleConfig.Validate(); err != nil {
18076			invalidParams.AddNested("MonitoringScheduleConfig", err.(request.ErrInvalidParams))
18077		}
18078	}
18079	if s.Tags != nil {
18080		for i, v := range s.Tags {
18081			if v == nil {
18082				continue
18083			}
18084			if err := v.Validate(); err != nil {
18085				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
18086			}
18087		}
18088	}
18089
18090	if invalidParams.Len() > 0 {
18091		return invalidParams
18092	}
18093	return nil
18094}
18095
18096// SetMonitoringScheduleConfig sets the MonitoringScheduleConfig field's value.
18097func (s *CreateMonitoringScheduleInput) SetMonitoringScheduleConfig(v *MonitoringScheduleConfig) *CreateMonitoringScheduleInput {
18098	s.MonitoringScheduleConfig = v
18099	return s
18100}
18101
18102// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
18103func (s *CreateMonitoringScheduleInput) SetMonitoringScheduleName(v string) *CreateMonitoringScheduleInput {
18104	s.MonitoringScheduleName = &v
18105	return s
18106}
18107
18108// SetTags sets the Tags field's value.
18109func (s *CreateMonitoringScheduleInput) SetTags(v []*Tag) *CreateMonitoringScheduleInput {
18110	s.Tags = v
18111	return s
18112}
18113
18114type CreateMonitoringScheduleOutput struct {
18115	_ struct{} `type:"structure"`
18116
18117	// The Amazon Resource Name (ARN) of the monitoring schedule.
18118	//
18119	// MonitoringScheduleArn is a required field
18120	MonitoringScheduleArn *string `type:"string" required:"true"`
18121}
18122
18123// String returns the string representation
18124func (s CreateMonitoringScheduleOutput) String() string {
18125	return awsutil.Prettify(s)
18126}
18127
18128// GoString returns the string representation
18129func (s CreateMonitoringScheduleOutput) GoString() string {
18130	return s.String()
18131}
18132
18133// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
18134func (s *CreateMonitoringScheduleOutput) SetMonitoringScheduleArn(v string) *CreateMonitoringScheduleOutput {
18135	s.MonitoringScheduleArn = &v
18136	return s
18137}
18138
18139type CreateNotebookInstanceInput struct {
18140	_ struct{} `type:"structure"`
18141
18142	// A list of Elastic Inference (EI) instance types to associate with this notebook
18143	// instance. Currently, only one instance type can be associated with a notebook
18144	// instance. For more information, see Using Elastic Inference in Amazon SageMaker
18145	// (https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html).
18146	AcceleratorTypes []*string `type:"list"`
18147
18148	// An array of up to three Git repositories to associate with the notebook instance.
18149	// These can be either the names of Git repositories stored as resources in
18150	// your account, or the URL of Git repositories in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
18151	// or in any other Git repository. These repositories are cloned at the same
18152	// level as the default repository of your notebook instance. For more information,
18153	// see Associating Git Repositories with Amazon SageMaker Notebook Instances
18154	// (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
18155	AdditionalCodeRepositories []*string `type:"list"`
18156
18157	// A Git repository to associate with the notebook instance as its default code
18158	// repository. This can be either the name of a Git repository stored as a resource
18159	// in your account, or the URL of a Git repository in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
18160	// or in any other Git repository. When you open a notebook instance, it opens
18161	// in the directory that contains this repository. For more information, see
18162	// Associating Git Repositories with Amazon SageMaker Notebook Instances (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
18163	DefaultCodeRepository *string `min:"1" type:"string"`
18164
18165	// Sets whether Amazon SageMaker provides internet access to the notebook instance.
18166	// If you set this to Disabled this notebook instance will be able to access
18167	// resources only in your VPC, and will not be able to connect to Amazon SageMaker
18168	// training and endpoint services unless your configure a NAT Gateway in your
18169	// VPC.
18170	//
18171	// For more information, see Notebook Instances Are Internet-Enabled by Default
18172	// (https://docs.aws.amazon.com/sagemaker/latest/dg/appendix-additional-considerations.html#appendix-notebook-and-internet-access).
18173	// You can set the value of this parameter to Disabled only if you set a value
18174	// for the SubnetId parameter.
18175	DirectInternetAccess *string `type:"string" enum:"DirectInternetAccess"`
18176
18177	// The type of ML compute instance to launch for the notebook instance.
18178	//
18179	// InstanceType is a required field
18180	InstanceType *string `type:"string" required:"true" enum:"InstanceType"`
18181
18182	// The Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon
18183	// SageMaker uses to encrypt data on the storage volume attached to your notebook
18184	// instance. The KMS key you provide must be enabled. For information, see Enabling
18185	// and Disabling Keys (https://docs.aws.amazon.com/kms/latest/developerguide/enabling-keys.html)
18186	// in the AWS Key Management Service Developer Guide.
18187	KmsKeyId *string `type:"string"`
18188
18189	// The name of a lifecycle configuration to associate with the notebook instance.
18190	// For information about lifestyle configurations, see Step 2.1: (Optional)
18191	// Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
18192	LifecycleConfigName *string `type:"string"`
18193
18194	// The name of the new notebook instance.
18195	//
18196	// NotebookInstanceName is a required field
18197	NotebookInstanceName *string `type:"string" required:"true"`
18198
18199	// When you send any requests to AWS resources from the notebook instance, Amazon
18200	// SageMaker assumes this role to perform tasks on your behalf. You must grant
18201	// this role necessary permissions so Amazon SageMaker can perform these tasks.
18202	// The policy must allow the Amazon SageMaker service principal (sagemaker.amazonaws.com)
18203	// permissions to assume this role. For more information, see Amazon SageMaker
18204	// Roles (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html).
18205	//
18206	// To be able to pass this role to Amazon SageMaker, the caller of this API
18207	// must have the iam:PassRole permission.
18208	//
18209	// RoleArn is a required field
18210	RoleArn *string `min:"20" type:"string" required:"true"`
18211
18212	// Whether root access is enabled or disabled for users of the notebook instance.
18213	// The default value is Enabled.
18214	//
18215	// Lifecycle configurations need root access to be able to set up a notebook
18216	// instance. Because of this, lifecycle configurations associated with a notebook
18217	// instance always run with root access even if you disable root access for
18218	// users.
18219	RootAccess *string `type:"string" enum:"RootAccess"`
18220
18221	// The VPC security group IDs, in the form sg-xxxxxxxx. The security groups
18222	// must be for the same VPC as specified in the subnet.
18223	SecurityGroupIds []*string `type:"list"`
18224
18225	// The ID of the subnet in a VPC to which you would like to have a connectivity
18226	// from your ML compute instance.
18227	SubnetId *string `type:"string"`
18228
18229	// A list of tags to associate with the notebook instance. You can add tags
18230	// later by using the CreateTags API.
18231	Tags []*Tag `type:"list"`
18232
18233	// The size, in GB, of the ML storage volume to attach to the notebook instance.
18234	// The default value is 5 GB.
18235	VolumeSizeInGB *int64 `min:"5" type:"integer"`
18236}
18237
18238// String returns the string representation
18239func (s CreateNotebookInstanceInput) String() string {
18240	return awsutil.Prettify(s)
18241}
18242
18243// GoString returns the string representation
18244func (s CreateNotebookInstanceInput) GoString() string {
18245	return s.String()
18246}
18247
18248// Validate inspects the fields of the type to determine if they are valid.
18249func (s *CreateNotebookInstanceInput) Validate() error {
18250	invalidParams := request.ErrInvalidParams{Context: "CreateNotebookInstanceInput"}
18251	if s.DefaultCodeRepository != nil && len(*s.DefaultCodeRepository) < 1 {
18252		invalidParams.Add(request.NewErrParamMinLen("DefaultCodeRepository", 1))
18253	}
18254	if s.InstanceType == nil {
18255		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
18256	}
18257	if s.NotebookInstanceName == nil {
18258		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
18259	}
18260	if s.RoleArn == nil {
18261		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
18262	}
18263	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
18264		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
18265	}
18266	if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 5 {
18267		invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 5))
18268	}
18269	if s.Tags != nil {
18270		for i, v := range s.Tags {
18271			if v == nil {
18272				continue
18273			}
18274			if err := v.Validate(); err != nil {
18275				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
18276			}
18277		}
18278	}
18279
18280	if invalidParams.Len() > 0 {
18281		return invalidParams
18282	}
18283	return nil
18284}
18285
18286// SetAcceleratorTypes sets the AcceleratorTypes field's value.
18287func (s *CreateNotebookInstanceInput) SetAcceleratorTypes(v []*string) *CreateNotebookInstanceInput {
18288	s.AcceleratorTypes = v
18289	return s
18290}
18291
18292// SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value.
18293func (s *CreateNotebookInstanceInput) SetAdditionalCodeRepositories(v []*string) *CreateNotebookInstanceInput {
18294	s.AdditionalCodeRepositories = v
18295	return s
18296}
18297
18298// SetDefaultCodeRepository sets the DefaultCodeRepository field's value.
18299func (s *CreateNotebookInstanceInput) SetDefaultCodeRepository(v string) *CreateNotebookInstanceInput {
18300	s.DefaultCodeRepository = &v
18301	return s
18302}
18303
18304// SetDirectInternetAccess sets the DirectInternetAccess field's value.
18305func (s *CreateNotebookInstanceInput) SetDirectInternetAccess(v string) *CreateNotebookInstanceInput {
18306	s.DirectInternetAccess = &v
18307	return s
18308}
18309
18310// SetInstanceType sets the InstanceType field's value.
18311func (s *CreateNotebookInstanceInput) SetInstanceType(v string) *CreateNotebookInstanceInput {
18312	s.InstanceType = &v
18313	return s
18314}
18315
18316// SetKmsKeyId sets the KmsKeyId field's value.
18317func (s *CreateNotebookInstanceInput) SetKmsKeyId(v string) *CreateNotebookInstanceInput {
18318	s.KmsKeyId = &v
18319	return s
18320}
18321
18322// SetLifecycleConfigName sets the LifecycleConfigName field's value.
18323func (s *CreateNotebookInstanceInput) SetLifecycleConfigName(v string) *CreateNotebookInstanceInput {
18324	s.LifecycleConfigName = &v
18325	return s
18326}
18327
18328// SetNotebookInstanceName sets the NotebookInstanceName field's value.
18329func (s *CreateNotebookInstanceInput) SetNotebookInstanceName(v string) *CreateNotebookInstanceInput {
18330	s.NotebookInstanceName = &v
18331	return s
18332}
18333
18334// SetRoleArn sets the RoleArn field's value.
18335func (s *CreateNotebookInstanceInput) SetRoleArn(v string) *CreateNotebookInstanceInput {
18336	s.RoleArn = &v
18337	return s
18338}
18339
18340// SetRootAccess sets the RootAccess field's value.
18341func (s *CreateNotebookInstanceInput) SetRootAccess(v string) *CreateNotebookInstanceInput {
18342	s.RootAccess = &v
18343	return s
18344}
18345
18346// SetSecurityGroupIds sets the SecurityGroupIds field's value.
18347func (s *CreateNotebookInstanceInput) SetSecurityGroupIds(v []*string) *CreateNotebookInstanceInput {
18348	s.SecurityGroupIds = v
18349	return s
18350}
18351
18352// SetSubnetId sets the SubnetId field's value.
18353func (s *CreateNotebookInstanceInput) SetSubnetId(v string) *CreateNotebookInstanceInput {
18354	s.SubnetId = &v
18355	return s
18356}
18357
18358// SetTags sets the Tags field's value.
18359func (s *CreateNotebookInstanceInput) SetTags(v []*Tag) *CreateNotebookInstanceInput {
18360	s.Tags = v
18361	return s
18362}
18363
18364// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
18365func (s *CreateNotebookInstanceInput) SetVolumeSizeInGB(v int64) *CreateNotebookInstanceInput {
18366	s.VolumeSizeInGB = &v
18367	return s
18368}
18369
18370type CreateNotebookInstanceLifecycleConfigInput struct {
18371	_ struct{} `type:"structure"`
18372
18373	// The name of the lifecycle configuration.
18374	//
18375	// NotebookInstanceLifecycleConfigName is a required field
18376	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
18377
18378	// A shell script that runs only once, when you create a notebook instance.
18379	// The shell script must be a base64-encoded string.
18380	OnCreate []*NotebookInstanceLifecycleHook `type:"list"`
18381
18382	// A shell script that runs every time you start a notebook instance, including
18383	// when you create the notebook instance. The shell script must be a base64-encoded
18384	// string.
18385	OnStart []*NotebookInstanceLifecycleHook `type:"list"`
18386}
18387
18388// String returns the string representation
18389func (s CreateNotebookInstanceLifecycleConfigInput) String() string {
18390	return awsutil.Prettify(s)
18391}
18392
18393// GoString returns the string representation
18394func (s CreateNotebookInstanceLifecycleConfigInput) GoString() string {
18395	return s.String()
18396}
18397
18398// Validate inspects the fields of the type to determine if they are valid.
18399func (s *CreateNotebookInstanceLifecycleConfigInput) Validate() error {
18400	invalidParams := request.ErrInvalidParams{Context: "CreateNotebookInstanceLifecycleConfigInput"}
18401	if s.NotebookInstanceLifecycleConfigName == nil {
18402		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceLifecycleConfigName"))
18403	}
18404	if s.OnCreate != nil {
18405		for i, v := range s.OnCreate {
18406			if v == nil {
18407				continue
18408			}
18409			if err := v.Validate(); err != nil {
18410				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OnCreate", i), err.(request.ErrInvalidParams))
18411			}
18412		}
18413	}
18414	if s.OnStart != nil {
18415		for i, v := range s.OnStart {
18416			if v == nil {
18417				continue
18418			}
18419			if err := v.Validate(); err != nil {
18420				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OnStart", i), err.(request.ErrInvalidParams))
18421			}
18422		}
18423	}
18424
18425	if invalidParams.Len() > 0 {
18426		return invalidParams
18427	}
18428	return nil
18429}
18430
18431// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
18432func (s *CreateNotebookInstanceLifecycleConfigInput) SetNotebookInstanceLifecycleConfigName(v string) *CreateNotebookInstanceLifecycleConfigInput {
18433	s.NotebookInstanceLifecycleConfigName = &v
18434	return s
18435}
18436
18437// SetOnCreate sets the OnCreate field's value.
18438func (s *CreateNotebookInstanceLifecycleConfigInput) SetOnCreate(v []*NotebookInstanceLifecycleHook) *CreateNotebookInstanceLifecycleConfigInput {
18439	s.OnCreate = v
18440	return s
18441}
18442
18443// SetOnStart sets the OnStart field's value.
18444func (s *CreateNotebookInstanceLifecycleConfigInput) SetOnStart(v []*NotebookInstanceLifecycleHook) *CreateNotebookInstanceLifecycleConfigInput {
18445	s.OnStart = v
18446	return s
18447}
18448
18449type CreateNotebookInstanceLifecycleConfigOutput struct {
18450	_ struct{} `type:"structure"`
18451
18452	// The Amazon Resource Name (ARN) of the lifecycle configuration.
18453	NotebookInstanceLifecycleConfigArn *string `type:"string"`
18454}
18455
18456// String returns the string representation
18457func (s CreateNotebookInstanceLifecycleConfigOutput) String() string {
18458	return awsutil.Prettify(s)
18459}
18460
18461// GoString returns the string representation
18462func (s CreateNotebookInstanceLifecycleConfigOutput) GoString() string {
18463	return s.String()
18464}
18465
18466// SetNotebookInstanceLifecycleConfigArn sets the NotebookInstanceLifecycleConfigArn field's value.
18467func (s *CreateNotebookInstanceLifecycleConfigOutput) SetNotebookInstanceLifecycleConfigArn(v string) *CreateNotebookInstanceLifecycleConfigOutput {
18468	s.NotebookInstanceLifecycleConfigArn = &v
18469	return s
18470}
18471
18472type CreateNotebookInstanceOutput struct {
18473	_ struct{} `type:"structure"`
18474
18475	// The Amazon Resource Name (ARN) of the notebook instance.
18476	NotebookInstanceArn *string `type:"string"`
18477}
18478
18479// String returns the string representation
18480func (s CreateNotebookInstanceOutput) String() string {
18481	return awsutil.Prettify(s)
18482}
18483
18484// GoString returns the string representation
18485func (s CreateNotebookInstanceOutput) GoString() string {
18486	return s.String()
18487}
18488
18489// SetNotebookInstanceArn sets the NotebookInstanceArn field's value.
18490func (s *CreateNotebookInstanceOutput) SetNotebookInstanceArn(v string) *CreateNotebookInstanceOutput {
18491	s.NotebookInstanceArn = &v
18492	return s
18493}
18494
18495type CreatePresignedDomainUrlInput struct {
18496	_ struct{} `type:"structure"`
18497
18498	// The domain ID.
18499	//
18500	// DomainId is a required field
18501	DomainId *string `type:"string" required:"true"`
18502
18503	// The session expiration duration in seconds.
18504	SessionExpirationDurationInSeconds *int64 `min:"1800" type:"integer"`
18505
18506	// The name of the UserProfile to sign-in as.
18507	//
18508	// UserProfileName is a required field
18509	UserProfileName *string `type:"string" required:"true"`
18510}
18511
18512// String returns the string representation
18513func (s CreatePresignedDomainUrlInput) String() string {
18514	return awsutil.Prettify(s)
18515}
18516
18517// GoString returns the string representation
18518func (s CreatePresignedDomainUrlInput) GoString() string {
18519	return s.String()
18520}
18521
18522// Validate inspects the fields of the type to determine if they are valid.
18523func (s *CreatePresignedDomainUrlInput) Validate() error {
18524	invalidParams := request.ErrInvalidParams{Context: "CreatePresignedDomainUrlInput"}
18525	if s.DomainId == nil {
18526		invalidParams.Add(request.NewErrParamRequired("DomainId"))
18527	}
18528	if s.SessionExpirationDurationInSeconds != nil && *s.SessionExpirationDurationInSeconds < 1800 {
18529		invalidParams.Add(request.NewErrParamMinValue("SessionExpirationDurationInSeconds", 1800))
18530	}
18531	if s.UserProfileName == nil {
18532		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
18533	}
18534
18535	if invalidParams.Len() > 0 {
18536		return invalidParams
18537	}
18538	return nil
18539}
18540
18541// SetDomainId sets the DomainId field's value.
18542func (s *CreatePresignedDomainUrlInput) SetDomainId(v string) *CreatePresignedDomainUrlInput {
18543	s.DomainId = &v
18544	return s
18545}
18546
18547// SetSessionExpirationDurationInSeconds sets the SessionExpirationDurationInSeconds field's value.
18548func (s *CreatePresignedDomainUrlInput) SetSessionExpirationDurationInSeconds(v int64) *CreatePresignedDomainUrlInput {
18549	s.SessionExpirationDurationInSeconds = &v
18550	return s
18551}
18552
18553// SetUserProfileName sets the UserProfileName field's value.
18554func (s *CreatePresignedDomainUrlInput) SetUserProfileName(v string) *CreatePresignedDomainUrlInput {
18555	s.UserProfileName = &v
18556	return s
18557}
18558
18559type CreatePresignedDomainUrlOutput struct {
18560	_ struct{} `type:"structure"`
18561
18562	// The presigned URL.
18563	AuthorizedUrl *string `type:"string"`
18564}
18565
18566// String returns the string representation
18567func (s CreatePresignedDomainUrlOutput) String() string {
18568	return awsutil.Prettify(s)
18569}
18570
18571// GoString returns the string representation
18572func (s CreatePresignedDomainUrlOutput) GoString() string {
18573	return s.String()
18574}
18575
18576// SetAuthorizedUrl sets the AuthorizedUrl field's value.
18577func (s *CreatePresignedDomainUrlOutput) SetAuthorizedUrl(v string) *CreatePresignedDomainUrlOutput {
18578	s.AuthorizedUrl = &v
18579	return s
18580}
18581
18582type CreatePresignedNotebookInstanceUrlInput struct {
18583	_ struct{} `type:"structure"`
18584
18585	// The name of the notebook instance.
18586	//
18587	// NotebookInstanceName is a required field
18588	NotebookInstanceName *string `type:"string" required:"true"`
18589
18590	// The duration of the session, in seconds. The default is 12 hours.
18591	SessionExpirationDurationInSeconds *int64 `min:"1800" type:"integer"`
18592}
18593
18594// String returns the string representation
18595func (s CreatePresignedNotebookInstanceUrlInput) String() string {
18596	return awsutil.Prettify(s)
18597}
18598
18599// GoString returns the string representation
18600func (s CreatePresignedNotebookInstanceUrlInput) GoString() string {
18601	return s.String()
18602}
18603
18604// Validate inspects the fields of the type to determine if they are valid.
18605func (s *CreatePresignedNotebookInstanceUrlInput) Validate() error {
18606	invalidParams := request.ErrInvalidParams{Context: "CreatePresignedNotebookInstanceUrlInput"}
18607	if s.NotebookInstanceName == nil {
18608		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
18609	}
18610	if s.SessionExpirationDurationInSeconds != nil && *s.SessionExpirationDurationInSeconds < 1800 {
18611		invalidParams.Add(request.NewErrParamMinValue("SessionExpirationDurationInSeconds", 1800))
18612	}
18613
18614	if invalidParams.Len() > 0 {
18615		return invalidParams
18616	}
18617	return nil
18618}
18619
18620// SetNotebookInstanceName sets the NotebookInstanceName field's value.
18621func (s *CreatePresignedNotebookInstanceUrlInput) SetNotebookInstanceName(v string) *CreatePresignedNotebookInstanceUrlInput {
18622	s.NotebookInstanceName = &v
18623	return s
18624}
18625
18626// SetSessionExpirationDurationInSeconds sets the SessionExpirationDurationInSeconds field's value.
18627func (s *CreatePresignedNotebookInstanceUrlInput) SetSessionExpirationDurationInSeconds(v int64) *CreatePresignedNotebookInstanceUrlInput {
18628	s.SessionExpirationDurationInSeconds = &v
18629	return s
18630}
18631
18632type CreatePresignedNotebookInstanceUrlOutput struct {
18633	_ struct{} `type:"structure"`
18634
18635	// A JSON object that contains the URL string.
18636	AuthorizedUrl *string `type:"string"`
18637}
18638
18639// String returns the string representation
18640func (s CreatePresignedNotebookInstanceUrlOutput) String() string {
18641	return awsutil.Prettify(s)
18642}
18643
18644// GoString returns the string representation
18645func (s CreatePresignedNotebookInstanceUrlOutput) GoString() string {
18646	return s.String()
18647}
18648
18649// SetAuthorizedUrl sets the AuthorizedUrl field's value.
18650func (s *CreatePresignedNotebookInstanceUrlOutput) SetAuthorizedUrl(v string) *CreatePresignedNotebookInstanceUrlOutput {
18651	s.AuthorizedUrl = &v
18652	return s
18653}
18654
18655type CreateProcessingJobInput struct {
18656	_ struct{} `type:"structure"`
18657
18658	// Configures the processing job to run a specified Docker container image.
18659	//
18660	// AppSpecification is a required field
18661	AppSpecification *AppSpecification `type:"structure" required:"true"`
18662
18663	// Sets the environment variables in the Docker container.
18664	Environment map[string]*string `type:"map"`
18665
18666	// Configuration for the experiment.
18667	ExperimentConfig *ExperimentConfig `type:"structure"`
18668
18669	// Networking options for a processing job.
18670	NetworkConfig *NetworkConfig `type:"structure"`
18671
18672	// For each input, data is downloaded from S3 into the processing container
18673	// before the processing job begins running if "S3InputMode" is set to File.
18674	ProcessingInputs []*ProcessingInput `type:"list"`
18675
18676	// The name of the processing job. The name must be unique within an AWS Region
18677	// in the AWS account.
18678	//
18679	// ProcessingJobName is a required field
18680	ProcessingJobName *string `min:"1" type:"string" required:"true"`
18681
18682	// Output configuration for the processing job.
18683	ProcessingOutputConfig *ProcessingOutputConfig `type:"structure"`
18684
18685	// Identifies the resources, ML compute instances, and ML storage volumes to
18686	// deploy for a processing job. In distributed training, you specify more than
18687	// one instance.
18688	//
18689	// ProcessingResources is a required field
18690	ProcessingResources *ProcessingResources `type:"structure" required:"true"`
18691
18692	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
18693	// to perform tasks on your behalf.
18694	//
18695	// RoleArn is a required field
18696	RoleArn *string `min:"20" type:"string" required:"true"`
18697
18698	// The time limit for how long the processing job is allowed to run.
18699	StoppingCondition *ProcessingStoppingCondition `type:"structure"`
18700
18701	// (Optional) An array of key-value pairs. For more information, see Using Cost
18702	// Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL)
18703	// in the AWS Billing and Cost Management User Guide.
18704	Tags []*Tag `type:"list"`
18705}
18706
18707// String returns the string representation
18708func (s CreateProcessingJobInput) String() string {
18709	return awsutil.Prettify(s)
18710}
18711
18712// GoString returns the string representation
18713func (s CreateProcessingJobInput) GoString() string {
18714	return s.String()
18715}
18716
18717// Validate inspects the fields of the type to determine if they are valid.
18718func (s *CreateProcessingJobInput) Validate() error {
18719	invalidParams := request.ErrInvalidParams{Context: "CreateProcessingJobInput"}
18720	if s.AppSpecification == nil {
18721		invalidParams.Add(request.NewErrParamRequired("AppSpecification"))
18722	}
18723	if s.ProcessingJobName == nil {
18724		invalidParams.Add(request.NewErrParamRequired("ProcessingJobName"))
18725	}
18726	if s.ProcessingJobName != nil && len(*s.ProcessingJobName) < 1 {
18727		invalidParams.Add(request.NewErrParamMinLen("ProcessingJobName", 1))
18728	}
18729	if s.ProcessingResources == nil {
18730		invalidParams.Add(request.NewErrParamRequired("ProcessingResources"))
18731	}
18732	if s.RoleArn == nil {
18733		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
18734	}
18735	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
18736		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
18737	}
18738	if s.AppSpecification != nil {
18739		if err := s.AppSpecification.Validate(); err != nil {
18740			invalidParams.AddNested("AppSpecification", err.(request.ErrInvalidParams))
18741		}
18742	}
18743	if s.ExperimentConfig != nil {
18744		if err := s.ExperimentConfig.Validate(); err != nil {
18745			invalidParams.AddNested("ExperimentConfig", err.(request.ErrInvalidParams))
18746		}
18747	}
18748	if s.NetworkConfig != nil {
18749		if err := s.NetworkConfig.Validate(); err != nil {
18750			invalidParams.AddNested("NetworkConfig", err.(request.ErrInvalidParams))
18751		}
18752	}
18753	if s.ProcessingInputs != nil {
18754		for i, v := range s.ProcessingInputs {
18755			if v == nil {
18756				continue
18757			}
18758			if err := v.Validate(); err != nil {
18759				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ProcessingInputs", i), err.(request.ErrInvalidParams))
18760			}
18761		}
18762	}
18763	if s.ProcessingOutputConfig != nil {
18764		if err := s.ProcessingOutputConfig.Validate(); err != nil {
18765			invalidParams.AddNested("ProcessingOutputConfig", err.(request.ErrInvalidParams))
18766		}
18767	}
18768	if s.ProcessingResources != nil {
18769		if err := s.ProcessingResources.Validate(); err != nil {
18770			invalidParams.AddNested("ProcessingResources", err.(request.ErrInvalidParams))
18771		}
18772	}
18773	if s.StoppingCondition != nil {
18774		if err := s.StoppingCondition.Validate(); err != nil {
18775			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
18776		}
18777	}
18778	if s.Tags != nil {
18779		for i, v := range s.Tags {
18780			if v == nil {
18781				continue
18782			}
18783			if err := v.Validate(); err != nil {
18784				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
18785			}
18786		}
18787	}
18788
18789	if invalidParams.Len() > 0 {
18790		return invalidParams
18791	}
18792	return nil
18793}
18794
18795// SetAppSpecification sets the AppSpecification field's value.
18796func (s *CreateProcessingJobInput) SetAppSpecification(v *AppSpecification) *CreateProcessingJobInput {
18797	s.AppSpecification = v
18798	return s
18799}
18800
18801// SetEnvironment sets the Environment field's value.
18802func (s *CreateProcessingJobInput) SetEnvironment(v map[string]*string) *CreateProcessingJobInput {
18803	s.Environment = v
18804	return s
18805}
18806
18807// SetExperimentConfig sets the ExperimentConfig field's value.
18808func (s *CreateProcessingJobInput) SetExperimentConfig(v *ExperimentConfig) *CreateProcessingJobInput {
18809	s.ExperimentConfig = v
18810	return s
18811}
18812
18813// SetNetworkConfig sets the NetworkConfig field's value.
18814func (s *CreateProcessingJobInput) SetNetworkConfig(v *NetworkConfig) *CreateProcessingJobInput {
18815	s.NetworkConfig = v
18816	return s
18817}
18818
18819// SetProcessingInputs sets the ProcessingInputs field's value.
18820func (s *CreateProcessingJobInput) SetProcessingInputs(v []*ProcessingInput) *CreateProcessingJobInput {
18821	s.ProcessingInputs = v
18822	return s
18823}
18824
18825// SetProcessingJobName sets the ProcessingJobName field's value.
18826func (s *CreateProcessingJobInput) SetProcessingJobName(v string) *CreateProcessingJobInput {
18827	s.ProcessingJobName = &v
18828	return s
18829}
18830
18831// SetProcessingOutputConfig sets the ProcessingOutputConfig field's value.
18832func (s *CreateProcessingJobInput) SetProcessingOutputConfig(v *ProcessingOutputConfig) *CreateProcessingJobInput {
18833	s.ProcessingOutputConfig = v
18834	return s
18835}
18836
18837// SetProcessingResources sets the ProcessingResources field's value.
18838func (s *CreateProcessingJobInput) SetProcessingResources(v *ProcessingResources) *CreateProcessingJobInput {
18839	s.ProcessingResources = v
18840	return s
18841}
18842
18843// SetRoleArn sets the RoleArn field's value.
18844func (s *CreateProcessingJobInput) SetRoleArn(v string) *CreateProcessingJobInput {
18845	s.RoleArn = &v
18846	return s
18847}
18848
18849// SetStoppingCondition sets the StoppingCondition field's value.
18850func (s *CreateProcessingJobInput) SetStoppingCondition(v *ProcessingStoppingCondition) *CreateProcessingJobInput {
18851	s.StoppingCondition = v
18852	return s
18853}
18854
18855// SetTags sets the Tags field's value.
18856func (s *CreateProcessingJobInput) SetTags(v []*Tag) *CreateProcessingJobInput {
18857	s.Tags = v
18858	return s
18859}
18860
18861type CreateProcessingJobOutput struct {
18862	_ struct{} `type:"structure"`
18863
18864	// The Amazon Resource Name (ARN) of the processing job.
18865	//
18866	// ProcessingJobArn is a required field
18867	ProcessingJobArn *string `type:"string" required:"true"`
18868}
18869
18870// String returns the string representation
18871func (s CreateProcessingJobOutput) String() string {
18872	return awsutil.Prettify(s)
18873}
18874
18875// GoString returns the string representation
18876func (s CreateProcessingJobOutput) GoString() string {
18877	return s.String()
18878}
18879
18880// SetProcessingJobArn sets the ProcessingJobArn field's value.
18881func (s *CreateProcessingJobOutput) SetProcessingJobArn(v string) *CreateProcessingJobOutput {
18882	s.ProcessingJobArn = &v
18883	return s
18884}
18885
18886type CreateTrainingJobInput struct {
18887	_ struct{} `type:"structure"`
18888
18889	// The registry path of the Docker image that contains the training algorithm
18890	// and algorithm-specific metadata, including the input mode. For more information
18891	// about algorithms provided by Amazon SageMaker, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
18892	// For information about providing your own algorithms, see Using Your Own Algorithms
18893	// with Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
18894	//
18895	// AlgorithmSpecification is a required field
18896	AlgorithmSpecification *AlgorithmSpecification `type:"structure" required:"true"`
18897
18898	// Contains information about the output location for managed spot training
18899	// checkpoint data.
18900	CheckpointConfig *CheckpointConfig `type:"structure"`
18901
18902	// Configuration information for the debug hook parameters, collection configuration,
18903	// and storage paths.
18904	DebugHookConfig *DebugHookConfig `type:"structure"`
18905
18906	// Configuration information for debugging rules.
18907	DebugRuleConfigurations []*DebugRuleConfiguration `type:"list"`
18908
18909	// To encrypt all communications between ML compute instances in distributed
18910	// training, choose True. Encryption provides greater security for distributed
18911	// training, but training might take longer. How long it takes depends on the
18912	// amount of communication between compute instances, especially if you use
18913	// a deep learning algorithm in distributed training. For more information,
18914	// see Protect Communications Between ML Compute Instances in a Distributed
18915	// Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/train-encrypt.html).
18916	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
18917
18918	// To train models using managed spot training, choose True. Managed spot training
18919	// provides a fully managed and scalable infrastructure for training machine
18920	// learning models. this option is useful when training jobs can be interrupted
18921	// and when there is flexibility when the training job is run.
18922	//
18923	// The complete and intermediate results of jobs are stored in an Amazon S3
18924	// bucket, and can be used as a starting point to train models incrementally.
18925	// Amazon SageMaker provides metrics and logs in CloudWatch. They can be used
18926	// to see when managed spot training jobs are running, interrupted, resumed,
18927	// or completed.
18928	EnableManagedSpotTraining *bool `type:"boolean"`
18929
18930	// Isolates the training container. No inbound or outbound network calls can
18931	// be made, except for calls between peers within a training cluster for distributed
18932	// training. If you enable network isolation for training jobs that are configured
18933	// to use a VPC, Amazon SageMaker downloads and uploads customer data and model
18934	// artifacts through the specified VPC, but the training container does not
18935	// have network access.
18936	EnableNetworkIsolation *bool `type:"boolean"`
18937
18938	// Configuration for the experiment.
18939	ExperimentConfig *ExperimentConfig `type:"structure"`
18940
18941	// Algorithm-specific parameters that influence the quality of the model. You
18942	// set hyperparameters before you start the learning process. For a list of
18943	// hyperparameters for each training algorithm provided by Amazon SageMaker,
18944	// see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
18945	//
18946	// You can specify a maximum of 100 hyperparameters. Each hyperparameter is
18947	// a key-value pair. Each key and value is limited to 256 characters, as specified
18948	// by the Length Constraint.
18949	HyperParameters map[string]*string `type:"map"`
18950
18951	// An array of Channel objects. Each channel is a named input source. InputDataConfig
18952	// describes the input data and its location.
18953	//
18954	// Algorithms can accept input data from one or more channels. For example,
18955	// an algorithm might have two channels of input data, training_data and validation_data.
18956	// The configuration for each channel provides the S3, EFS, or FSx location
18957	// where the input data is stored. It also provides information about the stored
18958	// data: the MIME type, compression method, and whether the data is wrapped
18959	// in RecordIO format.
18960	//
18961	// Depending on the input mode that the algorithm supports, Amazon SageMaker
18962	// either copies input data files from an S3 bucket to a local directory in
18963	// the Docker container, or makes it available as input streams. For example,
18964	// if you specify an EFS location, input data files will be made available as
18965	// input streams. They do not need to be downloaded.
18966	InputDataConfig []*Channel `min:"1" type:"list"`
18967
18968	// Specifies the path to the S3 location where you want to store model artifacts.
18969	// Amazon SageMaker creates subfolders for the artifacts.
18970	//
18971	// OutputDataConfig is a required field
18972	OutputDataConfig *OutputDataConfig `type:"structure" required:"true"`
18973
18974	// The resources, including the ML compute instances and ML storage volumes,
18975	// to use for model training.
18976	//
18977	// ML storage volumes store model artifacts and incremental states. Training
18978	// algorithms might also use ML storage volumes for scratch space. If you want
18979	// Amazon SageMaker to use the ML storage volume to store the training data,
18980	// choose File as the TrainingInputMode in the algorithm specification. For
18981	// distributed training algorithms, specify an instance count greater than 1.
18982	//
18983	// ResourceConfig is a required field
18984	ResourceConfig *ResourceConfig `type:"structure" required:"true"`
18985
18986	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
18987	// to perform tasks on your behalf.
18988	//
18989	// During model training, Amazon SageMaker needs your permission to read input
18990	// data from an S3 bucket, download a Docker image that contains training code,
18991	// write model artifacts to an S3 bucket, write logs to Amazon CloudWatch Logs,
18992	// and publish metrics to Amazon CloudWatch. You grant permissions for all of
18993	// these tasks to an IAM role. For more information, see Amazon SageMaker Roles
18994	// (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html).
18995	//
18996	// To be able to pass this role to Amazon SageMaker, the caller of this API
18997	// must have the iam:PassRole permission.
18998	//
18999	// RoleArn is a required field
19000	RoleArn *string `min:"20" type:"string" required:"true"`
19001
19002	// Specifies a limit to how long a model training job can run. When the job
19003	// reaches the time limit, Amazon SageMaker ends the training job. Use this
19004	// API to cap model training costs.
19005	//
19006	// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
19007	// delays job termination for 120 seconds. Algorithms can use this 120-second
19008	// window to save the model artifacts, so the results of training are not lost.
19009	//
19010	// StoppingCondition is a required field
19011	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
19012
19013	// An array of key-value pairs. For more information, see Using Cost Allocation
19014	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
19015	// in the AWS Billing and Cost Management User Guide.
19016	Tags []*Tag `type:"list"`
19017
19018	// Configuration of storage locations for TensorBoard output.
19019	TensorBoardOutputConfig *TensorBoardOutputConfig `type:"structure"`
19020
19021	// The name of the training job. The name must be unique within an AWS Region
19022	// in an AWS account.
19023	//
19024	// TrainingJobName is a required field
19025	TrainingJobName *string `min:"1" type:"string" required:"true"`
19026
19027	// A VpcConfig object that specifies the VPC that you want your training job
19028	// to connect to. Control access to and from your training container by configuring
19029	// the VPC. For more information, see Protect Training Jobs by Using an Amazon
19030	// Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
19031	VpcConfig *VpcConfig `type:"structure"`
19032}
19033
19034// String returns the string representation
19035func (s CreateTrainingJobInput) String() string {
19036	return awsutil.Prettify(s)
19037}
19038
19039// GoString returns the string representation
19040func (s CreateTrainingJobInput) GoString() string {
19041	return s.String()
19042}
19043
19044// Validate inspects the fields of the type to determine if they are valid.
19045func (s *CreateTrainingJobInput) Validate() error {
19046	invalidParams := request.ErrInvalidParams{Context: "CreateTrainingJobInput"}
19047	if s.AlgorithmSpecification == nil {
19048		invalidParams.Add(request.NewErrParamRequired("AlgorithmSpecification"))
19049	}
19050	if s.InputDataConfig != nil && len(s.InputDataConfig) < 1 {
19051		invalidParams.Add(request.NewErrParamMinLen("InputDataConfig", 1))
19052	}
19053	if s.OutputDataConfig == nil {
19054		invalidParams.Add(request.NewErrParamRequired("OutputDataConfig"))
19055	}
19056	if s.ResourceConfig == nil {
19057		invalidParams.Add(request.NewErrParamRequired("ResourceConfig"))
19058	}
19059	if s.RoleArn == nil {
19060		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
19061	}
19062	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
19063		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
19064	}
19065	if s.StoppingCondition == nil {
19066		invalidParams.Add(request.NewErrParamRequired("StoppingCondition"))
19067	}
19068	if s.TrainingJobName == nil {
19069		invalidParams.Add(request.NewErrParamRequired("TrainingJobName"))
19070	}
19071	if s.TrainingJobName != nil && len(*s.TrainingJobName) < 1 {
19072		invalidParams.Add(request.NewErrParamMinLen("TrainingJobName", 1))
19073	}
19074	if s.AlgorithmSpecification != nil {
19075		if err := s.AlgorithmSpecification.Validate(); err != nil {
19076			invalidParams.AddNested("AlgorithmSpecification", err.(request.ErrInvalidParams))
19077		}
19078	}
19079	if s.CheckpointConfig != nil {
19080		if err := s.CheckpointConfig.Validate(); err != nil {
19081			invalidParams.AddNested("CheckpointConfig", err.(request.ErrInvalidParams))
19082		}
19083	}
19084	if s.DebugHookConfig != nil {
19085		if err := s.DebugHookConfig.Validate(); err != nil {
19086			invalidParams.AddNested("DebugHookConfig", err.(request.ErrInvalidParams))
19087		}
19088	}
19089	if s.DebugRuleConfigurations != nil {
19090		for i, v := range s.DebugRuleConfigurations {
19091			if v == nil {
19092				continue
19093			}
19094			if err := v.Validate(); err != nil {
19095				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DebugRuleConfigurations", i), err.(request.ErrInvalidParams))
19096			}
19097		}
19098	}
19099	if s.ExperimentConfig != nil {
19100		if err := s.ExperimentConfig.Validate(); err != nil {
19101			invalidParams.AddNested("ExperimentConfig", err.(request.ErrInvalidParams))
19102		}
19103	}
19104	if s.InputDataConfig != nil {
19105		for i, v := range s.InputDataConfig {
19106			if v == nil {
19107				continue
19108			}
19109			if err := v.Validate(); err != nil {
19110				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputDataConfig", i), err.(request.ErrInvalidParams))
19111			}
19112		}
19113	}
19114	if s.OutputDataConfig != nil {
19115		if err := s.OutputDataConfig.Validate(); err != nil {
19116			invalidParams.AddNested("OutputDataConfig", err.(request.ErrInvalidParams))
19117		}
19118	}
19119	if s.ResourceConfig != nil {
19120		if err := s.ResourceConfig.Validate(); err != nil {
19121			invalidParams.AddNested("ResourceConfig", err.(request.ErrInvalidParams))
19122		}
19123	}
19124	if s.StoppingCondition != nil {
19125		if err := s.StoppingCondition.Validate(); err != nil {
19126			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
19127		}
19128	}
19129	if s.Tags != nil {
19130		for i, v := range s.Tags {
19131			if v == nil {
19132				continue
19133			}
19134			if err := v.Validate(); err != nil {
19135				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
19136			}
19137		}
19138	}
19139	if s.TensorBoardOutputConfig != nil {
19140		if err := s.TensorBoardOutputConfig.Validate(); err != nil {
19141			invalidParams.AddNested("TensorBoardOutputConfig", err.(request.ErrInvalidParams))
19142		}
19143	}
19144	if s.VpcConfig != nil {
19145		if err := s.VpcConfig.Validate(); err != nil {
19146			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
19147		}
19148	}
19149
19150	if invalidParams.Len() > 0 {
19151		return invalidParams
19152	}
19153	return nil
19154}
19155
19156// SetAlgorithmSpecification sets the AlgorithmSpecification field's value.
19157func (s *CreateTrainingJobInput) SetAlgorithmSpecification(v *AlgorithmSpecification) *CreateTrainingJobInput {
19158	s.AlgorithmSpecification = v
19159	return s
19160}
19161
19162// SetCheckpointConfig sets the CheckpointConfig field's value.
19163func (s *CreateTrainingJobInput) SetCheckpointConfig(v *CheckpointConfig) *CreateTrainingJobInput {
19164	s.CheckpointConfig = v
19165	return s
19166}
19167
19168// SetDebugHookConfig sets the DebugHookConfig field's value.
19169func (s *CreateTrainingJobInput) SetDebugHookConfig(v *DebugHookConfig) *CreateTrainingJobInput {
19170	s.DebugHookConfig = v
19171	return s
19172}
19173
19174// SetDebugRuleConfigurations sets the DebugRuleConfigurations field's value.
19175func (s *CreateTrainingJobInput) SetDebugRuleConfigurations(v []*DebugRuleConfiguration) *CreateTrainingJobInput {
19176	s.DebugRuleConfigurations = v
19177	return s
19178}
19179
19180// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
19181func (s *CreateTrainingJobInput) SetEnableInterContainerTrafficEncryption(v bool) *CreateTrainingJobInput {
19182	s.EnableInterContainerTrafficEncryption = &v
19183	return s
19184}
19185
19186// SetEnableManagedSpotTraining sets the EnableManagedSpotTraining field's value.
19187func (s *CreateTrainingJobInput) SetEnableManagedSpotTraining(v bool) *CreateTrainingJobInput {
19188	s.EnableManagedSpotTraining = &v
19189	return s
19190}
19191
19192// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
19193func (s *CreateTrainingJobInput) SetEnableNetworkIsolation(v bool) *CreateTrainingJobInput {
19194	s.EnableNetworkIsolation = &v
19195	return s
19196}
19197
19198// SetExperimentConfig sets the ExperimentConfig field's value.
19199func (s *CreateTrainingJobInput) SetExperimentConfig(v *ExperimentConfig) *CreateTrainingJobInput {
19200	s.ExperimentConfig = v
19201	return s
19202}
19203
19204// SetHyperParameters sets the HyperParameters field's value.
19205func (s *CreateTrainingJobInput) SetHyperParameters(v map[string]*string) *CreateTrainingJobInput {
19206	s.HyperParameters = v
19207	return s
19208}
19209
19210// SetInputDataConfig sets the InputDataConfig field's value.
19211func (s *CreateTrainingJobInput) SetInputDataConfig(v []*Channel) *CreateTrainingJobInput {
19212	s.InputDataConfig = v
19213	return s
19214}
19215
19216// SetOutputDataConfig sets the OutputDataConfig field's value.
19217func (s *CreateTrainingJobInput) SetOutputDataConfig(v *OutputDataConfig) *CreateTrainingJobInput {
19218	s.OutputDataConfig = v
19219	return s
19220}
19221
19222// SetResourceConfig sets the ResourceConfig field's value.
19223func (s *CreateTrainingJobInput) SetResourceConfig(v *ResourceConfig) *CreateTrainingJobInput {
19224	s.ResourceConfig = v
19225	return s
19226}
19227
19228// SetRoleArn sets the RoleArn field's value.
19229func (s *CreateTrainingJobInput) SetRoleArn(v string) *CreateTrainingJobInput {
19230	s.RoleArn = &v
19231	return s
19232}
19233
19234// SetStoppingCondition sets the StoppingCondition field's value.
19235func (s *CreateTrainingJobInput) SetStoppingCondition(v *StoppingCondition) *CreateTrainingJobInput {
19236	s.StoppingCondition = v
19237	return s
19238}
19239
19240// SetTags sets the Tags field's value.
19241func (s *CreateTrainingJobInput) SetTags(v []*Tag) *CreateTrainingJobInput {
19242	s.Tags = v
19243	return s
19244}
19245
19246// SetTensorBoardOutputConfig sets the TensorBoardOutputConfig field's value.
19247func (s *CreateTrainingJobInput) SetTensorBoardOutputConfig(v *TensorBoardOutputConfig) *CreateTrainingJobInput {
19248	s.TensorBoardOutputConfig = v
19249	return s
19250}
19251
19252// SetTrainingJobName sets the TrainingJobName field's value.
19253func (s *CreateTrainingJobInput) SetTrainingJobName(v string) *CreateTrainingJobInput {
19254	s.TrainingJobName = &v
19255	return s
19256}
19257
19258// SetVpcConfig sets the VpcConfig field's value.
19259func (s *CreateTrainingJobInput) SetVpcConfig(v *VpcConfig) *CreateTrainingJobInput {
19260	s.VpcConfig = v
19261	return s
19262}
19263
19264type CreateTrainingJobOutput struct {
19265	_ struct{} `type:"structure"`
19266
19267	// The Amazon Resource Name (ARN) of the training job.
19268	//
19269	// TrainingJobArn is a required field
19270	TrainingJobArn *string `type:"string" required:"true"`
19271}
19272
19273// String returns the string representation
19274func (s CreateTrainingJobOutput) String() string {
19275	return awsutil.Prettify(s)
19276}
19277
19278// GoString returns the string representation
19279func (s CreateTrainingJobOutput) GoString() string {
19280	return s.String()
19281}
19282
19283// SetTrainingJobArn sets the TrainingJobArn field's value.
19284func (s *CreateTrainingJobOutput) SetTrainingJobArn(v string) *CreateTrainingJobOutput {
19285	s.TrainingJobArn = &v
19286	return s
19287}
19288
19289type CreateTransformJobInput struct {
19290	_ struct{} `type:"structure"`
19291
19292	// Specifies the number of records to include in a mini-batch for an HTTP inference
19293	// request. A record is a single unit of input data that inference can be made
19294	// on. For example, a single line in a CSV file is a record.
19295	//
19296	// To enable the batch strategy, you must set the SplitType property to Line,
19297	// RecordIO, or TFRecord.
19298	//
19299	// To use only one record when making an HTTP invocation request to a container,
19300	// set BatchStrategy to SingleRecord and SplitType to Line.
19301	//
19302	// To fit as many records in a mini-batch as can fit within the MaxPayloadInMB
19303	// limit, set BatchStrategy to MultiRecord and SplitType to Line.
19304	BatchStrategy *string `type:"string" enum:"BatchStrategy"`
19305
19306	// The data structure used to specify the data to be used for inference in a
19307	// batch transform job and to associate the data that is relevant to the prediction
19308	// results in the output. The input filter provided allows you to exclude input
19309	// data that is not needed for inference in a batch transform job. The output
19310	// filter provided allows you to include input data relevant to interpreting
19311	// the predictions in the output from the job. For more information, see Associate
19312	// Prediction Results with their Corresponding Input Records (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html).
19313	DataProcessing *DataProcessing `type:"structure"`
19314
19315	// The environment variables to set in the Docker container. We support up to
19316	// 16 key and values entries in the map.
19317	Environment map[string]*string `type:"map"`
19318
19319	// Configuration for the experiment.
19320	ExperimentConfig *ExperimentConfig `type:"structure"`
19321
19322	// The maximum number of parallel requests that can be sent to each instance
19323	// in a transform job. If MaxConcurrentTransforms is set to 0 or left unset,
19324	// Amazon SageMaker checks the optional execution-parameters to determine the
19325	// settings for your chosen algorithm. If the execution-parameters endpoint
19326	// is not enabled, the default value is 1. For more information on execution-parameters,
19327	// 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).
19328	// For built-in algorithms, you don't need to set a value for MaxConcurrentTransforms.
19329	MaxConcurrentTransforms *int64 `type:"integer"`
19330
19331	// The maximum allowed size of the payload, in MB. A payload is the data portion
19332	// of a record (without metadata). The value in MaxPayloadInMB must be greater
19333	// than, or equal to, the size of a single record. To estimate the size of a
19334	// record in MB, divide the size of your dataset by the number of records. To
19335	// ensure that the records fit within the maximum payload size, we recommend
19336	// using a slightly larger value. The default value is 6 MB.
19337	//
19338	// For cases where the payload might be arbitrarily large and is transmitted
19339	// using HTTP chunked encoding, set the value to 0. This feature works only
19340	// in supported algorithms. Currently, Amazon SageMaker built-in algorithms
19341	// do not support HTTP chunked encoding.
19342	MaxPayloadInMB *int64 `type:"integer"`
19343
19344	// Configures the timeout and maximum number of retries for processing a transform
19345	// job invocation.
19346	ModelClientConfig *ModelClientConfig `type:"structure"`
19347
19348	// The name of the model that you want to use for the transform job. ModelName
19349	// must be the name of an existing Amazon SageMaker model within an AWS Region
19350	// in an AWS account.
19351	//
19352	// ModelName is a required field
19353	ModelName *string `type:"string" required:"true"`
19354
19355	// (Optional) An array of key-value pairs. For more information, see Using Cost
19356	// Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
19357	// in the AWS Billing and Cost Management User Guide.
19358	Tags []*Tag `type:"list"`
19359
19360	// Describes the input source and the way the transform job consumes it.
19361	//
19362	// TransformInput is a required field
19363	TransformInput *TransformInput `type:"structure" required:"true"`
19364
19365	// The name of the transform job. The name must be unique within an AWS Region
19366	// in an AWS account.
19367	//
19368	// TransformJobName is a required field
19369	TransformJobName *string `min:"1" type:"string" required:"true"`
19370
19371	// Describes the results of the transform job.
19372	//
19373	// TransformOutput is a required field
19374	TransformOutput *TransformOutput `type:"structure" required:"true"`
19375
19376	// Describes the resources, including ML instance types and ML instance count,
19377	// to use for the transform job.
19378	//
19379	// TransformResources is a required field
19380	TransformResources *TransformResources `type:"structure" required:"true"`
19381}
19382
19383// String returns the string representation
19384func (s CreateTransformJobInput) String() string {
19385	return awsutil.Prettify(s)
19386}
19387
19388// GoString returns the string representation
19389func (s CreateTransformJobInput) GoString() string {
19390	return s.String()
19391}
19392
19393// Validate inspects the fields of the type to determine if they are valid.
19394func (s *CreateTransformJobInput) Validate() error {
19395	invalidParams := request.ErrInvalidParams{Context: "CreateTransformJobInput"}
19396	if s.ModelName == nil {
19397		invalidParams.Add(request.NewErrParamRequired("ModelName"))
19398	}
19399	if s.TransformInput == nil {
19400		invalidParams.Add(request.NewErrParamRequired("TransformInput"))
19401	}
19402	if s.TransformJobName == nil {
19403		invalidParams.Add(request.NewErrParamRequired("TransformJobName"))
19404	}
19405	if s.TransformJobName != nil && len(*s.TransformJobName) < 1 {
19406		invalidParams.Add(request.NewErrParamMinLen("TransformJobName", 1))
19407	}
19408	if s.TransformOutput == nil {
19409		invalidParams.Add(request.NewErrParamRequired("TransformOutput"))
19410	}
19411	if s.TransformResources == nil {
19412		invalidParams.Add(request.NewErrParamRequired("TransformResources"))
19413	}
19414	if s.ExperimentConfig != nil {
19415		if err := s.ExperimentConfig.Validate(); err != nil {
19416			invalidParams.AddNested("ExperimentConfig", err.(request.ErrInvalidParams))
19417		}
19418	}
19419	if s.ModelClientConfig != nil {
19420		if err := s.ModelClientConfig.Validate(); err != nil {
19421			invalidParams.AddNested("ModelClientConfig", err.(request.ErrInvalidParams))
19422		}
19423	}
19424	if s.Tags != nil {
19425		for i, v := range s.Tags {
19426			if v == nil {
19427				continue
19428			}
19429			if err := v.Validate(); err != nil {
19430				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
19431			}
19432		}
19433	}
19434	if s.TransformInput != nil {
19435		if err := s.TransformInput.Validate(); err != nil {
19436			invalidParams.AddNested("TransformInput", err.(request.ErrInvalidParams))
19437		}
19438	}
19439	if s.TransformOutput != nil {
19440		if err := s.TransformOutput.Validate(); err != nil {
19441			invalidParams.AddNested("TransformOutput", err.(request.ErrInvalidParams))
19442		}
19443	}
19444	if s.TransformResources != nil {
19445		if err := s.TransformResources.Validate(); err != nil {
19446			invalidParams.AddNested("TransformResources", err.(request.ErrInvalidParams))
19447		}
19448	}
19449
19450	if invalidParams.Len() > 0 {
19451		return invalidParams
19452	}
19453	return nil
19454}
19455
19456// SetBatchStrategy sets the BatchStrategy field's value.
19457func (s *CreateTransformJobInput) SetBatchStrategy(v string) *CreateTransformJobInput {
19458	s.BatchStrategy = &v
19459	return s
19460}
19461
19462// SetDataProcessing sets the DataProcessing field's value.
19463func (s *CreateTransformJobInput) SetDataProcessing(v *DataProcessing) *CreateTransformJobInput {
19464	s.DataProcessing = v
19465	return s
19466}
19467
19468// SetEnvironment sets the Environment field's value.
19469func (s *CreateTransformJobInput) SetEnvironment(v map[string]*string) *CreateTransformJobInput {
19470	s.Environment = v
19471	return s
19472}
19473
19474// SetExperimentConfig sets the ExperimentConfig field's value.
19475func (s *CreateTransformJobInput) SetExperimentConfig(v *ExperimentConfig) *CreateTransformJobInput {
19476	s.ExperimentConfig = v
19477	return s
19478}
19479
19480// SetMaxConcurrentTransforms sets the MaxConcurrentTransforms field's value.
19481func (s *CreateTransformJobInput) SetMaxConcurrentTransforms(v int64) *CreateTransformJobInput {
19482	s.MaxConcurrentTransforms = &v
19483	return s
19484}
19485
19486// SetMaxPayloadInMB sets the MaxPayloadInMB field's value.
19487func (s *CreateTransformJobInput) SetMaxPayloadInMB(v int64) *CreateTransformJobInput {
19488	s.MaxPayloadInMB = &v
19489	return s
19490}
19491
19492// SetModelClientConfig sets the ModelClientConfig field's value.
19493func (s *CreateTransformJobInput) SetModelClientConfig(v *ModelClientConfig) *CreateTransformJobInput {
19494	s.ModelClientConfig = v
19495	return s
19496}
19497
19498// SetModelName sets the ModelName field's value.
19499func (s *CreateTransformJobInput) SetModelName(v string) *CreateTransformJobInput {
19500	s.ModelName = &v
19501	return s
19502}
19503
19504// SetTags sets the Tags field's value.
19505func (s *CreateTransformJobInput) SetTags(v []*Tag) *CreateTransformJobInput {
19506	s.Tags = v
19507	return s
19508}
19509
19510// SetTransformInput sets the TransformInput field's value.
19511func (s *CreateTransformJobInput) SetTransformInput(v *TransformInput) *CreateTransformJobInput {
19512	s.TransformInput = v
19513	return s
19514}
19515
19516// SetTransformJobName sets the TransformJobName field's value.
19517func (s *CreateTransformJobInput) SetTransformJobName(v string) *CreateTransformJobInput {
19518	s.TransformJobName = &v
19519	return s
19520}
19521
19522// SetTransformOutput sets the TransformOutput field's value.
19523func (s *CreateTransformJobInput) SetTransformOutput(v *TransformOutput) *CreateTransformJobInput {
19524	s.TransformOutput = v
19525	return s
19526}
19527
19528// SetTransformResources sets the TransformResources field's value.
19529func (s *CreateTransformJobInput) SetTransformResources(v *TransformResources) *CreateTransformJobInput {
19530	s.TransformResources = v
19531	return s
19532}
19533
19534type CreateTransformJobOutput struct {
19535	_ struct{} `type:"structure"`
19536
19537	// The Amazon Resource Name (ARN) of the transform job.
19538	//
19539	// TransformJobArn is a required field
19540	TransformJobArn *string `type:"string" required:"true"`
19541}
19542
19543// String returns the string representation
19544func (s CreateTransformJobOutput) String() string {
19545	return awsutil.Prettify(s)
19546}
19547
19548// GoString returns the string representation
19549func (s CreateTransformJobOutput) GoString() string {
19550	return s.String()
19551}
19552
19553// SetTransformJobArn sets the TransformJobArn field's value.
19554func (s *CreateTransformJobOutput) SetTransformJobArn(v string) *CreateTransformJobOutput {
19555	s.TransformJobArn = &v
19556	return s
19557}
19558
19559type CreateTrialComponentInput struct {
19560	_ struct{} `type:"structure"`
19561
19562	// The name of the component as displayed. The name doesn't need to be unique.
19563	// If DisplayName isn't specified, TrialComponentName is displayed.
19564	DisplayName *string `min:"1" type:"string"`
19565
19566	// When the component ended.
19567	EndTime *time.Time `type:"timestamp"`
19568
19569	// The input artifacts for the component. Examples of input artifacts are datasets,
19570	// algorithms, hyperparameters, source code, and instance types.
19571	InputArtifacts map[string]*TrialComponentArtifact `type:"map"`
19572
19573	// The output artifacts for the component. Examples of output artifacts are
19574	// metrics, snapshots, logs, and images.
19575	OutputArtifacts map[string]*TrialComponentArtifact `type:"map"`
19576
19577	// The hyperparameters for the component.
19578	Parameters map[string]*TrialComponentParameterValue `type:"map"`
19579
19580	// When the component started.
19581	StartTime *time.Time `type:"timestamp"`
19582
19583	// The status of the component. States include:
19584	//
19585	//    * InProgress
19586	//
19587	//    * Completed
19588	//
19589	//    * Failed
19590	Status *TrialComponentStatus `type:"structure"`
19591
19592	// A list of tags to associate with the component. You can use Search API to
19593	// search on the tags.
19594	Tags []*Tag `type:"list"`
19595
19596	// The name of the component. The name must be unique in your AWS account and
19597	// is not case-sensitive.
19598	//
19599	// TrialComponentName is a required field
19600	TrialComponentName *string `min:"1" type:"string" required:"true"`
19601}
19602
19603// String returns the string representation
19604func (s CreateTrialComponentInput) String() string {
19605	return awsutil.Prettify(s)
19606}
19607
19608// GoString returns the string representation
19609func (s CreateTrialComponentInput) GoString() string {
19610	return s.String()
19611}
19612
19613// Validate inspects the fields of the type to determine if they are valid.
19614func (s *CreateTrialComponentInput) Validate() error {
19615	invalidParams := request.ErrInvalidParams{Context: "CreateTrialComponentInput"}
19616	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
19617		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
19618	}
19619	if s.TrialComponentName == nil {
19620		invalidParams.Add(request.NewErrParamRequired("TrialComponentName"))
19621	}
19622	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
19623		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
19624	}
19625	if s.InputArtifacts != nil {
19626		for i, v := range s.InputArtifacts {
19627			if v == nil {
19628				continue
19629			}
19630			if err := v.Validate(); err != nil {
19631				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputArtifacts", i), err.(request.ErrInvalidParams))
19632			}
19633		}
19634	}
19635	if s.OutputArtifacts != nil {
19636		for i, v := range s.OutputArtifacts {
19637			if v == nil {
19638				continue
19639			}
19640			if err := v.Validate(); err != nil {
19641				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OutputArtifacts", i), err.(request.ErrInvalidParams))
19642			}
19643		}
19644	}
19645	if s.Tags != nil {
19646		for i, v := range s.Tags {
19647			if v == nil {
19648				continue
19649			}
19650			if err := v.Validate(); err != nil {
19651				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
19652			}
19653		}
19654	}
19655
19656	if invalidParams.Len() > 0 {
19657		return invalidParams
19658	}
19659	return nil
19660}
19661
19662// SetDisplayName sets the DisplayName field's value.
19663func (s *CreateTrialComponentInput) SetDisplayName(v string) *CreateTrialComponentInput {
19664	s.DisplayName = &v
19665	return s
19666}
19667
19668// SetEndTime sets the EndTime field's value.
19669func (s *CreateTrialComponentInput) SetEndTime(v time.Time) *CreateTrialComponentInput {
19670	s.EndTime = &v
19671	return s
19672}
19673
19674// SetInputArtifacts sets the InputArtifacts field's value.
19675func (s *CreateTrialComponentInput) SetInputArtifacts(v map[string]*TrialComponentArtifact) *CreateTrialComponentInput {
19676	s.InputArtifacts = v
19677	return s
19678}
19679
19680// SetOutputArtifacts sets the OutputArtifacts field's value.
19681func (s *CreateTrialComponentInput) SetOutputArtifacts(v map[string]*TrialComponentArtifact) *CreateTrialComponentInput {
19682	s.OutputArtifacts = v
19683	return s
19684}
19685
19686// SetParameters sets the Parameters field's value.
19687func (s *CreateTrialComponentInput) SetParameters(v map[string]*TrialComponentParameterValue) *CreateTrialComponentInput {
19688	s.Parameters = v
19689	return s
19690}
19691
19692// SetStartTime sets the StartTime field's value.
19693func (s *CreateTrialComponentInput) SetStartTime(v time.Time) *CreateTrialComponentInput {
19694	s.StartTime = &v
19695	return s
19696}
19697
19698// SetStatus sets the Status field's value.
19699func (s *CreateTrialComponentInput) SetStatus(v *TrialComponentStatus) *CreateTrialComponentInput {
19700	s.Status = v
19701	return s
19702}
19703
19704// SetTags sets the Tags field's value.
19705func (s *CreateTrialComponentInput) SetTags(v []*Tag) *CreateTrialComponentInput {
19706	s.Tags = v
19707	return s
19708}
19709
19710// SetTrialComponentName sets the TrialComponentName field's value.
19711func (s *CreateTrialComponentInput) SetTrialComponentName(v string) *CreateTrialComponentInput {
19712	s.TrialComponentName = &v
19713	return s
19714}
19715
19716type CreateTrialComponentOutput struct {
19717	_ struct{} `type:"structure"`
19718
19719	// The Amazon Resource Name (ARN) of the trial component.
19720	TrialComponentArn *string `type:"string"`
19721}
19722
19723// String returns the string representation
19724func (s CreateTrialComponentOutput) String() string {
19725	return awsutil.Prettify(s)
19726}
19727
19728// GoString returns the string representation
19729func (s CreateTrialComponentOutput) GoString() string {
19730	return s.String()
19731}
19732
19733// SetTrialComponentArn sets the TrialComponentArn field's value.
19734func (s *CreateTrialComponentOutput) SetTrialComponentArn(v string) *CreateTrialComponentOutput {
19735	s.TrialComponentArn = &v
19736	return s
19737}
19738
19739type CreateTrialInput struct {
19740	_ struct{} `type:"structure"`
19741
19742	// The name of the trial as displayed. The name doesn't need to be unique. If
19743	// DisplayName isn't specified, TrialName is displayed.
19744	DisplayName *string `min:"1" type:"string"`
19745
19746	// The name of the experiment to associate the trial with.
19747	//
19748	// ExperimentName is a required field
19749	ExperimentName *string `min:"1" type:"string" required:"true"`
19750
19751	// A list of tags to associate with the trial. You can use Search API to search
19752	// on the tags.
19753	Tags []*Tag `type:"list"`
19754
19755	// The name of the trial. The name must be unique in your AWS account and is
19756	// not case-sensitive.
19757	//
19758	// TrialName is a required field
19759	TrialName *string `min:"1" type:"string" required:"true"`
19760}
19761
19762// String returns the string representation
19763func (s CreateTrialInput) String() string {
19764	return awsutil.Prettify(s)
19765}
19766
19767// GoString returns the string representation
19768func (s CreateTrialInput) GoString() string {
19769	return s.String()
19770}
19771
19772// Validate inspects the fields of the type to determine if they are valid.
19773func (s *CreateTrialInput) Validate() error {
19774	invalidParams := request.ErrInvalidParams{Context: "CreateTrialInput"}
19775	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
19776		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
19777	}
19778	if s.ExperimentName == nil {
19779		invalidParams.Add(request.NewErrParamRequired("ExperimentName"))
19780	}
19781	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
19782		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
19783	}
19784	if s.TrialName == nil {
19785		invalidParams.Add(request.NewErrParamRequired("TrialName"))
19786	}
19787	if s.TrialName != nil && len(*s.TrialName) < 1 {
19788		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
19789	}
19790	if s.Tags != nil {
19791		for i, v := range s.Tags {
19792			if v == nil {
19793				continue
19794			}
19795			if err := v.Validate(); err != nil {
19796				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
19797			}
19798		}
19799	}
19800
19801	if invalidParams.Len() > 0 {
19802		return invalidParams
19803	}
19804	return nil
19805}
19806
19807// SetDisplayName sets the DisplayName field's value.
19808func (s *CreateTrialInput) SetDisplayName(v string) *CreateTrialInput {
19809	s.DisplayName = &v
19810	return s
19811}
19812
19813// SetExperimentName sets the ExperimentName field's value.
19814func (s *CreateTrialInput) SetExperimentName(v string) *CreateTrialInput {
19815	s.ExperimentName = &v
19816	return s
19817}
19818
19819// SetTags sets the Tags field's value.
19820func (s *CreateTrialInput) SetTags(v []*Tag) *CreateTrialInput {
19821	s.Tags = v
19822	return s
19823}
19824
19825// SetTrialName sets the TrialName field's value.
19826func (s *CreateTrialInput) SetTrialName(v string) *CreateTrialInput {
19827	s.TrialName = &v
19828	return s
19829}
19830
19831type CreateTrialOutput struct {
19832	_ struct{} `type:"structure"`
19833
19834	// The Amazon Resource Name (ARN) of the trial.
19835	TrialArn *string `type:"string"`
19836}
19837
19838// String returns the string representation
19839func (s CreateTrialOutput) String() string {
19840	return awsutil.Prettify(s)
19841}
19842
19843// GoString returns the string representation
19844func (s CreateTrialOutput) GoString() string {
19845	return s.String()
19846}
19847
19848// SetTrialArn sets the TrialArn field's value.
19849func (s *CreateTrialOutput) SetTrialArn(v string) *CreateTrialOutput {
19850	s.TrialArn = &v
19851	return s
19852}
19853
19854type CreateUserProfileInput struct {
19855	_ struct{} `type:"structure"`
19856
19857	// The ID of the associated Domain.
19858	//
19859	// DomainId is a required field
19860	DomainId *string `type:"string" required:"true"`
19861
19862	// A specifier for the type of value specified in SingleSignOnUserValue. Currently,
19863	// the only supported value is "UserName". If the Domain's AuthMode is SSO,
19864	// this field is required. If the Domain's AuthMode is not SSO, this field cannot
19865	// be specified.
19866	SingleSignOnUserIdentifier *string `type:"string"`
19867
19868	// The username of the associated AWS Single Sign-On User for this UserProfile.
19869	// If the Domain's AuthMode is SSO, this field is required, and must match a
19870	// valid username of a user in your directory. If the Domain's AuthMode is not
19871	// SSO, this field cannot be specified.
19872	SingleSignOnUserValue *string `type:"string"`
19873
19874	// Each tag consists of a key and an optional value. Tag keys must be unique
19875	// per resource.
19876	Tags []*Tag `type:"list"`
19877
19878	// A name for the UserProfile.
19879	//
19880	// UserProfileName is a required field
19881	UserProfileName *string `type:"string" required:"true"`
19882
19883	// A collection of settings.
19884	UserSettings *UserSettings `type:"structure"`
19885}
19886
19887// String returns the string representation
19888func (s CreateUserProfileInput) String() string {
19889	return awsutil.Prettify(s)
19890}
19891
19892// GoString returns the string representation
19893func (s CreateUserProfileInput) GoString() string {
19894	return s.String()
19895}
19896
19897// Validate inspects the fields of the type to determine if they are valid.
19898func (s *CreateUserProfileInput) Validate() error {
19899	invalidParams := request.ErrInvalidParams{Context: "CreateUserProfileInput"}
19900	if s.DomainId == nil {
19901		invalidParams.Add(request.NewErrParamRequired("DomainId"))
19902	}
19903	if s.UserProfileName == nil {
19904		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
19905	}
19906	if s.Tags != nil {
19907		for i, v := range s.Tags {
19908			if v == nil {
19909				continue
19910			}
19911			if err := v.Validate(); err != nil {
19912				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
19913			}
19914		}
19915	}
19916	if s.UserSettings != nil {
19917		if err := s.UserSettings.Validate(); err != nil {
19918			invalidParams.AddNested("UserSettings", err.(request.ErrInvalidParams))
19919		}
19920	}
19921
19922	if invalidParams.Len() > 0 {
19923		return invalidParams
19924	}
19925	return nil
19926}
19927
19928// SetDomainId sets the DomainId field's value.
19929func (s *CreateUserProfileInput) SetDomainId(v string) *CreateUserProfileInput {
19930	s.DomainId = &v
19931	return s
19932}
19933
19934// SetSingleSignOnUserIdentifier sets the SingleSignOnUserIdentifier field's value.
19935func (s *CreateUserProfileInput) SetSingleSignOnUserIdentifier(v string) *CreateUserProfileInput {
19936	s.SingleSignOnUserIdentifier = &v
19937	return s
19938}
19939
19940// SetSingleSignOnUserValue sets the SingleSignOnUserValue field's value.
19941func (s *CreateUserProfileInput) SetSingleSignOnUserValue(v string) *CreateUserProfileInput {
19942	s.SingleSignOnUserValue = &v
19943	return s
19944}
19945
19946// SetTags sets the Tags field's value.
19947func (s *CreateUserProfileInput) SetTags(v []*Tag) *CreateUserProfileInput {
19948	s.Tags = v
19949	return s
19950}
19951
19952// SetUserProfileName sets the UserProfileName field's value.
19953func (s *CreateUserProfileInput) SetUserProfileName(v string) *CreateUserProfileInput {
19954	s.UserProfileName = &v
19955	return s
19956}
19957
19958// SetUserSettings sets the UserSettings field's value.
19959func (s *CreateUserProfileInput) SetUserSettings(v *UserSettings) *CreateUserProfileInput {
19960	s.UserSettings = v
19961	return s
19962}
19963
19964type CreateUserProfileOutput struct {
19965	_ struct{} `type:"structure"`
19966
19967	// The user profile Amazon Resource Name (ARN).
19968	UserProfileArn *string `type:"string"`
19969}
19970
19971// String returns the string representation
19972func (s CreateUserProfileOutput) String() string {
19973	return awsutil.Prettify(s)
19974}
19975
19976// GoString returns the string representation
19977func (s CreateUserProfileOutput) GoString() string {
19978	return s.String()
19979}
19980
19981// SetUserProfileArn sets the UserProfileArn field's value.
19982func (s *CreateUserProfileOutput) SetUserProfileArn(v string) *CreateUserProfileOutput {
19983	s.UserProfileArn = &v
19984	return s
19985}
19986
19987type CreateWorkteamInput struct {
19988	_ struct{} `type:"structure"`
19989
19990	// A description of the work team.
19991	//
19992	// Description is a required field
19993	Description *string `min:"1" type:"string" required:"true"`
19994
19995	// A list of MemberDefinition objects that contains objects that identify the
19996	// Amazon Cognito user pool that makes up the work team. For more information,
19997	// see Amazon Cognito User Pools (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html).
19998	//
19999	// All of the CognitoMemberDefinition objects that make up the member definition
20000	// must have the same ClientId and UserPool values.
20001	//
20002	// MemberDefinitions is a required field
20003	MemberDefinitions []*MemberDefinition `min:"1" type:"list" required:"true"`
20004
20005	// Configures notification of workers regarding available or expiring work items.
20006	NotificationConfiguration *NotificationConfiguration `type:"structure"`
20007
20008	// An array of key-value pairs.
20009	//
20010	// For more information, see Resource Tag (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html)
20011	// and Using Cost Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
20012	// in the AWS Billing and Cost Management User Guide.
20013	Tags []*Tag `type:"list"`
20014
20015	// The name of the work team. Use this name to identify the work team.
20016	//
20017	// WorkteamName is a required field
20018	WorkteamName *string `min:"1" type:"string" required:"true"`
20019}
20020
20021// String returns the string representation
20022func (s CreateWorkteamInput) String() string {
20023	return awsutil.Prettify(s)
20024}
20025
20026// GoString returns the string representation
20027func (s CreateWorkteamInput) GoString() string {
20028	return s.String()
20029}
20030
20031// Validate inspects the fields of the type to determine if they are valid.
20032func (s *CreateWorkteamInput) Validate() error {
20033	invalidParams := request.ErrInvalidParams{Context: "CreateWorkteamInput"}
20034	if s.Description == nil {
20035		invalidParams.Add(request.NewErrParamRequired("Description"))
20036	}
20037	if s.Description != nil && len(*s.Description) < 1 {
20038		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
20039	}
20040	if s.MemberDefinitions == nil {
20041		invalidParams.Add(request.NewErrParamRequired("MemberDefinitions"))
20042	}
20043	if s.MemberDefinitions != nil && len(s.MemberDefinitions) < 1 {
20044		invalidParams.Add(request.NewErrParamMinLen("MemberDefinitions", 1))
20045	}
20046	if s.WorkteamName == nil {
20047		invalidParams.Add(request.NewErrParamRequired("WorkteamName"))
20048	}
20049	if s.WorkteamName != nil && len(*s.WorkteamName) < 1 {
20050		invalidParams.Add(request.NewErrParamMinLen("WorkteamName", 1))
20051	}
20052	if s.MemberDefinitions != nil {
20053		for i, v := range s.MemberDefinitions {
20054			if v == nil {
20055				continue
20056			}
20057			if err := v.Validate(); err != nil {
20058				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MemberDefinitions", i), err.(request.ErrInvalidParams))
20059			}
20060		}
20061	}
20062	if s.Tags != nil {
20063		for i, v := range s.Tags {
20064			if v == nil {
20065				continue
20066			}
20067			if err := v.Validate(); err != nil {
20068				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
20069			}
20070		}
20071	}
20072
20073	if invalidParams.Len() > 0 {
20074		return invalidParams
20075	}
20076	return nil
20077}
20078
20079// SetDescription sets the Description field's value.
20080func (s *CreateWorkteamInput) SetDescription(v string) *CreateWorkteamInput {
20081	s.Description = &v
20082	return s
20083}
20084
20085// SetMemberDefinitions sets the MemberDefinitions field's value.
20086func (s *CreateWorkteamInput) SetMemberDefinitions(v []*MemberDefinition) *CreateWorkteamInput {
20087	s.MemberDefinitions = v
20088	return s
20089}
20090
20091// SetNotificationConfiguration sets the NotificationConfiguration field's value.
20092func (s *CreateWorkteamInput) SetNotificationConfiguration(v *NotificationConfiguration) *CreateWorkteamInput {
20093	s.NotificationConfiguration = v
20094	return s
20095}
20096
20097// SetTags sets the Tags field's value.
20098func (s *CreateWorkteamInput) SetTags(v []*Tag) *CreateWorkteamInput {
20099	s.Tags = v
20100	return s
20101}
20102
20103// SetWorkteamName sets the WorkteamName field's value.
20104func (s *CreateWorkteamInput) SetWorkteamName(v string) *CreateWorkteamInput {
20105	s.WorkteamName = &v
20106	return s
20107}
20108
20109type CreateWorkteamOutput struct {
20110	_ struct{} `type:"structure"`
20111
20112	// The Amazon Resource Name (ARN) of the work team. You can use this ARN to
20113	// identify the work team.
20114	WorkteamArn *string `type:"string"`
20115}
20116
20117// String returns the string representation
20118func (s CreateWorkteamOutput) String() string {
20119	return awsutil.Prettify(s)
20120}
20121
20122// GoString returns the string representation
20123func (s CreateWorkteamOutput) GoString() string {
20124	return s.String()
20125}
20126
20127// SetWorkteamArn sets the WorkteamArn field's value.
20128func (s *CreateWorkteamOutput) SetWorkteamArn(v string) *CreateWorkteamOutput {
20129	s.WorkteamArn = &v
20130	return s
20131}
20132
20133type DataCaptureConfig struct {
20134	_ struct{} `type:"structure"`
20135
20136	CaptureContentTypeHeader *CaptureContentTypeHeader `type:"structure"`
20137
20138	// CaptureOptions is a required field
20139	CaptureOptions []*CaptureOption `min:"1" type:"list" required:"true"`
20140
20141	// DestinationS3Uri is a required field
20142	DestinationS3Uri *string `type:"string" required:"true"`
20143
20144	EnableCapture *bool `type:"boolean"`
20145
20146	// InitialSamplingPercentage is a required field
20147	InitialSamplingPercentage *int64 `type:"integer" required:"true"`
20148
20149	KmsKeyId *string `type:"string"`
20150}
20151
20152// String returns the string representation
20153func (s DataCaptureConfig) String() string {
20154	return awsutil.Prettify(s)
20155}
20156
20157// GoString returns the string representation
20158func (s DataCaptureConfig) GoString() string {
20159	return s.String()
20160}
20161
20162// Validate inspects the fields of the type to determine if they are valid.
20163func (s *DataCaptureConfig) Validate() error {
20164	invalidParams := request.ErrInvalidParams{Context: "DataCaptureConfig"}
20165	if s.CaptureOptions == nil {
20166		invalidParams.Add(request.NewErrParamRequired("CaptureOptions"))
20167	}
20168	if s.CaptureOptions != nil && len(s.CaptureOptions) < 1 {
20169		invalidParams.Add(request.NewErrParamMinLen("CaptureOptions", 1))
20170	}
20171	if s.DestinationS3Uri == nil {
20172		invalidParams.Add(request.NewErrParamRequired("DestinationS3Uri"))
20173	}
20174	if s.InitialSamplingPercentage == nil {
20175		invalidParams.Add(request.NewErrParamRequired("InitialSamplingPercentage"))
20176	}
20177	if s.CaptureContentTypeHeader != nil {
20178		if err := s.CaptureContentTypeHeader.Validate(); err != nil {
20179			invalidParams.AddNested("CaptureContentTypeHeader", err.(request.ErrInvalidParams))
20180		}
20181	}
20182	if s.CaptureOptions != nil {
20183		for i, v := range s.CaptureOptions {
20184			if v == nil {
20185				continue
20186			}
20187			if err := v.Validate(); err != nil {
20188				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CaptureOptions", i), err.(request.ErrInvalidParams))
20189			}
20190		}
20191	}
20192
20193	if invalidParams.Len() > 0 {
20194		return invalidParams
20195	}
20196	return nil
20197}
20198
20199// SetCaptureContentTypeHeader sets the CaptureContentTypeHeader field's value.
20200func (s *DataCaptureConfig) SetCaptureContentTypeHeader(v *CaptureContentTypeHeader) *DataCaptureConfig {
20201	s.CaptureContentTypeHeader = v
20202	return s
20203}
20204
20205// SetCaptureOptions sets the CaptureOptions field's value.
20206func (s *DataCaptureConfig) SetCaptureOptions(v []*CaptureOption) *DataCaptureConfig {
20207	s.CaptureOptions = v
20208	return s
20209}
20210
20211// SetDestinationS3Uri sets the DestinationS3Uri field's value.
20212func (s *DataCaptureConfig) SetDestinationS3Uri(v string) *DataCaptureConfig {
20213	s.DestinationS3Uri = &v
20214	return s
20215}
20216
20217// SetEnableCapture sets the EnableCapture field's value.
20218func (s *DataCaptureConfig) SetEnableCapture(v bool) *DataCaptureConfig {
20219	s.EnableCapture = &v
20220	return s
20221}
20222
20223// SetInitialSamplingPercentage sets the InitialSamplingPercentage field's value.
20224func (s *DataCaptureConfig) SetInitialSamplingPercentage(v int64) *DataCaptureConfig {
20225	s.InitialSamplingPercentage = &v
20226	return s
20227}
20228
20229// SetKmsKeyId sets the KmsKeyId field's value.
20230func (s *DataCaptureConfig) SetKmsKeyId(v string) *DataCaptureConfig {
20231	s.KmsKeyId = &v
20232	return s
20233}
20234
20235type DataCaptureConfigSummary struct {
20236	_ struct{} `type:"structure"`
20237
20238	// CaptureStatus is a required field
20239	CaptureStatus *string `type:"string" required:"true" enum:"CaptureStatus"`
20240
20241	// CurrentSamplingPercentage is a required field
20242	CurrentSamplingPercentage *int64 `type:"integer" required:"true"`
20243
20244	// DestinationS3Uri is a required field
20245	DestinationS3Uri *string `type:"string" required:"true"`
20246
20247	// EnableCapture is a required field
20248	EnableCapture *bool `type:"boolean" required:"true"`
20249
20250	// KmsKeyId is a required field
20251	KmsKeyId *string `type:"string" required:"true"`
20252}
20253
20254// String returns the string representation
20255func (s DataCaptureConfigSummary) String() string {
20256	return awsutil.Prettify(s)
20257}
20258
20259// GoString returns the string representation
20260func (s DataCaptureConfigSummary) GoString() string {
20261	return s.String()
20262}
20263
20264// SetCaptureStatus sets the CaptureStatus field's value.
20265func (s *DataCaptureConfigSummary) SetCaptureStatus(v string) *DataCaptureConfigSummary {
20266	s.CaptureStatus = &v
20267	return s
20268}
20269
20270// SetCurrentSamplingPercentage sets the CurrentSamplingPercentage field's value.
20271func (s *DataCaptureConfigSummary) SetCurrentSamplingPercentage(v int64) *DataCaptureConfigSummary {
20272	s.CurrentSamplingPercentage = &v
20273	return s
20274}
20275
20276// SetDestinationS3Uri sets the DestinationS3Uri field's value.
20277func (s *DataCaptureConfigSummary) SetDestinationS3Uri(v string) *DataCaptureConfigSummary {
20278	s.DestinationS3Uri = &v
20279	return s
20280}
20281
20282// SetEnableCapture sets the EnableCapture field's value.
20283func (s *DataCaptureConfigSummary) SetEnableCapture(v bool) *DataCaptureConfigSummary {
20284	s.EnableCapture = &v
20285	return s
20286}
20287
20288// SetKmsKeyId sets the KmsKeyId field's value.
20289func (s *DataCaptureConfigSummary) SetKmsKeyId(v string) *DataCaptureConfigSummary {
20290	s.KmsKeyId = &v
20291	return s
20292}
20293
20294// The data structure used to specify the data to be used for inference in a
20295// batch transform job and to associate the data that is relevant to the prediction
20296// results in the output. The input filter provided allows you to exclude input
20297// data that is not needed for inference in a batch transform job. The output
20298// filter provided allows you to include input data relevant to interpreting
20299// the predictions in the output from the job. For more information, see Associate
20300// Prediction Results with their Corresponding Input Records (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html).
20301type DataProcessing struct {
20302	_ struct{} `type:"structure"`
20303
20304	// A JSONPath (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html#data-processing-operators)
20305	// expression used to select a portion of the input data to pass to the algorithm.
20306	// Use the InputFilter parameter to exclude fields, such as an ID column, from
20307	// the input. If you want Amazon SageMaker to pass the entire input dataset
20308	// to the algorithm, accept the default value $.
20309	//
20310	// Examples: "$", "$[1:]", "$.features"
20311	InputFilter *string `type:"string"`
20312
20313	// Specifies the source of the data to join with the transformed data. The valid
20314	// values are None and Input. The default value is None, which specifies not
20315	// to join the input with the transformed data. If you want the batch transform
20316	// job to join the original input data with the transformed data, set JoinSource
20317	// to Input.
20318	//
20319	// For JSON or JSONLines objects, such as a JSON array, Amazon SageMaker adds
20320	// the transformed data to the input JSON object in an attribute called SageMakerOutput.
20321	// The joined result for JSON must be a key-value pair object. If the input
20322	// is not a key-value pair object, Amazon SageMaker creates a new JSON file.
20323	// In the new JSON file, and the input data is stored under the SageMakerInput
20324	// key and the results are stored in SageMakerOutput.
20325	//
20326	// For CSV files, Amazon SageMaker combines the transformed data with the input
20327	// data at the end of the input data and stores it in the output file. The joined
20328	// data has the joined input data followed by the transformed data and the output
20329	// is a CSV file.
20330	JoinSource *string `type:"string" enum:"JoinSource"`
20331
20332	// A JSONPath (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html#data-processing-operators)
20333	// expression used to select a portion of the joined dataset to save in the
20334	// output file for a batch transform job. If you want Amazon SageMaker to store
20335	// the entire input dataset in the output file, leave the default value, $.
20336	// If you specify indexes that aren't within the dimension size of the joined
20337	// dataset, you get an error.
20338	//
20339	// Examples: "$", "$[0,5:]", "$['id','SageMakerOutput']"
20340	OutputFilter *string `type:"string"`
20341}
20342
20343// String returns the string representation
20344func (s DataProcessing) String() string {
20345	return awsutil.Prettify(s)
20346}
20347
20348// GoString returns the string representation
20349func (s DataProcessing) GoString() string {
20350	return s.String()
20351}
20352
20353// SetInputFilter sets the InputFilter field's value.
20354func (s *DataProcessing) SetInputFilter(v string) *DataProcessing {
20355	s.InputFilter = &v
20356	return s
20357}
20358
20359// SetJoinSource sets the JoinSource field's value.
20360func (s *DataProcessing) SetJoinSource(v string) *DataProcessing {
20361	s.JoinSource = &v
20362	return s
20363}
20364
20365// SetOutputFilter sets the OutputFilter field's value.
20366func (s *DataProcessing) SetOutputFilter(v string) *DataProcessing {
20367	s.OutputFilter = &v
20368	return s
20369}
20370
20371// Describes the location of the channel data.
20372type DataSource struct {
20373	_ struct{} `type:"structure"`
20374
20375	// The file system that is associated with a channel.
20376	FileSystemDataSource *FileSystemDataSource `type:"structure"`
20377
20378	// The S3 location of the data source that is associated with a channel.
20379	S3DataSource *S3DataSource `type:"structure"`
20380}
20381
20382// String returns the string representation
20383func (s DataSource) String() string {
20384	return awsutil.Prettify(s)
20385}
20386
20387// GoString returns the string representation
20388func (s DataSource) GoString() string {
20389	return s.String()
20390}
20391
20392// Validate inspects the fields of the type to determine if they are valid.
20393func (s *DataSource) Validate() error {
20394	invalidParams := request.ErrInvalidParams{Context: "DataSource"}
20395	if s.FileSystemDataSource != nil {
20396		if err := s.FileSystemDataSource.Validate(); err != nil {
20397			invalidParams.AddNested("FileSystemDataSource", err.(request.ErrInvalidParams))
20398		}
20399	}
20400	if s.S3DataSource != nil {
20401		if err := s.S3DataSource.Validate(); err != nil {
20402			invalidParams.AddNested("S3DataSource", err.(request.ErrInvalidParams))
20403		}
20404	}
20405
20406	if invalidParams.Len() > 0 {
20407		return invalidParams
20408	}
20409	return nil
20410}
20411
20412// SetFileSystemDataSource sets the FileSystemDataSource field's value.
20413func (s *DataSource) SetFileSystemDataSource(v *FileSystemDataSource) *DataSource {
20414	s.FileSystemDataSource = v
20415	return s
20416}
20417
20418// SetS3DataSource sets the S3DataSource field's value.
20419func (s *DataSource) SetS3DataSource(v *S3DataSource) *DataSource {
20420	s.S3DataSource = v
20421	return s
20422}
20423
20424// Configuration information for the debug hook parameters, collection configuration,
20425// and storage paths.
20426type DebugHookConfig struct {
20427	_ struct{} `type:"structure"`
20428
20429	// Configuration information for tensor collections.
20430	CollectionConfigurations []*CollectionConfiguration `type:"list"`
20431
20432	// Configuration information for the debug hook parameters.
20433	HookParameters map[string]*string `type:"map"`
20434
20435	// Path to local storage location for tensors. Defaults to /opt/ml/output/tensors/.
20436	LocalPath *string `type:"string"`
20437
20438	// Path to Amazon S3 storage location for tensors.
20439	//
20440	// S3OutputPath is a required field
20441	S3OutputPath *string `type:"string" required:"true"`
20442}
20443
20444// String returns the string representation
20445func (s DebugHookConfig) String() string {
20446	return awsutil.Prettify(s)
20447}
20448
20449// GoString returns the string representation
20450func (s DebugHookConfig) GoString() string {
20451	return s.String()
20452}
20453
20454// Validate inspects the fields of the type to determine if they are valid.
20455func (s *DebugHookConfig) Validate() error {
20456	invalidParams := request.ErrInvalidParams{Context: "DebugHookConfig"}
20457	if s.S3OutputPath == nil {
20458		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
20459	}
20460	if s.CollectionConfigurations != nil {
20461		for i, v := range s.CollectionConfigurations {
20462			if v == nil {
20463				continue
20464			}
20465			if err := v.Validate(); err != nil {
20466				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CollectionConfigurations", i), err.(request.ErrInvalidParams))
20467			}
20468		}
20469	}
20470
20471	if invalidParams.Len() > 0 {
20472		return invalidParams
20473	}
20474	return nil
20475}
20476
20477// SetCollectionConfigurations sets the CollectionConfigurations field's value.
20478func (s *DebugHookConfig) SetCollectionConfigurations(v []*CollectionConfiguration) *DebugHookConfig {
20479	s.CollectionConfigurations = v
20480	return s
20481}
20482
20483// SetHookParameters sets the HookParameters field's value.
20484func (s *DebugHookConfig) SetHookParameters(v map[string]*string) *DebugHookConfig {
20485	s.HookParameters = v
20486	return s
20487}
20488
20489// SetLocalPath sets the LocalPath field's value.
20490func (s *DebugHookConfig) SetLocalPath(v string) *DebugHookConfig {
20491	s.LocalPath = &v
20492	return s
20493}
20494
20495// SetS3OutputPath sets the S3OutputPath field's value.
20496func (s *DebugHookConfig) SetS3OutputPath(v string) *DebugHookConfig {
20497	s.S3OutputPath = &v
20498	return s
20499}
20500
20501// Configuration information for debugging rules.
20502type DebugRuleConfiguration struct {
20503	_ struct{} `type:"structure"`
20504
20505	// The instance type to deploy for a training job.
20506	InstanceType *string `type:"string" enum:"ProcessingInstanceType"`
20507
20508	// Path to local storage location for output of rules. Defaults to /opt/ml/processing/output/rule/.
20509	LocalPath *string `type:"string"`
20510
20511	// The name of the rule configuration. It must be unique relative to other rule
20512	// configuration names.
20513	//
20514	// RuleConfigurationName is a required field
20515	RuleConfigurationName *string `min:"1" type:"string" required:"true"`
20516
20517	// The Amazon Elastic Container (ECR) Image for the managed rule evaluation.
20518	//
20519	// RuleEvaluatorImage is a required field
20520	RuleEvaluatorImage *string `type:"string" required:"true"`
20521
20522	// Runtime configuration for rule container.
20523	RuleParameters map[string]*string `type:"map"`
20524
20525	// Path to Amazon S3 storage location for rules.
20526	S3OutputPath *string `type:"string"`
20527
20528	// The size, in GB, of the ML storage volume attached to the processing instance.
20529	VolumeSizeInGB *int64 `type:"integer"`
20530}
20531
20532// String returns the string representation
20533func (s DebugRuleConfiguration) String() string {
20534	return awsutil.Prettify(s)
20535}
20536
20537// GoString returns the string representation
20538func (s DebugRuleConfiguration) GoString() string {
20539	return s.String()
20540}
20541
20542// Validate inspects the fields of the type to determine if they are valid.
20543func (s *DebugRuleConfiguration) Validate() error {
20544	invalidParams := request.ErrInvalidParams{Context: "DebugRuleConfiguration"}
20545	if s.RuleConfigurationName == nil {
20546		invalidParams.Add(request.NewErrParamRequired("RuleConfigurationName"))
20547	}
20548	if s.RuleConfigurationName != nil && len(*s.RuleConfigurationName) < 1 {
20549		invalidParams.Add(request.NewErrParamMinLen("RuleConfigurationName", 1))
20550	}
20551	if s.RuleEvaluatorImage == nil {
20552		invalidParams.Add(request.NewErrParamRequired("RuleEvaluatorImage"))
20553	}
20554
20555	if invalidParams.Len() > 0 {
20556		return invalidParams
20557	}
20558	return nil
20559}
20560
20561// SetInstanceType sets the InstanceType field's value.
20562func (s *DebugRuleConfiguration) SetInstanceType(v string) *DebugRuleConfiguration {
20563	s.InstanceType = &v
20564	return s
20565}
20566
20567// SetLocalPath sets the LocalPath field's value.
20568func (s *DebugRuleConfiguration) SetLocalPath(v string) *DebugRuleConfiguration {
20569	s.LocalPath = &v
20570	return s
20571}
20572
20573// SetRuleConfigurationName sets the RuleConfigurationName field's value.
20574func (s *DebugRuleConfiguration) SetRuleConfigurationName(v string) *DebugRuleConfiguration {
20575	s.RuleConfigurationName = &v
20576	return s
20577}
20578
20579// SetRuleEvaluatorImage sets the RuleEvaluatorImage field's value.
20580func (s *DebugRuleConfiguration) SetRuleEvaluatorImage(v string) *DebugRuleConfiguration {
20581	s.RuleEvaluatorImage = &v
20582	return s
20583}
20584
20585// SetRuleParameters sets the RuleParameters field's value.
20586func (s *DebugRuleConfiguration) SetRuleParameters(v map[string]*string) *DebugRuleConfiguration {
20587	s.RuleParameters = v
20588	return s
20589}
20590
20591// SetS3OutputPath sets the S3OutputPath field's value.
20592func (s *DebugRuleConfiguration) SetS3OutputPath(v string) *DebugRuleConfiguration {
20593	s.S3OutputPath = &v
20594	return s
20595}
20596
20597// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
20598func (s *DebugRuleConfiguration) SetVolumeSizeInGB(v int64) *DebugRuleConfiguration {
20599	s.VolumeSizeInGB = &v
20600	return s
20601}
20602
20603// Information about the status of the rule evaluation.
20604type DebugRuleEvaluationStatus struct {
20605	_ struct{} `type:"structure"`
20606
20607	// Timestamp when the rule evaluation status was last modified.
20608	LastModifiedTime *time.Time `type:"timestamp"`
20609
20610	// The name of the rule configuration
20611	RuleConfigurationName *string `min:"1" type:"string"`
20612
20613	// The Amazon Resource Name (ARN) of the rule evaluation job.
20614	RuleEvaluationJobArn *string `type:"string"`
20615
20616	// Status of the rule evaluation.
20617	RuleEvaluationStatus *string `type:"string" enum:"RuleEvaluationStatus"`
20618
20619	// Details from the rule evaluation.
20620	StatusDetails *string `type:"string"`
20621}
20622
20623// String returns the string representation
20624func (s DebugRuleEvaluationStatus) String() string {
20625	return awsutil.Prettify(s)
20626}
20627
20628// GoString returns the string representation
20629func (s DebugRuleEvaluationStatus) GoString() string {
20630	return s.String()
20631}
20632
20633// SetLastModifiedTime sets the LastModifiedTime field's value.
20634func (s *DebugRuleEvaluationStatus) SetLastModifiedTime(v time.Time) *DebugRuleEvaluationStatus {
20635	s.LastModifiedTime = &v
20636	return s
20637}
20638
20639// SetRuleConfigurationName sets the RuleConfigurationName field's value.
20640func (s *DebugRuleEvaluationStatus) SetRuleConfigurationName(v string) *DebugRuleEvaluationStatus {
20641	s.RuleConfigurationName = &v
20642	return s
20643}
20644
20645// SetRuleEvaluationJobArn sets the RuleEvaluationJobArn field's value.
20646func (s *DebugRuleEvaluationStatus) SetRuleEvaluationJobArn(v string) *DebugRuleEvaluationStatus {
20647	s.RuleEvaluationJobArn = &v
20648	return s
20649}
20650
20651// SetRuleEvaluationStatus sets the RuleEvaluationStatus field's value.
20652func (s *DebugRuleEvaluationStatus) SetRuleEvaluationStatus(v string) *DebugRuleEvaluationStatus {
20653	s.RuleEvaluationStatus = &v
20654	return s
20655}
20656
20657// SetStatusDetails sets the StatusDetails field's value.
20658func (s *DebugRuleEvaluationStatus) SetStatusDetails(v string) *DebugRuleEvaluationStatus {
20659	s.StatusDetails = &v
20660	return s
20661}
20662
20663type DeleteAlgorithmInput struct {
20664	_ struct{} `type:"structure"`
20665
20666	// The name of the algorithm to delete.
20667	//
20668	// AlgorithmName is a required field
20669	AlgorithmName *string `min:"1" type:"string" required:"true"`
20670}
20671
20672// String returns the string representation
20673func (s DeleteAlgorithmInput) String() string {
20674	return awsutil.Prettify(s)
20675}
20676
20677// GoString returns the string representation
20678func (s DeleteAlgorithmInput) GoString() string {
20679	return s.String()
20680}
20681
20682// Validate inspects the fields of the type to determine if they are valid.
20683func (s *DeleteAlgorithmInput) Validate() error {
20684	invalidParams := request.ErrInvalidParams{Context: "DeleteAlgorithmInput"}
20685	if s.AlgorithmName == nil {
20686		invalidParams.Add(request.NewErrParamRequired("AlgorithmName"))
20687	}
20688	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
20689		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
20690	}
20691
20692	if invalidParams.Len() > 0 {
20693		return invalidParams
20694	}
20695	return nil
20696}
20697
20698// SetAlgorithmName sets the AlgorithmName field's value.
20699func (s *DeleteAlgorithmInput) SetAlgorithmName(v string) *DeleteAlgorithmInput {
20700	s.AlgorithmName = &v
20701	return s
20702}
20703
20704type DeleteAlgorithmOutput struct {
20705	_ struct{} `type:"structure"`
20706}
20707
20708// String returns the string representation
20709func (s DeleteAlgorithmOutput) String() string {
20710	return awsutil.Prettify(s)
20711}
20712
20713// GoString returns the string representation
20714func (s DeleteAlgorithmOutput) GoString() string {
20715	return s.String()
20716}
20717
20718type DeleteAppInput struct {
20719	_ struct{} `type:"structure"`
20720
20721	// The name of the app.
20722	//
20723	// AppName is a required field
20724	AppName *string `type:"string" required:"true"`
20725
20726	// The type of app.
20727	//
20728	// AppType is a required field
20729	AppType *string `type:"string" required:"true" enum:"AppType"`
20730
20731	// The domain ID.
20732	//
20733	// DomainId is a required field
20734	DomainId *string `type:"string" required:"true"`
20735
20736	// The user profile name.
20737	//
20738	// UserProfileName is a required field
20739	UserProfileName *string `type:"string" required:"true"`
20740}
20741
20742// String returns the string representation
20743func (s DeleteAppInput) String() string {
20744	return awsutil.Prettify(s)
20745}
20746
20747// GoString returns the string representation
20748func (s DeleteAppInput) GoString() string {
20749	return s.String()
20750}
20751
20752// Validate inspects the fields of the type to determine if they are valid.
20753func (s *DeleteAppInput) Validate() error {
20754	invalidParams := request.ErrInvalidParams{Context: "DeleteAppInput"}
20755	if s.AppName == nil {
20756		invalidParams.Add(request.NewErrParamRequired("AppName"))
20757	}
20758	if s.AppType == nil {
20759		invalidParams.Add(request.NewErrParamRequired("AppType"))
20760	}
20761	if s.DomainId == nil {
20762		invalidParams.Add(request.NewErrParamRequired("DomainId"))
20763	}
20764	if s.UserProfileName == nil {
20765		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
20766	}
20767
20768	if invalidParams.Len() > 0 {
20769		return invalidParams
20770	}
20771	return nil
20772}
20773
20774// SetAppName sets the AppName field's value.
20775func (s *DeleteAppInput) SetAppName(v string) *DeleteAppInput {
20776	s.AppName = &v
20777	return s
20778}
20779
20780// SetAppType sets the AppType field's value.
20781func (s *DeleteAppInput) SetAppType(v string) *DeleteAppInput {
20782	s.AppType = &v
20783	return s
20784}
20785
20786// SetDomainId sets the DomainId field's value.
20787func (s *DeleteAppInput) SetDomainId(v string) *DeleteAppInput {
20788	s.DomainId = &v
20789	return s
20790}
20791
20792// SetUserProfileName sets the UserProfileName field's value.
20793func (s *DeleteAppInput) SetUserProfileName(v string) *DeleteAppInput {
20794	s.UserProfileName = &v
20795	return s
20796}
20797
20798type DeleteAppOutput struct {
20799	_ struct{} `type:"structure"`
20800}
20801
20802// String returns the string representation
20803func (s DeleteAppOutput) String() string {
20804	return awsutil.Prettify(s)
20805}
20806
20807// GoString returns the string representation
20808func (s DeleteAppOutput) GoString() string {
20809	return s.String()
20810}
20811
20812type DeleteCodeRepositoryInput struct {
20813	_ struct{} `type:"structure"`
20814
20815	// The name of the Git repository to delete.
20816	//
20817	// CodeRepositoryName is a required field
20818	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
20819}
20820
20821// String returns the string representation
20822func (s DeleteCodeRepositoryInput) String() string {
20823	return awsutil.Prettify(s)
20824}
20825
20826// GoString returns the string representation
20827func (s DeleteCodeRepositoryInput) GoString() string {
20828	return s.String()
20829}
20830
20831// Validate inspects the fields of the type to determine if they are valid.
20832func (s *DeleteCodeRepositoryInput) Validate() error {
20833	invalidParams := request.ErrInvalidParams{Context: "DeleteCodeRepositoryInput"}
20834	if s.CodeRepositoryName == nil {
20835		invalidParams.Add(request.NewErrParamRequired("CodeRepositoryName"))
20836	}
20837	if s.CodeRepositoryName != nil && len(*s.CodeRepositoryName) < 1 {
20838		invalidParams.Add(request.NewErrParamMinLen("CodeRepositoryName", 1))
20839	}
20840
20841	if invalidParams.Len() > 0 {
20842		return invalidParams
20843	}
20844	return nil
20845}
20846
20847// SetCodeRepositoryName sets the CodeRepositoryName field's value.
20848func (s *DeleteCodeRepositoryInput) SetCodeRepositoryName(v string) *DeleteCodeRepositoryInput {
20849	s.CodeRepositoryName = &v
20850	return s
20851}
20852
20853type DeleteCodeRepositoryOutput struct {
20854	_ struct{} `type:"structure"`
20855}
20856
20857// String returns the string representation
20858func (s DeleteCodeRepositoryOutput) String() string {
20859	return awsutil.Prettify(s)
20860}
20861
20862// GoString returns the string representation
20863func (s DeleteCodeRepositoryOutput) GoString() string {
20864	return s.String()
20865}
20866
20867type DeleteDomainInput struct {
20868	_ struct{} `type:"structure"`
20869
20870	// The domain ID.
20871	//
20872	// DomainId is a required field
20873	DomainId *string `type:"string" required:"true"`
20874
20875	// The retention policy for this domain, which specifies whether resources will
20876	// be retained after the Domain is deleted. By default, all resources are retained
20877	// (not automatically deleted).
20878	RetentionPolicy *RetentionPolicy `type:"structure"`
20879}
20880
20881// String returns the string representation
20882func (s DeleteDomainInput) String() string {
20883	return awsutil.Prettify(s)
20884}
20885
20886// GoString returns the string representation
20887func (s DeleteDomainInput) GoString() string {
20888	return s.String()
20889}
20890
20891// Validate inspects the fields of the type to determine if they are valid.
20892func (s *DeleteDomainInput) Validate() error {
20893	invalidParams := request.ErrInvalidParams{Context: "DeleteDomainInput"}
20894	if s.DomainId == nil {
20895		invalidParams.Add(request.NewErrParamRequired("DomainId"))
20896	}
20897
20898	if invalidParams.Len() > 0 {
20899		return invalidParams
20900	}
20901	return nil
20902}
20903
20904// SetDomainId sets the DomainId field's value.
20905func (s *DeleteDomainInput) SetDomainId(v string) *DeleteDomainInput {
20906	s.DomainId = &v
20907	return s
20908}
20909
20910// SetRetentionPolicy sets the RetentionPolicy field's value.
20911func (s *DeleteDomainInput) SetRetentionPolicy(v *RetentionPolicy) *DeleteDomainInput {
20912	s.RetentionPolicy = v
20913	return s
20914}
20915
20916type DeleteDomainOutput struct {
20917	_ struct{} `type:"structure"`
20918}
20919
20920// String returns the string representation
20921func (s DeleteDomainOutput) String() string {
20922	return awsutil.Prettify(s)
20923}
20924
20925// GoString returns the string representation
20926func (s DeleteDomainOutput) GoString() string {
20927	return s.String()
20928}
20929
20930type DeleteEndpointConfigInput struct {
20931	_ struct{} `type:"structure"`
20932
20933	// The name of the endpoint configuration that you want to delete.
20934	//
20935	// EndpointConfigName is a required field
20936	EndpointConfigName *string `type:"string" required:"true"`
20937}
20938
20939// String returns the string representation
20940func (s DeleteEndpointConfigInput) String() string {
20941	return awsutil.Prettify(s)
20942}
20943
20944// GoString returns the string representation
20945func (s DeleteEndpointConfigInput) GoString() string {
20946	return s.String()
20947}
20948
20949// Validate inspects the fields of the type to determine if they are valid.
20950func (s *DeleteEndpointConfigInput) Validate() error {
20951	invalidParams := request.ErrInvalidParams{Context: "DeleteEndpointConfigInput"}
20952	if s.EndpointConfigName == nil {
20953		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
20954	}
20955
20956	if invalidParams.Len() > 0 {
20957		return invalidParams
20958	}
20959	return nil
20960}
20961
20962// SetEndpointConfigName sets the EndpointConfigName field's value.
20963func (s *DeleteEndpointConfigInput) SetEndpointConfigName(v string) *DeleteEndpointConfigInput {
20964	s.EndpointConfigName = &v
20965	return s
20966}
20967
20968type DeleteEndpointConfigOutput struct {
20969	_ struct{} `type:"structure"`
20970}
20971
20972// String returns the string representation
20973func (s DeleteEndpointConfigOutput) String() string {
20974	return awsutil.Prettify(s)
20975}
20976
20977// GoString returns the string representation
20978func (s DeleteEndpointConfigOutput) GoString() string {
20979	return s.String()
20980}
20981
20982type DeleteEndpointInput struct {
20983	_ struct{} `type:"structure"`
20984
20985	// The name of the endpoint that you want to delete.
20986	//
20987	// EndpointName is a required field
20988	EndpointName *string `type:"string" required:"true"`
20989}
20990
20991// String returns the string representation
20992func (s DeleteEndpointInput) String() string {
20993	return awsutil.Prettify(s)
20994}
20995
20996// GoString returns the string representation
20997func (s DeleteEndpointInput) GoString() string {
20998	return s.String()
20999}
21000
21001// Validate inspects the fields of the type to determine if they are valid.
21002func (s *DeleteEndpointInput) Validate() error {
21003	invalidParams := request.ErrInvalidParams{Context: "DeleteEndpointInput"}
21004	if s.EndpointName == nil {
21005		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
21006	}
21007
21008	if invalidParams.Len() > 0 {
21009		return invalidParams
21010	}
21011	return nil
21012}
21013
21014// SetEndpointName sets the EndpointName field's value.
21015func (s *DeleteEndpointInput) SetEndpointName(v string) *DeleteEndpointInput {
21016	s.EndpointName = &v
21017	return s
21018}
21019
21020type DeleteEndpointOutput struct {
21021	_ struct{} `type:"structure"`
21022}
21023
21024// String returns the string representation
21025func (s DeleteEndpointOutput) String() string {
21026	return awsutil.Prettify(s)
21027}
21028
21029// GoString returns the string representation
21030func (s DeleteEndpointOutput) GoString() string {
21031	return s.String()
21032}
21033
21034type DeleteExperimentInput struct {
21035	_ struct{} `type:"structure"`
21036
21037	// The name of the experiment to delete.
21038	//
21039	// ExperimentName is a required field
21040	ExperimentName *string `min:"1" type:"string" required:"true"`
21041}
21042
21043// String returns the string representation
21044func (s DeleteExperimentInput) String() string {
21045	return awsutil.Prettify(s)
21046}
21047
21048// GoString returns the string representation
21049func (s DeleteExperimentInput) GoString() string {
21050	return s.String()
21051}
21052
21053// Validate inspects the fields of the type to determine if they are valid.
21054func (s *DeleteExperimentInput) Validate() error {
21055	invalidParams := request.ErrInvalidParams{Context: "DeleteExperimentInput"}
21056	if s.ExperimentName == nil {
21057		invalidParams.Add(request.NewErrParamRequired("ExperimentName"))
21058	}
21059	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
21060		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
21061	}
21062
21063	if invalidParams.Len() > 0 {
21064		return invalidParams
21065	}
21066	return nil
21067}
21068
21069// SetExperimentName sets the ExperimentName field's value.
21070func (s *DeleteExperimentInput) SetExperimentName(v string) *DeleteExperimentInput {
21071	s.ExperimentName = &v
21072	return s
21073}
21074
21075type DeleteExperimentOutput struct {
21076	_ struct{} `type:"structure"`
21077
21078	// The Amazon Resource Name (ARN) of the experiment that is being deleted.
21079	ExperimentArn *string `type:"string"`
21080}
21081
21082// String returns the string representation
21083func (s DeleteExperimentOutput) String() string {
21084	return awsutil.Prettify(s)
21085}
21086
21087// GoString returns the string representation
21088func (s DeleteExperimentOutput) GoString() string {
21089	return s.String()
21090}
21091
21092// SetExperimentArn sets the ExperimentArn field's value.
21093func (s *DeleteExperimentOutput) SetExperimentArn(v string) *DeleteExperimentOutput {
21094	s.ExperimentArn = &v
21095	return s
21096}
21097
21098type DeleteFlowDefinitionInput struct {
21099	_ struct{} `type:"structure"`
21100
21101	// The name of the flow definition you are deleting.
21102	//
21103	// FlowDefinitionName is a required field
21104	FlowDefinitionName *string `min:"1" type:"string" required:"true"`
21105}
21106
21107// String returns the string representation
21108func (s DeleteFlowDefinitionInput) String() string {
21109	return awsutil.Prettify(s)
21110}
21111
21112// GoString returns the string representation
21113func (s DeleteFlowDefinitionInput) GoString() string {
21114	return s.String()
21115}
21116
21117// Validate inspects the fields of the type to determine if they are valid.
21118func (s *DeleteFlowDefinitionInput) Validate() error {
21119	invalidParams := request.ErrInvalidParams{Context: "DeleteFlowDefinitionInput"}
21120	if s.FlowDefinitionName == nil {
21121		invalidParams.Add(request.NewErrParamRequired("FlowDefinitionName"))
21122	}
21123	if s.FlowDefinitionName != nil && len(*s.FlowDefinitionName) < 1 {
21124		invalidParams.Add(request.NewErrParamMinLen("FlowDefinitionName", 1))
21125	}
21126
21127	if invalidParams.Len() > 0 {
21128		return invalidParams
21129	}
21130	return nil
21131}
21132
21133// SetFlowDefinitionName sets the FlowDefinitionName field's value.
21134func (s *DeleteFlowDefinitionInput) SetFlowDefinitionName(v string) *DeleteFlowDefinitionInput {
21135	s.FlowDefinitionName = &v
21136	return s
21137}
21138
21139type DeleteFlowDefinitionOutput struct {
21140	_ struct{} `type:"structure"`
21141}
21142
21143// String returns the string representation
21144func (s DeleteFlowDefinitionOutput) String() string {
21145	return awsutil.Prettify(s)
21146}
21147
21148// GoString returns the string representation
21149func (s DeleteFlowDefinitionOutput) GoString() string {
21150	return s.String()
21151}
21152
21153type DeleteModelInput struct {
21154	_ struct{} `type:"structure"`
21155
21156	// The name of the model to delete.
21157	//
21158	// ModelName is a required field
21159	ModelName *string `type:"string" required:"true"`
21160}
21161
21162// String returns the string representation
21163func (s DeleteModelInput) String() string {
21164	return awsutil.Prettify(s)
21165}
21166
21167// GoString returns the string representation
21168func (s DeleteModelInput) GoString() string {
21169	return s.String()
21170}
21171
21172// Validate inspects the fields of the type to determine if they are valid.
21173func (s *DeleteModelInput) Validate() error {
21174	invalidParams := request.ErrInvalidParams{Context: "DeleteModelInput"}
21175	if s.ModelName == nil {
21176		invalidParams.Add(request.NewErrParamRequired("ModelName"))
21177	}
21178
21179	if invalidParams.Len() > 0 {
21180		return invalidParams
21181	}
21182	return nil
21183}
21184
21185// SetModelName sets the ModelName field's value.
21186func (s *DeleteModelInput) SetModelName(v string) *DeleteModelInput {
21187	s.ModelName = &v
21188	return s
21189}
21190
21191type DeleteModelOutput struct {
21192	_ struct{} `type:"structure"`
21193}
21194
21195// String returns the string representation
21196func (s DeleteModelOutput) String() string {
21197	return awsutil.Prettify(s)
21198}
21199
21200// GoString returns the string representation
21201func (s DeleteModelOutput) GoString() string {
21202	return s.String()
21203}
21204
21205type DeleteModelPackageInput struct {
21206	_ struct{} `type:"structure"`
21207
21208	// The name of the model package. The name must have 1 to 63 characters. Valid
21209	// characters are a-z, A-Z, 0-9, and - (hyphen).
21210	//
21211	// ModelPackageName is a required field
21212	ModelPackageName *string `min:"1" type:"string" required:"true"`
21213}
21214
21215// String returns the string representation
21216func (s DeleteModelPackageInput) String() string {
21217	return awsutil.Prettify(s)
21218}
21219
21220// GoString returns the string representation
21221func (s DeleteModelPackageInput) GoString() string {
21222	return s.String()
21223}
21224
21225// Validate inspects the fields of the type to determine if they are valid.
21226func (s *DeleteModelPackageInput) Validate() error {
21227	invalidParams := request.ErrInvalidParams{Context: "DeleteModelPackageInput"}
21228	if s.ModelPackageName == nil {
21229		invalidParams.Add(request.NewErrParamRequired("ModelPackageName"))
21230	}
21231	if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 {
21232		invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1))
21233	}
21234
21235	if invalidParams.Len() > 0 {
21236		return invalidParams
21237	}
21238	return nil
21239}
21240
21241// SetModelPackageName sets the ModelPackageName field's value.
21242func (s *DeleteModelPackageInput) SetModelPackageName(v string) *DeleteModelPackageInput {
21243	s.ModelPackageName = &v
21244	return s
21245}
21246
21247type DeleteModelPackageOutput struct {
21248	_ struct{} `type:"structure"`
21249}
21250
21251// String returns the string representation
21252func (s DeleteModelPackageOutput) String() string {
21253	return awsutil.Prettify(s)
21254}
21255
21256// GoString returns the string representation
21257func (s DeleteModelPackageOutput) GoString() string {
21258	return s.String()
21259}
21260
21261type DeleteMonitoringScheduleInput struct {
21262	_ struct{} `type:"structure"`
21263
21264	// The name of the monitoring schedule to delete.
21265	//
21266	// MonitoringScheduleName is a required field
21267	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
21268}
21269
21270// String returns the string representation
21271func (s DeleteMonitoringScheduleInput) String() string {
21272	return awsutil.Prettify(s)
21273}
21274
21275// GoString returns the string representation
21276func (s DeleteMonitoringScheduleInput) GoString() string {
21277	return s.String()
21278}
21279
21280// Validate inspects the fields of the type to determine if they are valid.
21281func (s *DeleteMonitoringScheduleInput) Validate() error {
21282	invalidParams := request.ErrInvalidParams{Context: "DeleteMonitoringScheduleInput"}
21283	if s.MonitoringScheduleName == nil {
21284		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName"))
21285	}
21286	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
21287		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
21288	}
21289
21290	if invalidParams.Len() > 0 {
21291		return invalidParams
21292	}
21293	return nil
21294}
21295
21296// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
21297func (s *DeleteMonitoringScheduleInput) SetMonitoringScheduleName(v string) *DeleteMonitoringScheduleInput {
21298	s.MonitoringScheduleName = &v
21299	return s
21300}
21301
21302type DeleteMonitoringScheduleOutput struct {
21303	_ struct{} `type:"structure"`
21304}
21305
21306// String returns the string representation
21307func (s DeleteMonitoringScheduleOutput) String() string {
21308	return awsutil.Prettify(s)
21309}
21310
21311// GoString returns the string representation
21312func (s DeleteMonitoringScheduleOutput) GoString() string {
21313	return s.String()
21314}
21315
21316type DeleteNotebookInstanceInput struct {
21317	_ struct{} `type:"structure"`
21318
21319	// The name of the Amazon SageMaker notebook instance to delete.
21320	//
21321	// NotebookInstanceName is a required field
21322	NotebookInstanceName *string `type:"string" required:"true"`
21323}
21324
21325// String returns the string representation
21326func (s DeleteNotebookInstanceInput) String() string {
21327	return awsutil.Prettify(s)
21328}
21329
21330// GoString returns the string representation
21331func (s DeleteNotebookInstanceInput) GoString() string {
21332	return s.String()
21333}
21334
21335// Validate inspects the fields of the type to determine if they are valid.
21336func (s *DeleteNotebookInstanceInput) Validate() error {
21337	invalidParams := request.ErrInvalidParams{Context: "DeleteNotebookInstanceInput"}
21338	if s.NotebookInstanceName == nil {
21339		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
21340	}
21341
21342	if invalidParams.Len() > 0 {
21343		return invalidParams
21344	}
21345	return nil
21346}
21347
21348// SetNotebookInstanceName sets the NotebookInstanceName field's value.
21349func (s *DeleteNotebookInstanceInput) SetNotebookInstanceName(v string) *DeleteNotebookInstanceInput {
21350	s.NotebookInstanceName = &v
21351	return s
21352}
21353
21354type DeleteNotebookInstanceLifecycleConfigInput struct {
21355	_ struct{} `type:"structure"`
21356
21357	// The name of the lifecycle configuration to delete.
21358	//
21359	// NotebookInstanceLifecycleConfigName is a required field
21360	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
21361}
21362
21363// String returns the string representation
21364func (s DeleteNotebookInstanceLifecycleConfigInput) String() string {
21365	return awsutil.Prettify(s)
21366}
21367
21368// GoString returns the string representation
21369func (s DeleteNotebookInstanceLifecycleConfigInput) GoString() string {
21370	return s.String()
21371}
21372
21373// Validate inspects the fields of the type to determine if they are valid.
21374func (s *DeleteNotebookInstanceLifecycleConfigInput) Validate() error {
21375	invalidParams := request.ErrInvalidParams{Context: "DeleteNotebookInstanceLifecycleConfigInput"}
21376	if s.NotebookInstanceLifecycleConfigName == nil {
21377		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceLifecycleConfigName"))
21378	}
21379
21380	if invalidParams.Len() > 0 {
21381		return invalidParams
21382	}
21383	return nil
21384}
21385
21386// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
21387func (s *DeleteNotebookInstanceLifecycleConfigInput) SetNotebookInstanceLifecycleConfigName(v string) *DeleteNotebookInstanceLifecycleConfigInput {
21388	s.NotebookInstanceLifecycleConfigName = &v
21389	return s
21390}
21391
21392type DeleteNotebookInstanceLifecycleConfigOutput struct {
21393	_ struct{} `type:"structure"`
21394}
21395
21396// String returns the string representation
21397func (s DeleteNotebookInstanceLifecycleConfigOutput) String() string {
21398	return awsutil.Prettify(s)
21399}
21400
21401// GoString returns the string representation
21402func (s DeleteNotebookInstanceLifecycleConfigOutput) GoString() string {
21403	return s.String()
21404}
21405
21406type DeleteNotebookInstanceOutput struct {
21407	_ struct{} `type:"structure"`
21408}
21409
21410// String returns the string representation
21411func (s DeleteNotebookInstanceOutput) String() string {
21412	return awsutil.Prettify(s)
21413}
21414
21415// GoString returns the string representation
21416func (s DeleteNotebookInstanceOutput) GoString() string {
21417	return s.String()
21418}
21419
21420type DeleteTagsInput struct {
21421	_ struct{} `type:"structure"`
21422
21423	// The Amazon Resource Name (ARN) of the resource whose tags you want to delete.
21424	//
21425	// ResourceArn is a required field
21426	ResourceArn *string `type:"string" required:"true"`
21427
21428	// An array or one or more tag keys to delete.
21429	//
21430	// TagKeys is a required field
21431	TagKeys []*string `min:"1" type:"list" required:"true"`
21432}
21433
21434// String returns the string representation
21435func (s DeleteTagsInput) String() string {
21436	return awsutil.Prettify(s)
21437}
21438
21439// GoString returns the string representation
21440func (s DeleteTagsInput) GoString() string {
21441	return s.String()
21442}
21443
21444// Validate inspects the fields of the type to determine if they are valid.
21445func (s *DeleteTagsInput) Validate() error {
21446	invalidParams := request.ErrInvalidParams{Context: "DeleteTagsInput"}
21447	if s.ResourceArn == nil {
21448		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
21449	}
21450	if s.TagKeys == nil {
21451		invalidParams.Add(request.NewErrParamRequired("TagKeys"))
21452	}
21453	if s.TagKeys != nil && len(s.TagKeys) < 1 {
21454		invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1))
21455	}
21456
21457	if invalidParams.Len() > 0 {
21458		return invalidParams
21459	}
21460	return nil
21461}
21462
21463// SetResourceArn sets the ResourceArn field's value.
21464func (s *DeleteTagsInput) SetResourceArn(v string) *DeleteTagsInput {
21465	s.ResourceArn = &v
21466	return s
21467}
21468
21469// SetTagKeys sets the TagKeys field's value.
21470func (s *DeleteTagsInput) SetTagKeys(v []*string) *DeleteTagsInput {
21471	s.TagKeys = v
21472	return s
21473}
21474
21475type DeleteTagsOutput struct {
21476	_ struct{} `type:"structure"`
21477}
21478
21479// String returns the string representation
21480func (s DeleteTagsOutput) String() string {
21481	return awsutil.Prettify(s)
21482}
21483
21484// GoString returns the string representation
21485func (s DeleteTagsOutput) GoString() string {
21486	return s.String()
21487}
21488
21489type DeleteTrialComponentInput struct {
21490	_ struct{} `type:"structure"`
21491
21492	// The name of the component to delete.
21493	//
21494	// TrialComponentName is a required field
21495	TrialComponentName *string `min:"1" type:"string" required:"true"`
21496}
21497
21498// String returns the string representation
21499func (s DeleteTrialComponentInput) String() string {
21500	return awsutil.Prettify(s)
21501}
21502
21503// GoString returns the string representation
21504func (s DeleteTrialComponentInput) GoString() string {
21505	return s.String()
21506}
21507
21508// Validate inspects the fields of the type to determine if they are valid.
21509func (s *DeleteTrialComponentInput) Validate() error {
21510	invalidParams := request.ErrInvalidParams{Context: "DeleteTrialComponentInput"}
21511	if s.TrialComponentName == nil {
21512		invalidParams.Add(request.NewErrParamRequired("TrialComponentName"))
21513	}
21514	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
21515		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
21516	}
21517
21518	if invalidParams.Len() > 0 {
21519		return invalidParams
21520	}
21521	return nil
21522}
21523
21524// SetTrialComponentName sets the TrialComponentName field's value.
21525func (s *DeleteTrialComponentInput) SetTrialComponentName(v string) *DeleteTrialComponentInput {
21526	s.TrialComponentName = &v
21527	return s
21528}
21529
21530type DeleteTrialComponentOutput struct {
21531	_ struct{} `type:"structure"`
21532
21533	// The Amazon Resource Name (ARN) of the component is being deleted.
21534	TrialComponentArn *string `type:"string"`
21535}
21536
21537// String returns the string representation
21538func (s DeleteTrialComponentOutput) String() string {
21539	return awsutil.Prettify(s)
21540}
21541
21542// GoString returns the string representation
21543func (s DeleteTrialComponentOutput) GoString() string {
21544	return s.String()
21545}
21546
21547// SetTrialComponentArn sets the TrialComponentArn field's value.
21548func (s *DeleteTrialComponentOutput) SetTrialComponentArn(v string) *DeleteTrialComponentOutput {
21549	s.TrialComponentArn = &v
21550	return s
21551}
21552
21553type DeleteTrialInput struct {
21554	_ struct{} `type:"structure"`
21555
21556	// The name of the trial to delete.
21557	//
21558	// TrialName is a required field
21559	TrialName *string `min:"1" type:"string" required:"true"`
21560}
21561
21562// String returns the string representation
21563func (s DeleteTrialInput) String() string {
21564	return awsutil.Prettify(s)
21565}
21566
21567// GoString returns the string representation
21568func (s DeleteTrialInput) GoString() string {
21569	return s.String()
21570}
21571
21572// Validate inspects the fields of the type to determine if they are valid.
21573func (s *DeleteTrialInput) Validate() error {
21574	invalidParams := request.ErrInvalidParams{Context: "DeleteTrialInput"}
21575	if s.TrialName == nil {
21576		invalidParams.Add(request.NewErrParamRequired("TrialName"))
21577	}
21578	if s.TrialName != nil && len(*s.TrialName) < 1 {
21579		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
21580	}
21581
21582	if invalidParams.Len() > 0 {
21583		return invalidParams
21584	}
21585	return nil
21586}
21587
21588// SetTrialName sets the TrialName field's value.
21589func (s *DeleteTrialInput) SetTrialName(v string) *DeleteTrialInput {
21590	s.TrialName = &v
21591	return s
21592}
21593
21594type DeleteTrialOutput struct {
21595	_ struct{} `type:"structure"`
21596
21597	// The Amazon Resource Name (ARN) of the trial that is being deleted.
21598	TrialArn *string `type:"string"`
21599}
21600
21601// String returns the string representation
21602func (s DeleteTrialOutput) String() string {
21603	return awsutil.Prettify(s)
21604}
21605
21606// GoString returns the string representation
21607func (s DeleteTrialOutput) GoString() string {
21608	return s.String()
21609}
21610
21611// SetTrialArn sets the TrialArn field's value.
21612func (s *DeleteTrialOutput) SetTrialArn(v string) *DeleteTrialOutput {
21613	s.TrialArn = &v
21614	return s
21615}
21616
21617type DeleteUserProfileInput struct {
21618	_ struct{} `type:"structure"`
21619
21620	// The domain ID.
21621	//
21622	// DomainId is a required field
21623	DomainId *string `type:"string" required:"true"`
21624
21625	// The user profile name.
21626	//
21627	// UserProfileName is a required field
21628	UserProfileName *string `type:"string" required:"true"`
21629}
21630
21631// String returns the string representation
21632func (s DeleteUserProfileInput) String() string {
21633	return awsutil.Prettify(s)
21634}
21635
21636// GoString returns the string representation
21637func (s DeleteUserProfileInput) GoString() string {
21638	return s.String()
21639}
21640
21641// Validate inspects the fields of the type to determine if they are valid.
21642func (s *DeleteUserProfileInput) Validate() error {
21643	invalidParams := request.ErrInvalidParams{Context: "DeleteUserProfileInput"}
21644	if s.DomainId == nil {
21645		invalidParams.Add(request.NewErrParamRequired("DomainId"))
21646	}
21647	if s.UserProfileName == nil {
21648		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
21649	}
21650
21651	if invalidParams.Len() > 0 {
21652		return invalidParams
21653	}
21654	return nil
21655}
21656
21657// SetDomainId sets the DomainId field's value.
21658func (s *DeleteUserProfileInput) SetDomainId(v string) *DeleteUserProfileInput {
21659	s.DomainId = &v
21660	return s
21661}
21662
21663// SetUserProfileName sets the UserProfileName field's value.
21664func (s *DeleteUserProfileInput) SetUserProfileName(v string) *DeleteUserProfileInput {
21665	s.UserProfileName = &v
21666	return s
21667}
21668
21669type DeleteUserProfileOutput struct {
21670	_ struct{} `type:"structure"`
21671}
21672
21673// String returns the string representation
21674func (s DeleteUserProfileOutput) String() string {
21675	return awsutil.Prettify(s)
21676}
21677
21678// GoString returns the string representation
21679func (s DeleteUserProfileOutput) GoString() string {
21680	return s.String()
21681}
21682
21683type DeleteWorkteamInput struct {
21684	_ struct{} `type:"structure"`
21685
21686	// The name of the work team to delete.
21687	//
21688	// WorkteamName is a required field
21689	WorkteamName *string `min:"1" type:"string" required:"true"`
21690}
21691
21692// String returns the string representation
21693func (s DeleteWorkteamInput) String() string {
21694	return awsutil.Prettify(s)
21695}
21696
21697// GoString returns the string representation
21698func (s DeleteWorkteamInput) GoString() string {
21699	return s.String()
21700}
21701
21702// Validate inspects the fields of the type to determine if they are valid.
21703func (s *DeleteWorkteamInput) Validate() error {
21704	invalidParams := request.ErrInvalidParams{Context: "DeleteWorkteamInput"}
21705	if s.WorkteamName == nil {
21706		invalidParams.Add(request.NewErrParamRequired("WorkteamName"))
21707	}
21708	if s.WorkteamName != nil && len(*s.WorkteamName) < 1 {
21709		invalidParams.Add(request.NewErrParamMinLen("WorkteamName", 1))
21710	}
21711
21712	if invalidParams.Len() > 0 {
21713		return invalidParams
21714	}
21715	return nil
21716}
21717
21718// SetWorkteamName sets the WorkteamName field's value.
21719func (s *DeleteWorkteamInput) SetWorkteamName(v string) *DeleteWorkteamInput {
21720	s.WorkteamName = &v
21721	return s
21722}
21723
21724type DeleteWorkteamOutput struct {
21725	_ struct{} `type:"structure"`
21726
21727	// Returns true if the work team was successfully deleted; otherwise, returns
21728	// false.
21729	//
21730	// Success is a required field
21731	Success *bool `type:"boolean" required:"true"`
21732}
21733
21734// String returns the string representation
21735func (s DeleteWorkteamOutput) String() string {
21736	return awsutil.Prettify(s)
21737}
21738
21739// GoString returns the string representation
21740func (s DeleteWorkteamOutput) GoString() string {
21741	return s.String()
21742}
21743
21744// SetSuccess sets the Success field's value.
21745func (s *DeleteWorkteamOutput) SetSuccess(v bool) *DeleteWorkteamOutput {
21746	s.Success = &v
21747	return s
21748}
21749
21750// Gets the Amazon EC2 Container Registry path of the docker image of the model
21751// that is hosted in this ProductionVariant.
21752//
21753// If you used the registry/repository[:tag] form to specify the image path
21754// of the primary container when you created the model hosted in this ProductionVariant,
21755// the path resolves to a path of the form registry/repository[@digest]. A digest
21756// is a hash value that identifies a specific version of an image. For information
21757// about Amazon ECR paths, see Pulling an Image (https://docs.aws.amazon.com/AmazonECR/latest/userguide/docker-pull-ecr-image.html)
21758// in the Amazon ECR User Guide.
21759type DeployedImage struct {
21760	_ struct{} `type:"structure"`
21761
21762	// The date and time when the image path for the model resolved to the ResolvedImage
21763	ResolutionTime *time.Time `type:"timestamp"`
21764
21765	// The specific digest path of the image hosted in this ProductionVariant.
21766	ResolvedImage *string `type:"string"`
21767
21768	// The image path you specified when you created the model.
21769	SpecifiedImage *string `type:"string"`
21770}
21771
21772// String returns the string representation
21773func (s DeployedImage) String() string {
21774	return awsutil.Prettify(s)
21775}
21776
21777// GoString returns the string representation
21778func (s DeployedImage) GoString() string {
21779	return s.String()
21780}
21781
21782// SetResolutionTime sets the ResolutionTime field's value.
21783func (s *DeployedImage) SetResolutionTime(v time.Time) *DeployedImage {
21784	s.ResolutionTime = &v
21785	return s
21786}
21787
21788// SetResolvedImage sets the ResolvedImage field's value.
21789func (s *DeployedImage) SetResolvedImage(v string) *DeployedImage {
21790	s.ResolvedImage = &v
21791	return s
21792}
21793
21794// SetSpecifiedImage sets the SpecifiedImage field's value.
21795func (s *DeployedImage) SetSpecifiedImage(v string) *DeployedImage {
21796	s.SpecifiedImage = &v
21797	return s
21798}
21799
21800type DescribeAlgorithmInput struct {
21801	_ struct{} `type:"structure"`
21802
21803	// The name of the algorithm to describe.
21804	//
21805	// AlgorithmName is a required field
21806	AlgorithmName *string `min:"1" type:"string" required:"true"`
21807}
21808
21809// String returns the string representation
21810func (s DescribeAlgorithmInput) String() string {
21811	return awsutil.Prettify(s)
21812}
21813
21814// GoString returns the string representation
21815func (s DescribeAlgorithmInput) GoString() string {
21816	return s.String()
21817}
21818
21819// Validate inspects the fields of the type to determine if they are valid.
21820func (s *DescribeAlgorithmInput) Validate() error {
21821	invalidParams := request.ErrInvalidParams{Context: "DescribeAlgorithmInput"}
21822	if s.AlgorithmName == nil {
21823		invalidParams.Add(request.NewErrParamRequired("AlgorithmName"))
21824	}
21825	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
21826		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
21827	}
21828
21829	if invalidParams.Len() > 0 {
21830		return invalidParams
21831	}
21832	return nil
21833}
21834
21835// SetAlgorithmName sets the AlgorithmName field's value.
21836func (s *DescribeAlgorithmInput) SetAlgorithmName(v string) *DescribeAlgorithmInput {
21837	s.AlgorithmName = &v
21838	return s
21839}
21840
21841type DescribeAlgorithmOutput struct {
21842	_ struct{} `type:"structure"`
21843
21844	// The Amazon Resource Name (ARN) of the algorithm.
21845	//
21846	// AlgorithmArn is a required field
21847	AlgorithmArn *string `min:"1" type:"string" required:"true"`
21848
21849	// A brief summary about the algorithm.
21850	AlgorithmDescription *string `type:"string"`
21851
21852	// The name of the algorithm being described.
21853	//
21854	// AlgorithmName is a required field
21855	AlgorithmName *string `min:"1" type:"string" required:"true"`
21856
21857	// The current status of the algorithm.
21858	//
21859	// AlgorithmStatus is a required field
21860	AlgorithmStatus *string `type:"string" required:"true" enum:"AlgorithmStatus"`
21861
21862	// Details about the current status of the algorithm.
21863	//
21864	// AlgorithmStatusDetails is a required field
21865	AlgorithmStatusDetails *AlgorithmStatusDetails `type:"structure" required:"true"`
21866
21867	// Whether the algorithm is certified to be listed in AWS Marketplace.
21868	CertifyForMarketplace *bool `type:"boolean"`
21869
21870	// A timestamp specifying when the algorithm was created.
21871	//
21872	// CreationTime is a required field
21873	CreationTime *time.Time `type:"timestamp" required:"true"`
21874
21875	// Details about inference jobs that the algorithm runs.
21876	InferenceSpecification *InferenceSpecification `type:"structure"`
21877
21878	// The product identifier of the algorithm.
21879	ProductId *string `type:"string"`
21880
21881	// Details about training jobs run by this algorithm.
21882	//
21883	// TrainingSpecification is a required field
21884	TrainingSpecification *TrainingSpecification `type:"structure" required:"true"`
21885
21886	// Details about configurations for one or more training jobs that Amazon SageMaker
21887	// runs to test the algorithm.
21888	ValidationSpecification *AlgorithmValidationSpecification `type:"structure"`
21889}
21890
21891// String returns the string representation
21892func (s DescribeAlgorithmOutput) String() string {
21893	return awsutil.Prettify(s)
21894}
21895
21896// GoString returns the string representation
21897func (s DescribeAlgorithmOutput) GoString() string {
21898	return s.String()
21899}
21900
21901// SetAlgorithmArn sets the AlgorithmArn field's value.
21902func (s *DescribeAlgorithmOutput) SetAlgorithmArn(v string) *DescribeAlgorithmOutput {
21903	s.AlgorithmArn = &v
21904	return s
21905}
21906
21907// SetAlgorithmDescription sets the AlgorithmDescription field's value.
21908func (s *DescribeAlgorithmOutput) SetAlgorithmDescription(v string) *DescribeAlgorithmOutput {
21909	s.AlgorithmDescription = &v
21910	return s
21911}
21912
21913// SetAlgorithmName sets the AlgorithmName field's value.
21914func (s *DescribeAlgorithmOutput) SetAlgorithmName(v string) *DescribeAlgorithmOutput {
21915	s.AlgorithmName = &v
21916	return s
21917}
21918
21919// SetAlgorithmStatus sets the AlgorithmStatus field's value.
21920func (s *DescribeAlgorithmOutput) SetAlgorithmStatus(v string) *DescribeAlgorithmOutput {
21921	s.AlgorithmStatus = &v
21922	return s
21923}
21924
21925// SetAlgorithmStatusDetails sets the AlgorithmStatusDetails field's value.
21926func (s *DescribeAlgorithmOutput) SetAlgorithmStatusDetails(v *AlgorithmStatusDetails) *DescribeAlgorithmOutput {
21927	s.AlgorithmStatusDetails = v
21928	return s
21929}
21930
21931// SetCertifyForMarketplace sets the CertifyForMarketplace field's value.
21932func (s *DescribeAlgorithmOutput) SetCertifyForMarketplace(v bool) *DescribeAlgorithmOutput {
21933	s.CertifyForMarketplace = &v
21934	return s
21935}
21936
21937// SetCreationTime sets the CreationTime field's value.
21938func (s *DescribeAlgorithmOutput) SetCreationTime(v time.Time) *DescribeAlgorithmOutput {
21939	s.CreationTime = &v
21940	return s
21941}
21942
21943// SetInferenceSpecification sets the InferenceSpecification field's value.
21944func (s *DescribeAlgorithmOutput) SetInferenceSpecification(v *InferenceSpecification) *DescribeAlgorithmOutput {
21945	s.InferenceSpecification = v
21946	return s
21947}
21948
21949// SetProductId sets the ProductId field's value.
21950func (s *DescribeAlgorithmOutput) SetProductId(v string) *DescribeAlgorithmOutput {
21951	s.ProductId = &v
21952	return s
21953}
21954
21955// SetTrainingSpecification sets the TrainingSpecification field's value.
21956func (s *DescribeAlgorithmOutput) SetTrainingSpecification(v *TrainingSpecification) *DescribeAlgorithmOutput {
21957	s.TrainingSpecification = v
21958	return s
21959}
21960
21961// SetValidationSpecification sets the ValidationSpecification field's value.
21962func (s *DescribeAlgorithmOutput) SetValidationSpecification(v *AlgorithmValidationSpecification) *DescribeAlgorithmOutput {
21963	s.ValidationSpecification = v
21964	return s
21965}
21966
21967type DescribeAppInput struct {
21968	_ struct{} `type:"structure"`
21969
21970	// The name of the app.
21971	//
21972	// AppName is a required field
21973	AppName *string `type:"string" required:"true"`
21974
21975	// The type of app.
21976	//
21977	// AppType is a required field
21978	AppType *string `type:"string" required:"true" enum:"AppType"`
21979
21980	// The domain ID.
21981	//
21982	// DomainId is a required field
21983	DomainId *string `type:"string" required:"true"`
21984
21985	// The user profile name.
21986	//
21987	// UserProfileName is a required field
21988	UserProfileName *string `type:"string" required:"true"`
21989}
21990
21991// String returns the string representation
21992func (s DescribeAppInput) String() string {
21993	return awsutil.Prettify(s)
21994}
21995
21996// GoString returns the string representation
21997func (s DescribeAppInput) GoString() string {
21998	return s.String()
21999}
22000
22001// Validate inspects the fields of the type to determine if they are valid.
22002func (s *DescribeAppInput) Validate() error {
22003	invalidParams := request.ErrInvalidParams{Context: "DescribeAppInput"}
22004	if s.AppName == nil {
22005		invalidParams.Add(request.NewErrParamRequired("AppName"))
22006	}
22007	if s.AppType == nil {
22008		invalidParams.Add(request.NewErrParamRequired("AppType"))
22009	}
22010	if s.DomainId == nil {
22011		invalidParams.Add(request.NewErrParamRequired("DomainId"))
22012	}
22013	if s.UserProfileName == nil {
22014		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
22015	}
22016
22017	if invalidParams.Len() > 0 {
22018		return invalidParams
22019	}
22020	return nil
22021}
22022
22023// SetAppName sets the AppName field's value.
22024func (s *DescribeAppInput) SetAppName(v string) *DescribeAppInput {
22025	s.AppName = &v
22026	return s
22027}
22028
22029// SetAppType sets the AppType field's value.
22030func (s *DescribeAppInput) SetAppType(v string) *DescribeAppInput {
22031	s.AppType = &v
22032	return s
22033}
22034
22035// SetDomainId sets the DomainId field's value.
22036func (s *DescribeAppInput) SetDomainId(v string) *DescribeAppInput {
22037	s.DomainId = &v
22038	return s
22039}
22040
22041// SetUserProfileName sets the UserProfileName field's value.
22042func (s *DescribeAppInput) SetUserProfileName(v string) *DescribeAppInput {
22043	s.UserProfileName = &v
22044	return s
22045}
22046
22047type DescribeAppOutput struct {
22048	_ struct{} `type:"structure"`
22049
22050	// The app's Amazon Resource Name (ARN).
22051	AppArn *string `type:"string"`
22052
22053	// The name of the app.
22054	AppName *string `type:"string"`
22055
22056	// The type of app.
22057	AppType *string `type:"string" enum:"AppType"`
22058
22059	// The creation time.
22060	CreationTime *time.Time `type:"timestamp"`
22061
22062	// The domain ID.
22063	DomainId *string `type:"string"`
22064
22065	// The failure reason.
22066	FailureReason *string `type:"string"`
22067
22068	// The timestamp of the last health check.
22069	LastHealthCheckTimestamp *time.Time `type:"timestamp"`
22070
22071	// The timestamp of the last user's activity.
22072	LastUserActivityTimestamp *time.Time `type:"timestamp"`
22073
22074	// The instance type and the Amazon Resource Name (ARN) of the SageMaker image
22075	// created on the instance.
22076	ResourceSpec *ResourceSpec `type:"structure"`
22077
22078	// The status.
22079	Status *string `type:"string" enum:"AppStatus"`
22080
22081	// The user profile name.
22082	UserProfileName *string `type:"string"`
22083}
22084
22085// String returns the string representation
22086func (s DescribeAppOutput) String() string {
22087	return awsutil.Prettify(s)
22088}
22089
22090// GoString returns the string representation
22091func (s DescribeAppOutput) GoString() string {
22092	return s.String()
22093}
22094
22095// SetAppArn sets the AppArn field's value.
22096func (s *DescribeAppOutput) SetAppArn(v string) *DescribeAppOutput {
22097	s.AppArn = &v
22098	return s
22099}
22100
22101// SetAppName sets the AppName field's value.
22102func (s *DescribeAppOutput) SetAppName(v string) *DescribeAppOutput {
22103	s.AppName = &v
22104	return s
22105}
22106
22107// SetAppType sets the AppType field's value.
22108func (s *DescribeAppOutput) SetAppType(v string) *DescribeAppOutput {
22109	s.AppType = &v
22110	return s
22111}
22112
22113// SetCreationTime sets the CreationTime field's value.
22114func (s *DescribeAppOutput) SetCreationTime(v time.Time) *DescribeAppOutput {
22115	s.CreationTime = &v
22116	return s
22117}
22118
22119// SetDomainId sets the DomainId field's value.
22120func (s *DescribeAppOutput) SetDomainId(v string) *DescribeAppOutput {
22121	s.DomainId = &v
22122	return s
22123}
22124
22125// SetFailureReason sets the FailureReason field's value.
22126func (s *DescribeAppOutput) SetFailureReason(v string) *DescribeAppOutput {
22127	s.FailureReason = &v
22128	return s
22129}
22130
22131// SetLastHealthCheckTimestamp sets the LastHealthCheckTimestamp field's value.
22132func (s *DescribeAppOutput) SetLastHealthCheckTimestamp(v time.Time) *DescribeAppOutput {
22133	s.LastHealthCheckTimestamp = &v
22134	return s
22135}
22136
22137// SetLastUserActivityTimestamp sets the LastUserActivityTimestamp field's value.
22138func (s *DescribeAppOutput) SetLastUserActivityTimestamp(v time.Time) *DescribeAppOutput {
22139	s.LastUserActivityTimestamp = &v
22140	return s
22141}
22142
22143// SetResourceSpec sets the ResourceSpec field's value.
22144func (s *DescribeAppOutput) SetResourceSpec(v *ResourceSpec) *DescribeAppOutput {
22145	s.ResourceSpec = v
22146	return s
22147}
22148
22149// SetStatus sets the Status field's value.
22150func (s *DescribeAppOutput) SetStatus(v string) *DescribeAppOutput {
22151	s.Status = &v
22152	return s
22153}
22154
22155// SetUserProfileName sets the UserProfileName field's value.
22156func (s *DescribeAppOutput) SetUserProfileName(v string) *DescribeAppOutput {
22157	s.UserProfileName = &v
22158	return s
22159}
22160
22161type DescribeAutoMLJobInput struct {
22162	_ struct{} `type:"structure"`
22163
22164	// Request information about a job using that job's unique name.
22165	//
22166	// AutoMLJobName is a required field
22167	AutoMLJobName *string `min:"1" type:"string" required:"true"`
22168}
22169
22170// String returns the string representation
22171func (s DescribeAutoMLJobInput) String() string {
22172	return awsutil.Prettify(s)
22173}
22174
22175// GoString returns the string representation
22176func (s DescribeAutoMLJobInput) GoString() string {
22177	return s.String()
22178}
22179
22180// Validate inspects the fields of the type to determine if they are valid.
22181func (s *DescribeAutoMLJobInput) Validate() error {
22182	invalidParams := request.ErrInvalidParams{Context: "DescribeAutoMLJobInput"}
22183	if s.AutoMLJobName == nil {
22184		invalidParams.Add(request.NewErrParamRequired("AutoMLJobName"))
22185	}
22186	if s.AutoMLJobName != nil && len(*s.AutoMLJobName) < 1 {
22187		invalidParams.Add(request.NewErrParamMinLen("AutoMLJobName", 1))
22188	}
22189
22190	if invalidParams.Len() > 0 {
22191		return invalidParams
22192	}
22193	return nil
22194}
22195
22196// SetAutoMLJobName sets the AutoMLJobName field's value.
22197func (s *DescribeAutoMLJobInput) SetAutoMLJobName(v string) *DescribeAutoMLJobInput {
22198	s.AutoMLJobName = &v
22199	return s
22200}
22201
22202type DescribeAutoMLJobOutput struct {
22203	_ struct{} `type:"structure"`
22204
22205	// Returns the job's ARN.
22206	//
22207	// AutoMLJobArn is a required field
22208	AutoMLJobArn *string `min:"1" type:"string" required:"true"`
22209
22210	// Returns information on the job's artifacts found in AutoMLJobArtifacts.
22211	AutoMLJobArtifacts *AutoMLJobArtifacts `type:"structure"`
22212
22213	// Returns the job's config.
22214	AutoMLJobConfig *AutoMLJobConfig `type:"structure"`
22215
22216	// Returns the name of a job.
22217	//
22218	// AutoMLJobName is a required field
22219	AutoMLJobName *string `min:"1" type:"string" required:"true"`
22220
22221	// Returns the job's objective.
22222	AutoMLJobObjective *AutoMLJobObjective `type:"structure"`
22223
22224	// Returns the job's AutoMLJobSecondaryStatus.
22225	//
22226	// AutoMLJobSecondaryStatus is a required field
22227	AutoMLJobSecondaryStatus *string `type:"string" required:"true" enum:"AutoMLJobSecondaryStatus"`
22228
22229	// Returns the job's AutoMLJobStatus.
22230	//
22231	// AutoMLJobStatus is a required field
22232	AutoMLJobStatus *string `type:"string" required:"true" enum:"AutoMLJobStatus"`
22233
22234	// Returns the job's BestCandidate.
22235	BestCandidate *AutoMLCandidate `type:"structure"`
22236
22237	// Returns the job's creation time.
22238	//
22239	// CreationTime is a required field
22240	CreationTime *time.Time `type:"timestamp" required:"true"`
22241
22242	// Returns the job's end time.
22243	EndTime *time.Time `type:"timestamp"`
22244
22245	// Returns the job's FailureReason.
22246	FailureReason *string `type:"string"`
22247
22248	// Returns the job's output from GenerateCandidateDefinitionsOnly.
22249	GenerateCandidateDefinitionsOnly *bool `type:"boolean"`
22250
22251	// Returns the job's input data config.
22252	//
22253	// InputDataConfig is a required field
22254	InputDataConfig []*AutoMLChannel `min:"1" type:"list" required:"true"`
22255
22256	// Returns the job's last modified time.
22257	//
22258	// LastModifiedTime is a required field
22259	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
22260
22261	// Returns the job's output data config.
22262	//
22263	// OutputDataConfig is a required field
22264	OutputDataConfig *AutoMLOutputDataConfig `type:"structure" required:"true"`
22265
22266	// Returns the job's problem type.
22267	ProblemType *string `type:"string" enum:"ProblemType"`
22268
22269	// This contains ProblemType, AutoMLJobObjective and CompletionCriteria. They're
22270	// auto-inferred values, if not provided by you. If you do provide them, then
22271	// they'll be the same as provided.
22272	ResolvedAttributes *ResolvedAttributes `type:"structure"`
22273
22274	// The Amazon Resource Name (ARN) of the AWS Identity and Access Management
22275	// (IAM) role that has read permission to the input data location and write
22276	// permission to the output data location in Amazon S3.
22277	//
22278	// RoleArn is a required field
22279	RoleArn *string `min:"20" type:"string" required:"true"`
22280}
22281
22282// String returns the string representation
22283func (s DescribeAutoMLJobOutput) String() string {
22284	return awsutil.Prettify(s)
22285}
22286
22287// GoString returns the string representation
22288func (s DescribeAutoMLJobOutput) GoString() string {
22289	return s.String()
22290}
22291
22292// SetAutoMLJobArn sets the AutoMLJobArn field's value.
22293func (s *DescribeAutoMLJobOutput) SetAutoMLJobArn(v string) *DescribeAutoMLJobOutput {
22294	s.AutoMLJobArn = &v
22295	return s
22296}
22297
22298// SetAutoMLJobArtifacts sets the AutoMLJobArtifacts field's value.
22299func (s *DescribeAutoMLJobOutput) SetAutoMLJobArtifacts(v *AutoMLJobArtifacts) *DescribeAutoMLJobOutput {
22300	s.AutoMLJobArtifacts = v
22301	return s
22302}
22303
22304// SetAutoMLJobConfig sets the AutoMLJobConfig field's value.
22305func (s *DescribeAutoMLJobOutput) SetAutoMLJobConfig(v *AutoMLJobConfig) *DescribeAutoMLJobOutput {
22306	s.AutoMLJobConfig = v
22307	return s
22308}
22309
22310// SetAutoMLJobName sets the AutoMLJobName field's value.
22311func (s *DescribeAutoMLJobOutput) SetAutoMLJobName(v string) *DescribeAutoMLJobOutput {
22312	s.AutoMLJobName = &v
22313	return s
22314}
22315
22316// SetAutoMLJobObjective sets the AutoMLJobObjective field's value.
22317func (s *DescribeAutoMLJobOutput) SetAutoMLJobObjective(v *AutoMLJobObjective) *DescribeAutoMLJobOutput {
22318	s.AutoMLJobObjective = v
22319	return s
22320}
22321
22322// SetAutoMLJobSecondaryStatus sets the AutoMLJobSecondaryStatus field's value.
22323func (s *DescribeAutoMLJobOutput) SetAutoMLJobSecondaryStatus(v string) *DescribeAutoMLJobOutput {
22324	s.AutoMLJobSecondaryStatus = &v
22325	return s
22326}
22327
22328// SetAutoMLJobStatus sets the AutoMLJobStatus field's value.
22329func (s *DescribeAutoMLJobOutput) SetAutoMLJobStatus(v string) *DescribeAutoMLJobOutput {
22330	s.AutoMLJobStatus = &v
22331	return s
22332}
22333
22334// SetBestCandidate sets the BestCandidate field's value.
22335func (s *DescribeAutoMLJobOutput) SetBestCandidate(v *AutoMLCandidate) *DescribeAutoMLJobOutput {
22336	s.BestCandidate = v
22337	return s
22338}
22339
22340// SetCreationTime sets the CreationTime field's value.
22341func (s *DescribeAutoMLJobOutput) SetCreationTime(v time.Time) *DescribeAutoMLJobOutput {
22342	s.CreationTime = &v
22343	return s
22344}
22345
22346// SetEndTime sets the EndTime field's value.
22347func (s *DescribeAutoMLJobOutput) SetEndTime(v time.Time) *DescribeAutoMLJobOutput {
22348	s.EndTime = &v
22349	return s
22350}
22351
22352// SetFailureReason sets the FailureReason field's value.
22353func (s *DescribeAutoMLJobOutput) SetFailureReason(v string) *DescribeAutoMLJobOutput {
22354	s.FailureReason = &v
22355	return s
22356}
22357
22358// SetGenerateCandidateDefinitionsOnly sets the GenerateCandidateDefinitionsOnly field's value.
22359func (s *DescribeAutoMLJobOutput) SetGenerateCandidateDefinitionsOnly(v bool) *DescribeAutoMLJobOutput {
22360	s.GenerateCandidateDefinitionsOnly = &v
22361	return s
22362}
22363
22364// SetInputDataConfig sets the InputDataConfig field's value.
22365func (s *DescribeAutoMLJobOutput) SetInputDataConfig(v []*AutoMLChannel) *DescribeAutoMLJobOutput {
22366	s.InputDataConfig = v
22367	return s
22368}
22369
22370// SetLastModifiedTime sets the LastModifiedTime field's value.
22371func (s *DescribeAutoMLJobOutput) SetLastModifiedTime(v time.Time) *DescribeAutoMLJobOutput {
22372	s.LastModifiedTime = &v
22373	return s
22374}
22375
22376// SetOutputDataConfig sets the OutputDataConfig field's value.
22377func (s *DescribeAutoMLJobOutput) SetOutputDataConfig(v *AutoMLOutputDataConfig) *DescribeAutoMLJobOutput {
22378	s.OutputDataConfig = v
22379	return s
22380}
22381
22382// SetProblemType sets the ProblemType field's value.
22383func (s *DescribeAutoMLJobOutput) SetProblemType(v string) *DescribeAutoMLJobOutput {
22384	s.ProblemType = &v
22385	return s
22386}
22387
22388// SetResolvedAttributes sets the ResolvedAttributes field's value.
22389func (s *DescribeAutoMLJobOutput) SetResolvedAttributes(v *ResolvedAttributes) *DescribeAutoMLJobOutput {
22390	s.ResolvedAttributes = v
22391	return s
22392}
22393
22394// SetRoleArn sets the RoleArn field's value.
22395func (s *DescribeAutoMLJobOutput) SetRoleArn(v string) *DescribeAutoMLJobOutput {
22396	s.RoleArn = &v
22397	return s
22398}
22399
22400type DescribeCodeRepositoryInput struct {
22401	_ struct{} `type:"structure"`
22402
22403	// The name of the Git repository to describe.
22404	//
22405	// CodeRepositoryName is a required field
22406	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
22407}
22408
22409// String returns the string representation
22410func (s DescribeCodeRepositoryInput) String() string {
22411	return awsutil.Prettify(s)
22412}
22413
22414// GoString returns the string representation
22415func (s DescribeCodeRepositoryInput) GoString() string {
22416	return s.String()
22417}
22418
22419// Validate inspects the fields of the type to determine if they are valid.
22420func (s *DescribeCodeRepositoryInput) Validate() error {
22421	invalidParams := request.ErrInvalidParams{Context: "DescribeCodeRepositoryInput"}
22422	if s.CodeRepositoryName == nil {
22423		invalidParams.Add(request.NewErrParamRequired("CodeRepositoryName"))
22424	}
22425	if s.CodeRepositoryName != nil && len(*s.CodeRepositoryName) < 1 {
22426		invalidParams.Add(request.NewErrParamMinLen("CodeRepositoryName", 1))
22427	}
22428
22429	if invalidParams.Len() > 0 {
22430		return invalidParams
22431	}
22432	return nil
22433}
22434
22435// SetCodeRepositoryName sets the CodeRepositoryName field's value.
22436func (s *DescribeCodeRepositoryInput) SetCodeRepositoryName(v string) *DescribeCodeRepositoryInput {
22437	s.CodeRepositoryName = &v
22438	return s
22439}
22440
22441type DescribeCodeRepositoryOutput struct {
22442	_ struct{} `type:"structure"`
22443
22444	// The Amazon Resource Name (ARN) of the Git repository.
22445	//
22446	// CodeRepositoryArn is a required field
22447	CodeRepositoryArn *string `min:"1" type:"string" required:"true"`
22448
22449	// The name of the Git repository.
22450	//
22451	// CodeRepositoryName is a required field
22452	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
22453
22454	// The date and time that the repository was created.
22455	//
22456	// CreationTime is a required field
22457	CreationTime *time.Time `type:"timestamp" required:"true"`
22458
22459	// Configuration details about the repository, including the URL where the repository
22460	// is located, the default branch, and the Amazon Resource Name (ARN) of the
22461	// AWS Secrets Manager secret that contains the credentials used to access the
22462	// repository.
22463	GitConfig *GitConfig `type:"structure"`
22464
22465	// The date and time that the repository was last changed.
22466	//
22467	// LastModifiedTime is a required field
22468	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
22469}
22470
22471// String returns the string representation
22472func (s DescribeCodeRepositoryOutput) String() string {
22473	return awsutil.Prettify(s)
22474}
22475
22476// GoString returns the string representation
22477func (s DescribeCodeRepositoryOutput) GoString() string {
22478	return s.String()
22479}
22480
22481// SetCodeRepositoryArn sets the CodeRepositoryArn field's value.
22482func (s *DescribeCodeRepositoryOutput) SetCodeRepositoryArn(v string) *DescribeCodeRepositoryOutput {
22483	s.CodeRepositoryArn = &v
22484	return s
22485}
22486
22487// SetCodeRepositoryName sets the CodeRepositoryName field's value.
22488func (s *DescribeCodeRepositoryOutput) SetCodeRepositoryName(v string) *DescribeCodeRepositoryOutput {
22489	s.CodeRepositoryName = &v
22490	return s
22491}
22492
22493// SetCreationTime sets the CreationTime field's value.
22494func (s *DescribeCodeRepositoryOutput) SetCreationTime(v time.Time) *DescribeCodeRepositoryOutput {
22495	s.CreationTime = &v
22496	return s
22497}
22498
22499// SetGitConfig sets the GitConfig field's value.
22500func (s *DescribeCodeRepositoryOutput) SetGitConfig(v *GitConfig) *DescribeCodeRepositoryOutput {
22501	s.GitConfig = v
22502	return s
22503}
22504
22505// SetLastModifiedTime sets the LastModifiedTime field's value.
22506func (s *DescribeCodeRepositoryOutput) SetLastModifiedTime(v time.Time) *DescribeCodeRepositoryOutput {
22507	s.LastModifiedTime = &v
22508	return s
22509}
22510
22511type DescribeCompilationJobInput struct {
22512	_ struct{} `type:"structure"`
22513
22514	// The name of the model compilation job that you want information about.
22515	//
22516	// CompilationJobName is a required field
22517	CompilationJobName *string `min:"1" type:"string" required:"true"`
22518}
22519
22520// String returns the string representation
22521func (s DescribeCompilationJobInput) String() string {
22522	return awsutil.Prettify(s)
22523}
22524
22525// GoString returns the string representation
22526func (s DescribeCompilationJobInput) GoString() string {
22527	return s.String()
22528}
22529
22530// Validate inspects the fields of the type to determine if they are valid.
22531func (s *DescribeCompilationJobInput) Validate() error {
22532	invalidParams := request.ErrInvalidParams{Context: "DescribeCompilationJobInput"}
22533	if s.CompilationJobName == nil {
22534		invalidParams.Add(request.NewErrParamRequired("CompilationJobName"))
22535	}
22536	if s.CompilationJobName != nil && len(*s.CompilationJobName) < 1 {
22537		invalidParams.Add(request.NewErrParamMinLen("CompilationJobName", 1))
22538	}
22539
22540	if invalidParams.Len() > 0 {
22541		return invalidParams
22542	}
22543	return nil
22544}
22545
22546// SetCompilationJobName sets the CompilationJobName field's value.
22547func (s *DescribeCompilationJobInput) SetCompilationJobName(v string) *DescribeCompilationJobInput {
22548	s.CompilationJobName = &v
22549	return s
22550}
22551
22552type DescribeCompilationJobOutput struct {
22553	_ struct{} `type:"structure"`
22554
22555	// The time when the model compilation job on a compilation job instance ended.
22556	// For a successful or stopped job, this is when the job's model artifacts have
22557	// finished uploading. For a failed job, this is when Amazon SageMaker detected
22558	// that the job failed.
22559	CompilationEndTime *time.Time `type:"timestamp"`
22560
22561	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes
22562	// to perform the model compilation job.
22563	//
22564	// CompilationJobArn is a required field
22565	CompilationJobArn *string `type:"string" required:"true"`
22566
22567	// The name of the model compilation job.
22568	//
22569	// CompilationJobName is a required field
22570	CompilationJobName *string `min:"1" type:"string" required:"true"`
22571
22572	// The status of the model compilation job.
22573	//
22574	// CompilationJobStatus is a required field
22575	CompilationJobStatus *string `type:"string" required:"true" enum:"CompilationJobStatus"`
22576
22577	// The time when the model compilation job started the CompilationJob instances.
22578	//
22579	// You are billed for the time between this timestamp and the timestamp in the
22580	// DescribeCompilationJobResponse$CompilationEndTime field. In Amazon CloudWatch
22581	// Logs, the start time might be later than this time. That's because it takes
22582	// time to download the compilation job, which depends on the size of the compilation
22583	// job container.
22584	CompilationStartTime *time.Time `type:"timestamp"`
22585
22586	// The time that the model compilation job was created.
22587	//
22588	// CreationTime is a required field
22589	CreationTime *time.Time `type:"timestamp" required:"true"`
22590
22591	// If a model compilation job failed, the reason it failed.
22592	//
22593	// FailureReason is a required field
22594	FailureReason *string `type:"string" required:"true"`
22595
22596	// Information about the location in Amazon S3 of the input model artifacts,
22597	// the name and shape of the expected data inputs, and the framework in which
22598	// the model was trained.
22599	//
22600	// InputConfig is a required field
22601	InputConfig *InputConfig `type:"structure" required:"true"`
22602
22603	// The time that the status of the model compilation job was last modified.
22604	//
22605	// LastModifiedTime is a required field
22606	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
22607
22608	// Information about the location in Amazon S3 that has been configured for
22609	// storing the model artifacts used in the compilation job.
22610	//
22611	// ModelArtifacts is a required field
22612	ModelArtifacts *ModelArtifacts `type:"structure" required:"true"`
22613
22614	// Information about the output location for the compiled model and the target
22615	// device that the model runs on.
22616	//
22617	// OutputConfig is a required field
22618	OutputConfig *OutputConfig `type:"structure" required:"true"`
22619
22620	// The Amazon Resource Name (ARN) of the model compilation job.
22621	//
22622	// RoleArn is a required field
22623	RoleArn *string `min:"20" type:"string" required:"true"`
22624
22625	// Specifies a limit to how long a model compilation job can run. When the job
22626	// reaches the time limit, Amazon SageMaker ends the compilation job. Use this
22627	// API to cap model training costs.
22628	//
22629	// StoppingCondition is a required field
22630	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
22631}
22632
22633// String returns the string representation
22634func (s DescribeCompilationJobOutput) String() string {
22635	return awsutil.Prettify(s)
22636}
22637
22638// GoString returns the string representation
22639func (s DescribeCompilationJobOutput) GoString() string {
22640	return s.String()
22641}
22642
22643// SetCompilationEndTime sets the CompilationEndTime field's value.
22644func (s *DescribeCompilationJobOutput) SetCompilationEndTime(v time.Time) *DescribeCompilationJobOutput {
22645	s.CompilationEndTime = &v
22646	return s
22647}
22648
22649// SetCompilationJobArn sets the CompilationJobArn field's value.
22650func (s *DescribeCompilationJobOutput) SetCompilationJobArn(v string) *DescribeCompilationJobOutput {
22651	s.CompilationJobArn = &v
22652	return s
22653}
22654
22655// SetCompilationJobName sets the CompilationJobName field's value.
22656func (s *DescribeCompilationJobOutput) SetCompilationJobName(v string) *DescribeCompilationJobOutput {
22657	s.CompilationJobName = &v
22658	return s
22659}
22660
22661// SetCompilationJobStatus sets the CompilationJobStatus field's value.
22662func (s *DescribeCompilationJobOutput) SetCompilationJobStatus(v string) *DescribeCompilationJobOutput {
22663	s.CompilationJobStatus = &v
22664	return s
22665}
22666
22667// SetCompilationStartTime sets the CompilationStartTime field's value.
22668func (s *DescribeCompilationJobOutput) SetCompilationStartTime(v time.Time) *DescribeCompilationJobOutput {
22669	s.CompilationStartTime = &v
22670	return s
22671}
22672
22673// SetCreationTime sets the CreationTime field's value.
22674func (s *DescribeCompilationJobOutput) SetCreationTime(v time.Time) *DescribeCompilationJobOutput {
22675	s.CreationTime = &v
22676	return s
22677}
22678
22679// SetFailureReason sets the FailureReason field's value.
22680func (s *DescribeCompilationJobOutput) SetFailureReason(v string) *DescribeCompilationJobOutput {
22681	s.FailureReason = &v
22682	return s
22683}
22684
22685// SetInputConfig sets the InputConfig field's value.
22686func (s *DescribeCompilationJobOutput) SetInputConfig(v *InputConfig) *DescribeCompilationJobOutput {
22687	s.InputConfig = v
22688	return s
22689}
22690
22691// SetLastModifiedTime sets the LastModifiedTime field's value.
22692func (s *DescribeCompilationJobOutput) SetLastModifiedTime(v time.Time) *DescribeCompilationJobOutput {
22693	s.LastModifiedTime = &v
22694	return s
22695}
22696
22697// SetModelArtifacts sets the ModelArtifacts field's value.
22698func (s *DescribeCompilationJobOutput) SetModelArtifacts(v *ModelArtifacts) *DescribeCompilationJobOutput {
22699	s.ModelArtifacts = v
22700	return s
22701}
22702
22703// SetOutputConfig sets the OutputConfig field's value.
22704func (s *DescribeCompilationJobOutput) SetOutputConfig(v *OutputConfig) *DescribeCompilationJobOutput {
22705	s.OutputConfig = v
22706	return s
22707}
22708
22709// SetRoleArn sets the RoleArn field's value.
22710func (s *DescribeCompilationJobOutput) SetRoleArn(v string) *DescribeCompilationJobOutput {
22711	s.RoleArn = &v
22712	return s
22713}
22714
22715// SetStoppingCondition sets the StoppingCondition field's value.
22716func (s *DescribeCompilationJobOutput) SetStoppingCondition(v *StoppingCondition) *DescribeCompilationJobOutput {
22717	s.StoppingCondition = v
22718	return s
22719}
22720
22721type DescribeDomainInput struct {
22722	_ struct{} `type:"structure"`
22723
22724	// The domain ID.
22725	//
22726	// DomainId is a required field
22727	DomainId *string `type:"string" required:"true"`
22728}
22729
22730// String returns the string representation
22731func (s DescribeDomainInput) String() string {
22732	return awsutil.Prettify(s)
22733}
22734
22735// GoString returns the string representation
22736func (s DescribeDomainInput) GoString() string {
22737	return s.String()
22738}
22739
22740// Validate inspects the fields of the type to determine if they are valid.
22741func (s *DescribeDomainInput) Validate() error {
22742	invalidParams := request.ErrInvalidParams{Context: "DescribeDomainInput"}
22743	if s.DomainId == nil {
22744		invalidParams.Add(request.NewErrParamRequired("DomainId"))
22745	}
22746
22747	if invalidParams.Len() > 0 {
22748		return invalidParams
22749	}
22750	return nil
22751}
22752
22753// SetDomainId sets the DomainId field's value.
22754func (s *DescribeDomainInput) SetDomainId(v string) *DescribeDomainInput {
22755	s.DomainId = &v
22756	return s
22757}
22758
22759type DescribeDomainOutput struct {
22760	_ struct{} `type:"structure"`
22761
22762	// The domain's authentication mode.
22763	AuthMode *string `type:"string" enum:"AuthMode"`
22764
22765	// The creation time.
22766	CreationTime *time.Time `type:"timestamp"`
22767
22768	// Settings which are applied to all UserProfile in this domain, if settings
22769	// are not explicitly specified in a given UserProfile.
22770	DefaultUserSettings *UserSettings `type:"structure"`
22771
22772	// The domain's Amazon Resource Name (ARN).
22773	DomainArn *string `type:"string"`
22774
22775	// The domain ID.
22776	DomainId *string `type:"string"`
22777
22778	// The domain name.
22779	DomainName *string `type:"string"`
22780
22781	// The failure reason.
22782	FailureReason *string `type:"string"`
22783
22784	// The ID of the Amazon Elastic File System (EFS) managed by this Domain.
22785	HomeEfsFileSystemId *string `type:"string"`
22786
22787	// The AWS Key Management Service encryption key ID.
22788	HomeEfsFileSystemKmsKeyId *string `type:"string"`
22789
22790	// The last modified time.
22791	LastModifiedTime *time.Time `type:"timestamp"`
22792
22793	// The SSO managed application instance ID.
22794	SingleSignOnManagedApplicationInstanceId *string `type:"string"`
22795
22796	// The status.
22797	Status *string `type:"string" enum:"DomainStatus"`
22798
22799	// Security setting to limit to a set of subnets.
22800	SubnetIds []*string `min:"1" type:"list"`
22801
22802	// The domain's URL.
22803	Url *string `type:"string"`
22804
22805	// The ID of the Amazon Virtual Private Cloud.
22806	VpcId *string `type:"string"`
22807}
22808
22809// String returns the string representation
22810func (s DescribeDomainOutput) String() string {
22811	return awsutil.Prettify(s)
22812}
22813
22814// GoString returns the string representation
22815func (s DescribeDomainOutput) GoString() string {
22816	return s.String()
22817}
22818
22819// SetAuthMode sets the AuthMode field's value.
22820func (s *DescribeDomainOutput) SetAuthMode(v string) *DescribeDomainOutput {
22821	s.AuthMode = &v
22822	return s
22823}
22824
22825// SetCreationTime sets the CreationTime field's value.
22826func (s *DescribeDomainOutput) SetCreationTime(v time.Time) *DescribeDomainOutput {
22827	s.CreationTime = &v
22828	return s
22829}
22830
22831// SetDefaultUserSettings sets the DefaultUserSettings field's value.
22832func (s *DescribeDomainOutput) SetDefaultUserSettings(v *UserSettings) *DescribeDomainOutput {
22833	s.DefaultUserSettings = v
22834	return s
22835}
22836
22837// SetDomainArn sets the DomainArn field's value.
22838func (s *DescribeDomainOutput) SetDomainArn(v string) *DescribeDomainOutput {
22839	s.DomainArn = &v
22840	return s
22841}
22842
22843// SetDomainId sets the DomainId field's value.
22844func (s *DescribeDomainOutput) SetDomainId(v string) *DescribeDomainOutput {
22845	s.DomainId = &v
22846	return s
22847}
22848
22849// SetDomainName sets the DomainName field's value.
22850func (s *DescribeDomainOutput) SetDomainName(v string) *DescribeDomainOutput {
22851	s.DomainName = &v
22852	return s
22853}
22854
22855// SetFailureReason sets the FailureReason field's value.
22856func (s *DescribeDomainOutput) SetFailureReason(v string) *DescribeDomainOutput {
22857	s.FailureReason = &v
22858	return s
22859}
22860
22861// SetHomeEfsFileSystemId sets the HomeEfsFileSystemId field's value.
22862func (s *DescribeDomainOutput) SetHomeEfsFileSystemId(v string) *DescribeDomainOutput {
22863	s.HomeEfsFileSystemId = &v
22864	return s
22865}
22866
22867// SetHomeEfsFileSystemKmsKeyId sets the HomeEfsFileSystemKmsKeyId field's value.
22868func (s *DescribeDomainOutput) SetHomeEfsFileSystemKmsKeyId(v string) *DescribeDomainOutput {
22869	s.HomeEfsFileSystemKmsKeyId = &v
22870	return s
22871}
22872
22873// SetLastModifiedTime sets the LastModifiedTime field's value.
22874func (s *DescribeDomainOutput) SetLastModifiedTime(v time.Time) *DescribeDomainOutput {
22875	s.LastModifiedTime = &v
22876	return s
22877}
22878
22879// SetSingleSignOnManagedApplicationInstanceId sets the SingleSignOnManagedApplicationInstanceId field's value.
22880func (s *DescribeDomainOutput) SetSingleSignOnManagedApplicationInstanceId(v string) *DescribeDomainOutput {
22881	s.SingleSignOnManagedApplicationInstanceId = &v
22882	return s
22883}
22884
22885// SetStatus sets the Status field's value.
22886func (s *DescribeDomainOutput) SetStatus(v string) *DescribeDomainOutput {
22887	s.Status = &v
22888	return s
22889}
22890
22891// SetSubnetIds sets the SubnetIds field's value.
22892func (s *DescribeDomainOutput) SetSubnetIds(v []*string) *DescribeDomainOutput {
22893	s.SubnetIds = v
22894	return s
22895}
22896
22897// SetUrl sets the Url field's value.
22898func (s *DescribeDomainOutput) SetUrl(v string) *DescribeDomainOutput {
22899	s.Url = &v
22900	return s
22901}
22902
22903// SetVpcId sets the VpcId field's value.
22904func (s *DescribeDomainOutput) SetVpcId(v string) *DescribeDomainOutput {
22905	s.VpcId = &v
22906	return s
22907}
22908
22909type DescribeEndpointConfigInput struct {
22910	_ struct{} `type:"structure"`
22911
22912	// The name of the endpoint configuration.
22913	//
22914	// EndpointConfigName is a required field
22915	EndpointConfigName *string `type:"string" required:"true"`
22916}
22917
22918// String returns the string representation
22919func (s DescribeEndpointConfigInput) String() string {
22920	return awsutil.Prettify(s)
22921}
22922
22923// GoString returns the string representation
22924func (s DescribeEndpointConfigInput) GoString() string {
22925	return s.String()
22926}
22927
22928// Validate inspects the fields of the type to determine if they are valid.
22929func (s *DescribeEndpointConfigInput) Validate() error {
22930	invalidParams := request.ErrInvalidParams{Context: "DescribeEndpointConfigInput"}
22931	if s.EndpointConfigName == nil {
22932		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
22933	}
22934
22935	if invalidParams.Len() > 0 {
22936		return invalidParams
22937	}
22938	return nil
22939}
22940
22941// SetEndpointConfigName sets the EndpointConfigName field's value.
22942func (s *DescribeEndpointConfigInput) SetEndpointConfigName(v string) *DescribeEndpointConfigInput {
22943	s.EndpointConfigName = &v
22944	return s
22945}
22946
22947type DescribeEndpointConfigOutput struct {
22948	_ struct{} `type:"structure"`
22949
22950	// A timestamp that shows when the endpoint configuration was created.
22951	//
22952	// CreationTime is a required field
22953	CreationTime *time.Time `type:"timestamp" required:"true"`
22954
22955	DataCaptureConfig *DataCaptureConfig `type:"structure"`
22956
22957	// The Amazon Resource Name (ARN) of the endpoint configuration.
22958	//
22959	// EndpointConfigArn is a required field
22960	EndpointConfigArn *string `min:"20" type:"string" required:"true"`
22961
22962	// Name of the Amazon SageMaker endpoint configuration.
22963	//
22964	// EndpointConfigName is a required field
22965	EndpointConfigName *string `type:"string" required:"true"`
22966
22967	// AWS KMS key ID Amazon SageMaker uses to encrypt data when storing it on the
22968	// ML storage volume attached to the instance.
22969	KmsKeyId *string `type:"string"`
22970
22971	// An array of ProductionVariant objects, one for each model that you want to
22972	// host at this endpoint.
22973	//
22974	// ProductionVariants is a required field
22975	ProductionVariants []*ProductionVariant `min:"1" type:"list" required:"true"`
22976}
22977
22978// String returns the string representation
22979func (s DescribeEndpointConfigOutput) String() string {
22980	return awsutil.Prettify(s)
22981}
22982
22983// GoString returns the string representation
22984func (s DescribeEndpointConfigOutput) GoString() string {
22985	return s.String()
22986}
22987
22988// SetCreationTime sets the CreationTime field's value.
22989func (s *DescribeEndpointConfigOutput) SetCreationTime(v time.Time) *DescribeEndpointConfigOutput {
22990	s.CreationTime = &v
22991	return s
22992}
22993
22994// SetDataCaptureConfig sets the DataCaptureConfig field's value.
22995func (s *DescribeEndpointConfigOutput) SetDataCaptureConfig(v *DataCaptureConfig) *DescribeEndpointConfigOutput {
22996	s.DataCaptureConfig = v
22997	return s
22998}
22999
23000// SetEndpointConfigArn sets the EndpointConfigArn field's value.
23001func (s *DescribeEndpointConfigOutput) SetEndpointConfigArn(v string) *DescribeEndpointConfigOutput {
23002	s.EndpointConfigArn = &v
23003	return s
23004}
23005
23006// SetEndpointConfigName sets the EndpointConfigName field's value.
23007func (s *DescribeEndpointConfigOutput) SetEndpointConfigName(v string) *DescribeEndpointConfigOutput {
23008	s.EndpointConfigName = &v
23009	return s
23010}
23011
23012// SetKmsKeyId sets the KmsKeyId field's value.
23013func (s *DescribeEndpointConfigOutput) SetKmsKeyId(v string) *DescribeEndpointConfigOutput {
23014	s.KmsKeyId = &v
23015	return s
23016}
23017
23018// SetProductionVariants sets the ProductionVariants field's value.
23019func (s *DescribeEndpointConfigOutput) SetProductionVariants(v []*ProductionVariant) *DescribeEndpointConfigOutput {
23020	s.ProductionVariants = v
23021	return s
23022}
23023
23024type DescribeEndpointInput struct {
23025	_ struct{} `type:"structure"`
23026
23027	// The name of the endpoint.
23028	//
23029	// EndpointName is a required field
23030	EndpointName *string `type:"string" required:"true"`
23031}
23032
23033// String returns the string representation
23034func (s DescribeEndpointInput) String() string {
23035	return awsutil.Prettify(s)
23036}
23037
23038// GoString returns the string representation
23039func (s DescribeEndpointInput) GoString() string {
23040	return s.String()
23041}
23042
23043// Validate inspects the fields of the type to determine if they are valid.
23044func (s *DescribeEndpointInput) Validate() error {
23045	invalidParams := request.ErrInvalidParams{Context: "DescribeEndpointInput"}
23046	if s.EndpointName == nil {
23047		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
23048	}
23049
23050	if invalidParams.Len() > 0 {
23051		return invalidParams
23052	}
23053	return nil
23054}
23055
23056// SetEndpointName sets the EndpointName field's value.
23057func (s *DescribeEndpointInput) SetEndpointName(v string) *DescribeEndpointInput {
23058	s.EndpointName = &v
23059	return s
23060}
23061
23062type DescribeEndpointOutput struct {
23063	_ struct{} `type:"structure"`
23064
23065	// A timestamp that shows when the endpoint was created.
23066	//
23067	// CreationTime is a required field
23068	CreationTime *time.Time `type:"timestamp" required:"true"`
23069
23070	DataCaptureConfig *DataCaptureConfigSummary `type:"structure"`
23071
23072	// The Amazon Resource Name (ARN) of the endpoint.
23073	//
23074	// EndpointArn is a required field
23075	EndpointArn *string `min:"20" type:"string" required:"true"`
23076
23077	// The name of the endpoint configuration associated with this endpoint.
23078	//
23079	// EndpointConfigName is a required field
23080	EndpointConfigName *string `type:"string" required:"true"`
23081
23082	// Name of the endpoint.
23083	//
23084	// EndpointName is a required field
23085	EndpointName *string `type:"string" required:"true"`
23086
23087	// The status of the endpoint.
23088	//
23089	//    * OutOfService: Endpoint is not available to take incoming requests.
23090	//
23091	//    * Creating: CreateEndpoint is executing.
23092	//
23093	//    * Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing.
23094	//
23095	//    * SystemUpdating: Endpoint is undergoing maintenance and cannot be updated
23096	//    or deleted or re-scaled until it has completed. This maintenance operation
23097	//    does not change any customer-specified values such as VPC config, KMS
23098	//    encryption, model, instance type, or instance count.
23099	//
23100	//    * RollingBack: Endpoint fails to scale up or down or change its variant
23101	//    weight and is in the process of rolling back to its previous configuration.
23102	//    Once the rollback completes, endpoint returns to an InService status.
23103	//    This transitional status only applies to an endpoint that has autoscaling
23104	//    enabled and is undergoing variant weight or capacity changes as part of
23105	//    an UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities
23106	//    operation is called explicitly.
23107	//
23108	//    * InService: Endpoint is available to process incoming requests.
23109	//
23110	//    * Deleting: DeleteEndpoint is executing.
23111	//
23112	//    * Failed: Endpoint could not be created, updated, or re-scaled. Use DescribeEndpointOutput$FailureReason
23113	//    for information about the failure. DeleteEndpoint is the only operation
23114	//    that can be performed on a failed endpoint.
23115	//
23116	// EndpointStatus is a required field
23117	EndpointStatus *string `type:"string" required:"true" enum:"EndpointStatus"`
23118
23119	// If the status of the endpoint is Failed, the reason why it failed.
23120	FailureReason *string `type:"string"`
23121
23122	// A timestamp that shows when the endpoint was last modified.
23123	//
23124	// LastModifiedTime is a required field
23125	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
23126
23127	// An array of ProductionVariantSummary objects, one for each model hosted behind
23128	// this endpoint.
23129	ProductionVariants []*ProductionVariantSummary `min:"1" type:"list"`
23130}
23131
23132// String returns the string representation
23133func (s DescribeEndpointOutput) String() string {
23134	return awsutil.Prettify(s)
23135}
23136
23137// GoString returns the string representation
23138func (s DescribeEndpointOutput) GoString() string {
23139	return s.String()
23140}
23141
23142// SetCreationTime sets the CreationTime field's value.
23143func (s *DescribeEndpointOutput) SetCreationTime(v time.Time) *DescribeEndpointOutput {
23144	s.CreationTime = &v
23145	return s
23146}
23147
23148// SetDataCaptureConfig sets the DataCaptureConfig field's value.
23149func (s *DescribeEndpointOutput) SetDataCaptureConfig(v *DataCaptureConfigSummary) *DescribeEndpointOutput {
23150	s.DataCaptureConfig = v
23151	return s
23152}
23153
23154// SetEndpointArn sets the EndpointArn field's value.
23155func (s *DescribeEndpointOutput) SetEndpointArn(v string) *DescribeEndpointOutput {
23156	s.EndpointArn = &v
23157	return s
23158}
23159
23160// SetEndpointConfigName sets the EndpointConfigName field's value.
23161func (s *DescribeEndpointOutput) SetEndpointConfigName(v string) *DescribeEndpointOutput {
23162	s.EndpointConfigName = &v
23163	return s
23164}
23165
23166// SetEndpointName sets the EndpointName field's value.
23167func (s *DescribeEndpointOutput) SetEndpointName(v string) *DescribeEndpointOutput {
23168	s.EndpointName = &v
23169	return s
23170}
23171
23172// SetEndpointStatus sets the EndpointStatus field's value.
23173func (s *DescribeEndpointOutput) SetEndpointStatus(v string) *DescribeEndpointOutput {
23174	s.EndpointStatus = &v
23175	return s
23176}
23177
23178// SetFailureReason sets the FailureReason field's value.
23179func (s *DescribeEndpointOutput) SetFailureReason(v string) *DescribeEndpointOutput {
23180	s.FailureReason = &v
23181	return s
23182}
23183
23184// SetLastModifiedTime sets the LastModifiedTime field's value.
23185func (s *DescribeEndpointOutput) SetLastModifiedTime(v time.Time) *DescribeEndpointOutput {
23186	s.LastModifiedTime = &v
23187	return s
23188}
23189
23190// SetProductionVariants sets the ProductionVariants field's value.
23191func (s *DescribeEndpointOutput) SetProductionVariants(v []*ProductionVariantSummary) *DescribeEndpointOutput {
23192	s.ProductionVariants = v
23193	return s
23194}
23195
23196type DescribeExperimentInput struct {
23197	_ struct{} `type:"structure"`
23198
23199	// The name of the experiment to describe.
23200	//
23201	// ExperimentName is a required field
23202	ExperimentName *string `min:"1" type:"string" required:"true"`
23203}
23204
23205// String returns the string representation
23206func (s DescribeExperimentInput) String() string {
23207	return awsutil.Prettify(s)
23208}
23209
23210// GoString returns the string representation
23211func (s DescribeExperimentInput) GoString() string {
23212	return s.String()
23213}
23214
23215// Validate inspects the fields of the type to determine if they are valid.
23216func (s *DescribeExperimentInput) Validate() error {
23217	invalidParams := request.ErrInvalidParams{Context: "DescribeExperimentInput"}
23218	if s.ExperimentName == nil {
23219		invalidParams.Add(request.NewErrParamRequired("ExperimentName"))
23220	}
23221	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
23222		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
23223	}
23224
23225	if invalidParams.Len() > 0 {
23226		return invalidParams
23227	}
23228	return nil
23229}
23230
23231// SetExperimentName sets the ExperimentName field's value.
23232func (s *DescribeExperimentInput) SetExperimentName(v string) *DescribeExperimentInput {
23233	s.ExperimentName = &v
23234	return s
23235}
23236
23237type DescribeExperimentOutput struct {
23238	_ struct{} `type:"structure"`
23239
23240	// Who created the experiment.
23241	CreatedBy *UserContext `type:"structure"`
23242
23243	// When the experiment was created.
23244	CreationTime *time.Time `type:"timestamp"`
23245
23246	// The description of the experiment.
23247	Description *string `type:"string"`
23248
23249	// The name of the experiment as displayed. If DisplayName isn't specified,
23250	// ExperimentName is displayed.
23251	DisplayName *string `min:"1" type:"string"`
23252
23253	// The Amazon Resource Name (ARN) of the experiment.
23254	ExperimentArn *string `type:"string"`
23255
23256	// The name of the experiment.
23257	ExperimentName *string `min:"1" type:"string"`
23258
23259	// Who last modified the experiment.
23260	LastModifiedBy *UserContext `type:"structure"`
23261
23262	// When the experiment was last modified.
23263	LastModifiedTime *time.Time `type:"timestamp"`
23264
23265	// The ARN of the source and, optionally, the type.
23266	Source *ExperimentSource `type:"structure"`
23267}
23268
23269// String returns the string representation
23270func (s DescribeExperimentOutput) String() string {
23271	return awsutil.Prettify(s)
23272}
23273
23274// GoString returns the string representation
23275func (s DescribeExperimentOutput) GoString() string {
23276	return s.String()
23277}
23278
23279// SetCreatedBy sets the CreatedBy field's value.
23280func (s *DescribeExperimentOutput) SetCreatedBy(v *UserContext) *DescribeExperimentOutput {
23281	s.CreatedBy = v
23282	return s
23283}
23284
23285// SetCreationTime sets the CreationTime field's value.
23286func (s *DescribeExperimentOutput) SetCreationTime(v time.Time) *DescribeExperimentOutput {
23287	s.CreationTime = &v
23288	return s
23289}
23290
23291// SetDescription sets the Description field's value.
23292func (s *DescribeExperimentOutput) SetDescription(v string) *DescribeExperimentOutput {
23293	s.Description = &v
23294	return s
23295}
23296
23297// SetDisplayName sets the DisplayName field's value.
23298func (s *DescribeExperimentOutput) SetDisplayName(v string) *DescribeExperimentOutput {
23299	s.DisplayName = &v
23300	return s
23301}
23302
23303// SetExperimentArn sets the ExperimentArn field's value.
23304func (s *DescribeExperimentOutput) SetExperimentArn(v string) *DescribeExperimentOutput {
23305	s.ExperimentArn = &v
23306	return s
23307}
23308
23309// SetExperimentName sets the ExperimentName field's value.
23310func (s *DescribeExperimentOutput) SetExperimentName(v string) *DescribeExperimentOutput {
23311	s.ExperimentName = &v
23312	return s
23313}
23314
23315// SetLastModifiedBy sets the LastModifiedBy field's value.
23316func (s *DescribeExperimentOutput) SetLastModifiedBy(v *UserContext) *DescribeExperimentOutput {
23317	s.LastModifiedBy = v
23318	return s
23319}
23320
23321// SetLastModifiedTime sets the LastModifiedTime field's value.
23322func (s *DescribeExperimentOutput) SetLastModifiedTime(v time.Time) *DescribeExperimentOutput {
23323	s.LastModifiedTime = &v
23324	return s
23325}
23326
23327// SetSource sets the Source field's value.
23328func (s *DescribeExperimentOutput) SetSource(v *ExperimentSource) *DescribeExperimentOutput {
23329	s.Source = v
23330	return s
23331}
23332
23333type DescribeFlowDefinitionInput struct {
23334	_ struct{} `type:"structure"`
23335
23336	// The name of the flow definition.
23337	//
23338	// FlowDefinitionName is a required field
23339	FlowDefinitionName *string `min:"1" type:"string" required:"true"`
23340}
23341
23342// String returns the string representation
23343func (s DescribeFlowDefinitionInput) String() string {
23344	return awsutil.Prettify(s)
23345}
23346
23347// GoString returns the string representation
23348func (s DescribeFlowDefinitionInput) GoString() string {
23349	return s.String()
23350}
23351
23352// Validate inspects the fields of the type to determine if they are valid.
23353func (s *DescribeFlowDefinitionInput) Validate() error {
23354	invalidParams := request.ErrInvalidParams{Context: "DescribeFlowDefinitionInput"}
23355	if s.FlowDefinitionName == nil {
23356		invalidParams.Add(request.NewErrParamRequired("FlowDefinitionName"))
23357	}
23358	if s.FlowDefinitionName != nil && len(*s.FlowDefinitionName) < 1 {
23359		invalidParams.Add(request.NewErrParamMinLen("FlowDefinitionName", 1))
23360	}
23361
23362	if invalidParams.Len() > 0 {
23363		return invalidParams
23364	}
23365	return nil
23366}
23367
23368// SetFlowDefinitionName sets the FlowDefinitionName field's value.
23369func (s *DescribeFlowDefinitionInput) SetFlowDefinitionName(v string) *DescribeFlowDefinitionInput {
23370	s.FlowDefinitionName = &v
23371	return s
23372}
23373
23374type DescribeFlowDefinitionOutput struct {
23375	_ struct{} `type:"structure"`
23376
23377	// The timestamp when the flow definition was created.
23378	//
23379	// CreationTime is a required field
23380	CreationTime *time.Time `type:"timestamp" required:"true"`
23381
23382	FailureReason *string `type:"string"`
23383
23384	// The Amazon Resource Name (ARN) of the flow defintion.
23385	//
23386	// FlowDefinitionArn is a required field
23387	FlowDefinitionArn *string `type:"string" required:"true"`
23388
23389	// The Amazon Resource Name (ARN) of the flow definition.
23390	//
23391	// FlowDefinitionName is a required field
23392	FlowDefinitionName *string `min:"1" type:"string" required:"true"`
23393
23394	// The status of the flow definition. Valid values are listed below.
23395	//
23396	// FlowDefinitionStatus is a required field
23397	FlowDefinitionStatus *string `type:"string" required:"true" enum:"FlowDefinitionStatus"`
23398
23399	// An object containing information about what triggers a human review workflow.
23400	HumanLoopActivationConfig *HumanLoopActivationConfig `type:"structure"`
23401
23402	// An object containing information about who works on the task, the workforce
23403	// task price, and other task details.
23404	//
23405	// HumanLoopConfig is a required field
23406	HumanLoopConfig *HumanLoopConfig `type:"structure" required:"true"`
23407
23408	// Container for configuring the source of human task requests. Used to specify
23409	// if Amazon Rekognition or Amazon Textract is used as an integration source.
23410	HumanLoopRequestSource *HumanLoopRequestSource `type:"structure"`
23411
23412	// An object containing information about the output file.
23413	//
23414	// OutputConfig is a required field
23415	OutputConfig *FlowDefinitionOutputConfig `type:"structure" required:"true"`
23416
23417	// The Amazon Resource Name (ARN) of the AWS Identity and Access Management
23418	// (IAM) execution role for the flow definition.
23419	//
23420	// RoleArn is a required field
23421	RoleArn *string `min:"20" type:"string" required:"true"`
23422}
23423
23424// String returns the string representation
23425func (s DescribeFlowDefinitionOutput) String() string {
23426	return awsutil.Prettify(s)
23427}
23428
23429// GoString returns the string representation
23430func (s DescribeFlowDefinitionOutput) GoString() string {
23431	return s.String()
23432}
23433
23434// SetCreationTime sets the CreationTime field's value.
23435func (s *DescribeFlowDefinitionOutput) SetCreationTime(v time.Time) *DescribeFlowDefinitionOutput {
23436	s.CreationTime = &v
23437	return s
23438}
23439
23440// SetFailureReason sets the FailureReason field's value.
23441func (s *DescribeFlowDefinitionOutput) SetFailureReason(v string) *DescribeFlowDefinitionOutput {
23442	s.FailureReason = &v
23443	return s
23444}
23445
23446// SetFlowDefinitionArn sets the FlowDefinitionArn field's value.
23447func (s *DescribeFlowDefinitionOutput) SetFlowDefinitionArn(v string) *DescribeFlowDefinitionOutput {
23448	s.FlowDefinitionArn = &v
23449	return s
23450}
23451
23452// SetFlowDefinitionName sets the FlowDefinitionName field's value.
23453func (s *DescribeFlowDefinitionOutput) SetFlowDefinitionName(v string) *DescribeFlowDefinitionOutput {
23454	s.FlowDefinitionName = &v
23455	return s
23456}
23457
23458// SetFlowDefinitionStatus sets the FlowDefinitionStatus field's value.
23459func (s *DescribeFlowDefinitionOutput) SetFlowDefinitionStatus(v string) *DescribeFlowDefinitionOutput {
23460	s.FlowDefinitionStatus = &v
23461	return s
23462}
23463
23464// SetHumanLoopActivationConfig sets the HumanLoopActivationConfig field's value.
23465func (s *DescribeFlowDefinitionOutput) SetHumanLoopActivationConfig(v *HumanLoopActivationConfig) *DescribeFlowDefinitionOutput {
23466	s.HumanLoopActivationConfig = v
23467	return s
23468}
23469
23470// SetHumanLoopConfig sets the HumanLoopConfig field's value.
23471func (s *DescribeFlowDefinitionOutput) SetHumanLoopConfig(v *HumanLoopConfig) *DescribeFlowDefinitionOutput {
23472	s.HumanLoopConfig = v
23473	return s
23474}
23475
23476// SetHumanLoopRequestSource sets the HumanLoopRequestSource field's value.
23477func (s *DescribeFlowDefinitionOutput) SetHumanLoopRequestSource(v *HumanLoopRequestSource) *DescribeFlowDefinitionOutput {
23478	s.HumanLoopRequestSource = v
23479	return s
23480}
23481
23482// SetOutputConfig sets the OutputConfig field's value.
23483func (s *DescribeFlowDefinitionOutput) SetOutputConfig(v *FlowDefinitionOutputConfig) *DescribeFlowDefinitionOutput {
23484	s.OutputConfig = v
23485	return s
23486}
23487
23488// SetRoleArn sets the RoleArn field's value.
23489func (s *DescribeFlowDefinitionOutput) SetRoleArn(v string) *DescribeFlowDefinitionOutput {
23490	s.RoleArn = &v
23491	return s
23492}
23493
23494type DescribeHumanTaskUiInput struct {
23495	_ struct{} `type:"structure"`
23496
23497	// The name of the human task user interface you want information about.
23498	//
23499	// HumanTaskUiName is a required field
23500	HumanTaskUiName *string `min:"1" type:"string" required:"true"`
23501}
23502
23503// String returns the string representation
23504func (s DescribeHumanTaskUiInput) String() string {
23505	return awsutil.Prettify(s)
23506}
23507
23508// GoString returns the string representation
23509func (s DescribeHumanTaskUiInput) GoString() string {
23510	return s.String()
23511}
23512
23513// Validate inspects the fields of the type to determine if they are valid.
23514func (s *DescribeHumanTaskUiInput) Validate() error {
23515	invalidParams := request.ErrInvalidParams{Context: "DescribeHumanTaskUiInput"}
23516	if s.HumanTaskUiName == nil {
23517		invalidParams.Add(request.NewErrParamRequired("HumanTaskUiName"))
23518	}
23519	if s.HumanTaskUiName != nil && len(*s.HumanTaskUiName) < 1 {
23520		invalidParams.Add(request.NewErrParamMinLen("HumanTaskUiName", 1))
23521	}
23522
23523	if invalidParams.Len() > 0 {
23524		return invalidParams
23525	}
23526	return nil
23527}
23528
23529// SetHumanTaskUiName sets the HumanTaskUiName field's value.
23530func (s *DescribeHumanTaskUiInput) SetHumanTaskUiName(v string) *DescribeHumanTaskUiInput {
23531	s.HumanTaskUiName = &v
23532	return s
23533}
23534
23535type DescribeHumanTaskUiOutput struct {
23536	_ struct{} `type:"structure"`
23537
23538	// The timestamp when the human task user interface was created.
23539	//
23540	// CreationTime is a required field
23541	CreationTime *time.Time `type:"timestamp" required:"true"`
23542
23543	// The Amazon Resource Name (ARN) of the human task user interface.
23544	//
23545	// HumanTaskUiArn is a required field
23546	HumanTaskUiArn *string `type:"string" required:"true"`
23547
23548	// The name of the human task user interface.
23549	//
23550	// HumanTaskUiName is a required field
23551	HumanTaskUiName *string `min:"1" type:"string" required:"true"`
23552
23553	// Container for user interface template information.
23554	//
23555	// UiTemplate is a required field
23556	UiTemplate *UiTemplateInfo `type:"structure" required:"true"`
23557}
23558
23559// String returns the string representation
23560func (s DescribeHumanTaskUiOutput) String() string {
23561	return awsutil.Prettify(s)
23562}
23563
23564// GoString returns the string representation
23565func (s DescribeHumanTaskUiOutput) GoString() string {
23566	return s.String()
23567}
23568
23569// SetCreationTime sets the CreationTime field's value.
23570func (s *DescribeHumanTaskUiOutput) SetCreationTime(v time.Time) *DescribeHumanTaskUiOutput {
23571	s.CreationTime = &v
23572	return s
23573}
23574
23575// SetHumanTaskUiArn sets the HumanTaskUiArn field's value.
23576func (s *DescribeHumanTaskUiOutput) SetHumanTaskUiArn(v string) *DescribeHumanTaskUiOutput {
23577	s.HumanTaskUiArn = &v
23578	return s
23579}
23580
23581// SetHumanTaskUiName sets the HumanTaskUiName field's value.
23582func (s *DescribeHumanTaskUiOutput) SetHumanTaskUiName(v string) *DescribeHumanTaskUiOutput {
23583	s.HumanTaskUiName = &v
23584	return s
23585}
23586
23587// SetUiTemplate sets the UiTemplate field's value.
23588func (s *DescribeHumanTaskUiOutput) SetUiTemplate(v *UiTemplateInfo) *DescribeHumanTaskUiOutput {
23589	s.UiTemplate = v
23590	return s
23591}
23592
23593type DescribeHyperParameterTuningJobInput struct {
23594	_ struct{} `type:"structure"`
23595
23596	// The name of the tuning job to describe.
23597	//
23598	// HyperParameterTuningJobName is a required field
23599	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
23600}
23601
23602// String returns the string representation
23603func (s DescribeHyperParameterTuningJobInput) String() string {
23604	return awsutil.Prettify(s)
23605}
23606
23607// GoString returns the string representation
23608func (s DescribeHyperParameterTuningJobInput) GoString() string {
23609	return s.String()
23610}
23611
23612// Validate inspects the fields of the type to determine if they are valid.
23613func (s *DescribeHyperParameterTuningJobInput) Validate() error {
23614	invalidParams := request.ErrInvalidParams{Context: "DescribeHyperParameterTuningJobInput"}
23615	if s.HyperParameterTuningJobName == nil {
23616		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobName"))
23617	}
23618	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
23619		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
23620	}
23621
23622	if invalidParams.Len() > 0 {
23623		return invalidParams
23624	}
23625	return nil
23626}
23627
23628// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
23629func (s *DescribeHyperParameterTuningJobInput) SetHyperParameterTuningJobName(v string) *DescribeHyperParameterTuningJobInput {
23630	s.HyperParameterTuningJobName = &v
23631	return s
23632}
23633
23634type DescribeHyperParameterTuningJobOutput struct {
23635	_ struct{} `type:"structure"`
23636
23637	// A TrainingJobSummary object that describes the training job that completed
23638	// with the best current HyperParameterTuningJobObjective.
23639	BestTrainingJob *HyperParameterTrainingJobSummary `type:"structure"`
23640
23641	// The date and time that the tuning job started.
23642	//
23643	// CreationTime is a required field
23644	CreationTime *time.Time `type:"timestamp" required:"true"`
23645
23646	// If the tuning job failed, the reason it failed.
23647	FailureReason *string `type:"string"`
23648
23649	// The date and time that the tuning job ended.
23650	HyperParameterTuningEndTime *time.Time `type:"timestamp"`
23651
23652	// The Amazon Resource Name (ARN) of the tuning job.
23653	//
23654	// HyperParameterTuningJobArn is a required field
23655	HyperParameterTuningJobArn *string `type:"string" required:"true"`
23656
23657	// The HyperParameterTuningJobConfig object that specifies the configuration
23658	// of the tuning job.
23659	//
23660	// HyperParameterTuningJobConfig is a required field
23661	HyperParameterTuningJobConfig *HyperParameterTuningJobConfig `type:"structure" required:"true"`
23662
23663	// The name of the tuning job.
23664	//
23665	// HyperParameterTuningJobName is a required field
23666	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
23667
23668	// The status of the tuning job: InProgress, Completed, Failed, Stopping, or
23669	// Stopped.
23670	//
23671	// HyperParameterTuningJobStatus is a required field
23672	HyperParameterTuningJobStatus *string `type:"string" required:"true" enum:"HyperParameterTuningJobStatus"`
23673
23674	// The date and time that the status of the tuning job was modified.
23675	LastModifiedTime *time.Time `type:"timestamp"`
23676
23677	// The ObjectiveStatusCounters object that specifies the number of training
23678	// jobs, categorized by the status of their final objective metric, that this
23679	// tuning job launched.
23680	//
23681	// ObjectiveStatusCounters is a required field
23682	ObjectiveStatusCounters *ObjectiveStatusCounters `type:"structure" required:"true"`
23683
23684	// If the hyperparameter tuning job is an warm start tuning job with a WarmStartType
23685	// of IDENTICAL_DATA_AND_ALGORITHM, this is the TrainingJobSummary for the training
23686	// job with the best objective metric value of all training jobs launched by
23687	// this tuning job and all parent jobs specified for the warm start tuning job.
23688	OverallBestTrainingJob *HyperParameterTrainingJobSummary `type:"structure"`
23689
23690	// The HyperParameterTrainingJobDefinition object that specifies the definition
23691	// of the training jobs that this tuning job launches.
23692	TrainingJobDefinition *HyperParameterTrainingJobDefinition `type:"structure"`
23693
23694	// A list of the HyperParameterTrainingJobDefinition objects launched for this
23695	// tuning job.
23696	TrainingJobDefinitions []*HyperParameterTrainingJobDefinition `min:"1" type:"list"`
23697
23698	// The TrainingJobStatusCounters object that specifies the number of training
23699	// jobs, categorized by status, that this tuning job launched.
23700	//
23701	// TrainingJobStatusCounters is a required field
23702	TrainingJobStatusCounters *TrainingJobStatusCounters `type:"structure" required:"true"`
23703
23704	// The configuration for starting the hyperparameter parameter tuning job using
23705	// one or more previous tuning jobs as a starting point. The results of previous
23706	// tuning jobs are used to inform which combinations of hyperparameters to search
23707	// over in the new tuning job.
23708	WarmStartConfig *HyperParameterTuningJobWarmStartConfig `type:"structure"`
23709}
23710
23711// String returns the string representation
23712func (s DescribeHyperParameterTuningJobOutput) String() string {
23713	return awsutil.Prettify(s)
23714}
23715
23716// GoString returns the string representation
23717func (s DescribeHyperParameterTuningJobOutput) GoString() string {
23718	return s.String()
23719}
23720
23721// SetBestTrainingJob sets the BestTrainingJob field's value.
23722func (s *DescribeHyperParameterTuningJobOutput) SetBestTrainingJob(v *HyperParameterTrainingJobSummary) *DescribeHyperParameterTuningJobOutput {
23723	s.BestTrainingJob = v
23724	return s
23725}
23726
23727// SetCreationTime sets the CreationTime field's value.
23728func (s *DescribeHyperParameterTuningJobOutput) SetCreationTime(v time.Time) *DescribeHyperParameterTuningJobOutput {
23729	s.CreationTime = &v
23730	return s
23731}
23732
23733// SetFailureReason sets the FailureReason field's value.
23734func (s *DescribeHyperParameterTuningJobOutput) SetFailureReason(v string) *DescribeHyperParameterTuningJobOutput {
23735	s.FailureReason = &v
23736	return s
23737}
23738
23739// SetHyperParameterTuningEndTime sets the HyperParameterTuningEndTime field's value.
23740func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningEndTime(v time.Time) *DescribeHyperParameterTuningJobOutput {
23741	s.HyperParameterTuningEndTime = &v
23742	return s
23743}
23744
23745// SetHyperParameterTuningJobArn sets the HyperParameterTuningJobArn field's value.
23746func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningJobArn(v string) *DescribeHyperParameterTuningJobOutput {
23747	s.HyperParameterTuningJobArn = &v
23748	return s
23749}
23750
23751// SetHyperParameterTuningJobConfig sets the HyperParameterTuningJobConfig field's value.
23752func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningJobConfig(v *HyperParameterTuningJobConfig) *DescribeHyperParameterTuningJobOutput {
23753	s.HyperParameterTuningJobConfig = v
23754	return s
23755}
23756
23757// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
23758func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningJobName(v string) *DescribeHyperParameterTuningJobOutput {
23759	s.HyperParameterTuningJobName = &v
23760	return s
23761}
23762
23763// SetHyperParameterTuningJobStatus sets the HyperParameterTuningJobStatus field's value.
23764func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningJobStatus(v string) *DescribeHyperParameterTuningJobOutput {
23765	s.HyperParameterTuningJobStatus = &v
23766	return s
23767}
23768
23769// SetLastModifiedTime sets the LastModifiedTime field's value.
23770func (s *DescribeHyperParameterTuningJobOutput) SetLastModifiedTime(v time.Time) *DescribeHyperParameterTuningJobOutput {
23771	s.LastModifiedTime = &v
23772	return s
23773}
23774
23775// SetObjectiveStatusCounters sets the ObjectiveStatusCounters field's value.
23776func (s *DescribeHyperParameterTuningJobOutput) SetObjectiveStatusCounters(v *ObjectiveStatusCounters) *DescribeHyperParameterTuningJobOutput {
23777	s.ObjectiveStatusCounters = v
23778	return s
23779}
23780
23781// SetOverallBestTrainingJob sets the OverallBestTrainingJob field's value.
23782func (s *DescribeHyperParameterTuningJobOutput) SetOverallBestTrainingJob(v *HyperParameterTrainingJobSummary) *DescribeHyperParameterTuningJobOutput {
23783	s.OverallBestTrainingJob = v
23784	return s
23785}
23786
23787// SetTrainingJobDefinition sets the TrainingJobDefinition field's value.
23788func (s *DescribeHyperParameterTuningJobOutput) SetTrainingJobDefinition(v *HyperParameterTrainingJobDefinition) *DescribeHyperParameterTuningJobOutput {
23789	s.TrainingJobDefinition = v
23790	return s
23791}
23792
23793// SetTrainingJobDefinitions sets the TrainingJobDefinitions field's value.
23794func (s *DescribeHyperParameterTuningJobOutput) SetTrainingJobDefinitions(v []*HyperParameterTrainingJobDefinition) *DescribeHyperParameterTuningJobOutput {
23795	s.TrainingJobDefinitions = v
23796	return s
23797}
23798
23799// SetTrainingJobStatusCounters sets the TrainingJobStatusCounters field's value.
23800func (s *DescribeHyperParameterTuningJobOutput) SetTrainingJobStatusCounters(v *TrainingJobStatusCounters) *DescribeHyperParameterTuningJobOutput {
23801	s.TrainingJobStatusCounters = v
23802	return s
23803}
23804
23805// SetWarmStartConfig sets the WarmStartConfig field's value.
23806func (s *DescribeHyperParameterTuningJobOutput) SetWarmStartConfig(v *HyperParameterTuningJobWarmStartConfig) *DescribeHyperParameterTuningJobOutput {
23807	s.WarmStartConfig = v
23808	return s
23809}
23810
23811type DescribeLabelingJobInput struct {
23812	_ struct{} `type:"structure"`
23813
23814	// The name of the labeling job to return information for.
23815	//
23816	// LabelingJobName is a required field
23817	LabelingJobName *string `min:"1" type:"string" required:"true"`
23818}
23819
23820// String returns the string representation
23821func (s DescribeLabelingJobInput) String() string {
23822	return awsutil.Prettify(s)
23823}
23824
23825// GoString returns the string representation
23826func (s DescribeLabelingJobInput) GoString() string {
23827	return s.String()
23828}
23829
23830// Validate inspects the fields of the type to determine if they are valid.
23831func (s *DescribeLabelingJobInput) Validate() error {
23832	invalidParams := request.ErrInvalidParams{Context: "DescribeLabelingJobInput"}
23833	if s.LabelingJobName == nil {
23834		invalidParams.Add(request.NewErrParamRequired("LabelingJobName"))
23835	}
23836	if s.LabelingJobName != nil && len(*s.LabelingJobName) < 1 {
23837		invalidParams.Add(request.NewErrParamMinLen("LabelingJobName", 1))
23838	}
23839
23840	if invalidParams.Len() > 0 {
23841		return invalidParams
23842	}
23843	return nil
23844}
23845
23846// SetLabelingJobName sets the LabelingJobName field's value.
23847func (s *DescribeLabelingJobInput) SetLabelingJobName(v string) *DescribeLabelingJobInput {
23848	s.LabelingJobName = &v
23849	return s
23850}
23851
23852type DescribeLabelingJobOutput struct {
23853	_ struct{} `type:"structure"`
23854
23855	// The date and time that the labeling job was created.
23856	//
23857	// CreationTime is a required field
23858	CreationTime *time.Time `type:"timestamp" required:"true"`
23859
23860	// If the job failed, the reason that it failed.
23861	FailureReason *string `type:"string"`
23862
23863	// Configuration information required for human workers to complete a labeling
23864	// task.
23865	//
23866	// HumanTaskConfig is a required field
23867	HumanTaskConfig *HumanTaskConfig `type:"structure" required:"true"`
23868
23869	// Input configuration information for the labeling job, such as the Amazon
23870	// S3 location of the data objects and the location of the manifest file that
23871	// describes the data objects.
23872	//
23873	// InputConfig is a required field
23874	InputConfig *LabelingJobInputConfig `type:"structure" required:"true"`
23875
23876	// A unique identifier for work done as part of a labeling job.
23877	//
23878	// JobReferenceCode is a required field
23879	JobReferenceCode *string `min:"1" type:"string" required:"true"`
23880
23881	// The attribute used as the label in the output manifest file.
23882	LabelAttributeName *string `min:"1" type:"string"`
23883
23884	// The S3 location of the JSON file that defines the categories used to label
23885	// data objects. Please note the following label-category limits:
23886	//
23887	//    * Semantic segmentation labeling jobs using automated labeling: 20 labels
23888	//
23889	//    * Box bounding labeling jobs (all): 10 labels
23890	//
23891	// The file is a JSON structure in the following format:
23892	//
23893	// {
23894	//
23895	// "document-version": "2018-11-28"
23896	//
23897	// "labels": [
23898	//
23899	// {
23900	//
23901	// "label": "label 1"
23902	//
23903	// },
23904	//
23905	// {
23906	//
23907	// "label": "label 2"
23908	//
23909	// },
23910	//
23911	// ...
23912	//
23913	// {
23914	//
23915	// "label": "label n"
23916	//
23917	// }
23918	//
23919	// ]
23920	//
23921	// }
23922	LabelCategoryConfigS3Uri *string `type:"string"`
23923
23924	// Provides a breakdown of the number of data objects labeled by humans, the
23925	// number of objects labeled by machine, the number of objects than couldn't
23926	// be labeled, and the total number of objects labeled.
23927	//
23928	// LabelCounters is a required field
23929	LabelCounters *LabelCounters `type:"structure" required:"true"`
23930
23931	// Configuration information for automated data labeling.
23932	LabelingJobAlgorithmsConfig *LabelingJobAlgorithmsConfig `type:"structure"`
23933
23934	// The Amazon Resource Name (ARN) of the labeling job.
23935	//
23936	// LabelingJobArn is a required field
23937	LabelingJobArn *string `type:"string" required:"true"`
23938
23939	// The name assigned to the labeling job when it was created.
23940	//
23941	// LabelingJobName is a required field
23942	LabelingJobName *string `min:"1" type:"string" required:"true"`
23943
23944	// The location of the output produced by the labeling job.
23945	LabelingJobOutput *LabelingJobOutput `type:"structure"`
23946
23947	// The processing status of the labeling job.
23948	//
23949	// LabelingJobStatus is a required field
23950	LabelingJobStatus *string `type:"string" required:"true" enum:"LabelingJobStatus"`
23951
23952	// The date and time that the labeling job was last updated.
23953	//
23954	// LastModifiedTime is a required field
23955	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
23956
23957	// The location of the job's output data and the AWS Key Management Service
23958	// key ID for the key used to encrypt the output data, if any.
23959	//
23960	// OutputConfig is a required field
23961	OutputConfig *LabelingJobOutputConfig `type:"structure" required:"true"`
23962
23963	// The Amazon Resource Name (ARN) that Amazon SageMaker assumes to perform tasks
23964	// on your behalf during data labeling.
23965	//
23966	// RoleArn is a required field
23967	RoleArn *string `min:"20" type:"string" required:"true"`
23968
23969	// A set of conditions for stopping a labeling job. If any of the conditions
23970	// are met, the job is automatically stopped.
23971	StoppingConditions *LabelingJobStoppingConditions `type:"structure"`
23972
23973	// An array of key/value pairs. For more information, see Using Cost Allocation
23974	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
23975	// in the AWS Billing and Cost Management User Guide.
23976	Tags []*Tag `type:"list"`
23977}
23978
23979// String returns the string representation
23980func (s DescribeLabelingJobOutput) String() string {
23981	return awsutil.Prettify(s)
23982}
23983
23984// GoString returns the string representation
23985func (s DescribeLabelingJobOutput) GoString() string {
23986	return s.String()
23987}
23988
23989// SetCreationTime sets the CreationTime field's value.
23990func (s *DescribeLabelingJobOutput) SetCreationTime(v time.Time) *DescribeLabelingJobOutput {
23991	s.CreationTime = &v
23992	return s
23993}
23994
23995// SetFailureReason sets the FailureReason field's value.
23996func (s *DescribeLabelingJobOutput) SetFailureReason(v string) *DescribeLabelingJobOutput {
23997	s.FailureReason = &v
23998	return s
23999}
24000
24001// SetHumanTaskConfig sets the HumanTaskConfig field's value.
24002func (s *DescribeLabelingJobOutput) SetHumanTaskConfig(v *HumanTaskConfig) *DescribeLabelingJobOutput {
24003	s.HumanTaskConfig = v
24004	return s
24005}
24006
24007// SetInputConfig sets the InputConfig field's value.
24008func (s *DescribeLabelingJobOutput) SetInputConfig(v *LabelingJobInputConfig) *DescribeLabelingJobOutput {
24009	s.InputConfig = v
24010	return s
24011}
24012
24013// SetJobReferenceCode sets the JobReferenceCode field's value.
24014func (s *DescribeLabelingJobOutput) SetJobReferenceCode(v string) *DescribeLabelingJobOutput {
24015	s.JobReferenceCode = &v
24016	return s
24017}
24018
24019// SetLabelAttributeName sets the LabelAttributeName field's value.
24020func (s *DescribeLabelingJobOutput) SetLabelAttributeName(v string) *DescribeLabelingJobOutput {
24021	s.LabelAttributeName = &v
24022	return s
24023}
24024
24025// SetLabelCategoryConfigS3Uri sets the LabelCategoryConfigS3Uri field's value.
24026func (s *DescribeLabelingJobOutput) SetLabelCategoryConfigS3Uri(v string) *DescribeLabelingJobOutput {
24027	s.LabelCategoryConfigS3Uri = &v
24028	return s
24029}
24030
24031// SetLabelCounters sets the LabelCounters field's value.
24032func (s *DescribeLabelingJobOutput) SetLabelCounters(v *LabelCounters) *DescribeLabelingJobOutput {
24033	s.LabelCounters = v
24034	return s
24035}
24036
24037// SetLabelingJobAlgorithmsConfig sets the LabelingJobAlgorithmsConfig field's value.
24038func (s *DescribeLabelingJobOutput) SetLabelingJobAlgorithmsConfig(v *LabelingJobAlgorithmsConfig) *DescribeLabelingJobOutput {
24039	s.LabelingJobAlgorithmsConfig = v
24040	return s
24041}
24042
24043// SetLabelingJobArn sets the LabelingJobArn field's value.
24044func (s *DescribeLabelingJobOutput) SetLabelingJobArn(v string) *DescribeLabelingJobOutput {
24045	s.LabelingJobArn = &v
24046	return s
24047}
24048
24049// SetLabelingJobName sets the LabelingJobName field's value.
24050func (s *DescribeLabelingJobOutput) SetLabelingJobName(v string) *DescribeLabelingJobOutput {
24051	s.LabelingJobName = &v
24052	return s
24053}
24054
24055// SetLabelingJobOutput sets the LabelingJobOutput field's value.
24056func (s *DescribeLabelingJobOutput) SetLabelingJobOutput(v *LabelingJobOutput) *DescribeLabelingJobOutput {
24057	s.LabelingJobOutput = v
24058	return s
24059}
24060
24061// SetLabelingJobStatus sets the LabelingJobStatus field's value.
24062func (s *DescribeLabelingJobOutput) SetLabelingJobStatus(v string) *DescribeLabelingJobOutput {
24063	s.LabelingJobStatus = &v
24064	return s
24065}
24066
24067// SetLastModifiedTime sets the LastModifiedTime field's value.
24068func (s *DescribeLabelingJobOutput) SetLastModifiedTime(v time.Time) *DescribeLabelingJobOutput {
24069	s.LastModifiedTime = &v
24070	return s
24071}
24072
24073// SetOutputConfig sets the OutputConfig field's value.
24074func (s *DescribeLabelingJobOutput) SetOutputConfig(v *LabelingJobOutputConfig) *DescribeLabelingJobOutput {
24075	s.OutputConfig = v
24076	return s
24077}
24078
24079// SetRoleArn sets the RoleArn field's value.
24080func (s *DescribeLabelingJobOutput) SetRoleArn(v string) *DescribeLabelingJobOutput {
24081	s.RoleArn = &v
24082	return s
24083}
24084
24085// SetStoppingConditions sets the StoppingConditions field's value.
24086func (s *DescribeLabelingJobOutput) SetStoppingConditions(v *LabelingJobStoppingConditions) *DescribeLabelingJobOutput {
24087	s.StoppingConditions = v
24088	return s
24089}
24090
24091// SetTags sets the Tags field's value.
24092func (s *DescribeLabelingJobOutput) SetTags(v []*Tag) *DescribeLabelingJobOutput {
24093	s.Tags = v
24094	return s
24095}
24096
24097type DescribeModelInput struct {
24098	_ struct{} `type:"structure"`
24099
24100	// The name of the model.
24101	//
24102	// ModelName is a required field
24103	ModelName *string `type:"string" required:"true"`
24104}
24105
24106// String returns the string representation
24107func (s DescribeModelInput) String() string {
24108	return awsutil.Prettify(s)
24109}
24110
24111// GoString returns the string representation
24112func (s DescribeModelInput) GoString() string {
24113	return s.String()
24114}
24115
24116// Validate inspects the fields of the type to determine if they are valid.
24117func (s *DescribeModelInput) Validate() error {
24118	invalidParams := request.ErrInvalidParams{Context: "DescribeModelInput"}
24119	if s.ModelName == nil {
24120		invalidParams.Add(request.NewErrParamRequired("ModelName"))
24121	}
24122
24123	if invalidParams.Len() > 0 {
24124		return invalidParams
24125	}
24126	return nil
24127}
24128
24129// SetModelName sets the ModelName field's value.
24130func (s *DescribeModelInput) SetModelName(v string) *DescribeModelInput {
24131	s.ModelName = &v
24132	return s
24133}
24134
24135type DescribeModelOutput struct {
24136	_ struct{} `type:"structure"`
24137
24138	// The containers in the inference pipeline.
24139	Containers []*ContainerDefinition `type:"list"`
24140
24141	// A timestamp that shows when the model was created.
24142	//
24143	// CreationTime is a required field
24144	CreationTime *time.Time `type:"timestamp" required:"true"`
24145
24146	// If True, no inbound or outbound network calls can be made to or from the
24147	// model container.
24148	EnableNetworkIsolation *bool `type:"boolean"`
24149
24150	// The Amazon Resource Name (ARN) of the IAM role that you specified for the
24151	// model.
24152	//
24153	// ExecutionRoleArn is a required field
24154	ExecutionRoleArn *string `min:"20" type:"string" required:"true"`
24155
24156	// The Amazon Resource Name (ARN) of the model.
24157	//
24158	// ModelArn is a required field
24159	ModelArn *string `min:"20" type:"string" required:"true"`
24160
24161	// Name of the Amazon SageMaker model.
24162	//
24163	// ModelName is a required field
24164	ModelName *string `type:"string" required:"true"`
24165
24166	// The location of the primary inference code, associated artifacts, and custom
24167	// environment map that the inference code uses when it is deployed in production.
24168	PrimaryContainer *ContainerDefinition `type:"structure"`
24169
24170	// A VpcConfig object that specifies the VPC that this model has access to.
24171	// For more information, see Protect Endpoints by Using an Amazon Virtual Private
24172	// Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html)
24173	VpcConfig *VpcConfig `type:"structure"`
24174}
24175
24176// String returns the string representation
24177func (s DescribeModelOutput) String() string {
24178	return awsutil.Prettify(s)
24179}
24180
24181// GoString returns the string representation
24182func (s DescribeModelOutput) GoString() string {
24183	return s.String()
24184}
24185
24186// SetContainers sets the Containers field's value.
24187func (s *DescribeModelOutput) SetContainers(v []*ContainerDefinition) *DescribeModelOutput {
24188	s.Containers = v
24189	return s
24190}
24191
24192// SetCreationTime sets the CreationTime field's value.
24193func (s *DescribeModelOutput) SetCreationTime(v time.Time) *DescribeModelOutput {
24194	s.CreationTime = &v
24195	return s
24196}
24197
24198// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
24199func (s *DescribeModelOutput) SetEnableNetworkIsolation(v bool) *DescribeModelOutput {
24200	s.EnableNetworkIsolation = &v
24201	return s
24202}
24203
24204// SetExecutionRoleArn sets the ExecutionRoleArn field's value.
24205func (s *DescribeModelOutput) SetExecutionRoleArn(v string) *DescribeModelOutput {
24206	s.ExecutionRoleArn = &v
24207	return s
24208}
24209
24210// SetModelArn sets the ModelArn field's value.
24211func (s *DescribeModelOutput) SetModelArn(v string) *DescribeModelOutput {
24212	s.ModelArn = &v
24213	return s
24214}
24215
24216// SetModelName sets the ModelName field's value.
24217func (s *DescribeModelOutput) SetModelName(v string) *DescribeModelOutput {
24218	s.ModelName = &v
24219	return s
24220}
24221
24222// SetPrimaryContainer sets the PrimaryContainer field's value.
24223func (s *DescribeModelOutput) SetPrimaryContainer(v *ContainerDefinition) *DescribeModelOutput {
24224	s.PrimaryContainer = v
24225	return s
24226}
24227
24228// SetVpcConfig sets the VpcConfig field's value.
24229func (s *DescribeModelOutput) SetVpcConfig(v *VpcConfig) *DescribeModelOutput {
24230	s.VpcConfig = v
24231	return s
24232}
24233
24234type DescribeModelPackageInput struct {
24235	_ struct{} `type:"structure"`
24236
24237	// The name of the model package to describe.
24238	//
24239	// ModelPackageName is a required field
24240	ModelPackageName *string `min:"1" type:"string" required:"true"`
24241}
24242
24243// String returns the string representation
24244func (s DescribeModelPackageInput) String() string {
24245	return awsutil.Prettify(s)
24246}
24247
24248// GoString returns the string representation
24249func (s DescribeModelPackageInput) GoString() string {
24250	return s.String()
24251}
24252
24253// Validate inspects the fields of the type to determine if they are valid.
24254func (s *DescribeModelPackageInput) Validate() error {
24255	invalidParams := request.ErrInvalidParams{Context: "DescribeModelPackageInput"}
24256	if s.ModelPackageName == nil {
24257		invalidParams.Add(request.NewErrParamRequired("ModelPackageName"))
24258	}
24259	if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 {
24260		invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1))
24261	}
24262
24263	if invalidParams.Len() > 0 {
24264		return invalidParams
24265	}
24266	return nil
24267}
24268
24269// SetModelPackageName sets the ModelPackageName field's value.
24270func (s *DescribeModelPackageInput) SetModelPackageName(v string) *DescribeModelPackageInput {
24271	s.ModelPackageName = &v
24272	return s
24273}
24274
24275type DescribeModelPackageOutput struct {
24276	_ struct{} `type:"structure"`
24277
24278	// Whether the model package is certified for listing on AWS Marketplace.
24279	CertifyForMarketplace *bool `type:"boolean"`
24280
24281	// A timestamp specifying when the model package was created.
24282	//
24283	// CreationTime is a required field
24284	CreationTime *time.Time `type:"timestamp" required:"true"`
24285
24286	// Details about inference jobs that can be run with models based on this model
24287	// package.
24288	InferenceSpecification *InferenceSpecification `type:"structure"`
24289
24290	// The Amazon Resource Name (ARN) of the model package.
24291	//
24292	// ModelPackageArn is a required field
24293	ModelPackageArn *string `min:"1" type:"string" required:"true"`
24294
24295	// A brief summary of the model package.
24296	ModelPackageDescription *string `type:"string"`
24297
24298	// The name of the model package being described.
24299	//
24300	// ModelPackageName is a required field
24301	ModelPackageName *string `min:"1" type:"string" required:"true"`
24302
24303	// The current status of the model package.
24304	//
24305	// ModelPackageStatus is a required field
24306	ModelPackageStatus *string `type:"string" required:"true" enum:"ModelPackageStatus"`
24307
24308	// Details about the current status of the model package.
24309	//
24310	// ModelPackageStatusDetails is a required field
24311	ModelPackageStatusDetails *ModelPackageStatusDetails `type:"structure" required:"true"`
24312
24313	// Details about the algorithm that was used to create the model package.
24314	SourceAlgorithmSpecification *SourceAlgorithmSpecification `type:"structure"`
24315
24316	// Configurations for one or more transform jobs that Amazon SageMaker runs
24317	// to test the model package.
24318	ValidationSpecification *ModelPackageValidationSpecification `type:"structure"`
24319}
24320
24321// String returns the string representation
24322func (s DescribeModelPackageOutput) String() string {
24323	return awsutil.Prettify(s)
24324}
24325
24326// GoString returns the string representation
24327func (s DescribeModelPackageOutput) GoString() string {
24328	return s.String()
24329}
24330
24331// SetCertifyForMarketplace sets the CertifyForMarketplace field's value.
24332func (s *DescribeModelPackageOutput) SetCertifyForMarketplace(v bool) *DescribeModelPackageOutput {
24333	s.CertifyForMarketplace = &v
24334	return s
24335}
24336
24337// SetCreationTime sets the CreationTime field's value.
24338func (s *DescribeModelPackageOutput) SetCreationTime(v time.Time) *DescribeModelPackageOutput {
24339	s.CreationTime = &v
24340	return s
24341}
24342
24343// SetInferenceSpecification sets the InferenceSpecification field's value.
24344func (s *DescribeModelPackageOutput) SetInferenceSpecification(v *InferenceSpecification) *DescribeModelPackageOutput {
24345	s.InferenceSpecification = v
24346	return s
24347}
24348
24349// SetModelPackageArn sets the ModelPackageArn field's value.
24350func (s *DescribeModelPackageOutput) SetModelPackageArn(v string) *DescribeModelPackageOutput {
24351	s.ModelPackageArn = &v
24352	return s
24353}
24354
24355// SetModelPackageDescription sets the ModelPackageDescription field's value.
24356func (s *DescribeModelPackageOutput) SetModelPackageDescription(v string) *DescribeModelPackageOutput {
24357	s.ModelPackageDescription = &v
24358	return s
24359}
24360
24361// SetModelPackageName sets the ModelPackageName field's value.
24362func (s *DescribeModelPackageOutput) SetModelPackageName(v string) *DescribeModelPackageOutput {
24363	s.ModelPackageName = &v
24364	return s
24365}
24366
24367// SetModelPackageStatus sets the ModelPackageStatus field's value.
24368func (s *DescribeModelPackageOutput) SetModelPackageStatus(v string) *DescribeModelPackageOutput {
24369	s.ModelPackageStatus = &v
24370	return s
24371}
24372
24373// SetModelPackageStatusDetails sets the ModelPackageStatusDetails field's value.
24374func (s *DescribeModelPackageOutput) SetModelPackageStatusDetails(v *ModelPackageStatusDetails) *DescribeModelPackageOutput {
24375	s.ModelPackageStatusDetails = v
24376	return s
24377}
24378
24379// SetSourceAlgorithmSpecification sets the SourceAlgorithmSpecification field's value.
24380func (s *DescribeModelPackageOutput) SetSourceAlgorithmSpecification(v *SourceAlgorithmSpecification) *DescribeModelPackageOutput {
24381	s.SourceAlgorithmSpecification = v
24382	return s
24383}
24384
24385// SetValidationSpecification sets the ValidationSpecification field's value.
24386func (s *DescribeModelPackageOutput) SetValidationSpecification(v *ModelPackageValidationSpecification) *DescribeModelPackageOutput {
24387	s.ValidationSpecification = v
24388	return s
24389}
24390
24391type DescribeMonitoringScheduleInput struct {
24392	_ struct{} `type:"structure"`
24393
24394	// Name of a previously created monitoring schedule.
24395	//
24396	// MonitoringScheduleName is a required field
24397	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
24398}
24399
24400// String returns the string representation
24401func (s DescribeMonitoringScheduleInput) String() string {
24402	return awsutil.Prettify(s)
24403}
24404
24405// GoString returns the string representation
24406func (s DescribeMonitoringScheduleInput) GoString() string {
24407	return s.String()
24408}
24409
24410// Validate inspects the fields of the type to determine if they are valid.
24411func (s *DescribeMonitoringScheduleInput) Validate() error {
24412	invalidParams := request.ErrInvalidParams{Context: "DescribeMonitoringScheduleInput"}
24413	if s.MonitoringScheduleName == nil {
24414		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName"))
24415	}
24416	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
24417		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
24418	}
24419
24420	if invalidParams.Len() > 0 {
24421		return invalidParams
24422	}
24423	return nil
24424}
24425
24426// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
24427func (s *DescribeMonitoringScheduleInput) SetMonitoringScheduleName(v string) *DescribeMonitoringScheduleInput {
24428	s.MonitoringScheduleName = &v
24429	return s
24430}
24431
24432type DescribeMonitoringScheduleOutput struct {
24433	_ struct{} `type:"structure"`
24434
24435	// The time at which the monitoring job was created.
24436	//
24437	// CreationTime is a required field
24438	CreationTime *time.Time `type:"timestamp" required:"true"`
24439
24440	// The name of the endpoint for the monitoring job.
24441	EndpointName *string `type:"string"`
24442
24443	// A string, up to one KB in size, that contains the reason a monitoring job
24444	// failed, if it failed.
24445	FailureReason *string `type:"string"`
24446
24447	// The time at which the monitoring job was last modified.
24448	//
24449	// LastModifiedTime is a required field
24450	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
24451
24452	// Describes metadata on the last execution to run, if there was one.
24453	LastMonitoringExecutionSummary *MonitoringExecutionSummary `type:"structure"`
24454
24455	// The Amazon Resource Name (ARN) of the monitoring schedule.
24456	//
24457	// MonitoringScheduleArn is a required field
24458	MonitoringScheduleArn *string `type:"string" required:"true"`
24459
24460	// The configuration object that specifies the monitoring schedule and defines
24461	// the monitoring job.
24462	//
24463	// MonitoringScheduleConfig is a required field
24464	MonitoringScheduleConfig *MonitoringScheduleConfig `type:"structure" required:"true"`
24465
24466	// Name of the monitoring schedule.
24467	//
24468	// MonitoringScheduleName is a required field
24469	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
24470
24471	// The status of an monitoring job.
24472	//
24473	// MonitoringScheduleStatus is a required field
24474	MonitoringScheduleStatus *string `type:"string" required:"true" enum:"ScheduleStatus"`
24475}
24476
24477// String returns the string representation
24478func (s DescribeMonitoringScheduleOutput) String() string {
24479	return awsutil.Prettify(s)
24480}
24481
24482// GoString returns the string representation
24483func (s DescribeMonitoringScheduleOutput) GoString() string {
24484	return s.String()
24485}
24486
24487// SetCreationTime sets the CreationTime field's value.
24488func (s *DescribeMonitoringScheduleOutput) SetCreationTime(v time.Time) *DescribeMonitoringScheduleOutput {
24489	s.CreationTime = &v
24490	return s
24491}
24492
24493// SetEndpointName sets the EndpointName field's value.
24494func (s *DescribeMonitoringScheduleOutput) SetEndpointName(v string) *DescribeMonitoringScheduleOutput {
24495	s.EndpointName = &v
24496	return s
24497}
24498
24499// SetFailureReason sets the FailureReason field's value.
24500func (s *DescribeMonitoringScheduleOutput) SetFailureReason(v string) *DescribeMonitoringScheduleOutput {
24501	s.FailureReason = &v
24502	return s
24503}
24504
24505// SetLastModifiedTime sets the LastModifiedTime field's value.
24506func (s *DescribeMonitoringScheduleOutput) SetLastModifiedTime(v time.Time) *DescribeMonitoringScheduleOutput {
24507	s.LastModifiedTime = &v
24508	return s
24509}
24510
24511// SetLastMonitoringExecutionSummary sets the LastMonitoringExecutionSummary field's value.
24512func (s *DescribeMonitoringScheduleOutput) SetLastMonitoringExecutionSummary(v *MonitoringExecutionSummary) *DescribeMonitoringScheduleOutput {
24513	s.LastMonitoringExecutionSummary = v
24514	return s
24515}
24516
24517// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
24518func (s *DescribeMonitoringScheduleOutput) SetMonitoringScheduleArn(v string) *DescribeMonitoringScheduleOutput {
24519	s.MonitoringScheduleArn = &v
24520	return s
24521}
24522
24523// SetMonitoringScheduleConfig sets the MonitoringScheduleConfig field's value.
24524func (s *DescribeMonitoringScheduleOutput) SetMonitoringScheduleConfig(v *MonitoringScheduleConfig) *DescribeMonitoringScheduleOutput {
24525	s.MonitoringScheduleConfig = v
24526	return s
24527}
24528
24529// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
24530func (s *DescribeMonitoringScheduleOutput) SetMonitoringScheduleName(v string) *DescribeMonitoringScheduleOutput {
24531	s.MonitoringScheduleName = &v
24532	return s
24533}
24534
24535// SetMonitoringScheduleStatus sets the MonitoringScheduleStatus field's value.
24536func (s *DescribeMonitoringScheduleOutput) SetMonitoringScheduleStatus(v string) *DescribeMonitoringScheduleOutput {
24537	s.MonitoringScheduleStatus = &v
24538	return s
24539}
24540
24541type DescribeNotebookInstanceInput struct {
24542	_ struct{} `type:"structure"`
24543
24544	// The name of the notebook instance that you want information about.
24545	//
24546	// NotebookInstanceName is a required field
24547	NotebookInstanceName *string `type:"string" required:"true"`
24548}
24549
24550// String returns the string representation
24551func (s DescribeNotebookInstanceInput) String() string {
24552	return awsutil.Prettify(s)
24553}
24554
24555// GoString returns the string representation
24556func (s DescribeNotebookInstanceInput) GoString() string {
24557	return s.String()
24558}
24559
24560// Validate inspects the fields of the type to determine if they are valid.
24561func (s *DescribeNotebookInstanceInput) Validate() error {
24562	invalidParams := request.ErrInvalidParams{Context: "DescribeNotebookInstanceInput"}
24563	if s.NotebookInstanceName == nil {
24564		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
24565	}
24566
24567	if invalidParams.Len() > 0 {
24568		return invalidParams
24569	}
24570	return nil
24571}
24572
24573// SetNotebookInstanceName sets the NotebookInstanceName field's value.
24574func (s *DescribeNotebookInstanceInput) SetNotebookInstanceName(v string) *DescribeNotebookInstanceInput {
24575	s.NotebookInstanceName = &v
24576	return s
24577}
24578
24579type DescribeNotebookInstanceLifecycleConfigInput struct {
24580	_ struct{} `type:"structure"`
24581
24582	// The name of the lifecycle configuration to describe.
24583	//
24584	// NotebookInstanceLifecycleConfigName is a required field
24585	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
24586}
24587
24588// String returns the string representation
24589func (s DescribeNotebookInstanceLifecycleConfigInput) String() string {
24590	return awsutil.Prettify(s)
24591}
24592
24593// GoString returns the string representation
24594func (s DescribeNotebookInstanceLifecycleConfigInput) GoString() string {
24595	return s.String()
24596}
24597
24598// Validate inspects the fields of the type to determine if they are valid.
24599func (s *DescribeNotebookInstanceLifecycleConfigInput) Validate() error {
24600	invalidParams := request.ErrInvalidParams{Context: "DescribeNotebookInstanceLifecycleConfigInput"}
24601	if s.NotebookInstanceLifecycleConfigName == nil {
24602		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceLifecycleConfigName"))
24603	}
24604
24605	if invalidParams.Len() > 0 {
24606		return invalidParams
24607	}
24608	return nil
24609}
24610
24611// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
24612func (s *DescribeNotebookInstanceLifecycleConfigInput) SetNotebookInstanceLifecycleConfigName(v string) *DescribeNotebookInstanceLifecycleConfigInput {
24613	s.NotebookInstanceLifecycleConfigName = &v
24614	return s
24615}
24616
24617type DescribeNotebookInstanceLifecycleConfigOutput struct {
24618	_ struct{} `type:"structure"`
24619
24620	// A timestamp that tells when the lifecycle configuration was created.
24621	CreationTime *time.Time `type:"timestamp"`
24622
24623	// A timestamp that tells when the lifecycle configuration was last modified.
24624	LastModifiedTime *time.Time `type:"timestamp"`
24625
24626	// The Amazon Resource Name (ARN) of the lifecycle configuration.
24627	NotebookInstanceLifecycleConfigArn *string `type:"string"`
24628
24629	// The name of the lifecycle configuration.
24630	NotebookInstanceLifecycleConfigName *string `type:"string"`
24631
24632	// The shell script that runs only once, when you create a notebook instance.
24633	OnCreate []*NotebookInstanceLifecycleHook `type:"list"`
24634
24635	// The shell script that runs every time you start a notebook instance, including
24636	// when you create the notebook instance.
24637	OnStart []*NotebookInstanceLifecycleHook `type:"list"`
24638}
24639
24640// String returns the string representation
24641func (s DescribeNotebookInstanceLifecycleConfigOutput) String() string {
24642	return awsutil.Prettify(s)
24643}
24644
24645// GoString returns the string representation
24646func (s DescribeNotebookInstanceLifecycleConfigOutput) GoString() string {
24647	return s.String()
24648}
24649
24650// SetCreationTime sets the CreationTime field's value.
24651func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetCreationTime(v time.Time) *DescribeNotebookInstanceLifecycleConfigOutput {
24652	s.CreationTime = &v
24653	return s
24654}
24655
24656// SetLastModifiedTime sets the LastModifiedTime field's value.
24657func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetLastModifiedTime(v time.Time) *DescribeNotebookInstanceLifecycleConfigOutput {
24658	s.LastModifiedTime = &v
24659	return s
24660}
24661
24662// SetNotebookInstanceLifecycleConfigArn sets the NotebookInstanceLifecycleConfigArn field's value.
24663func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetNotebookInstanceLifecycleConfigArn(v string) *DescribeNotebookInstanceLifecycleConfigOutput {
24664	s.NotebookInstanceLifecycleConfigArn = &v
24665	return s
24666}
24667
24668// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
24669func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetNotebookInstanceLifecycleConfigName(v string) *DescribeNotebookInstanceLifecycleConfigOutput {
24670	s.NotebookInstanceLifecycleConfigName = &v
24671	return s
24672}
24673
24674// SetOnCreate sets the OnCreate field's value.
24675func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetOnCreate(v []*NotebookInstanceLifecycleHook) *DescribeNotebookInstanceLifecycleConfigOutput {
24676	s.OnCreate = v
24677	return s
24678}
24679
24680// SetOnStart sets the OnStart field's value.
24681func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetOnStart(v []*NotebookInstanceLifecycleHook) *DescribeNotebookInstanceLifecycleConfigOutput {
24682	s.OnStart = v
24683	return s
24684}
24685
24686type DescribeNotebookInstanceOutput struct {
24687	_ struct{} `type:"structure"`
24688
24689	// A list of the Elastic Inference (EI) instance types associated with this
24690	// notebook instance. Currently only one EI instance type can be associated
24691	// with a notebook instance. For more information, see Using Elastic Inference
24692	// in Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html).
24693	AcceleratorTypes []*string `type:"list"`
24694
24695	// An array of up to three Git repositories associated with the notebook instance.
24696	// These can be either the names of Git repositories stored as resources in
24697	// your account, or the URL of Git repositories in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
24698	// or in any other Git repository. These repositories are cloned at the same
24699	// level as the default repository of your notebook instance. For more information,
24700	// see Associating Git Repositories with Amazon SageMaker Notebook Instances
24701	// (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
24702	AdditionalCodeRepositories []*string `type:"list"`
24703
24704	// A timestamp. Use this parameter to return the time when the notebook instance
24705	// was created
24706	CreationTime *time.Time `type:"timestamp"`
24707
24708	// The Git repository associated with the notebook instance as its default code
24709	// repository. This can be either the name of a Git repository stored as a resource
24710	// in your account, or the URL of a Git repository in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
24711	// or in any other Git repository. When you open a notebook instance, it opens
24712	// in the directory that contains this repository. For more information, see
24713	// Associating Git Repositories with Amazon SageMaker Notebook Instances (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
24714	DefaultCodeRepository *string `min:"1" type:"string"`
24715
24716	// Describes whether Amazon SageMaker provides internet access to the notebook
24717	// instance. If this value is set to Disabled, the notebook instance does not
24718	// have internet access, and cannot connect to Amazon SageMaker training and
24719	// endpoint services.
24720	//
24721	// For more information, see Notebook Instances Are Internet-Enabled by Default
24722	// (https://docs.aws.amazon.com/sagemaker/latest/dg/appendix-additional-considerations.html#appendix-notebook-and-internet-access).
24723	DirectInternetAccess *string `type:"string" enum:"DirectInternetAccess"`
24724
24725	// If status is Failed, the reason it failed.
24726	FailureReason *string `type:"string"`
24727
24728	// The type of ML compute instance running on the notebook instance.
24729	InstanceType *string `type:"string" enum:"InstanceType"`
24730
24731	// The AWS KMS key ID Amazon SageMaker uses to encrypt data when storing it
24732	// on the ML storage volume attached to the instance.
24733	KmsKeyId *string `type:"string"`
24734
24735	// A timestamp. Use this parameter to retrieve the time when the notebook instance
24736	// was last modified.
24737	LastModifiedTime *time.Time `type:"timestamp"`
24738
24739	// The network interface IDs that Amazon SageMaker created at the time of creating
24740	// the instance.
24741	NetworkInterfaceId *string `type:"string"`
24742
24743	// The Amazon Resource Name (ARN) of the notebook instance.
24744	NotebookInstanceArn *string `type:"string"`
24745
24746	// Returns the name of a notebook instance lifecycle configuration.
24747	//
24748	// For information about notebook instance lifestyle configurations, see Step
24749	// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html)
24750	NotebookInstanceLifecycleConfigName *string `type:"string"`
24751
24752	// The name of the Amazon SageMaker notebook instance.
24753	NotebookInstanceName *string `type:"string"`
24754
24755	// The status of the notebook instance.
24756	NotebookInstanceStatus *string `type:"string" enum:"NotebookInstanceStatus"`
24757
24758	// The Amazon Resource Name (ARN) of the IAM role associated with the instance.
24759	RoleArn *string `min:"20" type:"string"`
24760
24761	// Whether root access is enabled or disabled for users of the notebook instance.
24762	//
24763	// Lifecycle configurations need root access to be able to set up a notebook
24764	// instance. Because of this, lifecycle configurations associated with a notebook
24765	// instance always run with root access even if you disable root access for
24766	// users.
24767	RootAccess *string `type:"string" enum:"RootAccess"`
24768
24769	// The IDs of the VPC security groups.
24770	SecurityGroups []*string `type:"list"`
24771
24772	// The ID of the VPC subnet.
24773	SubnetId *string `type:"string"`
24774
24775	// The URL that you use to connect to the Jupyter notebook that is running in
24776	// your notebook instance.
24777	Url *string `type:"string"`
24778
24779	// The size, in GB, of the ML storage volume attached to the notebook instance.
24780	VolumeSizeInGB *int64 `min:"5" type:"integer"`
24781}
24782
24783// String returns the string representation
24784func (s DescribeNotebookInstanceOutput) String() string {
24785	return awsutil.Prettify(s)
24786}
24787
24788// GoString returns the string representation
24789func (s DescribeNotebookInstanceOutput) GoString() string {
24790	return s.String()
24791}
24792
24793// SetAcceleratorTypes sets the AcceleratorTypes field's value.
24794func (s *DescribeNotebookInstanceOutput) SetAcceleratorTypes(v []*string) *DescribeNotebookInstanceOutput {
24795	s.AcceleratorTypes = v
24796	return s
24797}
24798
24799// SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value.
24800func (s *DescribeNotebookInstanceOutput) SetAdditionalCodeRepositories(v []*string) *DescribeNotebookInstanceOutput {
24801	s.AdditionalCodeRepositories = v
24802	return s
24803}
24804
24805// SetCreationTime sets the CreationTime field's value.
24806func (s *DescribeNotebookInstanceOutput) SetCreationTime(v time.Time) *DescribeNotebookInstanceOutput {
24807	s.CreationTime = &v
24808	return s
24809}
24810
24811// SetDefaultCodeRepository sets the DefaultCodeRepository field's value.
24812func (s *DescribeNotebookInstanceOutput) SetDefaultCodeRepository(v string) *DescribeNotebookInstanceOutput {
24813	s.DefaultCodeRepository = &v
24814	return s
24815}
24816
24817// SetDirectInternetAccess sets the DirectInternetAccess field's value.
24818func (s *DescribeNotebookInstanceOutput) SetDirectInternetAccess(v string) *DescribeNotebookInstanceOutput {
24819	s.DirectInternetAccess = &v
24820	return s
24821}
24822
24823// SetFailureReason sets the FailureReason field's value.
24824func (s *DescribeNotebookInstanceOutput) SetFailureReason(v string) *DescribeNotebookInstanceOutput {
24825	s.FailureReason = &v
24826	return s
24827}
24828
24829// SetInstanceType sets the InstanceType field's value.
24830func (s *DescribeNotebookInstanceOutput) SetInstanceType(v string) *DescribeNotebookInstanceOutput {
24831	s.InstanceType = &v
24832	return s
24833}
24834
24835// SetKmsKeyId sets the KmsKeyId field's value.
24836func (s *DescribeNotebookInstanceOutput) SetKmsKeyId(v string) *DescribeNotebookInstanceOutput {
24837	s.KmsKeyId = &v
24838	return s
24839}
24840
24841// SetLastModifiedTime sets the LastModifiedTime field's value.
24842func (s *DescribeNotebookInstanceOutput) SetLastModifiedTime(v time.Time) *DescribeNotebookInstanceOutput {
24843	s.LastModifiedTime = &v
24844	return s
24845}
24846
24847// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
24848func (s *DescribeNotebookInstanceOutput) SetNetworkInterfaceId(v string) *DescribeNotebookInstanceOutput {
24849	s.NetworkInterfaceId = &v
24850	return s
24851}
24852
24853// SetNotebookInstanceArn sets the NotebookInstanceArn field's value.
24854func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceArn(v string) *DescribeNotebookInstanceOutput {
24855	s.NotebookInstanceArn = &v
24856	return s
24857}
24858
24859// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
24860func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceLifecycleConfigName(v string) *DescribeNotebookInstanceOutput {
24861	s.NotebookInstanceLifecycleConfigName = &v
24862	return s
24863}
24864
24865// SetNotebookInstanceName sets the NotebookInstanceName field's value.
24866func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceName(v string) *DescribeNotebookInstanceOutput {
24867	s.NotebookInstanceName = &v
24868	return s
24869}
24870
24871// SetNotebookInstanceStatus sets the NotebookInstanceStatus field's value.
24872func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceStatus(v string) *DescribeNotebookInstanceOutput {
24873	s.NotebookInstanceStatus = &v
24874	return s
24875}
24876
24877// SetRoleArn sets the RoleArn field's value.
24878func (s *DescribeNotebookInstanceOutput) SetRoleArn(v string) *DescribeNotebookInstanceOutput {
24879	s.RoleArn = &v
24880	return s
24881}
24882
24883// SetRootAccess sets the RootAccess field's value.
24884func (s *DescribeNotebookInstanceOutput) SetRootAccess(v string) *DescribeNotebookInstanceOutput {
24885	s.RootAccess = &v
24886	return s
24887}
24888
24889// SetSecurityGroups sets the SecurityGroups field's value.
24890func (s *DescribeNotebookInstanceOutput) SetSecurityGroups(v []*string) *DescribeNotebookInstanceOutput {
24891	s.SecurityGroups = v
24892	return s
24893}
24894
24895// SetSubnetId sets the SubnetId field's value.
24896func (s *DescribeNotebookInstanceOutput) SetSubnetId(v string) *DescribeNotebookInstanceOutput {
24897	s.SubnetId = &v
24898	return s
24899}
24900
24901// SetUrl sets the Url field's value.
24902func (s *DescribeNotebookInstanceOutput) SetUrl(v string) *DescribeNotebookInstanceOutput {
24903	s.Url = &v
24904	return s
24905}
24906
24907// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
24908func (s *DescribeNotebookInstanceOutput) SetVolumeSizeInGB(v int64) *DescribeNotebookInstanceOutput {
24909	s.VolumeSizeInGB = &v
24910	return s
24911}
24912
24913type DescribeProcessingJobInput struct {
24914	_ struct{} `type:"structure"`
24915
24916	// The name of the processing job. The name must be unique within an AWS Region
24917	// in the AWS account.
24918	//
24919	// ProcessingJobName is a required field
24920	ProcessingJobName *string `min:"1" type:"string" required:"true"`
24921}
24922
24923// String returns the string representation
24924func (s DescribeProcessingJobInput) String() string {
24925	return awsutil.Prettify(s)
24926}
24927
24928// GoString returns the string representation
24929func (s DescribeProcessingJobInput) GoString() string {
24930	return s.String()
24931}
24932
24933// Validate inspects the fields of the type to determine if they are valid.
24934func (s *DescribeProcessingJobInput) Validate() error {
24935	invalidParams := request.ErrInvalidParams{Context: "DescribeProcessingJobInput"}
24936	if s.ProcessingJobName == nil {
24937		invalidParams.Add(request.NewErrParamRequired("ProcessingJobName"))
24938	}
24939	if s.ProcessingJobName != nil && len(*s.ProcessingJobName) < 1 {
24940		invalidParams.Add(request.NewErrParamMinLen("ProcessingJobName", 1))
24941	}
24942
24943	if invalidParams.Len() > 0 {
24944		return invalidParams
24945	}
24946	return nil
24947}
24948
24949// SetProcessingJobName sets the ProcessingJobName field's value.
24950func (s *DescribeProcessingJobInput) SetProcessingJobName(v string) *DescribeProcessingJobInput {
24951	s.ProcessingJobName = &v
24952	return s
24953}
24954
24955type DescribeProcessingJobOutput struct {
24956	_ struct{} `type:"structure"`
24957
24958	// Configures the processing job to run a specified container image.
24959	//
24960	// AppSpecification is a required field
24961	AppSpecification *AppSpecification `type:"structure" required:"true"`
24962
24963	// The ARN of an AutoML job associated with this processing job.
24964	AutoMLJobArn *string `min:"1" type:"string"`
24965
24966	// The time at which the processing job was created.
24967	//
24968	// CreationTime is a required field
24969	CreationTime *time.Time `type:"timestamp" required:"true"`
24970
24971	// The environment variables set in the Docker container.
24972	Environment map[string]*string `type:"map"`
24973
24974	// An optional string, up to one KB in size, that contains metadata from the
24975	// processing container when the processing job exits.
24976	ExitMessage *string `type:"string"`
24977
24978	// The configuration information used to create an experiment.
24979	ExperimentConfig *ExperimentConfig `type:"structure"`
24980
24981	// A string, up to one KB in size, that contains the reason a processing job
24982	// failed, if it failed.
24983	FailureReason *string `type:"string"`
24984
24985	// The time at which the processing job was last modified.
24986	LastModifiedTime *time.Time `type:"timestamp"`
24987
24988	// The ARN of a monitoring schedule for an endpoint associated with this processing
24989	// job.
24990	MonitoringScheduleArn *string `type:"string"`
24991
24992	// Networking options for a processing job.
24993	NetworkConfig *NetworkConfig `type:"structure"`
24994
24995	// The time at which the processing job completed.
24996	ProcessingEndTime *time.Time `type:"timestamp"`
24997
24998	// The inputs for a processing job.
24999	ProcessingInputs []*ProcessingInput `type:"list"`
25000
25001	// The Amazon Resource Name (ARN) of the processing job.
25002	//
25003	// ProcessingJobArn is a required field
25004	ProcessingJobArn *string `type:"string" required:"true"`
25005
25006	// The name of the processing job. The name must be unique within an AWS Region
25007	// in the AWS account.
25008	//
25009	// ProcessingJobName is a required field
25010	ProcessingJobName *string `min:"1" type:"string" required:"true"`
25011
25012	// Provides the status of a processing job.
25013	//
25014	// ProcessingJobStatus is a required field
25015	ProcessingJobStatus *string `type:"string" required:"true" enum:"ProcessingJobStatus"`
25016
25017	// Output configuration for the processing job.
25018	ProcessingOutputConfig *ProcessingOutputConfig `type:"structure"`
25019
25020	// Identifies the resources, ML compute instances, and ML storage volumes to
25021	// deploy for a processing job. In distributed training, you specify more than
25022	// one instance.
25023	//
25024	// ProcessingResources is a required field
25025	ProcessingResources *ProcessingResources `type:"structure" required:"true"`
25026
25027	// The time at which the processing job started.
25028	ProcessingStartTime *time.Time `type:"timestamp"`
25029
25030	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
25031	// to perform tasks on your behalf.
25032	RoleArn *string `min:"20" type:"string"`
25033
25034	// The time limit for how long the processing job is allowed to run.
25035	StoppingCondition *ProcessingStoppingCondition `type:"structure"`
25036
25037	// The ARN of a training job associated with this processing job.
25038	TrainingJobArn *string `type:"string"`
25039}
25040
25041// String returns the string representation
25042func (s DescribeProcessingJobOutput) String() string {
25043	return awsutil.Prettify(s)
25044}
25045
25046// GoString returns the string representation
25047func (s DescribeProcessingJobOutput) GoString() string {
25048	return s.String()
25049}
25050
25051// SetAppSpecification sets the AppSpecification field's value.
25052func (s *DescribeProcessingJobOutput) SetAppSpecification(v *AppSpecification) *DescribeProcessingJobOutput {
25053	s.AppSpecification = v
25054	return s
25055}
25056
25057// SetAutoMLJobArn sets the AutoMLJobArn field's value.
25058func (s *DescribeProcessingJobOutput) SetAutoMLJobArn(v string) *DescribeProcessingJobOutput {
25059	s.AutoMLJobArn = &v
25060	return s
25061}
25062
25063// SetCreationTime sets the CreationTime field's value.
25064func (s *DescribeProcessingJobOutput) SetCreationTime(v time.Time) *DescribeProcessingJobOutput {
25065	s.CreationTime = &v
25066	return s
25067}
25068
25069// SetEnvironment sets the Environment field's value.
25070func (s *DescribeProcessingJobOutput) SetEnvironment(v map[string]*string) *DescribeProcessingJobOutput {
25071	s.Environment = v
25072	return s
25073}
25074
25075// SetExitMessage sets the ExitMessage field's value.
25076func (s *DescribeProcessingJobOutput) SetExitMessage(v string) *DescribeProcessingJobOutput {
25077	s.ExitMessage = &v
25078	return s
25079}
25080
25081// SetExperimentConfig sets the ExperimentConfig field's value.
25082func (s *DescribeProcessingJobOutput) SetExperimentConfig(v *ExperimentConfig) *DescribeProcessingJobOutput {
25083	s.ExperimentConfig = v
25084	return s
25085}
25086
25087// SetFailureReason sets the FailureReason field's value.
25088func (s *DescribeProcessingJobOutput) SetFailureReason(v string) *DescribeProcessingJobOutput {
25089	s.FailureReason = &v
25090	return s
25091}
25092
25093// SetLastModifiedTime sets the LastModifiedTime field's value.
25094func (s *DescribeProcessingJobOutput) SetLastModifiedTime(v time.Time) *DescribeProcessingJobOutput {
25095	s.LastModifiedTime = &v
25096	return s
25097}
25098
25099// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
25100func (s *DescribeProcessingJobOutput) SetMonitoringScheduleArn(v string) *DescribeProcessingJobOutput {
25101	s.MonitoringScheduleArn = &v
25102	return s
25103}
25104
25105// SetNetworkConfig sets the NetworkConfig field's value.
25106func (s *DescribeProcessingJobOutput) SetNetworkConfig(v *NetworkConfig) *DescribeProcessingJobOutput {
25107	s.NetworkConfig = v
25108	return s
25109}
25110
25111// SetProcessingEndTime sets the ProcessingEndTime field's value.
25112func (s *DescribeProcessingJobOutput) SetProcessingEndTime(v time.Time) *DescribeProcessingJobOutput {
25113	s.ProcessingEndTime = &v
25114	return s
25115}
25116
25117// SetProcessingInputs sets the ProcessingInputs field's value.
25118func (s *DescribeProcessingJobOutput) SetProcessingInputs(v []*ProcessingInput) *DescribeProcessingJobOutput {
25119	s.ProcessingInputs = v
25120	return s
25121}
25122
25123// SetProcessingJobArn sets the ProcessingJobArn field's value.
25124func (s *DescribeProcessingJobOutput) SetProcessingJobArn(v string) *DescribeProcessingJobOutput {
25125	s.ProcessingJobArn = &v
25126	return s
25127}
25128
25129// SetProcessingJobName sets the ProcessingJobName field's value.
25130func (s *DescribeProcessingJobOutput) SetProcessingJobName(v string) *DescribeProcessingJobOutput {
25131	s.ProcessingJobName = &v
25132	return s
25133}
25134
25135// SetProcessingJobStatus sets the ProcessingJobStatus field's value.
25136func (s *DescribeProcessingJobOutput) SetProcessingJobStatus(v string) *DescribeProcessingJobOutput {
25137	s.ProcessingJobStatus = &v
25138	return s
25139}
25140
25141// SetProcessingOutputConfig sets the ProcessingOutputConfig field's value.
25142func (s *DescribeProcessingJobOutput) SetProcessingOutputConfig(v *ProcessingOutputConfig) *DescribeProcessingJobOutput {
25143	s.ProcessingOutputConfig = v
25144	return s
25145}
25146
25147// SetProcessingResources sets the ProcessingResources field's value.
25148func (s *DescribeProcessingJobOutput) SetProcessingResources(v *ProcessingResources) *DescribeProcessingJobOutput {
25149	s.ProcessingResources = v
25150	return s
25151}
25152
25153// SetProcessingStartTime sets the ProcessingStartTime field's value.
25154func (s *DescribeProcessingJobOutput) SetProcessingStartTime(v time.Time) *DescribeProcessingJobOutput {
25155	s.ProcessingStartTime = &v
25156	return s
25157}
25158
25159// SetRoleArn sets the RoleArn field's value.
25160func (s *DescribeProcessingJobOutput) SetRoleArn(v string) *DescribeProcessingJobOutput {
25161	s.RoleArn = &v
25162	return s
25163}
25164
25165// SetStoppingCondition sets the StoppingCondition field's value.
25166func (s *DescribeProcessingJobOutput) SetStoppingCondition(v *ProcessingStoppingCondition) *DescribeProcessingJobOutput {
25167	s.StoppingCondition = v
25168	return s
25169}
25170
25171// SetTrainingJobArn sets the TrainingJobArn field's value.
25172func (s *DescribeProcessingJobOutput) SetTrainingJobArn(v string) *DescribeProcessingJobOutput {
25173	s.TrainingJobArn = &v
25174	return s
25175}
25176
25177type DescribeSubscribedWorkteamInput struct {
25178	_ struct{} `type:"structure"`
25179
25180	// The Amazon Resource Name (ARN) of the subscribed work team to describe.
25181	//
25182	// WorkteamArn is a required field
25183	WorkteamArn *string `type:"string" required:"true"`
25184}
25185
25186// String returns the string representation
25187func (s DescribeSubscribedWorkteamInput) String() string {
25188	return awsutil.Prettify(s)
25189}
25190
25191// GoString returns the string representation
25192func (s DescribeSubscribedWorkteamInput) GoString() string {
25193	return s.String()
25194}
25195
25196// Validate inspects the fields of the type to determine if they are valid.
25197func (s *DescribeSubscribedWorkteamInput) Validate() error {
25198	invalidParams := request.ErrInvalidParams{Context: "DescribeSubscribedWorkteamInput"}
25199	if s.WorkteamArn == nil {
25200		invalidParams.Add(request.NewErrParamRequired("WorkteamArn"))
25201	}
25202
25203	if invalidParams.Len() > 0 {
25204		return invalidParams
25205	}
25206	return nil
25207}
25208
25209// SetWorkteamArn sets the WorkteamArn field's value.
25210func (s *DescribeSubscribedWorkteamInput) SetWorkteamArn(v string) *DescribeSubscribedWorkteamInput {
25211	s.WorkteamArn = &v
25212	return s
25213}
25214
25215type DescribeSubscribedWorkteamOutput struct {
25216	_ struct{} `type:"structure"`
25217
25218	// A Workteam instance that contains information about the work team.
25219	//
25220	// SubscribedWorkteam is a required field
25221	SubscribedWorkteam *SubscribedWorkteam `type:"structure" required:"true"`
25222}
25223
25224// String returns the string representation
25225func (s DescribeSubscribedWorkteamOutput) String() string {
25226	return awsutil.Prettify(s)
25227}
25228
25229// GoString returns the string representation
25230func (s DescribeSubscribedWorkteamOutput) GoString() string {
25231	return s.String()
25232}
25233
25234// SetSubscribedWorkteam sets the SubscribedWorkteam field's value.
25235func (s *DescribeSubscribedWorkteamOutput) SetSubscribedWorkteam(v *SubscribedWorkteam) *DescribeSubscribedWorkteamOutput {
25236	s.SubscribedWorkteam = v
25237	return s
25238}
25239
25240type DescribeTrainingJobInput struct {
25241	_ struct{} `type:"structure"`
25242
25243	// The name of the training job.
25244	//
25245	// TrainingJobName is a required field
25246	TrainingJobName *string `min:"1" type:"string" required:"true"`
25247}
25248
25249// String returns the string representation
25250func (s DescribeTrainingJobInput) String() string {
25251	return awsutil.Prettify(s)
25252}
25253
25254// GoString returns the string representation
25255func (s DescribeTrainingJobInput) GoString() string {
25256	return s.String()
25257}
25258
25259// Validate inspects the fields of the type to determine if they are valid.
25260func (s *DescribeTrainingJobInput) Validate() error {
25261	invalidParams := request.ErrInvalidParams{Context: "DescribeTrainingJobInput"}
25262	if s.TrainingJobName == nil {
25263		invalidParams.Add(request.NewErrParamRequired("TrainingJobName"))
25264	}
25265	if s.TrainingJobName != nil && len(*s.TrainingJobName) < 1 {
25266		invalidParams.Add(request.NewErrParamMinLen("TrainingJobName", 1))
25267	}
25268
25269	if invalidParams.Len() > 0 {
25270		return invalidParams
25271	}
25272	return nil
25273}
25274
25275// SetTrainingJobName sets the TrainingJobName field's value.
25276func (s *DescribeTrainingJobInput) SetTrainingJobName(v string) *DescribeTrainingJobInput {
25277	s.TrainingJobName = &v
25278	return s
25279}
25280
25281type DescribeTrainingJobOutput struct {
25282	_ struct{} `type:"structure"`
25283
25284	// Information about the algorithm used for training, and algorithm metadata.
25285	//
25286	// AlgorithmSpecification is a required field
25287	AlgorithmSpecification *AlgorithmSpecification `type:"structure" required:"true"`
25288
25289	// The Amazon Resource Name (ARN) of an AutoML job.
25290	AutoMLJobArn *string `min:"1" type:"string"`
25291
25292	// The billable time in seconds.
25293	//
25294	// You can calculate the savings from using managed spot training using the
25295	// formula (1 - BillableTimeInSeconds / TrainingTimeInSeconds) * 100. For example,
25296	// if BillableTimeInSeconds is 100 and TrainingTimeInSeconds is 500, the savings
25297	// is 80%.
25298	BillableTimeInSeconds *int64 `min:"1" type:"integer"`
25299
25300	// Contains information about the output location for managed spot training
25301	// checkpoint data.
25302	CheckpointConfig *CheckpointConfig `type:"structure"`
25303
25304	// A timestamp that indicates when the training job was created.
25305	//
25306	// CreationTime is a required field
25307	CreationTime *time.Time `type:"timestamp" required:"true"`
25308
25309	// Configuration information for the debug hook parameters, collection configuration,
25310	// and storage paths.
25311	DebugHookConfig *DebugHookConfig `type:"structure"`
25312
25313	// Configuration information for debugging rules.
25314	DebugRuleConfigurations []*DebugRuleConfiguration `type:"list"`
25315
25316	// Status about the debug rule evaluation.
25317	DebugRuleEvaluationStatuses []*DebugRuleEvaluationStatus `type:"list"`
25318
25319	// To encrypt all communications between ML compute instances in distributed
25320	// training, choose True. Encryption provides greater security for distributed
25321	// training, but training might take longer. How long it takes depends on the
25322	// amount of communication between compute instances, especially if you use
25323	// a deep learning algorithms in distributed training.
25324	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
25325
25326	// A Boolean indicating whether managed spot training is enabled (True) or not
25327	// (False).
25328	EnableManagedSpotTraining *bool `type:"boolean"`
25329
25330	// If you want to allow inbound or outbound network calls, except for calls
25331	// between peers within a training cluster for distributed training, choose
25332	// True. If you enable network isolation for training jobs that are configured
25333	// to use a VPC, Amazon SageMaker downloads and uploads customer data and model
25334	// artifacts through the specified VPC, but the training container does not
25335	// have network access.
25336	EnableNetworkIsolation *bool `type:"boolean"`
25337
25338	// Configuration for the experiment.
25339	ExperimentConfig *ExperimentConfig `type:"structure"`
25340
25341	// If the training job failed, the reason it failed.
25342	FailureReason *string `type:"string"`
25343
25344	// A collection of MetricData objects that specify the names, values, and dates
25345	// and times that the training algorithm emitted to Amazon CloudWatch.
25346	FinalMetricDataList []*MetricData `type:"list"`
25347
25348	// Algorithm-specific parameters.
25349	HyperParameters map[string]*string `type:"map"`
25350
25351	// An array of Channel objects that describes each data input channel.
25352	InputDataConfig []*Channel `min:"1" type:"list"`
25353
25354	// The Amazon Resource Name (ARN) of the Amazon SageMaker Ground Truth labeling
25355	// job that created the transform or training job.
25356	LabelingJobArn *string `type:"string"`
25357
25358	// A timestamp that indicates when the status of the training job was last modified.
25359	LastModifiedTime *time.Time `type:"timestamp"`
25360
25361	// Information about the Amazon S3 location that is configured for storing model
25362	// artifacts.
25363	//
25364	// ModelArtifacts is a required field
25365	ModelArtifacts *ModelArtifacts `type:"structure" required:"true"`
25366
25367	// The S3 path where model artifacts that you configured when creating the job
25368	// are stored. Amazon SageMaker creates subfolders for model artifacts.
25369	OutputDataConfig *OutputDataConfig `type:"structure"`
25370
25371	// Resources, including ML compute instances and ML storage volumes, that are
25372	// configured for model training.
25373	//
25374	// ResourceConfig is a required field
25375	ResourceConfig *ResourceConfig `type:"structure" required:"true"`
25376
25377	// The AWS Identity and Access Management (IAM) role configured for the training
25378	// job.
25379	RoleArn *string `min:"20" type:"string"`
25380
25381	// Provides detailed information about the state of the training job. For detailed
25382	// information on the secondary status of the training job, see StatusMessage
25383	// under SecondaryStatusTransition.
25384	//
25385	// Amazon SageMaker provides primary statuses and secondary statuses that apply
25386	// to each of them:
25387	//
25388	// InProgress
25389	//
25390	//    * Starting - Starting the training job.
25391	//
25392	//    * Downloading - An optional stage for algorithms that support File training
25393	//    input mode. It indicates that data is being downloaded to the ML storage
25394	//    volumes.
25395	//
25396	//    * Training - Training is in progress.
25397	//
25398	//    * Interrupted - The job stopped because the managed spot training instances
25399	//    were interrupted.
25400	//
25401	//    * Uploading - Training is complete and the model artifacts are being uploaded
25402	//    to the S3 location.
25403	//
25404	// Completed
25405	//
25406	//    * Completed - The training job has completed.
25407	//
25408	// Failed
25409	//
25410	//    * Failed - The training job has failed. The reason for the failure is
25411	//    returned in the FailureReason field of DescribeTrainingJobResponse.
25412	//
25413	// Stopped
25414	//
25415	//    * MaxRuntimeExceeded - The job stopped because it exceeded the maximum
25416	//    allowed runtime.
25417	//
25418	//    * MaxWaitTmeExceeded - The job stopped because it exceeded the maximum
25419	//    allowed wait time.
25420	//
25421	//    * Stopped - The training job has stopped.
25422	//
25423	// Stopping
25424	//
25425	//    * Stopping - Stopping the training job.
25426	//
25427	// Valid values for SecondaryStatus are subject to change.
25428	//
25429	// We no longer support the following secondary statuses:
25430	//
25431	//    * LaunchingMLInstances
25432	//
25433	//    * PreparingTrainingStack
25434	//
25435	//    * DownloadingTrainingImage
25436	//
25437	// SecondaryStatus is a required field
25438	SecondaryStatus *string `type:"string" required:"true" enum:"SecondaryStatus"`
25439
25440	// A history of all of the secondary statuses that the training job has transitioned
25441	// through.
25442	SecondaryStatusTransitions []*SecondaryStatusTransition `type:"list"`
25443
25444	// Specifies a limit to how long a model training job can run. It also specifies
25445	// the maximum time to wait for a spot instance. When the job reaches the time
25446	// limit, Amazon SageMaker ends the training job. Use this API to cap model
25447	// training costs.
25448	//
25449	// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
25450	// delays job termination for 120 seconds. Algorithms can use this 120-second
25451	// window to save the model artifacts, so the results of training are not lost.
25452	//
25453	// StoppingCondition is a required field
25454	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
25455
25456	// Configuration of storage locations for TensorBoard output.
25457	TensorBoardOutputConfig *TensorBoardOutputConfig `type:"structure"`
25458
25459	// Indicates the time when the training job ends on training instances. You
25460	// are billed for the time interval between the value of TrainingStartTime and
25461	// this time. For successful jobs and stopped jobs, this is the time after model
25462	// artifacts are uploaded. For failed jobs, this is the time when Amazon SageMaker
25463	// detects a job failure.
25464	TrainingEndTime *time.Time `type:"timestamp"`
25465
25466	// The Amazon Resource Name (ARN) of the training job.
25467	//
25468	// TrainingJobArn is a required field
25469	TrainingJobArn *string `type:"string" required:"true"`
25470
25471	// Name of the model training job.
25472	//
25473	// TrainingJobName is a required field
25474	TrainingJobName *string `min:"1" type:"string" required:"true"`
25475
25476	// The status of the training job.
25477	//
25478	// Amazon SageMaker provides the following training job statuses:
25479	//
25480	//    * InProgress - The training is in progress.
25481	//
25482	//    * Completed - The training job has completed.
25483	//
25484	//    * Failed - The training job has failed. To see the reason for the failure,
25485	//    see the FailureReason field in the response to a DescribeTrainingJobResponse
25486	//    call.
25487	//
25488	//    * Stopping - The training job is stopping.
25489	//
25490	//    * Stopped - The training job has stopped.
25491	//
25492	// For more detailed information, see SecondaryStatus.
25493	//
25494	// TrainingJobStatus is a required field
25495	TrainingJobStatus *string `type:"string" required:"true" enum:"TrainingJobStatus"`
25496
25497	// Indicates the time when the training job starts on training instances. You
25498	// are billed for the time interval between this time and the value of TrainingEndTime.
25499	// The start time in CloudWatch Logs might be later than this time. The difference
25500	// is due to the time it takes to download the training data and to the size
25501	// of the training container.
25502	TrainingStartTime *time.Time `type:"timestamp"`
25503
25504	// The training time in seconds.
25505	TrainingTimeInSeconds *int64 `min:"1" type:"integer"`
25506
25507	// The Amazon Resource Name (ARN) of the associated hyperparameter tuning job
25508	// if the training job was launched by a hyperparameter tuning job.
25509	TuningJobArn *string `type:"string"`
25510
25511	// A VpcConfig object that specifies the VPC that this training job has access
25512	// to. For more information, see Protect Training Jobs by Using an Amazon Virtual
25513	// Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
25514	VpcConfig *VpcConfig `type:"structure"`
25515}
25516
25517// String returns the string representation
25518func (s DescribeTrainingJobOutput) String() string {
25519	return awsutil.Prettify(s)
25520}
25521
25522// GoString returns the string representation
25523func (s DescribeTrainingJobOutput) GoString() string {
25524	return s.String()
25525}
25526
25527// SetAlgorithmSpecification sets the AlgorithmSpecification field's value.
25528func (s *DescribeTrainingJobOutput) SetAlgorithmSpecification(v *AlgorithmSpecification) *DescribeTrainingJobOutput {
25529	s.AlgorithmSpecification = v
25530	return s
25531}
25532
25533// SetAutoMLJobArn sets the AutoMLJobArn field's value.
25534func (s *DescribeTrainingJobOutput) SetAutoMLJobArn(v string) *DescribeTrainingJobOutput {
25535	s.AutoMLJobArn = &v
25536	return s
25537}
25538
25539// SetBillableTimeInSeconds sets the BillableTimeInSeconds field's value.
25540func (s *DescribeTrainingJobOutput) SetBillableTimeInSeconds(v int64) *DescribeTrainingJobOutput {
25541	s.BillableTimeInSeconds = &v
25542	return s
25543}
25544
25545// SetCheckpointConfig sets the CheckpointConfig field's value.
25546func (s *DescribeTrainingJobOutput) SetCheckpointConfig(v *CheckpointConfig) *DescribeTrainingJobOutput {
25547	s.CheckpointConfig = v
25548	return s
25549}
25550
25551// SetCreationTime sets the CreationTime field's value.
25552func (s *DescribeTrainingJobOutput) SetCreationTime(v time.Time) *DescribeTrainingJobOutput {
25553	s.CreationTime = &v
25554	return s
25555}
25556
25557// SetDebugHookConfig sets the DebugHookConfig field's value.
25558func (s *DescribeTrainingJobOutput) SetDebugHookConfig(v *DebugHookConfig) *DescribeTrainingJobOutput {
25559	s.DebugHookConfig = v
25560	return s
25561}
25562
25563// SetDebugRuleConfigurations sets the DebugRuleConfigurations field's value.
25564func (s *DescribeTrainingJobOutput) SetDebugRuleConfigurations(v []*DebugRuleConfiguration) *DescribeTrainingJobOutput {
25565	s.DebugRuleConfigurations = v
25566	return s
25567}
25568
25569// SetDebugRuleEvaluationStatuses sets the DebugRuleEvaluationStatuses field's value.
25570func (s *DescribeTrainingJobOutput) SetDebugRuleEvaluationStatuses(v []*DebugRuleEvaluationStatus) *DescribeTrainingJobOutput {
25571	s.DebugRuleEvaluationStatuses = v
25572	return s
25573}
25574
25575// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
25576func (s *DescribeTrainingJobOutput) SetEnableInterContainerTrafficEncryption(v bool) *DescribeTrainingJobOutput {
25577	s.EnableInterContainerTrafficEncryption = &v
25578	return s
25579}
25580
25581// SetEnableManagedSpotTraining sets the EnableManagedSpotTraining field's value.
25582func (s *DescribeTrainingJobOutput) SetEnableManagedSpotTraining(v bool) *DescribeTrainingJobOutput {
25583	s.EnableManagedSpotTraining = &v
25584	return s
25585}
25586
25587// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
25588func (s *DescribeTrainingJobOutput) SetEnableNetworkIsolation(v bool) *DescribeTrainingJobOutput {
25589	s.EnableNetworkIsolation = &v
25590	return s
25591}
25592
25593// SetExperimentConfig sets the ExperimentConfig field's value.
25594func (s *DescribeTrainingJobOutput) SetExperimentConfig(v *ExperimentConfig) *DescribeTrainingJobOutput {
25595	s.ExperimentConfig = v
25596	return s
25597}
25598
25599// SetFailureReason sets the FailureReason field's value.
25600func (s *DescribeTrainingJobOutput) SetFailureReason(v string) *DescribeTrainingJobOutput {
25601	s.FailureReason = &v
25602	return s
25603}
25604
25605// SetFinalMetricDataList sets the FinalMetricDataList field's value.
25606func (s *DescribeTrainingJobOutput) SetFinalMetricDataList(v []*MetricData) *DescribeTrainingJobOutput {
25607	s.FinalMetricDataList = v
25608	return s
25609}
25610
25611// SetHyperParameters sets the HyperParameters field's value.
25612func (s *DescribeTrainingJobOutput) SetHyperParameters(v map[string]*string) *DescribeTrainingJobOutput {
25613	s.HyperParameters = v
25614	return s
25615}
25616
25617// SetInputDataConfig sets the InputDataConfig field's value.
25618func (s *DescribeTrainingJobOutput) SetInputDataConfig(v []*Channel) *DescribeTrainingJobOutput {
25619	s.InputDataConfig = v
25620	return s
25621}
25622
25623// SetLabelingJobArn sets the LabelingJobArn field's value.
25624func (s *DescribeTrainingJobOutput) SetLabelingJobArn(v string) *DescribeTrainingJobOutput {
25625	s.LabelingJobArn = &v
25626	return s
25627}
25628
25629// SetLastModifiedTime sets the LastModifiedTime field's value.
25630func (s *DescribeTrainingJobOutput) SetLastModifiedTime(v time.Time) *DescribeTrainingJobOutput {
25631	s.LastModifiedTime = &v
25632	return s
25633}
25634
25635// SetModelArtifacts sets the ModelArtifacts field's value.
25636func (s *DescribeTrainingJobOutput) SetModelArtifacts(v *ModelArtifacts) *DescribeTrainingJobOutput {
25637	s.ModelArtifacts = v
25638	return s
25639}
25640
25641// SetOutputDataConfig sets the OutputDataConfig field's value.
25642func (s *DescribeTrainingJobOutput) SetOutputDataConfig(v *OutputDataConfig) *DescribeTrainingJobOutput {
25643	s.OutputDataConfig = v
25644	return s
25645}
25646
25647// SetResourceConfig sets the ResourceConfig field's value.
25648func (s *DescribeTrainingJobOutput) SetResourceConfig(v *ResourceConfig) *DescribeTrainingJobOutput {
25649	s.ResourceConfig = v
25650	return s
25651}
25652
25653// SetRoleArn sets the RoleArn field's value.
25654func (s *DescribeTrainingJobOutput) SetRoleArn(v string) *DescribeTrainingJobOutput {
25655	s.RoleArn = &v
25656	return s
25657}
25658
25659// SetSecondaryStatus sets the SecondaryStatus field's value.
25660func (s *DescribeTrainingJobOutput) SetSecondaryStatus(v string) *DescribeTrainingJobOutput {
25661	s.SecondaryStatus = &v
25662	return s
25663}
25664
25665// SetSecondaryStatusTransitions sets the SecondaryStatusTransitions field's value.
25666func (s *DescribeTrainingJobOutput) SetSecondaryStatusTransitions(v []*SecondaryStatusTransition) *DescribeTrainingJobOutput {
25667	s.SecondaryStatusTransitions = v
25668	return s
25669}
25670
25671// SetStoppingCondition sets the StoppingCondition field's value.
25672func (s *DescribeTrainingJobOutput) SetStoppingCondition(v *StoppingCondition) *DescribeTrainingJobOutput {
25673	s.StoppingCondition = v
25674	return s
25675}
25676
25677// SetTensorBoardOutputConfig sets the TensorBoardOutputConfig field's value.
25678func (s *DescribeTrainingJobOutput) SetTensorBoardOutputConfig(v *TensorBoardOutputConfig) *DescribeTrainingJobOutput {
25679	s.TensorBoardOutputConfig = v
25680	return s
25681}
25682
25683// SetTrainingEndTime sets the TrainingEndTime field's value.
25684func (s *DescribeTrainingJobOutput) SetTrainingEndTime(v time.Time) *DescribeTrainingJobOutput {
25685	s.TrainingEndTime = &v
25686	return s
25687}
25688
25689// SetTrainingJobArn sets the TrainingJobArn field's value.
25690func (s *DescribeTrainingJobOutput) SetTrainingJobArn(v string) *DescribeTrainingJobOutput {
25691	s.TrainingJobArn = &v
25692	return s
25693}
25694
25695// SetTrainingJobName sets the TrainingJobName field's value.
25696func (s *DescribeTrainingJobOutput) SetTrainingJobName(v string) *DescribeTrainingJobOutput {
25697	s.TrainingJobName = &v
25698	return s
25699}
25700
25701// SetTrainingJobStatus sets the TrainingJobStatus field's value.
25702func (s *DescribeTrainingJobOutput) SetTrainingJobStatus(v string) *DescribeTrainingJobOutput {
25703	s.TrainingJobStatus = &v
25704	return s
25705}
25706
25707// SetTrainingStartTime sets the TrainingStartTime field's value.
25708func (s *DescribeTrainingJobOutput) SetTrainingStartTime(v time.Time) *DescribeTrainingJobOutput {
25709	s.TrainingStartTime = &v
25710	return s
25711}
25712
25713// SetTrainingTimeInSeconds sets the TrainingTimeInSeconds field's value.
25714func (s *DescribeTrainingJobOutput) SetTrainingTimeInSeconds(v int64) *DescribeTrainingJobOutput {
25715	s.TrainingTimeInSeconds = &v
25716	return s
25717}
25718
25719// SetTuningJobArn sets the TuningJobArn field's value.
25720func (s *DescribeTrainingJobOutput) SetTuningJobArn(v string) *DescribeTrainingJobOutput {
25721	s.TuningJobArn = &v
25722	return s
25723}
25724
25725// SetVpcConfig sets the VpcConfig field's value.
25726func (s *DescribeTrainingJobOutput) SetVpcConfig(v *VpcConfig) *DescribeTrainingJobOutput {
25727	s.VpcConfig = v
25728	return s
25729}
25730
25731type DescribeTransformJobInput struct {
25732	_ struct{} `type:"structure"`
25733
25734	// The name of the transform job that you want to view details of.
25735	//
25736	// TransformJobName is a required field
25737	TransformJobName *string `min:"1" type:"string" required:"true"`
25738}
25739
25740// String returns the string representation
25741func (s DescribeTransformJobInput) String() string {
25742	return awsutil.Prettify(s)
25743}
25744
25745// GoString returns the string representation
25746func (s DescribeTransformJobInput) GoString() string {
25747	return s.String()
25748}
25749
25750// Validate inspects the fields of the type to determine if they are valid.
25751func (s *DescribeTransformJobInput) Validate() error {
25752	invalidParams := request.ErrInvalidParams{Context: "DescribeTransformJobInput"}
25753	if s.TransformJobName == nil {
25754		invalidParams.Add(request.NewErrParamRequired("TransformJobName"))
25755	}
25756	if s.TransformJobName != nil && len(*s.TransformJobName) < 1 {
25757		invalidParams.Add(request.NewErrParamMinLen("TransformJobName", 1))
25758	}
25759
25760	if invalidParams.Len() > 0 {
25761		return invalidParams
25762	}
25763	return nil
25764}
25765
25766// SetTransformJobName sets the TransformJobName field's value.
25767func (s *DescribeTransformJobInput) SetTransformJobName(v string) *DescribeTransformJobInput {
25768	s.TransformJobName = &v
25769	return s
25770}
25771
25772type DescribeTransformJobOutput struct {
25773	_ struct{} `type:"structure"`
25774
25775	// The Amazon Resource Name (ARN) of the AutoML transform job.
25776	AutoMLJobArn *string `min:"1" type:"string"`
25777
25778	// Specifies the number of records to include in a mini-batch for an HTTP inference
25779	// request. A record is a single unit of input data that inference can be made
25780	// on. For example, a single line in a CSV file is a record.
25781	//
25782	// To enable the batch strategy, you must set SplitType to Line, RecordIO, or
25783	// TFRecord.
25784	BatchStrategy *string `type:"string" enum:"BatchStrategy"`
25785
25786	// A timestamp that shows when the transform Job was created.
25787	//
25788	// CreationTime is a required field
25789	CreationTime *time.Time `type:"timestamp" required:"true"`
25790
25791	// The data structure used to specify the data to be used for inference in a
25792	// batch transform job and to associate the data that is relevant to the prediction
25793	// results in the output. The input filter provided allows you to exclude input
25794	// data that is not needed for inference in a batch transform job. The output
25795	// filter provided allows you to include input data relevant to interpreting
25796	// the predictions in the output from the job. For more information, see Associate
25797	// Prediction Results with their Corresponding Input Records (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html).
25798	DataProcessing *DataProcessing `type:"structure"`
25799
25800	// The environment variables to set in the Docker container. We support up to
25801	// 16 key and values entries in the map.
25802	Environment map[string]*string `type:"map"`
25803
25804	// Configuration for the experiment.
25805	ExperimentConfig *ExperimentConfig `type:"structure"`
25806
25807	// If the transform job failed, FailureReason describes why it failed. A transform
25808	// job creates a log file, which includes error messages, and stores it as an
25809	// Amazon S3 object. For more information, see Log Amazon SageMaker Events with
25810	// Amazon CloudWatch (https://docs.aws.amazon.com/sagemaker/latest/dg/logging-cloudwatch.html).
25811	FailureReason *string `type:"string"`
25812
25813	// The Amazon Resource Name (ARN) of the Amazon SageMaker Ground Truth labeling
25814	// job that created the transform or training job.
25815	LabelingJobArn *string `type:"string"`
25816
25817	// The maximum number of parallel requests on each instance node that can be
25818	// launched in a transform job. The default value is 1.
25819	MaxConcurrentTransforms *int64 `type:"integer"`
25820
25821	// The maximum payload size, in MB, used in the transform job.
25822	MaxPayloadInMB *int64 `type:"integer"`
25823
25824	// The timeout and maximum number of retries for processing a transform job
25825	// invocation.
25826	ModelClientConfig *ModelClientConfig `type:"structure"`
25827
25828	// The name of the model used in the transform job.
25829	//
25830	// ModelName is a required field
25831	ModelName *string `type:"string" required:"true"`
25832
25833	// Indicates when the transform job has been completed, or has stopped or failed.
25834	// You are billed for the time interval between this time and the value of TransformStartTime.
25835	TransformEndTime *time.Time `type:"timestamp"`
25836
25837	// Describes the dataset to be transformed and the Amazon S3 location where
25838	// it is stored.
25839	//
25840	// TransformInput is a required field
25841	TransformInput *TransformInput `type:"structure" required:"true"`
25842
25843	// The Amazon Resource Name (ARN) of the transform job.
25844	//
25845	// TransformJobArn is a required field
25846	TransformJobArn *string `type:"string" required:"true"`
25847
25848	// The name of the transform job.
25849	//
25850	// TransformJobName is a required field
25851	TransformJobName *string `min:"1" type:"string" required:"true"`
25852
25853	// The status of the transform job. If the transform job failed, the reason
25854	// is returned in the FailureReason field.
25855	//
25856	// TransformJobStatus is a required field
25857	TransformJobStatus *string `type:"string" required:"true" enum:"TransformJobStatus"`
25858
25859	// Identifies the Amazon S3 location where you want Amazon SageMaker to save
25860	// the results from the transform job.
25861	TransformOutput *TransformOutput `type:"structure"`
25862
25863	// Describes the resources, including ML instance types and ML instance count,
25864	// to use for the transform job.
25865	//
25866	// TransformResources is a required field
25867	TransformResources *TransformResources `type:"structure" required:"true"`
25868
25869	// Indicates when the transform job starts on ML instances. You are billed for
25870	// the time interval between this time and the value of TransformEndTime.
25871	TransformStartTime *time.Time `type:"timestamp"`
25872}
25873
25874// String returns the string representation
25875func (s DescribeTransformJobOutput) String() string {
25876	return awsutil.Prettify(s)
25877}
25878
25879// GoString returns the string representation
25880func (s DescribeTransformJobOutput) GoString() string {
25881	return s.String()
25882}
25883
25884// SetAutoMLJobArn sets the AutoMLJobArn field's value.
25885func (s *DescribeTransformJobOutput) SetAutoMLJobArn(v string) *DescribeTransformJobOutput {
25886	s.AutoMLJobArn = &v
25887	return s
25888}
25889
25890// SetBatchStrategy sets the BatchStrategy field's value.
25891func (s *DescribeTransformJobOutput) SetBatchStrategy(v string) *DescribeTransformJobOutput {
25892	s.BatchStrategy = &v
25893	return s
25894}
25895
25896// SetCreationTime sets the CreationTime field's value.
25897func (s *DescribeTransformJobOutput) SetCreationTime(v time.Time) *DescribeTransformJobOutput {
25898	s.CreationTime = &v
25899	return s
25900}
25901
25902// SetDataProcessing sets the DataProcessing field's value.
25903func (s *DescribeTransformJobOutput) SetDataProcessing(v *DataProcessing) *DescribeTransformJobOutput {
25904	s.DataProcessing = v
25905	return s
25906}
25907
25908// SetEnvironment sets the Environment field's value.
25909func (s *DescribeTransformJobOutput) SetEnvironment(v map[string]*string) *DescribeTransformJobOutput {
25910	s.Environment = v
25911	return s
25912}
25913
25914// SetExperimentConfig sets the ExperimentConfig field's value.
25915func (s *DescribeTransformJobOutput) SetExperimentConfig(v *ExperimentConfig) *DescribeTransformJobOutput {
25916	s.ExperimentConfig = v
25917	return s
25918}
25919
25920// SetFailureReason sets the FailureReason field's value.
25921func (s *DescribeTransformJobOutput) SetFailureReason(v string) *DescribeTransformJobOutput {
25922	s.FailureReason = &v
25923	return s
25924}
25925
25926// SetLabelingJobArn sets the LabelingJobArn field's value.
25927func (s *DescribeTransformJobOutput) SetLabelingJobArn(v string) *DescribeTransformJobOutput {
25928	s.LabelingJobArn = &v
25929	return s
25930}
25931
25932// SetMaxConcurrentTransforms sets the MaxConcurrentTransforms field's value.
25933func (s *DescribeTransformJobOutput) SetMaxConcurrentTransforms(v int64) *DescribeTransformJobOutput {
25934	s.MaxConcurrentTransforms = &v
25935	return s
25936}
25937
25938// SetMaxPayloadInMB sets the MaxPayloadInMB field's value.
25939func (s *DescribeTransformJobOutput) SetMaxPayloadInMB(v int64) *DescribeTransformJobOutput {
25940	s.MaxPayloadInMB = &v
25941	return s
25942}
25943
25944// SetModelClientConfig sets the ModelClientConfig field's value.
25945func (s *DescribeTransformJobOutput) SetModelClientConfig(v *ModelClientConfig) *DescribeTransformJobOutput {
25946	s.ModelClientConfig = v
25947	return s
25948}
25949
25950// SetModelName sets the ModelName field's value.
25951func (s *DescribeTransformJobOutput) SetModelName(v string) *DescribeTransformJobOutput {
25952	s.ModelName = &v
25953	return s
25954}
25955
25956// SetTransformEndTime sets the TransformEndTime field's value.
25957func (s *DescribeTransformJobOutput) SetTransformEndTime(v time.Time) *DescribeTransformJobOutput {
25958	s.TransformEndTime = &v
25959	return s
25960}
25961
25962// SetTransformInput sets the TransformInput field's value.
25963func (s *DescribeTransformJobOutput) SetTransformInput(v *TransformInput) *DescribeTransformJobOutput {
25964	s.TransformInput = v
25965	return s
25966}
25967
25968// SetTransformJobArn sets the TransformJobArn field's value.
25969func (s *DescribeTransformJobOutput) SetTransformJobArn(v string) *DescribeTransformJobOutput {
25970	s.TransformJobArn = &v
25971	return s
25972}
25973
25974// SetTransformJobName sets the TransformJobName field's value.
25975func (s *DescribeTransformJobOutput) SetTransformJobName(v string) *DescribeTransformJobOutput {
25976	s.TransformJobName = &v
25977	return s
25978}
25979
25980// SetTransformJobStatus sets the TransformJobStatus field's value.
25981func (s *DescribeTransformJobOutput) SetTransformJobStatus(v string) *DescribeTransformJobOutput {
25982	s.TransformJobStatus = &v
25983	return s
25984}
25985
25986// SetTransformOutput sets the TransformOutput field's value.
25987func (s *DescribeTransformJobOutput) SetTransformOutput(v *TransformOutput) *DescribeTransformJobOutput {
25988	s.TransformOutput = v
25989	return s
25990}
25991
25992// SetTransformResources sets the TransformResources field's value.
25993func (s *DescribeTransformJobOutput) SetTransformResources(v *TransformResources) *DescribeTransformJobOutput {
25994	s.TransformResources = v
25995	return s
25996}
25997
25998// SetTransformStartTime sets the TransformStartTime field's value.
25999func (s *DescribeTransformJobOutput) SetTransformStartTime(v time.Time) *DescribeTransformJobOutput {
26000	s.TransformStartTime = &v
26001	return s
26002}
26003
26004type DescribeTrialComponentInput struct {
26005	_ struct{} `type:"structure"`
26006
26007	// The name of the trial component to describe.
26008	//
26009	// TrialComponentName is a required field
26010	TrialComponentName *string `min:"1" type:"string" required:"true"`
26011}
26012
26013// String returns the string representation
26014func (s DescribeTrialComponentInput) String() string {
26015	return awsutil.Prettify(s)
26016}
26017
26018// GoString returns the string representation
26019func (s DescribeTrialComponentInput) GoString() string {
26020	return s.String()
26021}
26022
26023// Validate inspects the fields of the type to determine if they are valid.
26024func (s *DescribeTrialComponentInput) Validate() error {
26025	invalidParams := request.ErrInvalidParams{Context: "DescribeTrialComponentInput"}
26026	if s.TrialComponentName == nil {
26027		invalidParams.Add(request.NewErrParamRequired("TrialComponentName"))
26028	}
26029	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
26030		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
26031	}
26032
26033	if invalidParams.Len() > 0 {
26034		return invalidParams
26035	}
26036	return nil
26037}
26038
26039// SetTrialComponentName sets the TrialComponentName field's value.
26040func (s *DescribeTrialComponentInput) SetTrialComponentName(v string) *DescribeTrialComponentInput {
26041	s.TrialComponentName = &v
26042	return s
26043}
26044
26045type DescribeTrialComponentOutput struct {
26046	_ struct{} `type:"structure"`
26047
26048	// Who created the component.
26049	CreatedBy *UserContext `type:"structure"`
26050
26051	// When the component was created.
26052	CreationTime *time.Time `type:"timestamp"`
26053
26054	// The name of the component as displayed. If DisplayName isn't specified, TrialComponentName
26055	// is displayed.
26056	DisplayName *string `min:"1" type:"string"`
26057
26058	// When the component ended.
26059	EndTime *time.Time `type:"timestamp"`
26060
26061	// The input artifacts of the component.
26062	InputArtifacts map[string]*TrialComponentArtifact `type:"map"`
26063
26064	// Who last modified the component.
26065	LastModifiedBy *UserContext `type:"structure"`
26066
26067	// When the component was last modified.
26068	LastModifiedTime *time.Time `type:"timestamp"`
26069
26070	// The metrics for the component.
26071	Metrics []*TrialComponentMetricSummary `type:"list"`
26072
26073	// The output artifacts of the component.
26074	OutputArtifacts map[string]*TrialComponentArtifact `type:"map"`
26075
26076	// The hyperparameters of the component.
26077	Parameters map[string]*TrialComponentParameterValue `type:"map"`
26078
26079	// The Amazon Resource Name (ARN) of the source and, optionally, the job type.
26080	Source *TrialComponentSource `type:"structure"`
26081
26082	// When the component started.
26083	StartTime *time.Time `type:"timestamp"`
26084
26085	// The status of the component. States include:
26086	//
26087	//    * InProgress
26088	//
26089	//    * Completed
26090	//
26091	//    * Failed
26092	Status *TrialComponentStatus `type:"structure"`
26093
26094	// The Amazon Resource Name (ARN) of the trial component.
26095	TrialComponentArn *string `type:"string"`
26096
26097	// The name of the trial component.
26098	TrialComponentName *string `min:"1" type:"string"`
26099}
26100
26101// String returns the string representation
26102func (s DescribeTrialComponentOutput) String() string {
26103	return awsutil.Prettify(s)
26104}
26105
26106// GoString returns the string representation
26107func (s DescribeTrialComponentOutput) GoString() string {
26108	return s.String()
26109}
26110
26111// SetCreatedBy sets the CreatedBy field's value.
26112func (s *DescribeTrialComponentOutput) SetCreatedBy(v *UserContext) *DescribeTrialComponentOutput {
26113	s.CreatedBy = v
26114	return s
26115}
26116
26117// SetCreationTime sets the CreationTime field's value.
26118func (s *DescribeTrialComponentOutput) SetCreationTime(v time.Time) *DescribeTrialComponentOutput {
26119	s.CreationTime = &v
26120	return s
26121}
26122
26123// SetDisplayName sets the DisplayName field's value.
26124func (s *DescribeTrialComponentOutput) SetDisplayName(v string) *DescribeTrialComponentOutput {
26125	s.DisplayName = &v
26126	return s
26127}
26128
26129// SetEndTime sets the EndTime field's value.
26130func (s *DescribeTrialComponentOutput) SetEndTime(v time.Time) *DescribeTrialComponentOutput {
26131	s.EndTime = &v
26132	return s
26133}
26134
26135// SetInputArtifacts sets the InputArtifacts field's value.
26136func (s *DescribeTrialComponentOutput) SetInputArtifacts(v map[string]*TrialComponentArtifact) *DescribeTrialComponentOutput {
26137	s.InputArtifacts = v
26138	return s
26139}
26140
26141// SetLastModifiedBy sets the LastModifiedBy field's value.
26142func (s *DescribeTrialComponentOutput) SetLastModifiedBy(v *UserContext) *DescribeTrialComponentOutput {
26143	s.LastModifiedBy = v
26144	return s
26145}
26146
26147// SetLastModifiedTime sets the LastModifiedTime field's value.
26148func (s *DescribeTrialComponentOutput) SetLastModifiedTime(v time.Time) *DescribeTrialComponentOutput {
26149	s.LastModifiedTime = &v
26150	return s
26151}
26152
26153// SetMetrics sets the Metrics field's value.
26154func (s *DescribeTrialComponentOutput) SetMetrics(v []*TrialComponentMetricSummary) *DescribeTrialComponentOutput {
26155	s.Metrics = v
26156	return s
26157}
26158
26159// SetOutputArtifacts sets the OutputArtifacts field's value.
26160func (s *DescribeTrialComponentOutput) SetOutputArtifacts(v map[string]*TrialComponentArtifact) *DescribeTrialComponentOutput {
26161	s.OutputArtifacts = v
26162	return s
26163}
26164
26165// SetParameters sets the Parameters field's value.
26166func (s *DescribeTrialComponentOutput) SetParameters(v map[string]*TrialComponentParameterValue) *DescribeTrialComponentOutput {
26167	s.Parameters = v
26168	return s
26169}
26170
26171// SetSource sets the Source field's value.
26172func (s *DescribeTrialComponentOutput) SetSource(v *TrialComponentSource) *DescribeTrialComponentOutput {
26173	s.Source = v
26174	return s
26175}
26176
26177// SetStartTime sets the StartTime field's value.
26178func (s *DescribeTrialComponentOutput) SetStartTime(v time.Time) *DescribeTrialComponentOutput {
26179	s.StartTime = &v
26180	return s
26181}
26182
26183// SetStatus sets the Status field's value.
26184func (s *DescribeTrialComponentOutput) SetStatus(v *TrialComponentStatus) *DescribeTrialComponentOutput {
26185	s.Status = v
26186	return s
26187}
26188
26189// SetTrialComponentArn sets the TrialComponentArn field's value.
26190func (s *DescribeTrialComponentOutput) SetTrialComponentArn(v string) *DescribeTrialComponentOutput {
26191	s.TrialComponentArn = &v
26192	return s
26193}
26194
26195// SetTrialComponentName sets the TrialComponentName field's value.
26196func (s *DescribeTrialComponentOutput) SetTrialComponentName(v string) *DescribeTrialComponentOutput {
26197	s.TrialComponentName = &v
26198	return s
26199}
26200
26201type DescribeTrialInput struct {
26202	_ struct{} `type:"structure"`
26203
26204	// The name of the trial to describe.
26205	//
26206	// TrialName is a required field
26207	TrialName *string `min:"1" type:"string" required:"true"`
26208}
26209
26210// String returns the string representation
26211func (s DescribeTrialInput) String() string {
26212	return awsutil.Prettify(s)
26213}
26214
26215// GoString returns the string representation
26216func (s DescribeTrialInput) GoString() string {
26217	return s.String()
26218}
26219
26220// Validate inspects the fields of the type to determine if they are valid.
26221func (s *DescribeTrialInput) Validate() error {
26222	invalidParams := request.ErrInvalidParams{Context: "DescribeTrialInput"}
26223	if s.TrialName == nil {
26224		invalidParams.Add(request.NewErrParamRequired("TrialName"))
26225	}
26226	if s.TrialName != nil && len(*s.TrialName) < 1 {
26227		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
26228	}
26229
26230	if invalidParams.Len() > 0 {
26231		return invalidParams
26232	}
26233	return nil
26234}
26235
26236// SetTrialName sets the TrialName field's value.
26237func (s *DescribeTrialInput) SetTrialName(v string) *DescribeTrialInput {
26238	s.TrialName = &v
26239	return s
26240}
26241
26242type DescribeTrialOutput struct {
26243	_ struct{} `type:"structure"`
26244
26245	// Who created the trial.
26246	CreatedBy *UserContext `type:"structure"`
26247
26248	// When the trial was created.
26249	CreationTime *time.Time `type:"timestamp"`
26250
26251	// The name of the trial as displayed. If DisplayName isn't specified, TrialName
26252	// is displayed.
26253	DisplayName *string `min:"1" type:"string"`
26254
26255	// The name of the experiment the trial is part of.
26256	ExperimentName *string `min:"1" type:"string"`
26257
26258	// Who last modified the trial.
26259	LastModifiedBy *UserContext `type:"structure"`
26260
26261	// When the trial was last modified.
26262	LastModifiedTime *time.Time `type:"timestamp"`
26263
26264	// The Amazon Resource Name (ARN) of the source and, optionally, the job type.
26265	Source *TrialSource `type:"structure"`
26266
26267	// The Amazon Resource Name (ARN) of the trial.
26268	TrialArn *string `type:"string"`
26269
26270	// The name of the trial.
26271	TrialName *string `min:"1" type:"string"`
26272}
26273
26274// String returns the string representation
26275func (s DescribeTrialOutput) String() string {
26276	return awsutil.Prettify(s)
26277}
26278
26279// GoString returns the string representation
26280func (s DescribeTrialOutput) GoString() string {
26281	return s.String()
26282}
26283
26284// SetCreatedBy sets the CreatedBy field's value.
26285func (s *DescribeTrialOutput) SetCreatedBy(v *UserContext) *DescribeTrialOutput {
26286	s.CreatedBy = v
26287	return s
26288}
26289
26290// SetCreationTime sets the CreationTime field's value.
26291func (s *DescribeTrialOutput) SetCreationTime(v time.Time) *DescribeTrialOutput {
26292	s.CreationTime = &v
26293	return s
26294}
26295
26296// SetDisplayName sets the DisplayName field's value.
26297func (s *DescribeTrialOutput) SetDisplayName(v string) *DescribeTrialOutput {
26298	s.DisplayName = &v
26299	return s
26300}
26301
26302// SetExperimentName sets the ExperimentName field's value.
26303func (s *DescribeTrialOutput) SetExperimentName(v string) *DescribeTrialOutput {
26304	s.ExperimentName = &v
26305	return s
26306}
26307
26308// SetLastModifiedBy sets the LastModifiedBy field's value.
26309func (s *DescribeTrialOutput) SetLastModifiedBy(v *UserContext) *DescribeTrialOutput {
26310	s.LastModifiedBy = v
26311	return s
26312}
26313
26314// SetLastModifiedTime sets the LastModifiedTime field's value.
26315func (s *DescribeTrialOutput) SetLastModifiedTime(v time.Time) *DescribeTrialOutput {
26316	s.LastModifiedTime = &v
26317	return s
26318}
26319
26320// SetSource sets the Source field's value.
26321func (s *DescribeTrialOutput) SetSource(v *TrialSource) *DescribeTrialOutput {
26322	s.Source = v
26323	return s
26324}
26325
26326// SetTrialArn sets the TrialArn field's value.
26327func (s *DescribeTrialOutput) SetTrialArn(v string) *DescribeTrialOutput {
26328	s.TrialArn = &v
26329	return s
26330}
26331
26332// SetTrialName sets the TrialName field's value.
26333func (s *DescribeTrialOutput) SetTrialName(v string) *DescribeTrialOutput {
26334	s.TrialName = &v
26335	return s
26336}
26337
26338type DescribeUserProfileInput struct {
26339	_ struct{} `type:"structure"`
26340
26341	// The domain ID.
26342	//
26343	// DomainId is a required field
26344	DomainId *string `type:"string" required:"true"`
26345
26346	// The user profile name.
26347	//
26348	// UserProfileName is a required field
26349	UserProfileName *string `type:"string" required:"true"`
26350}
26351
26352// String returns the string representation
26353func (s DescribeUserProfileInput) String() string {
26354	return awsutil.Prettify(s)
26355}
26356
26357// GoString returns the string representation
26358func (s DescribeUserProfileInput) GoString() string {
26359	return s.String()
26360}
26361
26362// Validate inspects the fields of the type to determine if they are valid.
26363func (s *DescribeUserProfileInput) Validate() error {
26364	invalidParams := request.ErrInvalidParams{Context: "DescribeUserProfileInput"}
26365	if s.DomainId == nil {
26366		invalidParams.Add(request.NewErrParamRequired("DomainId"))
26367	}
26368	if s.UserProfileName == nil {
26369		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
26370	}
26371
26372	if invalidParams.Len() > 0 {
26373		return invalidParams
26374	}
26375	return nil
26376}
26377
26378// SetDomainId sets the DomainId field's value.
26379func (s *DescribeUserProfileInput) SetDomainId(v string) *DescribeUserProfileInput {
26380	s.DomainId = &v
26381	return s
26382}
26383
26384// SetUserProfileName sets the UserProfileName field's value.
26385func (s *DescribeUserProfileInput) SetUserProfileName(v string) *DescribeUserProfileInput {
26386	s.UserProfileName = &v
26387	return s
26388}
26389
26390type DescribeUserProfileOutput struct {
26391	_ struct{} `type:"structure"`
26392
26393	// The creation time.
26394	CreationTime *time.Time `type:"timestamp"`
26395
26396	// The ID of the domain that contains the profile.
26397	DomainId *string `type:"string"`
26398
26399	// The failure reason.
26400	FailureReason *string `type:"string"`
26401
26402	// The ID of the user's profile in the Amazon Elastic File System (EFS) volume.
26403	HomeEfsFileSystemUid *string `type:"string"`
26404
26405	// The last modified time.
26406	LastModifiedTime *time.Time `type:"timestamp"`
26407
26408	// The SSO user identifier.
26409	SingleSignOnUserIdentifier *string `type:"string"`
26410
26411	// The SSO user value.
26412	SingleSignOnUserValue *string `type:"string"`
26413
26414	// The status.
26415	Status *string `type:"string" enum:"UserProfileStatus"`
26416
26417	// The user profile Amazon Resource Name (ARN).
26418	UserProfileArn *string `type:"string"`
26419
26420	// The user profile name.
26421	UserProfileName *string `type:"string"`
26422
26423	// A collection of settings.
26424	UserSettings *UserSettings `type:"structure"`
26425}
26426
26427// String returns the string representation
26428func (s DescribeUserProfileOutput) String() string {
26429	return awsutil.Prettify(s)
26430}
26431
26432// GoString returns the string representation
26433func (s DescribeUserProfileOutput) GoString() string {
26434	return s.String()
26435}
26436
26437// SetCreationTime sets the CreationTime field's value.
26438func (s *DescribeUserProfileOutput) SetCreationTime(v time.Time) *DescribeUserProfileOutput {
26439	s.CreationTime = &v
26440	return s
26441}
26442
26443// SetDomainId sets the DomainId field's value.
26444func (s *DescribeUserProfileOutput) SetDomainId(v string) *DescribeUserProfileOutput {
26445	s.DomainId = &v
26446	return s
26447}
26448
26449// SetFailureReason sets the FailureReason field's value.
26450func (s *DescribeUserProfileOutput) SetFailureReason(v string) *DescribeUserProfileOutput {
26451	s.FailureReason = &v
26452	return s
26453}
26454
26455// SetHomeEfsFileSystemUid sets the HomeEfsFileSystemUid field's value.
26456func (s *DescribeUserProfileOutput) SetHomeEfsFileSystemUid(v string) *DescribeUserProfileOutput {
26457	s.HomeEfsFileSystemUid = &v
26458	return s
26459}
26460
26461// SetLastModifiedTime sets the LastModifiedTime field's value.
26462func (s *DescribeUserProfileOutput) SetLastModifiedTime(v time.Time) *DescribeUserProfileOutput {
26463	s.LastModifiedTime = &v
26464	return s
26465}
26466
26467// SetSingleSignOnUserIdentifier sets the SingleSignOnUserIdentifier field's value.
26468func (s *DescribeUserProfileOutput) SetSingleSignOnUserIdentifier(v string) *DescribeUserProfileOutput {
26469	s.SingleSignOnUserIdentifier = &v
26470	return s
26471}
26472
26473// SetSingleSignOnUserValue sets the SingleSignOnUserValue field's value.
26474func (s *DescribeUserProfileOutput) SetSingleSignOnUserValue(v string) *DescribeUserProfileOutput {
26475	s.SingleSignOnUserValue = &v
26476	return s
26477}
26478
26479// SetStatus sets the Status field's value.
26480func (s *DescribeUserProfileOutput) SetStatus(v string) *DescribeUserProfileOutput {
26481	s.Status = &v
26482	return s
26483}
26484
26485// SetUserProfileArn sets the UserProfileArn field's value.
26486func (s *DescribeUserProfileOutput) SetUserProfileArn(v string) *DescribeUserProfileOutput {
26487	s.UserProfileArn = &v
26488	return s
26489}
26490
26491// SetUserProfileName sets the UserProfileName field's value.
26492func (s *DescribeUserProfileOutput) SetUserProfileName(v string) *DescribeUserProfileOutput {
26493	s.UserProfileName = &v
26494	return s
26495}
26496
26497// SetUserSettings sets the UserSettings field's value.
26498func (s *DescribeUserProfileOutput) SetUserSettings(v *UserSettings) *DescribeUserProfileOutput {
26499	s.UserSettings = v
26500	return s
26501}
26502
26503type DescribeWorkforceInput struct {
26504	_ struct{} `type:"structure"`
26505
26506	// The name of the private workforce whose access you want to restrict. WorkforceName
26507	// is automatically set to default when a workforce is created and cannot be
26508	// modified.
26509	//
26510	// WorkforceName is a required field
26511	WorkforceName *string `min:"1" type:"string" required:"true"`
26512}
26513
26514// String returns the string representation
26515func (s DescribeWorkforceInput) String() string {
26516	return awsutil.Prettify(s)
26517}
26518
26519// GoString returns the string representation
26520func (s DescribeWorkforceInput) GoString() string {
26521	return s.String()
26522}
26523
26524// Validate inspects the fields of the type to determine if they are valid.
26525func (s *DescribeWorkforceInput) Validate() error {
26526	invalidParams := request.ErrInvalidParams{Context: "DescribeWorkforceInput"}
26527	if s.WorkforceName == nil {
26528		invalidParams.Add(request.NewErrParamRequired("WorkforceName"))
26529	}
26530	if s.WorkforceName != nil && len(*s.WorkforceName) < 1 {
26531		invalidParams.Add(request.NewErrParamMinLen("WorkforceName", 1))
26532	}
26533
26534	if invalidParams.Len() > 0 {
26535		return invalidParams
26536	}
26537	return nil
26538}
26539
26540// SetWorkforceName sets the WorkforceName field's value.
26541func (s *DescribeWorkforceInput) SetWorkforceName(v string) *DescribeWorkforceInput {
26542	s.WorkforceName = &v
26543	return s
26544}
26545
26546type DescribeWorkforceOutput struct {
26547	_ struct{} `type:"structure"`
26548
26549	// A single private workforce, which is automatically created when you create
26550	// your first private work team. You can create one private work force in each
26551	// AWS Region. By default, any workforce-related API operation used in a specific
26552	// region will apply to the workforce created in that region. To learn how to
26553	// create a private workforce, see Create a Private Workforce (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html).
26554	//
26555	// Workforce is a required field
26556	Workforce *Workforce `type:"structure" required:"true"`
26557}
26558
26559// String returns the string representation
26560func (s DescribeWorkforceOutput) String() string {
26561	return awsutil.Prettify(s)
26562}
26563
26564// GoString returns the string representation
26565func (s DescribeWorkforceOutput) GoString() string {
26566	return s.String()
26567}
26568
26569// SetWorkforce sets the Workforce field's value.
26570func (s *DescribeWorkforceOutput) SetWorkforce(v *Workforce) *DescribeWorkforceOutput {
26571	s.Workforce = v
26572	return s
26573}
26574
26575type DescribeWorkteamInput struct {
26576	_ struct{} `type:"structure"`
26577
26578	// The name of the work team to return a description of.
26579	//
26580	// WorkteamName is a required field
26581	WorkteamName *string `min:"1" type:"string" required:"true"`
26582}
26583
26584// String returns the string representation
26585func (s DescribeWorkteamInput) String() string {
26586	return awsutil.Prettify(s)
26587}
26588
26589// GoString returns the string representation
26590func (s DescribeWorkteamInput) GoString() string {
26591	return s.String()
26592}
26593
26594// Validate inspects the fields of the type to determine if they are valid.
26595func (s *DescribeWorkteamInput) Validate() error {
26596	invalidParams := request.ErrInvalidParams{Context: "DescribeWorkteamInput"}
26597	if s.WorkteamName == nil {
26598		invalidParams.Add(request.NewErrParamRequired("WorkteamName"))
26599	}
26600	if s.WorkteamName != nil && len(*s.WorkteamName) < 1 {
26601		invalidParams.Add(request.NewErrParamMinLen("WorkteamName", 1))
26602	}
26603
26604	if invalidParams.Len() > 0 {
26605		return invalidParams
26606	}
26607	return nil
26608}
26609
26610// SetWorkteamName sets the WorkteamName field's value.
26611func (s *DescribeWorkteamInput) SetWorkteamName(v string) *DescribeWorkteamInput {
26612	s.WorkteamName = &v
26613	return s
26614}
26615
26616type DescribeWorkteamOutput struct {
26617	_ struct{} `type:"structure"`
26618
26619	// A Workteam instance that contains information about the work team.
26620	//
26621	// Workteam is a required field
26622	Workteam *Workteam `type:"structure" required:"true"`
26623}
26624
26625// String returns the string representation
26626func (s DescribeWorkteamOutput) String() string {
26627	return awsutil.Prettify(s)
26628}
26629
26630// GoString returns the string representation
26631func (s DescribeWorkteamOutput) GoString() string {
26632	return s.String()
26633}
26634
26635// SetWorkteam sets the Workteam field's value.
26636func (s *DescribeWorkteamOutput) SetWorkteam(v *Workteam) *DescribeWorkteamOutput {
26637	s.Workteam = v
26638	return s
26639}
26640
26641// Specifies weight and capacity values for a production variant.
26642type DesiredWeightAndCapacity struct {
26643	_ struct{} `type:"structure"`
26644
26645	// The variant's capacity.
26646	DesiredInstanceCount *int64 `min:"1" type:"integer"`
26647
26648	// The variant's weight.
26649	DesiredWeight *float64 `type:"float"`
26650
26651	// The name of the variant to update.
26652	//
26653	// VariantName is a required field
26654	VariantName *string `type:"string" required:"true"`
26655}
26656
26657// String returns the string representation
26658func (s DesiredWeightAndCapacity) String() string {
26659	return awsutil.Prettify(s)
26660}
26661
26662// GoString returns the string representation
26663func (s DesiredWeightAndCapacity) GoString() string {
26664	return s.String()
26665}
26666
26667// Validate inspects the fields of the type to determine if they are valid.
26668func (s *DesiredWeightAndCapacity) Validate() error {
26669	invalidParams := request.ErrInvalidParams{Context: "DesiredWeightAndCapacity"}
26670	if s.DesiredInstanceCount != nil && *s.DesiredInstanceCount < 1 {
26671		invalidParams.Add(request.NewErrParamMinValue("DesiredInstanceCount", 1))
26672	}
26673	if s.VariantName == nil {
26674		invalidParams.Add(request.NewErrParamRequired("VariantName"))
26675	}
26676
26677	if invalidParams.Len() > 0 {
26678		return invalidParams
26679	}
26680	return nil
26681}
26682
26683// SetDesiredInstanceCount sets the DesiredInstanceCount field's value.
26684func (s *DesiredWeightAndCapacity) SetDesiredInstanceCount(v int64) *DesiredWeightAndCapacity {
26685	s.DesiredInstanceCount = &v
26686	return s
26687}
26688
26689// SetDesiredWeight sets the DesiredWeight field's value.
26690func (s *DesiredWeightAndCapacity) SetDesiredWeight(v float64) *DesiredWeightAndCapacity {
26691	s.DesiredWeight = &v
26692	return s
26693}
26694
26695// SetVariantName sets the VariantName field's value.
26696func (s *DesiredWeightAndCapacity) SetVariantName(v string) *DesiredWeightAndCapacity {
26697	s.VariantName = &v
26698	return s
26699}
26700
26701type DisassociateTrialComponentInput struct {
26702	_ struct{} `type:"structure"`
26703
26704	// The name of the component to disassociate from the trial.
26705	//
26706	// TrialComponentName is a required field
26707	TrialComponentName *string `min:"1" type:"string" required:"true"`
26708
26709	// The name of the trial to disassociate from.
26710	//
26711	// TrialName is a required field
26712	TrialName *string `min:"1" type:"string" required:"true"`
26713}
26714
26715// String returns the string representation
26716func (s DisassociateTrialComponentInput) String() string {
26717	return awsutil.Prettify(s)
26718}
26719
26720// GoString returns the string representation
26721func (s DisassociateTrialComponentInput) GoString() string {
26722	return s.String()
26723}
26724
26725// Validate inspects the fields of the type to determine if they are valid.
26726func (s *DisassociateTrialComponentInput) Validate() error {
26727	invalidParams := request.ErrInvalidParams{Context: "DisassociateTrialComponentInput"}
26728	if s.TrialComponentName == nil {
26729		invalidParams.Add(request.NewErrParamRequired("TrialComponentName"))
26730	}
26731	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
26732		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
26733	}
26734	if s.TrialName == nil {
26735		invalidParams.Add(request.NewErrParamRequired("TrialName"))
26736	}
26737	if s.TrialName != nil && len(*s.TrialName) < 1 {
26738		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
26739	}
26740
26741	if invalidParams.Len() > 0 {
26742		return invalidParams
26743	}
26744	return nil
26745}
26746
26747// SetTrialComponentName sets the TrialComponentName field's value.
26748func (s *DisassociateTrialComponentInput) SetTrialComponentName(v string) *DisassociateTrialComponentInput {
26749	s.TrialComponentName = &v
26750	return s
26751}
26752
26753// SetTrialName sets the TrialName field's value.
26754func (s *DisassociateTrialComponentInput) SetTrialName(v string) *DisassociateTrialComponentInput {
26755	s.TrialName = &v
26756	return s
26757}
26758
26759type DisassociateTrialComponentOutput struct {
26760	_ struct{} `type:"structure"`
26761
26762	// The Amazon Resource Name (ARN) of the trial.
26763	TrialArn *string `type:"string"`
26764
26765	// The ARN of the trial component.
26766	TrialComponentArn *string `type:"string"`
26767}
26768
26769// String returns the string representation
26770func (s DisassociateTrialComponentOutput) String() string {
26771	return awsutil.Prettify(s)
26772}
26773
26774// GoString returns the string representation
26775func (s DisassociateTrialComponentOutput) GoString() string {
26776	return s.String()
26777}
26778
26779// SetTrialArn sets the TrialArn field's value.
26780func (s *DisassociateTrialComponentOutput) SetTrialArn(v string) *DisassociateTrialComponentOutput {
26781	s.TrialArn = &v
26782	return s
26783}
26784
26785// SetTrialComponentArn sets the TrialComponentArn field's value.
26786func (s *DisassociateTrialComponentOutput) SetTrialComponentArn(v string) *DisassociateTrialComponentOutput {
26787	s.TrialComponentArn = &v
26788	return s
26789}
26790
26791// The domain's details.
26792type DomainDetails struct {
26793	_ struct{} `type:"structure"`
26794
26795	// The creation time.
26796	CreationTime *time.Time `type:"timestamp"`
26797
26798	// The domain's Amazon Resource Name (ARN).
26799	DomainArn *string `type:"string"`
26800
26801	// The domain ID.
26802	DomainId *string `type:"string"`
26803
26804	// The domain name.
26805	DomainName *string `type:"string"`
26806
26807	// The last modified time.
26808	LastModifiedTime *time.Time `type:"timestamp"`
26809
26810	// The status.
26811	Status *string `type:"string" enum:"DomainStatus"`
26812
26813	// The domain's URL.
26814	Url *string `type:"string"`
26815}
26816
26817// String returns the string representation
26818func (s DomainDetails) String() string {
26819	return awsutil.Prettify(s)
26820}
26821
26822// GoString returns the string representation
26823func (s DomainDetails) GoString() string {
26824	return s.String()
26825}
26826
26827// SetCreationTime sets the CreationTime field's value.
26828func (s *DomainDetails) SetCreationTime(v time.Time) *DomainDetails {
26829	s.CreationTime = &v
26830	return s
26831}
26832
26833// SetDomainArn sets the DomainArn field's value.
26834func (s *DomainDetails) SetDomainArn(v string) *DomainDetails {
26835	s.DomainArn = &v
26836	return s
26837}
26838
26839// SetDomainId sets the DomainId field's value.
26840func (s *DomainDetails) SetDomainId(v string) *DomainDetails {
26841	s.DomainId = &v
26842	return s
26843}
26844
26845// SetDomainName sets the DomainName field's value.
26846func (s *DomainDetails) SetDomainName(v string) *DomainDetails {
26847	s.DomainName = &v
26848	return s
26849}
26850
26851// SetLastModifiedTime sets the LastModifiedTime field's value.
26852func (s *DomainDetails) SetLastModifiedTime(v time.Time) *DomainDetails {
26853	s.LastModifiedTime = &v
26854	return s
26855}
26856
26857// SetStatus sets the Status field's value.
26858func (s *DomainDetails) SetStatus(v string) *DomainDetails {
26859	s.Status = &v
26860	return s
26861}
26862
26863// SetUrl sets the Url field's value.
26864func (s *DomainDetails) SetUrl(v string) *DomainDetails {
26865	s.Url = &v
26866	return s
26867}
26868
26869// Provides summary information for an endpoint configuration.
26870type EndpointConfigSummary struct {
26871	_ struct{} `type:"structure"`
26872
26873	// A timestamp that shows when the endpoint configuration was created.
26874	//
26875	// CreationTime is a required field
26876	CreationTime *time.Time `type:"timestamp" required:"true"`
26877
26878	// The Amazon Resource Name (ARN) of the endpoint configuration.
26879	//
26880	// EndpointConfigArn is a required field
26881	EndpointConfigArn *string `min:"20" type:"string" required:"true"`
26882
26883	// The name of the endpoint configuration.
26884	//
26885	// EndpointConfigName is a required field
26886	EndpointConfigName *string `type:"string" required:"true"`
26887}
26888
26889// String returns the string representation
26890func (s EndpointConfigSummary) String() string {
26891	return awsutil.Prettify(s)
26892}
26893
26894// GoString returns the string representation
26895func (s EndpointConfigSummary) GoString() string {
26896	return s.String()
26897}
26898
26899// SetCreationTime sets the CreationTime field's value.
26900func (s *EndpointConfigSummary) SetCreationTime(v time.Time) *EndpointConfigSummary {
26901	s.CreationTime = &v
26902	return s
26903}
26904
26905// SetEndpointConfigArn sets the EndpointConfigArn field's value.
26906func (s *EndpointConfigSummary) SetEndpointConfigArn(v string) *EndpointConfigSummary {
26907	s.EndpointConfigArn = &v
26908	return s
26909}
26910
26911// SetEndpointConfigName sets the EndpointConfigName field's value.
26912func (s *EndpointConfigSummary) SetEndpointConfigName(v string) *EndpointConfigSummary {
26913	s.EndpointConfigName = &v
26914	return s
26915}
26916
26917// Input object for the endpoint
26918type EndpointInput struct {
26919	_ struct{} `type:"structure"`
26920
26921	// An endpoint in customer's account which has enabled DataCaptureConfig enabled.
26922	//
26923	// EndpointName is a required field
26924	EndpointName *string `type:"string" required:"true"`
26925
26926	// Path to the filesystem where the endpoint data is available to the container.
26927	//
26928	// LocalPath is a required field
26929	LocalPath *string `type:"string" required:"true"`
26930
26931	// Whether input data distributed in Amazon S3 is fully replicated or sharded
26932	// by an S3 key. Defauts to FullyReplicated
26933	S3DataDistributionType *string `type:"string" enum:"ProcessingS3DataDistributionType"`
26934
26935	// Whether the Pipe or File is used as the input mode for transfering data for
26936	// the monitoring job. Pipe mode is recommended for large datasets. File mode
26937	// is useful for small files that fit in memory. Defaults to File.
26938	S3InputMode *string `type:"string" enum:"ProcessingS3InputMode"`
26939}
26940
26941// String returns the string representation
26942func (s EndpointInput) String() string {
26943	return awsutil.Prettify(s)
26944}
26945
26946// GoString returns the string representation
26947func (s EndpointInput) GoString() string {
26948	return s.String()
26949}
26950
26951// Validate inspects the fields of the type to determine if they are valid.
26952func (s *EndpointInput) Validate() error {
26953	invalidParams := request.ErrInvalidParams{Context: "EndpointInput"}
26954	if s.EndpointName == nil {
26955		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
26956	}
26957	if s.LocalPath == nil {
26958		invalidParams.Add(request.NewErrParamRequired("LocalPath"))
26959	}
26960
26961	if invalidParams.Len() > 0 {
26962		return invalidParams
26963	}
26964	return nil
26965}
26966
26967// SetEndpointName sets the EndpointName field's value.
26968func (s *EndpointInput) SetEndpointName(v string) *EndpointInput {
26969	s.EndpointName = &v
26970	return s
26971}
26972
26973// SetLocalPath sets the LocalPath field's value.
26974func (s *EndpointInput) SetLocalPath(v string) *EndpointInput {
26975	s.LocalPath = &v
26976	return s
26977}
26978
26979// SetS3DataDistributionType sets the S3DataDistributionType field's value.
26980func (s *EndpointInput) SetS3DataDistributionType(v string) *EndpointInput {
26981	s.S3DataDistributionType = &v
26982	return s
26983}
26984
26985// SetS3InputMode sets the S3InputMode field's value.
26986func (s *EndpointInput) SetS3InputMode(v string) *EndpointInput {
26987	s.S3InputMode = &v
26988	return s
26989}
26990
26991// Provides summary information for an endpoint.
26992type EndpointSummary struct {
26993	_ struct{} `type:"structure"`
26994
26995	// A timestamp that shows when the endpoint was created.
26996	//
26997	// CreationTime is a required field
26998	CreationTime *time.Time `type:"timestamp" required:"true"`
26999
27000	// The Amazon Resource Name (ARN) of the endpoint.
27001	//
27002	// EndpointArn is a required field
27003	EndpointArn *string `min:"20" type:"string" required:"true"`
27004
27005	// The name of the endpoint.
27006	//
27007	// EndpointName is a required field
27008	EndpointName *string `type:"string" required:"true"`
27009
27010	// The status of the endpoint.
27011	//
27012	//    * OutOfService: Endpoint is not available to take incoming requests.
27013	//
27014	//    * Creating: CreateEndpoint is executing.
27015	//
27016	//    * Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing.
27017	//
27018	//    * SystemUpdating: Endpoint is undergoing maintenance and cannot be updated
27019	//    or deleted or re-scaled until it has completed. This maintenance operation
27020	//    does not change any customer-specified values such as VPC config, KMS
27021	//    encryption, model, instance type, or instance count.
27022	//
27023	//    * RollingBack: Endpoint fails to scale up or down or change its variant
27024	//    weight and is in the process of rolling back to its previous configuration.
27025	//    Once the rollback completes, endpoint returns to an InService status.
27026	//    This transitional status only applies to an endpoint that has autoscaling
27027	//    enabled and is undergoing variant weight or capacity changes as part of
27028	//    an UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities
27029	//    operation is called explicitly.
27030	//
27031	//    * InService: Endpoint is available to process incoming requests.
27032	//
27033	//    * Deleting: DeleteEndpoint is executing.
27034	//
27035	//    * Failed: Endpoint could not be created, updated, or re-scaled. Use DescribeEndpointOutput$FailureReason
27036	//    for information about the failure. DeleteEndpoint is the only operation
27037	//    that can be performed on a failed endpoint.
27038	//
27039	// To get a list of endpoints with a specified status, use the ListEndpointsInput$StatusEquals
27040	// filter.
27041	//
27042	// EndpointStatus is a required field
27043	EndpointStatus *string `type:"string" required:"true" enum:"EndpointStatus"`
27044
27045	// A timestamp that shows when the endpoint was last modified.
27046	//
27047	// LastModifiedTime is a required field
27048	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
27049}
27050
27051// String returns the string representation
27052func (s EndpointSummary) String() string {
27053	return awsutil.Prettify(s)
27054}
27055
27056// GoString returns the string representation
27057func (s EndpointSummary) GoString() string {
27058	return s.String()
27059}
27060
27061// SetCreationTime sets the CreationTime field's value.
27062func (s *EndpointSummary) SetCreationTime(v time.Time) *EndpointSummary {
27063	s.CreationTime = &v
27064	return s
27065}
27066
27067// SetEndpointArn sets the EndpointArn field's value.
27068func (s *EndpointSummary) SetEndpointArn(v string) *EndpointSummary {
27069	s.EndpointArn = &v
27070	return s
27071}
27072
27073// SetEndpointName sets the EndpointName field's value.
27074func (s *EndpointSummary) SetEndpointName(v string) *EndpointSummary {
27075	s.EndpointName = &v
27076	return s
27077}
27078
27079// SetEndpointStatus sets the EndpointStatus field's value.
27080func (s *EndpointSummary) SetEndpointStatus(v string) *EndpointSummary {
27081	s.EndpointStatus = &v
27082	return s
27083}
27084
27085// SetLastModifiedTime sets the LastModifiedTime field's value.
27086func (s *EndpointSummary) SetLastModifiedTime(v time.Time) *EndpointSummary {
27087	s.LastModifiedTime = &v
27088	return s
27089}
27090
27091// The properties of an experiment as returned by the Search API.
27092type Experiment struct {
27093	_ struct{} `type:"structure"`
27094
27095	// Information about the user who created or modified an experiment, trial,
27096	// or trial component.
27097	CreatedBy *UserContext `type:"structure"`
27098
27099	// When the experiment was created.
27100	CreationTime *time.Time `type:"timestamp"`
27101
27102	// The description of the experiment.
27103	Description *string `type:"string"`
27104
27105	// The name of the experiment as displayed. If DisplayName isn't specified,
27106	// ExperimentName is displayed.
27107	DisplayName *string `min:"1" type:"string"`
27108
27109	// The Amazon Resource Name (ARN) of the experiment.
27110	ExperimentArn *string `type:"string"`
27111
27112	// The name of the experiment.
27113	ExperimentName *string `min:"1" type:"string"`
27114
27115	// Information about the user who created or modified an experiment, trial,
27116	// or trial component.
27117	LastModifiedBy *UserContext `type:"structure"`
27118
27119	// When the experiment was last modified.
27120	LastModifiedTime *time.Time `type:"timestamp"`
27121
27122	// The source of the experiment.
27123	Source *ExperimentSource `type:"structure"`
27124
27125	// The list of tags that are associated with the experiment. You can use Search
27126	// API to search on the tags.
27127	Tags []*Tag `type:"list"`
27128}
27129
27130// String returns the string representation
27131func (s Experiment) String() string {
27132	return awsutil.Prettify(s)
27133}
27134
27135// GoString returns the string representation
27136func (s Experiment) GoString() string {
27137	return s.String()
27138}
27139
27140// SetCreatedBy sets the CreatedBy field's value.
27141func (s *Experiment) SetCreatedBy(v *UserContext) *Experiment {
27142	s.CreatedBy = v
27143	return s
27144}
27145
27146// SetCreationTime sets the CreationTime field's value.
27147func (s *Experiment) SetCreationTime(v time.Time) *Experiment {
27148	s.CreationTime = &v
27149	return s
27150}
27151
27152// SetDescription sets the Description field's value.
27153func (s *Experiment) SetDescription(v string) *Experiment {
27154	s.Description = &v
27155	return s
27156}
27157
27158// SetDisplayName sets the DisplayName field's value.
27159func (s *Experiment) SetDisplayName(v string) *Experiment {
27160	s.DisplayName = &v
27161	return s
27162}
27163
27164// SetExperimentArn sets the ExperimentArn field's value.
27165func (s *Experiment) SetExperimentArn(v string) *Experiment {
27166	s.ExperimentArn = &v
27167	return s
27168}
27169
27170// SetExperimentName sets the ExperimentName field's value.
27171func (s *Experiment) SetExperimentName(v string) *Experiment {
27172	s.ExperimentName = &v
27173	return s
27174}
27175
27176// SetLastModifiedBy sets the LastModifiedBy field's value.
27177func (s *Experiment) SetLastModifiedBy(v *UserContext) *Experiment {
27178	s.LastModifiedBy = v
27179	return s
27180}
27181
27182// SetLastModifiedTime sets the LastModifiedTime field's value.
27183func (s *Experiment) SetLastModifiedTime(v time.Time) *Experiment {
27184	s.LastModifiedTime = &v
27185	return s
27186}
27187
27188// SetSource sets the Source field's value.
27189func (s *Experiment) SetSource(v *ExperimentSource) *Experiment {
27190	s.Source = v
27191	return s
27192}
27193
27194// SetTags sets the Tags field's value.
27195func (s *Experiment) SetTags(v []*Tag) *Experiment {
27196	s.Tags = v
27197	return s
27198}
27199
27200// Configuration for the experiment.
27201type ExperimentConfig struct {
27202	_ struct{} `type:"structure"`
27203
27204	// The name of the experiment.
27205	ExperimentName *string `min:"1" type:"string"`
27206
27207	// Display name for the trial component.
27208	TrialComponentDisplayName *string `min:"1" type:"string"`
27209
27210	// The name of the trial.
27211	TrialName *string `min:"1" type:"string"`
27212}
27213
27214// String returns the string representation
27215func (s ExperimentConfig) String() string {
27216	return awsutil.Prettify(s)
27217}
27218
27219// GoString returns the string representation
27220func (s ExperimentConfig) GoString() string {
27221	return s.String()
27222}
27223
27224// Validate inspects the fields of the type to determine if they are valid.
27225func (s *ExperimentConfig) Validate() error {
27226	invalidParams := request.ErrInvalidParams{Context: "ExperimentConfig"}
27227	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
27228		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
27229	}
27230	if s.TrialComponentDisplayName != nil && len(*s.TrialComponentDisplayName) < 1 {
27231		invalidParams.Add(request.NewErrParamMinLen("TrialComponentDisplayName", 1))
27232	}
27233	if s.TrialName != nil && len(*s.TrialName) < 1 {
27234		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
27235	}
27236
27237	if invalidParams.Len() > 0 {
27238		return invalidParams
27239	}
27240	return nil
27241}
27242
27243// SetExperimentName sets the ExperimentName field's value.
27244func (s *ExperimentConfig) SetExperimentName(v string) *ExperimentConfig {
27245	s.ExperimentName = &v
27246	return s
27247}
27248
27249// SetTrialComponentDisplayName sets the TrialComponentDisplayName field's value.
27250func (s *ExperimentConfig) SetTrialComponentDisplayName(v string) *ExperimentConfig {
27251	s.TrialComponentDisplayName = &v
27252	return s
27253}
27254
27255// SetTrialName sets the TrialName field's value.
27256func (s *ExperimentConfig) SetTrialName(v string) *ExperimentConfig {
27257	s.TrialName = &v
27258	return s
27259}
27260
27261// The source of the experiment.
27262type ExperimentSource struct {
27263	_ struct{} `type:"structure"`
27264
27265	// The Amazon Resource Name (ARN) of the source.
27266	//
27267	// SourceArn is a required field
27268	SourceArn *string `type:"string" required:"true"`
27269
27270	// The source type.
27271	SourceType *string `type:"string"`
27272}
27273
27274// String returns the string representation
27275func (s ExperimentSource) String() string {
27276	return awsutil.Prettify(s)
27277}
27278
27279// GoString returns the string representation
27280func (s ExperimentSource) GoString() string {
27281	return s.String()
27282}
27283
27284// SetSourceArn sets the SourceArn field's value.
27285func (s *ExperimentSource) SetSourceArn(v string) *ExperimentSource {
27286	s.SourceArn = &v
27287	return s
27288}
27289
27290// SetSourceType sets the SourceType field's value.
27291func (s *ExperimentSource) SetSourceType(v string) *ExperimentSource {
27292	s.SourceType = &v
27293	return s
27294}
27295
27296// A summary of the properties of an experiment. To get the complete set of
27297// properties, call the DescribeExperiment API and provide the ExperimentName.
27298type ExperimentSummary struct {
27299	_ struct{} `type:"structure"`
27300
27301	// When the experiment was created.
27302	CreationTime *time.Time `type:"timestamp"`
27303
27304	// The name of the experiment as displayed. If DisplayName isn't specified,
27305	// ExperimentName is displayed.
27306	DisplayName *string `min:"1" type:"string"`
27307
27308	// The Amazon Resource Name (ARN) of the experiment.
27309	ExperimentArn *string `type:"string"`
27310
27311	// The name of the experiment.
27312	ExperimentName *string `min:"1" type:"string"`
27313
27314	// The source of the experiment.
27315	ExperimentSource *ExperimentSource `type:"structure"`
27316
27317	// When the experiment was last modified.
27318	LastModifiedTime *time.Time `type:"timestamp"`
27319}
27320
27321// String returns the string representation
27322func (s ExperimentSummary) String() string {
27323	return awsutil.Prettify(s)
27324}
27325
27326// GoString returns the string representation
27327func (s ExperimentSummary) GoString() string {
27328	return s.String()
27329}
27330
27331// SetCreationTime sets the CreationTime field's value.
27332func (s *ExperimentSummary) SetCreationTime(v time.Time) *ExperimentSummary {
27333	s.CreationTime = &v
27334	return s
27335}
27336
27337// SetDisplayName sets the DisplayName field's value.
27338func (s *ExperimentSummary) SetDisplayName(v string) *ExperimentSummary {
27339	s.DisplayName = &v
27340	return s
27341}
27342
27343// SetExperimentArn sets the ExperimentArn field's value.
27344func (s *ExperimentSummary) SetExperimentArn(v string) *ExperimentSummary {
27345	s.ExperimentArn = &v
27346	return s
27347}
27348
27349// SetExperimentName sets the ExperimentName field's value.
27350func (s *ExperimentSummary) SetExperimentName(v string) *ExperimentSummary {
27351	s.ExperimentName = &v
27352	return s
27353}
27354
27355// SetExperimentSource sets the ExperimentSource field's value.
27356func (s *ExperimentSummary) SetExperimentSource(v *ExperimentSource) *ExperimentSummary {
27357	s.ExperimentSource = v
27358	return s
27359}
27360
27361// SetLastModifiedTime sets the LastModifiedTime field's value.
27362func (s *ExperimentSummary) SetLastModifiedTime(v time.Time) *ExperimentSummary {
27363	s.LastModifiedTime = &v
27364	return s
27365}
27366
27367// Specifies a file system data source for a channel.
27368type FileSystemDataSource struct {
27369	_ struct{} `type:"structure"`
27370
27371	// The full path to the directory to associate with the channel.
27372	//
27373	// DirectoryPath is a required field
27374	DirectoryPath *string `type:"string" required:"true"`
27375
27376	// The access mode of the mount of the directory associated with the channel.
27377	// A directory can be mounted either in ro (read-only) or rw (read-write) mode.
27378	//
27379	// FileSystemAccessMode is a required field
27380	FileSystemAccessMode *string `type:"string" required:"true" enum:"FileSystemAccessMode"`
27381
27382	// The file system id.
27383	//
27384	// FileSystemId is a required field
27385	FileSystemId *string `min:"11" type:"string" required:"true"`
27386
27387	// The file system type.
27388	//
27389	// FileSystemType is a required field
27390	FileSystemType *string `type:"string" required:"true" enum:"FileSystemType"`
27391}
27392
27393// String returns the string representation
27394func (s FileSystemDataSource) String() string {
27395	return awsutil.Prettify(s)
27396}
27397
27398// GoString returns the string representation
27399func (s FileSystemDataSource) GoString() string {
27400	return s.String()
27401}
27402
27403// Validate inspects the fields of the type to determine if they are valid.
27404func (s *FileSystemDataSource) Validate() error {
27405	invalidParams := request.ErrInvalidParams{Context: "FileSystemDataSource"}
27406	if s.DirectoryPath == nil {
27407		invalidParams.Add(request.NewErrParamRequired("DirectoryPath"))
27408	}
27409	if s.FileSystemAccessMode == nil {
27410		invalidParams.Add(request.NewErrParamRequired("FileSystemAccessMode"))
27411	}
27412	if s.FileSystemId == nil {
27413		invalidParams.Add(request.NewErrParamRequired("FileSystemId"))
27414	}
27415	if s.FileSystemId != nil && len(*s.FileSystemId) < 11 {
27416		invalidParams.Add(request.NewErrParamMinLen("FileSystemId", 11))
27417	}
27418	if s.FileSystemType == nil {
27419		invalidParams.Add(request.NewErrParamRequired("FileSystemType"))
27420	}
27421
27422	if invalidParams.Len() > 0 {
27423		return invalidParams
27424	}
27425	return nil
27426}
27427
27428// SetDirectoryPath sets the DirectoryPath field's value.
27429func (s *FileSystemDataSource) SetDirectoryPath(v string) *FileSystemDataSource {
27430	s.DirectoryPath = &v
27431	return s
27432}
27433
27434// SetFileSystemAccessMode sets the FileSystemAccessMode field's value.
27435func (s *FileSystemDataSource) SetFileSystemAccessMode(v string) *FileSystemDataSource {
27436	s.FileSystemAccessMode = &v
27437	return s
27438}
27439
27440// SetFileSystemId sets the FileSystemId field's value.
27441func (s *FileSystemDataSource) SetFileSystemId(v string) *FileSystemDataSource {
27442	s.FileSystemId = &v
27443	return s
27444}
27445
27446// SetFileSystemType sets the FileSystemType field's value.
27447func (s *FileSystemDataSource) SetFileSystemType(v string) *FileSystemDataSource {
27448	s.FileSystemType = &v
27449	return s
27450}
27451
27452// A conditional statement for a search expression that includes a resource
27453// property, a Boolean operator, and a value. Resources that match the statement
27454// are returned in the results from the Search API.
27455//
27456// If you specify a Value, but not an Operator, Amazon SageMaker uses the equals
27457// operator.
27458//
27459// In search, there are several property types:
27460//
27461// Metrics
27462//
27463// To define a metric filter, enter a value using the form "Metrics.<name>",
27464// where <name> is a metric name. For example, the following filter searches
27465// for training jobs with an "accuracy" metric greater than "0.9":
27466//
27467// {
27468//
27469// "Name": "Metrics.accuracy",
27470//
27471// "Operator": "GreaterThan",
27472//
27473// "Value": "0.9"
27474//
27475// }
27476//
27477// HyperParameters
27478//
27479// To define a hyperparameter filter, enter a value with the form "HyperParameters.<name>".
27480// Decimal hyperparameter values are treated as a decimal in a comparison if
27481// the specified Value is also a decimal value. If the specified Value is an
27482// integer, the decimal hyperparameter values are treated as integers. For example,
27483// the following filter is satisfied by training jobs with a "learning_rate"
27484// hyperparameter that is less than "0.5":
27485//
27486// {
27487//
27488// "Name": "HyperParameters.learning_rate",
27489//
27490// "Operator": "LessThan",
27491//
27492// "Value": "0.5"
27493//
27494// }
27495//
27496// Tags
27497//
27498// To define a tag filter, enter a value with the form Tags.<key>.
27499type Filter struct {
27500	_ struct{} `type:"structure"`
27501
27502	// A resource property name. For example, TrainingJobName. For valid property
27503	// names, see SearchRecord. You must specify a valid property for the resource.
27504	//
27505	// Name is a required field
27506	Name *string `min:"1" type:"string" required:"true"`
27507
27508	// A Boolean binary operator that is used to evaluate the filter. The operator
27509	// field contains one of the following values:
27510	//
27511	// Equals
27512	//
27513	// The value of Name equals Value.
27514	//
27515	// NotEquals
27516	//
27517	// The value of Name doesn't equal Value.
27518	//
27519	// Exists
27520	//
27521	// The Name property exists.
27522	//
27523	// NotExists
27524	//
27525	// The Name property does not exist.
27526	//
27527	// GreaterThan
27528	//
27529	// The value of Name is greater than Value. Not supported for text properties.
27530	//
27531	// GreaterThanOrEqualTo
27532	//
27533	// The value of Name is greater than or equal to Value. Not supported for text
27534	// properties.
27535	//
27536	// LessThan
27537	//
27538	// The value of Name is less than Value. Not supported for text properties.
27539	//
27540	// LessThanOrEqualTo
27541	//
27542	// The value of Name is less than or equal to Value. Not supported for text
27543	// properties.
27544	//
27545	// In
27546	//
27547	// The value of Name is one of the comma delimited strings in Value. Only supported
27548	// for text properties.
27549	//
27550	// Contains
27551	//
27552	// The value of Name contains the string Value. Only supported for text properties.
27553	//
27554	// A SearchExpression can include the Contains operator multiple times when
27555	// the value of Name is one of the following:
27556	//
27557	//    * Experiment.DisplayName
27558	//
27559	//    * Experiment.ExperimentName
27560	//
27561	//    * Experiment.Tags
27562	//
27563	//    * Trial.DisplayName
27564	//
27565	//    * Trial.TrialName
27566	//
27567	//    * Trial.Tags
27568	//
27569	//    * TrialComponent.DisplayName
27570	//
27571	//    * TrialComponent.TrialComponentName
27572	//
27573	//    * TrialComponent.Tags
27574	//
27575	//    * TrialComponent.InputArtifacts
27576	//
27577	//    * TrialComponent.OutputArtifacts
27578	//
27579	// A SearchExpression can include only one Contains operator for all other values
27580	// of Name. In these cases, if you include multiple Contains operators in the
27581	// SearchExpression, the result is the following error message: "'CONTAINS'
27582	// operator usage limit of 1 exceeded."
27583	Operator *string `type:"string" enum:"Operator"`
27584
27585	// A value used with Name and Operator to determine which resources satisfy
27586	// the filter's condition. For numerical properties, Value must be an integer
27587	// or floating-point decimal. For timestamp properties, Value must be an ISO
27588	// 8601 date-time string of the following format: YYYY-mm-dd'T'HH:MM:SS.
27589	Value *string `min:"1" type:"string"`
27590}
27591
27592// String returns the string representation
27593func (s Filter) String() string {
27594	return awsutil.Prettify(s)
27595}
27596
27597// GoString returns the string representation
27598func (s Filter) GoString() string {
27599	return s.String()
27600}
27601
27602// Validate inspects the fields of the type to determine if they are valid.
27603func (s *Filter) Validate() error {
27604	invalidParams := request.ErrInvalidParams{Context: "Filter"}
27605	if s.Name == nil {
27606		invalidParams.Add(request.NewErrParamRequired("Name"))
27607	}
27608	if s.Name != nil && len(*s.Name) < 1 {
27609		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
27610	}
27611	if s.Value != nil && len(*s.Value) < 1 {
27612		invalidParams.Add(request.NewErrParamMinLen("Value", 1))
27613	}
27614
27615	if invalidParams.Len() > 0 {
27616		return invalidParams
27617	}
27618	return nil
27619}
27620
27621// SetName sets the Name field's value.
27622func (s *Filter) SetName(v string) *Filter {
27623	s.Name = &v
27624	return s
27625}
27626
27627// SetOperator sets the Operator field's value.
27628func (s *Filter) SetOperator(v string) *Filter {
27629	s.Operator = &v
27630	return s
27631}
27632
27633// SetValue sets the Value field's value.
27634func (s *Filter) SetValue(v string) *Filter {
27635	s.Value = &v
27636	return s
27637}
27638
27639// The candidate result from a job.
27640type FinalAutoMLJobObjectiveMetric struct {
27641	_ struct{} `type:"structure"`
27642
27643	// The name of the metric.
27644	//
27645	// MetricName is a required field
27646	MetricName *string `type:"string" required:"true" enum:"AutoMLMetricEnum"`
27647
27648	// The metric type used.
27649	Type *string `type:"string" enum:"AutoMLJobObjectiveType"`
27650
27651	// The value of the metric.
27652	//
27653	// Value is a required field
27654	Value *float64 `type:"float" required:"true"`
27655}
27656
27657// String returns the string representation
27658func (s FinalAutoMLJobObjectiveMetric) String() string {
27659	return awsutil.Prettify(s)
27660}
27661
27662// GoString returns the string representation
27663func (s FinalAutoMLJobObjectiveMetric) GoString() string {
27664	return s.String()
27665}
27666
27667// SetMetricName sets the MetricName field's value.
27668func (s *FinalAutoMLJobObjectiveMetric) SetMetricName(v string) *FinalAutoMLJobObjectiveMetric {
27669	s.MetricName = &v
27670	return s
27671}
27672
27673// SetType sets the Type field's value.
27674func (s *FinalAutoMLJobObjectiveMetric) SetType(v string) *FinalAutoMLJobObjectiveMetric {
27675	s.Type = &v
27676	return s
27677}
27678
27679// SetValue sets the Value field's value.
27680func (s *FinalAutoMLJobObjectiveMetric) SetValue(v float64) *FinalAutoMLJobObjectiveMetric {
27681	s.Value = &v
27682	return s
27683}
27684
27685// Shows the final value for the objective metric for a training job that was
27686// launched by a hyperparameter tuning job. You define the objective metric
27687// in the HyperParameterTuningJobObjective parameter of HyperParameterTuningJobConfig.
27688type FinalHyperParameterTuningJobObjectiveMetric struct {
27689	_ struct{} `type:"structure"`
27690
27691	// The name of the objective metric.
27692	//
27693	// MetricName is a required field
27694	MetricName *string `min:"1" type:"string" required:"true"`
27695
27696	// Whether to minimize or maximize the objective metric. Valid values are Minimize
27697	// and Maximize.
27698	Type *string `type:"string" enum:"HyperParameterTuningJobObjectiveType"`
27699
27700	// The value of the objective metric.
27701	//
27702	// Value is a required field
27703	Value *float64 `type:"float" required:"true"`
27704}
27705
27706// String returns the string representation
27707func (s FinalHyperParameterTuningJobObjectiveMetric) String() string {
27708	return awsutil.Prettify(s)
27709}
27710
27711// GoString returns the string representation
27712func (s FinalHyperParameterTuningJobObjectiveMetric) GoString() string {
27713	return s.String()
27714}
27715
27716// SetMetricName sets the MetricName field's value.
27717func (s *FinalHyperParameterTuningJobObjectiveMetric) SetMetricName(v string) *FinalHyperParameterTuningJobObjectiveMetric {
27718	s.MetricName = &v
27719	return s
27720}
27721
27722// SetType sets the Type field's value.
27723func (s *FinalHyperParameterTuningJobObjectiveMetric) SetType(v string) *FinalHyperParameterTuningJobObjectiveMetric {
27724	s.Type = &v
27725	return s
27726}
27727
27728// SetValue sets the Value field's value.
27729func (s *FinalHyperParameterTuningJobObjectiveMetric) SetValue(v float64) *FinalHyperParameterTuningJobObjectiveMetric {
27730	s.Value = &v
27731	return s
27732}
27733
27734// Contains information about where human output will be stored.
27735type FlowDefinitionOutputConfig struct {
27736	_ struct{} `type:"structure"`
27737
27738	// The Amazon Key Management Service (KMS) key ID for server-side encryption.
27739	KmsKeyId *string `type:"string"`
27740
27741	// The Amazon S3 path where the object containing human output will be made
27742	// available.
27743	//
27744	// S3OutputPath is a required field
27745	S3OutputPath *string `type:"string" required:"true"`
27746}
27747
27748// String returns the string representation
27749func (s FlowDefinitionOutputConfig) String() string {
27750	return awsutil.Prettify(s)
27751}
27752
27753// GoString returns the string representation
27754func (s FlowDefinitionOutputConfig) GoString() string {
27755	return s.String()
27756}
27757
27758// Validate inspects the fields of the type to determine if they are valid.
27759func (s *FlowDefinitionOutputConfig) Validate() error {
27760	invalidParams := request.ErrInvalidParams{Context: "FlowDefinitionOutputConfig"}
27761	if s.S3OutputPath == nil {
27762		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
27763	}
27764
27765	if invalidParams.Len() > 0 {
27766		return invalidParams
27767	}
27768	return nil
27769}
27770
27771// SetKmsKeyId sets the KmsKeyId field's value.
27772func (s *FlowDefinitionOutputConfig) SetKmsKeyId(v string) *FlowDefinitionOutputConfig {
27773	s.KmsKeyId = &v
27774	return s
27775}
27776
27777// SetS3OutputPath sets the S3OutputPath field's value.
27778func (s *FlowDefinitionOutputConfig) SetS3OutputPath(v string) *FlowDefinitionOutputConfig {
27779	s.S3OutputPath = &v
27780	return s
27781}
27782
27783// Contains summary information about the flow definition.
27784type FlowDefinitionSummary struct {
27785	_ struct{} `type:"structure"`
27786
27787	// The timestamp when SageMaker created the flow definition.
27788	//
27789	// CreationTime is a required field
27790	CreationTime *time.Time `type:"timestamp" required:"true"`
27791
27792	// The reason why the flow definition creation failed. A failure reason is returned
27793	// only when the flow definition status is Failed.
27794	FailureReason *string `type:"string"`
27795
27796	// The Amazon Resource Name (ARN) of the flow definition.
27797	//
27798	// FlowDefinitionArn is a required field
27799	FlowDefinitionArn *string `type:"string" required:"true"`
27800
27801	// The name of the flow definition.
27802	//
27803	// FlowDefinitionName is a required field
27804	FlowDefinitionName *string `min:"1" type:"string" required:"true"`
27805
27806	// The status of the flow definition. Valid values:
27807	//
27808	// FlowDefinitionStatus is a required field
27809	FlowDefinitionStatus *string `type:"string" required:"true" enum:"FlowDefinitionStatus"`
27810}
27811
27812// String returns the string representation
27813func (s FlowDefinitionSummary) String() string {
27814	return awsutil.Prettify(s)
27815}
27816
27817// GoString returns the string representation
27818func (s FlowDefinitionSummary) GoString() string {
27819	return s.String()
27820}
27821
27822// SetCreationTime sets the CreationTime field's value.
27823func (s *FlowDefinitionSummary) SetCreationTime(v time.Time) *FlowDefinitionSummary {
27824	s.CreationTime = &v
27825	return s
27826}
27827
27828// SetFailureReason sets the FailureReason field's value.
27829func (s *FlowDefinitionSummary) SetFailureReason(v string) *FlowDefinitionSummary {
27830	s.FailureReason = &v
27831	return s
27832}
27833
27834// SetFlowDefinitionArn sets the FlowDefinitionArn field's value.
27835func (s *FlowDefinitionSummary) SetFlowDefinitionArn(v string) *FlowDefinitionSummary {
27836	s.FlowDefinitionArn = &v
27837	return s
27838}
27839
27840// SetFlowDefinitionName sets the FlowDefinitionName field's value.
27841func (s *FlowDefinitionSummary) SetFlowDefinitionName(v string) *FlowDefinitionSummary {
27842	s.FlowDefinitionName = &v
27843	return s
27844}
27845
27846// SetFlowDefinitionStatus sets the FlowDefinitionStatus field's value.
27847func (s *FlowDefinitionSummary) SetFlowDefinitionStatus(v string) *FlowDefinitionSummary {
27848	s.FlowDefinitionStatus = &v
27849	return s
27850}
27851
27852type GetSearchSuggestionsInput struct {
27853	_ struct{} `type:"structure"`
27854
27855	// The name of the Amazon SageMaker resource to search for.
27856	//
27857	// Resource is a required field
27858	Resource *string `type:"string" required:"true" enum:"ResourceType"`
27859
27860	// Limits the property names that are included in the response.
27861	SuggestionQuery *SuggestionQuery `type:"structure"`
27862}
27863
27864// String returns the string representation
27865func (s GetSearchSuggestionsInput) String() string {
27866	return awsutil.Prettify(s)
27867}
27868
27869// GoString returns the string representation
27870func (s GetSearchSuggestionsInput) GoString() string {
27871	return s.String()
27872}
27873
27874// Validate inspects the fields of the type to determine if they are valid.
27875func (s *GetSearchSuggestionsInput) Validate() error {
27876	invalidParams := request.ErrInvalidParams{Context: "GetSearchSuggestionsInput"}
27877	if s.Resource == nil {
27878		invalidParams.Add(request.NewErrParamRequired("Resource"))
27879	}
27880	if s.SuggestionQuery != nil {
27881		if err := s.SuggestionQuery.Validate(); err != nil {
27882			invalidParams.AddNested("SuggestionQuery", err.(request.ErrInvalidParams))
27883		}
27884	}
27885
27886	if invalidParams.Len() > 0 {
27887		return invalidParams
27888	}
27889	return nil
27890}
27891
27892// SetResource sets the Resource field's value.
27893func (s *GetSearchSuggestionsInput) SetResource(v string) *GetSearchSuggestionsInput {
27894	s.Resource = &v
27895	return s
27896}
27897
27898// SetSuggestionQuery sets the SuggestionQuery field's value.
27899func (s *GetSearchSuggestionsInput) SetSuggestionQuery(v *SuggestionQuery) *GetSearchSuggestionsInput {
27900	s.SuggestionQuery = v
27901	return s
27902}
27903
27904type GetSearchSuggestionsOutput struct {
27905	_ struct{} `type:"structure"`
27906
27907	// A list of property names for a Resource that match a SuggestionQuery.
27908	PropertyNameSuggestions []*PropertyNameSuggestion `type:"list"`
27909}
27910
27911// String returns the string representation
27912func (s GetSearchSuggestionsOutput) String() string {
27913	return awsutil.Prettify(s)
27914}
27915
27916// GoString returns the string representation
27917func (s GetSearchSuggestionsOutput) GoString() string {
27918	return s.String()
27919}
27920
27921// SetPropertyNameSuggestions sets the PropertyNameSuggestions field's value.
27922func (s *GetSearchSuggestionsOutput) SetPropertyNameSuggestions(v []*PropertyNameSuggestion) *GetSearchSuggestionsOutput {
27923	s.PropertyNameSuggestions = v
27924	return s
27925}
27926
27927// Specifies configuration details for a Git repository in your AWS account.
27928type GitConfig struct {
27929	_ struct{} `type:"structure"`
27930
27931	// The default branch for the Git repository.
27932	Branch *string `min:"1" type:"string"`
27933
27934	// The URL where the Git repository is located.
27935	//
27936	// RepositoryUrl is a required field
27937	RepositoryUrl *string `type:"string" required:"true"`
27938
27939	// The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains
27940	// the credentials used to access the git repository. The secret must have a
27941	// staging label of AWSCURRENT and must be in the following format:
27942	//
27943	// {"username": UserName, "password": Password}
27944	SecretArn *string `min:"1" type:"string"`
27945}
27946
27947// String returns the string representation
27948func (s GitConfig) String() string {
27949	return awsutil.Prettify(s)
27950}
27951
27952// GoString returns the string representation
27953func (s GitConfig) GoString() string {
27954	return s.String()
27955}
27956
27957// Validate inspects the fields of the type to determine if they are valid.
27958func (s *GitConfig) Validate() error {
27959	invalidParams := request.ErrInvalidParams{Context: "GitConfig"}
27960	if s.Branch != nil && len(*s.Branch) < 1 {
27961		invalidParams.Add(request.NewErrParamMinLen("Branch", 1))
27962	}
27963	if s.RepositoryUrl == nil {
27964		invalidParams.Add(request.NewErrParamRequired("RepositoryUrl"))
27965	}
27966	if s.SecretArn != nil && len(*s.SecretArn) < 1 {
27967		invalidParams.Add(request.NewErrParamMinLen("SecretArn", 1))
27968	}
27969
27970	if invalidParams.Len() > 0 {
27971		return invalidParams
27972	}
27973	return nil
27974}
27975
27976// SetBranch sets the Branch field's value.
27977func (s *GitConfig) SetBranch(v string) *GitConfig {
27978	s.Branch = &v
27979	return s
27980}
27981
27982// SetRepositoryUrl sets the RepositoryUrl field's value.
27983func (s *GitConfig) SetRepositoryUrl(v string) *GitConfig {
27984	s.RepositoryUrl = &v
27985	return s
27986}
27987
27988// SetSecretArn sets the SecretArn field's value.
27989func (s *GitConfig) SetSecretArn(v string) *GitConfig {
27990	s.SecretArn = &v
27991	return s
27992}
27993
27994// Specifies configuration details for a Git repository when the repository
27995// is updated.
27996type GitConfigForUpdate struct {
27997	_ struct{} `type:"structure"`
27998
27999	// The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains
28000	// the credentials used to access the git repository. The secret must have a
28001	// staging label of AWSCURRENT and must be in the following format:
28002	//
28003	// {"username": UserName, "password": Password}
28004	SecretArn *string `min:"1" type:"string"`
28005}
28006
28007// String returns the string representation
28008func (s GitConfigForUpdate) String() string {
28009	return awsutil.Prettify(s)
28010}
28011
28012// GoString returns the string representation
28013func (s GitConfigForUpdate) GoString() string {
28014	return s.String()
28015}
28016
28017// Validate inspects the fields of the type to determine if they are valid.
28018func (s *GitConfigForUpdate) Validate() error {
28019	invalidParams := request.ErrInvalidParams{Context: "GitConfigForUpdate"}
28020	if s.SecretArn != nil && len(*s.SecretArn) < 1 {
28021		invalidParams.Add(request.NewErrParamMinLen("SecretArn", 1))
28022	}
28023
28024	if invalidParams.Len() > 0 {
28025		return invalidParams
28026	}
28027	return nil
28028}
28029
28030// SetSecretArn sets the SecretArn field's value.
28031func (s *GitConfigForUpdate) SetSecretArn(v string) *GitConfigForUpdate {
28032	s.SecretArn = &v
28033	return s
28034}
28035
28036// Defines under what conditions SageMaker creates a human loop. Used within
28037// . See for the required format of activation conditions.
28038type HumanLoopActivationConditionsConfig struct {
28039	_ struct{} `type:"structure"`
28040
28041	// JSON expressing use-case specific conditions declaratively. If any condition
28042	// is matched, atomic tasks are created against the configured work team. The
28043	// set of conditions is different for Rekognition and Textract. For more information
28044	// about how to structure the JSON, see JSON Schema for Human Loop Activation
28045	// Conditions in Amazon Augmented AI (https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-human-fallback-conditions-json-schema.html)
28046	// in the Amazon SageMaker Developer Guide.
28047	//
28048	// HumanLoopActivationConditions is a required field
28049	HumanLoopActivationConditions aws.JSONValue `type:"jsonvalue" required:"true"`
28050}
28051
28052// String returns the string representation
28053func (s HumanLoopActivationConditionsConfig) String() string {
28054	return awsutil.Prettify(s)
28055}
28056
28057// GoString returns the string representation
28058func (s HumanLoopActivationConditionsConfig) GoString() string {
28059	return s.String()
28060}
28061
28062// Validate inspects the fields of the type to determine if they are valid.
28063func (s *HumanLoopActivationConditionsConfig) Validate() error {
28064	invalidParams := request.ErrInvalidParams{Context: "HumanLoopActivationConditionsConfig"}
28065	if s.HumanLoopActivationConditions == nil {
28066		invalidParams.Add(request.NewErrParamRequired("HumanLoopActivationConditions"))
28067	}
28068
28069	if invalidParams.Len() > 0 {
28070		return invalidParams
28071	}
28072	return nil
28073}
28074
28075// SetHumanLoopActivationConditions sets the HumanLoopActivationConditions field's value.
28076func (s *HumanLoopActivationConditionsConfig) SetHumanLoopActivationConditions(v aws.JSONValue) *HumanLoopActivationConditionsConfig {
28077	s.HumanLoopActivationConditions = v
28078	return s
28079}
28080
28081// Provides information about how and under what conditions SageMaker creates
28082// a human loop. If HumanLoopActivationConfig is not given, then all requests
28083// go to humans.
28084type HumanLoopActivationConfig struct {
28085	_ struct{} `type:"structure"`
28086
28087	// Container structure for defining under what conditions SageMaker creates
28088	// a human loop.
28089	//
28090	// HumanLoopActivationConditionsConfig is a required field
28091	HumanLoopActivationConditionsConfig *HumanLoopActivationConditionsConfig `type:"structure" required:"true"`
28092}
28093
28094// String returns the string representation
28095func (s HumanLoopActivationConfig) String() string {
28096	return awsutil.Prettify(s)
28097}
28098
28099// GoString returns the string representation
28100func (s HumanLoopActivationConfig) GoString() string {
28101	return s.String()
28102}
28103
28104// Validate inspects the fields of the type to determine if they are valid.
28105func (s *HumanLoopActivationConfig) Validate() error {
28106	invalidParams := request.ErrInvalidParams{Context: "HumanLoopActivationConfig"}
28107	if s.HumanLoopActivationConditionsConfig == nil {
28108		invalidParams.Add(request.NewErrParamRequired("HumanLoopActivationConditionsConfig"))
28109	}
28110	if s.HumanLoopActivationConditionsConfig != nil {
28111		if err := s.HumanLoopActivationConditionsConfig.Validate(); err != nil {
28112			invalidParams.AddNested("HumanLoopActivationConditionsConfig", err.(request.ErrInvalidParams))
28113		}
28114	}
28115
28116	if invalidParams.Len() > 0 {
28117		return invalidParams
28118	}
28119	return nil
28120}
28121
28122// SetHumanLoopActivationConditionsConfig sets the HumanLoopActivationConditionsConfig field's value.
28123func (s *HumanLoopActivationConfig) SetHumanLoopActivationConditionsConfig(v *HumanLoopActivationConditionsConfig) *HumanLoopActivationConfig {
28124	s.HumanLoopActivationConditionsConfig = v
28125	return s
28126}
28127
28128// Describes the work to be performed by human workers.
28129type HumanLoopConfig struct {
28130	_ struct{} `type:"structure"`
28131
28132	// The Amazon Resource Name (ARN) of the human task user interface.
28133	//
28134	// HumanTaskUiArn is a required field
28135	HumanTaskUiArn *string `type:"string" required:"true"`
28136
28137	// Defines the amount of money paid to an Amazon Mechanical Turk worker for
28138	// each task performed.
28139	//
28140	// Use one of the following prices for bounding box tasks. Prices are in US
28141	// dollars and should be based on the complexity of the task; the longer it
28142	// takes in your initial testing, the more you should offer.
28143	//
28144	//    * 0.036
28145	//
28146	//    * 0.048
28147	//
28148	//    * 0.060
28149	//
28150	//    * 0.072
28151	//
28152	//    * 0.120
28153	//
28154	//    * 0.240
28155	//
28156	//    * 0.360
28157	//
28158	//    * 0.480
28159	//
28160	//    * 0.600
28161	//
28162	//    * 0.720
28163	//
28164	//    * 0.840
28165	//
28166	//    * 0.960
28167	//
28168	//    * 1.080
28169	//
28170	//    * 1.200
28171	//
28172	// Use one of the following prices for image classification, text classification,
28173	// and custom tasks. Prices are in US dollars.
28174	//
28175	//    * 0.012
28176	//
28177	//    * 0.024
28178	//
28179	//    * 0.036
28180	//
28181	//    * 0.048
28182	//
28183	//    * 0.060
28184	//
28185	//    * 0.072
28186	//
28187	//    * 0.120
28188	//
28189	//    * 0.240
28190	//
28191	//    * 0.360
28192	//
28193	//    * 0.480
28194	//
28195	//    * 0.600
28196	//
28197	//    * 0.720
28198	//
28199	//    * 0.840
28200	//
28201	//    * 0.960
28202	//
28203	//    * 1.080
28204	//
28205	//    * 1.200
28206	//
28207	// Use one of the following prices for semantic segmentation tasks. Prices are
28208	// in US dollars.
28209	//
28210	//    * 0.840
28211	//
28212	//    * 0.960
28213	//
28214	//    * 1.080
28215	//
28216	//    * 1.200
28217	//
28218	// Use one of the following prices for Textract AnalyzeDocument Important Form
28219	// Key Amazon Augmented AI review tasks. Prices are in US dollars.
28220	//
28221	//    * 2.400
28222	//
28223	//    * 2.280
28224	//
28225	//    * 2.160
28226	//
28227	//    * 2.040
28228	//
28229	//    * 1.920
28230	//
28231	//    * 1.800
28232	//
28233	//    * 1.680
28234	//
28235	//    * 1.560
28236	//
28237	//    * 1.440
28238	//
28239	//    * 1.320
28240	//
28241	//    * 1.200
28242	//
28243	//    * 1.080
28244	//
28245	//    * 0.960
28246	//
28247	//    * 0.840
28248	//
28249	//    * 0.720
28250	//
28251	//    * 0.600
28252	//
28253	//    * 0.480
28254	//
28255	//    * 0.360
28256	//
28257	//    * 0.240
28258	//
28259	//    * 0.120
28260	//
28261	//    * 0.072
28262	//
28263	//    * 0.060
28264	//
28265	//    * 0.048
28266	//
28267	//    * 0.036
28268	//
28269	//    * 0.024
28270	//
28271	//    * 0.012
28272	//
28273	// Use one of the following prices for Rekognition DetectModerationLabels Amazon
28274	// Augmented AI review tasks. Prices are in US dollars.
28275	//
28276	//    * 1.200
28277	//
28278	//    * 1.080
28279	//
28280	//    * 0.960
28281	//
28282	//    * 0.840
28283	//
28284	//    * 0.720
28285	//
28286	//    * 0.600
28287	//
28288	//    * 0.480
28289	//
28290	//    * 0.360
28291	//
28292	//    * 0.240
28293	//
28294	//    * 0.120
28295	//
28296	//    * 0.072
28297	//
28298	//    * 0.060
28299	//
28300	//    * 0.048
28301	//
28302	//    * 0.036
28303	//
28304	//    * 0.024
28305	//
28306	//    * 0.012
28307	//
28308	// Use one of the following prices for Amazon Augmented AI custom human review
28309	// tasks. Prices are in US dollars.
28310	//
28311	//    * 1.200
28312	//
28313	//    * 1.080
28314	//
28315	//    * 0.960
28316	//
28317	//    * 0.840
28318	//
28319	//    * 0.720
28320	//
28321	//    * 0.600
28322	//
28323	//    * 0.480
28324	//
28325	//    * 0.360
28326	//
28327	//    * 0.240
28328	//
28329	//    * 0.120
28330	//
28331	//    * 0.072
28332	//
28333	//    * 0.060
28334	//
28335	//    * 0.048
28336	//
28337	//    * 0.036
28338	//
28339	//    * 0.024
28340	//
28341	//    * 0.012
28342	PublicWorkforceTaskPrice *PublicWorkforceTaskPrice `type:"structure"`
28343
28344	// The length of time that a task remains available for labeling by human workers.
28345	TaskAvailabilityLifetimeInSeconds *int64 `min:"1" type:"integer"`
28346
28347	// The number of distinct workers who will perform the same task on each object.
28348	// For example, if TaskCount is set to 3 for an image classification labeling
28349	// job, three workers will classify each input image. Increasing TaskCount can
28350	// improve label accuracy.
28351	//
28352	// TaskCount is a required field
28353	TaskCount *int64 `min:"1" type:"integer" required:"true"`
28354
28355	// A description for the human worker task.
28356	//
28357	// TaskDescription is a required field
28358	TaskDescription *string `min:"1" type:"string" required:"true"`
28359
28360	// Keywords used to describe the task so that workers can discover the task.
28361	TaskKeywords []*string `min:"1" type:"list"`
28362
28363	// The amount of time that a worker has to complete a task.
28364	TaskTimeLimitInSeconds *int64 `min:"30" type:"integer"`
28365
28366	// A title for the human worker task.
28367	//
28368	// TaskTitle is a required field
28369	TaskTitle *string `min:"1" type:"string" required:"true"`
28370
28371	// Amazon Resource Name (ARN) of a team of workers.
28372	//
28373	// WorkteamArn is a required field
28374	WorkteamArn *string `type:"string" required:"true"`
28375}
28376
28377// String returns the string representation
28378func (s HumanLoopConfig) String() string {
28379	return awsutil.Prettify(s)
28380}
28381
28382// GoString returns the string representation
28383func (s HumanLoopConfig) GoString() string {
28384	return s.String()
28385}
28386
28387// Validate inspects the fields of the type to determine if they are valid.
28388func (s *HumanLoopConfig) Validate() error {
28389	invalidParams := request.ErrInvalidParams{Context: "HumanLoopConfig"}
28390	if s.HumanTaskUiArn == nil {
28391		invalidParams.Add(request.NewErrParamRequired("HumanTaskUiArn"))
28392	}
28393	if s.TaskAvailabilityLifetimeInSeconds != nil && *s.TaskAvailabilityLifetimeInSeconds < 1 {
28394		invalidParams.Add(request.NewErrParamMinValue("TaskAvailabilityLifetimeInSeconds", 1))
28395	}
28396	if s.TaskCount == nil {
28397		invalidParams.Add(request.NewErrParamRequired("TaskCount"))
28398	}
28399	if s.TaskCount != nil && *s.TaskCount < 1 {
28400		invalidParams.Add(request.NewErrParamMinValue("TaskCount", 1))
28401	}
28402	if s.TaskDescription == nil {
28403		invalidParams.Add(request.NewErrParamRequired("TaskDescription"))
28404	}
28405	if s.TaskDescription != nil && len(*s.TaskDescription) < 1 {
28406		invalidParams.Add(request.NewErrParamMinLen("TaskDescription", 1))
28407	}
28408	if s.TaskKeywords != nil && len(s.TaskKeywords) < 1 {
28409		invalidParams.Add(request.NewErrParamMinLen("TaskKeywords", 1))
28410	}
28411	if s.TaskTimeLimitInSeconds != nil && *s.TaskTimeLimitInSeconds < 30 {
28412		invalidParams.Add(request.NewErrParamMinValue("TaskTimeLimitInSeconds", 30))
28413	}
28414	if s.TaskTitle == nil {
28415		invalidParams.Add(request.NewErrParamRequired("TaskTitle"))
28416	}
28417	if s.TaskTitle != nil && len(*s.TaskTitle) < 1 {
28418		invalidParams.Add(request.NewErrParamMinLen("TaskTitle", 1))
28419	}
28420	if s.WorkteamArn == nil {
28421		invalidParams.Add(request.NewErrParamRequired("WorkteamArn"))
28422	}
28423
28424	if invalidParams.Len() > 0 {
28425		return invalidParams
28426	}
28427	return nil
28428}
28429
28430// SetHumanTaskUiArn sets the HumanTaskUiArn field's value.
28431func (s *HumanLoopConfig) SetHumanTaskUiArn(v string) *HumanLoopConfig {
28432	s.HumanTaskUiArn = &v
28433	return s
28434}
28435
28436// SetPublicWorkforceTaskPrice sets the PublicWorkforceTaskPrice field's value.
28437func (s *HumanLoopConfig) SetPublicWorkforceTaskPrice(v *PublicWorkforceTaskPrice) *HumanLoopConfig {
28438	s.PublicWorkforceTaskPrice = v
28439	return s
28440}
28441
28442// SetTaskAvailabilityLifetimeInSeconds sets the TaskAvailabilityLifetimeInSeconds field's value.
28443func (s *HumanLoopConfig) SetTaskAvailabilityLifetimeInSeconds(v int64) *HumanLoopConfig {
28444	s.TaskAvailabilityLifetimeInSeconds = &v
28445	return s
28446}
28447
28448// SetTaskCount sets the TaskCount field's value.
28449func (s *HumanLoopConfig) SetTaskCount(v int64) *HumanLoopConfig {
28450	s.TaskCount = &v
28451	return s
28452}
28453
28454// SetTaskDescription sets the TaskDescription field's value.
28455func (s *HumanLoopConfig) SetTaskDescription(v string) *HumanLoopConfig {
28456	s.TaskDescription = &v
28457	return s
28458}
28459
28460// SetTaskKeywords sets the TaskKeywords field's value.
28461func (s *HumanLoopConfig) SetTaskKeywords(v []*string) *HumanLoopConfig {
28462	s.TaskKeywords = v
28463	return s
28464}
28465
28466// SetTaskTimeLimitInSeconds sets the TaskTimeLimitInSeconds field's value.
28467func (s *HumanLoopConfig) SetTaskTimeLimitInSeconds(v int64) *HumanLoopConfig {
28468	s.TaskTimeLimitInSeconds = &v
28469	return s
28470}
28471
28472// SetTaskTitle sets the TaskTitle field's value.
28473func (s *HumanLoopConfig) SetTaskTitle(v string) *HumanLoopConfig {
28474	s.TaskTitle = &v
28475	return s
28476}
28477
28478// SetWorkteamArn sets the WorkteamArn field's value.
28479func (s *HumanLoopConfig) SetWorkteamArn(v string) *HumanLoopConfig {
28480	s.WorkteamArn = &v
28481	return s
28482}
28483
28484// Container for configuring the source of human task requests.
28485type HumanLoopRequestSource struct {
28486	_ struct{} `type:"structure"`
28487
28488	// Specifies whether Amazon Rekognition or Amazon Textract are used as the integration
28489	// source. The default field settings and JSON parsing rules are different based
28490	// on the integration source. Valid values:
28491	//
28492	// AwsManagedHumanLoopRequestSource is a required field
28493	AwsManagedHumanLoopRequestSource *string `type:"string" required:"true" enum:"AwsManagedHumanLoopRequestSource"`
28494}
28495
28496// String returns the string representation
28497func (s HumanLoopRequestSource) String() string {
28498	return awsutil.Prettify(s)
28499}
28500
28501// GoString returns the string representation
28502func (s HumanLoopRequestSource) GoString() string {
28503	return s.String()
28504}
28505
28506// Validate inspects the fields of the type to determine if they are valid.
28507func (s *HumanLoopRequestSource) Validate() error {
28508	invalidParams := request.ErrInvalidParams{Context: "HumanLoopRequestSource"}
28509	if s.AwsManagedHumanLoopRequestSource == nil {
28510		invalidParams.Add(request.NewErrParamRequired("AwsManagedHumanLoopRequestSource"))
28511	}
28512
28513	if invalidParams.Len() > 0 {
28514		return invalidParams
28515	}
28516	return nil
28517}
28518
28519// SetAwsManagedHumanLoopRequestSource sets the AwsManagedHumanLoopRequestSource field's value.
28520func (s *HumanLoopRequestSource) SetAwsManagedHumanLoopRequestSource(v string) *HumanLoopRequestSource {
28521	s.AwsManagedHumanLoopRequestSource = &v
28522	return s
28523}
28524
28525// Information required for human workers to complete a labeling task.
28526type HumanTaskConfig struct {
28527	_ struct{} `type:"structure"`
28528
28529	// Configures how labels are consolidated across human workers.
28530	//
28531	// AnnotationConsolidationConfig is a required field
28532	AnnotationConsolidationConfig *AnnotationConsolidationConfig `type:"structure" required:"true"`
28533
28534	// Defines the maximum number of data objects that can be labeled by human workers
28535	// at the same time. Also referred to as batch size. Each object may have more
28536	// than one worker at one time. The default value is 1000 objects.
28537	MaxConcurrentTaskCount *int64 `min:"1" type:"integer"`
28538
28539	// The number of human workers that will label an object.
28540	//
28541	// NumberOfHumanWorkersPerDataObject is a required field
28542	NumberOfHumanWorkersPerDataObject *int64 `min:"1" type:"integer" required:"true"`
28543
28544	// The Amazon Resource Name (ARN) of a Lambda function that is run before a
28545	// data object is sent to a human worker. Use this function to provide input
28546	// to a custom labeling job.
28547	//
28548	// For the built-in bounding box, image classification, semantic segmentation,
28549	// and text classification task types, Amazon SageMaker Ground Truth provides
28550	// the following Lambda functions:
28551	//
28552	// Bounding box - Finds the most similar boxes from different workers based
28553	// on the Jaccard index of the boxes.
28554	//
28555	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-BoundingBox
28556	//
28557	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-BoundingBox
28558	//
28559	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-BoundingBox
28560	//
28561	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-BoundingBox
28562	//
28563	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-BoundingBox
28564	//
28565	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-BoundingBox
28566	//
28567	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-BoundingBox
28568	//
28569	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-BoundingBox
28570	//
28571	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-BoundingBox
28572	//
28573	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-BoundingBox
28574	//
28575	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-BoundingBox
28576	//
28577	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-BoundingBox
28578	//
28579	// Image classification - Uses a variant of the Expectation Maximization approach
28580	// to estimate the true class of an image based on annotations from individual
28581	// workers.
28582	//
28583	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-ImageMultiClass
28584	//
28585	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-ImageMultiClass
28586	//
28587	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-ImageMultiClass
28588	//
28589	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-ImageMultiClass
28590	//
28591	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-ImageMultiClass
28592	//
28593	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-ImageMultiClass
28594	//
28595	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-ImageMultiClass
28596	//
28597	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-ImageMultiClass
28598	//
28599	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-ImageMultiClass
28600	//
28601	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-ImageMultiClass
28602	//
28603	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-ImageMultiClass
28604	//
28605	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-ImageMultiClass
28606	//
28607	// Multi-label image classification - Uses a variant of the Expectation Maximization
28608	// approach to estimate the true classes of an image based on annotations from
28609	// individual workers.
28610	//
28611	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-ImageMultiClassMultiLabel
28612	//
28613	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-ImageMultiClassMultiLabel
28614	//
28615	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-ImageMultiClassMultiLabel
28616	//
28617	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-ImageMultiClassMultiLabel
28618	//
28619	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-ImageMultiClassMultiLabel
28620	//
28621	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-ImageMultiClassMultiLabel
28622	//
28623	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-ImageMultiClassMultiLabel
28624	//
28625	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-ImageMultiClassMultiLabel
28626	//
28627	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-ImageMultiClassMultiLabel
28628	//
28629	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-ImageMultiClassMultiLabel
28630	//
28631	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-ImageMultiClassMultiLabel
28632	//
28633	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-ImageMultiClassMultiLabel
28634	//
28635	// Semantic segmentation - Treats each pixel in an image as a multi-class classification
28636	// and treats pixel annotations from workers as "votes" for the correct label.
28637	//
28638	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-SemanticSegmentation
28639	//
28640	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-SemanticSegmentation
28641	//
28642	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-SemanticSegmentation
28643	//
28644	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-SemanticSegmentation
28645	//
28646	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-SemanticSegmentation
28647	//
28648	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-SemanticSegmentation
28649	//
28650	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-SemanticSegmentation
28651	//
28652	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-SemanticSegmentation
28653	//
28654	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-SemanticSegmentation
28655	//
28656	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-SemanticSegmentation
28657	//
28658	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-SemanticSegmentation
28659	//
28660	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-SemanticSegmentation
28661	//
28662	// Text classification - Uses a variant of the Expectation Maximization approach
28663	// to estimate the true class of text based on annotations from individual workers.
28664	//
28665	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-TextMultiClass
28666	//
28667	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-TextMultiClass
28668	//
28669	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-TextMultiClass
28670	//
28671	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-TextMultiClass
28672	//
28673	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-TextMultiClass
28674	//
28675	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-TextMultiClass
28676	//
28677	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-TextMultiClass
28678	//
28679	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-TextMultiClass
28680	//
28681	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-TextMultiClass
28682	//
28683	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-TextMultiClass
28684	//
28685	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-TextMultiClass
28686	//
28687	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-TextMultiClass
28688	//
28689	// Multi-label text classification - Uses a variant of the Expectation Maximization
28690	// approach to estimate the true classes of text based on annotations from individual
28691	// workers.
28692	//
28693	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-TextMultiClassMultiLabel
28694	//
28695	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-TextMultiClassMultiLabel
28696	//
28697	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-TextMultiClassMultiLabel
28698	//
28699	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-TextMultiClassMultiLabel
28700	//
28701	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-TextMultiClassMultiLabel
28702	//
28703	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-TextMultiClassMultiLabel
28704	//
28705	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-TextMultiClassMultiLabel
28706	//
28707	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-TextMultiClassMultiLabel
28708	//
28709	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-TextMultiClassMultiLabel
28710	//
28711	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-TextMultiClassMultiLabel
28712	//
28713	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-TextMultiClassMultiLabel
28714	//
28715	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-TextMultiClassMultiLabel
28716	//
28717	// Named entity recognition - Groups similar selections and calculates aggregate
28718	// boundaries, resolving to most-assigned label.
28719	//
28720	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-NamedEntityRecognition
28721	//
28722	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-NamedEntityRecognition
28723	//
28724	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-NamedEntityRecognition
28725	//
28726	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-NamedEntityRecognition
28727	//
28728	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-NamedEntityRecognition
28729	//
28730	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-NamedEntityRecognition
28731	//
28732	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-NamedEntityRecognition
28733	//
28734	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-NamedEntityRecognition
28735	//
28736	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-NamedEntityRecognition
28737	//
28738	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-NamedEntityRecognition
28739	//
28740	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-NamedEntityRecognition
28741	//
28742	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-NamedEntityRecognition
28743	//
28744	// Bounding box verification - Uses a variant of the Expectation Maximization
28745	// approach to estimate the true class of verification judgement for bounding
28746	// box labels based on annotations from individual workers.
28747	//
28748	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-VerificationBoundingBox
28749	//
28750	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-VerificationBoundingBox
28751	//
28752	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-VerificationBoundingBox
28753	//
28754	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-VerificationBoundingBox
28755	//
28756	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-VerificationBoundingBox
28757	//
28758	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-VerificationBoundingBox
28759	//
28760	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-VerificationBoundingBox
28761	//
28762	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-VerificationBoundingBox
28763	//
28764	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-VerificationBoundingBox
28765	//
28766	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-VerificationBoundingBox
28767	//
28768	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-VerificationBoundingBox
28769	//
28770	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-VerificationBoundingBox
28771	//
28772	// Bounding box adjustment - Finds the most similar boxes from different workers
28773	// based on the Jaccard index of the adjusted annotations.
28774	//
28775	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-AdjustmentBoundingBox
28776	//
28777	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-AdjustmentBoundingBox
28778	//
28779	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-AdjustmentBoundingBox
28780	//
28781	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-AdjustmentBoundingBox
28782	//
28783	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-AdjustmentBoundingBox
28784	//
28785	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-AdjustmentBoundingBox
28786	//
28787	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-AdjustmentBoundingBox
28788	//
28789	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-AdjustmentBoundingBox
28790	//
28791	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-AdjustmentBoundingBox
28792	//
28793	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-AdjustmentBoundingBox
28794	//
28795	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-AdjustmentBoundingBox
28796	//
28797	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-AdjustmentBoundingBox
28798	//
28799	// Semantic segmentation verification - Uses a variant of the Expectation Maximization
28800	// approach to estimate the true class of verification judgment for semantic
28801	// segmentation labels based on annotations from individual workers.
28802	//
28803	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-VerificationSemanticSegmentation
28804	//
28805	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-VerificationSemanticSegmentation
28806	//
28807	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-VerificationSemanticSegmentation
28808	//
28809	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-VerificationSemanticSegmentation
28810	//
28811	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-VerificationSemanticSegmentation
28812	//
28813	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-VerificationSemanticSegmentation
28814	//
28815	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-VerificationSemanticSegmentation
28816	//
28817	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-VerificationSemanticSegmentation
28818	//
28819	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-VerificationSemanticSegmentation
28820	//
28821	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-VerificationSemanticSegmentation
28822	//
28823	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-VerificationSemanticSegmentation
28824	//
28825	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-VerificationSemanticSegmentation
28826	//
28827	// Semantic segmentation adjustment - Treats each pixel in an image as a multi-class
28828	// classification and treats pixel adjusted annotations from workers as "votes"
28829	// for the correct label.
28830	//
28831	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-AdjustmentSemanticSegmentation
28832	//
28833	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-AdjustmentSemanticSegmentation
28834	//
28835	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-AdjustmentSemanticSegmentation
28836	//
28837	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-AdjustmentSemanticSegmentation
28838	//
28839	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-AdjustmentSemanticSegmentation
28840	//
28841	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-AdjustmentSemanticSegmentation
28842	//
28843	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-AdjustmentSemanticSegmentation
28844	//
28845	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-AdjustmentSemanticSegmentation
28846	//
28847	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-AdjustmentSemanticSegmentation
28848	//
28849	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-AdjustmentSemanticSegmentation
28850	//
28851	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-AdjustmentSemanticSegmentation
28852	//
28853	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-AdjustmentSemanticSegmentation
28854	//
28855	// PreHumanTaskLambdaArn is a required field
28856	PreHumanTaskLambdaArn *string `type:"string" required:"true"`
28857
28858	// The price that you pay for each task performed by an Amazon Mechanical Turk
28859	// worker.
28860	PublicWorkforceTaskPrice *PublicWorkforceTaskPrice `type:"structure"`
28861
28862	// The length of time that a task remains available for labeling by human workers.
28863	// If you choose the Amazon Mechanical Turk workforce, the maximum is 12 hours
28864	// (43200). The default value is 864000 seconds (10 days). For private and vendor
28865	// workforces, the maximum is as listed.
28866	TaskAvailabilityLifetimeInSeconds *int64 `min:"60" type:"integer"`
28867
28868	// A description of the task for your human workers.
28869	//
28870	// TaskDescription is a required field
28871	TaskDescription *string `min:"1" type:"string" required:"true"`
28872
28873	// Keywords used to describe the task so that workers on Amazon Mechanical Turk
28874	// can discover the task.
28875	TaskKeywords []*string `min:"1" type:"list"`
28876
28877	// The amount of time that a worker has to complete a task.
28878	//
28879	// TaskTimeLimitInSeconds is a required field
28880	TaskTimeLimitInSeconds *int64 `min:"30" type:"integer" required:"true"`
28881
28882	// A title for the task for your human workers.
28883	//
28884	// TaskTitle is a required field
28885	TaskTitle *string `min:"1" type:"string" required:"true"`
28886
28887	// Information about the user interface that workers use to complete the labeling
28888	// task.
28889	//
28890	// UiConfig is a required field
28891	UiConfig *UiConfig `type:"structure" required:"true"`
28892
28893	// The Amazon Resource Name (ARN) of the work team assigned to complete the
28894	// tasks.
28895	//
28896	// WorkteamArn is a required field
28897	WorkteamArn *string `type:"string" required:"true"`
28898}
28899
28900// String returns the string representation
28901func (s HumanTaskConfig) String() string {
28902	return awsutil.Prettify(s)
28903}
28904
28905// GoString returns the string representation
28906func (s HumanTaskConfig) GoString() string {
28907	return s.String()
28908}
28909
28910// Validate inspects the fields of the type to determine if they are valid.
28911func (s *HumanTaskConfig) Validate() error {
28912	invalidParams := request.ErrInvalidParams{Context: "HumanTaskConfig"}
28913	if s.AnnotationConsolidationConfig == nil {
28914		invalidParams.Add(request.NewErrParamRequired("AnnotationConsolidationConfig"))
28915	}
28916	if s.MaxConcurrentTaskCount != nil && *s.MaxConcurrentTaskCount < 1 {
28917		invalidParams.Add(request.NewErrParamMinValue("MaxConcurrentTaskCount", 1))
28918	}
28919	if s.NumberOfHumanWorkersPerDataObject == nil {
28920		invalidParams.Add(request.NewErrParamRequired("NumberOfHumanWorkersPerDataObject"))
28921	}
28922	if s.NumberOfHumanWorkersPerDataObject != nil && *s.NumberOfHumanWorkersPerDataObject < 1 {
28923		invalidParams.Add(request.NewErrParamMinValue("NumberOfHumanWorkersPerDataObject", 1))
28924	}
28925	if s.PreHumanTaskLambdaArn == nil {
28926		invalidParams.Add(request.NewErrParamRequired("PreHumanTaskLambdaArn"))
28927	}
28928	if s.TaskAvailabilityLifetimeInSeconds != nil && *s.TaskAvailabilityLifetimeInSeconds < 60 {
28929		invalidParams.Add(request.NewErrParamMinValue("TaskAvailabilityLifetimeInSeconds", 60))
28930	}
28931	if s.TaskDescription == nil {
28932		invalidParams.Add(request.NewErrParamRequired("TaskDescription"))
28933	}
28934	if s.TaskDescription != nil && len(*s.TaskDescription) < 1 {
28935		invalidParams.Add(request.NewErrParamMinLen("TaskDescription", 1))
28936	}
28937	if s.TaskKeywords != nil && len(s.TaskKeywords) < 1 {
28938		invalidParams.Add(request.NewErrParamMinLen("TaskKeywords", 1))
28939	}
28940	if s.TaskTimeLimitInSeconds == nil {
28941		invalidParams.Add(request.NewErrParamRequired("TaskTimeLimitInSeconds"))
28942	}
28943	if s.TaskTimeLimitInSeconds != nil && *s.TaskTimeLimitInSeconds < 30 {
28944		invalidParams.Add(request.NewErrParamMinValue("TaskTimeLimitInSeconds", 30))
28945	}
28946	if s.TaskTitle == nil {
28947		invalidParams.Add(request.NewErrParamRequired("TaskTitle"))
28948	}
28949	if s.TaskTitle != nil && len(*s.TaskTitle) < 1 {
28950		invalidParams.Add(request.NewErrParamMinLen("TaskTitle", 1))
28951	}
28952	if s.UiConfig == nil {
28953		invalidParams.Add(request.NewErrParamRequired("UiConfig"))
28954	}
28955	if s.WorkteamArn == nil {
28956		invalidParams.Add(request.NewErrParamRequired("WorkteamArn"))
28957	}
28958	if s.AnnotationConsolidationConfig != nil {
28959		if err := s.AnnotationConsolidationConfig.Validate(); err != nil {
28960			invalidParams.AddNested("AnnotationConsolidationConfig", err.(request.ErrInvalidParams))
28961		}
28962	}
28963
28964	if invalidParams.Len() > 0 {
28965		return invalidParams
28966	}
28967	return nil
28968}
28969
28970// SetAnnotationConsolidationConfig sets the AnnotationConsolidationConfig field's value.
28971func (s *HumanTaskConfig) SetAnnotationConsolidationConfig(v *AnnotationConsolidationConfig) *HumanTaskConfig {
28972	s.AnnotationConsolidationConfig = v
28973	return s
28974}
28975
28976// SetMaxConcurrentTaskCount sets the MaxConcurrentTaskCount field's value.
28977func (s *HumanTaskConfig) SetMaxConcurrentTaskCount(v int64) *HumanTaskConfig {
28978	s.MaxConcurrentTaskCount = &v
28979	return s
28980}
28981
28982// SetNumberOfHumanWorkersPerDataObject sets the NumberOfHumanWorkersPerDataObject field's value.
28983func (s *HumanTaskConfig) SetNumberOfHumanWorkersPerDataObject(v int64) *HumanTaskConfig {
28984	s.NumberOfHumanWorkersPerDataObject = &v
28985	return s
28986}
28987
28988// SetPreHumanTaskLambdaArn sets the PreHumanTaskLambdaArn field's value.
28989func (s *HumanTaskConfig) SetPreHumanTaskLambdaArn(v string) *HumanTaskConfig {
28990	s.PreHumanTaskLambdaArn = &v
28991	return s
28992}
28993
28994// SetPublicWorkforceTaskPrice sets the PublicWorkforceTaskPrice field's value.
28995func (s *HumanTaskConfig) SetPublicWorkforceTaskPrice(v *PublicWorkforceTaskPrice) *HumanTaskConfig {
28996	s.PublicWorkforceTaskPrice = v
28997	return s
28998}
28999
29000// SetTaskAvailabilityLifetimeInSeconds sets the TaskAvailabilityLifetimeInSeconds field's value.
29001func (s *HumanTaskConfig) SetTaskAvailabilityLifetimeInSeconds(v int64) *HumanTaskConfig {
29002	s.TaskAvailabilityLifetimeInSeconds = &v
29003	return s
29004}
29005
29006// SetTaskDescription sets the TaskDescription field's value.
29007func (s *HumanTaskConfig) SetTaskDescription(v string) *HumanTaskConfig {
29008	s.TaskDescription = &v
29009	return s
29010}
29011
29012// SetTaskKeywords sets the TaskKeywords field's value.
29013func (s *HumanTaskConfig) SetTaskKeywords(v []*string) *HumanTaskConfig {
29014	s.TaskKeywords = v
29015	return s
29016}
29017
29018// SetTaskTimeLimitInSeconds sets the TaskTimeLimitInSeconds field's value.
29019func (s *HumanTaskConfig) SetTaskTimeLimitInSeconds(v int64) *HumanTaskConfig {
29020	s.TaskTimeLimitInSeconds = &v
29021	return s
29022}
29023
29024// SetTaskTitle sets the TaskTitle field's value.
29025func (s *HumanTaskConfig) SetTaskTitle(v string) *HumanTaskConfig {
29026	s.TaskTitle = &v
29027	return s
29028}
29029
29030// SetUiConfig sets the UiConfig field's value.
29031func (s *HumanTaskConfig) SetUiConfig(v *UiConfig) *HumanTaskConfig {
29032	s.UiConfig = v
29033	return s
29034}
29035
29036// SetWorkteamArn sets the WorkteamArn field's value.
29037func (s *HumanTaskConfig) SetWorkteamArn(v string) *HumanTaskConfig {
29038	s.WorkteamArn = &v
29039	return s
29040}
29041
29042// Container for human task user interface information.
29043type HumanTaskUiSummary struct {
29044	_ struct{} `type:"structure"`
29045
29046	// A timestamp when SageMaker created the human task user interface.
29047	//
29048	// CreationTime is a required field
29049	CreationTime *time.Time `type:"timestamp" required:"true"`
29050
29051	// The Amazon Resource Name (ARN) of the human task user interface.
29052	//
29053	// HumanTaskUiArn is a required field
29054	HumanTaskUiArn *string `type:"string" required:"true"`
29055
29056	// The name of the human task user interface.
29057	//
29058	// HumanTaskUiName is a required field
29059	HumanTaskUiName *string `min:"1" type:"string" required:"true"`
29060}
29061
29062// String returns the string representation
29063func (s HumanTaskUiSummary) String() string {
29064	return awsutil.Prettify(s)
29065}
29066
29067// GoString returns the string representation
29068func (s HumanTaskUiSummary) GoString() string {
29069	return s.String()
29070}
29071
29072// SetCreationTime sets the CreationTime field's value.
29073func (s *HumanTaskUiSummary) SetCreationTime(v time.Time) *HumanTaskUiSummary {
29074	s.CreationTime = &v
29075	return s
29076}
29077
29078// SetHumanTaskUiArn sets the HumanTaskUiArn field's value.
29079func (s *HumanTaskUiSummary) SetHumanTaskUiArn(v string) *HumanTaskUiSummary {
29080	s.HumanTaskUiArn = &v
29081	return s
29082}
29083
29084// SetHumanTaskUiName sets the HumanTaskUiName field's value.
29085func (s *HumanTaskUiSummary) SetHumanTaskUiName(v string) *HumanTaskUiSummary {
29086	s.HumanTaskUiName = &v
29087	return s
29088}
29089
29090// Specifies which training algorithm to use for training jobs that a hyperparameter
29091// tuning job launches and the metrics to monitor.
29092type HyperParameterAlgorithmSpecification struct {
29093	_ struct{} `type:"structure"`
29094
29095	// The name of the resource algorithm to use for the hyperparameter tuning job.
29096	// If you specify a value for this parameter, do not specify a value for TrainingImage.
29097	AlgorithmName *string `min:"1" type:"string"`
29098
29099	// An array of MetricDefinition objects that specify the metrics that the algorithm
29100	// emits.
29101	MetricDefinitions []*MetricDefinition `type:"list"`
29102
29103	// The registry path of the Docker image that contains the training algorithm.
29104	// For information about Docker registry paths for built-in algorithms, see
29105	// Algorithms Provided by Amazon SageMaker: Common Parameters (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html).
29106	// Amazon SageMaker supports both registry/repository[:tag] and registry/repository[@digest]
29107	// image path formats. For more information, see Using Your Own Algorithms with
29108	// Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
29109	TrainingImage *string `type:"string"`
29110
29111	// The input mode that the algorithm supports: File or Pipe. In File input mode,
29112	// Amazon SageMaker downloads the training data from Amazon S3 to the storage
29113	// volume that is attached to the training instance and mounts the directory
29114	// to the Docker volume for the training container. In Pipe input mode, Amazon
29115	// SageMaker streams data directly from Amazon S3 to the container.
29116	//
29117	// If you specify File mode, make sure that you provision the storage volume
29118	// that is attached to the training instance with enough capacity to accommodate
29119	// the training data downloaded from Amazon S3, the model artifacts, and intermediate
29120	// information.
29121	//
29122	// For more information about input modes, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
29123	//
29124	// TrainingInputMode is a required field
29125	TrainingInputMode *string `type:"string" required:"true" enum:"TrainingInputMode"`
29126}
29127
29128// String returns the string representation
29129func (s HyperParameterAlgorithmSpecification) String() string {
29130	return awsutil.Prettify(s)
29131}
29132
29133// GoString returns the string representation
29134func (s HyperParameterAlgorithmSpecification) GoString() string {
29135	return s.String()
29136}
29137
29138// Validate inspects the fields of the type to determine if they are valid.
29139func (s *HyperParameterAlgorithmSpecification) Validate() error {
29140	invalidParams := request.ErrInvalidParams{Context: "HyperParameterAlgorithmSpecification"}
29141	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
29142		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
29143	}
29144	if s.TrainingInputMode == nil {
29145		invalidParams.Add(request.NewErrParamRequired("TrainingInputMode"))
29146	}
29147	if s.MetricDefinitions != nil {
29148		for i, v := range s.MetricDefinitions {
29149			if v == nil {
29150				continue
29151			}
29152			if err := v.Validate(); err != nil {
29153				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MetricDefinitions", i), err.(request.ErrInvalidParams))
29154			}
29155		}
29156	}
29157
29158	if invalidParams.Len() > 0 {
29159		return invalidParams
29160	}
29161	return nil
29162}
29163
29164// SetAlgorithmName sets the AlgorithmName field's value.
29165func (s *HyperParameterAlgorithmSpecification) SetAlgorithmName(v string) *HyperParameterAlgorithmSpecification {
29166	s.AlgorithmName = &v
29167	return s
29168}
29169
29170// SetMetricDefinitions sets the MetricDefinitions field's value.
29171func (s *HyperParameterAlgorithmSpecification) SetMetricDefinitions(v []*MetricDefinition) *HyperParameterAlgorithmSpecification {
29172	s.MetricDefinitions = v
29173	return s
29174}
29175
29176// SetTrainingImage sets the TrainingImage field's value.
29177func (s *HyperParameterAlgorithmSpecification) SetTrainingImage(v string) *HyperParameterAlgorithmSpecification {
29178	s.TrainingImage = &v
29179	return s
29180}
29181
29182// SetTrainingInputMode sets the TrainingInputMode field's value.
29183func (s *HyperParameterAlgorithmSpecification) SetTrainingInputMode(v string) *HyperParameterAlgorithmSpecification {
29184	s.TrainingInputMode = &v
29185	return s
29186}
29187
29188// Defines a hyperparameter to be used by an algorithm.
29189type HyperParameterSpecification struct {
29190	_ struct{} `type:"structure"`
29191
29192	// The default value for this hyperparameter. If a default value is specified,
29193	// a hyperparameter cannot be required.
29194	DefaultValue *string `type:"string"`
29195
29196	// A brief description of the hyperparameter.
29197	Description *string `type:"string"`
29198
29199	// Indicates whether this hyperparameter is required.
29200	IsRequired *bool `type:"boolean"`
29201
29202	// Indicates whether this hyperparameter is tunable in a hyperparameter tuning
29203	// job.
29204	IsTunable *bool `type:"boolean"`
29205
29206	// The name of this hyperparameter. The name must be unique.
29207	//
29208	// Name is a required field
29209	Name *string `type:"string" required:"true"`
29210
29211	// The allowed range for this hyperparameter.
29212	Range *ParameterRange `type:"structure"`
29213
29214	// The type of this hyperparameter. The valid types are Integer, Continuous,
29215	// Categorical, and FreeText.
29216	//
29217	// Type is a required field
29218	Type *string `type:"string" required:"true" enum:"ParameterType"`
29219}
29220
29221// String returns the string representation
29222func (s HyperParameterSpecification) String() string {
29223	return awsutil.Prettify(s)
29224}
29225
29226// GoString returns the string representation
29227func (s HyperParameterSpecification) GoString() string {
29228	return s.String()
29229}
29230
29231// Validate inspects the fields of the type to determine if they are valid.
29232func (s *HyperParameterSpecification) Validate() error {
29233	invalidParams := request.ErrInvalidParams{Context: "HyperParameterSpecification"}
29234	if s.Name == nil {
29235		invalidParams.Add(request.NewErrParamRequired("Name"))
29236	}
29237	if s.Type == nil {
29238		invalidParams.Add(request.NewErrParamRequired("Type"))
29239	}
29240	if s.Range != nil {
29241		if err := s.Range.Validate(); err != nil {
29242			invalidParams.AddNested("Range", err.(request.ErrInvalidParams))
29243		}
29244	}
29245
29246	if invalidParams.Len() > 0 {
29247		return invalidParams
29248	}
29249	return nil
29250}
29251
29252// SetDefaultValue sets the DefaultValue field's value.
29253func (s *HyperParameterSpecification) SetDefaultValue(v string) *HyperParameterSpecification {
29254	s.DefaultValue = &v
29255	return s
29256}
29257
29258// SetDescription sets the Description field's value.
29259func (s *HyperParameterSpecification) SetDescription(v string) *HyperParameterSpecification {
29260	s.Description = &v
29261	return s
29262}
29263
29264// SetIsRequired sets the IsRequired field's value.
29265func (s *HyperParameterSpecification) SetIsRequired(v bool) *HyperParameterSpecification {
29266	s.IsRequired = &v
29267	return s
29268}
29269
29270// SetIsTunable sets the IsTunable field's value.
29271func (s *HyperParameterSpecification) SetIsTunable(v bool) *HyperParameterSpecification {
29272	s.IsTunable = &v
29273	return s
29274}
29275
29276// SetName sets the Name field's value.
29277func (s *HyperParameterSpecification) SetName(v string) *HyperParameterSpecification {
29278	s.Name = &v
29279	return s
29280}
29281
29282// SetRange sets the Range field's value.
29283func (s *HyperParameterSpecification) SetRange(v *ParameterRange) *HyperParameterSpecification {
29284	s.Range = v
29285	return s
29286}
29287
29288// SetType sets the Type field's value.
29289func (s *HyperParameterSpecification) SetType(v string) *HyperParameterSpecification {
29290	s.Type = &v
29291	return s
29292}
29293
29294// Defines the training jobs launched by a hyperparameter tuning job.
29295type HyperParameterTrainingJobDefinition struct {
29296	_ struct{} `type:"structure"`
29297
29298	// The HyperParameterAlgorithmSpecification object that specifies the resource
29299	// algorithm to use for the training jobs that the tuning job launches.
29300	//
29301	// AlgorithmSpecification is a required field
29302	AlgorithmSpecification *HyperParameterAlgorithmSpecification `type:"structure" required:"true"`
29303
29304	// Contains information about the output location for managed spot training
29305	// checkpoint data.
29306	CheckpointConfig *CheckpointConfig `type:"structure"`
29307
29308	// The job definition name.
29309	DefinitionName *string `min:"1" type:"string"`
29310
29311	// To encrypt all communications between ML compute instances in distributed
29312	// training, choose True. Encryption provides greater security for distributed
29313	// training, but training might take longer. How long it takes depends on the
29314	// amount of communication between compute instances, especially if you use
29315	// a deep learning algorithm in distributed training.
29316	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
29317
29318	// A Boolean indicating whether managed spot training is enabled (True) or not
29319	// (False).
29320	EnableManagedSpotTraining *bool `type:"boolean"`
29321
29322	// Isolates the training container. No inbound or outbound network calls can
29323	// be made, except for calls between peers within a training cluster for distributed
29324	// training. If network isolation is used for training jobs that are configured
29325	// to use a VPC, Amazon SageMaker downloads and uploads customer data and model
29326	// artifacts through the specified VPC, but the training container does not
29327	// have network access.
29328	EnableNetworkIsolation *bool `type:"boolean"`
29329
29330	// Specifies ranges of integer, continuous, and categorical hyperparameters
29331	// that a hyperparameter tuning job searches. The hyperparameter tuning job
29332	// launches training jobs with hyperparameter values within these ranges to
29333	// find the combination of values that result in the training job with the best
29334	// performance as measured by the objective metric of the hyperparameter tuning
29335	// job.
29336	//
29337	// You can specify a maximum of 20 hyperparameters that a hyperparameter tuning
29338	// job can search over. Every possible value of a categorical parameter range
29339	// counts against this limit.
29340	HyperParameterRanges *ParameterRanges `type:"structure"`
29341
29342	// An array of Channel objects that specify the input for the training jobs
29343	// that the tuning job launches.
29344	InputDataConfig []*Channel `min:"1" type:"list"`
29345
29346	// Specifies the path to the Amazon S3 bucket where you store model artifacts
29347	// from the training jobs that the tuning job launches.
29348	//
29349	// OutputDataConfig is a required field
29350	OutputDataConfig *OutputDataConfig `type:"structure" required:"true"`
29351
29352	// The resources, including the compute instances and storage volumes, to use
29353	// for the training jobs that the tuning job launches.
29354	//
29355	// Storage volumes store model artifacts and incremental states. Training algorithms
29356	// might also use storage volumes for scratch space. If you want Amazon SageMaker
29357	// to use the storage volume to store the training data, choose File as the
29358	// TrainingInputMode in the algorithm specification. For distributed training
29359	// algorithms, specify an instance count greater than 1.
29360	//
29361	// ResourceConfig is a required field
29362	ResourceConfig *ResourceConfig `type:"structure" required:"true"`
29363
29364	// The Amazon Resource Name (ARN) of the IAM role associated with the training
29365	// jobs that the tuning job launches.
29366	//
29367	// RoleArn is a required field
29368	RoleArn *string `min:"20" type:"string" required:"true"`
29369
29370	// Specifies the values of hyperparameters that do not change for the tuning
29371	// job.
29372	StaticHyperParameters map[string]*string `type:"map"`
29373
29374	// Specifies a limit to how long a model hyperparameter training job can run.
29375	// It also specifies how long you are willing to wait for a managed spot training
29376	// job to complete. When the job reaches the a limit, Amazon SageMaker ends
29377	// the training job. Use this API to cap model training costs.
29378	//
29379	// StoppingCondition is a required field
29380	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
29381
29382	// Defines the objective metric for a hyperparameter tuning job. Hyperparameter
29383	// tuning uses the value of this metric to evaluate the training jobs it launches,
29384	// and returns the training job that results in either the highest or lowest
29385	// value for this metric, depending on the value you specify for the Type parameter.
29386	TuningObjective *HyperParameterTuningJobObjective `type:"structure"`
29387
29388	// The VpcConfig object that specifies the VPC that you want the training jobs
29389	// that this hyperparameter tuning job launches to connect to. Control access
29390	// to and from your training container by configuring the VPC. For more information,
29391	// see Protect Training Jobs by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
29392	VpcConfig *VpcConfig `type:"structure"`
29393}
29394
29395// String returns the string representation
29396func (s HyperParameterTrainingJobDefinition) String() string {
29397	return awsutil.Prettify(s)
29398}
29399
29400// GoString returns the string representation
29401func (s HyperParameterTrainingJobDefinition) GoString() string {
29402	return s.String()
29403}
29404
29405// Validate inspects the fields of the type to determine if they are valid.
29406func (s *HyperParameterTrainingJobDefinition) Validate() error {
29407	invalidParams := request.ErrInvalidParams{Context: "HyperParameterTrainingJobDefinition"}
29408	if s.AlgorithmSpecification == nil {
29409		invalidParams.Add(request.NewErrParamRequired("AlgorithmSpecification"))
29410	}
29411	if s.DefinitionName != nil && len(*s.DefinitionName) < 1 {
29412		invalidParams.Add(request.NewErrParamMinLen("DefinitionName", 1))
29413	}
29414	if s.InputDataConfig != nil && len(s.InputDataConfig) < 1 {
29415		invalidParams.Add(request.NewErrParamMinLen("InputDataConfig", 1))
29416	}
29417	if s.OutputDataConfig == nil {
29418		invalidParams.Add(request.NewErrParamRequired("OutputDataConfig"))
29419	}
29420	if s.ResourceConfig == nil {
29421		invalidParams.Add(request.NewErrParamRequired("ResourceConfig"))
29422	}
29423	if s.RoleArn == nil {
29424		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
29425	}
29426	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
29427		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
29428	}
29429	if s.StoppingCondition == nil {
29430		invalidParams.Add(request.NewErrParamRequired("StoppingCondition"))
29431	}
29432	if s.AlgorithmSpecification != nil {
29433		if err := s.AlgorithmSpecification.Validate(); err != nil {
29434			invalidParams.AddNested("AlgorithmSpecification", err.(request.ErrInvalidParams))
29435		}
29436	}
29437	if s.CheckpointConfig != nil {
29438		if err := s.CheckpointConfig.Validate(); err != nil {
29439			invalidParams.AddNested("CheckpointConfig", err.(request.ErrInvalidParams))
29440		}
29441	}
29442	if s.HyperParameterRanges != nil {
29443		if err := s.HyperParameterRanges.Validate(); err != nil {
29444			invalidParams.AddNested("HyperParameterRanges", err.(request.ErrInvalidParams))
29445		}
29446	}
29447	if s.InputDataConfig != nil {
29448		for i, v := range s.InputDataConfig {
29449			if v == nil {
29450				continue
29451			}
29452			if err := v.Validate(); err != nil {
29453				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputDataConfig", i), err.(request.ErrInvalidParams))
29454			}
29455		}
29456	}
29457	if s.OutputDataConfig != nil {
29458		if err := s.OutputDataConfig.Validate(); err != nil {
29459			invalidParams.AddNested("OutputDataConfig", err.(request.ErrInvalidParams))
29460		}
29461	}
29462	if s.ResourceConfig != nil {
29463		if err := s.ResourceConfig.Validate(); err != nil {
29464			invalidParams.AddNested("ResourceConfig", err.(request.ErrInvalidParams))
29465		}
29466	}
29467	if s.StoppingCondition != nil {
29468		if err := s.StoppingCondition.Validate(); err != nil {
29469			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
29470		}
29471	}
29472	if s.TuningObjective != nil {
29473		if err := s.TuningObjective.Validate(); err != nil {
29474			invalidParams.AddNested("TuningObjective", err.(request.ErrInvalidParams))
29475		}
29476	}
29477	if s.VpcConfig != nil {
29478		if err := s.VpcConfig.Validate(); err != nil {
29479			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
29480		}
29481	}
29482
29483	if invalidParams.Len() > 0 {
29484		return invalidParams
29485	}
29486	return nil
29487}
29488
29489// SetAlgorithmSpecification sets the AlgorithmSpecification field's value.
29490func (s *HyperParameterTrainingJobDefinition) SetAlgorithmSpecification(v *HyperParameterAlgorithmSpecification) *HyperParameterTrainingJobDefinition {
29491	s.AlgorithmSpecification = v
29492	return s
29493}
29494
29495// SetCheckpointConfig sets the CheckpointConfig field's value.
29496func (s *HyperParameterTrainingJobDefinition) SetCheckpointConfig(v *CheckpointConfig) *HyperParameterTrainingJobDefinition {
29497	s.CheckpointConfig = v
29498	return s
29499}
29500
29501// SetDefinitionName sets the DefinitionName field's value.
29502func (s *HyperParameterTrainingJobDefinition) SetDefinitionName(v string) *HyperParameterTrainingJobDefinition {
29503	s.DefinitionName = &v
29504	return s
29505}
29506
29507// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
29508func (s *HyperParameterTrainingJobDefinition) SetEnableInterContainerTrafficEncryption(v bool) *HyperParameterTrainingJobDefinition {
29509	s.EnableInterContainerTrafficEncryption = &v
29510	return s
29511}
29512
29513// SetEnableManagedSpotTraining sets the EnableManagedSpotTraining field's value.
29514func (s *HyperParameterTrainingJobDefinition) SetEnableManagedSpotTraining(v bool) *HyperParameterTrainingJobDefinition {
29515	s.EnableManagedSpotTraining = &v
29516	return s
29517}
29518
29519// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
29520func (s *HyperParameterTrainingJobDefinition) SetEnableNetworkIsolation(v bool) *HyperParameterTrainingJobDefinition {
29521	s.EnableNetworkIsolation = &v
29522	return s
29523}
29524
29525// SetHyperParameterRanges sets the HyperParameterRanges field's value.
29526func (s *HyperParameterTrainingJobDefinition) SetHyperParameterRanges(v *ParameterRanges) *HyperParameterTrainingJobDefinition {
29527	s.HyperParameterRanges = v
29528	return s
29529}
29530
29531// SetInputDataConfig sets the InputDataConfig field's value.
29532func (s *HyperParameterTrainingJobDefinition) SetInputDataConfig(v []*Channel) *HyperParameterTrainingJobDefinition {
29533	s.InputDataConfig = v
29534	return s
29535}
29536
29537// SetOutputDataConfig sets the OutputDataConfig field's value.
29538func (s *HyperParameterTrainingJobDefinition) SetOutputDataConfig(v *OutputDataConfig) *HyperParameterTrainingJobDefinition {
29539	s.OutputDataConfig = v
29540	return s
29541}
29542
29543// SetResourceConfig sets the ResourceConfig field's value.
29544func (s *HyperParameterTrainingJobDefinition) SetResourceConfig(v *ResourceConfig) *HyperParameterTrainingJobDefinition {
29545	s.ResourceConfig = v
29546	return s
29547}
29548
29549// SetRoleArn sets the RoleArn field's value.
29550func (s *HyperParameterTrainingJobDefinition) SetRoleArn(v string) *HyperParameterTrainingJobDefinition {
29551	s.RoleArn = &v
29552	return s
29553}
29554
29555// SetStaticHyperParameters sets the StaticHyperParameters field's value.
29556func (s *HyperParameterTrainingJobDefinition) SetStaticHyperParameters(v map[string]*string) *HyperParameterTrainingJobDefinition {
29557	s.StaticHyperParameters = v
29558	return s
29559}
29560
29561// SetStoppingCondition sets the StoppingCondition field's value.
29562func (s *HyperParameterTrainingJobDefinition) SetStoppingCondition(v *StoppingCondition) *HyperParameterTrainingJobDefinition {
29563	s.StoppingCondition = v
29564	return s
29565}
29566
29567// SetTuningObjective sets the TuningObjective field's value.
29568func (s *HyperParameterTrainingJobDefinition) SetTuningObjective(v *HyperParameterTuningJobObjective) *HyperParameterTrainingJobDefinition {
29569	s.TuningObjective = v
29570	return s
29571}
29572
29573// SetVpcConfig sets the VpcConfig field's value.
29574func (s *HyperParameterTrainingJobDefinition) SetVpcConfig(v *VpcConfig) *HyperParameterTrainingJobDefinition {
29575	s.VpcConfig = v
29576	return s
29577}
29578
29579// Specifies summary information about a training job.
29580type HyperParameterTrainingJobSummary struct {
29581	_ struct{} `type:"structure"`
29582
29583	// The date and time that the training job was created.
29584	//
29585	// CreationTime is a required field
29586	CreationTime *time.Time `type:"timestamp" required:"true"`
29587
29588	// The reason that the training job failed.
29589	FailureReason *string `type:"string"`
29590
29591	// The FinalHyperParameterTuningJobObjectiveMetric object that specifies the
29592	// value of the objective metric of the tuning job that launched this training
29593	// job.
29594	FinalHyperParameterTuningJobObjectiveMetric *FinalHyperParameterTuningJobObjectiveMetric `type:"structure"`
29595
29596	// The status of the objective metric for the training job:
29597	//
29598	//    * Succeeded: The final objective metric for the training job was evaluated
29599	//    by the hyperparameter tuning job and used in the hyperparameter tuning
29600	//    process.
29601	//
29602	//    * Pending: The training job is in progress and evaluation of its final
29603	//    objective metric is pending.
29604	//
29605	//    * Failed: The final objective metric for the training job was not evaluated,
29606	//    and was not used in the hyperparameter tuning process. This typically
29607	//    occurs when the training job failed or did not emit an objective metric.
29608	ObjectiveStatus *string `type:"string" enum:"ObjectiveStatus"`
29609
29610	// Specifies the time when the training job ends on training instances. You
29611	// are billed for the time interval between the value of TrainingStartTime and
29612	// this time. For successful jobs and stopped jobs, this is the time after model
29613	// artifacts are uploaded. For failed jobs, this is the time when Amazon SageMaker
29614	// detects a job failure.
29615	TrainingEndTime *time.Time `type:"timestamp"`
29616
29617	// The Amazon Resource Name (ARN) of the training job.
29618	//
29619	// TrainingJobArn is a required field
29620	TrainingJobArn *string `type:"string" required:"true"`
29621
29622	// The training job definition name.
29623	TrainingJobDefinitionName *string `min:"1" type:"string"`
29624
29625	// The name of the training job.
29626	//
29627	// TrainingJobName is a required field
29628	TrainingJobName *string `min:"1" type:"string" required:"true"`
29629
29630	// The status of the training job.
29631	//
29632	// TrainingJobStatus is a required field
29633	TrainingJobStatus *string `type:"string" required:"true" enum:"TrainingJobStatus"`
29634
29635	// The date and time that the training job started.
29636	TrainingStartTime *time.Time `type:"timestamp"`
29637
29638	// A list of the hyperparameters for which you specified ranges to search.
29639	//
29640	// TunedHyperParameters is a required field
29641	TunedHyperParameters map[string]*string `type:"map" required:"true"`
29642
29643	// The HyperParameter tuning job that launched the training job.
29644	TuningJobName *string `min:"1" type:"string"`
29645}
29646
29647// String returns the string representation
29648func (s HyperParameterTrainingJobSummary) String() string {
29649	return awsutil.Prettify(s)
29650}
29651
29652// GoString returns the string representation
29653func (s HyperParameterTrainingJobSummary) GoString() string {
29654	return s.String()
29655}
29656
29657// SetCreationTime sets the CreationTime field's value.
29658func (s *HyperParameterTrainingJobSummary) SetCreationTime(v time.Time) *HyperParameterTrainingJobSummary {
29659	s.CreationTime = &v
29660	return s
29661}
29662
29663// SetFailureReason sets the FailureReason field's value.
29664func (s *HyperParameterTrainingJobSummary) SetFailureReason(v string) *HyperParameterTrainingJobSummary {
29665	s.FailureReason = &v
29666	return s
29667}
29668
29669// SetFinalHyperParameterTuningJobObjectiveMetric sets the FinalHyperParameterTuningJobObjectiveMetric field's value.
29670func (s *HyperParameterTrainingJobSummary) SetFinalHyperParameterTuningJobObjectiveMetric(v *FinalHyperParameterTuningJobObjectiveMetric) *HyperParameterTrainingJobSummary {
29671	s.FinalHyperParameterTuningJobObjectiveMetric = v
29672	return s
29673}
29674
29675// SetObjectiveStatus sets the ObjectiveStatus field's value.
29676func (s *HyperParameterTrainingJobSummary) SetObjectiveStatus(v string) *HyperParameterTrainingJobSummary {
29677	s.ObjectiveStatus = &v
29678	return s
29679}
29680
29681// SetTrainingEndTime sets the TrainingEndTime field's value.
29682func (s *HyperParameterTrainingJobSummary) SetTrainingEndTime(v time.Time) *HyperParameterTrainingJobSummary {
29683	s.TrainingEndTime = &v
29684	return s
29685}
29686
29687// SetTrainingJobArn sets the TrainingJobArn field's value.
29688func (s *HyperParameterTrainingJobSummary) SetTrainingJobArn(v string) *HyperParameterTrainingJobSummary {
29689	s.TrainingJobArn = &v
29690	return s
29691}
29692
29693// SetTrainingJobDefinitionName sets the TrainingJobDefinitionName field's value.
29694func (s *HyperParameterTrainingJobSummary) SetTrainingJobDefinitionName(v string) *HyperParameterTrainingJobSummary {
29695	s.TrainingJobDefinitionName = &v
29696	return s
29697}
29698
29699// SetTrainingJobName sets the TrainingJobName field's value.
29700func (s *HyperParameterTrainingJobSummary) SetTrainingJobName(v string) *HyperParameterTrainingJobSummary {
29701	s.TrainingJobName = &v
29702	return s
29703}
29704
29705// SetTrainingJobStatus sets the TrainingJobStatus field's value.
29706func (s *HyperParameterTrainingJobSummary) SetTrainingJobStatus(v string) *HyperParameterTrainingJobSummary {
29707	s.TrainingJobStatus = &v
29708	return s
29709}
29710
29711// SetTrainingStartTime sets the TrainingStartTime field's value.
29712func (s *HyperParameterTrainingJobSummary) SetTrainingStartTime(v time.Time) *HyperParameterTrainingJobSummary {
29713	s.TrainingStartTime = &v
29714	return s
29715}
29716
29717// SetTunedHyperParameters sets the TunedHyperParameters field's value.
29718func (s *HyperParameterTrainingJobSummary) SetTunedHyperParameters(v map[string]*string) *HyperParameterTrainingJobSummary {
29719	s.TunedHyperParameters = v
29720	return s
29721}
29722
29723// SetTuningJobName sets the TuningJobName field's value.
29724func (s *HyperParameterTrainingJobSummary) SetTuningJobName(v string) *HyperParameterTrainingJobSummary {
29725	s.TuningJobName = &v
29726	return s
29727}
29728
29729// Configures a hyperparameter tuning job.
29730type HyperParameterTuningJobConfig struct {
29731	_ struct{} `type:"structure"`
29732
29733	// The HyperParameterTuningJobObjective object that specifies the objective
29734	// metric for this tuning job.
29735	HyperParameterTuningJobObjective *HyperParameterTuningJobObjective `type:"structure"`
29736
29737	// The ParameterRanges object that specifies the ranges of hyperparameters that
29738	// this tuning job searches.
29739	ParameterRanges *ParameterRanges `type:"structure"`
29740
29741	// The ResourceLimits object that specifies the maximum number of training jobs
29742	// and parallel training jobs for this tuning job.
29743	//
29744	// ResourceLimits is a required field
29745	ResourceLimits *ResourceLimits `type:"structure" required:"true"`
29746
29747	// Specifies how hyperparameter tuning chooses the combinations of hyperparameter
29748	// values to use for the training job it launches. To use the Bayesian search
29749	// strategy, set this to Bayesian. To randomly search, set it to Random. For
29750	// information about search strategies, see How Hyperparameter Tuning Works
29751	// (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-how-it-works.html).
29752	//
29753	// Strategy is a required field
29754	Strategy *string `type:"string" required:"true" enum:"HyperParameterTuningJobStrategyType"`
29755
29756	// Specifies whether to use early stopping for training jobs launched by the
29757	// hyperparameter tuning job. This can be one of the following values (the default
29758	// value is OFF):
29759	//
29760	// OFF
29761	//
29762	// Training jobs launched by the hyperparameter tuning job do not use early
29763	// stopping.
29764	//
29765	// AUTO
29766	//
29767	// Amazon SageMaker stops training jobs launched by the hyperparameter tuning
29768	// job when they are unlikely to perform better than previously completed training
29769	// jobs. For more information, see Stop Training Jobs Early (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-early-stopping.html).
29770	TrainingJobEarlyStoppingType *string `type:"string" enum:"TrainingJobEarlyStoppingType"`
29771
29772	// The tuning job's completion criteria.
29773	TuningJobCompletionCriteria *TuningJobCompletionCriteria `type:"structure"`
29774}
29775
29776// String returns the string representation
29777func (s HyperParameterTuningJobConfig) String() string {
29778	return awsutil.Prettify(s)
29779}
29780
29781// GoString returns the string representation
29782func (s HyperParameterTuningJobConfig) GoString() string {
29783	return s.String()
29784}
29785
29786// Validate inspects the fields of the type to determine if they are valid.
29787func (s *HyperParameterTuningJobConfig) Validate() error {
29788	invalidParams := request.ErrInvalidParams{Context: "HyperParameterTuningJobConfig"}
29789	if s.ResourceLimits == nil {
29790		invalidParams.Add(request.NewErrParamRequired("ResourceLimits"))
29791	}
29792	if s.Strategy == nil {
29793		invalidParams.Add(request.NewErrParamRequired("Strategy"))
29794	}
29795	if s.HyperParameterTuningJobObjective != nil {
29796		if err := s.HyperParameterTuningJobObjective.Validate(); err != nil {
29797			invalidParams.AddNested("HyperParameterTuningJobObjective", err.(request.ErrInvalidParams))
29798		}
29799	}
29800	if s.ParameterRanges != nil {
29801		if err := s.ParameterRanges.Validate(); err != nil {
29802			invalidParams.AddNested("ParameterRanges", err.(request.ErrInvalidParams))
29803		}
29804	}
29805	if s.ResourceLimits != nil {
29806		if err := s.ResourceLimits.Validate(); err != nil {
29807			invalidParams.AddNested("ResourceLimits", err.(request.ErrInvalidParams))
29808		}
29809	}
29810	if s.TuningJobCompletionCriteria != nil {
29811		if err := s.TuningJobCompletionCriteria.Validate(); err != nil {
29812			invalidParams.AddNested("TuningJobCompletionCriteria", err.(request.ErrInvalidParams))
29813		}
29814	}
29815
29816	if invalidParams.Len() > 0 {
29817		return invalidParams
29818	}
29819	return nil
29820}
29821
29822// SetHyperParameterTuningJobObjective sets the HyperParameterTuningJobObjective field's value.
29823func (s *HyperParameterTuningJobConfig) SetHyperParameterTuningJobObjective(v *HyperParameterTuningJobObjective) *HyperParameterTuningJobConfig {
29824	s.HyperParameterTuningJobObjective = v
29825	return s
29826}
29827
29828// SetParameterRanges sets the ParameterRanges field's value.
29829func (s *HyperParameterTuningJobConfig) SetParameterRanges(v *ParameterRanges) *HyperParameterTuningJobConfig {
29830	s.ParameterRanges = v
29831	return s
29832}
29833
29834// SetResourceLimits sets the ResourceLimits field's value.
29835func (s *HyperParameterTuningJobConfig) SetResourceLimits(v *ResourceLimits) *HyperParameterTuningJobConfig {
29836	s.ResourceLimits = v
29837	return s
29838}
29839
29840// SetStrategy sets the Strategy field's value.
29841func (s *HyperParameterTuningJobConfig) SetStrategy(v string) *HyperParameterTuningJobConfig {
29842	s.Strategy = &v
29843	return s
29844}
29845
29846// SetTrainingJobEarlyStoppingType sets the TrainingJobEarlyStoppingType field's value.
29847func (s *HyperParameterTuningJobConfig) SetTrainingJobEarlyStoppingType(v string) *HyperParameterTuningJobConfig {
29848	s.TrainingJobEarlyStoppingType = &v
29849	return s
29850}
29851
29852// SetTuningJobCompletionCriteria sets the TuningJobCompletionCriteria field's value.
29853func (s *HyperParameterTuningJobConfig) SetTuningJobCompletionCriteria(v *TuningJobCompletionCriteria) *HyperParameterTuningJobConfig {
29854	s.TuningJobCompletionCriteria = v
29855	return s
29856}
29857
29858// Defines the objective metric for a hyperparameter tuning job. Hyperparameter
29859// tuning uses the value of this metric to evaluate the training jobs it launches,
29860// and returns the training job that results in either the highest or lowest
29861// value for this metric, depending on the value you specify for the Type parameter.
29862type HyperParameterTuningJobObjective struct {
29863	_ struct{} `type:"structure"`
29864
29865	// The name of the metric to use for the objective metric.
29866	//
29867	// MetricName is a required field
29868	MetricName *string `min:"1" type:"string" required:"true"`
29869
29870	// Whether to minimize or maximize the objective metric.
29871	//
29872	// Type is a required field
29873	Type *string `type:"string" required:"true" enum:"HyperParameterTuningJobObjectiveType"`
29874}
29875
29876// String returns the string representation
29877func (s HyperParameterTuningJobObjective) String() string {
29878	return awsutil.Prettify(s)
29879}
29880
29881// GoString returns the string representation
29882func (s HyperParameterTuningJobObjective) GoString() string {
29883	return s.String()
29884}
29885
29886// Validate inspects the fields of the type to determine if they are valid.
29887func (s *HyperParameterTuningJobObjective) Validate() error {
29888	invalidParams := request.ErrInvalidParams{Context: "HyperParameterTuningJobObjective"}
29889	if s.MetricName == nil {
29890		invalidParams.Add(request.NewErrParamRequired("MetricName"))
29891	}
29892	if s.MetricName != nil && len(*s.MetricName) < 1 {
29893		invalidParams.Add(request.NewErrParamMinLen("MetricName", 1))
29894	}
29895	if s.Type == nil {
29896		invalidParams.Add(request.NewErrParamRequired("Type"))
29897	}
29898
29899	if invalidParams.Len() > 0 {
29900		return invalidParams
29901	}
29902	return nil
29903}
29904
29905// SetMetricName sets the MetricName field's value.
29906func (s *HyperParameterTuningJobObjective) SetMetricName(v string) *HyperParameterTuningJobObjective {
29907	s.MetricName = &v
29908	return s
29909}
29910
29911// SetType sets the Type field's value.
29912func (s *HyperParameterTuningJobObjective) SetType(v string) *HyperParameterTuningJobObjective {
29913	s.Type = &v
29914	return s
29915}
29916
29917// Provides summary information about a hyperparameter tuning job.
29918type HyperParameterTuningJobSummary struct {
29919	_ struct{} `type:"structure"`
29920
29921	// The date and time that the tuning job was created.
29922	//
29923	// CreationTime is a required field
29924	CreationTime *time.Time `type:"timestamp" required:"true"`
29925
29926	// The date and time that the tuning job ended.
29927	HyperParameterTuningEndTime *time.Time `type:"timestamp"`
29928
29929	// The Amazon Resource Name (ARN) of the tuning job.
29930	//
29931	// HyperParameterTuningJobArn is a required field
29932	HyperParameterTuningJobArn *string `type:"string" required:"true"`
29933
29934	// The name of the tuning job.
29935	//
29936	// HyperParameterTuningJobName is a required field
29937	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
29938
29939	// The status of the tuning job.
29940	//
29941	// HyperParameterTuningJobStatus is a required field
29942	HyperParameterTuningJobStatus *string `type:"string" required:"true" enum:"HyperParameterTuningJobStatus"`
29943
29944	// The date and time that the tuning job was modified.
29945	LastModifiedTime *time.Time `type:"timestamp"`
29946
29947	// The ObjectiveStatusCounters object that specifies the numbers of training
29948	// jobs, categorized by objective metric status, that this tuning job launched.
29949	//
29950	// ObjectiveStatusCounters is a required field
29951	ObjectiveStatusCounters *ObjectiveStatusCounters `type:"structure" required:"true"`
29952
29953	// The ResourceLimits object that specifies the maximum number of training jobs
29954	// and parallel training jobs allowed for this tuning job.
29955	ResourceLimits *ResourceLimits `type:"structure"`
29956
29957	// Specifies the search strategy hyperparameter tuning uses to choose which
29958	// hyperparameters to use for each iteration. Currently, the only valid value
29959	// is Bayesian.
29960	//
29961	// Strategy is a required field
29962	Strategy *string `type:"string" required:"true" enum:"HyperParameterTuningJobStrategyType"`
29963
29964	// The TrainingJobStatusCounters object that specifies the numbers of training
29965	// jobs, categorized by status, that this tuning job launched.
29966	//
29967	// TrainingJobStatusCounters is a required field
29968	TrainingJobStatusCounters *TrainingJobStatusCounters `type:"structure" required:"true"`
29969}
29970
29971// String returns the string representation
29972func (s HyperParameterTuningJobSummary) String() string {
29973	return awsutil.Prettify(s)
29974}
29975
29976// GoString returns the string representation
29977func (s HyperParameterTuningJobSummary) GoString() string {
29978	return s.String()
29979}
29980
29981// SetCreationTime sets the CreationTime field's value.
29982func (s *HyperParameterTuningJobSummary) SetCreationTime(v time.Time) *HyperParameterTuningJobSummary {
29983	s.CreationTime = &v
29984	return s
29985}
29986
29987// SetHyperParameterTuningEndTime sets the HyperParameterTuningEndTime field's value.
29988func (s *HyperParameterTuningJobSummary) SetHyperParameterTuningEndTime(v time.Time) *HyperParameterTuningJobSummary {
29989	s.HyperParameterTuningEndTime = &v
29990	return s
29991}
29992
29993// SetHyperParameterTuningJobArn sets the HyperParameterTuningJobArn field's value.
29994func (s *HyperParameterTuningJobSummary) SetHyperParameterTuningJobArn(v string) *HyperParameterTuningJobSummary {
29995	s.HyperParameterTuningJobArn = &v
29996	return s
29997}
29998
29999// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
30000func (s *HyperParameterTuningJobSummary) SetHyperParameterTuningJobName(v string) *HyperParameterTuningJobSummary {
30001	s.HyperParameterTuningJobName = &v
30002	return s
30003}
30004
30005// SetHyperParameterTuningJobStatus sets the HyperParameterTuningJobStatus field's value.
30006func (s *HyperParameterTuningJobSummary) SetHyperParameterTuningJobStatus(v string) *HyperParameterTuningJobSummary {
30007	s.HyperParameterTuningJobStatus = &v
30008	return s
30009}
30010
30011// SetLastModifiedTime sets the LastModifiedTime field's value.
30012func (s *HyperParameterTuningJobSummary) SetLastModifiedTime(v time.Time) *HyperParameterTuningJobSummary {
30013	s.LastModifiedTime = &v
30014	return s
30015}
30016
30017// SetObjectiveStatusCounters sets the ObjectiveStatusCounters field's value.
30018func (s *HyperParameterTuningJobSummary) SetObjectiveStatusCounters(v *ObjectiveStatusCounters) *HyperParameterTuningJobSummary {
30019	s.ObjectiveStatusCounters = v
30020	return s
30021}
30022
30023// SetResourceLimits sets the ResourceLimits field's value.
30024func (s *HyperParameterTuningJobSummary) SetResourceLimits(v *ResourceLimits) *HyperParameterTuningJobSummary {
30025	s.ResourceLimits = v
30026	return s
30027}
30028
30029// SetStrategy sets the Strategy field's value.
30030func (s *HyperParameterTuningJobSummary) SetStrategy(v string) *HyperParameterTuningJobSummary {
30031	s.Strategy = &v
30032	return s
30033}
30034
30035// SetTrainingJobStatusCounters sets the TrainingJobStatusCounters field's value.
30036func (s *HyperParameterTuningJobSummary) SetTrainingJobStatusCounters(v *TrainingJobStatusCounters) *HyperParameterTuningJobSummary {
30037	s.TrainingJobStatusCounters = v
30038	return s
30039}
30040
30041// Specifies the configuration for a hyperparameter tuning job that uses one
30042// or more previous hyperparameter tuning jobs as a starting point. The results
30043// of previous tuning jobs are used to inform which combinations of hyperparameters
30044// to search over in the new tuning job.
30045//
30046// All training jobs launched by the new hyperparameter tuning job are evaluated
30047// by using the objective metric, and the training job that performs the best
30048// is compared to the best training jobs from the parent tuning jobs. From these,
30049// the training job that performs the best as measured by the objective metric
30050// is returned as the overall best training job.
30051//
30052// All training jobs launched by parent hyperparameter tuning jobs and the new
30053// hyperparameter tuning jobs count against the limit of training jobs for the
30054// tuning job.
30055type HyperParameterTuningJobWarmStartConfig struct {
30056	_ struct{} `type:"structure"`
30057
30058	// An array of hyperparameter tuning jobs that are used as the starting point
30059	// for the new hyperparameter tuning job. For more information about warm starting
30060	// a hyperparameter tuning job, see Using a Previous Hyperparameter Tuning Job
30061	// as a Starting Point (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-warm-start.html).
30062	//
30063	// Hyperparameter tuning jobs created before October 1, 2018 cannot be used
30064	// as parent jobs for warm start tuning jobs.
30065	//
30066	// ParentHyperParameterTuningJobs is a required field
30067	ParentHyperParameterTuningJobs []*ParentHyperParameterTuningJob `min:"1" type:"list" required:"true"`
30068
30069	// Specifies one of the following:
30070	//
30071	// IDENTICAL_DATA_AND_ALGORITHM
30072	//
30073	// The new hyperparameter tuning job uses the same input data and training image
30074	// as the parent tuning jobs. You can change the hyperparameter ranges to search
30075	// and the maximum number of training jobs that the hyperparameter tuning job
30076	// launches. You cannot use a new version of the training algorithm, unless
30077	// the changes in the new version do not affect the algorithm itself. For example,
30078	// changes that improve logging or adding support for a different data format
30079	// are allowed. You can also change hyperparameters from tunable to static,
30080	// and from static to tunable, but the total number of static plus tunable hyperparameters
30081	// must remain the same as it is in all parent jobs. The objective metric for
30082	// the new tuning job must be the same as for all parent jobs.
30083	//
30084	// TRANSFER_LEARNING
30085	//
30086	// The new hyperparameter tuning job can include input data, hyperparameter
30087	// ranges, maximum number of concurrent training jobs, and maximum number of
30088	// training jobs that are different than those of its parent hyperparameter
30089	// tuning jobs. The training image can also be a different version from the
30090	// version used in the parent hyperparameter tuning job. You can also change
30091	// hyperparameters from tunable to static, and from static to tunable, but the
30092	// total number of static plus tunable hyperparameters must remain the same
30093	// as it is in all parent jobs. The objective metric for the new tuning job
30094	// must be the same as for all parent jobs.
30095	//
30096	// WarmStartType is a required field
30097	WarmStartType *string `type:"string" required:"true" enum:"HyperParameterTuningJobWarmStartType"`
30098}
30099
30100// String returns the string representation
30101func (s HyperParameterTuningJobWarmStartConfig) String() string {
30102	return awsutil.Prettify(s)
30103}
30104
30105// GoString returns the string representation
30106func (s HyperParameterTuningJobWarmStartConfig) GoString() string {
30107	return s.String()
30108}
30109
30110// Validate inspects the fields of the type to determine if they are valid.
30111func (s *HyperParameterTuningJobWarmStartConfig) Validate() error {
30112	invalidParams := request.ErrInvalidParams{Context: "HyperParameterTuningJobWarmStartConfig"}
30113	if s.ParentHyperParameterTuningJobs == nil {
30114		invalidParams.Add(request.NewErrParamRequired("ParentHyperParameterTuningJobs"))
30115	}
30116	if s.ParentHyperParameterTuningJobs != nil && len(s.ParentHyperParameterTuningJobs) < 1 {
30117		invalidParams.Add(request.NewErrParamMinLen("ParentHyperParameterTuningJobs", 1))
30118	}
30119	if s.WarmStartType == nil {
30120		invalidParams.Add(request.NewErrParamRequired("WarmStartType"))
30121	}
30122	if s.ParentHyperParameterTuningJobs != nil {
30123		for i, v := range s.ParentHyperParameterTuningJobs {
30124			if v == nil {
30125				continue
30126			}
30127			if err := v.Validate(); err != nil {
30128				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ParentHyperParameterTuningJobs", i), err.(request.ErrInvalidParams))
30129			}
30130		}
30131	}
30132
30133	if invalidParams.Len() > 0 {
30134		return invalidParams
30135	}
30136	return nil
30137}
30138
30139// SetParentHyperParameterTuningJobs sets the ParentHyperParameterTuningJobs field's value.
30140func (s *HyperParameterTuningJobWarmStartConfig) SetParentHyperParameterTuningJobs(v []*ParentHyperParameterTuningJob) *HyperParameterTuningJobWarmStartConfig {
30141	s.ParentHyperParameterTuningJobs = v
30142	return s
30143}
30144
30145// SetWarmStartType sets the WarmStartType field's value.
30146func (s *HyperParameterTuningJobWarmStartConfig) SetWarmStartType(v string) *HyperParameterTuningJobWarmStartConfig {
30147	s.WarmStartType = &v
30148	return s
30149}
30150
30151// Defines how to perform inference generation after a training job is run.
30152type InferenceSpecification struct {
30153	_ struct{} `type:"structure"`
30154
30155	// The Amazon ECR registry path of the Docker image that contains the inference
30156	// code.
30157	//
30158	// Containers is a required field
30159	Containers []*ModelPackageContainerDefinition `min:"1" type:"list" required:"true"`
30160
30161	// The supported MIME types for the input data.
30162	//
30163	// SupportedContentTypes is a required field
30164	SupportedContentTypes []*string `type:"list" required:"true"`
30165
30166	// A list of the instance types that are used to generate inferences in real-time.
30167	//
30168	// SupportedRealtimeInferenceInstanceTypes is a required field
30169	SupportedRealtimeInferenceInstanceTypes []*string `type:"list" required:"true"`
30170
30171	// The supported MIME types for the output data.
30172	//
30173	// SupportedResponseMIMETypes is a required field
30174	SupportedResponseMIMETypes []*string `type:"list" required:"true"`
30175
30176	// A list of the instance types on which a transformation job can be run or
30177	// on which an endpoint can be deployed.
30178	//
30179	// SupportedTransformInstanceTypes is a required field
30180	SupportedTransformInstanceTypes []*string `min:"1" type:"list" required:"true"`
30181}
30182
30183// String returns the string representation
30184func (s InferenceSpecification) String() string {
30185	return awsutil.Prettify(s)
30186}
30187
30188// GoString returns the string representation
30189func (s InferenceSpecification) GoString() string {
30190	return s.String()
30191}
30192
30193// Validate inspects the fields of the type to determine if they are valid.
30194func (s *InferenceSpecification) Validate() error {
30195	invalidParams := request.ErrInvalidParams{Context: "InferenceSpecification"}
30196	if s.Containers == nil {
30197		invalidParams.Add(request.NewErrParamRequired("Containers"))
30198	}
30199	if s.Containers != nil && len(s.Containers) < 1 {
30200		invalidParams.Add(request.NewErrParamMinLen("Containers", 1))
30201	}
30202	if s.SupportedContentTypes == nil {
30203		invalidParams.Add(request.NewErrParamRequired("SupportedContentTypes"))
30204	}
30205	if s.SupportedRealtimeInferenceInstanceTypes == nil {
30206		invalidParams.Add(request.NewErrParamRequired("SupportedRealtimeInferenceInstanceTypes"))
30207	}
30208	if s.SupportedResponseMIMETypes == nil {
30209		invalidParams.Add(request.NewErrParamRequired("SupportedResponseMIMETypes"))
30210	}
30211	if s.SupportedTransformInstanceTypes == nil {
30212		invalidParams.Add(request.NewErrParamRequired("SupportedTransformInstanceTypes"))
30213	}
30214	if s.SupportedTransformInstanceTypes != nil && len(s.SupportedTransformInstanceTypes) < 1 {
30215		invalidParams.Add(request.NewErrParamMinLen("SupportedTransformInstanceTypes", 1))
30216	}
30217	if s.Containers != nil {
30218		for i, v := range s.Containers {
30219			if v == nil {
30220				continue
30221			}
30222			if err := v.Validate(); err != nil {
30223				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Containers", i), err.(request.ErrInvalidParams))
30224			}
30225		}
30226	}
30227
30228	if invalidParams.Len() > 0 {
30229		return invalidParams
30230	}
30231	return nil
30232}
30233
30234// SetContainers sets the Containers field's value.
30235func (s *InferenceSpecification) SetContainers(v []*ModelPackageContainerDefinition) *InferenceSpecification {
30236	s.Containers = v
30237	return s
30238}
30239
30240// SetSupportedContentTypes sets the SupportedContentTypes field's value.
30241func (s *InferenceSpecification) SetSupportedContentTypes(v []*string) *InferenceSpecification {
30242	s.SupportedContentTypes = v
30243	return s
30244}
30245
30246// SetSupportedRealtimeInferenceInstanceTypes sets the SupportedRealtimeInferenceInstanceTypes field's value.
30247func (s *InferenceSpecification) SetSupportedRealtimeInferenceInstanceTypes(v []*string) *InferenceSpecification {
30248	s.SupportedRealtimeInferenceInstanceTypes = v
30249	return s
30250}
30251
30252// SetSupportedResponseMIMETypes sets the SupportedResponseMIMETypes field's value.
30253func (s *InferenceSpecification) SetSupportedResponseMIMETypes(v []*string) *InferenceSpecification {
30254	s.SupportedResponseMIMETypes = v
30255	return s
30256}
30257
30258// SetSupportedTransformInstanceTypes sets the SupportedTransformInstanceTypes field's value.
30259func (s *InferenceSpecification) SetSupportedTransformInstanceTypes(v []*string) *InferenceSpecification {
30260	s.SupportedTransformInstanceTypes = v
30261	return s
30262}
30263
30264// Contains information about the location of input model artifacts, the name
30265// and shape of the expected data inputs, and the framework in which the model
30266// was trained.
30267type InputConfig struct {
30268	_ struct{} `type:"structure"`
30269
30270	// Specifies the name and shape of the expected data inputs for your trained
30271	// model with a JSON dictionary form. The data inputs are InputConfig$Framework
30272	// specific.
30273	//
30274	//    * TensorFlow: You must specify the name and shape (NHWC format) of the
30275	//    expected data inputs using a dictionary format for your trained model.
30276	//    The dictionary formats required for the console and CLI are different.
30277	//    Examples for one input: If using the console, {"input":[1,1024,1024,3]}
30278	//    If using the CLI, {\"input\":[1,1024,1024,3]} Examples for two inputs:
30279	//    If using the console, {"data1": [1,28,28,1], "data2":[1,28,28,1]} If using
30280	//    the CLI, {\"data1\": [1,28,28,1], \"data2\":[1,28,28,1]}
30281	//
30282	//    * KERAS: You must specify the name and shape (NCHW format) of expected
30283	//    data inputs using a dictionary format for your trained model. Note that
30284	//    while Keras model artifacts should be uploaded in NHWC (channel-last)
30285	//    format, DataInputConfig should be specified in NCHW (channel-first) format.
30286	//    The dictionary formats required for the console and CLI are different.
30287	//    Examples for one input: If using the console, {"input_1":[1,3,224,224]}
30288	//    If using the CLI, {\"input_1\":[1,3,224,224]} Examples for two inputs:
30289	//    If using the console, {"input_1": [1,3,224,224], "input_2":[1,3,224,224]}
30290	//    If using the CLI, {\"input_1\": [1,3,224,224], \"input_2\":[1,3,224,224]}
30291	//
30292	//    * MXNET/ONNX: You must specify the name and shape (NCHW format) of the
30293	//    expected data inputs in order using a dictionary format for your trained
30294	//    model. The dictionary formats required for the console and CLI are different.
30295	//    Examples for one input: If using the console, {"data":[1,3,1024,1024]}
30296	//    If using the CLI, {\"data\":[1,3,1024,1024]} Examples for two inputs:
30297	//    If using the console, {"var1": [1,1,28,28], "var2":[1,1,28,28]} If using
30298	//    the CLI, {\"var1\": [1,1,28,28], \"var2\":[1,1,28,28]}
30299	//
30300	//    * PyTorch: You can either specify the name and shape (NCHW format) of
30301	//    expected data inputs in order using a dictionary format for your trained
30302	//    model or you can specify the shape only using a list format. The dictionary
30303	//    formats required for the console and CLI are different. The list formats
30304	//    for the console and CLI are the same. Examples for one input in dictionary
30305	//    format: If using the console, {"input0":[1,3,224,224]} If using the CLI,
30306	//    {\"input0\":[1,3,224,224]} Example for one input in list format: [[1,3,224,224]]
30307	//    Examples for two inputs in dictionary format: If using the console, {"input0":[1,3,224,224],
30308	//    "input1":[1,3,224,224]} If using the CLI, {\"input0\":[1,3,224,224], \"input1\":[1,3,224,224]}
30309	//    Example for two inputs in list format: [[1,3,224,224], [1,3,224,224]]
30310	//
30311	//    * XGBOOST: input data name and shape are not needed.
30312	//
30313	// DataInputConfig is a required field
30314	DataInputConfig *string `min:"1" type:"string" required:"true"`
30315
30316	// Identifies the framework in which the model was trained. For example: TENSORFLOW.
30317	//
30318	// Framework is a required field
30319	Framework *string `type:"string" required:"true" enum:"Framework"`
30320
30321	// The S3 path where the model artifacts, which result from model training,
30322	// are stored. This path must point to a single gzip compressed tar archive
30323	// (.tar.gz suffix).
30324	//
30325	// S3Uri is a required field
30326	S3Uri *string `type:"string" required:"true"`
30327}
30328
30329// String returns the string representation
30330func (s InputConfig) String() string {
30331	return awsutil.Prettify(s)
30332}
30333
30334// GoString returns the string representation
30335func (s InputConfig) GoString() string {
30336	return s.String()
30337}
30338
30339// Validate inspects the fields of the type to determine if they are valid.
30340func (s *InputConfig) Validate() error {
30341	invalidParams := request.ErrInvalidParams{Context: "InputConfig"}
30342	if s.DataInputConfig == nil {
30343		invalidParams.Add(request.NewErrParamRequired("DataInputConfig"))
30344	}
30345	if s.DataInputConfig != nil && len(*s.DataInputConfig) < 1 {
30346		invalidParams.Add(request.NewErrParamMinLen("DataInputConfig", 1))
30347	}
30348	if s.Framework == nil {
30349		invalidParams.Add(request.NewErrParamRequired("Framework"))
30350	}
30351	if s.S3Uri == nil {
30352		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
30353	}
30354
30355	if invalidParams.Len() > 0 {
30356		return invalidParams
30357	}
30358	return nil
30359}
30360
30361// SetDataInputConfig sets the DataInputConfig field's value.
30362func (s *InputConfig) SetDataInputConfig(v string) *InputConfig {
30363	s.DataInputConfig = &v
30364	return s
30365}
30366
30367// SetFramework sets the Framework field's value.
30368func (s *InputConfig) SetFramework(v string) *InputConfig {
30369	s.Framework = &v
30370	return s
30371}
30372
30373// SetS3Uri sets the S3Uri field's value.
30374func (s *InputConfig) SetS3Uri(v string) *InputConfig {
30375	s.S3Uri = &v
30376	return s
30377}
30378
30379// For a hyperparameter of the integer type, specifies the range that a hyperparameter
30380// tuning job searches.
30381type IntegerParameterRange struct {
30382	_ struct{} `type:"structure"`
30383
30384	// The maximum value of the hyperparameter to search.
30385	//
30386	// MaxValue is a required field
30387	MaxValue *string `type:"string" required:"true"`
30388
30389	// The minimum value of the hyperparameter to search.
30390	//
30391	// MinValue is a required field
30392	MinValue *string `type:"string" required:"true"`
30393
30394	// The name of the hyperparameter to search.
30395	//
30396	// Name is a required field
30397	Name *string `type:"string" required:"true"`
30398
30399	// The scale that hyperparameter tuning uses to search the hyperparameter range.
30400	// For information about choosing a hyperparameter scale, see Hyperparameter
30401	// Scaling (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-ranges.html#scaling-type).
30402	// One of the following values:
30403	//
30404	// Auto
30405	//
30406	// Amazon SageMaker hyperparameter tuning chooses the best scale for the hyperparameter.
30407	//
30408	// Linear
30409	//
30410	// Hyperparameter tuning searches the values in the hyperparameter range by
30411	// using a linear scale.
30412	//
30413	// Logarithmic
30414	//
30415	// Hyperparameter tuning searches the values in the hyperparameter range by
30416	// using a logarithmic scale.
30417	//
30418	// Logarithmic scaling works only for ranges that have only values greater than
30419	// 0.
30420	ScalingType *string `type:"string" enum:"HyperParameterScalingType"`
30421}
30422
30423// String returns the string representation
30424func (s IntegerParameterRange) String() string {
30425	return awsutil.Prettify(s)
30426}
30427
30428// GoString returns the string representation
30429func (s IntegerParameterRange) GoString() string {
30430	return s.String()
30431}
30432
30433// Validate inspects the fields of the type to determine if they are valid.
30434func (s *IntegerParameterRange) Validate() error {
30435	invalidParams := request.ErrInvalidParams{Context: "IntegerParameterRange"}
30436	if s.MaxValue == nil {
30437		invalidParams.Add(request.NewErrParamRequired("MaxValue"))
30438	}
30439	if s.MinValue == nil {
30440		invalidParams.Add(request.NewErrParamRequired("MinValue"))
30441	}
30442	if s.Name == nil {
30443		invalidParams.Add(request.NewErrParamRequired("Name"))
30444	}
30445
30446	if invalidParams.Len() > 0 {
30447		return invalidParams
30448	}
30449	return nil
30450}
30451
30452// SetMaxValue sets the MaxValue field's value.
30453func (s *IntegerParameterRange) SetMaxValue(v string) *IntegerParameterRange {
30454	s.MaxValue = &v
30455	return s
30456}
30457
30458// SetMinValue sets the MinValue field's value.
30459func (s *IntegerParameterRange) SetMinValue(v string) *IntegerParameterRange {
30460	s.MinValue = &v
30461	return s
30462}
30463
30464// SetName sets the Name field's value.
30465func (s *IntegerParameterRange) SetName(v string) *IntegerParameterRange {
30466	s.Name = &v
30467	return s
30468}
30469
30470// SetScalingType sets the ScalingType field's value.
30471func (s *IntegerParameterRange) SetScalingType(v string) *IntegerParameterRange {
30472	s.ScalingType = &v
30473	return s
30474}
30475
30476// Defines the possible values for an integer hyperparameter.
30477type IntegerParameterRangeSpecification struct {
30478	_ struct{} `type:"structure"`
30479
30480	// The maximum integer value allowed.
30481	//
30482	// MaxValue is a required field
30483	MaxValue *string `type:"string" required:"true"`
30484
30485	// The minimum integer value allowed.
30486	//
30487	// MinValue is a required field
30488	MinValue *string `type:"string" required:"true"`
30489}
30490
30491// String returns the string representation
30492func (s IntegerParameterRangeSpecification) String() string {
30493	return awsutil.Prettify(s)
30494}
30495
30496// GoString returns the string representation
30497func (s IntegerParameterRangeSpecification) GoString() string {
30498	return s.String()
30499}
30500
30501// Validate inspects the fields of the type to determine if they are valid.
30502func (s *IntegerParameterRangeSpecification) Validate() error {
30503	invalidParams := request.ErrInvalidParams{Context: "IntegerParameterRangeSpecification"}
30504	if s.MaxValue == nil {
30505		invalidParams.Add(request.NewErrParamRequired("MaxValue"))
30506	}
30507	if s.MinValue == nil {
30508		invalidParams.Add(request.NewErrParamRequired("MinValue"))
30509	}
30510
30511	if invalidParams.Len() > 0 {
30512		return invalidParams
30513	}
30514	return nil
30515}
30516
30517// SetMaxValue sets the MaxValue field's value.
30518func (s *IntegerParameterRangeSpecification) SetMaxValue(v string) *IntegerParameterRangeSpecification {
30519	s.MaxValue = &v
30520	return s
30521}
30522
30523// SetMinValue sets the MinValue field's value.
30524func (s *IntegerParameterRangeSpecification) SetMinValue(v string) *IntegerParameterRangeSpecification {
30525	s.MinValue = &v
30526	return s
30527}
30528
30529// Jupyter server's app settings.
30530type JupyterServerAppSettings struct {
30531	_ struct{} `type:"structure"`
30532
30533	// The default instance type and the Amazon Resource Name (ARN) of the SageMaker
30534	// image created on the instance.
30535	DefaultResourceSpec *ResourceSpec `type:"structure"`
30536}
30537
30538// String returns the string representation
30539func (s JupyterServerAppSettings) String() string {
30540	return awsutil.Prettify(s)
30541}
30542
30543// GoString returns the string representation
30544func (s JupyterServerAppSettings) GoString() string {
30545	return s.String()
30546}
30547
30548// SetDefaultResourceSpec sets the DefaultResourceSpec field's value.
30549func (s *JupyterServerAppSettings) SetDefaultResourceSpec(v *ResourceSpec) *JupyterServerAppSettings {
30550	s.DefaultResourceSpec = v
30551	return s
30552}
30553
30554// The kernel gateway app settings.
30555type KernelGatewayAppSettings struct {
30556	_ struct{} `type:"structure"`
30557
30558	// The default instance type and the Amazon Resource Name (ARN) of the SageMaker
30559	// image created on the instance.
30560	DefaultResourceSpec *ResourceSpec `type:"structure"`
30561}
30562
30563// String returns the string representation
30564func (s KernelGatewayAppSettings) String() string {
30565	return awsutil.Prettify(s)
30566}
30567
30568// GoString returns the string representation
30569func (s KernelGatewayAppSettings) GoString() string {
30570	return s.String()
30571}
30572
30573// SetDefaultResourceSpec sets the DefaultResourceSpec field's value.
30574func (s *KernelGatewayAppSettings) SetDefaultResourceSpec(v *ResourceSpec) *KernelGatewayAppSettings {
30575	s.DefaultResourceSpec = v
30576	return s
30577}
30578
30579// Provides a breakdown of the number of objects labeled.
30580type LabelCounters struct {
30581	_ struct{} `type:"structure"`
30582
30583	// The total number of objects that could not be labeled due to an error.
30584	FailedNonRetryableError *int64 `type:"integer"`
30585
30586	// The total number of objects labeled by a human worker.
30587	HumanLabeled *int64 `type:"integer"`
30588
30589	// The total number of objects labeled by automated data labeling.
30590	MachineLabeled *int64 `type:"integer"`
30591
30592	// The total number of objects labeled.
30593	TotalLabeled *int64 `type:"integer"`
30594
30595	// The total number of objects not yet labeled.
30596	Unlabeled *int64 `type:"integer"`
30597}
30598
30599// String returns the string representation
30600func (s LabelCounters) String() string {
30601	return awsutil.Prettify(s)
30602}
30603
30604// GoString returns the string representation
30605func (s LabelCounters) GoString() string {
30606	return s.String()
30607}
30608
30609// SetFailedNonRetryableError sets the FailedNonRetryableError field's value.
30610func (s *LabelCounters) SetFailedNonRetryableError(v int64) *LabelCounters {
30611	s.FailedNonRetryableError = &v
30612	return s
30613}
30614
30615// SetHumanLabeled sets the HumanLabeled field's value.
30616func (s *LabelCounters) SetHumanLabeled(v int64) *LabelCounters {
30617	s.HumanLabeled = &v
30618	return s
30619}
30620
30621// SetMachineLabeled sets the MachineLabeled field's value.
30622func (s *LabelCounters) SetMachineLabeled(v int64) *LabelCounters {
30623	s.MachineLabeled = &v
30624	return s
30625}
30626
30627// SetTotalLabeled sets the TotalLabeled field's value.
30628func (s *LabelCounters) SetTotalLabeled(v int64) *LabelCounters {
30629	s.TotalLabeled = &v
30630	return s
30631}
30632
30633// SetUnlabeled sets the Unlabeled field's value.
30634func (s *LabelCounters) SetUnlabeled(v int64) *LabelCounters {
30635	s.Unlabeled = &v
30636	return s
30637}
30638
30639// Provides counts for human-labeled tasks in the labeling job.
30640type LabelCountersForWorkteam struct {
30641	_ struct{} `type:"structure"`
30642
30643	// The total number of data objects labeled by a human worker.
30644	HumanLabeled *int64 `type:"integer"`
30645
30646	// The total number of data objects that need to be labeled by a human worker.
30647	PendingHuman *int64 `type:"integer"`
30648
30649	// The total number of tasks in the labeling job.
30650	Total *int64 `type:"integer"`
30651}
30652
30653// String returns the string representation
30654func (s LabelCountersForWorkteam) String() string {
30655	return awsutil.Prettify(s)
30656}
30657
30658// GoString returns the string representation
30659func (s LabelCountersForWorkteam) GoString() string {
30660	return s.String()
30661}
30662
30663// SetHumanLabeled sets the HumanLabeled field's value.
30664func (s *LabelCountersForWorkteam) SetHumanLabeled(v int64) *LabelCountersForWorkteam {
30665	s.HumanLabeled = &v
30666	return s
30667}
30668
30669// SetPendingHuman sets the PendingHuman field's value.
30670func (s *LabelCountersForWorkteam) SetPendingHuman(v int64) *LabelCountersForWorkteam {
30671	s.PendingHuman = &v
30672	return s
30673}
30674
30675// SetTotal sets the Total field's value.
30676func (s *LabelCountersForWorkteam) SetTotal(v int64) *LabelCountersForWorkteam {
30677	s.Total = &v
30678	return s
30679}
30680
30681// Provides configuration information for auto-labeling of your data objects.
30682// A LabelingJobAlgorithmsConfig object must be supplied in order to use auto-labeling.
30683type LabelingJobAlgorithmsConfig struct {
30684	_ struct{} `type:"structure"`
30685
30686	// At the end of an auto-label job Amazon SageMaker Ground Truth sends the Amazon
30687	// Resource Nam (ARN) of the final model used for auto-labeling. You can use
30688	// this model as the starting point for subsequent similar jobs by providing
30689	// the ARN of the model here.
30690	InitialActiveLearningModelArn *string `min:"20" type:"string"`
30691
30692	// Specifies the Amazon Resource Name (ARN) of the algorithm used for auto-labeling.
30693	// You must select one of the following ARNs:
30694	//
30695	//    * Image classification arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/image-classification
30696	//
30697	//    * Text classification arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/text-classification
30698	//
30699	//    * Object detection arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/object-detection
30700	//
30701	//    * Semantic Segmentation arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/semantic-segmentation
30702	//
30703	// LabelingJobAlgorithmSpecificationArn is a required field
30704	LabelingJobAlgorithmSpecificationArn *string `type:"string" required:"true"`
30705
30706	// Provides configuration information for a labeling job.
30707	LabelingJobResourceConfig *LabelingJobResourceConfig `type:"structure"`
30708}
30709
30710// String returns the string representation
30711func (s LabelingJobAlgorithmsConfig) String() string {
30712	return awsutil.Prettify(s)
30713}
30714
30715// GoString returns the string representation
30716func (s LabelingJobAlgorithmsConfig) GoString() string {
30717	return s.String()
30718}
30719
30720// Validate inspects the fields of the type to determine if they are valid.
30721func (s *LabelingJobAlgorithmsConfig) Validate() error {
30722	invalidParams := request.ErrInvalidParams{Context: "LabelingJobAlgorithmsConfig"}
30723	if s.InitialActiveLearningModelArn != nil && len(*s.InitialActiveLearningModelArn) < 20 {
30724		invalidParams.Add(request.NewErrParamMinLen("InitialActiveLearningModelArn", 20))
30725	}
30726	if s.LabelingJobAlgorithmSpecificationArn == nil {
30727		invalidParams.Add(request.NewErrParamRequired("LabelingJobAlgorithmSpecificationArn"))
30728	}
30729
30730	if invalidParams.Len() > 0 {
30731		return invalidParams
30732	}
30733	return nil
30734}
30735
30736// SetInitialActiveLearningModelArn sets the InitialActiveLearningModelArn field's value.
30737func (s *LabelingJobAlgorithmsConfig) SetInitialActiveLearningModelArn(v string) *LabelingJobAlgorithmsConfig {
30738	s.InitialActiveLearningModelArn = &v
30739	return s
30740}
30741
30742// SetLabelingJobAlgorithmSpecificationArn sets the LabelingJobAlgorithmSpecificationArn field's value.
30743func (s *LabelingJobAlgorithmsConfig) SetLabelingJobAlgorithmSpecificationArn(v string) *LabelingJobAlgorithmsConfig {
30744	s.LabelingJobAlgorithmSpecificationArn = &v
30745	return s
30746}
30747
30748// SetLabelingJobResourceConfig sets the LabelingJobResourceConfig field's value.
30749func (s *LabelingJobAlgorithmsConfig) SetLabelingJobResourceConfig(v *LabelingJobResourceConfig) *LabelingJobAlgorithmsConfig {
30750	s.LabelingJobResourceConfig = v
30751	return s
30752}
30753
30754// Attributes of the data specified by the customer. Use these to describe the
30755// data to be labeled.
30756type LabelingJobDataAttributes struct {
30757	_ struct{} `type:"structure"`
30758
30759	// Declares that your content is free of personally identifiable information
30760	// or adult content. Amazon SageMaker may restrict the Amazon Mechanical Turk
30761	// workers that can view your task based on this information.
30762	ContentClassifiers []*string `type:"list"`
30763}
30764
30765// String returns the string representation
30766func (s LabelingJobDataAttributes) String() string {
30767	return awsutil.Prettify(s)
30768}
30769
30770// GoString returns the string representation
30771func (s LabelingJobDataAttributes) GoString() string {
30772	return s.String()
30773}
30774
30775// SetContentClassifiers sets the ContentClassifiers field's value.
30776func (s *LabelingJobDataAttributes) SetContentClassifiers(v []*string) *LabelingJobDataAttributes {
30777	s.ContentClassifiers = v
30778	return s
30779}
30780
30781// Provides information about the location of input data.
30782type LabelingJobDataSource struct {
30783	_ struct{} `type:"structure"`
30784
30785	// The Amazon S3 location of the input data objects.
30786	//
30787	// S3DataSource is a required field
30788	S3DataSource *LabelingJobS3DataSource `type:"structure" required:"true"`
30789}
30790
30791// String returns the string representation
30792func (s LabelingJobDataSource) String() string {
30793	return awsutil.Prettify(s)
30794}
30795
30796// GoString returns the string representation
30797func (s LabelingJobDataSource) GoString() string {
30798	return s.String()
30799}
30800
30801// Validate inspects the fields of the type to determine if they are valid.
30802func (s *LabelingJobDataSource) Validate() error {
30803	invalidParams := request.ErrInvalidParams{Context: "LabelingJobDataSource"}
30804	if s.S3DataSource == nil {
30805		invalidParams.Add(request.NewErrParamRequired("S3DataSource"))
30806	}
30807	if s.S3DataSource != nil {
30808		if err := s.S3DataSource.Validate(); err != nil {
30809			invalidParams.AddNested("S3DataSource", err.(request.ErrInvalidParams))
30810		}
30811	}
30812
30813	if invalidParams.Len() > 0 {
30814		return invalidParams
30815	}
30816	return nil
30817}
30818
30819// SetS3DataSource sets the S3DataSource field's value.
30820func (s *LabelingJobDataSource) SetS3DataSource(v *LabelingJobS3DataSource) *LabelingJobDataSource {
30821	s.S3DataSource = v
30822	return s
30823}
30824
30825// Provides summary information for a work team.
30826type LabelingJobForWorkteamSummary struct {
30827	_ struct{} `type:"structure"`
30828
30829	// The date and time that the labeling job was created.
30830	//
30831	// CreationTime is a required field
30832	CreationTime *time.Time `type:"timestamp" required:"true"`
30833
30834	// A unique identifier for a labeling job. You can use this to refer to a specific
30835	// labeling job.
30836	//
30837	// JobReferenceCode is a required field
30838	JobReferenceCode *string `min:"1" type:"string" required:"true"`
30839
30840	// Provides information about the progress of a labeling job.
30841	LabelCounters *LabelCountersForWorkteam `type:"structure"`
30842
30843	// The name of the labeling job that the work team is assigned to.
30844	LabelingJobName *string `min:"1" type:"string"`
30845
30846	// The configured number of workers per data object.
30847	NumberOfHumanWorkersPerDataObject *int64 `min:"1" type:"integer"`
30848
30849	// WorkRequesterAccountId is a required field
30850	WorkRequesterAccountId *string `type:"string" required:"true"`
30851}
30852
30853// String returns the string representation
30854func (s LabelingJobForWorkteamSummary) String() string {
30855	return awsutil.Prettify(s)
30856}
30857
30858// GoString returns the string representation
30859func (s LabelingJobForWorkteamSummary) GoString() string {
30860	return s.String()
30861}
30862
30863// SetCreationTime sets the CreationTime field's value.
30864func (s *LabelingJobForWorkteamSummary) SetCreationTime(v time.Time) *LabelingJobForWorkteamSummary {
30865	s.CreationTime = &v
30866	return s
30867}
30868
30869// SetJobReferenceCode sets the JobReferenceCode field's value.
30870func (s *LabelingJobForWorkteamSummary) SetJobReferenceCode(v string) *LabelingJobForWorkteamSummary {
30871	s.JobReferenceCode = &v
30872	return s
30873}
30874
30875// SetLabelCounters sets the LabelCounters field's value.
30876func (s *LabelingJobForWorkteamSummary) SetLabelCounters(v *LabelCountersForWorkteam) *LabelingJobForWorkteamSummary {
30877	s.LabelCounters = v
30878	return s
30879}
30880
30881// SetLabelingJobName sets the LabelingJobName field's value.
30882func (s *LabelingJobForWorkteamSummary) SetLabelingJobName(v string) *LabelingJobForWorkteamSummary {
30883	s.LabelingJobName = &v
30884	return s
30885}
30886
30887// SetNumberOfHumanWorkersPerDataObject sets the NumberOfHumanWorkersPerDataObject field's value.
30888func (s *LabelingJobForWorkteamSummary) SetNumberOfHumanWorkersPerDataObject(v int64) *LabelingJobForWorkteamSummary {
30889	s.NumberOfHumanWorkersPerDataObject = &v
30890	return s
30891}
30892
30893// SetWorkRequesterAccountId sets the WorkRequesterAccountId field's value.
30894func (s *LabelingJobForWorkteamSummary) SetWorkRequesterAccountId(v string) *LabelingJobForWorkteamSummary {
30895	s.WorkRequesterAccountId = &v
30896	return s
30897}
30898
30899// Input configuration information for a labeling job.
30900type LabelingJobInputConfig struct {
30901	_ struct{} `type:"structure"`
30902
30903	// Attributes of the data specified by the customer.
30904	DataAttributes *LabelingJobDataAttributes `type:"structure"`
30905
30906	// The location of the input data.
30907	//
30908	// DataSource is a required field
30909	DataSource *LabelingJobDataSource `type:"structure" required:"true"`
30910}
30911
30912// String returns the string representation
30913func (s LabelingJobInputConfig) String() string {
30914	return awsutil.Prettify(s)
30915}
30916
30917// GoString returns the string representation
30918func (s LabelingJobInputConfig) GoString() string {
30919	return s.String()
30920}
30921
30922// Validate inspects the fields of the type to determine if they are valid.
30923func (s *LabelingJobInputConfig) Validate() error {
30924	invalidParams := request.ErrInvalidParams{Context: "LabelingJobInputConfig"}
30925	if s.DataSource == nil {
30926		invalidParams.Add(request.NewErrParamRequired("DataSource"))
30927	}
30928	if s.DataSource != nil {
30929		if err := s.DataSource.Validate(); err != nil {
30930			invalidParams.AddNested("DataSource", err.(request.ErrInvalidParams))
30931		}
30932	}
30933
30934	if invalidParams.Len() > 0 {
30935		return invalidParams
30936	}
30937	return nil
30938}
30939
30940// SetDataAttributes sets the DataAttributes field's value.
30941func (s *LabelingJobInputConfig) SetDataAttributes(v *LabelingJobDataAttributes) *LabelingJobInputConfig {
30942	s.DataAttributes = v
30943	return s
30944}
30945
30946// SetDataSource sets the DataSource field's value.
30947func (s *LabelingJobInputConfig) SetDataSource(v *LabelingJobDataSource) *LabelingJobInputConfig {
30948	s.DataSource = v
30949	return s
30950}
30951
30952// Specifies the location of the output produced by the labeling job.
30953type LabelingJobOutput struct {
30954	_ struct{} `type:"structure"`
30955
30956	// The Amazon Resource Name (ARN) for the most recent Amazon SageMaker model
30957	// trained as part of automated data labeling.
30958	FinalActiveLearningModelArn *string `min:"20" type:"string"`
30959
30960	// The Amazon S3 bucket location of the manifest file for labeled data.
30961	//
30962	// OutputDatasetS3Uri is a required field
30963	OutputDatasetS3Uri *string `type:"string" required:"true"`
30964}
30965
30966// String returns the string representation
30967func (s LabelingJobOutput) String() string {
30968	return awsutil.Prettify(s)
30969}
30970
30971// GoString returns the string representation
30972func (s LabelingJobOutput) GoString() string {
30973	return s.String()
30974}
30975
30976// SetFinalActiveLearningModelArn sets the FinalActiveLearningModelArn field's value.
30977func (s *LabelingJobOutput) SetFinalActiveLearningModelArn(v string) *LabelingJobOutput {
30978	s.FinalActiveLearningModelArn = &v
30979	return s
30980}
30981
30982// SetOutputDatasetS3Uri sets the OutputDatasetS3Uri field's value.
30983func (s *LabelingJobOutput) SetOutputDatasetS3Uri(v string) *LabelingJobOutput {
30984	s.OutputDatasetS3Uri = &v
30985	return s
30986}
30987
30988// Output configuration information for a labeling job.
30989type LabelingJobOutputConfig struct {
30990	_ struct{} `type:"structure"`
30991
30992	// The AWS Key Management Service ID of the key used to encrypt the output data,
30993	// if any.
30994	//
30995	// If you use a KMS key ID or an alias of your master key, the Amazon SageMaker
30996	// execution role must include permissions to call kms:Encrypt. If you don't
30997	// provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon
30998	// S3 for your role's account. Amazon SageMaker uses server-side encryption
30999	// with KMS-managed keys for LabelingJobOutputConfig. If you use a bucket policy
31000	// with an s3:PutObject permission that only allows objects with server-side
31001	// encryption, set the condition key of s3:x-amz-server-side-encryption to "aws:kms".
31002	// For more information, see KMS-Managed Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html)
31003	// in the Amazon Simple Storage Service Developer Guide.
31004	//
31005	// The KMS key policy must grant permission to the IAM role that you specify
31006	// in your CreateLabelingJob request. For more information, see Using Key Policies
31007	// in AWS KMS (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html)
31008	// in the AWS Key Management Service Developer Guide.
31009	KmsKeyId *string `type:"string"`
31010
31011	// The Amazon S3 location to write output data.
31012	//
31013	// S3OutputPath is a required field
31014	S3OutputPath *string `type:"string" required:"true"`
31015}
31016
31017// String returns the string representation
31018func (s LabelingJobOutputConfig) String() string {
31019	return awsutil.Prettify(s)
31020}
31021
31022// GoString returns the string representation
31023func (s LabelingJobOutputConfig) GoString() string {
31024	return s.String()
31025}
31026
31027// Validate inspects the fields of the type to determine if they are valid.
31028func (s *LabelingJobOutputConfig) Validate() error {
31029	invalidParams := request.ErrInvalidParams{Context: "LabelingJobOutputConfig"}
31030	if s.S3OutputPath == nil {
31031		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
31032	}
31033
31034	if invalidParams.Len() > 0 {
31035		return invalidParams
31036	}
31037	return nil
31038}
31039
31040// SetKmsKeyId sets the KmsKeyId field's value.
31041func (s *LabelingJobOutputConfig) SetKmsKeyId(v string) *LabelingJobOutputConfig {
31042	s.KmsKeyId = &v
31043	return s
31044}
31045
31046// SetS3OutputPath sets the S3OutputPath field's value.
31047func (s *LabelingJobOutputConfig) SetS3OutputPath(v string) *LabelingJobOutputConfig {
31048	s.S3OutputPath = &v
31049	return s
31050}
31051
31052// Provides configuration information for labeling jobs.
31053type LabelingJobResourceConfig struct {
31054	_ struct{} `type:"structure"`
31055
31056	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
31057	// encrypt data on the storage volume attached to the ML compute instance(s)
31058	// that run the training job. The VolumeKmsKeyId can be any of the following
31059	// formats:
31060	//
31061	//    * // KMS Key ID "1234abcd-12ab-34cd-56ef-1234567890ab"
31062	//
31063	//    * // Amazon Resource Name (ARN) of a KMS Key "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
31064	VolumeKmsKeyId *string `type:"string"`
31065}
31066
31067// String returns the string representation
31068func (s LabelingJobResourceConfig) String() string {
31069	return awsutil.Prettify(s)
31070}
31071
31072// GoString returns the string representation
31073func (s LabelingJobResourceConfig) GoString() string {
31074	return s.String()
31075}
31076
31077// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
31078func (s *LabelingJobResourceConfig) SetVolumeKmsKeyId(v string) *LabelingJobResourceConfig {
31079	s.VolumeKmsKeyId = &v
31080	return s
31081}
31082
31083// The Amazon S3 location of the input data objects.
31084type LabelingJobS3DataSource struct {
31085	_ struct{} `type:"structure"`
31086
31087	// The Amazon S3 location of the manifest file that describes the input data
31088	// objects.
31089	//
31090	// ManifestS3Uri is a required field
31091	ManifestS3Uri *string `type:"string" required:"true"`
31092}
31093
31094// String returns the string representation
31095func (s LabelingJobS3DataSource) String() string {
31096	return awsutil.Prettify(s)
31097}
31098
31099// GoString returns the string representation
31100func (s LabelingJobS3DataSource) GoString() string {
31101	return s.String()
31102}
31103
31104// Validate inspects the fields of the type to determine if they are valid.
31105func (s *LabelingJobS3DataSource) Validate() error {
31106	invalidParams := request.ErrInvalidParams{Context: "LabelingJobS3DataSource"}
31107	if s.ManifestS3Uri == nil {
31108		invalidParams.Add(request.NewErrParamRequired("ManifestS3Uri"))
31109	}
31110
31111	if invalidParams.Len() > 0 {
31112		return invalidParams
31113	}
31114	return nil
31115}
31116
31117// SetManifestS3Uri sets the ManifestS3Uri field's value.
31118func (s *LabelingJobS3DataSource) SetManifestS3Uri(v string) *LabelingJobS3DataSource {
31119	s.ManifestS3Uri = &v
31120	return s
31121}
31122
31123// A set of conditions for stopping a labeling job. If any of the conditions
31124// are met, the job is automatically stopped. You can use these conditions to
31125// control the cost of data labeling.
31126//
31127// Labeling jobs fail after 30 days with an appropriate client error message.
31128type LabelingJobStoppingConditions struct {
31129	_ struct{} `type:"structure"`
31130
31131	// The maximum number of objects that can be labeled by human workers.
31132	MaxHumanLabeledObjectCount *int64 `min:"1" type:"integer"`
31133
31134	// The maximum number of input data objects that should be labeled.
31135	MaxPercentageOfInputDatasetLabeled *int64 `min:"1" type:"integer"`
31136}
31137
31138// String returns the string representation
31139func (s LabelingJobStoppingConditions) String() string {
31140	return awsutil.Prettify(s)
31141}
31142
31143// GoString returns the string representation
31144func (s LabelingJobStoppingConditions) GoString() string {
31145	return s.String()
31146}
31147
31148// Validate inspects the fields of the type to determine if they are valid.
31149func (s *LabelingJobStoppingConditions) Validate() error {
31150	invalidParams := request.ErrInvalidParams{Context: "LabelingJobStoppingConditions"}
31151	if s.MaxHumanLabeledObjectCount != nil && *s.MaxHumanLabeledObjectCount < 1 {
31152		invalidParams.Add(request.NewErrParamMinValue("MaxHumanLabeledObjectCount", 1))
31153	}
31154	if s.MaxPercentageOfInputDatasetLabeled != nil && *s.MaxPercentageOfInputDatasetLabeled < 1 {
31155		invalidParams.Add(request.NewErrParamMinValue("MaxPercentageOfInputDatasetLabeled", 1))
31156	}
31157
31158	if invalidParams.Len() > 0 {
31159		return invalidParams
31160	}
31161	return nil
31162}
31163
31164// SetMaxHumanLabeledObjectCount sets the MaxHumanLabeledObjectCount field's value.
31165func (s *LabelingJobStoppingConditions) SetMaxHumanLabeledObjectCount(v int64) *LabelingJobStoppingConditions {
31166	s.MaxHumanLabeledObjectCount = &v
31167	return s
31168}
31169
31170// SetMaxPercentageOfInputDatasetLabeled sets the MaxPercentageOfInputDatasetLabeled field's value.
31171func (s *LabelingJobStoppingConditions) SetMaxPercentageOfInputDatasetLabeled(v int64) *LabelingJobStoppingConditions {
31172	s.MaxPercentageOfInputDatasetLabeled = &v
31173	return s
31174}
31175
31176// Provides summary information about a labeling job.
31177type LabelingJobSummary struct {
31178	_ struct{} `type:"structure"`
31179
31180	// The Amazon Resource Name (ARN) of the Lambda function used to consolidate
31181	// the annotations from individual workers into a label for a data object. For
31182	// more information, see Annotation Consolidation (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-annotation-consolidation.html).
31183	AnnotationConsolidationLambdaArn *string `type:"string"`
31184
31185	// The date and time that the job was created (timestamp).
31186	//
31187	// CreationTime is a required field
31188	CreationTime *time.Time `type:"timestamp" required:"true"`
31189
31190	// If the LabelingJobStatus field is Failed, this field contains a description
31191	// of the error.
31192	FailureReason *string `type:"string"`
31193
31194	// Input configuration for the labeling job.
31195	InputConfig *LabelingJobInputConfig `type:"structure"`
31196
31197	// Counts showing the progress of the labeling job.
31198	//
31199	// LabelCounters is a required field
31200	LabelCounters *LabelCounters `type:"structure" required:"true"`
31201
31202	// The Amazon Resource Name (ARN) assigned to the labeling job when it was created.
31203	//
31204	// LabelingJobArn is a required field
31205	LabelingJobArn *string `type:"string" required:"true"`
31206
31207	// The name of the labeling job.
31208	//
31209	// LabelingJobName is a required field
31210	LabelingJobName *string `min:"1" type:"string" required:"true"`
31211
31212	// The location of the output produced by the labeling job.
31213	LabelingJobOutput *LabelingJobOutput `type:"structure"`
31214
31215	// The current status of the labeling job.
31216	//
31217	// LabelingJobStatus is a required field
31218	LabelingJobStatus *string `type:"string" required:"true" enum:"LabelingJobStatus"`
31219
31220	// The date and time that the job was last modified (timestamp).
31221	//
31222	// LastModifiedTime is a required field
31223	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
31224
31225	// The Amazon Resource Name (ARN) of a Lambda function. The function is run
31226	// before each data object is sent to a worker.
31227	//
31228	// PreHumanTaskLambdaArn is a required field
31229	PreHumanTaskLambdaArn *string `type:"string" required:"true"`
31230
31231	// The Amazon Resource Name (ARN) of the work team assigned to the job.
31232	//
31233	// WorkteamArn is a required field
31234	WorkteamArn *string `type:"string" required:"true"`
31235}
31236
31237// String returns the string representation
31238func (s LabelingJobSummary) String() string {
31239	return awsutil.Prettify(s)
31240}
31241
31242// GoString returns the string representation
31243func (s LabelingJobSummary) GoString() string {
31244	return s.String()
31245}
31246
31247// SetAnnotationConsolidationLambdaArn sets the AnnotationConsolidationLambdaArn field's value.
31248func (s *LabelingJobSummary) SetAnnotationConsolidationLambdaArn(v string) *LabelingJobSummary {
31249	s.AnnotationConsolidationLambdaArn = &v
31250	return s
31251}
31252
31253// SetCreationTime sets the CreationTime field's value.
31254func (s *LabelingJobSummary) SetCreationTime(v time.Time) *LabelingJobSummary {
31255	s.CreationTime = &v
31256	return s
31257}
31258
31259// SetFailureReason sets the FailureReason field's value.
31260func (s *LabelingJobSummary) SetFailureReason(v string) *LabelingJobSummary {
31261	s.FailureReason = &v
31262	return s
31263}
31264
31265// SetInputConfig sets the InputConfig field's value.
31266func (s *LabelingJobSummary) SetInputConfig(v *LabelingJobInputConfig) *LabelingJobSummary {
31267	s.InputConfig = v
31268	return s
31269}
31270
31271// SetLabelCounters sets the LabelCounters field's value.
31272func (s *LabelingJobSummary) SetLabelCounters(v *LabelCounters) *LabelingJobSummary {
31273	s.LabelCounters = v
31274	return s
31275}
31276
31277// SetLabelingJobArn sets the LabelingJobArn field's value.
31278func (s *LabelingJobSummary) SetLabelingJobArn(v string) *LabelingJobSummary {
31279	s.LabelingJobArn = &v
31280	return s
31281}
31282
31283// SetLabelingJobName sets the LabelingJobName field's value.
31284func (s *LabelingJobSummary) SetLabelingJobName(v string) *LabelingJobSummary {
31285	s.LabelingJobName = &v
31286	return s
31287}
31288
31289// SetLabelingJobOutput sets the LabelingJobOutput field's value.
31290func (s *LabelingJobSummary) SetLabelingJobOutput(v *LabelingJobOutput) *LabelingJobSummary {
31291	s.LabelingJobOutput = v
31292	return s
31293}
31294
31295// SetLabelingJobStatus sets the LabelingJobStatus field's value.
31296func (s *LabelingJobSummary) SetLabelingJobStatus(v string) *LabelingJobSummary {
31297	s.LabelingJobStatus = &v
31298	return s
31299}
31300
31301// SetLastModifiedTime sets the LastModifiedTime field's value.
31302func (s *LabelingJobSummary) SetLastModifiedTime(v time.Time) *LabelingJobSummary {
31303	s.LastModifiedTime = &v
31304	return s
31305}
31306
31307// SetPreHumanTaskLambdaArn sets the PreHumanTaskLambdaArn field's value.
31308func (s *LabelingJobSummary) SetPreHumanTaskLambdaArn(v string) *LabelingJobSummary {
31309	s.PreHumanTaskLambdaArn = &v
31310	return s
31311}
31312
31313// SetWorkteamArn sets the WorkteamArn field's value.
31314func (s *LabelingJobSummary) SetWorkteamArn(v string) *LabelingJobSummary {
31315	s.WorkteamArn = &v
31316	return s
31317}
31318
31319type ListAlgorithmsInput struct {
31320	_ struct{} `type:"structure"`
31321
31322	// A filter that returns only algorithms created after the specified time (timestamp).
31323	CreationTimeAfter *time.Time `type:"timestamp"`
31324
31325	// A filter that returns only algorithms created before the specified time (timestamp).
31326	CreationTimeBefore *time.Time `type:"timestamp"`
31327
31328	// The maximum number of algorithms to return in the response.
31329	MaxResults *int64 `min:"1" type:"integer"`
31330
31331	// A string in the algorithm name. This filter returns only algorithms whose
31332	// name contains the specified string.
31333	NameContains *string `type:"string"`
31334
31335	// If the response to a previous ListAlgorithms request was truncated, the response
31336	// includes a NextToken. To retrieve the next set of algorithms, use the token
31337	// in the next request.
31338	NextToken *string `type:"string"`
31339
31340	// The parameter by which to sort the results. The default is CreationTime.
31341	SortBy *string `type:"string" enum:"AlgorithmSortBy"`
31342
31343	// The sort order for the results. The default is Ascending.
31344	SortOrder *string `type:"string" enum:"SortOrder"`
31345}
31346
31347// String returns the string representation
31348func (s ListAlgorithmsInput) String() string {
31349	return awsutil.Prettify(s)
31350}
31351
31352// GoString returns the string representation
31353func (s ListAlgorithmsInput) GoString() string {
31354	return s.String()
31355}
31356
31357// Validate inspects the fields of the type to determine if they are valid.
31358func (s *ListAlgorithmsInput) Validate() error {
31359	invalidParams := request.ErrInvalidParams{Context: "ListAlgorithmsInput"}
31360	if s.MaxResults != nil && *s.MaxResults < 1 {
31361		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
31362	}
31363
31364	if invalidParams.Len() > 0 {
31365		return invalidParams
31366	}
31367	return nil
31368}
31369
31370// SetCreationTimeAfter sets the CreationTimeAfter field's value.
31371func (s *ListAlgorithmsInput) SetCreationTimeAfter(v time.Time) *ListAlgorithmsInput {
31372	s.CreationTimeAfter = &v
31373	return s
31374}
31375
31376// SetCreationTimeBefore sets the CreationTimeBefore field's value.
31377func (s *ListAlgorithmsInput) SetCreationTimeBefore(v time.Time) *ListAlgorithmsInput {
31378	s.CreationTimeBefore = &v
31379	return s
31380}
31381
31382// SetMaxResults sets the MaxResults field's value.
31383func (s *ListAlgorithmsInput) SetMaxResults(v int64) *ListAlgorithmsInput {
31384	s.MaxResults = &v
31385	return s
31386}
31387
31388// SetNameContains sets the NameContains field's value.
31389func (s *ListAlgorithmsInput) SetNameContains(v string) *ListAlgorithmsInput {
31390	s.NameContains = &v
31391	return s
31392}
31393
31394// SetNextToken sets the NextToken field's value.
31395func (s *ListAlgorithmsInput) SetNextToken(v string) *ListAlgorithmsInput {
31396	s.NextToken = &v
31397	return s
31398}
31399
31400// SetSortBy sets the SortBy field's value.
31401func (s *ListAlgorithmsInput) SetSortBy(v string) *ListAlgorithmsInput {
31402	s.SortBy = &v
31403	return s
31404}
31405
31406// SetSortOrder sets the SortOrder field's value.
31407func (s *ListAlgorithmsInput) SetSortOrder(v string) *ListAlgorithmsInput {
31408	s.SortOrder = &v
31409	return s
31410}
31411
31412type ListAlgorithmsOutput struct {
31413	_ struct{} `type:"structure"`
31414
31415	// >An array of AlgorithmSummary objects, each of which lists an algorithm.
31416	//
31417	// AlgorithmSummaryList is a required field
31418	AlgorithmSummaryList []*AlgorithmSummary `type:"list" required:"true"`
31419
31420	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
31421	// the next set of algorithms, use it in the subsequent request.
31422	NextToken *string `type:"string"`
31423}
31424
31425// String returns the string representation
31426func (s ListAlgorithmsOutput) String() string {
31427	return awsutil.Prettify(s)
31428}
31429
31430// GoString returns the string representation
31431func (s ListAlgorithmsOutput) GoString() string {
31432	return s.String()
31433}
31434
31435// SetAlgorithmSummaryList sets the AlgorithmSummaryList field's value.
31436func (s *ListAlgorithmsOutput) SetAlgorithmSummaryList(v []*AlgorithmSummary) *ListAlgorithmsOutput {
31437	s.AlgorithmSummaryList = v
31438	return s
31439}
31440
31441// SetNextToken sets the NextToken field's value.
31442func (s *ListAlgorithmsOutput) SetNextToken(v string) *ListAlgorithmsOutput {
31443	s.NextToken = &v
31444	return s
31445}
31446
31447type ListAppsInput struct {
31448	_ struct{} `type:"structure"`
31449
31450	// A parameter to search for the domain ID.
31451	DomainIdEquals *string `type:"string"`
31452
31453	// Returns a list up to a specified limit.
31454	MaxResults *int64 `min:"1" type:"integer"`
31455
31456	// If the previous response was truncated, you will receive this token. Use
31457	// it in your next request to receive the next set of results.
31458	NextToken *string `type:"string"`
31459
31460	// The parameter by which to sort the results. The default is CreationTime.
31461	SortBy *string `type:"string" enum:"AppSortKey"`
31462
31463	// The sort order for the results. The default is Ascending.
31464	SortOrder *string `type:"string" enum:"SortOrder"`
31465
31466	// A parameter to search by user profile name.
31467	UserProfileNameEquals *string `type:"string"`
31468}
31469
31470// String returns the string representation
31471func (s ListAppsInput) String() string {
31472	return awsutil.Prettify(s)
31473}
31474
31475// GoString returns the string representation
31476func (s ListAppsInput) GoString() string {
31477	return s.String()
31478}
31479
31480// Validate inspects the fields of the type to determine if they are valid.
31481func (s *ListAppsInput) Validate() error {
31482	invalidParams := request.ErrInvalidParams{Context: "ListAppsInput"}
31483	if s.MaxResults != nil && *s.MaxResults < 1 {
31484		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
31485	}
31486
31487	if invalidParams.Len() > 0 {
31488		return invalidParams
31489	}
31490	return nil
31491}
31492
31493// SetDomainIdEquals sets the DomainIdEquals field's value.
31494func (s *ListAppsInput) SetDomainIdEquals(v string) *ListAppsInput {
31495	s.DomainIdEquals = &v
31496	return s
31497}
31498
31499// SetMaxResults sets the MaxResults field's value.
31500func (s *ListAppsInput) SetMaxResults(v int64) *ListAppsInput {
31501	s.MaxResults = &v
31502	return s
31503}
31504
31505// SetNextToken sets the NextToken field's value.
31506func (s *ListAppsInput) SetNextToken(v string) *ListAppsInput {
31507	s.NextToken = &v
31508	return s
31509}
31510
31511// SetSortBy sets the SortBy field's value.
31512func (s *ListAppsInput) SetSortBy(v string) *ListAppsInput {
31513	s.SortBy = &v
31514	return s
31515}
31516
31517// SetSortOrder sets the SortOrder field's value.
31518func (s *ListAppsInput) SetSortOrder(v string) *ListAppsInput {
31519	s.SortOrder = &v
31520	return s
31521}
31522
31523// SetUserProfileNameEquals sets the UserProfileNameEquals field's value.
31524func (s *ListAppsInput) SetUserProfileNameEquals(v string) *ListAppsInput {
31525	s.UserProfileNameEquals = &v
31526	return s
31527}
31528
31529type ListAppsOutput struct {
31530	_ struct{} `type:"structure"`
31531
31532	// The list of apps.
31533	Apps []*AppDetails `type:"list"`
31534
31535	// If the previous response was truncated, you will receive this token. Use
31536	// it in your next request to receive the next set of results.
31537	NextToken *string `type:"string"`
31538}
31539
31540// String returns the string representation
31541func (s ListAppsOutput) String() string {
31542	return awsutil.Prettify(s)
31543}
31544
31545// GoString returns the string representation
31546func (s ListAppsOutput) GoString() string {
31547	return s.String()
31548}
31549
31550// SetApps sets the Apps field's value.
31551func (s *ListAppsOutput) SetApps(v []*AppDetails) *ListAppsOutput {
31552	s.Apps = v
31553	return s
31554}
31555
31556// SetNextToken sets the NextToken field's value.
31557func (s *ListAppsOutput) SetNextToken(v string) *ListAppsOutput {
31558	s.NextToken = &v
31559	return s
31560}
31561
31562type ListAutoMLJobsInput struct {
31563	_ struct{} `type:"structure"`
31564
31565	// Request a list of jobs, using a filter for time.
31566	CreationTimeAfter *time.Time `type:"timestamp"`
31567
31568	// Request a list of jobs, using a filter for time.
31569	CreationTimeBefore *time.Time `type:"timestamp"`
31570
31571	// Request a list of jobs, using a filter for time.
31572	LastModifiedTimeAfter *time.Time `type:"timestamp"`
31573
31574	// Request a list of jobs, using a filter for time.
31575	LastModifiedTimeBefore *time.Time `type:"timestamp"`
31576
31577	// Request a list of jobs up to a specified limit.
31578	MaxResults *int64 `min:"1" type:"integer"`
31579
31580	// Request a list of jobs, using a search filter for name.
31581	NameContains *string `type:"string"`
31582
31583	// If the previous response was truncated, you will receive this token. Use
31584	// it in your next request to receive the next set of results.
31585	NextToken *string `type:"string"`
31586
31587	// The parameter by which to sort the results. The default is AutoMLJobName.
31588	SortBy *string `type:"string" enum:"AutoMLSortBy"`
31589
31590	// The sort order for the results. The default is Descending.
31591	SortOrder *string `type:"string" enum:"AutoMLSortOrder"`
31592
31593	// Request a list of jobs, using a filter for status.
31594	StatusEquals *string `type:"string" enum:"AutoMLJobStatus"`
31595}
31596
31597// String returns the string representation
31598func (s ListAutoMLJobsInput) String() string {
31599	return awsutil.Prettify(s)
31600}
31601
31602// GoString returns the string representation
31603func (s ListAutoMLJobsInput) GoString() string {
31604	return s.String()
31605}
31606
31607// Validate inspects the fields of the type to determine if they are valid.
31608func (s *ListAutoMLJobsInput) Validate() error {
31609	invalidParams := request.ErrInvalidParams{Context: "ListAutoMLJobsInput"}
31610	if s.MaxResults != nil && *s.MaxResults < 1 {
31611		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
31612	}
31613
31614	if invalidParams.Len() > 0 {
31615		return invalidParams
31616	}
31617	return nil
31618}
31619
31620// SetCreationTimeAfter sets the CreationTimeAfter field's value.
31621func (s *ListAutoMLJobsInput) SetCreationTimeAfter(v time.Time) *ListAutoMLJobsInput {
31622	s.CreationTimeAfter = &v
31623	return s
31624}
31625
31626// SetCreationTimeBefore sets the CreationTimeBefore field's value.
31627func (s *ListAutoMLJobsInput) SetCreationTimeBefore(v time.Time) *ListAutoMLJobsInput {
31628	s.CreationTimeBefore = &v
31629	return s
31630}
31631
31632// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
31633func (s *ListAutoMLJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListAutoMLJobsInput {
31634	s.LastModifiedTimeAfter = &v
31635	return s
31636}
31637
31638// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
31639func (s *ListAutoMLJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListAutoMLJobsInput {
31640	s.LastModifiedTimeBefore = &v
31641	return s
31642}
31643
31644// SetMaxResults sets the MaxResults field's value.
31645func (s *ListAutoMLJobsInput) SetMaxResults(v int64) *ListAutoMLJobsInput {
31646	s.MaxResults = &v
31647	return s
31648}
31649
31650// SetNameContains sets the NameContains field's value.
31651func (s *ListAutoMLJobsInput) SetNameContains(v string) *ListAutoMLJobsInput {
31652	s.NameContains = &v
31653	return s
31654}
31655
31656// SetNextToken sets the NextToken field's value.
31657func (s *ListAutoMLJobsInput) SetNextToken(v string) *ListAutoMLJobsInput {
31658	s.NextToken = &v
31659	return s
31660}
31661
31662// SetSortBy sets the SortBy field's value.
31663func (s *ListAutoMLJobsInput) SetSortBy(v string) *ListAutoMLJobsInput {
31664	s.SortBy = &v
31665	return s
31666}
31667
31668// SetSortOrder sets the SortOrder field's value.
31669func (s *ListAutoMLJobsInput) SetSortOrder(v string) *ListAutoMLJobsInput {
31670	s.SortOrder = &v
31671	return s
31672}
31673
31674// SetStatusEquals sets the StatusEquals field's value.
31675func (s *ListAutoMLJobsInput) SetStatusEquals(v string) *ListAutoMLJobsInput {
31676	s.StatusEquals = &v
31677	return s
31678}
31679
31680type ListAutoMLJobsOutput struct {
31681	_ struct{} `type:"structure"`
31682
31683	// Returns a summary list of jobs.
31684	//
31685	// AutoMLJobSummaries is a required field
31686	AutoMLJobSummaries []*AutoMLJobSummary `type:"list" required:"true"`
31687
31688	// If the previous response was truncated, you will receive this token. Use
31689	// it in your next request to receive the next set of results.
31690	NextToken *string `type:"string"`
31691}
31692
31693// String returns the string representation
31694func (s ListAutoMLJobsOutput) String() string {
31695	return awsutil.Prettify(s)
31696}
31697
31698// GoString returns the string representation
31699func (s ListAutoMLJobsOutput) GoString() string {
31700	return s.String()
31701}
31702
31703// SetAutoMLJobSummaries sets the AutoMLJobSummaries field's value.
31704func (s *ListAutoMLJobsOutput) SetAutoMLJobSummaries(v []*AutoMLJobSummary) *ListAutoMLJobsOutput {
31705	s.AutoMLJobSummaries = v
31706	return s
31707}
31708
31709// SetNextToken sets the NextToken field's value.
31710func (s *ListAutoMLJobsOutput) SetNextToken(v string) *ListAutoMLJobsOutput {
31711	s.NextToken = &v
31712	return s
31713}
31714
31715type ListCandidatesForAutoMLJobInput struct {
31716	_ struct{} `type:"structure"`
31717
31718	// List the Candidates created for the job by providing the job's name.
31719	//
31720	// AutoMLJobName is a required field
31721	AutoMLJobName *string `min:"1" type:"string" required:"true"`
31722
31723	// List the Candidates for the job and filter by candidate name.
31724	CandidateNameEquals *string `min:"1" type:"string"`
31725
31726	// List the job's Candidates up to a specified limit.
31727	MaxResults *int64 `min:"1" type:"integer"`
31728
31729	// If the previous response was truncated, you will receive this token. Use
31730	// it in your next request to receive the next set of results.
31731	NextToken *string `type:"string"`
31732
31733	// The parameter by which to sort the results. The default is Descending.
31734	SortBy *string `type:"string" enum:"CandidateSortBy"`
31735
31736	// The sort order for the results. The default is Ascending.
31737	SortOrder *string `type:"string" enum:"AutoMLSortOrder"`
31738
31739	// List the Candidates for the job and filter by status.
31740	StatusEquals *string `type:"string" enum:"CandidateStatus"`
31741}
31742
31743// String returns the string representation
31744func (s ListCandidatesForAutoMLJobInput) String() string {
31745	return awsutil.Prettify(s)
31746}
31747
31748// GoString returns the string representation
31749func (s ListCandidatesForAutoMLJobInput) GoString() string {
31750	return s.String()
31751}
31752
31753// Validate inspects the fields of the type to determine if they are valid.
31754func (s *ListCandidatesForAutoMLJobInput) Validate() error {
31755	invalidParams := request.ErrInvalidParams{Context: "ListCandidatesForAutoMLJobInput"}
31756	if s.AutoMLJobName == nil {
31757		invalidParams.Add(request.NewErrParamRequired("AutoMLJobName"))
31758	}
31759	if s.AutoMLJobName != nil && len(*s.AutoMLJobName) < 1 {
31760		invalidParams.Add(request.NewErrParamMinLen("AutoMLJobName", 1))
31761	}
31762	if s.CandidateNameEquals != nil && len(*s.CandidateNameEquals) < 1 {
31763		invalidParams.Add(request.NewErrParamMinLen("CandidateNameEquals", 1))
31764	}
31765	if s.MaxResults != nil && *s.MaxResults < 1 {
31766		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
31767	}
31768
31769	if invalidParams.Len() > 0 {
31770		return invalidParams
31771	}
31772	return nil
31773}
31774
31775// SetAutoMLJobName sets the AutoMLJobName field's value.
31776func (s *ListCandidatesForAutoMLJobInput) SetAutoMLJobName(v string) *ListCandidatesForAutoMLJobInput {
31777	s.AutoMLJobName = &v
31778	return s
31779}
31780
31781// SetCandidateNameEquals sets the CandidateNameEquals field's value.
31782func (s *ListCandidatesForAutoMLJobInput) SetCandidateNameEquals(v string) *ListCandidatesForAutoMLJobInput {
31783	s.CandidateNameEquals = &v
31784	return s
31785}
31786
31787// SetMaxResults sets the MaxResults field's value.
31788func (s *ListCandidatesForAutoMLJobInput) SetMaxResults(v int64) *ListCandidatesForAutoMLJobInput {
31789	s.MaxResults = &v
31790	return s
31791}
31792
31793// SetNextToken sets the NextToken field's value.
31794func (s *ListCandidatesForAutoMLJobInput) SetNextToken(v string) *ListCandidatesForAutoMLJobInput {
31795	s.NextToken = &v
31796	return s
31797}
31798
31799// SetSortBy sets the SortBy field's value.
31800func (s *ListCandidatesForAutoMLJobInput) SetSortBy(v string) *ListCandidatesForAutoMLJobInput {
31801	s.SortBy = &v
31802	return s
31803}
31804
31805// SetSortOrder sets the SortOrder field's value.
31806func (s *ListCandidatesForAutoMLJobInput) SetSortOrder(v string) *ListCandidatesForAutoMLJobInput {
31807	s.SortOrder = &v
31808	return s
31809}
31810
31811// SetStatusEquals sets the StatusEquals field's value.
31812func (s *ListCandidatesForAutoMLJobInput) SetStatusEquals(v string) *ListCandidatesForAutoMLJobInput {
31813	s.StatusEquals = &v
31814	return s
31815}
31816
31817type ListCandidatesForAutoMLJobOutput struct {
31818	_ struct{} `type:"structure"`
31819
31820	// Summaries about the Candidates.
31821	//
31822	// Candidates is a required field
31823	Candidates []*AutoMLCandidate `type:"list" required:"true"`
31824
31825	// If the previous response was truncated, you will receive this token. Use
31826	// it in your next request to receive the next set of results.
31827	NextToken *string `type:"string"`
31828}
31829
31830// String returns the string representation
31831func (s ListCandidatesForAutoMLJobOutput) String() string {
31832	return awsutil.Prettify(s)
31833}
31834
31835// GoString returns the string representation
31836func (s ListCandidatesForAutoMLJobOutput) GoString() string {
31837	return s.String()
31838}
31839
31840// SetCandidates sets the Candidates field's value.
31841func (s *ListCandidatesForAutoMLJobOutput) SetCandidates(v []*AutoMLCandidate) *ListCandidatesForAutoMLJobOutput {
31842	s.Candidates = v
31843	return s
31844}
31845
31846// SetNextToken sets the NextToken field's value.
31847func (s *ListCandidatesForAutoMLJobOutput) SetNextToken(v string) *ListCandidatesForAutoMLJobOutput {
31848	s.NextToken = &v
31849	return s
31850}
31851
31852type ListCodeRepositoriesInput struct {
31853	_ struct{} `type:"structure"`
31854
31855	// A filter that returns only Git repositories that were created after the specified
31856	// time.
31857	CreationTimeAfter *time.Time `type:"timestamp"`
31858
31859	// A filter that returns only Git repositories that were created before the
31860	// specified time.
31861	CreationTimeBefore *time.Time `type:"timestamp"`
31862
31863	// A filter that returns only Git repositories that were last modified after
31864	// the specified time.
31865	LastModifiedTimeAfter *time.Time `type:"timestamp"`
31866
31867	// A filter that returns only Git repositories that were last modified before
31868	// the specified time.
31869	LastModifiedTimeBefore *time.Time `type:"timestamp"`
31870
31871	// The maximum number of Git repositories to return in the response.
31872	MaxResults *int64 `min:"1" type:"integer"`
31873
31874	// A string in the Git repositories name. This filter returns only repositories
31875	// whose name contains the specified string.
31876	NameContains *string `type:"string"`
31877
31878	// If the result of a ListCodeRepositoriesOutput request was truncated, the
31879	// response includes a NextToken. To get the next set of Git repositories, use
31880	// the token in the next request.
31881	NextToken *string `type:"string"`
31882
31883	// The field to sort results by. The default is Name.
31884	SortBy *string `type:"string" enum:"CodeRepositorySortBy"`
31885
31886	// The sort order for results. The default is Ascending.
31887	SortOrder *string `type:"string" enum:"CodeRepositorySortOrder"`
31888}
31889
31890// String returns the string representation
31891func (s ListCodeRepositoriesInput) String() string {
31892	return awsutil.Prettify(s)
31893}
31894
31895// GoString returns the string representation
31896func (s ListCodeRepositoriesInput) GoString() string {
31897	return s.String()
31898}
31899
31900// Validate inspects the fields of the type to determine if they are valid.
31901func (s *ListCodeRepositoriesInput) Validate() error {
31902	invalidParams := request.ErrInvalidParams{Context: "ListCodeRepositoriesInput"}
31903	if s.MaxResults != nil && *s.MaxResults < 1 {
31904		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
31905	}
31906
31907	if invalidParams.Len() > 0 {
31908		return invalidParams
31909	}
31910	return nil
31911}
31912
31913// SetCreationTimeAfter sets the CreationTimeAfter field's value.
31914func (s *ListCodeRepositoriesInput) SetCreationTimeAfter(v time.Time) *ListCodeRepositoriesInput {
31915	s.CreationTimeAfter = &v
31916	return s
31917}
31918
31919// SetCreationTimeBefore sets the CreationTimeBefore field's value.
31920func (s *ListCodeRepositoriesInput) SetCreationTimeBefore(v time.Time) *ListCodeRepositoriesInput {
31921	s.CreationTimeBefore = &v
31922	return s
31923}
31924
31925// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
31926func (s *ListCodeRepositoriesInput) SetLastModifiedTimeAfter(v time.Time) *ListCodeRepositoriesInput {
31927	s.LastModifiedTimeAfter = &v
31928	return s
31929}
31930
31931// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
31932func (s *ListCodeRepositoriesInput) SetLastModifiedTimeBefore(v time.Time) *ListCodeRepositoriesInput {
31933	s.LastModifiedTimeBefore = &v
31934	return s
31935}
31936
31937// SetMaxResults sets the MaxResults field's value.
31938func (s *ListCodeRepositoriesInput) SetMaxResults(v int64) *ListCodeRepositoriesInput {
31939	s.MaxResults = &v
31940	return s
31941}
31942
31943// SetNameContains sets the NameContains field's value.
31944func (s *ListCodeRepositoriesInput) SetNameContains(v string) *ListCodeRepositoriesInput {
31945	s.NameContains = &v
31946	return s
31947}
31948
31949// SetNextToken sets the NextToken field's value.
31950func (s *ListCodeRepositoriesInput) SetNextToken(v string) *ListCodeRepositoriesInput {
31951	s.NextToken = &v
31952	return s
31953}
31954
31955// SetSortBy sets the SortBy field's value.
31956func (s *ListCodeRepositoriesInput) SetSortBy(v string) *ListCodeRepositoriesInput {
31957	s.SortBy = &v
31958	return s
31959}
31960
31961// SetSortOrder sets the SortOrder field's value.
31962func (s *ListCodeRepositoriesInput) SetSortOrder(v string) *ListCodeRepositoriesInput {
31963	s.SortOrder = &v
31964	return s
31965}
31966
31967type ListCodeRepositoriesOutput struct {
31968	_ struct{} `type:"structure"`
31969
31970	// Gets a list of summaries of the Git repositories. Each summary specifies
31971	// the following values for the repository:
31972	//
31973	//    * Name
31974	//
31975	//    * Amazon Resource Name (ARN)
31976	//
31977	//    * Creation time
31978	//
31979	//    * Last modified time
31980	//
31981	//    * Configuration information, including the URL location of the repository
31982	//    and the ARN of the AWS Secrets Manager secret that contains the credentials
31983	//    used to access the repository.
31984	//
31985	// CodeRepositorySummaryList is a required field
31986	CodeRepositorySummaryList []*CodeRepositorySummary `type:"list" required:"true"`
31987
31988	// If the result of a ListCodeRepositoriesOutput request was truncated, the
31989	// response includes a NextToken. To get the next set of Git repositories, use
31990	// the token in the next request.
31991	NextToken *string `type:"string"`
31992}
31993
31994// String returns the string representation
31995func (s ListCodeRepositoriesOutput) String() string {
31996	return awsutil.Prettify(s)
31997}
31998
31999// GoString returns the string representation
32000func (s ListCodeRepositoriesOutput) GoString() string {
32001	return s.String()
32002}
32003
32004// SetCodeRepositorySummaryList sets the CodeRepositorySummaryList field's value.
32005func (s *ListCodeRepositoriesOutput) SetCodeRepositorySummaryList(v []*CodeRepositorySummary) *ListCodeRepositoriesOutput {
32006	s.CodeRepositorySummaryList = v
32007	return s
32008}
32009
32010// SetNextToken sets the NextToken field's value.
32011func (s *ListCodeRepositoriesOutput) SetNextToken(v string) *ListCodeRepositoriesOutput {
32012	s.NextToken = &v
32013	return s
32014}
32015
32016type ListCompilationJobsInput struct {
32017	_ struct{} `type:"structure"`
32018
32019	// A filter that returns the model compilation jobs that were created after
32020	// a specified time.
32021	CreationTimeAfter *time.Time `type:"timestamp"`
32022
32023	// A filter that returns the model compilation jobs that were created before
32024	// a specified time.
32025	CreationTimeBefore *time.Time `type:"timestamp"`
32026
32027	// A filter that returns the model compilation jobs that were modified after
32028	// a specified time.
32029	LastModifiedTimeAfter *time.Time `type:"timestamp"`
32030
32031	// A filter that returns the model compilation jobs that were modified before
32032	// a specified time.
32033	LastModifiedTimeBefore *time.Time `type:"timestamp"`
32034
32035	// The maximum number of model compilation jobs to return in the response.
32036	MaxResults *int64 `min:"1" type:"integer"`
32037
32038	// A filter that returns the model compilation jobs whose name contains a specified
32039	// string.
32040	NameContains *string `type:"string"`
32041
32042	// If the result of the previous ListCompilationJobs request was truncated,
32043	// the response includes a NextToken. To retrieve the next set of model compilation
32044	// jobs, use the token in the next request.
32045	NextToken *string `type:"string"`
32046
32047	// The field by which to sort results. The default is CreationTime.
32048	SortBy *string `type:"string" enum:"ListCompilationJobsSortBy"`
32049
32050	// The sort order for results. The default is Ascending.
32051	SortOrder *string `type:"string" enum:"SortOrder"`
32052
32053	// A filter that retrieves model compilation jobs with a specific DescribeCompilationJobResponse$CompilationJobStatus
32054	// status.
32055	StatusEquals *string `type:"string" enum:"CompilationJobStatus"`
32056}
32057
32058// String returns the string representation
32059func (s ListCompilationJobsInput) String() string {
32060	return awsutil.Prettify(s)
32061}
32062
32063// GoString returns the string representation
32064func (s ListCompilationJobsInput) GoString() string {
32065	return s.String()
32066}
32067
32068// Validate inspects the fields of the type to determine if they are valid.
32069func (s *ListCompilationJobsInput) Validate() error {
32070	invalidParams := request.ErrInvalidParams{Context: "ListCompilationJobsInput"}
32071	if s.MaxResults != nil && *s.MaxResults < 1 {
32072		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
32073	}
32074
32075	if invalidParams.Len() > 0 {
32076		return invalidParams
32077	}
32078	return nil
32079}
32080
32081// SetCreationTimeAfter sets the CreationTimeAfter field's value.
32082func (s *ListCompilationJobsInput) SetCreationTimeAfter(v time.Time) *ListCompilationJobsInput {
32083	s.CreationTimeAfter = &v
32084	return s
32085}
32086
32087// SetCreationTimeBefore sets the CreationTimeBefore field's value.
32088func (s *ListCompilationJobsInput) SetCreationTimeBefore(v time.Time) *ListCompilationJobsInput {
32089	s.CreationTimeBefore = &v
32090	return s
32091}
32092
32093// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
32094func (s *ListCompilationJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListCompilationJobsInput {
32095	s.LastModifiedTimeAfter = &v
32096	return s
32097}
32098
32099// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
32100func (s *ListCompilationJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListCompilationJobsInput {
32101	s.LastModifiedTimeBefore = &v
32102	return s
32103}
32104
32105// SetMaxResults sets the MaxResults field's value.
32106func (s *ListCompilationJobsInput) SetMaxResults(v int64) *ListCompilationJobsInput {
32107	s.MaxResults = &v
32108	return s
32109}
32110
32111// SetNameContains sets the NameContains field's value.
32112func (s *ListCompilationJobsInput) SetNameContains(v string) *ListCompilationJobsInput {
32113	s.NameContains = &v
32114	return s
32115}
32116
32117// SetNextToken sets the NextToken field's value.
32118func (s *ListCompilationJobsInput) SetNextToken(v string) *ListCompilationJobsInput {
32119	s.NextToken = &v
32120	return s
32121}
32122
32123// SetSortBy sets the SortBy field's value.
32124func (s *ListCompilationJobsInput) SetSortBy(v string) *ListCompilationJobsInput {
32125	s.SortBy = &v
32126	return s
32127}
32128
32129// SetSortOrder sets the SortOrder field's value.
32130func (s *ListCompilationJobsInput) SetSortOrder(v string) *ListCompilationJobsInput {
32131	s.SortOrder = &v
32132	return s
32133}
32134
32135// SetStatusEquals sets the StatusEquals field's value.
32136func (s *ListCompilationJobsInput) SetStatusEquals(v string) *ListCompilationJobsInput {
32137	s.StatusEquals = &v
32138	return s
32139}
32140
32141type ListCompilationJobsOutput struct {
32142	_ struct{} `type:"structure"`
32143
32144	// An array of CompilationJobSummary objects, each describing a model compilation
32145	// job.
32146	//
32147	// CompilationJobSummaries is a required field
32148	CompilationJobSummaries []*CompilationJobSummary `type:"list" required:"true"`
32149
32150	// If the response is truncated, Amazon SageMaker returns this NextToken. To
32151	// retrieve the next set of model compilation jobs, use this token in the next
32152	// request.
32153	NextToken *string `type:"string"`
32154}
32155
32156// String returns the string representation
32157func (s ListCompilationJobsOutput) String() string {
32158	return awsutil.Prettify(s)
32159}
32160
32161// GoString returns the string representation
32162func (s ListCompilationJobsOutput) GoString() string {
32163	return s.String()
32164}
32165
32166// SetCompilationJobSummaries sets the CompilationJobSummaries field's value.
32167func (s *ListCompilationJobsOutput) SetCompilationJobSummaries(v []*CompilationJobSummary) *ListCompilationJobsOutput {
32168	s.CompilationJobSummaries = v
32169	return s
32170}
32171
32172// SetNextToken sets the NextToken field's value.
32173func (s *ListCompilationJobsOutput) SetNextToken(v string) *ListCompilationJobsOutput {
32174	s.NextToken = &v
32175	return s
32176}
32177
32178type ListDomainsInput struct {
32179	_ struct{} `type:"structure"`
32180
32181	// Returns a list up to a specified limit.
32182	MaxResults *int64 `min:"1" type:"integer"`
32183
32184	// If the previous response was truncated, you will receive this token. Use
32185	// it in your next request to receive the next set of results.
32186	NextToken *string `type:"string"`
32187}
32188
32189// String returns the string representation
32190func (s ListDomainsInput) String() string {
32191	return awsutil.Prettify(s)
32192}
32193
32194// GoString returns the string representation
32195func (s ListDomainsInput) GoString() string {
32196	return s.String()
32197}
32198
32199// Validate inspects the fields of the type to determine if they are valid.
32200func (s *ListDomainsInput) Validate() error {
32201	invalidParams := request.ErrInvalidParams{Context: "ListDomainsInput"}
32202	if s.MaxResults != nil && *s.MaxResults < 1 {
32203		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
32204	}
32205
32206	if invalidParams.Len() > 0 {
32207		return invalidParams
32208	}
32209	return nil
32210}
32211
32212// SetMaxResults sets the MaxResults field's value.
32213func (s *ListDomainsInput) SetMaxResults(v int64) *ListDomainsInput {
32214	s.MaxResults = &v
32215	return s
32216}
32217
32218// SetNextToken sets the NextToken field's value.
32219func (s *ListDomainsInput) SetNextToken(v string) *ListDomainsInput {
32220	s.NextToken = &v
32221	return s
32222}
32223
32224type ListDomainsOutput struct {
32225	_ struct{} `type:"structure"`
32226
32227	// The list of domains.
32228	Domains []*DomainDetails `type:"list"`
32229
32230	// If the previous response was truncated, you will receive this token. Use
32231	// it in your next request to receive the next set of results.
32232	NextToken *string `type:"string"`
32233}
32234
32235// String returns the string representation
32236func (s ListDomainsOutput) String() string {
32237	return awsutil.Prettify(s)
32238}
32239
32240// GoString returns the string representation
32241func (s ListDomainsOutput) GoString() string {
32242	return s.String()
32243}
32244
32245// SetDomains sets the Domains field's value.
32246func (s *ListDomainsOutput) SetDomains(v []*DomainDetails) *ListDomainsOutput {
32247	s.Domains = v
32248	return s
32249}
32250
32251// SetNextToken sets the NextToken field's value.
32252func (s *ListDomainsOutput) SetNextToken(v string) *ListDomainsOutput {
32253	s.NextToken = &v
32254	return s
32255}
32256
32257type ListEndpointConfigsInput struct {
32258	_ struct{} `type:"structure"`
32259
32260	// A filter that returns only endpoint configurations with a creation time greater
32261	// than or equal to the specified time (timestamp).
32262	CreationTimeAfter *time.Time `type:"timestamp"`
32263
32264	// A filter that returns only endpoint configurations created before the specified
32265	// time (timestamp).
32266	CreationTimeBefore *time.Time `type:"timestamp"`
32267
32268	// The maximum number of training jobs to return in the response.
32269	MaxResults *int64 `min:"1" type:"integer"`
32270
32271	// A string in the endpoint configuration name. This filter returns only endpoint
32272	// configurations whose name contains the specified string.
32273	NameContains *string `type:"string"`
32274
32275	// If the result of the previous ListEndpointConfig request was truncated, the
32276	// response includes a NextToken. To retrieve the next set of endpoint configurations,
32277	// use the token in the next request.
32278	NextToken *string `type:"string"`
32279
32280	// The field to sort results by. The default is CreationTime.
32281	SortBy *string `type:"string" enum:"EndpointConfigSortKey"`
32282
32283	// The sort order for results. The default is Descending.
32284	SortOrder *string `type:"string" enum:"OrderKey"`
32285}
32286
32287// String returns the string representation
32288func (s ListEndpointConfigsInput) String() string {
32289	return awsutil.Prettify(s)
32290}
32291
32292// GoString returns the string representation
32293func (s ListEndpointConfigsInput) GoString() string {
32294	return s.String()
32295}
32296
32297// Validate inspects the fields of the type to determine if they are valid.
32298func (s *ListEndpointConfigsInput) Validate() error {
32299	invalidParams := request.ErrInvalidParams{Context: "ListEndpointConfigsInput"}
32300	if s.MaxResults != nil && *s.MaxResults < 1 {
32301		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
32302	}
32303
32304	if invalidParams.Len() > 0 {
32305		return invalidParams
32306	}
32307	return nil
32308}
32309
32310// SetCreationTimeAfter sets the CreationTimeAfter field's value.
32311func (s *ListEndpointConfigsInput) SetCreationTimeAfter(v time.Time) *ListEndpointConfigsInput {
32312	s.CreationTimeAfter = &v
32313	return s
32314}
32315
32316// SetCreationTimeBefore sets the CreationTimeBefore field's value.
32317func (s *ListEndpointConfigsInput) SetCreationTimeBefore(v time.Time) *ListEndpointConfigsInput {
32318	s.CreationTimeBefore = &v
32319	return s
32320}
32321
32322// SetMaxResults sets the MaxResults field's value.
32323func (s *ListEndpointConfigsInput) SetMaxResults(v int64) *ListEndpointConfigsInput {
32324	s.MaxResults = &v
32325	return s
32326}
32327
32328// SetNameContains sets the NameContains field's value.
32329func (s *ListEndpointConfigsInput) SetNameContains(v string) *ListEndpointConfigsInput {
32330	s.NameContains = &v
32331	return s
32332}
32333
32334// SetNextToken sets the NextToken field's value.
32335func (s *ListEndpointConfigsInput) SetNextToken(v string) *ListEndpointConfigsInput {
32336	s.NextToken = &v
32337	return s
32338}
32339
32340// SetSortBy sets the SortBy field's value.
32341func (s *ListEndpointConfigsInput) SetSortBy(v string) *ListEndpointConfigsInput {
32342	s.SortBy = &v
32343	return s
32344}
32345
32346// SetSortOrder sets the SortOrder field's value.
32347func (s *ListEndpointConfigsInput) SetSortOrder(v string) *ListEndpointConfigsInput {
32348	s.SortOrder = &v
32349	return s
32350}
32351
32352type ListEndpointConfigsOutput struct {
32353	_ struct{} `type:"structure"`
32354
32355	// An array of endpoint configurations.
32356	//
32357	// EndpointConfigs is a required field
32358	EndpointConfigs []*EndpointConfigSummary `type:"list" required:"true"`
32359
32360	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
32361	// the next set of endpoint configurations, use it in the subsequent request
32362	NextToken *string `type:"string"`
32363}
32364
32365// String returns the string representation
32366func (s ListEndpointConfigsOutput) String() string {
32367	return awsutil.Prettify(s)
32368}
32369
32370// GoString returns the string representation
32371func (s ListEndpointConfigsOutput) GoString() string {
32372	return s.String()
32373}
32374
32375// SetEndpointConfigs sets the EndpointConfigs field's value.
32376func (s *ListEndpointConfigsOutput) SetEndpointConfigs(v []*EndpointConfigSummary) *ListEndpointConfigsOutput {
32377	s.EndpointConfigs = v
32378	return s
32379}
32380
32381// SetNextToken sets the NextToken field's value.
32382func (s *ListEndpointConfigsOutput) SetNextToken(v string) *ListEndpointConfigsOutput {
32383	s.NextToken = &v
32384	return s
32385}
32386
32387type ListEndpointsInput struct {
32388	_ struct{} `type:"structure"`
32389
32390	// A filter that returns only endpoints with a creation time greater than or
32391	// equal to the specified time (timestamp).
32392	CreationTimeAfter *time.Time `type:"timestamp"`
32393
32394	// A filter that returns only endpoints that were created before the specified
32395	// time (timestamp).
32396	CreationTimeBefore *time.Time `type:"timestamp"`
32397
32398	// A filter that returns only endpoints that were modified after the specified
32399	// timestamp.
32400	LastModifiedTimeAfter *time.Time `type:"timestamp"`
32401
32402	// A filter that returns only endpoints that were modified before the specified
32403	// timestamp.
32404	LastModifiedTimeBefore *time.Time `type:"timestamp"`
32405
32406	// The maximum number of endpoints to return in the response.
32407	MaxResults *int64 `min:"1" type:"integer"`
32408
32409	// A string in endpoint names. This filter returns only endpoints whose name
32410	// contains the specified string.
32411	NameContains *string `type:"string"`
32412
32413	// If the result of a ListEndpoints request was truncated, the response includes
32414	// a NextToken. To retrieve the next set of endpoints, use the token in the
32415	// next request.
32416	NextToken *string `type:"string"`
32417
32418	// Sorts the list of results. The default is CreationTime.
32419	SortBy *string `type:"string" enum:"EndpointSortKey"`
32420
32421	// The sort order for results. The default is Descending.
32422	SortOrder *string `type:"string" enum:"OrderKey"`
32423
32424	// A filter that returns only endpoints with the specified status.
32425	StatusEquals *string `type:"string" enum:"EndpointStatus"`
32426}
32427
32428// String returns the string representation
32429func (s ListEndpointsInput) String() string {
32430	return awsutil.Prettify(s)
32431}
32432
32433// GoString returns the string representation
32434func (s ListEndpointsInput) GoString() string {
32435	return s.String()
32436}
32437
32438// Validate inspects the fields of the type to determine if they are valid.
32439func (s *ListEndpointsInput) Validate() error {
32440	invalidParams := request.ErrInvalidParams{Context: "ListEndpointsInput"}
32441	if s.MaxResults != nil && *s.MaxResults < 1 {
32442		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
32443	}
32444
32445	if invalidParams.Len() > 0 {
32446		return invalidParams
32447	}
32448	return nil
32449}
32450
32451// SetCreationTimeAfter sets the CreationTimeAfter field's value.
32452func (s *ListEndpointsInput) SetCreationTimeAfter(v time.Time) *ListEndpointsInput {
32453	s.CreationTimeAfter = &v
32454	return s
32455}
32456
32457// SetCreationTimeBefore sets the CreationTimeBefore field's value.
32458func (s *ListEndpointsInput) SetCreationTimeBefore(v time.Time) *ListEndpointsInput {
32459	s.CreationTimeBefore = &v
32460	return s
32461}
32462
32463// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
32464func (s *ListEndpointsInput) SetLastModifiedTimeAfter(v time.Time) *ListEndpointsInput {
32465	s.LastModifiedTimeAfter = &v
32466	return s
32467}
32468
32469// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
32470func (s *ListEndpointsInput) SetLastModifiedTimeBefore(v time.Time) *ListEndpointsInput {
32471	s.LastModifiedTimeBefore = &v
32472	return s
32473}
32474
32475// SetMaxResults sets the MaxResults field's value.
32476func (s *ListEndpointsInput) SetMaxResults(v int64) *ListEndpointsInput {
32477	s.MaxResults = &v
32478	return s
32479}
32480
32481// SetNameContains sets the NameContains field's value.
32482func (s *ListEndpointsInput) SetNameContains(v string) *ListEndpointsInput {
32483	s.NameContains = &v
32484	return s
32485}
32486
32487// SetNextToken sets the NextToken field's value.
32488func (s *ListEndpointsInput) SetNextToken(v string) *ListEndpointsInput {
32489	s.NextToken = &v
32490	return s
32491}
32492
32493// SetSortBy sets the SortBy field's value.
32494func (s *ListEndpointsInput) SetSortBy(v string) *ListEndpointsInput {
32495	s.SortBy = &v
32496	return s
32497}
32498
32499// SetSortOrder sets the SortOrder field's value.
32500func (s *ListEndpointsInput) SetSortOrder(v string) *ListEndpointsInput {
32501	s.SortOrder = &v
32502	return s
32503}
32504
32505// SetStatusEquals sets the StatusEquals field's value.
32506func (s *ListEndpointsInput) SetStatusEquals(v string) *ListEndpointsInput {
32507	s.StatusEquals = &v
32508	return s
32509}
32510
32511type ListEndpointsOutput struct {
32512	_ struct{} `type:"structure"`
32513
32514	// An array or endpoint objects.
32515	//
32516	// Endpoints is a required field
32517	Endpoints []*EndpointSummary `type:"list" required:"true"`
32518
32519	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
32520	// the next set of training jobs, use it in the subsequent request.
32521	NextToken *string `type:"string"`
32522}
32523
32524// String returns the string representation
32525func (s ListEndpointsOutput) String() string {
32526	return awsutil.Prettify(s)
32527}
32528
32529// GoString returns the string representation
32530func (s ListEndpointsOutput) GoString() string {
32531	return s.String()
32532}
32533
32534// SetEndpoints sets the Endpoints field's value.
32535func (s *ListEndpointsOutput) SetEndpoints(v []*EndpointSummary) *ListEndpointsOutput {
32536	s.Endpoints = v
32537	return s
32538}
32539
32540// SetNextToken sets the NextToken field's value.
32541func (s *ListEndpointsOutput) SetNextToken(v string) *ListEndpointsOutput {
32542	s.NextToken = &v
32543	return s
32544}
32545
32546type ListExperimentsInput struct {
32547	_ struct{} `type:"structure"`
32548
32549	// A filter that returns only experiments created after the specified time.
32550	CreatedAfter *time.Time `type:"timestamp"`
32551
32552	// A filter that returns only experiments created before the specified time.
32553	CreatedBefore *time.Time `type:"timestamp"`
32554
32555	// The maximum number of experiments to return in the response. The default
32556	// value is 10.
32557	MaxResults *int64 `min:"1" type:"integer"`
32558
32559	// If the previous call to ListExperiments didn't return the full set of experiments,
32560	// the call returns a token for getting the next set of experiments.
32561	NextToken *string `type:"string"`
32562
32563	// The property used to sort results. The default value is CreationTime.
32564	SortBy *string `type:"string" enum:"SortExperimentsBy"`
32565
32566	// The sort order. The default value is Descending.
32567	SortOrder *string `type:"string" enum:"SortOrder"`
32568}
32569
32570// String returns the string representation
32571func (s ListExperimentsInput) String() string {
32572	return awsutil.Prettify(s)
32573}
32574
32575// GoString returns the string representation
32576func (s ListExperimentsInput) GoString() string {
32577	return s.String()
32578}
32579
32580// Validate inspects the fields of the type to determine if they are valid.
32581func (s *ListExperimentsInput) Validate() error {
32582	invalidParams := request.ErrInvalidParams{Context: "ListExperimentsInput"}
32583	if s.MaxResults != nil && *s.MaxResults < 1 {
32584		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
32585	}
32586
32587	if invalidParams.Len() > 0 {
32588		return invalidParams
32589	}
32590	return nil
32591}
32592
32593// SetCreatedAfter sets the CreatedAfter field's value.
32594func (s *ListExperimentsInput) SetCreatedAfter(v time.Time) *ListExperimentsInput {
32595	s.CreatedAfter = &v
32596	return s
32597}
32598
32599// SetCreatedBefore sets the CreatedBefore field's value.
32600func (s *ListExperimentsInput) SetCreatedBefore(v time.Time) *ListExperimentsInput {
32601	s.CreatedBefore = &v
32602	return s
32603}
32604
32605// SetMaxResults sets the MaxResults field's value.
32606func (s *ListExperimentsInput) SetMaxResults(v int64) *ListExperimentsInput {
32607	s.MaxResults = &v
32608	return s
32609}
32610
32611// SetNextToken sets the NextToken field's value.
32612func (s *ListExperimentsInput) SetNextToken(v string) *ListExperimentsInput {
32613	s.NextToken = &v
32614	return s
32615}
32616
32617// SetSortBy sets the SortBy field's value.
32618func (s *ListExperimentsInput) SetSortBy(v string) *ListExperimentsInput {
32619	s.SortBy = &v
32620	return s
32621}
32622
32623// SetSortOrder sets the SortOrder field's value.
32624func (s *ListExperimentsInput) SetSortOrder(v string) *ListExperimentsInput {
32625	s.SortOrder = &v
32626	return s
32627}
32628
32629type ListExperimentsOutput struct {
32630	_ struct{} `type:"structure"`
32631
32632	// A list of the summaries of your experiments.
32633	ExperimentSummaries []*ExperimentSummary `type:"list"`
32634
32635	// A token for getting the next set of experiments, if there are any.
32636	NextToken *string `type:"string"`
32637}
32638
32639// String returns the string representation
32640func (s ListExperimentsOutput) String() string {
32641	return awsutil.Prettify(s)
32642}
32643
32644// GoString returns the string representation
32645func (s ListExperimentsOutput) GoString() string {
32646	return s.String()
32647}
32648
32649// SetExperimentSummaries sets the ExperimentSummaries field's value.
32650func (s *ListExperimentsOutput) SetExperimentSummaries(v []*ExperimentSummary) *ListExperimentsOutput {
32651	s.ExperimentSummaries = v
32652	return s
32653}
32654
32655// SetNextToken sets the NextToken field's value.
32656func (s *ListExperimentsOutput) SetNextToken(v string) *ListExperimentsOutput {
32657	s.NextToken = &v
32658	return s
32659}
32660
32661type ListFlowDefinitionsInput struct {
32662	_ struct{} `type:"structure"`
32663
32664	// A filter that returns only flow definitions with a creation time greater
32665	// than or equal to the specified timestamp.
32666	CreationTimeAfter *time.Time `type:"timestamp"`
32667
32668	// A filter that returns only flow definitions that were created before the
32669	// specified timestamp.
32670	CreationTimeBefore *time.Time `type:"timestamp"`
32671
32672	// The total number of items to return. If the total number of available items
32673	// is more than the value specified in MaxResults, then a NextToken will be
32674	// provided in the output that you can use to resume pagination.
32675	MaxResults *int64 `min:"1" type:"integer"`
32676
32677	// A token to resume pagination.
32678	NextToken *string `type:"string"`
32679
32680	// An optional value that specifies whether you want the results sorted in Ascending
32681	// or Descending order.
32682	SortOrder *string `type:"string" enum:"SortOrder"`
32683}
32684
32685// String returns the string representation
32686func (s ListFlowDefinitionsInput) String() string {
32687	return awsutil.Prettify(s)
32688}
32689
32690// GoString returns the string representation
32691func (s ListFlowDefinitionsInput) GoString() string {
32692	return s.String()
32693}
32694
32695// Validate inspects the fields of the type to determine if they are valid.
32696func (s *ListFlowDefinitionsInput) Validate() error {
32697	invalidParams := request.ErrInvalidParams{Context: "ListFlowDefinitionsInput"}
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 *ListFlowDefinitionsInput) SetCreationTimeAfter(v time.Time) *ListFlowDefinitionsInput {
32710	s.CreationTimeAfter = &v
32711	return s
32712}
32713
32714// SetCreationTimeBefore sets the CreationTimeBefore field's value.
32715func (s *ListFlowDefinitionsInput) SetCreationTimeBefore(v time.Time) *ListFlowDefinitionsInput {
32716	s.CreationTimeBefore = &v
32717	return s
32718}
32719
32720// SetMaxResults sets the MaxResults field's value.
32721func (s *ListFlowDefinitionsInput) SetMaxResults(v int64) *ListFlowDefinitionsInput {
32722	s.MaxResults = &v
32723	return s
32724}
32725
32726// SetNextToken sets the NextToken field's value.
32727func (s *ListFlowDefinitionsInput) SetNextToken(v string) *ListFlowDefinitionsInput {
32728	s.NextToken = &v
32729	return s
32730}
32731
32732// SetSortOrder sets the SortOrder field's value.
32733func (s *ListFlowDefinitionsInput) SetSortOrder(v string) *ListFlowDefinitionsInput {
32734	s.SortOrder = &v
32735	return s
32736}
32737
32738type ListFlowDefinitionsOutput struct {
32739	_ struct{} `type:"structure"`
32740
32741	// An array of objects describing the flow definitions.
32742	//
32743	// FlowDefinitionSummaries is a required field
32744	FlowDefinitionSummaries []*FlowDefinitionSummary `type:"list" required:"true"`
32745
32746	// A token to resume pagination.
32747	NextToken *string `type:"string"`
32748}
32749
32750// String returns the string representation
32751func (s ListFlowDefinitionsOutput) String() string {
32752	return awsutil.Prettify(s)
32753}
32754
32755// GoString returns the string representation
32756func (s ListFlowDefinitionsOutput) GoString() string {
32757	return s.String()
32758}
32759
32760// SetFlowDefinitionSummaries sets the FlowDefinitionSummaries field's value.
32761func (s *ListFlowDefinitionsOutput) SetFlowDefinitionSummaries(v []*FlowDefinitionSummary) *ListFlowDefinitionsOutput {
32762	s.FlowDefinitionSummaries = v
32763	return s
32764}
32765
32766// SetNextToken sets the NextToken field's value.
32767func (s *ListFlowDefinitionsOutput) SetNextToken(v string) *ListFlowDefinitionsOutput {
32768	s.NextToken = &v
32769	return s
32770}
32771
32772type ListHumanTaskUisInput struct {
32773	_ struct{} `type:"structure"`
32774
32775	// A filter that returns only human task user interfaces with a creation time
32776	// greater than or equal to the specified timestamp.
32777	CreationTimeAfter *time.Time `type:"timestamp"`
32778
32779	// A filter that returns only human task user interfaces that were created before
32780	// the specified timestamp.
32781	CreationTimeBefore *time.Time `type:"timestamp"`
32782
32783	// The total number of items to return. If the total number of available items
32784	// is more than the value specified in MaxResults, then a NextToken will be
32785	// provided in the output that you can use to resume pagination.
32786	MaxResults *int64 `min:"1" type:"integer"`
32787
32788	// A token to resume pagination.
32789	NextToken *string `type:"string"`
32790
32791	// An optional value that specifies whether you want the results sorted in Ascending
32792	// or Descending order.
32793	SortOrder *string `type:"string" enum:"SortOrder"`
32794}
32795
32796// String returns the string representation
32797func (s ListHumanTaskUisInput) String() string {
32798	return awsutil.Prettify(s)
32799}
32800
32801// GoString returns the string representation
32802func (s ListHumanTaskUisInput) GoString() string {
32803	return s.String()
32804}
32805
32806// Validate inspects the fields of the type to determine if they are valid.
32807func (s *ListHumanTaskUisInput) Validate() error {
32808	invalidParams := request.ErrInvalidParams{Context: "ListHumanTaskUisInput"}
32809	if s.MaxResults != nil && *s.MaxResults < 1 {
32810		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
32811	}
32812
32813	if invalidParams.Len() > 0 {
32814		return invalidParams
32815	}
32816	return nil
32817}
32818
32819// SetCreationTimeAfter sets the CreationTimeAfter field's value.
32820func (s *ListHumanTaskUisInput) SetCreationTimeAfter(v time.Time) *ListHumanTaskUisInput {
32821	s.CreationTimeAfter = &v
32822	return s
32823}
32824
32825// SetCreationTimeBefore sets the CreationTimeBefore field's value.
32826func (s *ListHumanTaskUisInput) SetCreationTimeBefore(v time.Time) *ListHumanTaskUisInput {
32827	s.CreationTimeBefore = &v
32828	return s
32829}
32830
32831// SetMaxResults sets the MaxResults field's value.
32832func (s *ListHumanTaskUisInput) SetMaxResults(v int64) *ListHumanTaskUisInput {
32833	s.MaxResults = &v
32834	return s
32835}
32836
32837// SetNextToken sets the NextToken field's value.
32838func (s *ListHumanTaskUisInput) SetNextToken(v string) *ListHumanTaskUisInput {
32839	s.NextToken = &v
32840	return s
32841}
32842
32843// SetSortOrder sets the SortOrder field's value.
32844func (s *ListHumanTaskUisInput) SetSortOrder(v string) *ListHumanTaskUisInput {
32845	s.SortOrder = &v
32846	return s
32847}
32848
32849type ListHumanTaskUisOutput struct {
32850	_ struct{} `type:"structure"`
32851
32852	// An array of objects describing the human task user interfaces.
32853	//
32854	// HumanTaskUiSummaries is a required field
32855	HumanTaskUiSummaries []*HumanTaskUiSummary `type:"list" required:"true"`
32856
32857	// A token to resume pagination.
32858	NextToken *string `type:"string"`
32859}
32860
32861// String returns the string representation
32862func (s ListHumanTaskUisOutput) String() string {
32863	return awsutil.Prettify(s)
32864}
32865
32866// GoString returns the string representation
32867func (s ListHumanTaskUisOutput) GoString() string {
32868	return s.String()
32869}
32870
32871// SetHumanTaskUiSummaries sets the HumanTaskUiSummaries field's value.
32872func (s *ListHumanTaskUisOutput) SetHumanTaskUiSummaries(v []*HumanTaskUiSummary) *ListHumanTaskUisOutput {
32873	s.HumanTaskUiSummaries = v
32874	return s
32875}
32876
32877// SetNextToken sets the NextToken field's value.
32878func (s *ListHumanTaskUisOutput) SetNextToken(v string) *ListHumanTaskUisOutput {
32879	s.NextToken = &v
32880	return s
32881}
32882
32883type ListHyperParameterTuningJobsInput struct {
32884	_ struct{} `type:"structure"`
32885
32886	// A filter that returns only tuning jobs that were created after the specified
32887	// time.
32888	CreationTimeAfter *time.Time `type:"timestamp"`
32889
32890	// A filter that returns only tuning jobs that were created before the specified
32891	// time.
32892	CreationTimeBefore *time.Time `type:"timestamp"`
32893
32894	// A filter that returns only tuning jobs that were modified after the specified
32895	// time.
32896	LastModifiedTimeAfter *time.Time `type:"timestamp"`
32897
32898	// A filter that returns only tuning jobs that were modified before the specified
32899	// time.
32900	LastModifiedTimeBefore *time.Time `type:"timestamp"`
32901
32902	// The maximum number of tuning jobs to return. The default value is 10.
32903	MaxResults *int64 `min:"1" type:"integer"`
32904
32905	// A string in the tuning job name. This filter returns only tuning jobs whose
32906	// name contains the specified string.
32907	NameContains *string `type:"string"`
32908
32909	// If the result of the previous ListHyperParameterTuningJobs request was truncated,
32910	// the response includes a NextToken. To retrieve the next set of tuning jobs,
32911	// use the token in the next request.
32912	NextToken *string `type:"string"`
32913
32914	// The field to sort results by. The default is Name.
32915	SortBy *string `type:"string" enum:"HyperParameterTuningJobSortByOptions"`
32916
32917	// The sort order for results. The default is Ascending.
32918	SortOrder *string `type:"string" enum:"SortOrder"`
32919
32920	// A filter that returns only tuning jobs with the specified status.
32921	StatusEquals *string `type:"string" enum:"HyperParameterTuningJobStatus"`
32922}
32923
32924// String returns the string representation
32925func (s ListHyperParameterTuningJobsInput) String() string {
32926	return awsutil.Prettify(s)
32927}
32928
32929// GoString returns the string representation
32930func (s ListHyperParameterTuningJobsInput) GoString() string {
32931	return s.String()
32932}
32933
32934// Validate inspects the fields of the type to determine if they are valid.
32935func (s *ListHyperParameterTuningJobsInput) Validate() error {
32936	invalidParams := request.ErrInvalidParams{Context: "ListHyperParameterTuningJobsInput"}
32937	if s.MaxResults != nil && *s.MaxResults < 1 {
32938		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
32939	}
32940
32941	if invalidParams.Len() > 0 {
32942		return invalidParams
32943	}
32944	return nil
32945}
32946
32947// SetCreationTimeAfter sets the CreationTimeAfter field's value.
32948func (s *ListHyperParameterTuningJobsInput) SetCreationTimeAfter(v time.Time) *ListHyperParameterTuningJobsInput {
32949	s.CreationTimeAfter = &v
32950	return s
32951}
32952
32953// SetCreationTimeBefore sets the CreationTimeBefore field's value.
32954func (s *ListHyperParameterTuningJobsInput) SetCreationTimeBefore(v time.Time) *ListHyperParameterTuningJobsInput {
32955	s.CreationTimeBefore = &v
32956	return s
32957}
32958
32959// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
32960func (s *ListHyperParameterTuningJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListHyperParameterTuningJobsInput {
32961	s.LastModifiedTimeAfter = &v
32962	return s
32963}
32964
32965// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
32966func (s *ListHyperParameterTuningJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListHyperParameterTuningJobsInput {
32967	s.LastModifiedTimeBefore = &v
32968	return s
32969}
32970
32971// SetMaxResults sets the MaxResults field's value.
32972func (s *ListHyperParameterTuningJobsInput) SetMaxResults(v int64) *ListHyperParameterTuningJobsInput {
32973	s.MaxResults = &v
32974	return s
32975}
32976
32977// SetNameContains sets the NameContains field's value.
32978func (s *ListHyperParameterTuningJobsInput) SetNameContains(v string) *ListHyperParameterTuningJobsInput {
32979	s.NameContains = &v
32980	return s
32981}
32982
32983// SetNextToken sets the NextToken field's value.
32984func (s *ListHyperParameterTuningJobsInput) SetNextToken(v string) *ListHyperParameterTuningJobsInput {
32985	s.NextToken = &v
32986	return s
32987}
32988
32989// SetSortBy sets the SortBy field's value.
32990func (s *ListHyperParameterTuningJobsInput) SetSortBy(v string) *ListHyperParameterTuningJobsInput {
32991	s.SortBy = &v
32992	return s
32993}
32994
32995// SetSortOrder sets the SortOrder field's value.
32996func (s *ListHyperParameterTuningJobsInput) SetSortOrder(v string) *ListHyperParameterTuningJobsInput {
32997	s.SortOrder = &v
32998	return s
32999}
33000
33001// SetStatusEquals sets the StatusEquals field's value.
33002func (s *ListHyperParameterTuningJobsInput) SetStatusEquals(v string) *ListHyperParameterTuningJobsInput {
33003	s.StatusEquals = &v
33004	return s
33005}
33006
33007type ListHyperParameterTuningJobsOutput struct {
33008	_ struct{} `type:"structure"`
33009
33010	// A list of HyperParameterTuningJobSummary objects that describe the tuning
33011	// jobs that the ListHyperParameterTuningJobs request returned.
33012	//
33013	// HyperParameterTuningJobSummaries is a required field
33014	HyperParameterTuningJobSummaries []*HyperParameterTuningJobSummary `type:"list" required:"true"`
33015
33016	// If the result of this ListHyperParameterTuningJobs request was truncated,
33017	// the response includes a NextToken. To retrieve the next set of tuning jobs,
33018	// use the token in the next request.
33019	NextToken *string `type:"string"`
33020}
33021
33022// String returns the string representation
33023func (s ListHyperParameterTuningJobsOutput) String() string {
33024	return awsutil.Prettify(s)
33025}
33026
33027// GoString returns the string representation
33028func (s ListHyperParameterTuningJobsOutput) GoString() string {
33029	return s.String()
33030}
33031
33032// SetHyperParameterTuningJobSummaries sets the HyperParameterTuningJobSummaries field's value.
33033func (s *ListHyperParameterTuningJobsOutput) SetHyperParameterTuningJobSummaries(v []*HyperParameterTuningJobSummary) *ListHyperParameterTuningJobsOutput {
33034	s.HyperParameterTuningJobSummaries = v
33035	return s
33036}
33037
33038// SetNextToken sets the NextToken field's value.
33039func (s *ListHyperParameterTuningJobsOutput) SetNextToken(v string) *ListHyperParameterTuningJobsOutput {
33040	s.NextToken = &v
33041	return s
33042}
33043
33044type ListLabelingJobsForWorkteamInput struct {
33045	_ struct{} `type:"structure"`
33046
33047	// A filter that returns only labeling jobs created after the specified time
33048	// (timestamp).
33049	CreationTimeAfter *time.Time `type:"timestamp"`
33050
33051	// A filter that returns only labeling jobs created before the specified time
33052	// (timestamp).
33053	CreationTimeBefore *time.Time `type:"timestamp"`
33054
33055	// A filter the limits jobs to only the ones whose job reference code contains
33056	// the specified string.
33057	JobReferenceCodeContains *string `min:"1" type:"string"`
33058
33059	// The maximum number of labeling jobs to return in each page of the response.
33060	MaxResults *int64 `min:"1" type:"integer"`
33061
33062	// If the result of the previous ListLabelingJobsForWorkteam request was truncated,
33063	// the response includes a NextToken. To retrieve the next set of labeling jobs,
33064	// use the token in the next request.
33065	NextToken *string `type:"string"`
33066
33067	// The field to sort results by. The default is CreationTime.
33068	SortBy *string `type:"string" enum:"ListLabelingJobsForWorkteamSortByOptions"`
33069
33070	// The sort order for results. The default is Ascending.
33071	SortOrder *string `type:"string" enum:"SortOrder"`
33072
33073	// The Amazon Resource Name (ARN) of the work team for which you want to see
33074	// labeling jobs for.
33075	//
33076	// WorkteamArn is a required field
33077	WorkteamArn *string `type:"string" required:"true"`
33078}
33079
33080// String returns the string representation
33081func (s ListLabelingJobsForWorkteamInput) String() string {
33082	return awsutil.Prettify(s)
33083}
33084
33085// GoString returns the string representation
33086func (s ListLabelingJobsForWorkteamInput) GoString() string {
33087	return s.String()
33088}
33089
33090// Validate inspects the fields of the type to determine if they are valid.
33091func (s *ListLabelingJobsForWorkteamInput) Validate() error {
33092	invalidParams := request.ErrInvalidParams{Context: "ListLabelingJobsForWorkteamInput"}
33093	if s.JobReferenceCodeContains != nil && len(*s.JobReferenceCodeContains) < 1 {
33094		invalidParams.Add(request.NewErrParamMinLen("JobReferenceCodeContains", 1))
33095	}
33096	if s.MaxResults != nil && *s.MaxResults < 1 {
33097		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
33098	}
33099	if s.WorkteamArn == nil {
33100		invalidParams.Add(request.NewErrParamRequired("WorkteamArn"))
33101	}
33102
33103	if invalidParams.Len() > 0 {
33104		return invalidParams
33105	}
33106	return nil
33107}
33108
33109// SetCreationTimeAfter sets the CreationTimeAfter field's value.
33110func (s *ListLabelingJobsForWorkteamInput) SetCreationTimeAfter(v time.Time) *ListLabelingJobsForWorkteamInput {
33111	s.CreationTimeAfter = &v
33112	return s
33113}
33114
33115// SetCreationTimeBefore sets the CreationTimeBefore field's value.
33116func (s *ListLabelingJobsForWorkteamInput) SetCreationTimeBefore(v time.Time) *ListLabelingJobsForWorkteamInput {
33117	s.CreationTimeBefore = &v
33118	return s
33119}
33120
33121// SetJobReferenceCodeContains sets the JobReferenceCodeContains field's value.
33122func (s *ListLabelingJobsForWorkteamInput) SetJobReferenceCodeContains(v string) *ListLabelingJobsForWorkteamInput {
33123	s.JobReferenceCodeContains = &v
33124	return s
33125}
33126
33127// SetMaxResults sets the MaxResults field's value.
33128func (s *ListLabelingJobsForWorkteamInput) SetMaxResults(v int64) *ListLabelingJobsForWorkteamInput {
33129	s.MaxResults = &v
33130	return s
33131}
33132
33133// SetNextToken sets the NextToken field's value.
33134func (s *ListLabelingJobsForWorkteamInput) SetNextToken(v string) *ListLabelingJobsForWorkteamInput {
33135	s.NextToken = &v
33136	return s
33137}
33138
33139// SetSortBy sets the SortBy field's value.
33140func (s *ListLabelingJobsForWorkteamInput) SetSortBy(v string) *ListLabelingJobsForWorkteamInput {
33141	s.SortBy = &v
33142	return s
33143}
33144
33145// SetSortOrder sets the SortOrder field's value.
33146func (s *ListLabelingJobsForWorkteamInput) SetSortOrder(v string) *ListLabelingJobsForWorkteamInput {
33147	s.SortOrder = &v
33148	return s
33149}
33150
33151// SetWorkteamArn sets the WorkteamArn field's value.
33152func (s *ListLabelingJobsForWorkteamInput) SetWorkteamArn(v string) *ListLabelingJobsForWorkteamInput {
33153	s.WorkteamArn = &v
33154	return s
33155}
33156
33157type ListLabelingJobsForWorkteamOutput struct {
33158	_ struct{} `type:"structure"`
33159
33160	// An array of LabelingJobSummary objects, each describing a labeling job.
33161	//
33162	// LabelingJobSummaryList is a required field
33163	LabelingJobSummaryList []*LabelingJobForWorkteamSummary `type:"list" required:"true"`
33164
33165	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
33166	// the next set of labeling jobs, use it in the subsequent request.
33167	NextToken *string `type:"string"`
33168}
33169
33170// String returns the string representation
33171func (s ListLabelingJobsForWorkteamOutput) String() string {
33172	return awsutil.Prettify(s)
33173}
33174
33175// GoString returns the string representation
33176func (s ListLabelingJobsForWorkteamOutput) GoString() string {
33177	return s.String()
33178}
33179
33180// SetLabelingJobSummaryList sets the LabelingJobSummaryList field's value.
33181func (s *ListLabelingJobsForWorkteamOutput) SetLabelingJobSummaryList(v []*LabelingJobForWorkteamSummary) *ListLabelingJobsForWorkteamOutput {
33182	s.LabelingJobSummaryList = v
33183	return s
33184}
33185
33186// SetNextToken sets the NextToken field's value.
33187func (s *ListLabelingJobsForWorkteamOutput) SetNextToken(v string) *ListLabelingJobsForWorkteamOutput {
33188	s.NextToken = &v
33189	return s
33190}
33191
33192type ListLabelingJobsInput struct {
33193	_ struct{} `type:"structure"`
33194
33195	// A filter that returns only labeling jobs created after the specified time
33196	// (timestamp).
33197	CreationTimeAfter *time.Time `type:"timestamp"`
33198
33199	// A filter that returns only labeling jobs created before the specified time
33200	// (timestamp).
33201	CreationTimeBefore *time.Time `type:"timestamp"`
33202
33203	// A filter that returns only labeling jobs modified after the specified time
33204	// (timestamp).
33205	LastModifiedTimeAfter *time.Time `type:"timestamp"`
33206
33207	// A filter that returns only labeling jobs modified before the specified time
33208	// (timestamp).
33209	LastModifiedTimeBefore *time.Time `type:"timestamp"`
33210
33211	// The maximum number of labeling jobs to return in each page of the response.
33212	MaxResults *int64 `min:"1" type:"integer"`
33213
33214	// A string in the labeling job name. This filter returns only labeling jobs
33215	// whose name contains the specified string.
33216	NameContains *string `type:"string"`
33217
33218	// If the result of the previous ListLabelingJobs request was truncated, the
33219	// response includes a NextToken. To retrieve the next set of labeling jobs,
33220	// use the token in the next request.
33221	NextToken *string `type:"string"`
33222
33223	// The field to sort results by. The default is CreationTime.
33224	SortBy *string `type:"string" enum:"SortBy"`
33225
33226	// The sort order for results. The default is Ascending.
33227	SortOrder *string `type:"string" enum:"SortOrder"`
33228
33229	// A filter that retrieves only labeling jobs with a specific status.
33230	StatusEquals *string `type:"string" enum:"LabelingJobStatus"`
33231}
33232
33233// String returns the string representation
33234func (s ListLabelingJobsInput) String() string {
33235	return awsutil.Prettify(s)
33236}
33237
33238// GoString returns the string representation
33239func (s ListLabelingJobsInput) GoString() string {
33240	return s.String()
33241}
33242
33243// Validate inspects the fields of the type to determine if they are valid.
33244func (s *ListLabelingJobsInput) Validate() error {
33245	invalidParams := request.ErrInvalidParams{Context: "ListLabelingJobsInput"}
33246	if s.MaxResults != nil && *s.MaxResults < 1 {
33247		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
33248	}
33249
33250	if invalidParams.Len() > 0 {
33251		return invalidParams
33252	}
33253	return nil
33254}
33255
33256// SetCreationTimeAfter sets the CreationTimeAfter field's value.
33257func (s *ListLabelingJobsInput) SetCreationTimeAfter(v time.Time) *ListLabelingJobsInput {
33258	s.CreationTimeAfter = &v
33259	return s
33260}
33261
33262// SetCreationTimeBefore sets the CreationTimeBefore field's value.
33263func (s *ListLabelingJobsInput) SetCreationTimeBefore(v time.Time) *ListLabelingJobsInput {
33264	s.CreationTimeBefore = &v
33265	return s
33266}
33267
33268// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
33269func (s *ListLabelingJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListLabelingJobsInput {
33270	s.LastModifiedTimeAfter = &v
33271	return s
33272}
33273
33274// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
33275func (s *ListLabelingJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListLabelingJobsInput {
33276	s.LastModifiedTimeBefore = &v
33277	return s
33278}
33279
33280// SetMaxResults sets the MaxResults field's value.
33281func (s *ListLabelingJobsInput) SetMaxResults(v int64) *ListLabelingJobsInput {
33282	s.MaxResults = &v
33283	return s
33284}
33285
33286// SetNameContains sets the NameContains field's value.
33287func (s *ListLabelingJobsInput) SetNameContains(v string) *ListLabelingJobsInput {
33288	s.NameContains = &v
33289	return s
33290}
33291
33292// SetNextToken sets the NextToken field's value.
33293func (s *ListLabelingJobsInput) SetNextToken(v string) *ListLabelingJobsInput {
33294	s.NextToken = &v
33295	return s
33296}
33297
33298// SetSortBy sets the SortBy field's value.
33299func (s *ListLabelingJobsInput) SetSortBy(v string) *ListLabelingJobsInput {
33300	s.SortBy = &v
33301	return s
33302}
33303
33304// SetSortOrder sets the SortOrder field's value.
33305func (s *ListLabelingJobsInput) SetSortOrder(v string) *ListLabelingJobsInput {
33306	s.SortOrder = &v
33307	return s
33308}
33309
33310// SetStatusEquals sets the StatusEquals field's value.
33311func (s *ListLabelingJobsInput) SetStatusEquals(v string) *ListLabelingJobsInput {
33312	s.StatusEquals = &v
33313	return s
33314}
33315
33316type ListLabelingJobsOutput struct {
33317	_ struct{} `type:"structure"`
33318
33319	// An array of LabelingJobSummary objects, each describing a labeling job.
33320	LabelingJobSummaryList []*LabelingJobSummary `type:"list"`
33321
33322	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
33323	// the next set of labeling jobs, use it in the subsequent request.
33324	NextToken *string `type:"string"`
33325}
33326
33327// String returns the string representation
33328func (s ListLabelingJobsOutput) String() string {
33329	return awsutil.Prettify(s)
33330}
33331
33332// GoString returns the string representation
33333func (s ListLabelingJobsOutput) GoString() string {
33334	return s.String()
33335}
33336
33337// SetLabelingJobSummaryList sets the LabelingJobSummaryList field's value.
33338func (s *ListLabelingJobsOutput) SetLabelingJobSummaryList(v []*LabelingJobSummary) *ListLabelingJobsOutput {
33339	s.LabelingJobSummaryList = v
33340	return s
33341}
33342
33343// SetNextToken sets the NextToken field's value.
33344func (s *ListLabelingJobsOutput) SetNextToken(v string) *ListLabelingJobsOutput {
33345	s.NextToken = &v
33346	return s
33347}
33348
33349type ListModelPackagesInput struct {
33350	_ struct{} `type:"structure"`
33351
33352	// A filter that returns only model packages created after the specified time
33353	// (timestamp).
33354	CreationTimeAfter *time.Time `type:"timestamp"`
33355
33356	// A filter that returns only model packages created before the specified time
33357	// (timestamp).
33358	CreationTimeBefore *time.Time `type:"timestamp"`
33359
33360	// The maximum number of model packages to return in the response.
33361	MaxResults *int64 `min:"1" type:"integer"`
33362
33363	// A string in the model package name. This filter returns only model packages
33364	// whose name contains the specified string.
33365	NameContains *string `type:"string"`
33366
33367	// If the response to a previous ListModelPackages request was truncated, the
33368	// response includes a NextToken. To retrieve the next set of model packages,
33369	// use the token in the next request.
33370	NextToken *string `type:"string"`
33371
33372	// The parameter by which to sort the results. The default is CreationTime.
33373	SortBy *string `type:"string" enum:"ModelPackageSortBy"`
33374
33375	// The sort order for the results. The default is Ascending.
33376	SortOrder *string `type:"string" enum:"SortOrder"`
33377}
33378
33379// String returns the string representation
33380func (s ListModelPackagesInput) String() string {
33381	return awsutil.Prettify(s)
33382}
33383
33384// GoString returns the string representation
33385func (s ListModelPackagesInput) GoString() string {
33386	return s.String()
33387}
33388
33389// Validate inspects the fields of the type to determine if they are valid.
33390func (s *ListModelPackagesInput) Validate() error {
33391	invalidParams := request.ErrInvalidParams{Context: "ListModelPackagesInput"}
33392	if s.MaxResults != nil && *s.MaxResults < 1 {
33393		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
33394	}
33395
33396	if invalidParams.Len() > 0 {
33397		return invalidParams
33398	}
33399	return nil
33400}
33401
33402// SetCreationTimeAfter sets the CreationTimeAfter field's value.
33403func (s *ListModelPackagesInput) SetCreationTimeAfter(v time.Time) *ListModelPackagesInput {
33404	s.CreationTimeAfter = &v
33405	return s
33406}
33407
33408// SetCreationTimeBefore sets the CreationTimeBefore field's value.
33409func (s *ListModelPackagesInput) SetCreationTimeBefore(v time.Time) *ListModelPackagesInput {
33410	s.CreationTimeBefore = &v
33411	return s
33412}
33413
33414// SetMaxResults sets the MaxResults field's value.
33415func (s *ListModelPackagesInput) SetMaxResults(v int64) *ListModelPackagesInput {
33416	s.MaxResults = &v
33417	return s
33418}
33419
33420// SetNameContains sets the NameContains field's value.
33421func (s *ListModelPackagesInput) SetNameContains(v string) *ListModelPackagesInput {
33422	s.NameContains = &v
33423	return s
33424}
33425
33426// SetNextToken sets the NextToken field's value.
33427func (s *ListModelPackagesInput) SetNextToken(v string) *ListModelPackagesInput {
33428	s.NextToken = &v
33429	return s
33430}
33431
33432// SetSortBy sets the SortBy field's value.
33433func (s *ListModelPackagesInput) SetSortBy(v string) *ListModelPackagesInput {
33434	s.SortBy = &v
33435	return s
33436}
33437
33438// SetSortOrder sets the SortOrder field's value.
33439func (s *ListModelPackagesInput) SetSortOrder(v string) *ListModelPackagesInput {
33440	s.SortOrder = &v
33441	return s
33442}
33443
33444type ListModelPackagesOutput struct {
33445	_ struct{} `type:"structure"`
33446
33447	// An array of ModelPackageSummary objects, each of which lists a model package.
33448	//
33449	// ModelPackageSummaryList is a required field
33450	ModelPackageSummaryList []*ModelPackageSummary `type:"list" required:"true"`
33451
33452	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
33453	// the next set of model packages, use it in the subsequent request.
33454	NextToken *string `type:"string"`
33455}
33456
33457// String returns the string representation
33458func (s ListModelPackagesOutput) String() string {
33459	return awsutil.Prettify(s)
33460}
33461
33462// GoString returns the string representation
33463func (s ListModelPackagesOutput) GoString() string {
33464	return s.String()
33465}
33466
33467// SetModelPackageSummaryList sets the ModelPackageSummaryList field's value.
33468func (s *ListModelPackagesOutput) SetModelPackageSummaryList(v []*ModelPackageSummary) *ListModelPackagesOutput {
33469	s.ModelPackageSummaryList = v
33470	return s
33471}
33472
33473// SetNextToken sets the NextToken field's value.
33474func (s *ListModelPackagesOutput) SetNextToken(v string) *ListModelPackagesOutput {
33475	s.NextToken = &v
33476	return s
33477}
33478
33479type ListModelsInput struct {
33480	_ struct{} `type:"structure"`
33481
33482	// A filter that returns only models with a creation time greater than or equal
33483	// to the specified time (timestamp).
33484	CreationTimeAfter *time.Time `type:"timestamp"`
33485
33486	// A filter that returns only models created before the specified time (timestamp).
33487	CreationTimeBefore *time.Time `type:"timestamp"`
33488
33489	// The maximum number of models to return in the response.
33490	MaxResults *int64 `min:"1" type:"integer"`
33491
33492	// A string in the training job name. This filter returns only models in the
33493	// training job whose name contains the specified string.
33494	NameContains *string `type:"string"`
33495
33496	// If the response to a previous ListModels request was truncated, the response
33497	// includes a NextToken. To retrieve the next set of models, use the token in
33498	// the next request.
33499	NextToken *string `type:"string"`
33500
33501	// Sorts the list of results. The default is CreationTime.
33502	SortBy *string `type:"string" enum:"ModelSortKey"`
33503
33504	// The sort order for results. The default is Descending.
33505	SortOrder *string `type:"string" enum:"OrderKey"`
33506}
33507
33508// String returns the string representation
33509func (s ListModelsInput) String() string {
33510	return awsutil.Prettify(s)
33511}
33512
33513// GoString returns the string representation
33514func (s ListModelsInput) GoString() string {
33515	return s.String()
33516}
33517
33518// Validate inspects the fields of the type to determine if they are valid.
33519func (s *ListModelsInput) Validate() error {
33520	invalidParams := request.ErrInvalidParams{Context: "ListModelsInput"}
33521	if s.MaxResults != nil && *s.MaxResults < 1 {
33522		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
33523	}
33524
33525	if invalidParams.Len() > 0 {
33526		return invalidParams
33527	}
33528	return nil
33529}
33530
33531// SetCreationTimeAfter sets the CreationTimeAfter field's value.
33532func (s *ListModelsInput) SetCreationTimeAfter(v time.Time) *ListModelsInput {
33533	s.CreationTimeAfter = &v
33534	return s
33535}
33536
33537// SetCreationTimeBefore sets the CreationTimeBefore field's value.
33538func (s *ListModelsInput) SetCreationTimeBefore(v time.Time) *ListModelsInput {
33539	s.CreationTimeBefore = &v
33540	return s
33541}
33542
33543// SetMaxResults sets the MaxResults field's value.
33544func (s *ListModelsInput) SetMaxResults(v int64) *ListModelsInput {
33545	s.MaxResults = &v
33546	return s
33547}
33548
33549// SetNameContains sets the NameContains field's value.
33550func (s *ListModelsInput) SetNameContains(v string) *ListModelsInput {
33551	s.NameContains = &v
33552	return s
33553}
33554
33555// SetNextToken sets the NextToken field's value.
33556func (s *ListModelsInput) SetNextToken(v string) *ListModelsInput {
33557	s.NextToken = &v
33558	return s
33559}
33560
33561// SetSortBy sets the SortBy field's value.
33562func (s *ListModelsInput) SetSortBy(v string) *ListModelsInput {
33563	s.SortBy = &v
33564	return s
33565}
33566
33567// SetSortOrder sets the SortOrder field's value.
33568func (s *ListModelsInput) SetSortOrder(v string) *ListModelsInput {
33569	s.SortOrder = &v
33570	return s
33571}
33572
33573type ListModelsOutput struct {
33574	_ struct{} `type:"structure"`
33575
33576	// An array of ModelSummary objects, each of which lists a model.
33577	//
33578	// Models is a required field
33579	Models []*ModelSummary `type:"list" required:"true"`
33580
33581	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
33582	// the next set of models, use it in the subsequent request.
33583	NextToken *string `type:"string"`
33584}
33585
33586// String returns the string representation
33587func (s ListModelsOutput) String() string {
33588	return awsutil.Prettify(s)
33589}
33590
33591// GoString returns the string representation
33592func (s ListModelsOutput) GoString() string {
33593	return s.String()
33594}
33595
33596// SetModels sets the Models field's value.
33597func (s *ListModelsOutput) SetModels(v []*ModelSummary) *ListModelsOutput {
33598	s.Models = v
33599	return s
33600}
33601
33602// SetNextToken sets the NextToken field's value.
33603func (s *ListModelsOutput) SetNextToken(v string) *ListModelsOutput {
33604	s.NextToken = &v
33605	return s
33606}
33607
33608type ListMonitoringExecutionsInput struct {
33609	_ struct{} `type:"structure"`
33610
33611	// A filter that returns only jobs created after a specified time.
33612	CreationTimeAfter *time.Time `type:"timestamp"`
33613
33614	// A filter that returns only jobs created before a specified time.
33615	CreationTimeBefore *time.Time `type:"timestamp"`
33616
33617	// Name of a specific endpoint to fetch jobs for.
33618	EndpointName *string `type:"string"`
33619
33620	// A filter that returns only jobs modified before a specified time.
33621	LastModifiedTimeAfter *time.Time `type:"timestamp"`
33622
33623	// A filter that returns only jobs modified after a specified time.
33624	LastModifiedTimeBefore *time.Time `type:"timestamp"`
33625
33626	// The maximum number of jobs to return in the response. The default value is
33627	// 10.
33628	MaxResults *int64 `min:"1" type:"integer"`
33629
33630	// Name of a specific schedule to fetch jobs for.
33631	MonitoringScheduleName *string `min:"1" type:"string"`
33632
33633	// The token returned if the response is truncated. To retrieve the next set
33634	// of job executions, use it in the next request.
33635	NextToken *string `type:"string"`
33636
33637	// Filter for jobs scheduled after a specified time.
33638	ScheduledTimeAfter *time.Time `type:"timestamp"`
33639
33640	// Filter for jobs scheduled before a specified time.
33641	ScheduledTimeBefore *time.Time `type:"timestamp"`
33642
33643	// Whether to sort results by Status, CreationTime, ScheduledTime field. The
33644	// default is CreationTime.
33645	SortBy *string `type:"string" enum:"MonitoringExecutionSortKey"`
33646
33647	// Whether to sort the results in Ascending or Descending order. The default
33648	// is Descending.
33649	SortOrder *string `type:"string" enum:"SortOrder"`
33650
33651	// A filter that retrieves only jobs with a specific status.
33652	StatusEquals *string `type:"string" enum:"ExecutionStatus"`
33653}
33654
33655// String returns the string representation
33656func (s ListMonitoringExecutionsInput) String() string {
33657	return awsutil.Prettify(s)
33658}
33659
33660// GoString returns the string representation
33661func (s ListMonitoringExecutionsInput) GoString() string {
33662	return s.String()
33663}
33664
33665// Validate inspects the fields of the type to determine if they are valid.
33666func (s *ListMonitoringExecutionsInput) Validate() error {
33667	invalidParams := request.ErrInvalidParams{Context: "ListMonitoringExecutionsInput"}
33668	if s.MaxResults != nil && *s.MaxResults < 1 {
33669		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
33670	}
33671	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
33672		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
33673	}
33674
33675	if invalidParams.Len() > 0 {
33676		return invalidParams
33677	}
33678	return nil
33679}
33680
33681// SetCreationTimeAfter sets the CreationTimeAfter field's value.
33682func (s *ListMonitoringExecutionsInput) SetCreationTimeAfter(v time.Time) *ListMonitoringExecutionsInput {
33683	s.CreationTimeAfter = &v
33684	return s
33685}
33686
33687// SetCreationTimeBefore sets the CreationTimeBefore field's value.
33688func (s *ListMonitoringExecutionsInput) SetCreationTimeBefore(v time.Time) *ListMonitoringExecutionsInput {
33689	s.CreationTimeBefore = &v
33690	return s
33691}
33692
33693// SetEndpointName sets the EndpointName field's value.
33694func (s *ListMonitoringExecutionsInput) SetEndpointName(v string) *ListMonitoringExecutionsInput {
33695	s.EndpointName = &v
33696	return s
33697}
33698
33699// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
33700func (s *ListMonitoringExecutionsInput) SetLastModifiedTimeAfter(v time.Time) *ListMonitoringExecutionsInput {
33701	s.LastModifiedTimeAfter = &v
33702	return s
33703}
33704
33705// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
33706func (s *ListMonitoringExecutionsInput) SetLastModifiedTimeBefore(v time.Time) *ListMonitoringExecutionsInput {
33707	s.LastModifiedTimeBefore = &v
33708	return s
33709}
33710
33711// SetMaxResults sets the MaxResults field's value.
33712func (s *ListMonitoringExecutionsInput) SetMaxResults(v int64) *ListMonitoringExecutionsInput {
33713	s.MaxResults = &v
33714	return s
33715}
33716
33717// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
33718func (s *ListMonitoringExecutionsInput) SetMonitoringScheduleName(v string) *ListMonitoringExecutionsInput {
33719	s.MonitoringScheduleName = &v
33720	return s
33721}
33722
33723// SetNextToken sets the NextToken field's value.
33724func (s *ListMonitoringExecutionsInput) SetNextToken(v string) *ListMonitoringExecutionsInput {
33725	s.NextToken = &v
33726	return s
33727}
33728
33729// SetScheduledTimeAfter sets the ScheduledTimeAfter field's value.
33730func (s *ListMonitoringExecutionsInput) SetScheduledTimeAfter(v time.Time) *ListMonitoringExecutionsInput {
33731	s.ScheduledTimeAfter = &v
33732	return s
33733}
33734
33735// SetScheduledTimeBefore sets the ScheduledTimeBefore field's value.
33736func (s *ListMonitoringExecutionsInput) SetScheduledTimeBefore(v time.Time) *ListMonitoringExecutionsInput {
33737	s.ScheduledTimeBefore = &v
33738	return s
33739}
33740
33741// SetSortBy sets the SortBy field's value.
33742func (s *ListMonitoringExecutionsInput) SetSortBy(v string) *ListMonitoringExecutionsInput {
33743	s.SortBy = &v
33744	return s
33745}
33746
33747// SetSortOrder sets the SortOrder field's value.
33748func (s *ListMonitoringExecutionsInput) SetSortOrder(v string) *ListMonitoringExecutionsInput {
33749	s.SortOrder = &v
33750	return s
33751}
33752
33753// SetStatusEquals sets the StatusEquals field's value.
33754func (s *ListMonitoringExecutionsInput) SetStatusEquals(v string) *ListMonitoringExecutionsInput {
33755	s.StatusEquals = &v
33756	return s
33757}
33758
33759type ListMonitoringExecutionsOutput struct {
33760	_ struct{} `type:"structure"`
33761
33762	// A JSON array in which each element is a summary for a monitoring execution.
33763	//
33764	// MonitoringExecutionSummaries is a required field
33765	MonitoringExecutionSummaries []*MonitoringExecutionSummary `type:"list" required:"true"`
33766
33767	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
33768	// the next set of jobs, use it in the subsequent reques
33769	NextToken *string `type:"string"`
33770}
33771
33772// String returns the string representation
33773func (s ListMonitoringExecutionsOutput) String() string {
33774	return awsutil.Prettify(s)
33775}
33776
33777// GoString returns the string representation
33778func (s ListMonitoringExecutionsOutput) GoString() string {
33779	return s.String()
33780}
33781
33782// SetMonitoringExecutionSummaries sets the MonitoringExecutionSummaries field's value.
33783func (s *ListMonitoringExecutionsOutput) SetMonitoringExecutionSummaries(v []*MonitoringExecutionSummary) *ListMonitoringExecutionsOutput {
33784	s.MonitoringExecutionSummaries = v
33785	return s
33786}
33787
33788// SetNextToken sets the NextToken field's value.
33789func (s *ListMonitoringExecutionsOutput) SetNextToken(v string) *ListMonitoringExecutionsOutput {
33790	s.NextToken = &v
33791	return s
33792}
33793
33794type ListMonitoringSchedulesInput struct {
33795	_ struct{} `type:"structure"`
33796
33797	// A filter that returns only monitoring schedules created after a specified
33798	// time.
33799	CreationTimeAfter *time.Time `type:"timestamp"`
33800
33801	// A filter that returns only monitoring schedules created before a specified
33802	// time.
33803	CreationTimeBefore *time.Time `type:"timestamp"`
33804
33805	// Name of a specific endpoint to fetch schedules for.
33806	EndpointName *string `type:"string"`
33807
33808	// A filter that returns only monitoring schedules modified after a specified
33809	// time.
33810	LastModifiedTimeAfter *time.Time `type:"timestamp"`
33811
33812	// A filter that returns only monitoring schedules modified before a specified
33813	// time.
33814	LastModifiedTimeBefore *time.Time `type:"timestamp"`
33815
33816	// The maximum number of jobs to return in the response. The default value is
33817	// 10.
33818	MaxResults *int64 `min:"1" type:"integer"`
33819
33820	// Filter for monitoring schedules whose name contains a specified string.
33821	NameContains *string `type:"string"`
33822
33823	// The token returned if the response is truncated. To retrieve the next set
33824	// of job executions, use it in the next request.
33825	NextToken *string `type:"string"`
33826
33827	// Whether to sort results by Status, CreationTime, ScheduledTime field. The
33828	// default is CreationTime.
33829	SortBy *string `type:"string" enum:"MonitoringScheduleSortKey"`
33830
33831	// Whether to sort the results in Ascending or Descending order. The default
33832	// is Descending.
33833	SortOrder *string `type:"string" enum:"SortOrder"`
33834
33835	// A filter that returns only monitoring schedules modified before a specified
33836	// time.
33837	StatusEquals *string `type:"string" enum:"ScheduleStatus"`
33838}
33839
33840// String returns the string representation
33841func (s ListMonitoringSchedulesInput) String() string {
33842	return awsutil.Prettify(s)
33843}
33844
33845// GoString returns the string representation
33846func (s ListMonitoringSchedulesInput) GoString() string {
33847	return s.String()
33848}
33849
33850// Validate inspects the fields of the type to determine if they are valid.
33851func (s *ListMonitoringSchedulesInput) Validate() error {
33852	invalidParams := request.ErrInvalidParams{Context: "ListMonitoringSchedulesInput"}
33853	if s.MaxResults != nil && *s.MaxResults < 1 {
33854		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
33855	}
33856
33857	if invalidParams.Len() > 0 {
33858		return invalidParams
33859	}
33860	return nil
33861}
33862
33863// SetCreationTimeAfter sets the CreationTimeAfter field's value.
33864func (s *ListMonitoringSchedulesInput) SetCreationTimeAfter(v time.Time) *ListMonitoringSchedulesInput {
33865	s.CreationTimeAfter = &v
33866	return s
33867}
33868
33869// SetCreationTimeBefore sets the CreationTimeBefore field's value.
33870func (s *ListMonitoringSchedulesInput) SetCreationTimeBefore(v time.Time) *ListMonitoringSchedulesInput {
33871	s.CreationTimeBefore = &v
33872	return s
33873}
33874
33875// SetEndpointName sets the EndpointName field's value.
33876func (s *ListMonitoringSchedulesInput) SetEndpointName(v string) *ListMonitoringSchedulesInput {
33877	s.EndpointName = &v
33878	return s
33879}
33880
33881// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
33882func (s *ListMonitoringSchedulesInput) SetLastModifiedTimeAfter(v time.Time) *ListMonitoringSchedulesInput {
33883	s.LastModifiedTimeAfter = &v
33884	return s
33885}
33886
33887// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
33888func (s *ListMonitoringSchedulesInput) SetLastModifiedTimeBefore(v time.Time) *ListMonitoringSchedulesInput {
33889	s.LastModifiedTimeBefore = &v
33890	return s
33891}
33892
33893// SetMaxResults sets the MaxResults field's value.
33894func (s *ListMonitoringSchedulesInput) SetMaxResults(v int64) *ListMonitoringSchedulesInput {
33895	s.MaxResults = &v
33896	return s
33897}
33898
33899// SetNameContains sets the NameContains field's value.
33900func (s *ListMonitoringSchedulesInput) SetNameContains(v string) *ListMonitoringSchedulesInput {
33901	s.NameContains = &v
33902	return s
33903}
33904
33905// SetNextToken sets the NextToken field's value.
33906func (s *ListMonitoringSchedulesInput) SetNextToken(v string) *ListMonitoringSchedulesInput {
33907	s.NextToken = &v
33908	return s
33909}
33910
33911// SetSortBy sets the SortBy field's value.
33912func (s *ListMonitoringSchedulesInput) SetSortBy(v string) *ListMonitoringSchedulesInput {
33913	s.SortBy = &v
33914	return s
33915}
33916
33917// SetSortOrder sets the SortOrder field's value.
33918func (s *ListMonitoringSchedulesInput) SetSortOrder(v string) *ListMonitoringSchedulesInput {
33919	s.SortOrder = &v
33920	return s
33921}
33922
33923// SetStatusEquals sets the StatusEquals field's value.
33924func (s *ListMonitoringSchedulesInput) SetStatusEquals(v string) *ListMonitoringSchedulesInput {
33925	s.StatusEquals = &v
33926	return s
33927}
33928
33929type ListMonitoringSchedulesOutput struct {
33930	_ struct{} `type:"structure"`
33931
33932	// A JSON array in which each element is a summary for a monitoring schedule.
33933	//
33934	// MonitoringScheduleSummaries is a required field
33935	MonitoringScheduleSummaries []*MonitoringScheduleSummary `type:"list" required:"true"`
33936
33937	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
33938	// the next set of jobs, use it in the subsequent reques
33939	NextToken *string `type:"string"`
33940}
33941
33942// String returns the string representation
33943func (s ListMonitoringSchedulesOutput) String() string {
33944	return awsutil.Prettify(s)
33945}
33946
33947// GoString returns the string representation
33948func (s ListMonitoringSchedulesOutput) GoString() string {
33949	return s.String()
33950}
33951
33952// SetMonitoringScheduleSummaries sets the MonitoringScheduleSummaries field's value.
33953func (s *ListMonitoringSchedulesOutput) SetMonitoringScheduleSummaries(v []*MonitoringScheduleSummary) *ListMonitoringSchedulesOutput {
33954	s.MonitoringScheduleSummaries = v
33955	return s
33956}
33957
33958// SetNextToken sets the NextToken field's value.
33959func (s *ListMonitoringSchedulesOutput) SetNextToken(v string) *ListMonitoringSchedulesOutput {
33960	s.NextToken = &v
33961	return s
33962}
33963
33964type ListNotebookInstanceLifecycleConfigsInput struct {
33965	_ struct{} `type:"structure"`
33966
33967	// A filter that returns only lifecycle configurations that were created after
33968	// the specified time (timestamp).
33969	CreationTimeAfter *time.Time `type:"timestamp"`
33970
33971	// A filter that returns only lifecycle configurations that were created before
33972	// the specified time (timestamp).
33973	CreationTimeBefore *time.Time `type:"timestamp"`
33974
33975	// A filter that returns only lifecycle configurations that were modified after
33976	// the specified time (timestamp).
33977	LastModifiedTimeAfter *time.Time `type:"timestamp"`
33978
33979	// A filter that returns only lifecycle configurations that were modified before
33980	// the specified time (timestamp).
33981	LastModifiedTimeBefore *time.Time `type:"timestamp"`
33982
33983	// The maximum number of lifecycle configurations to return in the response.
33984	MaxResults *int64 `min:"1" type:"integer"`
33985
33986	// A string in the lifecycle configuration name. This filter returns only lifecycle
33987	// configurations whose name contains the specified string.
33988	NameContains *string `type:"string"`
33989
33990	// If the result of a ListNotebookInstanceLifecycleConfigs request was truncated,
33991	// the response includes a NextToken. To get the next set of lifecycle configurations,
33992	// use the token in the next request.
33993	NextToken *string `type:"string"`
33994
33995	// Sorts the list of results. The default is CreationTime.
33996	SortBy *string `type:"string" enum:"NotebookInstanceLifecycleConfigSortKey"`
33997
33998	// The sort order for results.
33999	SortOrder *string `type:"string" enum:"NotebookInstanceLifecycleConfigSortOrder"`
34000}
34001
34002// String returns the string representation
34003func (s ListNotebookInstanceLifecycleConfigsInput) String() string {
34004	return awsutil.Prettify(s)
34005}
34006
34007// GoString returns the string representation
34008func (s ListNotebookInstanceLifecycleConfigsInput) GoString() string {
34009	return s.String()
34010}
34011
34012// Validate inspects the fields of the type to determine if they are valid.
34013func (s *ListNotebookInstanceLifecycleConfigsInput) Validate() error {
34014	invalidParams := request.ErrInvalidParams{Context: "ListNotebookInstanceLifecycleConfigsInput"}
34015	if s.MaxResults != nil && *s.MaxResults < 1 {
34016		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
34017	}
34018
34019	if invalidParams.Len() > 0 {
34020		return invalidParams
34021	}
34022	return nil
34023}
34024
34025// SetCreationTimeAfter sets the CreationTimeAfter field's value.
34026func (s *ListNotebookInstanceLifecycleConfigsInput) SetCreationTimeAfter(v time.Time) *ListNotebookInstanceLifecycleConfigsInput {
34027	s.CreationTimeAfter = &v
34028	return s
34029}
34030
34031// SetCreationTimeBefore sets the CreationTimeBefore field's value.
34032func (s *ListNotebookInstanceLifecycleConfigsInput) SetCreationTimeBefore(v time.Time) *ListNotebookInstanceLifecycleConfigsInput {
34033	s.CreationTimeBefore = &v
34034	return s
34035}
34036
34037// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
34038func (s *ListNotebookInstanceLifecycleConfigsInput) SetLastModifiedTimeAfter(v time.Time) *ListNotebookInstanceLifecycleConfigsInput {
34039	s.LastModifiedTimeAfter = &v
34040	return s
34041}
34042
34043// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
34044func (s *ListNotebookInstanceLifecycleConfigsInput) SetLastModifiedTimeBefore(v time.Time) *ListNotebookInstanceLifecycleConfigsInput {
34045	s.LastModifiedTimeBefore = &v
34046	return s
34047}
34048
34049// SetMaxResults sets the MaxResults field's value.
34050func (s *ListNotebookInstanceLifecycleConfigsInput) SetMaxResults(v int64) *ListNotebookInstanceLifecycleConfigsInput {
34051	s.MaxResults = &v
34052	return s
34053}
34054
34055// SetNameContains sets the NameContains field's value.
34056func (s *ListNotebookInstanceLifecycleConfigsInput) SetNameContains(v string) *ListNotebookInstanceLifecycleConfigsInput {
34057	s.NameContains = &v
34058	return s
34059}
34060
34061// SetNextToken sets the NextToken field's value.
34062func (s *ListNotebookInstanceLifecycleConfigsInput) SetNextToken(v string) *ListNotebookInstanceLifecycleConfigsInput {
34063	s.NextToken = &v
34064	return s
34065}
34066
34067// SetSortBy sets the SortBy field's value.
34068func (s *ListNotebookInstanceLifecycleConfigsInput) SetSortBy(v string) *ListNotebookInstanceLifecycleConfigsInput {
34069	s.SortBy = &v
34070	return s
34071}
34072
34073// SetSortOrder sets the SortOrder field's value.
34074func (s *ListNotebookInstanceLifecycleConfigsInput) SetSortOrder(v string) *ListNotebookInstanceLifecycleConfigsInput {
34075	s.SortOrder = &v
34076	return s
34077}
34078
34079type ListNotebookInstanceLifecycleConfigsOutput struct {
34080	_ struct{} `type:"structure"`
34081
34082	// If the response is truncated, Amazon SageMaker returns this token. To get
34083	// the next set of lifecycle configurations, use it in the next request.
34084	NextToken *string `type:"string"`
34085
34086	// An array of NotebookInstanceLifecycleConfiguration objects, each listing
34087	// a lifecycle configuration.
34088	NotebookInstanceLifecycleConfigs []*NotebookInstanceLifecycleConfigSummary `type:"list"`
34089}
34090
34091// String returns the string representation
34092func (s ListNotebookInstanceLifecycleConfigsOutput) String() string {
34093	return awsutil.Prettify(s)
34094}
34095
34096// GoString returns the string representation
34097func (s ListNotebookInstanceLifecycleConfigsOutput) GoString() string {
34098	return s.String()
34099}
34100
34101// SetNextToken sets the NextToken field's value.
34102func (s *ListNotebookInstanceLifecycleConfigsOutput) SetNextToken(v string) *ListNotebookInstanceLifecycleConfigsOutput {
34103	s.NextToken = &v
34104	return s
34105}
34106
34107// SetNotebookInstanceLifecycleConfigs sets the NotebookInstanceLifecycleConfigs field's value.
34108func (s *ListNotebookInstanceLifecycleConfigsOutput) SetNotebookInstanceLifecycleConfigs(v []*NotebookInstanceLifecycleConfigSummary) *ListNotebookInstanceLifecycleConfigsOutput {
34109	s.NotebookInstanceLifecycleConfigs = v
34110	return s
34111}
34112
34113type ListNotebookInstancesInput struct {
34114	_ struct{} `type:"structure"`
34115
34116	// A filter that returns only notebook instances with associated with the specified
34117	// git repository.
34118	AdditionalCodeRepositoryEquals *string `min:"1" type:"string"`
34119
34120	// A filter that returns only notebook instances that were created after the
34121	// specified time (timestamp).
34122	CreationTimeAfter *time.Time `type:"timestamp"`
34123
34124	// A filter that returns only notebook instances that were created before the
34125	// specified time (timestamp).
34126	CreationTimeBefore *time.Time `type:"timestamp"`
34127
34128	// A string in the name or URL of a Git repository associated with this notebook
34129	// instance. This filter returns only notebook instances associated with a git
34130	// repository with a name that contains the specified string.
34131	DefaultCodeRepositoryContains *string `type:"string"`
34132
34133	// A filter that returns only notebook instances that were modified after the
34134	// specified time (timestamp).
34135	LastModifiedTimeAfter *time.Time `type:"timestamp"`
34136
34137	// A filter that returns only notebook instances that were modified before the
34138	// specified time (timestamp).
34139	LastModifiedTimeBefore *time.Time `type:"timestamp"`
34140
34141	// The maximum number of notebook instances to return.
34142	MaxResults *int64 `min:"1" type:"integer"`
34143
34144	// A string in the notebook instances' name. This filter returns only notebook
34145	// instances whose name contains the specified string.
34146	NameContains *string `type:"string"`
34147
34148	// If the previous call to the ListNotebookInstances is truncated, the response
34149	// includes a NextToken. You can use this token in your subsequent ListNotebookInstances
34150	// request to fetch the next set of notebook instances.
34151	//
34152	// You might specify a filter or a sort order in your request. When response
34153	// is truncated, you must use the same values for the filer and sort order in
34154	// the next request.
34155	NextToken *string `type:"string"`
34156
34157	// A string in the name of a notebook instances lifecycle configuration associated
34158	// with this notebook instance. This filter returns only notebook instances
34159	// associated with a lifecycle configuration with a name that contains the specified
34160	// string.
34161	NotebookInstanceLifecycleConfigNameContains *string `type:"string"`
34162
34163	// The field to sort results by. The default is Name.
34164	SortBy *string `type:"string" enum:"NotebookInstanceSortKey"`
34165
34166	// The sort order for results.
34167	SortOrder *string `type:"string" enum:"NotebookInstanceSortOrder"`
34168
34169	// A filter that returns only notebook instances with the specified status.
34170	StatusEquals *string `type:"string" enum:"NotebookInstanceStatus"`
34171}
34172
34173// String returns the string representation
34174func (s ListNotebookInstancesInput) String() string {
34175	return awsutil.Prettify(s)
34176}
34177
34178// GoString returns the string representation
34179func (s ListNotebookInstancesInput) GoString() string {
34180	return s.String()
34181}
34182
34183// Validate inspects the fields of the type to determine if they are valid.
34184func (s *ListNotebookInstancesInput) Validate() error {
34185	invalidParams := request.ErrInvalidParams{Context: "ListNotebookInstancesInput"}
34186	if s.AdditionalCodeRepositoryEquals != nil && len(*s.AdditionalCodeRepositoryEquals) < 1 {
34187		invalidParams.Add(request.NewErrParamMinLen("AdditionalCodeRepositoryEquals", 1))
34188	}
34189	if s.MaxResults != nil && *s.MaxResults < 1 {
34190		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
34191	}
34192
34193	if invalidParams.Len() > 0 {
34194		return invalidParams
34195	}
34196	return nil
34197}
34198
34199// SetAdditionalCodeRepositoryEquals sets the AdditionalCodeRepositoryEquals field's value.
34200func (s *ListNotebookInstancesInput) SetAdditionalCodeRepositoryEquals(v string) *ListNotebookInstancesInput {
34201	s.AdditionalCodeRepositoryEquals = &v
34202	return s
34203}
34204
34205// SetCreationTimeAfter sets the CreationTimeAfter field's value.
34206func (s *ListNotebookInstancesInput) SetCreationTimeAfter(v time.Time) *ListNotebookInstancesInput {
34207	s.CreationTimeAfter = &v
34208	return s
34209}
34210
34211// SetCreationTimeBefore sets the CreationTimeBefore field's value.
34212func (s *ListNotebookInstancesInput) SetCreationTimeBefore(v time.Time) *ListNotebookInstancesInput {
34213	s.CreationTimeBefore = &v
34214	return s
34215}
34216
34217// SetDefaultCodeRepositoryContains sets the DefaultCodeRepositoryContains field's value.
34218func (s *ListNotebookInstancesInput) SetDefaultCodeRepositoryContains(v string) *ListNotebookInstancesInput {
34219	s.DefaultCodeRepositoryContains = &v
34220	return s
34221}
34222
34223// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
34224func (s *ListNotebookInstancesInput) SetLastModifiedTimeAfter(v time.Time) *ListNotebookInstancesInput {
34225	s.LastModifiedTimeAfter = &v
34226	return s
34227}
34228
34229// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
34230func (s *ListNotebookInstancesInput) SetLastModifiedTimeBefore(v time.Time) *ListNotebookInstancesInput {
34231	s.LastModifiedTimeBefore = &v
34232	return s
34233}
34234
34235// SetMaxResults sets the MaxResults field's value.
34236func (s *ListNotebookInstancesInput) SetMaxResults(v int64) *ListNotebookInstancesInput {
34237	s.MaxResults = &v
34238	return s
34239}
34240
34241// SetNameContains sets the NameContains field's value.
34242func (s *ListNotebookInstancesInput) SetNameContains(v string) *ListNotebookInstancesInput {
34243	s.NameContains = &v
34244	return s
34245}
34246
34247// SetNextToken sets the NextToken field's value.
34248func (s *ListNotebookInstancesInput) SetNextToken(v string) *ListNotebookInstancesInput {
34249	s.NextToken = &v
34250	return s
34251}
34252
34253// SetNotebookInstanceLifecycleConfigNameContains sets the NotebookInstanceLifecycleConfigNameContains field's value.
34254func (s *ListNotebookInstancesInput) SetNotebookInstanceLifecycleConfigNameContains(v string) *ListNotebookInstancesInput {
34255	s.NotebookInstanceLifecycleConfigNameContains = &v
34256	return s
34257}
34258
34259// SetSortBy sets the SortBy field's value.
34260func (s *ListNotebookInstancesInput) SetSortBy(v string) *ListNotebookInstancesInput {
34261	s.SortBy = &v
34262	return s
34263}
34264
34265// SetSortOrder sets the SortOrder field's value.
34266func (s *ListNotebookInstancesInput) SetSortOrder(v string) *ListNotebookInstancesInput {
34267	s.SortOrder = &v
34268	return s
34269}
34270
34271// SetStatusEquals sets the StatusEquals field's value.
34272func (s *ListNotebookInstancesInput) SetStatusEquals(v string) *ListNotebookInstancesInput {
34273	s.StatusEquals = &v
34274	return s
34275}
34276
34277type ListNotebookInstancesOutput struct {
34278	_ struct{} `type:"structure"`
34279
34280	// If the response to the previous ListNotebookInstances request was truncated,
34281	// Amazon SageMaker returns this token. To retrieve the next set of notebook
34282	// instances, use the token in the next request.
34283	NextToken *string `type:"string"`
34284
34285	// An array of NotebookInstanceSummary objects, one for each notebook instance.
34286	NotebookInstances []*NotebookInstanceSummary `type:"list"`
34287}
34288
34289// String returns the string representation
34290func (s ListNotebookInstancesOutput) String() string {
34291	return awsutil.Prettify(s)
34292}
34293
34294// GoString returns the string representation
34295func (s ListNotebookInstancesOutput) GoString() string {
34296	return s.String()
34297}
34298
34299// SetNextToken sets the NextToken field's value.
34300func (s *ListNotebookInstancesOutput) SetNextToken(v string) *ListNotebookInstancesOutput {
34301	s.NextToken = &v
34302	return s
34303}
34304
34305// SetNotebookInstances sets the NotebookInstances field's value.
34306func (s *ListNotebookInstancesOutput) SetNotebookInstances(v []*NotebookInstanceSummary) *ListNotebookInstancesOutput {
34307	s.NotebookInstances = v
34308	return s
34309}
34310
34311type ListProcessingJobsInput struct {
34312	_ struct{} `type:"structure"`
34313
34314	// A filter that returns only processing jobs created after the specified time.
34315	CreationTimeAfter *time.Time `type:"timestamp"`
34316
34317	// A filter that returns only processing jobs created after the specified time.
34318	CreationTimeBefore *time.Time `type:"timestamp"`
34319
34320	// A filter that returns only processing jobs modified after the specified time.
34321	LastModifiedTimeAfter *time.Time `type:"timestamp"`
34322
34323	// A filter that returns only processing jobs modified before the specified
34324	// time.
34325	LastModifiedTimeBefore *time.Time `type:"timestamp"`
34326
34327	// The maximum number of processing jobs to return in the response.
34328	MaxResults *int64 `min:"1" type:"integer"`
34329
34330	// A string in the processing job name. This filter returns only processing
34331	// jobs whose name contains the specified string.
34332	NameContains *string `type:"string"`
34333
34334	// If the result of the previous ListProcessingJobs request was truncated, the
34335	// response includes a NextToken. To retrieve the next set of processing jobs,
34336	// use the token in the next request.
34337	NextToken *string `type:"string"`
34338
34339	// The field to sort results by. The default is CreationTime.
34340	SortBy *string `type:"string" enum:"SortBy"`
34341
34342	// The sort order for results. The default is Ascending.
34343	SortOrder *string `type:"string" enum:"SortOrder"`
34344
34345	// A filter that retrieves only processing jobs with a specific status.
34346	StatusEquals *string `type:"string" enum:"ProcessingJobStatus"`
34347}
34348
34349// String returns the string representation
34350func (s ListProcessingJobsInput) String() string {
34351	return awsutil.Prettify(s)
34352}
34353
34354// GoString returns the string representation
34355func (s ListProcessingJobsInput) GoString() string {
34356	return s.String()
34357}
34358
34359// Validate inspects the fields of the type to determine if they are valid.
34360func (s *ListProcessingJobsInput) Validate() error {
34361	invalidParams := request.ErrInvalidParams{Context: "ListProcessingJobsInput"}
34362	if s.MaxResults != nil && *s.MaxResults < 1 {
34363		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
34364	}
34365
34366	if invalidParams.Len() > 0 {
34367		return invalidParams
34368	}
34369	return nil
34370}
34371
34372// SetCreationTimeAfter sets the CreationTimeAfter field's value.
34373func (s *ListProcessingJobsInput) SetCreationTimeAfter(v time.Time) *ListProcessingJobsInput {
34374	s.CreationTimeAfter = &v
34375	return s
34376}
34377
34378// SetCreationTimeBefore sets the CreationTimeBefore field's value.
34379func (s *ListProcessingJobsInput) SetCreationTimeBefore(v time.Time) *ListProcessingJobsInput {
34380	s.CreationTimeBefore = &v
34381	return s
34382}
34383
34384// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
34385func (s *ListProcessingJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListProcessingJobsInput {
34386	s.LastModifiedTimeAfter = &v
34387	return s
34388}
34389
34390// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
34391func (s *ListProcessingJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListProcessingJobsInput {
34392	s.LastModifiedTimeBefore = &v
34393	return s
34394}
34395
34396// SetMaxResults sets the MaxResults field's value.
34397func (s *ListProcessingJobsInput) SetMaxResults(v int64) *ListProcessingJobsInput {
34398	s.MaxResults = &v
34399	return s
34400}
34401
34402// SetNameContains sets the NameContains field's value.
34403func (s *ListProcessingJobsInput) SetNameContains(v string) *ListProcessingJobsInput {
34404	s.NameContains = &v
34405	return s
34406}
34407
34408// SetNextToken sets the NextToken field's value.
34409func (s *ListProcessingJobsInput) SetNextToken(v string) *ListProcessingJobsInput {
34410	s.NextToken = &v
34411	return s
34412}
34413
34414// SetSortBy sets the SortBy field's value.
34415func (s *ListProcessingJobsInput) SetSortBy(v string) *ListProcessingJobsInput {
34416	s.SortBy = &v
34417	return s
34418}
34419
34420// SetSortOrder sets the SortOrder field's value.
34421func (s *ListProcessingJobsInput) SetSortOrder(v string) *ListProcessingJobsInput {
34422	s.SortOrder = &v
34423	return s
34424}
34425
34426// SetStatusEquals sets the StatusEquals field's value.
34427func (s *ListProcessingJobsInput) SetStatusEquals(v string) *ListProcessingJobsInput {
34428	s.StatusEquals = &v
34429	return s
34430}
34431
34432type ListProcessingJobsOutput struct {
34433	_ struct{} `type:"structure"`
34434
34435	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
34436	// the next set of processing jobs, use it in the subsequent request.
34437	NextToken *string `type:"string"`
34438
34439	// An array of ProcessingJobSummary objects, each listing a processing job.
34440	//
34441	// ProcessingJobSummaries is a required field
34442	ProcessingJobSummaries []*ProcessingJobSummary `type:"list" required:"true"`
34443}
34444
34445// String returns the string representation
34446func (s ListProcessingJobsOutput) String() string {
34447	return awsutil.Prettify(s)
34448}
34449
34450// GoString returns the string representation
34451func (s ListProcessingJobsOutput) GoString() string {
34452	return s.String()
34453}
34454
34455// SetNextToken sets the NextToken field's value.
34456func (s *ListProcessingJobsOutput) SetNextToken(v string) *ListProcessingJobsOutput {
34457	s.NextToken = &v
34458	return s
34459}
34460
34461// SetProcessingJobSummaries sets the ProcessingJobSummaries field's value.
34462func (s *ListProcessingJobsOutput) SetProcessingJobSummaries(v []*ProcessingJobSummary) *ListProcessingJobsOutput {
34463	s.ProcessingJobSummaries = v
34464	return s
34465}
34466
34467type ListSubscribedWorkteamsInput struct {
34468	_ struct{} `type:"structure"`
34469
34470	// The maximum number of work teams to return in each page of the response.
34471	MaxResults *int64 `min:"1" type:"integer"`
34472
34473	// A string in the work team name. This filter returns only work teams whose
34474	// name contains the specified string.
34475	NameContains *string `min:"1" type:"string"`
34476
34477	// If the result of the previous ListSubscribedWorkteams request was truncated,
34478	// the response includes a NextToken. To retrieve the next set of labeling jobs,
34479	// use the token in the next request.
34480	NextToken *string `type:"string"`
34481}
34482
34483// String returns the string representation
34484func (s ListSubscribedWorkteamsInput) String() string {
34485	return awsutil.Prettify(s)
34486}
34487
34488// GoString returns the string representation
34489func (s ListSubscribedWorkteamsInput) GoString() string {
34490	return s.String()
34491}
34492
34493// Validate inspects the fields of the type to determine if they are valid.
34494func (s *ListSubscribedWorkteamsInput) Validate() error {
34495	invalidParams := request.ErrInvalidParams{Context: "ListSubscribedWorkteamsInput"}
34496	if s.MaxResults != nil && *s.MaxResults < 1 {
34497		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
34498	}
34499	if s.NameContains != nil && len(*s.NameContains) < 1 {
34500		invalidParams.Add(request.NewErrParamMinLen("NameContains", 1))
34501	}
34502
34503	if invalidParams.Len() > 0 {
34504		return invalidParams
34505	}
34506	return nil
34507}
34508
34509// SetMaxResults sets the MaxResults field's value.
34510func (s *ListSubscribedWorkteamsInput) SetMaxResults(v int64) *ListSubscribedWorkteamsInput {
34511	s.MaxResults = &v
34512	return s
34513}
34514
34515// SetNameContains sets the NameContains field's value.
34516func (s *ListSubscribedWorkteamsInput) SetNameContains(v string) *ListSubscribedWorkteamsInput {
34517	s.NameContains = &v
34518	return s
34519}
34520
34521// SetNextToken sets the NextToken field's value.
34522func (s *ListSubscribedWorkteamsInput) SetNextToken(v string) *ListSubscribedWorkteamsInput {
34523	s.NextToken = &v
34524	return s
34525}
34526
34527type ListSubscribedWorkteamsOutput struct {
34528	_ struct{} `type:"structure"`
34529
34530	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
34531	// the next set of work teams, use it in the subsequent request.
34532	NextToken *string `type:"string"`
34533
34534	// An array of Workteam objects, each describing a work team.
34535	//
34536	// SubscribedWorkteams is a required field
34537	SubscribedWorkteams []*SubscribedWorkteam `type:"list" required:"true"`
34538}
34539
34540// String returns the string representation
34541func (s ListSubscribedWorkteamsOutput) String() string {
34542	return awsutil.Prettify(s)
34543}
34544
34545// GoString returns the string representation
34546func (s ListSubscribedWorkteamsOutput) GoString() string {
34547	return s.String()
34548}
34549
34550// SetNextToken sets the NextToken field's value.
34551func (s *ListSubscribedWorkteamsOutput) SetNextToken(v string) *ListSubscribedWorkteamsOutput {
34552	s.NextToken = &v
34553	return s
34554}
34555
34556// SetSubscribedWorkteams sets the SubscribedWorkteams field's value.
34557func (s *ListSubscribedWorkteamsOutput) SetSubscribedWorkteams(v []*SubscribedWorkteam) *ListSubscribedWorkteamsOutput {
34558	s.SubscribedWorkteams = v
34559	return s
34560}
34561
34562type ListTagsInput struct {
34563	_ struct{} `type:"structure"`
34564
34565	// Maximum number of tags to return.
34566	MaxResults *int64 `min:"50" type:"integer"`
34567
34568	// If the response to the previous ListTags request is truncated, Amazon SageMaker
34569	// returns this token. To retrieve the next set of tags, use it in the subsequent
34570	// request.
34571	NextToken *string `type:"string"`
34572
34573	// The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve.
34574	//
34575	// ResourceArn is a required field
34576	ResourceArn *string `type:"string" required:"true"`
34577}
34578
34579// String returns the string representation
34580func (s ListTagsInput) String() string {
34581	return awsutil.Prettify(s)
34582}
34583
34584// GoString returns the string representation
34585func (s ListTagsInput) GoString() string {
34586	return s.String()
34587}
34588
34589// Validate inspects the fields of the type to determine if they are valid.
34590func (s *ListTagsInput) Validate() error {
34591	invalidParams := request.ErrInvalidParams{Context: "ListTagsInput"}
34592	if s.MaxResults != nil && *s.MaxResults < 50 {
34593		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 50))
34594	}
34595	if s.ResourceArn == nil {
34596		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
34597	}
34598
34599	if invalidParams.Len() > 0 {
34600		return invalidParams
34601	}
34602	return nil
34603}
34604
34605// SetMaxResults sets the MaxResults field's value.
34606func (s *ListTagsInput) SetMaxResults(v int64) *ListTagsInput {
34607	s.MaxResults = &v
34608	return s
34609}
34610
34611// SetNextToken sets the NextToken field's value.
34612func (s *ListTagsInput) SetNextToken(v string) *ListTagsInput {
34613	s.NextToken = &v
34614	return s
34615}
34616
34617// SetResourceArn sets the ResourceArn field's value.
34618func (s *ListTagsInput) SetResourceArn(v string) *ListTagsInput {
34619	s.ResourceArn = &v
34620	return s
34621}
34622
34623type ListTagsOutput struct {
34624	_ struct{} `type:"structure"`
34625
34626	// If response is truncated, Amazon SageMaker includes a token in the response.
34627	// You can use this token in your subsequent request to fetch next set of tokens.
34628	NextToken *string `type:"string"`
34629
34630	// An array of Tag objects, each with a tag key and a value.
34631	Tags []*Tag `type:"list"`
34632}
34633
34634// String returns the string representation
34635func (s ListTagsOutput) String() string {
34636	return awsutil.Prettify(s)
34637}
34638
34639// GoString returns the string representation
34640func (s ListTagsOutput) GoString() string {
34641	return s.String()
34642}
34643
34644// SetNextToken sets the NextToken field's value.
34645func (s *ListTagsOutput) SetNextToken(v string) *ListTagsOutput {
34646	s.NextToken = &v
34647	return s
34648}
34649
34650// SetTags sets the Tags field's value.
34651func (s *ListTagsOutput) SetTags(v []*Tag) *ListTagsOutput {
34652	s.Tags = v
34653	return s
34654}
34655
34656type ListTrainingJobsForHyperParameterTuningJobInput struct {
34657	_ struct{} `type:"structure"`
34658
34659	// The name of the tuning job whose training jobs you want to list.
34660	//
34661	// HyperParameterTuningJobName is a required field
34662	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
34663
34664	// The maximum number of training jobs to return. The default value is 10.
34665	MaxResults *int64 `min:"1" type:"integer"`
34666
34667	// If the result of the previous ListTrainingJobsForHyperParameterTuningJob
34668	// request was truncated, the response includes a NextToken. To retrieve the
34669	// next set of training jobs, use the token in the next request.
34670	NextToken *string `type:"string"`
34671
34672	// The field to sort results by. The default is Name.
34673	//
34674	// If the value of this field is FinalObjectiveMetricValue, any training jobs
34675	// that did not return an objective metric are not listed.
34676	SortBy *string `type:"string" enum:"TrainingJobSortByOptions"`
34677
34678	// The sort order for results. The default is Ascending.
34679	SortOrder *string `type:"string" enum:"SortOrder"`
34680
34681	// A filter that returns only training jobs with the specified status.
34682	StatusEquals *string `type:"string" enum:"TrainingJobStatus"`
34683}
34684
34685// String returns the string representation
34686func (s ListTrainingJobsForHyperParameterTuningJobInput) String() string {
34687	return awsutil.Prettify(s)
34688}
34689
34690// GoString returns the string representation
34691func (s ListTrainingJobsForHyperParameterTuningJobInput) GoString() string {
34692	return s.String()
34693}
34694
34695// Validate inspects the fields of the type to determine if they are valid.
34696func (s *ListTrainingJobsForHyperParameterTuningJobInput) Validate() error {
34697	invalidParams := request.ErrInvalidParams{Context: "ListTrainingJobsForHyperParameterTuningJobInput"}
34698	if s.HyperParameterTuningJobName == nil {
34699		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobName"))
34700	}
34701	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
34702		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
34703	}
34704	if s.MaxResults != nil && *s.MaxResults < 1 {
34705		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
34706	}
34707
34708	if invalidParams.Len() > 0 {
34709		return invalidParams
34710	}
34711	return nil
34712}
34713
34714// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
34715func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetHyperParameterTuningJobName(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
34716	s.HyperParameterTuningJobName = &v
34717	return s
34718}
34719
34720// SetMaxResults sets the MaxResults field's value.
34721func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetMaxResults(v int64) *ListTrainingJobsForHyperParameterTuningJobInput {
34722	s.MaxResults = &v
34723	return s
34724}
34725
34726// SetNextToken sets the NextToken field's value.
34727func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetNextToken(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
34728	s.NextToken = &v
34729	return s
34730}
34731
34732// SetSortBy sets the SortBy field's value.
34733func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetSortBy(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
34734	s.SortBy = &v
34735	return s
34736}
34737
34738// SetSortOrder sets the SortOrder field's value.
34739func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetSortOrder(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
34740	s.SortOrder = &v
34741	return s
34742}
34743
34744// SetStatusEquals sets the StatusEquals field's value.
34745func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetStatusEquals(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
34746	s.StatusEquals = &v
34747	return s
34748}
34749
34750type ListTrainingJobsForHyperParameterTuningJobOutput struct {
34751	_ struct{} `type:"structure"`
34752
34753	// If the result of this ListTrainingJobsForHyperParameterTuningJob request
34754	// was truncated, the response includes a NextToken. To retrieve the next set
34755	// of training jobs, use the token in the next request.
34756	NextToken *string `type:"string"`
34757
34758	// A list of TrainingJobSummary objects that describe the training jobs that
34759	// the ListTrainingJobsForHyperParameterTuningJob request returned.
34760	//
34761	// TrainingJobSummaries is a required field
34762	TrainingJobSummaries []*HyperParameterTrainingJobSummary `type:"list" required:"true"`
34763}
34764
34765// String returns the string representation
34766func (s ListTrainingJobsForHyperParameterTuningJobOutput) String() string {
34767	return awsutil.Prettify(s)
34768}
34769
34770// GoString returns the string representation
34771func (s ListTrainingJobsForHyperParameterTuningJobOutput) GoString() string {
34772	return s.String()
34773}
34774
34775// SetNextToken sets the NextToken field's value.
34776func (s *ListTrainingJobsForHyperParameterTuningJobOutput) SetNextToken(v string) *ListTrainingJobsForHyperParameterTuningJobOutput {
34777	s.NextToken = &v
34778	return s
34779}
34780
34781// SetTrainingJobSummaries sets the TrainingJobSummaries field's value.
34782func (s *ListTrainingJobsForHyperParameterTuningJobOutput) SetTrainingJobSummaries(v []*HyperParameterTrainingJobSummary) *ListTrainingJobsForHyperParameterTuningJobOutput {
34783	s.TrainingJobSummaries = v
34784	return s
34785}
34786
34787type ListTrainingJobsInput struct {
34788	_ struct{} `type:"structure"`
34789
34790	// A filter that returns only training jobs created after the specified time
34791	// (timestamp).
34792	CreationTimeAfter *time.Time `type:"timestamp"`
34793
34794	// A filter that returns only training jobs created before the specified time
34795	// (timestamp).
34796	CreationTimeBefore *time.Time `type:"timestamp"`
34797
34798	// A filter that returns only training jobs modified after the specified time
34799	// (timestamp).
34800	LastModifiedTimeAfter *time.Time `type:"timestamp"`
34801
34802	// A filter that returns only training jobs modified before the specified time
34803	// (timestamp).
34804	LastModifiedTimeBefore *time.Time `type:"timestamp"`
34805
34806	// The maximum number of training jobs to return in the response.
34807	MaxResults *int64 `min:"1" type:"integer"`
34808
34809	// A string in the training job name. This filter returns only training jobs
34810	// whose name contains the specified string.
34811	NameContains *string `type:"string"`
34812
34813	// If the result of the previous ListTrainingJobs request was truncated, the
34814	// response includes a NextToken. To retrieve the next set of training jobs,
34815	// use the token in the next request.
34816	NextToken *string `type:"string"`
34817
34818	// The field to sort results by. The default is CreationTime.
34819	SortBy *string `type:"string" enum:"SortBy"`
34820
34821	// The sort order for results. The default is Ascending.
34822	SortOrder *string `type:"string" enum:"SortOrder"`
34823
34824	// A filter that retrieves only training jobs with a specific status.
34825	StatusEquals *string `type:"string" enum:"TrainingJobStatus"`
34826}
34827
34828// String returns the string representation
34829func (s ListTrainingJobsInput) String() string {
34830	return awsutil.Prettify(s)
34831}
34832
34833// GoString returns the string representation
34834func (s ListTrainingJobsInput) GoString() string {
34835	return s.String()
34836}
34837
34838// Validate inspects the fields of the type to determine if they are valid.
34839func (s *ListTrainingJobsInput) Validate() error {
34840	invalidParams := request.ErrInvalidParams{Context: "ListTrainingJobsInput"}
34841	if s.MaxResults != nil && *s.MaxResults < 1 {
34842		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
34843	}
34844
34845	if invalidParams.Len() > 0 {
34846		return invalidParams
34847	}
34848	return nil
34849}
34850
34851// SetCreationTimeAfter sets the CreationTimeAfter field's value.
34852func (s *ListTrainingJobsInput) SetCreationTimeAfter(v time.Time) *ListTrainingJobsInput {
34853	s.CreationTimeAfter = &v
34854	return s
34855}
34856
34857// SetCreationTimeBefore sets the CreationTimeBefore field's value.
34858func (s *ListTrainingJobsInput) SetCreationTimeBefore(v time.Time) *ListTrainingJobsInput {
34859	s.CreationTimeBefore = &v
34860	return s
34861}
34862
34863// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
34864func (s *ListTrainingJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListTrainingJobsInput {
34865	s.LastModifiedTimeAfter = &v
34866	return s
34867}
34868
34869// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
34870func (s *ListTrainingJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListTrainingJobsInput {
34871	s.LastModifiedTimeBefore = &v
34872	return s
34873}
34874
34875// SetMaxResults sets the MaxResults field's value.
34876func (s *ListTrainingJobsInput) SetMaxResults(v int64) *ListTrainingJobsInput {
34877	s.MaxResults = &v
34878	return s
34879}
34880
34881// SetNameContains sets the NameContains field's value.
34882func (s *ListTrainingJobsInput) SetNameContains(v string) *ListTrainingJobsInput {
34883	s.NameContains = &v
34884	return s
34885}
34886
34887// SetNextToken sets the NextToken field's value.
34888func (s *ListTrainingJobsInput) SetNextToken(v string) *ListTrainingJobsInput {
34889	s.NextToken = &v
34890	return s
34891}
34892
34893// SetSortBy sets the SortBy field's value.
34894func (s *ListTrainingJobsInput) SetSortBy(v string) *ListTrainingJobsInput {
34895	s.SortBy = &v
34896	return s
34897}
34898
34899// SetSortOrder sets the SortOrder field's value.
34900func (s *ListTrainingJobsInput) SetSortOrder(v string) *ListTrainingJobsInput {
34901	s.SortOrder = &v
34902	return s
34903}
34904
34905// SetStatusEquals sets the StatusEquals field's value.
34906func (s *ListTrainingJobsInput) SetStatusEquals(v string) *ListTrainingJobsInput {
34907	s.StatusEquals = &v
34908	return s
34909}
34910
34911type ListTrainingJobsOutput struct {
34912	_ struct{} `type:"structure"`
34913
34914	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
34915	// the next set of training jobs, use it in the subsequent request.
34916	NextToken *string `type:"string"`
34917
34918	// An array of TrainingJobSummary objects, each listing a training job.
34919	//
34920	// TrainingJobSummaries is a required field
34921	TrainingJobSummaries []*TrainingJobSummary `type:"list" required:"true"`
34922}
34923
34924// String returns the string representation
34925func (s ListTrainingJobsOutput) String() string {
34926	return awsutil.Prettify(s)
34927}
34928
34929// GoString returns the string representation
34930func (s ListTrainingJobsOutput) GoString() string {
34931	return s.String()
34932}
34933
34934// SetNextToken sets the NextToken field's value.
34935func (s *ListTrainingJobsOutput) SetNextToken(v string) *ListTrainingJobsOutput {
34936	s.NextToken = &v
34937	return s
34938}
34939
34940// SetTrainingJobSummaries sets the TrainingJobSummaries field's value.
34941func (s *ListTrainingJobsOutput) SetTrainingJobSummaries(v []*TrainingJobSummary) *ListTrainingJobsOutput {
34942	s.TrainingJobSummaries = v
34943	return s
34944}
34945
34946type ListTransformJobsInput struct {
34947	_ struct{} `type:"structure"`
34948
34949	// A filter that returns only transform jobs created after the specified time.
34950	CreationTimeAfter *time.Time `type:"timestamp"`
34951
34952	// A filter that returns only transform jobs created before the specified time.
34953	CreationTimeBefore *time.Time `type:"timestamp"`
34954
34955	// A filter that returns only transform jobs modified after the specified time.
34956	LastModifiedTimeAfter *time.Time `type:"timestamp"`
34957
34958	// A filter that returns only transform jobs modified before the specified time.
34959	LastModifiedTimeBefore *time.Time `type:"timestamp"`
34960
34961	// The maximum number of transform jobs to return in the response. The default
34962	// value is 10.
34963	MaxResults *int64 `min:"1" type:"integer"`
34964
34965	// A string in the transform job name. This filter returns only transform jobs
34966	// whose name contains the specified string.
34967	NameContains *string `type:"string"`
34968
34969	// If the result of the previous ListTransformJobs request was truncated, the
34970	// response includes a NextToken. To retrieve the next set of transform jobs,
34971	// use the token in the next request.
34972	NextToken *string `type:"string"`
34973
34974	// The field to sort results by. The default is CreationTime.
34975	SortBy *string `type:"string" enum:"SortBy"`
34976
34977	// The sort order for results. The default is Descending.
34978	SortOrder *string `type:"string" enum:"SortOrder"`
34979
34980	// A filter that retrieves only transform jobs with a specific status.
34981	StatusEquals *string `type:"string" enum:"TransformJobStatus"`
34982}
34983
34984// String returns the string representation
34985func (s ListTransformJobsInput) String() string {
34986	return awsutil.Prettify(s)
34987}
34988
34989// GoString returns the string representation
34990func (s ListTransformJobsInput) GoString() string {
34991	return s.String()
34992}
34993
34994// Validate inspects the fields of the type to determine if they are valid.
34995func (s *ListTransformJobsInput) Validate() error {
34996	invalidParams := request.ErrInvalidParams{Context: "ListTransformJobsInput"}
34997	if s.MaxResults != nil && *s.MaxResults < 1 {
34998		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
34999	}
35000
35001	if invalidParams.Len() > 0 {
35002		return invalidParams
35003	}
35004	return nil
35005}
35006
35007// SetCreationTimeAfter sets the CreationTimeAfter field's value.
35008func (s *ListTransformJobsInput) SetCreationTimeAfter(v time.Time) *ListTransformJobsInput {
35009	s.CreationTimeAfter = &v
35010	return s
35011}
35012
35013// SetCreationTimeBefore sets the CreationTimeBefore field's value.
35014func (s *ListTransformJobsInput) SetCreationTimeBefore(v time.Time) *ListTransformJobsInput {
35015	s.CreationTimeBefore = &v
35016	return s
35017}
35018
35019// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
35020func (s *ListTransformJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListTransformJobsInput {
35021	s.LastModifiedTimeAfter = &v
35022	return s
35023}
35024
35025// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
35026func (s *ListTransformJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListTransformJobsInput {
35027	s.LastModifiedTimeBefore = &v
35028	return s
35029}
35030
35031// SetMaxResults sets the MaxResults field's value.
35032func (s *ListTransformJobsInput) SetMaxResults(v int64) *ListTransformJobsInput {
35033	s.MaxResults = &v
35034	return s
35035}
35036
35037// SetNameContains sets the NameContains field's value.
35038func (s *ListTransformJobsInput) SetNameContains(v string) *ListTransformJobsInput {
35039	s.NameContains = &v
35040	return s
35041}
35042
35043// SetNextToken sets the NextToken field's value.
35044func (s *ListTransformJobsInput) SetNextToken(v string) *ListTransformJobsInput {
35045	s.NextToken = &v
35046	return s
35047}
35048
35049// SetSortBy sets the SortBy field's value.
35050func (s *ListTransformJobsInput) SetSortBy(v string) *ListTransformJobsInput {
35051	s.SortBy = &v
35052	return s
35053}
35054
35055// SetSortOrder sets the SortOrder field's value.
35056func (s *ListTransformJobsInput) SetSortOrder(v string) *ListTransformJobsInput {
35057	s.SortOrder = &v
35058	return s
35059}
35060
35061// SetStatusEquals sets the StatusEquals field's value.
35062func (s *ListTransformJobsInput) SetStatusEquals(v string) *ListTransformJobsInput {
35063	s.StatusEquals = &v
35064	return s
35065}
35066
35067type ListTransformJobsOutput struct {
35068	_ struct{} `type:"structure"`
35069
35070	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
35071	// the next set of transform jobs, use it in the next request.
35072	NextToken *string `type:"string"`
35073
35074	// An array of TransformJobSummary objects.
35075	//
35076	// TransformJobSummaries is a required field
35077	TransformJobSummaries []*TransformJobSummary `type:"list" required:"true"`
35078}
35079
35080// String returns the string representation
35081func (s ListTransformJobsOutput) String() string {
35082	return awsutil.Prettify(s)
35083}
35084
35085// GoString returns the string representation
35086func (s ListTransformJobsOutput) GoString() string {
35087	return s.String()
35088}
35089
35090// SetNextToken sets the NextToken field's value.
35091func (s *ListTransformJobsOutput) SetNextToken(v string) *ListTransformJobsOutput {
35092	s.NextToken = &v
35093	return s
35094}
35095
35096// SetTransformJobSummaries sets the TransformJobSummaries field's value.
35097func (s *ListTransformJobsOutput) SetTransformJobSummaries(v []*TransformJobSummary) *ListTransformJobsOutput {
35098	s.TransformJobSummaries = v
35099	return s
35100}
35101
35102type ListTrialComponentsInput struct {
35103	_ struct{} `type:"structure"`
35104
35105	// A filter that returns only components created after the specified time.
35106	CreatedAfter *time.Time `type:"timestamp"`
35107
35108	// A filter that returns only components created before the specified time.
35109	CreatedBefore *time.Time `type:"timestamp"`
35110
35111	// A filter that returns only components that are part of the specified experiment.
35112	// If you specify ExperimentName, you can't filter by SourceArn or TrialName.
35113	ExperimentName *string `min:"1" type:"string"`
35114
35115	// The maximum number of components to return in the response. The default value
35116	// is 10.
35117	MaxResults *int64 `min:"1" type:"integer"`
35118
35119	// If the previous call to ListTrialComponents didn't return the full set of
35120	// components, the call returns a token for getting the next set of components.
35121	NextToken *string `type:"string"`
35122
35123	// The property used to sort results. The default value is CreationTime.
35124	SortBy *string `type:"string" enum:"SortTrialComponentsBy"`
35125
35126	// The sort order. The default value is Descending.
35127	SortOrder *string `type:"string" enum:"SortOrder"`
35128
35129	// A filter that returns only components that have the specified source Amazon
35130	// Resource Name (ARN). If you specify SourceArn, you can't filter by ExperimentName
35131	// or TrialName.
35132	SourceArn *string `type:"string"`
35133
35134	// A filter that returns only components that are part of the specified trial.
35135	// If you specify TrialName, you can't filter by ExperimentName or SourceArn.
35136	TrialName *string `min:"1" type:"string"`
35137}
35138
35139// String returns the string representation
35140func (s ListTrialComponentsInput) String() string {
35141	return awsutil.Prettify(s)
35142}
35143
35144// GoString returns the string representation
35145func (s ListTrialComponentsInput) GoString() string {
35146	return s.String()
35147}
35148
35149// Validate inspects the fields of the type to determine if they are valid.
35150func (s *ListTrialComponentsInput) Validate() error {
35151	invalidParams := request.ErrInvalidParams{Context: "ListTrialComponentsInput"}
35152	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
35153		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
35154	}
35155	if s.MaxResults != nil && *s.MaxResults < 1 {
35156		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
35157	}
35158	if s.TrialName != nil && len(*s.TrialName) < 1 {
35159		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
35160	}
35161
35162	if invalidParams.Len() > 0 {
35163		return invalidParams
35164	}
35165	return nil
35166}
35167
35168// SetCreatedAfter sets the CreatedAfter field's value.
35169func (s *ListTrialComponentsInput) SetCreatedAfter(v time.Time) *ListTrialComponentsInput {
35170	s.CreatedAfter = &v
35171	return s
35172}
35173
35174// SetCreatedBefore sets the CreatedBefore field's value.
35175func (s *ListTrialComponentsInput) SetCreatedBefore(v time.Time) *ListTrialComponentsInput {
35176	s.CreatedBefore = &v
35177	return s
35178}
35179
35180// SetExperimentName sets the ExperimentName field's value.
35181func (s *ListTrialComponentsInput) SetExperimentName(v string) *ListTrialComponentsInput {
35182	s.ExperimentName = &v
35183	return s
35184}
35185
35186// SetMaxResults sets the MaxResults field's value.
35187func (s *ListTrialComponentsInput) SetMaxResults(v int64) *ListTrialComponentsInput {
35188	s.MaxResults = &v
35189	return s
35190}
35191
35192// SetNextToken sets the NextToken field's value.
35193func (s *ListTrialComponentsInput) SetNextToken(v string) *ListTrialComponentsInput {
35194	s.NextToken = &v
35195	return s
35196}
35197
35198// SetSortBy sets the SortBy field's value.
35199func (s *ListTrialComponentsInput) SetSortBy(v string) *ListTrialComponentsInput {
35200	s.SortBy = &v
35201	return s
35202}
35203
35204// SetSortOrder sets the SortOrder field's value.
35205func (s *ListTrialComponentsInput) SetSortOrder(v string) *ListTrialComponentsInput {
35206	s.SortOrder = &v
35207	return s
35208}
35209
35210// SetSourceArn sets the SourceArn field's value.
35211func (s *ListTrialComponentsInput) SetSourceArn(v string) *ListTrialComponentsInput {
35212	s.SourceArn = &v
35213	return s
35214}
35215
35216// SetTrialName sets the TrialName field's value.
35217func (s *ListTrialComponentsInput) SetTrialName(v string) *ListTrialComponentsInput {
35218	s.TrialName = &v
35219	return s
35220}
35221
35222type ListTrialComponentsOutput struct {
35223	_ struct{} `type:"structure"`
35224
35225	// A token for getting the next set of components, if there are any.
35226	NextToken *string `type:"string"`
35227
35228	// A list of the summaries of your trial components.
35229	TrialComponentSummaries []*TrialComponentSummary `type:"list"`
35230}
35231
35232// String returns the string representation
35233func (s ListTrialComponentsOutput) String() string {
35234	return awsutil.Prettify(s)
35235}
35236
35237// GoString returns the string representation
35238func (s ListTrialComponentsOutput) GoString() string {
35239	return s.String()
35240}
35241
35242// SetNextToken sets the NextToken field's value.
35243func (s *ListTrialComponentsOutput) SetNextToken(v string) *ListTrialComponentsOutput {
35244	s.NextToken = &v
35245	return s
35246}
35247
35248// SetTrialComponentSummaries sets the TrialComponentSummaries field's value.
35249func (s *ListTrialComponentsOutput) SetTrialComponentSummaries(v []*TrialComponentSummary) *ListTrialComponentsOutput {
35250	s.TrialComponentSummaries = v
35251	return s
35252}
35253
35254type ListTrialsInput struct {
35255	_ struct{} `type:"structure"`
35256
35257	// A filter that returns only trials created after the specified time.
35258	CreatedAfter *time.Time `type:"timestamp"`
35259
35260	// A filter that returns only trials created before the specified time.
35261	CreatedBefore *time.Time `type:"timestamp"`
35262
35263	// A filter that returns only trials that are part of the specified experiment.
35264	ExperimentName *string `min:"1" type:"string"`
35265
35266	// The maximum number of trials to return in the response. The default value
35267	// is 10.
35268	MaxResults *int64 `min:"1" type:"integer"`
35269
35270	// If the previous call to ListTrials didn't return the full set of trials,
35271	// the call returns a token for getting the next set of trials.
35272	NextToken *string `type:"string"`
35273
35274	// The property used to sort results. The default value is CreationTime.
35275	SortBy *string `type:"string" enum:"SortTrialsBy"`
35276
35277	// The sort order. The default value is Descending.
35278	SortOrder *string `type:"string" enum:"SortOrder"`
35279
35280	// A filter that returns only trials that are associated with the specified
35281	// trial component.
35282	TrialComponentName *string `min:"1" type:"string"`
35283}
35284
35285// String returns the string representation
35286func (s ListTrialsInput) String() string {
35287	return awsutil.Prettify(s)
35288}
35289
35290// GoString returns the string representation
35291func (s ListTrialsInput) GoString() string {
35292	return s.String()
35293}
35294
35295// Validate inspects the fields of the type to determine if they are valid.
35296func (s *ListTrialsInput) Validate() error {
35297	invalidParams := request.ErrInvalidParams{Context: "ListTrialsInput"}
35298	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
35299		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
35300	}
35301	if s.MaxResults != nil && *s.MaxResults < 1 {
35302		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
35303	}
35304	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
35305		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
35306	}
35307
35308	if invalidParams.Len() > 0 {
35309		return invalidParams
35310	}
35311	return nil
35312}
35313
35314// SetCreatedAfter sets the CreatedAfter field's value.
35315func (s *ListTrialsInput) SetCreatedAfter(v time.Time) *ListTrialsInput {
35316	s.CreatedAfter = &v
35317	return s
35318}
35319
35320// SetCreatedBefore sets the CreatedBefore field's value.
35321func (s *ListTrialsInput) SetCreatedBefore(v time.Time) *ListTrialsInput {
35322	s.CreatedBefore = &v
35323	return s
35324}
35325
35326// SetExperimentName sets the ExperimentName field's value.
35327func (s *ListTrialsInput) SetExperimentName(v string) *ListTrialsInput {
35328	s.ExperimentName = &v
35329	return s
35330}
35331
35332// SetMaxResults sets the MaxResults field's value.
35333func (s *ListTrialsInput) SetMaxResults(v int64) *ListTrialsInput {
35334	s.MaxResults = &v
35335	return s
35336}
35337
35338// SetNextToken sets the NextToken field's value.
35339func (s *ListTrialsInput) SetNextToken(v string) *ListTrialsInput {
35340	s.NextToken = &v
35341	return s
35342}
35343
35344// SetSortBy sets the SortBy field's value.
35345func (s *ListTrialsInput) SetSortBy(v string) *ListTrialsInput {
35346	s.SortBy = &v
35347	return s
35348}
35349
35350// SetSortOrder sets the SortOrder field's value.
35351func (s *ListTrialsInput) SetSortOrder(v string) *ListTrialsInput {
35352	s.SortOrder = &v
35353	return s
35354}
35355
35356// SetTrialComponentName sets the TrialComponentName field's value.
35357func (s *ListTrialsInput) SetTrialComponentName(v string) *ListTrialsInput {
35358	s.TrialComponentName = &v
35359	return s
35360}
35361
35362type ListTrialsOutput struct {
35363	_ struct{} `type:"structure"`
35364
35365	// A token for getting the next set of trials, if there are any.
35366	NextToken *string `type:"string"`
35367
35368	// A list of the summaries of your trials.
35369	TrialSummaries []*TrialSummary `type:"list"`
35370}
35371
35372// String returns the string representation
35373func (s ListTrialsOutput) String() string {
35374	return awsutil.Prettify(s)
35375}
35376
35377// GoString returns the string representation
35378func (s ListTrialsOutput) GoString() string {
35379	return s.String()
35380}
35381
35382// SetNextToken sets the NextToken field's value.
35383func (s *ListTrialsOutput) SetNextToken(v string) *ListTrialsOutput {
35384	s.NextToken = &v
35385	return s
35386}
35387
35388// SetTrialSummaries sets the TrialSummaries field's value.
35389func (s *ListTrialsOutput) SetTrialSummaries(v []*TrialSummary) *ListTrialsOutput {
35390	s.TrialSummaries = v
35391	return s
35392}
35393
35394type ListUserProfilesInput struct {
35395	_ struct{} `type:"structure"`
35396
35397	// A parameter by which to filter the results.
35398	DomainIdEquals *string `type:"string"`
35399
35400	// Returns a list up to a specified limit.
35401	MaxResults *int64 `min:"1" type:"integer"`
35402
35403	// If the previous response was truncated, you will receive this token. Use
35404	// it in your next request to receive the next set of results.
35405	NextToken *string `type:"string"`
35406
35407	// The parameter by which to sort the results. The default is CreationTime.
35408	SortBy *string `type:"string" enum:"UserProfileSortKey"`
35409
35410	// The sort order for the results. The default is Ascending.
35411	SortOrder *string `type:"string" enum:"SortOrder"`
35412
35413	// A parameter by which to filter the results.
35414	UserProfileNameContains *string `type:"string"`
35415}
35416
35417// String returns the string representation
35418func (s ListUserProfilesInput) String() string {
35419	return awsutil.Prettify(s)
35420}
35421
35422// GoString returns the string representation
35423func (s ListUserProfilesInput) GoString() string {
35424	return s.String()
35425}
35426
35427// Validate inspects the fields of the type to determine if they are valid.
35428func (s *ListUserProfilesInput) Validate() error {
35429	invalidParams := request.ErrInvalidParams{Context: "ListUserProfilesInput"}
35430	if s.MaxResults != nil && *s.MaxResults < 1 {
35431		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
35432	}
35433
35434	if invalidParams.Len() > 0 {
35435		return invalidParams
35436	}
35437	return nil
35438}
35439
35440// SetDomainIdEquals sets the DomainIdEquals field's value.
35441func (s *ListUserProfilesInput) SetDomainIdEquals(v string) *ListUserProfilesInput {
35442	s.DomainIdEquals = &v
35443	return s
35444}
35445
35446// SetMaxResults sets the MaxResults field's value.
35447func (s *ListUserProfilesInput) SetMaxResults(v int64) *ListUserProfilesInput {
35448	s.MaxResults = &v
35449	return s
35450}
35451
35452// SetNextToken sets the NextToken field's value.
35453func (s *ListUserProfilesInput) SetNextToken(v string) *ListUserProfilesInput {
35454	s.NextToken = &v
35455	return s
35456}
35457
35458// SetSortBy sets the SortBy field's value.
35459func (s *ListUserProfilesInput) SetSortBy(v string) *ListUserProfilesInput {
35460	s.SortBy = &v
35461	return s
35462}
35463
35464// SetSortOrder sets the SortOrder field's value.
35465func (s *ListUserProfilesInput) SetSortOrder(v string) *ListUserProfilesInput {
35466	s.SortOrder = &v
35467	return s
35468}
35469
35470// SetUserProfileNameContains sets the UserProfileNameContains field's value.
35471func (s *ListUserProfilesInput) SetUserProfileNameContains(v string) *ListUserProfilesInput {
35472	s.UserProfileNameContains = &v
35473	return s
35474}
35475
35476type ListUserProfilesOutput struct {
35477	_ struct{} `type:"structure"`
35478
35479	// If the previous response was truncated, you will receive this token. Use
35480	// it in your next request to receive the next set of results.
35481	NextToken *string `type:"string"`
35482
35483	// The list of user profiles.
35484	UserProfiles []*UserProfileDetails `type:"list"`
35485}
35486
35487// String returns the string representation
35488func (s ListUserProfilesOutput) String() string {
35489	return awsutil.Prettify(s)
35490}
35491
35492// GoString returns the string representation
35493func (s ListUserProfilesOutput) GoString() string {
35494	return s.String()
35495}
35496
35497// SetNextToken sets the NextToken field's value.
35498func (s *ListUserProfilesOutput) SetNextToken(v string) *ListUserProfilesOutput {
35499	s.NextToken = &v
35500	return s
35501}
35502
35503// SetUserProfiles sets the UserProfiles field's value.
35504func (s *ListUserProfilesOutput) SetUserProfiles(v []*UserProfileDetails) *ListUserProfilesOutput {
35505	s.UserProfiles = v
35506	return s
35507}
35508
35509type ListWorkteamsInput struct {
35510	_ struct{} `type:"structure"`
35511
35512	// The maximum number of work teams to return in each page of the response.
35513	MaxResults *int64 `min:"1" type:"integer"`
35514
35515	// A string in the work team's name. This filter returns only work teams whose
35516	// name contains the specified string.
35517	NameContains *string `min:"1" type:"string"`
35518
35519	// If the result of the previous ListWorkteams request was truncated, the response
35520	// includes a NextToken. To retrieve the next set of labeling jobs, use the
35521	// token in the next request.
35522	NextToken *string `type:"string"`
35523
35524	// The field to sort results by. The default is CreationTime.
35525	SortBy *string `type:"string" enum:"ListWorkteamsSortByOptions"`
35526
35527	// The sort order for results. The default is Ascending.
35528	SortOrder *string `type:"string" enum:"SortOrder"`
35529}
35530
35531// String returns the string representation
35532func (s ListWorkteamsInput) String() string {
35533	return awsutil.Prettify(s)
35534}
35535
35536// GoString returns the string representation
35537func (s ListWorkteamsInput) GoString() string {
35538	return s.String()
35539}
35540
35541// Validate inspects the fields of the type to determine if they are valid.
35542func (s *ListWorkteamsInput) Validate() error {
35543	invalidParams := request.ErrInvalidParams{Context: "ListWorkteamsInput"}
35544	if s.MaxResults != nil && *s.MaxResults < 1 {
35545		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
35546	}
35547	if s.NameContains != nil && len(*s.NameContains) < 1 {
35548		invalidParams.Add(request.NewErrParamMinLen("NameContains", 1))
35549	}
35550
35551	if invalidParams.Len() > 0 {
35552		return invalidParams
35553	}
35554	return nil
35555}
35556
35557// SetMaxResults sets the MaxResults field's value.
35558func (s *ListWorkteamsInput) SetMaxResults(v int64) *ListWorkteamsInput {
35559	s.MaxResults = &v
35560	return s
35561}
35562
35563// SetNameContains sets the NameContains field's value.
35564func (s *ListWorkteamsInput) SetNameContains(v string) *ListWorkteamsInput {
35565	s.NameContains = &v
35566	return s
35567}
35568
35569// SetNextToken sets the NextToken field's value.
35570func (s *ListWorkteamsInput) SetNextToken(v string) *ListWorkteamsInput {
35571	s.NextToken = &v
35572	return s
35573}
35574
35575// SetSortBy sets the SortBy field's value.
35576func (s *ListWorkteamsInput) SetSortBy(v string) *ListWorkteamsInput {
35577	s.SortBy = &v
35578	return s
35579}
35580
35581// SetSortOrder sets the SortOrder field's value.
35582func (s *ListWorkteamsInput) SetSortOrder(v string) *ListWorkteamsInput {
35583	s.SortOrder = &v
35584	return s
35585}
35586
35587type ListWorkteamsOutput struct {
35588	_ struct{} `type:"structure"`
35589
35590	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
35591	// the next set of work teams, use it in the subsequent request.
35592	NextToken *string `type:"string"`
35593
35594	// An array of Workteam objects, each describing a work team.
35595	//
35596	// Workteams is a required field
35597	Workteams []*Workteam `type:"list" required:"true"`
35598}
35599
35600// String returns the string representation
35601func (s ListWorkteamsOutput) String() string {
35602	return awsutil.Prettify(s)
35603}
35604
35605// GoString returns the string representation
35606func (s ListWorkteamsOutput) GoString() string {
35607	return s.String()
35608}
35609
35610// SetNextToken sets the NextToken field's value.
35611func (s *ListWorkteamsOutput) SetNextToken(v string) *ListWorkteamsOutput {
35612	s.NextToken = &v
35613	return s
35614}
35615
35616// SetWorkteams sets the Workteams field's value.
35617func (s *ListWorkteamsOutput) SetWorkteams(v []*Workteam) *ListWorkteamsOutput {
35618	s.Workteams = v
35619	return s
35620}
35621
35622// Defines the Amazon Cognito user group that is part of a work team.
35623type MemberDefinition struct {
35624	_ struct{} `type:"structure"`
35625
35626	// The Amazon Cognito user group that is part of the work team.
35627	CognitoMemberDefinition *CognitoMemberDefinition `type:"structure"`
35628}
35629
35630// String returns the string representation
35631func (s MemberDefinition) String() string {
35632	return awsutil.Prettify(s)
35633}
35634
35635// GoString returns the string representation
35636func (s MemberDefinition) GoString() string {
35637	return s.String()
35638}
35639
35640// Validate inspects the fields of the type to determine if they are valid.
35641func (s *MemberDefinition) Validate() error {
35642	invalidParams := request.ErrInvalidParams{Context: "MemberDefinition"}
35643	if s.CognitoMemberDefinition != nil {
35644		if err := s.CognitoMemberDefinition.Validate(); err != nil {
35645			invalidParams.AddNested("CognitoMemberDefinition", err.(request.ErrInvalidParams))
35646		}
35647	}
35648
35649	if invalidParams.Len() > 0 {
35650		return invalidParams
35651	}
35652	return nil
35653}
35654
35655// SetCognitoMemberDefinition sets the CognitoMemberDefinition field's value.
35656func (s *MemberDefinition) SetCognitoMemberDefinition(v *CognitoMemberDefinition) *MemberDefinition {
35657	s.CognitoMemberDefinition = v
35658	return s
35659}
35660
35661// The name, value, and date and time of a metric that was emitted to Amazon
35662// CloudWatch.
35663type MetricData struct {
35664	_ struct{} `type:"structure"`
35665
35666	// The name of the metric.
35667	MetricName *string `min:"1" type:"string"`
35668
35669	// The date and time that the algorithm emitted the metric.
35670	Timestamp *time.Time `type:"timestamp"`
35671
35672	// The value of the metric.
35673	Value *float64 `type:"float"`
35674}
35675
35676// String returns the string representation
35677func (s MetricData) String() string {
35678	return awsutil.Prettify(s)
35679}
35680
35681// GoString returns the string representation
35682func (s MetricData) GoString() string {
35683	return s.String()
35684}
35685
35686// SetMetricName sets the MetricName field's value.
35687func (s *MetricData) SetMetricName(v string) *MetricData {
35688	s.MetricName = &v
35689	return s
35690}
35691
35692// SetTimestamp sets the Timestamp field's value.
35693func (s *MetricData) SetTimestamp(v time.Time) *MetricData {
35694	s.Timestamp = &v
35695	return s
35696}
35697
35698// SetValue sets the Value field's value.
35699func (s *MetricData) SetValue(v float64) *MetricData {
35700	s.Value = &v
35701	return s
35702}
35703
35704// Specifies a metric that the training algorithm writes to stderr or stdout
35705// . Amazon SageMakerhyperparameter tuning captures all defined metrics. You
35706// specify one metric that a hyperparameter tuning job uses as its objective
35707// metric to choose the best training job.
35708type MetricDefinition struct {
35709	_ struct{} `type:"structure"`
35710
35711	// The name of the metric.
35712	//
35713	// Name is a required field
35714	Name *string `min:"1" type:"string" required:"true"`
35715
35716	// A regular expression that searches the output of a training job and gets
35717	// the value of the metric. For more information about using regular expressions
35718	// to define metrics, see Defining Objective Metrics (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-metrics.html).
35719	//
35720	// Regex is a required field
35721	Regex *string `min:"1" type:"string" required:"true"`
35722}
35723
35724// String returns the string representation
35725func (s MetricDefinition) String() string {
35726	return awsutil.Prettify(s)
35727}
35728
35729// GoString returns the string representation
35730func (s MetricDefinition) GoString() string {
35731	return s.String()
35732}
35733
35734// Validate inspects the fields of the type to determine if they are valid.
35735func (s *MetricDefinition) Validate() error {
35736	invalidParams := request.ErrInvalidParams{Context: "MetricDefinition"}
35737	if s.Name == nil {
35738		invalidParams.Add(request.NewErrParamRequired("Name"))
35739	}
35740	if s.Name != nil && len(*s.Name) < 1 {
35741		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
35742	}
35743	if s.Regex == nil {
35744		invalidParams.Add(request.NewErrParamRequired("Regex"))
35745	}
35746	if s.Regex != nil && len(*s.Regex) < 1 {
35747		invalidParams.Add(request.NewErrParamMinLen("Regex", 1))
35748	}
35749
35750	if invalidParams.Len() > 0 {
35751		return invalidParams
35752	}
35753	return nil
35754}
35755
35756// SetName sets the Name field's value.
35757func (s *MetricDefinition) SetName(v string) *MetricDefinition {
35758	s.Name = &v
35759	return s
35760}
35761
35762// SetRegex sets the Regex field's value.
35763func (s *MetricDefinition) SetRegex(v string) *MetricDefinition {
35764	s.Regex = &v
35765	return s
35766}
35767
35768// Provides information about the location that is configured for storing model
35769// artifacts.
35770//
35771// Model artifacts are the output that results from training a model, and typically
35772// consist of trained parameters, a model defintion that desribes how to compute
35773// inferences, and other metadata.
35774type ModelArtifacts struct {
35775	_ struct{} `type:"structure"`
35776
35777	// The path of the S3 object that contains the model artifacts. For example,
35778	// s3://bucket-name/keynameprefix/model.tar.gz.
35779	//
35780	// S3ModelArtifacts is a required field
35781	S3ModelArtifacts *string `type:"string" required:"true"`
35782}
35783
35784// String returns the string representation
35785func (s ModelArtifacts) String() string {
35786	return awsutil.Prettify(s)
35787}
35788
35789// GoString returns the string representation
35790func (s ModelArtifacts) GoString() string {
35791	return s.String()
35792}
35793
35794// SetS3ModelArtifacts sets the S3ModelArtifacts field's value.
35795func (s *ModelArtifacts) SetS3ModelArtifacts(v string) *ModelArtifacts {
35796	s.S3ModelArtifacts = &v
35797	return s
35798}
35799
35800// Configures the timeout and maximum number of retries for processing a transform
35801// job invocation.
35802type ModelClientConfig struct {
35803	_ struct{} `type:"structure"`
35804
35805	// The maximum number of retries when invocation requests are failing.
35806	InvocationsMaxRetries *int64 `type:"integer"`
35807
35808	// The timeout value in seconds for an invocation request.
35809	InvocationsTimeoutInSeconds *int64 `min:"1" type:"integer"`
35810}
35811
35812// String returns the string representation
35813func (s ModelClientConfig) String() string {
35814	return awsutil.Prettify(s)
35815}
35816
35817// GoString returns the string representation
35818func (s ModelClientConfig) GoString() string {
35819	return s.String()
35820}
35821
35822// Validate inspects the fields of the type to determine if they are valid.
35823func (s *ModelClientConfig) Validate() error {
35824	invalidParams := request.ErrInvalidParams{Context: "ModelClientConfig"}
35825	if s.InvocationsTimeoutInSeconds != nil && *s.InvocationsTimeoutInSeconds < 1 {
35826		invalidParams.Add(request.NewErrParamMinValue("InvocationsTimeoutInSeconds", 1))
35827	}
35828
35829	if invalidParams.Len() > 0 {
35830		return invalidParams
35831	}
35832	return nil
35833}
35834
35835// SetInvocationsMaxRetries sets the InvocationsMaxRetries field's value.
35836func (s *ModelClientConfig) SetInvocationsMaxRetries(v int64) *ModelClientConfig {
35837	s.InvocationsMaxRetries = &v
35838	return s
35839}
35840
35841// SetInvocationsTimeoutInSeconds sets the InvocationsTimeoutInSeconds field's value.
35842func (s *ModelClientConfig) SetInvocationsTimeoutInSeconds(v int64) *ModelClientConfig {
35843	s.InvocationsTimeoutInSeconds = &v
35844	return s
35845}
35846
35847// Describes the Docker container for the model package.
35848type ModelPackageContainerDefinition struct {
35849	_ struct{} `type:"structure"`
35850
35851	// The DNS host name for the Docker container.
35852	ContainerHostname *string `type:"string"`
35853
35854	// The Amazon EC2 Container Registry (Amazon ECR) path where inference code
35855	// is stored.
35856	//
35857	// If you are using your own custom algorithm instead of an algorithm provided
35858	// by Amazon SageMaker, the inference code must meet Amazon SageMaker requirements.
35859	// Amazon SageMaker supports both registry/repository[:tag] and registry/repository[@digest]
35860	// image path formats. For more information, see Using Your Own Algorithms with
35861	// Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
35862	//
35863	// Image is a required field
35864	Image *string `type:"string" required:"true"`
35865
35866	// An MD5 hash of the training algorithm that identifies the Docker image used
35867	// for training.
35868	ImageDigest *string `type:"string"`
35869
35870	// The Amazon S3 path where the model artifacts, which result from model training,
35871	// are stored. This path must point to a single gzip compressed tar archive
35872	// (.tar.gz suffix).
35873	ModelDataUrl *string `type:"string"`
35874
35875	// The AWS Marketplace product ID of the model package.
35876	ProductId *string `type:"string"`
35877}
35878
35879// String returns the string representation
35880func (s ModelPackageContainerDefinition) String() string {
35881	return awsutil.Prettify(s)
35882}
35883
35884// GoString returns the string representation
35885func (s ModelPackageContainerDefinition) GoString() string {
35886	return s.String()
35887}
35888
35889// Validate inspects the fields of the type to determine if they are valid.
35890func (s *ModelPackageContainerDefinition) Validate() error {
35891	invalidParams := request.ErrInvalidParams{Context: "ModelPackageContainerDefinition"}
35892	if s.Image == nil {
35893		invalidParams.Add(request.NewErrParamRequired("Image"))
35894	}
35895
35896	if invalidParams.Len() > 0 {
35897		return invalidParams
35898	}
35899	return nil
35900}
35901
35902// SetContainerHostname sets the ContainerHostname field's value.
35903func (s *ModelPackageContainerDefinition) SetContainerHostname(v string) *ModelPackageContainerDefinition {
35904	s.ContainerHostname = &v
35905	return s
35906}
35907
35908// SetImage sets the Image field's value.
35909func (s *ModelPackageContainerDefinition) SetImage(v string) *ModelPackageContainerDefinition {
35910	s.Image = &v
35911	return s
35912}
35913
35914// SetImageDigest sets the ImageDigest field's value.
35915func (s *ModelPackageContainerDefinition) SetImageDigest(v string) *ModelPackageContainerDefinition {
35916	s.ImageDigest = &v
35917	return s
35918}
35919
35920// SetModelDataUrl sets the ModelDataUrl field's value.
35921func (s *ModelPackageContainerDefinition) SetModelDataUrl(v string) *ModelPackageContainerDefinition {
35922	s.ModelDataUrl = &v
35923	return s
35924}
35925
35926// SetProductId sets the ProductId field's value.
35927func (s *ModelPackageContainerDefinition) SetProductId(v string) *ModelPackageContainerDefinition {
35928	s.ProductId = &v
35929	return s
35930}
35931
35932// Specifies the validation and image scan statuses of the model package.
35933type ModelPackageStatusDetails struct {
35934	_ struct{} `type:"structure"`
35935
35936	// The status of the scan of the Docker image container for the model package.
35937	ImageScanStatuses []*ModelPackageStatusItem `type:"list"`
35938
35939	// The validation status of the model package.
35940	//
35941	// ValidationStatuses is a required field
35942	ValidationStatuses []*ModelPackageStatusItem `type:"list" required:"true"`
35943}
35944
35945// String returns the string representation
35946func (s ModelPackageStatusDetails) String() string {
35947	return awsutil.Prettify(s)
35948}
35949
35950// GoString returns the string representation
35951func (s ModelPackageStatusDetails) GoString() string {
35952	return s.String()
35953}
35954
35955// SetImageScanStatuses sets the ImageScanStatuses field's value.
35956func (s *ModelPackageStatusDetails) SetImageScanStatuses(v []*ModelPackageStatusItem) *ModelPackageStatusDetails {
35957	s.ImageScanStatuses = v
35958	return s
35959}
35960
35961// SetValidationStatuses sets the ValidationStatuses field's value.
35962func (s *ModelPackageStatusDetails) SetValidationStatuses(v []*ModelPackageStatusItem) *ModelPackageStatusDetails {
35963	s.ValidationStatuses = v
35964	return s
35965}
35966
35967// Represents the overall status of a model package.
35968type ModelPackageStatusItem struct {
35969	_ struct{} `type:"structure"`
35970
35971	// if the overall status is Failed, the reason for the failure.
35972	FailureReason *string `type:"string"`
35973
35974	// The name of the model package for which the overall status is being reported.
35975	//
35976	// Name is a required field
35977	Name *string `min:"1" type:"string" required:"true"`
35978
35979	// The current status.
35980	//
35981	// Status is a required field
35982	Status *string `type:"string" required:"true" enum:"DetailedModelPackageStatus"`
35983}
35984
35985// String returns the string representation
35986func (s ModelPackageStatusItem) String() string {
35987	return awsutil.Prettify(s)
35988}
35989
35990// GoString returns the string representation
35991func (s ModelPackageStatusItem) GoString() string {
35992	return s.String()
35993}
35994
35995// SetFailureReason sets the FailureReason field's value.
35996func (s *ModelPackageStatusItem) SetFailureReason(v string) *ModelPackageStatusItem {
35997	s.FailureReason = &v
35998	return s
35999}
36000
36001// SetName sets the Name field's value.
36002func (s *ModelPackageStatusItem) SetName(v string) *ModelPackageStatusItem {
36003	s.Name = &v
36004	return s
36005}
36006
36007// SetStatus sets the Status field's value.
36008func (s *ModelPackageStatusItem) SetStatus(v string) *ModelPackageStatusItem {
36009	s.Status = &v
36010	return s
36011}
36012
36013// Provides summary information about a model package.
36014type ModelPackageSummary struct {
36015	_ struct{} `type:"structure"`
36016
36017	// A timestamp that shows when the model package was created.
36018	//
36019	// CreationTime is a required field
36020	CreationTime *time.Time `type:"timestamp" required:"true"`
36021
36022	// The Amazon Resource Name (ARN) of the model package.
36023	//
36024	// ModelPackageArn is a required field
36025	ModelPackageArn *string `min:"1" type:"string" required:"true"`
36026
36027	// A brief description of the model package.
36028	ModelPackageDescription *string `type:"string"`
36029
36030	// The name of the model package.
36031	//
36032	// ModelPackageName is a required field
36033	ModelPackageName *string `min:"1" type:"string" required:"true"`
36034
36035	// The overall status of the model package.
36036	//
36037	// ModelPackageStatus is a required field
36038	ModelPackageStatus *string `type:"string" required:"true" enum:"ModelPackageStatus"`
36039}
36040
36041// String returns the string representation
36042func (s ModelPackageSummary) String() string {
36043	return awsutil.Prettify(s)
36044}
36045
36046// GoString returns the string representation
36047func (s ModelPackageSummary) GoString() string {
36048	return s.String()
36049}
36050
36051// SetCreationTime sets the CreationTime field's value.
36052func (s *ModelPackageSummary) SetCreationTime(v time.Time) *ModelPackageSummary {
36053	s.CreationTime = &v
36054	return s
36055}
36056
36057// SetModelPackageArn sets the ModelPackageArn field's value.
36058func (s *ModelPackageSummary) SetModelPackageArn(v string) *ModelPackageSummary {
36059	s.ModelPackageArn = &v
36060	return s
36061}
36062
36063// SetModelPackageDescription sets the ModelPackageDescription field's value.
36064func (s *ModelPackageSummary) SetModelPackageDescription(v string) *ModelPackageSummary {
36065	s.ModelPackageDescription = &v
36066	return s
36067}
36068
36069// SetModelPackageName sets the ModelPackageName field's value.
36070func (s *ModelPackageSummary) SetModelPackageName(v string) *ModelPackageSummary {
36071	s.ModelPackageName = &v
36072	return s
36073}
36074
36075// SetModelPackageStatus sets the ModelPackageStatus field's value.
36076func (s *ModelPackageSummary) SetModelPackageStatus(v string) *ModelPackageSummary {
36077	s.ModelPackageStatus = &v
36078	return s
36079}
36080
36081// Contains data, such as the inputs and targeted instance types that are used
36082// in the process of validating the model package.
36083//
36084// The data provided in the validation profile is made available to your buyers
36085// on AWS Marketplace.
36086type ModelPackageValidationProfile struct {
36087	_ struct{} `type:"structure"`
36088
36089	// The name of the profile for the model package.
36090	//
36091	// ProfileName is a required field
36092	ProfileName *string `min:"1" type:"string" required:"true"`
36093
36094	// The TransformJobDefinition object that describes the transform job used for
36095	// the validation of the model package.
36096	//
36097	// TransformJobDefinition is a required field
36098	TransformJobDefinition *TransformJobDefinition `type:"structure" required:"true"`
36099}
36100
36101// String returns the string representation
36102func (s ModelPackageValidationProfile) String() string {
36103	return awsutil.Prettify(s)
36104}
36105
36106// GoString returns the string representation
36107func (s ModelPackageValidationProfile) GoString() string {
36108	return s.String()
36109}
36110
36111// Validate inspects the fields of the type to determine if they are valid.
36112func (s *ModelPackageValidationProfile) Validate() error {
36113	invalidParams := request.ErrInvalidParams{Context: "ModelPackageValidationProfile"}
36114	if s.ProfileName == nil {
36115		invalidParams.Add(request.NewErrParamRequired("ProfileName"))
36116	}
36117	if s.ProfileName != nil && len(*s.ProfileName) < 1 {
36118		invalidParams.Add(request.NewErrParamMinLen("ProfileName", 1))
36119	}
36120	if s.TransformJobDefinition == nil {
36121		invalidParams.Add(request.NewErrParamRequired("TransformJobDefinition"))
36122	}
36123	if s.TransformJobDefinition != nil {
36124		if err := s.TransformJobDefinition.Validate(); err != nil {
36125			invalidParams.AddNested("TransformJobDefinition", err.(request.ErrInvalidParams))
36126		}
36127	}
36128
36129	if invalidParams.Len() > 0 {
36130		return invalidParams
36131	}
36132	return nil
36133}
36134
36135// SetProfileName sets the ProfileName field's value.
36136func (s *ModelPackageValidationProfile) SetProfileName(v string) *ModelPackageValidationProfile {
36137	s.ProfileName = &v
36138	return s
36139}
36140
36141// SetTransformJobDefinition sets the TransformJobDefinition field's value.
36142func (s *ModelPackageValidationProfile) SetTransformJobDefinition(v *TransformJobDefinition) *ModelPackageValidationProfile {
36143	s.TransformJobDefinition = v
36144	return s
36145}
36146
36147// Specifies batch transform jobs that Amazon SageMaker runs to validate your
36148// model package.
36149type ModelPackageValidationSpecification struct {
36150	_ struct{} `type:"structure"`
36151
36152	// An array of ModelPackageValidationProfile objects, each of which specifies
36153	// a batch transform job that Amazon SageMaker runs to validate your model package.
36154	//
36155	// ValidationProfiles is a required field
36156	ValidationProfiles []*ModelPackageValidationProfile `min:"1" type:"list" required:"true"`
36157
36158	// The IAM roles to be used for the validation of the model package.
36159	//
36160	// ValidationRole is a required field
36161	ValidationRole *string `min:"20" type:"string" required:"true"`
36162}
36163
36164// String returns the string representation
36165func (s ModelPackageValidationSpecification) String() string {
36166	return awsutil.Prettify(s)
36167}
36168
36169// GoString returns the string representation
36170func (s ModelPackageValidationSpecification) GoString() string {
36171	return s.String()
36172}
36173
36174// Validate inspects the fields of the type to determine if they are valid.
36175func (s *ModelPackageValidationSpecification) Validate() error {
36176	invalidParams := request.ErrInvalidParams{Context: "ModelPackageValidationSpecification"}
36177	if s.ValidationProfiles == nil {
36178		invalidParams.Add(request.NewErrParamRequired("ValidationProfiles"))
36179	}
36180	if s.ValidationProfiles != nil && len(s.ValidationProfiles) < 1 {
36181		invalidParams.Add(request.NewErrParamMinLen("ValidationProfiles", 1))
36182	}
36183	if s.ValidationRole == nil {
36184		invalidParams.Add(request.NewErrParamRequired("ValidationRole"))
36185	}
36186	if s.ValidationRole != nil && len(*s.ValidationRole) < 20 {
36187		invalidParams.Add(request.NewErrParamMinLen("ValidationRole", 20))
36188	}
36189	if s.ValidationProfiles != nil {
36190		for i, v := range s.ValidationProfiles {
36191			if v == nil {
36192				continue
36193			}
36194			if err := v.Validate(); err != nil {
36195				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ValidationProfiles", i), err.(request.ErrInvalidParams))
36196			}
36197		}
36198	}
36199
36200	if invalidParams.Len() > 0 {
36201		return invalidParams
36202	}
36203	return nil
36204}
36205
36206// SetValidationProfiles sets the ValidationProfiles field's value.
36207func (s *ModelPackageValidationSpecification) SetValidationProfiles(v []*ModelPackageValidationProfile) *ModelPackageValidationSpecification {
36208	s.ValidationProfiles = v
36209	return s
36210}
36211
36212// SetValidationRole sets the ValidationRole field's value.
36213func (s *ModelPackageValidationSpecification) SetValidationRole(v string) *ModelPackageValidationSpecification {
36214	s.ValidationRole = &v
36215	return s
36216}
36217
36218// Provides summary information about a model.
36219type ModelSummary struct {
36220	_ struct{} `type:"structure"`
36221
36222	// A timestamp that indicates when the model was created.
36223	//
36224	// CreationTime is a required field
36225	CreationTime *time.Time `type:"timestamp" required:"true"`
36226
36227	// The Amazon Resource Name (ARN) of the model.
36228	//
36229	// ModelArn is a required field
36230	ModelArn *string `min:"20" type:"string" required:"true"`
36231
36232	// The name of the model that you want a summary for.
36233	//
36234	// ModelName is a required field
36235	ModelName *string `type:"string" required:"true"`
36236}
36237
36238// String returns the string representation
36239func (s ModelSummary) String() string {
36240	return awsutil.Prettify(s)
36241}
36242
36243// GoString returns the string representation
36244func (s ModelSummary) GoString() string {
36245	return s.String()
36246}
36247
36248// SetCreationTime sets the CreationTime field's value.
36249func (s *ModelSummary) SetCreationTime(v time.Time) *ModelSummary {
36250	s.CreationTime = &v
36251	return s
36252}
36253
36254// SetModelArn sets the ModelArn field's value.
36255func (s *ModelSummary) SetModelArn(v string) *ModelSummary {
36256	s.ModelArn = &v
36257	return s
36258}
36259
36260// SetModelName sets the ModelName field's value.
36261func (s *ModelSummary) SetModelName(v string) *ModelSummary {
36262	s.ModelName = &v
36263	return s
36264}
36265
36266// Container image configuration object for the monitoring job.
36267type MonitoringAppSpecification struct {
36268	_ struct{} `type:"structure"`
36269
36270	// An array of arguments for the container used to run the monitoring job.
36271	ContainerArguments []*string `min:"1" type:"list"`
36272
36273	// Specifies the entrypoint for a container used to run the monitoring job.
36274	ContainerEntrypoint []*string `min:"1" type:"list"`
36275
36276	// The container image to be run by the monitoring job.
36277	//
36278	// ImageUri is a required field
36279	ImageUri *string `type:"string" required:"true"`
36280
36281	// An Amazon S3 URI to a script that is called after analysis has been performed.
36282	// Applicable only for the built-in (first party) containers.
36283	PostAnalyticsProcessorSourceUri *string `type:"string"`
36284
36285	// An Amazon S3 URI to a script that is called per row prior to running analysis.
36286	// It can base64 decode the payload and convert it into a flatted json so that
36287	// the built-in container can use the converted data. Applicable only for the
36288	// built-in (first party) containers.
36289	RecordPreprocessorSourceUri *string `type:"string"`
36290}
36291
36292// String returns the string representation
36293func (s MonitoringAppSpecification) String() string {
36294	return awsutil.Prettify(s)
36295}
36296
36297// GoString returns the string representation
36298func (s MonitoringAppSpecification) GoString() string {
36299	return s.String()
36300}
36301
36302// Validate inspects the fields of the type to determine if they are valid.
36303func (s *MonitoringAppSpecification) Validate() error {
36304	invalidParams := request.ErrInvalidParams{Context: "MonitoringAppSpecification"}
36305	if s.ContainerArguments != nil && len(s.ContainerArguments) < 1 {
36306		invalidParams.Add(request.NewErrParamMinLen("ContainerArguments", 1))
36307	}
36308	if s.ContainerEntrypoint != nil && len(s.ContainerEntrypoint) < 1 {
36309		invalidParams.Add(request.NewErrParamMinLen("ContainerEntrypoint", 1))
36310	}
36311	if s.ImageUri == nil {
36312		invalidParams.Add(request.NewErrParamRequired("ImageUri"))
36313	}
36314
36315	if invalidParams.Len() > 0 {
36316		return invalidParams
36317	}
36318	return nil
36319}
36320
36321// SetContainerArguments sets the ContainerArguments field's value.
36322func (s *MonitoringAppSpecification) SetContainerArguments(v []*string) *MonitoringAppSpecification {
36323	s.ContainerArguments = v
36324	return s
36325}
36326
36327// SetContainerEntrypoint sets the ContainerEntrypoint field's value.
36328func (s *MonitoringAppSpecification) SetContainerEntrypoint(v []*string) *MonitoringAppSpecification {
36329	s.ContainerEntrypoint = v
36330	return s
36331}
36332
36333// SetImageUri sets the ImageUri field's value.
36334func (s *MonitoringAppSpecification) SetImageUri(v string) *MonitoringAppSpecification {
36335	s.ImageUri = &v
36336	return s
36337}
36338
36339// SetPostAnalyticsProcessorSourceUri sets the PostAnalyticsProcessorSourceUri field's value.
36340func (s *MonitoringAppSpecification) SetPostAnalyticsProcessorSourceUri(v string) *MonitoringAppSpecification {
36341	s.PostAnalyticsProcessorSourceUri = &v
36342	return s
36343}
36344
36345// SetRecordPreprocessorSourceUri sets the RecordPreprocessorSourceUri field's value.
36346func (s *MonitoringAppSpecification) SetRecordPreprocessorSourceUri(v string) *MonitoringAppSpecification {
36347	s.RecordPreprocessorSourceUri = &v
36348	return s
36349}
36350
36351// Configuration for monitoring constraints and monitoring statistics. These
36352// baseline resources are compared against the results of the current job from
36353// the series of jobs scheduled to collect data periodically.
36354type MonitoringBaselineConfig struct {
36355	_ struct{} `type:"structure"`
36356
36357	// The baseline constraint file in Amazon S3 that the current monitoring job
36358	// should validated against.
36359	ConstraintsResource *MonitoringConstraintsResource `type:"structure"`
36360
36361	// The baseline statistics file in Amazon S3 that the current monitoring job
36362	// should be validated against.
36363	StatisticsResource *MonitoringStatisticsResource `type:"structure"`
36364}
36365
36366// String returns the string representation
36367func (s MonitoringBaselineConfig) String() string {
36368	return awsutil.Prettify(s)
36369}
36370
36371// GoString returns the string representation
36372func (s MonitoringBaselineConfig) GoString() string {
36373	return s.String()
36374}
36375
36376// SetConstraintsResource sets the ConstraintsResource field's value.
36377func (s *MonitoringBaselineConfig) SetConstraintsResource(v *MonitoringConstraintsResource) *MonitoringBaselineConfig {
36378	s.ConstraintsResource = v
36379	return s
36380}
36381
36382// SetStatisticsResource sets the StatisticsResource field's value.
36383func (s *MonitoringBaselineConfig) SetStatisticsResource(v *MonitoringStatisticsResource) *MonitoringBaselineConfig {
36384	s.StatisticsResource = v
36385	return s
36386}
36387
36388// Configuration for the cluster used to run model monitoring jobs.
36389type MonitoringClusterConfig struct {
36390	_ struct{} `type:"structure"`
36391
36392	// The number of ML compute instances to use in the model monitoring job. For
36393	// distributed processing jobs, specify a value greater than 1. The default
36394	// value is 1.
36395	//
36396	// InstanceCount is a required field
36397	InstanceCount *int64 `min:"1" type:"integer" required:"true"`
36398
36399	// The ML compute instance type for the processing job.
36400	//
36401	// InstanceType is a required field
36402	InstanceType *string `type:"string" required:"true" enum:"ProcessingInstanceType"`
36403
36404	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
36405	// encrypt data on the storage volume attached to the ML compute instance(s)
36406	// that run the model monitoring job.
36407	VolumeKmsKeyId *string `type:"string"`
36408
36409	// The size of the ML storage volume, in gigabytes, that you want to provision.
36410	// You must specify sufficient ML storage for your scenario.
36411	//
36412	// VolumeSizeInGB is a required field
36413	VolumeSizeInGB *int64 `min:"1" type:"integer" required:"true"`
36414}
36415
36416// String returns the string representation
36417func (s MonitoringClusterConfig) String() string {
36418	return awsutil.Prettify(s)
36419}
36420
36421// GoString returns the string representation
36422func (s MonitoringClusterConfig) GoString() string {
36423	return s.String()
36424}
36425
36426// Validate inspects the fields of the type to determine if they are valid.
36427func (s *MonitoringClusterConfig) Validate() error {
36428	invalidParams := request.ErrInvalidParams{Context: "MonitoringClusterConfig"}
36429	if s.InstanceCount == nil {
36430		invalidParams.Add(request.NewErrParamRequired("InstanceCount"))
36431	}
36432	if s.InstanceCount != nil && *s.InstanceCount < 1 {
36433		invalidParams.Add(request.NewErrParamMinValue("InstanceCount", 1))
36434	}
36435	if s.InstanceType == nil {
36436		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
36437	}
36438	if s.VolumeSizeInGB == nil {
36439		invalidParams.Add(request.NewErrParamRequired("VolumeSizeInGB"))
36440	}
36441	if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 1 {
36442		invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 1))
36443	}
36444
36445	if invalidParams.Len() > 0 {
36446		return invalidParams
36447	}
36448	return nil
36449}
36450
36451// SetInstanceCount sets the InstanceCount field's value.
36452func (s *MonitoringClusterConfig) SetInstanceCount(v int64) *MonitoringClusterConfig {
36453	s.InstanceCount = &v
36454	return s
36455}
36456
36457// SetInstanceType sets the InstanceType field's value.
36458func (s *MonitoringClusterConfig) SetInstanceType(v string) *MonitoringClusterConfig {
36459	s.InstanceType = &v
36460	return s
36461}
36462
36463// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
36464func (s *MonitoringClusterConfig) SetVolumeKmsKeyId(v string) *MonitoringClusterConfig {
36465	s.VolumeKmsKeyId = &v
36466	return s
36467}
36468
36469// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
36470func (s *MonitoringClusterConfig) SetVolumeSizeInGB(v int64) *MonitoringClusterConfig {
36471	s.VolumeSizeInGB = &v
36472	return s
36473}
36474
36475// The constraints resource for a monitoring job.
36476type MonitoringConstraintsResource struct {
36477	_ struct{} `type:"structure"`
36478
36479	// The Amazon S3 URI for the constraints resource.
36480	S3Uri *string `type:"string"`
36481}
36482
36483// String returns the string representation
36484func (s MonitoringConstraintsResource) String() string {
36485	return awsutil.Prettify(s)
36486}
36487
36488// GoString returns the string representation
36489func (s MonitoringConstraintsResource) GoString() string {
36490	return s.String()
36491}
36492
36493// SetS3Uri sets the S3Uri field's value.
36494func (s *MonitoringConstraintsResource) SetS3Uri(v string) *MonitoringConstraintsResource {
36495	s.S3Uri = &v
36496	return s
36497}
36498
36499// Summary of information about the last monitoring job to run.
36500type MonitoringExecutionSummary struct {
36501	_ struct{} `type:"structure"`
36502
36503	// The time at which the monitoring job was created.
36504	//
36505	// CreationTime is a required field
36506	CreationTime *time.Time `type:"timestamp" required:"true"`
36507
36508	// The name of teh endpoint used to run the monitoring job.
36509	EndpointName *string `type:"string"`
36510
36511	// Contains the reason a monitoring job failed, if it failed.
36512	FailureReason *string `type:"string"`
36513
36514	// A timestamp that indicates the last time the monitoring job was modified.
36515	//
36516	// LastModifiedTime is a required field
36517	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
36518
36519	// The status of the monitoring job.
36520	//
36521	// MonitoringExecutionStatus is a required field
36522	MonitoringExecutionStatus *string `type:"string" required:"true" enum:"ExecutionStatus"`
36523
36524	// The name of the monitoring schedule.
36525	//
36526	// MonitoringScheduleName is a required field
36527	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
36528
36529	// The Amazon Resource Name (ARN) of the monitoring job.
36530	ProcessingJobArn *string `type:"string"`
36531
36532	// The time the monitoring job was scheduled.
36533	//
36534	// ScheduledTime is a required field
36535	ScheduledTime *time.Time `type:"timestamp" required:"true"`
36536}
36537
36538// String returns the string representation
36539func (s MonitoringExecutionSummary) String() string {
36540	return awsutil.Prettify(s)
36541}
36542
36543// GoString returns the string representation
36544func (s MonitoringExecutionSummary) GoString() string {
36545	return s.String()
36546}
36547
36548// SetCreationTime sets the CreationTime field's value.
36549func (s *MonitoringExecutionSummary) SetCreationTime(v time.Time) *MonitoringExecutionSummary {
36550	s.CreationTime = &v
36551	return s
36552}
36553
36554// SetEndpointName sets the EndpointName field's value.
36555func (s *MonitoringExecutionSummary) SetEndpointName(v string) *MonitoringExecutionSummary {
36556	s.EndpointName = &v
36557	return s
36558}
36559
36560// SetFailureReason sets the FailureReason field's value.
36561func (s *MonitoringExecutionSummary) SetFailureReason(v string) *MonitoringExecutionSummary {
36562	s.FailureReason = &v
36563	return s
36564}
36565
36566// SetLastModifiedTime sets the LastModifiedTime field's value.
36567func (s *MonitoringExecutionSummary) SetLastModifiedTime(v time.Time) *MonitoringExecutionSummary {
36568	s.LastModifiedTime = &v
36569	return s
36570}
36571
36572// SetMonitoringExecutionStatus sets the MonitoringExecutionStatus field's value.
36573func (s *MonitoringExecutionSummary) SetMonitoringExecutionStatus(v string) *MonitoringExecutionSummary {
36574	s.MonitoringExecutionStatus = &v
36575	return s
36576}
36577
36578// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
36579func (s *MonitoringExecutionSummary) SetMonitoringScheduleName(v string) *MonitoringExecutionSummary {
36580	s.MonitoringScheduleName = &v
36581	return s
36582}
36583
36584// SetProcessingJobArn sets the ProcessingJobArn field's value.
36585func (s *MonitoringExecutionSummary) SetProcessingJobArn(v string) *MonitoringExecutionSummary {
36586	s.ProcessingJobArn = &v
36587	return s
36588}
36589
36590// SetScheduledTime sets the ScheduledTime field's value.
36591func (s *MonitoringExecutionSummary) SetScheduledTime(v time.Time) *MonitoringExecutionSummary {
36592	s.ScheduledTime = &v
36593	return s
36594}
36595
36596// The inputs for a monitoring job.
36597type MonitoringInput struct {
36598	_ struct{} `type:"structure"`
36599
36600	// The endpoint for a monitoring job.
36601	//
36602	// EndpointInput is a required field
36603	EndpointInput *EndpointInput `type:"structure" required:"true"`
36604}
36605
36606// String returns the string representation
36607func (s MonitoringInput) String() string {
36608	return awsutil.Prettify(s)
36609}
36610
36611// GoString returns the string representation
36612func (s MonitoringInput) GoString() string {
36613	return s.String()
36614}
36615
36616// Validate inspects the fields of the type to determine if they are valid.
36617func (s *MonitoringInput) Validate() error {
36618	invalidParams := request.ErrInvalidParams{Context: "MonitoringInput"}
36619	if s.EndpointInput == nil {
36620		invalidParams.Add(request.NewErrParamRequired("EndpointInput"))
36621	}
36622	if s.EndpointInput != nil {
36623		if err := s.EndpointInput.Validate(); err != nil {
36624			invalidParams.AddNested("EndpointInput", err.(request.ErrInvalidParams))
36625		}
36626	}
36627
36628	if invalidParams.Len() > 0 {
36629		return invalidParams
36630	}
36631	return nil
36632}
36633
36634// SetEndpointInput sets the EndpointInput field's value.
36635func (s *MonitoringInput) SetEndpointInput(v *EndpointInput) *MonitoringInput {
36636	s.EndpointInput = v
36637	return s
36638}
36639
36640// Defines the monitoring job.
36641type MonitoringJobDefinition struct {
36642	_ struct{} `type:"structure"`
36643
36644	// Baseline configuration used to validate that the data conforms to the specified
36645	// constraints and statistics
36646	BaselineConfig *MonitoringBaselineConfig `type:"structure"`
36647
36648	// Sets the environment variables in the Docker container.
36649	Environment map[string]*string `type:"map"`
36650
36651	// Configures the monitoring job to run a specified Docker container image.
36652	//
36653	// MonitoringAppSpecification is a required field
36654	MonitoringAppSpecification *MonitoringAppSpecification `type:"structure" required:"true"`
36655
36656	// The array of inputs for the monitoring job. Currently we support monitoring
36657	// an Amazon SageMaker Endpoint.
36658	//
36659	// MonitoringInputs is a required field
36660	MonitoringInputs []*MonitoringInput `min:"1" type:"list" required:"true"`
36661
36662	// The array of outputs from the monitoring job to be uploaded to Amazon Simple
36663	// Storage Service (Amazon S3).
36664	//
36665	// MonitoringOutputConfig is a required field
36666	MonitoringOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"`
36667
36668	// Identifies the resources, ML compute instances, and ML storage volumes to
36669	// deploy for a monitoring job. In distributed processing, you specify more
36670	// than one instance.
36671	//
36672	// MonitoringResources is a required field
36673	MonitoringResources *MonitoringResources `type:"structure" required:"true"`
36674
36675	// Specifies networking options for an monitoring job.
36676	NetworkConfig *NetworkConfig `type:"structure"`
36677
36678	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
36679	// to perform tasks on your behalf.
36680	//
36681	// RoleArn is a required field
36682	RoleArn *string `min:"20" type:"string" required:"true"`
36683
36684	// Specifies a time limit for how long the monitoring job is allowed to run.
36685	StoppingCondition *MonitoringStoppingCondition `type:"structure"`
36686}
36687
36688// String returns the string representation
36689func (s MonitoringJobDefinition) String() string {
36690	return awsutil.Prettify(s)
36691}
36692
36693// GoString returns the string representation
36694func (s MonitoringJobDefinition) GoString() string {
36695	return s.String()
36696}
36697
36698// Validate inspects the fields of the type to determine if they are valid.
36699func (s *MonitoringJobDefinition) Validate() error {
36700	invalidParams := request.ErrInvalidParams{Context: "MonitoringJobDefinition"}
36701	if s.MonitoringAppSpecification == nil {
36702		invalidParams.Add(request.NewErrParamRequired("MonitoringAppSpecification"))
36703	}
36704	if s.MonitoringInputs == nil {
36705		invalidParams.Add(request.NewErrParamRequired("MonitoringInputs"))
36706	}
36707	if s.MonitoringInputs != nil && len(s.MonitoringInputs) < 1 {
36708		invalidParams.Add(request.NewErrParamMinLen("MonitoringInputs", 1))
36709	}
36710	if s.MonitoringOutputConfig == nil {
36711		invalidParams.Add(request.NewErrParamRequired("MonitoringOutputConfig"))
36712	}
36713	if s.MonitoringResources == nil {
36714		invalidParams.Add(request.NewErrParamRequired("MonitoringResources"))
36715	}
36716	if s.RoleArn == nil {
36717		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
36718	}
36719	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
36720		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
36721	}
36722	if s.MonitoringAppSpecification != nil {
36723		if err := s.MonitoringAppSpecification.Validate(); err != nil {
36724			invalidParams.AddNested("MonitoringAppSpecification", err.(request.ErrInvalidParams))
36725		}
36726	}
36727	if s.MonitoringInputs != nil {
36728		for i, v := range s.MonitoringInputs {
36729			if v == nil {
36730				continue
36731			}
36732			if err := v.Validate(); err != nil {
36733				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MonitoringInputs", i), err.(request.ErrInvalidParams))
36734			}
36735		}
36736	}
36737	if s.MonitoringOutputConfig != nil {
36738		if err := s.MonitoringOutputConfig.Validate(); err != nil {
36739			invalidParams.AddNested("MonitoringOutputConfig", err.(request.ErrInvalidParams))
36740		}
36741	}
36742	if s.MonitoringResources != nil {
36743		if err := s.MonitoringResources.Validate(); err != nil {
36744			invalidParams.AddNested("MonitoringResources", err.(request.ErrInvalidParams))
36745		}
36746	}
36747	if s.NetworkConfig != nil {
36748		if err := s.NetworkConfig.Validate(); err != nil {
36749			invalidParams.AddNested("NetworkConfig", err.(request.ErrInvalidParams))
36750		}
36751	}
36752	if s.StoppingCondition != nil {
36753		if err := s.StoppingCondition.Validate(); err != nil {
36754			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
36755		}
36756	}
36757
36758	if invalidParams.Len() > 0 {
36759		return invalidParams
36760	}
36761	return nil
36762}
36763
36764// SetBaselineConfig sets the BaselineConfig field's value.
36765func (s *MonitoringJobDefinition) SetBaselineConfig(v *MonitoringBaselineConfig) *MonitoringJobDefinition {
36766	s.BaselineConfig = v
36767	return s
36768}
36769
36770// SetEnvironment sets the Environment field's value.
36771func (s *MonitoringJobDefinition) SetEnvironment(v map[string]*string) *MonitoringJobDefinition {
36772	s.Environment = v
36773	return s
36774}
36775
36776// SetMonitoringAppSpecification sets the MonitoringAppSpecification field's value.
36777func (s *MonitoringJobDefinition) SetMonitoringAppSpecification(v *MonitoringAppSpecification) *MonitoringJobDefinition {
36778	s.MonitoringAppSpecification = v
36779	return s
36780}
36781
36782// SetMonitoringInputs sets the MonitoringInputs field's value.
36783func (s *MonitoringJobDefinition) SetMonitoringInputs(v []*MonitoringInput) *MonitoringJobDefinition {
36784	s.MonitoringInputs = v
36785	return s
36786}
36787
36788// SetMonitoringOutputConfig sets the MonitoringOutputConfig field's value.
36789func (s *MonitoringJobDefinition) SetMonitoringOutputConfig(v *MonitoringOutputConfig) *MonitoringJobDefinition {
36790	s.MonitoringOutputConfig = v
36791	return s
36792}
36793
36794// SetMonitoringResources sets the MonitoringResources field's value.
36795func (s *MonitoringJobDefinition) SetMonitoringResources(v *MonitoringResources) *MonitoringJobDefinition {
36796	s.MonitoringResources = v
36797	return s
36798}
36799
36800// SetNetworkConfig sets the NetworkConfig field's value.
36801func (s *MonitoringJobDefinition) SetNetworkConfig(v *NetworkConfig) *MonitoringJobDefinition {
36802	s.NetworkConfig = v
36803	return s
36804}
36805
36806// SetRoleArn sets the RoleArn field's value.
36807func (s *MonitoringJobDefinition) SetRoleArn(v string) *MonitoringJobDefinition {
36808	s.RoleArn = &v
36809	return s
36810}
36811
36812// SetStoppingCondition sets the StoppingCondition field's value.
36813func (s *MonitoringJobDefinition) SetStoppingCondition(v *MonitoringStoppingCondition) *MonitoringJobDefinition {
36814	s.StoppingCondition = v
36815	return s
36816}
36817
36818// The output object for a monitoring job.
36819type MonitoringOutput struct {
36820	_ struct{} `type:"structure"`
36821
36822	// The Amazon S3 storage location where the results of a monitoring job are
36823	// saved.
36824	//
36825	// S3Output is a required field
36826	S3Output *MonitoringS3Output `type:"structure" required:"true"`
36827}
36828
36829// String returns the string representation
36830func (s MonitoringOutput) String() string {
36831	return awsutil.Prettify(s)
36832}
36833
36834// GoString returns the string representation
36835func (s MonitoringOutput) GoString() string {
36836	return s.String()
36837}
36838
36839// Validate inspects the fields of the type to determine if they are valid.
36840func (s *MonitoringOutput) Validate() error {
36841	invalidParams := request.ErrInvalidParams{Context: "MonitoringOutput"}
36842	if s.S3Output == nil {
36843		invalidParams.Add(request.NewErrParamRequired("S3Output"))
36844	}
36845	if s.S3Output != nil {
36846		if err := s.S3Output.Validate(); err != nil {
36847			invalidParams.AddNested("S3Output", err.(request.ErrInvalidParams))
36848		}
36849	}
36850
36851	if invalidParams.Len() > 0 {
36852		return invalidParams
36853	}
36854	return nil
36855}
36856
36857// SetS3Output sets the S3Output field's value.
36858func (s *MonitoringOutput) SetS3Output(v *MonitoringS3Output) *MonitoringOutput {
36859	s.S3Output = v
36860	return s
36861}
36862
36863// The output configuration for monitoring jobs.
36864type MonitoringOutputConfig struct {
36865	_ struct{} `type:"structure"`
36866
36867	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
36868	// encrypt the model artifacts at rest using Amazon S3 server-side encryption.
36869	KmsKeyId *string `type:"string"`
36870
36871	// Monitoring outputs for monitoring jobs. This is where the output of the periodic
36872	// monitoring jobs is uploaded.
36873	//
36874	// MonitoringOutputs is a required field
36875	MonitoringOutputs []*MonitoringOutput `min:"1" type:"list" required:"true"`
36876}
36877
36878// String returns the string representation
36879func (s MonitoringOutputConfig) String() string {
36880	return awsutil.Prettify(s)
36881}
36882
36883// GoString returns the string representation
36884func (s MonitoringOutputConfig) GoString() string {
36885	return s.String()
36886}
36887
36888// Validate inspects the fields of the type to determine if they are valid.
36889func (s *MonitoringOutputConfig) Validate() error {
36890	invalidParams := request.ErrInvalidParams{Context: "MonitoringOutputConfig"}
36891	if s.MonitoringOutputs == nil {
36892		invalidParams.Add(request.NewErrParamRequired("MonitoringOutputs"))
36893	}
36894	if s.MonitoringOutputs != nil && len(s.MonitoringOutputs) < 1 {
36895		invalidParams.Add(request.NewErrParamMinLen("MonitoringOutputs", 1))
36896	}
36897	if s.MonitoringOutputs != nil {
36898		for i, v := range s.MonitoringOutputs {
36899			if v == nil {
36900				continue
36901			}
36902			if err := v.Validate(); err != nil {
36903				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MonitoringOutputs", i), err.(request.ErrInvalidParams))
36904			}
36905		}
36906	}
36907
36908	if invalidParams.Len() > 0 {
36909		return invalidParams
36910	}
36911	return nil
36912}
36913
36914// SetKmsKeyId sets the KmsKeyId field's value.
36915func (s *MonitoringOutputConfig) SetKmsKeyId(v string) *MonitoringOutputConfig {
36916	s.KmsKeyId = &v
36917	return s
36918}
36919
36920// SetMonitoringOutputs sets the MonitoringOutputs field's value.
36921func (s *MonitoringOutputConfig) SetMonitoringOutputs(v []*MonitoringOutput) *MonitoringOutputConfig {
36922	s.MonitoringOutputs = v
36923	return s
36924}
36925
36926// Identifies the resources to deploy for a monitoring job.
36927type MonitoringResources struct {
36928	_ struct{} `type:"structure"`
36929
36930	// The configuration for the cluster resources used to run the processing job.
36931	//
36932	// ClusterConfig is a required field
36933	ClusterConfig *MonitoringClusterConfig `type:"structure" required:"true"`
36934}
36935
36936// String returns the string representation
36937func (s MonitoringResources) String() string {
36938	return awsutil.Prettify(s)
36939}
36940
36941// GoString returns the string representation
36942func (s MonitoringResources) GoString() string {
36943	return s.String()
36944}
36945
36946// Validate inspects the fields of the type to determine if they are valid.
36947func (s *MonitoringResources) Validate() error {
36948	invalidParams := request.ErrInvalidParams{Context: "MonitoringResources"}
36949	if s.ClusterConfig == nil {
36950		invalidParams.Add(request.NewErrParamRequired("ClusterConfig"))
36951	}
36952	if s.ClusterConfig != nil {
36953		if err := s.ClusterConfig.Validate(); err != nil {
36954			invalidParams.AddNested("ClusterConfig", err.(request.ErrInvalidParams))
36955		}
36956	}
36957
36958	if invalidParams.Len() > 0 {
36959		return invalidParams
36960	}
36961	return nil
36962}
36963
36964// SetClusterConfig sets the ClusterConfig field's value.
36965func (s *MonitoringResources) SetClusterConfig(v *MonitoringClusterConfig) *MonitoringResources {
36966	s.ClusterConfig = v
36967	return s
36968}
36969
36970// Information about where and how you want to store the results of a monitoring
36971// job.
36972type MonitoringS3Output struct {
36973	_ struct{} `type:"structure"`
36974
36975	// The local path to the Amazon S3 storage location where Amazon SageMaker saves
36976	// the results of a monitoring job. LocalPath is an absolute path for the output
36977	// data.
36978	//
36979	// LocalPath is a required field
36980	LocalPath *string `type:"string" required:"true"`
36981
36982	// Whether to upload the results of the monitoring job continuously or after
36983	// the job completes.
36984	S3UploadMode *string `type:"string" enum:"ProcessingS3UploadMode"`
36985
36986	// A URI that identifies the Amazon S3 storage location where Amazon SageMaker
36987	// saves the results of a monitoring job.
36988	//
36989	// S3Uri is a required field
36990	S3Uri *string `type:"string" required:"true"`
36991}
36992
36993// String returns the string representation
36994func (s MonitoringS3Output) String() string {
36995	return awsutil.Prettify(s)
36996}
36997
36998// GoString returns the string representation
36999func (s MonitoringS3Output) GoString() string {
37000	return s.String()
37001}
37002
37003// Validate inspects the fields of the type to determine if they are valid.
37004func (s *MonitoringS3Output) Validate() error {
37005	invalidParams := request.ErrInvalidParams{Context: "MonitoringS3Output"}
37006	if s.LocalPath == nil {
37007		invalidParams.Add(request.NewErrParamRequired("LocalPath"))
37008	}
37009	if s.S3Uri == nil {
37010		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
37011	}
37012
37013	if invalidParams.Len() > 0 {
37014		return invalidParams
37015	}
37016	return nil
37017}
37018
37019// SetLocalPath sets the LocalPath field's value.
37020func (s *MonitoringS3Output) SetLocalPath(v string) *MonitoringS3Output {
37021	s.LocalPath = &v
37022	return s
37023}
37024
37025// SetS3UploadMode sets the S3UploadMode field's value.
37026func (s *MonitoringS3Output) SetS3UploadMode(v string) *MonitoringS3Output {
37027	s.S3UploadMode = &v
37028	return s
37029}
37030
37031// SetS3Uri sets the S3Uri field's value.
37032func (s *MonitoringS3Output) SetS3Uri(v string) *MonitoringS3Output {
37033	s.S3Uri = &v
37034	return s
37035}
37036
37037// Configures the monitoring schedule and defines the monitoring job.
37038type MonitoringScheduleConfig struct {
37039	_ struct{} `type:"structure"`
37040
37041	// Defines the monitoring job.
37042	//
37043	// MonitoringJobDefinition is a required field
37044	MonitoringJobDefinition *MonitoringJobDefinition `type:"structure" required:"true"`
37045
37046	// Configures the monitoring schedule.
37047	ScheduleConfig *ScheduleConfig `type:"structure"`
37048}
37049
37050// String returns the string representation
37051func (s MonitoringScheduleConfig) String() string {
37052	return awsutil.Prettify(s)
37053}
37054
37055// GoString returns the string representation
37056func (s MonitoringScheduleConfig) GoString() string {
37057	return s.String()
37058}
37059
37060// Validate inspects the fields of the type to determine if they are valid.
37061func (s *MonitoringScheduleConfig) Validate() error {
37062	invalidParams := request.ErrInvalidParams{Context: "MonitoringScheduleConfig"}
37063	if s.MonitoringJobDefinition == nil {
37064		invalidParams.Add(request.NewErrParamRequired("MonitoringJobDefinition"))
37065	}
37066	if s.MonitoringJobDefinition != nil {
37067		if err := s.MonitoringJobDefinition.Validate(); err != nil {
37068			invalidParams.AddNested("MonitoringJobDefinition", err.(request.ErrInvalidParams))
37069		}
37070	}
37071	if s.ScheduleConfig != nil {
37072		if err := s.ScheduleConfig.Validate(); err != nil {
37073			invalidParams.AddNested("ScheduleConfig", err.(request.ErrInvalidParams))
37074		}
37075	}
37076
37077	if invalidParams.Len() > 0 {
37078		return invalidParams
37079	}
37080	return nil
37081}
37082
37083// SetMonitoringJobDefinition sets the MonitoringJobDefinition field's value.
37084func (s *MonitoringScheduleConfig) SetMonitoringJobDefinition(v *MonitoringJobDefinition) *MonitoringScheduleConfig {
37085	s.MonitoringJobDefinition = v
37086	return s
37087}
37088
37089// SetScheduleConfig sets the ScheduleConfig field's value.
37090func (s *MonitoringScheduleConfig) SetScheduleConfig(v *ScheduleConfig) *MonitoringScheduleConfig {
37091	s.ScheduleConfig = v
37092	return s
37093}
37094
37095// Summarizes the monitoring schedule.
37096type MonitoringScheduleSummary struct {
37097	_ struct{} `type:"structure"`
37098
37099	// The creation time of the monitoring schedule.
37100	//
37101	// CreationTime is a required field
37102	CreationTime *time.Time `type:"timestamp" required:"true"`
37103
37104	// The name of the endpoint using the monitoring schedule.
37105	EndpointName *string `type:"string"`
37106
37107	// The last time the monitoring schedule was modified.
37108	//
37109	// LastModifiedTime is a required field
37110	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
37111
37112	// The Amazon Resource Name (ARN) of the monitoring schedule.
37113	//
37114	// MonitoringScheduleArn is a required field
37115	MonitoringScheduleArn *string `type:"string" required:"true"`
37116
37117	// The name of the monitoring schedule.
37118	//
37119	// MonitoringScheduleName is a required field
37120	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
37121
37122	// The status of the monitoring schedule.
37123	//
37124	// MonitoringScheduleStatus is a required field
37125	MonitoringScheduleStatus *string `type:"string" required:"true" enum:"ScheduleStatus"`
37126}
37127
37128// String returns the string representation
37129func (s MonitoringScheduleSummary) String() string {
37130	return awsutil.Prettify(s)
37131}
37132
37133// GoString returns the string representation
37134func (s MonitoringScheduleSummary) GoString() string {
37135	return s.String()
37136}
37137
37138// SetCreationTime sets the CreationTime field's value.
37139func (s *MonitoringScheduleSummary) SetCreationTime(v time.Time) *MonitoringScheduleSummary {
37140	s.CreationTime = &v
37141	return s
37142}
37143
37144// SetEndpointName sets the EndpointName field's value.
37145func (s *MonitoringScheduleSummary) SetEndpointName(v string) *MonitoringScheduleSummary {
37146	s.EndpointName = &v
37147	return s
37148}
37149
37150// SetLastModifiedTime sets the LastModifiedTime field's value.
37151func (s *MonitoringScheduleSummary) SetLastModifiedTime(v time.Time) *MonitoringScheduleSummary {
37152	s.LastModifiedTime = &v
37153	return s
37154}
37155
37156// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
37157func (s *MonitoringScheduleSummary) SetMonitoringScheduleArn(v string) *MonitoringScheduleSummary {
37158	s.MonitoringScheduleArn = &v
37159	return s
37160}
37161
37162// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
37163func (s *MonitoringScheduleSummary) SetMonitoringScheduleName(v string) *MonitoringScheduleSummary {
37164	s.MonitoringScheduleName = &v
37165	return s
37166}
37167
37168// SetMonitoringScheduleStatus sets the MonitoringScheduleStatus field's value.
37169func (s *MonitoringScheduleSummary) SetMonitoringScheduleStatus(v string) *MonitoringScheduleSummary {
37170	s.MonitoringScheduleStatus = &v
37171	return s
37172}
37173
37174// The statistics resource for a monitoring job.
37175type MonitoringStatisticsResource struct {
37176	_ struct{} `type:"structure"`
37177
37178	// The Amazon S3 URI for the statistics resource.
37179	S3Uri *string `type:"string"`
37180}
37181
37182// String returns the string representation
37183func (s MonitoringStatisticsResource) String() string {
37184	return awsutil.Prettify(s)
37185}
37186
37187// GoString returns the string representation
37188func (s MonitoringStatisticsResource) GoString() string {
37189	return s.String()
37190}
37191
37192// SetS3Uri sets the S3Uri field's value.
37193func (s *MonitoringStatisticsResource) SetS3Uri(v string) *MonitoringStatisticsResource {
37194	s.S3Uri = &v
37195	return s
37196}
37197
37198// A time limit for how long the monitoring job is allowed to run before stopping.
37199type MonitoringStoppingCondition struct {
37200	_ struct{} `type:"structure"`
37201
37202	// The maximum runtime allowed in seconds.
37203	//
37204	// MaxRuntimeInSeconds is a required field
37205	MaxRuntimeInSeconds *int64 `min:"1" type:"integer" required:"true"`
37206}
37207
37208// String returns the string representation
37209func (s MonitoringStoppingCondition) String() string {
37210	return awsutil.Prettify(s)
37211}
37212
37213// GoString returns the string representation
37214func (s MonitoringStoppingCondition) GoString() string {
37215	return s.String()
37216}
37217
37218// Validate inspects the fields of the type to determine if they are valid.
37219func (s *MonitoringStoppingCondition) Validate() error {
37220	invalidParams := request.ErrInvalidParams{Context: "MonitoringStoppingCondition"}
37221	if s.MaxRuntimeInSeconds == nil {
37222		invalidParams.Add(request.NewErrParamRequired("MaxRuntimeInSeconds"))
37223	}
37224	if s.MaxRuntimeInSeconds != nil && *s.MaxRuntimeInSeconds < 1 {
37225		invalidParams.Add(request.NewErrParamMinValue("MaxRuntimeInSeconds", 1))
37226	}
37227
37228	if invalidParams.Len() > 0 {
37229		return invalidParams
37230	}
37231	return nil
37232}
37233
37234// SetMaxRuntimeInSeconds sets the MaxRuntimeInSeconds field's value.
37235func (s *MonitoringStoppingCondition) SetMaxRuntimeInSeconds(v int64) *MonitoringStoppingCondition {
37236	s.MaxRuntimeInSeconds = &v
37237	return s
37238}
37239
37240// A list of nested Filter objects. A resource must satisfy the conditions of
37241// all filters to be included in the results returned from the Search API.
37242//
37243// For example, to filter on a training job's InputDataConfig property with
37244// a specific channel name and S3Uri prefix, define the following filters:
37245//
37246//    * '{Name:"InputDataConfig.ChannelName", "Operator":"Equals", "Value":"train"}',
37247//
37248//    * '{Name:"InputDataConfig.DataSource.S3DataSource.S3Uri", "Operator":"Contains",
37249//    "Value":"mybucket/catdata"}'
37250type NestedFilters struct {
37251	_ struct{} `type:"structure"`
37252
37253	// A list of filters. Each filter acts on a property. Filters must contain at
37254	// least one Filters value. For example, a NestedFilters call might include
37255	// a filter on the PropertyName parameter of the InputDataConfig property: InputDataConfig.DataSource.S3DataSource.S3Uri.
37256	//
37257	// Filters is a required field
37258	Filters []*Filter `min:"1" type:"list" required:"true"`
37259
37260	// The name of the property to use in the nested filters. The value must match
37261	// a listed property name, such as InputDataConfig.
37262	//
37263	// NestedPropertyName is a required field
37264	NestedPropertyName *string `min:"1" type:"string" required:"true"`
37265}
37266
37267// String returns the string representation
37268func (s NestedFilters) String() string {
37269	return awsutil.Prettify(s)
37270}
37271
37272// GoString returns the string representation
37273func (s NestedFilters) GoString() string {
37274	return s.String()
37275}
37276
37277// Validate inspects the fields of the type to determine if they are valid.
37278func (s *NestedFilters) Validate() error {
37279	invalidParams := request.ErrInvalidParams{Context: "NestedFilters"}
37280	if s.Filters == nil {
37281		invalidParams.Add(request.NewErrParamRequired("Filters"))
37282	}
37283	if s.Filters != nil && len(s.Filters) < 1 {
37284		invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
37285	}
37286	if s.NestedPropertyName == nil {
37287		invalidParams.Add(request.NewErrParamRequired("NestedPropertyName"))
37288	}
37289	if s.NestedPropertyName != nil && len(*s.NestedPropertyName) < 1 {
37290		invalidParams.Add(request.NewErrParamMinLen("NestedPropertyName", 1))
37291	}
37292	if s.Filters != nil {
37293		for i, v := range s.Filters {
37294			if v == nil {
37295				continue
37296			}
37297			if err := v.Validate(); err != nil {
37298				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
37299			}
37300		}
37301	}
37302
37303	if invalidParams.Len() > 0 {
37304		return invalidParams
37305	}
37306	return nil
37307}
37308
37309// SetFilters sets the Filters field's value.
37310func (s *NestedFilters) SetFilters(v []*Filter) *NestedFilters {
37311	s.Filters = v
37312	return s
37313}
37314
37315// SetNestedPropertyName sets the NestedPropertyName field's value.
37316func (s *NestedFilters) SetNestedPropertyName(v string) *NestedFilters {
37317	s.NestedPropertyName = &v
37318	return s
37319}
37320
37321// Networking options for a job, such as network traffic encryption between
37322// containers, whether to allow inbound and outbound network calls to and from
37323// containers, and the VPC subnets and security groups to use for VPC-enabled
37324// jobs.
37325type NetworkConfig struct {
37326	_ struct{} `type:"structure"`
37327
37328	// Whether to encrypt all communications between distributed processing jobs.
37329	// Choose True to encrypt communications. Encryption provides greater security
37330	// for distributed processing jobs, but the processing might take longer.
37331	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
37332
37333	// Whether to allow inbound and outbound network calls to and from the containers
37334	// used for the processing job.
37335	EnableNetworkIsolation *bool `type:"boolean"`
37336
37337	// Specifies a VPC that your training jobs and hosted models have access to.
37338	// Control access to and from your training and model containers by configuring
37339	// the VPC. For more information, see Protect Endpoints by Using an Amazon Virtual
37340	// Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html)
37341	// and Protect Training Jobs by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
37342	VpcConfig *VpcConfig `type:"structure"`
37343}
37344
37345// String returns the string representation
37346func (s NetworkConfig) String() string {
37347	return awsutil.Prettify(s)
37348}
37349
37350// GoString returns the string representation
37351func (s NetworkConfig) GoString() string {
37352	return s.String()
37353}
37354
37355// Validate inspects the fields of the type to determine if they are valid.
37356func (s *NetworkConfig) Validate() error {
37357	invalidParams := request.ErrInvalidParams{Context: "NetworkConfig"}
37358	if s.VpcConfig != nil {
37359		if err := s.VpcConfig.Validate(); err != nil {
37360			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
37361		}
37362	}
37363
37364	if invalidParams.Len() > 0 {
37365		return invalidParams
37366	}
37367	return nil
37368}
37369
37370// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
37371func (s *NetworkConfig) SetEnableInterContainerTrafficEncryption(v bool) *NetworkConfig {
37372	s.EnableInterContainerTrafficEncryption = &v
37373	return s
37374}
37375
37376// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
37377func (s *NetworkConfig) SetEnableNetworkIsolation(v bool) *NetworkConfig {
37378	s.EnableNetworkIsolation = &v
37379	return s
37380}
37381
37382// SetVpcConfig sets the VpcConfig field's value.
37383func (s *NetworkConfig) SetVpcConfig(v *VpcConfig) *NetworkConfig {
37384	s.VpcConfig = v
37385	return s
37386}
37387
37388// Provides a summary of a notebook instance lifecycle configuration.
37389type NotebookInstanceLifecycleConfigSummary struct {
37390	_ struct{} `type:"structure"`
37391
37392	// A timestamp that tells when the lifecycle configuration was created.
37393	CreationTime *time.Time `type:"timestamp"`
37394
37395	// A timestamp that tells when the lifecycle configuration was last modified.
37396	LastModifiedTime *time.Time `type:"timestamp"`
37397
37398	// The Amazon Resource Name (ARN) of the lifecycle configuration.
37399	//
37400	// NotebookInstanceLifecycleConfigArn is a required field
37401	NotebookInstanceLifecycleConfigArn *string `type:"string" required:"true"`
37402
37403	// The name of the lifecycle configuration.
37404	//
37405	// NotebookInstanceLifecycleConfigName is a required field
37406	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
37407}
37408
37409// String returns the string representation
37410func (s NotebookInstanceLifecycleConfigSummary) String() string {
37411	return awsutil.Prettify(s)
37412}
37413
37414// GoString returns the string representation
37415func (s NotebookInstanceLifecycleConfigSummary) GoString() string {
37416	return s.String()
37417}
37418
37419// SetCreationTime sets the CreationTime field's value.
37420func (s *NotebookInstanceLifecycleConfigSummary) SetCreationTime(v time.Time) *NotebookInstanceLifecycleConfigSummary {
37421	s.CreationTime = &v
37422	return s
37423}
37424
37425// SetLastModifiedTime sets the LastModifiedTime field's value.
37426func (s *NotebookInstanceLifecycleConfigSummary) SetLastModifiedTime(v time.Time) *NotebookInstanceLifecycleConfigSummary {
37427	s.LastModifiedTime = &v
37428	return s
37429}
37430
37431// SetNotebookInstanceLifecycleConfigArn sets the NotebookInstanceLifecycleConfigArn field's value.
37432func (s *NotebookInstanceLifecycleConfigSummary) SetNotebookInstanceLifecycleConfigArn(v string) *NotebookInstanceLifecycleConfigSummary {
37433	s.NotebookInstanceLifecycleConfigArn = &v
37434	return s
37435}
37436
37437// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
37438func (s *NotebookInstanceLifecycleConfigSummary) SetNotebookInstanceLifecycleConfigName(v string) *NotebookInstanceLifecycleConfigSummary {
37439	s.NotebookInstanceLifecycleConfigName = &v
37440	return s
37441}
37442
37443// Contains the notebook instance lifecycle configuration script.
37444//
37445// Each lifecycle configuration script has a limit of 16384 characters.
37446//
37447// The value of the $PATH environment variable that is available to both scripts
37448// is /sbin:bin:/usr/sbin:/usr/bin.
37449//
37450// View CloudWatch Logs for notebook instance lifecycle configurations in log
37451// group /aws/sagemaker/NotebookInstances in log stream [notebook-instance-name]/[LifecycleConfigHook].
37452//
37453// Lifecycle configuration scripts cannot run for longer than 5 minutes. If
37454// a script runs for longer than 5 minutes, it fails and the notebook instance
37455// is not created or started.
37456//
37457// For information about notebook instance lifestyle configurations, see Step
37458// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
37459type NotebookInstanceLifecycleHook struct {
37460	_ struct{} `type:"structure"`
37461
37462	// A base64-encoded string that contains a shell script for a notebook instance
37463	// lifecycle configuration.
37464	Content *string `min:"1" type:"string"`
37465}
37466
37467// String returns the string representation
37468func (s NotebookInstanceLifecycleHook) String() string {
37469	return awsutil.Prettify(s)
37470}
37471
37472// GoString returns the string representation
37473func (s NotebookInstanceLifecycleHook) GoString() string {
37474	return s.String()
37475}
37476
37477// Validate inspects the fields of the type to determine if they are valid.
37478func (s *NotebookInstanceLifecycleHook) Validate() error {
37479	invalidParams := request.ErrInvalidParams{Context: "NotebookInstanceLifecycleHook"}
37480	if s.Content != nil && len(*s.Content) < 1 {
37481		invalidParams.Add(request.NewErrParamMinLen("Content", 1))
37482	}
37483
37484	if invalidParams.Len() > 0 {
37485		return invalidParams
37486	}
37487	return nil
37488}
37489
37490// SetContent sets the Content field's value.
37491func (s *NotebookInstanceLifecycleHook) SetContent(v string) *NotebookInstanceLifecycleHook {
37492	s.Content = &v
37493	return s
37494}
37495
37496// Provides summary information for an Amazon SageMaker notebook instance.
37497type NotebookInstanceSummary struct {
37498	_ struct{} `type:"structure"`
37499
37500	// An array of up to three Git repositories associated with the notebook instance.
37501	// These can be either the names of Git repositories stored as resources in
37502	// your account, or the URL of Git repositories in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
37503	// or in any other Git repository. These repositories are cloned at the same
37504	// level as the default repository of your notebook instance. For more information,
37505	// see Associating Git Repositories with Amazon SageMaker Notebook Instances
37506	// (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
37507	AdditionalCodeRepositories []*string `type:"list"`
37508
37509	// A timestamp that shows when the notebook instance was created.
37510	CreationTime *time.Time `type:"timestamp"`
37511
37512	// The Git repository associated with the notebook instance as its default code
37513	// repository. This can be either the name of a Git repository stored as a resource
37514	// in your account, or the URL of a Git repository in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
37515	// or in any other Git repository. When you open a notebook instance, it opens
37516	// in the directory that contains this repository. For more information, see
37517	// Associating Git Repositories with Amazon SageMaker Notebook Instances (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
37518	DefaultCodeRepository *string `min:"1" type:"string"`
37519
37520	// The type of ML compute instance that the notebook instance is running on.
37521	InstanceType *string `type:"string" enum:"InstanceType"`
37522
37523	// A timestamp that shows when the notebook instance was last modified.
37524	LastModifiedTime *time.Time `type:"timestamp"`
37525
37526	// The Amazon Resource Name (ARN) of the notebook instance.
37527	//
37528	// NotebookInstanceArn is a required field
37529	NotebookInstanceArn *string `type:"string" required:"true"`
37530
37531	// The name of a notebook instance lifecycle configuration associated with this
37532	// notebook instance.
37533	//
37534	// For information about notebook instance lifestyle configurations, see Step
37535	// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
37536	NotebookInstanceLifecycleConfigName *string `type:"string"`
37537
37538	// The name of the notebook instance that you want a summary for.
37539	//
37540	// NotebookInstanceName is a required field
37541	NotebookInstanceName *string `type:"string" required:"true"`
37542
37543	// The status of the notebook instance.
37544	NotebookInstanceStatus *string `type:"string" enum:"NotebookInstanceStatus"`
37545
37546	// The URL that you use to connect to the Jupyter instance running in your notebook
37547	// instance.
37548	Url *string `type:"string"`
37549}
37550
37551// String returns the string representation
37552func (s NotebookInstanceSummary) String() string {
37553	return awsutil.Prettify(s)
37554}
37555
37556// GoString returns the string representation
37557func (s NotebookInstanceSummary) GoString() string {
37558	return s.String()
37559}
37560
37561// SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value.
37562func (s *NotebookInstanceSummary) SetAdditionalCodeRepositories(v []*string) *NotebookInstanceSummary {
37563	s.AdditionalCodeRepositories = v
37564	return s
37565}
37566
37567// SetCreationTime sets the CreationTime field's value.
37568func (s *NotebookInstanceSummary) SetCreationTime(v time.Time) *NotebookInstanceSummary {
37569	s.CreationTime = &v
37570	return s
37571}
37572
37573// SetDefaultCodeRepository sets the DefaultCodeRepository field's value.
37574func (s *NotebookInstanceSummary) SetDefaultCodeRepository(v string) *NotebookInstanceSummary {
37575	s.DefaultCodeRepository = &v
37576	return s
37577}
37578
37579// SetInstanceType sets the InstanceType field's value.
37580func (s *NotebookInstanceSummary) SetInstanceType(v string) *NotebookInstanceSummary {
37581	s.InstanceType = &v
37582	return s
37583}
37584
37585// SetLastModifiedTime sets the LastModifiedTime field's value.
37586func (s *NotebookInstanceSummary) SetLastModifiedTime(v time.Time) *NotebookInstanceSummary {
37587	s.LastModifiedTime = &v
37588	return s
37589}
37590
37591// SetNotebookInstanceArn sets the NotebookInstanceArn field's value.
37592func (s *NotebookInstanceSummary) SetNotebookInstanceArn(v string) *NotebookInstanceSummary {
37593	s.NotebookInstanceArn = &v
37594	return s
37595}
37596
37597// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
37598func (s *NotebookInstanceSummary) SetNotebookInstanceLifecycleConfigName(v string) *NotebookInstanceSummary {
37599	s.NotebookInstanceLifecycleConfigName = &v
37600	return s
37601}
37602
37603// SetNotebookInstanceName sets the NotebookInstanceName field's value.
37604func (s *NotebookInstanceSummary) SetNotebookInstanceName(v string) *NotebookInstanceSummary {
37605	s.NotebookInstanceName = &v
37606	return s
37607}
37608
37609// SetNotebookInstanceStatus sets the NotebookInstanceStatus field's value.
37610func (s *NotebookInstanceSummary) SetNotebookInstanceStatus(v string) *NotebookInstanceSummary {
37611	s.NotebookInstanceStatus = &v
37612	return s
37613}
37614
37615// SetUrl sets the Url field's value.
37616func (s *NotebookInstanceSummary) SetUrl(v string) *NotebookInstanceSummary {
37617	s.Url = &v
37618	return s
37619}
37620
37621// Configures SNS notifications of available or expiring work items for work
37622// teams.
37623type NotificationConfiguration struct {
37624	_ struct{} `type:"structure"`
37625
37626	// The ARN for the SNS topic to which notifications should be published.
37627	NotificationTopicArn *string `type:"string"`
37628}
37629
37630// String returns the string representation
37631func (s NotificationConfiguration) String() string {
37632	return awsutil.Prettify(s)
37633}
37634
37635// GoString returns the string representation
37636func (s NotificationConfiguration) GoString() string {
37637	return s.String()
37638}
37639
37640// SetNotificationTopicArn sets the NotificationTopicArn field's value.
37641func (s *NotificationConfiguration) SetNotificationTopicArn(v string) *NotificationConfiguration {
37642	s.NotificationTopicArn = &v
37643	return s
37644}
37645
37646// Specifies the number of training jobs that this hyperparameter tuning job
37647// launched, categorized by the status of their objective metric. The objective
37648// metric status shows whether the final objective metric for the training job
37649// has been evaluated by the tuning job and used in the hyperparameter tuning
37650// process.
37651type ObjectiveStatusCounters struct {
37652	_ struct{} `type:"structure"`
37653
37654	// The number of training jobs whose final objective metric was not evaluated
37655	// and used in the hyperparameter tuning process. This typically occurs when
37656	// the training job failed or did not emit an objective metric.
37657	Failed *int64 `type:"integer"`
37658
37659	// The number of training jobs that are in progress and pending evaluation of
37660	// their final objective metric.
37661	Pending *int64 `type:"integer"`
37662
37663	// The number of training jobs whose final objective metric was evaluated by
37664	// the hyperparameter tuning job and used in the hyperparameter tuning process.
37665	Succeeded *int64 `type:"integer"`
37666}
37667
37668// String returns the string representation
37669func (s ObjectiveStatusCounters) String() string {
37670	return awsutil.Prettify(s)
37671}
37672
37673// GoString returns the string representation
37674func (s ObjectiveStatusCounters) GoString() string {
37675	return s.String()
37676}
37677
37678// SetFailed sets the Failed field's value.
37679func (s *ObjectiveStatusCounters) SetFailed(v int64) *ObjectiveStatusCounters {
37680	s.Failed = &v
37681	return s
37682}
37683
37684// SetPending sets the Pending field's value.
37685func (s *ObjectiveStatusCounters) SetPending(v int64) *ObjectiveStatusCounters {
37686	s.Pending = &v
37687	return s
37688}
37689
37690// SetSucceeded sets the Succeeded field's value.
37691func (s *ObjectiveStatusCounters) SetSucceeded(v int64) *ObjectiveStatusCounters {
37692	s.Succeeded = &v
37693	return s
37694}
37695
37696// Contains information about the output location for the compiled model and
37697// the device (target) that the model runs on.
37698type OutputConfig struct {
37699	_ struct{} `type:"structure"`
37700
37701	// Identifies the S3 path where you want Amazon SageMaker to store the model
37702	// artifacts. For example, s3://bucket-name/key-name-prefix.
37703	//
37704	// S3OutputLocation is a required field
37705	S3OutputLocation *string `type:"string" required:"true"`
37706
37707	// Identifies the device that you want to run your model on after it has been
37708	// compiled. For example: ml_c5.
37709	//
37710	// TargetDevice is a required field
37711	TargetDevice *string `type:"string" required:"true" enum:"TargetDevice"`
37712}
37713
37714// String returns the string representation
37715func (s OutputConfig) String() string {
37716	return awsutil.Prettify(s)
37717}
37718
37719// GoString returns the string representation
37720func (s OutputConfig) GoString() string {
37721	return s.String()
37722}
37723
37724// Validate inspects the fields of the type to determine if they are valid.
37725func (s *OutputConfig) Validate() error {
37726	invalidParams := request.ErrInvalidParams{Context: "OutputConfig"}
37727	if s.S3OutputLocation == nil {
37728		invalidParams.Add(request.NewErrParamRequired("S3OutputLocation"))
37729	}
37730	if s.TargetDevice == nil {
37731		invalidParams.Add(request.NewErrParamRequired("TargetDevice"))
37732	}
37733
37734	if invalidParams.Len() > 0 {
37735		return invalidParams
37736	}
37737	return nil
37738}
37739
37740// SetS3OutputLocation sets the S3OutputLocation field's value.
37741func (s *OutputConfig) SetS3OutputLocation(v string) *OutputConfig {
37742	s.S3OutputLocation = &v
37743	return s
37744}
37745
37746// SetTargetDevice sets the TargetDevice field's value.
37747func (s *OutputConfig) SetTargetDevice(v string) *OutputConfig {
37748	s.TargetDevice = &v
37749	return s
37750}
37751
37752// Provides information about how to store model training results (model artifacts).
37753type OutputDataConfig struct {
37754	_ struct{} `type:"structure"`
37755
37756	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
37757	// encrypt the model artifacts at rest using Amazon S3 server-side encryption.
37758	// The KmsKeyId can be any of the following formats:
37759	//
37760	//    * // KMS Key ID "1234abcd-12ab-34cd-56ef-1234567890ab"
37761	//
37762	//    * // Amazon Resource Name (ARN) of a KMS Key "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
37763	//
37764	//    * // KMS Key Alias "alias/ExampleAlias"
37765	//
37766	//    * // Amazon Resource Name (ARN) of a KMS Key Alias "arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"
37767	//
37768	// If you use a KMS key ID or an alias of your master key, the Amazon SageMaker
37769	// execution role must include permissions to call kms:Encrypt. If you don't
37770	// provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon
37771	// S3 for your role's account. Amazon SageMaker uses server-side encryption
37772	// with KMS-managed keys for OutputDataConfig. If you use a bucket policy with
37773	// an s3:PutObject permission that only allows objects with server-side encryption,
37774	// set the condition key of s3:x-amz-server-side-encryption to "aws:kms". For
37775	// more information, see KMS-Managed Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html)
37776	// in the Amazon Simple Storage Service Developer Guide.
37777	//
37778	// The KMS key policy must grant permission to the IAM role that you specify
37779	// in your CreateTrainingJob, CreateTransformJob, or CreateHyperParameterTuningJob
37780	// requests. For more information, see Using Key Policies in AWS KMS (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html)
37781	// in the AWS Key Management Service Developer Guide.
37782	KmsKeyId *string `type:"string"`
37783
37784	// Identifies the S3 path where you want Amazon SageMaker to store the model
37785	// artifacts. For example, s3://bucket-name/key-name-prefix.
37786	//
37787	// S3OutputPath is a required field
37788	S3OutputPath *string `type:"string" required:"true"`
37789}
37790
37791// String returns the string representation
37792func (s OutputDataConfig) String() string {
37793	return awsutil.Prettify(s)
37794}
37795
37796// GoString returns the string representation
37797func (s OutputDataConfig) GoString() string {
37798	return s.String()
37799}
37800
37801// Validate inspects the fields of the type to determine if they are valid.
37802func (s *OutputDataConfig) Validate() error {
37803	invalidParams := request.ErrInvalidParams{Context: "OutputDataConfig"}
37804	if s.S3OutputPath == nil {
37805		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
37806	}
37807
37808	if invalidParams.Len() > 0 {
37809		return invalidParams
37810	}
37811	return nil
37812}
37813
37814// SetKmsKeyId sets the KmsKeyId field's value.
37815func (s *OutputDataConfig) SetKmsKeyId(v string) *OutputDataConfig {
37816	s.KmsKeyId = &v
37817	return s
37818}
37819
37820// SetS3OutputPath sets the S3OutputPath field's value.
37821func (s *OutputDataConfig) SetS3OutputPath(v string) *OutputDataConfig {
37822	s.S3OutputPath = &v
37823	return s
37824}
37825
37826// Defines the possible values for categorical, continuous, and integer hyperparameters
37827// to be used by an algorithm.
37828type ParameterRange struct {
37829	_ struct{} `type:"structure"`
37830
37831	// A CategoricalParameterRangeSpecification object that defines the possible
37832	// values for a categorical hyperparameter.
37833	CategoricalParameterRangeSpecification *CategoricalParameterRangeSpecification `type:"structure"`
37834
37835	// A ContinuousParameterRangeSpecification object that defines the possible
37836	// values for a continuous hyperparameter.
37837	ContinuousParameterRangeSpecification *ContinuousParameterRangeSpecification `type:"structure"`
37838
37839	// A IntegerParameterRangeSpecification object that defines the possible values
37840	// for an integer hyperparameter.
37841	IntegerParameterRangeSpecification *IntegerParameterRangeSpecification `type:"structure"`
37842}
37843
37844// String returns the string representation
37845func (s ParameterRange) String() string {
37846	return awsutil.Prettify(s)
37847}
37848
37849// GoString returns the string representation
37850func (s ParameterRange) GoString() string {
37851	return s.String()
37852}
37853
37854// Validate inspects the fields of the type to determine if they are valid.
37855func (s *ParameterRange) Validate() error {
37856	invalidParams := request.ErrInvalidParams{Context: "ParameterRange"}
37857	if s.CategoricalParameterRangeSpecification != nil {
37858		if err := s.CategoricalParameterRangeSpecification.Validate(); err != nil {
37859			invalidParams.AddNested("CategoricalParameterRangeSpecification", err.(request.ErrInvalidParams))
37860		}
37861	}
37862	if s.ContinuousParameterRangeSpecification != nil {
37863		if err := s.ContinuousParameterRangeSpecification.Validate(); err != nil {
37864			invalidParams.AddNested("ContinuousParameterRangeSpecification", err.(request.ErrInvalidParams))
37865		}
37866	}
37867	if s.IntegerParameterRangeSpecification != nil {
37868		if err := s.IntegerParameterRangeSpecification.Validate(); err != nil {
37869			invalidParams.AddNested("IntegerParameterRangeSpecification", err.(request.ErrInvalidParams))
37870		}
37871	}
37872
37873	if invalidParams.Len() > 0 {
37874		return invalidParams
37875	}
37876	return nil
37877}
37878
37879// SetCategoricalParameterRangeSpecification sets the CategoricalParameterRangeSpecification field's value.
37880func (s *ParameterRange) SetCategoricalParameterRangeSpecification(v *CategoricalParameterRangeSpecification) *ParameterRange {
37881	s.CategoricalParameterRangeSpecification = v
37882	return s
37883}
37884
37885// SetContinuousParameterRangeSpecification sets the ContinuousParameterRangeSpecification field's value.
37886func (s *ParameterRange) SetContinuousParameterRangeSpecification(v *ContinuousParameterRangeSpecification) *ParameterRange {
37887	s.ContinuousParameterRangeSpecification = v
37888	return s
37889}
37890
37891// SetIntegerParameterRangeSpecification sets the IntegerParameterRangeSpecification field's value.
37892func (s *ParameterRange) SetIntegerParameterRangeSpecification(v *IntegerParameterRangeSpecification) *ParameterRange {
37893	s.IntegerParameterRangeSpecification = v
37894	return s
37895}
37896
37897// Specifies ranges of integer, continuous, and categorical hyperparameters
37898// that a hyperparameter tuning job searches. The hyperparameter tuning job
37899// launches training jobs with hyperparameter values within these ranges to
37900// find the combination of values that result in the training job with the best
37901// performance as measured by the objective metric of the hyperparameter tuning
37902// job.
37903//
37904// You can specify a maximum of 20 hyperparameters that a hyperparameter tuning
37905// job can search over. Every possible value of a categorical parameter range
37906// counts against this limit.
37907type ParameterRanges struct {
37908	_ struct{} `type:"structure"`
37909
37910	// The array of CategoricalParameterRange objects that specify ranges of categorical
37911	// hyperparameters that a hyperparameter tuning job searches.
37912	CategoricalParameterRanges []*CategoricalParameterRange `type:"list"`
37913
37914	// The array of ContinuousParameterRange objects that specify ranges of continuous
37915	// hyperparameters that a hyperparameter tuning job searches.
37916	ContinuousParameterRanges []*ContinuousParameterRange `type:"list"`
37917
37918	// The array of IntegerParameterRange objects that specify ranges of integer
37919	// hyperparameters that a hyperparameter tuning job searches.
37920	IntegerParameterRanges []*IntegerParameterRange `type:"list"`
37921}
37922
37923// String returns the string representation
37924func (s ParameterRanges) String() string {
37925	return awsutil.Prettify(s)
37926}
37927
37928// GoString returns the string representation
37929func (s ParameterRanges) GoString() string {
37930	return s.String()
37931}
37932
37933// Validate inspects the fields of the type to determine if they are valid.
37934func (s *ParameterRanges) Validate() error {
37935	invalidParams := request.ErrInvalidParams{Context: "ParameterRanges"}
37936	if s.CategoricalParameterRanges != nil {
37937		for i, v := range s.CategoricalParameterRanges {
37938			if v == nil {
37939				continue
37940			}
37941			if err := v.Validate(); err != nil {
37942				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CategoricalParameterRanges", i), err.(request.ErrInvalidParams))
37943			}
37944		}
37945	}
37946	if s.ContinuousParameterRanges != nil {
37947		for i, v := range s.ContinuousParameterRanges {
37948			if v == nil {
37949				continue
37950			}
37951			if err := v.Validate(); err != nil {
37952				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ContinuousParameterRanges", i), err.(request.ErrInvalidParams))
37953			}
37954		}
37955	}
37956	if s.IntegerParameterRanges != nil {
37957		for i, v := range s.IntegerParameterRanges {
37958			if v == nil {
37959				continue
37960			}
37961			if err := v.Validate(); err != nil {
37962				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "IntegerParameterRanges", i), err.(request.ErrInvalidParams))
37963			}
37964		}
37965	}
37966
37967	if invalidParams.Len() > 0 {
37968		return invalidParams
37969	}
37970	return nil
37971}
37972
37973// SetCategoricalParameterRanges sets the CategoricalParameterRanges field's value.
37974func (s *ParameterRanges) SetCategoricalParameterRanges(v []*CategoricalParameterRange) *ParameterRanges {
37975	s.CategoricalParameterRanges = v
37976	return s
37977}
37978
37979// SetContinuousParameterRanges sets the ContinuousParameterRanges field's value.
37980func (s *ParameterRanges) SetContinuousParameterRanges(v []*ContinuousParameterRange) *ParameterRanges {
37981	s.ContinuousParameterRanges = v
37982	return s
37983}
37984
37985// SetIntegerParameterRanges sets the IntegerParameterRanges field's value.
37986func (s *ParameterRanges) SetIntegerParameterRanges(v []*IntegerParameterRange) *ParameterRanges {
37987	s.IntegerParameterRanges = v
37988	return s
37989}
37990
37991// The trial that a trial component is associated with and the experiment the
37992// trial is part of. A component might not be associated with a trial. A component
37993// can be associated with multiple trials.
37994type Parent struct {
37995	_ struct{} `type:"structure"`
37996
37997	// The name of the experiment.
37998	ExperimentName *string `min:"1" type:"string"`
37999
38000	// The name of the trial.
38001	TrialName *string `min:"1" type:"string"`
38002}
38003
38004// String returns the string representation
38005func (s Parent) String() string {
38006	return awsutil.Prettify(s)
38007}
38008
38009// GoString returns the string representation
38010func (s Parent) GoString() string {
38011	return s.String()
38012}
38013
38014// SetExperimentName sets the ExperimentName field's value.
38015func (s *Parent) SetExperimentName(v string) *Parent {
38016	s.ExperimentName = &v
38017	return s
38018}
38019
38020// SetTrialName sets the TrialName field's value.
38021func (s *Parent) SetTrialName(v string) *Parent {
38022	s.TrialName = &v
38023	return s
38024}
38025
38026// A previously completed or stopped hyperparameter tuning job to be used as
38027// a starting point for a new hyperparameter tuning job.
38028type ParentHyperParameterTuningJob struct {
38029	_ struct{} `type:"structure"`
38030
38031	// The name of the hyperparameter tuning job to be used as a starting point
38032	// for a new hyperparameter tuning job.
38033	HyperParameterTuningJobName *string `min:"1" type:"string"`
38034}
38035
38036// String returns the string representation
38037func (s ParentHyperParameterTuningJob) String() string {
38038	return awsutil.Prettify(s)
38039}
38040
38041// GoString returns the string representation
38042func (s ParentHyperParameterTuningJob) GoString() string {
38043	return s.String()
38044}
38045
38046// Validate inspects the fields of the type to determine if they are valid.
38047func (s *ParentHyperParameterTuningJob) Validate() error {
38048	invalidParams := request.ErrInvalidParams{Context: "ParentHyperParameterTuningJob"}
38049	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
38050		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
38051	}
38052
38053	if invalidParams.Len() > 0 {
38054		return invalidParams
38055	}
38056	return nil
38057}
38058
38059// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
38060func (s *ParentHyperParameterTuningJob) SetHyperParameterTuningJobName(v string) *ParentHyperParameterTuningJob {
38061	s.HyperParameterTuningJobName = &v
38062	return s
38063}
38064
38065// Configuration for the cluster used to run a processing job.
38066type ProcessingClusterConfig struct {
38067	_ struct{} `type:"structure"`
38068
38069	// The number of ML compute instances to use in the processing job. For distributed
38070	// processing jobs, specify a value greater than 1. The default value is 1.
38071	//
38072	// InstanceCount is a required field
38073	InstanceCount *int64 `min:"1" type:"integer" required:"true"`
38074
38075	// The ML compute instance type for the processing job.
38076	//
38077	// InstanceType is a required field
38078	InstanceType *string `type:"string" required:"true" enum:"ProcessingInstanceType"`
38079
38080	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
38081	// encrypt data on the storage volume attached to the ML compute instance(s)
38082	// that run the processing job.
38083	VolumeKmsKeyId *string `type:"string"`
38084
38085	// The size of the ML storage volume in gigabytes that you want to provision.
38086	// You must specify sufficient ML storage for your scenario.
38087	//
38088	// VolumeSizeInGB is a required field
38089	VolumeSizeInGB *int64 `min:"1" type:"integer" required:"true"`
38090}
38091
38092// String returns the string representation
38093func (s ProcessingClusterConfig) String() string {
38094	return awsutil.Prettify(s)
38095}
38096
38097// GoString returns the string representation
38098func (s ProcessingClusterConfig) GoString() string {
38099	return s.String()
38100}
38101
38102// Validate inspects the fields of the type to determine if they are valid.
38103func (s *ProcessingClusterConfig) Validate() error {
38104	invalidParams := request.ErrInvalidParams{Context: "ProcessingClusterConfig"}
38105	if s.InstanceCount == nil {
38106		invalidParams.Add(request.NewErrParamRequired("InstanceCount"))
38107	}
38108	if s.InstanceCount != nil && *s.InstanceCount < 1 {
38109		invalidParams.Add(request.NewErrParamMinValue("InstanceCount", 1))
38110	}
38111	if s.InstanceType == nil {
38112		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
38113	}
38114	if s.VolumeSizeInGB == nil {
38115		invalidParams.Add(request.NewErrParamRequired("VolumeSizeInGB"))
38116	}
38117	if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 1 {
38118		invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 1))
38119	}
38120
38121	if invalidParams.Len() > 0 {
38122		return invalidParams
38123	}
38124	return nil
38125}
38126
38127// SetInstanceCount sets the InstanceCount field's value.
38128func (s *ProcessingClusterConfig) SetInstanceCount(v int64) *ProcessingClusterConfig {
38129	s.InstanceCount = &v
38130	return s
38131}
38132
38133// SetInstanceType sets the InstanceType field's value.
38134func (s *ProcessingClusterConfig) SetInstanceType(v string) *ProcessingClusterConfig {
38135	s.InstanceType = &v
38136	return s
38137}
38138
38139// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
38140func (s *ProcessingClusterConfig) SetVolumeKmsKeyId(v string) *ProcessingClusterConfig {
38141	s.VolumeKmsKeyId = &v
38142	return s
38143}
38144
38145// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
38146func (s *ProcessingClusterConfig) SetVolumeSizeInGB(v int64) *ProcessingClusterConfig {
38147	s.VolumeSizeInGB = &v
38148	return s
38149}
38150
38151// The inputs for a processing job.
38152type ProcessingInput struct {
38153	_ struct{} `type:"structure"`
38154
38155	// The name of the inputs for the processing job.
38156	//
38157	// InputName is a required field
38158	InputName *string `type:"string" required:"true"`
38159
38160	// The S3 inputs for the processing job.
38161	//
38162	// S3Input is a required field
38163	S3Input *ProcessingS3Input `type:"structure" required:"true"`
38164}
38165
38166// String returns the string representation
38167func (s ProcessingInput) String() string {
38168	return awsutil.Prettify(s)
38169}
38170
38171// GoString returns the string representation
38172func (s ProcessingInput) GoString() string {
38173	return s.String()
38174}
38175
38176// Validate inspects the fields of the type to determine if they are valid.
38177func (s *ProcessingInput) Validate() error {
38178	invalidParams := request.ErrInvalidParams{Context: "ProcessingInput"}
38179	if s.InputName == nil {
38180		invalidParams.Add(request.NewErrParamRequired("InputName"))
38181	}
38182	if s.S3Input == nil {
38183		invalidParams.Add(request.NewErrParamRequired("S3Input"))
38184	}
38185	if s.S3Input != nil {
38186		if err := s.S3Input.Validate(); err != nil {
38187			invalidParams.AddNested("S3Input", err.(request.ErrInvalidParams))
38188		}
38189	}
38190
38191	if invalidParams.Len() > 0 {
38192		return invalidParams
38193	}
38194	return nil
38195}
38196
38197// SetInputName sets the InputName field's value.
38198func (s *ProcessingInput) SetInputName(v string) *ProcessingInput {
38199	s.InputName = &v
38200	return s
38201}
38202
38203// SetS3Input sets the S3Input field's value.
38204func (s *ProcessingInput) SetS3Input(v *ProcessingS3Input) *ProcessingInput {
38205	s.S3Input = v
38206	return s
38207}
38208
38209// An Amazon SageMaker processing job that is used to analyze data and evaluate
38210// models. For more information, see Process Data and Evaluate Models (https://docs.aws.amazon.com/sagemaker/latest/dg/processing-job.html).
38211type ProcessingJob struct {
38212	_ struct{} `type:"structure"`
38213
38214	// Configuration to run a processing job in a specified container image.
38215	AppSpecification *AppSpecification `type:"structure"`
38216
38217	// The Amazon Resource Name (ARN) of the AutoML job associated with this processing
38218	// job.
38219	AutoMLJobArn *string `min:"1" type:"string"`
38220
38221	// The time the processing job was created.
38222	CreationTime *time.Time `type:"timestamp"`
38223
38224	// Sets the environment variables in the Docker container.
38225	Environment map[string]*string `type:"map"`
38226
38227	// A string, up to one KB in size, that contains metadata from the processing
38228	// container when the processing job exits.
38229	ExitMessage *string `type:"string"`
38230
38231	// Configuration for the experiment.
38232	ExperimentConfig *ExperimentConfig `type:"structure"`
38233
38234	// A string, up to one KB in size, that contains the reason a processing job
38235	// failed, if it failed.
38236	FailureReason *string `type:"string"`
38237
38238	// The time the processing job was last modified.
38239	LastModifiedTime *time.Time `type:"timestamp"`
38240
38241	// The ARN of a monitoring schedule for an endpoint associated with this processing
38242	// job.
38243	MonitoringScheduleArn *string `type:"string"`
38244
38245	// Networking options for a job, such as network traffic encryption between
38246	// containers, whether to allow inbound and outbound network calls to and from
38247	// containers, and the VPC subnets and security groups to use for VPC-enabled
38248	// jobs.
38249	NetworkConfig *NetworkConfig `type:"structure"`
38250
38251	// The time that the processing job ended.
38252	ProcessingEndTime *time.Time `type:"timestamp"`
38253
38254	// For each input, data is downloaded from S3 into the processing container
38255	// before the processing job begins running if "S3InputMode" is set to File.
38256	ProcessingInputs []*ProcessingInput `type:"list"`
38257
38258	// The ARN of the processing job.
38259	ProcessingJobArn *string `type:"string"`
38260
38261	// The name of the processing job.
38262	ProcessingJobName *string `min:"1" type:"string"`
38263
38264	// The status of the processing job.
38265	ProcessingJobStatus *string `type:"string" enum:"ProcessingJobStatus"`
38266
38267	// The output configuration for the processing job.
38268	ProcessingOutputConfig *ProcessingOutputConfig `type:"structure"`
38269
38270	// Identifies the resources, ML compute instances, and ML storage volumes to
38271	// deploy for a processing job. In distributed training, you specify more than
38272	// one instance.
38273	ProcessingResources *ProcessingResources `type:"structure"`
38274
38275	// The time that the processing job started.
38276	ProcessingStartTime *time.Time `type:"timestamp"`
38277
38278	// The ARN of the role used to create the processing job.
38279	RoleArn *string `min:"20" type:"string"`
38280
38281	// Specifies a time limit for how long the processing job is allowed to run.
38282	StoppingCondition *ProcessingStoppingCondition `type:"structure"`
38283
38284	// An array of key-value pairs. For more information, see Using Cost Allocation
38285	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL)
38286	// in the AWS Billing and Cost Management User Guide.
38287	Tags []*Tag `type:"list"`
38288
38289	// The ARN of the training job associated with this processing job.
38290	TrainingJobArn *string `type:"string"`
38291}
38292
38293// String returns the string representation
38294func (s ProcessingJob) String() string {
38295	return awsutil.Prettify(s)
38296}
38297
38298// GoString returns the string representation
38299func (s ProcessingJob) GoString() string {
38300	return s.String()
38301}
38302
38303// SetAppSpecification sets the AppSpecification field's value.
38304func (s *ProcessingJob) SetAppSpecification(v *AppSpecification) *ProcessingJob {
38305	s.AppSpecification = v
38306	return s
38307}
38308
38309// SetAutoMLJobArn sets the AutoMLJobArn field's value.
38310func (s *ProcessingJob) SetAutoMLJobArn(v string) *ProcessingJob {
38311	s.AutoMLJobArn = &v
38312	return s
38313}
38314
38315// SetCreationTime sets the CreationTime field's value.
38316func (s *ProcessingJob) SetCreationTime(v time.Time) *ProcessingJob {
38317	s.CreationTime = &v
38318	return s
38319}
38320
38321// SetEnvironment sets the Environment field's value.
38322func (s *ProcessingJob) SetEnvironment(v map[string]*string) *ProcessingJob {
38323	s.Environment = v
38324	return s
38325}
38326
38327// SetExitMessage sets the ExitMessage field's value.
38328func (s *ProcessingJob) SetExitMessage(v string) *ProcessingJob {
38329	s.ExitMessage = &v
38330	return s
38331}
38332
38333// SetExperimentConfig sets the ExperimentConfig field's value.
38334func (s *ProcessingJob) SetExperimentConfig(v *ExperimentConfig) *ProcessingJob {
38335	s.ExperimentConfig = v
38336	return s
38337}
38338
38339// SetFailureReason sets the FailureReason field's value.
38340func (s *ProcessingJob) SetFailureReason(v string) *ProcessingJob {
38341	s.FailureReason = &v
38342	return s
38343}
38344
38345// SetLastModifiedTime sets the LastModifiedTime field's value.
38346func (s *ProcessingJob) SetLastModifiedTime(v time.Time) *ProcessingJob {
38347	s.LastModifiedTime = &v
38348	return s
38349}
38350
38351// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
38352func (s *ProcessingJob) SetMonitoringScheduleArn(v string) *ProcessingJob {
38353	s.MonitoringScheduleArn = &v
38354	return s
38355}
38356
38357// SetNetworkConfig sets the NetworkConfig field's value.
38358func (s *ProcessingJob) SetNetworkConfig(v *NetworkConfig) *ProcessingJob {
38359	s.NetworkConfig = v
38360	return s
38361}
38362
38363// SetProcessingEndTime sets the ProcessingEndTime field's value.
38364func (s *ProcessingJob) SetProcessingEndTime(v time.Time) *ProcessingJob {
38365	s.ProcessingEndTime = &v
38366	return s
38367}
38368
38369// SetProcessingInputs sets the ProcessingInputs field's value.
38370func (s *ProcessingJob) SetProcessingInputs(v []*ProcessingInput) *ProcessingJob {
38371	s.ProcessingInputs = v
38372	return s
38373}
38374
38375// SetProcessingJobArn sets the ProcessingJobArn field's value.
38376func (s *ProcessingJob) SetProcessingJobArn(v string) *ProcessingJob {
38377	s.ProcessingJobArn = &v
38378	return s
38379}
38380
38381// SetProcessingJobName sets the ProcessingJobName field's value.
38382func (s *ProcessingJob) SetProcessingJobName(v string) *ProcessingJob {
38383	s.ProcessingJobName = &v
38384	return s
38385}
38386
38387// SetProcessingJobStatus sets the ProcessingJobStatus field's value.
38388func (s *ProcessingJob) SetProcessingJobStatus(v string) *ProcessingJob {
38389	s.ProcessingJobStatus = &v
38390	return s
38391}
38392
38393// SetProcessingOutputConfig sets the ProcessingOutputConfig field's value.
38394func (s *ProcessingJob) SetProcessingOutputConfig(v *ProcessingOutputConfig) *ProcessingJob {
38395	s.ProcessingOutputConfig = v
38396	return s
38397}
38398
38399// SetProcessingResources sets the ProcessingResources field's value.
38400func (s *ProcessingJob) SetProcessingResources(v *ProcessingResources) *ProcessingJob {
38401	s.ProcessingResources = v
38402	return s
38403}
38404
38405// SetProcessingStartTime sets the ProcessingStartTime field's value.
38406func (s *ProcessingJob) SetProcessingStartTime(v time.Time) *ProcessingJob {
38407	s.ProcessingStartTime = &v
38408	return s
38409}
38410
38411// SetRoleArn sets the RoleArn field's value.
38412func (s *ProcessingJob) SetRoleArn(v string) *ProcessingJob {
38413	s.RoleArn = &v
38414	return s
38415}
38416
38417// SetStoppingCondition sets the StoppingCondition field's value.
38418func (s *ProcessingJob) SetStoppingCondition(v *ProcessingStoppingCondition) *ProcessingJob {
38419	s.StoppingCondition = v
38420	return s
38421}
38422
38423// SetTags sets the Tags field's value.
38424func (s *ProcessingJob) SetTags(v []*Tag) *ProcessingJob {
38425	s.Tags = v
38426	return s
38427}
38428
38429// SetTrainingJobArn sets the TrainingJobArn field's value.
38430func (s *ProcessingJob) SetTrainingJobArn(v string) *ProcessingJob {
38431	s.TrainingJobArn = &v
38432	return s
38433}
38434
38435// Summary of information about a processing job.
38436type ProcessingJobSummary struct {
38437	_ struct{} `type:"structure"`
38438
38439	// The time at which the processing job was created.
38440	//
38441	// CreationTime is a required field
38442	CreationTime *time.Time `type:"timestamp" required:"true"`
38443
38444	// An optional string, up to one KB in size, that contains metadata from the
38445	// processing container when the processing job exits.
38446	ExitMessage *string `type:"string"`
38447
38448	// A string, up to one KB in size, that contains the reason a processing job
38449	// failed, if it failed.
38450	FailureReason *string `type:"string"`
38451
38452	// A timestamp that indicates the last time the processing job was modified.
38453	LastModifiedTime *time.Time `type:"timestamp"`
38454
38455	// The time at which the processing job completed.
38456	ProcessingEndTime *time.Time `type:"timestamp"`
38457
38458	// The Amazon Resource Name (ARN) of the processing job..
38459	//
38460	// ProcessingJobArn is a required field
38461	ProcessingJobArn *string `type:"string" required:"true"`
38462
38463	// The name of the processing job.
38464	//
38465	// ProcessingJobName is a required field
38466	ProcessingJobName *string `min:"1" type:"string" required:"true"`
38467
38468	// The status of the processing job.
38469	//
38470	// ProcessingJobStatus is a required field
38471	ProcessingJobStatus *string `type:"string" required:"true" enum:"ProcessingJobStatus"`
38472}
38473
38474// String returns the string representation
38475func (s ProcessingJobSummary) String() string {
38476	return awsutil.Prettify(s)
38477}
38478
38479// GoString returns the string representation
38480func (s ProcessingJobSummary) GoString() string {
38481	return s.String()
38482}
38483
38484// SetCreationTime sets the CreationTime field's value.
38485func (s *ProcessingJobSummary) SetCreationTime(v time.Time) *ProcessingJobSummary {
38486	s.CreationTime = &v
38487	return s
38488}
38489
38490// SetExitMessage sets the ExitMessage field's value.
38491func (s *ProcessingJobSummary) SetExitMessage(v string) *ProcessingJobSummary {
38492	s.ExitMessage = &v
38493	return s
38494}
38495
38496// SetFailureReason sets the FailureReason field's value.
38497func (s *ProcessingJobSummary) SetFailureReason(v string) *ProcessingJobSummary {
38498	s.FailureReason = &v
38499	return s
38500}
38501
38502// SetLastModifiedTime sets the LastModifiedTime field's value.
38503func (s *ProcessingJobSummary) SetLastModifiedTime(v time.Time) *ProcessingJobSummary {
38504	s.LastModifiedTime = &v
38505	return s
38506}
38507
38508// SetProcessingEndTime sets the ProcessingEndTime field's value.
38509func (s *ProcessingJobSummary) SetProcessingEndTime(v time.Time) *ProcessingJobSummary {
38510	s.ProcessingEndTime = &v
38511	return s
38512}
38513
38514// SetProcessingJobArn sets the ProcessingJobArn field's value.
38515func (s *ProcessingJobSummary) SetProcessingJobArn(v string) *ProcessingJobSummary {
38516	s.ProcessingJobArn = &v
38517	return s
38518}
38519
38520// SetProcessingJobName sets the ProcessingJobName field's value.
38521func (s *ProcessingJobSummary) SetProcessingJobName(v string) *ProcessingJobSummary {
38522	s.ProcessingJobName = &v
38523	return s
38524}
38525
38526// SetProcessingJobStatus sets the ProcessingJobStatus field's value.
38527func (s *ProcessingJobSummary) SetProcessingJobStatus(v string) *ProcessingJobSummary {
38528	s.ProcessingJobStatus = &v
38529	return s
38530}
38531
38532// Describes the results of a processing job.
38533type ProcessingOutput struct {
38534	_ struct{} `type:"structure"`
38535
38536	// The name for the processing job output.
38537	//
38538	// OutputName is a required field
38539	OutputName *string `type:"string" required:"true"`
38540
38541	// Configuration for processing job outputs in Amazon S3.
38542	//
38543	// S3Output is a required field
38544	S3Output *ProcessingS3Output `type:"structure" required:"true"`
38545}
38546
38547// String returns the string representation
38548func (s ProcessingOutput) String() string {
38549	return awsutil.Prettify(s)
38550}
38551
38552// GoString returns the string representation
38553func (s ProcessingOutput) GoString() string {
38554	return s.String()
38555}
38556
38557// Validate inspects the fields of the type to determine if they are valid.
38558func (s *ProcessingOutput) Validate() error {
38559	invalidParams := request.ErrInvalidParams{Context: "ProcessingOutput"}
38560	if s.OutputName == nil {
38561		invalidParams.Add(request.NewErrParamRequired("OutputName"))
38562	}
38563	if s.S3Output == nil {
38564		invalidParams.Add(request.NewErrParamRequired("S3Output"))
38565	}
38566	if s.S3Output != nil {
38567		if err := s.S3Output.Validate(); err != nil {
38568			invalidParams.AddNested("S3Output", err.(request.ErrInvalidParams))
38569		}
38570	}
38571
38572	if invalidParams.Len() > 0 {
38573		return invalidParams
38574	}
38575	return nil
38576}
38577
38578// SetOutputName sets the OutputName field's value.
38579func (s *ProcessingOutput) SetOutputName(v string) *ProcessingOutput {
38580	s.OutputName = &v
38581	return s
38582}
38583
38584// SetS3Output sets the S3Output field's value.
38585func (s *ProcessingOutput) SetS3Output(v *ProcessingS3Output) *ProcessingOutput {
38586	s.S3Output = v
38587	return s
38588}
38589
38590// The output configuration for the processing job.
38591type ProcessingOutputConfig struct {
38592	_ struct{} `type:"structure"`
38593
38594	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
38595	// encrypt the processing job output. KmsKeyId can be an ID of a KMS key, ARN
38596	// of a KMS key, alias of a KMS key, or alias of a KMS key. The KmsKeyId is
38597	// applied to all outputs.
38598	KmsKeyId *string `type:"string"`
38599
38600	// Output configuration information for a processing job.
38601	//
38602	// Outputs is a required field
38603	Outputs []*ProcessingOutput `type:"list" required:"true"`
38604}
38605
38606// String returns the string representation
38607func (s ProcessingOutputConfig) String() string {
38608	return awsutil.Prettify(s)
38609}
38610
38611// GoString returns the string representation
38612func (s ProcessingOutputConfig) GoString() string {
38613	return s.String()
38614}
38615
38616// Validate inspects the fields of the type to determine if they are valid.
38617func (s *ProcessingOutputConfig) Validate() error {
38618	invalidParams := request.ErrInvalidParams{Context: "ProcessingOutputConfig"}
38619	if s.Outputs == nil {
38620		invalidParams.Add(request.NewErrParamRequired("Outputs"))
38621	}
38622	if s.Outputs != nil {
38623		for i, v := range s.Outputs {
38624			if v == nil {
38625				continue
38626			}
38627			if err := v.Validate(); err != nil {
38628				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Outputs", i), err.(request.ErrInvalidParams))
38629			}
38630		}
38631	}
38632
38633	if invalidParams.Len() > 0 {
38634		return invalidParams
38635	}
38636	return nil
38637}
38638
38639// SetKmsKeyId sets the KmsKeyId field's value.
38640func (s *ProcessingOutputConfig) SetKmsKeyId(v string) *ProcessingOutputConfig {
38641	s.KmsKeyId = &v
38642	return s
38643}
38644
38645// SetOutputs sets the Outputs field's value.
38646func (s *ProcessingOutputConfig) SetOutputs(v []*ProcessingOutput) *ProcessingOutputConfig {
38647	s.Outputs = v
38648	return s
38649}
38650
38651// Identifies the resources, ML compute instances, and ML storage volumes to
38652// deploy for a processing job. In distributed training, you specify more than
38653// one instance.
38654type ProcessingResources struct {
38655	_ struct{} `type:"structure"`
38656
38657	// The configuration for the resources in a cluster used to run the processing
38658	// job.
38659	//
38660	// ClusterConfig is a required field
38661	ClusterConfig *ProcessingClusterConfig `type:"structure" required:"true"`
38662}
38663
38664// String returns the string representation
38665func (s ProcessingResources) String() string {
38666	return awsutil.Prettify(s)
38667}
38668
38669// GoString returns the string representation
38670func (s ProcessingResources) GoString() string {
38671	return s.String()
38672}
38673
38674// Validate inspects the fields of the type to determine if they are valid.
38675func (s *ProcessingResources) Validate() error {
38676	invalidParams := request.ErrInvalidParams{Context: "ProcessingResources"}
38677	if s.ClusterConfig == nil {
38678		invalidParams.Add(request.NewErrParamRequired("ClusterConfig"))
38679	}
38680	if s.ClusterConfig != nil {
38681		if err := s.ClusterConfig.Validate(); err != nil {
38682			invalidParams.AddNested("ClusterConfig", err.(request.ErrInvalidParams))
38683		}
38684	}
38685
38686	if invalidParams.Len() > 0 {
38687		return invalidParams
38688	}
38689	return nil
38690}
38691
38692// SetClusterConfig sets the ClusterConfig field's value.
38693func (s *ProcessingResources) SetClusterConfig(v *ProcessingClusterConfig) *ProcessingResources {
38694	s.ClusterConfig = v
38695	return s
38696}
38697
38698// Information about where and how you want to obtain the inputs for an processing
38699// job.
38700type ProcessingS3Input struct {
38701	_ struct{} `type:"structure"`
38702
38703	// The local path to the Amazon S3 bucket where you want Amazon SageMaker to
38704	// download the inputs to run a processing job. LocalPath is an absolute path
38705	// to the input data.
38706	//
38707	// LocalPath is a required field
38708	LocalPath *string `type:"string" required:"true"`
38709
38710	// Whether to use Gzip compression for Amazon S3 storage.
38711	S3CompressionType *string `type:"string" enum:"ProcessingS3CompressionType"`
38712
38713	// Whether the data stored in Amazon S3 is FullyReplicated or ShardedByS3Key.
38714	S3DataDistributionType *string `type:"string" enum:"ProcessingS3DataDistributionType"`
38715
38716	// Whether you use an S3Prefix or a ManifestFile for the data type. If you choose
38717	// S3Prefix, S3Uri identifies a key name prefix. Amazon SageMaker uses all objects
38718	// with the specified key name prefix for the processing job. If you choose
38719	// ManifestFile, S3Uri identifies an object that is a manifest file containing
38720	// a list of object keys that you want Amazon SageMaker to use for the processing
38721	// job.
38722	//
38723	// S3DataType is a required field
38724	S3DataType *string `type:"string" required:"true" enum:"ProcessingS3DataType"`
38725
38726	// Whether to use File or Pipe input mode. In File mode, Amazon SageMaker copies
38727	// the data from the input source onto the local Amazon Elastic Block Store
38728	// (Amazon EBS) volumes before starting your training algorithm. This is the
38729	// most commonly used input mode. In Pipe mode, Amazon SageMaker streams input
38730	// data from the source directly to your algorithm without using the EBS volume.
38731	//
38732	// S3InputMode is a required field
38733	S3InputMode *string `type:"string" required:"true" enum:"ProcessingS3InputMode"`
38734
38735	// The URI for the Amazon S3 storage where you want Amazon SageMaker to download
38736	// the artifacts needed to run a processing job.
38737	//
38738	// S3Uri is a required field
38739	S3Uri *string `type:"string" required:"true"`
38740}
38741
38742// String returns the string representation
38743func (s ProcessingS3Input) String() string {
38744	return awsutil.Prettify(s)
38745}
38746
38747// GoString returns the string representation
38748func (s ProcessingS3Input) GoString() string {
38749	return s.String()
38750}
38751
38752// Validate inspects the fields of the type to determine if they are valid.
38753func (s *ProcessingS3Input) Validate() error {
38754	invalidParams := request.ErrInvalidParams{Context: "ProcessingS3Input"}
38755	if s.LocalPath == nil {
38756		invalidParams.Add(request.NewErrParamRequired("LocalPath"))
38757	}
38758	if s.S3DataType == nil {
38759		invalidParams.Add(request.NewErrParamRequired("S3DataType"))
38760	}
38761	if s.S3InputMode == nil {
38762		invalidParams.Add(request.NewErrParamRequired("S3InputMode"))
38763	}
38764	if s.S3Uri == nil {
38765		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
38766	}
38767
38768	if invalidParams.Len() > 0 {
38769		return invalidParams
38770	}
38771	return nil
38772}
38773
38774// SetLocalPath sets the LocalPath field's value.
38775func (s *ProcessingS3Input) SetLocalPath(v string) *ProcessingS3Input {
38776	s.LocalPath = &v
38777	return s
38778}
38779
38780// SetS3CompressionType sets the S3CompressionType field's value.
38781func (s *ProcessingS3Input) SetS3CompressionType(v string) *ProcessingS3Input {
38782	s.S3CompressionType = &v
38783	return s
38784}
38785
38786// SetS3DataDistributionType sets the S3DataDistributionType field's value.
38787func (s *ProcessingS3Input) SetS3DataDistributionType(v string) *ProcessingS3Input {
38788	s.S3DataDistributionType = &v
38789	return s
38790}
38791
38792// SetS3DataType sets the S3DataType field's value.
38793func (s *ProcessingS3Input) SetS3DataType(v string) *ProcessingS3Input {
38794	s.S3DataType = &v
38795	return s
38796}
38797
38798// SetS3InputMode sets the S3InputMode field's value.
38799func (s *ProcessingS3Input) SetS3InputMode(v string) *ProcessingS3Input {
38800	s.S3InputMode = &v
38801	return s
38802}
38803
38804// SetS3Uri sets the S3Uri field's value.
38805func (s *ProcessingS3Input) SetS3Uri(v string) *ProcessingS3Input {
38806	s.S3Uri = &v
38807	return s
38808}
38809
38810// Information about where and how you want to store the results of an processing
38811// job.
38812type ProcessingS3Output struct {
38813	_ struct{} `type:"structure"`
38814
38815	// The local path to the Amazon S3 bucket where you want Amazon SageMaker to
38816	// save the results of an processing job. LocalPath is an absolute path to the
38817	// input data.
38818	//
38819	// LocalPath is a required field
38820	LocalPath *string `type:"string" required:"true"`
38821
38822	// Whether to upload the results of the processing job continuously or after
38823	// the job completes.
38824	//
38825	// S3UploadMode is a required field
38826	S3UploadMode *string `type:"string" required:"true" enum:"ProcessingS3UploadMode"`
38827
38828	// A URI that identifies the Amazon S3 bucket where you want Amazon SageMaker
38829	// to save the results of a processing job.
38830	//
38831	// S3Uri is a required field
38832	S3Uri *string `type:"string" required:"true"`
38833}
38834
38835// String returns the string representation
38836func (s ProcessingS3Output) String() string {
38837	return awsutil.Prettify(s)
38838}
38839
38840// GoString returns the string representation
38841func (s ProcessingS3Output) GoString() string {
38842	return s.String()
38843}
38844
38845// Validate inspects the fields of the type to determine if they are valid.
38846func (s *ProcessingS3Output) Validate() error {
38847	invalidParams := request.ErrInvalidParams{Context: "ProcessingS3Output"}
38848	if s.LocalPath == nil {
38849		invalidParams.Add(request.NewErrParamRequired("LocalPath"))
38850	}
38851	if s.S3UploadMode == nil {
38852		invalidParams.Add(request.NewErrParamRequired("S3UploadMode"))
38853	}
38854	if s.S3Uri == nil {
38855		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
38856	}
38857
38858	if invalidParams.Len() > 0 {
38859		return invalidParams
38860	}
38861	return nil
38862}
38863
38864// SetLocalPath sets the LocalPath field's value.
38865func (s *ProcessingS3Output) SetLocalPath(v string) *ProcessingS3Output {
38866	s.LocalPath = &v
38867	return s
38868}
38869
38870// SetS3UploadMode sets the S3UploadMode field's value.
38871func (s *ProcessingS3Output) SetS3UploadMode(v string) *ProcessingS3Output {
38872	s.S3UploadMode = &v
38873	return s
38874}
38875
38876// SetS3Uri sets the S3Uri field's value.
38877func (s *ProcessingS3Output) SetS3Uri(v string) *ProcessingS3Output {
38878	s.S3Uri = &v
38879	return s
38880}
38881
38882// Specifies a time limit for how long the processing job is allowed to run.
38883type ProcessingStoppingCondition struct {
38884	_ struct{} `type:"structure"`
38885
38886	// Specifies the maximum runtime in seconds.
38887	//
38888	// MaxRuntimeInSeconds is a required field
38889	MaxRuntimeInSeconds *int64 `min:"1" type:"integer" required:"true"`
38890}
38891
38892// String returns the string representation
38893func (s ProcessingStoppingCondition) String() string {
38894	return awsutil.Prettify(s)
38895}
38896
38897// GoString returns the string representation
38898func (s ProcessingStoppingCondition) GoString() string {
38899	return s.String()
38900}
38901
38902// Validate inspects the fields of the type to determine if they are valid.
38903func (s *ProcessingStoppingCondition) Validate() error {
38904	invalidParams := request.ErrInvalidParams{Context: "ProcessingStoppingCondition"}
38905	if s.MaxRuntimeInSeconds == nil {
38906		invalidParams.Add(request.NewErrParamRequired("MaxRuntimeInSeconds"))
38907	}
38908	if s.MaxRuntimeInSeconds != nil && *s.MaxRuntimeInSeconds < 1 {
38909		invalidParams.Add(request.NewErrParamMinValue("MaxRuntimeInSeconds", 1))
38910	}
38911
38912	if invalidParams.Len() > 0 {
38913		return invalidParams
38914	}
38915	return nil
38916}
38917
38918// SetMaxRuntimeInSeconds sets the MaxRuntimeInSeconds field's value.
38919func (s *ProcessingStoppingCondition) SetMaxRuntimeInSeconds(v int64) *ProcessingStoppingCondition {
38920	s.MaxRuntimeInSeconds = &v
38921	return s
38922}
38923
38924// Identifies a model that you want to host and the resources to deploy for
38925// hosting it. If you are deploying multiple models, tell Amazon SageMaker how
38926// to distribute traffic among the models by specifying variant weights.
38927type ProductionVariant struct {
38928	_ struct{} `type:"structure"`
38929
38930	// The size of the Elastic Inference (EI) instance to use for the production
38931	// variant. EI instances provide on-demand GPU computing for inference. For
38932	// more information, see Using Elastic Inference in Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html).
38933	AcceleratorType *string `type:"string" enum:"ProductionVariantAcceleratorType"`
38934
38935	// Number of instances to launch initially.
38936	//
38937	// InitialInstanceCount is a required field
38938	InitialInstanceCount *int64 `min:"1" type:"integer" required:"true"`
38939
38940	// Determines initial traffic distribution among all of the models that you
38941	// specify in the endpoint configuration. The traffic to a production variant
38942	// is determined by the ratio of the VariantWeight to the sum of all VariantWeight
38943	// values across all ProductionVariants. If unspecified, it defaults to 1.0.
38944	InitialVariantWeight *float64 `type:"float"`
38945
38946	// The ML compute instance type.
38947	//
38948	// InstanceType is a required field
38949	InstanceType *string `type:"string" required:"true" enum:"ProductionVariantInstanceType"`
38950
38951	// The name of the model that you want to host. This is the name that you specified
38952	// when creating the model.
38953	//
38954	// ModelName is a required field
38955	ModelName *string `type:"string" required:"true"`
38956
38957	// The name of the production variant.
38958	//
38959	// VariantName is a required field
38960	VariantName *string `type:"string" required:"true"`
38961}
38962
38963// String returns the string representation
38964func (s ProductionVariant) String() string {
38965	return awsutil.Prettify(s)
38966}
38967
38968// GoString returns the string representation
38969func (s ProductionVariant) GoString() string {
38970	return s.String()
38971}
38972
38973// Validate inspects the fields of the type to determine if they are valid.
38974func (s *ProductionVariant) Validate() error {
38975	invalidParams := request.ErrInvalidParams{Context: "ProductionVariant"}
38976	if s.InitialInstanceCount == nil {
38977		invalidParams.Add(request.NewErrParamRequired("InitialInstanceCount"))
38978	}
38979	if s.InitialInstanceCount != nil && *s.InitialInstanceCount < 1 {
38980		invalidParams.Add(request.NewErrParamMinValue("InitialInstanceCount", 1))
38981	}
38982	if s.InstanceType == nil {
38983		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
38984	}
38985	if s.ModelName == nil {
38986		invalidParams.Add(request.NewErrParamRequired("ModelName"))
38987	}
38988	if s.VariantName == nil {
38989		invalidParams.Add(request.NewErrParamRequired("VariantName"))
38990	}
38991
38992	if invalidParams.Len() > 0 {
38993		return invalidParams
38994	}
38995	return nil
38996}
38997
38998// SetAcceleratorType sets the AcceleratorType field's value.
38999func (s *ProductionVariant) SetAcceleratorType(v string) *ProductionVariant {
39000	s.AcceleratorType = &v
39001	return s
39002}
39003
39004// SetInitialInstanceCount sets the InitialInstanceCount field's value.
39005func (s *ProductionVariant) SetInitialInstanceCount(v int64) *ProductionVariant {
39006	s.InitialInstanceCount = &v
39007	return s
39008}
39009
39010// SetInitialVariantWeight sets the InitialVariantWeight field's value.
39011func (s *ProductionVariant) SetInitialVariantWeight(v float64) *ProductionVariant {
39012	s.InitialVariantWeight = &v
39013	return s
39014}
39015
39016// SetInstanceType sets the InstanceType field's value.
39017func (s *ProductionVariant) SetInstanceType(v string) *ProductionVariant {
39018	s.InstanceType = &v
39019	return s
39020}
39021
39022// SetModelName sets the ModelName field's value.
39023func (s *ProductionVariant) SetModelName(v string) *ProductionVariant {
39024	s.ModelName = &v
39025	return s
39026}
39027
39028// SetVariantName sets the VariantName field's value.
39029func (s *ProductionVariant) SetVariantName(v string) *ProductionVariant {
39030	s.VariantName = &v
39031	return s
39032}
39033
39034// Describes weight and capacities for a production variant associated with
39035// an endpoint. If you sent a request to the UpdateEndpointWeightsAndCapacities
39036// API and the endpoint status is Updating, you get different desired and current
39037// values.
39038type ProductionVariantSummary struct {
39039	_ struct{} `type:"structure"`
39040
39041	// The number of instances associated with the variant.
39042	CurrentInstanceCount *int64 `min:"1" type:"integer"`
39043
39044	// The weight associated with the variant.
39045	CurrentWeight *float64 `type:"float"`
39046
39047	// An array of DeployedImage objects that specify the Amazon EC2 Container Registry
39048	// paths of the inference images deployed on instances of this ProductionVariant.
39049	DeployedImages []*DeployedImage `type:"list"`
39050
39051	// The number of instances requested in the UpdateEndpointWeightsAndCapacities
39052	// request.
39053	DesiredInstanceCount *int64 `min:"1" type:"integer"`
39054
39055	// The requested weight, as specified in the UpdateEndpointWeightsAndCapacities
39056	// request.
39057	DesiredWeight *float64 `type:"float"`
39058
39059	// The name of the variant.
39060	//
39061	// VariantName is a required field
39062	VariantName *string `type:"string" required:"true"`
39063}
39064
39065// String returns the string representation
39066func (s ProductionVariantSummary) String() string {
39067	return awsutil.Prettify(s)
39068}
39069
39070// GoString returns the string representation
39071func (s ProductionVariantSummary) GoString() string {
39072	return s.String()
39073}
39074
39075// SetCurrentInstanceCount sets the CurrentInstanceCount field's value.
39076func (s *ProductionVariantSummary) SetCurrentInstanceCount(v int64) *ProductionVariantSummary {
39077	s.CurrentInstanceCount = &v
39078	return s
39079}
39080
39081// SetCurrentWeight sets the CurrentWeight field's value.
39082func (s *ProductionVariantSummary) SetCurrentWeight(v float64) *ProductionVariantSummary {
39083	s.CurrentWeight = &v
39084	return s
39085}
39086
39087// SetDeployedImages sets the DeployedImages field's value.
39088func (s *ProductionVariantSummary) SetDeployedImages(v []*DeployedImage) *ProductionVariantSummary {
39089	s.DeployedImages = v
39090	return s
39091}
39092
39093// SetDesiredInstanceCount sets the DesiredInstanceCount field's value.
39094func (s *ProductionVariantSummary) SetDesiredInstanceCount(v int64) *ProductionVariantSummary {
39095	s.DesiredInstanceCount = &v
39096	return s
39097}
39098
39099// SetDesiredWeight sets the DesiredWeight field's value.
39100func (s *ProductionVariantSummary) SetDesiredWeight(v float64) *ProductionVariantSummary {
39101	s.DesiredWeight = &v
39102	return s
39103}
39104
39105// SetVariantName sets the VariantName field's value.
39106func (s *ProductionVariantSummary) SetVariantName(v string) *ProductionVariantSummary {
39107	s.VariantName = &v
39108	return s
39109}
39110
39111// Part of the SuggestionQuery type. Specifies a hint for retrieving property
39112// names that begin with the specified text.
39113type PropertyNameQuery struct {
39114	_ struct{} `type:"structure"`
39115
39116	// Text that begins a property's name.
39117	//
39118	// PropertyNameHint is a required field
39119	PropertyNameHint *string `type:"string" required:"true"`
39120}
39121
39122// String returns the string representation
39123func (s PropertyNameQuery) String() string {
39124	return awsutil.Prettify(s)
39125}
39126
39127// GoString returns the string representation
39128func (s PropertyNameQuery) GoString() string {
39129	return s.String()
39130}
39131
39132// Validate inspects the fields of the type to determine if they are valid.
39133func (s *PropertyNameQuery) Validate() error {
39134	invalidParams := request.ErrInvalidParams{Context: "PropertyNameQuery"}
39135	if s.PropertyNameHint == nil {
39136		invalidParams.Add(request.NewErrParamRequired("PropertyNameHint"))
39137	}
39138
39139	if invalidParams.Len() > 0 {
39140		return invalidParams
39141	}
39142	return nil
39143}
39144
39145// SetPropertyNameHint sets the PropertyNameHint field's value.
39146func (s *PropertyNameQuery) SetPropertyNameHint(v string) *PropertyNameQuery {
39147	s.PropertyNameHint = &v
39148	return s
39149}
39150
39151// A property name returned from a GetSearchSuggestions call that specifies
39152// a value in the PropertyNameQuery field.
39153type PropertyNameSuggestion struct {
39154	_ struct{} `type:"structure"`
39155
39156	// A suggested property name based on what you entered in the search textbox
39157	// in the Amazon SageMaker console.
39158	PropertyName *string `min:"1" type:"string"`
39159}
39160
39161// String returns the string representation
39162func (s PropertyNameSuggestion) String() string {
39163	return awsutil.Prettify(s)
39164}
39165
39166// GoString returns the string representation
39167func (s PropertyNameSuggestion) GoString() string {
39168	return s.String()
39169}
39170
39171// SetPropertyName sets the PropertyName field's value.
39172func (s *PropertyNameSuggestion) SetPropertyName(v string) *PropertyNameSuggestion {
39173	s.PropertyName = &v
39174	return s
39175}
39176
39177// Defines the amount of money paid to an Amazon Mechanical Turk worker for
39178// each task performed.
39179//
39180// Use one of the following prices for bounding box tasks. Prices are in US
39181// dollars and should be based on the complexity of the task; the longer it
39182// takes in your initial testing, the more you should offer.
39183//
39184//    * 0.036
39185//
39186//    * 0.048
39187//
39188//    * 0.060
39189//
39190//    * 0.072
39191//
39192//    * 0.120
39193//
39194//    * 0.240
39195//
39196//    * 0.360
39197//
39198//    * 0.480
39199//
39200//    * 0.600
39201//
39202//    * 0.720
39203//
39204//    * 0.840
39205//
39206//    * 0.960
39207//
39208//    * 1.080
39209//
39210//    * 1.200
39211//
39212// Use one of the following prices for image classification, text classification,
39213// and custom tasks. Prices are in US dollars.
39214//
39215//    * 0.012
39216//
39217//    * 0.024
39218//
39219//    * 0.036
39220//
39221//    * 0.048
39222//
39223//    * 0.060
39224//
39225//    * 0.072
39226//
39227//    * 0.120
39228//
39229//    * 0.240
39230//
39231//    * 0.360
39232//
39233//    * 0.480
39234//
39235//    * 0.600
39236//
39237//    * 0.720
39238//
39239//    * 0.840
39240//
39241//    * 0.960
39242//
39243//    * 1.080
39244//
39245//    * 1.200
39246//
39247// Use one of the following prices for semantic segmentation tasks. Prices are
39248// in US dollars.
39249//
39250//    * 0.840
39251//
39252//    * 0.960
39253//
39254//    * 1.080
39255//
39256//    * 1.200
39257//
39258// Use one of the following prices for Textract AnalyzeDocument Important Form
39259// Key Amazon Augmented AI review tasks. Prices are in US dollars.
39260//
39261//    * 2.400
39262//
39263//    * 2.280
39264//
39265//    * 2.160
39266//
39267//    * 2.040
39268//
39269//    * 1.920
39270//
39271//    * 1.800
39272//
39273//    * 1.680
39274//
39275//    * 1.560
39276//
39277//    * 1.440
39278//
39279//    * 1.320
39280//
39281//    * 1.200
39282//
39283//    * 1.080
39284//
39285//    * 0.960
39286//
39287//    * 0.840
39288//
39289//    * 0.720
39290//
39291//    * 0.600
39292//
39293//    * 0.480
39294//
39295//    * 0.360
39296//
39297//    * 0.240
39298//
39299//    * 0.120
39300//
39301//    * 0.072
39302//
39303//    * 0.060
39304//
39305//    * 0.048
39306//
39307//    * 0.036
39308//
39309//    * 0.024
39310//
39311//    * 0.012
39312//
39313// Use one of the following prices for Rekognition DetectModerationLabels Amazon
39314// Augmented AI review tasks. Prices are in US dollars.
39315//
39316//    * 1.200
39317//
39318//    * 1.080
39319//
39320//    * 0.960
39321//
39322//    * 0.840
39323//
39324//    * 0.720
39325//
39326//    * 0.600
39327//
39328//    * 0.480
39329//
39330//    * 0.360
39331//
39332//    * 0.240
39333//
39334//    * 0.120
39335//
39336//    * 0.072
39337//
39338//    * 0.060
39339//
39340//    * 0.048
39341//
39342//    * 0.036
39343//
39344//    * 0.024
39345//
39346//    * 0.012
39347//
39348// Use one of the following prices for Amazon Augmented AI custom human review
39349// tasks. Prices are in US dollars.
39350//
39351//    * 1.200
39352//
39353//    * 1.080
39354//
39355//    * 0.960
39356//
39357//    * 0.840
39358//
39359//    * 0.720
39360//
39361//    * 0.600
39362//
39363//    * 0.480
39364//
39365//    * 0.360
39366//
39367//    * 0.240
39368//
39369//    * 0.120
39370//
39371//    * 0.072
39372//
39373//    * 0.060
39374//
39375//    * 0.048
39376//
39377//    * 0.036
39378//
39379//    * 0.024
39380//
39381//    * 0.012
39382type PublicWorkforceTaskPrice struct {
39383	_ struct{} `type:"structure"`
39384
39385	// Defines the amount of money paid to an Amazon Mechanical Turk worker in United
39386	// States dollars.
39387	AmountInUsd *USD `type:"structure"`
39388}
39389
39390// String returns the string representation
39391func (s PublicWorkforceTaskPrice) String() string {
39392	return awsutil.Prettify(s)
39393}
39394
39395// GoString returns the string representation
39396func (s PublicWorkforceTaskPrice) GoString() string {
39397	return s.String()
39398}
39399
39400// SetAmountInUsd sets the AmountInUsd field's value.
39401func (s *PublicWorkforceTaskPrice) SetAmountInUsd(v *USD) *PublicWorkforceTaskPrice {
39402	s.AmountInUsd = v
39403	return s
39404}
39405
39406type RenderUiTemplateInput struct {
39407	_ struct{} `type:"structure"`
39408
39409	// The HumanTaskUiArn of the worker UI that you want to render. Do not provide
39410	// a HumanTaskUiArn if you use the UiTemplate parameter.
39411	HumanTaskUiArn *string `type:"string"`
39412
39413	// The Amazon Resource Name (ARN) that has access to the S3 objects that are
39414	// used by the template.
39415	//
39416	// RoleArn is a required field
39417	RoleArn *string `min:"20" type:"string" required:"true"`
39418
39419	// A RenderableTask object containing a representative task to render.
39420	//
39421	// Task is a required field
39422	Task *RenderableTask `type:"structure" required:"true"`
39423
39424	// A Template object containing the worker UI template to render.
39425	UiTemplate *UiTemplate `type:"structure"`
39426}
39427
39428// String returns the string representation
39429func (s RenderUiTemplateInput) String() string {
39430	return awsutil.Prettify(s)
39431}
39432
39433// GoString returns the string representation
39434func (s RenderUiTemplateInput) GoString() string {
39435	return s.String()
39436}
39437
39438// Validate inspects the fields of the type to determine if they are valid.
39439func (s *RenderUiTemplateInput) Validate() error {
39440	invalidParams := request.ErrInvalidParams{Context: "RenderUiTemplateInput"}
39441	if s.RoleArn == nil {
39442		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
39443	}
39444	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
39445		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
39446	}
39447	if s.Task == nil {
39448		invalidParams.Add(request.NewErrParamRequired("Task"))
39449	}
39450	if s.Task != nil {
39451		if err := s.Task.Validate(); err != nil {
39452			invalidParams.AddNested("Task", err.(request.ErrInvalidParams))
39453		}
39454	}
39455	if s.UiTemplate != nil {
39456		if err := s.UiTemplate.Validate(); err != nil {
39457			invalidParams.AddNested("UiTemplate", err.(request.ErrInvalidParams))
39458		}
39459	}
39460
39461	if invalidParams.Len() > 0 {
39462		return invalidParams
39463	}
39464	return nil
39465}
39466
39467// SetHumanTaskUiArn sets the HumanTaskUiArn field's value.
39468func (s *RenderUiTemplateInput) SetHumanTaskUiArn(v string) *RenderUiTemplateInput {
39469	s.HumanTaskUiArn = &v
39470	return s
39471}
39472
39473// SetRoleArn sets the RoleArn field's value.
39474func (s *RenderUiTemplateInput) SetRoleArn(v string) *RenderUiTemplateInput {
39475	s.RoleArn = &v
39476	return s
39477}
39478
39479// SetTask sets the Task field's value.
39480func (s *RenderUiTemplateInput) SetTask(v *RenderableTask) *RenderUiTemplateInput {
39481	s.Task = v
39482	return s
39483}
39484
39485// SetUiTemplate sets the UiTemplate field's value.
39486func (s *RenderUiTemplateInput) SetUiTemplate(v *UiTemplate) *RenderUiTemplateInput {
39487	s.UiTemplate = v
39488	return s
39489}
39490
39491type RenderUiTemplateOutput struct {
39492	_ struct{} `type:"structure"`
39493
39494	// A list of one or more RenderingError objects if any were encountered while
39495	// rendering the template. If there were no errors, the list is empty.
39496	//
39497	// Errors is a required field
39498	Errors []*RenderingError `type:"list" required:"true"`
39499
39500	// A Liquid template that renders the HTML for the worker UI.
39501	//
39502	// RenderedContent is a required field
39503	RenderedContent *string `type:"string" required:"true"`
39504}
39505
39506// String returns the string representation
39507func (s RenderUiTemplateOutput) String() string {
39508	return awsutil.Prettify(s)
39509}
39510
39511// GoString returns the string representation
39512func (s RenderUiTemplateOutput) GoString() string {
39513	return s.String()
39514}
39515
39516// SetErrors sets the Errors field's value.
39517func (s *RenderUiTemplateOutput) SetErrors(v []*RenderingError) *RenderUiTemplateOutput {
39518	s.Errors = v
39519	return s
39520}
39521
39522// SetRenderedContent sets the RenderedContent field's value.
39523func (s *RenderUiTemplateOutput) SetRenderedContent(v string) *RenderUiTemplateOutput {
39524	s.RenderedContent = &v
39525	return s
39526}
39527
39528// Contains input values for a task.
39529type RenderableTask struct {
39530	_ struct{} `type:"structure"`
39531
39532	// A JSON object that contains values for the variables defined in the template.
39533	// It is made available to the template under the substitution variable task.input.
39534	// For example, if you define a variable task.input.text in your template, you
39535	// can supply the variable in the JSON object as "text": "sample text".
39536	//
39537	// Input is a required field
39538	Input *string `min:"2" type:"string" required:"true"`
39539}
39540
39541// String returns the string representation
39542func (s RenderableTask) String() string {
39543	return awsutil.Prettify(s)
39544}
39545
39546// GoString returns the string representation
39547func (s RenderableTask) GoString() string {
39548	return s.String()
39549}
39550
39551// Validate inspects the fields of the type to determine if they are valid.
39552func (s *RenderableTask) Validate() error {
39553	invalidParams := request.ErrInvalidParams{Context: "RenderableTask"}
39554	if s.Input == nil {
39555		invalidParams.Add(request.NewErrParamRequired("Input"))
39556	}
39557	if s.Input != nil && len(*s.Input) < 2 {
39558		invalidParams.Add(request.NewErrParamMinLen("Input", 2))
39559	}
39560
39561	if invalidParams.Len() > 0 {
39562		return invalidParams
39563	}
39564	return nil
39565}
39566
39567// SetInput sets the Input field's value.
39568func (s *RenderableTask) SetInput(v string) *RenderableTask {
39569	s.Input = &v
39570	return s
39571}
39572
39573// A description of an error that occurred while rendering the template.
39574type RenderingError struct {
39575	_ struct{} `type:"structure"`
39576
39577	// A unique identifier for a specific class of errors.
39578	//
39579	// Code is a required field
39580	Code *string `type:"string" required:"true"`
39581
39582	// A human-readable message describing the error.
39583	//
39584	// Message is a required field
39585	Message *string `type:"string" required:"true"`
39586}
39587
39588// String returns the string representation
39589func (s RenderingError) String() string {
39590	return awsutil.Prettify(s)
39591}
39592
39593// GoString returns the string representation
39594func (s RenderingError) GoString() string {
39595	return s.String()
39596}
39597
39598// SetCode sets the Code field's value.
39599func (s *RenderingError) SetCode(v string) *RenderingError {
39600	s.Code = &v
39601	return s
39602}
39603
39604// SetMessage sets the Message field's value.
39605func (s *RenderingError) SetMessage(v string) *RenderingError {
39606	s.Message = &v
39607	return s
39608}
39609
39610// The resolved attributes.
39611type ResolvedAttributes struct {
39612	_ struct{} `type:"structure"`
39613
39614	// Applies a metric to minimize or maximize for the job's objective.
39615	AutoMLJobObjective *AutoMLJobObjective `type:"structure"`
39616
39617	// How long a job is allowed to run, or how many candidates a job is allowed
39618	// to generate.
39619	CompletionCriteria *AutoMLJobCompletionCriteria `type:"structure"`
39620
39621	// The problem type.
39622	ProblemType *string `type:"string" enum:"ProblemType"`
39623}
39624
39625// String returns the string representation
39626func (s ResolvedAttributes) String() string {
39627	return awsutil.Prettify(s)
39628}
39629
39630// GoString returns the string representation
39631func (s ResolvedAttributes) GoString() string {
39632	return s.String()
39633}
39634
39635// SetAutoMLJobObjective sets the AutoMLJobObjective field's value.
39636func (s *ResolvedAttributes) SetAutoMLJobObjective(v *AutoMLJobObjective) *ResolvedAttributes {
39637	s.AutoMLJobObjective = v
39638	return s
39639}
39640
39641// SetCompletionCriteria sets the CompletionCriteria field's value.
39642func (s *ResolvedAttributes) SetCompletionCriteria(v *AutoMLJobCompletionCriteria) *ResolvedAttributes {
39643	s.CompletionCriteria = v
39644	return s
39645}
39646
39647// SetProblemType sets the ProblemType field's value.
39648func (s *ResolvedAttributes) SetProblemType(v string) *ResolvedAttributes {
39649	s.ProblemType = &v
39650	return s
39651}
39652
39653// Describes the resources, including ML compute instances and ML storage volumes,
39654// to use for model training.
39655type ResourceConfig struct {
39656	_ struct{} `type:"structure"`
39657
39658	// The number of ML compute instances to use. For distributed training, provide
39659	// a value greater than 1.
39660	//
39661	// InstanceCount is a required field
39662	InstanceCount *int64 `min:"1" type:"integer" required:"true"`
39663
39664	// The ML compute instance type.
39665	//
39666	// InstanceType is a required field
39667	InstanceType *string `type:"string" required:"true" enum:"TrainingInstanceType"`
39668
39669	// The AWS KMS key that Amazon SageMaker uses to encrypt data on the storage
39670	// volume attached to the ML compute instance(s) that run the training job.
39671	//
39672	// Certain Nitro-based instances include local storage, dependent on the instance
39673	// type. Local storage volumes are encrypted using a hardware module on the
39674	// instance. You can't request a VolumeKmsKeyId when using an instance type
39675	// with local storage.
39676	//
39677	// For a list of instance types that support local instance storage, see Instance
39678	// Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes).
39679	//
39680	// For more information about local instance storage encryption, see SSD Instance
39681	// Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html).
39682	//
39683	// The VolumeKmsKeyId can be in any of the following formats:
39684	//
39685	//    * // KMS Key ID "1234abcd-12ab-34cd-56ef-1234567890ab"
39686	//
39687	//    * // Amazon Resource Name (ARN) of a KMS Key "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
39688	VolumeKmsKeyId *string `type:"string"`
39689
39690	// The size of the ML storage volume that you want to provision.
39691	//
39692	// ML storage volumes store model artifacts and incremental states. Training
39693	// algorithms might also use the ML storage volume for scratch space. If you
39694	// want to store the training data in the ML storage volume, choose File as
39695	// the TrainingInputMode in the algorithm specification.
39696	//
39697	// You must specify sufficient ML storage for your scenario.
39698	//
39699	// Amazon SageMaker supports only the General Purpose SSD (gp2) ML storage volume
39700	// type.
39701	//
39702	// Certain Nitro-based instances include local storage with a fixed total size,
39703	// dependent on the instance type. When using these instances for training,
39704	// Amazon SageMaker mounts the local instance storage instead of Amazon EBS
39705	// gp2 storage. You can't request a VolumeSizeInGB greater than the total size
39706	// of the local instance storage.
39707	//
39708	// For a list of instance types that support local instance storage, including
39709	// the total size per instance type, see Instance Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes).
39710	//
39711	// VolumeSizeInGB is a required field
39712	VolumeSizeInGB *int64 `min:"1" type:"integer" required:"true"`
39713}
39714
39715// String returns the string representation
39716func (s ResourceConfig) String() string {
39717	return awsutil.Prettify(s)
39718}
39719
39720// GoString returns the string representation
39721func (s ResourceConfig) GoString() string {
39722	return s.String()
39723}
39724
39725// Validate inspects the fields of the type to determine if they are valid.
39726func (s *ResourceConfig) Validate() error {
39727	invalidParams := request.ErrInvalidParams{Context: "ResourceConfig"}
39728	if s.InstanceCount == nil {
39729		invalidParams.Add(request.NewErrParamRequired("InstanceCount"))
39730	}
39731	if s.InstanceCount != nil && *s.InstanceCount < 1 {
39732		invalidParams.Add(request.NewErrParamMinValue("InstanceCount", 1))
39733	}
39734	if s.InstanceType == nil {
39735		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
39736	}
39737	if s.VolumeSizeInGB == nil {
39738		invalidParams.Add(request.NewErrParamRequired("VolumeSizeInGB"))
39739	}
39740	if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 1 {
39741		invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 1))
39742	}
39743
39744	if invalidParams.Len() > 0 {
39745		return invalidParams
39746	}
39747	return nil
39748}
39749
39750// SetInstanceCount sets the InstanceCount field's value.
39751func (s *ResourceConfig) SetInstanceCount(v int64) *ResourceConfig {
39752	s.InstanceCount = &v
39753	return s
39754}
39755
39756// SetInstanceType sets the InstanceType field's value.
39757func (s *ResourceConfig) SetInstanceType(v string) *ResourceConfig {
39758	s.InstanceType = &v
39759	return s
39760}
39761
39762// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
39763func (s *ResourceConfig) SetVolumeKmsKeyId(v string) *ResourceConfig {
39764	s.VolumeKmsKeyId = &v
39765	return s
39766}
39767
39768// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
39769func (s *ResourceConfig) SetVolumeSizeInGB(v int64) *ResourceConfig {
39770	s.VolumeSizeInGB = &v
39771	return s
39772}
39773
39774// Resource being accessed is in use.
39775type ResourceInUse struct {
39776	_            struct{}                  `type:"structure"`
39777	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
39778
39779	Message_ *string `locationName:"Message" type:"string"`
39780}
39781
39782// String returns the string representation
39783func (s ResourceInUse) String() string {
39784	return awsutil.Prettify(s)
39785}
39786
39787// GoString returns the string representation
39788func (s ResourceInUse) GoString() string {
39789	return s.String()
39790}
39791
39792func newErrorResourceInUse(v protocol.ResponseMetadata) error {
39793	return &ResourceInUse{
39794		RespMetadata: v,
39795	}
39796}
39797
39798// Code returns the exception type name.
39799func (s *ResourceInUse) Code() string {
39800	return "ResourceInUse"
39801}
39802
39803// Message returns the exception's message.
39804func (s *ResourceInUse) Message() string {
39805	if s.Message_ != nil {
39806		return *s.Message_
39807	}
39808	return ""
39809}
39810
39811// OrigErr always returns nil, satisfies awserr.Error interface.
39812func (s *ResourceInUse) OrigErr() error {
39813	return nil
39814}
39815
39816func (s *ResourceInUse) Error() string {
39817	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
39818}
39819
39820// Status code returns the HTTP status code for the request's response error.
39821func (s *ResourceInUse) StatusCode() int {
39822	return s.RespMetadata.StatusCode
39823}
39824
39825// RequestID returns the service's response RequestID for request.
39826func (s *ResourceInUse) RequestID() string {
39827	return s.RespMetadata.RequestID
39828}
39829
39830// You have exceeded an Amazon SageMaker resource limit. For example, you might
39831// have too many training jobs created.
39832type ResourceLimitExceeded struct {
39833	_            struct{}                  `type:"structure"`
39834	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
39835
39836	Message_ *string `locationName:"Message" type:"string"`
39837}
39838
39839// String returns the string representation
39840func (s ResourceLimitExceeded) String() string {
39841	return awsutil.Prettify(s)
39842}
39843
39844// GoString returns the string representation
39845func (s ResourceLimitExceeded) GoString() string {
39846	return s.String()
39847}
39848
39849func newErrorResourceLimitExceeded(v protocol.ResponseMetadata) error {
39850	return &ResourceLimitExceeded{
39851		RespMetadata: v,
39852	}
39853}
39854
39855// Code returns the exception type name.
39856func (s *ResourceLimitExceeded) Code() string {
39857	return "ResourceLimitExceeded"
39858}
39859
39860// Message returns the exception's message.
39861func (s *ResourceLimitExceeded) Message() string {
39862	if s.Message_ != nil {
39863		return *s.Message_
39864	}
39865	return ""
39866}
39867
39868// OrigErr always returns nil, satisfies awserr.Error interface.
39869func (s *ResourceLimitExceeded) OrigErr() error {
39870	return nil
39871}
39872
39873func (s *ResourceLimitExceeded) Error() string {
39874	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
39875}
39876
39877// Status code returns the HTTP status code for the request's response error.
39878func (s *ResourceLimitExceeded) StatusCode() int {
39879	return s.RespMetadata.StatusCode
39880}
39881
39882// RequestID returns the service's response RequestID for request.
39883func (s *ResourceLimitExceeded) RequestID() string {
39884	return s.RespMetadata.RequestID
39885}
39886
39887// Specifies the maximum number of training jobs and parallel training jobs
39888// that a hyperparameter tuning job can launch.
39889type ResourceLimits struct {
39890	_ struct{} `type:"structure"`
39891
39892	// The maximum number of training jobs that a hyperparameter tuning job can
39893	// launch.
39894	//
39895	// MaxNumberOfTrainingJobs is a required field
39896	MaxNumberOfTrainingJobs *int64 `min:"1" type:"integer" required:"true"`
39897
39898	// The maximum number of concurrent training jobs that a hyperparameter tuning
39899	// job can launch.
39900	//
39901	// MaxParallelTrainingJobs is a required field
39902	MaxParallelTrainingJobs *int64 `min:"1" type:"integer" required:"true"`
39903}
39904
39905// String returns the string representation
39906func (s ResourceLimits) String() string {
39907	return awsutil.Prettify(s)
39908}
39909
39910// GoString returns the string representation
39911func (s ResourceLimits) GoString() string {
39912	return s.String()
39913}
39914
39915// Validate inspects the fields of the type to determine if they are valid.
39916func (s *ResourceLimits) Validate() error {
39917	invalidParams := request.ErrInvalidParams{Context: "ResourceLimits"}
39918	if s.MaxNumberOfTrainingJobs == nil {
39919		invalidParams.Add(request.NewErrParamRequired("MaxNumberOfTrainingJobs"))
39920	}
39921	if s.MaxNumberOfTrainingJobs != nil && *s.MaxNumberOfTrainingJobs < 1 {
39922		invalidParams.Add(request.NewErrParamMinValue("MaxNumberOfTrainingJobs", 1))
39923	}
39924	if s.MaxParallelTrainingJobs == nil {
39925		invalidParams.Add(request.NewErrParamRequired("MaxParallelTrainingJobs"))
39926	}
39927	if s.MaxParallelTrainingJobs != nil && *s.MaxParallelTrainingJobs < 1 {
39928		invalidParams.Add(request.NewErrParamMinValue("MaxParallelTrainingJobs", 1))
39929	}
39930
39931	if invalidParams.Len() > 0 {
39932		return invalidParams
39933	}
39934	return nil
39935}
39936
39937// SetMaxNumberOfTrainingJobs sets the MaxNumberOfTrainingJobs field's value.
39938func (s *ResourceLimits) SetMaxNumberOfTrainingJobs(v int64) *ResourceLimits {
39939	s.MaxNumberOfTrainingJobs = &v
39940	return s
39941}
39942
39943// SetMaxParallelTrainingJobs sets the MaxParallelTrainingJobs field's value.
39944func (s *ResourceLimits) SetMaxParallelTrainingJobs(v int64) *ResourceLimits {
39945	s.MaxParallelTrainingJobs = &v
39946	return s
39947}
39948
39949// Resource being access is not found.
39950type ResourceNotFound struct {
39951	_            struct{}                  `type:"structure"`
39952	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
39953
39954	Message_ *string `locationName:"Message" type:"string"`
39955}
39956
39957// String returns the string representation
39958func (s ResourceNotFound) String() string {
39959	return awsutil.Prettify(s)
39960}
39961
39962// GoString returns the string representation
39963func (s ResourceNotFound) GoString() string {
39964	return s.String()
39965}
39966
39967func newErrorResourceNotFound(v protocol.ResponseMetadata) error {
39968	return &ResourceNotFound{
39969		RespMetadata: v,
39970	}
39971}
39972
39973// Code returns the exception type name.
39974func (s *ResourceNotFound) Code() string {
39975	return "ResourceNotFound"
39976}
39977
39978// Message returns the exception's message.
39979func (s *ResourceNotFound) Message() string {
39980	if s.Message_ != nil {
39981		return *s.Message_
39982	}
39983	return ""
39984}
39985
39986// OrigErr always returns nil, satisfies awserr.Error interface.
39987func (s *ResourceNotFound) OrigErr() error {
39988	return nil
39989}
39990
39991func (s *ResourceNotFound) Error() string {
39992	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
39993}
39994
39995// Status code returns the HTTP status code for the request's response error.
39996func (s *ResourceNotFound) StatusCode() int {
39997	return s.RespMetadata.StatusCode
39998}
39999
40000// RequestID returns the service's response RequestID for request.
40001func (s *ResourceNotFound) RequestID() string {
40002	return s.RespMetadata.RequestID
40003}
40004
40005// The instance type and the Amazon Resource Name (ARN) of the SageMaker image
40006// created on the instance. The ARN is stored as metadata in SageMaker Studio
40007// notebooks.
40008type ResourceSpec struct {
40009	_ struct{} `type:"structure"`
40010
40011	// The instance type.
40012	InstanceType *string `type:"string" enum:"AppInstanceType"`
40013
40014	// The Amazon Resource Name (ARN) of the SageMaker image created on the instance.
40015	SageMakerImageArn *string `type:"string"`
40016}
40017
40018// String returns the string representation
40019func (s ResourceSpec) String() string {
40020	return awsutil.Prettify(s)
40021}
40022
40023// GoString returns the string representation
40024func (s ResourceSpec) GoString() string {
40025	return s.String()
40026}
40027
40028// SetInstanceType sets the InstanceType field's value.
40029func (s *ResourceSpec) SetInstanceType(v string) *ResourceSpec {
40030	s.InstanceType = &v
40031	return s
40032}
40033
40034// SetSageMakerImageArn sets the SageMakerImageArn field's value.
40035func (s *ResourceSpec) SetSageMakerImageArn(v string) *ResourceSpec {
40036	s.SageMakerImageArn = &v
40037	return s
40038}
40039
40040// The retention policy for data stored on an Amazon Elastic File System (EFS)
40041// volume.
40042type RetentionPolicy struct {
40043	_ struct{} `type:"structure"`
40044
40045	// The default is Retain, which specifies to keep the data stored on the EFS
40046	// volume.
40047	//
40048	// Specify Delete to delete the data stored on the EFS volume.
40049	HomeEfsFileSystem *string `type:"string" enum:"RetentionType"`
40050}
40051
40052// String returns the string representation
40053func (s RetentionPolicy) String() string {
40054	return awsutil.Prettify(s)
40055}
40056
40057// GoString returns the string representation
40058func (s RetentionPolicy) GoString() string {
40059	return s.String()
40060}
40061
40062// SetHomeEfsFileSystem sets the HomeEfsFileSystem field's value.
40063func (s *RetentionPolicy) SetHomeEfsFileSystem(v string) *RetentionPolicy {
40064	s.HomeEfsFileSystem = &v
40065	return s
40066}
40067
40068// Describes the S3 data source.
40069type S3DataSource struct {
40070	_ struct{} `type:"structure"`
40071
40072	// A list of one or more attribute names to use that are found in a specified
40073	// augmented manifest file.
40074	AttributeNames []*string `type:"list"`
40075
40076	// If you want Amazon SageMaker to replicate the entire dataset on each ML compute
40077	// instance that is launched for model training, specify FullyReplicated.
40078	//
40079	// If you want Amazon SageMaker to replicate a subset of data on each ML compute
40080	// instance that is launched for model training, specify ShardedByS3Key. If
40081	// there are n ML compute instances launched for a training job, each instance
40082	// gets approximately 1/n of the number of S3 objects. In this case, model training
40083	// on each machine uses only the subset of training data.
40084	//
40085	// Don't choose more ML compute instances for training than available S3 objects.
40086	// If you do, some nodes won't get any data and you will pay for nodes that
40087	// aren't getting any training data. This applies in both File and Pipe modes.
40088	// Keep this in mind when developing algorithms.
40089	//
40090	// In distributed training, where you use multiple ML compute EC2 instances,
40091	// you might choose ShardedByS3Key. If the algorithm requires copying training
40092	// data to the ML storage volume (when TrainingInputMode is set to File), this
40093	// copies 1/n of the number of objects.
40094	S3DataDistributionType *string `type:"string" enum:"S3DataDistribution"`
40095
40096	// If you choose S3Prefix, S3Uri identifies a key name prefix. Amazon SageMaker
40097	// uses all objects that match the specified key name prefix for model training.
40098	//
40099	// If you choose ManifestFile, S3Uri identifies an object that is a manifest
40100	// file containing a list of object keys that you want Amazon SageMaker to use
40101	// for model training.
40102	//
40103	// If you choose AugmentedManifestFile, S3Uri identifies an object that is an
40104	// augmented manifest file in JSON lines format. This file contains the data
40105	// you want to use for model training. AugmentedManifestFile can only be used
40106	// if the Channel's input mode is Pipe.
40107	//
40108	// S3DataType is a required field
40109	S3DataType *string `type:"string" required:"true" enum:"S3DataType"`
40110
40111	// Depending on the value specified for the S3DataType, identifies either a
40112	// key name prefix or a manifest. For example:
40113	//
40114	//    * A key name prefix might look like this: s3://bucketname/exampleprefix.
40115	//
40116	//    * A manifest might look like this: s3://bucketname/example.manifest The
40117	//    manifest is an S3 object which is a JSON file with the following format:
40118	//    The preceding JSON matches the following s3Uris: [ {"prefix": "s3://customer_bucket/some/prefix/"},
40119	//    "relative/path/to/custdata-1", "relative/path/custdata-2", ... "relative/path/custdata-N"
40120	//    ] The preceding JSON matches the following s3Uris: s3://customer_bucket/some/prefix/relative/path/to/custdata-1
40121	//    s3://customer_bucket/some/prefix/relative/path/custdata-2 ... s3://customer_bucket/some/prefix/relative/path/custdata-N
40122	//    The complete set of s3uris in this manifest is the input data for the
40123	//    channel for this datasource. The object that each s3uris points to must
40124	//    be readable by the IAM role that Amazon SageMaker uses to perform tasks
40125	//    on your behalf.
40126	//
40127	// S3Uri is a required field
40128	S3Uri *string `type:"string" required:"true"`
40129}
40130
40131// String returns the string representation
40132func (s S3DataSource) String() string {
40133	return awsutil.Prettify(s)
40134}
40135
40136// GoString returns the string representation
40137func (s S3DataSource) GoString() string {
40138	return s.String()
40139}
40140
40141// Validate inspects the fields of the type to determine if they are valid.
40142func (s *S3DataSource) Validate() error {
40143	invalidParams := request.ErrInvalidParams{Context: "S3DataSource"}
40144	if s.S3DataType == nil {
40145		invalidParams.Add(request.NewErrParamRequired("S3DataType"))
40146	}
40147	if s.S3Uri == nil {
40148		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
40149	}
40150
40151	if invalidParams.Len() > 0 {
40152		return invalidParams
40153	}
40154	return nil
40155}
40156
40157// SetAttributeNames sets the AttributeNames field's value.
40158func (s *S3DataSource) SetAttributeNames(v []*string) *S3DataSource {
40159	s.AttributeNames = v
40160	return s
40161}
40162
40163// SetS3DataDistributionType sets the S3DataDistributionType field's value.
40164func (s *S3DataSource) SetS3DataDistributionType(v string) *S3DataSource {
40165	s.S3DataDistributionType = &v
40166	return s
40167}
40168
40169// SetS3DataType sets the S3DataType field's value.
40170func (s *S3DataSource) SetS3DataType(v string) *S3DataSource {
40171	s.S3DataType = &v
40172	return s
40173}
40174
40175// SetS3Uri sets the S3Uri field's value.
40176func (s *S3DataSource) SetS3Uri(v string) *S3DataSource {
40177	s.S3Uri = &v
40178	return s
40179}
40180
40181// Configuration details about the monitoring schedule.
40182type ScheduleConfig struct {
40183	_ struct{} `type:"structure"`
40184
40185	// A cron expression that describes details about the monitoring schedule.
40186	//
40187	// Currently the only supported cron expressions are:
40188	//
40189	//    * If you want to set the job to start every hour, please use the following:
40190	//    Hourly: cron(0 * ? * * *)
40191	//
40192	//    * If you want to start the job daily: cron(0 [00-23] ? * * *)
40193	//
40194	// For example, the following are valid cron expressions:
40195	//
40196	//    * Daily at noon UTC: cron(0 12 ? * * *)
40197	//
40198	//    * Daily at midnight UTC: cron(0 0 ? * * *)
40199	//
40200	// To support running every 6, 12 hours, the following are also supported:
40201	//
40202	// cron(0 [00-23]/[01-24] ? * * *)
40203	//
40204	// For example, the following are valid cron expressions:
40205	//
40206	//    * Every 12 hours, starting at 5pm UTC: cron(0 17/12 ? * * *)
40207	//
40208	//    * Every two hours starting at midnight: cron(0 0/2 ? * * *)
40209	//
40210	//    * Even though the cron expression is set to start at 5PM UTC, note that
40211	//    there could be a delay of 0-20 minutes from the actual requested time
40212	//    to run the execution.
40213	//
40214	//    * We recommend that if you would like a daily schedule, you do not provide
40215	//    this parameter. Amazon SageMaker will pick a time for running every day.
40216	//
40217	// ScheduleExpression is a required field
40218	ScheduleExpression *string `min:"1" type:"string" required:"true"`
40219}
40220
40221// String returns the string representation
40222func (s ScheduleConfig) String() string {
40223	return awsutil.Prettify(s)
40224}
40225
40226// GoString returns the string representation
40227func (s ScheduleConfig) GoString() string {
40228	return s.String()
40229}
40230
40231// Validate inspects the fields of the type to determine if they are valid.
40232func (s *ScheduleConfig) Validate() error {
40233	invalidParams := request.ErrInvalidParams{Context: "ScheduleConfig"}
40234	if s.ScheduleExpression == nil {
40235		invalidParams.Add(request.NewErrParamRequired("ScheduleExpression"))
40236	}
40237	if s.ScheduleExpression != nil && len(*s.ScheduleExpression) < 1 {
40238		invalidParams.Add(request.NewErrParamMinLen("ScheduleExpression", 1))
40239	}
40240
40241	if invalidParams.Len() > 0 {
40242		return invalidParams
40243	}
40244	return nil
40245}
40246
40247// SetScheduleExpression sets the ScheduleExpression field's value.
40248func (s *ScheduleConfig) SetScheduleExpression(v string) *ScheduleConfig {
40249	s.ScheduleExpression = &v
40250	return s
40251}
40252
40253// A multi-expression that searches for the specified resource or resources
40254// in a search. All resource objects that satisfy the expression's condition
40255// are included in the search results. You must specify at least one subexpression,
40256// filter, or nested filter. A SearchExpression can contain up to twenty elements.
40257//
40258// A SearchExpression contains the following components:
40259//
40260//    * A list of Filter objects. Each filter defines a simple Boolean expression
40261//    comprised of a resource property name, Boolean operator, and value.
40262//
40263//    * A list of NestedFilter objects. Each nested filter defines a list of
40264//    Boolean expressions using a list of resource properties. A nested filter
40265//    is satisfied if a single object in the list satisfies all Boolean expressions.
40266//
40267//    * A list of SearchExpression objects. A search expression object can be
40268//    nested in a list of search expression objects.
40269//
40270//    * A Boolean operator: And or Or.
40271type SearchExpression struct {
40272	_ struct{} `type:"structure"`
40273
40274	// A list of filter objects.
40275	Filters []*Filter `min:"1" type:"list"`
40276
40277	// A list of nested filter objects.
40278	NestedFilters []*NestedFilters `min:"1" type:"list"`
40279
40280	// A Boolean operator used to evaluate the search expression. If you want every
40281	// conditional statement in all lists to be satisfied for the entire search
40282	// expression to be true, specify And. If only a single conditional statement
40283	// needs to be true for the entire search expression to be true, specify Or.
40284	// The default value is And.
40285	Operator *string `type:"string" enum:"BooleanOperator"`
40286
40287	// A list of search expression objects.
40288	SubExpressions []*SearchExpression `min:"1" type:"list"`
40289}
40290
40291// String returns the string representation
40292func (s SearchExpression) String() string {
40293	return awsutil.Prettify(s)
40294}
40295
40296// GoString returns the string representation
40297func (s SearchExpression) GoString() string {
40298	return s.String()
40299}
40300
40301// Validate inspects the fields of the type to determine if they are valid.
40302func (s *SearchExpression) Validate() error {
40303	invalidParams := request.ErrInvalidParams{Context: "SearchExpression"}
40304	if s.Filters != nil && len(s.Filters) < 1 {
40305		invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
40306	}
40307	if s.NestedFilters != nil && len(s.NestedFilters) < 1 {
40308		invalidParams.Add(request.NewErrParamMinLen("NestedFilters", 1))
40309	}
40310	if s.SubExpressions != nil && len(s.SubExpressions) < 1 {
40311		invalidParams.Add(request.NewErrParamMinLen("SubExpressions", 1))
40312	}
40313	if s.Filters != nil {
40314		for i, v := range s.Filters {
40315			if v == nil {
40316				continue
40317			}
40318			if err := v.Validate(); err != nil {
40319				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
40320			}
40321		}
40322	}
40323	if s.NestedFilters != nil {
40324		for i, v := range s.NestedFilters {
40325			if v == nil {
40326				continue
40327			}
40328			if err := v.Validate(); err != nil {
40329				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "NestedFilters", i), err.(request.ErrInvalidParams))
40330			}
40331		}
40332	}
40333	if s.SubExpressions != nil {
40334		for i, v := range s.SubExpressions {
40335			if v == nil {
40336				continue
40337			}
40338			if err := v.Validate(); err != nil {
40339				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SubExpressions", i), err.(request.ErrInvalidParams))
40340			}
40341		}
40342	}
40343
40344	if invalidParams.Len() > 0 {
40345		return invalidParams
40346	}
40347	return nil
40348}
40349
40350// SetFilters sets the Filters field's value.
40351func (s *SearchExpression) SetFilters(v []*Filter) *SearchExpression {
40352	s.Filters = v
40353	return s
40354}
40355
40356// SetNestedFilters sets the NestedFilters field's value.
40357func (s *SearchExpression) SetNestedFilters(v []*NestedFilters) *SearchExpression {
40358	s.NestedFilters = v
40359	return s
40360}
40361
40362// SetOperator sets the Operator field's value.
40363func (s *SearchExpression) SetOperator(v string) *SearchExpression {
40364	s.Operator = &v
40365	return s
40366}
40367
40368// SetSubExpressions sets the SubExpressions field's value.
40369func (s *SearchExpression) SetSubExpressions(v []*SearchExpression) *SearchExpression {
40370	s.SubExpressions = v
40371	return s
40372}
40373
40374type SearchInput struct {
40375	_ struct{} `type:"structure"`
40376
40377	// The maximum number of results to return.
40378	MaxResults *int64 `min:"1" type:"integer"`
40379
40380	// If more than MaxResults resources match the specified SearchExpression, the
40381	// response includes a NextToken. The NextToken can be passed to the next SearchRequest
40382	// to continue retrieving results.
40383	NextToken *string `type:"string"`
40384
40385	// The name of the Amazon SageMaker resource to search for.
40386	//
40387	// Resource is a required field
40388	Resource *string `type:"string" required:"true" enum:"ResourceType"`
40389
40390	// A Boolean conditional statement. Resources must satisfy this condition to
40391	// be included in search results. You must provide at least one subexpression,
40392	// filter, or nested filter. The maximum number of recursive SubExpressions,
40393	// NestedFilters, and Filters that can be included in a SearchExpression object
40394	// is 50.
40395	SearchExpression *SearchExpression `type:"structure"`
40396
40397	// The name of the resource property used to sort the SearchResults. The default
40398	// is LastModifiedTime.
40399	SortBy *string `min:"1" type:"string"`
40400
40401	// How SearchResults are ordered. Valid values are Ascending or Descending.
40402	// The default is Descending.
40403	SortOrder *string `type:"string" enum:"SearchSortOrder"`
40404}
40405
40406// String returns the string representation
40407func (s SearchInput) String() string {
40408	return awsutil.Prettify(s)
40409}
40410
40411// GoString returns the string representation
40412func (s SearchInput) GoString() string {
40413	return s.String()
40414}
40415
40416// Validate inspects the fields of the type to determine if they are valid.
40417func (s *SearchInput) Validate() error {
40418	invalidParams := request.ErrInvalidParams{Context: "SearchInput"}
40419	if s.MaxResults != nil && *s.MaxResults < 1 {
40420		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
40421	}
40422	if s.Resource == nil {
40423		invalidParams.Add(request.NewErrParamRequired("Resource"))
40424	}
40425	if s.SortBy != nil && len(*s.SortBy) < 1 {
40426		invalidParams.Add(request.NewErrParamMinLen("SortBy", 1))
40427	}
40428	if s.SearchExpression != nil {
40429		if err := s.SearchExpression.Validate(); err != nil {
40430			invalidParams.AddNested("SearchExpression", err.(request.ErrInvalidParams))
40431		}
40432	}
40433
40434	if invalidParams.Len() > 0 {
40435		return invalidParams
40436	}
40437	return nil
40438}
40439
40440// SetMaxResults sets the MaxResults field's value.
40441func (s *SearchInput) SetMaxResults(v int64) *SearchInput {
40442	s.MaxResults = &v
40443	return s
40444}
40445
40446// SetNextToken sets the NextToken field's value.
40447func (s *SearchInput) SetNextToken(v string) *SearchInput {
40448	s.NextToken = &v
40449	return s
40450}
40451
40452// SetResource sets the Resource field's value.
40453func (s *SearchInput) SetResource(v string) *SearchInput {
40454	s.Resource = &v
40455	return s
40456}
40457
40458// SetSearchExpression sets the SearchExpression field's value.
40459func (s *SearchInput) SetSearchExpression(v *SearchExpression) *SearchInput {
40460	s.SearchExpression = v
40461	return s
40462}
40463
40464// SetSortBy sets the SortBy field's value.
40465func (s *SearchInput) SetSortBy(v string) *SearchInput {
40466	s.SortBy = &v
40467	return s
40468}
40469
40470// SetSortOrder sets the SortOrder field's value.
40471func (s *SearchInput) SetSortOrder(v string) *SearchInput {
40472	s.SortOrder = &v
40473	return s
40474}
40475
40476type SearchOutput struct {
40477	_ struct{} `type:"structure"`
40478
40479	// If the result of the previous Search request was truncated, the response
40480	// includes a NextToken. To retrieve the next set of results, use the token
40481	// in the next request.
40482	NextToken *string `type:"string"`
40483
40484	// A list of SearchRecord objects.
40485	Results []*SearchRecord `type:"list"`
40486}
40487
40488// String returns the string representation
40489func (s SearchOutput) String() string {
40490	return awsutil.Prettify(s)
40491}
40492
40493// GoString returns the string representation
40494func (s SearchOutput) GoString() string {
40495	return s.String()
40496}
40497
40498// SetNextToken sets the NextToken field's value.
40499func (s *SearchOutput) SetNextToken(v string) *SearchOutput {
40500	s.NextToken = &v
40501	return s
40502}
40503
40504// SetResults sets the Results field's value.
40505func (s *SearchOutput) SetResults(v []*SearchRecord) *SearchOutput {
40506	s.Results = v
40507	return s
40508}
40509
40510// A single resource returned as part of the Search API response.
40511type SearchRecord struct {
40512	_ struct{} `type:"structure"`
40513
40514	// The properties of an experiment.
40515	Experiment *Experiment `type:"structure"`
40516
40517	// The properties of a training job.
40518	TrainingJob *TrainingJob `type:"structure"`
40519
40520	// The properties of a trial.
40521	Trial *Trial `type:"structure"`
40522
40523	// The properties of a trial component.
40524	TrialComponent *TrialComponent `type:"structure"`
40525}
40526
40527// String returns the string representation
40528func (s SearchRecord) String() string {
40529	return awsutil.Prettify(s)
40530}
40531
40532// GoString returns the string representation
40533func (s SearchRecord) GoString() string {
40534	return s.String()
40535}
40536
40537// SetExperiment sets the Experiment field's value.
40538func (s *SearchRecord) SetExperiment(v *Experiment) *SearchRecord {
40539	s.Experiment = v
40540	return s
40541}
40542
40543// SetTrainingJob sets the TrainingJob field's value.
40544func (s *SearchRecord) SetTrainingJob(v *TrainingJob) *SearchRecord {
40545	s.TrainingJob = v
40546	return s
40547}
40548
40549// SetTrial sets the Trial field's value.
40550func (s *SearchRecord) SetTrial(v *Trial) *SearchRecord {
40551	s.Trial = v
40552	return s
40553}
40554
40555// SetTrialComponent sets the TrialComponent field's value.
40556func (s *SearchRecord) SetTrialComponent(v *TrialComponent) *SearchRecord {
40557	s.TrialComponent = v
40558	return s
40559}
40560
40561// An array element of DescribeTrainingJobResponse$SecondaryStatusTransitions.
40562// It provides additional details about a status that the training job has transitioned
40563// through. A training job can be in one of several states, for example, starting,
40564// downloading, training, or uploading. Within each state, there are a number
40565// of intermediate states. For example, within the starting state, Amazon SageMaker
40566// could be starting the training job or launching the ML instances. These transitional
40567// states are referred to as the job's secondary status.
40568type SecondaryStatusTransition struct {
40569	_ struct{} `type:"structure"`
40570
40571	// A timestamp that shows when the training job transitioned out of this secondary
40572	// status state into another secondary status state or when the training job
40573	// has ended.
40574	EndTime *time.Time `type:"timestamp"`
40575
40576	// A timestamp that shows when the training job transitioned to the current
40577	// secondary status state.
40578	//
40579	// StartTime is a required field
40580	StartTime *time.Time `type:"timestamp" required:"true"`
40581
40582	// Contains a secondary status information from a training job.
40583	//
40584	// Status might be one of the following secondary statuses:
40585	//
40586	// InProgress
40587	//
40588	//    * Starting - Starting the training job.
40589	//
40590	//    * Downloading - An optional stage for algorithms that support File training
40591	//    input mode. It indicates that data is being downloaded to the ML storage
40592	//    volumes.
40593	//
40594	//    * Training - Training is in progress.
40595	//
40596	//    * Uploading - Training is complete and the model artifacts are being uploaded
40597	//    to the S3 location.
40598	//
40599	// Completed
40600	//
40601	//    * Completed - The training job has completed.
40602	//
40603	// Failed
40604	//
40605	//    * Failed - The training job has failed. The reason for the failure is
40606	//    returned in the FailureReason field of DescribeTrainingJobResponse.
40607	//
40608	// Stopped
40609	//
40610	//    * MaxRuntimeExceeded - The job stopped because it exceeded the maximum
40611	//    allowed runtime.
40612	//
40613	//    * Stopped - The training job has stopped.
40614	//
40615	// Stopping
40616	//
40617	//    * Stopping - Stopping the training job.
40618	//
40619	// We no longer support the following secondary statuses:
40620	//
40621	//    * LaunchingMLInstances
40622	//
40623	//    * PreparingTrainingStack
40624	//
40625	//    * DownloadingTrainingImage
40626	//
40627	// Status is a required field
40628	Status *string `type:"string" required:"true" enum:"SecondaryStatus"`
40629
40630	// A detailed description of the progress within a secondary status.
40631	//
40632	// Amazon SageMaker provides secondary statuses and status messages that apply
40633	// to each of them:
40634	//
40635	// Starting
40636	//
40637	//    * Starting the training job.
40638	//
40639	//    * Launching requested ML instances.
40640	//
40641	//    * Insufficient capacity error from EC2 while launching instances, retrying!
40642	//
40643	//    * Launched instance was unhealthy, replacing it!
40644	//
40645	//    * Preparing the instances for training.
40646	//
40647	// Training
40648	//
40649	//    * Downloading the training image.
40650	//
40651	//    * Training image download completed. Training in progress.
40652	//
40653	// Status messages are subject to change. Therefore, we recommend not including
40654	// them in code that programmatically initiates actions. For examples, don't
40655	// use status messages in if statements.
40656	//
40657	// To have an overview of your training job's progress, view TrainingJobStatus
40658	// and SecondaryStatus in DescribeTrainingJob, and StatusMessage together. For
40659	// example, at the start of a training job, you might see the following:
40660	//
40661	//    * TrainingJobStatus - InProgress
40662	//
40663	//    * SecondaryStatus - Training
40664	//
40665	//    * StatusMessage - Downloading the training image
40666	StatusMessage *string `type:"string"`
40667}
40668
40669// String returns the string representation
40670func (s SecondaryStatusTransition) String() string {
40671	return awsutil.Prettify(s)
40672}
40673
40674// GoString returns the string representation
40675func (s SecondaryStatusTransition) GoString() string {
40676	return s.String()
40677}
40678
40679// SetEndTime sets the EndTime field's value.
40680func (s *SecondaryStatusTransition) SetEndTime(v time.Time) *SecondaryStatusTransition {
40681	s.EndTime = &v
40682	return s
40683}
40684
40685// SetStartTime sets the StartTime field's value.
40686func (s *SecondaryStatusTransition) SetStartTime(v time.Time) *SecondaryStatusTransition {
40687	s.StartTime = &v
40688	return s
40689}
40690
40691// SetStatus sets the Status field's value.
40692func (s *SecondaryStatusTransition) SetStatus(v string) *SecondaryStatusTransition {
40693	s.Status = &v
40694	return s
40695}
40696
40697// SetStatusMessage sets the StatusMessage field's value.
40698func (s *SecondaryStatusTransition) SetStatusMessage(v string) *SecondaryStatusTransition {
40699	s.StatusMessage = &v
40700	return s
40701}
40702
40703// Specifies options when sharing an Amazon SageMaker Studio notebook. These
40704// settings are specified as part of DefaultUserSettings when the CreateDomain
40705// API is called, and as part of UserSettings when the CreateUserProfile API
40706// is called.
40707type SharingSettings struct {
40708	_ struct{} `type:"structure"`
40709
40710	// Whether to include the notebook cell output when sharing the notebook. The
40711	// default is Disabled.
40712	NotebookOutputOption *string `type:"string" enum:"NotebookOutputOption"`
40713
40714	// When NotebookOutputOption is Allowed, the AWS Key Management Service (KMS)
40715	// encryption key ID used to encrypt the notebook cell output in the Amazon
40716	// S3 bucket.
40717	S3KmsKeyId *string `type:"string"`
40718
40719	// When NotebookOutputOption is Allowed, the Amazon S3 bucket used to save the
40720	// notebook cell output. If S3OutputPath isn't specified, a default bucket is
40721	// used.
40722	S3OutputPath *string `type:"string"`
40723}
40724
40725// String returns the string representation
40726func (s SharingSettings) String() string {
40727	return awsutil.Prettify(s)
40728}
40729
40730// GoString returns the string representation
40731func (s SharingSettings) GoString() string {
40732	return s.String()
40733}
40734
40735// SetNotebookOutputOption sets the NotebookOutputOption field's value.
40736func (s *SharingSettings) SetNotebookOutputOption(v string) *SharingSettings {
40737	s.NotebookOutputOption = &v
40738	return s
40739}
40740
40741// SetS3KmsKeyId sets the S3KmsKeyId field's value.
40742func (s *SharingSettings) SetS3KmsKeyId(v string) *SharingSettings {
40743	s.S3KmsKeyId = &v
40744	return s
40745}
40746
40747// SetS3OutputPath sets the S3OutputPath field's value.
40748func (s *SharingSettings) SetS3OutputPath(v string) *SharingSettings {
40749	s.S3OutputPath = &v
40750	return s
40751}
40752
40753// A configuration for a shuffle option for input data in a channel. If you
40754// use S3Prefix for S3DataType, the results of the S3 key prefix matches are
40755// shuffled. If you use ManifestFile, the order of the S3 object references
40756// in the ManifestFile is shuffled. If you use AugmentedManifestFile, the order
40757// of the JSON lines in the AugmentedManifestFile is shuffled. The shuffling
40758// order is determined using the Seed value.
40759//
40760// For Pipe input mode, when ShuffleConfig is specified shuffling is done at
40761// the start of every epoch. With large datasets, this ensures that the order
40762// of the training data is different for each epoch, and it helps reduce bias
40763// and possible overfitting. In a multi-node training job when ShuffleConfig
40764// is combined with S3DataDistributionType of ShardedByS3Key, the data is shuffled
40765// across nodes so that the content sent to a particular node on the first epoch
40766// might be sent to a different node on the second epoch.
40767type ShuffleConfig struct {
40768	_ struct{} `type:"structure"`
40769
40770	// Determines the shuffling order in ShuffleConfig value.
40771	//
40772	// Seed is a required field
40773	Seed *int64 `type:"long" required:"true"`
40774}
40775
40776// String returns the string representation
40777func (s ShuffleConfig) String() string {
40778	return awsutil.Prettify(s)
40779}
40780
40781// GoString returns the string representation
40782func (s ShuffleConfig) GoString() string {
40783	return s.String()
40784}
40785
40786// Validate inspects the fields of the type to determine if they are valid.
40787func (s *ShuffleConfig) Validate() error {
40788	invalidParams := request.ErrInvalidParams{Context: "ShuffleConfig"}
40789	if s.Seed == nil {
40790		invalidParams.Add(request.NewErrParamRequired("Seed"))
40791	}
40792
40793	if invalidParams.Len() > 0 {
40794		return invalidParams
40795	}
40796	return nil
40797}
40798
40799// SetSeed sets the Seed field's value.
40800func (s *ShuffleConfig) SetSeed(v int64) *ShuffleConfig {
40801	s.Seed = &v
40802	return s
40803}
40804
40805// Specifies an algorithm that was used to create the model package. The algorithm
40806// must be either an algorithm resource in your Amazon SageMaker account or
40807// an algorithm in AWS Marketplace that you are subscribed to.
40808type SourceAlgorithm struct {
40809	_ struct{} `type:"structure"`
40810
40811	// The name of an algorithm that was used to create the model package. The algorithm
40812	// must be either an algorithm resource in your Amazon SageMaker account or
40813	// an algorithm in AWS Marketplace that you are subscribed to.
40814	//
40815	// AlgorithmName is a required field
40816	AlgorithmName *string `min:"1" type:"string" required:"true"`
40817
40818	// The Amazon S3 path where the model artifacts, which result from model training,
40819	// are stored. This path must point to a single gzip compressed tar archive
40820	// (.tar.gz suffix).
40821	ModelDataUrl *string `type:"string"`
40822}
40823
40824// String returns the string representation
40825func (s SourceAlgorithm) String() string {
40826	return awsutil.Prettify(s)
40827}
40828
40829// GoString returns the string representation
40830func (s SourceAlgorithm) GoString() string {
40831	return s.String()
40832}
40833
40834// Validate inspects the fields of the type to determine if they are valid.
40835func (s *SourceAlgorithm) Validate() error {
40836	invalidParams := request.ErrInvalidParams{Context: "SourceAlgorithm"}
40837	if s.AlgorithmName == nil {
40838		invalidParams.Add(request.NewErrParamRequired("AlgorithmName"))
40839	}
40840	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
40841		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
40842	}
40843
40844	if invalidParams.Len() > 0 {
40845		return invalidParams
40846	}
40847	return nil
40848}
40849
40850// SetAlgorithmName sets the AlgorithmName field's value.
40851func (s *SourceAlgorithm) SetAlgorithmName(v string) *SourceAlgorithm {
40852	s.AlgorithmName = &v
40853	return s
40854}
40855
40856// SetModelDataUrl sets the ModelDataUrl field's value.
40857func (s *SourceAlgorithm) SetModelDataUrl(v string) *SourceAlgorithm {
40858	s.ModelDataUrl = &v
40859	return s
40860}
40861
40862// A list of algorithms that were used to create a model package.
40863type SourceAlgorithmSpecification struct {
40864	_ struct{} `type:"structure"`
40865
40866	// A list of the algorithms that were used to create a model package.
40867	//
40868	// SourceAlgorithms is a required field
40869	SourceAlgorithms []*SourceAlgorithm `min:"1" type:"list" required:"true"`
40870}
40871
40872// String returns the string representation
40873func (s SourceAlgorithmSpecification) String() string {
40874	return awsutil.Prettify(s)
40875}
40876
40877// GoString returns the string representation
40878func (s SourceAlgorithmSpecification) GoString() string {
40879	return s.String()
40880}
40881
40882// Validate inspects the fields of the type to determine if they are valid.
40883func (s *SourceAlgorithmSpecification) Validate() error {
40884	invalidParams := request.ErrInvalidParams{Context: "SourceAlgorithmSpecification"}
40885	if s.SourceAlgorithms == nil {
40886		invalidParams.Add(request.NewErrParamRequired("SourceAlgorithms"))
40887	}
40888	if s.SourceAlgorithms != nil && len(s.SourceAlgorithms) < 1 {
40889		invalidParams.Add(request.NewErrParamMinLen("SourceAlgorithms", 1))
40890	}
40891	if s.SourceAlgorithms != nil {
40892		for i, v := range s.SourceAlgorithms {
40893			if v == nil {
40894				continue
40895			}
40896			if err := v.Validate(); err != nil {
40897				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SourceAlgorithms", i), err.(request.ErrInvalidParams))
40898			}
40899		}
40900	}
40901
40902	if invalidParams.Len() > 0 {
40903		return invalidParams
40904	}
40905	return nil
40906}
40907
40908// SetSourceAlgorithms sets the SourceAlgorithms field's value.
40909func (s *SourceAlgorithmSpecification) SetSourceAlgorithms(v []*SourceAlgorithm) *SourceAlgorithmSpecification {
40910	s.SourceAlgorithms = v
40911	return s
40912}
40913
40914// A list of IP address ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html)).
40915// Used to create an allow list of IP addresses for a private workforce. For
40916// more information, see .
40917type SourceIpConfig struct {
40918	_ struct{} `type:"structure"`
40919
40920	// A list of one to four Classless Inter-Domain Routing (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html)
40921	// (CIDR) values.
40922	//
40923	// Maximum: Four CIDR values
40924	//
40925	// The following Length Constraints apply to individual CIDR values in the CIDR
40926	// value list.
40927	//
40928	// Cidrs is a required field
40929	Cidrs []*string `type:"list" required:"true"`
40930}
40931
40932// String returns the string representation
40933func (s SourceIpConfig) String() string {
40934	return awsutil.Prettify(s)
40935}
40936
40937// GoString returns the string representation
40938func (s SourceIpConfig) GoString() string {
40939	return s.String()
40940}
40941
40942// Validate inspects the fields of the type to determine if they are valid.
40943func (s *SourceIpConfig) Validate() error {
40944	invalidParams := request.ErrInvalidParams{Context: "SourceIpConfig"}
40945	if s.Cidrs == nil {
40946		invalidParams.Add(request.NewErrParamRequired("Cidrs"))
40947	}
40948
40949	if invalidParams.Len() > 0 {
40950		return invalidParams
40951	}
40952	return nil
40953}
40954
40955// SetCidrs sets the Cidrs field's value.
40956func (s *SourceIpConfig) SetCidrs(v []*string) *SourceIpConfig {
40957	s.Cidrs = v
40958	return s
40959}
40960
40961type StartMonitoringScheduleInput struct {
40962	_ struct{} `type:"structure"`
40963
40964	// The name of the schedule to start.
40965	//
40966	// MonitoringScheduleName is a required field
40967	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
40968}
40969
40970// String returns the string representation
40971func (s StartMonitoringScheduleInput) String() string {
40972	return awsutil.Prettify(s)
40973}
40974
40975// GoString returns the string representation
40976func (s StartMonitoringScheduleInput) GoString() string {
40977	return s.String()
40978}
40979
40980// Validate inspects the fields of the type to determine if they are valid.
40981func (s *StartMonitoringScheduleInput) Validate() error {
40982	invalidParams := request.ErrInvalidParams{Context: "StartMonitoringScheduleInput"}
40983	if s.MonitoringScheduleName == nil {
40984		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName"))
40985	}
40986	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
40987		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
40988	}
40989
40990	if invalidParams.Len() > 0 {
40991		return invalidParams
40992	}
40993	return nil
40994}
40995
40996// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
40997func (s *StartMonitoringScheduleInput) SetMonitoringScheduleName(v string) *StartMonitoringScheduleInput {
40998	s.MonitoringScheduleName = &v
40999	return s
41000}
41001
41002type StartMonitoringScheduleOutput struct {
41003	_ struct{} `type:"structure"`
41004}
41005
41006// String returns the string representation
41007func (s StartMonitoringScheduleOutput) String() string {
41008	return awsutil.Prettify(s)
41009}
41010
41011// GoString returns the string representation
41012func (s StartMonitoringScheduleOutput) GoString() string {
41013	return s.String()
41014}
41015
41016type StartNotebookInstanceInput struct {
41017	_ struct{} `type:"structure"`
41018
41019	// The name of the notebook instance to start.
41020	//
41021	// NotebookInstanceName is a required field
41022	NotebookInstanceName *string `type:"string" required:"true"`
41023}
41024
41025// String returns the string representation
41026func (s StartNotebookInstanceInput) String() string {
41027	return awsutil.Prettify(s)
41028}
41029
41030// GoString returns the string representation
41031func (s StartNotebookInstanceInput) GoString() string {
41032	return s.String()
41033}
41034
41035// Validate inspects the fields of the type to determine if they are valid.
41036func (s *StartNotebookInstanceInput) Validate() error {
41037	invalidParams := request.ErrInvalidParams{Context: "StartNotebookInstanceInput"}
41038	if s.NotebookInstanceName == nil {
41039		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
41040	}
41041
41042	if invalidParams.Len() > 0 {
41043		return invalidParams
41044	}
41045	return nil
41046}
41047
41048// SetNotebookInstanceName sets the NotebookInstanceName field's value.
41049func (s *StartNotebookInstanceInput) SetNotebookInstanceName(v string) *StartNotebookInstanceInput {
41050	s.NotebookInstanceName = &v
41051	return s
41052}
41053
41054type StartNotebookInstanceOutput struct {
41055	_ struct{} `type:"structure"`
41056}
41057
41058// String returns the string representation
41059func (s StartNotebookInstanceOutput) String() string {
41060	return awsutil.Prettify(s)
41061}
41062
41063// GoString returns the string representation
41064func (s StartNotebookInstanceOutput) GoString() string {
41065	return s.String()
41066}
41067
41068type StopAutoMLJobInput struct {
41069	_ struct{} `type:"structure"`
41070
41071	// The name of the object you are requesting.
41072	//
41073	// AutoMLJobName is a required field
41074	AutoMLJobName *string `min:"1" type:"string" required:"true"`
41075}
41076
41077// String returns the string representation
41078func (s StopAutoMLJobInput) String() string {
41079	return awsutil.Prettify(s)
41080}
41081
41082// GoString returns the string representation
41083func (s StopAutoMLJobInput) GoString() string {
41084	return s.String()
41085}
41086
41087// Validate inspects the fields of the type to determine if they are valid.
41088func (s *StopAutoMLJobInput) Validate() error {
41089	invalidParams := request.ErrInvalidParams{Context: "StopAutoMLJobInput"}
41090	if s.AutoMLJobName == nil {
41091		invalidParams.Add(request.NewErrParamRequired("AutoMLJobName"))
41092	}
41093	if s.AutoMLJobName != nil && len(*s.AutoMLJobName) < 1 {
41094		invalidParams.Add(request.NewErrParamMinLen("AutoMLJobName", 1))
41095	}
41096
41097	if invalidParams.Len() > 0 {
41098		return invalidParams
41099	}
41100	return nil
41101}
41102
41103// SetAutoMLJobName sets the AutoMLJobName field's value.
41104func (s *StopAutoMLJobInput) SetAutoMLJobName(v string) *StopAutoMLJobInput {
41105	s.AutoMLJobName = &v
41106	return s
41107}
41108
41109type StopAutoMLJobOutput struct {
41110	_ struct{} `type:"structure"`
41111}
41112
41113// String returns the string representation
41114func (s StopAutoMLJobOutput) String() string {
41115	return awsutil.Prettify(s)
41116}
41117
41118// GoString returns the string representation
41119func (s StopAutoMLJobOutput) GoString() string {
41120	return s.String()
41121}
41122
41123type StopCompilationJobInput struct {
41124	_ struct{} `type:"structure"`
41125
41126	// The name of the model compilation job to stop.
41127	//
41128	// CompilationJobName is a required field
41129	CompilationJobName *string `min:"1" type:"string" required:"true"`
41130}
41131
41132// String returns the string representation
41133func (s StopCompilationJobInput) String() string {
41134	return awsutil.Prettify(s)
41135}
41136
41137// GoString returns the string representation
41138func (s StopCompilationJobInput) GoString() string {
41139	return s.String()
41140}
41141
41142// Validate inspects the fields of the type to determine if they are valid.
41143func (s *StopCompilationJobInput) Validate() error {
41144	invalidParams := request.ErrInvalidParams{Context: "StopCompilationJobInput"}
41145	if s.CompilationJobName == nil {
41146		invalidParams.Add(request.NewErrParamRequired("CompilationJobName"))
41147	}
41148	if s.CompilationJobName != nil && len(*s.CompilationJobName) < 1 {
41149		invalidParams.Add(request.NewErrParamMinLen("CompilationJobName", 1))
41150	}
41151
41152	if invalidParams.Len() > 0 {
41153		return invalidParams
41154	}
41155	return nil
41156}
41157
41158// SetCompilationJobName sets the CompilationJobName field's value.
41159func (s *StopCompilationJobInput) SetCompilationJobName(v string) *StopCompilationJobInput {
41160	s.CompilationJobName = &v
41161	return s
41162}
41163
41164type StopCompilationJobOutput struct {
41165	_ struct{} `type:"structure"`
41166}
41167
41168// String returns the string representation
41169func (s StopCompilationJobOutput) String() string {
41170	return awsutil.Prettify(s)
41171}
41172
41173// GoString returns the string representation
41174func (s StopCompilationJobOutput) GoString() string {
41175	return s.String()
41176}
41177
41178type StopHyperParameterTuningJobInput struct {
41179	_ struct{} `type:"structure"`
41180
41181	// The name of the tuning job to stop.
41182	//
41183	// HyperParameterTuningJobName is a required field
41184	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
41185}
41186
41187// String returns the string representation
41188func (s StopHyperParameterTuningJobInput) String() string {
41189	return awsutil.Prettify(s)
41190}
41191
41192// GoString returns the string representation
41193func (s StopHyperParameterTuningJobInput) GoString() string {
41194	return s.String()
41195}
41196
41197// Validate inspects the fields of the type to determine if they are valid.
41198func (s *StopHyperParameterTuningJobInput) Validate() error {
41199	invalidParams := request.ErrInvalidParams{Context: "StopHyperParameterTuningJobInput"}
41200	if s.HyperParameterTuningJobName == nil {
41201		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobName"))
41202	}
41203	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
41204		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
41205	}
41206
41207	if invalidParams.Len() > 0 {
41208		return invalidParams
41209	}
41210	return nil
41211}
41212
41213// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
41214func (s *StopHyperParameterTuningJobInput) SetHyperParameterTuningJobName(v string) *StopHyperParameterTuningJobInput {
41215	s.HyperParameterTuningJobName = &v
41216	return s
41217}
41218
41219type StopHyperParameterTuningJobOutput struct {
41220	_ struct{} `type:"structure"`
41221}
41222
41223// String returns the string representation
41224func (s StopHyperParameterTuningJobOutput) String() string {
41225	return awsutil.Prettify(s)
41226}
41227
41228// GoString returns the string representation
41229func (s StopHyperParameterTuningJobOutput) GoString() string {
41230	return s.String()
41231}
41232
41233type StopLabelingJobInput struct {
41234	_ struct{} `type:"structure"`
41235
41236	// The name of the labeling job to stop.
41237	//
41238	// LabelingJobName is a required field
41239	LabelingJobName *string `min:"1" type:"string" required:"true"`
41240}
41241
41242// String returns the string representation
41243func (s StopLabelingJobInput) String() string {
41244	return awsutil.Prettify(s)
41245}
41246
41247// GoString returns the string representation
41248func (s StopLabelingJobInput) GoString() string {
41249	return s.String()
41250}
41251
41252// Validate inspects the fields of the type to determine if they are valid.
41253func (s *StopLabelingJobInput) Validate() error {
41254	invalidParams := request.ErrInvalidParams{Context: "StopLabelingJobInput"}
41255	if s.LabelingJobName == nil {
41256		invalidParams.Add(request.NewErrParamRequired("LabelingJobName"))
41257	}
41258	if s.LabelingJobName != nil && len(*s.LabelingJobName) < 1 {
41259		invalidParams.Add(request.NewErrParamMinLen("LabelingJobName", 1))
41260	}
41261
41262	if invalidParams.Len() > 0 {
41263		return invalidParams
41264	}
41265	return nil
41266}
41267
41268// SetLabelingJobName sets the LabelingJobName field's value.
41269func (s *StopLabelingJobInput) SetLabelingJobName(v string) *StopLabelingJobInput {
41270	s.LabelingJobName = &v
41271	return s
41272}
41273
41274type StopLabelingJobOutput struct {
41275	_ struct{} `type:"structure"`
41276}
41277
41278// String returns the string representation
41279func (s StopLabelingJobOutput) String() string {
41280	return awsutil.Prettify(s)
41281}
41282
41283// GoString returns the string representation
41284func (s StopLabelingJobOutput) GoString() string {
41285	return s.String()
41286}
41287
41288type StopMonitoringScheduleInput struct {
41289	_ struct{} `type:"structure"`
41290
41291	// The name of the schedule to stop.
41292	//
41293	// MonitoringScheduleName is a required field
41294	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
41295}
41296
41297// String returns the string representation
41298func (s StopMonitoringScheduleInput) String() string {
41299	return awsutil.Prettify(s)
41300}
41301
41302// GoString returns the string representation
41303func (s StopMonitoringScheduleInput) GoString() string {
41304	return s.String()
41305}
41306
41307// Validate inspects the fields of the type to determine if they are valid.
41308func (s *StopMonitoringScheduleInput) Validate() error {
41309	invalidParams := request.ErrInvalidParams{Context: "StopMonitoringScheduleInput"}
41310	if s.MonitoringScheduleName == nil {
41311		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName"))
41312	}
41313	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
41314		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
41315	}
41316
41317	if invalidParams.Len() > 0 {
41318		return invalidParams
41319	}
41320	return nil
41321}
41322
41323// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
41324func (s *StopMonitoringScheduleInput) SetMonitoringScheduleName(v string) *StopMonitoringScheduleInput {
41325	s.MonitoringScheduleName = &v
41326	return s
41327}
41328
41329type StopMonitoringScheduleOutput struct {
41330	_ struct{} `type:"structure"`
41331}
41332
41333// String returns the string representation
41334func (s StopMonitoringScheduleOutput) String() string {
41335	return awsutil.Prettify(s)
41336}
41337
41338// GoString returns the string representation
41339func (s StopMonitoringScheduleOutput) GoString() string {
41340	return s.String()
41341}
41342
41343type StopNotebookInstanceInput struct {
41344	_ struct{} `type:"structure"`
41345
41346	// The name of the notebook instance to terminate.
41347	//
41348	// NotebookInstanceName is a required field
41349	NotebookInstanceName *string `type:"string" required:"true"`
41350}
41351
41352// String returns the string representation
41353func (s StopNotebookInstanceInput) String() string {
41354	return awsutil.Prettify(s)
41355}
41356
41357// GoString returns the string representation
41358func (s StopNotebookInstanceInput) GoString() string {
41359	return s.String()
41360}
41361
41362// Validate inspects the fields of the type to determine if they are valid.
41363func (s *StopNotebookInstanceInput) Validate() error {
41364	invalidParams := request.ErrInvalidParams{Context: "StopNotebookInstanceInput"}
41365	if s.NotebookInstanceName == nil {
41366		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
41367	}
41368
41369	if invalidParams.Len() > 0 {
41370		return invalidParams
41371	}
41372	return nil
41373}
41374
41375// SetNotebookInstanceName sets the NotebookInstanceName field's value.
41376func (s *StopNotebookInstanceInput) SetNotebookInstanceName(v string) *StopNotebookInstanceInput {
41377	s.NotebookInstanceName = &v
41378	return s
41379}
41380
41381type StopNotebookInstanceOutput struct {
41382	_ struct{} `type:"structure"`
41383}
41384
41385// String returns the string representation
41386func (s StopNotebookInstanceOutput) String() string {
41387	return awsutil.Prettify(s)
41388}
41389
41390// GoString returns the string representation
41391func (s StopNotebookInstanceOutput) GoString() string {
41392	return s.String()
41393}
41394
41395type StopProcessingJobInput struct {
41396	_ struct{} `type:"structure"`
41397
41398	// The name of the processing job to stop.
41399	//
41400	// ProcessingJobName is a required field
41401	ProcessingJobName *string `min:"1" type:"string" required:"true"`
41402}
41403
41404// String returns the string representation
41405func (s StopProcessingJobInput) String() string {
41406	return awsutil.Prettify(s)
41407}
41408
41409// GoString returns the string representation
41410func (s StopProcessingJobInput) GoString() string {
41411	return s.String()
41412}
41413
41414// Validate inspects the fields of the type to determine if they are valid.
41415func (s *StopProcessingJobInput) Validate() error {
41416	invalidParams := request.ErrInvalidParams{Context: "StopProcessingJobInput"}
41417	if s.ProcessingJobName == nil {
41418		invalidParams.Add(request.NewErrParamRequired("ProcessingJobName"))
41419	}
41420	if s.ProcessingJobName != nil && len(*s.ProcessingJobName) < 1 {
41421		invalidParams.Add(request.NewErrParamMinLen("ProcessingJobName", 1))
41422	}
41423
41424	if invalidParams.Len() > 0 {
41425		return invalidParams
41426	}
41427	return nil
41428}
41429
41430// SetProcessingJobName sets the ProcessingJobName field's value.
41431func (s *StopProcessingJobInput) SetProcessingJobName(v string) *StopProcessingJobInput {
41432	s.ProcessingJobName = &v
41433	return s
41434}
41435
41436type StopProcessingJobOutput struct {
41437	_ struct{} `type:"structure"`
41438}
41439
41440// String returns the string representation
41441func (s StopProcessingJobOutput) String() string {
41442	return awsutil.Prettify(s)
41443}
41444
41445// GoString returns the string representation
41446func (s StopProcessingJobOutput) GoString() string {
41447	return s.String()
41448}
41449
41450type StopTrainingJobInput struct {
41451	_ struct{} `type:"structure"`
41452
41453	// The name of the training job to stop.
41454	//
41455	// TrainingJobName is a required field
41456	TrainingJobName *string `min:"1" type:"string" required:"true"`
41457}
41458
41459// String returns the string representation
41460func (s StopTrainingJobInput) String() string {
41461	return awsutil.Prettify(s)
41462}
41463
41464// GoString returns the string representation
41465func (s StopTrainingJobInput) GoString() string {
41466	return s.String()
41467}
41468
41469// Validate inspects the fields of the type to determine if they are valid.
41470func (s *StopTrainingJobInput) Validate() error {
41471	invalidParams := request.ErrInvalidParams{Context: "StopTrainingJobInput"}
41472	if s.TrainingJobName == nil {
41473		invalidParams.Add(request.NewErrParamRequired("TrainingJobName"))
41474	}
41475	if s.TrainingJobName != nil && len(*s.TrainingJobName) < 1 {
41476		invalidParams.Add(request.NewErrParamMinLen("TrainingJobName", 1))
41477	}
41478
41479	if invalidParams.Len() > 0 {
41480		return invalidParams
41481	}
41482	return nil
41483}
41484
41485// SetTrainingJobName sets the TrainingJobName field's value.
41486func (s *StopTrainingJobInput) SetTrainingJobName(v string) *StopTrainingJobInput {
41487	s.TrainingJobName = &v
41488	return s
41489}
41490
41491type StopTrainingJobOutput struct {
41492	_ struct{} `type:"structure"`
41493}
41494
41495// String returns the string representation
41496func (s StopTrainingJobOutput) String() string {
41497	return awsutil.Prettify(s)
41498}
41499
41500// GoString returns the string representation
41501func (s StopTrainingJobOutput) GoString() string {
41502	return s.String()
41503}
41504
41505type StopTransformJobInput struct {
41506	_ struct{} `type:"structure"`
41507
41508	// The name of the transform job to stop.
41509	//
41510	// TransformJobName is a required field
41511	TransformJobName *string `min:"1" type:"string" required:"true"`
41512}
41513
41514// String returns the string representation
41515func (s StopTransformJobInput) String() string {
41516	return awsutil.Prettify(s)
41517}
41518
41519// GoString returns the string representation
41520func (s StopTransformJobInput) GoString() string {
41521	return s.String()
41522}
41523
41524// Validate inspects the fields of the type to determine if they are valid.
41525func (s *StopTransformJobInput) Validate() error {
41526	invalidParams := request.ErrInvalidParams{Context: "StopTransformJobInput"}
41527	if s.TransformJobName == nil {
41528		invalidParams.Add(request.NewErrParamRequired("TransformJobName"))
41529	}
41530	if s.TransformJobName != nil && len(*s.TransformJobName) < 1 {
41531		invalidParams.Add(request.NewErrParamMinLen("TransformJobName", 1))
41532	}
41533
41534	if invalidParams.Len() > 0 {
41535		return invalidParams
41536	}
41537	return nil
41538}
41539
41540// SetTransformJobName sets the TransformJobName field's value.
41541func (s *StopTransformJobInput) SetTransformJobName(v string) *StopTransformJobInput {
41542	s.TransformJobName = &v
41543	return s
41544}
41545
41546type StopTransformJobOutput struct {
41547	_ struct{} `type:"structure"`
41548}
41549
41550// String returns the string representation
41551func (s StopTransformJobOutput) String() string {
41552	return awsutil.Prettify(s)
41553}
41554
41555// GoString returns the string representation
41556func (s StopTransformJobOutput) GoString() string {
41557	return s.String()
41558}
41559
41560// Specifies a limit to how long a model training or compilation job can run.
41561// It also specifies how long you are willing to wait for a managed spot training
41562// job to complete. When the job reaches the time limit, Amazon SageMaker ends
41563// the training or compilation job. Use this API to cap model training costs.
41564//
41565// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
41566// delays job termination for 120 seconds. Algorithms can use this 120-second
41567// window to save the model artifacts, so the results of training are not lost.
41568//
41569// The training algorithms provided by Amazon SageMaker automatically save the
41570// intermediate results of a model training job when possible. This attempt
41571// to save artifacts is only a best effort case as model might not be in a state
41572// from which it can be saved. For example, if training has just started, the
41573// model might not be ready to save. When saved, this intermediate data is a
41574// valid model artifact. You can use it to create a model with CreateModel.
41575//
41576// The Neural Topic Model (NTM) currently does not support saving intermediate
41577// model artifacts. When training NTMs, make sure that the maximum runtime is
41578// sufficient for the training job to complete.
41579type StoppingCondition struct {
41580	_ struct{} `type:"structure"`
41581
41582	// The maximum length of time, in seconds, that the training or compilation
41583	// job can run. If job does not complete during this time, Amazon SageMaker
41584	// ends the job. If value is not specified, default value is 1 day. The maximum
41585	// value is 28 days.
41586	MaxRuntimeInSeconds *int64 `min:"1" type:"integer"`
41587
41588	// The maximum length of time, in seconds, how long you are willing to wait
41589	// for a managed spot training job to complete. It is the amount of time spent
41590	// waiting for Spot capacity plus the amount of time the training job runs.
41591	// It must be equal to or greater than MaxRuntimeInSeconds.
41592	MaxWaitTimeInSeconds *int64 `min:"1" type:"integer"`
41593}
41594
41595// String returns the string representation
41596func (s StoppingCondition) String() string {
41597	return awsutil.Prettify(s)
41598}
41599
41600// GoString returns the string representation
41601func (s StoppingCondition) GoString() string {
41602	return s.String()
41603}
41604
41605// Validate inspects the fields of the type to determine if they are valid.
41606func (s *StoppingCondition) Validate() error {
41607	invalidParams := request.ErrInvalidParams{Context: "StoppingCondition"}
41608	if s.MaxRuntimeInSeconds != nil && *s.MaxRuntimeInSeconds < 1 {
41609		invalidParams.Add(request.NewErrParamMinValue("MaxRuntimeInSeconds", 1))
41610	}
41611	if s.MaxWaitTimeInSeconds != nil && *s.MaxWaitTimeInSeconds < 1 {
41612		invalidParams.Add(request.NewErrParamMinValue("MaxWaitTimeInSeconds", 1))
41613	}
41614
41615	if invalidParams.Len() > 0 {
41616		return invalidParams
41617	}
41618	return nil
41619}
41620
41621// SetMaxRuntimeInSeconds sets the MaxRuntimeInSeconds field's value.
41622func (s *StoppingCondition) SetMaxRuntimeInSeconds(v int64) *StoppingCondition {
41623	s.MaxRuntimeInSeconds = &v
41624	return s
41625}
41626
41627// SetMaxWaitTimeInSeconds sets the MaxWaitTimeInSeconds field's value.
41628func (s *StoppingCondition) SetMaxWaitTimeInSeconds(v int64) *StoppingCondition {
41629	s.MaxWaitTimeInSeconds = &v
41630	return s
41631}
41632
41633// Describes a work team of a vendor that does the a labelling job.
41634type SubscribedWorkteam struct {
41635	_ struct{} `type:"structure"`
41636
41637	ListingId *string `type:"string"`
41638
41639	// The description of the vendor from the Amazon Marketplace.
41640	MarketplaceDescription *string `min:"1" type:"string"`
41641
41642	// The title of the service provided by the vendor in the Amazon Marketplace.
41643	MarketplaceTitle *string `min:"1" type:"string"`
41644
41645	// The name of the vendor in the Amazon Marketplace.
41646	SellerName *string `type:"string"`
41647
41648	// The Amazon Resource Name (ARN) of the vendor that you have subscribed.
41649	//
41650	// WorkteamArn is a required field
41651	WorkteamArn *string `type:"string" required:"true"`
41652}
41653
41654// String returns the string representation
41655func (s SubscribedWorkteam) String() string {
41656	return awsutil.Prettify(s)
41657}
41658
41659// GoString returns the string representation
41660func (s SubscribedWorkteam) GoString() string {
41661	return s.String()
41662}
41663
41664// SetListingId sets the ListingId field's value.
41665func (s *SubscribedWorkteam) SetListingId(v string) *SubscribedWorkteam {
41666	s.ListingId = &v
41667	return s
41668}
41669
41670// SetMarketplaceDescription sets the MarketplaceDescription field's value.
41671func (s *SubscribedWorkteam) SetMarketplaceDescription(v string) *SubscribedWorkteam {
41672	s.MarketplaceDescription = &v
41673	return s
41674}
41675
41676// SetMarketplaceTitle sets the MarketplaceTitle field's value.
41677func (s *SubscribedWorkteam) SetMarketplaceTitle(v string) *SubscribedWorkteam {
41678	s.MarketplaceTitle = &v
41679	return s
41680}
41681
41682// SetSellerName sets the SellerName field's value.
41683func (s *SubscribedWorkteam) SetSellerName(v string) *SubscribedWorkteam {
41684	s.SellerName = &v
41685	return s
41686}
41687
41688// SetWorkteamArn sets the WorkteamArn field's value.
41689func (s *SubscribedWorkteam) SetWorkteamArn(v string) *SubscribedWorkteam {
41690	s.WorkteamArn = &v
41691	return s
41692}
41693
41694// Specified in the GetSearchSuggestions request. Limits the property names
41695// that are included in the response.
41696type SuggestionQuery struct {
41697	_ struct{} `type:"structure"`
41698
41699	// Defines a property name hint. Only property names that begin with the specified
41700	// hint are included in the response.
41701	PropertyNameQuery *PropertyNameQuery `type:"structure"`
41702}
41703
41704// String returns the string representation
41705func (s SuggestionQuery) String() string {
41706	return awsutil.Prettify(s)
41707}
41708
41709// GoString returns the string representation
41710func (s SuggestionQuery) GoString() string {
41711	return s.String()
41712}
41713
41714// Validate inspects the fields of the type to determine if they are valid.
41715func (s *SuggestionQuery) Validate() error {
41716	invalidParams := request.ErrInvalidParams{Context: "SuggestionQuery"}
41717	if s.PropertyNameQuery != nil {
41718		if err := s.PropertyNameQuery.Validate(); err != nil {
41719			invalidParams.AddNested("PropertyNameQuery", err.(request.ErrInvalidParams))
41720		}
41721	}
41722
41723	if invalidParams.Len() > 0 {
41724		return invalidParams
41725	}
41726	return nil
41727}
41728
41729// SetPropertyNameQuery sets the PropertyNameQuery field's value.
41730func (s *SuggestionQuery) SetPropertyNameQuery(v *PropertyNameQuery) *SuggestionQuery {
41731	s.PropertyNameQuery = v
41732	return s
41733}
41734
41735// Describes a tag.
41736type Tag struct {
41737	_ struct{} `type:"structure"`
41738
41739	// The tag key.
41740	//
41741	// Key is a required field
41742	Key *string `min:"1" type:"string" required:"true"`
41743
41744	// The tag value.
41745	//
41746	// Value is a required field
41747	Value *string `type:"string" required:"true"`
41748}
41749
41750// String returns the string representation
41751func (s Tag) String() string {
41752	return awsutil.Prettify(s)
41753}
41754
41755// GoString returns the string representation
41756func (s Tag) GoString() string {
41757	return s.String()
41758}
41759
41760// Validate inspects the fields of the type to determine if they are valid.
41761func (s *Tag) Validate() error {
41762	invalidParams := request.ErrInvalidParams{Context: "Tag"}
41763	if s.Key == nil {
41764		invalidParams.Add(request.NewErrParamRequired("Key"))
41765	}
41766	if s.Key != nil && len(*s.Key) < 1 {
41767		invalidParams.Add(request.NewErrParamMinLen("Key", 1))
41768	}
41769	if s.Value == nil {
41770		invalidParams.Add(request.NewErrParamRequired("Value"))
41771	}
41772
41773	if invalidParams.Len() > 0 {
41774		return invalidParams
41775	}
41776	return nil
41777}
41778
41779// SetKey sets the Key field's value.
41780func (s *Tag) SetKey(v string) *Tag {
41781	s.Key = &v
41782	return s
41783}
41784
41785// SetValue sets the Value field's value.
41786func (s *Tag) SetValue(v string) *Tag {
41787	s.Value = &v
41788	return s
41789}
41790
41791// The TensorBoard app settings.
41792type TensorBoardAppSettings struct {
41793	_ struct{} `type:"structure"`
41794
41795	// The default instance type and the Amazon Resource Name (ARN) of the SageMaker
41796	// image created on the instance.
41797	DefaultResourceSpec *ResourceSpec `type:"structure"`
41798}
41799
41800// String returns the string representation
41801func (s TensorBoardAppSettings) String() string {
41802	return awsutil.Prettify(s)
41803}
41804
41805// GoString returns the string representation
41806func (s TensorBoardAppSettings) GoString() string {
41807	return s.String()
41808}
41809
41810// SetDefaultResourceSpec sets the DefaultResourceSpec field's value.
41811func (s *TensorBoardAppSettings) SetDefaultResourceSpec(v *ResourceSpec) *TensorBoardAppSettings {
41812	s.DefaultResourceSpec = v
41813	return s
41814}
41815
41816// Configuration of storage locations for TensorBoard output.
41817type TensorBoardOutputConfig struct {
41818	_ struct{} `type:"structure"`
41819
41820	// Path to local storage location for tensorBoard output. Defaults to /opt/ml/output/tensorboard.
41821	LocalPath *string `type:"string"`
41822
41823	// Path to Amazon S3 storage location for TensorBoard output.
41824	//
41825	// S3OutputPath is a required field
41826	S3OutputPath *string `type:"string" required:"true"`
41827}
41828
41829// String returns the string representation
41830func (s TensorBoardOutputConfig) String() string {
41831	return awsutil.Prettify(s)
41832}
41833
41834// GoString returns the string representation
41835func (s TensorBoardOutputConfig) GoString() string {
41836	return s.String()
41837}
41838
41839// Validate inspects the fields of the type to determine if they are valid.
41840func (s *TensorBoardOutputConfig) Validate() error {
41841	invalidParams := request.ErrInvalidParams{Context: "TensorBoardOutputConfig"}
41842	if s.S3OutputPath == nil {
41843		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
41844	}
41845
41846	if invalidParams.Len() > 0 {
41847		return invalidParams
41848	}
41849	return nil
41850}
41851
41852// SetLocalPath sets the LocalPath field's value.
41853func (s *TensorBoardOutputConfig) SetLocalPath(v string) *TensorBoardOutputConfig {
41854	s.LocalPath = &v
41855	return s
41856}
41857
41858// SetS3OutputPath sets the S3OutputPath field's value.
41859func (s *TensorBoardOutputConfig) SetS3OutputPath(v string) *TensorBoardOutputConfig {
41860	s.S3OutputPath = &v
41861	return s
41862}
41863
41864// Contains information about a training job.
41865type TrainingJob struct {
41866	_ struct{} `type:"structure"`
41867
41868	// Information about the algorithm used for training, and algorithm metadata.
41869	AlgorithmSpecification *AlgorithmSpecification `type:"structure"`
41870
41871	// The Amazon Resource Name (ARN) of the job.
41872	AutoMLJobArn *string `min:"1" type:"string"`
41873
41874	// The billable time in seconds.
41875	BillableTimeInSeconds *int64 `min:"1" type:"integer"`
41876
41877	// Contains information about the output location for managed spot training
41878	// checkpoint data.
41879	CheckpointConfig *CheckpointConfig `type:"structure"`
41880
41881	// A timestamp that indicates when the training job was created.
41882	CreationTime *time.Time `type:"timestamp"`
41883
41884	// Configuration information for the debug hook parameters, collection configuration,
41885	// and storage paths.
41886	DebugHookConfig *DebugHookConfig `type:"structure"`
41887
41888	// Information about the debug rule configuration.
41889	DebugRuleConfigurations []*DebugRuleConfiguration `type:"list"`
41890
41891	// Information about the evaluation status of the rules for the training job.
41892	DebugRuleEvaluationStatuses []*DebugRuleEvaluationStatus `type:"list"`
41893
41894	// To encrypt all communications between ML compute instances in distributed
41895	// training, choose True. Encryption provides greater security for distributed
41896	// training, but training might take longer. How long it takes depends on the
41897	// amount of communication between compute instances, especially if you use
41898	// a deep learning algorithm in distributed training.
41899	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
41900
41901	// When true, enables managed spot training using Amazon EC2 Spot instances
41902	// to run training jobs instead of on-demand instances. For more information,
41903	// see Managed Spot Training (https://docs.aws.amazon.com/sagemaker/latest/dg/model-managed-spot-training.html).
41904	EnableManagedSpotTraining *bool `type:"boolean"`
41905
41906	// If the TrainingJob was created with network isolation, the value is set to
41907	// true. If network isolation is enabled, nodes can't communicate beyond the
41908	// VPC they run in.
41909	EnableNetworkIsolation *bool `type:"boolean"`
41910
41911	// Configuration for the experiment.
41912	ExperimentConfig *ExperimentConfig `type:"structure"`
41913
41914	// If the training job failed, the reason it failed.
41915	FailureReason *string `type:"string"`
41916
41917	// A list of final metric values that are set when the training job completes.
41918	// Used only if the training job was configured to use metrics.
41919	FinalMetricDataList []*MetricData `type:"list"`
41920
41921	// Algorithm-specific parameters.
41922	HyperParameters map[string]*string `type:"map"`
41923
41924	// An array of Channel objects that describes each data input channel.
41925	InputDataConfig []*Channel `min:"1" type:"list"`
41926
41927	// The Amazon Resource Name (ARN) of the labeling job.
41928	LabelingJobArn *string `type:"string"`
41929
41930	// A timestamp that indicates when the status of the training job was last modified.
41931	LastModifiedTime *time.Time `type:"timestamp"`
41932
41933	// Information about the Amazon S3 location that is configured for storing model
41934	// artifacts.
41935	ModelArtifacts *ModelArtifacts `type:"structure"`
41936
41937	// The S3 path where model artifacts that you configured when creating the job
41938	// are stored. Amazon SageMaker creates subfolders for model artifacts.
41939	OutputDataConfig *OutputDataConfig `type:"structure"`
41940
41941	// Resources, including ML compute instances and ML storage volumes, that are
41942	// configured for model training.
41943	ResourceConfig *ResourceConfig `type:"structure"`
41944
41945	// The AWS Identity and Access Management (IAM) role configured for the training
41946	// job.
41947	RoleArn *string `min:"20" type:"string"`
41948
41949	// Provides detailed information about the state of the training job. For detailed
41950	// information about the secondary status of the training job, see StatusMessage
41951	// under SecondaryStatusTransition.
41952	//
41953	// Amazon SageMaker provides primary statuses and secondary statuses that apply
41954	// to each of them:
41955	//
41956	// InProgress
41957	//
41958	//    * Starting - Starting the training job.
41959	//
41960	//    * Downloading - An optional stage for algorithms that support File training
41961	//    input mode. It indicates that data is being downloaded to the ML storage
41962	//    volumes.
41963	//
41964	//    * Training - Training is in progress.
41965	//
41966	//    * Uploading - Training is complete and the model artifacts are being uploaded
41967	//    to the S3 location.
41968	//
41969	// Completed
41970	//
41971	//    * Completed - The training job has completed.
41972	//
41973	// Failed
41974	//
41975	//    * Failed - The training job has failed. The reason for the failure is
41976	//    returned in the FailureReason field of DescribeTrainingJobResponse.
41977	//
41978	// Stopped
41979	//
41980	//    * MaxRuntimeExceeded - The job stopped because it exceeded the maximum
41981	//    allowed runtime.
41982	//
41983	//    * Stopped - The training job has stopped.
41984	//
41985	// Stopping
41986	//
41987	//    * Stopping - Stopping the training job.
41988	//
41989	// Valid values for SecondaryStatus are subject to change.
41990	//
41991	// We no longer support the following secondary statuses:
41992	//
41993	//    * LaunchingMLInstances
41994	//
41995	//    * PreparingTrainingStack
41996	//
41997	//    * DownloadingTrainingImage
41998	SecondaryStatus *string `type:"string" enum:"SecondaryStatus"`
41999
42000	// A history of all of the secondary statuses that the training job has transitioned
42001	// through.
42002	SecondaryStatusTransitions []*SecondaryStatusTransition `type:"list"`
42003
42004	// Specifies a limit to how long a model training job can run. When the job
42005	// reaches the time limit, Amazon SageMaker ends the training job. Use this
42006	// API to cap model training costs.
42007	//
42008	// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
42009	// delays job termination for 120 seconds. Algorithms can use this 120-second
42010	// window to save the model artifacts, so the results of training are not lost.
42011	StoppingCondition *StoppingCondition `type:"structure"`
42012
42013	// An array of key-value pairs. For more information, see Using Cost Allocation
42014	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
42015	// in the AWS Billing and Cost Management User Guide.
42016	Tags []*Tag `type:"list"`
42017
42018	// Configuration of storage locations for TensorBoard output.
42019	TensorBoardOutputConfig *TensorBoardOutputConfig `type:"structure"`
42020
42021	// Indicates the time when the training job ends on training instances. You
42022	// are billed for the time interval between the value of TrainingStartTime and
42023	// this time. For successful jobs and stopped jobs, this is the time after model
42024	// artifacts are uploaded. For failed jobs, this is the time when Amazon SageMaker
42025	// detects a job failure.
42026	TrainingEndTime *time.Time `type:"timestamp"`
42027
42028	// The Amazon Resource Name (ARN) of the training job.
42029	TrainingJobArn *string `type:"string"`
42030
42031	// The name of the training job.
42032	TrainingJobName *string `min:"1" type:"string"`
42033
42034	// The status of the training job.
42035	//
42036	// Training job statuses are:
42037	//
42038	//    * InProgress - The training is in progress.
42039	//
42040	//    * Completed - The training job has completed.
42041	//
42042	//    * Failed - The training job has failed. To see the reason for the failure,
42043	//    see the FailureReason field in the response to a DescribeTrainingJobResponse
42044	//    call.
42045	//
42046	//    * Stopping - The training job is stopping.
42047	//
42048	//    * Stopped - The training job has stopped.
42049	//
42050	// For more detailed information, see SecondaryStatus.
42051	TrainingJobStatus *string `type:"string" enum:"TrainingJobStatus"`
42052
42053	// Indicates the time when the training job starts on training instances. You
42054	// are billed for the time interval between this time and the value of TrainingEndTime.
42055	// The start time in CloudWatch Logs might be later than this time. The difference
42056	// is due to the time it takes to download the training data and to the size
42057	// of the training container.
42058	TrainingStartTime *time.Time `type:"timestamp"`
42059
42060	// The training time in seconds.
42061	TrainingTimeInSeconds *int64 `min:"1" type:"integer"`
42062
42063	// The Amazon Resource Name (ARN) of the associated hyperparameter tuning job
42064	// if the training job was launched by a hyperparameter tuning job.
42065	TuningJobArn *string `type:"string"`
42066
42067	// A VpcConfig object that specifies the VPC that this training job has access
42068	// to. For more information, see Protect Training Jobs by Using an Amazon Virtual
42069	// Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
42070	VpcConfig *VpcConfig `type:"structure"`
42071}
42072
42073// String returns the string representation
42074func (s TrainingJob) String() string {
42075	return awsutil.Prettify(s)
42076}
42077
42078// GoString returns the string representation
42079func (s TrainingJob) GoString() string {
42080	return s.String()
42081}
42082
42083// SetAlgorithmSpecification sets the AlgorithmSpecification field's value.
42084func (s *TrainingJob) SetAlgorithmSpecification(v *AlgorithmSpecification) *TrainingJob {
42085	s.AlgorithmSpecification = v
42086	return s
42087}
42088
42089// SetAutoMLJobArn sets the AutoMLJobArn field's value.
42090func (s *TrainingJob) SetAutoMLJobArn(v string) *TrainingJob {
42091	s.AutoMLJobArn = &v
42092	return s
42093}
42094
42095// SetBillableTimeInSeconds sets the BillableTimeInSeconds field's value.
42096func (s *TrainingJob) SetBillableTimeInSeconds(v int64) *TrainingJob {
42097	s.BillableTimeInSeconds = &v
42098	return s
42099}
42100
42101// SetCheckpointConfig sets the CheckpointConfig field's value.
42102func (s *TrainingJob) SetCheckpointConfig(v *CheckpointConfig) *TrainingJob {
42103	s.CheckpointConfig = v
42104	return s
42105}
42106
42107// SetCreationTime sets the CreationTime field's value.
42108func (s *TrainingJob) SetCreationTime(v time.Time) *TrainingJob {
42109	s.CreationTime = &v
42110	return s
42111}
42112
42113// SetDebugHookConfig sets the DebugHookConfig field's value.
42114func (s *TrainingJob) SetDebugHookConfig(v *DebugHookConfig) *TrainingJob {
42115	s.DebugHookConfig = v
42116	return s
42117}
42118
42119// SetDebugRuleConfigurations sets the DebugRuleConfigurations field's value.
42120func (s *TrainingJob) SetDebugRuleConfigurations(v []*DebugRuleConfiguration) *TrainingJob {
42121	s.DebugRuleConfigurations = v
42122	return s
42123}
42124
42125// SetDebugRuleEvaluationStatuses sets the DebugRuleEvaluationStatuses field's value.
42126func (s *TrainingJob) SetDebugRuleEvaluationStatuses(v []*DebugRuleEvaluationStatus) *TrainingJob {
42127	s.DebugRuleEvaluationStatuses = v
42128	return s
42129}
42130
42131// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
42132func (s *TrainingJob) SetEnableInterContainerTrafficEncryption(v bool) *TrainingJob {
42133	s.EnableInterContainerTrafficEncryption = &v
42134	return s
42135}
42136
42137// SetEnableManagedSpotTraining sets the EnableManagedSpotTraining field's value.
42138func (s *TrainingJob) SetEnableManagedSpotTraining(v bool) *TrainingJob {
42139	s.EnableManagedSpotTraining = &v
42140	return s
42141}
42142
42143// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
42144func (s *TrainingJob) SetEnableNetworkIsolation(v bool) *TrainingJob {
42145	s.EnableNetworkIsolation = &v
42146	return s
42147}
42148
42149// SetExperimentConfig sets the ExperimentConfig field's value.
42150func (s *TrainingJob) SetExperimentConfig(v *ExperimentConfig) *TrainingJob {
42151	s.ExperimentConfig = v
42152	return s
42153}
42154
42155// SetFailureReason sets the FailureReason field's value.
42156func (s *TrainingJob) SetFailureReason(v string) *TrainingJob {
42157	s.FailureReason = &v
42158	return s
42159}
42160
42161// SetFinalMetricDataList sets the FinalMetricDataList field's value.
42162func (s *TrainingJob) SetFinalMetricDataList(v []*MetricData) *TrainingJob {
42163	s.FinalMetricDataList = v
42164	return s
42165}
42166
42167// SetHyperParameters sets the HyperParameters field's value.
42168func (s *TrainingJob) SetHyperParameters(v map[string]*string) *TrainingJob {
42169	s.HyperParameters = v
42170	return s
42171}
42172
42173// SetInputDataConfig sets the InputDataConfig field's value.
42174func (s *TrainingJob) SetInputDataConfig(v []*Channel) *TrainingJob {
42175	s.InputDataConfig = v
42176	return s
42177}
42178
42179// SetLabelingJobArn sets the LabelingJobArn field's value.
42180func (s *TrainingJob) SetLabelingJobArn(v string) *TrainingJob {
42181	s.LabelingJobArn = &v
42182	return s
42183}
42184
42185// SetLastModifiedTime sets the LastModifiedTime field's value.
42186func (s *TrainingJob) SetLastModifiedTime(v time.Time) *TrainingJob {
42187	s.LastModifiedTime = &v
42188	return s
42189}
42190
42191// SetModelArtifacts sets the ModelArtifacts field's value.
42192func (s *TrainingJob) SetModelArtifacts(v *ModelArtifacts) *TrainingJob {
42193	s.ModelArtifacts = v
42194	return s
42195}
42196
42197// SetOutputDataConfig sets the OutputDataConfig field's value.
42198func (s *TrainingJob) SetOutputDataConfig(v *OutputDataConfig) *TrainingJob {
42199	s.OutputDataConfig = v
42200	return s
42201}
42202
42203// SetResourceConfig sets the ResourceConfig field's value.
42204func (s *TrainingJob) SetResourceConfig(v *ResourceConfig) *TrainingJob {
42205	s.ResourceConfig = v
42206	return s
42207}
42208
42209// SetRoleArn sets the RoleArn field's value.
42210func (s *TrainingJob) SetRoleArn(v string) *TrainingJob {
42211	s.RoleArn = &v
42212	return s
42213}
42214
42215// SetSecondaryStatus sets the SecondaryStatus field's value.
42216func (s *TrainingJob) SetSecondaryStatus(v string) *TrainingJob {
42217	s.SecondaryStatus = &v
42218	return s
42219}
42220
42221// SetSecondaryStatusTransitions sets the SecondaryStatusTransitions field's value.
42222func (s *TrainingJob) SetSecondaryStatusTransitions(v []*SecondaryStatusTransition) *TrainingJob {
42223	s.SecondaryStatusTransitions = v
42224	return s
42225}
42226
42227// SetStoppingCondition sets the StoppingCondition field's value.
42228func (s *TrainingJob) SetStoppingCondition(v *StoppingCondition) *TrainingJob {
42229	s.StoppingCondition = v
42230	return s
42231}
42232
42233// SetTags sets the Tags field's value.
42234func (s *TrainingJob) SetTags(v []*Tag) *TrainingJob {
42235	s.Tags = v
42236	return s
42237}
42238
42239// SetTensorBoardOutputConfig sets the TensorBoardOutputConfig field's value.
42240func (s *TrainingJob) SetTensorBoardOutputConfig(v *TensorBoardOutputConfig) *TrainingJob {
42241	s.TensorBoardOutputConfig = v
42242	return s
42243}
42244
42245// SetTrainingEndTime sets the TrainingEndTime field's value.
42246func (s *TrainingJob) SetTrainingEndTime(v time.Time) *TrainingJob {
42247	s.TrainingEndTime = &v
42248	return s
42249}
42250
42251// SetTrainingJobArn sets the TrainingJobArn field's value.
42252func (s *TrainingJob) SetTrainingJobArn(v string) *TrainingJob {
42253	s.TrainingJobArn = &v
42254	return s
42255}
42256
42257// SetTrainingJobName sets the TrainingJobName field's value.
42258func (s *TrainingJob) SetTrainingJobName(v string) *TrainingJob {
42259	s.TrainingJobName = &v
42260	return s
42261}
42262
42263// SetTrainingJobStatus sets the TrainingJobStatus field's value.
42264func (s *TrainingJob) SetTrainingJobStatus(v string) *TrainingJob {
42265	s.TrainingJobStatus = &v
42266	return s
42267}
42268
42269// SetTrainingStartTime sets the TrainingStartTime field's value.
42270func (s *TrainingJob) SetTrainingStartTime(v time.Time) *TrainingJob {
42271	s.TrainingStartTime = &v
42272	return s
42273}
42274
42275// SetTrainingTimeInSeconds sets the TrainingTimeInSeconds field's value.
42276func (s *TrainingJob) SetTrainingTimeInSeconds(v int64) *TrainingJob {
42277	s.TrainingTimeInSeconds = &v
42278	return s
42279}
42280
42281// SetTuningJobArn sets the TuningJobArn field's value.
42282func (s *TrainingJob) SetTuningJobArn(v string) *TrainingJob {
42283	s.TuningJobArn = &v
42284	return s
42285}
42286
42287// SetVpcConfig sets the VpcConfig field's value.
42288func (s *TrainingJob) SetVpcConfig(v *VpcConfig) *TrainingJob {
42289	s.VpcConfig = v
42290	return s
42291}
42292
42293// Defines the input needed to run a training job using the algorithm.
42294type TrainingJobDefinition struct {
42295	_ struct{} `type:"structure"`
42296
42297	// The hyperparameters used for the training job.
42298	HyperParameters map[string]*string `type:"map"`
42299
42300	// An array of Channel objects, each of which specifies an input source.
42301	//
42302	// InputDataConfig is a required field
42303	InputDataConfig []*Channel `min:"1" type:"list" required:"true"`
42304
42305	// the path to the S3 bucket where you want to store model artifacts. Amazon
42306	// SageMaker creates subfolders for the artifacts.
42307	//
42308	// OutputDataConfig is a required field
42309	OutputDataConfig *OutputDataConfig `type:"structure" required:"true"`
42310
42311	// The resources, including the ML compute instances and ML storage volumes,
42312	// to use for model training.
42313	//
42314	// ResourceConfig is a required field
42315	ResourceConfig *ResourceConfig `type:"structure" required:"true"`
42316
42317	// Specifies a limit to how long a model training job can run. When the job
42318	// reaches the time limit, Amazon SageMaker ends the training job. Use this
42319	// API to cap model training costs.
42320	//
42321	// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
42322	// delays job termination for 120 seconds. Algorithms can use this 120-second
42323	// window to save the model artifacts.
42324	//
42325	// StoppingCondition is a required field
42326	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
42327
42328	// The input mode used by the algorithm for the training job. For the input
42329	// modes that Amazon SageMaker algorithms support, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
42330	//
42331	// If an algorithm supports the File input mode, Amazon SageMaker downloads
42332	// the training data from S3 to the provisioned ML storage Volume, and mounts
42333	// the directory to docker volume for training container. If an algorithm supports
42334	// the Pipe input mode, Amazon SageMaker streams data directly from S3 to the
42335	// container.
42336	//
42337	// TrainingInputMode is a required field
42338	TrainingInputMode *string `type:"string" required:"true" enum:"TrainingInputMode"`
42339}
42340
42341// String returns the string representation
42342func (s TrainingJobDefinition) String() string {
42343	return awsutil.Prettify(s)
42344}
42345
42346// GoString returns the string representation
42347func (s TrainingJobDefinition) GoString() string {
42348	return s.String()
42349}
42350
42351// Validate inspects the fields of the type to determine if they are valid.
42352func (s *TrainingJobDefinition) Validate() error {
42353	invalidParams := request.ErrInvalidParams{Context: "TrainingJobDefinition"}
42354	if s.InputDataConfig == nil {
42355		invalidParams.Add(request.NewErrParamRequired("InputDataConfig"))
42356	}
42357	if s.InputDataConfig != nil && len(s.InputDataConfig) < 1 {
42358		invalidParams.Add(request.NewErrParamMinLen("InputDataConfig", 1))
42359	}
42360	if s.OutputDataConfig == nil {
42361		invalidParams.Add(request.NewErrParamRequired("OutputDataConfig"))
42362	}
42363	if s.ResourceConfig == nil {
42364		invalidParams.Add(request.NewErrParamRequired("ResourceConfig"))
42365	}
42366	if s.StoppingCondition == nil {
42367		invalidParams.Add(request.NewErrParamRequired("StoppingCondition"))
42368	}
42369	if s.TrainingInputMode == nil {
42370		invalidParams.Add(request.NewErrParamRequired("TrainingInputMode"))
42371	}
42372	if s.InputDataConfig != nil {
42373		for i, v := range s.InputDataConfig {
42374			if v == nil {
42375				continue
42376			}
42377			if err := v.Validate(); err != nil {
42378				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputDataConfig", i), err.(request.ErrInvalidParams))
42379			}
42380		}
42381	}
42382	if s.OutputDataConfig != nil {
42383		if err := s.OutputDataConfig.Validate(); err != nil {
42384			invalidParams.AddNested("OutputDataConfig", err.(request.ErrInvalidParams))
42385		}
42386	}
42387	if s.ResourceConfig != nil {
42388		if err := s.ResourceConfig.Validate(); err != nil {
42389			invalidParams.AddNested("ResourceConfig", err.(request.ErrInvalidParams))
42390		}
42391	}
42392	if s.StoppingCondition != nil {
42393		if err := s.StoppingCondition.Validate(); err != nil {
42394			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
42395		}
42396	}
42397
42398	if invalidParams.Len() > 0 {
42399		return invalidParams
42400	}
42401	return nil
42402}
42403
42404// SetHyperParameters sets the HyperParameters field's value.
42405func (s *TrainingJobDefinition) SetHyperParameters(v map[string]*string) *TrainingJobDefinition {
42406	s.HyperParameters = v
42407	return s
42408}
42409
42410// SetInputDataConfig sets the InputDataConfig field's value.
42411func (s *TrainingJobDefinition) SetInputDataConfig(v []*Channel) *TrainingJobDefinition {
42412	s.InputDataConfig = v
42413	return s
42414}
42415
42416// SetOutputDataConfig sets the OutputDataConfig field's value.
42417func (s *TrainingJobDefinition) SetOutputDataConfig(v *OutputDataConfig) *TrainingJobDefinition {
42418	s.OutputDataConfig = v
42419	return s
42420}
42421
42422// SetResourceConfig sets the ResourceConfig field's value.
42423func (s *TrainingJobDefinition) SetResourceConfig(v *ResourceConfig) *TrainingJobDefinition {
42424	s.ResourceConfig = v
42425	return s
42426}
42427
42428// SetStoppingCondition sets the StoppingCondition field's value.
42429func (s *TrainingJobDefinition) SetStoppingCondition(v *StoppingCondition) *TrainingJobDefinition {
42430	s.StoppingCondition = v
42431	return s
42432}
42433
42434// SetTrainingInputMode sets the TrainingInputMode field's value.
42435func (s *TrainingJobDefinition) SetTrainingInputMode(v string) *TrainingJobDefinition {
42436	s.TrainingInputMode = &v
42437	return s
42438}
42439
42440// The numbers of training jobs launched by a hyperparameter tuning job, categorized
42441// by status.
42442type TrainingJobStatusCounters struct {
42443	_ struct{} `type:"structure"`
42444
42445	// The number of completed training jobs launched by the hyperparameter tuning
42446	// job.
42447	Completed *int64 `type:"integer"`
42448
42449	// The number of in-progress training jobs launched by a hyperparameter tuning
42450	// job.
42451	InProgress *int64 `type:"integer"`
42452
42453	// The number of training jobs that failed and can't be retried. A failed training
42454	// job can't be retried if it failed because a client error occurred.
42455	NonRetryableError *int64 `type:"integer"`
42456
42457	// The number of training jobs that failed, but can be retried. A failed training
42458	// job can be retried only if it failed because an internal service error occurred.
42459	RetryableError *int64 `type:"integer"`
42460
42461	// The number of training jobs launched by a hyperparameter tuning job that
42462	// were manually stopped.
42463	Stopped *int64 `type:"integer"`
42464}
42465
42466// String returns the string representation
42467func (s TrainingJobStatusCounters) String() string {
42468	return awsutil.Prettify(s)
42469}
42470
42471// GoString returns the string representation
42472func (s TrainingJobStatusCounters) GoString() string {
42473	return s.String()
42474}
42475
42476// SetCompleted sets the Completed field's value.
42477func (s *TrainingJobStatusCounters) SetCompleted(v int64) *TrainingJobStatusCounters {
42478	s.Completed = &v
42479	return s
42480}
42481
42482// SetInProgress sets the InProgress field's value.
42483func (s *TrainingJobStatusCounters) SetInProgress(v int64) *TrainingJobStatusCounters {
42484	s.InProgress = &v
42485	return s
42486}
42487
42488// SetNonRetryableError sets the NonRetryableError field's value.
42489func (s *TrainingJobStatusCounters) SetNonRetryableError(v int64) *TrainingJobStatusCounters {
42490	s.NonRetryableError = &v
42491	return s
42492}
42493
42494// SetRetryableError sets the RetryableError field's value.
42495func (s *TrainingJobStatusCounters) SetRetryableError(v int64) *TrainingJobStatusCounters {
42496	s.RetryableError = &v
42497	return s
42498}
42499
42500// SetStopped sets the Stopped field's value.
42501func (s *TrainingJobStatusCounters) SetStopped(v int64) *TrainingJobStatusCounters {
42502	s.Stopped = &v
42503	return s
42504}
42505
42506// Provides summary information about a training job.
42507type TrainingJobSummary struct {
42508	_ struct{} `type:"structure"`
42509
42510	// A timestamp that shows when the training job was created.
42511	//
42512	// CreationTime is a required field
42513	CreationTime *time.Time `type:"timestamp" required:"true"`
42514
42515	// Timestamp when the training job was last modified.
42516	LastModifiedTime *time.Time `type:"timestamp"`
42517
42518	// A timestamp that shows when the training job ended. This field is set only
42519	// if the training job has one of the terminal statuses (Completed, Failed,
42520	// or Stopped).
42521	TrainingEndTime *time.Time `type:"timestamp"`
42522
42523	// The Amazon Resource Name (ARN) of the training job.
42524	//
42525	// TrainingJobArn is a required field
42526	TrainingJobArn *string `type:"string" required:"true"`
42527
42528	// The name of the training job that you want a summary for.
42529	//
42530	// TrainingJobName is a required field
42531	TrainingJobName *string `min:"1" type:"string" required:"true"`
42532
42533	// The status of the training job.
42534	//
42535	// TrainingJobStatus is a required field
42536	TrainingJobStatus *string `type:"string" required:"true" enum:"TrainingJobStatus"`
42537}
42538
42539// String returns the string representation
42540func (s TrainingJobSummary) String() string {
42541	return awsutil.Prettify(s)
42542}
42543
42544// GoString returns the string representation
42545func (s TrainingJobSummary) GoString() string {
42546	return s.String()
42547}
42548
42549// SetCreationTime sets the CreationTime field's value.
42550func (s *TrainingJobSummary) SetCreationTime(v time.Time) *TrainingJobSummary {
42551	s.CreationTime = &v
42552	return s
42553}
42554
42555// SetLastModifiedTime sets the LastModifiedTime field's value.
42556func (s *TrainingJobSummary) SetLastModifiedTime(v time.Time) *TrainingJobSummary {
42557	s.LastModifiedTime = &v
42558	return s
42559}
42560
42561// SetTrainingEndTime sets the TrainingEndTime field's value.
42562func (s *TrainingJobSummary) SetTrainingEndTime(v time.Time) *TrainingJobSummary {
42563	s.TrainingEndTime = &v
42564	return s
42565}
42566
42567// SetTrainingJobArn sets the TrainingJobArn field's value.
42568func (s *TrainingJobSummary) SetTrainingJobArn(v string) *TrainingJobSummary {
42569	s.TrainingJobArn = &v
42570	return s
42571}
42572
42573// SetTrainingJobName sets the TrainingJobName field's value.
42574func (s *TrainingJobSummary) SetTrainingJobName(v string) *TrainingJobSummary {
42575	s.TrainingJobName = &v
42576	return s
42577}
42578
42579// SetTrainingJobStatus sets the TrainingJobStatus field's value.
42580func (s *TrainingJobSummary) SetTrainingJobStatus(v string) *TrainingJobSummary {
42581	s.TrainingJobStatus = &v
42582	return s
42583}
42584
42585// Defines how the algorithm is used for a training job.
42586type TrainingSpecification struct {
42587	_ struct{} `type:"structure"`
42588
42589	// A list of MetricDefinition objects, which are used for parsing metrics generated
42590	// by the algorithm.
42591	MetricDefinitions []*MetricDefinition `type:"list"`
42592
42593	// A list of the HyperParameterSpecification objects, that define the supported
42594	// hyperparameters. This is required if the algorithm supports automatic model
42595	// tuning.>
42596	SupportedHyperParameters []*HyperParameterSpecification `type:"list"`
42597
42598	// A list of the instance types that this algorithm can use for training.
42599	//
42600	// SupportedTrainingInstanceTypes is a required field
42601	SupportedTrainingInstanceTypes []*string `type:"list" required:"true"`
42602
42603	// A list of the metrics that the algorithm emits that can be used as the objective
42604	// metric in a hyperparameter tuning job.
42605	SupportedTuningJobObjectiveMetrics []*HyperParameterTuningJobObjective `type:"list"`
42606
42607	// Indicates whether the algorithm supports distributed training. If set to
42608	// false, buyers can't request more than one instance during training.
42609	SupportsDistributedTraining *bool `type:"boolean"`
42610
42611	// A list of ChannelSpecification objects, which specify the input sources to
42612	// be used by the algorithm.
42613	//
42614	// TrainingChannels is a required field
42615	TrainingChannels []*ChannelSpecification `min:"1" type:"list" required:"true"`
42616
42617	// The Amazon ECR registry path of the Docker image that contains the training
42618	// algorithm.
42619	//
42620	// TrainingImage is a required field
42621	TrainingImage *string `type:"string" required:"true"`
42622
42623	// An MD5 hash of the training algorithm that identifies the Docker image used
42624	// for training.
42625	TrainingImageDigest *string `type:"string"`
42626}
42627
42628// String returns the string representation
42629func (s TrainingSpecification) String() string {
42630	return awsutil.Prettify(s)
42631}
42632
42633// GoString returns the string representation
42634func (s TrainingSpecification) GoString() string {
42635	return s.String()
42636}
42637
42638// Validate inspects the fields of the type to determine if they are valid.
42639func (s *TrainingSpecification) Validate() error {
42640	invalidParams := request.ErrInvalidParams{Context: "TrainingSpecification"}
42641	if s.SupportedTrainingInstanceTypes == nil {
42642		invalidParams.Add(request.NewErrParamRequired("SupportedTrainingInstanceTypes"))
42643	}
42644	if s.TrainingChannels == nil {
42645		invalidParams.Add(request.NewErrParamRequired("TrainingChannels"))
42646	}
42647	if s.TrainingChannels != nil && len(s.TrainingChannels) < 1 {
42648		invalidParams.Add(request.NewErrParamMinLen("TrainingChannels", 1))
42649	}
42650	if s.TrainingImage == nil {
42651		invalidParams.Add(request.NewErrParamRequired("TrainingImage"))
42652	}
42653	if s.MetricDefinitions != nil {
42654		for i, v := range s.MetricDefinitions {
42655			if v == nil {
42656				continue
42657			}
42658			if err := v.Validate(); err != nil {
42659				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MetricDefinitions", i), err.(request.ErrInvalidParams))
42660			}
42661		}
42662	}
42663	if s.SupportedHyperParameters != nil {
42664		for i, v := range s.SupportedHyperParameters {
42665			if v == nil {
42666				continue
42667			}
42668			if err := v.Validate(); err != nil {
42669				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SupportedHyperParameters", i), err.(request.ErrInvalidParams))
42670			}
42671		}
42672	}
42673	if s.SupportedTuningJobObjectiveMetrics != nil {
42674		for i, v := range s.SupportedTuningJobObjectiveMetrics {
42675			if v == nil {
42676				continue
42677			}
42678			if err := v.Validate(); err != nil {
42679				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SupportedTuningJobObjectiveMetrics", i), err.(request.ErrInvalidParams))
42680			}
42681		}
42682	}
42683	if s.TrainingChannels != nil {
42684		for i, v := range s.TrainingChannels {
42685			if v == nil {
42686				continue
42687			}
42688			if err := v.Validate(); err != nil {
42689				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TrainingChannels", i), err.(request.ErrInvalidParams))
42690			}
42691		}
42692	}
42693
42694	if invalidParams.Len() > 0 {
42695		return invalidParams
42696	}
42697	return nil
42698}
42699
42700// SetMetricDefinitions sets the MetricDefinitions field's value.
42701func (s *TrainingSpecification) SetMetricDefinitions(v []*MetricDefinition) *TrainingSpecification {
42702	s.MetricDefinitions = v
42703	return s
42704}
42705
42706// SetSupportedHyperParameters sets the SupportedHyperParameters field's value.
42707func (s *TrainingSpecification) SetSupportedHyperParameters(v []*HyperParameterSpecification) *TrainingSpecification {
42708	s.SupportedHyperParameters = v
42709	return s
42710}
42711
42712// SetSupportedTrainingInstanceTypes sets the SupportedTrainingInstanceTypes field's value.
42713func (s *TrainingSpecification) SetSupportedTrainingInstanceTypes(v []*string) *TrainingSpecification {
42714	s.SupportedTrainingInstanceTypes = v
42715	return s
42716}
42717
42718// SetSupportedTuningJobObjectiveMetrics sets the SupportedTuningJobObjectiveMetrics field's value.
42719func (s *TrainingSpecification) SetSupportedTuningJobObjectiveMetrics(v []*HyperParameterTuningJobObjective) *TrainingSpecification {
42720	s.SupportedTuningJobObjectiveMetrics = v
42721	return s
42722}
42723
42724// SetSupportsDistributedTraining sets the SupportsDistributedTraining field's value.
42725func (s *TrainingSpecification) SetSupportsDistributedTraining(v bool) *TrainingSpecification {
42726	s.SupportsDistributedTraining = &v
42727	return s
42728}
42729
42730// SetTrainingChannels sets the TrainingChannels field's value.
42731func (s *TrainingSpecification) SetTrainingChannels(v []*ChannelSpecification) *TrainingSpecification {
42732	s.TrainingChannels = v
42733	return s
42734}
42735
42736// SetTrainingImage sets the TrainingImage field's value.
42737func (s *TrainingSpecification) SetTrainingImage(v string) *TrainingSpecification {
42738	s.TrainingImage = &v
42739	return s
42740}
42741
42742// SetTrainingImageDigest sets the TrainingImageDigest field's value.
42743func (s *TrainingSpecification) SetTrainingImageDigest(v string) *TrainingSpecification {
42744	s.TrainingImageDigest = &v
42745	return s
42746}
42747
42748// Describes the location of the channel data.
42749type TransformDataSource struct {
42750	_ struct{} `type:"structure"`
42751
42752	// The S3 location of the data source that is associated with a channel.
42753	//
42754	// S3DataSource is a required field
42755	S3DataSource *TransformS3DataSource `type:"structure" required:"true"`
42756}
42757
42758// String returns the string representation
42759func (s TransformDataSource) String() string {
42760	return awsutil.Prettify(s)
42761}
42762
42763// GoString returns the string representation
42764func (s TransformDataSource) GoString() string {
42765	return s.String()
42766}
42767
42768// Validate inspects the fields of the type to determine if they are valid.
42769func (s *TransformDataSource) Validate() error {
42770	invalidParams := request.ErrInvalidParams{Context: "TransformDataSource"}
42771	if s.S3DataSource == nil {
42772		invalidParams.Add(request.NewErrParamRequired("S3DataSource"))
42773	}
42774	if s.S3DataSource != nil {
42775		if err := s.S3DataSource.Validate(); err != nil {
42776			invalidParams.AddNested("S3DataSource", err.(request.ErrInvalidParams))
42777		}
42778	}
42779
42780	if invalidParams.Len() > 0 {
42781		return invalidParams
42782	}
42783	return nil
42784}
42785
42786// SetS3DataSource sets the S3DataSource field's value.
42787func (s *TransformDataSource) SetS3DataSource(v *TransformS3DataSource) *TransformDataSource {
42788	s.S3DataSource = v
42789	return s
42790}
42791
42792// Describes the input source of a transform job and the way the transform job
42793// consumes it.
42794type TransformInput struct {
42795	_ struct{} `type:"structure"`
42796
42797	// If your transform data is compressed, specify the compression type. Amazon
42798	// SageMaker automatically decompresses the data for the transform job accordingly.
42799	// The default value is None.
42800	CompressionType *string `type:"string" enum:"CompressionType"`
42801
42802	// The multipurpose internet mail extension (MIME) type of the data. Amazon
42803	// SageMaker uses the MIME type with each http call to transfer data to the
42804	// transform job.
42805	ContentType *string `type:"string"`
42806
42807	// Describes the location of the channel data, which is, the S3 location of
42808	// the input data that the model can consume.
42809	//
42810	// DataSource is a required field
42811	DataSource *TransformDataSource `type:"structure" required:"true"`
42812
42813	// The method to use to split the transform job's data files into smaller batches.
42814	// Splitting is necessary when the total size of each object is too large to
42815	// fit in a single request. You can also use data splitting to improve performance
42816	// by processing multiple concurrent mini-batches. The default value for SplitType
42817	// is None, which indicates that input data files are not split, and request
42818	// payloads contain the entire contents of an input object. Set the value of
42819	// this parameter to Line to split records on a newline character boundary.
42820	// SplitType also supports a number of record-oriented binary data formats.
42821	//
42822	// When splitting is enabled, the size of a mini-batch depends on the values
42823	// of the BatchStrategy and MaxPayloadInMB parameters. When the value of BatchStrategy
42824	// is MultiRecord, Amazon SageMaker sends the maximum number of records in each
42825	// request, up to the MaxPayloadInMB limit. If the value of BatchStrategy is
42826	// SingleRecord, Amazon SageMaker sends individual records in each request.
42827	//
42828	// Some data formats represent a record as a binary payload wrapped with extra
42829	// padding bytes. When splitting is applied to a binary data format, padding
42830	// is removed if the value of BatchStrategy is set to SingleRecord. Padding
42831	// is not removed if the value of BatchStrategy is set to MultiRecord.
42832	//
42833	// For more information about RecordIO, see Create a Dataset Using RecordIO
42834	// (https://mxnet.apache.org/api/faq/recordio) in the MXNet documentation. For
42835	// more information about TFRecord, see Consuming TFRecord data (https://www.tensorflow.org/guide/datasets#consuming_tfrecord_data)
42836	// in the TensorFlow documentation.
42837	SplitType *string `type:"string" enum:"SplitType"`
42838}
42839
42840// String returns the string representation
42841func (s TransformInput) String() string {
42842	return awsutil.Prettify(s)
42843}
42844
42845// GoString returns the string representation
42846func (s TransformInput) GoString() string {
42847	return s.String()
42848}
42849
42850// Validate inspects the fields of the type to determine if they are valid.
42851func (s *TransformInput) Validate() error {
42852	invalidParams := request.ErrInvalidParams{Context: "TransformInput"}
42853	if s.DataSource == nil {
42854		invalidParams.Add(request.NewErrParamRequired("DataSource"))
42855	}
42856	if s.DataSource != nil {
42857		if err := s.DataSource.Validate(); err != nil {
42858			invalidParams.AddNested("DataSource", err.(request.ErrInvalidParams))
42859		}
42860	}
42861
42862	if invalidParams.Len() > 0 {
42863		return invalidParams
42864	}
42865	return nil
42866}
42867
42868// SetCompressionType sets the CompressionType field's value.
42869func (s *TransformInput) SetCompressionType(v string) *TransformInput {
42870	s.CompressionType = &v
42871	return s
42872}
42873
42874// SetContentType sets the ContentType field's value.
42875func (s *TransformInput) SetContentType(v string) *TransformInput {
42876	s.ContentType = &v
42877	return s
42878}
42879
42880// SetDataSource sets the DataSource field's value.
42881func (s *TransformInput) SetDataSource(v *TransformDataSource) *TransformInput {
42882	s.DataSource = v
42883	return s
42884}
42885
42886// SetSplitType sets the SplitType field's value.
42887func (s *TransformInput) SetSplitType(v string) *TransformInput {
42888	s.SplitType = &v
42889	return s
42890}
42891
42892// Defines the input needed to run a transform job using the inference specification
42893// specified in the algorithm.
42894type TransformJobDefinition struct {
42895	_ struct{} `type:"structure"`
42896
42897	// A string that determines the number of records included in a single mini-batch.
42898	//
42899	// SingleRecord means only one record is used per mini-batch. MultiRecord means
42900	// a mini-batch is set to contain as many records that can fit within the MaxPayloadInMB
42901	// limit.
42902	BatchStrategy *string `type:"string" enum:"BatchStrategy"`
42903
42904	// The environment variables to set in the Docker container. We support up to
42905	// 16 key and values entries in the map.
42906	Environment map[string]*string `type:"map"`
42907
42908	// The maximum number of parallel requests that can be sent to each instance
42909	// in a transform job. The default value is 1.
42910	MaxConcurrentTransforms *int64 `type:"integer"`
42911
42912	// The maximum payload size allowed, in MB. A payload is the data portion of
42913	// a record (without metadata).
42914	MaxPayloadInMB *int64 `type:"integer"`
42915
42916	// A description of the input source and the way the transform job consumes
42917	// it.
42918	//
42919	// TransformInput is a required field
42920	TransformInput *TransformInput `type:"structure" required:"true"`
42921
42922	// Identifies the Amazon S3 location where you want Amazon SageMaker to save
42923	// the results from the transform job.
42924	//
42925	// TransformOutput is a required field
42926	TransformOutput *TransformOutput `type:"structure" required:"true"`
42927
42928	// Identifies the ML compute instances for the transform job.
42929	//
42930	// TransformResources is a required field
42931	TransformResources *TransformResources `type:"structure" required:"true"`
42932}
42933
42934// String returns the string representation
42935func (s TransformJobDefinition) String() string {
42936	return awsutil.Prettify(s)
42937}
42938
42939// GoString returns the string representation
42940func (s TransformJobDefinition) GoString() string {
42941	return s.String()
42942}
42943
42944// Validate inspects the fields of the type to determine if they are valid.
42945func (s *TransformJobDefinition) Validate() error {
42946	invalidParams := request.ErrInvalidParams{Context: "TransformJobDefinition"}
42947	if s.TransformInput == nil {
42948		invalidParams.Add(request.NewErrParamRequired("TransformInput"))
42949	}
42950	if s.TransformOutput == nil {
42951		invalidParams.Add(request.NewErrParamRequired("TransformOutput"))
42952	}
42953	if s.TransformResources == nil {
42954		invalidParams.Add(request.NewErrParamRequired("TransformResources"))
42955	}
42956	if s.TransformInput != nil {
42957		if err := s.TransformInput.Validate(); err != nil {
42958			invalidParams.AddNested("TransformInput", err.(request.ErrInvalidParams))
42959		}
42960	}
42961	if s.TransformOutput != nil {
42962		if err := s.TransformOutput.Validate(); err != nil {
42963			invalidParams.AddNested("TransformOutput", err.(request.ErrInvalidParams))
42964		}
42965	}
42966	if s.TransformResources != nil {
42967		if err := s.TransformResources.Validate(); err != nil {
42968			invalidParams.AddNested("TransformResources", err.(request.ErrInvalidParams))
42969		}
42970	}
42971
42972	if invalidParams.Len() > 0 {
42973		return invalidParams
42974	}
42975	return nil
42976}
42977
42978// SetBatchStrategy sets the BatchStrategy field's value.
42979func (s *TransformJobDefinition) SetBatchStrategy(v string) *TransformJobDefinition {
42980	s.BatchStrategy = &v
42981	return s
42982}
42983
42984// SetEnvironment sets the Environment field's value.
42985func (s *TransformJobDefinition) SetEnvironment(v map[string]*string) *TransformJobDefinition {
42986	s.Environment = v
42987	return s
42988}
42989
42990// SetMaxConcurrentTransforms sets the MaxConcurrentTransforms field's value.
42991func (s *TransformJobDefinition) SetMaxConcurrentTransforms(v int64) *TransformJobDefinition {
42992	s.MaxConcurrentTransforms = &v
42993	return s
42994}
42995
42996// SetMaxPayloadInMB sets the MaxPayloadInMB field's value.
42997func (s *TransformJobDefinition) SetMaxPayloadInMB(v int64) *TransformJobDefinition {
42998	s.MaxPayloadInMB = &v
42999	return s
43000}
43001
43002// SetTransformInput sets the TransformInput field's value.
43003func (s *TransformJobDefinition) SetTransformInput(v *TransformInput) *TransformJobDefinition {
43004	s.TransformInput = v
43005	return s
43006}
43007
43008// SetTransformOutput sets the TransformOutput field's value.
43009func (s *TransformJobDefinition) SetTransformOutput(v *TransformOutput) *TransformJobDefinition {
43010	s.TransformOutput = v
43011	return s
43012}
43013
43014// SetTransformResources sets the TransformResources field's value.
43015func (s *TransformJobDefinition) SetTransformResources(v *TransformResources) *TransformJobDefinition {
43016	s.TransformResources = v
43017	return s
43018}
43019
43020// Provides a summary of a transform job. Multiple TransformJobSummary objects
43021// are returned as a list after in response to a ListTransformJobs call.
43022type TransformJobSummary struct {
43023	_ struct{} `type:"structure"`
43024
43025	// A timestamp that shows when the transform Job was created.
43026	//
43027	// CreationTime is a required field
43028	CreationTime *time.Time `type:"timestamp" required:"true"`
43029
43030	// If the transform job failed, the reason it failed.
43031	FailureReason *string `type:"string"`
43032
43033	// Indicates when the transform job was last modified.
43034	LastModifiedTime *time.Time `type:"timestamp"`
43035
43036	// Indicates when the transform job ends on compute instances. For successful
43037	// jobs and stopped jobs, this is the exact time recorded after the results
43038	// are uploaded. For failed jobs, this is when Amazon SageMaker detected that
43039	// the job failed.
43040	TransformEndTime *time.Time `type:"timestamp"`
43041
43042	// The Amazon Resource Name (ARN) of the transform job.
43043	//
43044	// TransformJobArn is a required field
43045	TransformJobArn *string `type:"string" required:"true"`
43046
43047	// The name of the transform job.
43048	//
43049	// TransformJobName is a required field
43050	TransformJobName *string `min:"1" type:"string" required:"true"`
43051
43052	// The status of the transform job.
43053	//
43054	// TransformJobStatus is a required field
43055	TransformJobStatus *string `type:"string" required:"true" enum:"TransformJobStatus"`
43056}
43057
43058// String returns the string representation
43059func (s TransformJobSummary) String() string {
43060	return awsutil.Prettify(s)
43061}
43062
43063// GoString returns the string representation
43064func (s TransformJobSummary) GoString() string {
43065	return s.String()
43066}
43067
43068// SetCreationTime sets the CreationTime field's value.
43069func (s *TransformJobSummary) SetCreationTime(v time.Time) *TransformJobSummary {
43070	s.CreationTime = &v
43071	return s
43072}
43073
43074// SetFailureReason sets the FailureReason field's value.
43075func (s *TransformJobSummary) SetFailureReason(v string) *TransformJobSummary {
43076	s.FailureReason = &v
43077	return s
43078}
43079
43080// SetLastModifiedTime sets the LastModifiedTime field's value.
43081func (s *TransformJobSummary) SetLastModifiedTime(v time.Time) *TransformJobSummary {
43082	s.LastModifiedTime = &v
43083	return s
43084}
43085
43086// SetTransformEndTime sets the TransformEndTime field's value.
43087func (s *TransformJobSummary) SetTransformEndTime(v time.Time) *TransformJobSummary {
43088	s.TransformEndTime = &v
43089	return s
43090}
43091
43092// SetTransformJobArn sets the TransformJobArn field's value.
43093func (s *TransformJobSummary) SetTransformJobArn(v string) *TransformJobSummary {
43094	s.TransformJobArn = &v
43095	return s
43096}
43097
43098// SetTransformJobName sets the TransformJobName field's value.
43099func (s *TransformJobSummary) SetTransformJobName(v string) *TransformJobSummary {
43100	s.TransformJobName = &v
43101	return s
43102}
43103
43104// SetTransformJobStatus sets the TransformJobStatus field's value.
43105func (s *TransformJobSummary) SetTransformJobStatus(v string) *TransformJobSummary {
43106	s.TransformJobStatus = &v
43107	return s
43108}
43109
43110// Describes the results of a transform job.
43111type TransformOutput struct {
43112	_ struct{} `type:"structure"`
43113
43114	// The MIME type used to specify the output data. Amazon SageMaker uses the
43115	// MIME type with each http call to transfer data from the transform job.
43116	Accept *string `type:"string"`
43117
43118	// Defines how to assemble the results of the transform job as a single S3 object.
43119	// Choose a format that is most convenient to you. To concatenate the results
43120	// in binary format, specify None. To add a newline character at the end of
43121	// every transformed record, specify Line.
43122	AssembleWith *string `type:"string" enum:"AssemblyType"`
43123
43124	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
43125	// encrypt the model artifacts at rest using Amazon S3 server-side encryption.
43126	// The KmsKeyId can be any of the following formats:
43127	//
43128	//    * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
43129	//
43130	//    * Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
43131	//
43132	//    * Alias name: alias/ExampleAlias
43133	//
43134	//    * Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
43135	//
43136	// If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS
43137	// key for Amazon S3 for your role's account. For more information, see KMS-Managed
43138	// Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html)
43139	// in the Amazon Simple Storage Service Developer Guide.
43140	//
43141	// The KMS key policy must grant permission to the IAM role that you specify
43142	// in your CreateModel request. For more information, see Using Key Policies
43143	// in AWS KMS (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html)
43144	// in the AWS Key Management Service Developer Guide.
43145	KmsKeyId *string `type:"string"`
43146
43147	// The Amazon S3 path where you want Amazon SageMaker to store the results of
43148	// the transform job. For example, s3://bucket-name/key-name-prefix.
43149	//
43150	// For every S3 object used as input for the transform job, batch transform
43151	// stores the transformed data with an .out suffix in a corresponding subfolder
43152	// in the location in the output prefix. For example, for the input data stored
43153	// at s3://bucket-name/input-name-prefix/dataset01/data.csv, batch transform
43154	// stores the transformed data at s3://bucket-name/output-name-prefix/input-name-prefix/data.csv.out.
43155	// Batch transform doesn't upload partially processed objects. For an input
43156	// S3 object that contains multiple records, it creates an .out file only if
43157	// the transform job succeeds on the entire file. When the input contains multiple
43158	// S3 objects, the batch transform job processes the listed S3 objects and uploads
43159	// only the output for successfully processed objects. If any object fails in
43160	// the transform job batch transform marks the job as failed to prompt investigation.
43161	//
43162	// S3OutputPath is a required field
43163	S3OutputPath *string `type:"string" required:"true"`
43164}
43165
43166// String returns the string representation
43167func (s TransformOutput) String() string {
43168	return awsutil.Prettify(s)
43169}
43170
43171// GoString returns the string representation
43172func (s TransformOutput) GoString() string {
43173	return s.String()
43174}
43175
43176// Validate inspects the fields of the type to determine if they are valid.
43177func (s *TransformOutput) Validate() error {
43178	invalidParams := request.ErrInvalidParams{Context: "TransformOutput"}
43179	if s.S3OutputPath == nil {
43180		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
43181	}
43182
43183	if invalidParams.Len() > 0 {
43184		return invalidParams
43185	}
43186	return nil
43187}
43188
43189// SetAccept sets the Accept field's value.
43190func (s *TransformOutput) SetAccept(v string) *TransformOutput {
43191	s.Accept = &v
43192	return s
43193}
43194
43195// SetAssembleWith sets the AssembleWith field's value.
43196func (s *TransformOutput) SetAssembleWith(v string) *TransformOutput {
43197	s.AssembleWith = &v
43198	return s
43199}
43200
43201// SetKmsKeyId sets the KmsKeyId field's value.
43202func (s *TransformOutput) SetKmsKeyId(v string) *TransformOutput {
43203	s.KmsKeyId = &v
43204	return s
43205}
43206
43207// SetS3OutputPath sets the S3OutputPath field's value.
43208func (s *TransformOutput) SetS3OutputPath(v string) *TransformOutput {
43209	s.S3OutputPath = &v
43210	return s
43211}
43212
43213// Describes the resources, including ML instance types and ML instance count,
43214// to use for transform job.
43215type TransformResources struct {
43216	_ struct{} `type:"structure"`
43217
43218	// The number of ML compute instances to use in the transform job. For distributed
43219	// transform jobs, specify a value greater than 1. The default value is 1.
43220	//
43221	// InstanceCount is a required field
43222	InstanceCount *int64 `min:"1" type:"integer" required:"true"`
43223
43224	// The ML compute instance type for the transform job. If you are using built-in
43225	// algorithms to transform moderately sized datasets, we recommend using ml.m4.xlarge
43226	// or ml.m5.large instance types.
43227	//
43228	// InstanceType is a required field
43229	InstanceType *string `type:"string" required:"true" enum:"TransformInstanceType"`
43230
43231	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
43232	// encrypt model data on the storage volume attached to the ML compute instance(s)
43233	// that run the batch transform job. The VolumeKmsKeyId can be any of the following
43234	// formats:
43235	//
43236	//    * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
43237	//
43238	//    * Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
43239	//
43240	//    * Alias name: alias/ExampleAlias
43241	//
43242	//    * Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
43243	VolumeKmsKeyId *string `type:"string"`
43244}
43245
43246// String returns the string representation
43247func (s TransformResources) String() string {
43248	return awsutil.Prettify(s)
43249}
43250
43251// GoString returns the string representation
43252func (s TransformResources) GoString() string {
43253	return s.String()
43254}
43255
43256// Validate inspects the fields of the type to determine if they are valid.
43257func (s *TransformResources) Validate() error {
43258	invalidParams := request.ErrInvalidParams{Context: "TransformResources"}
43259	if s.InstanceCount == nil {
43260		invalidParams.Add(request.NewErrParamRequired("InstanceCount"))
43261	}
43262	if s.InstanceCount != nil && *s.InstanceCount < 1 {
43263		invalidParams.Add(request.NewErrParamMinValue("InstanceCount", 1))
43264	}
43265	if s.InstanceType == nil {
43266		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
43267	}
43268
43269	if invalidParams.Len() > 0 {
43270		return invalidParams
43271	}
43272	return nil
43273}
43274
43275// SetInstanceCount sets the InstanceCount field's value.
43276func (s *TransformResources) SetInstanceCount(v int64) *TransformResources {
43277	s.InstanceCount = &v
43278	return s
43279}
43280
43281// SetInstanceType sets the InstanceType field's value.
43282func (s *TransformResources) SetInstanceType(v string) *TransformResources {
43283	s.InstanceType = &v
43284	return s
43285}
43286
43287// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
43288func (s *TransformResources) SetVolumeKmsKeyId(v string) *TransformResources {
43289	s.VolumeKmsKeyId = &v
43290	return s
43291}
43292
43293// Describes the S3 data source.
43294type TransformS3DataSource struct {
43295	_ struct{} `type:"structure"`
43296
43297	// If you choose S3Prefix, S3Uri identifies a key name prefix. Amazon SageMaker
43298	// uses all objects with the specified key name prefix for batch transform.
43299	//
43300	// If you choose ManifestFile, S3Uri identifies an object that is a manifest
43301	// file containing a list of object keys that you want Amazon SageMaker to use
43302	// for batch transform.
43303	//
43304	// The following values are compatible: ManifestFile, S3Prefix
43305	//
43306	// The following value is not compatible: AugmentedManifestFile
43307	//
43308	// S3DataType is a required field
43309	S3DataType *string `type:"string" required:"true" enum:"S3DataType"`
43310
43311	// Depending on the value specified for the S3DataType, identifies either a
43312	// key name prefix or a manifest. For example:
43313	//
43314	//    * A key name prefix might look like this: s3://bucketname/exampleprefix.
43315	//
43316	//    * A manifest might look like this: s3://bucketname/example.manifest The
43317	//    manifest is an S3 object which is a JSON file with the following format:
43318	//    [ {"prefix": "s3://customer_bucket/some/prefix/"}, "relative/path/to/custdata-1",
43319	//    "relative/path/custdata-2", ... "relative/path/custdata-N" ] The preceding
43320	//    JSON matches the following s3Uris: s3://customer_bucket/some/prefix/relative/path/to/custdata-1
43321	//    s3://customer_bucket/some/prefix/relative/path/custdata-2 ... s3://customer_bucket/some/prefix/relative/path/custdata-N
43322	//    The complete set of S3Uris in this manifest constitutes the input data
43323	//    for the channel for this datasource. The object that each S3Uris points
43324	//    to must be readable by the IAM role that Amazon SageMaker uses to perform
43325	//    tasks on your behalf.
43326	//
43327	// S3Uri is a required field
43328	S3Uri *string `type:"string" required:"true"`
43329}
43330
43331// String returns the string representation
43332func (s TransformS3DataSource) String() string {
43333	return awsutil.Prettify(s)
43334}
43335
43336// GoString returns the string representation
43337func (s TransformS3DataSource) GoString() string {
43338	return s.String()
43339}
43340
43341// Validate inspects the fields of the type to determine if they are valid.
43342func (s *TransformS3DataSource) Validate() error {
43343	invalidParams := request.ErrInvalidParams{Context: "TransformS3DataSource"}
43344	if s.S3DataType == nil {
43345		invalidParams.Add(request.NewErrParamRequired("S3DataType"))
43346	}
43347	if s.S3Uri == nil {
43348		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
43349	}
43350
43351	if invalidParams.Len() > 0 {
43352		return invalidParams
43353	}
43354	return nil
43355}
43356
43357// SetS3DataType sets the S3DataType field's value.
43358func (s *TransformS3DataSource) SetS3DataType(v string) *TransformS3DataSource {
43359	s.S3DataType = &v
43360	return s
43361}
43362
43363// SetS3Uri sets the S3Uri field's value.
43364func (s *TransformS3DataSource) SetS3Uri(v string) *TransformS3DataSource {
43365	s.S3Uri = &v
43366	return s
43367}
43368
43369// The properties of a trial as returned by the Search API.
43370type Trial struct {
43371	_ struct{} `type:"structure"`
43372
43373	// Information about the user who created or modified an experiment, trial,
43374	// or trial component.
43375	CreatedBy *UserContext `type:"structure"`
43376
43377	// When the trial was created.
43378	CreationTime *time.Time `type:"timestamp"`
43379
43380	// The name of the trial as displayed. If DisplayName isn't specified, TrialName
43381	// is displayed.
43382	DisplayName *string `min:"1" type:"string"`
43383
43384	// The name of the experiment the trial is part of.
43385	ExperimentName *string `min:"1" type:"string"`
43386
43387	// Information about the user who created or modified an experiment, trial,
43388	// or trial component.
43389	LastModifiedBy *UserContext `type:"structure"`
43390
43391	// Who last modified the trial.
43392	LastModifiedTime *time.Time `type:"timestamp"`
43393
43394	// The source of the trial.
43395	Source *TrialSource `type:"structure"`
43396
43397	// The list of tags that are associated with the trial. You can use Search API
43398	// to search on the tags.
43399	Tags []*Tag `type:"list"`
43400
43401	// The Amazon Resource Name (ARN) of the trial.
43402	TrialArn *string `type:"string"`
43403
43404	// A list of the components associated with the trial. For each component, a
43405	// summary of the component's properties is included.
43406	TrialComponentSummaries []*TrialComponentSimpleSummary `type:"list"`
43407
43408	// The name of the trial.
43409	TrialName *string `min:"1" type:"string"`
43410}
43411
43412// String returns the string representation
43413func (s Trial) String() string {
43414	return awsutil.Prettify(s)
43415}
43416
43417// GoString returns the string representation
43418func (s Trial) GoString() string {
43419	return s.String()
43420}
43421
43422// SetCreatedBy sets the CreatedBy field's value.
43423func (s *Trial) SetCreatedBy(v *UserContext) *Trial {
43424	s.CreatedBy = v
43425	return s
43426}
43427
43428// SetCreationTime sets the CreationTime field's value.
43429func (s *Trial) SetCreationTime(v time.Time) *Trial {
43430	s.CreationTime = &v
43431	return s
43432}
43433
43434// SetDisplayName sets the DisplayName field's value.
43435func (s *Trial) SetDisplayName(v string) *Trial {
43436	s.DisplayName = &v
43437	return s
43438}
43439
43440// SetExperimentName sets the ExperimentName field's value.
43441func (s *Trial) SetExperimentName(v string) *Trial {
43442	s.ExperimentName = &v
43443	return s
43444}
43445
43446// SetLastModifiedBy sets the LastModifiedBy field's value.
43447func (s *Trial) SetLastModifiedBy(v *UserContext) *Trial {
43448	s.LastModifiedBy = v
43449	return s
43450}
43451
43452// SetLastModifiedTime sets the LastModifiedTime field's value.
43453func (s *Trial) SetLastModifiedTime(v time.Time) *Trial {
43454	s.LastModifiedTime = &v
43455	return s
43456}
43457
43458// SetSource sets the Source field's value.
43459func (s *Trial) SetSource(v *TrialSource) *Trial {
43460	s.Source = v
43461	return s
43462}
43463
43464// SetTags sets the Tags field's value.
43465func (s *Trial) SetTags(v []*Tag) *Trial {
43466	s.Tags = v
43467	return s
43468}
43469
43470// SetTrialArn sets the TrialArn field's value.
43471func (s *Trial) SetTrialArn(v string) *Trial {
43472	s.TrialArn = &v
43473	return s
43474}
43475
43476// SetTrialComponentSummaries sets the TrialComponentSummaries field's value.
43477func (s *Trial) SetTrialComponentSummaries(v []*TrialComponentSimpleSummary) *Trial {
43478	s.TrialComponentSummaries = v
43479	return s
43480}
43481
43482// SetTrialName sets the TrialName field's value.
43483func (s *Trial) SetTrialName(v string) *Trial {
43484	s.TrialName = &v
43485	return s
43486}
43487
43488// The properties of a trial component as returned by the Search API.
43489type TrialComponent struct {
43490	_ struct{} `type:"structure"`
43491
43492	// Information about the user who created or modified an experiment, trial,
43493	// or trial component.
43494	CreatedBy *UserContext `type:"structure"`
43495
43496	// When the component was created.
43497	CreationTime *time.Time `type:"timestamp"`
43498
43499	// The name of the component as displayed. If DisplayName isn't specified, TrialComponentName
43500	// is displayed.
43501	DisplayName *string `min:"1" type:"string"`
43502
43503	// When the component ended.
43504	EndTime *time.Time `type:"timestamp"`
43505
43506	// The input artifacts of the component.
43507	InputArtifacts map[string]*TrialComponentArtifact `type:"map"`
43508
43509	// Information about the user who created or modified an experiment, trial,
43510	// or trial component.
43511	LastModifiedBy *UserContext `type:"structure"`
43512
43513	// When the component was last modified.
43514	LastModifiedTime *time.Time `type:"timestamp"`
43515
43516	// The metrics for the component.
43517	Metrics []*TrialComponentMetricSummary `type:"list"`
43518
43519	// The output artifacts of the component.
43520	OutputArtifacts map[string]*TrialComponentArtifact `type:"map"`
43521
43522	// The hyperparameters of the component.
43523	Parameters map[string]*TrialComponentParameterValue `type:"map"`
43524
43525	// An array of the parents of the component. A parent is a trial the component
43526	// is associated with and the experiment the trial is part of. A component might
43527	// not have any parents.
43528	Parents []*Parent `type:"list"`
43529
43530	// The Amazon Resource Name (ARN) and job type of the source of the component.
43531	Source *TrialComponentSource `type:"structure"`
43532
43533	// Details of the source of the component.
43534	SourceDetail *TrialComponentSourceDetail `type:"structure"`
43535
43536	// When the component started.
43537	StartTime *time.Time `type:"timestamp"`
43538
43539	// The status of the trial component.
43540	Status *TrialComponentStatus `type:"structure"`
43541
43542	// The list of tags that are associated with the component. You can use Search
43543	// API to search on the tags.
43544	Tags []*Tag `type:"list"`
43545
43546	// The Amazon Resource Name (ARN) of the trial component.
43547	TrialComponentArn *string `type:"string"`
43548
43549	// The name of the trial component.
43550	TrialComponentName *string `min:"1" type:"string"`
43551}
43552
43553// String returns the string representation
43554func (s TrialComponent) String() string {
43555	return awsutil.Prettify(s)
43556}
43557
43558// GoString returns the string representation
43559func (s TrialComponent) GoString() string {
43560	return s.String()
43561}
43562
43563// SetCreatedBy sets the CreatedBy field's value.
43564func (s *TrialComponent) SetCreatedBy(v *UserContext) *TrialComponent {
43565	s.CreatedBy = v
43566	return s
43567}
43568
43569// SetCreationTime sets the CreationTime field's value.
43570func (s *TrialComponent) SetCreationTime(v time.Time) *TrialComponent {
43571	s.CreationTime = &v
43572	return s
43573}
43574
43575// SetDisplayName sets the DisplayName field's value.
43576func (s *TrialComponent) SetDisplayName(v string) *TrialComponent {
43577	s.DisplayName = &v
43578	return s
43579}
43580
43581// SetEndTime sets the EndTime field's value.
43582func (s *TrialComponent) SetEndTime(v time.Time) *TrialComponent {
43583	s.EndTime = &v
43584	return s
43585}
43586
43587// SetInputArtifacts sets the InputArtifacts field's value.
43588func (s *TrialComponent) SetInputArtifacts(v map[string]*TrialComponentArtifact) *TrialComponent {
43589	s.InputArtifacts = v
43590	return s
43591}
43592
43593// SetLastModifiedBy sets the LastModifiedBy field's value.
43594func (s *TrialComponent) SetLastModifiedBy(v *UserContext) *TrialComponent {
43595	s.LastModifiedBy = v
43596	return s
43597}
43598
43599// SetLastModifiedTime sets the LastModifiedTime field's value.
43600func (s *TrialComponent) SetLastModifiedTime(v time.Time) *TrialComponent {
43601	s.LastModifiedTime = &v
43602	return s
43603}
43604
43605// SetMetrics sets the Metrics field's value.
43606func (s *TrialComponent) SetMetrics(v []*TrialComponentMetricSummary) *TrialComponent {
43607	s.Metrics = v
43608	return s
43609}
43610
43611// SetOutputArtifacts sets the OutputArtifacts field's value.
43612func (s *TrialComponent) SetOutputArtifacts(v map[string]*TrialComponentArtifact) *TrialComponent {
43613	s.OutputArtifacts = v
43614	return s
43615}
43616
43617// SetParameters sets the Parameters field's value.
43618func (s *TrialComponent) SetParameters(v map[string]*TrialComponentParameterValue) *TrialComponent {
43619	s.Parameters = v
43620	return s
43621}
43622
43623// SetParents sets the Parents field's value.
43624func (s *TrialComponent) SetParents(v []*Parent) *TrialComponent {
43625	s.Parents = v
43626	return s
43627}
43628
43629// SetSource sets the Source field's value.
43630func (s *TrialComponent) SetSource(v *TrialComponentSource) *TrialComponent {
43631	s.Source = v
43632	return s
43633}
43634
43635// SetSourceDetail sets the SourceDetail field's value.
43636func (s *TrialComponent) SetSourceDetail(v *TrialComponentSourceDetail) *TrialComponent {
43637	s.SourceDetail = v
43638	return s
43639}
43640
43641// SetStartTime sets the StartTime field's value.
43642func (s *TrialComponent) SetStartTime(v time.Time) *TrialComponent {
43643	s.StartTime = &v
43644	return s
43645}
43646
43647// SetStatus sets the Status field's value.
43648func (s *TrialComponent) SetStatus(v *TrialComponentStatus) *TrialComponent {
43649	s.Status = v
43650	return s
43651}
43652
43653// SetTags sets the Tags field's value.
43654func (s *TrialComponent) SetTags(v []*Tag) *TrialComponent {
43655	s.Tags = v
43656	return s
43657}
43658
43659// SetTrialComponentArn sets the TrialComponentArn field's value.
43660func (s *TrialComponent) SetTrialComponentArn(v string) *TrialComponent {
43661	s.TrialComponentArn = &v
43662	return s
43663}
43664
43665// SetTrialComponentName sets the TrialComponentName field's value.
43666func (s *TrialComponent) SetTrialComponentName(v string) *TrialComponent {
43667	s.TrialComponentName = &v
43668	return s
43669}
43670
43671// Represents an input or output artifact of a trial component. You specify
43672// TrialComponentArtifact as part of the InputArtifacts and OutputArtifacts
43673// parameters in the CreateTrialComponent request.
43674//
43675// Examples of input artifacts are datasets, algorithms, hyperparameters, source
43676// code, and instance types. Examples of output artifacts are metrics, snapshots,
43677// logs, and images.
43678type TrialComponentArtifact struct {
43679	_ struct{} `type:"structure"`
43680
43681	// The media type of the artifact, which indicates the type of data in the artifact
43682	// file. The media type consists of a type and a subtype concatenated with a
43683	// slash (/) character, for example, text/csv, image/jpeg, and s3/uri. The type
43684	// specifies the category of the media. The subtype specifies the kind of data.
43685	MediaType *string `type:"string"`
43686
43687	// The location of the artifact.
43688	//
43689	// Value is a required field
43690	Value *string `type:"string" required:"true"`
43691}
43692
43693// String returns the string representation
43694func (s TrialComponentArtifact) String() string {
43695	return awsutil.Prettify(s)
43696}
43697
43698// GoString returns the string representation
43699func (s TrialComponentArtifact) GoString() string {
43700	return s.String()
43701}
43702
43703// Validate inspects the fields of the type to determine if they are valid.
43704func (s *TrialComponentArtifact) Validate() error {
43705	invalidParams := request.ErrInvalidParams{Context: "TrialComponentArtifact"}
43706	if s.Value == nil {
43707		invalidParams.Add(request.NewErrParamRequired("Value"))
43708	}
43709
43710	if invalidParams.Len() > 0 {
43711		return invalidParams
43712	}
43713	return nil
43714}
43715
43716// SetMediaType sets the MediaType field's value.
43717func (s *TrialComponentArtifact) SetMediaType(v string) *TrialComponentArtifact {
43718	s.MediaType = &v
43719	return s
43720}
43721
43722// SetValue sets the Value field's value.
43723func (s *TrialComponentArtifact) SetValue(v string) *TrialComponentArtifact {
43724	s.Value = &v
43725	return s
43726}
43727
43728// A summary of the metrics of a trial component.
43729type TrialComponentMetricSummary struct {
43730	_ struct{} `type:"structure"`
43731
43732	// The average value of the metric.
43733	Avg *float64 `type:"double"`
43734
43735	// The number of samples used to generate the metric.
43736	Count *int64 `type:"integer"`
43737
43738	// The most recent value of the metric.
43739	Last *float64 `type:"double"`
43740
43741	// The maximum value of the metric.
43742	Max *float64 `type:"double"`
43743
43744	// The name of the metric.
43745	MetricName *string `min:"1" type:"string"`
43746
43747	// The minimum value of the metric.
43748	Min *float64 `type:"double"`
43749
43750	// The Amazon Resource Name (ARN) of the source.
43751	SourceArn *string `type:"string"`
43752
43753	// The standard deviation of the metric.
43754	StdDev *float64 `type:"double"`
43755
43756	// When the metric was last updated.
43757	TimeStamp *time.Time `type:"timestamp"`
43758}
43759
43760// String returns the string representation
43761func (s TrialComponentMetricSummary) String() string {
43762	return awsutil.Prettify(s)
43763}
43764
43765// GoString returns the string representation
43766func (s TrialComponentMetricSummary) GoString() string {
43767	return s.String()
43768}
43769
43770// SetAvg sets the Avg field's value.
43771func (s *TrialComponentMetricSummary) SetAvg(v float64) *TrialComponentMetricSummary {
43772	s.Avg = &v
43773	return s
43774}
43775
43776// SetCount sets the Count field's value.
43777func (s *TrialComponentMetricSummary) SetCount(v int64) *TrialComponentMetricSummary {
43778	s.Count = &v
43779	return s
43780}
43781
43782// SetLast sets the Last field's value.
43783func (s *TrialComponentMetricSummary) SetLast(v float64) *TrialComponentMetricSummary {
43784	s.Last = &v
43785	return s
43786}
43787
43788// SetMax sets the Max field's value.
43789func (s *TrialComponentMetricSummary) SetMax(v float64) *TrialComponentMetricSummary {
43790	s.Max = &v
43791	return s
43792}
43793
43794// SetMetricName sets the MetricName field's value.
43795func (s *TrialComponentMetricSummary) SetMetricName(v string) *TrialComponentMetricSummary {
43796	s.MetricName = &v
43797	return s
43798}
43799
43800// SetMin sets the Min field's value.
43801func (s *TrialComponentMetricSummary) SetMin(v float64) *TrialComponentMetricSummary {
43802	s.Min = &v
43803	return s
43804}
43805
43806// SetSourceArn sets the SourceArn field's value.
43807func (s *TrialComponentMetricSummary) SetSourceArn(v string) *TrialComponentMetricSummary {
43808	s.SourceArn = &v
43809	return s
43810}
43811
43812// SetStdDev sets the StdDev field's value.
43813func (s *TrialComponentMetricSummary) SetStdDev(v float64) *TrialComponentMetricSummary {
43814	s.StdDev = &v
43815	return s
43816}
43817
43818// SetTimeStamp sets the TimeStamp field's value.
43819func (s *TrialComponentMetricSummary) SetTimeStamp(v time.Time) *TrialComponentMetricSummary {
43820	s.TimeStamp = &v
43821	return s
43822}
43823
43824// The value of a hyperparameter. Only one of NumberValue or StringValue can
43825// be specified.
43826//
43827// This object is specified in the CreateTrialComponent request.
43828type TrialComponentParameterValue struct {
43829	_ struct{} `type:"structure"`
43830
43831	// The numeric value of a numeric hyperparameter. If you specify a value for
43832	// this parameter, you can't specify the StringValue parameter.
43833	NumberValue *float64 `type:"double"`
43834
43835	// The string value of a categorical hyperparameter. If you specify a value
43836	// for this parameter, you can't specify the NumberValue parameter.
43837	StringValue *string `type:"string"`
43838}
43839
43840// String returns the string representation
43841func (s TrialComponentParameterValue) String() string {
43842	return awsutil.Prettify(s)
43843}
43844
43845// GoString returns the string representation
43846func (s TrialComponentParameterValue) GoString() string {
43847	return s.String()
43848}
43849
43850// SetNumberValue sets the NumberValue field's value.
43851func (s *TrialComponentParameterValue) SetNumberValue(v float64) *TrialComponentParameterValue {
43852	s.NumberValue = &v
43853	return s
43854}
43855
43856// SetStringValue sets the StringValue field's value.
43857func (s *TrialComponentParameterValue) SetStringValue(v string) *TrialComponentParameterValue {
43858	s.StringValue = &v
43859	return s
43860}
43861
43862// A short summary of a trial component.
43863type TrialComponentSimpleSummary struct {
43864	_ struct{} `type:"structure"`
43865
43866	// Information about the user who created or modified an experiment, trial,
43867	// or trial component.
43868	CreatedBy *UserContext `type:"structure"`
43869
43870	// When the component was created.
43871	CreationTime *time.Time `type:"timestamp"`
43872
43873	// The Amazon Resource Name (ARN) of the trial component.
43874	TrialComponentArn *string `type:"string"`
43875
43876	// The name of the trial component.
43877	TrialComponentName *string `min:"1" type:"string"`
43878
43879	// The Amazon Resource Name (ARN) and job type of the source of a trial component.
43880	TrialComponentSource *TrialComponentSource `type:"structure"`
43881}
43882
43883// String returns the string representation
43884func (s TrialComponentSimpleSummary) String() string {
43885	return awsutil.Prettify(s)
43886}
43887
43888// GoString returns the string representation
43889func (s TrialComponentSimpleSummary) GoString() string {
43890	return s.String()
43891}
43892
43893// SetCreatedBy sets the CreatedBy field's value.
43894func (s *TrialComponentSimpleSummary) SetCreatedBy(v *UserContext) *TrialComponentSimpleSummary {
43895	s.CreatedBy = v
43896	return s
43897}
43898
43899// SetCreationTime sets the CreationTime field's value.
43900func (s *TrialComponentSimpleSummary) SetCreationTime(v time.Time) *TrialComponentSimpleSummary {
43901	s.CreationTime = &v
43902	return s
43903}
43904
43905// SetTrialComponentArn sets the TrialComponentArn field's value.
43906func (s *TrialComponentSimpleSummary) SetTrialComponentArn(v string) *TrialComponentSimpleSummary {
43907	s.TrialComponentArn = &v
43908	return s
43909}
43910
43911// SetTrialComponentName sets the TrialComponentName field's value.
43912func (s *TrialComponentSimpleSummary) SetTrialComponentName(v string) *TrialComponentSimpleSummary {
43913	s.TrialComponentName = &v
43914	return s
43915}
43916
43917// SetTrialComponentSource sets the TrialComponentSource field's value.
43918func (s *TrialComponentSimpleSummary) SetTrialComponentSource(v *TrialComponentSource) *TrialComponentSimpleSummary {
43919	s.TrialComponentSource = v
43920	return s
43921}
43922
43923// The Amazon Resource Name (ARN) and job type of the source of a trial component.
43924type TrialComponentSource struct {
43925	_ struct{} `type:"structure"`
43926
43927	// The source ARN.
43928	//
43929	// SourceArn is a required field
43930	SourceArn *string `type:"string" required:"true"`
43931
43932	// The source job type.
43933	SourceType *string `type:"string"`
43934}
43935
43936// String returns the string representation
43937func (s TrialComponentSource) String() string {
43938	return awsutil.Prettify(s)
43939}
43940
43941// GoString returns the string representation
43942func (s TrialComponentSource) GoString() string {
43943	return s.String()
43944}
43945
43946// SetSourceArn sets the SourceArn field's value.
43947func (s *TrialComponentSource) SetSourceArn(v string) *TrialComponentSource {
43948	s.SourceArn = &v
43949	return s
43950}
43951
43952// SetSourceType sets the SourceType field's value.
43953func (s *TrialComponentSource) SetSourceType(v string) *TrialComponentSource {
43954	s.SourceType = &v
43955	return s
43956}
43957
43958// Detailed information about the source of a trial component. Either ProcessingJob
43959// or TrainingJob is returned.
43960type TrialComponentSourceDetail struct {
43961	_ struct{} `type:"structure"`
43962
43963	// Information about a processing job that's the source of a trial component.
43964	ProcessingJob *ProcessingJob `type:"structure"`
43965
43966	// The Amazon Resource Name (ARN) of the source.
43967	SourceArn *string `type:"string"`
43968
43969	// Information about a training job that's the source of a trial component.
43970	TrainingJob *TrainingJob `type:"structure"`
43971}
43972
43973// String returns the string representation
43974func (s TrialComponentSourceDetail) String() string {
43975	return awsutil.Prettify(s)
43976}
43977
43978// GoString returns the string representation
43979func (s TrialComponentSourceDetail) GoString() string {
43980	return s.String()
43981}
43982
43983// SetProcessingJob sets the ProcessingJob field's value.
43984func (s *TrialComponentSourceDetail) SetProcessingJob(v *ProcessingJob) *TrialComponentSourceDetail {
43985	s.ProcessingJob = v
43986	return s
43987}
43988
43989// SetSourceArn sets the SourceArn field's value.
43990func (s *TrialComponentSourceDetail) SetSourceArn(v string) *TrialComponentSourceDetail {
43991	s.SourceArn = &v
43992	return s
43993}
43994
43995// SetTrainingJob sets the TrainingJob field's value.
43996func (s *TrialComponentSourceDetail) SetTrainingJob(v *TrainingJob) *TrialComponentSourceDetail {
43997	s.TrainingJob = v
43998	return s
43999}
44000
44001// The status of the trial component.
44002type TrialComponentStatus struct {
44003	_ struct{} `type:"structure"`
44004
44005	// If the component failed, a message describing why.
44006	Message *string `type:"string"`
44007
44008	// The status of the trial component.
44009	PrimaryStatus *string `type:"string" enum:"TrialComponentPrimaryStatus"`
44010}
44011
44012// String returns the string representation
44013func (s TrialComponentStatus) String() string {
44014	return awsutil.Prettify(s)
44015}
44016
44017// GoString returns the string representation
44018func (s TrialComponentStatus) GoString() string {
44019	return s.String()
44020}
44021
44022// SetMessage sets the Message field's value.
44023func (s *TrialComponentStatus) SetMessage(v string) *TrialComponentStatus {
44024	s.Message = &v
44025	return s
44026}
44027
44028// SetPrimaryStatus sets the PrimaryStatus field's value.
44029func (s *TrialComponentStatus) SetPrimaryStatus(v string) *TrialComponentStatus {
44030	s.PrimaryStatus = &v
44031	return s
44032}
44033
44034// A summary of the properties of a trial component. To get all the properties,
44035// call the DescribeTrialComponent API and provide the TrialComponentName.
44036type TrialComponentSummary struct {
44037	_ struct{} `type:"structure"`
44038
44039	// Who created the component.
44040	CreatedBy *UserContext `type:"structure"`
44041
44042	// When the component was created.
44043	CreationTime *time.Time `type:"timestamp"`
44044
44045	// The name of the component as displayed. If DisplayName isn't specified, TrialComponentName
44046	// is displayed.
44047	DisplayName *string `min:"1" type:"string"`
44048
44049	// When the component ended.
44050	EndTime *time.Time `type:"timestamp"`
44051
44052	// Who last modified the component.
44053	LastModifiedBy *UserContext `type:"structure"`
44054
44055	// When the component was last modified.
44056	LastModifiedTime *time.Time `type:"timestamp"`
44057
44058	// When the component started.
44059	StartTime *time.Time `type:"timestamp"`
44060
44061	// The status of the component. States include:
44062	//
44063	//    * InProgress
44064	//
44065	//    * Completed
44066	//
44067	//    * Failed
44068	Status *TrialComponentStatus `type:"structure"`
44069
44070	// The ARN of the trial component.
44071	TrialComponentArn *string `type:"string"`
44072
44073	// The name of the trial component.
44074	TrialComponentName *string `min:"1" type:"string"`
44075
44076	// The Amazon Resource Name (ARN) and job type of the source of a trial component.
44077	TrialComponentSource *TrialComponentSource `type:"structure"`
44078}
44079
44080// String returns the string representation
44081func (s TrialComponentSummary) String() string {
44082	return awsutil.Prettify(s)
44083}
44084
44085// GoString returns the string representation
44086func (s TrialComponentSummary) GoString() string {
44087	return s.String()
44088}
44089
44090// SetCreatedBy sets the CreatedBy field's value.
44091func (s *TrialComponentSummary) SetCreatedBy(v *UserContext) *TrialComponentSummary {
44092	s.CreatedBy = v
44093	return s
44094}
44095
44096// SetCreationTime sets the CreationTime field's value.
44097func (s *TrialComponentSummary) SetCreationTime(v time.Time) *TrialComponentSummary {
44098	s.CreationTime = &v
44099	return s
44100}
44101
44102// SetDisplayName sets the DisplayName field's value.
44103func (s *TrialComponentSummary) SetDisplayName(v string) *TrialComponentSummary {
44104	s.DisplayName = &v
44105	return s
44106}
44107
44108// SetEndTime sets the EndTime field's value.
44109func (s *TrialComponentSummary) SetEndTime(v time.Time) *TrialComponentSummary {
44110	s.EndTime = &v
44111	return s
44112}
44113
44114// SetLastModifiedBy sets the LastModifiedBy field's value.
44115func (s *TrialComponentSummary) SetLastModifiedBy(v *UserContext) *TrialComponentSummary {
44116	s.LastModifiedBy = v
44117	return s
44118}
44119
44120// SetLastModifiedTime sets the LastModifiedTime field's value.
44121func (s *TrialComponentSummary) SetLastModifiedTime(v time.Time) *TrialComponentSummary {
44122	s.LastModifiedTime = &v
44123	return s
44124}
44125
44126// SetStartTime sets the StartTime field's value.
44127func (s *TrialComponentSummary) SetStartTime(v time.Time) *TrialComponentSummary {
44128	s.StartTime = &v
44129	return s
44130}
44131
44132// SetStatus sets the Status field's value.
44133func (s *TrialComponentSummary) SetStatus(v *TrialComponentStatus) *TrialComponentSummary {
44134	s.Status = v
44135	return s
44136}
44137
44138// SetTrialComponentArn sets the TrialComponentArn field's value.
44139func (s *TrialComponentSummary) SetTrialComponentArn(v string) *TrialComponentSummary {
44140	s.TrialComponentArn = &v
44141	return s
44142}
44143
44144// SetTrialComponentName sets the TrialComponentName field's value.
44145func (s *TrialComponentSummary) SetTrialComponentName(v string) *TrialComponentSummary {
44146	s.TrialComponentName = &v
44147	return s
44148}
44149
44150// SetTrialComponentSource sets the TrialComponentSource field's value.
44151func (s *TrialComponentSummary) SetTrialComponentSource(v *TrialComponentSource) *TrialComponentSummary {
44152	s.TrialComponentSource = v
44153	return s
44154}
44155
44156// The source of the trial.
44157type TrialSource struct {
44158	_ struct{} `type:"structure"`
44159
44160	// The Amazon Resource Name (ARN) of the source.
44161	//
44162	// SourceArn is a required field
44163	SourceArn *string `type:"string" required:"true"`
44164
44165	// The source job type.
44166	SourceType *string `type:"string"`
44167}
44168
44169// String returns the string representation
44170func (s TrialSource) String() string {
44171	return awsutil.Prettify(s)
44172}
44173
44174// GoString returns the string representation
44175func (s TrialSource) GoString() string {
44176	return s.String()
44177}
44178
44179// SetSourceArn sets the SourceArn field's value.
44180func (s *TrialSource) SetSourceArn(v string) *TrialSource {
44181	s.SourceArn = &v
44182	return s
44183}
44184
44185// SetSourceType sets the SourceType field's value.
44186func (s *TrialSource) SetSourceType(v string) *TrialSource {
44187	s.SourceType = &v
44188	return s
44189}
44190
44191// A summary of the properties of a trial. To get the complete set of properties,
44192// call the DescribeTrial API and provide the TrialName.
44193type TrialSummary struct {
44194	_ struct{} `type:"structure"`
44195
44196	// When the trial was created.
44197	CreationTime *time.Time `type:"timestamp"`
44198
44199	// The name of the trial as displayed. If DisplayName isn't specified, TrialName
44200	// is displayed.
44201	DisplayName *string `min:"1" type:"string"`
44202
44203	// When the trial was last modified.
44204	LastModifiedTime *time.Time `type:"timestamp"`
44205
44206	// The Amazon Resource Name (ARN) of the trial.
44207	TrialArn *string `type:"string"`
44208
44209	// The name of the trial.
44210	TrialName *string `min:"1" type:"string"`
44211
44212	// The source of the trial.
44213	TrialSource *TrialSource `type:"structure"`
44214}
44215
44216// String returns the string representation
44217func (s TrialSummary) String() string {
44218	return awsutil.Prettify(s)
44219}
44220
44221// GoString returns the string representation
44222func (s TrialSummary) GoString() string {
44223	return s.String()
44224}
44225
44226// SetCreationTime sets the CreationTime field's value.
44227func (s *TrialSummary) SetCreationTime(v time.Time) *TrialSummary {
44228	s.CreationTime = &v
44229	return s
44230}
44231
44232// SetDisplayName sets the DisplayName field's value.
44233func (s *TrialSummary) SetDisplayName(v string) *TrialSummary {
44234	s.DisplayName = &v
44235	return s
44236}
44237
44238// SetLastModifiedTime sets the LastModifiedTime field's value.
44239func (s *TrialSummary) SetLastModifiedTime(v time.Time) *TrialSummary {
44240	s.LastModifiedTime = &v
44241	return s
44242}
44243
44244// SetTrialArn sets the TrialArn field's value.
44245func (s *TrialSummary) SetTrialArn(v string) *TrialSummary {
44246	s.TrialArn = &v
44247	return s
44248}
44249
44250// SetTrialName sets the TrialName field's value.
44251func (s *TrialSummary) SetTrialName(v string) *TrialSummary {
44252	s.TrialName = &v
44253	return s
44254}
44255
44256// SetTrialSource sets the TrialSource field's value.
44257func (s *TrialSummary) SetTrialSource(v *TrialSource) *TrialSummary {
44258	s.TrialSource = v
44259	return s
44260}
44261
44262// The job completion criteria.
44263type TuningJobCompletionCriteria struct {
44264	_ struct{} `type:"structure"`
44265
44266	// The objective metric's value.
44267	//
44268	// TargetObjectiveMetricValue is a required field
44269	TargetObjectiveMetricValue *float64 `type:"float" required:"true"`
44270}
44271
44272// String returns the string representation
44273func (s TuningJobCompletionCriteria) String() string {
44274	return awsutil.Prettify(s)
44275}
44276
44277// GoString returns the string representation
44278func (s TuningJobCompletionCriteria) GoString() string {
44279	return s.String()
44280}
44281
44282// Validate inspects the fields of the type to determine if they are valid.
44283func (s *TuningJobCompletionCriteria) Validate() error {
44284	invalidParams := request.ErrInvalidParams{Context: "TuningJobCompletionCriteria"}
44285	if s.TargetObjectiveMetricValue == nil {
44286		invalidParams.Add(request.NewErrParamRequired("TargetObjectiveMetricValue"))
44287	}
44288
44289	if invalidParams.Len() > 0 {
44290		return invalidParams
44291	}
44292	return nil
44293}
44294
44295// SetTargetObjectiveMetricValue sets the TargetObjectiveMetricValue field's value.
44296func (s *TuningJobCompletionCriteria) SetTargetObjectiveMetricValue(v float64) *TuningJobCompletionCriteria {
44297	s.TargetObjectiveMetricValue = &v
44298	return s
44299}
44300
44301// Represents an amount of money in United States dollars/
44302type USD struct {
44303	_ struct{} `type:"structure"`
44304
44305	// The fractional portion, in cents, of the amount.
44306	Cents *int64 `type:"integer"`
44307
44308	// The whole number of dollars in the amount.
44309	Dollars *int64 `type:"integer"`
44310
44311	// Fractions of a cent, in tenths.
44312	TenthFractionsOfACent *int64 `type:"integer"`
44313}
44314
44315// String returns the string representation
44316func (s USD) String() string {
44317	return awsutil.Prettify(s)
44318}
44319
44320// GoString returns the string representation
44321func (s USD) GoString() string {
44322	return s.String()
44323}
44324
44325// SetCents sets the Cents field's value.
44326func (s *USD) SetCents(v int64) *USD {
44327	s.Cents = &v
44328	return s
44329}
44330
44331// SetDollars sets the Dollars field's value.
44332func (s *USD) SetDollars(v int64) *USD {
44333	s.Dollars = &v
44334	return s
44335}
44336
44337// SetTenthFractionsOfACent sets the TenthFractionsOfACent field's value.
44338func (s *USD) SetTenthFractionsOfACent(v int64) *USD {
44339	s.TenthFractionsOfACent = &v
44340	return s
44341}
44342
44343// Provided configuration information for the worker UI for a labeling job.
44344type UiConfig struct {
44345	_ struct{} `type:"structure"`
44346
44347	// The ARN of the worker task template used to render the worker UI and tools
44348	// for labeling job tasks. Do not use this parameter if you use UiTemplateS3Uri.
44349	HumanTaskUiArn *string `type:"string"`
44350
44351	// The Amazon S3 bucket location of the UI template, or worker task template.
44352	// This is the template used to render the worker UI and tools for labeling
44353	// job tasks. For more information about the contents of a UI template, see
44354	// Creating Your Custom Labeling Task Template (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-custom-templates-step2.html).
44355	UiTemplateS3Uri *string `type:"string"`
44356}
44357
44358// String returns the string representation
44359func (s UiConfig) String() string {
44360	return awsutil.Prettify(s)
44361}
44362
44363// GoString returns the string representation
44364func (s UiConfig) GoString() string {
44365	return s.String()
44366}
44367
44368// SetHumanTaskUiArn sets the HumanTaskUiArn field's value.
44369func (s *UiConfig) SetHumanTaskUiArn(v string) *UiConfig {
44370	s.HumanTaskUiArn = &v
44371	return s
44372}
44373
44374// SetUiTemplateS3Uri sets the UiTemplateS3Uri field's value.
44375func (s *UiConfig) SetUiTemplateS3Uri(v string) *UiConfig {
44376	s.UiTemplateS3Uri = &v
44377	return s
44378}
44379
44380// The Liquid template for the worker user interface.
44381type UiTemplate struct {
44382	_ struct{} `type:"structure"`
44383
44384	// The content of the Liquid template for the worker user interface.
44385	//
44386	// Content is a required field
44387	Content *string `min:"1" type:"string" required:"true"`
44388}
44389
44390// String returns the string representation
44391func (s UiTemplate) String() string {
44392	return awsutil.Prettify(s)
44393}
44394
44395// GoString returns the string representation
44396func (s UiTemplate) GoString() string {
44397	return s.String()
44398}
44399
44400// Validate inspects the fields of the type to determine if they are valid.
44401func (s *UiTemplate) Validate() error {
44402	invalidParams := request.ErrInvalidParams{Context: "UiTemplate"}
44403	if s.Content == nil {
44404		invalidParams.Add(request.NewErrParamRequired("Content"))
44405	}
44406	if s.Content != nil && len(*s.Content) < 1 {
44407		invalidParams.Add(request.NewErrParamMinLen("Content", 1))
44408	}
44409
44410	if invalidParams.Len() > 0 {
44411		return invalidParams
44412	}
44413	return nil
44414}
44415
44416// SetContent sets the Content field's value.
44417func (s *UiTemplate) SetContent(v string) *UiTemplate {
44418	s.Content = &v
44419	return s
44420}
44421
44422// Container for user interface template information.
44423type UiTemplateInfo struct {
44424	_ struct{} `type:"structure"`
44425
44426	// The SHA-256 digest of the contents of the template.
44427	ContentSha256 *string `min:"1" type:"string"`
44428
44429	// The URL for the user interface template.
44430	Url *string `min:"1" type:"string"`
44431}
44432
44433// String returns the string representation
44434func (s UiTemplateInfo) String() string {
44435	return awsutil.Prettify(s)
44436}
44437
44438// GoString returns the string representation
44439func (s UiTemplateInfo) GoString() string {
44440	return s.String()
44441}
44442
44443// SetContentSha256 sets the ContentSha256 field's value.
44444func (s *UiTemplateInfo) SetContentSha256(v string) *UiTemplateInfo {
44445	s.ContentSha256 = &v
44446	return s
44447}
44448
44449// SetUrl sets the Url field's value.
44450func (s *UiTemplateInfo) SetUrl(v string) *UiTemplateInfo {
44451	s.Url = &v
44452	return s
44453}
44454
44455type UpdateCodeRepositoryInput struct {
44456	_ struct{} `type:"structure"`
44457
44458	// The name of the Git repository to update.
44459	//
44460	// CodeRepositoryName is a required field
44461	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
44462
44463	// The configuration of the git repository, including the URL and the Amazon
44464	// Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials
44465	// used to access the repository. The secret must have a staging label of AWSCURRENT
44466	// and must be in the following format:
44467	//
44468	// {"username": UserName, "password": Password}
44469	GitConfig *GitConfigForUpdate `type:"structure"`
44470}
44471
44472// String returns the string representation
44473func (s UpdateCodeRepositoryInput) String() string {
44474	return awsutil.Prettify(s)
44475}
44476
44477// GoString returns the string representation
44478func (s UpdateCodeRepositoryInput) GoString() string {
44479	return s.String()
44480}
44481
44482// Validate inspects the fields of the type to determine if they are valid.
44483func (s *UpdateCodeRepositoryInput) Validate() error {
44484	invalidParams := request.ErrInvalidParams{Context: "UpdateCodeRepositoryInput"}
44485	if s.CodeRepositoryName == nil {
44486		invalidParams.Add(request.NewErrParamRequired("CodeRepositoryName"))
44487	}
44488	if s.CodeRepositoryName != nil && len(*s.CodeRepositoryName) < 1 {
44489		invalidParams.Add(request.NewErrParamMinLen("CodeRepositoryName", 1))
44490	}
44491	if s.GitConfig != nil {
44492		if err := s.GitConfig.Validate(); err != nil {
44493			invalidParams.AddNested("GitConfig", err.(request.ErrInvalidParams))
44494		}
44495	}
44496
44497	if invalidParams.Len() > 0 {
44498		return invalidParams
44499	}
44500	return nil
44501}
44502
44503// SetCodeRepositoryName sets the CodeRepositoryName field's value.
44504func (s *UpdateCodeRepositoryInput) SetCodeRepositoryName(v string) *UpdateCodeRepositoryInput {
44505	s.CodeRepositoryName = &v
44506	return s
44507}
44508
44509// SetGitConfig sets the GitConfig field's value.
44510func (s *UpdateCodeRepositoryInput) SetGitConfig(v *GitConfigForUpdate) *UpdateCodeRepositoryInput {
44511	s.GitConfig = v
44512	return s
44513}
44514
44515type UpdateCodeRepositoryOutput struct {
44516	_ struct{} `type:"structure"`
44517
44518	// The ARN of the Git repository.
44519	//
44520	// CodeRepositoryArn is a required field
44521	CodeRepositoryArn *string `min:"1" type:"string" required:"true"`
44522}
44523
44524// String returns the string representation
44525func (s UpdateCodeRepositoryOutput) String() string {
44526	return awsutil.Prettify(s)
44527}
44528
44529// GoString returns the string representation
44530func (s UpdateCodeRepositoryOutput) GoString() string {
44531	return s.String()
44532}
44533
44534// SetCodeRepositoryArn sets the CodeRepositoryArn field's value.
44535func (s *UpdateCodeRepositoryOutput) SetCodeRepositoryArn(v string) *UpdateCodeRepositoryOutput {
44536	s.CodeRepositoryArn = &v
44537	return s
44538}
44539
44540type UpdateDomainInput struct {
44541	_ struct{} `type:"structure"`
44542
44543	// A collection of settings.
44544	DefaultUserSettings *UserSettings `type:"structure"`
44545
44546	// The ID of the domain to be updated.
44547	//
44548	// DomainId is a required field
44549	DomainId *string `type:"string" required:"true"`
44550}
44551
44552// String returns the string representation
44553func (s UpdateDomainInput) String() string {
44554	return awsutil.Prettify(s)
44555}
44556
44557// GoString returns the string representation
44558func (s UpdateDomainInput) GoString() string {
44559	return s.String()
44560}
44561
44562// Validate inspects the fields of the type to determine if they are valid.
44563func (s *UpdateDomainInput) Validate() error {
44564	invalidParams := request.ErrInvalidParams{Context: "UpdateDomainInput"}
44565	if s.DomainId == nil {
44566		invalidParams.Add(request.NewErrParamRequired("DomainId"))
44567	}
44568	if s.DefaultUserSettings != nil {
44569		if err := s.DefaultUserSettings.Validate(); err != nil {
44570			invalidParams.AddNested("DefaultUserSettings", err.(request.ErrInvalidParams))
44571		}
44572	}
44573
44574	if invalidParams.Len() > 0 {
44575		return invalidParams
44576	}
44577	return nil
44578}
44579
44580// SetDefaultUserSettings sets the DefaultUserSettings field's value.
44581func (s *UpdateDomainInput) SetDefaultUserSettings(v *UserSettings) *UpdateDomainInput {
44582	s.DefaultUserSettings = v
44583	return s
44584}
44585
44586// SetDomainId sets the DomainId field's value.
44587func (s *UpdateDomainInput) SetDomainId(v string) *UpdateDomainInput {
44588	s.DomainId = &v
44589	return s
44590}
44591
44592type UpdateDomainOutput struct {
44593	_ struct{} `type:"structure"`
44594
44595	// The Amazon Resource Name (ARN) of the domain.
44596	DomainArn *string `type:"string"`
44597}
44598
44599// String returns the string representation
44600func (s UpdateDomainOutput) String() string {
44601	return awsutil.Prettify(s)
44602}
44603
44604// GoString returns the string representation
44605func (s UpdateDomainOutput) GoString() string {
44606	return s.String()
44607}
44608
44609// SetDomainArn sets the DomainArn field's value.
44610func (s *UpdateDomainOutput) SetDomainArn(v string) *UpdateDomainOutput {
44611	s.DomainArn = &v
44612	return s
44613}
44614
44615type UpdateEndpointInput struct {
44616	_ struct{} `type:"structure"`
44617
44618	// The name of the new endpoint configuration.
44619	//
44620	// EndpointConfigName is a required field
44621	EndpointConfigName *string `type:"string" required:"true"`
44622
44623	// The name of the endpoint whose configuration you want to update.
44624	//
44625	// EndpointName is a required field
44626	EndpointName *string `type:"string" required:"true"`
44627
44628	// When you are updating endpoint resources with UpdateEndpointInput$RetainAllVariantProperties,
44629	// whose value is set to true, ExcludeRetainedVariantProperties specifies the
44630	// list of type VariantProperty to override with the values provided by EndpointConfig.
44631	// If you don't specify a value for ExcludeAllVariantProperties, no variant
44632	// properties are overridden.
44633	ExcludeRetainedVariantProperties []*VariantProperty `type:"list"`
44634
44635	// When updating endpoint resources, enables or disables the retention of variant
44636	// properties, such as the instance count or the variant weight. To retain the
44637	// variant properties of an endpoint when updating it, set RetainAllVariantProperties
44638	// to true. To use the variant properties specified in a new EndpointConfig
44639	// call when updating an endpoint, set RetainAllVariantProperties to false.
44640	RetainAllVariantProperties *bool `type:"boolean"`
44641}
44642
44643// String returns the string representation
44644func (s UpdateEndpointInput) String() string {
44645	return awsutil.Prettify(s)
44646}
44647
44648// GoString returns the string representation
44649func (s UpdateEndpointInput) GoString() string {
44650	return s.String()
44651}
44652
44653// Validate inspects the fields of the type to determine if they are valid.
44654func (s *UpdateEndpointInput) Validate() error {
44655	invalidParams := request.ErrInvalidParams{Context: "UpdateEndpointInput"}
44656	if s.EndpointConfigName == nil {
44657		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
44658	}
44659	if s.EndpointName == nil {
44660		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
44661	}
44662	if s.ExcludeRetainedVariantProperties != nil {
44663		for i, v := range s.ExcludeRetainedVariantProperties {
44664			if v == nil {
44665				continue
44666			}
44667			if err := v.Validate(); err != nil {
44668				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ExcludeRetainedVariantProperties", i), err.(request.ErrInvalidParams))
44669			}
44670		}
44671	}
44672
44673	if invalidParams.Len() > 0 {
44674		return invalidParams
44675	}
44676	return nil
44677}
44678
44679// SetEndpointConfigName sets the EndpointConfigName field's value.
44680func (s *UpdateEndpointInput) SetEndpointConfigName(v string) *UpdateEndpointInput {
44681	s.EndpointConfigName = &v
44682	return s
44683}
44684
44685// SetEndpointName sets the EndpointName field's value.
44686func (s *UpdateEndpointInput) SetEndpointName(v string) *UpdateEndpointInput {
44687	s.EndpointName = &v
44688	return s
44689}
44690
44691// SetExcludeRetainedVariantProperties sets the ExcludeRetainedVariantProperties field's value.
44692func (s *UpdateEndpointInput) SetExcludeRetainedVariantProperties(v []*VariantProperty) *UpdateEndpointInput {
44693	s.ExcludeRetainedVariantProperties = v
44694	return s
44695}
44696
44697// SetRetainAllVariantProperties sets the RetainAllVariantProperties field's value.
44698func (s *UpdateEndpointInput) SetRetainAllVariantProperties(v bool) *UpdateEndpointInput {
44699	s.RetainAllVariantProperties = &v
44700	return s
44701}
44702
44703type UpdateEndpointOutput struct {
44704	_ struct{} `type:"structure"`
44705
44706	// The Amazon Resource Name (ARN) of the endpoint.
44707	//
44708	// EndpointArn is a required field
44709	EndpointArn *string `min:"20" type:"string" required:"true"`
44710}
44711
44712// String returns the string representation
44713func (s UpdateEndpointOutput) String() string {
44714	return awsutil.Prettify(s)
44715}
44716
44717// GoString returns the string representation
44718func (s UpdateEndpointOutput) GoString() string {
44719	return s.String()
44720}
44721
44722// SetEndpointArn sets the EndpointArn field's value.
44723func (s *UpdateEndpointOutput) SetEndpointArn(v string) *UpdateEndpointOutput {
44724	s.EndpointArn = &v
44725	return s
44726}
44727
44728type UpdateEndpointWeightsAndCapacitiesInput struct {
44729	_ struct{} `type:"structure"`
44730
44731	// An object that provides new capacity and weight values for a variant.
44732	//
44733	// DesiredWeightsAndCapacities is a required field
44734	DesiredWeightsAndCapacities []*DesiredWeightAndCapacity `min:"1" type:"list" required:"true"`
44735
44736	// The name of an existing Amazon SageMaker endpoint.
44737	//
44738	// EndpointName is a required field
44739	EndpointName *string `type:"string" required:"true"`
44740}
44741
44742// String returns the string representation
44743func (s UpdateEndpointWeightsAndCapacitiesInput) String() string {
44744	return awsutil.Prettify(s)
44745}
44746
44747// GoString returns the string representation
44748func (s UpdateEndpointWeightsAndCapacitiesInput) GoString() string {
44749	return s.String()
44750}
44751
44752// Validate inspects the fields of the type to determine if they are valid.
44753func (s *UpdateEndpointWeightsAndCapacitiesInput) Validate() error {
44754	invalidParams := request.ErrInvalidParams{Context: "UpdateEndpointWeightsAndCapacitiesInput"}
44755	if s.DesiredWeightsAndCapacities == nil {
44756		invalidParams.Add(request.NewErrParamRequired("DesiredWeightsAndCapacities"))
44757	}
44758	if s.DesiredWeightsAndCapacities != nil && len(s.DesiredWeightsAndCapacities) < 1 {
44759		invalidParams.Add(request.NewErrParamMinLen("DesiredWeightsAndCapacities", 1))
44760	}
44761	if s.EndpointName == nil {
44762		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
44763	}
44764	if s.DesiredWeightsAndCapacities != nil {
44765		for i, v := range s.DesiredWeightsAndCapacities {
44766			if v == nil {
44767				continue
44768			}
44769			if err := v.Validate(); err != nil {
44770				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DesiredWeightsAndCapacities", i), err.(request.ErrInvalidParams))
44771			}
44772		}
44773	}
44774
44775	if invalidParams.Len() > 0 {
44776		return invalidParams
44777	}
44778	return nil
44779}
44780
44781// SetDesiredWeightsAndCapacities sets the DesiredWeightsAndCapacities field's value.
44782func (s *UpdateEndpointWeightsAndCapacitiesInput) SetDesiredWeightsAndCapacities(v []*DesiredWeightAndCapacity) *UpdateEndpointWeightsAndCapacitiesInput {
44783	s.DesiredWeightsAndCapacities = v
44784	return s
44785}
44786
44787// SetEndpointName sets the EndpointName field's value.
44788func (s *UpdateEndpointWeightsAndCapacitiesInput) SetEndpointName(v string) *UpdateEndpointWeightsAndCapacitiesInput {
44789	s.EndpointName = &v
44790	return s
44791}
44792
44793type UpdateEndpointWeightsAndCapacitiesOutput struct {
44794	_ struct{} `type:"structure"`
44795
44796	// The Amazon Resource Name (ARN) of the updated endpoint.
44797	//
44798	// EndpointArn is a required field
44799	EndpointArn *string `min:"20" type:"string" required:"true"`
44800}
44801
44802// String returns the string representation
44803func (s UpdateEndpointWeightsAndCapacitiesOutput) String() string {
44804	return awsutil.Prettify(s)
44805}
44806
44807// GoString returns the string representation
44808func (s UpdateEndpointWeightsAndCapacitiesOutput) GoString() string {
44809	return s.String()
44810}
44811
44812// SetEndpointArn sets the EndpointArn field's value.
44813func (s *UpdateEndpointWeightsAndCapacitiesOutput) SetEndpointArn(v string) *UpdateEndpointWeightsAndCapacitiesOutput {
44814	s.EndpointArn = &v
44815	return s
44816}
44817
44818type UpdateExperimentInput struct {
44819	_ struct{} `type:"structure"`
44820
44821	// The description of the experiment.
44822	Description *string `type:"string"`
44823
44824	// The name of the experiment as displayed. The name doesn't need to be unique.
44825	// If DisplayName isn't specified, ExperimentName is displayed.
44826	DisplayName *string `min:"1" type:"string"`
44827
44828	// The name of the experiment to update.
44829	//
44830	// ExperimentName is a required field
44831	ExperimentName *string `min:"1" type:"string" required:"true"`
44832}
44833
44834// String returns the string representation
44835func (s UpdateExperimentInput) String() string {
44836	return awsutil.Prettify(s)
44837}
44838
44839// GoString returns the string representation
44840func (s UpdateExperimentInput) GoString() string {
44841	return s.String()
44842}
44843
44844// Validate inspects the fields of the type to determine if they are valid.
44845func (s *UpdateExperimentInput) Validate() error {
44846	invalidParams := request.ErrInvalidParams{Context: "UpdateExperimentInput"}
44847	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
44848		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
44849	}
44850	if s.ExperimentName == nil {
44851		invalidParams.Add(request.NewErrParamRequired("ExperimentName"))
44852	}
44853	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
44854		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
44855	}
44856
44857	if invalidParams.Len() > 0 {
44858		return invalidParams
44859	}
44860	return nil
44861}
44862
44863// SetDescription sets the Description field's value.
44864func (s *UpdateExperimentInput) SetDescription(v string) *UpdateExperimentInput {
44865	s.Description = &v
44866	return s
44867}
44868
44869// SetDisplayName sets the DisplayName field's value.
44870func (s *UpdateExperimentInput) SetDisplayName(v string) *UpdateExperimentInput {
44871	s.DisplayName = &v
44872	return s
44873}
44874
44875// SetExperimentName sets the ExperimentName field's value.
44876func (s *UpdateExperimentInput) SetExperimentName(v string) *UpdateExperimentInput {
44877	s.ExperimentName = &v
44878	return s
44879}
44880
44881type UpdateExperimentOutput struct {
44882	_ struct{} `type:"structure"`
44883
44884	// The Amazon Resource Name (ARN) of the experiment.
44885	ExperimentArn *string `type:"string"`
44886}
44887
44888// String returns the string representation
44889func (s UpdateExperimentOutput) String() string {
44890	return awsutil.Prettify(s)
44891}
44892
44893// GoString returns the string representation
44894func (s UpdateExperimentOutput) GoString() string {
44895	return s.String()
44896}
44897
44898// SetExperimentArn sets the ExperimentArn field's value.
44899func (s *UpdateExperimentOutput) SetExperimentArn(v string) *UpdateExperimentOutput {
44900	s.ExperimentArn = &v
44901	return s
44902}
44903
44904type UpdateMonitoringScheduleInput struct {
44905	_ struct{} `type:"structure"`
44906
44907	// The configuration object that specifies the monitoring schedule and defines
44908	// the monitoring job.
44909	//
44910	// MonitoringScheduleConfig is a required field
44911	MonitoringScheduleConfig *MonitoringScheduleConfig `type:"structure" required:"true"`
44912
44913	// The name of the monitoring schedule. The name must be unique within an AWS
44914	// Region within an AWS account.
44915	//
44916	// MonitoringScheduleName is a required field
44917	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
44918}
44919
44920// String returns the string representation
44921func (s UpdateMonitoringScheduleInput) String() string {
44922	return awsutil.Prettify(s)
44923}
44924
44925// GoString returns the string representation
44926func (s UpdateMonitoringScheduleInput) GoString() string {
44927	return s.String()
44928}
44929
44930// Validate inspects the fields of the type to determine if they are valid.
44931func (s *UpdateMonitoringScheduleInput) Validate() error {
44932	invalidParams := request.ErrInvalidParams{Context: "UpdateMonitoringScheduleInput"}
44933	if s.MonitoringScheduleConfig == nil {
44934		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleConfig"))
44935	}
44936	if s.MonitoringScheduleName == nil {
44937		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName"))
44938	}
44939	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
44940		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
44941	}
44942	if s.MonitoringScheduleConfig != nil {
44943		if err := s.MonitoringScheduleConfig.Validate(); err != nil {
44944			invalidParams.AddNested("MonitoringScheduleConfig", err.(request.ErrInvalidParams))
44945		}
44946	}
44947
44948	if invalidParams.Len() > 0 {
44949		return invalidParams
44950	}
44951	return nil
44952}
44953
44954// SetMonitoringScheduleConfig sets the MonitoringScheduleConfig field's value.
44955func (s *UpdateMonitoringScheduleInput) SetMonitoringScheduleConfig(v *MonitoringScheduleConfig) *UpdateMonitoringScheduleInput {
44956	s.MonitoringScheduleConfig = v
44957	return s
44958}
44959
44960// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
44961func (s *UpdateMonitoringScheduleInput) SetMonitoringScheduleName(v string) *UpdateMonitoringScheduleInput {
44962	s.MonitoringScheduleName = &v
44963	return s
44964}
44965
44966type UpdateMonitoringScheduleOutput struct {
44967	_ struct{} `type:"structure"`
44968
44969	// The Amazon Resource Name (ARN) of the monitoring schedule.
44970	//
44971	// MonitoringScheduleArn is a required field
44972	MonitoringScheduleArn *string `type:"string" required:"true"`
44973}
44974
44975// String returns the string representation
44976func (s UpdateMonitoringScheduleOutput) String() string {
44977	return awsutil.Prettify(s)
44978}
44979
44980// GoString returns the string representation
44981func (s UpdateMonitoringScheduleOutput) GoString() string {
44982	return s.String()
44983}
44984
44985// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
44986func (s *UpdateMonitoringScheduleOutput) SetMonitoringScheduleArn(v string) *UpdateMonitoringScheduleOutput {
44987	s.MonitoringScheduleArn = &v
44988	return s
44989}
44990
44991type UpdateNotebookInstanceInput struct {
44992	_ struct{} `type:"structure"`
44993
44994	// A list of the Elastic Inference (EI) instance types to associate with this
44995	// notebook instance. Currently only one EI instance type can be associated
44996	// with a notebook instance. For more information, see Using Elastic Inference
44997	// in Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html).
44998	AcceleratorTypes []*string `type:"list"`
44999
45000	// An array of up to three Git repositories to associate with the notebook instance.
45001	// These can be either the names of Git repositories stored as resources in
45002	// your account, or the URL of Git repositories in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
45003	// or in any other Git repository. These repositories are cloned at the same
45004	// level as the default repository of your notebook instance. For more information,
45005	// see Associating Git Repositories with Amazon SageMaker Notebook Instances
45006	// (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
45007	AdditionalCodeRepositories []*string `type:"list"`
45008
45009	// The Git repository to associate with the notebook instance as its default
45010	// code repository. This can be either the name of a Git repository stored as
45011	// a resource in your account, or the URL of a Git repository in AWS CodeCommit
45012	// (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or
45013	// in any other Git repository. When you open a notebook instance, it opens
45014	// in the directory that contains this repository. For more information, see
45015	// Associating Git Repositories with Amazon SageMaker Notebook Instances (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
45016	DefaultCodeRepository *string `min:"1" type:"string"`
45017
45018	// A list of the Elastic Inference (EI) instance types to remove from this notebook
45019	// instance. This operation is idempotent. If you specify an accelerator type
45020	// that is not associated with the notebook instance when you call this method,
45021	// it does not throw an error.
45022	DisassociateAcceleratorTypes *bool `type:"boolean"`
45023
45024	// A list of names or URLs of the default Git repositories to remove from this
45025	// notebook instance. This operation is idempotent. If you specify a Git repository
45026	// that is not associated with the notebook instance when you call this method,
45027	// it does not throw an error.
45028	DisassociateAdditionalCodeRepositories *bool `type:"boolean"`
45029
45030	// The name or URL of the default Git repository to remove from this notebook
45031	// instance. This operation is idempotent. If you specify a Git repository that
45032	// is not associated with the notebook instance when you call this method, it
45033	// does not throw an error.
45034	DisassociateDefaultCodeRepository *bool `type:"boolean"`
45035
45036	// Set to true to remove the notebook instance lifecycle configuration currently
45037	// associated with the notebook instance. This operation is idempotent. If you
45038	// specify a lifecycle configuration that is not associated with the notebook
45039	// instance when you call this method, it does not throw an error.
45040	DisassociateLifecycleConfig *bool `type:"boolean"`
45041
45042	// The Amazon ML compute instance type.
45043	InstanceType *string `type:"string" enum:"InstanceType"`
45044
45045	// The name of a lifecycle configuration to associate with the notebook instance.
45046	// For information about lifestyle configurations, see Step 2.1: (Optional)
45047	// Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
45048	LifecycleConfigName *string `type:"string"`
45049
45050	// The name of the notebook instance to update.
45051	//
45052	// NotebookInstanceName is a required field
45053	NotebookInstanceName *string `type:"string" required:"true"`
45054
45055	// The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can
45056	// assume to access the notebook instance. For more information, see Amazon
45057	// SageMaker Roles (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html).
45058	//
45059	// To be able to pass this role to Amazon SageMaker, the caller of this API
45060	// must have the iam:PassRole permission.
45061	RoleArn *string `min:"20" type:"string"`
45062
45063	// Whether root access is enabled or disabled for users of the notebook instance.
45064	// The default value is Enabled.
45065	//
45066	// If you set this to Disabled, users don't have root access on the notebook
45067	// instance, but lifecycle configuration scripts still run with root permissions.
45068	RootAccess *string `type:"string" enum:"RootAccess"`
45069
45070	// The size, in GB, of the ML storage volume to attach to the notebook instance.
45071	// The default value is 5 GB. ML storage volumes are encrypted, so Amazon SageMaker
45072	// can't determine the amount of available free space on the volume. Because
45073	// of this, you can increase the volume size when you update a notebook instance,
45074	// but you can't decrease the volume size. If you want to decrease the size
45075	// of the ML storage volume in use, create a new notebook instance with the
45076	// desired size.
45077	VolumeSizeInGB *int64 `min:"5" type:"integer"`
45078}
45079
45080// String returns the string representation
45081func (s UpdateNotebookInstanceInput) String() string {
45082	return awsutil.Prettify(s)
45083}
45084
45085// GoString returns the string representation
45086func (s UpdateNotebookInstanceInput) GoString() string {
45087	return s.String()
45088}
45089
45090// Validate inspects the fields of the type to determine if they are valid.
45091func (s *UpdateNotebookInstanceInput) Validate() error {
45092	invalidParams := request.ErrInvalidParams{Context: "UpdateNotebookInstanceInput"}
45093	if s.DefaultCodeRepository != nil && len(*s.DefaultCodeRepository) < 1 {
45094		invalidParams.Add(request.NewErrParamMinLen("DefaultCodeRepository", 1))
45095	}
45096	if s.NotebookInstanceName == nil {
45097		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
45098	}
45099	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
45100		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
45101	}
45102	if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 5 {
45103		invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 5))
45104	}
45105
45106	if invalidParams.Len() > 0 {
45107		return invalidParams
45108	}
45109	return nil
45110}
45111
45112// SetAcceleratorTypes sets the AcceleratorTypes field's value.
45113func (s *UpdateNotebookInstanceInput) SetAcceleratorTypes(v []*string) *UpdateNotebookInstanceInput {
45114	s.AcceleratorTypes = v
45115	return s
45116}
45117
45118// SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value.
45119func (s *UpdateNotebookInstanceInput) SetAdditionalCodeRepositories(v []*string) *UpdateNotebookInstanceInput {
45120	s.AdditionalCodeRepositories = v
45121	return s
45122}
45123
45124// SetDefaultCodeRepository sets the DefaultCodeRepository field's value.
45125func (s *UpdateNotebookInstanceInput) SetDefaultCodeRepository(v string) *UpdateNotebookInstanceInput {
45126	s.DefaultCodeRepository = &v
45127	return s
45128}
45129
45130// SetDisassociateAcceleratorTypes sets the DisassociateAcceleratorTypes field's value.
45131func (s *UpdateNotebookInstanceInput) SetDisassociateAcceleratorTypes(v bool) *UpdateNotebookInstanceInput {
45132	s.DisassociateAcceleratorTypes = &v
45133	return s
45134}
45135
45136// SetDisassociateAdditionalCodeRepositories sets the DisassociateAdditionalCodeRepositories field's value.
45137func (s *UpdateNotebookInstanceInput) SetDisassociateAdditionalCodeRepositories(v bool) *UpdateNotebookInstanceInput {
45138	s.DisassociateAdditionalCodeRepositories = &v
45139	return s
45140}
45141
45142// SetDisassociateDefaultCodeRepository sets the DisassociateDefaultCodeRepository field's value.
45143func (s *UpdateNotebookInstanceInput) SetDisassociateDefaultCodeRepository(v bool) *UpdateNotebookInstanceInput {
45144	s.DisassociateDefaultCodeRepository = &v
45145	return s
45146}
45147
45148// SetDisassociateLifecycleConfig sets the DisassociateLifecycleConfig field's value.
45149func (s *UpdateNotebookInstanceInput) SetDisassociateLifecycleConfig(v bool) *UpdateNotebookInstanceInput {
45150	s.DisassociateLifecycleConfig = &v
45151	return s
45152}
45153
45154// SetInstanceType sets the InstanceType field's value.
45155func (s *UpdateNotebookInstanceInput) SetInstanceType(v string) *UpdateNotebookInstanceInput {
45156	s.InstanceType = &v
45157	return s
45158}
45159
45160// SetLifecycleConfigName sets the LifecycleConfigName field's value.
45161func (s *UpdateNotebookInstanceInput) SetLifecycleConfigName(v string) *UpdateNotebookInstanceInput {
45162	s.LifecycleConfigName = &v
45163	return s
45164}
45165
45166// SetNotebookInstanceName sets the NotebookInstanceName field's value.
45167func (s *UpdateNotebookInstanceInput) SetNotebookInstanceName(v string) *UpdateNotebookInstanceInput {
45168	s.NotebookInstanceName = &v
45169	return s
45170}
45171
45172// SetRoleArn sets the RoleArn field's value.
45173func (s *UpdateNotebookInstanceInput) SetRoleArn(v string) *UpdateNotebookInstanceInput {
45174	s.RoleArn = &v
45175	return s
45176}
45177
45178// SetRootAccess sets the RootAccess field's value.
45179func (s *UpdateNotebookInstanceInput) SetRootAccess(v string) *UpdateNotebookInstanceInput {
45180	s.RootAccess = &v
45181	return s
45182}
45183
45184// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
45185func (s *UpdateNotebookInstanceInput) SetVolumeSizeInGB(v int64) *UpdateNotebookInstanceInput {
45186	s.VolumeSizeInGB = &v
45187	return s
45188}
45189
45190type UpdateNotebookInstanceLifecycleConfigInput struct {
45191	_ struct{} `type:"structure"`
45192
45193	// The name of the lifecycle configuration.
45194	//
45195	// NotebookInstanceLifecycleConfigName is a required field
45196	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
45197
45198	// The shell script that runs only once, when you create a notebook instance.
45199	// The shell script must be a base64-encoded string.
45200	OnCreate []*NotebookInstanceLifecycleHook `type:"list"`
45201
45202	// The shell script that runs every time you start a notebook instance, including
45203	// when you create the notebook instance. The shell script must be a base64-encoded
45204	// string.
45205	OnStart []*NotebookInstanceLifecycleHook `type:"list"`
45206}
45207
45208// String returns the string representation
45209func (s UpdateNotebookInstanceLifecycleConfigInput) String() string {
45210	return awsutil.Prettify(s)
45211}
45212
45213// GoString returns the string representation
45214func (s UpdateNotebookInstanceLifecycleConfigInput) GoString() string {
45215	return s.String()
45216}
45217
45218// Validate inspects the fields of the type to determine if they are valid.
45219func (s *UpdateNotebookInstanceLifecycleConfigInput) Validate() error {
45220	invalidParams := request.ErrInvalidParams{Context: "UpdateNotebookInstanceLifecycleConfigInput"}
45221	if s.NotebookInstanceLifecycleConfigName == nil {
45222		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceLifecycleConfigName"))
45223	}
45224	if s.OnCreate != nil {
45225		for i, v := range s.OnCreate {
45226			if v == nil {
45227				continue
45228			}
45229			if err := v.Validate(); err != nil {
45230				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OnCreate", i), err.(request.ErrInvalidParams))
45231			}
45232		}
45233	}
45234	if s.OnStart != nil {
45235		for i, v := range s.OnStart {
45236			if v == nil {
45237				continue
45238			}
45239			if err := v.Validate(); err != nil {
45240				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OnStart", i), err.(request.ErrInvalidParams))
45241			}
45242		}
45243	}
45244
45245	if invalidParams.Len() > 0 {
45246		return invalidParams
45247	}
45248	return nil
45249}
45250
45251// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
45252func (s *UpdateNotebookInstanceLifecycleConfigInput) SetNotebookInstanceLifecycleConfigName(v string) *UpdateNotebookInstanceLifecycleConfigInput {
45253	s.NotebookInstanceLifecycleConfigName = &v
45254	return s
45255}
45256
45257// SetOnCreate sets the OnCreate field's value.
45258func (s *UpdateNotebookInstanceLifecycleConfigInput) SetOnCreate(v []*NotebookInstanceLifecycleHook) *UpdateNotebookInstanceLifecycleConfigInput {
45259	s.OnCreate = v
45260	return s
45261}
45262
45263// SetOnStart sets the OnStart field's value.
45264func (s *UpdateNotebookInstanceLifecycleConfigInput) SetOnStart(v []*NotebookInstanceLifecycleHook) *UpdateNotebookInstanceLifecycleConfigInput {
45265	s.OnStart = v
45266	return s
45267}
45268
45269type UpdateNotebookInstanceLifecycleConfigOutput struct {
45270	_ struct{} `type:"structure"`
45271}
45272
45273// String returns the string representation
45274func (s UpdateNotebookInstanceLifecycleConfigOutput) String() string {
45275	return awsutil.Prettify(s)
45276}
45277
45278// GoString returns the string representation
45279func (s UpdateNotebookInstanceLifecycleConfigOutput) GoString() string {
45280	return s.String()
45281}
45282
45283type UpdateNotebookInstanceOutput struct {
45284	_ struct{} `type:"structure"`
45285}
45286
45287// String returns the string representation
45288func (s UpdateNotebookInstanceOutput) String() string {
45289	return awsutil.Prettify(s)
45290}
45291
45292// GoString returns the string representation
45293func (s UpdateNotebookInstanceOutput) GoString() string {
45294	return s.String()
45295}
45296
45297type UpdateTrialComponentInput struct {
45298	_ struct{} `type:"structure"`
45299
45300	// The name of the component as displayed. The name doesn't need to be unique.
45301	// If DisplayName isn't specified, TrialComponentName is displayed.
45302	DisplayName *string `min:"1" type:"string"`
45303
45304	// When the component ended.
45305	EndTime *time.Time `type:"timestamp"`
45306
45307	// Replaces all of the component's input artifacts with the specified artifacts.
45308	InputArtifacts map[string]*TrialComponentArtifact `type:"map"`
45309
45310	// The input artifacts to remove from the component.
45311	InputArtifactsToRemove []*string `type:"list"`
45312
45313	// Replaces all of the component's output artifacts with the specified artifacts.
45314	OutputArtifacts map[string]*TrialComponentArtifact `type:"map"`
45315
45316	// The output artifacts to remove from the component.
45317	OutputArtifactsToRemove []*string `type:"list"`
45318
45319	// Replaces all of the component's hyperparameters with the specified hyperparameters.
45320	Parameters map[string]*TrialComponentParameterValue `type:"map"`
45321
45322	// The hyperparameters to remove from the component.
45323	ParametersToRemove []*string `type:"list"`
45324
45325	// When the component started.
45326	StartTime *time.Time `type:"timestamp"`
45327
45328	// The new status of the component.
45329	Status *TrialComponentStatus `type:"structure"`
45330
45331	// The name of the component to update.
45332	//
45333	// TrialComponentName is a required field
45334	TrialComponentName *string `min:"1" type:"string" required:"true"`
45335}
45336
45337// String returns the string representation
45338func (s UpdateTrialComponentInput) String() string {
45339	return awsutil.Prettify(s)
45340}
45341
45342// GoString returns the string representation
45343func (s UpdateTrialComponentInput) GoString() string {
45344	return s.String()
45345}
45346
45347// Validate inspects the fields of the type to determine if they are valid.
45348func (s *UpdateTrialComponentInput) Validate() error {
45349	invalidParams := request.ErrInvalidParams{Context: "UpdateTrialComponentInput"}
45350	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
45351		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
45352	}
45353	if s.TrialComponentName == nil {
45354		invalidParams.Add(request.NewErrParamRequired("TrialComponentName"))
45355	}
45356	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
45357		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
45358	}
45359	if s.InputArtifacts != nil {
45360		for i, v := range s.InputArtifacts {
45361			if v == nil {
45362				continue
45363			}
45364			if err := v.Validate(); err != nil {
45365				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputArtifacts", i), err.(request.ErrInvalidParams))
45366			}
45367		}
45368	}
45369	if s.OutputArtifacts != nil {
45370		for i, v := range s.OutputArtifacts {
45371			if v == nil {
45372				continue
45373			}
45374			if err := v.Validate(); err != nil {
45375				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OutputArtifacts", i), err.(request.ErrInvalidParams))
45376			}
45377		}
45378	}
45379
45380	if invalidParams.Len() > 0 {
45381		return invalidParams
45382	}
45383	return nil
45384}
45385
45386// SetDisplayName sets the DisplayName field's value.
45387func (s *UpdateTrialComponentInput) SetDisplayName(v string) *UpdateTrialComponentInput {
45388	s.DisplayName = &v
45389	return s
45390}
45391
45392// SetEndTime sets the EndTime field's value.
45393func (s *UpdateTrialComponentInput) SetEndTime(v time.Time) *UpdateTrialComponentInput {
45394	s.EndTime = &v
45395	return s
45396}
45397
45398// SetInputArtifacts sets the InputArtifacts field's value.
45399func (s *UpdateTrialComponentInput) SetInputArtifacts(v map[string]*TrialComponentArtifact) *UpdateTrialComponentInput {
45400	s.InputArtifacts = v
45401	return s
45402}
45403
45404// SetInputArtifactsToRemove sets the InputArtifactsToRemove field's value.
45405func (s *UpdateTrialComponentInput) SetInputArtifactsToRemove(v []*string) *UpdateTrialComponentInput {
45406	s.InputArtifactsToRemove = v
45407	return s
45408}
45409
45410// SetOutputArtifacts sets the OutputArtifacts field's value.
45411func (s *UpdateTrialComponentInput) SetOutputArtifacts(v map[string]*TrialComponentArtifact) *UpdateTrialComponentInput {
45412	s.OutputArtifacts = v
45413	return s
45414}
45415
45416// SetOutputArtifactsToRemove sets the OutputArtifactsToRemove field's value.
45417func (s *UpdateTrialComponentInput) SetOutputArtifactsToRemove(v []*string) *UpdateTrialComponentInput {
45418	s.OutputArtifactsToRemove = v
45419	return s
45420}
45421
45422// SetParameters sets the Parameters field's value.
45423func (s *UpdateTrialComponentInput) SetParameters(v map[string]*TrialComponentParameterValue) *UpdateTrialComponentInput {
45424	s.Parameters = v
45425	return s
45426}
45427
45428// SetParametersToRemove sets the ParametersToRemove field's value.
45429func (s *UpdateTrialComponentInput) SetParametersToRemove(v []*string) *UpdateTrialComponentInput {
45430	s.ParametersToRemove = v
45431	return s
45432}
45433
45434// SetStartTime sets the StartTime field's value.
45435func (s *UpdateTrialComponentInput) SetStartTime(v time.Time) *UpdateTrialComponentInput {
45436	s.StartTime = &v
45437	return s
45438}
45439
45440// SetStatus sets the Status field's value.
45441func (s *UpdateTrialComponentInput) SetStatus(v *TrialComponentStatus) *UpdateTrialComponentInput {
45442	s.Status = v
45443	return s
45444}
45445
45446// SetTrialComponentName sets the TrialComponentName field's value.
45447func (s *UpdateTrialComponentInput) SetTrialComponentName(v string) *UpdateTrialComponentInput {
45448	s.TrialComponentName = &v
45449	return s
45450}
45451
45452type UpdateTrialComponentOutput struct {
45453	_ struct{} `type:"structure"`
45454
45455	// The Amazon Resource Name (ARN) of the trial component.
45456	TrialComponentArn *string `type:"string"`
45457}
45458
45459// String returns the string representation
45460func (s UpdateTrialComponentOutput) String() string {
45461	return awsutil.Prettify(s)
45462}
45463
45464// GoString returns the string representation
45465func (s UpdateTrialComponentOutput) GoString() string {
45466	return s.String()
45467}
45468
45469// SetTrialComponentArn sets the TrialComponentArn field's value.
45470func (s *UpdateTrialComponentOutput) SetTrialComponentArn(v string) *UpdateTrialComponentOutput {
45471	s.TrialComponentArn = &v
45472	return s
45473}
45474
45475type UpdateTrialInput struct {
45476	_ struct{} `type:"structure"`
45477
45478	// The name of the trial as displayed. The name doesn't need to be unique. If
45479	// DisplayName isn't specified, TrialName is displayed.
45480	DisplayName *string `min:"1" type:"string"`
45481
45482	// The name of the trial to update.
45483	//
45484	// TrialName is a required field
45485	TrialName *string `min:"1" type:"string" required:"true"`
45486}
45487
45488// String returns the string representation
45489func (s UpdateTrialInput) String() string {
45490	return awsutil.Prettify(s)
45491}
45492
45493// GoString returns the string representation
45494func (s UpdateTrialInput) GoString() string {
45495	return s.String()
45496}
45497
45498// Validate inspects the fields of the type to determine if they are valid.
45499func (s *UpdateTrialInput) Validate() error {
45500	invalidParams := request.ErrInvalidParams{Context: "UpdateTrialInput"}
45501	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
45502		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
45503	}
45504	if s.TrialName == nil {
45505		invalidParams.Add(request.NewErrParamRequired("TrialName"))
45506	}
45507	if s.TrialName != nil && len(*s.TrialName) < 1 {
45508		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
45509	}
45510
45511	if invalidParams.Len() > 0 {
45512		return invalidParams
45513	}
45514	return nil
45515}
45516
45517// SetDisplayName sets the DisplayName field's value.
45518func (s *UpdateTrialInput) SetDisplayName(v string) *UpdateTrialInput {
45519	s.DisplayName = &v
45520	return s
45521}
45522
45523// SetTrialName sets the TrialName field's value.
45524func (s *UpdateTrialInput) SetTrialName(v string) *UpdateTrialInput {
45525	s.TrialName = &v
45526	return s
45527}
45528
45529type UpdateTrialOutput struct {
45530	_ struct{} `type:"structure"`
45531
45532	// The Amazon Resource Name (ARN) of the trial.
45533	TrialArn *string `type:"string"`
45534}
45535
45536// String returns the string representation
45537func (s UpdateTrialOutput) String() string {
45538	return awsutil.Prettify(s)
45539}
45540
45541// GoString returns the string representation
45542func (s UpdateTrialOutput) GoString() string {
45543	return s.String()
45544}
45545
45546// SetTrialArn sets the TrialArn field's value.
45547func (s *UpdateTrialOutput) SetTrialArn(v string) *UpdateTrialOutput {
45548	s.TrialArn = &v
45549	return s
45550}
45551
45552type UpdateUserProfileInput struct {
45553	_ struct{} `type:"structure"`
45554
45555	// The domain ID.
45556	//
45557	// DomainId is a required field
45558	DomainId *string `type:"string" required:"true"`
45559
45560	// The user profile name.
45561	//
45562	// UserProfileName is a required field
45563	UserProfileName *string `type:"string" required:"true"`
45564
45565	// A collection of settings.
45566	UserSettings *UserSettings `type:"structure"`
45567}
45568
45569// String returns the string representation
45570func (s UpdateUserProfileInput) String() string {
45571	return awsutil.Prettify(s)
45572}
45573
45574// GoString returns the string representation
45575func (s UpdateUserProfileInput) GoString() string {
45576	return s.String()
45577}
45578
45579// Validate inspects the fields of the type to determine if they are valid.
45580func (s *UpdateUserProfileInput) Validate() error {
45581	invalidParams := request.ErrInvalidParams{Context: "UpdateUserProfileInput"}
45582	if s.DomainId == nil {
45583		invalidParams.Add(request.NewErrParamRequired("DomainId"))
45584	}
45585	if s.UserProfileName == nil {
45586		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
45587	}
45588	if s.UserSettings != nil {
45589		if err := s.UserSettings.Validate(); err != nil {
45590			invalidParams.AddNested("UserSettings", err.(request.ErrInvalidParams))
45591		}
45592	}
45593
45594	if invalidParams.Len() > 0 {
45595		return invalidParams
45596	}
45597	return nil
45598}
45599
45600// SetDomainId sets the DomainId field's value.
45601func (s *UpdateUserProfileInput) SetDomainId(v string) *UpdateUserProfileInput {
45602	s.DomainId = &v
45603	return s
45604}
45605
45606// SetUserProfileName sets the UserProfileName field's value.
45607func (s *UpdateUserProfileInput) SetUserProfileName(v string) *UpdateUserProfileInput {
45608	s.UserProfileName = &v
45609	return s
45610}
45611
45612// SetUserSettings sets the UserSettings field's value.
45613func (s *UpdateUserProfileInput) SetUserSettings(v *UserSettings) *UpdateUserProfileInput {
45614	s.UserSettings = v
45615	return s
45616}
45617
45618type UpdateUserProfileOutput struct {
45619	_ struct{} `type:"structure"`
45620
45621	// The user profile Amazon Resource Name (ARN).
45622	UserProfileArn *string `type:"string"`
45623}
45624
45625// String returns the string representation
45626func (s UpdateUserProfileOutput) String() string {
45627	return awsutil.Prettify(s)
45628}
45629
45630// GoString returns the string representation
45631func (s UpdateUserProfileOutput) GoString() string {
45632	return s.String()
45633}
45634
45635// SetUserProfileArn sets the UserProfileArn field's value.
45636func (s *UpdateUserProfileOutput) SetUserProfileArn(v string) *UpdateUserProfileOutput {
45637	s.UserProfileArn = &v
45638	return s
45639}
45640
45641type UpdateWorkforceInput struct {
45642	_ struct{} `type:"structure"`
45643
45644	// A list of one to four worker IP address ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html))
45645	// that can be used to access tasks assigned to this workforce.
45646	//
45647	// Maximum: Four CIDR values
45648	SourceIpConfig *SourceIpConfig `type:"structure"`
45649
45650	// The name of the private workforce whose access you want to restrict. WorkforceName
45651	// is automatically set to default when a workforce is created and cannot be
45652	// modified.
45653	//
45654	// WorkforceName is a required field
45655	WorkforceName *string `min:"1" type:"string" required:"true"`
45656}
45657
45658// String returns the string representation
45659func (s UpdateWorkforceInput) String() string {
45660	return awsutil.Prettify(s)
45661}
45662
45663// GoString returns the string representation
45664func (s UpdateWorkforceInput) GoString() string {
45665	return s.String()
45666}
45667
45668// Validate inspects the fields of the type to determine if they are valid.
45669func (s *UpdateWorkforceInput) Validate() error {
45670	invalidParams := request.ErrInvalidParams{Context: "UpdateWorkforceInput"}
45671	if s.WorkforceName == nil {
45672		invalidParams.Add(request.NewErrParamRequired("WorkforceName"))
45673	}
45674	if s.WorkforceName != nil && len(*s.WorkforceName) < 1 {
45675		invalidParams.Add(request.NewErrParamMinLen("WorkforceName", 1))
45676	}
45677	if s.SourceIpConfig != nil {
45678		if err := s.SourceIpConfig.Validate(); err != nil {
45679			invalidParams.AddNested("SourceIpConfig", err.(request.ErrInvalidParams))
45680		}
45681	}
45682
45683	if invalidParams.Len() > 0 {
45684		return invalidParams
45685	}
45686	return nil
45687}
45688
45689// SetSourceIpConfig sets the SourceIpConfig field's value.
45690func (s *UpdateWorkforceInput) SetSourceIpConfig(v *SourceIpConfig) *UpdateWorkforceInput {
45691	s.SourceIpConfig = v
45692	return s
45693}
45694
45695// SetWorkforceName sets the WorkforceName field's value.
45696func (s *UpdateWorkforceInput) SetWorkforceName(v string) *UpdateWorkforceInput {
45697	s.WorkforceName = &v
45698	return s
45699}
45700
45701type UpdateWorkforceOutput struct {
45702	_ struct{} `type:"structure"`
45703
45704	// A single private workforce, which is automatically created when you create
45705	// your first private work team. You can create one private work force in each
45706	// AWS Region. By default, any workforce-related API operation used in a specific
45707	// region will apply to the workforce created in that region. To learn how to
45708	// create a private workforce, see Create a Private Workforce (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html).
45709	//
45710	// Workforce is a required field
45711	Workforce *Workforce `type:"structure" required:"true"`
45712}
45713
45714// String returns the string representation
45715func (s UpdateWorkforceOutput) String() string {
45716	return awsutil.Prettify(s)
45717}
45718
45719// GoString returns the string representation
45720func (s UpdateWorkforceOutput) GoString() string {
45721	return s.String()
45722}
45723
45724// SetWorkforce sets the Workforce field's value.
45725func (s *UpdateWorkforceOutput) SetWorkforce(v *Workforce) *UpdateWorkforceOutput {
45726	s.Workforce = v
45727	return s
45728}
45729
45730type UpdateWorkteamInput struct {
45731	_ struct{} `type:"structure"`
45732
45733	// An updated description for the work team.
45734	Description *string `min:"1" type:"string"`
45735
45736	// A list of MemberDefinition objects that contain the updated work team members.
45737	MemberDefinitions []*MemberDefinition `min:"1" type:"list"`
45738
45739	// Configures SNS topic notifications for available or expiring work items
45740	NotificationConfiguration *NotificationConfiguration `type:"structure"`
45741
45742	// The name of the work team to update.
45743	//
45744	// WorkteamName is a required field
45745	WorkteamName *string `min:"1" type:"string" required:"true"`
45746}
45747
45748// String returns the string representation
45749func (s UpdateWorkteamInput) String() string {
45750	return awsutil.Prettify(s)
45751}
45752
45753// GoString returns the string representation
45754func (s UpdateWorkteamInput) GoString() string {
45755	return s.String()
45756}
45757
45758// Validate inspects the fields of the type to determine if they are valid.
45759func (s *UpdateWorkteamInput) Validate() error {
45760	invalidParams := request.ErrInvalidParams{Context: "UpdateWorkteamInput"}
45761	if s.Description != nil && len(*s.Description) < 1 {
45762		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
45763	}
45764	if s.MemberDefinitions != nil && len(s.MemberDefinitions) < 1 {
45765		invalidParams.Add(request.NewErrParamMinLen("MemberDefinitions", 1))
45766	}
45767	if s.WorkteamName == nil {
45768		invalidParams.Add(request.NewErrParamRequired("WorkteamName"))
45769	}
45770	if s.WorkteamName != nil && len(*s.WorkteamName) < 1 {
45771		invalidParams.Add(request.NewErrParamMinLen("WorkteamName", 1))
45772	}
45773	if s.MemberDefinitions != nil {
45774		for i, v := range s.MemberDefinitions {
45775			if v == nil {
45776				continue
45777			}
45778			if err := v.Validate(); err != nil {
45779				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MemberDefinitions", i), err.(request.ErrInvalidParams))
45780			}
45781		}
45782	}
45783
45784	if invalidParams.Len() > 0 {
45785		return invalidParams
45786	}
45787	return nil
45788}
45789
45790// SetDescription sets the Description field's value.
45791func (s *UpdateWorkteamInput) SetDescription(v string) *UpdateWorkteamInput {
45792	s.Description = &v
45793	return s
45794}
45795
45796// SetMemberDefinitions sets the MemberDefinitions field's value.
45797func (s *UpdateWorkteamInput) SetMemberDefinitions(v []*MemberDefinition) *UpdateWorkteamInput {
45798	s.MemberDefinitions = v
45799	return s
45800}
45801
45802// SetNotificationConfiguration sets the NotificationConfiguration field's value.
45803func (s *UpdateWorkteamInput) SetNotificationConfiguration(v *NotificationConfiguration) *UpdateWorkteamInput {
45804	s.NotificationConfiguration = v
45805	return s
45806}
45807
45808// SetWorkteamName sets the WorkteamName field's value.
45809func (s *UpdateWorkteamInput) SetWorkteamName(v string) *UpdateWorkteamInput {
45810	s.WorkteamName = &v
45811	return s
45812}
45813
45814type UpdateWorkteamOutput struct {
45815	_ struct{} `type:"structure"`
45816
45817	// A Workteam object that describes the updated work team.
45818	//
45819	// Workteam is a required field
45820	Workteam *Workteam `type:"structure" required:"true"`
45821}
45822
45823// String returns the string representation
45824func (s UpdateWorkteamOutput) String() string {
45825	return awsutil.Prettify(s)
45826}
45827
45828// GoString returns the string representation
45829func (s UpdateWorkteamOutput) GoString() string {
45830	return s.String()
45831}
45832
45833// SetWorkteam sets the Workteam field's value.
45834func (s *UpdateWorkteamOutput) SetWorkteam(v *Workteam) *UpdateWorkteamOutput {
45835	s.Workteam = v
45836	return s
45837}
45838
45839// Information about the user who created or modified an experiment, trial,
45840// or trial component.
45841type UserContext struct {
45842	_ struct{} `type:"structure"`
45843
45844	// The domain associated with the user.
45845	DomainId *string `type:"string"`
45846
45847	// The Amazon Resource Name (ARN) of the user's profile.
45848	UserProfileArn *string `type:"string"`
45849
45850	// The name of the user's profile.
45851	UserProfileName *string `type:"string"`
45852}
45853
45854// String returns the string representation
45855func (s UserContext) String() string {
45856	return awsutil.Prettify(s)
45857}
45858
45859// GoString returns the string representation
45860func (s UserContext) GoString() string {
45861	return s.String()
45862}
45863
45864// SetDomainId sets the DomainId field's value.
45865func (s *UserContext) SetDomainId(v string) *UserContext {
45866	s.DomainId = &v
45867	return s
45868}
45869
45870// SetUserProfileArn sets the UserProfileArn field's value.
45871func (s *UserContext) SetUserProfileArn(v string) *UserContext {
45872	s.UserProfileArn = &v
45873	return s
45874}
45875
45876// SetUserProfileName sets the UserProfileName field's value.
45877func (s *UserContext) SetUserProfileName(v string) *UserContext {
45878	s.UserProfileName = &v
45879	return s
45880}
45881
45882// The user profile details.
45883type UserProfileDetails struct {
45884	_ struct{} `type:"structure"`
45885
45886	// The creation time.
45887	CreationTime *time.Time `type:"timestamp"`
45888
45889	// The domain ID.
45890	DomainId *string `type:"string"`
45891
45892	// The last modified time.
45893	LastModifiedTime *time.Time `type:"timestamp"`
45894
45895	// The status.
45896	Status *string `type:"string" enum:"UserProfileStatus"`
45897
45898	// The user profile name.
45899	UserProfileName *string `type:"string"`
45900}
45901
45902// String returns the string representation
45903func (s UserProfileDetails) String() string {
45904	return awsutil.Prettify(s)
45905}
45906
45907// GoString returns the string representation
45908func (s UserProfileDetails) GoString() string {
45909	return s.String()
45910}
45911
45912// SetCreationTime sets the CreationTime field's value.
45913func (s *UserProfileDetails) SetCreationTime(v time.Time) *UserProfileDetails {
45914	s.CreationTime = &v
45915	return s
45916}
45917
45918// SetDomainId sets the DomainId field's value.
45919func (s *UserProfileDetails) SetDomainId(v string) *UserProfileDetails {
45920	s.DomainId = &v
45921	return s
45922}
45923
45924// SetLastModifiedTime sets the LastModifiedTime field's value.
45925func (s *UserProfileDetails) SetLastModifiedTime(v time.Time) *UserProfileDetails {
45926	s.LastModifiedTime = &v
45927	return s
45928}
45929
45930// SetStatus sets the Status field's value.
45931func (s *UserProfileDetails) SetStatus(v string) *UserProfileDetails {
45932	s.Status = &v
45933	return s
45934}
45935
45936// SetUserProfileName sets the UserProfileName field's value.
45937func (s *UserProfileDetails) SetUserProfileName(v string) *UserProfileDetails {
45938	s.UserProfileName = &v
45939	return s
45940}
45941
45942// A collection of settings.
45943type UserSettings struct {
45944	_ struct{} `type:"structure"`
45945
45946	// The execution role for the user.
45947	ExecutionRole *string `min:"20" type:"string"`
45948
45949	// The Jupyter server's app settings.
45950	JupyterServerAppSettings *JupyterServerAppSettings `type:"structure"`
45951
45952	// The kernel gateway app settings.
45953	KernelGatewayAppSettings *KernelGatewayAppSettings `type:"structure"`
45954
45955	// The security groups.
45956	SecurityGroups []*string `type:"list"`
45957
45958	// The sharing settings.
45959	SharingSettings *SharingSettings `type:"structure"`
45960
45961	// The TensorBoard app settings.
45962	TensorBoardAppSettings *TensorBoardAppSettings `type:"structure"`
45963}
45964
45965// String returns the string representation
45966func (s UserSettings) String() string {
45967	return awsutil.Prettify(s)
45968}
45969
45970// GoString returns the string representation
45971func (s UserSettings) GoString() string {
45972	return s.String()
45973}
45974
45975// Validate inspects the fields of the type to determine if they are valid.
45976func (s *UserSettings) Validate() error {
45977	invalidParams := request.ErrInvalidParams{Context: "UserSettings"}
45978	if s.ExecutionRole != nil && len(*s.ExecutionRole) < 20 {
45979		invalidParams.Add(request.NewErrParamMinLen("ExecutionRole", 20))
45980	}
45981
45982	if invalidParams.Len() > 0 {
45983		return invalidParams
45984	}
45985	return nil
45986}
45987
45988// SetExecutionRole sets the ExecutionRole field's value.
45989func (s *UserSettings) SetExecutionRole(v string) *UserSettings {
45990	s.ExecutionRole = &v
45991	return s
45992}
45993
45994// SetJupyterServerAppSettings sets the JupyterServerAppSettings field's value.
45995func (s *UserSettings) SetJupyterServerAppSettings(v *JupyterServerAppSettings) *UserSettings {
45996	s.JupyterServerAppSettings = v
45997	return s
45998}
45999
46000// SetKernelGatewayAppSettings sets the KernelGatewayAppSettings field's value.
46001func (s *UserSettings) SetKernelGatewayAppSettings(v *KernelGatewayAppSettings) *UserSettings {
46002	s.KernelGatewayAppSettings = v
46003	return s
46004}
46005
46006// SetSecurityGroups sets the SecurityGroups field's value.
46007func (s *UserSettings) SetSecurityGroups(v []*string) *UserSettings {
46008	s.SecurityGroups = v
46009	return s
46010}
46011
46012// SetSharingSettings sets the SharingSettings field's value.
46013func (s *UserSettings) SetSharingSettings(v *SharingSettings) *UserSettings {
46014	s.SharingSettings = v
46015	return s
46016}
46017
46018// SetTensorBoardAppSettings sets the TensorBoardAppSettings field's value.
46019func (s *UserSettings) SetTensorBoardAppSettings(v *TensorBoardAppSettings) *UserSettings {
46020	s.TensorBoardAppSettings = v
46021	return s
46022}
46023
46024// Specifies a production variant property type for an Endpoint.
46025//
46026// If you are updating an endpoint with the UpdateEndpointInput$RetainAllVariantProperties
46027// option set to true, the VariantProperty objects listed in UpdateEndpointInput$ExcludeRetainedVariantProperties
46028// override the existing variant properties of the endpoint.
46029type VariantProperty struct {
46030	_ struct{} `type:"structure"`
46031
46032	// The type of variant property. The supported values are:
46033	//
46034	//    * DesiredInstanceCount: Overrides the existing variant instance counts
46035	//    using the ProductionVariant$InitialInstanceCount values in the CreateEndpointConfigInput$ProductionVariants.
46036	//
46037	//    * DesiredWeight: Overrides the existing variant weights using the ProductionVariant$InitialVariantWeight
46038	//    values in the CreateEndpointConfigInput$ProductionVariants.
46039	//
46040	//    * DataCaptureConfig: (Not currently supported.)
46041	//
46042	// VariantPropertyType is a required field
46043	VariantPropertyType *string `type:"string" required:"true" enum:"VariantPropertyType"`
46044}
46045
46046// String returns the string representation
46047func (s VariantProperty) String() string {
46048	return awsutil.Prettify(s)
46049}
46050
46051// GoString returns the string representation
46052func (s VariantProperty) GoString() string {
46053	return s.String()
46054}
46055
46056// Validate inspects the fields of the type to determine if they are valid.
46057func (s *VariantProperty) Validate() error {
46058	invalidParams := request.ErrInvalidParams{Context: "VariantProperty"}
46059	if s.VariantPropertyType == nil {
46060		invalidParams.Add(request.NewErrParamRequired("VariantPropertyType"))
46061	}
46062
46063	if invalidParams.Len() > 0 {
46064		return invalidParams
46065	}
46066	return nil
46067}
46068
46069// SetVariantPropertyType sets the VariantPropertyType field's value.
46070func (s *VariantProperty) SetVariantPropertyType(v string) *VariantProperty {
46071	s.VariantPropertyType = &v
46072	return s
46073}
46074
46075// Specifies a VPC that your training jobs and hosted models have access to.
46076// Control access to and from your training and model containers by configuring
46077// the VPC. For more information, see Protect Endpoints by Using an Amazon Virtual
46078// Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html)
46079// and Protect Training Jobs by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
46080type VpcConfig struct {
46081	_ struct{} `type:"structure"`
46082
46083	// The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security
46084	// groups for the VPC that is specified in the Subnets field.
46085	//
46086	// SecurityGroupIds is a required field
46087	SecurityGroupIds []*string `min:"1" type:"list" required:"true"`
46088
46089	// The ID of the subnets in the VPC to which you want to connect your training
46090	// job or model. For information about the availability of specific instance
46091	// types, see Supported Instance Types and Availability Zones (https://docs.aws.amazon.com/sagemaker/latest/dg/instance-types-az.html).
46092	//
46093	// Subnets is a required field
46094	Subnets []*string `min:"1" type:"list" required:"true"`
46095}
46096
46097// String returns the string representation
46098func (s VpcConfig) String() string {
46099	return awsutil.Prettify(s)
46100}
46101
46102// GoString returns the string representation
46103func (s VpcConfig) GoString() string {
46104	return s.String()
46105}
46106
46107// Validate inspects the fields of the type to determine if they are valid.
46108func (s *VpcConfig) Validate() error {
46109	invalidParams := request.ErrInvalidParams{Context: "VpcConfig"}
46110	if s.SecurityGroupIds == nil {
46111		invalidParams.Add(request.NewErrParamRequired("SecurityGroupIds"))
46112	}
46113	if s.SecurityGroupIds != nil && len(s.SecurityGroupIds) < 1 {
46114		invalidParams.Add(request.NewErrParamMinLen("SecurityGroupIds", 1))
46115	}
46116	if s.Subnets == nil {
46117		invalidParams.Add(request.NewErrParamRequired("Subnets"))
46118	}
46119	if s.Subnets != nil && len(s.Subnets) < 1 {
46120		invalidParams.Add(request.NewErrParamMinLen("Subnets", 1))
46121	}
46122
46123	if invalidParams.Len() > 0 {
46124		return invalidParams
46125	}
46126	return nil
46127}
46128
46129// SetSecurityGroupIds sets the SecurityGroupIds field's value.
46130func (s *VpcConfig) SetSecurityGroupIds(v []*string) *VpcConfig {
46131	s.SecurityGroupIds = v
46132	return s
46133}
46134
46135// SetSubnets sets the Subnets field's value.
46136func (s *VpcConfig) SetSubnets(v []*string) *VpcConfig {
46137	s.Subnets = v
46138	return s
46139}
46140
46141// A single private workforce, which is automatically created when you create
46142// your first private work team. You can create one private work force in each
46143// AWS Region. By default, any workforce-related API operation used in a specific
46144// region will apply to the workforce created in that region. To learn how to
46145// create a private workforce, see Create a Private Workforce (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html).
46146type Workforce struct {
46147	_ struct{} `type:"structure"`
46148
46149	// The most recent date that was used to successfully add one or more IP address
46150	// ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html))
46151	// to a private workforce's allow list.
46152	LastUpdatedDate *time.Time `type:"timestamp"`
46153
46154	// A list of one to four IP address ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html))
46155	// to be added to the workforce allow list.
46156	SourceIpConfig *SourceIpConfig `type:"structure"`
46157
46158	// The Amazon Resource Name (ARN) of the private workforce.
46159	//
46160	// WorkforceArn is a required field
46161	WorkforceArn *string `type:"string" required:"true"`
46162
46163	// The name of the private workforce whose access you want to restrict. WorkforceName
46164	// is automatically set to default when a workforce is created and cannot be
46165	// modified.
46166	//
46167	// WorkforceName is a required field
46168	WorkforceName *string `min:"1" type:"string" required:"true"`
46169}
46170
46171// String returns the string representation
46172func (s Workforce) String() string {
46173	return awsutil.Prettify(s)
46174}
46175
46176// GoString returns the string representation
46177func (s Workforce) GoString() string {
46178	return s.String()
46179}
46180
46181// SetLastUpdatedDate sets the LastUpdatedDate field's value.
46182func (s *Workforce) SetLastUpdatedDate(v time.Time) *Workforce {
46183	s.LastUpdatedDate = &v
46184	return s
46185}
46186
46187// SetSourceIpConfig sets the SourceIpConfig field's value.
46188func (s *Workforce) SetSourceIpConfig(v *SourceIpConfig) *Workforce {
46189	s.SourceIpConfig = v
46190	return s
46191}
46192
46193// SetWorkforceArn sets the WorkforceArn field's value.
46194func (s *Workforce) SetWorkforceArn(v string) *Workforce {
46195	s.WorkforceArn = &v
46196	return s
46197}
46198
46199// SetWorkforceName sets the WorkforceName field's value.
46200func (s *Workforce) SetWorkforceName(v string) *Workforce {
46201	s.WorkforceName = &v
46202	return s
46203}
46204
46205// Provides details about a labeling work team.
46206type Workteam struct {
46207	_ struct{} `type:"structure"`
46208
46209	// The date and time that the work team was created (timestamp).
46210	CreateDate *time.Time `type:"timestamp"`
46211
46212	// A description of the work team.
46213	//
46214	// Description is a required field
46215	Description *string `min:"1" type:"string" required:"true"`
46216
46217	// The date and time that the work team was last updated (timestamp).
46218	LastUpdatedDate *time.Time `type:"timestamp"`
46219
46220	// The Amazon Cognito user groups that make up the work team.
46221	//
46222	// MemberDefinitions is a required field
46223	MemberDefinitions []*MemberDefinition `min:"1" type:"list" required:"true"`
46224
46225	// Configures SNS notifications of available or expiring work items for work
46226	// teams.
46227	NotificationConfiguration *NotificationConfiguration `type:"structure"`
46228
46229	// The Amazon Marketplace identifier for a vendor's work team.
46230	ProductListingIds []*string `type:"list"`
46231
46232	// The URI of the labeling job's user interface. Workers open this URI to start
46233	// labeling your data objects.
46234	SubDomain *string `type:"string"`
46235
46236	// The Amazon Resource Name (ARN) that identifies the work team.
46237	//
46238	// WorkteamArn is a required field
46239	WorkteamArn *string `type:"string" required:"true"`
46240
46241	// The name of the work team.
46242	//
46243	// WorkteamName is a required field
46244	WorkteamName *string `min:"1" type:"string" required:"true"`
46245}
46246
46247// String returns the string representation
46248func (s Workteam) String() string {
46249	return awsutil.Prettify(s)
46250}
46251
46252// GoString returns the string representation
46253func (s Workteam) GoString() string {
46254	return s.String()
46255}
46256
46257// SetCreateDate sets the CreateDate field's value.
46258func (s *Workteam) SetCreateDate(v time.Time) *Workteam {
46259	s.CreateDate = &v
46260	return s
46261}
46262
46263// SetDescription sets the Description field's value.
46264func (s *Workteam) SetDescription(v string) *Workteam {
46265	s.Description = &v
46266	return s
46267}
46268
46269// SetLastUpdatedDate sets the LastUpdatedDate field's value.
46270func (s *Workteam) SetLastUpdatedDate(v time.Time) *Workteam {
46271	s.LastUpdatedDate = &v
46272	return s
46273}
46274
46275// SetMemberDefinitions sets the MemberDefinitions field's value.
46276func (s *Workteam) SetMemberDefinitions(v []*MemberDefinition) *Workteam {
46277	s.MemberDefinitions = v
46278	return s
46279}
46280
46281// SetNotificationConfiguration sets the NotificationConfiguration field's value.
46282func (s *Workteam) SetNotificationConfiguration(v *NotificationConfiguration) *Workteam {
46283	s.NotificationConfiguration = v
46284	return s
46285}
46286
46287// SetProductListingIds sets the ProductListingIds field's value.
46288func (s *Workteam) SetProductListingIds(v []*string) *Workteam {
46289	s.ProductListingIds = v
46290	return s
46291}
46292
46293// SetSubDomain sets the SubDomain field's value.
46294func (s *Workteam) SetSubDomain(v string) *Workteam {
46295	s.SubDomain = &v
46296	return s
46297}
46298
46299// SetWorkteamArn sets the WorkteamArn field's value.
46300func (s *Workteam) SetWorkteamArn(v string) *Workteam {
46301	s.WorkteamArn = &v
46302	return s
46303}
46304
46305// SetWorkteamName sets the WorkteamName field's value.
46306func (s *Workteam) SetWorkteamName(v string) *Workteam {
46307	s.WorkteamName = &v
46308	return s
46309}
46310
46311const (
46312	// AlgorithmSortByName is a AlgorithmSortBy enum value
46313	AlgorithmSortByName = "Name"
46314
46315	// AlgorithmSortByCreationTime is a AlgorithmSortBy enum value
46316	AlgorithmSortByCreationTime = "CreationTime"
46317)
46318
46319const (
46320	// AlgorithmStatusPending is a AlgorithmStatus enum value
46321	AlgorithmStatusPending = "Pending"
46322
46323	// AlgorithmStatusInProgress is a AlgorithmStatus enum value
46324	AlgorithmStatusInProgress = "InProgress"
46325
46326	// AlgorithmStatusCompleted is a AlgorithmStatus enum value
46327	AlgorithmStatusCompleted = "Completed"
46328
46329	// AlgorithmStatusFailed is a AlgorithmStatus enum value
46330	AlgorithmStatusFailed = "Failed"
46331
46332	// AlgorithmStatusDeleting is a AlgorithmStatus enum value
46333	AlgorithmStatusDeleting = "Deleting"
46334)
46335
46336const (
46337	// AppInstanceTypeSystem is a AppInstanceType enum value
46338	AppInstanceTypeSystem = "system"
46339
46340	// AppInstanceTypeMlT3Micro is a AppInstanceType enum value
46341	AppInstanceTypeMlT3Micro = "ml.t3.micro"
46342
46343	// AppInstanceTypeMlT3Small is a AppInstanceType enum value
46344	AppInstanceTypeMlT3Small = "ml.t3.small"
46345
46346	// AppInstanceTypeMlT3Medium is a AppInstanceType enum value
46347	AppInstanceTypeMlT3Medium = "ml.t3.medium"
46348
46349	// AppInstanceTypeMlT3Large is a AppInstanceType enum value
46350	AppInstanceTypeMlT3Large = "ml.t3.large"
46351
46352	// AppInstanceTypeMlT3Xlarge is a AppInstanceType enum value
46353	AppInstanceTypeMlT3Xlarge = "ml.t3.xlarge"
46354
46355	// AppInstanceTypeMlT32xlarge is a AppInstanceType enum value
46356	AppInstanceTypeMlT32xlarge = "ml.t3.2xlarge"
46357
46358	// AppInstanceTypeMlM5Large is a AppInstanceType enum value
46359	AppInstanceTypeMlM5Large = "ml.m5.large"
46360
46361	// AppInstanceTypeMlM5Xlarge is a AppInstanceType enum value
46362	AppInstanceTypeMlM5Xlarge = "ml.m5.xlarge"
46363
46364	// AppInstanceTypeMlM52xlarge is a AppInstanceType enum value
46365	AppInstanceTypeMlM52xlarge = "ml.m5.2xlarge"
46366
46367	// AppInstanceTypeMlM54xlarge is a AppInstanceType enum value
46368	AppInstanceTypeMlM54xlarge = "ml.m5.4xlarge"
46369
46370	// AppInstanceTypeMlM58xlarge is a AppInstanceType enum value
46371	AppInstanceTypeMlM58xlarge = "ml.m5.8xlarge"
46372
46373	// AppInstanceTypeMlM512xlarge is a AppInstanceType enum value
46374	AppInstanceTypeMlM512xlarge = "ml.m5.12xlarge"
46375
46376	// AppInstanceTypeMlM516xlarge is a AppInstanceType enum value
46377	AppInstanceTypeMlM516xlarge = "ml.m5.16xlarge"
46378
46379	// AppInstanceTypeMlM524xlarge is a AppInstanceType enum value
46380	AppInstanceTypeMlM524xlarge = "ml.m5.24xlarge"
46381
46382	// AppInstanceTypeMlC5Large is a AppInstanceType enum value
46383	AppInstanceTypeMlC5Large = "ml.c5.large"
46384
46385	// AppInstanceTypeMlC5Xlarge is a AppInstanceType enum value
46386	AppInstanceTypeMlC5Xlarge = "ml.c5.xlarge"
46387
46388	// AppInstanceTypeMlC52xlarge is a AppInstanceType enum value
46389	AppInstanceTypeMlC52xlarge = "ml.c5.2xlarge"
46390
46391	// AppInstanceTypeMlC54xlarge is a AppInstanceType enum value
46392	AppInstanceTypeMlC54xlarge = "ml.c5.4xlarge"
46393
46394	// AppInstanceTypeMlC59xlarge is a AppInstanceType enum value
46395	AppInstanceTypeMlC59xlarge = "ml.c5.9xlarge"
46396
46397	// AppInstanceTypeMlC512xlarge is a AppInstanceType enum value
46398	AppInstanceTypeMlC512xlarge = "ml.c5.12xlarge"
46399
46400	// AppInstanceTypeMlC518xlarge is a AppInstanceType enum value
46401	AppInstanceTypeMlC518xlarge = "ml.c5.18xlarge"
46402
46403	// AppInstanceTypeMlC524xlarge is a AppInstanceType enum value
46404	AppInstanceTypeMlC524xlarge = "ml.c5.24xlarge"
46405
46406	// AppInstanceTypeMlP32xlarge is a AppInstanceType enum value
46407	AppInstanceTypeMlP32xlarge = "ml.p3.2xlarge"
46408
46409	// AppInstanceTypeMlP38xlarge is a AppInstanceType enum value
46410	AppInstanceTypeMlP38xlarge = "ml.p3.8xlarge"
46411
46412	// AppInstanceTypeMlP316xlarge is a AppInstanceType enum value
46413	AppInstanceTypeMlP316xlarge = "ml.p3.16xlarge"
46414
46415	// AppInstanceTypeMlG4dnXlarge is a AppInstanceType enum value
46416	AppInstanceTypeMlG4dnXlarge = "ml.g4dn.xlarge"
46417
46418	// AppInstanceTypeMlG4dn2xlarge is a AppInstanceType enum value
46419	AppInstanceTypeMlG4dn2xlarge = "ml.g4dn.2xlarge"
46420
46421	// AppInstanceTypeMlG4dn4xlarge is a AppInstanceType enum value
46422	AppInstanceTypeMlG4dn4xlarge = "ml.g4dn.4xlarge"
46423
46424	// AppInstanceTypeMlG4dn8xlarge is a AppInstanceType enum value
46425	AppInstanceTypeMlG4dn8xlarge = "ml.g4dn.8xlarge"
46426
46427	// AppInstanceTypeMlG4dn12xlarge is a AppInstanceType enum value
46428	AppInstanceTypeMlG4dn12xlarge = "ml.g4dn.12xlarge"
46429
46430	// AppInstanceTypeMlG4dn16xlarge is a AppInstanceType enum value
46431	AppInstanceTypeMlG4dn16xlarge = "ml.g4dn.16xlarge"
46432)
46433
46434const (
46435	// AppSortKeyCreationTime is a AppSortKey enum value
46436	AppSortKeyCreationTime = "CreationTime"
46437)
46438
46439const (
46440	// AppStatusDeleted is a AppStatus enum value
46441	AppStatusDeleted = "Deleted"
46442
46443	// AppStatusDeleting is a AppStatus enum value
46444	AppStatusDeleting = "Deleting"
46445
46446	// AppStatusFailed is a AppStatus enum value
46447	AppStatusFailed = "Failed"
46448
46449	// AppStatusInService is a AppStatus enum value
46450	AppStatusInService = "InService"
46451
46452	// AppStatusPending is a AppStatus enum value
46453	AppStatusPending = "Pending"
46454)
46455
46456const (
46457	// AppTypeJupyterServer is a AppType enum value
46458	AppTypeJupyterServer = "JupyterServer"
46459
46460	// AppTypeKernelGateway is a AppType enum value
46461	AppTypeKernelGateway = "KernelGateway"
46462
46463	// AppTypeTensorBoard is a AppType enum value
46464	AppTypeTensorBoard = "TensorBoard"
46465)
46466
46467const (
46468	// AssemblyTypeNone is a AssemblyType enum value
46469	AssemblyTypeNone = "None"
46470
46471	// AssemblyTypeLine is a AssemblyType enum value
46472	AssemblyTypeLine = "Line"
46473)
46474
46475const (
46476	// AuthModeSso is a AuthMode enum value
46477	AuthModeSso = "SSO"
46478
46479	// AuthModeIam is a AuthMode enum value
46480	AuthModeIam = "IAM"
46481)
46482
46483const (
46484	// AutoMLJobObjectiveTypeMaximize is a AutoMLJobObjectiveType enum value
46485	AutoMLJobObjectiveTypeMaximize = "Maximize"
46486
46487	// AutoMLJobObjectiveTypeMinimize is a AutoMLJobObjectiveType enum value
46488	AutoMLJobObjectiveTypeMinimize = "Minimize"
46489)
46490
46491const (
46492	// AutoMLJobSecondaryStatusStarting is a AutoMLJobSecondaryStatus enum value
46493	AutoMLJobSecondaryStatusStarting = "Starting"
46494
46495	// AutoMLJobSecondaryStatusAnalyzingData is a AutoMLJobSecondaryStatus enum value
46496	AutoMLJobSecondaryStatusAnalyzingData = "AnalyzingData"
46497
46498	// AutoMLJobSecondaryStatusFeatureEngineering is a AutoMLJobSecondaryStatus enum value
46499	AutoMLJobSecondaryStatusFeatureEngineering = "FeatureEngineering"
46500
46501	// AutoMLJobSecondaryStatusModelTuning is a AutoMLJobSecondaryStatus enum value
46502	AutoMLJobSecondaryStatusModelTuning = "ModelTuning"
46503
46504	// AutoMLJobSecondaryStatusMaxCandidatesReached is a AutoMLJobSecondaryStatus enum value
46505	AutoMLJobSecondaryStatusMaxCandidatesReached = "MaxCandidatesReached"
46506
46507	// AutoMLJobSecondaryStatusFailed is a AutoMLJobSecondaryStatus enum value
46508	AutoMLJobSecondaryStatusFailed = "Failed"
46509
46510	// AutoMLJobSecondaryStatusStopped is a AutoMLJobSecondaryStatus enum value
46511	AutoMLJobSecondaryStatusStopped = "Stopped"
46512
46513	// AutoMLJobSecondaryStatusMaxAutoMljobRuntimeReached is a AutoMLJobSecondaryStatus enum value
46514	AutoMLJobSecondaryStatusMaxAutoMljobRuntimeReached = "MaxAutoMLJobRuntimeReached"
46515
46516	// AutoMLJobSecondaryStatusStopping is a AutoMLJobSecondaryStatus enum value
46517	AutoMLJobSecondaryStatusStopping = "Stopping"
46518
46519	// AutoMLJobSecondaryStatusCandidateDefinitionsGenerated is a AutoMLJobSecondaryStatus enum value
46520	AutoMLJobSecondaryStatusCandidateDefinitionsGenerated = "CandidateDefinitionsGenerated"
46521)
46522
46523const (
46524	// AutoMLJobStatusCompleted is a AutoMLJobStatus enum value
46525	AutoMLJobStatusCompleted = "Completed"
46526
46527	// AutoMLJobStatusInProgress is a AutoMLJobStatus enum value
46528	AutoMLJobStatusInProgress = "InProgress"
46529
46530	// AutoMLJobStatusFailed is a AutoMLJobStatus enum value
46531	AutoMLJobStatusFailed = "Failed"
46532
46533	// AutoMLJobStatusStopped is a AutoMLJobStatus enum value
46534	AutoMLJobStatusStopped = "Stopped"
46535
46536	// AutoMLJobStatusStopping is a AutoMLJobStatus enum value
46537	AutoMLJobStatusStopping = "Stopping"
46538)
46539
46540const (
46541	// AutoMLMetricEnumAccuracy is a AutoMLMetricEnum enum value
46542	AutoMLMetricEnumAccuracy = "Accuracy"
46543
46544	// AutoMLMetricEnumMse is a AutoMLMetricEnum enum value
46545	AutoMLMetricEnumMse = "MSE"
46546
46547	// AutoMLMetricEnumF1 is a AutoMLMetricEnum enum value
46548	AutoMLMetricEnumF1 = "F1"
46549
46550	// AutoMLMetricEnumF1macro is a AutoMLMetricEnum enum value
46551	AutoMLMetricEnumF1macro = "F1macro"
46552)
46553
46554const (
46555	// AutoMLS3DataTypeManifestFile is a AutoMLS3DataType enum value
46556	AutoMLS3DataTypeManifestFile = "ManifestFile"
46557
46558	// AutoMLS3DataTypeS3prefix is a AutoMLS3DataType enum value
46559	AutoMLS3DataTypeS3prefix = "S3Prefix"
46560)
46561
46562const (
46563	// AutoMLSortByName is a AutoMLSortBy enum value
46564	AutoMLSortByName = "Name"
46565
46566	// AutoMLSortByCreationTime is a AutoMLSortBy enum value
46567	AutoMLSortByCreationTime = "CreationTime"
46568
46569	// AutoMLSortByStatus is a AutoMLSortBy enum value
46570	AutoMLSortByStatus = "Status"
46571)
46572
46573const (
46574	// AutoMLSortOrderAscending is a AutoMLSortOrder enum value
46575	AutoMLSortOrderAscending = "Ascending"
46576
46577	// AutoMLSortOrderDescending is a AutoMLSortOrder enum value
46578	AutoMLSortOrderDescending = "Descending"
46579)
46580
46581const (
46582	// AwsManagedHumanLoopRequestSourceAwsRekognitionDetectModerationLabelsImageV3 is a AwsManagedHumanLoopRequestSource enum value
46583	AwsManagedHumanLoopRequestSourceAwsRekognitionDetectModerationLabelsImageV3 = "AWS/Rekognition/DetectModerationLabels/Image/V3"
46584
46585	// AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeDocumentFormsV1 is a AwsManagedHumanLoopRequestSource enum value
46586	AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeDocumentFormsV1 = "AWS/Textract/AnalyzeDocument/Forms/V1"
46587)
46588
46589const (
46590	// BatchStrategyMultiRecord is a BatchStrategy enum value
46591	BatchStrategyMultiRecord = "MultiRecord"
46592
46593	// BatchStrategySingleRecord is a BatchStrategy enum value
46594	BatchStrategySingleRecord = "SingleRecord"
46595)
46596
46597const (
46598	// BooleanOperatorAnd is a BooleanOperator enum value
46599	BooleanOperatorAnd = "And"
46600
46601	// BooleanOperatorOr is a BooleanOperator enum value
46602	BooleanOperatorOr = "Or"
46603)
46604
46605const (
46606	// CandidateSortByCreationTime is a CandidateSortBy enum value
46607	CandidateSortByCreationTime = "CreationTime"
46608
46609	// CandidateSortByStatus is a CandidateSortBy enum value
46610	CandidateSortByStatus = "Status"
46611
46612	// CandidateSortByFinalObjectiveMetricValue is a CandidateSortBy enum value
46613	CandidateSortByFinalObjectiveMetricValue = "FinalObjectiveMetricValue"
46614)
46615
46616const (
46617	// CandidateStatusCompleted is a CandidateStatus enum value
46618	CandidateStatusCompleted = "Completed"
46619
46620	// CandidateStatusInProgress is a CandidateStatus enum value
46621	CandidateStatusInProgress = "InProgress"
46622
46623	// CandidateStatusFailed is a CandidateStatus enum value
46624	CandidateStatusFailed = "Failed"
46625
46626	// CandidateStatusStopped is a CandidateStatus enum value
46627	CandidateStatusStopped = "Stopped"
46628
46629	// CandidateStatusStopping is a CandidateStatus enum value
46630	CandidateStatusStopping = "Stopping"
46631)
46632
46633const (
46634	// CandidateStepTypeAwsSageMakerTrainingJob is a CandidateStepType enum value
46635	CandidateStepTypeAwsSageMakerTrainingJob = "AWS::SageMaker::TrainingJob"
46636
46637	// CandidateStepTypeAwsSageMakerTransformJob is a CandidateStepType enum value
46638	CandidateStepTypeAwsSageMakerTransformJob = "AWS::SageMaker::TransformJob"
46639
46640	// CandidateStepTypeAwsSageMakerProcessingJob is a CandidateStepType enum value
46641	CandidateStepTypeAwsSageMakerProcessingJob = "AWS::SageMaker::ProcessingJob"
46642)
46643
46644const (
46645	// CaptureModeInput is a CaptureMode enum value
46646	CaptureModeInput = "Input"
46647
46648	// CaptureModeOutput is a CaptureMode enum value
46649	CaptureModeOutput = "Output"
46650)
46651
46652const (
46653	// CaptureStatusStarted is a CaptureStatus enum value
46654	CaptureStatusStarted = "Started"
46655
46656	// CaptureStatusStopped is a CaptureStatus enum value
46657	CaptureStatusStopped = "Stopped"
46658)
46659
46660const (
46661	// CodeRepositorySortByName is a CodeRepositorySortBy enum value
46662	CodeRepositorySortByName = "Name"
46663
46664	// CodeRepositorySortByCreationTime is a CodeRepositorySortBy enum value
46665	CodeRepositorySortByCreationTime = "CreationTime"
46666
46667	// CodeRepositorySortByLastModifiedTime is a CodeRepositorySortBy enum value
46668	CodeRepositorySortByLastModifiedTime = "LastModifiedTime"
46669)
46670
46671const (
46672	// CodeRepositorySortOrderAscending is a CodeRepositorySortOrder enum value
46673	CodeRepositorySortOrderAscending = "Ascending"
46674
46675	// CodeRepositorySortOrderDescending is a CodeRepositorySortOrder enum value
46676	CodeRepositorySortOrderDescending = "Descending"
46677)
46678
46679const (
46680	// CompilationJobStatusInprogress is a CompilationJobStatus enum value
46681	CompilationJobStatusInprogress = "INPROGRESS"
46682
46683	// CompilationJobStatusCompleted is a CompilationJobStatus enum value
46684	CompilationJobStatusCompleted = "COMPLETED"
46685
46686	// CompilationJobStatusFailed is a CompilationJobStatus enum value
46687	CompilationJobStatusFailed = "FAILED"
46688
46689	// CompilationJobStatusStarting is a CompilationJobStatus enum value
46690	CompilationJobStatusStarting = "STARTING"
46691
46692	// CompilationJobStatusStopping is a CompilationJobStatus enum value
46693	CompilationJobStatusStopping = "STOPPING"
46694
46695	// CompilationJobStatusStopped is a CompilationJobStatus enum value
46696	CompilationJobStatusStopped = "STOPPED"
46697)
46698
46699const (
46700	// CompressionTypeNone is a CompressionType enum value
46701	CompressionTypeNone = "None"
46702
46703	// CompressionTypeGzip is a CompressionType enum value
46704	CompressionTypeGzip = "Gzip"
46705)
46706
46707const (
46708	// ContainerModeSingleModel is a ContainerMode enum value
46709	ContainerModeSingleModel = "SingleModel"
46710
46711	// ContainerModeMultiModel is a ContainerMode enum value
46712	ContainerModeMultiModel = "MultiModel"
46713)
46714
46715const (
46716	// ContentClassifierFreeOfPersonallyIdentifiableInformation is a ContentClassifier enum value
46717	ContentClassifierFreeOfPersonallyIdentifiableInformation = "FreeOfPersonallyIdentifiableInformation"
46718
46719	// ContentClassifierFreeOfAdultContent is a ContentClassifier enum value
46720	ContentClassifierFreeOfAdultContent = "FreeOfAdultContent"
46721)
46722
46723const (
46724	// DetailedAlgorithmStatusNotStarted is a DetailedAlgorithmStatus enum value
46725	DetailedAlgorithmStatusNotStarted = "NotStarted"
46726
46727	// DetailedAlgorithmStatusInProgress is a DetailedAlgorithmStatus enum value
46728	DetailedAlgorithmStatusInProgress = "InProgress"
46729
46730	// DetailedAlgorithmStatusCompleted is a DetailedAlgorithmStatus enum value
46731	DetailedAlgorithmStatusCompleted = "Completed"
46732
46733	// DetailedAlgorithmStatusFailed is a DetailedAlgorithmStatus enum value
46734	DetailedAlgorithmStatusFailed = "Failed"
46735)
46736
46737const (
46738	// DetailedModelPackageStatusNotStarted is a DetailedModelPackageStatus enum value
46739	DetailedModelPackageStatusNotStarted = "NotStarted"
46740
46741	// DetailedModelPackageStatusInProgress is a DetailedModelPackageStatus enum value
46742	DetailedModelPackageStatusInProgress = "InProgress"
46743
46744	// DetailedModelPackageStatusCompleted is a DetailedModelPackageStatus enum value
46745	DetailedModelPackageStatusCompleted = "Completed"
46746
46747	// DetailedModelPackageStatusFailed is a DetailedModelPackageStatus enum value
46748	DetailedModelPackageStatusFailed = "Failed"
46749)
46750
46751const (
46752	// DirectInternetAccessEnabled is a DirectInternetAccess enum value
46753	DirectInternetAccessEnabled = "Enabled"
46754
46755	// DirectInternetAccessDisabled is a DirectInternetAccess enum value
46756	DirectInternetAccessDisabled = "Disabled"
46757)
46758
46759const (
46760	// DomainStatusDeleting is a DomainStatus enum value
46761	DomainStatusDeleting = "Deleting"
46762
46763	// DomainStatusFailed is a DomainStatus enum value
46764	DomainStatusFailed = "Failed"
46765
46766	// DomainStatusInService is a DomainStatus enum value
46767	DomainStatusInService = "InService"
46768
46769	// DomainStatusPending is a DomainStatus enum value
46770	DomainStatusPending = "Pending"
46771)
46772
46773const (
46774	// EndpointConfigSortKeyName is a EndpointConfigSortKey enum value
46775	EndpointConfigSortKeyName = "Name"
46776
46777	// EndpointConfigSortKeyCreationTime is a EndpointConfigSortKey enum value
46778	EndpointConfigSortKeyCreationTime = "CreationTime"
46779)
46780
46781const (
46782	// EndpointSortKeyName is a EndpointSortKey enum value
46783	EndpointSortKeyName = "Name"
46784
46785	// EndpointSortKeyCreationTime is a EndpointSortKey enum value
46786	EndpointSortKeyCreationTime = "CreationTime"
46787
46788	// EndpointSortKeyStatus is a EndpointSortKey enum value
46789	EndpointSortKeyStatus = "Status"
46790)
46791
46792const (
46793	// EndpointStatusOutOfService is a EndpointStatus enum value
46794	EndpointStatusOutOfService = "OutOfService"
46795
46796	// EndpointStatusCreating is a EndpointStatus enum value
46797	EndpointStatusCreating = "Creating"
46798
46799	// EndpointStatusUpdating is a EndpointStatus enum value
46800	EndpointStatusUpdating = "Updating"
46801
46802	// EndpointStatusSystemUpdating is a EndpointStatus enum value
46803	EndpointStatusSystemUpdating = "SystemUpdating"
46804
46805	// EndpointStatusRollingBack is a EndpointStatus enum value
46806	EndpointStatusRollingBack = "RollingBack"
46807
46808	// EndpointStatusInService is a EndpointStatus enum value
46809	EndpointStatusInService = "InService"
46810
46811	// EndpointStatusDeleting is a EndpointStatus enum value
46812	EndpointStatusDeleting = "Deleting"
46813
46814	// EndpointStatusFailed is a EndpointStatus enum value
46815	EndpointStatusFailed = "Failed"
46816)
46817
46818const (
46819	// ExecutionStatusPending is a ExecutionStatus enum value
46820	ExecutionStatusPending = "Pending"
46821
46822	// ExecutionStatusCompleted is a ExecutionStatus enum value
46823	ExecutionStatusCompleted = "Completed"
46824
46825	// ExecutionStatusCompletedWithViolations is a ExecutionStatus enum value
46826	ExecutionStatusCompletedWithViolations = "CompletedWithViolations"
46827
46828	// ExecutionStatusInProgress is a ExecutionStatus enum value
46829	ExecutionStatusInProgress = "InProgress"
46830
46831	// ExecutionStatusFailed is a ExecutionStatus enum value
46832	ExecutionStatusFailed = "Failed"
46833
46834	// ExecutionStatusStopping is a ExecutionStatus enum value
46835	ExecutionStatusStopping = "Stopping"
46836
46837	// ExecutionStatusStopped is a ExecutionStatus enum value
46838	ExecutionStatusStopped = "Stopped"
46839)
46840
46841const (
46842	// FileSystemAccessModeRw is a FileSystemAccessMode enum value
46843	FileSystemAccessModeRw = "rw"
46844
46845	// FileSystemAccessModeRo is a FileSystemAccessMode enum value
46846	FileSystemAccessModeRo = "ro"
46847)
46848
46849const (
46850	// FileSystemTypeEfs is a FileSystemType enum value
46851	FileSystemTypeEfs = "EFS"
46852
46853	// FileSystemTypeFsxLustre is a FileSystemType enum value
46854	FileSystemTypeFsxLustre = "FSxLustre"
46855)
46856
46857const (
46858	// FlowDefinitionStatusInitializing is a FlowDefinitionStatus enum value
46859	FlowDefinitionStatusInitializing = "Initializing"
46860
46861	// FlowDefinitionStatusActive is a FlowDefinitionStatus enum value
46862	FlowDefinitionStatusActive = "Active"
46863
46864	// FlowDefinitionStatusFailed is a FlowDefinitionStatus enum value
46865	FlowDefinitionStatusFailed = "Failed"
46866
46867	// FlowDefinitionStatusDeleting is a FlowDefinitionStatus enum value
46868	FlowDefinitionStatusDeleting = "Deleting"
46869)
46870
46871const (
46872	// FrameworkTensorflow is a Framework enum value
46873	FrameworkTensorflow = "TENSORFLOW"
46874
46875	// FrameworkKeras is a Framework enum value
46876	FrameworkKeras = "KERAS"
46877
46878	// FrameworkMxnet is a Framework enum value
46879	FrameworkMxnet = "MXNET"
46880
46881	// FrameworkOnnx is a Framework enum value
46882	FrameworkOnnx = "ONNX"
46883
46884	// FrameworkPytorch is a Framework enum value
46885	FrameworkPytorch = "PYTORCH"
46886
46887	// FrameworkXgboost is a Framework enum value
46888	FrameworkXgboost = "XGBOOST"
46889
46890	// FrameworkTflite is a Framework enum value
46891	FrameworkTflite = "TFLITE"
46892)
46893
46894const (
46895	// HyperParameterScalingTypeAuto is a HyperParameterScalingType enum value
46896	HyperParameterScalingTypeAuto = "Auto"
46897
46898	// HyperParameterScalingTypeLinear is a HyperParameterScalingType enum value
46899	HyperParameterScalingTypeLinear = "Linear"
46900
46901	// HyperParameterScalingTypeLogarithmic is a HyperParameterScalingType enum value
46902	HyperParameterScalingTypeLogarithmic = "Logarithmic"
46903
46904	// HyperParameterScalingTypeReverseLogarithmic is a HyperParameterScalingType enum value
46905	HyperParameterScalingTypeReverseLogarithmic = "ReverseLogarithmic"
46906)
46907
46908const (
46909	// HyperParameterTuningJobObjectiveTypeMaximize is a HyperParameterTuningJobObjectiveType enum value
46910	HyperParameterTuningJobObjectiveTypeMaximize = "Maximize"
46911
46912	// HyperParameterTuningJobObjectiveTypeMinimize is a HyperParameterTuningJobObjectiveType enum value
46913	HyperParameterTuningJobObjectiveTypeMinimize = "Minimize"
46914)
46915
46916const (
46917	// HyperParameterTuningJobSortByOptionsName is a HyperParameterTuningJobSortByOptions enum value
46918	HyperParameterTuningJobSortByOptionsName = "Name"
46919
46920	// HyperParameterTuningJobSortByOptionsStatus is a HyperParameterTuningJobSortByOptions enum value
46921	HyperParameterTuningJobSortByOptionsStatus = "Status"
46922
46923	// HyperParameterTuningJobSortByOptionsCreationTime is a HyperParameterTuningJobSortByOptions enum value
46924	HyperParameterTuningJobSortByOptionsCreationTime = "CreationTime"
46925)
46926
46927const (
46928	// HyperParameterTuningJobStatusCompleted is a HyperParameterTuningJobStatus enum value
46929	HyperParameterTuningJobStatusCompleted = "Completed"
46930
46931	// HyperParameterTuningJobStatusInProgress is a HyperParameterTuningJobStatus enum value
46932	HyperParameterTuningJobStatusInProgress = "InProgress"
46933
46934	// HyperParameterTuningJobStatusFailed is a HyperParameterTuningJobStatus enum value
46935	HyperParameterTuningJobStatusFailed = "Failed"
46936
46937	// HyperParameterTuningJobStatusStopped is a HyperParameterTuningJobStatus enum value
46938	HyperParameterTuningJobStatusStopped = "Stopped"
46939
46940	// HyperParameterTuningJobStatusStopping is a HyperParameterTuningJobStatus enum value
46941	HyperParameterTuningJobStatusStopping = "Stopping"
46942)
46943
46944// The strategy hyperparameter tuning uses to find the best combination of hyperparameters
46945// for your model. Currently, the only supported value is Bayesian.
46946const (
46947	// HyperParameterTuningJobStrategyTypeBayesian is a HyperParameterTuningJobStrategyType enum value
46948	HyperParameterTuningJobStrategyTypeBayesian = "Bayesian"
46949
46950	// HyperParameterTuningJobStrategyTypeRandom is a HyperParameterTuningJobStrategyType enum value
46951	HyperParameterTuningJobStrategyTypeRandom = "Random"
46952)
46953
46954const (
46955	// HyperParameterTuningJobWarmStartTypeIdenticalDataAndAlgorithm is a HyperParameterTuningJobWarmStartType enum value
46956	HyperParameterTuningJobWarmStartTypeIdenticalDataAndAlgorithm = "IdenticalDataAndAlgorithm"
46957
46958	// HyperParameterTuningJobWarmStartTypeTransferLearning is a HyperParameterTuningJobWarmStartType enum value
46959	HyperParameterTuningJobWarmStartTypeTransferLearning = "TransferLearning"
46960)
46961
46962const (
46963	// InstanceTypeMlT2Medium is a InstanceType enum value
46964	InstanceTypeMlT2Medium = "ml.t2.medium"
46965
46966	// InstanceTypeMlT2Large is a InstanceType enum value
46967	InstanceTypeMlT2Large = "ml.t2.large"
46968
46969	// InstanceTypeMlT2Xlarge is a InstanceType enum value
46970	InstanceTypeMlT2Xlarge = "ml.t2.xlarge"
46971
46972	// InstanceTypeMlT22xlarge is a InstanceType enum value
46973	InstanceTypeMlT22xlarge = "ml.t2.2xlarge"
46974
46975	// InstanceTypeMlT3Medium is a InstanceType enum value
46976	InstanceTypeMlT3Medium = "ml.t3.medium"
46977
46978	// InstanceTypeMlT3Large is a InstanceType enum value
46979	InstanceTypeMlT3Large = "ml.t3.large"
46980
46981	// InstanceTypeMlT3Xlarge is a InstanceType enum value
46982	InstanceTypeMlT3Xlarge = "ml.t3.xlarge"
46983
46984	// InstanceTypeMlT32xlarge is a InstanceType enum value
46985	InstanceTypeMlT32xlarge = "ml.t3.2xlarge"
46986
46987	// InstanceTypeMlM4Xlarge is a InstanceType enum value
46988	InstanceTypeMlM4Xlarge = "ml.m4.xlarge"
46989
46990	// InstanceTypeMlM42xlarge is a InstanceType enum value
46991	InstanceTypeMlM42xlarge = "ml.m4.2xlarge"
46992
46993	// InstanceTypeMlM44xlarge is a InstanceType enum value
46994	InstanceTypeMlM44xlarge = "ml.m4.4xlarge"
46995
46996	// InstanceTypeMlM410xlarge is a InstanceType enum value
46997	InstanceTypeMlM410xlarge = "ml.m4.10xlarge"
46998
46999	// InstanceTypeMlM416xlarge is a InstanceType enum value
47000	InstanceTypeMlM416xlarge = "ml.m4.16xlarge"
47001
47002	// InstanceTypeMlM5Xlarge is a InstanceType enum value
47003	InstanceTypeMlM5Xlarge = "ml.m5.xlarge"
47004
47005	// InstanceTypeMlM52xlarge is a InstanceType enum value
47006	InstanceTypeMlM52xlarge = "ml.m5.2xlarge"
47007
47008	// InstanceTypeMlM54xlarge is a InstanceType enum value
47009	InstanceTypeMlM54xlarge = "ml.m5.4xlarge"
47010
47011	// InstanceTypeMlM512xlarge is a InstanceType enum value
47012	InstanceTypeMlM512xlarge = "ml.m5.12xlarge"
47013
47014	// InstanceTypeMlM524xlarge is a InstanceType enum value
47015	InstanceTypeMlM524xlarge = "ml.m5.24xlarge"
47016
47017	// InstanceTypeMlC4Xlarge is a InstanceType enum value
47018	InstanceTypeMlC4Xlarge = "ml.c4.xlarge"
47019
47020	// InstanceTypeMlC42xlarge is a InstanceType enum value
47021	InstanceTypeMlC42xlarge = "ml.c4.2xlarge"
47022
47023	// InstanceTypeMlC44xlarge is a InstanceType enum value
47024	InstanceTypeMlC44xlarge = "ml.c4.4xlarge"
47025
47026	// InstanceTypeMlC48xlarge is a InstanceType enum value
47027	InstanceTypeMlC48xlarge = "ml.c4.8xlarge"
47028
47029	// InstanceTypeMlC5Xlarge is a InstanceType enum value
47030	InstanceTypeMlC5Xlarge = "ml.c5.xlarge"
47031
47032	// InstanceTypeMlC52xlarge is a InstanceType enum value
47033	InstanceTypeMlC52xlarge = "ml.c5.2xlarge"
47034
47035	// InstanceTypeMlC54xlarge is a InstanceType enum value
47036	InstanceTypeMlC54xlarge = "ml.c5.4xlarge"
47037
47038	// InstanceTypeMlC59xlarge is a InstanceType enum value
47039	InstanceTypeMlC59xlarge = "ml.c5.9xlarge"
47040
47041	// InstanceTypeMlC518xlarge is a InstanceType enum value
47042	InstanceTypeMlC518xlarge = "ml.c5.18xlarge"
47043
47044	// InstanceTypeMlC5dXlarge is a InstanceType enum value
47045	InstanceTypeMlC5dXlarge = "ml.c5d.xlarge"
47046
47047	// InstanceTypeMlC5d2xlarge is a InstanceType enum value
47048	InstanceTypeMlC5d2xlarge = "ml.c5d.2xlarge"
47049
47050	// InstanceTypeMlC5d4xlarge is a InstanceType enum value
47051	InstanceTypeMlC5d4xlarge = "ml.c5d.4xlarge"
47052
47053	// InstanceTypeMlC5d9xlarge is a InstanceType enum value
47054	InstanceTypeMlC5d9xlarge = "ml.c5d.9xlarge"
47055
47056	// InstanceTypeMlC5d18xlarge is a InstanceType enum value
47057	InstanceTypeMlC5d18xlarge = "ml.c5d.18xlarge"
47058
47059	// InstanceTypeMlP2Xlarge is a InstanceType enum value
47060	InstanceTypeMlP2Xlarge = "ml.p2.xlarge"
47061
47062	// InstanceTypeMlP28xlarge is a InstanceType enum value
47063	InstanceTypeMlP28xlarge = "ml.p2.8xlarge"
47064
47065	// InstanceTypeMlP216xlarge is a InstanceType enum value
47066	InstanceTypeMlP216xlarge = "ml.p2.16xlarge"
47067
47068	// InstanceTypeMlP32xlarge is a InstanceType enum value
47069	InstanceTypeMlP32xlarge = "ml.p3.2xlarge"
47070
47071	// InstanceTypeMlP38xlarge is a InstanceType enum value
47072	InstanceTypeMlP38xlarge = "ml.p3.8xlarge"
47073
47074	// InstanceTypeMlP316xlarge is a InstanceType enum value
47075	InstanceTypeMlP316xlarge = "ml.p3.16xlarge"
47076)
47077
47078const (
47079	// JoinSourceInput is a JoinSource enum value
47080	JoinSourceInput = "Input"
47081
47082	// JoinSourceNone is a JoinSource enum value
47083	JoinSourceNone = "None"
47084)
47085
47086const (
47087	// LabelingJobStatusInProgress is a LabelingJobStatus enum value
47088	LabelingJobStatusInProgress = "InProgress"
47089
47090	// LabelingJobStatusCompleted is a LabelingJobStatus enum value
47091	LabelingJobStatusCompleted = "Completed"
47092
47093	// LabelingJobStatusFailed is a LabelingJobStatus enum value
47094	LabelingJobStatusFailed = "Failed"
47095
47096	// LabelingJobStatusStopping is a LabelingJobStatus enum value
47097	LabelingJobStatusStopping = "Stopping"
47098
47099	// LabelingJobStatusStopped is a LabelingJobStatus enum value
47100	LabelingJobStatusStopped = "Stopped"
47101)
47102
47103const (
47104	// ListCompilationJobsSortByName is a ListCompilationJobsSortBy enum value
47105	ListCompilationJobsSortByName = "Name"
47106
47107	// ListCompilationJobsSortByCreationTime is a ListCompilationJobsSortBy enum value
47108	ListCompilationJobsSortByCreationTime = "CreationTime"
47109
47110	// ListCompilationJobsSortByStatus is a ListCompilationJobsSortBy enum value
47111	ListCompilationJobsSortByStatus = "Status"
47112)
47113
47114const (
47115	// ListLabelingJobsForWorkteamSortByOptionsCreationTime is a ListLabelingJobsForWorkteamSortByOptions enum value
47116	ListLabelingJobsForWorkteamSortByOptionsCreationTime = "CreationTime"
47117)
47118
47119const (
47120	// ListWorkteamsSortByOptionsName is a ListWorkteamsSortByOptions enum value
47121	ListWorkteamsSortByOptionsName = "Name"
47122
47123	// ListWorkteamsSortByOptionsCreateDate is a ListWorkteamsSortByOptions enum value
47124	ListWorkteamsSortByOptionsCreateDate = "CreateDate"
47125)
47126
47127const (
47128	// ModelPackageSortByName is a ModelPackageSortBy enum value
47129	ModelPackageSortByName = "Name"
47130
47131	// ModelPackageSortByCreationTime is a ModelPackageSortBy enum value
47132	ModelPackageSortByCreationTime = "CreationTime"
47133)
47134
47135const (
47136	// ModelPackageStatusPending is a ModelPackageStatus enum value
47137	ModelPackageStatusPending = "Pending"
47138
47139	// ModelPackageStatusInProgress is a ModelPackageStatus enum value
47140	ModelPackageStatusInProgress = "InProgress"
47141
47142	// ModelPackageStatusCompleted is a ModelPackageStatus enum value
47143	ModelPackageStatusCompleted = "Completed"
47144
47145	// ModelPackageStatusFailed is a ModelPackageStatus enum value
47146	ModelPackageStatusFailed = "Failed"
47147
47148	// ModelPackageStatusDeleting is a ModelPackageStatus enum value
47149	ModelPackageStatusDeleting = "Deleting"
47150)
47151
47152const (
47153	// ModelSortKeyName is a ModelSortKey enum value
47154	ModelSortKeyName = "Name"
47155
47156	// ModelSortKeyCreationTime is a ModelSortKey enum value
47157	ModelSortKeyCreationTime = "CreationTime"
47158)
47159
47160const (
47161	// MonitoringExecutionSortKeyCreationTime is a MonitoringExecutionSortKey enum value
47162	MonitoringExecutionSortKeyCreationTime = "CreationTime"
47163
47164	// MonitoringExecutionSortKeyScheduledTime is a MonitoringExecutionSortKey enum value
47165	MonitoringExecutionSortKeyScheduledTime = "ScheduledTime"
47166
47167	// MonitoringExecutionSortKeyStatus is a MonitoringExecutionSortKey enum value
47168	MonitoringExecutionSortKeyStatus = "Status"
47169)
47170
47171const (
47172	// MonitoringScheduleSortKeyName is a MonitoringScheduleSortKey enum value
47173	MonitoringScheduleSortKeyName = "Name"
47174
47175	// MonitoringScheduleSortKeyCreationTime is a MonitoringScheduleSortKey enum value
47176	MonitoringScheduleSortKeyCreationTime = "CreationTime"
47177
47178	// MonitoringScheduleSortKeyStatus is a MonitoringScheduleSortKey enum value
47179	MonitoringScheduleSortKeyStatus = "Status"
47180)
47181
47182const (
47183	// NotebookInstanceAcceleratorTypeMlEia1Medium is a NotebookInstanceAcceleratorType enum value
47184	NotebookInstanceAcceleratorTypeMlEia1Medium = "ml.eia1.medium"
47185
47186	// NotebookInstanceAcceleratorTypeMlEia1Large is a NotebookInstanceAcceleratorType enum value
47187	NotebookInstanceAcceleratorTypeMlEia1Large = "ml.eia1.large"
47188
47189	// NotebookInstanceAcceleratorTypeMlEia1Xlarge is a NotebookInstanceAcceleratorType enum value
47190	NotebookInstanceAcceleratorTypeMlEia1Xlarge = "ml.eia1.xlarge"
47191
47192	// NotebookInstanceAcceleratorTypeMlEia2Medium is a NotebookInstanceAcceleratorType enum value
47193	NotebookInstanceAcceleratorTypeMlEia2Medium = "ml.eia2.medium"
47194
47195	// NotebookInstanceAcceleratorTypeMlEia2Large is a NotebookInstanceAcceleratorType enum value
47196	NotebookInstanceAcceleratorTypeMlEia2Large = "ml.eia2.large"
47197
47198	// NotebookInstanceAcceleratorTypeMlEia2Xlarge is a NotebookInstanceAcceleratorType enum value
47199	NotebookInstanceAcceleratorTypeMlEia2Xlarge = "ml.eia2.xlarge"
47200)
47201
47202const (
47203	// NotebookInstanceLifecycleConfigSortKeyName is a NotebookInstanceLifecycleConfigSortKey enum value
47204	NotebookInstanceLifecycleConfigSortKeyName = "Name"
47205
47206	// NotebookInstanceLifecycleConfigSortKeyCreationTime is a NotebookInstanceLifecycleConfigSortKey enum value
47207	NotebookInstanceLifecycleConfigSortKeyCreationTime = "CreationTime"
47208
47209	// NotebookInstanceLifecycleConfigSortKeyLastModifiedTime is a NotebookInstanceLifecycleConfigSortKey enum value
47210	NotebookInstanceLifecycleConfigSortKeyLastModifiedTime = "LastModifiedTime"
47211)
47212
47213const (
47214	// NotebookInstanceLifecycleConfigSortOrderAscending is a NotebookInstanceLifecycleConfigSortOrder enum value
47215	NotebookInstanceLifecycleConfigSortOrderAscending = "Ascending"
47216
47217	// NotebookInstanceLifecycleConfigSortOrderDescending is a NotebookInstanceLifecycleConfigSortOrder enum value
47218	NotebookInstanceLifecycleConfigSortOrderDescending = "Descending"
47219)
47220
47221const (
47222	// NotebookInstanceSortKeyName is a NotebookInstanceSortKey enum value
47223	NotebookInstanceSortKeyName = "Name"
47224
47225	// NotebookInstanceSortKeyCreationTime is a NotebookInstanceSortKey enum value
47226	NotebookInstanceSortKeyCreationTime = "CreationTime"
47227
47228	// NotebookInstanceSortKeyStatus is a NotebookInstanceSortKey enum value
47229	NotebookInstanceSortKeyStatus = "Status"
47230)
47231
47232const (
47233	// NotebookInstanceSortOrderAscending is a NotebookInstanceSortOrder enum value
47234	NotebookInstanceSortOrderAscending = "Ascending"
47235
47236	// NotebookInstanceSortOrderDescending is a NotebookInstanceSortOrder enum value
47237	NotebookInstanceSortOrderDescending = "Descending"
47238)
47239
47240const (
47241	// NotebookInstanceStatusPending is a NotebookInstanceStatus enum value
47242	NotebookInstanceStatusPending = "Pending"
47243
47244	// NotebookInstanceStatusInService is a NotebookInstanceStatus enum value
47245	NotebookInstanceStatusInService = "InService"
47246
47247	// NotebookInstanceStatusStopping is a NotebookInstanceStatus enum value
47248	NotebookInstanceStatusStopping = "Stopping"
47249
47250	// NotebookInstanceStatusStopped is a NotebookInstanceStatus enum value
47251	NotebookInstanceStatusStopped = "Stopped"
47252
47253	// NotebookInstanceStatusFailed is a NotebookInstanceStatus enum value
47254	NotebookInstanceStatusFailed = "Failed"
47255
47256	// NotebookInstanceStatusDeleting is a NotebookInstanceStatus enum value
47257	NotebookInstanceStatusDeleting = "Deleting"
47258
47259	// NotebookInstanceStatusUpdating is a NotebookInstanceStatus enum value
47260	NotebookInstanceStatusUpdating = "Updating"
47261)
47262
47263const (
47264	// NotebookOutputOptionAllowed is a NotebookOutputOption enum value
47265	NotebookOutputOptionAllowed = "Allowed"
47266
47267	// NotebookOutputOptionDisabled is a NotebookOutputOption enum value
47268	NotebookOutputOptionDisabled = "Disabled"
47269)
47270
47271const (
47272	// ObjectiveStatusSucceeded is a ObjectiveStatus enum value
47273	ObjectiveStatusSucceeded = "Succeeded"
47274
47275	// ObjectiveStatusPending is a ObjectiveStatus enum value
47276	ObjectiveStatusPending = "Pending"
47277
47278	// ObjectiveStatusFailed is a ObjectiveStatus enum value
47279	ObjectiveStatusFailed = "Failed"
47280)
47281
47282const (
47283	// OperatorEquals is a Operator enum value
47284	OperatorEquals = "Equals"
47285
47286	// OperatorNotEquals is a Operator enum value
47287	OperatorNotEquals = "NotEquals"
47288
47289	// OperatorGreaterThan is a Operator enum value
47290	OperatorGreaterThan = "GreaterThan"
47291
47292	// OperatorGreaterThanOrEqualTo is a Operator enum value
47293	OperatorGreaterThanOrEqualTo = "GreaterThanOrEqualTo"
47294
47295	// OperatorLessThan is a Operator enum value
47296	OperatorLessThan = "LessThan"
47297
47298	// OperatorLessThanOrEqualTo is a Operator enum value
47299	OperatorLessThanOrEqualTo = "LessThanOrEqualTo"
47300
47301	// OperatorContains is a Operator enum value
47302	OperatorContains = "Contains"
47303
47304	// OperatorExists is a Operator enum value
47305	OperatorExists = "Exists"
47306
47307	// OperatorNotExists is a Operator enum value
47308	OperatorNotExists = "NotExists"
47309
47310	// OperatorIn is a Operator enum value
47311	OperatorIn = "In"
47312)
47313
47314const (
47315	// OrderKeyAscending is a OrderKey enum value
47316	OrderKeyAscending = "Ascending"
47317
47318	// OrderKeyDescending is a OrderKey enum value
47319	OrderKeyDescending = "Descending"
47320)
47321
47322const (
47323	// ParameterTypeInteger is a ParameterType enum value
47324	ParameterTypeInteger = "Integer"
47325
47326	// ParameterTypeContinuous is a ParameterType enum value
47327	ParameterTypeContinuous = "Continuous"
47328
47329	// ParameterTypeCategorical is a ParameterType enum value
47330	ParameterTypeCategorical = "Categorical"
47331
47332	// ParameterTypeFreeText is a ParameterType enum value
47333	ParameterTypeFreeText = "FreeText"
47334)
47335
47336const (
47337	// ProblemTypeBinaryClassification is a ProblemType enum value
47338	ProblemTypeBinaryClassification = "BinaryClassification"
47339
47340	// ProblemTypeMulticlassClassification is a ProblemType enum value
47341	ProblemTypeMulticlassClassification = "MulticlassClassification"
47342
47343	// ProblemTypeRegression is a ProblemType enum value
47344	ProblemTypeRegression = "Regression"
47345)
47346
47347const (
47348	// ProcessingInstanceTypeMlT3Medium is a ProcessingInstanceType enum value
47349	ProcessingInstanceTypeMlT3Medium = "ml.t3.medium"
47350
47351	// ProcessingInstanceTypeMlT3Large is a ProcessingInstanceType enum value
47352	ProcessingInstanceTypeMlT3Large = "ml.t3.large"
47353
47354	// ProcessingInstanceTypeMlT3Xlarge is a ProcessingInstanceType enum value
47355	ProcessingInstanceTypeMlT3Xlarge = "ml.t3.xlarge"
47356
47357	// ProcessingInstanceTypeMlT32xlarge is a ProcessingInstanceType enum value
47358	ProcessingInstanceTypeMlT32xlarge = "ml.t3.2xlarge"
47359
47360	// ProcessingInstanceTypeMlM4Xlarge is a ProcessingInstanceType enum value
47361	ProcessingInstanceTypeMlM4Xlarge = "ml.m4.xlarge"
47362
47363	// ProcessingInstanceTypeMlM42xlarge is a ProcessingInstanceType enum value
47364	ProcessingInstanceTypeMlM42xlarge = "ml.m4.2xlarge"
47365
47366	// ProcessingInstanceTypeMlM44xlarge is a ProcessingInstanceType enum value
47367	ProcessingInstanceTypeMlM44xlarge = "ml.m4.4xlarge"
47368
47369	// ProcessingInstanceTypeMlM410xlarge is a ProcessingInstanceType enum value
47370	ProcessingInstanceTypeMlM410xlarge = "ml.m4.10xlarge"
47371
47372	// ProcessingInstanceTypeMlM416xlarge is a ProcessingInstanceType enum value
47373	ProcessingInstanceTypeMlM416xlarge = "ml.m4.16xlarge"
47374
47375	// ProcessingInstanceTypeMlC4Xlarge is a ProcessingInstanceType enum value
47376	ProcessingInstanceTypeMlC4Xlarge = "ml.c4.xlarge"
47377
47378	// ProcessingInstanceTypeMlC42xlarge is a ProcessingInstanceType enum value
47379	ProcessingInstanceTypeMlC42xlarge = "ml.c4.2xlarge"
47380
47381	// ProcessingInstanceTypeMlC44xlarge is a ProcessingInstanceType enum value
47382	ProcessingInstanceTypeMlC44xlarge = "ml.c4.4xlarge"
47383
47384	// ProcessingInstanceTypeMlC48xlarge is a ProcessingInstanceType enum value
47385	ProcessingInstanceTypeMlC48xlarge = "ml.c4.8xlarge"
47386
47387	// ProcessingInstanceTypeMlP2Xlarge is a ProcessingInstanceType enum value
47388	ProcessingInstanceTypeMlP2Xlarge = "ml.p2.xlarge"
47389
47390	// ProcessingInstanceTypeMlP28xlarge is a ProcessingInstanceType enum value
47391	ProcessingInstanceTypeMlP28xlarge = "ml.p2.8xlarge"
47392
47393	// ProcessingInstanceTypeMlP216xlarge is a ProcessingInstanceType enum value
47394	ProcessingInstanceTypeMlP216xlarge = "ml.p2.16xlarge"
47395
47396	// ProcessingInstanceTypeMlP32xlarge is a ProcessingInstanceType enum value
47397	ProcessingInstanceTypeMlP32xlarge = "ml.p3.2xlarge"
47398
47399	// ProcessingInstanceTypeMlP38xlarge is a ProcessingInstanceType enum value
47400	ProcessingInstanceTypeMlP38xlarge = "ml.p3.8xlarge"
47401
47402	// ProcessingInstanceTypeMlP316xlarge is a ProcessingInstanceType enum value
47403	ProcessingInstanceTypeMlP316xlarge = "ml.p3.16xlarge"
47404
47405	// ProcessingInstanceTypeMlC5Xlarge is a ProcessingInstanceType enum value
47406	ProcessingInstanceTypeMlC5Xlarge = "ml.c5.xlarge"
47407
47408	// ProcessingInstanceTypeMlC52xlarge is a ProcessingInstanceType enum value
47409	ProcessingInstanceTypeMlC52xlarge = "ml.c5.2xlarge"
47410
47411	// ProcessingInstanceTypeMlC54xlarge is a ProcessingInstanceType enum value
47412	ProcessingInstanceTypeMlC54xlarge = "ml.c5.4xlarge"
47413
47414	// ProcessingInstanceTypeMlC59xlarge is a ProcessingInstanceType enum value
47415	ProcessingInstanceTypeMlC59xlarge = "ml.c5.9xlarge"
47416
47417	// ProcessingInstanceTypeMlC518xlarge is a ProcessingInstanceType enum value
47418	ProcessingInstanceTypeMlC518xlarge = "ml.c5.18xlarge"
47419
47420	// ProcessingInstanceTypeMlM5Large is a ProcessingInstanceType enum value
47421	ProcessingInstanceTypeMlM5Large = "ml.m5.large"
47422
47423	// ProcessingInstanceTypeMlM5Xlarge is a ProcessingInstanceType enum value
47424	ProcessingInstanceTypeMlM5Xlarge = "ml.m5.xlarge"
47425
47426	// ProcessingInstanceTypeMlM52xlarge is a ProcessingInstanceType enum value
47427	ProcessingInstanceTypeMlM52xlarge = "ml.m5.2xlarge"
47428
47429	// ProcessingInstanceTypeMlM54xlarge is a ProcessingInstanceType enum value
47430	ProcessingInstanceTypeMlM54xlarge = "ml.m5.4xlarge"
47431
47432	// ProcessingInstanceTypeMlM512xlarge is a ProcessingInstanceType enum value
47433	ProcessingInstanceTypeMlM512xlarge = "ml.m5.12xlarge"
47434
47435	// ProcessingInstanceTypeMlM524xlarge is a ProcessingInstanceType enum value
47436	ProcessingInstanceTypeMlM524xlarge = "ml.m5.24xlarge"
47437
47438	// ProcessingInstanceTypeMlR5Large is a ProcessingInstanceType enum value
47439	ProcessingInstanceTypeMlR5Large = "ml.r5.large"
47440
47441	// ProcessingInstanceTypeMlR5Xlarge is a ProcessingInstanceType enum value
47442	ProcessingInstanceTypeMlR5Xlarge = "ml.r5.xlarge"
47443
47444	// ProcessingInstanceTypeMlR52xlarge is a ProcessingInstanceType enum value
47445	ProcessingInstanceTypeMlR52xlarge = "ml.r5.2xlarge"
47446
47447	// ProcessingInstanceTypeMlR54xlarge is a ProcessingInstanceType enum value
47448	ProcessingInstanceTypeMlR54xlarge = "ml.r5.4xlarge"
47449
47450	// ProcessingInstanceTypeMlR58xlarge is a ProcessingInstanceType enum value
47451	ProcessingInstanceTypeMlR58xlarge = "ml.r5.8xlarge"
47452
47453	// ProcessingInstanceTypeMlR512xlarge is a ProcessingInstanceType enum value
47454	ProcessingInstanceTypeMlR512xlarge = "ml.r5.12xlarge"
47455
47456	// ProcessingInstanceTypeMlR516xlarge is a ProcessingInstanceType enum value
47457	ProcessingInstanceTypeMlR516xlarge = "ml.r5.16xlarge"
47458
47459	// ProcessingInstanceTypeMlR524xlarge is a ProcessingInstanceType enum value
47460	ProcessingInstanceTypeMlR524xlarge = "ml.r5.24xlarge"
47461)
47462
47463const (
47464	// ProcessingJobStatusInProgress is a ProcessingJobStatus enum value
47465	ProcessingJobStatusInProgress = "InProgress"
47466
47467	// ProcessingJobStatusCompleted is a ProcessingJobStatus enum value
47468	ProcessingJobStatusCompleted = "Completed"
47469
47470	// ProcessingJobStatusFailed is a ProcessingJobStatus enum value
47471	ProcessingJobStatusFailed = "Failed"
47472
47473	// ProcessingJobStatusStopping is a ProcessingJobStatus enum value
47474	ProcessingJobStatusStopping = "Stopping"
47475
47476	// ProcessingJobStatusStopped is a ProcessingJobStatus enum value
47477	ProcessingJobStatusStopped = "Stopped"
47478)
47479
47480const (
47481	// ProcessingS3CompressionTypeNone is a ProcessingS3CompressionType enum value
47482	ProcessingS3CompressionTypeNone = "None"
47483
47484	// ProcessingS3CompressionTypeGzip is a ProcessingS3CompressionType enum value
47485	ProcessingS3CompressionTypeGzip = "Gzip"
47486)
47487
47488const (
47489	// ProcessingS3DataDistributionTypeFullyReplicated is a ProcessingS3DataDistributionType enum value
47490	ProcessingS3DataDistributionTypeFullyReplicated = "FullyReplicated"
47491
47492	// ProcessingS3DataDistributionTypeShardedByS3key is a ProcessingS3DataDistributionType enum value
47493	ProcessingS3DataDistributionTypeShardedByS3key = "ShardedByS3Key"
47494)
47495
47496const (
47497	// ProcessingS3DataTypeManifestFile is a ProcessingS3DataType enum value
47498	ProcessingS3DataTypeManifestFile = "ManifestFile"
47499
47500	// ProcessingS3DataTypeS3prefix is a ProcessingS3DataType enum value
47501	ProcessingS3DataTypeS3prefix = "S3Prefix"
47502)
47503
47504const (
47505	// ProcessingS3InputModePipe is a ProcessingS3InputMode enum value
47506	ProcessingS3InputModePipe = "Pipe"
47507
47508	// ProcessingS3InputModeFile is a ProcessingS3InputMode enum value
47509	ProcessingS3InputModeFile = "File"
47510)
47511
47512const (
47513	// ProcessingS3UploadModeContinuous is a ProcessingS3UploadMode enum value
47514	ProcessingS3UploadModeContinuous = "Continuous"
47515
47516	// ProcessingS3UploadModeEndOfJob is a ProcessingS3UploadMode enum value
47517	ProcessingS3UploadModeEndOfJob = "EndOfJob"
47518)
47519
47520const (
47521	// ProductionVariantAcceleratorTypeMlEia1Medium is a ProductionVariantAcceleratorType enum value
47522	ProductionVariantAcceleratorTypeMlEia1Medium = "ml.eia1.medium"
47523
47524	// ProductionVariantAcceleratorTypeMlEia1Large is a ProductionVariantAcceleratorType enum value
47525	ProductionVariantAcceleratorTypeMlEia1Large = "ml.eia1.large"
47526
47527	// ProductionVariantAcceleratorTypeMlEia1Xlarge is a ProductionVariantAcceleratorType enum value
47528	ProductionVariantAcceleratorTypeMlEia1Xlarge = "ml.eia1.xlarge"
47529
47530	// ProductionVariantAcceleratorTypeMlEia2Medium is a ProductionVariantAcceleratorType enum value
47531	ProductionVariantAcceleratorTypeMlEia2Medium = "ml.eia2.medium"
47532
47533	// ProductionVariantAcceleratorTypeMlEia2Large is a ProductionVariantAcceleratorType enum value
47534	ProductionVariantAcceleratorTypeMlEia2Large = "ml.eia2.large"
47535
47536	// ProductionVariantAcceleratorTypeMlEia2Xlarge is a ProductionVariantAcceleratorType enum value
47537	ProductionVariantAcceleratorTypeMlEia2Xlarge = "ml.eia2.xlarge"
47538)
47539
47540const (
47541	// ProductionVariantInstanceTypeMlT2Medium is a ProductionVariantInstanceType enum value
47542	ProductionVariantInstanceTypeMlT2Medium = "ml.t2.medium"
47543
47544	// ProductionVariantInstanceTypeMlT2Large is a ProductionVariantInstanceType enum value
47545	ProductionVariantInstanceTypeMlT2Large = "ml.t2.large"
47546
47547	// ProductionVariantInstanceTypeMlT2Xlarge is a ProductionVariantInstanceType enum value
47548	ProductionVariantInstanceTypeMlT2Xlarge = "ml.t2.xlarge"
47549
47550	// ProductionVariantInstanceTypeMlT22xlarge is a ProductionVariantInstanceType enum value
47551	ProductionVariantInstanceTypeMlT22xlarge = "ml.t2.2xlarge"
47552
47553	// ProductionVariantInstanceTypeMlM4Xlarge is a ProductionVariantInstanceType enum value
47554	ProductionVariantInstanceTypeMlM4Xlarge = "ml.m4.xlarge"
47555
47556	// ProductionVariantInstanceTypeMlM42xlarge is a ProductionVariantInstanceType enum value
47557	ProductionVariantInstanceTypeMlM42xlarge = "ml.m4.2xlarge"
47558
47559	// ProductionVariantInstanceTypeMlM44xlarge is a ProductionVariantInstanceType enum value
47560	ProductionVariantInstanceTypeMlM44xlarge = "ml.m4.4xlarge"
47561
47562	// ProductionVariantInstanceTypeMlM410xlarge is a ProductionVariantInstanceType enum value
47563	ProductionVariantInstanceTypeMlM410xlarge = "ml.m4.10xlarge"
47564
47565	// ProductionVariantInstanceTypeMlM416xlarge is a ProductionVariantInstanceType enum value
47566	ProductionVariantInstanceTypeMlM416xlarge = "ml.m4.16xlarge"
47567
47568	// ProductionVariantInstanceTypeMlM5Large is a ProductionVariantInstanceType enum value
47569	ProductionVariantInstanceTypeMlM5Large = "ml.m5.large"
47570
47571	// ProductionVariantInstanceTypeMlM5Xlarge is a ProductionVariantInstanceType enum value
47572	ProductionVariantInstanceTypeMlM5Xlarge = "ml.m5.xlarge"
47573
47574	// ProductionVariantInstanceTypeMlM52xlarge is a ProductionVariantInstanceType enum value
47575	ProductionVariantInstanceTypeMlM52xlarge = "ml.m5.2xlarge"
47576
47577	// ProductionVariantInstanceTypeMlM54xlarge is a ProductionVariantInstanceType enum value
47578	ProductionVariantInstanceTypeMlM54xlarge = "ml.m5.4xlarge"
47579
47580	// ProductionVariantInstanceTypeMlM512xlarge is a ProductionVariantInstanceType enum value
47581	ProductionVariantInstanceTypeMlM512xlarge = "ml.m5.12xlarge"
47582
47583	// ProductionVariantInstanceTypeMlM524xlarge is a ProductionVariantInstanceType enum value
47584	ProductionVariantInstanceTypeMlM524xlarge = "ml.m5.24xlarge"
47585
47586	// ProductionVariantInstanceTypeMlM5dLarge is a ProductionVariantInstanceType enum value
47587	ProductionVariantInstanceTypeMlM5dLarge = "ml.m5d.large"
47588
47589	// ProductionVariantInstanceTypeMlM5dXlarge is a ProductionVariantInstanceType enum value
47590	ProductionVariantInstanceTypeMlM5dXlarge = "ml.m5d.xlarge"
47591
47592	// ProductionVariantInstanceTypeMlM5d2xlarge is a ProductionVariantInstanceType enum value
47593	ProductionVariantInstanceTypeMlM5d2xlarge = "ml.m5d.2xlarge"
47594
47595	// ProductionVariantInstanceTypeMlM5d4xlarge is a ProductionVariantInstanceType enum value
47596	ProductionVariantInstanceTypeMlM5d4xlarge = "ml.m5d.4xlarge"
47597
47598	// ProductionVariantInstanceTypeMlM5d12xlarge is a ProductionVariantInstanceType enum value
47599	ProductionVariantInstanceTypeMlM5d12xlarge = "ml.m5d.12xlarge"
47600
47601	// ProductionVariantInstanceTypeMlM5d24xlarge is a ProductionVariantInstanceType enum value
47602	ProductionVariantInstanceTypeMlM5d24xlarge = "ml.m5d.24xlarge"
47603
47604	// ProductionVariantInstanceTypeMlC4Large is a ProductionVariantInstanceType enum value
47605	ProductionVariantInstanceTypeMlC4Large = "ml.c4.large"
47606
47607	// ProductionVariantInstanceTypeMlC4Xlarge is a ProductionVariantInstanceType enum value
47608	ProductionVariantInstanceTypeMlC4Xlarge = "ml.c4.xlarge"
47609
47610	// ProductionVariantInstanceTypeMlC42xlarge is a ProductionVariantInstanceType enum value
47611	ProductionVariantInstanceTypeMlC42xlarge = "ml.c4.2xlarge"
47612
47613	// ProductionVariantInstanceTypeMlC44xlarge is a ProductionVariantInstanceType enum value
47614	ProductionVariantInstanceTypeMlC44xlarge = "ml.c4.4xlarge"
47615
47616	// ProductionVariantInstanceTypeMlC48xlarge is a ProductionVariantInstanceType enum value
47617	ProductionVariantInstanceTypeMlC48xlarge = "ml.c4.8xlarge"
47618
47619	// ProductionVariantInstanceTypeMlP2Xlarge is a ProductionVariantInstanceType enum value
47620	ProductionVariantInstanceTypeMlP2Xlarge = "ml.p2.xlarge"
47621
47622	// ProductionVariantInstanceTypeMlP28xlarge is a ProductionVariantInstanceType enum value
47623	ProductionVariantInstanceTypeMlP28xlarge = "ml.p2.8xlarge"
47624
47625	// ProductionVariantInstanceTypeMlP216xlarge is a ProductionVariantInstanceType enum value
47626	ProductionVariantInstanceTypeMlP216xlarge = "ml.p2.16xlarge"
47627
47628	// ProductionVariantInstanceTypeMlP32xlarge is a ProductionVariantInstanceType enum value
47629	ProductionVariantInstanceTypeMlP32xlarge = "ml.p3.2xlarge"
47630
47631	// ProductionVariantInstanceTypeMlP38xlarge is a ProductionVariantInstanceType enum value
47632	ProductionVariantInstanceTypeMlP38xlarge = "ml.p3.8xlarge"
47633
47634	// ProductionVariantInstanceTypeMlP316xlarge is a ProductionVariantInstanceType enum value
47635	ProductionVariantInstanceTypeMlP316xlarge = "ml.p3.16xlarge"
47636
47637	// ProductionVariantInstanceTypeMlC5Large is a ProductionVariantInstanceType enum value
47638	ProductionVariantInstanceTypeMlC5Large = "ml.c5.large"
47639
47640	// ProductionVariantInstanceTypeMlC5Xlarge is a ProductionVariantInstanceType enum value
47641	ProductionVariantInstanceTypeMlC5Xlarge = "ml.c5.xlarge"
47642
47643	// ProductionVariantInstanceTypeMlC52xlarge is a ProductionVariantInstanceType enum value
47644	ProductionVariantInstanceTypeMlC52xlarge = "ml.c5.2xlarge"
47645
47646	// ProductionVariantInstanceTypeMlC54xlarge is a ProductionVariantInstanceType enum value
47647	ProductionVariantInstanceTypeMlC54xlarge = "ml.c5.4xlarge"
47648
47649	// ProductionVariantInstanceTypeMlC59xlarge is a ProductionVariantInstanceType enum value
47650	ProductionVariantInstanceTypeMlC59xlarge = "ml.c5.9xlarge"
47651
47652	// ProductionVariantInstanceTypeMlC518xlarge is a ProductionVariantInstanceType enum value
47653	ProductionVariantInstanceTypeMlC518xlarge = "ml.c5.18xlarge"
47654
47655	// ProductionVariantInstanceTypeMlC5dLarge is a ProductionVariantInstanceType enum value
47656	ProductionVariantInstanceTypeMlC5dLarge = "ml.c5d.large"
47657
47658	// ProductionVariantInstanceTypeMlC5dXlarge is a ProductionVariantInstanceType enum value
47659	ProductionVariantInstanceTypeMlC5dXlarge = "ml.c5d.xlarge"
47660
47661	// ProductionVariantInstanceTypeMlC5d2xlarge is a ProductionVariantInstanceType enum value
47662	ProductionVariantInstanceTypeMlC5d2xlarge = "ml.c5d.2xlarge"
47663
47664	// ProductionVariantInstanceTypeMlC5d4xlarge is a ProductionVariantInstanceType enum value
47665	ProductionVariantInstanceTypeMlC5d4xlarge = "ml.c5d.4xlarge"
47666
47667	// ProductionVariantInstanceTypeMlC5d9xlarge is a ProductionVariantInstanceType enum value
47668	ProductionVariantInstanceTypeMlC5d9xlarge = "ml.c5d.9xlarge"
47669
47670	// ProductionVariantInstanceTypeMlC5d18xlarge is a ProductionVariantInstanceType enum value
47671	ProductionVariantInstanceTypeMlC5d18xlarge = "ml.c5d.18xlarge"
47672
47673	// ProductionVariantInstanceTypeMlG4dnXlarge is a ProductionVariantInstanceType enum value
47674	ProductionVariantInstanceTypeMlG4dnXlarge = "ml.g4dn.xlarge"
47675
47676	// ProductionVariantInstanceTypeMlG4dn2xlarge is a ProductionVariantInstanceType enum value
47677	ProductionVariantInstanceTypeMlG4dn2xlarge = "ml.g4dn.2xlarge"
47678
47679	// ProductionVariantInstanceTypeMlG4dn4xlarge is a ProductionVariantInstanceType enum value
47680	ProductionVariantInstanceTypeMlG4dn4xlarge = "ml.g4dn.4xlarge"
47681
47682	// ProductionVariantInstanceTypeMlG4dn8xlarge is a ProductionVariantInstanceType enum value
47683	ProductionVariantInstanceTypeMlG4dn8xlarge = "ml.g4dn.8xlarge"
47684
47685	// ProductionVariantInstanceTypeMlG4dn12xlarge is a ProductionVariantInstanceType enum value
47686	ProductionVariantInstanceTypeMlG4dn12xlarge = "ml.g4dn.12xlarge"
47687
47688	// ProductionVariantInstanceTypeMlG4dn16xlarge is a ProductionVariantInstanceType enum value
47689	ProductionVariantInstanceTypeMlG4dn16xlarge = "ml.g4dn.16xlarge"
47690
47691	// ProductionVariantInstanceTypeMlR5Large is a ProductionVariantInstanceType enum value
47692	ProductionVariantInstanceTypeMlR5Large = "ml.r5.large"
47693
47694	// ProductionVariantInstanceTypeMlR5Xlarge is a ProductionVariantInstanceType enum value
47695	ProductionVariantInstanceTypeMlR5Xlarge = "ml.r5.xlarge"
47696
47697	// ProductionVariantInstanceTypeMlR52xlarge is a ProductionVariantInstanceType enum value
47698	ProductionVariantInstanceTypeMlR52xlarge = "ml.r5.2xlarge"
47699
47700	// ProductionVariantInstanceTypeMlR54xlarge is a ProductionVariantInstanceType enum value
47701	ProductionVariantInstanceTypeMlR54xlarge = "ml.r5.4xlarge"
47702
47703	// ProductionVariantInstanceTypeMlR512xlarge is a ProductionVariantInstanceType enum value
47704	ProductionVariantInstanceTypeMlR512xlarge = "ml.r5.12xlarge"
47705
47706	// ProductionVariantInstanceTypeMlR524xlarge is a ProductionVariantInstanceType enum value
47707	ProductionVariantInstanceTypeMlR524xlarge = "ml.r5.24xlarge"
47708
47709	// ProductionVariantInstanceTypeMlR5dLarge is a ProductionVariantInstanceType enum value
47710	ProductionVariantInstanceTypeMlR5dLarge = "ml.r5d.large"
47711
47712	// ProductionVariantInstanceTypeMlR5dXlarge is a ProductionVariantInstanceType enum value
47713	ProductionVariantInstanceTypeMlR5dXlarge = "ml.r5d.xlarge"
47714
47715	// ProductionVariantInstanceTypeMlR5d2xlarge is a ProductionVariantInstanceType enum value
47716	ProductionVariantInstanceTypeMlR5d2xlarge = "ml.r5d.2xlarge"
47717
47718	// ProductionVariantInstanceTypeMlR5d4xlarge is a ProductionVariantInstanceType enum value
47719	ProductionVariantInstanceTypeMlR5d4xlarge = "ml.r5d.4xlarge"
47720
47721	// ProductionVariantInstanceTypeMlR5d12xlarge is a ProductionVariantInstanceType enum value
47722	ProductionVariantInstanceTypeMlR5d12xlarge = "ml.r5d.12xlarge"
47723
47724	// ProductionVariantInstanceTypeMlR5d24xlarge is a ProductionVariantInstanceType enum value
47725	ProductionVariantInstanceTypeMlR5d24xlarge = "ml.r5d.24xlarge"
47726
47727	// ProductionVariantInstanceTypeMlInf1Xlarge is a ProductionVariantInstanceType enum value
47728	ProductionVariantInstanceTypeMlInf1Xlarge = "ml.inf1.xlarge"
47729
47730	// ProductionVariantInstanceTypeMlInf12xlarge is a ProductionVariantInstanceType enum value
47731	ProductionVariantInstanceTypeMlInf12xlarge = "ml.inf1.2xlarge"
47732
47733	// ProductionVariantInstanceTypeMlInf16xlarge is a ProductionVariantInstanceType enum value
47734	ProductionVariantInstanceTypeMlInf16xlarge = "ml.inf1.6xlarge"
47735
47736	// ProductionVariantInstanceTypeMlInf124xlarge is a ProductionVariantInstanceType enum value
47737	ProductionVariantInstanceTypeMlInf124xlarge = "ml.inf1.24xlarge"
47738)
47739
47740const (
47741	// RecordWrapperNone is a RecordWrapper enum value
47742	RecordWrapperNone = "None"
47743
47744	// RecordWrapperRecordIo is a RecordWrapper enum value
47745	RecordWrapperRecordIo = "RecordIO"
47746)
47747
47748const (
47749	// ResourceTypeTrainingJob is a ResourceType enum value
47750	ResourceTypeTrainingJob = "TrainingJob"
47751
47752	// ResourceTypeExperiment is a ResourceType enum value
47753	ResourceTypeExperiment = "Experiment"
47754
47755	// ResourceTypeExperimentTrial is a ResourceType enum value
47756	ResourceTypeExperimentTrial = "ExperimentTrial"
47757
47758	// ResourceTypeExperimentTrialComponent is a ResourceType enum value
47759	ResourceTypeExperimentTrialComponent = "ExperimentTrialComponent"
47760)
47761
47762const (
47763	// RetentionTypeRetain is a RetentionType enum value
47764	RetentionTypeRetain = "Retain"
47765
47766	// RetentionTypeDelete is a RetentionType enum value
47767	RetentionTypeDelete = "Delete"
47768)
47769
47770const (
47771	// RootAccessEnabled is a RootAccess enum value
47772	RootAccessEnabled = "Enabled"
47773
47774	// RootAccessDisabled is a RootAccess enum value
47775	RootAccessDisabled = "Disabled"
47776)
47777
47778const (
47779	// RuleEvaluationStatusInProgress is a RuleEvaluationStatus enum value
47780	RuleEvaluationStatusInProgress = "InProgress"
47781
47782	// RuleEvaluationStatusNoIssuesFound is a RuleEvaluationStatus enum value
47783	RuleEvaluationStatusNoIssuesFound = "NoIssuesFound"
47784
47785	// RuleEvaluationStatusIssuesFound is a RuleEvaluationStatus enum value
47786	RuleEvaluationStatusIssuesFound = "IssuesFound"
47787
47788	// RuleEvaluationStatusError is a RuleEvaluationStatus enum value
47789	RuleEvaluationStatusError = "Error"
47790
47791	// RuleEvaluationStatusStopping is a RuleEvaluationStatus enum value
47792	RuleEvaluationStatusStopping = "Stopping"
47793
47794	// RuleEvaluationStatusStopped is a RuleEvaluationStatus enum value
47795	RuleEvaluationStatusStopped = "Stopped"
47796)
47797
47798const (
47799	// S3DataDistributionFullyReplicated is a S3DataDistribution enum value
47800	S3DataDistributionFullyReplicated = "FullyReplicated"
47801
47802	// S3DataDistributionShardedByS3key is a S3DataDistribution enum value
47803	S3DataDistributionShardedByS3key = "ShardedByS3Key"
47804)
47805
47806const (
47807	// S3DataTypeManifestFile is a S3DataType enum value
47808	S3DataTypeManifestFile = "ManifestFile"
47809
47810	// S3DataTypeS3prefix is a S3DataType enum value
47811	S3DataTypeS3prefix = "S3Prefix"
47812
47813	// S3DataTypeAugmentedManifestFile is a S3DataType enum value
47814	S3DataTypeAugmentedManifestFile = "AugmentedManifestFile"
47815)
47816
47817const (
47818	// ScheduleStatusPending is a ScheduleStatus enum value
47819	ScheduleStatusPending = "Pending"
47820
47821	// ScheduleStatusFailed is a ScheduleStatus enum value
47822	ScheduleStatusFailed = "Failed"
47823
47824	// ScheduleStatusScheduled is a ScheduleStatus enum value
47825	ScheduleStatusScheduled = "Scheduled"
47826
47827	// ScheduleStatusStopped is a ScheduleStatus enum value
47828	ScheduleStatusStopped = "Stopped"
47829)
47830
47831const (
47832	// SearchSortOrderAscending is a SearchSortOrder enum value
47833	SearchSortOrderAscending = "Ascending"
47834
47835	// SearchSortOrderDescending is a SearchSortOrder enum value
47836	SearchSortOrderDescending = "Descending"
47837)
47838
47839const (
47840	// SecondaryStatusStarting is a SecondaryStatus enum value
47841	SecondaryStatusStarting = "Starting"
47842
47843	// SecondaryStatusLaunchingMlinstances is a SecondaryStatus enum value
47844	SecondaryStatusLaunchingMlinstances = "LaunchingMLInstances"
47845
47846	// SecondaryStatusPreparingTrainingStack is a SecondaryStatus enum value
47847	SecondaryStatusPreparingTrainingStack = "PreparingTrainingStack"
47848
47849	// SecondaryStatusDownloading is a SecondaryStatus enum value
47850	SecondaryStatusDownloading = "Downloading"
47851
47852	// SecondaryStatusDownloadingTrainingImage is a SecondaryStatus enum value
47853	SecondaryStatusDownloadingTrainingImage = "DownloadingTrainingImage"
47854
47855	// SecondaryStatusTraining is a SecondaryStatus enum value
47856	SecondaryStatusTraining = "Training"
47857
47858	// SecondaryStatusUploading is a SecondaryStatus enum value
47859	SecondaryStatusUploading = "Uploading"
47860
47861	// SecondaryStatusStopping is a SecondaryStatus enum value
47862	SecondaryStatusStopping = "Stopping"
47863
47864	// SecondaryStatusStopped is a SecondaryStatus enum value
47865	SecondaryStatusStopped = "Stopped"
47866
47867	// SecondaryStatusMaxRuntimeExceeded is a SecondaryStatus enum value
47868	SecondaryStatusMaxRuntimeExceeded = "MaxRuntimeExceeded"
47869
47870	// SecondaryStatusCompleted is a SecondaryStatus enum value
47871	SecondaryStatusCompleted = "Completed"
47872
47873	// SecondaryStatusFailed is a SecondaryStatus enum value
47874	SecondaryStatusFailed = "Failed"
47875
47876	// SecondaryStatusInterrupted is a SecondaryStatus enum value
47877	SecondaryStatusInterrupted = "Interrupted"
47878
47879	// SecondaryStatusMaxWaitTimeExceeded is a SecondaryStatus enum value
47880	SecondaryStatusMaxWaitTimeExceeded = "MaxWaitTimeExceeded"
47881)
47882
47883const (
47884	// SortByName is a SortBy enum value
47885	SortByName = "Name"
47886
47887	// SortByCreationTime is a SortBy enum value
47888	SortByCreationTime = "CreationTime"
47889
47890	// SortByStatus is a SortBy enum value
47891	SortByStatus = "Status"
47892)
47893
47894const (
47895	// SortExperimentsByName is a SortExperimentsBy enum value
47896	SortExperimentsByName = "Name"
47897
47898	// SortExperimentsByCreationTime is a SortExperimentsBy enum value
47899	SortExperimentsByCreationTime = "CreationTime"
47900)
47901
47902const (
47903	// SortOrderAscending is a SortOrder enum value
47904	SortOrderAscending = "Ascending"
47905
47906	// SortOrderDescending is a SortOrder enum value
47907	SortOrderDescending = "Descending"
47908)
47909
47910const (
47911	// SortTrialComponentsByName is a SortTrialComponentsBy enum value
47912	SortTrialComponentsByName = "Name"
47913
47914	// SortTrialComponentsByCreationTime is a SortTrialComponentsBy enum value
47915	SortTrialComponentsByCreationTime = "CreationTime"
47916)
47917
47918const (
47919	// SortTrialsByName is a SortTrialsBy enum value
47920	SortTrialsByName = "Name"
47921
47922	// SortTrialsByCreationTime is a SortTrialsBy enum value
47923	SortTrialsByCreationTime = "CreationTime"
47924)
47925
47926const (
47927	// SplitTypeNone is a SplitType enum value
47928	SplitTypeNone = "None"
47929
47930	// SplitTypeLine is a SplitType enum value
47931	SplitTypeLine = "Line"
47932
47933	// SplitTypeRecordIo is a SplitType enum value
47934	SplitTypeRecordIo = "RecordIO"
47935
47936	// SplitTypeTfrecord is a SplitType enum value
47937	SplitTypeTfrecord = "TFRecord"
47938)
47939
47940const (
47941	// TargetDeviceLambda is a TargetDevice enum value
47942	TargetDeviceLambda = "lambda"
47943
47944	// TargetDeviceMlM4 is a TargetDevice enum value
47945	TargetDeviceMlM4 = "ml_m4"
47946
47947	// TargetDeviceMlM5 is a TargetDevice enum value
47948	TargetDeviceMlM5 = "ml_m5"
47949
47950	// TargetDeviceMlC4 is a TargetDevice enum value
47951	TargetDeviceMlC4 = "ml_c4"
47952
47953	// TargetDeviceMlC5 is a TargetDevice enum value
47954	TargetDeviceMlC5 = "ml_c5"
47955
47956	// TargetDeviceMlP2 is a TargetDevice enum value
47957	TargetDeviceMlP2 = "ml_p2"
47958
47959	// TargetDeviceMlP3 is a TargetDevice enum value
47960	TargetDeviceMlP3 = "ml_p3"
47961
47962	// TargetDeviceMlInf1 is a TargetDevice enum value
47963	TargetDeviceMlInf1 = "ml_inf1"
47964
47965	// TargetDeviceJetsonTx1 is a TargetDevice enum value
47966	TargetDeviceJetsonTx1 = "jetson_tx1"
47967
47968	// TargetDeviceJetsonTx2 is a TargetDevice enum value
47969	TargetDeviceJetsonTx2 = "jetson_tx2"
47970
47971	// TargetDeviceJetsonNano is a TargetDevice enum value
47972	TargetDeviceJetsonNano = "jetson_nano"
47973
47974	// TargetDeviceJetsonXavier is a TargetDevice enum value
47975	TargetDeviceJetsonXavier = "jetson_xavier"
47976
47977	// TargetDeviceRasp3b is a TargetDevice enum value
47978	TargetDeviceRasp3b = "rasp3b"
47979
47980	// TargetDeviceImx8qm is a TargetDevice enum value
47981	TargetDeviceImx8qm = "imx8qm"
47982
47983	// TargetDeviceDeeplens is a TargetDevice enum value
47984	TargetDeviceDeeplens = "deeplens"
47985
47986	// TargetDeviceRk3399 is a TargetDevice enum value
47987	TargetDeviceRk3399 = "rk3399"
47988
47989	// TargetDeviceRk3288 is a TargetDevice enum value
47990	TargetDeviceRk3288 = "rk3288"
47991
47992	// TargetDeviceAisage is a TargetDevice enum value
47993	TargetDeviceAisage = "aisage"
47994
47995	// TargetDeviceSbeC is a TargetDevice enum value
47996	TargetDeviceSbeC = "sbe_c"
47997
47998	// TargetDeviceQcs605 is a TargetDevice enum value
47999	TargetDeviceQcs605 = "qcs605"
48000
48001	// TargetDeviceQcs603 is a TargetDevice enum value
48002	TargetDeviceQcs603 = "qcs603"
48003
48004	// TargetDeviceSitaraAm57x is a TargetDevice enum value
48005	TargetDeviceSitaraAm57x = "sitara_am57x"
48006
48007	// TargetDeviceAmbaCv22 is a TargetDevice enum value
48008	TargetDeviceAmbaCv22 = "amba_cv22"
48009)
48010
48011const (
48012	// TrainingInputModePipe is a TrainingInputMode enum value
48013	TrainingInputModePipe = "Pipe"
48014
48015	// TrainingInputModeFile is a TrainingInputMode enum value
48016	TrainingInputModeFile = "File"
48017)
48018
48019const (
48020	// TrainingInstanceTypeMlM4Xlarge is a TrainingInstanceType enum value
48021	TrainingInstanceTypeMlM4Xlarge = "ml.m4.xlarge"
48022
48023	// TrainingInstanceTypeMlM42xlarge is a TrainingInstanceType enum value
48024	TrainingInstanceTypeMlM42xlarge = "ml.m4.2xlarge"
48025
48026	// TrainingInstanceTypeMlM44xlarge is a TrainingInstanceType enum value
48027	TrainingInstanceTypeMlM44xlarge = "ml.m4.4xlarge"
48028
48029	// TrainingInstanceTypeMlM410xlarge is a TrainingInstanceType enum value
48030	TrainingInstanceTypeMlM410xlarge = "ml.m4.10xlarge"
48031
48032	// TrainingInstanceTypeMlM416xlarge is a TrainingInstanceType enum value
48033	TrainingInstanceTypeMlM416xlarge = "ml.m4.16xlarge"
48034
48035	// TrainingInstanceTypeMlG4dnXlarge is a TrainingInstanceType enum value
48036	TrainingInstanceTypeMlG4dnXlarge = "ml.g4dn.xlarge"
48037
48038	// TrainingInstanceTypeMlG4dn2xlarge is a TrainingInstanceType enum value
48039	TrainingInstanceTypeMlG4dn2xlarge = "ml.g4dn.2xlarge"
48040
48041	// TrainingInstanceTypeMlG4dn4xlarge is a TrainingInstanceType enum value
48042	TrainingInstanceTypeMlG4dn4xlarge = "ml.g4dn.4xlarge"
48043
48044	// TrainingInstanceTypeMlG4dn8xlarge is a TrainingInstanceType enum value
48045	TrainingInstanceTypeMlG4dn8xlarge = "ml.g4dn.8xlarge"
48046
48047	// TrainingInstanceTypeMlG4dn12xlarge is a TrainingInstanceType enum value
48048	TrainingInstanceTypeMlG4dn12xlarge = "ml.g4dn.12xlarge"
48049
48050	// TrainingInstanceTypeMlG4dn16xlarge is a TrainingInstanceType enum value
48051	TrainingInstanceTypeMlG4dn16xlarge = "ml.g4dn.16xlarge"
48052
48053	// TrainingInstanceTypeMlM5Large is a TrainingInstanceType enum value
48054	TrainingInstanceTypeMlM5Large = "ml.m5.large"
48055
48056	// TrainingInstanceTypeMlM5Xlarge is a TrainingInstanceType enum value
48057	TrainingInstanceTypeMlM5Xlarge = "ml.m5.xlarge"
48058
48059	// TrainingInstanceTypeMlM52xlarge is a TrainingInstanceType enum value
48060	TrainingInstanceTypeMlM52xlarge = "ml.m5.2xlarge"
48061
48062	// TrainingInstanceTypeMlM54xlarge is a TrainingInstanceType enum value
48063	TrainingInstanceTypeMlM54xlarge = "ml.m5.4xlarge"
48064
48065	// TrainingInstanceTypeMlM512xlarge is a TrainingInstanceType enum value
48066	TrainingInstanceTypeMlM512xlarge = "ml.m5.12xlarge"
48067
48068	// TrainingInstanceTypeMlM524xlarge is a TrainingInstanceType enum value
48069	TrainingInstanceTypeMlM524xlarge = "ml.m5.24xlarge"
48070
48071	// TrainingInstanceTypeMlC4Xlarge is a TrainingInstanceType enum value
48072	TrainingInstanceTypeMlC4Xlarge = "ml.c4.xlarge"
48073
48074	// TrainingInstanceTypeMlC42xlarge is a TrainingInstanceType enum value
48075	TrainingInstanceTypeMlC42xlarge = "ml.c4.2xlarge"
48076
48077	// TrainingInstanceTypeMlC44xlarge is a TrainingInstanceType enum value
48078	TrainingInstanceTypeMlC44xlarge = "ml.c4.4xlarge"
48079
48080	// TrainingInstanceTypeMlC48xlarge is a TrainingInstanceType enum value
48081	TrainingInstanceTypeMlC48xlarge = "ml.c4.8xlarge"
48082
48083	// TrainingInstanceTypeMlP2Xlarge is a TrainingInstanceType enum value
48084	TrainingInstanceTypeMlP2Xlarge = "ml.p2.xlarge"
48085
48086	// TrainingInstanceTypeMlP28xlarge is a TrainingInstanceType enum value
48087	TrainingInstanceTypeMlP28xlarge = "ml.p2.8xlarge"
48088
48089	// TrainingInstanceTypeMlP216xlarge is a TrainingInstanceType enum value
48090	TrainingInstanceTypeMlP216xlarge = "ml.p2.16xlarge"
48091
48092	// TrainingInstanceTypeMlP32xlarge is a TrainingInstanceType enum value
48093	TrainingInstanceTypeMlP32xlarge = "ml.p3.2xlarge"
48094
48095	// TrainingInstanceTypeMlP38xlarge is a TrainingInstanceType enum value
48096	TrainingInstanceTypeMlP38xlarge = "ml.p3.8xlarge"
48097
48098	// TrainingInstanceTypeMlP316xlarge is a TrainingInstanceType enum value
48099	TrainingInstanceTypeMlP316xlarge = "ml.p3.16xlarge"
48100
48101	// TrainingInstanceTypeMlP3dn24xlarge is a TrainingInstanceType enum value
48102	TrainingInstanceTypeMlP3dn24xlarge = "ml.p3dn.24xlarge"
48103
48104	// TrainingInstanceTypeMlC5Xlarge is a TrainingInstanceType enum value
48105	TrainingInstanceTypeMlC5Xlarge = "ml.c5.xlarge"
48106
48107	// TrainingInstanceTypeMlC52xlarge is a TrainingInstanceType enum value
48108	TrainingInstanceTypeMlC52xlarge = "ml.c5.2xlarge"
48109
48110	// TrainingInstanceTypeMlC54xlarge is a TrainingInstanceType enum value
48111	TrainingInstanceTypeMlC54xlarge = "ml.c5.4xlarge"
48112
48113	// TrainingInstanceTypeMlC59xlarge is a TrainingInstanceType enum value
48114	TrainingInstanceTypeMlC59xlarge = "ml.c5.9xlarge"
48115
48116	// TrainingInstanceTypeMlC518xlarge is a TrainingInstanceType enum value
48117	TrainingInstanceTypeMlC518xlarge = "ml.c5.18xlarge"
48118
48119	// TrainingInstanceTypeMlC5nXlarge is a TrainingInstanceType enum value
48120	TrainingInstanceTypeMlC5nXlarge = "ml.c5n.xlarge"
48121
48122	// TrainingInstanceTypeMlC5n2xlarge is a TrainingInstanceType enum value
48123	TrainingInstanceTypeMlC5n2xlarge = "ml.c5n.2xlarge"
48124
48125	// TrainingInstanceTypeMlC5n4xlarge is a TrainingInstanceType enum value
48126	TrainingInstanceTypeMlC5n4xlarge = "ml.c5n.4xlarge"
48127
48128	// TrainingInstanceTypeMlC5n9xlarge is a TrainingInstanceType enum value
48129	TrainingInstanceTypeMlC5n9xlarge = "ml.c5n.9xlarge"
48130
48131	// TrainingInstanceTypeMlC5n18xlarge is a TrainingInstanceType enum value
48132	TrainingInstanceTypeMlC5n18xlarge = "ml.c5n.18xlarge"
48133)
48134
48135const (
48136	// TrainingJobEarlyStoppingTypeOff is a TrainingJobEarlyStoppingType enum value
48137	TrainingJobEarlyStoppingTypeOff = "Off"
48138
48139	// TrainingJobEarlyStoppingTypeAuto is a TrainingJobEarlyStoppingType enum value
48140	TrainingJobEarlyStoppingTypeAuto = "Auto"
48141)
48142
48143const (
48144	// TrainingJobSortByOptionsName is a TrainingJobSortByOptions enum value
48145	TrainingJobSortByOptionsName = "Name"
48146
48147	// TrainingJobSortByOptionsCreationTime is a TrainingJobSortByOptions enum value
48148	TrainingJobSortByOptionsCreationTime = "CreationTime"
48149
48150	// TrainingJobSortByOptionsStatus is a TrainingJobSortByOptions enum value
48151	TrainingJobSortByOptionsStatus = "Status"
48152
48153	// TrainingJobSortByOptionsFinalObjectiveMetricValue is a TrainingJobSortByOptions enum value
48154	TrainingJobSortByOptionsFinalObjectiveMetricValue = "FinalObjectiveMetricValue"
48155)
48156
48157const (
48158	// TrainingJobStatusInProgress is a TrainingJobStatus enum value
48159	TrainingJobStatusInProgress = "InProgress"
48160
48161	// TrainingJobStatusCompleted is a TrainingJobStatus enum value
48162	TrainingJobStatusCompleted = "Completed"
48163
48164	// TrainingJobStatusFailed is a TrainingJobStatus enum value
48165	TrainingJobStatusFailed = "Failed"
48166
48167	// TrainingJobStatusStopping is a TrainingJobStatus enum value
48168	TrainingJobStatusStopping = "Stopping"
48169
48170	// TrainingJobStatusStopped is a TrainingJobStatus enum value
48171	TrainingJobStatusStopped = "Stopped"
48172)
48173
48174const (
48175	// TransformInstanceTypeMlM4Xlarge is a TransformInstanceType enum value
48176	TransformInstanceTypeMlM4Xlarge = "ml.m4.xlarge"
48177
48178	// TransformInstanceTypeMlM42xlarge is a TransformInstanceType enum value
48179	TransformInstanceTypeMlM42xlarge = "ml.m4.2xlarge"
48180
48181	// TransformInstanceTypeMlM44xlarge is a TransformInstanceType enum value
48182	TransformInstanceTypeMlM44xlarge = "ml.m4.4xlarge"
48183
48184	// TransformInstanceTypeMlM410xlarge is a TransformInstanceType enum value
48185	TransformInstanceTypeMlM410xlarge = "ml.m4.10xlarge"
48186
48187	// TransformInstanceTypeMlM416xlarge is a TransformInstanceType enum value
48188	TransformInstanceTypeMlM416xlarge = "ml.m4.16xlarge"
48189
48190	// TransformInstanceTypeMlC4Xlarge is a TransformInstanceType enum value
48191	TransformInstanceTypeMlC4Xlarge = "ml.c4.xlarge"
48192
48193	// TransformInstanceTypeMlC42xlarge is a TransformInstanceType enum value
48194	TransformInstanceTypeMlC42xlarge = "ml.c4.2xlarge"
48195
48196	// TransformInstanceTypeMlC44xlarge is a TransformInstanceType enum value
48197	TransformInstanceTypeMlC44xlarge = "ml.c4.4xlarge"
48198
48199	// TransformInstanceTypeMlC48xlarge is a TransformInstanceType enum value
48200	TransformInstanceTypeMlC48xlarge = "ml.c4.8xlarge"
48201
48202	// TransformInstanceTypeMlP2Xlarge is a TransformInstanceType enum value
48203	TransformInstanceTypeMlP2Xlarge = "ml.p2.xlarge"
48204
48205	// TransformInstanceTypeMlP28xlarge is a TransformInstanceType enum value
48206	TransformInstanceTypeMlP28xlarge = "ml.p2.8xlarge"
48207
48208	// TransformInstanceTypeMlP216xlarge is a TransformInstanceType enum value
48209	TransformInstanceTypeMlP216xlarge = "ml.p2.16xlarge"
48210
48211	// TransformInstanceTypeMlP32xlarge is a TransformInstanceType enum value
48212	TransformInstanceTypeMlP32xlarge = "ml.p3.2xlarge"
48213
48214	// TransformInstanceTypeMlP38xlarge is a TransformInstanceType enum value
48215	TransformInstanceTypeMlP38xlarge = "ml.p3.8xlarge"
48216
48217	// TransformInstanceTypeMlP316xlarge is a TransformInstanceType enum value
48218	TransformInstanceTypeMlP316xlarge = "ml.p3.16xlarge"
48219
48220	// TransformInstanceTypeMlC5Xlarge is a TransformInstanceType enum value
48221	TransformInstanceTypeMlC5Xlarge = "ml.c5.xlarge"
48222
48223	// TransformInstanceTypeMlC52xlarge is a TransformInstanceType enum value
48224	TransformInstanceTypeMlC52xlarge = "ml.c5.2xlarge"
48225
48226	// TransformInstanceTypeMlC54xlarge is a TransformInstanceType enum value
48227	TransformInstanceTypeMlC54xlarge = "ml.c5.4xlarge"
48228
48229	// TransformInstanceTypeMlC59xlarge is a TransformInstanceType enum value
48230	TransformInstanceTypeMlC59xlarge = "ml.c5.9xlarge"
48231
48232	// TransformInstanceTypeMlC518xlarge is a TransformInstanceType enum value
48233	TransformInstanceTypeMlC518xlarge = "ml.c5.18xlarge"
48234
48235	// TransformInstanceTypeMlM5Large is a TransformInstanceType enum value
48236	TransformInstanceTypeMlM5Large = "ml.m5.large"
48237
48238	// TransformInstanceTypeMlM5Xlarge is a TransformInstanceType enum value
48239	TransformInstanceTypeMlM5Xlarge = "ml.m5.xlarge"
48240
48241	// TransformInstanceTypeMlM52xlarge is a TransformInstanceType enum value
48242	TransformInstanceTypeMlM52xlarge = "ml.m5.2xlarge"
48243
48244	// TransformInstanceTypeMlM54xlarge is a TransformInstanceType enum value
48245	TransformInstanceTypeMlM54xlarge = "ml.m5.4xlarge"
48246
48247	// TransformInstanceTypeMlM512xlarge is a TransformInstanceType enum value
48248	TransformInstanceTypeMlM512xlarge = "ml.m5.12xlarge"
48249
48250	// TransformInstanceTypeMlM524xlarge is a TransformInstanceType enum value
48251	TransformInstanceTypeMlM524xlarge = "ml.m5.24xlarge"
48252)
48253
48254const (
48255	// TransformJobStatusInProgress is a TransformJobStatus enum value
48256	TransformJobStatusInProgress = "InProgress"
48257
48258	// TransformJobStatusCompleted is a TransformJobStatus enum value
48259	TransformJobStatusCompleted = "Completed"
48260
48261	// TransformJobStatusFailed is a TransformJobStatus enum value
48262	TransformJobStatusFailed = "Failed"
48263
48264	// TransformJobStatusStopping is a TransformJobStatus enum value
48265	TransformJobStatusStopping = "Stopping"
48266
48267	// TransformJobStatusStopped is a TransformJobStatus enum value
48268	TransformJobStatusStopped = "Stopped"
48269)
48270
48271const (
48272	// TrialComponentPrimaryStatusInProgress is a TrialComponentPrimaryStatus enum value
48273	TrialComponentPrimaryStatusInProgress = "InProgress"
48274
48275	// TrialComponentPrimaryStatusCompleted is a TrialComponentPrimaryStatus enum value
48276	TrialComponentPrimaryStatusCompleted = "Completed"
48277
48278	// TrialComponentPrimaryStatusFailed is a TrialComponentPrimaryStatus enum value
48279	TrialComponentPrimaryStatusFailed = "Failed"
48280
48281	// TrialComponentPrimaryStatusStopping is a TrialComponentPrimaryStatus enum value
48282	TrialComponentPrimaryStatusStopping = "Stopping"
48283
48284	// TrialComponentPrimaryStatusStopped is a TrialComponentPrimaryStatus enum value
48285	TrialComponentPrimaryStatusStopped = "Stopped"
48286)
48287
48288const (
48289	// UserProfileSortKeyCreationTime is a UserProfileSortKey enum value
48290	UserProfileSortKeyCreationTime = "CreationTime"
48291
48292	// UserProfileSortKeyLastModifiedTime is a UserProfileSortKey enum value
48293	UserProfileSortKeyLastModifiedTime = "LastModifiedTime"
48294)
48295
48296const (
48297	// UserProfileStatusDeleting is a UserProfileStatus enum value
48298	UserProfileStatusDeleting = "Deleting"
48299
48300	// UserProfileStatusFailed is a UserProfileStatus enum value
48301	UserProfileStatusFailed = "Failed"
48302
48303	// UserProfileStatusInService is a UserProfileStatus enum value
48304	UserProfileStatusInService = "InService"
48305
48306	// UserProfileStatusPending is a UserProfileStatus enum value
48307	UserProfileStatusPending = "Pending"
48308)
48309
48310const (
48311	// VariantPropertyTypeDesiredInstanceCount is a VariantPropertyType enum value
48312	VariantPropertyTypeDesiredInstanceCount = "DesiredInstanceCount"
48313
48314	// VariantPropertyTypeDesiredWeight is a VariantPropertyType enum value
48315	VariantPropertyTypeDesiredWeight = "DesiredWeight"
48316
48317	// VariantPropertyTypeDataCaptureConfig is a VariantPropertyType enum value
48318	VariantPropertyTypeDataCaptureConfig = "DataCaptureConfig"
48319)
48320