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 opAddAssociation = "AddAssociation"
17
18// AddAssociationRequest generates a "aws/request.Request" representing the
19// client's request for the AddAssociation 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 AddAssociation for more information on using the AddAssociation
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 AddAssociationRequest method.
34//    req, resp := client.AddAssociationRequest(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/AddAssociation
42func (c *SageMaker) AddAssociationRequest(input *AddAssociationInput) (req *request.Request, output *AddAssociationOutput) {
43	op := &request.Operation{
44		Name:       opAddAssociation,
45		HTTPMethod: "POST",
46		HTTPPath:   "/",
47	}
48
49	if input == nil {
50		input = &AddAssociationInput{}
51	}
52
53	output = &AddAssociationOutput{}
54	req = c.newRequest(op, input, output)
55	return
56}
57
58// AddAssociation API operation for Amazon SageMaker Service.
59//
60// Creates an association between the source and the destination. A source can
61// be associated with multiple destinations, and a destination can be associated
62// with multiple sources. An association is a lineage tracking entity. For more
63// information, see Amazon SageMaker ML Lineage Tracking (https://docs.aws.amazon.com/sagemaker/latest/dg/lineage-tracking.html).
64//
65// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
66// with awserr.Error's Code and Message methods to get detailed information about
67// the error.
68//
69// See the AWS API reference guide for Amazon SageMaker Service's
70// API operation AddAssociation for usage and error information.
71//
72// Returned Error Types:
73//   * ResourceNotFound
74//   Resource being access is not found.
75//
76//   * ResourceLimitExceeded
77//   You have exceeded an Amazon SageMaker resource limit. For example, you might
78//   have too many training jobs created.
79//
80// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AddAssociation
81func (c *SageMaker) AddAssociation(input *AddAssociationInput) (*AddAssociationOutput, error) {
82	req, out := c.AddAssociationRequest(input)
83	return out, req.Send()
84}
85
86// AddAssociationWithContext is the same as AddAssociation with the addition of
87// the ability to pass a context and additional request options.
88//
89// See AddAssociation for details on how to use this API operation.
90//
91// The context must be non-nil and will be used for request cancellation. If
92// the context is nil a panic will occur. In the future the SDK may create
93// sub-contexts for http.Requests. See https://golang.org/pkg/context/
94// for more information on using Contexts.
95func (c *SageMaker) AddAssociationWithContext(ctx aws.Context, input *AddAssociationInput, opts ...request.Option) (*AddAssociationOutput, error) {
96	req, out := c.AddAssociationRequest(input)
97	req.SetContext(ctx)
98	req.ApplyOptions(opts...)
99	return out, req.Send()
100}
101
102const opAddTags = "AddTags"
103
104// AddTagsRequest generates a "aws/request.Request" representing the
105// client's request for the AddTags operation. The "output" return
106// value will be populated with the request's response once the request completes
107// successfully.
108//
109// Use "Send" method on the returned Request to send the API call to the service.
110// the "output" return value is not valid until after Send returns without error.
111//
112// See AddTags for more information on using the AddTags
113// API call, and error handling.
114//
115// This method is useful when you want to inject custom logic or configuration
116// into the SDK's request lifecycle. Such as custom headers, or retry logic.
117//
118//
119//    // Example sending a request using the AddTagsRequest method.
120//    req, resp := client.AddTagsRequest(params)
121//
122//    err := req.Send()
123//    if err == nil { // resp is now filled
124//        fmt.Println(resp)
125//    }
126//
127// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AddTags
128func (c *SageMaker) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput) {
129	op := &request.Operation{
130		Name:       opAddTags,
131		HTTPMethod: "POST",
132		HTTPPath:   "/",
133	}
134
135	if input == nil {
136		input = &AddTagsInput{}
137	}
138
139	output = &AddTagsOutput{}
140	req = c.newRequest(op, input, output)
141	return
142}
143
144// AddTags API operation for Amazon SageMaker Service.
145//
146// Adds or overwrites one or more tags for the specified Amazon SageMaker resource.
147// You can add tags to notebook instances, training jobs, hyperparameter tuning
148// jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations,
149// and endpoints.
150//
151// Each tag consists of a key and an optional value. Tag keys must be unique
152// per resource. For more information about tags, see For more information,
153// see AWS Tagging Strategies (https://aws.amazon.com/answers/account-management/aws-tagging-strategies/).
154//
155// Tags that you add to a hyperparameter tuning job by calling this API are
156// also added to any training jobs that the hyperparameter tuning job launches
157// after you call this API, but not to training jobs that the hyperparameter
158// tuning job launched before you called this API. To make sure that the tags
159// associated with a hyperparameter tuning job are also added to all training
160// jobs that the hyperparameter tuning job launches, add the tags when you first
161// create the tuning job by specifying them in the Tags parameter of CreateHyperParameterTuningJob
162//
163// Tags that you add to a SageMaker Studio Domain or User Profile by calling
164// this API are also added to any Apps that the Domain or User Profile launches
165// after you call this API, but not to Apps that the Domain or User Profile
166// launched before you called this API. To make sure that the tags associated
167// with a Domain or User Profile are also added to all Apps that the Domain
168// or User Profile launches, add the tags when you first create the Domain or
169// User Profile by specifying them in the Tags parameter of CreateDomain or
170// CreateUserProfile.
171//
172// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
173// with awserr.Error's Code and Message methods to get detailed information about
174// the error.
175//
176// See the AWS API reference guide for Amazon SageMaker Service's
177// API operation AddTags for usage and error information.
178// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AddTags
179func (c *SageMaker) AddTags(input *AddTagsInput) (*AddTagsOutput, error) {
180	req, out := c.AddTagsRequest(input)
181	return out, req.Send()
182}
183
184// AddTagsWithContext is the same as AddTags with the addition of
185// the ability to pass a context and additional request options.
186//
187// See AddTags for details on how to use this API operation.
188//
189// The context must be non-nil and will be used for request cancellation. If
190// the context is nil a panic will occur. In the future the SDK may create
191// sub-contexts for http.Requests. See https://golang.org/pkg/context/
192// for more information on using Contexts.
193func (c *SageMaker) AddTagsWithContext(ctx aws.Context, input *AddTagsInput, opts ...request.Option) (*AddTagsOutput, error) {
194	req, out := c.AddTagsRequest(input)
195	req.SetContext(ctx)
196	req.ApplyOptions(opts...)
197	return out, req.Send()
198}
199
200const opAssociateTrialComponent = "AssociateTrialComponent"
201
202// AssociateTrialComponentRequest generates a "aws/request.Request" representing the
203// client's request for the AssociateTrialComponent operation. The "output" return
204// value will be populated with the request's response once the request completes
205// successfully.
206//
207// Use "Send" method on the returned Request to send the API call to the service.
208// the "output" return value is not valid until after Send returns without error.
209//
210// See AssociateTrialComponent for more information on using the AssociateTrialComponent
211// API call, and error handling.
212//
213// This method is useful when you want to inject custom logic or configuration
214// into the SDK's request lifecycle. Such as custom headers, or retry logic.
215//
216//
217//    // Example sending a request using the AssociateTrialComponentRequest method.
218//    req, resp := client.AssociateTrialComponentRequest(params)
219//
220//    err := req.Send()
221//    if err == nil { // resp is now filled
222//        fmt.Println(resp)
223//    }
224//
225// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AssociateTrialComponent
226func (c *SageMaker) AssociateTrialComponentRequest(input *AssociateTrialComponentInput) (req *request.Request, output *AssociateTrialComponentOutput) {
227	op := &request.Operation{
228		Name:       opAssociateTrialComponent,
229		HTTPMethod: "POST",
230		HTTPPath:   "/",
231	}
232
233	if input == nil {
234		input = &AssociateTrialComponentInput{}
235	}
236
237	output = &AssociateTrialComponentOutput{}
238	req = c.newRequest(op, input, output)
239	return
240}
241
242// AssociateTrialComponent API operation for Amazon SageMaker Service.
243//
244// Associates a trial component with a trial. A trial component can be associated
245// with multiple trials. To disassociate a trial component from a trial, call
246// the DisassociateTrialComponent API.
247//
248// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
249// with awserr.Error's Code and Message methods to get detailed information about
250// the error.
251//
252// See the AWS API reference guide for Amazon SageMaker Service's
253// API operation AssociateTrialComponent for usage and error information.
254//
255// Returned Error Types:
256//   * ResourceNotFound
257//   Resource being access is not found.
258//
259//   * ResourceLimitExceeded
260//   You have exceeded an Amazon SageMaker resource limit. For example, you might
261//   have too many training jobs created.
262//
263// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AssociateTrialComponent
264func (c *SageMaker) AssociateTrialComponent(input *AssociateTrialComponentInput) (*AssociateTrialComponentOutput, error) {
265	req, out := c.AssociateTrialComponentRequest(input)
266	return out, req.Send()
267}
268
269// AssociateTrialComponentWithContext is the same as AssociateTrialComponent with the addition of
270// the ability to pass a context and additional request options.
271//
272// See AssociateTrialComponent for details on how to use this API operation.
273//
274// The context must be non-nil and will be used for request cancellation. If
275// the context is nil a panic will occur. In the future the SDK may create
276// sub-contexts for http.Requests. See https://golang.org/pkg/context/
277// for more information on using Contexts.
278func (c *SageMaker) AssociateTrialComponentWithContext(ctx aws.Context, input *AssociateTrialComponentInput, opts ...request.Option) (*AssociateTrialComponentOutput, error) {
279	req, out := c.AssociateTrialComponentRequest(input)
280	req.SetContext(ctx)
281	req.ApplyOptions(opts...)
282	return out, req.Send()
283}
284
285const opCreateAction = "CreateAction"
286
287// CreateActionRequest generates a "aws/request.Request" representing the
288// client's request for the CreateAction operation. The "output" return
289// value will be populated with the request's response once the request completes
290// successfully.
291//
292// Use "Send" method on the returned Request to send the API call to the service.
293// the "output" return value is not valid until after Send returns without error.
294//
295// See CreateAction for more information on using the CreateAction
296// API call, and error handling.
297//
298// This method is useful when you want to inject custom logic or configuration
299// into the SDK's request lifecycle. Such as custom headers, or retry logic.
300//
301//
302//    // Example sending a request using the CreateActionRequest method.
303//    req, resp := client.CreateActionRequest(params)
304//
305//    err := req.Send()
306//    if err == nil { // resp is now filled
307//        fmt.Println(resp)
308//    }
309//
310// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAction
311func (c *SageMaker) CreateActionRequest(input *CreateActionInput) (req *request.Request, output *CreateActionOutput) {
312	op := &request.Operation{
313		Name:       opCreateAction,
314		HTTPMethod: "POST",
315		HTTPPath:   "/",
316	}
317
318	if input == nil {
319		input = &CreateActionInput{}
320	}
321
322	output = &CreateActionOutput{}
323	req = c.newRequest(op, input, output)
324	return
325}
326
327// CreateAction API operation for Amazon SageMaker Service.
328//
329// Creates an action. An action is a lineage tracking entity that represents
330// an action or activity. For example, a model deployment or an HPO job. Generally,
331// an action involves at least one input or output artifact. For more information,
332// see Amazon SageMaker ML Lineage Tracking (https://docs.aws.amazon.com/sagemaker/latest/dg/lineage-tracking.html).
333//
334// CreateAction can only be invoked from within an SageMaker managed environment.
335// This includes SageMaker training jobs, processing jobs, transform jobs, and
336// SageMaker notebooks. A call to CreateAction from outside one of these environments
337// results in an error.
338//
339// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
340// with awserr.Error's Code and Message methods to get detailed information about
341// the error.
342//
343// See the AWS API reference guide for Amazon SageMaker Service's
344// API operation CreateAction for usage and error information.
345//
346// Returned Error Types:
347//   * ResourceLimitExceeded
348//   You have exceeded an Amazon SageMaker resource limit. For example, you might
349//   have too many training jobs created.
350//
351// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAction
352func (c *SageMaker) CreateAction(input *CreateActionInput) (*CreateActionOutput, error) {
353	req, out := c.CreateActionRequest(input)
354	return out, req.Send()
355}
356
357// CreateActionWithContext is the same as CreateAction with the addition of
358// the ability to pass a context and additional request options.
359//
360// See CreateAction for details on how to use this API operation.
361//
362// The context must be non-nil and will be used for request cancellation. If
363// the context is nil a panic will occur. In the future the SDK may create
364// sub-contexts for http.Requests. See https://golang.org/pkg/context/
365// for more information on using Contexts.
366func (c *SageMaker) CreateActionWithContext(ctx aws.Context, input *CreateActionInput, opts ...request.Option) (*CreateActionOutput, error) {
367	req, out := c.CreateActionRequest(input)
368	req.SetContext(ctx)
369	req.ApplyOptions(opts...)
370	return out, req.Send()
371}
372
373const opCreateAlgorithm = "CreateAlgorithm"
374
375// CreateAlgorithmRequest generates a "aws/request.Request" representing the
376// client's request for the CreateAlgorithm operation. The "output" return
377// value will be populated with the request's response once the request completes
378// successfully.
379//
380// Use "Send" method on the returned Request to send the API call to the service.
381// the "output" return value is not valid until after Send returns without error.
382//
383// See CreateAlgorithm for more information on using the CreateAlgorithm
384// API call, and error handling.
385//
386// This method is useful when you want to inject custom logic or configuration
387// into the SDK's request lifecycle. Such as custom headers, or retry logic.
388//
389//
390//    // Example sending a request using the CreateAlgorithmRequest method.
391//    req, resp := client.CreateAlgorithmRequest(params)
392//
393//    err := req.Send()
394//    if err == nil { // resp is now filled
395//        fmt.Println(resp)
396//    }
397//
398// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAlgorithm
399func (c *SageMaker) CreateAlgorithmRequest(input *CreateAlgorithmInput) (req *request.Request, output *CreateAlgorithmOutput) {
400	op := &request.Operation{
401		Name:       opCreateAlgorithm,
402		HTTPMethod: "POST",
403		HTTPPath:   "/",
404	}
405
406	if input == nil {
407		input = &CreateAlgorithmInput{}
408	}
409
410	output = &CreateAlgorithmOutput{}
411	req = c.newRequest(op, input, output)
412	return
413}
414
415// CreateAlgorithm API operation for Amazon SageMaker Service.
416//
417// Create a machine learning algorithm that you can use in Amazon SageMaker
418// and list in the AWS Marketplace.
419//
420// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
421// with awserr.Error's Code and Message methods to get detailed information about
422// the error.
423//
424// See the AWS API reference guide for Amazon SageMaker Service's
425// API operation CreateAlgorithm for usage and error information.
426// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAlgorithm
427func (c *SageMaker) CreateAlgorithm(input *CreateAlgorithmInput) (*CreateAlgorithmOutput, error) {
428	req, out := c.CreateAlgorithmRequest(input)
429	return out, req.Send()
430}
431
432// CreateAlgorithmWithContext is the same as CreateAlgorithm with the addition of
433// the ability to pass a context and additional request options.
434//
435// See CreateAlgorithm for details on how to use this API operation.
436//
437// The context must be non-nil and will be used for request cancellation. If
438// the context is nil a panic will occur. In the future the SDK may create
439// sub-contexts for http.Requests. See https://golang.org/pkg/context/
440// for more information on using Contexts.
441func (c *SageMaker) CreateAlgorithmWithContext(ctx aws.Context, input *CreateAlgorithmInput, opts ...request.Option) (*CreateAlgorithmOutput, error) {
442	req, out := c.CreateAlgorithmRequest(input)
443	req.SetContext(ctx)
444	req.ApplyOptions(opts...)
445	return out, req.Send()
446}
447
448const opCreateApp = "CreateApp"
449
450// CreateAppRequest generates a "aws/request.Request" representing the
451// client's request for the CreateApp operation. The "output" return
452// value will be populated with the request's response once the request completes
453// successfully.
454//
455// Use "Send" method on the returned Request to send the API call to the service.
456// the "output" return value is not valid until after Send returns without error.
457//
458// See CreateApp for more information on using the CreateApp
459// API call, and error handling.
460//
461// This method is useful when you want to inject custom logic or configuration
462// into the SDK's request lifecycle. Such as custom headers, or retry logic.
463//
464//
465//    // Example sending a request using the CreateAppRequest method.
466//    req, resp := client.CreateAppRequest(params)
467//
468//    err := req.Send()
469//    if err == nil { // resp is now filled
470//        fmt.Println(resp)
471//    }
472//
473// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateApp
474func (c *SageMaker) CreateAppRequest(input *CreateAppInput) (req *request.Request, output *CreateAppOutput) {
475	op := &request.Operation{
476		Name:       opCreateApp,
477		HTTPMethod: "POST",
478		HTTPPath:   "/",
479	}
480
481	if input == nil {
482		input = &CreateAppInput{}
483	}
484
485	output = &CreateAppOutput{}
486	req = c.newRequest(op, input, output)
487	return
488}
489
490// CreateApp API operation for Amazon SageMaker Service.
491//
492// Creates a running app for the specified UserProfile. Supported apps are JupyterServer
493// and KernelGateway. This operation is automatically invoked by Amazon SageMaker
494// Studio upon access to the associated Domain, and when new kernel configurations
495// are selected by the user. A user may have multiple Apps active simultaneously.
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 CreateApp for usage and error information.
503//
504// Returned Error Types:
505//   * ResourceLimitExceeded
506//   You have exceeded an Amazon SageMaker resource limit. For example, you might
507//   have too many training jobs created.
508//
509//   * ResourceInUse
510//   Resource being accessed is in use.
511//
512// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateApp
513func (c *SageMaker) CreateApp(input *CreateAppInput) (*CreateAppOutput, error) {
514	req, out := c.CreateAppRequest(input)
515	return out, req.Send()
516}
517
518// CreateAppWithContext is the same as CreateApp with the addition of
519// the ability to pass a context and additional request options.
520//
521// See CreateApp for details on how to use this API operation.
522//
523// The context must be non-nil and will be used for request cancellation. If
524// the context is nil a panic will occur. In the future the SDK may create
525// sub-contexts for http.Requests. See https://golang.org/pkg/context/
526// for more information on using Contexts.
527func (c *SageMaker) CreateAppWithContext(ctx aws.Context, input *CreateAppInput, opts ...request.Option) (*CreateAppOutput, error) {
528	req, out := c.CreateAppRequest(input)
529	req.SetContext(ctx)
530	req.ApplyOptions(opts...)
531	return out, req.Send()
532}
533
534const opCreateAppImageConfig = "CreateAppImageConfig"
535
536// CreateAppImageConfigRequest generates a "aws/request.Request" representing the
537// client's request for the CreateAppImageConfig operation. The "output" return
538// value will be populated with the request's response once the request completes
539// successfully.
540//
541// Use "Send" method on the returned Request to send the API call to the service.
542// the "output" return value is not valid until after Send returns without error.
543//
544// See CreateAppImageConfig for more information on using the CreateAppImageConfig
545// API call, and error handling.
546//
547// This method is useful when you want to inject custom logic or configuration
548// into the SDK's request lifecycle. Such as custom headers, or retry logic.
549//
550//
551//    // Example sending a request using the CreateAppImageConfigRequest method.
552//    req, resp := client.CreateAppImageConfigRequest(params)
553//
554//    err := req.Send()
555//    if err == nil { // resp is now filled
556//        fmt.Println(resp)
557//    }
558//
559// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAppImageConfig
560func (c *SageMaker) CreateAppImageConfigRequest(input *CreateAppImageConfigInput) (req *request.Request, output *CreateAppImageConfigOutput) {
561	op := &request.Operation{
562		Name:       opCreateAppImageConfig,
563		HTTPMethod: "POST",
564		HTTPPath:   "/",
565	}
566
567	if input == nil {
568		input = &CreateAppImageConfigInput{}
569	}
570
571	output = &CreateAppImageConfigOutput{}
572	req = c.newRequest(op, input, output)
573	return
574}
575
576// CreateAppImageConfig API operation for Amazon SageMaker Service.
577//
578// Creates a configuration for running a SageMaker image as a KernelGateway
579// app. The configuration specifies the Amazon Elastic File System (EFS) storage
580// volume on the image, and a list of the kernels in the image.
581//
582// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
583// with awserr.Error's Code and Message methods to get detailed information about
584// the error.
585//
586// See the AWS API reference guide for Amazon SageMaker Service's
587// API operation CreateAppImageConfig for usage and error information.
588//
589// Returned Error Types:
590//   * ResourceInUse
591//   Resource being accessed is in use.
592//
593// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAppImageConfig
594func (c *SageMaker) CreateAppImageConfig(input *CreateAppImageConfigInput) (*CreateAppImageConfigOutput, error) {
595	req, out := c.CreateAppImageConfigRequest(input)
596	return out, req.Send()
597}
598
599// CreateAppImageConfigWithContext is the same as CreateAppImageConfig with the addition of
600// the ability to pass a context and additional request options.
601//
602// See CreateAppImageConfig for details on how to use this API operation.
603//
604// The context must be non-nil and will be used for request cancellation. If
605// the context is nil a panic will occur. In the future the SDK may create
606// sub-contexts for http.Requests. See https://golang.org/pkg/context/
607// for more information on using Contexts.
608func (c *SageMaker) CreateAppImageConfigWithContext(ctx aws.Context, input *CreateAppImageConfigInput, opts ...request.Option) (*CreateAppImageConfigOutput, error) {
609	req, out := c.CreateAppImageConfigRequest(input)
610	req.SetContext(ctx)
611	req.ApplyOptions(opts...)
612	return out, req.Send()
613}
614
615const opCreateArtifact = "CreateArtifact"
616
617// CreateArtifactRequest generates a "aws/request.Request" representing the
618// client's request for the CreateArtifact operation. The "output" return
619// value will be populated with the request's response once the request completes
620// successfully.
621//
622// Use "Send" method on the returned Request to send the API call to the service.
623// the "output" return value is not valid until after Send returns without error.
624//
625// See CreateArtifact for more information on using the CreateArtifact
626// API call, and error handling.
627//
628// This method is useful when you want to inject custom logic or configuration
629// into the SDK's request lifecycle. Such as custom headers, or retry logic.
630//
631//
632//    // Example sending a request using the CreateArtifactRequest method.
633//    req, resp := client.CreateArtifactRequest(params)
634//
635//    err := req.Send()
636//    if err == nil { // resp is now filled
637//        fmt.Println(resp)
638//    }
639//
640// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateArtifact
641func (c *SageMaker) CreateArtifactRequest(input *CreateArtifactInput) (req *request.Request, output *CreateArtifactOutput) {
642	op := &request.Operation{
643		Name:       opCreateArtifact,
644		HTTPMethod: "POST",
645		HTTPPath:   "/",
646	}
647
648	if input == nil {
649		input = &CreateArtifactInput{}
650	}
651
652	output = &CreateArtifactOutput{}
653	req = c.newRequest(op, input, output)
654	return
655}
656
657// CreateArtifact API operation for Amazon SageMaker Service.
658//
659// Creates an artifact. An artifact is a lineage tracking entity that represents
660// a URI addressable object or data. Some examples are the S3 URI of a dataset
661// and the ECR registry path of an image. For more information, see Amazon SageMaker
662// ML Lineage Tracking (https://docs.aws.amazon.com/sagemaker/latest/dg/lineage-tracking.html).
663//
664// CreateArtifact can only be invoked from within an SageMaker managed environment.
665// This includes SageMaker training jobs, processing jobs, transform jobs, and
666// SageMaker notebooks. A call to CreateArtifact from outside one of these environments
667// results in an error.
668//
669// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
670// with awserr.Error's Code and Message methods to get detailed information about
671// the error.
672//
673// See the AWS API reference guide for Amazon SageMaker Service's
674// API operation CreateArtifact for usage and error information.
675//
676// Returned Error Types:
677//   * ResourceLimitExceeded
678//   You have exceeded an Amazon SageMaker resource limit. For example, you might
679//   have too many training jobs created.
680//
681// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateArtifact
682func (c *SageMaker) CreateArtifact(input *CreateArtifactInput) (*CreateArtifactOutput, error) {
683	req, out := c.CreateArtifactRequest(input)
684	return out, req.Send()
685}
686
687// CreateArtifactWithContext is the same as CreateArtifact with the addition of
688// the ability to pass a context and additional request options.
689//
690// See CreateArtifact for details on how to use this API operation.
691//
692// The context must be non-nil and will be used for request cancellation. If
693// the context is nil a panic will occur. In the future the SDK may create
694// sub-contexts for http.Requests. See https://golang.org/pkg/context/
695// for more information on using Contexts.
696func (c *SageMaker) CreateArtifactWithContext(ctx aws.Context, input *CreateArtifactInput, opts ...request.Option) (*CreateArtifactOutput, error) {
697	req, out := c.CreateArtifactRequest(input)
698	req.SetContext(ctx)
699	req.ApplyOptions(opts...)
700	return out, req.Send()
701}
702
703const opCreateAutoMLJob = "CreateAutoMLJob"
704
705// CreateAutoMLJobRequest generates a "aws/request.Request" representing the
706// client's request for the CreateAutoMLJob operation. The "output" return
707// value will be populated with the request's response once the request completes
708// successfully.
709//
710// Use "Send" method on the returned Request to send the API call to the service.
711// the "output" return value is not valid until after Send returns without error.
712//
713// See CreateAutoMLJob for more information on using the CreateAutoMLJob
714// API call, and error handling.
715//
716// This method is useful when you want to inject custom logic or configuration
717// into the SDK's request lifecycle. Such as custom headers, or retry logic.
718//
719//
720//    // Example sending a request using the CreateAutoMLJobRequest method.
721//    req, resp := client.CreateAutoMLJobRequest(params)
722//
723//    err := req.Send()
724//    if err == nil { // resp is now filled
725//        fmt.Println(resp)
726//    }
727//
728// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAutoMLJob
729func (c *SageMaker) CreateAutoMLJobRequest(input *CreateAutoMLJobInput) (req *request.Request, output *CreateAutoMLJobOutput) {
730	op := &request.Operation{
731		Name:       opCreateAutoMLJob,
732		HTTPMethod: "POST",
733		HTTPPath:   "/",
734	}
735
736	if input == nil {
737		input = &CreateAutoMLJobInput{}
738	}
739
740	output = &CreateAutoMLJobOutput{}
741	req = c.newRequest(op, input, output)
742	return
743}
744
745// CreateAutoMLJob API operation for Amazon SageMaker Service.
746//
747// Creates an Autopilot job.
748//
749// Find the best performing model after you run an Autopilot job by calling .
750//
751// For information about how to use Autopilot, see Automate Model Development
752// with Amazon SageMaker Autopilot (https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development.html).
753//
754// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
755// with awserr.Error's Code and Message methods to get detailed information about
756// the error.
757//
758// See the AWS API reference guide for Amazon SageMaker Service's
759// API operation CreateAutoMLJob for usage and error information.
760//
761// Returned Error Types:
762//   * ResourceInUse
763//   Resource being accessed is in use.
764//
765//   * ResourceLimitExceeded
766//   You have exceeded an Amazon SageMaker resource limit. For example, you might
767//   have too many training jobs created.
768//
769// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAutoMLJob
770func (c *SageMaker) CreateAutoMLJob(input *CreateAutoMLJobInput) (*CreateAutoMLJobOutput, error) {
771	req, out := c.CreateAutoMLJobRequest(input)
772	return out, req.Send()
773}
774
775// CreateAutoMLJobWithContext is the same as CreateAutoMLJob with the addition of
776// the ability to pass a context and additional request options.
777//
778// See CreateAutoMLJob for details on how to use this API operation.
779//
780// The context must be non-nil and will be used for request cancellation. If
781// the context is nil a panic will occur. In the future the SDK may create
782// sub-contexts for http.Requests. See https://golang.org/pkg/context/
783// for more information on using Contexts.
784func (c *SageMaker) CreateAutoMLJobWithContext(ctx aws.Context, input *CreateAutoMLJobInput, opts ...request.Option) (*CreateAutoMLJobOutput, error) {
785	req, out := c.CreateAutoMLJobRequest(input)
786	req.SetContext(ctx)
787	req.ApplyOptions(opts...)
788	return out, req.Send()
789}
790
791const opCreateCodeRepository = "CreateCodeRepository"
792
793// CreateCodeRepositoryRequest generates a "aws/request.Request" representing the
794// client's request for the CreateCodeRepository operation. The "output" return
795// value will be populated with the request's response once the request completes
796// successfully.
797//
798// Use "Send" method on the returned Request to send the API call to the service.
799// the "output" return value is not valid until after Send returns without error.
800//
801// See CreateCodeRepository for more information on using the CreateCodeRepository
802// API call, and error handling.
803//
804// This method is useful when you want to inject custom logic or configuration
805// into the SDK's request lifecycle. Such as custom headers, or retry logic.
806//
807//
808//    // Example sending a request using the CreateCodeRepositoryRequest method.
809//    req, resp := client.CreateCodeRepositoryRequest(params)
810//
811//    err := req.Send()
812//    if err == nil { // resp is now filled
813//        fmt.Println(resp)
814//    }
815//
816// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCodeRepository
817func (c *SageMaker) CreateCodeRepositoryRequest(input *CreateCodeRepositoryInput) (req *request.Request, output *CreateCodeRepositoryOutput) {
818	op := &request.Operation{
819		Name:       opCreateCodeRepository,
820		HTTPMethod: "POST",
821		HTTPPath:   "/",
822	}
823
824	if input == nil {
825		input = &CreateCodeRepositoryInput{}
826	}
827
828	output = &CreateCodeRepositoryOutput{}
829	req = c.newRequest(op, input, output)
830	return
831}
832
833// CreateCodeRepository API operation for Amazon SageMaker Service.
834//
835// Creates a Git repository as a resource in your Amazon SageMaker account.
836// You can associate the repository with notebook instances so that you can
837// use Git source control for the notebooks you create. The Git repository is
838// a resource in your Amazon SageMaker account, so it can be associated with
839// more than one notebook instance, and it persists independently from the lifecycle
840// of any notebook instances it is associated with.
841//
842// The repository can be hosted either in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
843// or in any other Git repository.
844//
845// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
846// with awserr.Error's Code and Message methods to get detailed information about
847// the error.
848//
849// See the AWS API reference guide for Amazon SageMaker Service's
850// API operation CreateCodeRepository for usage and error information.
851// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCodeRepository
852func (c *SageMaker) CreateCodeRepository(input *CreateCodeRepositoryInput) (*CreateCodeRepositoryOutput, error) {
853	req, out := c.CreateCodeRepositoryRequest(input)
854	return out, req.Send()
855}
856
857// CreateCodeRepositoryWithContext is the same as CreateCodeRepository with the addition of
858// the ability to pass a context and additional request options.
859//
860// See CreateCodeRepository for details on how to use this API operation.
861//
862// The context must be non-nil and will be used for request cancellation. If
863// the context is nil a panic will occur. In the future the SDK may create
864// sub-contexts for http.Requests. See https://golang.org/pkg/context/
865// for more information on using Contexts.
866func (c *SageMaker) CreateCodeRepositoryWithContext(ctx aws.Context, input *CreateCodeRepositoryInput, opts ...request.Option) (*CreateCodeRepositoryOutput, error) {
867	req, out := c.CreateCodeRepositoryRequest(input)
868	req.SetContext(ctx)
869	req.ApplyOptions(opts...)
870	return out, req.Send()
871}
872
873const opCreateCompilationJob = "CreateCompilationJob"
874
875// CreateCompilationJobRequest generates a "aws/request.Request" representing the
876// client's request for the CreateCompilationJob operation. The "output" return
877// value will be populated with the request's response once the request completes
878// successfully.
879//
880// Use "Send" method on the returned Request to send the API call to the service.
881// the "output" return value is not valid until after Send returns without error.
882//
883// See CreateCompilationJob for more information on using the CreateCompilationJob
884// API call, and error handling.
885//
886// This method is useful when you want to inject custom logic or configuration
887// into the SDK's request lifecycle. Such as custom headers, or retry logic.
888//
889//
890//    // Example sending a request using the CreateCompilationJobRequest method.
891//    req, resp := client.CreateCompilationJobRequest(params)
892//
893//    err := req.Send()
894//    if err == nil { // resp is now filled
895//        fmt.Println(resp)
896//    }
897//
898// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCompilationJob
899func (c *SageMaker) CreateCompilationJobRequest(input *CreateCompilationJobInput) (req *request.Request, output *CreateCompilationJobOutput) {
900	op := &request.Operation{
901		Name:       opCreateCompilationJob,
902		HTTPMethod: "POST",
903		HTTPPath:   "/",
904	}
905
906	if input == nil {
907		input = &CreateCompilationJobInput{}
908	}
909
910	output = &CreateCompilationJobOutput{}
911	req = c.newRequest(op, input, output)
912	return
913}
914
915// CreateCompilationJob API operation for Amazon SageMaker Service.
916//
917// Starts a model compilation job. After the model has been compiled, Amazon
918// SageMaker saves the resulting model artifacts to an Amazon Simple Storage
919// Service (Amazon S3) bucket that you specify.
920//
921// If you choose to host your model using Amazon SageMaker hosting services,
922// you can use the resulting model artifacts as part of the model. You can also
923// use the artifacts with AWS IoT Greengrass. In that case, deploy them as an
924// ML resource.
925//
926// In the request body, you provide the following:
927//
928//    * A name for the compilation job
929//
930//    * Information about the input model artifacts
931//
932//    * The output location for the compiled model and the device (target) that
933//    the model runs on
934//
935//    * The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker
936//    assumes to perform the model compilation job.
937//
938// You can also provide a Tag to track the model compilation job's resource
939// use and costs. The response body contains the CompilationJobArn for the compiled
940// job.
941//
942// To stop a model compilation job, use StopCompilationJob. To get information
943// about a particular model compilation job, use DescribeCompilationJob. To
944// get information about multiple model compilation jobs, use ListCompilationJobs.
945//
946// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
947// with awserr.Error's Code and Message methods to get detailed information about
948// the error.
949//
950// See the AWS API reference guide for Amazon SageMaker Service's
951// API operation CreateCompilationJob for usage and error information.
952//
953// Returned Error Types:
954//   * ResourceInUse
955//   Resource being accessed is in use.
956//
957//   * ResourceLimitExceeded
958//   You have exceeded an Amazon SageMaker resource limit. For example, you might
959//   have too many training jobs created.
960//
961// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCompilationJob
962func (c *SageMaker) CreateCompilationJob(input *CreateCompilationJobInput) (*CreateCompilationJobOutput, error) {
963	req, out := c.CreateCompilationJobRequest(input)
964	return out, req.Send()
965}
966
967// CreateCompilationJobWithContext is the same as CreateCompilationJob with the addition of
968// the ability to pass a context and additional request options.
969//
970// See CreateCompilationJob for details on how to use this API operation.
971//
972// The context must be non-nil and will be used for request cancellation. If
973// the context is nil a panic will occur. In the future the SDK may create
974// sub-contexts for http.Requests. See https://golang.org/pkg/context/
975// for more information on using Contexts.
976func (c *SageMaker) CreateCompilationJobWithContext(ctx aws.Context, input *CreateCompilationJobInput, opts ...request.Option) (*CreateCompilationJobOutput, error) {
977	req, out := c.CreateCompilationJobRequest(input)
978	req.SetContext(ctx)
979	req.ApplyOptions(opts...)
980	return out, req.Send()
981}
982
983const opCreateContext = "CreateContext"
984
985// CreateContextRequest generates a "aws/request.Request" representing the
986// client's request for the CreateContext operation. The "output" return
987// value will be populated with the request's response once the request completes
988// successfully.
989//
990// Use "Send" method on the returned Request to send the API call to the service.
991// the "output" return value is not valid until after Send returns without error.
992//
993// See CreateContext for more information on using the CreateContext
994// API call, and error handling.
995//
996// This method is useful when you want to inject custom logic or configuration
997// into the SDK's request lifecycle. Such as custom headers, or retry logic.
998//
999//
1000//    // Example sending a request using the CreateContextRequest method.
1001//    req, resp := client.CreateContextRequest(params)
1002//
1003//    err := req.Send()
1004//    if err == nil { // resp is now filled
1005//        fmt.Println(resp)
1006//    }
1007//
1008// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateContext
1009func (c *SageMaker) CreateContextRequest(input *CreateContextInput) (req *request.Request, output *CreateContextOutput) {
1010	op := &request.Operation{
1011		Name:       opCreateContext,
1012		HTTPMethod: "POST",
1013		HTTPPath:   "/",
1014	}
1015
1016	if input == nil {
1017		input = &CreateContextInput{}
1018	}
1019
1020	output = &CreateContextOutput{}
1021	req = c.newRequest(op, input, output)
1022	return
1023}
1024
1025// CreateContext API operation for Amazon SageMaker Service.
1026//
1027// Creates a context. A context is a lineage tracking entity that represents
1028// a logical grouping of other tracking or experiment entities. Some examples
1029// are an endpoint and a model package. For more information, see Amazon SageMaker
1030// ML Lineage Tracking (https://docs.aws.amazon.com/sagemaker/latest/dg/lineage-tracking.html).
1031//
1032// CreateContext can only be invoked from within an SageMaker managed environment.
1033// This includes SageMaker training jobs, processing jobs, transform jobs, and
1034// SageMaker notebooks. A call to CreateContext from outside one of these environments
1035// results in an error.
1036//
1037// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1038// with awserr.Error's Code and Message methods to get detailed information about
1039// the error.
1040//
1041// See the AWS API reference guide for Amazon SageMaker Service's
1042// API operation CreateContext for usage and error information.
1043//
1044// Returned Error Types:
1045//   * ResourceLimitExceeded
1046//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1047//   have too many training jobs created.
1048//
1049// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateContext
1050func (c *SageMaker) CreateContext(input *CreateContextInput) (*CreateContextOutput, error) {
1051	req, out := c.CreateContextRequest(input)
1052	return out, req.Send()
1053}
1054
1055// CreateContextWithContext is the same as CreateContext with the addition of
1056// the ability to pass a context and additional request options.
1057//
1058// See CreateContext for details on how to use this API operation.
1059//
1060// The context must be non-nil and will be used for request cancellation. If
1061// the context is nil a panic will occur. In the future the SDK may create
1062// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1063// for more information on using Contexts.
1064func (c *SageMaker) CreateContextWithContext(ctx aws.Context, input *CreateContextInput, opts ...request.Option) (*CreateContextOutput, error) {
1065	req, out := c.CreateContextRequest(input)
1066	req.SetContext(ctx)
1067	req.ApplyOptions(opts...)
1068	return out, req.Send()
1069}
1070
1071const opCreateDataQualityJobDefinition = "CreateDataQualityJobDefinition"
1072
1073// CreateDataQualityJobDefinitionRequest generates a "aws/request.Request" representing the
1074// client's request for the CreateDataQualityJobDefinition operation. The "output" return
1075// value will be populated with the request's response once the request completes
1076// successfully.
1077//
1078// Use "Send" method on the returned Request to send the API call to the service.
1079// the "output" return value is not valid until after Send returns without error.
1080//
1081// See CreateDataQualityJobDefinition for more information on using the CreateDataQualityJobDefinition
1082// API call, and error handling.
1083//
1084// This method is useful when you want to inject custom logic or configuration
1085// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1086//
1087//
1088//    // Example sending a request using the CreateDataQualityJobDefinitionRequest method.
1089//    req, resp := client.CreateDataQualityJobDefinitionRequest(params)
1090//
1091//    err := req.Send()
1092//    if err == nil { // resp is now filled
1093//        fmt.Println(resp)
1094//    }
1095//
1096// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDataQualityJobDefinition
1097func (c *SageMaker) CreateDataQualityJobDefinitionRequest(input *CreateDataQualityJobDefinitionInput) (req *request.Request, output *CreateDataQualityJobDefinitionOutput) {
1098	op := &request.Operation{
1099		Name:       opCreateDataQualityJobDefinition,
1100		HTTPMethod: "POST",
1101		HTTPPath:   "/",
1102	}
1103
1104	if input == nil {
1105		input = &CreateDataQualityJobDefinitionInput{}
1106	}
1107
1108	output = &CreateDataQualityJobDefinitionOutput{}
1109	req = c.newRequest(op, input, output)
1110	return
1111}
1112
1113// CreateDataQualityJobDefinition API operation for Amazon SageMaker Service.
1114//
1115// Creates a definition for a job that monitors data quality and drift. For
1116// information about model monitor, see Amazon SageMaker Model Monitor (https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html).
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 CreateDataQualityJobDefinition 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/CreateDataQualityJobDefinition
1134func (c *SageMaker) CreateDataQualityJobDefinition(input *CreateDataQualityJobDefinitionInput) (*CreateDataQualityJobDefinitionOutput, error) {
1135	req, out := c.CreateDataQualityJobDefinitionRequest(input)
1136	return out, req.Send()
1137}
1138
1139// CreateDataQualityJobDefinitionWithContext is the same as CreateDataQualityJobDefinition with the addition of
1140// the ability to pass a context and additional request options.
1141//
1142// See CreateDataQualityJobDefinition 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) CreateDataQualityJobDefinitionWithContext(ctx aws.Context, input *CreateDataQualityJobDefinitionInput, opts ...request.Option) (*CreateDataQualityJobDefinitionOutput, error) {
1149	req, out := c.CreateDataQualityJobDefinitionRequest(input)
1150	req.SetContext(ctx)
1151	req.ApplyOptions(opts...)
1152	return out, req.Send()
1153}
1154
1155const opCreateDeviceFleet = "CreateDeviceFleet"
1156
1157// CreateDeviceFleetRequest generates a "aws/request.Request" representing the
1158// client's request for the CreateDeviceFleet 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 CreateDeviceFleet for more information on using the CreateDeviceFleet
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 CreateDeviceFleetRequest method.
1173//    req, resp := client.CreateDeviceFleetRequest(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/CreateDeviceFleet
1181func (c *SageMaker) CreateDeviceFleetRequest(input *CreateDeviceFleetInput) (req *request.Request, output *CreateDeviceFleetOutput) {
1182	op := &request.Operation{
1183		Name:       opCreateDeviceFleet,
1184		HTTPMethod: "POST",
1185		HTTPPath:   "/",
1186	}
1187
1188	if input == nil {
1189		input = &CreateDeviceFleetInput{}
1190	}
1191
1192	output = &CreateDeviceFleetOutput{}
1193	req = c.newRequest(op, input, output)
1194	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
1195	return
1196}
1197
1198// CreateDeviceFleet API operation for Amazon SageMaker Service.
1199//
1200// Creates a device fleet.
1201//
1202// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1203// with awserr.Error's Code and Message methods to get detailed information about
1204// the error.
1205//
1206// See the AWS API reference guide for Amazon SageMaker Service's
1207// API operation CreateDeviceFleet for usage and error information.
1208//
1209// Returned Error Types:
1210//   * ResourceInUse
1211//   Resource being accessed is in use.
1212//
1213//   * ResourceLimitExceeded
1214//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1215//   have too many training jobs created.
1216//
1217// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDeviceFleet
1218func (c *SageMaker) CreateDeviceFleet(input *CreateDeviceFleetInput) (*CreateDeviceFleetOutput, error) {
1219	req, out := c.CreateDeviceFleetRequest(input)
1220	return out, req.Send()
1221}
1222
1223// CreateDeviceFleetWithContext is the same as CreateDeviceFleet with the addition of
1224// the ability to pass a context and additional request options.
1225//
1226// See CreateDeviceFleet for details on how to use this API operation.
1227//
1228// The context must be non-nil and will be used for request cancellation. If
1229// the context is nil a panic will occur. In the future the SDK may create
1230// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1231// for more information on using Contexts.
1232func (c *SageMaker) CreateDeviceFleetWithContext(ctx aws.Context, input *CreateDeviceFleetInput, opts ...request.Option) (*CreateDeviceFleetOutput, error) {
1233	req, out := c.CreateDeviceFleetRequest(input)
1234	req.SetContext(ctx)
1235	req.ApplyOptions(opts...)
1236	return out, req.Send()
1237}
1238
1239const opCreateDomain = "CreateDomain"
1240
1241// CreateDomainRequest generates a "aws/request.Request" representing the
1242// client's request for the CreateDomain operation. The "output" return
1243// value will be populated with the request's response once the request completes
1244// successfully.
1245//
1246// Use "Send" method on the returned Request to send the API call to the service.
1247// the "output" return value is not valid until after Send returns without error.
1248//
1249// See CreateDomain for more information on using the CreateDomain
1250// API call, and error handling.
1251//
1252// This method is useful when you want to inject custom logic or configuration
1253// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1254//
1255//
1256//    // Example sending a request using the CreateDomainRequest method.
1257//    req, resp := client.CreateDomainRequest(params)
1258//
1259//    err := req.Send()
1260//    if err == nil { // resp is now filled
1261//        fmt.Println(resp)
1262//    }
1263//
1264// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDomain
1265func (c *SageMaker) CreateDomainRequest(input *CreateDomainInput) (req *request.Request, output *CreateDomainOutput) {
1266	op := &request.Operation{
1267		Name:       opCreateDomain,
1268		HTTPMethod: "POST",
1269		HTTPPath:   "/",
1270	}
1271
1272	if input == nil {
1273		input = &CreateDomainInput{}
1274	}
1275
1276	output = &CreateDomainOutput{}
1277	req = c.newRequest(op, input, output)
1278	return
1279}
1280
1281// CreateDomain API operation for Amazon SageMaker Service.
1282//
1283// Creates a Domain used by Amazon SageMaker Studio. A domain consists of an
1284// associated Amazon Elastic File System (EFS) volume, a list of authorized
1285// users, and a variety of security, application, policy, and Amazon Virtual
1286// Private Cloud (VPC) configurations. An AWS account is limited to one domain
1287// per region. Users within a domain can share notebook files and other artifacts
1288// with each other.
1289//
1290// EFS storage
1291//
1292// When a domain is created, an EFS volume is created for use by all of the
1293// users within the domain. Each user receives a private home directory within
1294// the EFS volume for notebooks, Git repositories, and data files.
1295//
1296// SageMaker uses the AWS Key Management Service (AWS KMS) to encrypt the EFS
1297// volume attached to the domain with an AWS managed customer master key (CMK)
1298// by default. For more control, you can specify a customer managed CMK. For
1299// more information, see Protect Data at Rest Using Encryption (https://docs.aws.amazon.com/sagemaker/latest/dg/encryption-at-rest.html).
1300//
1301// VPC configuration
1302//
1303// All SageMaker Studio traffic between the domain and the EFS volume is through
1304// the specified VPC and subnets. For other Studio traffic, you can specify
1305// the AppNetworkAccessType parameter. AppNetworkAccessType corresponds to the
1306// network access type that you choose when you onboard to Studio. The following
1307// options are available:
1308//
1309//    * PublicInternetOnly - Non-EFS traffic goes through a VPC managed by Amazon
1310//    SageMaker, which allows internet access. This is the default value.
1311//
1312//    * VpcOnly - All Studio traffic is through the specified VPC and subnets.
1313//    Internet access is disabled by default. To allow internet access, you
1314//    must specify a NAT gateway. When internet access is disabled, you won't
1315//    be able to run a Studio notebook or to train or host models unless your
1316//    VPC has an interface endpoint to the SageMaker API and runtime or a NAT
1317//    gateway and your security groups allow outbound connections.
1318//
1319// For more information, see Connect SageMaker Studio Notebooks to Resources
1320// in a VPC (https://docs.aws.amazon.com/sagemaker/latest/dg/studio-notebooks-and-internet-access.html).
1321//
1322// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1323// with awserr.Error's Code and Message methods to get detailed information about
1324// the error.
1325//
1326// See the AWS API reference guide for Amazon SageMaker Service's
1327// API operation CreateDomain for usage and error information.
1328//
1329// Returned Error Types:
1330//   * ResourceLimitExceeded
1331//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1332//   have too many training jobs created.
1333//
1334//   * ResourceInUse
1335//   Resource being accessed is in use.
1336//
1337// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDomain
1338func (c *SageMaker) CreateDomain(input *CreateDomainInput) (*CreateDomainOutput, error) {
1339	req, out := c.CreateDomainRequest(input)
1340	return out, req.Send()
1341}
1342
1343// CreateDomainWithContext is the same as CreateDomain with the addition of
1344// the ability to pass a context and additional request options.
1345//
1346// See CreateDomain for details on how to use this API operation.
1347//
1348// The context must be non-nil and will be used for request cancellation. If
1349// the context is nil a panic will occur. In the future the SDK may create
1350// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1351// for more information on using Contexts.
1352func (c *SageMaker) CreateDomainWithContext(ctx aws.Context, input *CreateDomainInput, opts ...request.Option) (*CreateDomainOutput, error) {
1353	req, out := c.CreateDomainRequest(input)
1354	req.SetContext(ctx)
1355	req.ApplyOptions(opts...)
1356	return out, req.Send()
1357}
1358
1359const opCreateEdgePackagingJob = "CreateEdgePackagingJob"
1360
1361// CreateEdgePackagingJobRequest generates a "aws/request.Request" representing the
1362// client's request for the CreateEdgePackagingJob operation. The "output" return
1363// value will be populated with the request's response once the request completes
1364// successfully.
1365//
1366// Use "Send" method on the returned Request to send the API call to the service.
1367// the "output" return value is not valid until after Send returns without error.
1368//
1369// See CreateEdgePackagingJob for more information on using the CreateEdgePackagingJob
1370// API call, and error handling.
1371//
1372// This method is useful when you want to inject custom logic or configuration
1373// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1374//
1375//
1376//    // Example sending a request using the CreateEdgePackagingJobRequest method.
1377//    req, resp := client.CreateEdgePackagingJobRequest(params)
1378//
1379//    err := req.Send()
1380//    if err == nil { // resp is now filled
1381//        fmt.Println(resp)
1382//    }
1383//
1384// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEdgePackagingJob
1385func (c *SageMaker) CreateEdgePackagingJobRequest(input *CreateEdgePackagingJobInput) (req *request.Request, output *CreateEdgePackagingJobOutput) {
1386	op := &request.Operation{
1387		Name:       opCreateEdgePackagingJob,
1388		HTTPMethod: "POST",
1389		HTTPPath:   "/",
1390	}
1391
1392	if input == nil {
1393		input = &CreateEdgePackagingJobInput{}
1394	}
1395
1396	output = &CreateEdgePackagingJobOutput{}
1397	req = c.newRequest(op, input, output)
1398	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
1399	return
1400}
1401
1402// CreateEdgePackagingJob API operation for Amazon SageMaker Service.
1403//
1404// Starts a SageMaker Edge Manager model packaging job. Edge Manager will use
1405// the model artifacts from the Amazon Simple Storage Service bucket that you
1406// specify. After the model has been packaged, Amazon SageMaker saves the resulting
1407// artifacts to an S3 bucket that you specify.
1408//
1409// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1410// with awserr.Error's Code and Message methods to get detailed information about
1411// the error.
1412//
1413// See the AWS API reference guide for Amazon SageMaker Service's
1414// API operation CreateEdgePackagingJob for usage and error information.
1415//
1416// Returned Error Types:
1417//   * ResourceLimitExceeded
1418//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1419//   have too many training jobs created.
1420//
1421// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEdgePackagingJob
1422func (c *SageMaker) CreateEdgePackagingJob(input *CreateEdgePackagingJobInput) (*CreateEdgePackagingJobOutput, error) {
1423	req, out := c.CreateEdgePackagingJobRequest(input)
1424	return out, req.Send()
1425}
1426
1427// CreateEdgePackagingJobWithContext is the same as CreateEdgePackagingJob with the addition of
1428// the ability to pass a context and additional request options.
1429//
1430// See CreateEdgePackagingJob for details on how to use this API operation.
1431//
1432// The context must be non-nil and will be used for request cancellation. If
1433// the context is nil a panic will occur. In the future the SDK may create
1434// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1435// for more information on using Contexts.
1436func (c *SageMaker) CreateEdgePackagingJobWithContext(ctx aws.Context, input *CreateEdgePackagingJobInput, opts ...request.Option) (*CreateEdgePackagingJobOutput, error) {
1437	req, out := c.CreateEdgePackagingJobRequest(input)
1438	req.SetContext(ctx)
1439	req.ApplyOptions(opts...)
1440	return out, req.Send()
1441}
1442
1443const opCreateEndpoint = "CreateEndpoint"
1444
1445// CreateEndpointRequest generates a "aws/request.Request" representing the
1446// client's request for the CreateEndpoint operation. The "output" return
1447// value will be populated with the request's response once the request completes
1448// successfully.
1449//
1450// Use "Send" method on the returned Request to send the API call to the service.
1451// the "output" return value is not valid until after Send returns without error.
1452//
1453// See CreateEndpoint for more information on using the CreateEndpoint
1454// API call, and error handling.
1455//
1456// This method is useful when you want to inject custom logic or configuration
1457// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1458//
1459//
1460//    // Example sending a request using the CreateEndpointRequest method.
1461//    req, resp := client.CreateEndpointRequest(params)
1462//
1463//    err := req.Send()
1464//    if err == nil { // resp is now filled
1465//        fmt.Println(resp)
1466//    }
1467//
1468// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpoint
1469func (c *SageMaker) CreateEndpointRequest(input *CreateEndpointInput) (req *request.Request, output *CreateEndpointOutput) {
1470	op := &request.Operation{
1471		Name:       opCreateEndpoint,
1472		HTTPMethod: "POST",
1473		HTTPPath:   "/",
1474	}
1475
1476	if input == nil {
1477		input = &CreateEndpointInput{}
1478	}
1479
1480	output = &CreateEndpointOutput{}
1481	req = c.newRequest(op, input, output)
1482	return
1483}
1484
1485// CreateEndpoint API operation for Amazon SageMaker Service.
1486//
1487// Creates an endpoint using the endpoint configuration specified in the request.
1488// Amazon SageMaker uses the endpoint to provision resources and deploy models.
1489// You create the endpoint configuration with the CreateEndpointConfig API.
1490//
1491// Use this API to deploy models using Amazon SageMaker hosting services.
1492//
1493// For an example that calls this method when deploying a model to Amazon SageMaker
1494// hosting services, see Deploy the Model to Amazon SageMaker Hosting Services
1495// (AWS SDK for Python (Boto 3)). (https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html#ex1-deploy-model-boto)
1496//
1497// You must not delete an EndpointConfig that is in use by an endpoint that
1498// is live or while the UpdateEndpoint or CreateEndpoint operations are being
1499// performed on the endpoint. To update an endpoint, you must create a new EndpointConfig.
1500//
1501// The endpoint name must be unique within an AWS Region in your AWS account.
1502//
1503// When it receives the request, Amazon SageMaker creates the endpoint, launches
1504// the resources (ML compute instances), and deploys the model(s) on them.
1505//
1506// When you call CreateEndpoint, a load call is made to DynamoDB to verify that
1507// your endpoint configuration exists. When you read data from a DynamoDB table
1508// supporting Eventually Consistent Reads (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html),
1509// the response might not reflect the results of a recently completed write
1510// operation. The response might include some stale data. If the dependent entities
1511// are not yet in DynamoDB, this causes a validation error. If you repeat your
1512// read request after a short time, the response should return the latest data.
1513// So retry logic is recommended to handle these possible issues. We also recommend
1514// that customers call DescribeEndpointConfig before calling CreateEndpoint
1515// to minimize the potential impact of a DynamoDB eventually consistent read.
1516//
1517// When Amazon SageMaker receives the request, it sets the endpoint status to
1518// Creating. After it creates the endpoint, it sets the status to InService.
1519// Amazon SageMaker can then process incoming requests for inferences. To check
1520// the status of an endpoint, use the DescribeEndpoint API.
1521//
1522// If any of the models hosted at this endpoint get model data from an Amazon
1523// S3 location, Amazon SageMaker uses AWS Security Token Service to download
1524// model artifacts from the S3 path you provided. AWS STS is activated in your
1525// IAM user account by default. If you previously deactivated AWS STS for a
1526// region, you need to reactivate AWS STS for that region. For more information,
1527// see Activating and Deactivating AWS STS in an AWS Region (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
1528// in the AWS Identity and Access Management User Guide.
1529//
1530// To add the IAM role policies for using this API operation, go to the IAM
1531// console (https://console.aws.amazon.com/iam/), and choose Roles in the left
1532// navigation pane. Search the IAM role that you want to grant access to use
1533// the CreateEndpoint and CreateEndpointConfig API operations, add the following
1534// policies to the role.
1535//
1536//    * Option 1: For a full Amazon SageMaker access, search and attach the
1537//    AmazonSageMakerFullAccess policy.
1538//
1539//    * Option 2: For granting a limited access to an IAM role, paste the following
1540//    Action elements manually into the JSON file of the IAM role: "Action":
1541//    ["sagemaker:CreateEndpoint", "sagemaker:CreateEndpointConfig"] "Resource":
1542//    [ "arn:aws:sagemaker:region:account-id:endpoint/endpointName" "arn:aws:sagemaker:region:account-id:endpoint-config/endpointConfigName"
1543//    ] For more information, see Amazon SageMaker API Permissions: Actions,
1544//    Permissions, and Resources Reference (https://docs.aws.amazon.com/sagemaker/latest/dg/api-permissions-reference.html).
1545//
1546// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1547// with awserr.Error's Code and Message methods to get detailed information about
1548// the error.
1549//
1550// See the AWS API reference guide for Amazon SageMaker Service's
1551// API operation CreateEndpoint for usage and error information.
1552//
1553// Returned Error Types:
1554//   * ResourceLimitExceeded
1555//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1556//   have too many training jobs created.
1557//
1558// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpoint
1559func (c *SageMaker) CreateEndpoint(input *CreateEndpointInput) (*CreateEndpointOutput, error) {
1560	req, out := c.CreateEndpointRequest(input)
1561	return out, req.Send()
1562}
1563
1564// CreateEndpointWithContext is the same as CreateEndpoint with the addition of
1565// the ability to pass a context and additional request options.
1566//
1567// See CreateEndpoint for details on how to use this API operation.
1568//
1569// The context must be non-nil and will be used for request cancellation. If
1570// the context is nil a panic will occur. In the future the SDK may create
1571// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1572// for more information on using Contexts.
1573func (c *SageMaker) CreateEndpointWithContext(ctx aws.Context, input *CreateEndpointInput, opts ...request.Option) (*CreateEndpointOutput, error) {
1574	req, out := c.CreateEndpointRequest(input)
1575	req.SetContext(ctx)
1576	req.ApplyOptions(opts...)
1577	return out, req.Send()
1578}
1579
1580const opCreateEndpointConfig = "CreateEndpointConfig"
1581
1582// CreateEndpointConfigRequest generates a "aws/request.Request" representing the
1583// client's request for the CreateEndpointConfig operation. The "output" return
1584// value will be populated with the request's response once the request completes
1585// successfully.
1586//
1587// Use "Send" method on the returned Request to send the API call to the service.
1588// the "output" return value is not valid until after Send returns without error.
1589//
1590// See CreateEndpointConfig for more information on using the CreateEndpointConfig
1591// API call, and error handling.
1592//
1593// This method is useful when you want to inject custom logic or configuration
1594// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1595//
1596//
1597//    // Example sending a request using the CreateEndpointConfigRequest method.
1598//    req, resp := client.CreateEndpointConfigRequest(params)
1599//
1600//    err := req.Send()
1601//    if err == nil { // resp is now filled
1602//        fmt.Println(resp)
1603//    }
1604//
1605// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointConfig
1606func (c *SageMaker) CreateEndpointConfigRequest(input *CreateEndpointConfigInput) (req *request.Request, output *CreateEndpointConfigOutput) {
1607	op := &request.Operation{
1608		Name:       opCreateEndpointConfig,
1609		HTTPMethod: "POST",
1610		HTTPPath:   "/",
1611	}
1612
1613	if input == nil {
1614		input = &CreateEndpointConfigInput{}
1615	}
1616
1617	output = &CreateEndpointConfigOutput{}
1618	req = c.newRequest(op, input, output)
1619	return
1620}
1621
1622// CreateEndpointConfig API operation for Amazon SageMaker Service.
1623//
1624// Creates an endpoint configuration that Amazon SageMaker hosting services
1625// uses to deploy models. In the configuration, you identify one or more models,
1626// created using the CreateModel API, to deploy and the resources that you want
1627// Amazon SageMaker to provision. Then you call the CreateEndpoint API.
1628//
1629// Use this API if you want to use Amazon SageMaker hosting services to deploy
1630// models into production.
1631//
1632// In the request, you define a ProductionVariant, for each model that you want
1633// to deploy. Each ProductionVariant parameter also describes the resources
1634// that you want Amazon SageMaker to provision. This includes the number and
1635// type of ML compute instances to deploy.
1636//
1637// If you are hosting multiple models, you also assign a VariantWeight to specify
1638// how much traffic you want to allocate to each model. For example, suppose
1639// that you want to host two models, A and B, and you assign traffic weight
1640// 2 for model A and 1 for model B. Amazon SageMaker distributes two-thirds
1641// of the traffic to Model A, and one-third to model B.
1642//
1643// For an example that calls this method when deploying a model to Amazon SageMaker
1644// hosting services, see Deploy the Model to Amazon SageMaker Hosting Services
1645// (AWS SDK for Python (Boto 3)). (https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html#ex1-deploy-model-boto)
1646//
1647// When you call CreateEndpoint, a load call is made to DynamoDB to verify that
1648// your endpoint configuration exists. When you read data from a DynamoDB table
1649// supporting Eventually Consistent Reads (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html),
1650// the response might not reflect the results of a recently completed write
1651// operation. The response might include some stale data. If the dependent entities
1652// are not yet in DynamoDB, this causes a validation error. If you repeat your
1653// read request after a short time, the response should return the latest data.
1654// So retry logic is recommended to handle these possible issues. We also recommend
1655// that customers call DescribeEndpointConfig before calling CreateEndpoint
1656// to minimize the potential impact of a DynamoDB eventually consistent read.
1657//
1658// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1659// with awserr.Error's Code and Message methods to get detailed information about
1660// the error.
1661//
1662// See the AWS API reference guide for Amazon SageMaker Service's
1663// API operation CreateEndpointConfig for usage and error information.
1664//
1665// Returned Error Types:
1666//   * ResourceLimitExceeded
1667//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1668//   have too many training jobs created.
1669//
1670// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointConfig
1671func (c *SageMaker) CreateEndpointConfig(input *CreateEndpointConfigInput) (*CreateEndpointConfigOutput, error) {
1672	req, out := c.CreateEndpointConfigRequest(input)
1673	return out, req.Send()
1674}
1675
1676// CreateEndpointConfigWithContext is the same as CreateEndpointConfig with the addition of
1677// the ability to pass a context and additional request options.
1678//
1679// See CreateEndpointConfig for details on how to use this API operation.
1680//
1681// The context must be non-nil and will be used for request cancellation. If
1682// the context is nil a panic will occur. In the future the SDK may create
1683// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1684// for more information on using Contexts.
1685func (c *SageMaker) CreateEndpointConfigWithContext(ctx aws.Context, input *CreateEndpointConfigInput, opts ...request.Option) (*CreateEndpointConfigOutput, error) {
1686	req, out := c.CreateEndpointConfigRequest(input)
1687	req.SetContext(ctx)
1688	req.ApplyOptions(opts...)
1689	return out, req.Send()
1690}
1691
1692const opCreateExperiment = "CreateExperiment"
1693
1694// CreateExperimentRequest generates a "aws/request.Request" representing the
1695// client's request for the CreateExperiment operation. The "output" return
1696// value will be populated with the request's response once the request completes
1697// successfully.
1698//
1699// Use "Send" method on the returned Request to send the API call to the service.
1700// the "output" return value is not valid until after Send returns without error.
1701//
1702// See CreateExperiment for more information on using the CreateExperiment
1703// API call, and error handling.
1704//
1705// This method is useful when you want to inject custom logic or configuration
1706// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1707//
1708//
1709//    // Example sending a request using the CreateExperimentRequest method.
1710//    req, resp := client.CreateExperimentRequest(params)
1711//
1712//    err := req.Send()
1713//    if err == nil { // resp is now filled
1714//        fmt.Println(resp)
1715//    }
1716//
1717// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateExperiment
1718func (c *SageMaker) CreateExperimentRequest(input *CreateExperimentInput) (req *request.Request, output *CreateExperimentOutput) {
1719	op := &request.Operation{
1720		Name:       opCreateExperiment,
1721		HTTPMethod: "POST",
1722		HTTPPath:   "/",
1723	}
1724
1725	if input == nil {
1726		input = &CreateExperimentInput{}
1727	}
1728
1729	output = &CreateExperimentOutput{}
1730	req = c.newRequest(op, input, output)
1731	return
1732}
1733
1734// CreateExperiment API operation for Amazon SageMaker Service.
1735//
1736// Creates an SageMaker experiment. An experiment is a collection of trials
1737// that are observed, compared and evaluated as a group. A trial is a set of
1738// steps, called trial components, that produce a machine learning model.
1739//
1740// The goal of an experiment is to determine the components that produce the
1741// best model. Multiple trials are performed, each one isolating and measuring
1742// the impact of a change to one or more inputs, while keeping the remaining
1743// inputs constant.
1744//
1745// When you use SageMaker Studio or the SageMaker Python SDK, all experiments,
1746// trials, and trial components are automatically tracked, logged, and indexed.
1747// When you use the AWS SDK for Python (Boto), you must use the logging APIs
1748// provided by the SDK.
1749//
1750// You can add tags to experiments, trials, trial components and then use the
1751// Search API to search for the tags.
1752//
1753// To add a description to an experiment, specify the optional Description parameter.
1754// To add a description later, or to change the description, call the UpdateExperiment
1755// API.
1756//
1757// To get a list of all your experiments, call the ListExperiments API. To view
1758// an experiment's properties, call the DescribeExperiment API. To get a list
1759// of all the trials associated with an experiment, call the ListTrials API.
1760// To create a trial call the CreateTrial API.
1761//
1762// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1763// with awserr.Error's Code and Message methods to get detailed information about
1764// the error.
1765//
1766// See the AWS API reference guide for Amazon SageMaker Service's
1767// API operation CreateExperiment for usage and error information.
1768//
1769// Returned Error Types:
1770//   * ResourceLimitExceeded
1771//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1772//   have too many training jobs created.
1773//
1774// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateExperiment
1775func (c *SageMaker) CreateExperiment(input *CreateExperimentInput) (*CreateExperimentOutput, error) {
1776	req, out := c.CreateExperimentRequest(input)
1777	return out, req.Send()
1778}
1779
1780// CreateExperimentWithContext is the same as CreateExperiment with the addition of
1781// the ability to pass a context and additional request options.
1782//
1783// See CreateExperiment for details on how to use this API operation.
1784//
1785// The context must be non-nil and will be used for request cancellation. If
1786// the context is nil a panic will occur. In the future the SDK may create
1787// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1788// for more information on using Contexts.
1789func (c *SageMaker) CreateExperimentWithContext(ctx aws.Context, input *CreateExperimentInput, opts ...request.Option) (*CreateExperimentOutput, error) {
1790	req, out := c.CreateExperimentRequest(input)
1791	req.SetContext(ctx)
1792	req.ApplyOptions(opts...)
1793	return out, req.Send()
1794}
1795
1796const opCreateFeatureGroup = "CreateFeatureGroup"
1797
1798// CreateFeatureGroupRequest generates a "aws/request.Request" representing the
1799// client's request for the CreateFeatureGroup operation. The "output" return
1800// value will be populated with the request's response once the request completes
1801// successfully.
1802//
1803// Use "Send" method on the returned Request to send the API call to the service.
1804// the "output" return value is not valid until after Send returns without error.
1805//
1806// See CreateFeatureGroup for more information on using the CreateFeatureGroup
1807// API call, and error handling.
1808//
1809// This method is useful when you want to inject custom logic or configuration
1810// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1811//
1812//
1813//    // Example sending a request using the CreateFeatureGroupRequest method.
1814//    req, resp := client.CreateFeatureGroupRequest(params)
1815//
1816//    err := req.Send()
1817//    if err == nil { // resp is now filled
1818//        fmt.Println(resp)
1819//    }
1820//
1821// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateFeatureGroup
1822func (c *SageMaker) CreateFeatureGroupRequest(input *CreateFeatureGroupInput) (req *request.Request, output *CreateFeatureGroupOutput) {
1823	op := &request.Operation{
1824		Name:       opCreateFeatureGroup,
1825		HTTPMethod: "POST",
1826		HTTPPath:   "/",
1827	}
1828
1829	if input == nil {
1830		input = &CreateFeatureGroupInput{}
1831	}
1832
1833	output = &CreateFeatureGroupOutput{}
1834	req = c.newRequest(op, input, output)
1835	return
1836}
1837
1838// CreateFeatureGroup API operation for Amazon SageMaker Service.
1839//
1840// Create a new FeatureGroup. A FeatureGroup is a group of Features defined
1841// in the FeatureStore to describe a Record.
1842//
1843// The FeatureGroup defines the schema and features contained in the FeatureGroup.
1844// A FeatureGroup definition is composed of a list of Features, a RecordIdentifierFeatureName,
1845// an EventTimeFeatureName and configurations for its OnlineStore and OfflineStore.
1846// Check AWS service quotas (https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html)
1847// to see the FeatureGroups quota for your AWS account.
1848//
1849// You must include at least one of OnlineStoreConfig and OfflineStoreConfig
1850// to create a FeatureGroup.
1851//
1852// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1853// with awserr.Error's Code and Message methods to get detailed information about
1854// the error.
1855//
1856// See the AWS API reference guide for Amazon SageMaker Service's
1857// API operation CreateFeatureGroup for usage and error information.
1858//
1859// Returned Error Types:
1860//   * ResourceInUse
1861//   Resource being accessed is in use.
1862//
1863//   * ResourceLimitExceeded
1864//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1865//   have too many training jobs created.
1866//
1867// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateFeatureGroup
1868func (c *SageMaker) CreateFeatureGroup(input *CreateFeatureGroupInput) (*CreateFeatureGroupOutput, error) {
1869	req, out := c.CreateFeatureGroupRequest(input)
1870	return out, req.Send()
1871}
1872
1873// CreateFeatureGroupWithContext is the same as CreateFeatureGroup with the addition of
1874// the ability to pass a context and additional request options.
1875//
1876// See CreateFeatureGroup for details on how to use this API operation.
1877//
1878// The context must be non-nil and will be used for request cancellation. If
1879// the context is nil a panic will occur. In the future the SDK may create
1880// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1881// for more information on using Contexts.
1882func (c *SageMaker) CreateFeatureGroupWithContext(ctx aws.Context, input *CreateFeatureGroupInput, opts ...request.Option) (*CreateFeatureGroupOutput, error) {
1883	req, out := c.CreateFeatureGroupRequest(input)
1884	req.SetContext(ctx)
1885	req.ApplyOptions(opts...)
1886	return out, req.Send()
1887}
1888
1889const opCreateFlowDefinition = "CreateFlowDefinition"
1890
1891// CreateFlowDefinitionRequest generates a "aws/request.Request" representing the
1892// client's request for the CreateFlowDefinition operation. The "output" return
1893// value will be populated with the request's response once the request completes
1894// successfully.
1895//
1896// Use "Send" method on the returned Request to send the API call to the service.
1897// the "output" return value is not valid until after Send returns without error.
1898//
1899// See CreateFlowDefinition for more information on using the CreateFlowDefinition
1900// API call, and error handling.
1901//
1902// This method is useful when you want to inject custom logic or configuration
1903// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1904//
1905//
1906//    // Example sending a request using the CreateFlowDefinitionRequest method.
1907//    req, resp := client.CreateFlowDefinitionRequest(params)
1908//
1909//    err := req.Send()
1910//    if err == nil { // resp is now filled
1911//        fmt.Println(resp)
1912//    }
1913//
1914// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateFlowDefinition
1915func (c *SageMaker) CreateFlowDefinitionRequest(input *CreateFlowDefinitionInput) (req *request.Request, output *CreateFlowDefinitionOutput) {
1916	op := &request.Operation{
1917		Name:       opCreateFlowDefinition,
1918		HTTPMethod: "POST",
1919		HTTPPath:   "/",
1920	}
1921
1922	if input == nil {
1923		input = &CreateFlowDefinitionInput{}
1924	}
1925
1926	output = &CreateFlowDefinitionOutput{}
1927	req = c.newRequest(op, input, output)
1928	return
1929}
1930
1931// CreateFlowDefinition API operation for Amazon SageMaker Service.
1932//
1933// Creates a flow definition.
1934//
1935// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1936// with awserr.Error's Code and Message methods to get detailed information about
1937// the error.
1938//
1939// See the AWS API reference guide for Amazon SageMaker Service's
1940// API operation CreateFlowDefinition for usage and error information.
1941//
1942// Returned Error Types:
1943//   * ResourceLimitExceeded
1944//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1945//   have too many training jobs created.
1946//
1947//   * ResourceInUse
1948//   Resource being accessed is in use.
1949//
1950// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateFlowDefinition
1951func (c *SageMaker) CreateFlowDefinition(input *CreateFlowDefinitionInput) (*CreateFlowDefinitionOutput, error) {
1952	req, out := c.CreateFlowDefinitionRequest(input)
1953	return out, req.Send()
1954}
1955
1956// CreateFlowDefinitionWithContext is the same as CreateFlowDefinition with the addition of
1957// the ability to pass a context and additional request options.
1958//
1959// See CreateFlowDefinition for details on how to use this API operation.
1960//
1961// The context must be non-nil and will be used for request cancellation. If
1962// the context is nil a panic will occur. In the future the SDK may create
1963// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1964// for more information on using Contexts.
1965func (c *SageMaker) CreateFlowDefinitionWithContext(ctx aws.Context, input *CreateFlowDefinitionInput, opts ...request.Option) (*CreateFlowDefinitionOutput, error) {
1966	req, out := c.CreateFlowDefinitionRequest(input)
1967	req.SetContext(ctx)
1968	req.ApplyOptions(opts...)
1969	return out, req.Send()
1970}
1971
1972const opCreateHumanTaskUi = "CreateHumanTaskUi"
1973
1974// CreateHumanTaskUiRequest generates a "aws/request.Request" representing the
1975// client's request for the CreateHumanTaskUi operation. The "output" return
1976// value will be populated with the request's response once the request completes
1977// successfully.
1978//
1979// Use "Send" method on the returned Request to send the API call to the service.
1980// the "output" return value is not valid until after Send returns without error.
1981//
1982// See CreateHumanTaskUi for more information on using the CreateHumanTaskUi
1983// API call, and error handling.
1984//
1985// This method is useful when you want to inject custom logic or configuration
1986// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1987//
1988//
1989//    // Example sending a request using the CreateHumanTaskUiRequest method.
1990//    req, resp := client.CreateHumanTaskUiRequest(params)
1991//
1992//    err := req.Send()
1993//    if err == nil { // resp is now filled
1994//        fmt.Println(resp)
1995//    }
1996//
1997// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHumanTaskUi
1998func (c *SageMaker) CreateHumanTaskUiRequest(input *CreateHumanTaskUiInput) (req *request.Request, output *CreateHumanTaskUiOutput) {
1999	op := &request.Operation{
2000		Name:       opCreateHumanTaskUi,
2001		HTTPMethod: "POST",
2002		HTTPPath:   "/",
2003	}
2004
2005	if input == nil {
2006		input = &CreateHumanTaskUiInput{}
2007	}
2008
2009	output = &CreateHumanTaskUiOutput{}
2010	req = c.newRequest(op, input, output)
2011	return
2012}
2013
2014// CreateHumanTaskUi API operation for Amazon SageMaker Service.
2015//
2016// Defines the settings you will use for the human review workflow user interface.
2017// Reviewers will see a three-panel interface with an instruction area, the
2018// item to review, and an input area.
2019//
2020// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2021// with awserr.Error's Code and Message methods to get detailed information about
2022// the error.
2023//
2024// See the AWS API reference guide for Amazon SageMaker Service's
2025// API operation CreateHumanTaskUi for usage and error information.
2026//
2027// Returned Error Types:
2028//   * ResourceLimitExceeded
2029//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2030//   have too many training jobs created.
2031//
2032//   * ResourceInUse
2033//   Resource being accessed is in use.
2034//
2035// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHumanTaskUi
2036func (c *SageMaker) CreateHumanTaskUi(input *CreateHumanTaskUiInput) (*CreateHumanTaskUiOutput, error) {
2037	req, out := c.CreateHumanTaskUiRequest(input)
2038	return out, req.Send()
2039}
2040
2041// CreateHumanTaskUiWithContext is the same as CreateHumanTaskUi with the addition of
2042// the ability to pass a context and additional request options.
2043//
2044// See CreateHumanTaskUi for details on how to use this API operation.
2045//
2046// The context must be non-nil and will be used for request cancellation. If
2047// the context is nil a panic will occur. In the future the SDK may create
2048// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2049// for more information on using Contexts.
2050func (c *SageMaker) CreateHumanTaskUiWithContext(ctx aws.Context, input *CreateHumanTaskUiInput, opts ...request.Option) (*CreateHumanTaskUiOutput, error) {
2051	req, out := c.CreateHumanTaskUiRequest(input)
2052	req.SetContext(ctx)
2053	req.ApplyOptions(opts...)
2054	return out, req.Send()
2055}
2056
2057const opCreateHyperParameterTuningJob = "CreateHyperParameterTuningJob"
2058
2059// CreateHyperParameterTuningJobRequest generates a "aws/request.Request" representing the
2060// client's request for the CreateHyperParameterTuningJob operation. The "output" return
2061// value will be populated with the request's response once the request completes
2062// successfully.
2063//
2064// Use "Send" method on the returned Request to send the API call to the service.
2065// the "output" return value is not valid until after Send returns without error.
2066//
2067// See CreateHyperParameterTuningJob for more information on using the CreateHyperParameterTuningJob
2068// API call, and error handling.
2069//
2070// This method is useful when you want to inject custom logic or configuration
2071// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2072//
2073//
2074//    // Example sending a request using the CreateHyperParameterTuningJobRequest method.
2075//    req, resp := client.CreateHyperParameterTuningJobRequest(params)
2076//
2077//    err := req.Send()
2078//    if err == nil { // resp is now filled
2079//        fmt.Println(resp)
2080//    }
2081//
2082// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHyperParameterTuningJob
2083func (c *SageMaker) CreateHyperParameterTuningJobRequest(input *CreateHyperParameterTuningJobInput) (req *request.Request, output *CreateHyperParameterTuningJobOutput) {
2084	op := &request.Operation{
2085		Name:       opCreateHyperParameterTuningJob,
2086		HTTPMethod: "POST",
2087		HTTPPath:   "/",
2088	}
2089
2090	if input == nil {
2091		input = &CreateHyperParameterTuningJobInput{}
2092	}
2093
2094	output = &CreateHyperParameterTuningJobOutput{}
2095	req = c.newRequest(op, input, output)
2096	return
2097}
2098
2099// CreateHyperParameterTuningJob API operation for Amazon SageMaker Service.
2100//
2101// Starts a hyperparameter tuning job. A hyperparameter tuning job finds the
2102// best version of a model by running many training jobs on your dataset using
2103// the algorithm you choose and values for hyperparameters within ranges that
2104// you specify. It then chooses the hyperparameter values that result in a model
2105// that performs the best, as measured by an objective metric that you choose.
2106//
2107// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2108// with awserr.Error's Code and Message methods to get detailed information about
2109// the error.
2110//
2111// See the AWS API reference guide for Amazon SageMaker Service's
2112// API operation CreateHyperParameterTuningJob for usage and error information.
2113//
2114// Returned Error Types:
2115//   * ResourceInUse
2116//   Resource being accessed is in use.
2117//
2118//   * ResourceLimitExceeded
2119//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2120//   have too many training jobs created.
2121//
2122// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHyperParameterTuningJob
2123func (c *SageMaker) CreateHyperParameterTuningJob(input *CreateHyperParameterTuningJobInput) (*CreateHyperParameterTuningJobOutput, error) {
2124	req, out := c.CreateHyperParameterTuningJobRequest(input)
2125	return out, req.Send()
2126}
2127
2128// CreateHyperParameterTuningJobWithContext is the same as CreateHyperParameterTuningJob with the addition of
2129// the ability to pass a context and additional request options.
2130//
2131// See CreateHyperParameterTuningJob for details on how to use this API operation.
2132//
2133// The context must be non-nil and will be used for request cancellation. If
2134// the context is nil a panic will occur. In the future the SDK may create
2135// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2136// for more information on using Contexts.
2137func (c *SageMaker) CreateHyperParameterTuningJobWithContext(ctx aws.Context, input *CreateHyperParameterTuningJobInput, opts ...request.Option) (*CreateHyperParameterTuningJobOutput, error) {
2138	req, out := c.CreateHyperParameterTuningJobRequest(input)
2139	req.SetContext(ctx)
2140	req.ApplyOptions(opts...)
2141	return out, req.Send()
2142}
2143
2144const opCreateImage = "CreateImage"
2145
2146// CreateImageRequest generates a "aws/request.Request" representing the
2147// client's request for the CreateImage operation. The "output" return
2148// value will be populated with the request's response once the request completes
2149// successfully.
2150//
2151// Use "Send" method on the returned Request to send the API call to the service.
2152// the "output" return value is not valid until after Send returns without error.
2153//
2154// See CreateImage for more information on using the CreateImage
2155// API call, and error handling.
2156//
2157// This method is useful when you want to inject custom logic or configuration
2158// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2159//
2160//
2161//    // Example sending a request using the CreateImageRequest method.
2162//    req, resp := client.CreateImageRequest(params)
2163//
2164//    err := req.Send()
2165//    if err == nil { // resp is now filled
2166//        fmt.Println(resp)
2167//    }
2168//
2169// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImage
2170func (c *SageMaker) CreateImageRequest(input *CreateImageInput) (req *request.Request, output *CreateImageOutput) {
2171	op := &request.Operation{
2172		Name:       opCreateImage,
2173		HTTPMethod: "POST",
2174		HTTPPath:   "/",
2175	}
2176
2177	if input == nil {
2178		input = &CreateImageInput{}
2179	}
2180
2181	output = &CreateImageOutput{}
2182	req = c.newRequest(op, input, output)
2183	return
2184}
2185
2186// CreateImage API operation for Amazon SageMaker Service.
2187//
2188// Creates a custom SageMaker image. A SageMaker image is a set of image versions.
2189// Each image version represents a container image stored in Amazon Container
2190// Registry (ECR). For more information, see Bring your own SageMaker image
2191// (https://docs.aws.amazon.com/sagemaker/latest/dg/studio-byoi.html).
2192//
2193// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2194// with awserr.Error's Code and Message methods to get detailed information about
2195// the error.
2196//
2197// See the AWS API reference guide for Amazon SageMaker Service's
2198// API operation CreateImage for usage and error information.
2199//
2200// Returned Error Types:
2201//   * ResourceInUse
2202//   Resource being accessed is in use.
2203//
2204//   * ResourceLimitExceeded
2205//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2206//   have too many training jobs created.
2207//
2208// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImage
2209func (c *SageMaker) CreateImage(input *CreateImageInput) (*CreateImageOutput, error) {
2210	req, out := c.CreateImageRequest(input)
2211	return out, req.Send()
2212}
2213
2214// CreateImageWithContext is the same as CreateImage with the addition of
2215// the ability to pass a context and additional request options.
2216//
2217// See CreateImage for details on how to use this API operation.
2218//
2219// The context must be non-nil and will be used for request cancellation. If
2220// the context is nil a panic will occur. In the future the SDK may create
2221// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2222// for more information on using Contexts.
2223func (c *SageMaker) CreateImageWithContext(ctx aws.Context, input *CreateImageInput, opts ...request.Option) (*CreateImageOutput, error) {
2224	req, out := c.CreateImageRequest(input)
2225	req.SetContext(ctx)
2226	req.ApplyOptions(opts...)
2227	return out, req.Send()
2228}
2229
2230const opCreateImageVersion = "CreateImageVersion"
2231
2232// CreateImageVersionRequest generates a "aws/request.Request" representing the
2233// client's request for the CreateImageVersion operation. The "output" return
2234// value will be populated with the request's response once the request completes
2235// successfully.
2236//
2237// Use "Send" method on the returned Request to send the API call to the service.
2238// the "output" return value is not valid until after Send returns without error.
2239//
2240// See CreateImageVersion for more information on using the CreateImageVersion
2241// API call, and error handling.
2242//
2243// This method is useful when you want to inject custom logic or configuration
2244// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2245//
2246//
2247//    // Example sending a request using the CreateImageVersionRequest method.
2248//    req, resp := client.CreateImageVersionRequest(params)
2249//
2250//    err := req.Send()
2251//    if err == nil { // resp is now filled
2252//        fmt.Println(resp)
2253//    }
2254//
2255// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImageVersion
2256func (c *SageMaker) CreateImageVersionRequest(input *CreateImageVersionInput) (req *request.Request, output *CreateImageVersionOutput) {
2257	op := &request.Operation{
2258		Name:       opCreateImageVersion,
2259		HTTPMethod: "POST",
2260		HTTPPath:   "/",
2261	}
2262
2263	if input == nil {
2264		input = &CreateImageVersionInput{}
2265	}
2266
2267	output = &CreateImageVersionOutput{}
2268	req = c.newRequest(op, input, output)
2269	return
2270}
2271
2272// CreateImageVersion API operation for Amazon SageMaker Service.
2273//
2274// Creates a version of the SageMaker image specified by ImageName. The version
2275// represents the Amazon Container Registry (ECR) container image specified
2276// by BaseImage.
2277//
2278// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2279// with awserr.Error's Code and Message methods to get detailed information about
2280// the error.
2281//
2282// See the AWS API reference guide for Amazon SageMaker Service's
2283// API operation CreateImageVersion for usage and error information.
2284//
2285// Returned Error Types:
2286//   * ResourceInUse
2287//   Resource being accessed is in use.
2288//
2289//   * ResourceLimitExceeded
2290//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2291//   have too many training jobs created.
2292//
2293//   * ResourceNotFound
2294//   Resource being access is not found.
2295//
2296// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImageVersion
2297func (c *SageMaker) CreateImageVersion(input *CreateImageVersionInput) (*CreateImageVersionOutput, error) {
2298	req, out := c.CreateImageVersionRequest(input)
2299	return out, req.Send()
2300}
2301
2302// CreateImageVersionWithContext is the same as CreateImageVersion with the addition of
2303// the ability to pass a context and additional request options.
2304//
2305// See CreateImageVersion for details on how to use this API operation.
2306//
2307// The context must be non-nil and will be used for request cancellation. If
2308// the context is nil a panic will occur. In the future the SDK may create
2309// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2310// for more information on using Contexts.
2311func (c *SageMaker) CreateImageVersionWithContext(ctx aws.Context, input *CreateImageVersionInput, opts ...request.Option) (*CreateImageVersionOutput, error) {
2312	req, out := c.CreateImageVersionRequest(input)
2313	req.SetContext(ctx)
2314	req.ApplyOptions(opts...)
2315	return out, req.Send()
2316}
2317
2318const opCreateLabelingJob = "CreateLabelingJob"
2319
2320// CreateLabelingJobRequest generates a "aws/request.Request" representing the
2321// client's request for the CreateLabelingJob operation. The "output" return
2322// value will be populated with the request's response once the request completes
2323// successfully.
2324//
2325// Use "Send" method on the returned Request to send the API call to the service.
2326// the "output" return value is not valid until after Send returns without error.
2327//
2328// See CreateLabelingJob for more information on using the CreateLabelingJob
2329// API call, and error handling.
2330//
2331// This method is useful when you want to inject custom logic or configuration
2332// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2333//
2334//
2335//    // Example sending a request using the CreateLabelingJobRequest method.
2336//    req, resp := client.CreateLabelingJobRequest(params)
2337//
2338//    err := req.Send()
2339//    if err == nil { // resp is now filled
2340//        fmt.Println(resp)
2341//    }
2342//
2343// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateLabelingJob
2344func (c *SageMaker) CreateLabelingJobRequest(input *CreateLabelingJobInput) (req *request.Request, output *CreateLabelingJobOutput) {
2345	op := &request.Operation{
2346		Name:       opCreateLabelingJob,
2347		HTTPMethod: "POST",
2348		HTTPPath:   "/",
2349	}
2350
2351	if input == nil {
2352		input = &CreateLabelingJobInput{}
2353	}
2354
2355	output = &CreateLabelingJobOutput{}
2356	req = c.newRequest(op, input, output)
2357	return
2358}
2359
2360// CreateLabelingJob API operation for Amazon SageMaker Service.
2361//
2362// Creates a job that uses workers to label the data objects in your input dataset.
2363// You can use the labeled data to train machine learning models.
2364//
2365// You can select your workforce from one of three providers:
2366//
2367//    * A private workforce that you create. It can include employees, contractors,
2368//    and outside experts. Use a private workforce when want the data to stay
2369//    within your organization or when a specific set of skills is required.
2370//
2371//    * One or more vendors that you select from the AWS Marketplace. Vendors
2372//    provide expertise in specific areas.
2373//
2374//    * The Amazon Mechanical Turk workforce. This is the largest workforce,
2375//    but it should only be used for public data or data that has been stripped
2376//    of any personally identifiable information.
2377//
2378// You can also use automated data labeling to reduce the number of data objects
2379// that need to be labeled by a human. Automated data labeling uses active learning
2380// to determine if a data object can be labeled by machine or if it needs to
2381// be sent to a human worker. For more information, see Using Automated Data
2382// Labeling (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-automated-labeling.html).
2383//
2384// The data objects to be labeled are contained in an Amazon S3 bucket. You
2385// create a manifest file that describes the location of each object. For more
2386// information, see Using Input and Output Data (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-data.html).
2387//
2388// The output can be used as the manifest file for another labeling job or as
2389// training data for your machine learning models.
2390//
2391// You can use this operation to create a static labeling job or a streaming
2392// labeling job. A static labeling job stops if all data objects in the input
2393// manifest file identified in ManifestS3Uri have been labeled. A streaming
2394// labeling job runs perpetually until it is manually stopped, or remains idle
2395// for 10 days. You can send new data objects to an active (InProgress) streaming
2396// labeling job in real time. To learn how to create a static labeling job,
2397// see Create a Labeling Job (API) (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-create-labeling-job-api.html)
2398// in the Amazon SageMaker Developer Guide. To learn how to create a streaming
2399// labeling job, see Create a Streaming Labeling Job (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-streaming-create-job.html).
2400//
2401// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2402// with awserr.Error's Code and Message methods to get detailed information about
2403// the error.
2404//
2405// See the AWS API reference guide for Amazon SageMaker Service's
2406// API operation CreateLabelingJob for usage and error information.
2407//
2408// Returned Error Types:
2409//   * ResourceInUse
2410//   Resource being accessed is in use.
2411//
2412//   * ResourceLimitExceeded
2413//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2414//   have too many training jobs created.
2415//
2416// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateLabelingJob
2417func (c *SageMaker) CreateLabelingJob(input *CreateLabelingJobInput) (*CreateLabelingJobOutput, error) {
2418	req, out := c.CreateLabelingJobRequest(input)
2419	return out, req.Send()
2420}
2421
2422// CreateLabelingJobWithContext is the same as CreateLabelingJob with the addition of
2423// the ability to pass a context and additional request options.
2424//
2425// See CreateLabelingJob for details on how to use this API operation.
2426//
2427// The context must be non-nil and will be used for request cancellation. If
2428// the context is nil a panic will occur. In the future the SDK may create
2429// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2430// for more information on using Contexts.
2431func (c *SageMaker) CreateLabelingJobWithContext(ctx aws.Context, input *CreateLabelingJobInput, opts ...request.Option) (*CreateLabelingJobOutput, error) {
2432	req, out := c.CreateLabelingJobRequest(input)
2433	req.SetContext(ctx)
2434	req.ApplyOptions(opts...)
2435	return out, req.Send()
2436}
2437
2438const opCreateModel = "CreateModel"
2439
2440// CreateModelRequest generates a "aws/request.Request" representing the
2441// client's request for the CreateModel operation. The "output" return
2442// value will be populated with the request's response once the request completes
2443// successfully.
2444//
2445// Use "Send" method on the returned Request to send the API call to the service.
2446// the "output" return value is not valid until after Send returns without error.
2447//
2448// See CreateModel for more information on using the CreateModel
2449// API call, and error handling.
2450//
2451// This method is useful when you want to inject custom logic or configuration
2452// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2453//
2454//
2455//    // Example sending a request using the CreateModelRequest method.
2456//    req, resp := client.CreateModelRequest(params)
2457//
2458//    err := req.Send()
2459//    if err == nil { // resp is now filled
2460//        fmt.Println(resp)
2461//    }
2462//
2463// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModel
2464func (c *SageMaker) CreateModelRequest(input *CreateModelInput) (req *request.Request, output *CreateModelOutput) {
2465	op := &request.Operation{
2466		Name:       opCreateModel,
2467		HTTPMethod: "POST",
2468		HTTPPath:   "/",
2469	}
2470
2471	if input == nil {
2472		input = &CreateModelInput{}
2473	}
2474
2475	output = &CreateModelOutput{}
2476	req = c.newRequest(op, input, output)
2477	return
2478}
2479
2480// CreateModel API operation for Amazon SageMaker Service.
2481//
2482// Creates a model in Amazon SageMaker. In the request, you name the model and
2483// describe a primary container. For the primary container, you specify the
2484// Docker image that contains inference code, artifacts (from prior training),
2485// and a custom environment map that the inference code uses when you deploy
2486// the model for predictions.
2487//
2488// Use this API to create a model if you want to use Amazon SageMaker hosting
2489// services or run a batch transform job.
2490//
2491// To host your model, you create an endpoint configuration with the CreateEndpointConfig
2492// API, and then create an endpoint with the CreateEndpoint API. Amazon SageMaker
2493// then deploys all of the containers that you defined for the model in the
2494// hosting environment.
2495//
2496// For an example that calls this method when deploying a model to Amazon SageMaker
2497// hosting services, see Deploy the Model to Amazon SageMaker Hosting Services
2498// (AWS SDK for Python (Boto 3)). (https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html#ex1-deploy-model-boto)
2499//
2500// To run a batch transform using your model, you start a job with the CreateTransformJob
2501// API. Amazon SageMaker uses your model and your dataset to get inferences
2502// which are then saved to a specified S3 location.
2503//
2504// In the CreateModel request, you must define a container with the PrimaryContainer
2505// parameter.
2506//
2507// In the request, you also provide an IAM role that Amazon SageMaker can assume
2508// to access model artifacts and docker image for deployment on ML compute hosting
2509// instances or for batch transform jobs. In addition, you also use the IAM
2510// role to manage permissions the inference code needs. For example, if the
2511// inference code access any other AWS resources, you grant necessary permissions
2512// via this role.
2513//
2514// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2515// with awserr.Error's Code and Message methods to get detailed information about
2516// the error.
2517//
2518// See the AWS API reference guide for Amazon SageMaker Service's
2519// API operation CreateModel for usage and error information.
2520//
2521// Returned Error Types:
2522//   * ResourceLimitExceeded
2523//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2524//   have too many training jobs created.
2525//
2526// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModel
2527func (c *SageMaker) CreateModel(input *CreateModelInput) (*CreateModelOutput, error) {
2528	req, out := c.CreateModelRequest(input)
2529	return out, req.Send()
2530}
2531
2532// CreateModelWithContext is the same as CreateModel with the addition of
2533// the ability to pass a context and additional request options.
2534//
2535// See CreateModel for details on how to use this API operation.
2536//
2537// The context must be non-nil and will be used for request cancellation. If
2538// the context is nil a panic will occur. In the future the SDK may create
2539// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2540// for more information on using Contexts.
2541func (c *SageMaker) CreateModelWithContext(ctx aws.Context, input *CreateModelInput, opts ...request.Option) (*CreateModelOutput, error) {
2542	req, out := c.CreateModelRequest(input)
2543	req.SetContext(ctx)
2544	req.ApplyOptions(opts...)
2545	return out, req.Send()
2546}
2547
2548const opCreateModelBiasJobDefinition = "CreateModelBiasJobDefinition"
2549
2550// CreateModelBiasJobDefinitionRequest generates a "aws/request.Request" representing the
2551// client's request for the CreateModelBiasJobDefinition operation. The "output" return
2552// value will be populated with the request's response once the request completes
2553// successfully.
2554//
2555// Use "Send" method on the returned Request to send the API call to the service.
2556// the "output" return value is not valid until after Send returns without error.
2557//
2558// See CreateModelBiasJobDefinition for more information on using the CreateModelBiasJobDefinition
2559// API call, and error handling.
2560//
2561// This method is useful when you want to inject custom logic or configuration
2562// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2563//
2564//
2565//    // Example sending a request using the CreateModelBiasJobDefinitionRequest method.
2566//    req, resp := client.CreateModelBiasJobDefinitionRequest(params)
2567//
2568//    err := req.Send()
2569//    if err == nil { // resp is now filled
2570//        fmt.Println(resp)
2571//    }
2572//
2573// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelBiasJobDefinition
2574func (c *SageMaker) CreateModelBiasJobDefinitionRequest(input *CreateModelBiasJobDefinitionInput) (req *request.Request, output *CreateModelBiasJobDefinitionOutput) {
2575	op := &request.Operation{
2576		Name:       opCreateModelBiasJobDefinition,
2577		HTTPMethod: "POST",
2578		HTTPPath:   "/",
2579	}
2580
2581	if input == nil {
2582		input = &CreateModelBiasJobDefinitionInput{}
2583	}
2584
2585	output = &CreateModelBiasJobDefinitionOutput{}
2586	req = c.newRequest(op, input, output)
2587	return
2588}
2589
2590// CreateModelBiasJobDefinition API operation for Amazon SageMaker Service.
2591//
2592// Creates the definition for a model bias job.
2593//
2594// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2595// with awserr.Error's Code and Message methods to get detailed information about
2596// the error.
2597//
2598// See the AWS API reference guide for Amazon SageMaker Service's
2599// API operation CreateModelBiasJobDefinition for usage and error information.
2600//
2601// Returned Error Types:
2602//   * ResourceLimitExceeded
2603//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2604//   have too many training jobs created.
2605//
2606//   * ResourceInUse
2607//   Resource being accessed is in use.
2608//
2609// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelBiasJobDefinition
2610func (c *SageMaker) CreateModelBiasJobDefinition(input *CreateModelBiasJobDefinitionInput) (*CreateModelBiasJobDefinitionOutput, error) {
2611	req, out := c.CreateModelBiasJobDefinitionRequest(input)
2612	return out, req.Send()
2613}
2614
2615// CreateModelBiasJobDefinitionWithContext is the same as CreateModelBiasJobDefinition with the addition of
2616// the ability to pass a context and additional request options.
2617//
2618// See CreateModelBiasJobDefinition for details on how to use this API operation.
2619//
2620// The context must be non-nil and will be used for request cancellation. If
2621// the context is nil a panic will occur. In the future the SDK may create
2622// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2623// for more information on using Contexts.
2624func (c *SageMaker) CreateModelBiasJobDefinitionWithContext(ctx aws.Context, input *CreateModelBiasJobDefinitionInput, opts ...request.Option) (*CreateModelBiasJobDefinitionOutput, error) {
2625	req, out := c.CreateModelBiasJobDefinitionRequest(input)
2626	req.SetContext(ctx)
2627	req.ApplyOptions(opts...)
2628	return out, req.Send()
2629}
2630
2631const opCreateModelExplainabilityJobDefinition = "CreateModelExplainabilityJobDefinition"
2632
2633// CreateModelExplainabilityJobDefinitionRequest generates a "aws/request.Request" representing the
2634// client's request for the CreateModelExplainabilityJobDefinition operation. The "output" return
2635// value will be populated with the request's response once the request completes
2636// successfully.
2637//
2638// Use "Send" method on the returned Request to send the API call to the service.
2639// the "output" return value is not valid until after Send returns without error.
2640//
2641// See CreateModelExplainabilityJobDefinition for more information on using the CreateModelExplainabilityJobDefinition
2642// API call, and error handling.
2643//
2644// This method is useful when you want to inject custom logic or configuration
2645// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2646//
2647//
2648//    // Example sending a request using the CreateModelExplainabilityJobDefinitionRequest method.
2649//    req, resp := client.CreateModelExplainabilityJobDefinitionRequest(params)
2650//
2651//    err := req.Send()
2652//    if err == nil { // resp is now filled
2653//        fmt.Println(resp)
2654//    }
2655//
2656// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelExplainabilityJobDefinition
2657func (c *SageMaker) CreateModelExplainabilityJobDefinitionRequest(input *CreateModelExplainabilityJobDefinitionInput) (req *request.Request, output *CreateModelExplainabilityJobDefinitionOutput) {
2658	op := &request.Operation{
2659		Name:       opCreateModelExplainabilityJobDefinition,
2660		HTTPMethod: "POST",
2661		HTTPPath:   "/",
2662	}
2663
2664	if input == nil {
2665		input = &CreateModelExplainabilityJobDefinitionInput{}
2666	}
2667
2668	output = &CreateModelExplainabilityJobDefinitionOutput{}
2669	req = c.newRequest(op, input, output)
2670	return
2671}
2672
2673// CreateModelExplainabilityJobDefinition API operation for Amazon SageMaker Service.
2674//
2675// Creates the definition for a model explainability job.
2676//
2677// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2678// with awserr.Error's Code and Message methods to get detailed information about
2679// the error.
2680//
2681// See the AWS API reference guide for Amazon SageMaker Service's
2682// API operation CreateModelExplainabilityJobDefinition for usage and error information.
2683//
2684// Returned Error Types:
2685//   * ResourceLimitExceeded
2686//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2687//   have too many training jobs created.
2688//
2689//   * ResourceInUse
2690//   Resource being accessed is in use.
2691//
2692// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelExplainabilityJobDefinition
2693func (c *SageMaker) CreateModelExplainabilityJobDefinition(input *CreateModelExplainabilityJobDefinitionInput) (*CreateModelExplainabilityJobDefinitionOutput, error) {
2694	req, out := c.CreateModelExplainabilityJobDefinitionRequest(input)
2695	return out, req.Send()
2696}
2697
2698// CreateModelExplainabilityJobDefinitionWithContext is the same as CreateModelExplainabilityJobDefinition with the addition of
2699// the ability to pass a context and additional request options.
2700//
2701// See CreateModelExplainabilityJobDefinition for details on how to use this API operation.
2702//
2703// The context must be non-nil and will be used for request cancellation. If
2704// the context is nil a panic will occur. In the future the SDK may create
2705// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2706// for more information on using Contexts.
2707func (c *SageMaker) CreateModelExplainabilityJobDefinitionWithContext(ctx aws.Context, input *CreateModelExplainabilityJobDefinitionInput, opts ...request.Option) (*CreateModelExplainabilityJobDefinitionOutput, error) {
2708	req, out := c.CreateModelExplainabilityJobDefinitionRequest(input)
2709	req.SetContext(ctx)
2710	req.ApplyOptions(opts...)
2711	return out, req.Send()
2712}
2713
2714const opCreateModelPackage = "CreateModelPackage"
2715
2716// CreateModelPackageRequest generates a "aws/request.Request" representing the
2717// client's request for the CreateModelPackage operation. The "output" return
2718// value will be populated with the request's response once the request completes
2719// successfully.
2720//
2721// Use "Send" method on the returned Request to send the API call to the service.
2722// the "output" return value is not valid until after Send returns without error.
2723//
2724// See CreateModelPackage for more information on using the CreateModelPackage
2725// API call, and error handling.
2726//
2727// This method is useful when you want to inject custom logic or configuration
2728// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2729//
2730//
2731//    // Example sending a request using the CreateModelPackageRequest method.
2732//    req, resp := client.CreateModelPackageRequest(params)
2733//
2734//    err := req.Send()
2735//    if err == nil { // resp is now filled
2736//        fmt.Println(resp)
2737//    }
2738//
2739// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackage
2740func (c *SageMaker) CreateModelPackageRequest(input *CreateModelPackageInput) (req *request.Request, output *CreateModelPackageOutput) {
2741	op := &request.Operation{
2742		Name:       opCreateModelPackage,
2743		HTTPMethod: "POST",
2744		HTTPPath:   "/",
2745	}
2746
2747	if input == nil {
2748		input = &CreateModelPackageInput{}
2749	}
2750
2751	output = &CreateModelPackageOutput{}
2752	req = c.newRequest(op, input, output)
2753	return
2754}
2755
2756// CreateModelPackage API operation for Amazon SageMaker Service.
2757//
2758// Creates a model package that you can use to create Amazon SageMaker models
2759// or list on AWS Marketplace, or a versioned model that is part of a model
2760// group. Buyers can subscribe to model packages listed on AWS Marketplace to
2761// create models in Amazon SageMaker.
2762//
2763// To create a model package by specifying a Docker container that contains
2764// your inference code and the Amazon S3 location of your model artifacts, provide
2765// values for InferenceSpecification. To create a model from an algorithm resource
2766// that you created or subscribed to in AWS Marketplace, provide a value for
2767// SourceAlgorithmSpecification.
2768//
2769// There are two types of model packages:
2770//
2771//    * Versioned - a model that is part of a model group in the model registry.
2772//
2773//    * Unversioned - a model package that is not part of a model group.
2774//
2775// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2776// with awserr.Error's Code and Message methods to get detailed information about
2777// the error.
2778//
2779// See the AWS API reference guide for Amazon SageMaker Service's
2780// API operation CreateModelPackage for usage and error information.
2781//
2782// Returned Error Types:
2783//   * ConflictException
2784//   There was a conflict when you attempted to modify a SageMaker entity such
2785//   as an Experiment or Artifact.
2786//
2787//   * ResourceLimitExceeded
2788//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2789//   have too many training jobs created.
2790//
2791// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackage
2792func (c *SageMaker) CreateModelPackage(input *CreateModelPackageInput) (*CreateModelPackageOutput, error) {
2793	req, out := c.CreateModelPackageRequest(input)
2794	return out, req.Send()
2795}
2796
2797// CreateModelPackageWithContext is the same as CreateModelPackage with the addition of
2798// the ability to pass a context and additional request options.
2799//
2800// See CreateModelPackage for details on how to use this API operation.
2801//
2802// The context must be non-nil and will be used for request cancellation. If
2803// the context is nil a panic will occur. In the future the SDK may create
2804// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2805// for more information on using Contexts.
2806func (c *SageMaker) CreateModelPackageWithContext(ctx aws.Context, input *CreateModelPackageInput, opts ...request.Option) (*CreateModelPackageOutput, error) {
2807	req, out := c.CreateModelPackageRequest(input)
2808	req.SetContext(ctx)
2809	req.ApplyOptions(opts...)
2810	return out, req.Send()
2811}
2812
2813const opCreateModelPackageGroup = "CreateModelPackageGroup"
2814
2815// CreateModelPackageGroupRequest generates a "aws/request.Request" representing the
2816// client's request for the CreateModelPackageGroup operation. The "output" return
2817// value will be populated with the request's response once the request completes
2818// successfully.
2819//
2820// Use "Send" method on the returned Request to send the API call to the service.
2821// the "output" return value is not valid until after Send returns without error.
2822//
2823// See CreateModelPackageGroup for more information on using the CreateModelPackageGroup
2824// API call, and error handling.
2825//
2826// This method is useful when you want to inject custom logic or configuration
2827// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2828//
2829//
2830//    // Example sending a request using the CreateModelPackageGroupRequest method.
2831//    req, resp := client.CreateModelPackageGroupRequest(params)
2832//
2833//    err := req.Send()
2834//    if err == nil { // resp is now filled
2835//        fmt.Println(resp)
2836//    }
2837//
2838// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackageGroup
2839func (c *SageMaker) CreateModelPackageGroupRequest(input *CreateModelPackageGroupInput) (req *request.Request, output *CreateModelPackageGroupOutput) {
2840	op := &request.Operation{
2841		Name:       opCreateModelPackageGroup,
2842		HTTPMethod: "POST",
2843		HTTPPath:   "/",
2844	}
2845
2846	if input == nil {
2847		input = &CreateModelPackageGroupInput{}
2848	}
2849
2850	output = &CreateModelPackageGroupOutput{}
2851	req = c.newRequest(op, input, output)
2852	return
2853}
2854
2855// CreateModelPackageGroup API operation for Amazon SageMaker Service.
2856//
2857// Creates a model group. A model group contains a group of model versions.
2858//
2859// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2860// with awserr.Error's Code and Message methods to get detailed information about
2861// the error.
2862//
2863// See the AWS API reference guide for Amazon SageMaker Service's
2864// API operation CreateModelPackageGroup for usage and error information.
2865//
2866// Returned Error Types:
2867//   * ResourceLimitExceeded
2868//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2869//   have too many training jobs created.
2870//
2871// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackageGroup
2872func (c *SageMaker) CreateModelPackageGroup(input *CreateModelPackageGroupInput) (*CreateModelPackageGroupOutput, error) {
2873	req, out := c.CreateModelPackageGroupRequest(input)
2874	return out, req.Send()
2875}
2876
2877// CreateModelPackageGroupWithContext is the same as CreateModelPackageGroup with the addition of
2878// the ability to pass a context and additional request options.
2879//
2880// See CreateModelPackageGroup for details on how to use this API operation.
2881//
2882// The context must be non-nil and will be used for request cancellation. If
2883// the context is nil a panic will occur. In the future the SDK may create
2884// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2885// for more information on using Contexts.
2886func (c *SageMaker) CreateModelPackageGroupWithContext(ctx aws.Context, input *CreateModelPackageGroupInput, opts ...request.Option) (*CreateModelPackageGroupOutput, error) {
2887	req, out := c.CreateModelPackageGroupRequest(input)
2888	req.SetContext(ctx)
2889	req.ApplyOptions(opts...)
2890	return out, req.Send()
2891}
2892
2893const opCreateModelQualityJobDefinition = "CreateModelQualityJobDefinition"
2894
2895// CreateModelQualityJobDefinitionRequest generates a "aws/request.Request" representing the
2896// client's request for the CreateModelQualityJobDefinition operation. The "output" return
2897// value will be populated with the request's response once the request completes
2898// successfully.
2899//
2900// Use "Send" method on the returned Request to send the API call to the service.
2901// the "output" return value is not valid until after Send returns without error.
2902//
2903// See CreateModelQualityJobDefinition for more information on using the CreateModelQualityJobDefinition
2904// API call, and error handling.
2905//
2906// This method is useful when you want to inject custom logic or configuration
2907// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2908//
2909//
2910//    // Example sending a request using the CreateModelQualityJobDefinitionRequest method.
2911//    req, resp := client.CreateModelQualityJobDefinitionRequest(params)
2912//
2913//    err := req.Send()
2914//    if err == nil { // resp is now filled
2915//        fmt.Println(resp)
2916//    }
2917//
2918// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelQualityJobDefinition
2919func (c *SageMaker) CreateModelQualityJobDefinitionRequest(input *CreateModelQualityJobDefinitionInput) (req *request.Request, output *CreateModelQualityJobDefinitionOutput) {
2920	op := &request.Operation{
2921		Name:       opCreateModelQualityJobDefinition,
2922		HTTPMethod: "POST",
2923		HTTPPath:   "/",
2924	}
2925
2926	if input == nil {
2927		input = &CreateModelQualityJobDefinitionInput{}
2928	}
2929
2930	output = &CreateModelQualityJobDefinitionOutput{}
2931	req = c.newRequest(op, input, output)
2932	return
2933}
2934
2935// CreateModelQualityJobDefinition API operation for Amazon SageMaker Service.
2936//
2937// Creates a definition for a job that monitors model quality and drift. For
2938// information about model monitor, see Amazon SageMaker Model Monitor (https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html).
2939//
2940// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2941// with awserr.Error's Code and Message methods to get detailed information about
2942// the error.
2943//
2944// See the AWS API reference guide for Amazon SageMaker Service's
2945// API operation CreateModelQualityJobDefinition for usage and error information.
2946//
2947// Returned Error Types:
2948//   * ResourceLimitExceeded
2949//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2950//   have too many training jobs created.
2951//
2952//   * ResourceInUse
2953//   Resource being accessed is in use.
2954//
2955// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelQualityJobDefinition
2956func (c *SageMaker) CreateModelQualityJobDefinition(input *CreateModelQualityJobDefinitionInput) (*CreateModelQualityJobDefinitionOutput, error) {
2957	req, out := c.CreateModelQualityJobDefinitionRequest(input)
2958	return out, req.Send()
2959}
2960
2961// CreateModelQualityJobDefinitionWithContext is the same as CreateModelQualityJobDefinition with the addition of
2962// the ability to pass a context and additional request options.
2963//
2964// See CreateModelQualityJobDefinition for details on how to use this API operation.
2965//
2966// The context must be non-nil and will be used for request cancellation. If
2967// the context is nil a panic will occur. In the future the SDK may create
2968// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2969// for more information on using Contexts.
2970func (c *SageMaker) CreateModelQualityJobDefinitionWithContext(ctx aws.Context, input *CreateModelQualityJobDefinitionInput, opts ...request.Option) (*CreateModelQualityJobDefinitionOutput, error) {
2971	req, out := c.CreateModelQualityJobDefinitionRequest(input)
2972	req.SetContext(ctx)
2973	req.ApplyOptions(opts...)
2974	return out, req.Send()
2975}
2976
2977const opCreateMonitoringSchedule = "CreateMonitoringSchedule"
2978
2979// CreateMonitoringScheduleRequest generates a "aws/request.Request" representing the
2980// client's request for the CreateMonitoringSchedule operation. The "output" return
2981// value will be populated with the request's response once the request completes
2982// successfully.
2983//
2984// Use "Send" method on the returned Request to send the API call to the service.
2985// the "output" return value is not valid until after Send returns without error.
2986//
2987// See CreateMonitoringSchedule for more information on using the CreateMonitoringSchedule
2988// API call, and error handling.
2989//
2990// This method is useful when you want to inject custom logic or configuration
2991// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2992//
2993//
2994//    // Example sending a request using the CreateMonitoringScheduleRequest method.
2995//    req, resp := client.CreateMonitoringScheduleRequest(params)
2996//
2997//    err := req.Send()
2998//    if err == nil { // resp is now filled
2999//        fmt.Println(resp)
3000//    }
3001//
3002// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateMonitoringSchedule
3003func (c *SageMaker) CreateMonitoringScheduleRequest(input *CreateMonitoringScheduleInput) (req *request.Request, output *CreateMonitoringScheduleOutput) {
3004	op := &request.Operation{
3005		Name:       opCreateMonitoringSchedule,
3006		HTTPMethod: "POST",
3007		HTTPPath:   "/",
3008	}
3009
3010	if input == nil {
3011		input = &CreateMonitoringScheduleInput{}
3012	}
3013
3014	output = &CreateMonitoringScheduleOutput{}
3015	req = c.newRequest(op, input, output)
3016	return
3017}
3018
3019// CreateMonitoringSchedule API operation for Amazon SageMaker Service.
3020//
3021// Creates a schedule that regularly starts Amazon SageMaker Processing Jobs
3022// to monitor the data captured for an Amazon SageMaker Endoint.
3023//
3024// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3025// with awserr.Error's Code and Message methods to get detailed information about
3026// the error.
3027//
3028// See the AWS API reference guide for Amazon SageMaker Service's
3029// API operation CreateMonitoringSchedule for usage and error information.
3030//
3031// Returned Error Types:
3032//   * ResourceLimitExceeded
3033//   You have exceeded an Amazon SageMaker resource limit. For example, you might
3034//   have too many training jobs created.
3035//
3036//   * ResourceInUse
3037//   Resource being accessed is in use.
3038//
3039// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateMonitoringSchedule
3040func (c *SageMaker) CreateMonitoringSchedule(input *CreateMonitoringScheduleInput) (*CreateMonitoringScheduleOutput, error) {
3041	req, out := c.CreateMonitoringScheduleRequest(input)
3042	return out, req.Send()
3043}
3044
3045// CreateMonitoringScheduleWithContext is the same as CreateMonitoringSchedule with the addition of
3046// the ability to pass a context and additional request options.
3047//
3048// See CreateMonitoringSchedule for details on how to use this API operation.
3049//
3050// The context must be non-nil and will be used for request cancellation. If
3051// the context is nil a panic will occur. In the future the SDK may create
3052// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3053// for more information on using Contexts.
3054func (c *SageMaker) CreateMonitoringScheduleWithContext(ctx aws.Context, input *CreateMonitoringScheduleInput, opts ...request.Option) (*CreateMonitoringScheduleOutput, error) {
3055	req, out := c.CreateMonitoringScheduleRequest(input)
3056	req.SetContext(ctx)
3057	req.ApplyOptions(opts...)
3058	return out, req.Send()
3059}
3060
3061const opCreateNotebookInstance = "CreateNotebookInstance"
3062
3063// CreateNotebookInstanceRequest generates a "aws/request.Request" representing the
3064// client's request for the CreateNotebookInstance operation. The "output" return
3065// value will be populated with the request's response once the request completes
3066// successfully.
3067//
3068// Use "Send" method on the returned Request to send the API call to the service.
3069// the "output" return value is not valid until after Send returns without error.
3070//
3071// See CreateNotebookInstance for more information on using the CreateNotebookInstance
3072// API call, and error handling.
3073//
3074// This method is useful when you want to inject custom logic or configuration
3075// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3076//
3077//
3078//    // Example sending a request using the CreateNotebookInstanceRequest method.
3079//    req, resp := client.CreateNotebookInstanceRequest(params)
3080//
3081//    err := req.Send()
3082//    if err == nil { // resp is now filled
3083//        fmt.Println(resp)
3084//    }
3085//
3086// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstance
3087func (c *SageMaker) CreateNotebookInstanceRequest(input *CreateNotebookInstanceInput) (req *request.Request, output *CreateNotebookInstanceOutput) {
3088	op := &request.Operation{
3089		Name:       opCreateNotebookInstance,
3090		HTTPMethod: "POST",
3091		HTTPPath:   "/",
3092	}
3093
3094	if input == nil {
3095		input = &CreateNotebookInstanceInput{}
3096	}
3097
3098	output = &CreateNotebookInstanceOutput{}
3099	req = c.newRequest(op, input, output)
3100	return
3101}
3102
3103// CreateNotebookInstance API operation for Amazon SageMaker Service.
3104//
3105// Creates an Amazon SageMaker notebook instance. A notebook instance is a machine
3106// learning (ML) compute instance running on a Jupyter notebook.
3107//
3108// In a CreateNotebookInstance request, specify the type of ML compute instance
3109// that you want to run. Amazon SageMaker launches the instance, installs common
3110// libraries that you can use to explore datasets for model training, and attaches
3111// an ML storage volume to the notebook instance.
3112//
3113// Amazon SageMaker also provides a set of example notebooks. Each notebook
3114// demonstrates how to use Amazon SageMaker with a specific algorithm or with
3115// a machine learning framework.
3116//
3117// After receiving the request, Amazon SageMaker does the following:
3118//
3119// Creates a network interface in the Amazon SageMaker VPC.
3120//
3121// (Option) If you specified SubnetId, Amazon SageMaker creates a network interface
3122// in your own VPC, which is inferred from the subnet ID that you provide in
3123// the input. When creating this network interface, Amazon SageMaker attaches
3124// the security group that you specified in the request to the network interface
3125// that it creates in your VPC.
3126//
3127// Launches an EC2 instance of the type specified in the request in the Amazon
3128// SageMaker VPC. If you specified SubnetId of your VPC, Amazon SageMaker specifies
3129// both network interfaces when launching this instance. This enables inbound
3130// traffic from your own VPC to the notebook instance, assuming that the security
3131// groups allow it.
3132//
3133// After creating the notebook instance, Amazon SageMaker returns its Amazon
3134// Resource Name (ARN). You can't change the name of a notebook instance after
3135// you create it.
3136//
3137// After Amazon SageMaker creates the notebook instance, you can connect to
3138// the Jupyter server and work in Jupyter notebooks. For example, you can write
3139// code to explore a dataset that you can use for model training, train a model,
3140// host models by creating Amazon SageMaker endpoints, and validate hosted models.
3141//
3142// For more information, see How It Works (https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html).
3143//
3144// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3145// with awserr.Error's Code and Message methods to get detailed information about
3146// the error.
3147//
3148// See the AWS API reference guide for Amazon SageMaker Service's
3149// API operation CreateNotebookInstance for usage and error information.
3150//
3151// Returned Error Types:
3152//   * ResourceLimitExceeded
3153//   You have exceeded an Amazon SageMaker resource limit. For example, you might
3154//   have too many training jobs created.
3155//
3156// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstance
3157func (c *SageMaker) CreateNotebookInstance(input *CreateNotebookInstanceInput) (*CreateNotebookInstanceOutput, error) {
3158	req, out := c.CreateNotebookInstanceRequest(input)
3159	return out, req.Send()
3160}
3161
3162// CreateNotebookInstanceWithContext is the same as CreateNotebookInstance with the addition of
3163// the ability to pass a context and additional request options.
3164//
3165// See CreateNotebookInstance for details on how to use this API operation.
3166//
3167// The context must be non-nil and will be used for request cancellation. If
3168// the context is nil a panic will occur. In the future the SDK may create
3169// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3170// for more information on using Contexts.
3171func (c *SageMaker) CreateNotebookInstanceWithContext(ctx aws.Context, input *CreateNotebookInstanceInput, opts ...request.Option) (*CreateNotebookInstanceOutput, error) {
3172	req, out := c.CreateNotebookInstanceRequest(input)
3173	req.SetContext(ctx)
3174	req.ApplyOptions(opts...)
3175	return out, req.Send()
3176}
3177
3178const opCreateNotebookInstanceLifecycleConfig = "CreateNotebookInstanceLifecycleConfig"
3179
3180// CreateNotebookInstanceLifecycleConfigRequest generates a "aws/request.Request" representing the
3181// client's request for the CreateNotebookInstanceLifecycleConfig operation. The "output" return
3182// value will be populated with the request's response once the request completes
3183// successfully.
3184//
3185// Use "Send" method on the returned Request to send the API call to the service.
3186// the "output" return value is not valid until after Send returns without error.
3187//
3188// See CreateNotebookInstanceLifecycleConfig for more information on using the CreateNotebookInstanceLifecycleConfig
3189// API call, and error handling.
3190//
3191// This method is useful when you want to inject custom logic or configuration
3192// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3193//
3194//
3195//    // Example sending a request using the CreateNotebookInstanceLifecycleConfigRequest method.
3196//    req, resp := client.CreateNotebookInstanceLifecycleConfigRequest(params)
3197//
3198//    err := req.Send()
3199//    if err == nil { // resp is now filled
3200//        fmt.Println(resp)
3201//    }
3202//
3203// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstanceLifecycleConfig
3204func (c *SageMaker) CreateNotebookInstanceLifecycleConfigRequest(input *CreateNotebookInstanceLifecycleConfigInput) (req *request.Request, output *CreateNotebookInstanceLifecycleConfigOutput) {
3205	op := &request.Operation{
3206		Name:       opCreateNotebookInstanceLifecycleConfig,
3207		HTTPMethod: "POST",
3208		HTTPPath:   "/",
3209	}
3210
3211	if input == nil {
3212		input = &CreateNotebookInstanceLifecycleConfigInput{}
3213	}
3214
3215	output = &CreateNotebookInstanceLifecycleConfigOutput{}
3216	req = c.newRequest(op, input, output)
3217	return
3218}
3219
3220// CreateNotebookInstanceLifecycleConfig API operation for Amazon SageMaker Service.
3221//
3222// Creates a lifecycle configuration that you can associate with a notebook
3223// instance. A lifecycle configuration is a collection of shell scripts that
3224// run when you create or start a notebook instance.
3225//
3226// Each lifecycle configuration script has a limit of 16384 characters.
3227//
3228// The value of the $PATH environment variable that is available to both scripts
3229// is /sbin:bin:/usr/sbin:/usr/bin.
3230//
3231// View CloudWatch Logs for notebook instance lifecycle configurations in log
3232// group /aws/sagemaker/NotebookInstances in log stream [notebook-instance-name]/[LifecycleConfigHook].
3233//
3234// Lifecycle configuration scripts cannot run for longer than 5 minutes. If
3235// a script runs for longer than 5 minutes, it fails and the notebook instance
3236// is not created or started.
3237//
3238// For information about notebook instance lifestyle configurations, see Step
3239// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
3240//
3241// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3242// with awserr.Error's Code and Message methods to get detailed information about
3243// the error.
3244//
3245// See the AWS API reference guide for Amazon SageMaker Service's
3246// API operation CreateNotebookInstanceLifecycleConfig for usage and error information.
3247//
3248// Returned Error Types:
3249//   * ResourceLimitExceeded
3250//   You have exceeded an Amazon SageMaker resource limit. For example, you might
3251//   have too many training jobs created.
3252//
3253// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstanceLifecycleConfig
3254func (c *SageMaker) CreateNotebookInstanceLifecycleConfig(input *CreateNotebookInstanceLifecycleConfigInput) (*CreateNotebookInstanceLifecycleConfigOutput, error) {
3255	req, out := c.CreateNotebookInstanceLifecycleConfigRequest(input)
3256	return out, req.Send()
3257}
3258
3259// CreateNotebookInstanceLifecycleConfigWithContext is the same as CreateNotebookInstanceLifecycleConfig with the addition of
3260// the ability to pass a context and additional request options.
3261//
3262// See CreateNotebookInstanceLifecycleConfig for details on how to use this API operation.
3263//
3264// The context must be non-nil and will be used for request cancellation. If
3265// the context is nil a panic will occur. In the future the SDK may create
3266// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3267// for more information on using Contexts.
3268func (c *SageMaker) CreateNotebookInstanceLifecycleConfigWithContext(ctx aws.Context, input *CreateNotebookInstanceLifecycleConfigInput, opts ...request.Option) (*CreateNotebookInstanceLifecycleConfigOutput, error) {
3269	req, out := c.CreateNotebookInstanceLifecycleConfigRequest(input)
3270	req.SetContext(ctx)
3271	req.ApplyOptions(opts...)
3272	return out, req.Send()
3273}
3274
3275const opCreatePipeline = "CreatePipeline"
3276
3277// CreatePipelineRequest generates a "aws/request.Request" representing the
3278// client's request for the CreatePipeline operation. The "output" return
3279// value will be populated with the request's response once the request completes
3280// successfully.
3281//
3282// Use "Send" method on the returned Request to send the API call to the service.
3283// the "output" return value is not valid until after Send returns without error.
3284//
3285// See CreatePipeline for more information on using the CreatePipeline
3286// API call, and error handling.
3287//
3288// This method is useful when you want to inject custom logic or configuration
3289// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3290//
3291//
3292//    // Example sending a request using the CreatePipelineRequest method.
3293//    req, resp := client.CreatePipelineRequest(params)
3294//
3295//    err := req.Send()
3296//    if err == nil { // resp is now filled
3297//        fmt.Println(resp)
3298//    }
3299//
3300// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePipeline
3301func (c *SageMaker) CreatePipelineRequest(input *CreatePipelineInput) (req *request.Request, output *CreatePipelineOutput) {
3302	op := &request.Operation{
3303		Name:       opCreatePipeline,
3304		HTTPMethod: "POST",
3305		HTTPPath:   "/",
3306	}
3307
3308	if input == nil {
3309		input = &CreatePipelineInput{}
3310	}
3311
3312	output = &CreatePipelineOutput{}
3313	req = c.newRequest(op, input, output)
3314	return
3315}
3316
3317// CreatePipeline API operation for Amazon SageMaker Service.
3318//
3319// Creates a pipeline using a JSON pipeline definition.
3320//
3321// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3322// with awserr.Error's Code and Message methods to get detailed information about
3323// the error.
3324//
3325// See the AWS API reference guide for Amazon SageMaker Service's
3326// API operation CreatePipeline for usage and error information.
3327//
3328// Returned Error Types:
3329//   * ResourceNotFound
3330//   Resource being access is not found.
3331//
3332//   * ResourceLimitExceeded
3333//   You have exceeded an Amazon SageMaker resource limit. For example, you might
3334//   have too many training jobs created.
3335//
3336// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePipeline
3337func (c *SageMaker) CreatePipeline(input *CreatePipelineInput) (*CreatePipelineOutput, error) {
3338	req, out := c.CreatePipelineRequest(input)
3339	return out, req.Send()
3340}
3341
3342// CreatePipelineWithContext is the same as CreatePipeline with the addition of
3343// the ability to pass a context and additional request options.
3344//
3345// See CreatePipeline for details on how to use this API operation.
3346//
3347// The context must be non-nil and will be used for request cancellation. If
3348// the context is nil a panic will occur. In the future the SDK may create
3349// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3350// for more information on using Contexts.
3351func (c *SageMaker) CreatePipelineWithContext(ctx aws.Context, input *CreatePipelineInput, opts ...request.Option) (*CreatePipelineOutput, error) {
3352	req, out := c.CreatePipelineRequest(input)
3353	req.SetContext(ctx)
3354	req.ApplyOptions(opts...)
3355	return out, req.Send()
3356}
3357
3358const opCreatePresignedDomainUrl = "CreatePresignedDomainUrl"
3359
3360// CreatePresignedDomainUrlRequest generates a "aws/request.Request" representing the
3361// client's request for the CreatePresignedDomainUrl operation. The "output" return
3362// value will be populated with the request's response once the request completes
3363// successfully.
3364//
3365// Use "Send" method on the returned Request to send the API call to the service.
3366// the "output" return value is not valid until after Send returns without error.
3367//
3368// See CreatePresignedDomainUrl for more information on using the CreatePresignedDomainUrl
3369// API call, and error handling.
3370//
3371// This method is useful when you want to inject custom logic or configuration
3372// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3373//
3374//
3375//    // Example sending a request using the CreatePresignedDomainUrlRequest method.
3376//    req, resp := client.CreatePresignedDomainUrlRequest(params)
3377//
3378//    err := req.Send()
3379//    if err == nil { // resp is now filled
3380//        fmt.Println(resp)
3381//    }
3382//
3383// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedDomainUrl
3384func (c *SageMaker) CreatePresignedDomainUrlRequest(input *CreatePresignedDomainUrlInput) (req *request.Request, output *CreatePresignedDomainUrlOutput) {
3385	op := &request.Operation{
3386		Name:       opCreatePresignedDomainUrl,
3387		HTTPMethod: "POST",
3388		HTTPPath:   "/",
3389	}
3390
3391	if input == nil {
3392		input = &CreatePresignedDomainUrlInput{}
3393	}
3394
3395	output = &CreatePresignedDomainUrlOutput{}
3396	req = c.newRequest(op, input, output)
3397	return
3398}
3399
3400// CreatePresignedDomainUrl API operation for Amazon SageMaker Service.
3401//
3402// Creates a URL for a specified UserProfile in a Domain. When accessed in a
3403// web browser, the user will be automatically signed in to Amazon SageMaker
3404// Studio, and granted access to all of the Apps and files associated with the
3405// Domain's Amazon Elastic File System (EFS) volume. This operation can only
3406// be called when the authentication mode equals IAM.
3407//
3408// The URL that you get from a call to CreatePresignedDomainUrl has a default
3409// timeout of 5 minutes. You can configure this value using ExpiresInSeconds.
3410// If you try to use the URL after the timeout limit expires, you are directed
3411// to the AWS console sign-in page.
3412//
3413// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3414// with awserr.Error's Code and Message methods to get detailed information about
3415// the error.
3416//
3417// See the AWS API reference guide for Amazon SageMaker Service's
3418// API operation CreatePresignedDomainUrl for usage and error information.
3419//
3420// Returned Error Types:
3421//   * ResourceNotFound
3422//   Resource being access is not found.
3423//
3424// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedDomainUrl
3425func (c *SageMaker) CreatePresignedDomainUrl(input *CreatePresignedDomainUrlInput) (*CreatePresignedDomainUrlOutput, error) {
3426	req, out := c.CreatePresignedDomainUrlRequest(input)
3427	return out, req.Send()
3428}
3429
3430// CreatePresignedDomainUrlWithContext is the same as CreatePresignedDomainUrl with the addition of
3431// the ability to pass a context and additional request options.
3432//
3433// See CreatePresignedDomainUrl for details on how to use this API operation.
3434//
3435// The context must be non-nil and will be used for request cancellation. If
3436// the context is nil a panic will occur. In the future the SDK may create
3437// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3438// for more information on using Contexts.
3439func (c *SageMaker) CreatePresignedDomainUrlWithContext(ctx aws.Context, input *CreatePresignedDomainUrlInput, opts ...request.Option) (*CreatePresignedDomainUrlOutput, error) {
3440	req, out := c.CreatePresignedDomainUrlRequest(input)
3441	req.SetContext(ctx)
3442	req.ApplyOptions(opts...)
3443	return out, req.Send()
3444}
3445
3446const opCreatePresignedNotebookInstanceUrl = "CreatePresignedNotebookInstanceUrl"
3447
3448// CreatePresignedNotebookInstanceUrlRequest generates a "aws/request.Request" representing the
3449// client's request for the CreatePresignedNotebookInstanceUrl operation. The "output" return
3450// value will be populated with the request's response once the request completes
3451// successfully.
3452//
3453// Use "Send" method on the returned Request to send the API call to the service.
3454// the "output" return value is not valid until after Send returns without error.
3455//
3456// See CreatePresignedNotebookInstanceUrl for more information on using the CreatePresignedNotebookInstanceUrl
3457// API call, and error handling.
3458//
3459// This method is useful when you want to inject custom logic or configuration
3460// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3461//
3462//
3463//    // Example sending a request using the CreatePresignedNotebookInstanceUrlRequest method.
3464//    req, resp := client.CreatePresignedNotebookInstanceUrlRequest(params)
3465//
3466//    err := req.Send()
3467//    if err == nil { // resp is now filled
3468//        fmt.Println(resp)
3469//    }
3470//
3471// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedNotebookInstanceUrl
3472func (c *SageMaker) CreatePresignedNotebookInstanceUrlRequest(input *CreatePresignedNotebookInstanceUrlInput) (req *request.Request, output *CreatePresignedNotebookInstanceUrlOutput) {
3473	op := &request.Operation{
3474		Name:       opCreatePresignedNotebookInstanceUrl,
3475		HTTPMethod: "POST",
3476		HTTPPath:   "/",
3477	}
3478
3479	if input == nil {
3480		input = &CreatePresignedNotebookInstanceUrlInput{}
3481	}
3482
3483	output = &CreatePresignedNotebookInstanceUrlOutput{}
3484	req = c.newRequest(op, input, output)
3485	return
3486}
3487
3488// CreatePresignedNotebookInstanceUrl API operation for Amazon SageMaker Service.
3489//
3490// Returns a URL that you can use to connect to the Jupyter server from a notebook
3491// instance. In the Amazon SageMaker console, when you choose Open next to a
3492// notebook instance, Amazon SageMaker opens a new tab showing the Jupyter server
3493// home page from the notebook instance. The console uses this API to get the
3494// URL and show the page.
3495//
3496// The IAM role or user used to call this API defines the permissions to access
3497// the notebook instance. Once the presigned URL is created, no additional permission
3498// is required to access this URL. IAM authorization policies for this API are
3499// also enforced for every HTTP request and WebSocket frame that attempts to
3500// connect to the notebook instance.
3501//
3502// You can restrict access to this API and to the URL that it returns to a list
3503// of IP addresses that you specify. Use the NotIpAddress condition operator
3504// and the aws:SourceIP condition context key to specify the list of IP addresses
3505// that you want to have access to the notebook instance. For more information,
3506// 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).
3507//
3508// The URL that you get from a call to CreatePresignedNotebookInstanceUrl is
3509// valid only for 5 minutes. If you try to use the URL after the 5-minute limit
3510// expires, you are directed to the AWS console sign-in page.
3511//
3512// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3513// with awserr.Error's Code and Message methods to get detailed information about
3514// the error.
3515//
3516// See the AWS API reference guide for Amazon SageMaker Service's
3517// API operation CreatePresignedNotebookInstanceUrl for usage and error information.
3518// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedNotebookInstanceUrl
3519func (c *SageMaker) CreatePresignedNotebookInstanceUrl(input *CreatePresignedNotebookInstanceUrlInput) (*CreatePresignedNotebookInstanceUrlOutput, error) {
3520	req, out := c.CreatePresignedNotebookInstanceUrlRequest(input)
3521	return out, req.Send()
3522}
3523
3524// CreatePresignedNotebookInstanceUrlWithContext is the same as CreatePresignedNotebookInstanceUrl with the addition of
3525// the ability to pass a context and additional request options.
3526//
3527// See CreatePresignedNotebookInstanceUrl for details on how to use this API operation.
3528//
3529// The context must be non-nil and will be used for request cancellation. If
3530// the context is nil a panic will occur. In the future the SDK may create
3531// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3532// for more information on using Contexts.
3533func (c *SageMaker) CreatePresignedNotebookInstanceUrlWithContext(ctx aws.Context, input *CreatePresignedNotebookInstanceUrlInput, opts ...request.Option) (*CreatePresignedNotebookInstanceUrlOutput, error) {
3534	req, out := c.CreatePresignedNotebookInstanceUrlRequest(input)
3535	req.SetContext(ctx)
3536	req.ApplyOptions(opts...)
3537	return out, req.Send()
3538}
3539
3540const opCreateProcessingJob = "CreateProcessingJob"
3541
3542// CreateProcessingJobRequest generates a "aws/request.Request" representing the
3543// client's request for the CreateProcessingJob operation. The "output" return
3544// value will be populated with the request's response once the request completes
3545// successfully.
3546//
3547// Use "Send" method on the returned Request to send the API call to the service.
3548// the "output" return value is not valid until after Send returns without error.
3549//
3550// See CreateProcessingJob for more information on using the CreateProcessingJob
3551// API call, and error handling.
3552//
3553// This method is useful when you want to inject custom logic or configuration
3554// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3555//
3556//
3557//    // Example sending a request using the CreateProcessingJobRequest method.
3558//    req, resp := client.CreateProcessingJobRequest(params)
3559//
3560//    err := req.Send()
3561//    if err == nil { // resp is now filled
3562//        fmt.Println(resp)
3563//    }
3564//
3565// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateProcessingJob
3566func (c *SageMaker) CreateProcessingJobRequest(input *CreateProcessingJobInput) (req *request.Request, output *CreateProcessingJobOutput) {
3567	op := &request.Operation{
3568		Name:       opCreateProcessingJob,
3569		HTTPMethod: "POST",
3570		HTTPPath:   "/",
3571	}
3572
3573	if input == nil {
3574		input = &CreateProcessingJobInput{}
3575	}
3576
3577	output = &CreateProcessingJobOutput{}
3578	req = c.newRequest(op, input, output)
3579	return
3580}
3581
3582// CreateProcessingJob API operation for Amazon SageMaker Service.
3583//
3584// Creates a processing job.
3585//
3586// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3587// with awserr.Error's Code and Message methods to get detailed information about
3588// the error.
3589//
3590// See the AWS API reference guide for Amazon SageMaker Service's
3591// API operation CreateProcessingJob for usage and error information.
3592//
3593// Returned Error Types:
3594//   * ResourceInUse
3595//   Resource being accessed is in use.
3596//
3597//   * ResourceLimitExceeded
3598//   You have exceeded an Amazon SageMaker resource limit. For example, you might
3599//   have too many training jobs created.
3600//
3601//   * ResourceNotFound
3602//   Resource being access is not found.
3603//
3604// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateProcessingJob
3605func (c *SageMaker) CreateProcessingJob(input *CreateProcessingJobInput) (*CreateProcessingJobOutput, error) {
3606	req, out := c.CreateProcessingJobRequest(input)
3607	return out, req.Send()
3608}
3609
3610// CreateProcessingJobWithContext is the same as CreateProcessingJob with the addition of
3611// the ability to pass a context and additional request options.
3612//
3613// See CreateProcessingJob for details on how to use this API operation.
3614//
3615// The context must be non-nil and will be used for request cancellation. If
3616// the context is nil a panic will occur. In the future the SDK may create
3617// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3618// for more information on using Contexts.
3619func (c *SageMaker) CreateProcessingJobWithContext(ctx aws.Context, input *CreateProcessingJobInput, opts ...request.Option) (*CreateProcessingJobOutput, error) {
3620	req, out := c.CreateProcessingJobRequest(input)
3621	req.SetContext(ctx)
3622	req.ApplyOptions(opts...)
3623	return out, req.Send()
3624}
3625
3626const opCreateProject = "CreateProject"
3627
3628// CreateProjectRequest generates a "aws/request.Request" representing the
3629// client's request for the CreateProject operation. The "output" return
3630// value will be populated with the request's response once the request completes
3631// successfully.
3632//
3633// Use "Send" method on the returned Request to send the API call to the service.
3634// the "output" return value is not valid until after Send returns without error.
3635//
3636// See CreateProject for more information on using the CreateProject
3637// API call, and error handling.
3638//
3639// This method is useful when you want to inject custom logic or configuration
3640// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3641//
3642//
3643//    // Example sending a request using the CreateProjectRequest method.
3644//    req, resp := client.CreateProjectRequest(params)
3645//
3646//    err := req.Send()
3647//    if err == nil { // resp is now filled
3648//        fmt.Println(resp)
3649//    }
3650//
3651// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateProject
3652func (c *SageMaker) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput) {
3653	op := &request.Operation{
3654		Name:       opCreateProject,
3655		HTTPMethod: "POST",
3656		HTTPPath:   "/",
3657	}
3658
3659	if input == nil {
3660		input = &CreateProjectInput{}
3661	}
3662
3663	output = &CreateProjectOutput{}
3664	req = c.newRequest(op, input, output)
3665	return
3666}
3667
3668// CreateProject API operation for Amazon SageMaker Service.
3669//
3670// Creates a machine learning (ML) project that can contain one or more templates
3671// that set up an ML pipeline from training to deploying an approved model.
3672//
3673// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3674// with awserr.Error's Code and Message methods to get detailed information about
3675// the error.
3676//
3677// See the AWS API reference guide for Amazon SageMaker Service's
3678// API operation CreateProject for usage and error information.
3679//
3680// Returned Error Types:
3681//   * ResourceLimitExceeded
3682//   You have exceeded an Amazon SageMaker resource limit. For example, you might
3683//   have too many training jobs created.
3684//
3685// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateProject
3686func (c *SageMaker) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error) {
3687	req, out := c.CreateProjectRequest(input)
3688	return out, req.Send()
3689}
3690
3691// CreateProjectWithContext is the same as CreateProject with the addition of
3692// the ability to pass a context and additional request options.
3693//
3694// See CreateProject for details on how to use this API operation.
3695//
3696// The context must be non-nil and will be used for request cancellation. If
3697// the context is nil a panic will occur. In the future the SDK may create
3698// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3699// for more information on using Contexts.
3700func (c *SageMaker) CreateProjectWithContext(ctx aws.Context, input *CreateProjectInput, opts ...request.Option) (*CreateProjectOutput, error) {
3701	req, out := c.CreateProjectRequest(input)
3702	req.SetContext(ctx)
3703	req.ApplyOptions(opts...)
3704	return out, req.Send()
3705}
3706
3707const opCreateTrainingJob = "CreateTrainingJob"
3708
3709// CreateTrainingJobRequest generates a "aws/request.Request" representing the
3710// client's request for the CreateTrainingJob operation. The "output" return
3711// value will be populated with the request's response once the request completes
3712// successfully.
3713//
3714// Use "Send" method on the returned Request to send the API call to the service.
3715// the "output" return value is not valid until after Send returns without error.
3716//
3717// See CreateTrainingJob for more information on using the CreateTrainingJob
3718// API call, and error handling.
3719//
3720// This method is useful when you want to inject custom logic or configuration
3721// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3722//
3723//
3724//    // Example sending a request using the CreateTrainingJobRequest method.
3725//    req, resp := client.CreateTrainingJobRequest(params)
3726//
3727//    err := req.Send()
3728//    if err == nil { // resp is now filled
3729//        fmt.Println(resp)
3730//    }
3731//
3732// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingJob
3733func (c *SageMaker) CreateTrainingJobRequest(input *CreateTrainingJobInput) (req *request.Request, output *CreateTrainingJobOutput) {
3734	op := &request.Operation{
3735		Name:       opCreateTrainingJob,
3736		HTTPMethod: "POST",
3737		HTTPPath:   "/",
3738	}
3739
3740	if input == nil {
3741		input = &CreateTrainingJobInput{}
3742	}
3743
3744	output = &CreateTrainingJobOutput{}
3745	req = c.newRequest(op, input, output)
3746	return
3747}
3748
3749// CreateTrainingJob API operation for Amazon SageMaker Service.
3750//
3751// Starts a model training job. After training completes, Amazon SageMaker saves
3752// the resulting model artifacts to an Amazon S3 location that you specify.
3753//
3754// If you choose to host your model using Amazon SageMaker hosting services,
3755// you can use the resulting model artifacts as part of the model. You can also
3756// use the artifacts in a machine learning service other than Amazon SageMaker,
3757// provided that you know how to use them for inference.
3758//
3759// In the request body, you provide the following:
3760//
3761//    * AlgorithmSpecification - Identifies the training algorithm to use.
3762//
3763//    * HyperParameters - Specify these algorithm-specific parameters to enable
3764//    the estimation of model parameters during training. Hyperparameters can
3765//    be tuned to optimize this learning process. For a list of hyperparameters
3766//    for each training algorithm provided by Amazon SageMaker, see Algorithms
3767//    (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
3768//
3769//    * InputDataConfig - Describes the training dataset and the Amazon S3,
3770//    EFS, or FSx location where it is stored.
3771//
3772//    * OutputDataConfig - Identifies the Amazon S3 bucket where you want Amazon
3773//    SageMaker to save the results of model training.
3774//
3775//    * ResourceConfig - Identifies the resources, ML compute instances, and
3776//    ML storage volumes to deploy for model training. In distributed training,
3777//    you specify more than one instance.
3778//
3779//    * EnableManagedSpotTraining - Optimize the cost of training machine learning
3780//    models by up to 80% by using Amazon EC2 Spot instances. For more information,
3781//    see Managed Spot Training (https://docs.aws.amazon.com/sagemaker/latest/dg/model-managed-spot-training.html).
3782//
3783//    * RoleArn - The Amazon Resource Name (ARN) that Amazon SageMaker assumes
3784//    to perform tasks on your behalf during model training. You must grant
3785//    this role the necessary permissions so that Amazon SageMaker can successfully
3786//    complete model training.
3787//
3788//    * StoppingCondition - To help cap training costs, use MaxRuntimeInSeconds
3789//    to set a time limit for training. Use MaxWaitTimeInSeconds to specify
3790//    how long a managed spot training job has to complete.
3791//
3792//    * Environment - The environment variables to set in the Docker container.
3793//
3794//    * RetryStrategy - The number of times to retry the job when the job fails
3795//    due to an InternalServerError.
3796//
3797// For more information about Amazon SageMaker, see How It Works (https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html).
3798//
3799// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3800// with awserr.Error's Code and Message methods to get detailed information about
3801// the error.
3802//
3803// See the AWS API reference guide for Amazon SageMaker Service's
3804// API operation CreateTrainingJob for usage and error information.
3805//
3806// Returned Error Types:
3807//   * ResourceInUse
3808//   Resource being accessed is in use.
3809//
3810//   * ResourceLimitExceeded
3811//   You have exceeded an Amazon SageMaker resource limit. For example, you might
3812//   have too many training jobs created.
3813//
3814//   * ResourceNotFound
3815//   Resource being access is not found.
3816//
3817// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingJob
3818func (c *SageMaker) CreateTrainingJob(input *CreateTrainingJobInput) (*CreateTrainingJobOutput, error) {
3819	req, out := c.CreateTrainingJobRequest(input)
3820	return out, req.Send()
3821}
3822
3823// CreateTrainingJobWithContext is the same as CreateTrainingJob with the addition of
3824// the ability to pass a context and additional request options.
3825//
3826// See CreateTrainingJob for details on how to use this API operation.
3827//
3828// The context must be non-nil and will be used for request cancellation. If
3829// the context is nil a panic will occur. In the future the SDK may create
3830// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3831// for more information on using Contexts.
3832func (c *SageMaker) CreateTrainingJobWithContext(ctx aws.Context, input *CreateTrainingJobInput, opts ...request.Option) (*CreateTrainingJobOutput, error) {
3833	req, out := c.CreateTrainingJobRequest(input)
3834	req.SetContext(ctx)
3835	req.ApplyOptions(opts...)
3836	return out, req.Send()
3837}
3838
3839const opCreateTransformJob = "CreateTransformJob"
3840
3841// CreateTransformJobRequest generates a "aws/request.Request" representing the
3842// client's request for the CreateTransformJob operation. The "output" return
3843// value will be populated with the request's response once the request completes
3844// successfully.
3845//
3846// Use "Send" method on the returned Request to send the API call to the service.
3847// the "output" return value is not valid until after Send returns without error.
3848//
3849// See CreateTransformJob for more information on using the CreateTransformJob
3850// API call, and error handling.
3851//
3852// This method is useful when you want to inject custom logic or configuration
3853// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3854//
3855//
3856//    // Example sending a request using the CreateTransformJobRequest method.
3857//    req, resp := client.CreateTransformJobRequest(params)
3858//
3859//    err := req.Send()
3860//    if err == nil { // resp is now filled
3861//        fmt.Println(resp)
3862//    }
3863//
3864// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTransformJob
3865func (c *SageMaker) CreateTransformJobRequest(input *CreateTransformJobInput) (req *request.Request, output *CreateTransformJobOutput) {
3866	op := &request.Operation{
3867		Name:       opCreateTransformJob,
3868		HTTPMethod: "POST",
3869		HTTPPath:   "/",
3870	}
3871
3872	if input == nil {
3873		input = &CreateTransformJobInput{}
3874	}
3875
3876	output = &CreateTransformJobOutput{}
3877	req = c.newRequest(op, input, output)
3878	return
3879}
3880
3881// CreateTransformJob API operation for Amazon SageMaker Service.
3882//
3883// Starts a transform job. A transform job uses a trained model to get inferences
3884// on a dataset and saves these results to an Amazon S3 location that you specify.
3885//
3886// To perform batch transformations, you create a transform job and use the
3887// data that you have readily available.
3888//
3889// In the request body, you provide the following:
3890//
3891//    * TransformJobName - Identifies the transform job. The name must be unique
3892//    within an AWS Region in an AWS account.
3893//
3894//    * ModelName - Identifies the model to use. ModelName must be the name
3895//    of an existing Amazon SageMaker model in the same AWS Region and AWS account.
3896//    For information on creating a model, see CreateModel.
3897//
3898//    * TransformInput - Describes the dataset to be transformed and the Amazon
3899//    S3 location where it is stored.
3900//
3901//    * TransformOutput - Identifies the Amazon S3 location where you want Amazon
3902//    SageMaker to save the results from the transform job.
3903//
3904//    * TransformResources - Identifies the ML compute instances for the transform
3905//    job.
3906//
3907// For more information about how batch transformation works, see Batch Transform
3908// (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform.html).
3909//
3910// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3911// with awserr.Error's Code and Message methods to get detailed information about
3912// the error.
3913//
3914// See the AWS API reference guide for Amazon SageMaker Service's
3915// API operation CreateTransformJob for usage and error information.
3916//
3917// Returned Error Types:
3918//   * ResourceInUse
3919//   Resource being accessed is in use.
3920//
3921//   * ResourceLimitExceeded
3922//   You have exceeded an Amazon SageMaker resource limit. For example, you might
3923//   have too many training jobs created.
3924//
3925//   * ResourceNotFound
3926//   Resource being access is not found.
3927//
3928// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTransformJob
3929func (c *SageMaker) CreateTransformJob(input *CreateTransformJobInput) (*CreateTransformJobOutput, error) {
3930	req, out := c.CreateTransformJobRequest(input)
3931	return out, req.Send()
3932}
3933
3934// CreateTransformJobWithContext is the same as CreateTransformJob with the addition of
3935// the ability to pass a context and additional request options.
3936//
3937// See CreateTransformJob for details on how to use this API operation.
3938//
3939// The context must be non-nil and will be used for request cancellation. If
3940// the context is nil a panic will occur. In the future the SDK may create
3941// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3942// for more information on using Contexts.
3943func (c *SageMaker) CreateTransformJobWithContext(ctx aws.Context, input *CreateTransformJobInput, opts ...request.Option) (*CreateTransformJobOutput, error) {
3944	req, out := c.CreateTransformJobRequest(input)
3945	req.SetContext(ctx)
3946	req.ApplyOptions(opts...)
3947	return out, req.Send()
3948}
3949
3950const opCreateTrial = "CreateTrial"
3951
3952// CreateTrialRequest generates a "aws/request.Request" representing the
3953// client's request for the CreateTrial operation. The "output" return
3954// value will be populated with the request's response once the request completes
3955// successfully.
3956//
3957// Use "Send" method on the returned Request to send the API call to the service.
3958// the "output" return value is not valid until after Send returns without error.
3959//
3960// See CreateTrial for more information on using the CreateTrial
3961// API call, and error handling.
3962//
3963// This method is useful when you want to inject custom logic or configuration
3964// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3965//
3966//
3967//    // Example sending a request using the CreateTrialRequest method.
3968//    req, resp := client.CreateTrialRequest(params)
3969//
3970//    err := req.Send()
3971//    if err == nil { // resp is now filled
3972//        fmt.Println(resp)
3973//    }
3974//
3975// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrial
3976func (c *SageMaker) CreateTrialRequest(input *CreateTrialInput) (req *request.Request, output *CreateTrialOutput) {
3977	op := &request.Operation{
3978		Name:       opCreateTrial,
3979		HTTPMethod: "POST",
3980		HTTPPath:   "/",
3981	}
3982
3983	if input == nil {
3984		input = &CreateTrialInput{}
3985	}
3986
3987	output = &CreateTrialOutput{}
3988	req = c.newRequest(op, input, output)
3989	return
3990}
3991
3992// CreateTrial API operation for Amazon SageMaker Service.
3993//
3994// Creates an SageMaker trial. A trial is a set of steps called trial components
3995// that produce a machine learning model. A trial is part of a single SageMaker
3996// experiment.
3997//
3998// When you use SageMaker Studio or the SageMaker Python SDK, all experiments,
3999// trials, and trial components are automatically tracked, logged, and indexed.
4000// When you use the AWS SDK for Python (Boto), you must use the logging APIs
4001// provided by the SDK.
4002//
4003// You can add tags to a trial and then use the Search API to search for the
4004// tags.
4005//
4006// To get a list of all your trials, call the ListTrials API. To view a trial's
4007// properties, call the DescribeTrial API. To create a trial component, call
4008// the CreateTrialComponent API.
4009//
4010// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4011// with awserr.Error's Code and Message methods to get detailed information about
4012// the error.
4013//
4014// See the AWS API reference guide for Amazon SageMaker Service's
4015// API operation CreateTrial for usage and error information.
4016//
4017// Returned Error Types:
4018//   * ResourceNotFound
4019//   Resource being access is not found.
4020//
4021//   * ResourceLimitExceeded
4022//   You have exceeded an Amazon SageMaker resource limit. For example, you might
4023//   have too many training jobs created.
4024//
4025// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrial
4026func (c *SageMaker) CreateTrial(input *CreateTrialInput) (*CreateTrialOutput, error) {
4027	req, out := c.CreateTrialRequest(input)
4028	return out, req.Send()
4029}
4030
4031// CreateTrialWithContext is the same as CreateTrial with the addition of
4032// the ability to pass a context and additional request options.
4033//
4034// See CreateTrial for details on how to use this API operation.
4035//
4036// The context must be non-nil and will be used for request cancellation. If
4037// the context is nil a panic will occur. In the future the SDK may create
4038// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4039// for more information on using Contexts.
4040func (c *SageMaker) CreateTrialWithContext(ctx aws.Context, input *CreateTrialInput, opts ...request.Option) (*CreateTrialOutput, error) {
4041	req, out := c.CreateTrialRequest(input)
4042	req.SetContext(ctx)
4043	req.ApplyOptions(opts...)
4044	return out, req.Send()
4045}
4046
4047const opCreateTrialComponent = "CreateTrialComponent"
4048
4049// CreateTrialComponentRequest generates a "aws/request.Request" representing the
4050// client's request for the CreateTrialComponent operation. The "output" return
4051// value will be populated with the request's response once the request completes
4052// successfully.
4053//
4054// Use "Send" method on the returned Request to send the API call to the service.
4055// the "output" return value is not valid until after Send returns without error.
4056//
4057// See CreateTrialComponent for more information on using the CreateTrialComponent
4058// API call, and error handling.
4059//
4060// This method is useful when you want to inject custom logic or configuration
4061// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4062//
4063//
4064//    // Example sending a request using the CreateTrialComponentRequest method.
4065//    req, resp := client.CreateTrialComponentRequest(params)
4066//
4067//    err := req.Send()
4068//    if err == nil { // resp is now filled
4069//        fmt.Println(resp)
4070//    }
4071//
4072// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrialComponent
4073func (c *SageMaker) CreateTrialComponentRequest(input *CreateTrialComponentInput) (req *request.Request, output *CreateTrialComponentOutput) {
4074	op := &request.Operation{
4075		Name:       opCreateTrialComponent,
4076		HTTPMethod: "POST",
4077		HTTPPath:   "/",
4078	}
4079
4080	if input == nil {
4081		input = &CreateTrialComponentInput{}
4082	}
4083
4084	output = &CreateTrialComponentOutput{}
4085	req = c.newRequest(op, input, output)
4086	return
4087}
4088
4089// CreateTrialComponent API operation for Amazon SageMaker Service.
4090//
4091// Creates a trial component, which is a stage of a machine learning trial.
4092// A trial is composed of one or more trial components. A trial component can
4093// be used in multiple trials.
4094//
4095// Trial components include pre-processing jobs, training jobs, and batch transform
4096// jobs.
4097//
4098// When you use SageMaker Studio or the SageMaker Python SDK, all experiments,
4099// trials, and trial components are automatically tracked, logged, and indexed.
4100// When you use the AWS SDK for Python (Boto), you must use the logging APIs
4101// provided by the SDK.
4102//
4103// You can add tags to a trial component and then use the Search API to search
4104// for the tags.
4105//
4106// CreateTrialComponent can only be invoked from within an SageMaker managed
4107// environment. This includes SageMaker training jobs, processing jobs, transform
4108// jobs, and SageMaker notebooks. A call to CreateTrialComponent from outside
4109// one of these environments results in an error.
4110//
4111// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4112// with awserr.Error's Code and Message methods to get detailed information about
4113// the error.
4114//
4115// See the AWS API reference guide for Amazon SageMaker Service's
4116// API operation CreateTrialComponent for usage and error information.
4117//
4118// Returned Error Types:
4119//   * ResourceLimitExceeded
4120//   You have exceeded an Amazon SageMaker resource limit. For example, you might
4121//   have too many training jobs created.
4122//
4123// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrialComponent
4124func (c *SageMaker) CreateTrialComponent(input *CreateTrialComponentInput) (*CreateTrialComponentOutput, error) {
4125	req, out := c.CreateTrialComponentRequest(input)
4126	return out, req.Send()
4127}
4128
4129// CreateTrialComponentWithContext is the same as CreateTrialComponent with the addition of
4130// the ability to pass a context and additional request options.
4131//
4132// See CreateTrialComponent for details on how to use this API operation.
4133//
4134// The context must be non-nil and will be used for request cancellation. If
4135// the context is nil a panic will occur. In the future the SDK may create
4136// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4137// for more information on using Contexts.
4138func (c *SageMaker) CreateTrialComponentWithContext(ctx aws.Context, input *CreateTrialComponentInput, opts ...request.Option) (*CreateTrialComponentOutput, error) {
4139	req, out := c.CreateTrialComponentRequest(input)
4140	req.SetContext(ctx)
4141	req.ApplyOptions(opts...)
4142	return out, req.Send()
4143}
4144
4145const opCreateUserProfile = "CreateUserProfile"
4146
4147// CreateUserProfileRequest generates a "aws/request.Request" representing the
4148// client's request for the CreateUserProfile operation. The "output" return
4149// value will be populated with the request's response once the request completes
4150// successfully.
4151//
4152// Use "Send" method on the returned Request to send the API call to the service.
4153// the "output" return value is not valid until after Send returns without error.
4154//
4155// See CreateUserProfile for more information on using the CreateUserProfile
4156// API call, and error handling.
4157//
4158// This method is useful when you want to inject custom logic or configuration
4159// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4160//
4161//
4162//    // Example sending a request using the CreateUserProfileRequest method.
4163//    req, resp := client.CreateUserProfileRequest(params)
4164//
4165//    err := req.Send()
4166//    if err == nil { // resp is now filled
4167//        fmt.Println(resp)
4168//    }
4169//
4170// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateUserProfile
4171func (c *SageMaker) CreateUserProfileRequest(input *CreateUserProfileInput) (req *request.Request, output *CreateUserProfileOutput) {
4172	op := &request.Operation{
4173		Name:       opCreateUserProfile,
4174		HTTPMethod: "POST",
4175		HTTPPath:   "/",
4176	}
4177
4178	if input == nil {
4179		input = &CreateUserProfileInput{}
4180	}
4181
4182	output = &CreateUserProfileOutput{}
4183	req = c.newRequest(op, input, output)
4184	return
4185}
4186
4187// CreateUserProfile API operation for Amazon SageMaker Service.
4188//
4189// Creates a user profile. A user profile represents a single user within a
4190// domain, and is the main way to reference a "person" for the purposes of sharing,
4191// reporting, and other user-oriented features. This entity is created when
4192// a user onboards to Amazon SageMaker Studio. If an administrator invites a
4193// person by email or imports them from SSO, a user profile is automatically
4194// created. A user profile is the primary holder of settings for an individual
4195// user and has a reference to the user's private Amazon Elastic File System
4196// (EFS) home directory.
4197//
4198// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4199// with awserr.Error's Code and Message methods to get detailed information about
4200// the error.
4201//
4202// See the AWS API reference guide for Amazon SageMaker Service's
4203// API operation CreateUserProfile for usage and error information.
4204//
4205// Returned Error Types:
4206//   * ResourceLimitExceeded
4207//   You have exceeded an Amazon SageMaker resource limit. For example, you might
4208//   have too many training jobs created.
4209//
4210//   * ResourceInUse
4211//   Resource being accessed is in use.
4212//
4213// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateUserProfile
4214func (c *SageMaker) CreateUserProfile(input *CreateUserProfileInput) (*CreateUserProfileOutput, error) {
4215	req, out := c.CreateUserProfileRequest(input)
4216	return out, req.Send()
4217}
4218
4219// CreateUserProfileWithContext is the same as CreateUserProfile with the addition of
4220// the ability to pass a context and additional request options.
4221//
4222// See CreateUserProfile for details on how to use this API operation.
4223//
4224// The context must be non-nil and will be used for request cancellation. If
4225// the context is nil a panic will occur. In the future the SDK may create
4226// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4227// for more information on using Contexts.
4228func (c *SageMaker) CreateUserProfileWithContext(ctx aws.Context, input *CreateUserProfileInput, opts ...request.Option) (*CreateUserProfileOutput, error) {
4229	req, out := c.CreateUserProfileRequest(input)
4230	req.SetContext(ctx)
4231	req.ApplyOptions(opts...)
4232	return out, req.Send()
4233}
4234
4235const opCreateWorkforce = "CreateWorkforce"
4236
4237// CreateWorkforceRequest generates a "aws/request.Request" representing the
4238// client's request for the CreateWorkforce operation. The "output" return
4239// value will be populated with the request's response once the request completes
4240// successfully.
4241//
4242// Use "Send" method on the returned Request to send the API call to the service.
4243// the "output" return value is not valid until after Send returns without error.
4244//
4245// See CreateWorkforce for more information on using the CreateWorkforce
4246// API call, and error handling.
4247//
4248// This method is useful when you want to inject custom logic or configuration
4249// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4250//
4251//
4252//    // Example sending a request using the CreateWorkforceRequest method.
4253//    req, resp := client.CreateWorkforceRequest(params)
4254//
4255//    err := req.Send()
4256//    if err == nil { // resp is now filled
4257//        fmt.Println(resp)
4258//    }
4259//
4260// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkforce
4261func (c *SageMaker) CreateWorkforceRequest(input *CreateWorkforceInput) (req *request.Request, output *CreateWorkforceOutput) {
4262	op := &request.Operation{
4263		Name:       opCreateWorkforce,
4264		HTTPMethod: "POST",
4265		HTTPPath:   "/",
4266	}
4267
4268	if input == nil {
4269		input = &CreateWorkforceInput{}
4270	}
4271
4272	output = &CreateWorkforceOutput{}
4273	req = c.newRequest(op, input, output)
4274	return
4275}
4276
4277// CreateWorkforce API operation for Amazon SageMaker Service.
4278//
4279// Use this operation to create a workforce. This operation will return an error
4280// if a workforce already exists in the AWS Region that you specify. You can
4281// only create one workforce in each AWS Region per AWS account.
4282//
4283// If you want to create a new workforce in an AWS Region where a workforce
4284// already exists, use the API operation to delete the existing workforce and
4285// then use CreateWorkforce to create a new workforce.
4286//
4287// To create a private workforce using Amazon Cognito, you must specify a Cognito
4288// user pool in CognitoConfig. You can also create an Amazon Cognito workforce
4289// using the Amazon SageMaker console. For more information, see Create a Private
4290// Workforce (Amazon Cognito) (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html).
4291//
4292// To create a private workforce using your own OIDC Identity Provider (IdP),
4293// specify your IdP configuration in OidcConfig. Your OIDC IdP must support
4294// groups because groups are used by Ground Truth and Amazon A2I to create work
4295// teams. For more information, see Create a Private Workforce (OIDC IdP) (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private-oidc.html).
4296//
4297// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4298// with awserr.Error's Code and Message methods to get detailed information about
4299// the error.
4300//
4301// See the AWS API reference guide for Amazon SageMaker Service's
4302// API operation CreateWorkforce for usage and error information.
4303// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkforce
4304func (c *SageMaker) CreateWorkforce(input *CreateWorkforceInput) (*CreateWorkforceOutput, error) {
4305	req, out := c.CreateWorkforceRequest(input)
4306	return out, req.Send()
4307}
4308
4309// CreateWorkforceWithContext is the same as CreateWorkforce with the addition of
4310// the ability to pass a context and additional request options.
4311//
4312// See CreateWorkforce for details on how to use this API operation.
4313//
4314// The context must be non-nil and will be used for request cancellation. If
4315// the context is nil a panic will occur. In the future the SDK may create
4316// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4317// for more information on using Contexts.
4318func (c *SageMaker) CreateWorkforceWithContext(ctx aws.Context, input *CreateWorkforceInput, opts ...request.Option) (*CreateWorkforceOutput, error) {
4319	req, out := c.CreateWorkforceRequest(input)
4320	req.SetContext(ctx)
4321	req.ApplyOptions(opts...)
4322	return out, req.Send()
4323}
4324
4325const opCreateWorkteam = "CreateWorkteam"
4326
4327// CreateWorkteamRequest generates a "aws/request.Request" representing the
4328// client's request for the CreateWorkteam operation. The "output" return
4329// value will be populated with the request's response once the request completes
4330// successfully.
4331//
4332// Use "Send" method on the returned Request to send the API call to the service.
4333// the "output" return value is not valid until after Send returns without error.
4334//
4335// See CreateWorkteam for more information on using the CreateWorkteam
4336// API call, and error handling.
4337//
4338// This method is useful when you want to inject custom logic or configuration
4339// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4340//
4341//
4342//    // Example sending a request using the CreateWorkteamRequest method.
4343//    req, resp := client.CreateWorkteamRequest(params)
4344//
4345//    err := req.Send()
4346//    if err == nil { // resp is now filled
4347//        fmt.Println(resp)
4348//    }
4349//
4350// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkteam
4351func (c *SageMaker) CreateWorkteamRequest(input *CreateWorkteamInput) (req *request.Request, output *CreateWorkteamOutput) {
4352	op := &request.Operation{
4353		Name:       opCreateWorkteam,
4354		HTTPMethod: "POST",
4355		HTTPPath:   "/",
4356	}
4357
4358	if input == nil {
4359		input = &CreateWorkteamInput{}
4360	}
4361
4362	output = &CreateWorkteamOutput{}
4363	req = c.newRequest(op, input, output)
4364	return
4365}
4366
4367// CreateWorkteam API operation for Amazon SageMaker Service.
4368//
4369// Creates a new work team for labeling your data. A work team is defined by
4370// one or more Amazon Cognito user pools. You must first create the user pools
4371// before you can create a work team.
4372//
4373// You cannot create more than 25 work teams in an account and region.
4374//
4375// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4376// with awserr.Error's Code and Message methods to get detailed information about
4377// the error.
4378//
4379// See the AWS API reference guide for Amazon SageMaker Service's
4380// API operation CreateWorkteam for usage and error information.
4381//
4382// Returned Error Types:
4383//   * ResourceInUse
4384//   Resource being accessed is in use.
4385//
4386//   * ResourceLimitExceeded
4387//   You have exceeded an Amazon SageMaker resource limit. For example, you might
4388//   have too many training jobs created.
4389//
4390// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkteam
4391func (c *SageMaker) CreateWorkteam(input *CreateWorkteamInput) (*CreateWorkteamOutput, error) {
4392	req, out := c.CreateWorkteamRequest(input)
4393	return out, req.Send()
4394}
4395
4396// CreateWorkteamWithContext is the same as CreateWorkteam with the addition of
4397// the ability to pass a context and additional request options.
4398//
4399// See CreateWorkteam for details on how to use this API operation.
4400//
4401// The context must be non-nil and will be used for request cancellation. If
4402// the context is nil a panic will occur. In the future the SDK may create
4403// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4404// for more information on using Contexts.
4405func (c *SageMaker) CreateWorkteamWithContext(ctx aws.Context, input *CreateWorkteamInput, opts ...request.Option) (*CreateWorkteamOutput, error) {
4406	req, out := c.CreateWorkteamRequest(input)
4407	req.SetContext(ctx)
4408	req.ApplyOptions(opts...)
4409	return out, req.Send()
4410}
4411
4412const opDeleteAction = "DeleteAction"
4413
4414// DeleteActionRequest generates a "aws/request.Request" representing the
4415// client's request for the DeleteAction operation. The "output" return
4416// value will be populated with the request's response once the request completes
4417// successfully.
4418//
4419// Use "Send" method on the returned Request to send the API call to the service.
4420// the "output" return value is not valid until after Send returns without error.
4421//
4422// See DeleteAction for more information on using the DeleteAction
4423// API call, and error handling.
4424//
4425// This method is useful when you want to inject custom logic or configuration
4426// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4427//
4428//
4429//    // Example sending a request using the DeleteActionRequest method.
4430//    req, resp := client.DeleteActionRequest(params)
4431//
4432//    err := req.Send()
4433//    if err == nil { // resp is now filled
4434//        fmt.Println(resp)
4435//    }
4436//
4437// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAction
4438func (c *SageMaker) DeleteActionRequest(input *DeleteActionInput) (req *request.Request, output *DeleteActionOutput) {
4439	op := &request.Operation{
4440		Name:       opDeleteAction,
4441		HTTPMethod: "POST",
4442		HTTPPath:   "/",
4443	}
4444
4445	if input == nil {
4446		input = &DeleteActionInput{}
4447	}
4448
4449	output = &DeleteActionOutput{}
4450	req = c.newRequest(op, input, output)
4451	return
4452}
4453
4454// DeleteAction API operation for Amazon SageMaker Service.
4455//
4456// Deletes an action.
4457//
4458// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4459// with awserr.Error's Code and Message methods to get detailed information about
4460// the error.
4461//
4462// See the AWS API reference guide for Amazon SageMaker Service's
4463// API operation DeleteAction for usage and error information.
4464//
4465// Returned Error Types:
4466//   * ResourceNotFound
4467//   Resource being access is not found.
4468//
4469// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAction
4470func (c *SageMaker) DeleteAction(input *DeleteActionInput) (*DeleteActionOutput, error) {
4471	req, out := c.DeleteActionRequest(input)
4472	return out, req.Send()
4473}
4474
4475// DeleteActionWithContext is the same as DeleteAction with the addition of
4476// the ability to pass a context and additional request options.
4477//
4478// See DeleteAction for details on how to use this API operation.
4479//
4480// The context must be non-nil and will be used for request cancellation. If
4481// the context is nil a panic will occur. In the future the SDK may create
4482// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4483// for more information on using Contexts.
4484func (c *SageMaker) DeleteActionWithContext(ctx aws.Context, input *DeleteActionInput, opts ...request.Option) (*DeleteActionOutput, error) {
4485	req, out := c.DeleteActionRequest(input)
4486	req.SetContext(ctx)
4487	req.ApplyOptions(opts...)
4488	return out, req.Send()
4489}
4490
4491const opDeleteAlgorithm = "DeleteAlgorithm"
4492
4493// DeleteAlgorithmRequest generates a "aws/request.Request" representing the
4494// client's request for the DeleteAlgorithm operation. The "output" return
4495// value will be populated with the request's response once the request completes
4496// successfully.
4497//
4498// Use "Send" method on the returned Request to send the API call to the service.
4499// the "output" return value is not valid until after Send returns without error.
4500//
4501// See DeleteAlgorithm for more information on using the DeleteAlgorithm
4502// API call, and error handling.
4503//
4504// This method is useful when you want to inject custom logic or configuration
4505// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4506//
4507//
4508//    // Example sending a request using the DeleteAlgorithmRequest method.
4509//    req, resp := client.DeleteAlgorithmRequest(params)
4510//
4511//    err := req.Send()
4512//    if err == nil { // resp is now filled
4513//        fmt.Println(resp)
4514//    }
4515//
4516// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAlgorithm
4517func (c *SageMaker) DeleteAlgorithmRequest(input *DeleteAlgorithmInput) (req *request.Request, output *DeleteAlgorithmOutput) {
4518	op := &request.Operation{
4519		Name:       opDeleteAlgorithm,
4520		HTTPMethod: "POST",
4521		HTTPPath:   "/",
4522	}
4523
4524	if input == nil {
4525		input = &DeleteAlgorithmInput{}
4526	}
4527
4528	output = &DeleteAlgorithmOutput{}
4529	req = c.newRequest(op, input, output)
4530	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4531	return
4532}
4533
4534// DeleteAlgorithm API operation for Amazon SageMaker Service.
4535//
4536// Removes the specified algorithm from your account.
4537//
4538// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4539// with awserr.Error's Code and Message methods to get detailed information about
4540// the error.
4541//
4542// See the AWS API reference guide for Amazon SageMaker Service's
4543// API operation DeleteAlgorithm for usage and error information.
4544// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAlgorithm
4545func (c *SageMaker) DeleteAlgorithm(input *DeleteAlgorithmInput) (*DeleteAlgorithmOutput, error) {
4546	req, out := c.DeleteAlgorithmRequest(input)
4547	return out, req.Send()
4548}
4549
4550// DeleteAlgorithmWithContext is the same as DeleteAlgorithm with the addition of
4551// the ability to pass a context and additional request options.
4552//
4553// See DeleteAlgorithm for details on how to use this API operation.
4554//
4555// The context must be non-nil and will be used for request cancellation. If
4556// the context is nil a panic will occur. In the future the SDK may create
4557// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4558// for more information on using Contexts.
4559func (c *SageMaker) DeleteAlgorithmWithContext(ctx aws.Context, input *DeleteAlgorithmInput, opts ...request.Option) (*DeleteAlgorithmOutput, error) {
4560	req, out := c.DeleteAlgorithmRequest(input)
4561	req.SetContext(ctx)
4562	req.ApplyOptions(opts...)
4563	return out, req.Send()
4564}
4565
4566const opDeleteApp = "DeleteApp"
4567
4568// DeleteAppRequest generates a "aws/request.Request" representing the
4569// client's request for the DeleteApp operation. The "output" return
4570// value will be populated with the request's response once the request completes
4571// successfully.
4572//
4573// Use "Send" method on the returned Request to send the API call to the service.
4574// the "output" return value is not valid until after Send returns without error.
4575//
4576// See DeleteApp for more information on using the DeleteApp
4577// API call, and error handling.
4578//
4579// This method is useful when you want to inject custom logic or configuration
4580// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4581//
4582//
4583//    // Example sending a request using the DeleteAppRequest method.
4584//    req, resp := client.DeleteAppRequest(params)
4585//
4586//    err := req.Send()
4587//    if err == nil { // resp is now filled
4588//        fmt.Println(resp)
4589//    }
4590//
4591// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteApp
4592func (c *SageMaker) DeleteAppRequest(input *DeleteAppInput) (req *request.Request, output *DeleteAppOutput) {
4593	op := &request.Operation{
4594		Name:       opDeleteApp,
4595		HTTPMethod: "POST",
4596		HTTPPath:   "/",
4597	}
4598
4599	if input == nil {
4600		input = &DeleteAppInput{}
4601	}
4602
4603	output = &DeleteAppOutput{}
4604	req = c.newRequest(op, input, output)
4605	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4606	return
4607}
4608
4609// DeleteApp API operation for Amazon SageMaker Service.
4610//
4611// Used to stop and delete an app.
4612//
4613// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4614// with awserr.Error's Code and Message methods to get detailed information about
4615// the error.
4616//
4617// See the AWS API reference guide for Amazon SageMaker Service's
4618// API operation DeleteApp for usage and error information.
4619//
4620// Returned Error Types:
4621//   * ResourceInUse
4622//   Resource being accessed is in use.
4623//
4624//   * ResourceNotFound
4625//   Resource being access is not found.
4626//
4627// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteApp
4628func (c *SageMaker) DeleteApp(input *DeleteAppInput) (*DeleteAppOutput, error) {
4629	req, out := c.DeleteAppRequest(input)
4630	return out, req.Send()
4631}
4632
4633// DeleteAppWithContext is the same as DeleteApp with the addition of
4634// the ability to pass a context and additional request options.
4635//
4636// See DeleteApp for details on how to use this API operation.
4637//
4638// The context must be non-nil and will be used for request cancellation. If
4639// the context is nil a panic will occur. In the future the SDK may create
4640// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4641// for more information on using Contexts.
4642func (c *SageMaker) DeleteAppWithContext(ctx aws.Context, input *DeleteAppInput, opts ...request.Option) (*DeleteAppOutput, error) {
4643	req, out := c.DeleteAppRequest(input)
4644	req.SetContext(ctx)
4645	req.ApplyOptions(opts...)
4646	return out, req.Send()
4647}
4648
4649const opDeleteAppImageConfig = "DeleteAppImageConfig"
4650
4651// DeleteAppImageConfigRequest generates a "aws/request.Request" representing the
4652// client's request for the DeleteAppImageConfig operation. The "output" return
4653// value will be populated with the request's response once the request completes
4654// successfully.
4655//
4656// Use "Send" method on the returned Request to send the API call to the service.
4657// the "output" return value is not valid until after Send returns without error.
4658//
4659// See DeleteAppImageConfig for more information on using the DeleteAppImageConfig
4660// API call, and error handling.
4661//
4662// This method is useful when you want to inject custom logic or configuration
4663// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4664//
4665//
4666//    // Example sending a request using the DeleteAppImageConfigRequest method.
4667//    req, resp := client.DeleteAppImageConfigRequest(params)
4668//
4669//    err := req.Send()
4670//    if err == nil { // resp is now filled
4671//        fmt.Println(resp)
4672//    }
4673//
4674// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAppImageConfig
4675func (c *SageMaker) DeleteAppImageConfigRequest(input *DeleteAppImageConfigInput) (req *request.Request, output *DeleteAppImageConfigOutput) {
4676	op := &request.Operation{
4677		Name:       opDeleteAppImageConfig,
4678		HTTPMethod: "POST",
4679		HTTPPath:   "/",
4680	}
4681
4682	if input == nil {
4683		input = &DeleteAppImageConfigInput{}
4684	}
4685
4686	output = &DeleteAppImageConfigOutput{}
4687	req = c.newRequest(op, input, output)
4688	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4689	return
4690}
4691
4692// DeleteAppImageConfig API operation for Amazon SageMaker Service.
4693//
4694// Deletes an AppImageConfig.
4695//
4696// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4697// with awserr.Error's Code and Message methods to get detailed information about
4698// the error.
4699//
4700// See the AWS API reference guide for Amazon SageMaker Service's
4701// API operation DeleteAppImageConfig for usage and error information.
4702//
4703// Returned Error Types:
4704//   * ResourceNotFound
4705//   Resource being access is not found.
4706//
4707// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAppImageConfig
4708func (c *SageMaker) DeleteAppImageConfig(input *DeleteAppImageConfigInput) (*DeleteAppImageConfigOutput, error) {
4709	req, out := c.DeleteAppImageConfigRequest(input)
4710	return out, req.Send()
4711}
4712
4713// DeleteAppImageConfigWithContext is the same as DeleteAppImageConfig with the addition of
4714// the ability to pass a context and additional request options.
4715//
4716// See DeleteAppImageConfig for details on how to use this API operation.
4717//
4718// The context must be non-nil and will be used for request cancellation. If
4719// the context is nil a panic will occur. In the future the SDK may create
4720// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4721// for more information on using Contexts.
4722func (c *SageMaker) DeleteAppImageConfigWithContext(ctx aws.Context, input *DeleteAppImageConfigInput, opts ...request.Option) (*DeleteAppImageConfigOutput, error) {
4723	req, out := c.DeleteAppImageConfigRequest(input)
4724	req.SetContext(ctx)
4725	req.ApplyOptions(opts...)
4726	return out, req.Send()
4727}
4728
4729const opDeleteArtifact = "DeleteArtifact"
4730
4731// DeleteArtifactRequest generates a "aws/request.Request" representing the
4732// client's request for the DeleteArtifact operation. The "output" return
4733// value will be populated with the request's response once the request completes
4734// successfully.
4735//
4736// Use "Send" method on the returned Request to send the API call to the service.
4737// the "output" return value is not valid until after Send returns without error.
4738//
4739// See DeleteArtifact for more information on using the DeleteArtifact
4740// API call, and error handling.
4741//
4742// This method is useful when you want to inject custom logic or configuration
4743// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4744//
4745//
4746//    // Example sending a request using the DeleteArtifactRequest method.
4747//    req, resp := client.DeleteArtifactRequest(params)
4748//
4749//    err := req.Send()
4750//    if err == nil { // resp is now filled
4751//        fmt.Println(resp)
4752//    }
4753//
4754// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteArtifact
4755func (c *SageMaker) DeleteArtifactRequest(input *DeleteArtifactInput) (req *request.Request, output *DeleteArtifactOutput) {
4756	op := &request.Operation{
4757		Name:       opDeleteArtifact,
4758		HTTPMethod: "POST",
4759		HTTPPath:   "/",
4760	}
4761
4762	if input == nil {
4763		input = &DeleteArtifactInput{}
4764	}
4765
4766	output = &DeleteArtifactOutput{}
4767	req = c.newRequest(op, input, output)
4768	return
4769}
4770
4771// DeleteArtifact API operation for Amazon SageMaker Service.
4772//
4773// Deletes an artifact. Either ArtifactArn or Source must be specified.
4774//
4775// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4776// with awserr.Error's Code and Message methods to get detailed information about
4777// the error.
4778//
4779// See the AWS API reference guide for Amazon SageMaker Service's
4780// API operation DeleteArtifact for usage and error information.
4781//
4782// Returned Error Types:
4783//   * ResourceNotFound
4784//   Resource being access is not found.
4785//
4786// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteArtifact
4787func (c *SageMaker) DeleteArtifact(input *DeleteArtifactInput) (*DeleteArtifactOutput, error) {
4788	req, out := c.DeleteArtifactRequest(input)
4789	return out, req.Send()
4790}
4791
4792// DeleteArtifactWithContext is the same as DeleteArtifact with the addition of
4793// the ability to pass a context and additional request options.
4794//
4795// See DeleteArtifact for details on how to use this API operation.
4796//
4797// The context must be non-nil and will be used for request cancellation. If
4798// the context is nil a panic will occur. In the future the SDK may create
4799// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4800// for more information on using Contexts.
4801func (c *SageMaker) DeleteArtifactWithContext(ctx aws.Context, input *DeleteArtifactInput, opts ...request.Option) (*DeleteArtifactOutput, error) {
4802	req, out := c.DeleteArtifactRequest(input)
4803	req.SetContext(ctx)
4804	req.ApplyOptions(opts...)
4805	return out, req.Send()
4806}
4807
4808const opDeleteAssociation = "DeleteAssociation"
4809
4810// DeleteAssociationRequest generates a "aws/request.Request" representing the
4811// client's request for the DeleteAssociation operation. The "output" return
4812// value will be populated with the request's response once the request completes
4813// successfully.
4814//
4815// Use "Send" method on the returned Request to send the API call to the service.
4816// the "output" return value is not valid until after Send returns without error.
4817//
4818// See DeleteAssociation for more information on using the DeleteAssociation
4819// API call, and error handling.
4820//
4821// This method is useful when you want to inject custom logic or configuration
4822// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4823//
4824//
4825//    // Example sending a request using the DeleteAssociationRequest method.
4826//    req, resp := client.DeleteAssociationRequest(params)
4827//
4828//    err := req.Send()
4829//    if err == nil { // resp is now filled
4830//        fmt.Println(resp)
4831//    }
4832//
4833// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAssociation
4834func (c *SageMaker) DeleteAssociationRequest(input *DeleteAssociationInput) (req *request.Request, output *DeleteAssociationOutput) {
4835	op := &request.Operation{
4836		Name:       opDeleteAssociation,
4837		HTTPMethod: "POST",
4838		HTTPPath:   "/",
4839	}
4840
4841	if input == nil {
4842		input = &DeleteAssociationInput{}
4843	}
4844
4845	output = &DeleteAssociationOutput{}
4846	req = c.newRequest(op, input, output)
4847	return
4848}
4849
4850// DeleteAssociation API operation for Amazon SageMaker Service.
4851//
4852// Deletes an association.
4853//
4854// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4855// with awserr.Error's Code and Message methods to get detailed information about
4856// the error.
4857//
4858// See the AWS API reference guide for Amazon SageMaker Service's
4859// API operation DeleteAssociation for usage and error information.
4860//
4861// Returned Error Types:
4862//   * ResourceNotFound
4863//   Resource being access is not found.
4864//
4865// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAssociation
4866func (c *SageMaker) DeleteAssociation(input *DeleteAssociationInput) (*DeleteAssociationOutput, error) {
4867	req, out := c.DeleteAssociationRequest(input)
4868	return out, req.Send()
4869}
4870
4871// DeleteAssociationWithContext is the same as DeleteAssociation with the addition of
4872// the ability to pass a context and additional request options.
4873//
4874// See DeleteAssociation for details on how to use this API operation.
4875//
4876// The context must be non-nil and will be used for request cancellation. If
4877// the context is nil a panic will occur. In the future the SDK may create
4878// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4879// for more information on using Contexts.
4880func (c *SageMaker) DeleteAssociationWithContext(ctx aws.Context, input *DeleteAssociationInput, opts ...request.Option) (*DeleteAssociationOutput, error) {
4881	req, out := c.DeleteAssociationRequest(input)
4882	req.SetContext(ctx)
4883	req.ApplyOptions(opts...)
4884	return out, req.Send()
4885}
4886
4887const opDeleteCodeRepository = "DeleteCodeRepository"
4888
4889// DeleteCodeRepositoryRequest generates a "aws/request.Request" representing the
4890// client's request for the DeleteCodeRepository operation. The "output" return
4891// value will be populated with the request's response once the request completes
4892// successfully.
4893//
4894// Use "Send" method on the returned Request to send the API call to the service.
4895// the "output" return value is not valid until after Send returns without error.
4896//
4897// See DeleteCodeRepository for more information on using the DeleteCodeRepository
4898// API call, and error handling.
4899//
4900// This method is useful when you want to inject custom logic or configuration
4901// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4902//
4903//
4904//    // Example sending a request using the DeleteCodeRepositoryRequest method.
4905//    req, resp := client.DeleteCodeRepositoryRequest(params)
4906//
4907//    err := req.Send()
4908//    if err == nil { // resp is now filled
4909//        fmt.Println(resp)
4910//    }
4911//
4912// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteCodeRepository
4913func (c *SageMaker) DeleteCodeRepositoryRequest(input *DeleteCodeRepositoryInput) (req *request.Request, output *DeleteCodeRepositoryOutput) {
4914	op := &request.Operation{
4915		Name:       opDeleteCodeRepository,
4916		HTTPMethod: "POST",
4917		HTTPPath:   "/",
4918	}
4919
4920	if input == nil {
4921		input = &DeleteCodeRepositoryInput{}
4922	}
4923
4924	output = &DeleteCodeRepositoryOutput{}
4925	req = c.newRequest(op, input, output)
4926	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4927	return
4928}
4929
4930// DeleteCodeRepository API operation for Amazon SageMaker Service.
4931//
4932// Deletes the specified Git repository from your account.
4933//
4934// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4935// with awserr.Error's Code and Message methods to get detailed information about
4936// the error.
4937//
4938// See the AWS API reference guide for Amazon SageMaker Service's
4939// API operation DeleteCodeRepository for usage and error information.
4940// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteCodeRepository
4941func (c *SageMaker) DeleteCodeRepository(input *DeleteCodeRepositoryInput) (*DeleteCodeRepositoryOutput, error) {
4942	req, out := c.DeleteCodeRepositoryRequest(input)
4943	return out, req.Send()
4944}
4945
4946// DeleteCodeRepositoryWithContext is the same as DeleteCodeRepository with the addition of
4947// the ability to pass a context and additional request options.
4948//
4949// See DeleteCodeRepository for details on how to use this API operation.
4950//
4951// The context must be non-nil and will be used for request cancellation. If
4952// the context is nil a panic will occur. In the future the SDK may create
4953// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4954// for more information on using Contexts.
4955func (c *SageMaker) DeleteCodeRepositoryWithContext(ctx aws.Context, input *DeleteCodeRepositoryInput, opts ...request.Option) (*DeleteCodeRepositoryOutput, error) {
4956	req, out := c.DeleteCodeRepositoryRequest(input)
4957	req.SetContext(ctx)
4958	req.ApplyOptions(opts...)
4959	return out, req.Send()
4960}
4961
4962const opDeleteContext = "DeleteContext"
4963
4964// DeleteContextRequest generates a "aws/request.Request" representing the
4965// client's request for the DeleteContext operation. The "output" return
4966// value will be populated with the request's response once the request completes
4967// successfully.
4968//
4969// Use "Send" method on the returned Request to send the API call to the service.
4970// the "output" return value is not valid until after Send returns without error.
4971//
4972// See DeleteContext for more information on using the DeleteContext
4973// API call, and error handling.
4974//
4975// This method is useful when you want to inject custom logic or configuration
4976// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4977//
4978//
4979//    // Example sending a request using the DeleteContextRequest method.
4980//    req, resp := client.DeleteContextRequest(params)
4981//
4982//    err := req.Send()
4983//    if err == nil { // resp is now filled
4984//        fmt.Println(resp)
4985//    }
4986//
4987// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteContext
4988func (c *SageMaker) DeleteContextRequest(input *DeleteContextInput) (req *request.Request, output *DeleteContextOutput) {
4989	op := &request.Operation{
4990		Name:       opDeleteContext,
4991		HTTPMethod: "POST",
4992		HTTPPath:   "/",
4993	}
4994
4995	if input == nil {
4996		input = &DeleteContextInput{}
4997	}
4998
4999	output = &DeleteContextOutput{}
5000	req = c.newRequest(op, input, output)
5001	return
5002}
5003
5004// DeleteContext API operation for Amazon SageMaker Service.
5005//
5006// Deletes an context.
5007//
5008// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5009// with awserr.Error's Code and Message methods to get detailed information about
5010// the error.
5011//
5012// See the AWS API reference guide for Amazon SageMaker Service's
5013// API operation DeleteContext for usage and error information.
5014//
5015// Returned Error Types:
5016//   * ResourceNotFound
5017//   Resource being access is not found.
5018//
5019// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteContext
5020func (c *SageMaker) DeleteContext(input *DeleteContextInput) (*DeleteContextOutput, error) {
5021	req, out := c.DeleteContextRequest(input)
5022	return out, req.Send()
5023}
5024
5025// DeleteContextWithContext is the same as DeleteContext with the addition of
5026// the ability to pass a context and additional request options.
5027//
5028// See DeleteContext for details on how to use this API operation.
5029//
5030// The context must be non-nil and will be used for request cancellation. If
5031// the context is nil a panic will occur. In the future the SDK may create
5032// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5033// for more information on using Contexts.
5034func (c *SageMaker) DeleteContextWithContext(ctx aws.Context, input *DeleteContextInput, opts ...request.Option) (*DeleteContextOutput, error) {
5035	req, out := c.DeleteContextRequest(input)
5036	req.SetContext(ctx)
5037	req.ApplyOptions(opts...)
5038	return out, req.Send()
5039}
5040
5041const opDeleteDataQualityJobDefinition = "DeleteDataQualityJobDefinition"
5042
5043// DeleteDataQualityJobDefinitionRequest generates a "aws/request.Request" representing the
5044// client's request for the DeleteDataQualityJobDefinition operation. The "output" return
5045// value will be populated with the request's response once the request completes
5046// successfully.
5047//
5048// Use "Send" method on the returned Request to send the API call to the service.
5049// the "output" return value is not valid until after Send returns without error.
5050//
5051// See DeleteDataQualityJobDefinition for more information on using the DeleteDataQualityJobDefinition
5052// API call, and error handling.
5053//
5054// This method is useful when you want to inject custom logic or configuration
5055// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5056//
5057//
5058//    // Example sending a request using the DeleteDataQualityJobDefinitionRequest method.
5059//    req, resp := client.DeleteDataQualityJobDefinitionRequest(params)
5060//
5061//    err := req.Send()
5062//    if err == nil { // resp is now filled
5063//        fmt.Println(resp)
5064//    }
5065//
5066// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDataQualityJobDefinition
5067func (c *SageMaker) DeleteDataQualityJobDefinitionRequest(input *DeleteDataQualityJobDefinitionInput) (req *request.Request, output *DeleteDataQualityJobDefinitionOutput) {
5068	op := &request.Operation{
5069		Name:       opDeleteDataQualityJobDefinition,
5070		HTTPMethod: "POST",
5071		HTTPPath:   "/",
5072	}
5073
5074	if input == nil {
5075		input = &DeleteDataQualityJobDefinitionInput{}
5076	}
5077
5078	output = &DeleteDataQualityJobDefinitionOutput{}
5079	req = c.newRequest(op, input, output)
5080	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5081	return
5082}
5083
5084// DeleteDataQualityJobDefinition API operation for Amazon SageMaker Service.
5085//
5086// Deletes a data quality monitoring job definition.
5087//
5088// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5089// with awserr.Error's Code and Message methods to get detailed information about
5090// the error.
5091//
5092// See the AWS API reference guide for Amazon SageMaker Service's
5093// API operation DeleteDataQualityJobDefinition for usage and error information.
5094//
5095// Returned Error Types:
5096//   * ResourceNotFound
5097//   Resource being access is not found.
5098//
5099// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDataQualityJobDefinition
5100func (c *SageMaker) DeleteDataQualityJobDefinition(input *DeleteDataQualityJobDefinitionInput) (*DeleteDataQualityJobDefinitionOutput, error) {
5101	req, out := c.DeleteDataQualityJobDefinitionRequest(input)
5102	return out, req.Send()
5103}
5104
5105// DeleteDataQualityJobDefinitionWithContext is the same as DeleteDataQualityJobDefinition with the addition of
5106// the ability to pass a context and additional request options.
5107//
5108// See DeleteDataQualityJobDefinition for details on how to use this API operation.
5109//
5110// The context must be non-nil and will be used for request cancellation. If
5111// the context is nil a panic will occur. In the future the SDK may create
5112// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5113// for more information on using Contexts.
5114func (c *SageMaker) DeleteDataQualityJobDefinitionWithContext(ctx aws.Context, input *DeleteDataQualityJobDefinitionInput, opts ...request.Option) (*DeleteDataQualityJobDefinitionOutput, error) {
5115	req, out := c.DeleteDataQualityJobDefinitionRequest(input)
5116	req.SetContext(ctx)
5117	req.ApplyOptions(opts...)
5118	return out, req.Send()
5119}
5120
5121const opDeleteDeviceFleet = "DeleteDeviceFleet"
5122
5123// DeleteDeviceFleetRequest generates a "aws/request.Request" representing the
5124// client's request for the DeleteDeviceFleet operation. The "output" return
5125// value will be populated with the request's response once the request completes
5126// successfully.
5127//
5128// Use "Send" method on the returned Request to send the API call to the service.
5129// the "output" return value is not valid until after Send returns without error.
5130//
5131// See DeleteDeviceFleet for more information on using the DeleteDeviceFleet
5132// API call, and error handling.
5133//
5134// This method is useful when you want to inject custom logic or configuration
5135// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5136//
5137//
5138//    // Example sending a request using the DeleteDeviceFleetRequest method.
5139//    req, resp := client.DeleteDeviceFleetRequest(params)
5140//
5141//    err := req.Send()
5142//    if err == nil { // resp is now filled
5143//        fmt.Println(resp)
5144//    }
5145//
5146// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDeviceFleet
5147func (c *SageMaker) DeleteDeviceFleetRequest(input *DeleteDeviceFleetInput) (req *request.Request, output *DeleteDeviceFleetOutput) {
5148	op := &request.Operation{
5149		Name:       opDeleteDeviceFleet,
5150		HTTPMethod: "POST",
5151		HTTPPath:   "/",
5152	}
5153
5154	if input == nil {
5155		input = &DeleteDeviceFleetInput{}
5156	}
5157
5158	output = &DeleteDeviceFleetOutput{}
5159	req = c.newRequest(op, input, output)
5160	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5161	return
5162}
5163
5164// DeleteDeviceFleet API operation for Amazon SageMaker Service.
5165//
5166// Deletes a fleet.
5167//
5168// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5169// with awserr.Error's Code and Message methods to get detailed information about
5170// the error.
5171//
5172// See the AWS API reference guide for Amazon SageMaker Service's
5173// API operation DeleteDeviceFleet for usage and error information.
5174//
5175// Returned Error Types:
5176//   * ResourceInUse
5177//   Resource being accessed is in use.
5178//
5179// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDeviceFleet
5180func (c *SageMaker) DeleteDeviceFleet(input *DeleteDeviceFleetInput) (*DeleteDeviceFleetOutput, error) {
5181	req, out := c.DeleteDeviceFleetRequest(input)
5182	return out, req.Send()
5183}
5184
5185// DeleteDeviceFleetWithContext is the same as DeleteDeviceFleet with the addition of
5186// the ability to pass a context and additional request options.
5187//
5188// See DeleteDeviceFleet for details on how to use this API operation.
5189//
5190// The context must be non-nil and will be used for request cancellation. If
5191// the context is nil a panic will occur. In the future the SDK may create
5192// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5193// for more information on using Contexts.
5194func (c *SageMaker) DeleteDeviceFleetWithContext(ctx aws.Context, input *DeleteDeviceFleetInput, opts ...request.Option) (*DeleteDeviceFleetOutput, error) {
5195	req, out := c.DeleteDeviceFleetRequest(input)
5196	req.SetContext(ctx)
5197	req.ApplyOptions(opts...)
5198	return out, req.Send()
5199}
5200
5201const opDeleteDomain = "DeleteDomain"
5202
5203// DeleteDomainRequest generates a "aws/request.Request" representing the
5204// client's request for the DeleteDomain operation. The "output" return
5205// value will be populated with the request's response once the request completes
5206// successfully.
5207//
5208// Use "Send" method on the returned Request to send the API call to the service.
5209// the "output" return value is not valid until after Send returns without error.
5210//
5211// See DeleteDomain for more information on using the DeleteDomain
5212// API call, and error handling.
5213//
5214// This method is useful when you want to inject custom logic or configuration
5215// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5216//
5217//
5218//    // Example sending a request using the DeleteDomainRequest method.
5219//    req, resp := client.DeleteDomainRequest(params)
5220//
5221//    err := req.Send()
5222//    if err == nil { // resp is now filled
5223//        fmt.Println(resp)
5224//    }
5225//
5226// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDomain
5227func (c *SageMaker) DeleteDomainRequest(input *DeleteDomainInput) (req *request.Request, output *DeleteDomainOutput) {
5228	op := &request.Operation{
5229		Name:       opDeleteDomain,
5230		HTTPMethod: "POST",
5231		HTTPPath:   "/",
5232	}
5233
5234	if input == nil {
5235		input = &DeleteDomainInput{}
5236	}
5237
5238	output = &DeleteDomainOutput{}
5239	req = c.newRequest(op, input, output)
5240	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5241	return
5242}
5243
5244// DeleteDomain API operation for Amazon SageMaker Service.
5245//
5246// Used to delete a domain. If you onboarded with IAM mode, you will need to
5247// delete your domain to onboard again using SSO. Use with caution. All of the
5248// members of the domain will lose access to their EFS volume, including data,
5249// notebooks, and other artifacts.
5250//
5251// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5252// with awserr.Error's Code and Message methods to get detailed information about
5253// the error.
5254//
5255// See the AWS API reference guide for Amazon SageMaker Service's
5256// API operation DeleteDomain for usage and error information.
5257//
5258// Returned Error Types:
5259//   * ResourceInUse
5260//   Resource being accessed is in use.
5261//
5262//   * ResourceNotFound
5263//   Resource being access is not found.
5264//
5265// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDomain
5266func (c *SageMaker) DeleteDomain(input *DeleteDomainInput) (*DeleteDomainOutput, error) {
5267	req, out := c.DeleteDomainRequest(input)
5268	return out, req.Send()
5269}
5270
5271// DeleteDomainWithContext is the same as DeleteDomain with the addition of
5272// the ability to pass a context and additional request options.
5273//
5274// See DeleteDomain for details on how to use this API operation.
5275//
5276// The context must be non-nil and will be used for request cancellation. If
5277// the context is nil a panic will occur. In the future the SDK may create
5278// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5279// for more information on using Contexts.
5280func (c *SageMaker) DeleteDomainWithContext(ctx aws.Context, input *DeleteDomainInput, opts ...request.Option) (*DeleteDomainOutput, error) {
5281	req, out := c.DeleteDomainRequest(input)
5282	req.SetContext(ctx)
5283	req.ApplyOptions(opts...)
5284	return out, req.Send()
5285}
5286
5287const opDeleteEndpoint = "DeleteEndpoint"
5288
5289// DeleteEndpointRequest generates a "aws/request.Request" representing the
5290// client's request for the DeleteEndpoint operation. The "output" return
5291// value will be populated with the request's response once the request completes
5292// successfully.
5293//
5294// Use "Send" method on the returned Request to send the API call to the service.
5295// the "output" return value is not valid until after Send returns without error.
5296//
5297// See DeleteEndpoint for more information on using the DeleteEndpoint
5298// API call, and error handling.
5299//
5300// This method is useful when you want to inject custom logic or configuration
5301// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5302//
5303//
5304//    // Example sending a request using the DeleteEndpointRequest method.
5305//    req, resp := client.DeleteEndpointRequest(params)
5306//
5307//    err := req.Send()
5308//    if err == nil { // resp is now filled
5309//        fmt.Println(resp)
5310//    }
5311//
5312// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpoint
5313func (c *SageMaker) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Request, output *DeleteEndpointOutput) {
5314	op := &request.Operation{
5315		Name:       opDeleteEndpoint,
5316		HTTPMethod: "POST",
5317		HTTPPath:   "/",
5318	}
5319
5320	if input == nil {
5321		input = &DeleteEndpointInput{}
5322	}
5323
5324	output = &DeleteEndpointOutput{}
5325	req = c.newRequest(op, input, output)
5326	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5327	return
5328}
5329
5330// DeleteEndpoint API operation for Amazon SageMaker Service.
5331//
5332// Deletes an endpoint. Amazon SageMaker frees up all of the resources that
5333// were deployed when the endpoint was created.
5334//
5335// Amazon SageMaker retires any custom KMS key grants associated with the endpoint,
5336// meaning you don't need to use the RevokeGrant (http://docs.aws.amazon.com/kms/latest/APIReference/API_RevokeGrant.html)
5337// API call.
5338//
5339// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5340// with awserr.Error's Code and Message methods to get detailed information about
5341// the error.
5342//
5343// See the AWS API reference guide for Amazon SageMaker Service's
5344// API operation DeleteEndpoint for usage and error information.
5345// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpoint
5346func (c *SageMaker) DeleteEndpoint(input *DeleteEndpointInput) (*DeleteEndpointOutput, error) {
5347	req, out := c.DeleteEndpointRequest(input)
5348	return out, req.Send()
5349}
5350
5351// DeleteEndpointWithContext is the same as DeleteEndpoint with the addition of
5352// the ability to pass a context and additional request options.
5353//
5354// See DeleteEndpoint for details on how to use this API operation.
5355//
5356// The context must be non-nil and will be used for request cancellation. If
5357// the context is nil a panic will occur. In the future the SDK may create
5358// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5359// for more information on using Contexts.
5360func (c *SageMaker) DeleteEndpointWithContext(ctx aws.Context, input *DeleteEndpointInput, opts ...request.Option) (*DeleteEndpointOutput, error) {
5361	req, out := c.DeleteEndpointRequest(input)
5362	req.SetContext(ctx)
5363	req.ApplyOptions(opts...)
5364	return out, req.Send()
5365}
5366
5367const opDeleteEndpointConfig = "DeleteEndpointConfig"
5368
5369// DeleteEndpointConfigRequest generates a "aws/request.Request" representing the
5370// client's request for the DeleteEndpointConfig operation. The "output" return
5371// value will be populated with the request's response once the request completes
5372// successfully.
5373//
5374// Use "Send" method on the returned Request to send the API call to the service.
5375// the "output" return value is not valid until after Send returns without error.
5376//
5377// See DeleteEndpointConfig for more information on using the DeleteEndpointConfig
5378// API call, and error handling.
5379//
5380// This method is useful when you want to inject custom logic or configuration
5381// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5382//
5383//
5384//    // Example sending a request using the DeleteEndpointConfigRequest method.
5385//    req, resp := client.DeleteEndpointConfigRequest(params)
5386//
5387//    err := req.Send()
5388//    if err == nil { // resp is now filled
5389//        fmt.Println(resp)
5390//    }
5391//
5392// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpointConfig
5393func (c *SageMaker) DeleteEndpointConfigRequest(input *DeleteEndpointConfigInput) (req *request.Request, output *DeleteEndpointConfigOutput) {
5394	op := &request.Operation{
5395		Name:       opDeleteEndpointConfig,
5396		HTTPMethod: "POST",
5397		HTTPPath:   "/",
5398	}
5399
5400	if input == nil {
5401		input = &DeleteEndpointConfigInput{}
5402	}
5403
5404	output = &DeleteEndpointConfigOutput{}
5405	req = c.newRequest(op, input, output)
5406	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5407	return
5408}
5409
5410// DeleteEndpointConfig API operation for Amazon SageMaker Service.
5411//
5412// Deletes an endpoint configuration. The DeleteEndpointConfig API deletes only
5413// the specified configuration. It does not delete endpoints created using the
5414// configuration.
5415//
5416// You must not delete an EndpointConfig in use by an endpoint that is live
5417// or while the UpdateEndpoint or CreateEndpoint operations are being performed
5418// on the endpoint. If you delete the EndpointConfig of an endpoint that is
5419// active or being created or updated you may lose visibility into the instance
5420// type the endpoint is using. The endpoint must be deleted in order to stop
5421// incurring charges.
5422//
5423// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5424// with awserr.Error's Code and Message methods to get detailed information about
5425// the error.
5426//
5427// See the AWS API reference guide for Amazon SageMaker Service's
5428// API operation DeleteEndpointConfig for usage and error information.
5429// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpointConfig
5430func (c *SageMaker) DeleteEndpointConfig(input *DeleteEndpointConfigInput) (*DeleteEndpointConfigOutput, error) {
5431	req, out := c.DeleteEndpointConfigRequest(input)
5432	return out, req.Send()
5433}
5434
5435// DeleteEndpointConfigWithContext is the same as DeleteEndpointConfig with the addition of
5436// the ability to pass a context and additional request options.
5437//
5438// See DeleteEndpointConfig for details on how to use this API operation.
5439//
5440// The context must be non-nil and will be used for request cancellation. If
5441// the context is nil a panic will occur. In the future the SDK may create
5442// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5443// for more information on using Contexts.
5444func (c *SageMaker) DeleteEndpointConfigWithContext(ctx aws.Context, input *DeleteEndpointConfigInput, opts ...request.Option) (*DeleteEndpointConfigOutput, error) {
5445	req, out := c.DeleteEndpointConfigRequest(input)
5446	req.SetContext(ctx)
5447	req.ApplyOptions(opts...)
5448	return out, req.Send()
5449}
5450
5451const opDeleteExperiment = "DeleteExperiment"
5452
5453// DeleteExperimentRequest generates a "aws/request.Request" representing the
5454// client's request for the DeleteExperiment operation. The "output" return
5455// value will be populated with the request's response once the request completes
5456// successfully.
5457//
5458// Use "Send" method on the returned Request to send the API call to the service.
5459// the "output" return value is not valid until after Send returns without error.
5460//
5461// See DeleteExperiment for more information on using the DeleteExperiment
5462// API call, and error handling.
5463//
5464// This method is useful when you want to inject custom logic or configuration
5465// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5466//
5467//
5468//    // Example sending a request using the DeleteExperimentRequest method.
5469//    req, resp := client.DeleteExperimentRequest(params)
5470//
5471//    err := req.Send()
5472//    if err == nil { // resp is now filled
5473//        fmt.Println(resp)
5474//    }
5475//
5476// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteExperiment
5477func (c *SageMaker) DeleteExperimentRequest(input *DeleteExperimentInput) (req *request.Request, output *DeleteExperimentOutput) {
5478	op := &request.Operation{
5479		Name:       opDeleteExperiment,
5480		HTTPMethod: "POST",
5481		HTTPPath:   "/",
5482	}
5483
5484	if input == nil {
5485		input = &DeleteExperimentInput{}
5486	}
5487
5488	output = &DeleteExperimentOutput{}
5489	req = c.newRequest(op, input, output)
5490	return
5491}
5492
5493// DeleteExperiment API operation for Amazon SageMaker Service.
5494//
5495// Deletes an SageMaker experiment. All trials associated with the experiment
5496// must be deleted first. Use the ListTrials API to get a list of the trials
5497// associated with the experiment.
5498//
5499// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5500// with awserr.Error's Code and Message methods to get detailed information about
5501// the error.
5502//
5503// See the AWS API reference guide for Amazon SageMaker Service's
5504// API operation DeleteExperiment for usage and error information.
5505//
5506// Returned Error Types:
5507//   * ResourceNotFound
5508//   Resource being access is not found.
5509//
5510// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteExperiment
5511func (c *SageMaker) DeleteExperiment(input *DeleteExperimentInput) (*DeleteExperimentOutput, error) {
5512	req, out := c.DeleteExperimentRequest(input)
5513	return out, req.Send()
5514}
5515
5516// DeleteExperimentWithContext is the same as DeleteExperiment with the addition of
5517// the ability to pass a context and additional request options.
5518//
5519// See DeleteExperiment for details on how to use this API operation.
5520//
5521// The context must be non-nil and will be used for request cancellation. If
5522// the context is nil a panic will occur. In the future the SDK may create
5523// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5524// for more information on using Contexts.
5525func (c *SageMaker) DeleteExperimentWithContext(ctx aws.Context, input *DeleteExperimentInput, opts ...request.Option) (*DeleteExperimentOutput, error) {
5526	req, out := c.DeleteExperimentRequest(input)
5527	req.SetContext(ctx)
5528	req.ApplyOptions(opts...)
5529	return out, req.Send()
5530}
5531
5532const opDeleteFeatureGroup = "DeleteFeatureGroup"
5533
5534// DeleteFeatureGroupRequest generates a "aws/request.Request" representing the
5535// client's request for the DeleteFeatureGroup operation. The "output" return
5536// value will be populated with the request's response once the request completes
5537// successfully.
5538//
5539// Use "Send" method on the returned Request to send the API call to the service.
5540// the "output" return value is not valid until after Send returns without error.
5541//
5542// See DeleteFeatureGroup for more information on using the DeleteFeatureGroup
5543// API call, and error handling.
5544//
5545// This method is useful when you want to inject custom logic or configuration
5546// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5547//
5548//
5549//    // Example sending a request using the DeleteFeatureGroupRequest method.
5550//    req, resp := client.DeleteFeatureGroupRequest(params)
5551//
5552//    err := req.Send()
5553//    if err == nil { // resp is now filled
5554//        fmt.Println(resp)
5555//    }
5556//
5557// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteFeatureGroup
5558func (c *SageMaker) DeleteFeatureGroupRequest(input *DeleteFeatureGroupInput) (req *request.Request, output *DeleteFeatureGroupOutput) {
5559	op := &request.Operation{
5560		Name:       opDeleteFeatureGroup,
5561		HTTPMethod: "POST",
5562		HTTPPath:   "/",
5563	}
5564
5565	if input == nil {
5566		input = &DeleteFeatureGroupInput{}
5567	}
5568
5569	output = &DeleteFeatureGroupOutput{}
5570	req = c.newRequest(op, input, output)
5571	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5572	return
5573}
5574
5575// DeleteFeatureGroup API operation for Amazon SageMaker Service.
5576//
5577// Delete the FeatureGroup and any data that was written to the OnlineStore
5578// of the FeatureGroup. Data cannot be accessed from the OnlineStore immediately
5579// after DeleteFeatureGroup is called.
5580//
5581// Data written into the OfflineStore will not be deleted. The AWS Glue database
5582// and tables that are automatically created for your OfflineStore are not deleted.
5583//
5584// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5585// with awserr.Error's Code and Message methods to get detailed information about
5586// the error.
5587//
5588// See the AWS API reference guide for Amazon SageMaker Service's
5589// API operation DeleteFeatureGroup for usage and error information.
5590//
5591// Returned Error Types:
5592//   * ResourceNotFound
5593//   Resource being access is not found.
5594//
5595// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteFeatureGroup
5596func (c *SageMaker) DeleteFeatureGroup(input *DeleteFeatureGroupInput) (*DeleteFeatureGroupOutput, error) {
5597	req, out := c.DeleteFeatureGroupRequest(input)
5598	return out, req.Send()
5599}
5600
5601// DeleteFeatureGroupWithContext is the same as DeleteFeatureGroup with the addition of
5602// the ability to pass a context and additional request options.
5603//
5604// See DeleteFeatureGroup for details on how to use this API operation.
5605//
5606// The context must be non-nil and will be used for request cancellation. If
5607// the context is nil a panic will occur. In the future the SDK may create
5608// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5609// for more information on using Contexts.
5610func (c *SageMaker) DeleteFeatureGroupWithContext(ctx aws.Context, input *DeleteFeatureGroupInput, opts ...request.Option) (*DeleteFeatureGroupOutput, error) {
5611	req, out := c.DeleteFeatureGroupRequest(input)
5612	req.SetContext(ctx)
5613	req.ApplyOptions(opts...)
5614	return out, req.Send()
5615}
5616
5617const opDeleteFlowDefinition = "DeleteFlowDefinition"
5618
5619// DeleteFlowDefinitionRequest generates a "aws/request.Request" representing the
5620// client's request for the DeleteFlowDefinition operation. The "output" return
5621// value will be populated with the request's response once the request completes
5622// successfully.
5623//
5624// Use "Send" method on the returned Request to send the API call to the service.
5625// the "output" return value is not valid until after Send returns without error.
5626//
5627// See DeleteFlowDefinition for more information on using the DeleteFlowDefinition
5628// API call, and error handling.
5629//
5630// This method is useful when you want to inject custom logic or configuration
5631// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5632//
5633//
5634//    // Example sending a request using the DeleteFlowDefinitionRequest method.
5635//    req, resp := client.DeleteFlowDefinitionRequest(params)
5636//
5637//    err := req.Send()
5638//    if err == nil { // resp is now filled
5639//        fmt.Println(resp)
5640//    }
5641//
5642// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteFlowDefinition
5643func (c *SageMaker) DeleteFlowDefinitionRequest(input *DeleteFlowDefinitionInput) (req *request.Request, output *DeleteFlowDefinitionOutput) {
5644	op := &request.Operation{
5645		Name:       opDeleteFlowDefinition,
5646		HTTPMethod: "POST",
5647		HTTPPath:   "/",
5648	}
5649
5650	if input == nil {
5651		input = &DeleteFlowDefinitionInput{}
5652	}
5653
5654	output = &DeleteFlowDefinitionOutput{}
5655	req = c.newRequest(op, input, output)
5656	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5657	return
5658}
5659
5660// DeleteFlowDefinition API operation for Amazon SageMaker Service.
5661//
5662// Deletes the specified flow definition.
5663//
5664// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5665// with awserr.Error's Code and Message methods to get detailed information about
5666// the error.
5667//
5668// See the AWS API reference guide for Amazon SageMaker Service's
5669// API operation DeleteFlowDefinition for usage and error information.
5670//
5671// Returned Error Types:
5672//   * ResourceInUse
5673//   Resource being accessed is in use.
5674//
5675//   * ResourceNotFound
5676//   Resource being access is not found.
5677//
5678// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteFlowDefinition
5679func (c *SageMaker) DeleteFlowDefinition(input *DeleteFlowDefinitionInput) (*DeleteFlowDefinitionOutput, error) {
5680	req, out := c.DeleteFlowDefinitionRequest(input)
5681	return out, req.Send()
5682}
5683
5684// DeleteFlowDefinitionWithContext is the same as DeleteFlowDefinition with the addition of
5685// the ability to pass a context and additional request options.
5686//
5687// See DeleteFlowDefinition for details on how to use this API operation.
5688//
5689// The context must be non-nil and will be used for request cancellation. If
5690// the context is nil a panic will occur. In the future the SDK may create
5691// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5692// for more information on using Contexts.
5693func (c *SageMaker) DeleteFlowDefinitionWithContext(ctx aws.Context, input *DeleteFlowDefinitionInput, opts ...request.Option) (*DeleteFlowDefinitionOutput, error) {
5694	req, out := c.DeleteFlowDefinitionRequest(input)
5695	req.SetContext(ctx)
5696	req.ApplyOptions(opts...)
5697	return out, req.Send()
5698}
5699
5700const opDeleteHumanTaskUi = "DeleteHumanTaskUi"
5701
5702// DeleteHumanTaskUiRequest generates a "aws/request.Request" representing the
5703// client's request for the DeleteHumanTaskUi operation. The "output" return
5704// value will be populated with the request's response once the request completes
5705// successfully.
5706//
5707// Use "Send" method on the returned Request to send the API call to the service.
5708// the "output" return value is not valid until after Send returns without error.
5709//
5710// See DeleteHumanTaskUi for more information on using the DeleteHumanTaskUi
5711// API call, and error handling.
5712//
5713// This method is useful when you want to inject custom logic or configuration
5714// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5715//
5716//
5717//    // Example sending a request using the DeleteHumanTaskUiRequest method.
5718//    req, resp := client.DeleteHumanTaskUiRequest(params)
5719//
5720//    err := req.Send()
5721//    if err == nil { // resp is now filled
5722//        fmt.Println(resp)
5723//    }
5724//
5725// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteHumanTaskUi
5726func (c *SageMaker) DeleteHumanTaskUiRequest(input *DeleteHumanTaskUiInput) (req *request.Request, output *DeleteHumanTaskUiOutput) {
5727	op := &request.Operation{
5728		Name:       opDeleteHumanTaskUi,
5729		HTTPMethod: "POST",
5730		HTTPPath:   "/",
5731	}
5732
5733	if input == nil {
5734		input = &DeleteHumanTaskUiInput{}
5735	}
5736
5737	output = &DeleteHumanTaskUiOutput{}
5738	req = c.newRequest(op, input, output)
5739	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5740	return
5741}
5742
5743// DeleteHumanTaskUi API operation for Amazon SageMaker Service.
5744//
5745// Use this operation to delete a human task user interface (worker task template).
5746//
5747// To see a list of human task user interfaces (work task templates) in your
5748// account, use . When you delete a worker task template, it no longer appears
5749// when you call ListHumanTaskUis.
5750//
5751// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5752// with awserr.Error's Code and Message methods to get detailed information about
5753// the error.
5754//
5755// See the AWS API reference guide for Amazon SageMaker Service's
5756// API operation DeleteHumanTaskUi for usage and error information.
5757//
5758// Returned Error Types:
5759//   * ResourceNotFound
5760//   Resource being access is not found.
5761//
5762// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteHumanTaskUi
5763func (c *SageMaker) DeleteHumanTaskUi(input *DeleteHumanTaskUiInput) (*DeleteHumanTaskUiOutput, error) {
5764	req, out := c.DeleteHumanTaskUiRequest(input)
5765	return out, req.Send()
5766}
5767
5768// DeleteHumanTaskUiWithContext is the same as DeleteHumanTaskUi with the addition of
5769// the ability to pass a context and additional request options.
5770//
5771// See DeleteHumanTaskUi for details on how to use this API operation.
5772//
5773// The context must be non-nil and will be used for request cancellation. If
5774// the context is nil a panic will occur. In the future the SDK may create
5775// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5776// for more information on using Contexts.
5777func (c *SageMaker) DeleteHumanTaskUiWithContext(ctx aws.Context, input *DeleteHumanTaskUiInput, opts ...request.Option) (*DeleteHumanTaskUiOutput, error) {
5778	req, out := c.DeleteHumanTaskUiRequest(input)
5779	req.SetContext(ctx)
5780	req.ApplyOptions(opts...)
5781	return out, req.Send()
5782}
5783
5784const opDeleteImage = "DeleteImage"
5785
5786// DeleteImageRequest generates a "aws/request.Request" representing the
5787// client's request for the DeleteImage operation. The "output" return
5788// value will be populated with the request's response once the request completes
5789// successfully.
5790//
5791// Use "Send" method on the returned Request to send the API call to the service.
5792// the "output" return value is not valid until after Send returns without error.
5793//
5794// See DeleteImage for more information on using the DeleteImage
5795// API call, and error handling.
5796//
5797// This method is useful when you want to inject custom logic or configuration
5798// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5799//
5800//
5801//    // Example sending a request using the DeleteImageRequest method.
5802//    req, resp := client.DeleteImageRequest(params)
5803//
5804//    err := req.Send()
5805//    if err == nil { // resp is now filled
5806//        fmt.Println(resp)
5807//    }
5808//
5809// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImage
5810func (c *SageMaker) DeleteImageRequest(input *DeleteImageInput) (req *request.Request, output *DeleteImageOutput) {
5811	op := &request.Operation{
5812		Name:       opDeleteImage,
5813		HTTPMethod: "POST",
5814		HTTPPath:   "/",
5815	}
5816
5817	if input == nil {
5818		input = &DeleteImageInput{}
5819	}
5820
5821	output = &DeleteImageOutput{}
5822	req = c.newRequest(op, input, output)
5823	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5824	return
5825}
5826
5827// DeleteImage API operation for Amazon SageMaker Service.
5828//
5829// Deletes a SageMaker image and all versions of the image. The container images
5830// aren't deleted.
5831//
5832// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5833// with awserr.Error's Code and Message methods to get detailed information about
5834// the error.
5835//
5836// See the AWS API reference guide for Amazon SageMaker Service's
5837// API operation DeleteImage for usage and error information.
5838//
5839// Returned Error Types:
5840//   * ResourceInUse
5841//   Resource being accessed is in use.
5842//
5843//   * ResourceNotFound
5844//   Resource being access is not found.
5845//
5846// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImage
5847func (c *SageMaker) DeleteImage(input *DeleteImageInput) (*DeleteImageOutput, error) {
5848	req, out := c.DeleteImageRequest(input)
5849	return out, req.Send()
5850}
5851
5852// DeleteImageWithContext is the same as DeleteImage with the addition of
5853// the ability to pass a context and additional request options.
5854//
5855// See DeleteImage for details on how to use this API operation.
5856//
5857// The context must be non-nil and will be used for request cancellation. If
5858// the context is nil a panic will occur. In the future the SDK may create
5859// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5860// for more information on using Contexts.
5861func (c *SageMaker) DeleteImageWithContext(ctx aws.Context, input *DeleteImageInput, opts ...request.Option) (*DeleteImageOutput, error) {
5862	req, out := c.DeleteImageRequest(input)
5863	req.SetContext(ctx)
5864	req.ApplyOptions(opts...)
5865	return out, req.Send()
5866}
5867
5868const opDeleteImageVersion = "DeleteImageVersion"
5869
5870// DeleteImageVersionRequest generates a "aws/request.Request" representing the
5871// client's request for the DeleteImageVersion operation. The "output" return
5872// value will be populated with the request's response once the request completes
5873// successfully.
5874//
5875// Use "Send" method on the returned Request to send the API call to the service.
5876// the "output" return value is not valid until after Send returns without error.
5877//
5878// See DeleteImageVersion for more information on using the DeleteImageVersion
5879// API call, and error handling.
5880//
5881// This method is useful when you want to inject custom logic or configuration
5882// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5883//
5884//
5885//    // Example sending a request using the DeleteImageVersionRequest method.
5886//    req, resp := client.DeleteImageVersionRequest(params)
5887//
5888//    err := req.Send()
5889//    if err == nil { // resp is now filled
5890//        fmt.Println(resp)
5891//    }
5892//
5893// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImageVersion
5894func (c *SageMaker) DeleteImageVersionRequest(input *DeleteImageVersionInput) (req *request.Request, output *DeleteImageVersionOutput) {
5895	op := &request.Operation{
5896		Name:       opDeleteImageVersion,
5897		HTTPMethod: "POST",
5898		HTTPPath:   "/",
5899	}
5900
5901	if input == nil {
5902		input = &DeleteImageVersionInput{}
5903	}
5904
5905	output = &DeleteImageVersionOutput{}
5906	req = c.newRequest(op, input, output)
5907	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5908	return
5909}
5910
5911// DeleteImageVersion API operation for Amazon SageMaker Service.
5912//
5913// Deletes a version of a SageMaker image. The container image the version represents
5914// isn't deleted.
5915//
5916// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5917// with awserr.Error's Code and Message methods to get detailed information about
5918// the error.
5919//
5920// See the AWS API reference guide for Amazon SageMaker Service's
5921// API operation DeleteImageVersion for usage and error information.
5922//
5923// Returned Error Types:
5924//   * ResourceInUse
5925//   Resource being accessed is in use.
5926//
5927//   * ResourceNotFound
5928//   Resource being access is not found.
5929//
5930// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImageVersion
5931func (c *SageMaker) DeleteImageVersion(input *DeleteImageVersionInput) (*DeleteImageVersionOutput, error) {
5932	req, out := c.DeleteImageVersionRequest(input)
5933	return out, req.Send()
5934}
5935
5936// DeleteImageVersionWithContext is the same as DeleteImageVersion with the addition of
5937// the ability to pass a context and additional request options.
5938//
5939// See DeleteImageVersion for details on how to use this API operation.
5940//
5941// The context must be non-nil and will be used for request cancellation. If
5942// the context is nil a panic will occur. In the future the SDK may create
5943// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5944// for more information on using Contexts.
5945func (c *SageMaker) DeleteImageVersionWithContext(ctx aws.Context, input *DeleteImageVersionInput, opts ...request.Option) (*DeleteImageVersionOutput, error) {
5946	req, out := c.DeleteImageVersionRequest(input)
5947	req.SetContext(ctx)
5948	req.ApplyOptions(opts...)
5949	return out, req.Send()
5950}
5951
5952const opDeleteModel = "DeleteModel"
5953
5954// DeleteModelRequest generates a "aws/request.Request" representing the
5955// client's request for the DeleteModel operation. The "output" return
5956// value will be populated with the request's response once the request completes
5957// successfully.
5958//
5959// Use "Send" method on the returned Request to send the API call to the service.
5960// the "output" return value is not valid until after Send returns without error.
5961//
5962// See DeleteModel for more information on using the DeleteModel
5963// API call, and error handling.
5964//
5965// This method is useful when you want to inject custom logic or configuration
5966// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5967//
5968//
5969//    // Example sending a request using the DeleteModelRequest method.
5970//    req, resp := client.DeleteModelRequest(params)
5971//
5972//    err := req.Send()
5973//    if err == nil { // resp is now filled
5974//        fmt.Println(resp)
5975//    }
5976//
5977// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModel
5978func (c *SageMaker) DeleteModelRequest(input *DeleteModelInput) (req *request.Request, output *DeleteModelOutput) {
5979	op := &request.Operation{
5980		Name:       opDeleteModel,
5981		HTTPMethod: "POST",
5982		HTTPPath:   "/",
5983	}
5984
5985	if input == nil {
5986		input = &DeleteModelInput{}
5987	}
5988
5989	output = &DeleteModelOutput{}
5990	req = c.newRequest(op, input, output)
5991	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5992	return
5993}
5994
5995// DeleteModel API operation for Amazon SageMaker Service.
5996//
5997// Deletes a model. The DeleteModel API deletes only the model entry that was
5998// created in Amazon SageMaker when you called the CreateModel API. It does
5999// not delete model artifacts, inference code, or the IAM role that you specified
6000// when creating the model.
6001//
6002// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6003// with awserr.Error's Code and Message methods to get detailed information about
6004// the error.
6005//
6006// See the AWS API reference guide for Amazon SageMaker Service's
6007// API operation DeleteModel for usage and error information.
6008// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModel
6009func (c *SageMaker) DeleteModel(input *DeleteModelInput) (*DeleteModelOutput, error) {
6010	req, out := c.DeleteModelRequest(input)
6011	return out, req.Send()
6012}
6013
6014// DeleteModelWithContext is the same as DeleteModel with the addition of
6015// the ability to pass a context and additional request options.
6016//
6017// See DeleteModel for details on how to use this API operation.
6018//
6019// The context must be non-nil and will be used for request cancellation. If
6020// the context is nil a panic will occur. In the future the SDK may create
6021// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6022// for more information on using Contexts.
6023func (c *SageMaker) DeleteModelWithContext(ctx aws.Context, input *DeleteModelInput, opts ...request.Option) (*DeleteModelOutput, error) {
6024	req, out := c.DeleteModelRequest(input)
6025	req.SetContext(ctx)
6026	req.ApplyOptions(opts...)
6027	return out, req.Send()
6028}
6029
6030const opDeleteModelBiasJobDefinition = "DeleteModelBiasJobDefinition"
6031
6032// DeleteModelBiasJobDefinitionRequest generates a "aws/request.Request" representing the
6033// client's request for the DeleteModelBiasJobDefinition operation. The "output" return
6034// value will be populated with the request's response once the request completes
6035// successfully.
6036//
6037// Use "Send" method on the returned Request to send the API call to the service.
6038// the "output" return value is not valid until after Send returns without error.
6039//
6040// See DeleteModelBiasJobDefinition for more information on using the DeleteModelBiasJobDefinition
6041// API call, and error handling.
6042//
6043// This method is useful when you want to inject custom logic or configuration
6044// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6045//
6046//
6047//    // Example sending a request using the DeleteModelBiasJobDefinitionRequest method.
6048//    req, resp := client.DeleteModelBiasJobDefinitionRequest(params)
6049//
6050//    err := req.Send()
6051//    if err == nil { // resp is now filled
6052//        fmt.Println(resp)
6053//    }
6054//
6055// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelBiasJobDefinition
6056func (c *SageMaker) DeleteModelBiasJobDefinitionRequest(input *DeleteModelBiasJobDefinitionInput) (req *request.Request, output *DeleteModelBiasJobDefinitionOutput) {
6057	op := &request.Operation{
6058		Name:       opDeleteModelBiasJobDefinition,
6059		HTTPMethod: "POST",
6060		HTTPPath:   "/",
6061	}
6062
6063	if input == nil {
6064		input = &DeleteModelBiasJobDefinitionInput{}
6065	}
6066
6067	output = &DeleteModelBiasJobDefinitionOutput{}
6068	req = c.newRequest(op, input, output)
6069	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6070	return
6071}
6072
6073// DeleteModelBiasJobDefinition API operation for Amazon SageMaker Service.
6074//
6075// Deletes an Amazon SageMaker model bias job definition.
6076//
6077// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6078// with awserr.Error's Code and Message methods to get detailed information about
6079// the error.
6080//
6081// See the AWS API reference guide for Amazon SageMaker Service's
6082// API operation DeleteModelBiasJobDefinition for usage and error information.
6083//
6084// Returned Error Types:
6085//   * ResourceNotFound
6086//   Resource being access is not found.
6087//
6088// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelBiasJobDefinition
6089func (c *SageMaker) DeleteModelBiasJobDefinition(input *DeleteModelBiasJobDefinitionInput) (*DeleteModelBiasJobDefinitionOutput, error) {
6090	req, out := c.DeleteModelBiasJobDefinitionRequest(input)
6091	return out, req.Send()
6092}
6093
6094// DeleteModelBiasJobDefinitionWithContext is the same as DeleteModelBiasJobDefinition with the addition of
6095// the ability to pass a context and additional request options.
6096//
6097// See DeleteModelBiasJobDefinition for details on how to use this API operation.
6098//
6099// The context must be non-nil and will be used for request cancellation. If
6100// the context is nil a panic will occur. In the future the SDK may create
6101// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6102// for more information on using Contexts.
6103func (c *SageMaker) DeleteModelBiasJobDefinitionWithContext(ctx aws.Context, input *DeleteModelBiasJobDefinitionInput, opts ...request.Option) (*DeleteModelBiasJobDefinitionOutput, error) {
6104	req, out := c.DeleteModelBiasJobDefinitionRequest(input)
6105	req.SetContext(ctx)
6106	req.ApplyOptions(opts...)
6107	return out, req.Send()
6108}
6109
6110const opDeleteModelExplainabilityJobDefinition = "DeleteModelExplainabilityJobDefinition"
6111
6112// DeleteModelExplainabilityJobDefinitionRequest generates a "aws/request.Request" representing the
6113// client's request for the DeleteModelExplainabilityJobDefinition operation. The "output" return
6114// value will be populated with the request's response once the request completes
6115// successfully.
6116//
6117// Use "Send" method on the returned Request to send the API call to the service.
6118// the "output" return value is not valid until after Send returns without error.
6119//
6120// See DeleteModelExplainabilityJobDefinition for more information on using the DeleteModelExplainabilityJobDefinition
6121// API call, and error handling.
6122//
6123// This method is useful when you want to inject custom logic or configuration
6124// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6125//
6126//
6127//    // Example sending a request using the DeleteModelExplainabilityJobDefinitionRequest method.
6128//    req, resp := client.DeleteModelExplainabilityJobDefinitionRequest(params)
6129//
6130//    err := req.Send()
6131//    if err == nil { // resp is now filled
6132//        fmt.Println(resp)
6133//    }
6134//
6135// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelExplainabilityJobDefinition
6136func (c *SageMaker) DeleteModelExplainabilityJobDefinitionRequest(input *DeleteModelExplainabilityJobDefinitionInput) (req *request.Request, output *DeleteModelExplainabilityJobDefinitionOutput) {
6137	op := &request.Operation{
6138		Name:       opDeleteModelExplainabilityJobDefinition,
6139		HTTPMethod: "POST",
6140		HTTPPath:   "/",
6141	}
6142
6143	if input == nil {
6144		input = &DeleteModelExplainabilityJobDefinitionInput{}
6145	}
6146
6147	output = &DeleteModelExplainabilityJobDefinitionOutput{}
6148	req = c.newRequest(op, input, output)
6149	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6150	return
6151}
6152
6153// DeleteModelExplainabilityJobDefinition API operation for Amazon SageMaker Service.
6154//
6155// Deletes an Amazon SageMaker model explainability job definition.
6156//
6157// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6158// with awserr.Error's Code and Message methods to get detailed information about
6159// the error.
6160//
6161// See the AWS API reference guide for Amazon SageMaker Service's
6162// API operation DeleteModelExplainabilityJobDefinition for usage and error information.
6163//
6164// Returned Error Types:
6165//   * ResourceNotFound
6166//   Resource being access is not found.
6167//
6168// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelExplainabilityJobDefinition
6169func (c *SageMaker) DeleteModelExplainabilityJobDefinition(input *DeleteModelExplainabilityJobDefinitionInput) (*DeleteModelExplainabilityJobDefinitionOutput, error) {
6170	req, out := c.DeleteModelExplainabilityJobDefinitionRequest(input)
6171	return out, req.Send()
6172}
6173
6174// DeleteModelExplainabilityJobDefinitionWithContext is the same as DeleteModelExplainabilityJobDefinition with the addition of
6175// the ability to pass a context and additional request options.
6176//
6177// See DeleteModelExplainabilityJobDefinition for details on how to use this API operation.
6178//
6179// The context must be non-nil and will be used for request cancellation. If
6180// the context is nil a panic will occur. In the future the SDK may create
6181// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6182// for more information on using Contexts.
6183func (c *SageMaker) DeleteModelExplainabilityJobDefinitionWithContext(ctx aws.Context, input *DeleteModelExplainabilityJobDefinitionInput, opts ...request.Option) (*DeleteModelExplainabilityJobDefinitionOutput, error) {
6184	req, out := c.DeleteModelExplainabilityJobDefinitionRequest(input)
6185	req.SetContext(ctx)
6186	req.ApplyOptions(opts...)
6187	return out, req.Send()
6188}
6189
6190const opDeleteModelPackage = "DeleteModelPackage"
6191
6192// DeleteModelPackageRequest generates a "aws/request.Request" representing the
6193// client's request for the DeleteModelPackage operation. The "output" return
6194// value will be populated with the request's response once the request completes
6195// successfully.
6196//
6197// Use "Send" method on the returned Request to send the API call to the service.
6198// the "output" return value is not valid until after Send returns without error.
6199//
6200// See DeleteModelPackage for more information on using the DeleteModelPackage
6201// API call, and error handling.
6202//
6203// This method is useful when you want to inject custom logic or configuration
6204// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6205//
6206//
6207//    // Example sending a request using the DeleteModelPackageRequest method.
6208//    req, resp := client.DeleteModelPackageRequest(params)
6209//
6210//    err := req.Send()
6211//    if err == nil { // resp is now filled
6212//        fmt.Println(resp)
6213//    }
6214//
6215// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackage
6216func (c *SageMaker) DeleteModelPackageRequest(input *DeleteModelPackageInput) (req *request.Request, output *DeleteModelPackageOutput) {
6217	op := &request.Operation{
6218		Name:       opDeleteModelPackage,
6219		HTTPMethod: "POST",
6220		HTTPPath:   "/",
6221	}
6222
6223	if input == nil {
6224		input = &DeleteModelPackageInput{}
6225	}
6226
6227	output = &DeleteModelPackageOutput{}
6228	req = c.newRequest(op, input, output)
6229	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6230	return
6231}
6232
6233// DeleteModelPackage API operation for Amazon SageMaker Service.
6234//
6235// Deletes a model package.
6236//
6237// A model package is used to create Amazon SageMaker models or list on AWS
6238// Marketplace. Buyers can subscribe to model packages listed on AWS Marketplace
6239// to create models in Amazon SageMaker.
6240//
6241// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6242// with awserr.Error's Code and Message methods to get detailed information about
6243// the error.
6244//
6245// See the AWS API reference guide for Amazon SageMaker Service's
6246// API operation DeleteModelPackage for usage and error information.
6247//
6248// Returned Error Types:
6249//   * ConflictException
6250//   There was a conflict when you attempted to modify a SageMaker entity such
6251//   as an Experiment or Artifact.
6252//
6253// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackage
6254func (c *SageMaker) DeleteModelPackage(input *DeleteModelPackageInput) (*DeleteModelPackageOutput, error) {
6255	req, out := c.DeleteModelPackageRequest(input)
6256	return out, req.Send()
6257}
6258
6259// DeleteModelPackageWithContext is the same as DeleteModelPackage with the addition of
6260// the ability to pass a context and additional request options.
6261//
6262// See DeleteModelPackage for details on how to use this API operation.
6263//
6264// The context must be non-nil and will be used for request cancellation. If
6265// the context is nil a panic will occur. In the future the SDK may create
6266// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6267// for more information on using Contexts.
6268func (c *SageMaker) DeleteModelPackageWithContext(ctx aws.Context, input *DeleteModelPackageInput, opts ...request.Option) (*DeleteModelPackageOutput, error) {
6269	req, out := c.DeleteModelPackageRequest(input)
6270	req.SetContext(ctx)
6271	req.ApplyOptions(opts...)
6272	return out, req.Send()
6273}
6274
6275const opDeleteModelPackageGroup = "DeleteModelPackageGroup"
6276
6277// DeleteModelPackageGroupRequest generates a "aws/request.Request" representing the
6278// client's request for the DeleteModelPackageGroup operation. The "output" return
6279// value will be populated with the request's response once the request completes
6280// successfully.
6281//
6282// Use "Send" method on the returned Request to send the API call to the service.
6283// the "output" return value is not valid until after Send returns without error.
6284//
6285// See DeleteModelPackageGroup for more information on using the DeleteModelPackageGroup
6286// API call, and error handling.
6287//
6288// This method is useful when you want to inject custom logic or configuration
6289// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6290//
6291//
6292//    // Example sending a request using the DeleteModelPackageGroupRequest method.
6293//    req, resp := client.DeleteModelPackageGroupRequest(params)
6294//
6295//    err := req.Send()
6296//    if err == nil { // resp is now filled
6297//        fmt.Println(resp)
6298//    }
6299//
6300// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackageGroup
6301func (c *SageMaker) DeleteModelPackageGroupRequest(input *DeleteModelPackageGroupInput) (req *request.Request, output *DeleteModelPackageGroupOutput) {
6302	op := &request.Operation{
6303		Name:       opDeleteModelPackageGroup,
6304		HTTPMethod: "POST",
6305		HTTPPath:   "/",
6306	}
6307
6308	if input == nil {
6309		input = &DeleteModelPackageGroupInput{}
6310	}
6311
6312	output = &DeleteModelPackageGroupOutput{}
6313	req = c.newRequest(op, input, output)
6314	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6315	return
6316}
6317
6318// DeleteModelPackageGroup API operation for Amazon SageMaker Service.
6319//
6320// Deletes the specified model group.
6321//
6322// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6323// with awserr.Error's Code and Message methods to get detailed information about
6324// the error.
6325//
6326// See the AWS API reference guide for Amazon SageMaker Service's
6327// API operation DeleteModelPackageGroup for usage and error information.
6328// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackageGroup
6329func (c *SageMaker) DeleteModelPackageGroup(input *DeleteModelPackageGroupInput) (*DeleteModelPackageGroupOutput, error) {
6330	req, out := c.DeleteModelPackageGroupRequest(input)
6331	return out, req.Send()
6332}
6333
6334// DeleteModelPackageGroupWithContext is the same as DeleteModelPackageGroup with the addition of
6335// the ability to pass a context and additional request options.
6336//
6337// See DeleteModelPackageGroup for details on how to use this API operation.
6338//
6339// The context must be non-nil and will be used for request cancellation. If
6340// the context is nil a panic will occur. In the future the SDK may create
6341// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6342// for more information on using Contexts.
6343func (c *SageMaker) DeleteModelPackageGroupWithContext(ctx aws.Context, input *DeleteModelPackageGroupInput, opts ...request.Option) (*DeleteModelPackageGroupOutput, error) {
6344	req, out := c.DeleteModelPackageGroupRequest(input)
6345	req.SetContext(ctx)
6346	req.ApplyOptions(opts...)
6347	return out, req.Send()
6348}
6349
6350const opDeleteModelPackageGroupPolicy = "DeleteModelPackageGroupPolicy"
6351
6352// DeleteModelPackageGroupPolicyRequest generates a "aws/request.Request" representing the
6353// client's request for the DeleteModelPackageGroupPolicy operation. The "output" return
6354// value will be populated with the request's response once the request completes
6355// successfully.
6356//
6357// Use "Send" method on the returned Request to send the API call to the service.
6358// the "output" return value is not valid until after Send returns without error.
6359//
6360// See DeleteModelPackageGroupPolicy for more information on using the DeleteModelPackageGroupPolicy
6361// API call, and error handling.
6362//
6363// This method is useful when you want to inject custom logic or configuration
6364// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6365//
6366//
6367//    // Example sending a request using the DeleteModelPackageGroupPolicyRequest method.
6368//    req, resp := client.DeleteModelPackageGroupPolicyRequest(params)
6369//
6370//    err := req.Send()
6371//    if err == nil { // resp is now filled
6372//        fmt.Println(resp)
6373//    }
6374//
6375// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackageGroupPolicy
6376func (c *SageMaker) DeleteModelPackageGroupPolicyRequest(input *DeleteModelPackageGroupPolicyInput) (req *request.Request, output *DeleteModelPackageGroupPolicyOutput) {
6377	op := &request.Operation{
6378		Name:       opDeleteModelPackageGroupPolicy,
6379		HTTPMethod: "POST",
6380		HTTPPath:   "/",
6381	}
6382
6383	if input == nil {
6384		input = &DeleteModelPackageGroupPolicyInput{}
6385	}
6386
6387	output = &DeleteModelPackageGroupPolicyOutput{}
6388	req = c.newRequest(op, input, output)
6389	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6390	return
6391}
6392
6393// DeleteModelPackageGroupPolicy API operation for Amazon SageMaker Service.
6394//
6395// Deletes a model group resource policy.
6396//
6397// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6398// with awserr.Error's Code and Message methods to get detailed information about
6399// the error.
6400//
6401// See the AWS API reference guide for Amazon SageMaker Service's
6402// API operation DeleteModelPackageGroupPolicy for usage and error information.
6403// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackageGroupPolicy
6404func (c *SageMaker) DeleteModelPackageGroupPolicy(input *DeleteModelPackageGroupPolicyInput) (*DeleteModelPackageGroupPolicyOutput, error) {
6405	req, out := c.DeleteModelPackageGroupPolicyRequest(input)
6406	return out, req.Send()
6407}
6408
6409// DeleteModelPackageGroupPolicyWithContext is the same as DeleteModelPackageGroupPolicy with the addition of
6410// the ability to pass a context and additional request options.
6411//
6412// See DeleteModelPackageGroupPolicy for details on how to use this API operation.
6413//
6414// The context must be non-nil and will be used for request cancellation. If
6415// the context is nil a panic will occur. In the future the SDK may create
6416// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6417// for more information on using Contexts.
6418func (c *SageMaker) DeleteModelPackageGroupPolicyWithContext(ctx aws.Context, input *DeleteModelPackageGroupPolicyInput, opts ...request.Option) (*DeleteModelPackageGroupPolicyOutput, error) {
6419	req, out := c.DeleteModelPackageGroupPolicyRequest(input)
6420	req.SetContext(ctx)
6421	req.ApplyOptions(opts...)
6422	return out, req.Send()
6423}
6424
6425const opDeleteModelQualityJobDefinition = "DeleteModelQualityJobDefinition"
6426
6427// DeleteModelQualityJobDefinitionRequest generates a "aws/request.Request" representing the
6428// client's request for the DeleteModelQualityJobDefinition operation. The "output" return
6429// value will be populated with the request's response once the request completes
6430// successfully.
6431//
6432// Use "Send" method on the returned Request to send the API call to the service.
6433// the "output" return value is not valid until after Send returns without error.
6434//
6435// See DeleteModelQualityJobDefinition for more information on using the DeleteModelQualityJobDefinition
6436// API call, and error handling.
6437//
6438// This method is useful when you want to inject custom logic or configuration
6439// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6440//
6441//
6442//    // Example sending a request using the DeleteModelQualityJobDefinitionRequest method.
6443//    req, resp := client.DeleteModelQualityJobDefinitionRequest(params)
6444//
6445//    err := req.Send()
6446//    if err == nil { // resp is now filled
6447//        fmt.Println(resp)
6448//    }
6449//
6450// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelQualityJobDefinition
6451func (c *SageMaker) DeleteModelQualityJobDefinitionRequest(input *DeleteModelQualityJobDefinitionInput) (req *request.Request, output *DeleteModelQualityJobDefinitionOutput) {
6452	op := &request.Operation{
6453		Name:       opDeleteModelQualityJobDefinition,
6454		HTTPMethod: "POST",
6455		HTTPPath:   "/",
6456	}
6457
6458	if input == nil {
6459		input = &DeleteModelQualityJobDefinitionInput{}
6460	}
6461
6462	output = &DeleteModelQualityJobDefinitionOutput{}
6463	req = c.newRequest(op, input, output)
6464	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6465	return
6466}
6467
6468// DeleteModelQualityJobDefinition API operation for Amazon SageMaker Service.
6469//
6470// Deletes the secified model quality monitoring job definition.
6471//
6472// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6473// with awserr.Error's Code and Message methods to get detailed information about
6474// the error.
6475//
6476// See the AWS API reference guide for Amazon SageMaker Service's
6477// API operation DeleteModelQualityJobDefinition for usage and error information.
6478//
6479// Returned Error Types:
6480//   * ResourceNotFound
6481//   Resource being access is not found.
6482//
6483// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelQualityJobDefinition
6484func (c *SageMaker) DeleteModelQualityJobDefinition(input *DeleteModelQualityJobDefinitionInput) (*DeleteModelQualityJobDefinitionOutput, error) {
6485	req, out := c.DeleteModelQualityJobDefinitionRequest(input)
6486	return out, req.Send()
6487}
6488
6489// DeleteModelQualityJobDefinitionWithContext is the same as DeleteModelQualityJobDefinition with the addition of
6490// the ability to pass a context and additional request options.
6491//
6492// See DeleteModelQualityJobDefinition for details on how to use this API operation.
6493//
6494// The context must be non-nil and will be used for request cancellation. If
6495// the context is nil a panic will occur. In the future the SDK may create
6496// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6497// for more information on using Contexts.
6498func (c *SageMaker) DeleteModelQualityJobDefinitionWithContext(ctx aws.Context, input *DeleteModelQualityJobDefinitionInput, opts ...request.Option) (*DeleteModelQualityJobDefinitionOutput, error) {
6499	req, out := c.DeleteModelQualityJobDefinitionRequest(input)
6500	req.SetContext(ctx)
6501	req.ApplyOptions(opts...)
6502	return out, req.Send()
6503}
6504
6505const opDeleteMonitoringSchedule = "DeleteMonitoringSchedule"
6506
6507// DeleteMonitoringScheduleRequest generates a "aws/request.Request" representing the
6508// client's request for the DeleteMonitoringSchedule operation. The "output" return
6509// value will be populated with the request's response once the request completes
6510// successfully.
6511//
6512// Use "Send" method on the returned Request to send the API call to the service.
6513// the "output" return value is not valid until after Send returns without error.
6514//
6515// See DeleteMonitoringSchedule for more information on using the DeleteMonitoringSchedule
6516// API call, and error handling.
6517//
6518// This method is useful when you want to inject custom logic or configuration
6519// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6520//
6521//
6522//    // Example sending a request using the DeleteMonitoringScheduleRequest method.
6523//    req, resp := client.DeleteMonitoringScheduleRequest(params)
6524//
6525//    err := req.Send()
6526//    if err == nil { // resp is now filled
6527//        fmt.Println(resp)
6528//    }
6529//
6530// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteMonitoringSchedule
6531func (c *SageMaker) DeleteMonitoringScheduleRequest(input *DeleteMonitoringScheduleInput) (req *request.Request, output *DeleteMonitoringScheduleOutput) {
6532	op := &request.Operation{
6533		Name:       opDeleteMonitoringSchedule,
6534		HTTPMethod: "POST",
6535		HTTPPath:   "/",
6536	}
6537
6538	if input == nil {
6539		input = &DeleteMonitoringScheduleInput{}
6540	}
6541
6542	output = &DeleteMonitoringScheduleOutput{}
6543	req = c.newRequest(op, input, output)
6544	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6545	return
6546}
6547
6548// DeleteMonitoringSchedule API operation for Amazon SageMaker Service.
6549//
6550// Deletes a monitoring schedule. Also stops the schedule had not already been
6551// stopped. This does not delete the job execution history of the monitoring
6552// schedule.
6553//
6554// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6555// with awserr.Error's Code and Message methods to get detailed information about
6556// the error.
6557//
6558// See the AWS API reference guide for Amazon SageMaker Service's
6559// API operation DeleteMonitoringSchedule for usage and error information.
6560//
6561// Returned Error Types:
6562//   * ResourceNotFound
6563//   Resource being access is not found.
6564//
6565// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteMonitoringSchedule
6566func (c *SageMaker) DeleteMonitoringSchedule(input *DeleteMonitoringScheduleInput) (*DeleteMonitoringScheduleOutput, error) {
6567	req, out := c.DeleteMonitoringScheduleRequest(input)
6568	return out, req.Send()
6569}
6570
6571// DeleteMonitoringScheduleWithContext is the same as DeleteMonitoringSchedule with the addition of
6572// the ability to pass a context and additional request options.
6573//
6574// See DeleteMonitoringSchedule for details on how to use this API operation.
6575//
6576// The context must be non-nil and will be used for request cancellation. If
6577// the context is nil a panic will occur. In the future the SDK may create
6578// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6579// for more information on using Contexts.
6580func (c *SageMaker) DeleteMonitoringScheduleWithContext(ctx aws.Context, input *DeleteMonitoringScheduleInput, opts ...request.Option) (*DeleteMonitoringScheduleOutput, error) {
6581	req, out := c.DeleteMonitoringScheduleRequest(input)
6582	req.SetContext(ctx)
6583	req.ApplyOptions(opts...)
6584	return out, req.Send()
6585}
6586
6587const opDeleteNotebookInstance = "DeleteNotebookInstance"
6588
6589// DeleteNotebookInstanceRequest generates a "aws/request.Request" representing the
6590// client's request for the DeleteNotebookInstance operation. The "output" return
6591// value will be populated with the request's response once the request completes
6592// successfully.
6593//
6594// Use "Send" method on the returned Request to send the API call to the service.
6595// the "output" return value is not valid until after Send returns without error.
6596//
6597// See DeleteNotebookInstance for more information on using the DeleteNotebookInstance
6598// API call, and error handling.
6599//
6600// This method is useful when you want to inject custom logic or configuration
6601// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6602//
6603//
6604//    // Example sending a request using the DeleteNotebookInstanceRequest method.
6605//    req, resp := client.DeleteNotebookInstanceRequest(params)
6606//
6607//    err := req.Send()
6608//    if err == nil { // resp is now filled
6609//        fmt.Println(resp)
6610//    }
6611//
6612// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstance
6613func (c *SageMaker) DeleteNotebookInstanceRequest(input *DeleteNotebookInstanceInput) (req *request.Request, output *DeleteNotebookInstanceOutput) {
6614	op := &request.Operation{
6615		Name:       opDeleteNotebookInstance,
6616		HTTPMethod: "POST",
6617		HTTPPath:   "/",
6618	}
6619
6620	if input == nil {
6621		input = &DeleteNotebookInstanceInput{}
6622	}
6623
6624	output = &DeleteNotebookInstanceOutput{}
6625	req = c.newRequest(op, input, output)
6626	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6627	return
6628}
6629
6630// DeleteNotebookInstance API operation for Amazon SageMaker Service.
6631//
6632// Deletes an Amazon SageMaker notebook instance. Before you can delete a notebook
6633// instance, you must call the StopNotebookInstance API.
6634//
6635// When you delete a notebook instance, you lose all of your data. Amazon SageMaker
6636// removes the ML compute instance, and deletes the ML storage volume and the
6637// network interface associated with the notebook instance.
6638//
6639// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6640// with awserr.Error's Code and Message methods to get detailed information about
6641// the error.
6642//
6643// See the AWS API reference guide for Amazon SageMaker Service's
6644// API operation DeleteNotebookInstance for usage and error information.
6645// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstance
6646func (c *SageMaker) DeleteNotebookInstance(input *DeleteNotebookInstanceInput) (*DeleteNotebookInstanceOutput, error) {
6647	req, out := c.DeleteNotebookInstanceRequest(input)
6648	return out, req.Send()
6649}
6650
6651// DeleteNotebookInstanceWithContext is the same as DeleteNotebookInstance with the addition of
6652// the ability to pass a context and additional request options.
6653//
6654// See DeleteNotebookInstance for details on how to use this API operation.
6655//
6656// The context must be non-nil and will be used for request cancellation. If
6657// the context is nil a panic will occur. In the future the SDK may create
6658// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6659// for more information on using Contexts.
6660func (c *SageMaker) DeleteNotebookInstanceWithContext(ctx aws.Context, input *DeleteNotebookInstanceInput, opts ...request.Option) (*DeleteNotebookInstanceOutput, error) {
6661	req, out := c.DeleteNotebookInstanceRequest(input)
6662	req.SetContext(ctx)
6663	req.ApplyOptions(opts...)
6664	return out, req.Send()
6665}
6666
6667const opDeleteNotebookInstanceLifecycleConfig = "DeleteNotebookInstanceLifecycleConfig"
6668
6669// DeleteNotebookInstanceLifecycleConfigRequest generates a "aws/request.Request" representing the
6670// client's request for the DeleteNotebookInstanceLifecycleConfig operation. The "output" return
6671// value will be populated with the request's response once the request completes
6672// successfully.
6673//
6674// Use "Send" method on the returned Request to send the API call to the service.
6675// the "output" return value is not valid until after Send returns without error.
6676//
6677// See DeleteNotebookInstanceLifecycleConfig for more information on using the DeleteNotebookInstanceLifecycleConfig
6678// API call, and error handling.
6679//
6680// This method is useful when you want to inject custom logic or configuration
6681// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6682//
6683//
6684//    // Example sending a request using the DeleteNotebookInstanceLifecycleConfigRequest method.
6685//    req, resp := client.DeleteNotebookInstanceLifecycleConfigRequest(params)
6686//
6687//    err := req.Send()
6688//    if err == nil { // resp is now filled
6689//        fmt.Println(resp)
6690//    }
6691//
6692// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstanceLifecycleConfig
6693func (c *SageMaker) DeleteNotebookInstanceLifecycleConfigRequest(input *DeleteNotebookInstanceLifecycleConfigInput) (req *request.Request, output *DeleteNotebookInstanceLifecycleConfigOutput) {
6694	op := &request.Operation{
6695		Name:       opDeleteNotebookInstanceLifecycleConfig,
6696		HTTPMethod: "POST",
6697		HTTPPath:   "/",
6698	}
6699
6700	if input == nil {
6701		input = &DeleteNotebookInstanceLifecycleConfigInput{}
6702	}
6703
6704	output = &DeleteNotebookInstanceLifecycleConfigOutput{}
6705	req = c.newRequest(op, input, output)
6706	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6707	return
6708}
6709
6710// DeleteNotebookInstanceLifecycleConfig API operation for Amazon SageMaker Service.
6711//
6712// Deletes a notebook instance lifecycle configuration.
6713//
6714// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6715// with awserr.Error's Code and Message methods to get detailed information about
6716// the error.
6717//
6718// See the AWS API reference guide for Amazon SageMaker Service's
6719// API operation DeleteNotebookInstanceLifecycleConfig for usage and error information.
6720// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstanceLifecycleConfig
6721func (c *SageMaker) DeleteNotebookInstanceLifecycleConfig(input *DeleteNotebookInstanceLifecycleConfigInput) (*DeleteNotebookInstanceLifecycleConfigOutput, error) {
6722	req, out := c.DeleteNotebookInstanceLifecycleConfigRequest(input)
6723	return out, req.Send()
6724}
6725
6726// DeleteNotebookInstanceLifecycleConfigWithContext is the same as DeleteNotebookInstanceLifecycleConfig with the addition of
6727// the ability to pass a context and additional request options.
6728//
6729// See DeleteNotebookInstanceLifecycleConfig for details on how to use this API operation.
6730//
6731// The context must be non-nil and will be used for request cancellation. If
6732// the context is nil a panic will occur. In the future the SDK may create
6733// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6734// for more information on using Contexts.
6735func (c *SageMaker) DeleteNotebookInstanceLifecycleConfigWithContext(ctx aws.Context, input *DeleteNotebookInstanceLifecycleConfigInput, opts ...request.Option) (*DeleteNotebookInstanceLifecycleConfigOutput, error) {
6736	req, out := c.DeleteNotebookInstanceLifecycleConfigRequest(input)
6737	req.SetContext(ctx)
6738	req.ApplyOptions(opts...)
6739	return out, req.Send()
6740}
6741
6742const opDeletePipeline = "DeletePipeline"
6743
6744// DeletePipelineRequest generates a "aws/request.Request" representing the
6745// client's request for the DeletePipeline operation. The "output" return
6746// value will be populated with the request's response once the request completes
6747// successfully.
6748//
6749// Use "Send" method on the returned Request to send the API call to the service.
6750// the "output" return value is not valid until after Send returns without error.
6751//
6752// See DeletePipeline for more information on using the DeletePipeline
6753// API call, and error handling.
6754//
6755// This method is useful when you want to inject custom logic or configuration
6756// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6757//
6758//
6759//    // Example sending a request using the DeletePipelineRequest method.
6760//    req, resp := client.DeletePipelineRequest(params)
6761//
6762//    err := req.Send()
6763//    if err == nil { // resp is now filled
6764//        fmt.Println(resp)
6765//    }
6766//
6767// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeletePipeline
6768func (c *SageMaker) DeletePipelineRequest(input *DeletePipelineInput) (req *request.Request, output *DeletePipelineOutput) {
6769	op := &request.Operation{
6770		Name:       opDeletePipeline,
6771		HTTPMethod: "POST",
6772		HTTPPath:   "/",
6773	}
6774
6775	if input == nil {
6776		input = &DeletePipelineInput{}
6777	}
6778
6779	output = &DeletePipelineOutput{}
6780	req = c.newRequest(op, input, output)
6781	return
6782}
6783
6784// DeletePipeline API operation for Amazon SageMaker Service.
6785//
6786// Deletes a pipeline if there are no running instances of the pipeline. To
6787// delete a pipeline, you must stop all running instances of the pipeline using
6788// the StopPipelineExecution API. When you delete a pipeline, all instances
6789// of the pipeline are deleted.
6790//
6791// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6792// with awserr.Error's Code and Message methods to get detailed information about
6793// the error.
6794//
6795// See the AWS API reference guide for Amazon SageMaker Service's
6796// API operation DeletePipeline for usage and error information.
6797//
6798// Returned Error Types:
6799//   * ResourceNotFound
6800//   Resource being access is not found.
6801//
6802// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeletePipeline
6803func (c *SageMaker) DeletePipeline(input *DeletePipelineInput) (*DeletePipelineOutput, error) {
6804	req, out := c.DeletePipelineRequest(input)
6805	return out, req.Send()
6806}
6807
6808// DeletePipelineWithContext is the same as DeletePipeline with the addition of
6809// the ability to pass a context and additional request options.
6810//
6811// See DeletePipeline for details on how to use this API operation.
6812//
6813// The context must be non-nil and will be used for request cancellation. If
6814// the context is nil a panic will occur. In the future the SDK may create
6815// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6816// for more information on using Contexts.
6817func (c *SageMaker) DeletePipelineWithContext(ctx aws.Context, input *DeletePipelineInput, opts ...request.Option) (*DeletePipelineOutput, error) {
6818	req, out := c.DeletePipelineRequest(input)
6819	req.SetContext(ctx)
6820	req.ApplyOptions(opts...)
6821	return out, req.Send()
6822}
6823
6824const opDeleteProject = "DeleteProject"
6825
6826// DeleteProjectRequest generates a "aws/request.Request" representing the
6827// client's request for the DeleteProject operation. The "output" return
6828// value will be populated with the request's response once the request completes
6829// successfully.
6830//
6831// Use "Send" method on the returned Request to send the API call to the service.
6832// the "output" return value is not valid until after Send returns without error.
6833//
6834// See DeleteProject for more information on using the DeleteProject
6835// API call, and error handling.
6836//
6837// This method is useful when you want to inject custom logic or configuration
6838// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6839//
6840//
6841//    // Example sending a request using the DeleteProjectRequest method.
6842//    req, resp := client.DeleteProjectRequest(params)
6843//
6844//    err := req.Send()
6845//    if err == nil { // resp is now filled
6846//        fmt.Println(resp)
6847//    }
6848//
6849// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteProject
6850func (c *SageMaker) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput) {
6851	op := &request.Operation{
6852		Name:       opDeleteProject,
6853		HTTPMethod: "POST",
6854		HTTPPath:   "/",
6855	}
6856
6857	if input == nil {
6858		input = &DeleteProjectInput{}
6859	}
6860
6861	output = &DeleteProjectOutput{}
6862	req = c.newRequest(op, input, output)
6863	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6864	return
6865}
6866
6867// DeleteProject API operation for Amazon SageMaker Service.
6868//
6869// Delete the specified project.
6870//
6871// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6872// with awserr.Error's Code and Message methods to get detailed information about
6873// the error.
6874//
6875// See the AWS API reference guide for Amazon SageMaker Service's
6876// API operation DeleteProject for usage and error information.
6877// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteProject
6878func (c *SageMaker) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error) {
6879	req, out := c.DeleteProjectRequest(input)
6880	return out, req.Send()
6881}
6882
6883// DeleteProjectWithContext is the same as DeleteProject with the addition of
6884// the ability to pass a context and additional request options.
6885//
6886// See DeleteProject for details on how to use this API operation.
6887//
6888// The context must be non-nil and will be used for request cancellation. If
6889// the context is nil a panic will occur. In the future the SDK may create
6890// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6891// for more information on using Contexts.
6892func (c *SageMaker) DeleteProjectWithContext(ctx aws.Context, input *DeleteProjectInput, opts ...request.Option) (*DeleteProjectOutput, error) {
6893	req, out := c.DeleteProjectRequest(input)
6894	req.SetContext(ctx)
6895	req.ApplyOptions(opts...)
6896	return out, req.Send()
6897}
6898
6899const opDeleteTags = "DeleteTags"
6900
6901// DeleteTagsRequest generates a "aws/request.Request" representing the
6902// client's request for the DeleteTags operation. The "output" return
6903// value will be populated with the request's response once the request completes
6904// successfully.
6905//
6906// Use "Send" method on the returned Request to send the API call to the service.
6907// the "output" return value is not valid until after Send returns without error.
6908//
6909// See DeleteTags for more information on using the DeleteTags
6910// API call, and error handling.
6911//
6912// This method is useful when you want to inject custom logic or configuration
6913// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6914//
6915//
6916//    // Example sending a request using the DeleteTagsRequest method.
6917//    req, resp := client.DeleteTagsRequest(params)
6918//
6919//    err := req.Send()
6920//    if err == nil { // resp is now filled
6921//        fmt.Println(resp)
6922//    }
6923//
6924// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTags
6925func (c *SageMaker) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput) {
6926	op := &request.Operation{
6927		Name:       opDeleteTags,
6928		HTTPMethod: "POST",
6929		HTTPPath:   "/",
6930	}
6931
6932	if input == nil {
6933		input = &DeleteTagsInput{}
6934	}
6935
6936	output = &DeleteTagsOutput{}
6937	req = c.newRequest(op, input, output)
6938	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6939	return
6940}
6941
6942// DeleteTags API operation for Amazon SageMaker Service.
6943//
6944// Deletes the specified tags from an Amazon SageMaker resource.
6945//
6946// To list a resource's tags, use the ListTags API.
6947//
6948// When you call this API to delete tags from a hyperparameter tuning job, the
6949// deleted tags are not removed from training jobs that the hyperparameter tuning
6950// job launched before you called this API.
6951//
6952// When you call this API to delete tags from a SageMaker Studio Domain or User
6953// Profile, the deleted tags are not removed from Apps that the SageMaker Studio
6954// Domain or User Profile launched before you called this API.
6955//
6956// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6957// with awserr.Error's Code and Message methods to get detailed information about
6958// the error.
6959//
6960// See the AWS API reference guide for Amazon SageMaker Service's
6961// API operation DeleteTags for usage and error information.
6962// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTags
6963func (c *SageMaker) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error) {
6964	req, out := c.DeleteTagsRequest(input)
6965	return out, req.Send()
6966}
6967
6968// DeleteTagsWithContext is the same as DeleteTags with the addition of
6969// the ability to pass a context and additional request options.
6970//
6971// See DeleteTags for details on how to use this API operation.
6972//
6973// The context must be non-nil and will be used for request cancellation. If
6974// the context is nil a panic will occur. In the future the SDK may create
6975// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6976// for more information on using Contexts.
6977func (c *SageMaker) DeleteTagsWithContext(ctx aws.Context, input *DeleteTagsInput, opts ...request.Option) (*DeleteTagsOutput, error) {
6978	req, out := c.DeleteTagsRequest(input)
6979	req.SetContext(ctx)
6980	req.ApplyOptions(opts...)
6981	return out, req.Send()
6982}
6983
6984const opDeleteTrial = "DeleteTrial"
6985
6986// DeleteTrialRequest generates a "aws/request.Request" representing the
6987// client's request for the DeleteTrial operation. The "output" return
6988// value will be populated with the request's response once the request completes
6989// successfully.
6990//
6991// Use "Send" method on the returned Request to send the API call to the service.
6992// the "output" return value is not valid until after Send returns without error.
6993//
6994// See DeleteTrial for more information on using the DeleteTrial
6995// API call, and error handling.
6996//
6997// This method is useful when you want to inject custom logic or configuration
6998// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6999//
7000//
7001//    // Example sending a request using the DeleteTrialRequest method.
7002//    req, resp := client.DeleteTrialRequest(params)
7003//
7004//    err := req.Send()
7005//    if err == nil { // resp is now filled
7006//        fmt.Println(resp)
7007//    }
7008//
7009// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrial
7010func (c *SageMaker) DeleteTrialRequest(input *DeleteTrialInput) (req *request.Request, output *DeleteTrialOutput) {
7011	op := &request.Operation{
7012		Name:       opDeleteTrial,
7013		HTTPMethod: "POST",
7014		HTTPPath:   "/",
7015	}
7016
7017	if input == nil {
7018		input = &DeleteTrialInput{}
7019	}
7020
7021	output = &DeleteTrialOutput{}
7022	req = c.newRequest(op, input, output)
7023	return
7024}
7025
7026// DeleteTrial API operation for Amazon SageMaker Service.
7027//
7028// Deletes the specified trial. All trial components that make up the trial
7029// must be deleted first. Use the DescribeTrialComponent API to get the list
7030// of trial components.
7031//
7032// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7033// with awserr.Error's Code and Message methods to get detailed information about
7034// the error.
7035//
7036// See the AWS API reference guide for Amazon SageMaker Service's
7037// API operation DeleteTrial for usage and error information.
7038//
7039// Returned Error Types:
7040//   * ResourceNotFound
7041//   Resource being access is not found.
7042//
7043// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrial
7044func (c *SageMaker) DeleteTrial(input *DeleteTrialInput) (*DeleteTrialOutput, error) {
7045	req, out := c.DeleteTrialRequest(input)
7046	return out, req.Send()
7047}
7048
7049// DeleteTrialWithContext is the same as DeleteTrial with the addition of
7050// the ability to pass a context and additional request options.
7051//
7052// See DeleteTrial for details on how to use this API operation.
7053//
7054// The context must be non-nil and will be used for request cancellation. If
7055// the context is nil a panic will occur. In the future the SDK may create
7056// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7057// for more information on using Contexts.
7058func (c *SageMaker) DeleteTrialWithContext(ctx aws.Context, input *DeleteTrialInput, opts ...request.Option) (*DeleteTrialOutput, error) {
7059	req, out := c.DeleteTrialRequest(input)
7060	req.SetContext(ctx)
7061	req.ApplyOptions(opts...)
7062	return out, req.Send()
7063}
7064
7065const opDeleteTrialComponent = "DeleteTrialComponent"
7066
7067// DeleteTrialComponentRequest generates a "aws/request.Request" representing the
7068// client's request for the DeleteTrialComponent operation. The "output" return
7069// value will be populated with the request's response once the request completes
7070// successfully.
7071//
7072// Use "Send" method on the returned Request to send the API call to the service.
7073// the "output" return value is not valid until after Send returns without error.
7074//
7075// See DeleteTrialComponent for more information on using the DeleteTrialComponent
7076// API call, and error handling.
7077//
7078// This method is useful when you want to inject custom logic or configuration
7079// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7080//
7081//
7082//    // Example sending a request using the DeleteTrialComponentRequest method.
7083//    req, resp := client.DeleteTrialComponentRequest(params)
7084//
7085//    err := req.Send()
7086//    if err == nil { // resp is now filled
7087//        fmt.Println(resp)
7088//    }
7089//
7090// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrialComponent
7091func (c *SageMaker) DeleteTrialComponentRequest(input *DeleteTrialComponentInput) (req *request.Request, output *DeleteTrialComponentOutput) {
7092	op := &request.Operation{
7093		Name:       opDeleteTrialComponent,
7094		HTTPMethod: "POST",
7095		HTTPPath:   "/",
7096	}
7097
7098	if input == nil {
7099		input = &DeleteTrialComponentInput{}
7100	}
7101
7102	output = &DeleteTrialComponentOutput{}
7103	req = c.newRequest(op, input, output)
7104	return
7105}
7106
7107// DeleteTrialComponent API operation for Amazon SageMaker Service.
7108//
7109// Deletes the specified trial component. A trial component must be disassociated
7110// from all trials before the trial component can be deleted. To disassociate
7111// a trial component from a trial, call the DisassociateTrialComponent API.
7112//
7113// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7114// with awserr.Error's Code and Message methods to get detailed information about
7115// the error.
7116//
7117// See the AWS API reference guide for Amazon SageMaker Service's
7118// API operation DeleteTrialComponent for usage and error information.
7119//
7120// Returned Error Types:
7121//   * ResourceNotFound
7122//   Resource being access is not found.
7123//
7124// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrialComponent
7125func (c *SageMaker) DeleteTrialComponent(input *DeleteTrialComponentInput) (*DeleteTrialComponentOutput, error) {
7126	req, out := c.DeleteTrialComponentRequest(input)
7127	return out, req.Send()
7128}
7129
7130// DeleteTrialComponentWithContext is the same as DeleteTrialComponent with the addition of
7131// the ability to pass a context and additional request options.
7132//
7133// See DeleteTrialComponent for details on how to use this API operation.
7134//
7135// The context must be non-nil and will be used for request cancellation. If
7136// the context is nil a panic will occur. In the future the SDK may create
7137// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7138// for more information on using Contexts.
7139func (c *SageMaker) DeleteTrialComponentWithContext(ctx aws.Context, input *DeleteTrialComponentInput, opts ...request.Option) (*DeleteTrialComponentOutput, error) {
7140	req, out := c.DeleteTrialComponentRequest(input)
7141	req.SetContext(ctx)
7142	req.ApplyOptions(opts...)
7143	return out, req.Send()
7144}
7145
7146const opDeleteUserProfile = "DeleteUserProfile"
7147
7148// DeleteUserProfileRequest generates a "aws/request.Request" representing the
7149// client's request for the DeleteUserProfile operation. The "output" return
7150// value will be populated with the request's response once the request completes
7151// successfully.
7152//
7153// Use "Send" method on the returned Request to send the API call to the service.
7154// the "output" return value is not valid until after Send returns without error.
7155//
7156// See DeleteUserProfile for more information on using the DeleteUserProfile
7157// API call, and error handling.
7158//
7159// This method is useful when you want to inject custom logic or configuration
7160// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7161//
7162//
7163//    // Example sending a request using the DeleteUserProfileRequest method.
7164//    req, resp := client.DeleteUserProfileRequest(params)
7165//
7166//    err := req.Send()
7167//    if err == nil { // resp is now filled
7168//        fmt.Println(resp)
7169//    }
7170//
7171// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteUserProfile
7172func (c *SageMaker) DeleteUserProfileRequest(input *DeleteUserProfileInput) (req *request.Request, output *DeleteUserProfileOutput) {
7173	op := &request.Operation{
7174		Name:       opDeleteUserProfile,
7175		HTTPMethod: "POST",
7176		HTTPPath:   "/",
7177	}
7178
7179	if input == nil {
7180		input = &DeleteUserProfileInput{}
7181	}
7182
7183	output = &DeleteUserProfileOutput{}
7184	req = c.newRequest(op, input, output)
7185	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
7186	return
7187}
7188
7189// DeleteUserProfile API operation for Amazon SageMaker Service.
7190//
7191// Deletes a user profile. When a user profile is deleted, the user loses access
7192// to their EFS volume, including data, notebooks, and other artifacts.
7193//
7194// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7195// with awserr.Error's Code and Message methods to get detailed information about
7196// the error.
7197//
7198// See the AWS API reference guide for Amazon SageMaker Service's
7199// API operation DeleteUserProfile for usage and error information.
7200//
7201// Returned Error Types:
7202//   * ResourceInUse
7203//   Resource being accessed is in use.
7204//
7205//   * ResourceNotFound
7206//   Resource being access is not found.
7207//
7208// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteUserProfile
7209func (c *SageMaker) DeleteUserProfile(input *DeleteUserProfileInput) (*DeleteUserProfileOutput, error) {
7210	req, out := c.DeleteUserProfileRequest(input)
7211	return out, req.Send()
7212}
7213
7214// DeleteUserProfileWithContext is the same as DeleteUserProfile with the addition of
7215// the ability to pass a context and additional request options.
7216//
7217// See DeleteUserProfile for details on how to use this API operation.
7218//
7219// The context must be non-nil and will be used for request cancellation. If
7220// the context is nil a panic will occur. In the future the SDK may create
7221// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7222// for more information on using Contexts.
7223func (c *SageMaker) DeleteUserProfileWithContext(ctx aws.Context, input *DeleteUserProfileInput, opts ...request.Option) (*DeleteUserProfileOutput, error) {
7224	req, out := c.DeleteUserProfileRequest(input)
7225	req.SetContext(ctx)
7226	req.ApplyOptions(opts...)
7227	return out, req.Send()
7228}
7229
7230const opDeleteWorkforce = "DeleteWorkforce"
7231
7232// DeleteWorkforceRequest generates a "aws/request.Request" representing the
7233// client's request for the DeleteWorkforce operation. The "output" return
7234// value will be populated with the request's response once the request completes
7235// successfully.
7236//
7237// Use "Send" method on the returned Request to send the API call to the service.
7238// the "output" return value is not valid until after Send returns without error.
7239//
7240// See DeleteWorkforce for more information on using the DeleteWorkforce
7241// API call, and error handling.
7242//
7243// This method is useful when you want to inject custom logic or configuration
7244// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7245//
7246//
7247//    // Example sending a request using the DeleteWorkforceRequest method.
7248//    req, resp := client.DeleteWorkforceRequest(params)
7249//
7250//    err := req.Send()
7251//    if err == nil { // resp is now filled
7252//        fmt.Println(resp)
7253//    }
7254//
7255// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkforce
7256func (c *SageMaker) DeleteWorkforceRequest(input *DeleteWorkforceInput) (req *request.Request, output *DeleteWorkforceOutput) {
7257	op := &request.Operation{
7258		Name:       opDeleteWorkforce,
7259		HTTPMethod: "POST",
7260		HTTPPath:   "/",
7261	}
7262
7263	if input == nil {
7264		input = &DeleteWorkforceInput{}
7265	}
7266
7267	output = &DeleteWorkforceOutput{}
7268	req = c.newRequest(op, input, output)
7269	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
7270	return
7271}
7272
7273// DeleteWorkforce API operation for Amazon SageMaker Service.
7274//
7275// Use this operation to delete a workforce.
7276//
7277// If you want to create a new workforce in an AWS Region where a workforce
7278// already exists, use this operation to delete the existing workforce and then
7279// use to create a new workforce.
7280//
7281// If a private workforce contains one or more work teams, you must use the
7282// operation to delete all work teams before you delete the workforce. If you
7283// try to delete a workforce that contains one or more work teams, you will
7284// recieve a ResourceInUse error.
7285//
7286// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7287// with awserr.Error's Code and Message methods to get detailed information about
7288// the error.
7289//
7290// See the AWS API reference guide for Amazon SageMaker Service's
7291// API operation DeleteWorkforce for usage and error information.
7292// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkforce
7293func (c *SageMaker) DeleteWorkforce(input *DeleteWorkforceInput) (*DeleteWorkforceOutput, error) {
7294	req, out := c.DeleteWorkforceRequest(input)
7295	return out, req.Send()
7296}
7297
7298// DeleteWorkforceWithContext is the same as DeleteWorkforce with the addition of
7299// the ability to pass a context and additional request options.
7300//
7301// See DeleteWorkforce for details on how to use this API operation.
7302//
7303// The context must be non-nil and will be used for request cancellation. If
7304// the context is nil a panic will occur. In the future the SDK may create
7305// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7306// for more information on using Contexts.
7307func (c *SageMaker) DeleteWorkforceWithContext(ctx aws.Context, input *DeleteWorkforceInput, opts ...request.Option) (*DeleteWorkforceOutput, error) {
7308	req, out := c.DeleteWorkforceRequest(input)
7309	req.SetContext(ctx)
7310	req.ApplyOptions(opts...)
7311	return out, req.Send()
7312}
7313
7314const opDeleteWorkteam = "DeleteWorkteam"
7315
7316// DeleteWorkteamRequest generates a "aws/request.Request" representing the
7317// client's request for the DeleteWorkteam operation. The "output" return
7318// value will be populated with the request's response once the request completes
7319// successfully.
7320//
7321// Use "Send" method on the returned Request to send the API call to the service.
7322// the "output" return value is not valid until after Send returns without error.
7323//
7324// See DeleteWorkteam for more information on using the DeleteWorkteam
7325// API call, and error handling.
7326//
7327// This method is useful when you want to inject custom logic or configuration
7328// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7329//
7330//
7331//    // Example sending a request using the DeleteWorkteamRequest method.
7332//    req, resp := client.DeleteWorkteamRequest(params)
7333//
7334//    err := req.Send()
7335//    if err == nil { // resp is now filled
7336//        fmt.Println(resp)
7337//    }
7338//
7339// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkteam
7340func (c *SageMaker) DeleteWorkteamRequest(input *DeleteWorkteamInput) (req *request.Request, output *DeleteWorkteamOutput) {
7341	op := &request.Operation{
7342		Name:       opDeleteWorkteam,
7343		HTTPMethod: "POST",
7344		HTTPPath:   "/",
7345	}
7346
7347	if input == nil {
7348		input = &DeleteWorkteamInput{}
7349	}
7350
7351	output = &DeleteWorkteamOutput{}
7352	req = c.newRequest(op, input, output)
7353	return
7354}
7355
7356// DeleteWorkteam API operation for Amazon SageMaker Service.
7357//
7358// Deletes an existing work team. This operation can't be undone.
7359//
7360// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7361// with awserr.Error's Code and Message methods to get detailed information about
7362// the error.
7363//
7364// See the AWS API reference guide for Amazon SageMaker Service's
7365// API operation DeleteWorkteam for usage and error information.
7366//
7367// Returned Error Types:
7368//   * ResourceLimitExceeded
7369//   You have exceeded an Amazon SageMaker resource limit. For example, you might
7370//   have too many training jobs created.
7371//
7372// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkteam
7373func (c *SageMaker) DeleteWorkteam(input *DeleteWorkteamInput) (*DeleteWorkteamOutput, error) {
7374	req, out := c.DeleteWorkteamRequest(input)
7375	return out, req.Send()
7376}
7377
7378// DeleteWorkteamWithContext is the same as DeleteWorkteam with the addition of
7379// the ability to pass a context and additional request options.
7380//
7381// See DeleteWorkteam for details on how to use this API operation.
7382//
7383// The context must be non-nil and will be used for request cancellation. If
7384// the context is nil a panic will occur. In the future the SDK may create
7385// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7386// for more information on using Contexts.
7387func (c *SageMaker) DeleteWorkteamWithContext(ctx aws.Context, input *DeleteWorkteamInput, opts ...request.Option) (*DeleteWorkteamOutput, error) {
7388	req, out := c.DeleteWorkteamRequest(input)
7389	req.SetContext(ctx)
7390	req.ApplyOptions(opts...)
7391	return out, req.Send()
7392}
7393
7394const opDeregisterDevices = "DeregisterDevices"
7395
7396// DeregisterDevicesRequest generates a "aws/request.Request" representing the
7397// client's request for the DeregisterDevices operation. The "output" return
7398// value will be populated with the request's response once the request completes
7399// successfully.
7400//
7401// Use "Send" method on the returned Request to send the API call to the service.
7402// the "output" return value is not valid until after Send returns without error.
7403//
7404// See DeregisterDevices for more information on using the DeregisterDevices
7405// API call, and error handling.
7406//
7407// This method is useful when you want to inject custom logic or configuration
7408// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7409//
7410//
7411//    // Example sending a request using the DeregisterDevicesRequest method.
7412//    req, resp := client.DeregisterDevicesRequest(params)
7413//
7414//    err := req.Send()
7415//    if err == nil { // resp is now filled
7416//        fmt.Println(resp)
7417//    }
7418//
7419// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeregisterDevices
7420func (c *SageMaker) DeregisterDevicesRequest(input *DeregisterDevicesInput) (req *request.Request, output *DeregisterDevicesOutput) {
7421	op := &request.Operation{
7422		Name:       opDeregisterDevices,
7423		HTTPMethod: "POST",
7424		HTTPPath:   "/",
7425	}
7426
7427	if input == nil {
7428		input = &DeregisterDevicesInput{}
7429	}
7430
7431	output = &DeregisterDevicesOutput{}
7432	req = c.newRequest(op, input, output)
7433	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
7434	return
7435}
7436
7437// DeregisterDevices API operation for Amazon SageMaker Service.
7438//
7439// Deregisters the specified devices. After you deregister a device, you will
7440// need to re-register the devices.
7441//
7442// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7443// with awserr.Error's Code and Message methods to get detailed information about
7444// the error.
7445//
7446// See the AWS API reference guide for Amazon SageMaker Service's
7447// API operation DeregisterDevices for usage and error information.
7448// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeregisterDevices
7449func (c *SageMaker) DeregisterDevices(input *DeregisterDevicesInput) (*DeregisterDevicesOutput, error) {
7450	req, out := c.DeregisterDevicesRequest(input)
7451	return out, req.Send()
7452}
7453
7454// DeregisterDevicesWithContext is the same as DeregisterDevices with the addition of
7455// the ability to pass a context and additional request options.
7456//
7457// See DeregisterDevices for details on how to use this API operation.
7458//
7459// The context must be non-nil and will be used for request cancellation. If
7460// the context is nil a panic will occur. In the future the SDK may create
7461// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7462// for more information on using Contexts.
7463func (c *SageMaker) DeregisterDevicesWithContext(ctx aws.Context, input *DeregisterDevicesInput, opts ...request.Option) (*DeregisterDevicesOutput, error) {
7464	req, out := c.DeregisterDevicesRequest(input)
7465	req.SetContext(ctx)
7466	req.ApplyOptions(opts...)
7467	return out, req.Send()
7468}
7469
7470const opDescribeAction = "DescribeAction"
7471
7472// DescribeActionRequest generates a "aws/request.Request" representing the
7473// client's request for the DescribeAction operation. The "output" return
7474// value will be populated with the request's response once the request completes
7475// successfully.
7476//
7477// Use "Send" method on the returned Request to send the API call to the service.
7478// the "output" return value is not valid until after Send returns without error.
7479//
7480// See DescribeAction for more information on using the DescribeAction
7481// API call, and error handling.
7482//
7483// This method is useful when you want to inject custom logic or configuration
7484// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7485//
7486//
7487//    // Example sending a request using the DescribeActionRequest method.
7488//    req, resp := client.DescribeActionRequest(params)
7489//
7490//    err := req.Send()
7491//    if err == nil { // resp is now filled
7492//        fmt.Println(resp)
7493//    }
7494//
7495// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAction
7496func (c *SageMaker) DescribeActionRequest(input *DescribeActionInput) (req *request.Request, output *DescribeActionOutput) {
7497	op := &request.Operation{
7498		Name:       opDescribeAction,
7499		HTTPMethod: "POST",
7500		HTTPPath:   "/",
7501	}
7502
7503	if input == nil {
7504		input = &DescribeActionInput{}
7505	}
7506
7507	output = &DescribeActionOutput{}
7508	req = c.newRequest(op, input, output)
7509	return
7510}
7511
7512// DescribeAction API operation for Amazon SageMaker Service.
7513//
7514// Describes an action.
7515//
7516// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7517// with awserr.Error's Code and Message methods to get detailed information about
7518// the error.
7519//
7520// See the AWS API reference guide for Amazon SageMaker Service's
7521// API operation DescribeAction for usage and error information.
7522//
7523// Returned Error Types:
7524//   * ResourceNotFound
7525//   Resource being access is not found.
7526//
7527// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAction
7528func (c *SageMaker) DescribeAction(input *DescribeActionInput) (*DescribeActionOutput, error) {
7529	req, out := c.DescribeActionRequest(input)
7530	return out, req.Send()
7531}
7532
7533// DescribeActionWithContext is the same as DescribeAction with the addition of
7534// the ability to pass a context and additional request options.
7535//
7536// See DescribeAction for details on how to use this API operation.
7537//
7538// The context must be non-nil and will be used for request cancellation. If
7539// the context is nil a panic will occur. In the future the SDK may create
7540// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7541// for more information on using Contexts.
7542func (c *SageMaker) DescribeActionWithContext(ctx aws.Context, input *DescribeActionInput, opts ...request.Option) (*DescribeActionOutput, error) {
7543	req, out := c.DescribeActionRequest(input)
7544	req.SetContext(ctx)
7545	req.ApplyOptions(opts...)
7546	return out, req.Send()
7547}
7548
7549const opDescribeAlgorithm = "DescribeAlgorithm"
7550
7551// DescribeAlgorithmRequest generates a "aws/request.Request" representing the
7552// client's request for the DescribeAlgorithm operation. The "output" return
7553// value will be populated with the request's response once the request completes
7554// successfully.
7555//
7556// Use "Send" method on the returned Request to send the API call to the service.
7557// the "output" return value is not valid until after Send returns without error.
7558//
7559// See DescribeAlgorithm for more information on using the DescribeAlgorithm
7560// API call, and error handling.
7561//
7562// This method is useful when you want to inject custom logic or configuration
7563// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7564//
7565//
7566//    // Example sending a request using the DescribeAlgorithmRequest method.
7567//    req, resp := client.DescribeAlgorithmRequest(params)
7568//
7569//    err := req.Send()
7570//    if err == nil { // resp is now filled
7571//        fmt.Println(resp)
7572//    }
7573//
7574// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAlgorithm
7575func (c *SageMaker) DescribeAlgorithmRequest(input *DescribeAlgorithmInput) (req *request.Request, output *DescribeAlgorithmOutput) {
7576	op := &request.Operation{
7577		Name:       opDescribeAlgorithm,
7578		HTTPMethod: "POST",
7579		HTTPPath:   "/",
7580	}
7581
7582	if input == nil {
7583		input = &DescribeAlgorithmInput{}
7584	}
7585
7586	output = &DescribeAlgorithmOutput{}
7587	req = c.newRequest(op, input, output)
7588	return
7589}
7590
7591// DescribeAlgorithm API operation for Amazon SageMaker Service.
7592//
7593// Returns a description of the specified algorithm that is in your account.
7594//
7595// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7596// with awserr.Error's Code and Message methods to get detailed information about
7597// the error.
7598//
7599// See the AWS API reference guide for Amazon SageMaker Service's
7600// API operation DescribeAlgorithm for usage and error information.
7601// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAlgorithm
7602func (c *SageMaker) DescribeAlgorithm(input *DescribeAlgorithmInput) (*DescribeAlgorithmOutput, error) {
7603	req, out := c.DescribeAlgorithmRequest(input)
7604	return out, req.Send()
7605}
7606
7607// DescribeAlgorithmWithContext is the same as DescribeAlgorithm with the addition of
7608// the ability to pass a context and additional request options.
7609//
7610// See DescribeAlgorithm for details on how to use this API operation.
7611//
7612// The context must be non-nil and will be used for request cancellation. If
7613// the context is nil a panic will occur. In the future the SDK may create
7614// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7615// for more information on using Contexts.
7616func (c *SageMaker) DescribeAlgorithmWithContext(ctx aws.Context, input *DescribeAlgorithmInput, opts ...request.Option) (*DescribeAlgorithmOutput, error) {
7617	req, out := c.DescribeAlgorithmRequest(input)
7618	req.SetContext(ctx)
7619	req.ApplyOptions(opts...)
7620	return out, req.Send()
7621}
7622
7623const opDescribeApp = "DescribeApp"
7624
7625// DescribeAppRequest generates a "aws/request.Request" representing the
7626// client's request for the DescribeApp operation. The "output" return
7627// value will be populated with the request's response once the request completes
7628// successfully.
7629//
7630// Use "Send" method on the returned Request to send the API call to the service.
7631// the "output" return value is not valid until after Send returns without error.
7632//
7633// See DescribeApp for more information on using the DescribeApp
7634// API call, and error handling.
7635//
7636// This method is useful when you want to inject custom logic or configuration
7637// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7638//
7639//
7640//    // Example sending a request using the DescribeAppRequest method.
7641//    req, resp := client.DescribeAppRequest(params)
7642//
7643//    err := req.Send()
7644//    if err == nil { // resp is now filled
7645//        fmt.Println(resp)
7646//    }
7647//
7648// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeApp
7649func (c *SageMaker) DescribeAppRequest(input *DescribeAppInput) (req *request.Request, output *DescribeAppOutput) {
7650	op := &request.Operation{
7651		Name:       opDescribeApp,
7652		HTTPMethod: "POST",
7653		HTTPPath:   "/",
7654	}
7655
7656	if input == nil {
7657		input = &DescribeAppInput{}
7658	}
7659
7660	output = &DescribeAppOutput{}
7661	req = c.newRequest(op, input, output)
7662	return
7663}
7664
7665// DescribeApp API operation for Amazon SageMaker Service.
7666//
7667// Describes the app.
7668//
7669// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7670// with awserr.Error's Code and Message methods to get detailed information about
7671// the error.
7672//
7673// See the AWS API reference guide for Amazon SageMaker Service's
7674// API operation DescribeApp for usage and error information.
7675//
7676// Returned Error Types:
7677//   * ResourceNotFound
7678//   Resource being access is not found.
7679//
7680// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeApp
7681func (c *SageMaker) DescribeApp(input *DescribeAppInput) (*DescribeAppOutput, error) {
7682	req, out := c.DescribeAppRequest(input)
7683	return out, req.Send()
7684}
7685
7686// DescribeAppWithContext is the same as DescribeApp with the addition of
7687// the ability to pass a context and additional request options.
7688//
7689// See DescribeApp for details on how to use this API operation.
7690//
7691// The context must be non-nil and will be used for request cancellation. If
7692// the context is nil a panic will occur. In the future the SDK may create
7693// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7694// for more information on using Contexts.
7695func (c *SageMaker) DescribeAppWithContext(ctx aws.Context, input *DescribeAppInput, opts ...request.Option) (*DescribeAppOutput, error) {
7696	req, out := c.DescribeAppRequest(input)
7697	req.SetContext(ctx)
7698	req.ApplyOptions(opts...)
7699	return out, req.Send()
7700}
7701
7702const opDescribeAppImageConfig = "DescribeAppImageConfig"
7703
7704// DescribeAppImageConfigRequest generates a "aws/request.Request" representing the
7705// client's request for the DescribeAppImageConfig 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 DescribeAppImageConfig for more information on using the DescribeAppImageConfig
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 DescribeAppImageConfigRequest method.
7720//    req, resp := client.DescribeAppImageConfigRequest(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/DescribeAppImageConfig
7728func (c *SageMaker) DescribeAppImageConfigRequest(input *DescribeAppImageConfigInput) (req *request.Request, output *DescribeAppImageConfigOutput) {
7729	op := &request.Operation{
7730		Name:       opDescribeAppImageConfig,
7731		HTTPMethod: "POST",
7732		HTTPPath:   "/",
7733	}
7734
7735	if input == nil {
7736		input = &DescribeAppImageConfigInput{}
7737	}
7738
7739	output = &DescribeAppImageConfigOutput{}
7740	req = c.newRequest(op, input, output)
7741	return
7742}
7743
7744// DescribeAppImageConfig API operation for Amazon SageMaker Service.
7745//
7746// Describes an AppImageConfig.
7747//
7748// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7749// with awserr.Error's Code and Message methods to get detailed information about
7750// the error.
7751//
7752// See the AWS API reference guide for Amazon SageMaker Service's
7753// API operation DescribeAppImageConfig for usage and error information.
7754//
7755// Returned Error Types:
7756//   * ResourceNotFound
7757//   Resource being access is not found.
7758//
7759// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAppImageConfig
7760func (c *SageMaker) DescribeAppImageConfig(input *DescribeAppImageConfigInput) (*DescribeAppImageConfigOutput, error) {
7761	req, out := c.DescribeAppImageConfigRequest(input)
7762	return out, req.Send()
7763}
7764
7765// DescribeAppImageConfigWithContext is the same as DescribeAppImageConfig with the addition of
7766// the ability to pass a context and additional request options.
7767//
7768// See DescribeAppImageConfig for details on how to use this API operation.
7769//
7770// The context must be non-nil and will be used for request cancellation. If
7771// the context is nil a panic will occur. In the future the SDK may create
7772// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7773// for more information on using Contexts.
7774func (c *SageMaker) DescribeAppImageConfigWithContext(ctx aws.Context, input *DescribeAppImageConfigInput, opts ...request.Option) (*DescribeAppImageConfigOutput, error) {
7775	req, out := c.DescribeAppImageConfigRequest(input)
7776	req.SetContext(ctx)
7777	req.ApplyOptions(opts...)
7778	return out, req.Send()
7779}
7780
7781const opDescribeArtifact = "DescribeArtifact"
7782
7783// DescribeArtifactRequest generates a "aws/request.Request" representing the
7784// client's request for the DescribeArtifact operation. The "output" return
7785// value will be populated with the request's response once the request completes
7786// successfully.
7787//
7788// Use "Send" method on the returned Request to send the API call to the service.
7789// the "output" return value is not valid until after Send returns without error.
7790//
7791// See DescribeArtifact for more information on using the DescribeArtifact
7792// API call, and error handling.
7793//
7794// This method is useful when you want to inject custom logic or configuration
7795// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7796//
7797//
7798//    // Example sending a request using the DescribeArtifactRequest method.
7799//    req, resp := client.DescribeArtifactRequest(params)
7800//
7801//    err := req.Send()
7802//    if err == nil { // resp is now filled
7803//        fmt.Println(resp)
7804//    }
7805//
7806// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeArtifact
7807func (c *SageMaker) DescribeArtifactRequest(input *DescribeArtifactInput) (req *request.Request, output *DescribeArtifactOutput) {
7808	op := &request.Operation{
7809		Name:       opDescribeArtifact,
7810		HTTPMethod: "POST",
7811		HTTPPath:   "/",
7812	}
7813
7814	if input == nil {
7815		input = &DescribeArtifactInput{}
7816	}
7817
7818	output = &DescribeArtifactOutput{}
7819	req = c.newRequest(op, input, output)
7820	return
7821}
7822
7823// DescribeArtifact API operation for Amazon SageMaker Service.
7824//
7825// Describes an artifact.
7826//
7827// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7828// with awserr.Error's Code and Message methods to get detailed information about
7829// the error.
7830//
7831// See the AWS API reference guide for Amazon SageMaker Service's
7832// API operation DescribeArtifact for usage and error information.
7833//
7834// Returned Error Types:
7835//   * ResourceNotFound
7836//   Resource being access is not found.
7837//
7838// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeArtifact
7839func (c *SageMaker) DescribeArtifact(input *DescribeArtifactInput) (*DescribeArtifactOutput, error) {
7840	req, out := c.DescribeArtifactRequest(input)
7841	return out, req.Send()
7842}
7843
7844// DescribeArtifactWithContext is the same as DescribeArtifact with the addition of
7845// the ability to pass a context and additional request options.
7846//
7847// See DescribeArtifact for details on how to use this API operation.
7848//
7849// The context must be non-nil and will be used for request cancellation. If
7850// the context is nil a panic will occur. In the future the SDK may create
7851// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7852// for more information on using Contexts.
7853func (c *SageMaker) DescribeArtifactWithContext(ctx aws.Context, input *DescribeArtifactInput, opts ...request.Option) (*DescribeArtifactOutput, error) {
7854	req, out := c.DescribeArtifactRequest(input)
7855	req.SetContext(ctx)
7856	req.ApplyOptions(opts...)
7857	return out, req.Send()
7858}
7859
7860const opDescribeAutoMLJob = "DescribeAutoMLJob"
7861
7862// DescribeAutoMLJobRequest generates a "aws/request.Request" representing the
7863// client's request for the DescribeAutoMLJob operation. The "output" return
7864// value will be populated with the request's response once the request completes
7865// successfully.
7866//
7867// Use "Send" method on the returned Request to send the API call to the service.
7868// the "output" return value is not valid until after Send returns without error.
7869//
7870// See DescribeAutoMLJob for more information on using the DescribeAutoMLJob
7871// API call, and error handling.
7872//
7873// This method is useful when you want to inject custom logic or configuration
7874// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7875//
7876//
7877//    // Example sending a request using the DescribeAutoMLJobRequest method.
7878//    req, resp := client.DescribeAutoMLJobRequest(params)
7879//
7880//    err := req.Send()
7881//    if err == nil { // resp is now filled
7882//        fmt.Println(resp)
7883//    }
7884//
7885// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAutoMLJob
7886func (c *SageMaker) DescribeAutoMLJobRequest(input *DescribeAutoMLJobInput) (req *request.Request, output *DescribeAutoMLJobOutput) {
7887	op := &request.Operation{
7888		Name:       opDescribeAutoMLJob,
7889		HTTPMethod: "POST",
7890		HTTPPath:   "/",
7891	}
7892
7893	if input == nil {
7894		input = &DescribeAutoMLJobInput{}
7895	}
7896
7897	output = &DescribeAutoMLJobOutput{}
7898	req = c.newRequest(op, input, output)
7899	return
7900}
7901
7902// DescribeAutoMLJob API operation for Amazon SageMaker Service.
7903//
7904// Returns information about an Amazon SageMaker AutoML job.
7905//
7906// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7907// with awserr.Error's Code and Message methods to get detailed information about
7908// the error.
7909//
7910// See the AWS API reference guide for Amazon SageMaker Service's
7911// API operation DescribeAutoMLJob for usage and error information.
7912//
7913// Returned Error Types:
7914//   * ResourceNotFound
7915//   Resource being access is not found.
7916//
7917// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAutoMLJob
7918func (c *SageMaker) DescribeAutoMLJob(input *DescribeAutoMLJobInput) (*DescribeAutoMLJobOutput, error) {
7919	req, out := c.DescribeAutoMLJobRequest(input)
7920	return out, req.Send()
7921}
7922
7923// DescribeAutoMLJobWithContext is the same as DescribeAutoMLJob with the addition of
7924// the ability to pass a context and additional request options.
7925//
7926// See DescribeAutoMLJob for details on how to use this API operation.
7927//
7928// The context must be non-nil and will be used for request cancellation. If
7929// the context is nil a panic will occur. In the future the SDK may create
7930// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7931// for more information on using Contexts.
7932func (c *SageMaker) DescribeAutoMLJobWithContext(ctx aws.Context, input *DescribeAutoMLJobInput, opts ...request.Option) (*DescribeAutoMLJobOutput, error) {
7933	req, out := c.DescribeAutoMLJobRequest(input)
7934	req.SetContext(ctx)
7935	req.ApplyOptions(opts...)
7936	return out, req.Send()
7937}
7938
7939const opDescribeCodeRepository = "DescribeCodeRepository"
7940
7941// DescribeCodeRepositoryRequest generates a "aws/request.Request" representing the
7942// client's request for the DescribeCodeRepository operation. The "output" return
7943// value will be populated with the request's response once the request completes
7944// successfully.
7945//
7946// Use "Send" method on the returned Request to send the API call to the service.
7947// the "output" return value is not valid until after Send returns without error.
7948//
7949// See DescribeCodeRepository for more information on using the DescribeCodeRepository
7950// API call, and error handling.
7951//
7952// This method is useful when you want to inject custom logic or configuration
7953// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7954//
7955//
7956//    // Example sending a request using the DescribeCodeRepositoryRequest method.
7957//    req, resp := client.DescribeCodeRepositoryRequest(params)
7958//
7959//    err := req.Send()
7960//    if err == nil { // resp is now filled
7961//        fmt.Println(resp)
7962//    }
7963//
7964// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCodeRepository
7965func (c *SageMaker) DescribeCodeRepositoryRequest(input *DescribeCodeRepositoryInput) (req *request.Request, output *DescribeCodeRepositoryOutput) {
7966	op := &request.Operation{
7967		Name:       opDescribeCodeRepository,
7968		HTTPMethod: "POST",
7969		HTTPPath:   "/",
7970	}
7971
7972	if input == nil {
7973		input = &DescribeCodeRepositoryInput{}
7974	}
7975
7976	output = &DescribeCodeRepositoryOutput{}
7977	req = c.newRequest(op, input, output)
7978	return
7979}
7980
7981// DescribeCodeRepository API operation for Amazon SageMaker Service.
7982//
7983// Gets details about the specified Git repository.
7984//
7985// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7986// with awserr.Error's Code and Message methods to get detailed information about
7987// the error.
7988//
7989// See the AWS API reference guide for Amazon SageMaker Service's
7990// API operation DescribeCodeRepository for usage and error information.
7991// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCodeRepository
7992func (c *SageMaker) DescribeCodeRepository(input *DescribeCodeRepositoryInput) (*DescribeCodeRepositoryOutput, error) {
7993	req, out := c.DescribeCodeRepositoryRequest(input)
7994	return out, req.Send()
7995}
7996
7997// DescribeCodeRepositoryWithContext is the same as DescribeCodeRepository with the addition of
7998// the ability to pass a context and additional request options.
7999//
8000// See DescribeCodeRepository for details on how to use this API operation.
8001//
8002// The context must be non-nil and will be used for request cancellation. If
8003// the context is nil a panic will occur. In the future the SDK may create
8004// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8005// for more information on using Contexts.
8006func (c *SageMaker) DescribeCodeRepositoryWithContext(ctx aws.Context, input *DescribeCodeRepositoryInput, opts ...request.Option) (*DescribeCodeRepositoryOutput, error) {
8007	req, out := c.DescribeCodeRepositoryRequest(input)
8008	req.SetContext(ctx)
8009	req.ApplyOptions(opts...)
8010	return out, req.Send()
8011}
8012
8013const opDescribeCompilationJob = "DescribeCompilationJob"
8014
8015// DescribeCompilationJobRequest generates a "aws/request.Request" representing the
8016// client's request for the DescribeCompilationJob operation. The "output" return
8017// value will be populated with the request's response once the request completes
8018// successfully.
8019//
8020// Use "Send" method on the returned Request to send the API call to the service.
8021// the "output" return value is not valid until after Send returns without error.
8022//
8023// See DescribeCompilationJob for more information on using the DescribeCompilationJob
8024// API call, and error handling.
8025//
8026// This method is useful when you want to inject custom logic or configuration
8027// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8028//
8029//
8030//    // Example sending a request using the DescribeCompilationJobRequest method.
8031//    req, resp := client.DescribeCompilationJobRequest(params)
8032//
8033//    err := req.Send()
8034//    if err == nil { // resp is now filled
8035//        fmt.Println(resp)
8036//    }
8037//
8038// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCompilationJob
8039func (c *SageMaker) DescribeCompilationJobRequest(input *DescribeCompilationJobInput) (req *request.Request, output *DescribeCompilationJobOutput) {
8040	op := &request.Operation{
8041		Name:       opDescribeCompilationJob,
8042		HTTPMethod: "POST",
8043		HTTPPath:   "/",
8044	}
8045
8046	if input == nil {
8047		input = &DescribeCompilationJobInput{}
8048	}
8049
8050	output = &DescribeCompilationJobOutput{}
8051	req = c.newRequest(op, input, output)
8052	return
8053}
8054
8055// DescribeCompilationJob API operation for Amazon SageMaker Service.
8056//
8057// Returns information about a model compilation job.
8058//
8059// To create a model compilation job, use CreateCompilationJob. To get information
8060// about multiple model compilation jobs, use ListCompilationJobs.
8061//
8062// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8063// with awserr.Error's Code and Message methods to get detailed information about
8064// the error.
8065//
8066// See the AWS API reference guide for Amazon SageMaker Service's
8067// API operation DescribeCompilationJob for usage and error information.
8068//
8069// Returned Error Types:
8070//   * ResourceNotFound
8071//   Resource being access is not found.
8072//
8073// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCompilationJob
8074func (c *SageMaker) DescribeCompilationJob(input *DescribeCompilationJobInput) (*DescribeCompilationJobOutput, error) {
8075	req, out := c.DescribeCompilationJobRequest(input)
8076	return out, req.Send()
8077}
8078
8079// DescribeCompilationJobWithContext is the same as DescribeCompilationJob with the addition of
8080// the ability to pass a context and additional request options.
8081//
8082// See DescribeCompilationJob for details on how to use this API operation.
8083//
8084// The context must be non-nil and will be used for request cancellation. If
8085// the context is nil a panic will occur. In the future the SDK may create
8086// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8087// for more information on using Contexts.
8088func (c *SageMaker) DescribeCompilationJobWithContext(ctx aws.Context, input *DescribeCompilationJobInput, opts ...request.Option) (*DescribeCompilationJobOutput, error) {
8089	req, out := c.DescribeCompilationJobRequest(input)
8090	req.SetContext(ctx)
8091	req.ApplyOptions(opts...)
8092	return out, req.Send()
8093}
8094
8095const opDescribeContext = "DescribeContext"
8096
8097// DescribeContextRequest generates a "aws/request.Request" representing the
8098// client's request for the DescribeContext operation. The "output" return
8099// value will be populated with the request's response once the request completes
8100// successfully.
8101//
8102// Use "Send" method on the returned Request to send the API call to the service.
8103// the "output" return value is not valid until after Send returns without error.
8104//
8105// See DescribeContext for more information on using the DescribeContext
8106// API call, and error handling.
8107//
8108// This method is useful when you want to inject custom logic or configuration
8109// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8110//
8111//
8112//    // Example sending a request using the DescribeContextRequest method.
8113//    req, resp := client.DescribeContextRequest(params)
8114//
8115//    err := req.Send()
8116//    if err == nil { // resp is now filled
8117//        fmt.Println(resp)
8118//    }
8119//
8120// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeContext
8121func (c *SageMaker) DescribeContextRequest(input *DescribeContextInput) (req *request.Request, output *DescribeContextOutput) {
8122	op := &request.Operation{
8123		Name:       opDescribeContext,
8124		HTTPMethod: "POST",
8125		HTTPPath:   "/",
8126	}
8127
8128	if input == nil {
8129		input = &DescribeContextInput{}
8130	}
8131
8132	output = &DescribeContextOutput{}
8133	req = c.newRequest(op, input, output)
8134	return
8135}
8136
8137// DescribeContext API operation for Amazon SageMaker Service.
8138//
8139// Describes a context.
8140//
8141// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8142// with awserr.Error's Code and Message methods to get detailed information about
8143// the error.
8144//
8145// See the AWS API reference guide for Amazon SageMaker Service's
8146// API operation DescribeContext for usage and error information.
8147//
8148// Returned Error Types:
8149//   * ResourceNotFound
8150//   Resource being access is not found.
8151//
8152// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeContext
8153func (c *SageMaker) DescribeContext(input *DescribeContextInput) (*DescribeContextOutput, error) {
8154	req, out := c.DescribeContextRequest(input)
8155	return out, req.Send()
8156}
8157
8158// DescribeContextWithContext is the same as DescribeContext with the addition of
8159// the ability to pass a context and additional request options.
8160//
8161// See DescribeContext for details on how to use this API operation.
8162//
8163// The context must be non-nil and will be used for request cancellation. If
8164// the context is nil a panic will occur. In the future the SDK may create
8165// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8166// for more information on using Contexts.
8167func (c *SageMaker) DescribeContextWithContext(ctx aws.Context, input *DescribeContextInput, opts ...request.Option) (*DescribeContextOutput, error) {
8168	req, out := c.DescribeContextRequest(input)
8169	req.SetContext(ctx)
8170	req.ApplyOptions(opts...)
8171	return out, req.Send()
8172}
8173
8174const opDescribeDataQualityJobDefinition = "DescribeDataQualityJobDefinition"
8175
8176// DescribeDataQualityJobDefinitionRequest generates a "aws/request.Request" representing the
8177// client's request for the DescribeDataQualityJobDefinition operation. The "output" return
8178// value will be populated with the request's response once the request completes
8179// successfully.
8180//
8181// Use "Send" method on the returned Request to send the API call to the service.
8182// the "output" return value is not valid until after Send returns without error.
8183//
8184// See DescribeDataQualityJobDefinition for more information on using the DescribeDataQualityJobDefinition
8185// API call, and error handling.
8186//
8187// This method is useful when you want to inject custom logic or configuration
8188// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8189//
8190//
8191//    // Example sending a request using the DescribeDataQualityJobDefinitionRequest method.
8192//    req, resp := client.DescribeDataQualityJobDefinitionRequest(params)
8193//
8194//    err := req.Send()
8195//    if err == nil { // resp is now filled
8196//        fmt.Println(resp)
8197//    }
8198//
8199// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDataQualityJobDefinition
8200func (c *SageMaker) DescribeDataQualityJobDefinitionRequest(input *DescribeDataQualityJobDefinitionInput) (req *request.Request, output *DescribeDataQualityJobDefinitionOutput) {
8201	op := &request.Operation{
8202		Name:       opDescribeDataQualityJobDefinition,
8203		HTTPMethod: "POST",
8204		HTTPPath:   "/",
8205	}
8206
8207	if input == nil {
8208		input = &DescribeDataQualityJobDefinitionInput{}
8209	}
8210
8211	output = &DescribeDataQualityJobDefinitionOutput{}
8212	req = c.newRequest(op, input, output)
8213	return
8214}
8215
8216// DescribeDataQualityJobDefinition API operation for Amazon SageMaker Service.
8217//
8218// Gets the details of a data quality monitoring job definition.
8219//
8220// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8221// with awserr.Error's Code and Message methods to get detailed information about
8222// the error.
8223//
8224// See the AWS API reference guide for Amazon SageMaker Service's
8225// API operation DescribeDataQualityJobDefinition for usage and error information.
8226//
8227// Returned Error Types:
8228//   * ResourceNotFound
8229//   Resource being access is not found.
8230//
8231// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDataQualityJobDefinition
8232func (c *SageMaker) DescribeDataQualityJobDefinition(input *DescribeDataQualityJobDefinitionInput) (*DescribeDataQualityJobDefinitionOutput, error) {
8233	req, out := c.DescribeDataQualityJobDefinitionRequest(input)
8234	return out, req.Send()
8235}
8236
8237// DescribeDataQualityJobDefinitionWithContext is the same as DescribeDataQualityJobDefinition with the addition of
8238// the ability to pass a context and additional request options.
8239//
8240// See DescribeDataQualityJobDefinition for details on how to use this API operation.
8241//
8242// The context must be non-nil and will be used for request cancellation. If
8243// the context is nil a panic will occur. In the future the SDK may create
8244// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8245// for more information on using Contexts.
8246func (c *SageMaker) DescribeDataQualityJobDefinitionWithContext(ctx aws.Context, input *DescribeDataQualityJobDefinitionInput, opts ...request.Option) (*DescribeDataQualityJobDefinitionOutput, error) {
8247	req, out := c.DescribeDataQualityJobDefinitionRequest(input)
8248	req.SetContext(ctx)
8249	req.ApplyOptions(opts...)
8250	return out, req.Send()
8251}
8252
8253const opDescribeDevice = "DescribeDevice"
8254
8255// DescribeDeviceRequest generates a "aws/request.Request" representing the
8256// client's request for the DescribeDevice operation. The "output" return
8257// value will be populated with the request's response once the request completes
8258// successfully.
8259//
8260// Use "Send" method on the returned Request to send the API call to the service.
8261// the "output" return value is not valid until after Send returns without error.
8262//
8263// See DescribeDevice for more information on using the DescribeDevice
8264// API call, and error handling.
8265//
8266// This method is useful when you want to inject custom logic or configuration
8267// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8268//
8269//
8270//    // Example sending a request using the DescribeDeviceRequest method.
8271//    req, resp := client.DescribeDeviceRequest(params)
8272//
8273//    err := req.Send()
8274//    if err == nil { // resp is now filled
8275//        fmt.Println(resp)
8276//    }
8277//
8278// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDevice
8279func (c *SageMaker) DescribeDeviceRequest(input *DescribeDeviceInput) (req *request.Request, output *DescribeDeviceOutput) {
8280	op := &request.Operation{
8281		Name:       opDescribeDevice,
8282		HTTPMethod: "POST",
8283		HTTPPath:   "/",
8284	}
8285
8286	if input == nil {
8287		input = &DescribeDeviceInput{}
8288	}
8289
8290	output = &DescribeDeviceOutput{}
8291	req = c.newRequest(op, input, output)
8292	return
8293}
8294
8295// DescribeDevice API operation for Amazon SageMaker Service.
8296//
8297// Describes the device.
8298//
8299// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8300// with awserr.Error's Code and Message methods to get detailed information about
8301// the error.
8302//
8303// See the AWS API reference guide for Amazon SageMaker Service's
8304// API operation DescribeDevice for usage and error information.
8305//
8306// Returned Error Types:
8307//   * ResourceNotFound
8308//   Resource being access is not found.
8309//
8310// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDevice
8311func (c *SageMaker) DescribeDevice(input *DescribeDeviceInput) (*DescribeDeviceOutput, error) {
8312	req, out := c.DescribeDeviceRequest(input)
8313	return out, req.Send()
8314}
8315
8316// DescribeDeviceWithContext is the same as DescribeDevice with the addition of
8317// the ability to pass a context and additional request options.
8318//
8319// See DescribeDevice for details on how to use this API operation.
8320//
8321// The context must be non-nil and will be used for request cancellation. If
8322// the context is nil a panic will occur. In the future the SDK may create
8323// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8324// for more information on using Contexts.
8325func (c *SageMaker) DescribeDeviceWithContext(ctx aws.Context, input *DescribeDeviceInput, opts ...request.Option) (*DescribeDeviceOutput, error) {
8326	req, out := c.DescribeDeviceRequest(input)
8327	req.SetContext(ctx)
8328	req.ApplyOptions(opts...)
8329	return out, req.Send()
8330}
8331
8332const opDescribeDeviceFleet = "DescribeDeviceFleet"
8333
8334// DescribeDeviceFleetRequest generates a "aws/request.Request" representing the
8335// client's request for the DescribeDeviceFleet operation. The "output" return
8336// value will be populated with the request's response once the request completes
8337// successfully.
8338//
8339// Use "Send" method on the returned Request to send the API call to the service.
8340// the "output" return value is not valid until after Send returns without error.
8341//
8342// See DescribeDeviceFleet for more information on using the DescribeDeviceFleet
8343// API call, and error handling.
8344//
8345// This method is useful when you want to inject custom logic or configuration
8346// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8347//
8348//
8349//    // Example sending a request using the DescribeDeviceFleetRequest method.
8350//    req, resp := client.DescribeDeviceFleetRequest(params)
8351//
8352//    err := req.Send()
8353//    if err == nil { // resp is now filled
8354//        fmt.Println(resp)
8355//    }
8356//
8357// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDeviceFleet
8358func (c *SageMaker) DescribeDeviceFleetRequest(input *DescribeDeviceFleetInput) (req *request.Request, output *DescribeDeviceFleetOutput) {
8359	op := &request.Operation{
8360		Name:       opDescribeDeviceFleet,
8361		HTTPMethod: "POST",
8362		HTTPPath:   "/",
8363	}
8364
8365	if input == nil {
8366		input = &DescribeDeviceFleetInput{}
8367	}
8368
8369	output = &DescribeDeviceFleetOutput{}
8370	req = c.newRequest(op, input, output)
8371	return
8372}
8373
8374// DescribeDeviceFleet API operation for Amazon SageMaker Service.
8375//
8376// A description of the fleet the device belongs to.
8377//
8378// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8379// with awserr.Error's Code and Message methods to get detailed information about
8380// the error.
8381//
8382// See the AWS API reference guide for Amazon SageMaker Service's
8383// API operation DescribeDeviceFleet for usage and error information.
8384//
8385// Returned Error Types:
8386//   * ResourceNotFound
8387//   Resource being access is not found.
8388//
8389// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDeviceFleet
8390func (c *SageMaker) DescribeDeviceFleet(input *DescribeDeviceFleetInput) (*DescribeDeviceFleetOutput, error) {
8391	req, out := c.DescribeDeviceFleetRequest(input)
8392	return out, req.Send()
8393}
8394
8395// DescribeDeviceFleetWithContext is the same as DescribeDeviceFleet with the addition of
8396// the ability to pass a context and additional request options.
8397//
8398// See DescribeDeviceFleet for details on how to use this API operation.
8399//
8400// The context must be non-nil and will be used for request cancellation. If
8401// the context is nil a panic will occur. In the future the SDK may create
8402// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8403// for more information on using Contexts.
8404func (c *SageMaker) DescribeDeviceFleetWithContext(ctx aws.Context, input *DescribeDeviceFleetInput, opts ...request.Option) (*DescribeDeviceFleetOutput, error) {
8405	req, out := c.DescribeDeviceFleetRequest(input)
8406	req.SetContext(ctx)
8407	req.ApplyOptions(opts...)
8408	return out, req.Send()
8409}
8410
8411const opDescribeDomain = "DescribeDomain"
8412
8413// DescribeDomainRequest generates a "aws/request.Request" representing the
8414// client's request for the DescribeDomain operation. The "output" return
8415// value will be populated with the request's response once the request completes
8416// successfully.
8417//
8418// Use "Send" method on the returned Request to send the API call to the service.
8419// the "output" return value is not valid until after Send returns without error.
8420//
8421// See DescribeDomain for more information on using the DescribeDomain
8422// API call, and error handling.
8423//
8424// This method is useful when you want to inject custom logic or configuration
8425// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8426//
8427//
8428//    // Example sending a request using the DescribeDomainRequest method.
8429//    req, resp := client.DescribeDomainRequest(params)
8430//
8431//    err := req.Send()
8432//    if err == nil { // resp is now filled
8433//        fmt.Println(resp)
8434//    }
8435//
8436// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDomain
8437func (c *SageMaker) DescribeDomainRequest(input *DescribeDomainInput) (req *request.Request, output *DescribeDomainOutput) {
8438	op := &request.Operation{
8439		Name:       opDescribeDomain,
8440		HTTPMethod: "POST",
8441		HTTPPath:   "/",
8442	}
8443
8444	if input == nil {
8445		input = &DescribeDomainInput{}
8446	}
8447
8448	output = &DescribeDomainOutput{}
8449	req = c.newRequest(op, input, output)
8450	return
8451}
8452
8453// DescribeDomain API operation for Amazon SageMaker Service.
8454//
8455// The description of the domain.
8456//
8457// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8458// with awserr.Error's Code and Message methods to get detailed information about
8459// the error.
8460//
8461// See the AWS API reference guide for Amazon SageMaker Service's
8462// API operation DescribeDomain for usage and error information.
8463//
8464// Returned Error Types:
8465//   * ResourceNotFound
8466//   Resource being access is not found.
8467//
8468// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDomain
8469func (c *SageMaker) DescribeDomain(input *DescribeDomainInput) (*DescribeDomainOutput, error) {
8470	req, out := c.DescribeDomainRequest(input)
8471	return out, req.Send()
8472}
8473
8474// DescribeDomainWithContext is the same as DescribeDomain with the addition of
8475// the ability to pass a context and additional request options.
8476//
8477// See DescribeDomain for details on how to use this API operation.
8478//
8479// The context must be non-nil and will be used for request cancellation. If
8480// the context is nil a panic will occur. In the future the SDK may create
8481// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8482// for more information on using Contexts.
8483func (c *SageMaker) DescribeDomainWithContext(ctx aws.Context, input *DescribeDomainInput, opts ...request.Option) (*DescribeDomainOutput, error) {
8484	req, out := c.DescribeDomainRequest(input)
8485	req.SetContext(ctx)
8486	req.ApplyOptions(opts...)
8487	return out, req.Send()
8488}
8489
8490const opDescribeEdgePackagingJob = "DescribeEdgePackagingJob"
8491
8492// DescribeEdgePackagingJobRequest generates a "aws/request.Request" representing the
8493// client's request for the DescribeEdgePackagingJob operation. The "output" return
8494// value will be populated with the request's response once the request completes
8495// successfully.
8496//
8497// Use "Send" method on the returned Request to send the API call to the service.
8498// the "output" return value is not valid until after Send returns without error.
8499//
8500// See DescribeEdgePackagingJob for more information on using the DescribeEdgePackagingJob
8501// API call, and error handling.
8502//
8503// This method is useful when you want to inject custom logic or configuration
8504// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8505//
8506//
8507//    // Example sending a request using the DescribeEdgePackagingJobRequest method.
8508//    req, resp := client.DescribeEdgePackagingJobRequest(params)
8509//
8510//    err := req.Send()
8511//    if err == nil { // resp is now filled
8512//        fmt.Println(resp)
8513//    }
8514//
8515// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEdgePackagingJob
8516func (c *SageMaker) DescribeEdgePackagingJobRequest(input *DescribeEdgePackagingJobInput) (req *request.Request, output *DescribeEdgePackagingJobOutput) {
8517	op := &request.Operation{
8518		Name:       opDescribeEdgePackagingJob,
8519		HTTPMethod: "POST",
8520		HTTPPath:   "/",
8521	}
8522
8523	if input == nil {
8524		input = &DescribeEdgePackagingJobInput{}
8525	}
8526
8527	output = &DescribeEdgePackagingJobOutput{}
8528	req = c.newRequest(op, input, output)
8529	return
8530}
8531
8532// DescribeEdgePackagingJob API operation for Amazon SageMaker Service.
8533//
8534// A description of edge packaging jobs.
8535//
8536// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8537// with awserr.Error's Code and Message methods to get detailed information about
8538// the error.
8539//
8540// See the AWS API reference guide for Amazon SageMaker Service's
8541// API operation DescribeEdgePackagingJob for usage and error information.
8542//
8543// Returned Error Types:
8544//   * ResourceNotFound
8545//   Resource being access is not found.
8546//
8547// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEdgePackagingJob
8548func (c *SageMaker) DescribeEdgePackagingJob(input *DescribeEdgePackagingJobInput) (*DescribeEdgePackagingJobOutput, error) {
8549	req, out := c.DescribeEdgePackagingJobRequest(input)
8550	return out, req.Send()
8551}
8552
8553// DescribeEdgePackagingJobWithContext is the same as DescribeEdgePackagingJob with the addition of
8554// the ability to pass a context and additional request options.
8555//
8556// See DescribeEdgePackagingJob for details on how to use this API operation.
8557//
8558// The context must be non-nil and will be used for request cancellation. If
8559// the context is nil a panic will occur. In the future the SDK may create
8560// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8561// for more information on using Contexts.
8562func (c *SageMaker) DescribeEdgePackagingJobWithContext(ctx aws.Context, input *DescribeEdgePackagingJobInput, opts ...request.Option) (*DescribeEdgePackagingJobOutput, error) {
8563	req, out := c.DescribeEdgePackagingJobRequest(input)
8564	req.SetContext(ctx)
8565	req.ApplyOptions(opts...)
8566	return out, req.Send()
8567}
8568
8569const opDescribeEndpoint = "DescribeEndpoint"
8570
8571// DescribeEndpointRequest generates a "aws/request.Request" representing the
8572// client's request for the DescribeEndpoint operation. The "output" return
8573// value will be populated with the request's response once the request completes
8574// successfully.
8575//
8576// Use "Send" method on the returned Request to send the API call to the service.
8577// the "output" return value is not valid until after Send returns without error.
8578//
8579// See DescribeEndpoint for more information on using the DescribeEndpoint
8580// API call, and error handling.
8581//
8582// This method is useful when you want to inject custom logic or configuration
8583// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8584//
8585//
8586//    // Example sending a request using the DescribeEndpointRequest method.
8587//    req, resp := client.DescribeEndpointRequest(params)
8588//
8589//    err := req.Send()
8590//    if err == nil { // resp is now filled
8591//        fmt.Println(resp)
8592//    }
8593//
8594// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpoint
8595func (c *SageMaker) DescribeEndpointRequest(input *DescribeEndpointInput) (req *request.Request, output *DescribeEndpointOutput) {
8596	op := &request.Operation{
8597		Name:       opDescribeEndpoint,
8598		HTTPMethod: "POST",
8599		HTTPPath:   "/",
8600	}
8601
8602	if input == nil {
8603		input = &DescribeEndpointInput{}
8604	}
8605
8606	output = &DescribeEndpointOutput{}
8607	req = c.newRequest(op, input, output)
8608	return
8609}
8610
8611// DescribeEndpoint API operation for Amazon SageMaker Service.
8612//
8613// Returns the description of an endpoint.
8614//
8615// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8616// with awserr.Error's Code and Message methods to get detailed information about
8617// the error.
8618//
8619// See the AWS API reference guide for Amazon SageMaker Service's
8620// API operation DescribeEndpoint for usage and error information.
8621// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpoint
8622func (c *SageMaker) DescribeEndpoint(input *DescribeEndpointInput) (*DescribeEndpointOutput, error) {
8623	req, out := c.DescribeEndpointRequest(input)
8624	return out, req.Send()
8625}
8626
8627// DescribeEndpointWithContext is the same as DescribeEndpoint with the addition of
8628// the ability to pass a context and additional request options.
8629//
8630// See DescribeEndpoint for details on how to use this API operation.
8631//
8632// The context must be non-nil and will be used for request cancellation. If
8633// the context is nil a panic will occur. In the future the SDK may create
8634// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8635// for more information on using Contexts.
8636func (c *SageMaker) DescribeEndpointWithContext(ctx aws.Context, input *DescribeEndpointInput, opts ...request.Option) (*DescribeEndpointOutput, error) {
8637	req, out := c.DescribeEndpointRequest(input)
8638	req.SetContext(ctx)
8639	req.ApplyOptions(opts...)
8640	return out, req.Send()
8641}
8642
8643const opDescribeEndpointConfig = "DescribeEndpointConfig"
8644
8645// DescribeEndpointConfigRequest generates a "aws/request.Request" representing the
8646// client's request for the DescribeEndpointConfig operation. The "output" return
8647// value will be populated with the request's response once the request completes
8648// successfully.
8649//
8650// Use "Send" method on the returned Request to send the API call to the service.
8651// the "output" return value is not valid until after Send returns without error.
8652//
8653// See DescribeEndpointConfig for more information on using the DescribeEndpointConfig
8654// API call, and error handling.
8655//
8656// This method is useful when you want to inject custom logic or configuration
8657// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8658//
8659//
8660//    // Example sending a request using the DescribeEndpointConfigRequest method.
8661//    req, resp := client.DescribeEndpointConfigRequest(params)
8662//
8663//    err := req.Send()
8664//    if err == nil { // resp is now filled
8665//        fmt.Println(resp)
8666//    }
8667//
8668// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointConfig
8669func (c *SageMaker) DescribeEndpointConfigRequest(input *DescribeEndpointConfigInput) (req *request.Request, output *DescribeEndpointConfigOutput) {
8670	op := &request.Operation{
8671		Name:       opDescribeEndpointConfig,
8672		HTTPMethod: "POST",
8673		HTTPPath:   "/",
8674	}
8675
8676	if input == nil {
8677		input = &DescribeEndpointConfigInput{}
8678	}
8679
8680	output = &DescribeEndpointConfigOutput{}
8681	req = c.newRequest(op, input, output)
8682	return
8683}
8684
8685// DescribeEndpointConfig API operation for Amazon SageMaker Service.
8686//
8687// Returns the description of an endpoint configuration created using the CreateEndpointConfig
8688// API.
8689//
8690// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8691// with awserr.Error's Code and Message methods to get detailed information about
8692// the error.
8693//
8694// See the AWS API reference guide for Amazon SageMaker Service's
8695// API operation DescribeEndpointConfig for usage and error information.
8696// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointConfig
8697func (c *SageMaker) DescribeEndpointConfig(input *DescribeEndpointConfigInput) (*DescribeEndpointConfigOutput, error) {
8698	req, out := c.DescribeEndpointConfigRequest(input)
8699	return out, req.Send()
8700}
8701
8702// DescribeEndpointConfigWithContext is the same as DescribeEndpointConfig with the addition of
8703// the ability to pass a context and additional request options.
8704//
8705// See DescribeEndpointConfig for details on how to use this API operation.
8706//
8707// The context must be non-nil and will be used for request cancellation. If
8708// the context is nil a panic will occur. In the future the SDK may create
8709// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8710// for more information on using Contexts.
8711func (c *SageMaker) DescribeEndpointConfigWithContext(ctx aws.Context, input *DescribeEndpointConfigInput, opts ...request.Option) (*DescribeEndpointConfigOutput, error) {
8712	req, out := c.DescribeEndpointConfigRequest(input)
8713	req.SetContext(ctx)
8714	req.ApplyOptions(opts...)
8715	return out, req.Send()
8716}
8717
8718const opDescribeExperiment = "DescribeExperiment"
8719
8720// DescribeExperimentRequest generates a "aws/request.Request" representing the
8721// client's request for the DescribeExperiment operation. The "output" return
8722// value will be populated with the request's response once the request completes
8723// successfully.
8724//
8725// Use "Send" method on the returned Request to send the API call to the service.
8726// the "output" return value is not valid until after Send returns without error.
8727//
8728// See DescribeExperiment for more information on using the DescribeExperiment
8729// API call, and error handling.
8730//
8731// This method is useful when you want to inject custom logic or configuration
8732// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8733//
8734//
8735//    // Example sending a request using the DescribeExperimentRequest method.
8736//    req, resp := client.DescribeExperimentRequest(params)
8737//
8738//    err := req.Send()
8739//    if err == nil { // resp is now filled
8740//        fmt.Println(resp)
8741//    }
8742//
8743// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeExperiment
8744func (c *SageMaker) DescribeExperimentRequest(input *DescribeExperimentInput) (req *request.Request, output *DescribeExperimentOutput) {
8745	op := &request.Operation{
8746		Name:       opDescribeExperiment,
8747		HTTPMethod: "POST",
8748		HTTPPath:   "/",
8749	}
8750
8751	if input == nil {
8752		input = &DescribeExperimentInput{}
8753	}
8754
8755	output = &DescribeExperimentOutput{}
8756	req = c.newRequest(op, input, output)
8757	return
8758}
8759
8760// DescribeExperiment API operation for Amazon SageMaker Service.
8761//
8762// Provides a list of an experiment's properties.
8763//
8764// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8765// with awserr.Error's Code and Message methods to get detailed information about
8766// the error.
8767//
8768// See the AWS API reference guide for Amazon SageMaker Service's
8769// API operation DescribeExperiment for usage and error information.
8770//
8771// Returned Error Types:
8772//   * ResourceNotFound
8773//   Resource being access is not found.
8774//
8775// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeExperiment
8776func (c *SageMaker) DescribeExperiment(input *DescribeExperimentInput) (*DescribeExperimentOutput, error) {
8777	req, out := c.DescribeExperimentRequest(input)
8778	return out, req.Send()
8779}
8780
8781// DescribeExperimentWithContext is the same as DescribeExperiment with the addition of
8782// the ability to pass a context and additional request options.
8783//
8784// See DescribeExperiment for details on how to use this API operation.
8785//
8786// The context must be non-nil and will be used for request cancellation. If
8787// the context is nil a panic will occur. In the future the SDK may create
8788// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8789// for more information on using Contexts.
8790func (c *SageMaker) DescribeExperimentWithContext(ctx aws.Context, input *DescribeExperimentInput, opts ...request.Option) (*DescribeExperimentOutput, error) {
8791	req, out := c.DescribeExperimentRequest(input)
8792	req.SetContext(ctx)
8793	req.ApplyOptions(opts...)
8794	return out, req.Send()
8795}
8796
8797const opDescribeFeatureGroup = "DescribeFeatureGroup"
8798
8799// DescribeFeatureGroupRequest generates a "aws/request.Request" representing the
8800// client's request for the DescribeFeatureGroup operation. The "output" return
8801// value will be populated with the request's response once the request completes
8802// successfully.
8803//
8804// Use "Send" method on the returned Request to send the API call to the service.
8805// the "output" return value is not valid until after Send returns without error.
8806//
8807// See DescribeFeatureGroup for more information on using the DescribeFeatureGroup
8808// API call, and error handling.
8809//
8810// This method is useful when you want to inject custom logic or configuration
8811// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8812//
8813//
8814//    // Example sending a request using the DescribeFeatureGroupRequest method.
8815//    req, resp := client.DescribeFeatureGroupRequest(params)
8816//
8817//    err := req.Send()
8818//    if err == nil { // resp is now filled
8819//        fmt.Println(resp)
8820//    }
8821//
8822// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeFeatureGroup
8823func (c *SageMaker) DescribeFeatureGroupRequest(input *DescribeFeatureGroupInput) (req *request.Request, output *DescribeFeatureGroupOutput) {
8824	op := &request.Operation{
8825		Name:       opDescribeFeatureGroup,
8826		HTTPMethod: "POST",
8827		HTTPPath:   "/",
8828	}
8829
8830	if input == nil {
8831		input = &DescribeFeatureGroupInput{}
8832	}
8833
8834	output = &DescribeFeatureGroupOutput{}
8835	req = c.newRequest(op, input, output)
8836	return
8837}
8838
8839// DescribeFeatureGroup API operation for Amazon SageMaker Service.
8840//
8841// Use this operation to describe a FeatureGroup. The response includes information
8842// on the creation time, FeatureGroup name, the unique identifier for each FeatureGroup,
8843// and more.
8844//
8845// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8846// with awserr.Error's Code and Message methods to get detailed information about
8847// the error.
8848//
8849// See the AWS API reference guide for Amazon SageMaker Service's
8850// API operation DescribeFeatureGroup for usage and error information.
8851//
8852// Returned Error Types:
8853//   * ResourceNotFound
8854//   Resource being access is not found.
8855//
8856// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeFeatureGroup
8857func (c *SageMaker) DescribeFeatureGroup(input *DescribeFeatureGroupInput) (*DescribeFeatureGroupOutput, error) {
8858	req, out := c.DescribeFeatureGroupRequest(input)
8859	return out, req.Send()
8860}
8861
8862// DescribeFeatureGroupWithContext is the same as DescribeFeatureGroup with the addition of
8863// the ability to pass a context and additional request options.
8864//
8865// See DescribeFeatureGroup for details on how to use this API operation.
8866//
8867// The context must be non-nil and will be used for request cancellation. If
8868// the context is nil a panic will occur. In the future the SDK may create
8869// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8870// for more information on using Contexts.
8871func (c *SageMaker) DescribeFeatureGroupWithContext(ctx aws.Context, input *DescribeFeatureGroupInput, opts ...request.Option) (*DescribeFeatureGroupOutput, error) {
8872	req, out := c.DescribeFeatureGroupRequest(input)
8873	req.SetContext(ctx)
8874	req.ApplyOptions(opts...)
8875	return out, req.Send()
8876}
8877
8878const opDescribeFlowDefinition = "DescribeFlowDefinition"
8879
8880// DescribeFlowDefinitionRequest generates a "aws/request.Request" representing the
8881// client's request for the DescribeFlowDefinition operation. The "output" return
8882// value will be populated with the request's response once the request completes
8883// successfully.
8884//
8885// Use "Send" method on the returned Request to send the API call to the service.
8886// the "output" return value is not valid until after Send returns without error.
8887//
8888// See DescribeFlowDefinition for more information on using the DescribeFlowDefinition
8889// API call, and error handling.
8890//
8891// This method is useful when you want to inject custom logic or configuration
8892// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8893//
8894//
8895//    // Example sending a request using the DescribeFlowDefinitionRequest method.
8896//    req, resp := client.DescribeFlowDefinitionRequest(params)
8897//
8898//    err := req.Send()
8899//    if err == nil { // resp is now filled
8900//        fmt.Println(resp)
8901//    }
8902//
8903// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeFlowDefinition
8904func (c *SageMaker) DescribeFlowDefinitionRequest(input *DescribeFlowDefinitionInput) (req *request.Request, output *DescribeFlowDefinitionOutput) {
8905	op := &request.Operation{
8906		Name:       opDescribeFlowDefinition,
8907		HTTPMethod: "POST",
8908		HTTPPath:   "/",
8909	}
8910
8911	if input == nil {
8912		input = &DescribeFlowDefinitionInput{}
8913	}
8914
8915	output = &DescribeFlowDefinitionOutput{}
8916	req = c.newRequest(op, input, output)
8917	return
8918}
8919
8920// DescribeFlowDefinition API operation for Amazon SageMaker Service.
8921//
8922// Returns information about the specified flow definition.
8923//
8924// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8925// with awserr.Error's Code and Message methods to get detailed information about
8926// the error.
8927//
8928// See the AWS API reference guide for Amazon SageMaker Service's
8929// API operation DescribeFlowDefinition for usage and error information.
8930//
8931// Returned Error Types:
8932//   * ResourceNotFound
8933//   Resource being access is not found.
8934//
8935// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeFlowDefinition
8936func (c *SageMaker) DescribeFlowDefinition(input *DescribeFlowDefinitionInput) (*DescribeFlowDefinitionOutput, error) {
8937	req, out := c.DescribeFlowDefinitionRequest(input)
8938	return out, req.Send()
8939}
8940
8941// DescribeFlowDefinitionWithContext is the same as DescribeFlowDefinition with the addition of
8942// the ability to pass a context and additional request options.
8943//
8944// See DescribeFlowDefinition for details on how to use this API operation.
8945//
8946// The context must be non-nil and will be used for request cancellation. If
8947// the context is nil a panic will occur. In the future the SDK may create
8948// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8949// for more information on using Contexts.
8950func (c *SageMaker) DescribeFlowDefinitionWithContext(ctx aws.Context, input *DescribeFlowDefinitionInput, opts ...request.Option) (*DescribeFlowDefinitionOutput, error) {
8951	req, out := c.DescribeFlowDefinitionRequest(input)
8952	req.SetContext(ctx)
8953	req.ApplyOptions(opts...)
8954	return out, req.Send()
8955}
8956
8957const opDescribeHumanTaskUi = "DescribeHumanTaskUi"
8958
8959// DescribeHumanTaskUiRequest generates a "aws/request.Request" representing the
8960// client's request for the DescribeHumanTaskUi operation. The "output" return
8961// value will be populated with the request's response once the request completes
8962// successfully.
8963//
8964// Use "Send" method on the returned Request to send the API call to the service.
8965// the "output" return value is not valid until after Send returns without error.
8966//
8967// See DescribeHumanTaskUi for more information on using the DescribeHumanTaskUi
8968// API call, and error handling.
8969//
8970// This method is useful when you want to inject custom logic or configuration
8971// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8972//
8973//
8974//    // Example sending a request using the DescribeHumanTaskUiRequest method.
8975//    req, resp := client.DescribeHumanTaskUiRequest(params)
8976//
8977//    err := req.Send()
8978//    if err == nil { // resp is now filled
8979//        fmt.Println(resp)
8980//    }
8981//
8982// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHumanTaskUi
8983func (c *SageMaker) DescribeHumanTaskUiRequest(input *DescribeHumanTaskUiInput) (req *request.Request, output *DescribeHumanTaskUiOutput) {
8984	op := &request.Operation{
8985		Name:       opDescribeHumanTaskUi,
8986		HTTPMethod: "POST",
8987		HTTPPath:   "/",
8988	}
8989
8990	if input == nil {
8991		input = &DescribeHumanTaskUiInput{}
8992	}
8993
8994	output = &DescribeHumanTaskUiOutput{}
8995	req = c.newRequest(op, input, output)
8996	return
8997}
8998
8999// DescribeHumanTaskUi API operation for Amazon SageMaker Service.
9000//
9001// Returns information about the requested human task user interface (worker
9002// task template).
9003//
9004// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9005// with awserr.Error's Code and Message methods to get detailed information about
9006// the error.
9007//
9008// See the AWS API reference guide for Amazon SageMaker Service's
9009// API operation DescribeHumanTaskUi for usage and error information.
9010//
9011// Returned Error Types:
9012//   * ResourceNotFound
9013//   Resource being access is not found.
9014//
9015// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHumanTaskUi
9016func (c *SageMaker) DescribeHumanTaskUi(input *DescribeHumanTaskUiInput) (*DescribeHumanTaskUiOutput, error) {
9017	req, out := c.DescribeHumanTaskUiRequest(input)
9018	return out, req.Send()
9019}
9020
9021// DescribeHumanTaskUiWithContext is the same as DescribeHumanTaskUi with the addition of
9022// the ability to pass a context and additional request options.
9023//
9024// See DescribeHumanTaskUi for details on how to use this API operation.
9025//
9026// The context must be non-nil and will be used for request cancellation. If
9027// the context is nil a panic will occur. In the future the SDK may create
9028// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9029// for more information on using Contexts.
9030func (c *SageMaker) DescribeHumanTaskUiWithContext(ctx aws.Context, input *DescribeHumanTaskUiInput, opts ...request.Option) (*DescribeHumanTaskUiOutput, error) {
9031	req, out := c.DescribeHumanTaskUiRequest(input)
9032	req.SetContext(ctx)
9033	req.ApplyOptions(opts...)
9034	return out, req.Send()
9035}
9036
9037const opDescribeHyperParameterTuningJob = "DescribeHyperParameterTuningJob"
9038
9039// DescribeHyperParameterTuningJobRequest generates a "aws/request.Request" representing the
9040// client's request for the DescribeHyperParameterTuningJob operation. The "output" return
9041// value will be populated with the request's response once the request completes
9042// successfully.
9043//
9044// Use "Send" method on the returned Request to send the API call to the service.
9045// the "output" return value is not valid until after Send returns without error.
9046//
9047// See DescribeHyperParameterTuningJob for more information on using the DescribeHyperParameterTuningJob
9048// API call, and error handling.
9049//
9050// This method is useful when you want to inject custom logic or configuration
9051// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9052//
9053//
9054//    // Example sending a request using the DescribeHyperParameterTuningJobRequest method.
9055//    req, resp := client.DescribeHyperParameterTuningJobRequest(params)
9056//
9057//    err := req.Send()
9058//    if err == nil { // resp is now filled
9059//        fmt.Println(resp)
9060//    }
9061//
9062// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHyperParameterTuningJob
9063func (c *SageMaker) DescribeHyperParameterTuningJobRequest(input *DescribeHyperParameterTuningJobInput) (req *request.Request, output *DescribeHyperParameterTuningJobOutput) {
9064	op := &request.Operation{
9065		Name:       opDescribeHyperParameterTuningJob,
9066		HTTPMethod: "POST",
9067		HTTPPath:   "/",
9068	}
9069
9070	if input == nil {
9071		input = &DescribeHyperParameterTuningJobInput{}
9072	}
9073
9074	output = &DescribeHyperParameterTuningJobOutput{}
9075	req = c.newRequest(op, input, output)
9076	return
9077}
9078
9079// DescribeHyperParameterTuningJob API operation for Amazon SageMaker Service.
9080//
9081// Gets a description of a hyperparameter tuning job.
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 DescribeHyperParameterTuningJob for usage and error information.
9089//
9090// Returned Error Types:
9091//   * ResourceNotFound
9092//   Resource being access is not found.
9093//
9094// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHyperParameterTuningJob
9095func (c *SageMaker) DescribeHyperParameterTuningJob(input *DescribeHyperParameterTuningJobInput) (*DescribeHyperParameterTuningJobOutput, error) {
9096	req, out := c.DescribeHyperParameterTuningJobRequest(input)
9097	return out, req.Send()
9098}
9099
9100// DescribeHyperParameterTuningJobWithContext is the same as DescribeHyperParameterTuningJob with the addition of
9101// the ability to pass a context and additional request options.
9102//
9103// See DescribeHyperParameterTuningJob for details on how to use this API operation.
9104//
9105// The context must be non-nil and will be used for request cancellation. If
9106// the context is nil a panic will occur. In the future the SDK may create
9107// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9108// for more information on using Contexts.
9109func (c *SageMaker) DescribeHyperParameterTuningJobWithContext(ctx aws.Context, input *DescribeHyperParameterTuningJobInput, opts ...request.Option) (*DescribeHyperParameterTuningJobOutput, error) {
9110	req, out := c.DescribeHyperParameterTuningJobRequest(input)
9111	req.SetContext(ctx)
9112	req.ApplyOptions(opts...)
9113	return out, req.Send()
9114}
9115
9116const opDescribeImage = "DescribeImage"
9117
9118// DescribeImageRequest generates a "aws/request.Request" representing the
9119// client's request for the DescribeImage operation. The "output" return
9120// value will be populated with the request's response once the request completes
9121// successfully.
9122//
9123// Use "Send" method on the returned Request to send the API call to the service.
9124// the "output" return value is not valid until after Send returns without error.
9125//
9126// See DescribeImage for more information on using the DescribeImage
9127// API call, and error handling.
9128//
9129// This method is useful when you want to inject custom logic or configuration
9130// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9131//
9132//
9133//    // Example sending a request using the DescribeImageRequest method.
9134//    req, resp := client.DescribeImageRequest(params)
9135//
9136//    err := req.Send()
9137//    if err == nil { // resp is now filled
9138//        fmt.Println(resp)
9139//    }
9140//
9141// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImage
9142func (c *SageMaker) DescribeImageRequest(input *DescribeImageInput) (req *request.Request, output *DescribeImageOutput) {
9143	op := &request.Operation{
9144		Name:       opDescribeImage,
9145		HTTPMethod: "POST",
9146		HTTPPath:   "/",
9147	}
9148
9149	if input == nil {
9150		input = &DescribeImageInput{}
9151	}
9152
9153	output = &DescribeImageOutput{}
9154	req = c.newRequest(op, input, output)
9155	return
9156}
9157
9158// DescribeImage API operation for Amazon SageMaker Service.
9159//
9160// Describes a SageMaker image.
9161//
9162// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9163// with awserr.Error's Code and Message methods to get detailed information about
9164// the error.
9165//
9166// See the AWS API reference guide for Amazon SageMaker Service's
9167// API operation DescribeImage for usage and error information.
9168//
9169// Returned Error Types:
9170//   * ResourceNotFound
9171//   Resource being access is not found.
9172//
9173// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImage
9174func (c *SageMaker) DescribeImage(input *DescribeImageInput) (*DescribeImageOutput, error) {
9175	req, out := c.DescribeImageRequest(input)
9176	return out, req.Send()
9177}
9178
9179// DescribeImageWithContext is the same as DescribeImage with the addition of
9180// the ability to pass a context and additional request options.
9181//
9182// See DescribeImage for details on how to use this API operation.
9183//
9184// The context must be non-nil and will be used for request cancellation. If
9185// the context is nil a panic will occur. In the future the SDK may create
9186// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9187// for more information on using Contexts.
9188func (c *SageMaker) DescribeImageWithContext(ctx aws.Context, input *DescribeImageInput, opts ...request.Option) (*DescribeImageOutput, error) {
9189	req, out := c.DescribeImageRequest(input)
9190	req.SetContext(ctx)
9191	req.ApplyOptions(opts...)
9192	return out, req.Send()
9193}
9194
9195const opDescribeImageVersion = "DescribeImageVersion"
9196
9197// DescribeImageVersionRequest generates a "aws/request.Request" representing the
9198// client's request for the DescribeImageVersion operation. The "output" return
9199// value will be populated with the request's response once the request completes
9200// successfully.
9201//
9202// Use "Send" method on the returned Request to send the API call to the service.
9203// the "output" return value is not valid until after Send returns without error.
9204//
9205// See DescribeImageVersion for more information on using the DescribeImageVersion
9206// API call, and error handling.
9207//
9208// This method is useful when you want to inject custom logic or configuration
9209// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9210//
9211//
9212//    // Example sending a request using the DescribeImageVersionRequest method.
9213//    req, resp := client.DescribeImageVersionRequest(params)
9214//
9215//    err := req.Send()
9216//    if err == nil { // resp is now filled
9217//        fmt.Println(resp)
9218//    }
9219//
9220// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImageVersion
9221func (c *SageMaker) DescribeImageVersionRequest(input *DescribeImageVersionInput) (req *request.Request, output *DescribeImageVersionOutput) {
9222	op := &request.Operation{
9223		Name:       opDescribeImageVersion,
9224		HTTPMethod: "POST",
9225		HTTPPath:   "/",
9226	}
9227
9228	if input == nil {
9229		input = &DescribeImageVersionInput{}
9230	}
9231
9232	output = &DescribeImageVersionOutput{}
9233	req = c.newRequest(op, input, output)
9234	return
9235}
9236
9237// DescribeImageVersion API operation for Amazon SageMaker Service.
9238//
9239// Describes a version of a SageMaker image.
9240//
9241// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9242// with awserr.Error's Code and Message methods to get detailed information about
9243// the error.
9244//
9245// See the AWS API reference guide for Amazon SageMaker Service's
9246// API operation DescribeImageVersion for usage and error information.
9247//
9248// Returned Error Types:
9249//   * ResourceNotFound
9250//   Resource being access is not found.
9251//
9252// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImageVersion
9253func (c *SageMaker) DescribeImageVersion(input *DescribeImageVersionInput) (*DescribeImageVersionOutput, error) {
9254	req, out := c.DescribeImageVersionRequest(input)
9255	return out, req.Send()
9256}
9257
9258// DescribeImageVersionWithContext is the same as DescribeImageVersion with the addition of
9259// the ability to pass a context and additional request options.
9260//
9261// See DescribeImageVersion for details on how to use this API operation.
9262//
9263// The context must be non-nil and will be used for request cancellation. If
9264// the context is nil a panic will occur. In the future the SDK may create
9265// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9266// for more information on using Contexts.
9267func (c *SageMaker) DescribeImageVersionWithContext(ctx aws.Context, input *DescribeImageVersionInput, opts ...request.Option) (*DescribeImageVersionOutput, error) {
9268	req, out := c.DescribeImageVersionRequest(input)
9269	req.SetContext(ctx)
9270	req.ApplyOptions(opts...)
9271	return out, req.Send()
9272}
9273
9274const opDescribeLabelingJob = "DescribeLabelingJob"
9275
9276// DescribeLabelingJobRequest generates a "aws/request.Request" representing the
9277// client's request for the DescribeLabelingJob operation. The "output" return
9278// value will be populated with the request's response once the request completes
9279// successfully.
9280//
9281// Use "Send" method on the returned Request to send the API call to the service.
9282// the "output" return value is not valid until after Send returns without error.
9283//
9284// See DescribeLabelingJob for more information on using the DescribeLabelingJob
9285// API call, and error handling.
9286//
9287// This method is useful when you want to inject custom logic or configuration
9288// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9289//
9290//
9291//    // Example sending a request using the DescribeLabelingJobRequest method.
9292//    req, resp := client.DescribeLabelingJobRequest(params)
9293//
9294//    err := req.Send()
9295//    if err == nil { // resp is now filled
9296//        fmt.Println(resp)
9297//    }
9298//
9299// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeLabelingJob
9300func (c *SageMaker) DescribeLabelingJobRequest(input *DescribeLabelingJobInput) (req *request.Request, output *DescribeLabelingJobOutput) {
9301	op := &request.Operation{
9302		Name:       opDescribeLabelingJob,
9303		HTTPMethod: "POST",
9304		HTTPPath:   "/",
9305	}
9306
9307	if input == nil {
9308		input = &DescribeLabelingJobInput{}
9309	}
9310
9311	output = &DescribeLabelingJobOutput{}
9312	req = c.newRequest(op, input, output)
9313	return
9314}
9315
9316// DescribeLabelingJob API operation for Amazon SageMaker Service.
9317//
9318// Gets information about a labeling job.
9319//
9320// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9321// with awserr.Error's Code and Message methods to get detailed information about
9322// the error.
9323//
9324// See the AWS API reference guide for Amazon SageMaker Service's
9325// API operation DescribeLabelingJob for usage and error information.
9326//
9327// Returned Error Types:
9328//   * ResourceNotFound
9329//   Resource being access is not found.
9330//
9331// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeLabelingJob
9332func (c *SageMaker) DescribeLabelingJob(input *DescribeLabelingJobInput) (*DescribeLabelingJobOutput, error) {
9333	req, out := c.DescribeLabelingJobRequest(input)
9334	return out, req.Send()
9335}
9336
9337// DescribeLabelingJobWithContext is the same as DescribeLabelingJob with the addition of
9338// the ability to pass a context and additional request options.
9339//
9340// See DescribeLabelingJob for details on how to use this API operation.
9341//
9342// The context must be non-nil and will be used for request cancellation. If
9343// the context is nil a panic will occur. In the future the SDK may create
9344// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9345// for more information on using Contexts.
9346func (c *SageMaker) DescribeLabelingJobWithContext(ctx aws.Context, input *DescribeLabelingJobInput, opts ...request.Option) (*DescribeLabelingJobOutput, error) {
9347	req, out := c.DescribeLabelingJobRequest(input)
9348	req.SetContext(ctx)
9349	req.ApplyOptions(opts...)
9350	return out, req.Send()
9351}
9352
9353const opDescribeModel = "DescribeModel"
9354
9355// DescribeModelRequest generates a "aws/request.Request" representing the
9356// client's request for the DescribeModel operation. The "output" return
9357// value will be populated with the request's response once the request completes
9358// successfully.
9359//
9360// Use "Send" method on the returned Request to send the API call to the service.
9361// the "output" return value is not valid until after Send returns without error.
9362//
9363// See DescribeModel for more information on using the DescribeModel
9364// API call, and error handling.
9365//
9366// This method is useful when you want to inject custom logic or configuration
9367// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9368//
9369//
9370//    // Example sending a request using the DescribeModelRequest method.
9371//    req, resp := client.DescribeModelRequest(params)
9372//
9373//    err := req.Send()
9374//    if err == nil { // resp is now filled
9375//        fmt.Println(resp)
9376//    }
9377//
9378// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModel
9379func (c *SageMaker) DescribeModelRequest(input *DescribeModelInput) (req *request.Request, output *DescribeModelOutput) {
9380	op := &request.Operation{
9381		Name:       opDescribeModel,
9382		HTTPMethod: "POST",
9383		HTTPPath:   "/",
9384	}
9385
9386	if input == nil {
9387		input = &DescribeModelInput{}
9388	}
9389
9390	output = &DescribeModelOutput{}
9391	req = c.newRequest(op, input, output)
9392	return
9393}
9394
9395// DescribeModel API operation for Amazon SageMaker Service.
9396//
9397// Describes a model that you created using the CreateModel API.
9398//
9399// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9400// with awserr.Error's Code and Message methods to get detailed information about
9401// the error.
9402//
9403// See the AWS API reference guide for Amazon SageMaker Service's
9404// API operation DescribeModel for usage and error information.
9405// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModel
9406func (c *SageMaker) DescribeModel(input *DescribeModelInput) (*DescribeModelOutput, error) {
9407	req, out := c.DescribeModelRequest(input)
9408	return out, req.Send()
9409}
9410
9411// DescribeModelWithContext is the same as DescribeModel with the addition of
9412// the ability to pass a context and additional request options.
9413//
9414// See DescribeModel for details on how to use this API operation.
9415//
9416// The context must be non-nil and will be used for request cancellation. If
9417// the context is nil a panic will occur. In the future the SDK may create
9418// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9419// for more information on using Contexts.
9420func (c *SageMaker) DescribeModelWithContext(ctx aws.Context, input *DescribeModelInput, opts ...request.Option) (*DescribeModelOutput, error) {
9421	req, out := c.DescribeModelRequest(input)
9422	req.SetContext(ctx)
9423	req.ApplyOptions(opts...)
9424	return out, req.Send()
9425}
9426
9427const opDescribeModelBiasJobDefinition = "DescribeModelBiasJobDefinition"
9428
9429// DescribeModelBiasJobDefinitionRequest generates a "aws/request.Request" representing the
9430// client's request for the DescribeModelBiasJobDefinition operation. The "output" return
9431// value will be populated with the request's response once the request completes
9432// successfully.
9433//
9434// Use "Send" method on the returned Request to send the API call to the service.
9435// the "output" return value is not valid until after Send returns without error.
9436//
9437// See DescribeModelBiasJobDefinition for more information on using the DescribeModelBiasJobDefinition
9438// API call, and error handling.
9439//
9440// This method is useful when you want to inject custom logic or configuration
9441// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9442//
9443//
9444//    // Example sending a request using the DescribeModelBiasJobDefinitionRequest method.
9445//    req, resp := client.DescribeModelBiasJobDefinitionRequest(params)
9446//
9447//    err := req.Send()
9448//    if err == nil { // resp is now filled
9449//        fmt.Println(resp)
9450//    }
9451//
9452// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelBiasJobDefinition
9453func (c *SageMaker) DescribeModelBiasJobDefinitionRequest(input *DescribeModelBiasJobDefinitionInput) (req *request.Request, output *DescribeModelBiasJobDefinitionOutput) {
9454	op := &request.Operation{
9455		Name:       opDescribeModelBiasJobDefinition,
9456		HTTPMethod: "POST",
9457		HTTPPath:   "/",
9458	}
9459
9460	if input == nil {
9461		input = &DescribeModelBiasJobDefinitionInput{}
9462	}
9463
9464	output = &DescribeModelBiasJobDefinitionOutput{}
9465	req = c.newRequest(op, input, output)
9466	return
9467}
9468
9469// DescribeModelBiasJobDefinition API operation for Amazon SageMaker Service.
9470//
9471// Returns a description of a model bias job definition.
9472//
9473// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9474// with awserr.Error's Code and Message methods to get detailed information about
9475// the error.
9476//
9477// See the AWS API reference guide for Amazon SageMaker Service's
9478// API operation DescribeModelBiasJobDefinition for usage and error information.
9479//
9480// Returned Error Types:
9481//   * ResourceNotFound
9482//   Resource being access is not found.
9483//
9484// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelBiasJobDefinition
9485func (c *SageMaker) DescribeModelBiasJobDefinition(input *DescribeModelBiasJobDefinitionInput) (*DescribeModelBiasJobDefinitionOutput, error) {
9486	req, out := c.DescribeModelBiasJobDefinitionRequest(input)
9487	return out, req.Send()
9488}
9489
9490// DescribeModelBiasJobDefinitionWithContext is the same as DescribeModelBiasJobDefinition with the addition of
9491// the ability to pass a context and additional request options.
9492//
9493// See DescribeModelBiasJobDefinition for details on how to use this API operation.
9494//
9495// The context must be non-nil and will be used for request cancellation. If
9496// the context is nil a panic will occur. In the future the SDK may create
9497// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9498// for more information on using Contexts.
9499func (c *SageMaker) DescribeModelBiasJobDefinitionWithContext(ctx aws.Context, input *DescribeModelBiasJobDefinitionInput, opts ...request.Option) (*DescribeModelBiasJobDefinitionOutput, error) {
9500	req, out := c.DescribeModelBiasJobDefinitionRequest(input)
9501	req.SetContext(ctx)
9502	req.ApplyOptions(opts...)
9503	return out, req.Send()
9504}
9505
9506const opDescribeModelExplainabilityJobDefinition = "DescribeModelExplainabilityJobDefinition"
9507
9508// DescribeModelExplainabilityJobDefinitionRequest generates a "aws/request.Request" representing the
9509// client's request for the DescribeModelExplainabilityJobDefinition operation. The "output" return
9510// value will be populated with the request's response once the request completes
9511// successfully.
9512//
9513// Use "Send" method on the returned Request to send the API call to the service.
9514// the "output" return value is not valid until after Send returns without error.
9515//
9516// See DescribeModelExplainabilityJobDefinition for more information on using the DescribeModelExplainabilityJobDefinition
9517// API call, and error handling.
9518//
9519// This method is useful when you want to inject custom logic or configuration
9520// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9521//
9522//
9523//    // Example sending a request using the DescribeModelExplainabilityJobDefinitionRequest method.
9524//    req, resp := client.DescribeModelExplainabilityJobDefinitionRequest(params)
9525//
9526//    err := req.Send()
9527//    if err == nil { // resp is now filled
9528//        fmt.Println(resp)
9529//    }
9530//
9531// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelExplainabilityJobDefinition
9532func (c *SageMaker) DescribeModelExplainabilityJobDefinitionRequest(input *DescribeModelExplainabilityJobDefinitionInput) (req *request.Request, output *DescribeModelExplainabilityJobDefinitionOutput) {
9533	op := &request.Operation{
9534		Name:       opDescribeModelExplainabilityJobDefinition,
9535		HTTPMethod: "POST",
9536		HTTPPath:   "/",
9537	}
9538
9539	if input == nil {
9540		input = &DescribeModelExplainabilityJobDefinitionInput{}
9541	}
9542
9543	output = &DescribeModelExplainabilityJobDefinitionOutput{}
9544	req = c.newRequest(op, input, output)
9545	return
9546}
9547
9548// DescribeModelExplainabilityJobDefinition API operation for Amazon SageMaker Service.
9549//
9550// Returns a description of a model explainability job definition.
9551//
9552// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9553// with awserr.Error's Code and Message methods to get detailed information about
9554// the error.
9555//
9556// See the AWS API reference guide for Amazon SageMaker Service's
9557// API operation DescribeModelExplainabilityJobDefinition for usage and error information.
9558//
9559// Returned Error Types:
9560//   * ResourceNotFound
9561//   Resource being access is not found.
9562//
9563// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelExplainabilityJobDefinition
9564func (c *SageMaker) DescribeModelExplainabilityJobDefinition(input *DescribeModelExplainabilityJobDefinitionInput) (*DescribeModelExplainabilityJobDefinitionOutput, error) {
9565	req, out := c.DescribeModelExplainabilityJobDefinitionRequest(input)
9566	return out, req.Send()
9567}
9568
9569// DescribeModelExplainabilityJobDefinitionWithContext is the same as DescribeModelExplainabilityJobDefinition with the addition of
9570// the ability to pass a context and additional request options.
9571//
9572// See DescribeModelExplainabilityJobDefinition for details on how to use this API operation.
9573//
9574// The context must be non-nil and will be used for request cancellation. If
9575// the context is nil a panic will occur. In the future the SDK may create
9576// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9577// for more information on using Contexts.
9578func (c *SageMaker) DescribeModelExplainabilityJobDefinitionWithContext(ctx aws.Context, input *DescribeModelExplainabilityJobDefinitionInput, opts ...request.Option) (*DescribeModelExplainabilityJobDefinitionOutput, error) {
9579	req, out := c.DescribeModelExplainabilityJobDefinitionRequest(input)
9580	req.SetContext(ctx)
9581	req.ApplyOptions(opts...)
9582	return out, req.Send()
9583}
9584
9585const opDescribeModelPackage = "DescribeModelPackage"
9586
9587// DescribeModelPackageRequest generates a "aws/request.Request" representing the
9588// client's request for the DescribeModelPackage operation. The "output" return
9589// value will be populated with the request's response once the request completes
9590// successfully.
9591//
9592// Use "Send" method on the returned Request to send the API call to the service.
9593// the "output" return value is not valid until after Send returns without error.
9594//
9595// See DescribeModelPackage for more information on using the DescribeModelPackage
9596// API call, and error handling.
9597//
9598// This method is useful when you want to inject custom logic or configuration
9599// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9600//
9601//
9602//    // Example sending a request using the DescribeModelPackageRequest method.
9603//    req, resp := client.DescribeModelPackageRequest(params)
9604//
9605//    err := req.Send()
9606//    if err == nil { // resp is now filled
9607//        fmt.Println(resp)
9608//    }
9609//
9610// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackage
9611func (c *SageMaker) DescribeModelPackageRequest(input *DescribeModelPackageInput) (req *request.Request, output *DescribeModelPackageOutput) {
9612	op := &request.Operation{
9613		Name:       opDescribeModelPackage,
9614		HTTPMethod: "POST",
9615		HTTPPath:   "/",
9616	}
9617
9618	if input == nil {
9619		input = &DescribeModelPackageInput{}
9620	}
9621
9622	output = &DescribeModelPackageOutput{}
9623	req = c.newRequest(op, input, output)
9624	return
9625}
9626
9627// DescribeModelPackage API operation for Amazon SageMaker Service.
9628//
9629// Returns a description of the specified model package, which is used to create
9630// Amazon SageMaker models or list them on AWS Marketplace.
9631//
9632// To create models in Amazon SageMaker, buyers can subscribe to model packages
9633// listed on AWS Marketplace.
9634//
9635// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9636// with awserr.Error's Code and Message methods to get detailed information about
9637// the error.
9638//
9639// See the AWS API reference guide for Amazon SageMaker Service's
9640// API operation DescribeModelPackage for usage and error information.
9641// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackage
9642func (c *SageMaker) DescribeModelPackage(input *DescribeModelPackageInput) (*DescribeModelPackageOutput, error) {
9643	req, out := c.DescribeModelPackageRequest(input)
9644	return out, req.Send()
9645}
9646
9647// DescribeModelPackageWithContext is the same as DescribeModelPackage with the addition of
9648// the ability to pass a context and additional request options.
9649//
9650// See DescribeModelPackage for details on how to use this API operation.
9651//
9652// The context must be non-nil and will be used for request cancellation. If
9653// the context is nil a panic will occur. In the future the SDK may create
9654// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9655// for more information on using Contexts.
9656func (c *SageMaker) DescribeModelPackageWithContext(ctx aws.Context, input *DescribeModelPackageInput, opts ...request.Option) (*DescribeModelPackageOutput, error) {
9657	req, out := c.DescribeModelPackageRequest(input)
9658	req.SetContext(ctx)
9659	req.ApplyOptions(opts...)
9660	return out, req.Send()
9661}
9662
9663const opDescribeModelPackageGroup = "DescribeModelPackageGroup"
9664
9665// DescribeModelPackageGroupRequest generates a "aws/request.Request" representing the
9666// client's request for the DescribeModelPackageGroup operation. The "output" return
9667// value will be populated with the request's response once the request completes
9668// successfully.
9669//
9670// Use "Send" method on the returned Request to send the API call to the service.
9671// the "output" return value is not valid until after Send returns without error.
9672//
9673// See DescribeModelPackageGroup for more information on using the DescribeModelPackageGroup
9674// API call, and error handling.
9675//
9676// This method is useful when you want to inject custom logic or configuration
9677// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9678//
9679//
9680//    // Example sending a request using the DescribeModelPackageGroupRequest method.
9681//    req, resp := client.DescribeModelPackageGroupRequest(params)
9682//
9683//    err := req.Send()
9684//    if err == nil { // resp is now filled
9685//        fmt.Println(resp)
9686//    }
9687//
9688// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackageGroup
9689func (c *SageMaker) DescribeModelPackageGroupRequest(input *DescribeModelPackageGroupInput) (req *request.Request, output *DescribeModelPackageGroupOutput) {
9690	op := &request.Operation{
9691		Name:       opDescribeModelPackageGroup,
9692		HTTPMethod: "POST",
9693		HTTPPath:   "/",
9694	}
9695
9696	if input == nil {
9697		input = &DescribeModelPackageGroupInput{}
9698	}
9699
9700	output = &DescribeModelPackageGroupOutput{}
9701	req = c.newRequest(op, input, output)
9702	return
9703}
9704
9705// DescribeModelPackageGroup API operation for Amazon SageMaker Service.
9706//
9707// Gets a description for the specified model group.
9708//
9709// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9710// with awserr.Error's Code and Message methods to get detailed information about
9711// the error.
9712//
9713// See the AWS API reference guide for Amazon SageMaker Service's
9714// API operation DescribeModelPackageGroup for usage and error information.
9715// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackageGroup
9716func (c *SageMaker) DescribeModelPackageGroup(input *DescribeModelPackageGroupInput) (*DescribeModelPackageGroupOutput, error) {
9717	req, out := c.DescribeModelPackageGroupRequest(input)
9718	return out, req.Send()
9719}
9720
9721// DescribeModelPackageGroupWithContext is the same as DescribeModelPackageGroup with the addition of
9722// the ability to pass a context and additional request options.
9723//
9724// See DescribeModelPackageGroup for details on how to use this API operation.
9725//
9726// The context must be non-nil and will be used for request cancellation. If
9727// the context is nil a panic will occur. In the future the SDK may create
9728// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9729// for more information on using Contexts.
9730func (c *SageMaker) DescribeModelPackageGroupWithContext(ctx aws.Context, input *DescribeModelPackageGroupInput, opts ...request.Option) (*DescribeModelPackageGroupOutput, error) {
9731	req, out := c.DescribeModelPackageGroupRequest(input)
9732	req.SetContext(ctx)
9733	req.ApplyOptions(opts...)
9734	return out, req.Send()
9735}
9736
9737const opDescribeModelQualityJobDefinition = "DescribeModelQualityJobDefinition"
9738
9739// DescribeModelQualityJobDefinitionRequest generates a "aws/request.Request" representing the
9740// client's request for the DescribeModelQualityJobDefinition operation. The "output" return
9741// value will be populated with the request's response once the request completes
9742// successfully.
9743//
9744// Use "Send" method on the returned Request to send the API call to the service.
9745// the "output" return value is not valid until after Send returns without error.
9746//
9747// See DescribeModelQualityJobDefinition for more information on using the DescribeModelQualityJobDefinition
9748// API call, and error handling.
9749//
9750// This method is useful when you want to inject custom logic or configuration
9751// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9752//
9753//
9754//    // Example sending a request using the DescribeModelQualityJobDefinitionRequest method.
9755//    req, resp := client.DescribeModelQualityJobDefinitionRequest(params)
9756//
9757//    err := req.Send()
9758//    if err == nil { // resp is now filled
9759//        fmt.Println(resp)
9760//    }
9761//
9762// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelQualityJobDefinition
9763func (c *SageMaker) DescribeModelQualityJobDefinitionRequest(input *DescribeModelQualityJobDefinitionInput) (req *request.Request, output *DescribeModelQualityJobDefinitionOutput) {
9764	op := &request.Operation{
9765		Name:       opDescribeModelQualityJobDefinition,
9766		HTTPMethod: "POST",
9767		HTTPPath:   "/",
9768	}
9769
9770	if input == nil {
9771		input = &DescribeModelQualityJobDefinitionInput{}
9772	}
9773
9774	output = &DescribeModelQualityJobDefinitionOutput{}
9775	req = c.newRequest(op, input, output)
9776	return
9777}
9778
9779// DescribeModelQualityJobDefinition API operation for Amazon SageMaker Service.
9780//
9781// Returns a description of a model quality job definition.
9782//
9783// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9784// with awserr.Error's Code and Message methods to get detailed information about
9785// the error.
9786//
9787// See the AWS API reference guide for Amazon SageMaker Service's
9788// API operation DescribeModelQualityJobDefinition for usage and error information.
9789//
9790// Returned Error Types:
9791//   * ResourceNotFound
9792//   Resource being access is not found.
9793//
9794// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelQualityJobDefinition
9795func (c *SageMaker) DescribeModelQualityJobDefinition(input *DescribeModelQualityJobDefinitionInput) (*DescribeModelQualityJobDefinitionOutput, error) {
9796	req, out := c.DescribeModelQualityJobDefinitionRequest(input)
9797	return out, req.Send()
9798}
9799
9800// DescribeModelQualityJobDefinitionWithContext is the same as DescribeModelQualityJobDefinition with the addition of
9801// the ability to pass a context and additional request options.
9802//
9803// See DescribeModelQualityJobDefinition for details on how to use this API operation.
9804//
9805// The context must be non-nil and will be used for request cancellation. If
9806// the context is nil a panic will occur. In the future the SDK may create
9807// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9808// for more information on using Contexts.
9809func (c *SageMaker) DescribeModelQualityJobDefinitionWithContext(ctx aws.Context, input *DescribeModelQualityJobDefinitionInput, opts ...request.Option) (*DescribeModelQualityJobDefinitionOutput, error) {
9810	req, out := c.DescribeModelQualityJobDefinitionRequest(input)
9811	req.SetContext(ctx)
9812	req.ApplyOptions(opts...)
9813	return out, req.Send()
9814}
9815
9816const opDescribeMonitoringSchedule = "DescribeMonitoringSchedule"
9817
9818// DescribeMonitoringScheduleRequest generates a "aws/request.Request" representing the
9819// client's request for the DescribeMonitoringSchedule operation. The "output" return
9820// value will be populated with the request's response once the request completes
9821// successfully.
9822//
9823// Use "Send" method on the returned Request to send the API call to the service.
9824// the "output" return value is not valid until after Send returns without error.
9825//
9826// See DescribeMonitoringSchedule for more information on using the DescribeMonitoringSchedule
9827// API call, and error handling.
9828//
9829// This method is useful when you want to inject custom logic or configuration
9830// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9831//
9832//
9833//    // Example sending a request using the DescribeMonitoringScheduleRequest method.
9834//    req, resp := client.DescribeMonitoringScheduleRequest(params)
9835//
9836//    err := req.Send()
9837//    if err == nil { // resp is now filled
9838//        fmt.Println(resp)
9839//    }
9840//
9841// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeMonitoringSchedule
9842func (c *SageMaker) DescribeMonitoringScheduleRequest(input *DescribeMonitoringScheduleInput) (req *request.Request, output *DescribeMonitoringScheduleOutput) {
9843	op := &request.Operation{
9844		Name:       opDescribeMonitoringSchedule,
9845		HTTPMethod: "POST",
9846		HTTPPath:   "/",
9847	}
9848
9849	if input == nil {
9850		input = &DescribeMonitoringScheduleInput{}
9851	}
9852
9853	output = &DescribeMonitoringScheduleOutput{}
9854	req = c.newRequest(op, input, output)
9855	return
9856}
9857
9858// DescribeMonitoringSchedule API operation for Amazon SageMaker Service.
9859//
9860// Describes the schedule for a monitoring job.
9861//
9862// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9863// with awserr.Error's Code and Message methods to get detailed information about
9864// the error.
9865//
9866// See the AWS API reference guide for Amazon SageMaker Service's
9867// API operation DescribeMonitoringSchedule for usage and error information.
9868//
9869// Returned Error Types:
9870//   * ResourceNotFound
9871//   Resource being access is not found.
9872//
9873// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeMonitoringSchedule
9874func (c *SageMaker) DescribeMonitoringSchedule(input *DescribeMonitoringScheduleInput) (*DescribeMonitoringScheduleOutput, error) {
9875	req, out := c.DescribeMonitoringScheduleRequest(input)
9876	return out, req.Send()
9877}
9878
9879// DescribeMonitoringScheduleWithContext is the same as DescribeMonitoringSchedule with the addition of
9880// the ability to pass a context and additional request options.
9881//
9882// See DescribeMonitoringSchedule for details on how to use this API operation.
9883//
9884// The context must be non-nil and will be used for request cancellation. If
9885// the context is nil a panic will occur. In the future the SDK may create
9886// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9887// for more information on using Contexts.
9888func (c *SageMaker) DescribeMonitoringScheduleWithContext(ctx aws.Context, input *DescribeMonitoringScheduleInput, opts ...request.Option) (*DescribeMonitoringScheduleOutput, error) {
9889	req, out := c.DescribeMonitoringScheduleRequest(input)
9890	req.SetContext(ctx)
9891	req.ApplyOptions(opts...)
9892	return out, req.Send()
9893}
9894
9895const opDescribeNotebookInstance = "DescribeNotebookInstance"
9896
9897// DescribeNotebookInstanceRequest generates a "aws/request.Request" representing the
9898// client's request for the DescribeNotebookInstance operation. The "output" return
9899// value will be populated with the request's response once the request completes
9900// successfully.
9901//
9902// Use "Send" method on the returned Request to send the API call to the service.
9903// the "output" return value is not valid until after Send returns without error.
9904//
9905// See DescribeNotebookInstance for more information on using the DescribeNotebookInstance
9906// API call, and error handling.
9907//
9908// This method is useful when you want to inject custom logic or configuration
9909// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9910//
9911//
9912//    // Example sending a request using the DescribeNotebookInstanceRequest method.
9913//    req, resp := client.DescribeNotebookInstanceRequest(params)
9914//
9915//    err := req.Send()
9916//    if err == nil { // resp is now filled
9917//        fmt.Println(resp)
9918//    }
9919//
9920// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstance
9921func (c *SageMaker) DescribeNotebookInstanceRequest(input *DescribeNotebookInstanceInput) (req *request.Request, output *DescribeNotebookInstanceOutput) {
9922	op := &request.Operation{
9923		Name:       opDescribeNotebookInstance,
9924		HTTPMethod: "POST",
9925		HTTPPath:   "/",
9926	}
9927
9928	if input == nil {
9929		input = &DescribeNotebookInstanceInput{}
9930	}
9931
9932	output = &DescribeNotebookInstanceOutput{}
9933	req = c.newRequest(op, input, output)
9934	return
9935}
9936
9937// DescribeNotebookInstance API operation for Amazon SageMaker Service.
9938//
9939// Returns information about a notebook instance.
9940//
9941// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9942// with awserr.Error's Code and Message methods to get detailed information about
9943// the error.
9944//
9945// See the AWS API reference guide for Amazon SageMaker Service's
9946// API operation DescribeNotebookInstance for usage and error information.
9947// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstance
9948func (c *SageMaker) DescribeNotebookInstance(input *DescribeNotebookInstanceInput) (*DescribeNotebookInstanceOutput, error) {
9949	req, out := c.DescribeNotebookInstanceRequest(input)
9950	return out, req.Send()
9951}
9952
9953// DescribeNotebookInstanceWithContext is the same as DescribeNotebookInstance with the addition of
9954// the ability to pass a context and additional request options.
9955//
9956// See DescribeNotebookInstance for details on how to use this API operation.
9957//
9958// The context must be non-nil and will be used for request cancellation. If
9959// the context is nil a panic will occur. In the future the SDK may create
9960// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9961// for more information on using Contexts.
9962func (c *SageMaker) DescribeNotebookInstanceWithContext(ctx aws.Context, input *DescribeNotebookInstanceInput, opts ...request.Option) (*DescribeNotebookInstanceOutput, error) {
9963	req, out := c.DescribeNotebookInstanceRequest(input)
9964	req.SetContext(ctx)
9965	req.ApplyOptions(opts...)
9966	return out, req.Send()
9967}
9968
9969const opDescribeNotebookInstanceLifecycleConfig = "DescribeNotebookInstanceLifecycleConfig"
9970
9971// DescribeNotebookInstanceLifecycleConfigRequest generates a "aws/request.Request" representing the
9972// client's request for the DescribeNotebookInstanceLifecycleConfig operation. The "output" return
9973// value will be populated with the request's response once the request completes
9974// successfully.
9975//
9976// Use "Send" method on the returned Request to send the API call to the service.
9977// the "output" return value is not valid until after Send returns without error.
9978//
9979// See DescribeNotebookInstanceLifecycleConfig for more information on using the DescribeNotebookInstanceLifecycleConfig
9980// API call, and error handling.
9981//
9982// This method is useful when you want to inject custom logic or configuration
9983// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9984//
9985//
9986//    // Example sending a request using the DescribeNotebookInstanceLifecycleConfigRequest method.
9987//    req, resp := client.DescribeNotebookInstanceLifecycleConfigRequest(params)
9988//
9989//    err := req.Send()
9990//    if err == nil { // resp is now filled
9991//        fmt.Println(resp)
9992//    }
9993//
9994// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstanceLifecycleConfig
9995func (c *SageMaker) DescribeNotebookInstanceLifecycleConfigRequest(input *DescribeNotebookInstanceLifecycleConfigInput) (req *request.Request, output *DescribeNotebookInstanceLifecycleConfigOutput) {
9996	op := &request.Operation{
9997		Name:       opDescribeNotebookInstanceLifecycleConfig,
9998		HTTPMethod: "POST",
9999		HTTPPath:   "/",
10000	}
10001
10002	if input == nil {
10003		input = &DescribeNotebookInstanceLifecycleConfigInput{}
10004	}
10005
10006	output = &DescribeNotebookInstanceLifecycleConfigOutput{}
10007	req = c.newRequest(op, input, output)
10008	return
10009}
10010
10011// DescribeNotebookInstanceLifecycleConfig API operation for Amazon SageMaker Service.
10012//
10013// Returns a description of a notebook instance lifecycle configuration.
10014//
10015// For information about notebook instance lifestyle configurations, see Step
10016// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
10017//
10018// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10019// with awserr.Error's Code and Message methods to get detailed information about
10020// the error.
10021//
10022// See the AWS API reference guide for Amazon SageMaker Service's
10023// API operation DescribeNotebookInstanceLifecycleConfig for usage and error information.
10024// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstanceLifecycleConfig
10025func (c *SageMaker) DescribeNotebookInstanceLifecycleConfig(input *DescribeNotebookInstanceLifecycleConfigInput) (*DescribeNotebookInstanceLifecycleConfigOutput, error) {
10026	req, out := c.DescribeNotebookInstanceLifecycleConfigRequest(input)
10027	return out, req.Send()
10028}
10029
10030// DescribeNotebookInstanceLifecycleConfigWithContext is the same as DescribeNotebookInstanceLifecycleConfig with the addition of
10031// the ability to pass a context and additional request options.
10032//
10033// See DescribeNotebookInstanceLifecycleConfig for details on how to use this API operation.
10034//
10035// The context must be non-nil and will be used for request cancellation. If
10036// the context is nil a panic will occur. In the future the SDK may create
10037// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10038// for more information on using Contexts.
10039func (c *SageMaker) DescribeNotebookInstanceLifecycleConfigWithContext(ctx aws.Context, input *DescribeNotebookInstanceLifecycleConfigInput, opts ...request.Option) (*DescribeNotebookInstanceLifecycleConfigOutput, error) {
10040	req, out := c.DescribeNotebookInstanceLifecycleConfigRequest(input)
10041	req.SetContext(ctx)
10042	req.ApplyOptions(opts...)
10043	return out, req.Send()
10044}
10045
10046const opDescribePipeline = "DescribePipeline"
10047
10048// DescribePipelineRequest generates a "aws/request.Request" representing the
10049// client's request for the DescribePipeline operation. The "output" return
10050// value will be populated with the request's response once the request completes
10051// successfully.
10052//
10053// Use "Send" method on the returned Request to send the API call to the service.
10054// the "output" return value is not valid until after Send returns without error.
10055//
10056// See DescribePipeline for more information on using the DescribePipeline
10057// API call, and error handling.
10058//
10059// This method is useful when you want to inject custom logic or configuration
10060// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10061//
10062//
10063//    // Example sending a request using the DescribePipelineRequest method.
10064//    req, resp := client.DescribePipelineRequest(params)
10065//
10066//    err := req.Send()
10067//    if err == nil { // resp is now filled
10068//        fmt.Println(resp)
10069//    }
10070//
10071// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipeline
10072func (c *SageMaker) DescribePipelineRequest(input *DescribePipelineInput) (req *request.Request, output *DescribePipelineOutput) {
10073	op := &request.Operation{
10074		Name:       opDescribePipeline,
10075		HTTPMethod: "POST",
10076		HTTPPath:   "/",
10077	}
10078
10079	if input == nil {
10080		input = &DescribePipelineInput{}
10081	}
10082
10083	output = &DescribePipelineOutput{}
10084	req = c.newRequest(op, input, output)
10085	return
10086}
10087
10088// DescribePipeline API operation for Amazon SageMaker Service.
10089//
10090// Describes the details of a pipeline.
10091//
10092// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10093// with awserr.Error's Code and Message methods to get detailed information about
10094// the error.
10095//
10096// See the AWS API reference guide for Amazon SageMaker Service's
10097// API operation DescribePipeline for usage and error information.
10098//
10099// Returned Error Types:
10100//   * ResourceNotFound
10101//   Resource being access is not found.
10102//
10103// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipeline
10104func (c *SageMaker) DescribePipeline(input *DescribePipelineInput) (*DescribePipelineOutput, error) {
10105	req, out := c.DescribePipelineRequest(input)
10106	return out, req.Send()
10107}
10108
10109// DescribePipelineWithContext is the same as DescribePipeline with the addition of
10110// the ability to pass a context and additional request options.
10111//
10112// See DescribePipeline for details on how to use this API operation.
10113//
10114// The context must be non-nil and will be used for request cancellation. If
10115// the context is nil a panic will occur. In the future the SDK may create
10116// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10117// for more information on using Contexts.
10118func (c *SageMaker) DescribePipelineWithContext(ctx aws.Context, input *DescribePipelineInput, opts ...request.Option) (*DescribePipelineOutput, error) {
10119	req, out := c.DescribePipelineRequest(input)
10120	req.SetContext(ctx)
10121	req.ApplyOptions(opts...)
10122	return out, req.Send()
10123}
10124
10125const opDescribePipelineDefinitionForExecution = "DescribePipelineDefinitionForExecution"
10126
10127// DescribePipelineDefinitionForExecutionRequest generates a "aws/request.Request" representing the
10128// client's request for the DescribePipelineDefinitionForExecution operation. The "output" return
10129// value will be populated with the request's response once the request completes
10130// successfully.
10131//
10132// Use "Send" method on the returned Request to send the API call to the service.
10133// the "output" return value is not valid until after Send returns without error.
10134//
10135// See DescribePipelineDefinitionForExecution for more information on using the DescribePipelineDefinitionForExecution
10136// API call, and error handling.
10137//
10138// This method is useful when you want to inject custom logic or configuration
10139// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10140//
10141//
10142//    // Example sending a request using the DescribePipelineDefinitionForExecutionRequest method.
10143//    req, resp := client.DescribePipelineDefinitionForExecutionRequest(params)
10144//
10145//    err := req.Send()
10146//    if err == nil { // resp is now filled
10147//        fmt.Println(resp)
10148//    }
10149//
10150// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipelineDefinitionForExecution
10151func (c *SageMaker) DescribePipelineDefinitionForExecutionRequest(input *DescribePipelineDefinitionForExecutionInput) (req *request.Request, output *DescribePipelineDefinitionForExecutionOutput) {
10152	op := &request.Operation{
10153		Name:       opDescribePipelineDefinitionForExecution,
10154		HTTPMethod: "POST",
10155		HTTPPath:   "/",
10156	}
10157
10158	if input == nil {
10159		input = &DescribePipelineDefinitionForExecutionInput{}
10160	}
10161
10162	output = &DescribePipelineDefinitionForExecutionOutput{}
10163	req = c.newRequest(op, input, output)
10164	return
10165}
10166
10167// DescribePipelineDefinitionForExecution API operation for Amazon SageMaker Service.
10168//
10169// Describes the details of an execution's pipeline definition.
10170//
10171// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10172// with awserr.Error's Code and Message methods to get detailed information about
10173// the error.
10174//
10175// See the AWS API reference guide for Amazon SageMaker Service's
10176// API operation DescribePipelineDefinitionForExecution for usage and error information.
10177//
10178// Returned Error Types:
10179//   * ResourceNotFound
10180//   Resource being access is not found.
10181//
10182// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipelineDefinitionForExecution
10183func (c *SageMaker) DescribePipelineDefinitionForExecution(input *DescribePipelineDefinitionForExecutionInput) (*DescribePipelineDefinitionForExecutionOutput, error) {
10184	req, out := c.DescribePipelineDefinitionForExecutionRequest(input)
10185	return out, req.Send()
10186}
10187
10188// DescribePipelineDefinitionForExecutionWithContext is the same as DescribePipelineDefinitionForExecution with the addition of
10189// the ability to pass a context and additional request options.
10190//
10191// See DescribePipelineDefinitionForExecution for details on how to use this API operation.
10192//
10193// The context must be non-nil and will be used for request cancellation. If
10194// the context is nil a panic will occur. In the future the SDK may create
10195// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10196// for more information on using Contexts.
10197func (c *SageMaker) DescribePipelineDefinitionForExecutionWithContext(ctx aws.Context, input *DescribePipelineDefinitionForExecutionInput, opts ...request.Option) (*DescribePipelineDefinitionForExecutionOutput, error) {
10198	req, out := c.DescribePipelineDefinitionForExecutionRequest(input)
10199	req.SetContext(ctx)
10200	req.ApplyOptions(opts...)
10201	return out, req.Send()
10202}
10203
10204const opDescribePipelineExecution = "DescribePipelineExecution"
10205
10206// DescribePipelineExecutionRequest generates a "aws/request.Request" representing the
10207// client's request for the DescribePipelineExecution operation. The "output" return
10208// value will be populated with the request's response once the request completes
10209// successfully.
10210//
10211// Use "Send" method on the returned Request to send the API call to the service.
10212// the "output" return value is not valid until after Send returns without error.
10213//
10214// See DescribePipelineExecution for more information on using the DescribePipelineExecution
10215// API call, and error handling.
10216//
10217// This method is useful when you want to inject custom logic or configuration
10218// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10219//
10220//
10221//    // Example sending a request using the DescribePipelineExecutionRequest method.
10222//    req, resp := client.DescribePipelineExecutionRequest(params)
10223//
10224//    err := req.Send()
10225//    if err == nil { // resp is now filled
10226//        fmt.Println(resp)
10227//    }
10228//
10229// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipelineExecution
10230func (c *SageMaker) DescribePipelineExecutionRequest(input *DescribePipelineExecutionInput) (req *request.Request, output *DescribePipelineExecutionOutput) {
10231	op := &request.Operation{
10232		Name:       opDescribePipelineExecution,
10233		HTTPMethod: "POST",
10234		HTTPPath:   "/",
10235	}
10236
10237	if input == nil {
10238		input = &DescribePipelineExecutionInput{}
10239	}
10240
10241	output = &DescribePipelineExecutionOutput{}
10242	req = c.newRequest(op, input, output)
10243	return
10244}
10245
10246// DescribePipelineExecution API operation for Amazon SageMaker Service.
10247//
10248// Describes the details of a pipeline execution.
10249//
10250// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10251// with awserr.Error's Code and Message methods to get detailed information about
10252// the error.
10253//
10254// See the AWS API reference guide for Amazon SageMaker Service's
10255// API operation DescribePipelineExecution for usage and error information.
10256//
10257// Returned Error Types:
10258//   * ResourceNotFound
10259//   Resource being access is not found.
10260//
10261// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipelineExecution
10262func (c *SageMaker) DescribePipelineExecution(input *DescribePipelineExecutionInput) (*DescribePipelineExecutionOutput, error) {
10263	req, out := c.DescribePipelineExecutionRequest(input)
10264	return out, req.Send()
10265}
10266
10267// DescribePipelineExecutionWithContext is the same as DescribePipelineExecution with the addition of
10268// the ability to pass a context and additional request options.
10269//
10270// See DescribePipelineExecution for details on how to use this API operation.
10271//
10272// The context must be non-nil and will be used for request cancellation. If
10273// the context is nil a panic will occur. In the future the SDK may create
10274// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10275// for more information on using Contexts.
10276func (c *SageMaker) DescribePipelineExecutionWithContext(ctx aws.Context, input *DescribePipelineExecutionInput, opts ...request.Option) (*DescribePipelineExecutionOutput, error) {
10277	req, out := c.DescribePipelineExecutionRequest(input)
10278	req.SetContext(ctx)
10279	req.ApplyOptions(opts...)
10280	return out, req.Send()
10281}
10282
10283const opDescribeProcessingJob = "DescribeProcessingJob"
10284
10285// DescribeProcessingJobRequest generates a "aws/request.Request" representing the
10286// client's request for the DescribeProcessingJob operation. The "output" return
10287// value will be populated with the request's response once the request completes
10288// successfully.
10289//
10290// Use "Send" method on the returned Request to send the API call to the service.
10291// the "output" return value is not valid until after Send returns without error.
10292//
10293// See DescribeProcessingJob for more information on using the DescribeProcessingJob
10294// API call, and error handling.
10295//
10296// This method is useful when you want to inject custom logic or configuration
10297// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10298//
10299//
10300//    // Example sending a request using the DescribeProcessingJobRequest method.
10301//    req, resp := client.DescribeProcessingJobRequest(params)
10302//
10303//    err := req.Send()
10304//    if err == nil { // resp is now filled
10305//        fmt.Println(resp)
10306//    }
10307//
10308// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeProcessingJob
10309func (c *SageMaker) DescribeProcessingJobRequest(input *DescribeProcessingJobInput) (req *request.Request, output *DescribeProcessingJobOutput) {
10310	op := &request.Operation{
10311		Name:       opDescribeProcessingJob,
10312		HTTPMethod: "POST",
10313		HTTPPath:   "/",
10314	}
10315
10316	if input == nil {
10317		input = &DescribeProcessingJobInput{}
10318	}
10319
10320	output = &DescribeProcessingJobOutput{}
10321	req = c.newRequest(op, input, output)
10322	return
10323}
10324
10325// DescribeProcessingJob API operation for Amazon SageMaker Service.
10326//
10327// Returns a description of a processing job.
10328//
10329// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10330// with awserr.Error's Code and Message methods to get detailed information about
10331// the error.
10332//
10333// See the AWS API reference guide for Amazon SageMaker Service's
10334// API operation DescribeProcessingJob for usage and error information.
10335//
10336// Returned Error Types:
10337//   * ResourceNotFound
10338//   Resource being access is not found.
10339//
10340// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeProcessingJob
10341func (c *SageMaker) DescribeProcessingJob(input *DescribeProcessingJobInput) (*DescribeProcessingJobOutput, error) {
10342	req, out := c.DescribeProcessingJobRequest(input)
10343	return out, req.Send()
10344}
10345
10346// DescribeProcessingJobWithContext is the same as DescribeProcessingJob with the addition of
10347// the ability to pass a context and additional request options.
10348//
10349// See DescribeProcessingJob for details on how to use this API operation.
10350//
10351// The context must be non-nil and will be used for request cancellation. If
10352// the context is nil a panic will occur. In the future the SDK may create
10353// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10354// for more information on using Contexts.
10355func (c *SageMaker) DescribeProcessingJobWithContext(ctx aws.Context, input *DescribeProcessingJobInput, opts ...request.Option) (*DescribeProcessingJobOutput, error) {
10356	req, out := c.DescribeProcessingJobRequest(input)
10357	req.SetContext(ctx)
10358	req.ApplyOptions(opts...)
10359	return out, req.Send()
10360}
10361
10362const opDescribeProject = "DescribeProject"
10363
10364// DescribeProjectRequest generates a "aws/request.Request" representing the
10365// client's request for the DescribeProject operation. The "output" return
10366// value will be populated with the request's response once the request completes
10367// successfully.
10368//
10369// Use "Send" method on the returned Request to send the API call to the service.
10370// the "output" return value is not valid until after Send returns without error.
10371//
10372// See DescribeProject for more information on using the DescribeProject
10373// API call, and error handling.
10374//
10375// This method is useful when you want to inject custom logic or configuration
10376// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10377//
10378//
10379//    // Example sending a request using the DescribeProjectRequest method.
10380//    req, resp := client.DescribeProjectRequest(params)
10381//
10382//    err := req.Send()
10383//    if err == nil { // resp is now filled
10384//        fmt.Println(resp)
10385//    }
10386//
10387// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeProject
10388func (c *SageMaker) DescribeProjectRequest(input *DescribeProjectInput) (req *request.Request, output *DescribeProjectOutput) {
10389	op := &request.Operation{
10390		Name:       opDescribeProject,
10391		HTTPMethod: "POST",
10392		HTTPPath:   "/",
10393	}
10394
10395	if input == nil {
10396		input = &DescribeProjectInput{}
10397	}
10398
10399	output = &DescribeProjectOutput{}
10400	req = c.newRequest(op, input, output)
10401	return
10402}
10403
10404// DescribeProject API operation for Amazon SageMaker Service.
10405//
10406// Describes the details of a project.
10407//
10408// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10409// with awserr.Error's Code and Message methods to get detailed information about
10410// the error.
10411//
10412// See the AWS API reference guide for Amazon SageMaker Service's
10413// API operation DescribeProject for usage and error information.
10414// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeProject
10415func (c *SageMaker) DescribeProject(input *DescribeProjectInput) (*DescribeProjectOutput, error) {
10416	req, out := c.DescribeProjectRequest(input)
10417	return out, req.Send()
10418}
10419
10420// DescribeProjectWithContext is the same as DescribeProject with the addition of
10421// the ability to pass a context and additional request options.
10422//
10423// See DescribeProject for details on how to use this API operation.
10424//
10425// The context must be non-nil and will be used for request cancellation. If
10426// the context is nil a panic will occur. In the future the SDK may create
10427// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10428// for more information on using Contexts.
10429func (c *SageMaker) DescribeProjectWithContext(ctx aws.Context, input *DescribeProjectInput, opts ...request.Option) (*DescribeProjectOutput, error) {
10430	req, out := c.DescribeProjectRequest(input)
10431	req.SetContext(ctx)
10432	req.ApplyOptions(opts...)
10433	return out, req.Send()
10434}
10435
10436const opDescribeSubscribedWorkteam = "DescribeSubscribedWorkteam"
10437
10438// DescribeSubscribedWorkteamRequest generates a "aws/request.Request" representing the
10439// client's request for the DescribeSubscribedWorkteam operation. The "output" return
10440// value will be populated with the request's response once the request completes
10441// successfully.
10442//
10443// Use "Send" method on the returned Request to send the API call to the service.
10444// the "output" return value is not valid until after Send returns without error.
10445//
10446// See DescribeSubscribedWorkteam for more information on using the DescribeSubscribedWorkteam
10447// API call, and error handling.
10448//
10449// This method is useful when you want to inject custom logic or configuration
10450// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10451//
10452//
10453//    // Example sending a request using the DescribeSubscribedWorkteamRequest method.
10454//    req, resp := client.DescribeSubscribedWorkteamRequest(params)
10455//
10456//    err := req.Send()
10457//    if err == nil { // resp is now filled
10458//        fmt.Println(resp)
10459//    }
10460//
10461// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeSubscribedWorkteam
10462func (c *SageMaker) DescribeSubscribedWorkteamRequest(input *DescribeSubscribedWorkteamInput) (req *request.Request, output *DescribeSubscribedWorkteamOutput) {
10463	op := &request.Operation{
10464		Name:       opDescribeSubscribedWorkteam,
10465		HTTPMethod: "POST",
10466		HTTPPath:   "/",
10467	}
10468
10469	if input == nil {
10470		input = &DescribeSubscribedWorkteamInput{}
10471	}
10472
10473	output = &DescribeSubscribedWorkteamOutput{}
10474	req = c.newRequest(op, input, output)
10475	return
10476}
10477
10478// DescribeSubscribedWorkteam API operation for Amazon SageMaker Service.
10479//
10480// Gets information about a work team provided by a vendor. It returns details
10481// about the subscription with a vendor in the AWS Marketplace.
10482//
10483// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10484// with awserr.Error's Code and Message methods to get detailed information about
10485// the error.
10486//
10487// See the AWS API reference guide for Amazon SageMaker Service's
10488// API operation DescribeSubscribedWorkteam for usage and error information.
10489// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeSubscribedWorkteam
10490func (c *SageMaker) DescribeSubscribedWorkteam(input *DescribeSubscribedWorkteamInput) (*DescribeSubscribedWorkteamOutput, error) {
10491	req, out := c.DescribeSubscribedWorkteamRequest(input)
10492	return out, req.Send()
10493}
10494
10495// DescribeSubscribedWorkteamWithContext is the same as DescribeSubscribedWorkteam with the addition of
10496// the ability to pass a context and additional request options.
10497//
10498// See DescribeSubscribedWorkteam for details on how to use this API operation.
10499//
10500// The context must be non-nil and will be used for request cancellation. If
10501// the context is nil a panic will occur. In the future the SDK may create
10502// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10503// for more information on using Contexts.
10504func (c *SageMaker) DescribeSubscribedWorkteamWithContext(ctx aws.Context, input *DescribeSubscribedWorkteamInput, opts ...request.Option) (*DescribeSubscribedWorkteamOutput, error) {
10505	req, out := c.DescribeSubscribedWorkteamRequest(input)
10506	req.SetContext(ctx)
10507	req.ApplyOptions(opts...)
10508	return out, req.Send()
10509}
10510
10511const opDescribeTrainingJob = "DescribeTrainingJob"
10512
10513// DescribeTrainingJobRequest generates a "aws/request.Request" representing the
10514// client's request for the DescribeTrainingJob operation. The "output" return
10515// value will be populated with the request's response once the request completes
10516// successfully.
10517//
10518// Use "Send" method on the returned Request to send the API call to the service.
10519// the "output" return value is not valid until after Send returns without error.
10520//
10521// See DescribeTrainingJob for more information on using the DescribeTrainingJob
10522// API call, and error handling.
10523//
10524// This method is useful when you want to inject custom logic or configuration
10525// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10526//
10527//
10528//    // Example sending a request using the DescribeTrainingJobRequest method.
10529//    req, resp := client.DescribeTrainingJobRequest(params)
10530//
10531//    err := req.Send()
10532//    if err == nil { // resp is now filled
10533//        fmt.Println(resp)
10534//    }
10535//
10536// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingJob
10537func (c *SageMaker) DescribeTrainingJobRequest(input *DescribeTrainingJobInput) (req *request.Request, output *DescribeTrainingJobOutput) {
10538	op := &request.Operation{
10539		Name:       opDescribeTrainingJob,
10540		HTTPMethod: "POST",
10541		HTTPPath:   "/",
10542	}
10543
10544	if input == nil {
10545		input = &DescribeTrainingJobInput{}
10546	}
10547
10548	output = &DescribeTrainingJobOutput{}
10549	req = c.newRequest(op, input, output)
10550	return
10551}
10552
10553// DescribeTrainingJob API operation for Amazon SageMaker Service.
10554//
10555// Returns information about a training job.
10556//
10557// Some of the attributes below only appear if the training job successfully
10558// starts. If the training job fails, TrainingJobStatus is Failed and, depending
10559// on the FailureReason, attributes like TrainingStartTime, TrainingTimeInSeconds,
10560// TrainingEndTime, and BillableTimeInSeconds may not be present in the response.
10561//
10562// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10563// with awserr.Error's Code and Message methods to get detailed information about
10564// the error.
10565//
10566// See the AWS API reference guide for Amazon SageMaker Service's
10567// API operation DescribeTrainingJob for usage and error information.
10568//
10569// Returned Error Types:
10570//   * ResourceNotFound
10571//   Resource being access is not found.
10572//
10573// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingJob
10574func (c *SageMaker) DescribeTrainingJob(input *DescribeTrainingJobInput) (*DescribeTrainingJobOutput, error) {
10575	req, out := c.DescribeTrainingJobRequest(input)
10576	return out, req.Send()
10577}
10578
10579// DescribeTrainingJobWithContext is the same as DescribeTrainingJob with the addition of
10580// the ability to pass a context and additional request options.
10581//
10582// See DescribeTrainingJob for details on how to use this API operation.
10583//
10584// The context must be non-nil and will be used for request cancellation. If
10585// the context is nil a panic will occur. In the future the SDK may create
10586// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10587// for more information on using Contexts.
10588func (c *SageMaker) DescribeTrainingJobWithContext(ctx aws.Context, input *DescribeTrainingJobInput, opts ...request.Option) (*DescribeTrainingJobOutput, error) {
10589	req, out := c.DescribeTrainingJobRequest(input)
10590	req.SetContext(ctx)
10591	req.ApplyOptions(opts...)
10592	return out, req.Send()
10593}
10594
10595const opDescribeTransformJob = "DescribeTransformJob"
10596
10597// DescribeTransformJobRequest generates a "aws/request.Request" representing the
10598// client's request for the DescribeTransformJob operation. The "output" return
10599// value will be populated with the request's response once the request completes
10600// successfully.
10601//
10602// Use "Send" method on the returned Request to send the API call to the service.
10603// the "output" return value is not valid until after Send returns without error.
10604//
10605// See DescribeTransformJob for more information on using the DescribeTransformJob
10606// API call, and error handling.
10607//
10608// This method is useful when you want to inject custom logic or configuration
10609// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10610//
10611//
10612//    // Example sending a request using the DescribeTransformJobRequest method.
10613//    req, resp := client.DescribeTransformJobRequest(params)
10614//
10615//    err := req.Send()
10616//    if err == nil { // resp is now filled
10617//        fmt.Println(resp)
10618//    }
10619//
10620// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTransformJob
10621func (c *SageMaker) DescribeTransformJobRequest(input *DescribeTransformJobInput) (req *request.Request, output *DescribeTransformJobOutput) {
10622	op := &request.Operation{
10623		Name:       opDescribeTransformJob,
10624		HTTPMethod: "POST",
10625		HTTPPath:   "/",
10626	}
10627
10628	if input == nil {
10629		input = &DescribeTransformJobInput{}
10630	}
10631
10632	output = &DescribeTransformJobOutput{}
10633	req = c.newRequest(op, input, output)
10634	return
10635}
10636
10637// DescribeTransformJob API operation for Amazon SageMaker Service.
10638//
10639// Returns information about a transform job.
10640//
10641// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10642// with awserr.Error's Code and Message methods to get detailed information about
10643// the error.
10644//
10645// See the AWS API reference guide for Amazon SageMaker Service's
10646// API operation DescribeTransformJob for usage and error information.
10647//
10648// Returned Error Types:
10649//   * ResourceNotFound
10650//   Resource being access is not found.
10651//
10652// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTransformJob
10653func (c *SageMaker) DescribeTransformJob(input *DescribeTransformJobInput) (*DescribeTransformJobOutput, error) {
10654	req, out := c.DescribeTransformJobRequest(input)
10655	return out, req.Send()
10656}
10657
10658// DescribeTransformJobWithContext is the same as DescribeTransformJob with the addition of
10659// the ability to pass a context and additional request options.
10660//
10661// See DescribeTransformJob for details on how to use this API operation.
10662//
10663// The context must be non-nil and will be used for request cancellation. If
10664// the context is nil a panic will occur. In the future the SDK may create
10665// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10666// for more information on using Contexts.
10667func (c *SageMaker) DescribeTransformJobWithContext(ctx aws.Context, input *DescribeTransformJobInput, opts ...request.Option) (*DescribeTransformJobOutput, error) {
10668	req, out := c.DescribeTransformJobRequest(input)
10669	req.SetContext(ctx)
10670	req.ApplyOptions(opts...)
10671	return out, req.Send()
10672}
10673
10674const opDescribeTrial = "DescribeTrial"
10675
10676// DescribeTrialRequest generates a "aws/request.Request" representing the
10677// client's request for the DescribeTrial operation. The "output" return
10678// value will be populated with the request's response once the request completes
10679// successfully.
10680//
10681// Use "Send" method on the returned Request to send the API call to the service.
10682// the "output" return value is not valid until after Send returns without error.
10683//
10684// See DescribeTrial for more information on using the DescribeTrial
10685// API call, and error handling.
10686//
10687// This method is useful when you want to inject custom logic or configuration
10688// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10689//
10690//
10691//    // Example sending a request using the DescribeTrialRequest method.
10692//    req, resp := client.DescribeTrialRequest(params)
10693//
10694//    err := req.Send()
10695//    if err == nil { // resp is now filled
10696//        fmt.Println(resp)
10697//    }
10698//
10699// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrial
10700func (c *SageMaker) DescribeTrialRequest(input *DescribeTrialInput) (req *request.Request, output *DescribeTrialOutput) {
10701	op := &request.Operation{
10702		Name:       opDescribeTrial,
10703		HTTPMethod: "POST",
10704		HTTPPath:   "/",
10705	}
10706
10707	if input == nil {
10708		input = &DescribeTrialInput{}
10709	}
10710
10711	output = &DescribeTrialOutput{}
10712	req = c.newRequest(op, input, output)
10713	return
10714}
10715
10716// DescribeTrial API operation for Amazon SageMaker Service.
10717//
10718// Provides a list of a trial's properties.
10719//
10720// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10721// with awserr.Error's Code and Message methods to get detailed information about
10722// the error.
10723//
10724// See the AWS API reference guide for Amazon SageMaker Service's
10725// API operation DescribeTrial for usage and error information.
10726//
10727// Returned Error Types:
10728//   * ResourceNotFound
10729//   Resource being access is not found.
10730//
10731// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrial
10732func (c *SageMaker) DescribeTrial(input *DescribeTrialInput) (*DescribeTrialOutput, error) {
10733	req, out := c.DescribeTrialRequest(input)
10734	return out, req.Send()
10735}
10736
10737// DescribeTrialWithContext is the same as DescribeTrial with the addition of
10738// the ability to pass a context and additional request options.
10739//
10740// See DescribeTrial for details on how to use this API operation.
10741//
10742// The context must be non-nil and will be used for request cancellation. If
10743// the context is nil a panic will occur. In the future the SDK may create
10744// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10745// for more information on using Contexts.
10746func (c *SageMaker) DescribeTrialWithContext(ctx aws.Context, input *DescribeTrialInput, opts ...request.Option) (*DescribeTrialOutput, error) {
10747	req, out := c.DescribeTrialRequest(input)
10748	req.SetContext(ctx)
10749	req.ApplyOptions(opts...)
10750	return out, req.Send()
10751}
10752
10753const opDescribeTrialComponent = "DescribeTrialComponent"
10754
10755// DescribeTrialComponentRequest generates a "aws/request.Request" representing the
10756// client's request for the DescribeTrialComponent operation. The "output" return
10757// value will be populated with the request's response once the request completes
10758// successfully.
10759//
10760// Use "Send" method on the returned Request to send the API call to the service.
10761// the "output" return value is not valid until after Send returns without error.
10762//
10763// See DescribeTrialComponent for more information on using the DescribeTrialComponent
10764// API call, and error handling.
10765//
10766// This method is useful when you want to inject custom logic or configuration
10767// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10768//
10769//
10770//    // Example sending a request using the DescribeTrialComponentRequest method.
10771//    req, resp := client.DescribeTrialComponentRequest(params)
10772//
10773//    err := req.Send()
10774//    if err == nil { // resp is now filled
10775//        fmt.Println(resp)
10776//    }
10777//
10778// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrialComponent
10779func (c *SageMaker) DescribeTrialComponentRequest(input *DescribeTrialComponentInput) (req *request.Request, output *DescribeTrialComponentOutput) {
10780	op := &request.Operation{
10781		Name:       opDescribeTrialComponent,
10782		HTTPMethod: "POST",
10783		HTTPPath:   "/",
10784	}
10785
10786	if input == nil {
10787		input = &DescribeTrialComponentInput{}
10788	}
10789
10790	output = &DescribeTrialComponentOutput{}
10791	req = c.newRequest(op, input, output)
10792	return
10793}
10794
10795// DescribeTrialComponent API operation for Amazon SageMaker Service.
10796//
10797// Provides a list of a trials component's properties.
10798//
10799// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10800// with awserr.Error's Code and Message methods to get detailed information about
10801// the error.
10802//
10803// See the AWS API reference guide for Amazon SageMaker Service's
10804// API operation DescribeTrialComponent for usage and error information.
10805//
10806// Returned Error Types:
10807//   * ResourceNotFound
10808//   Resource being access is not found.
10809//
10810// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrialComponent
10811func (c *SageMaker) DescribeTrialComponent(input *DescribeTrialComponentInput) (*DescribeTrialComponentOutput, error) {
10812	req, out := c.DescribeTrialComponentRequest(input)
10813	return out, req.Send()
10814}
10815
10816// DescribeTrialComponentWithContext is the same as DescribeTrialComponent with the addition of
10817// the ability to pass a context and additional request options.
10818//
10819// See DescribeTrialComponent for details on how to use this API operation.
10820//
10821// The context must be non-nil and will be used for request cancellation. If
10822// the context is nil a panic will occur. In the future the SDK may create
10823// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10824// for more information on using Contexts.
10825func (c *SageMaker) DescribeTrialComponentWithContext(ctx aws.Context, input *DescribeTrialComponentInput, opts ...request.Option) (*DescribeTrialComponentOutput, error) {
10826	req, out := c.DescribeTrialComponentRequest(input)
10827	req.SetContext(ctx)
10828	req.ApplyOptions(opts...)
10829	return out, req.Send()
10830}
10831
10832const opDescribeUserProfile = "DescribeUserProfile"
10833
10834// DescribeUserProfileRequest generates a "aws/request.Request" representing the
10835// client's request for the DescribeUserProfile operation. The "output" return
10836// value will be populated with the request's response once the request completes
10837// successfully.
10838//
10839// Use "Send" method on the returned Request to send the API call to the service.
10840// the "output" return value is not valid until after Send returns without error.
10841//
10842// See DescribeUserProfile for more information on using the DescribeUserProfile
10843// API call, and error handling.
10844//
10845// This method is useful when you want to inject custom logic or configuration
10846// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10847//
10848//
10849//    // Example sending a request using the DescribeUserProfileRequest method.
10850//    req, resp := client.DescribeUserProfileRequest(params)
10851//
10852//    err := req.Send()
10853//    if err == nil { // resp is now filled
10854//        fmt.Println(resp)
10855//    }
10856//
10857// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeUserProfile
10858func (c *SageMaker) DescribeUserProfileRequest(input *DescribeUserProfileInput) (req *request.Request, output *DescribeUserProfileOutput) {
10859	op := &request.Operation{
10860		Name:       opDescribeUserProfile,
10861		HTTPMethod: "POST",
10862		HTTPPath:   "/",
10863	}
10864
10865	if input == nil {
10866		input = &DescribeUserProfileInput{}
10867	}
10868
10869	output = &DescribeUserProfileOutput{}
10870	req = c.newRequest(op, input, output)
10871	return
10872}
10873
10874// DescribeUserProfile API operation for Amazon SageMaker Service.
10875//
10876// Describes a user profile. For more information, see CreateUserProfile.
10877//
10878// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10879// with awserr.Error's Code and Message methods to get detailed information about
10880// the error.
10881//
10882// See the AWS API reference guide for Amazon SageMaker Service's
10883// API operation DescribeUserProfile for usage and error information.
10884//
10885// Returned Error Types:
10886//   * ResourceNotFound
10887//   Resource being access is not found.
10888//
10889// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeUserProfile
10890func (c *SageMaker) DescribeUserProfile(input *DescribeUserProfileInput) (*DescribeUserProfileOutput, error) {
10891	req, out := c.DescribeUserProfileRequest(input)
10892	return out, req.Send()
10893}
10894
10895// DescribeUserProfileWithContext is the same as DescribeUserProfile with the addition of
10896// the ability to pass a context and additional request options.
10897//
10898// See DescribeUserProfile for details on how to use this API operation.
10899//
10900// The context must be non-nil and will be used for request cancellation. If
10901// the context is nil a panic will occur. In the future the SDK may create
10902// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10903// for more information on using Contexts.
10904func (c *SageMaker) DescribeUserProfileWithContext(ctx aws.Context, input *DescribeUserProfileInput, opts ...request.Option) (*DescribeUserProfileOutput, error) {
10905	req, out := c.DescribeUserProfileRequest(input)
10906	req.SetContext(ctx)
10907	req.ApplyOptions(opts...)
10908	return out, req.Send()
10909}
10910
10911const opDescribeWorkforce = "DescribeWorkforce"
10912
10913// DescribeWorkforceRequest generates a "aws/request.Request" representing the
10914// client's request for the DescribeWorkforce operation. The "output" return
10915// value will be populated with the request's response once the request completes
10916// successfully.
10917//
10918// Use "Send" method on the returned Request to send the API call to the service.
10919// the "output" return value is not valid until after Send returns without error.
10920//
10921// See DescribeWorkforce for more information on using the DescribeWorkforce
10922// API call, and error handling.
10923//
10924// This method is useful when you want to inject custom logic or configuration
10925// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10926//
10927//
10928//    // Example sending a request using the DescribeWorkforceRequest method.
10929//    req, resp := client.DescribeWorkforceRequest(params)
10930//
10931//    err := req.Send()
10932//    if err == nil { // resp is now filled
10933//        fmt.Println(resp)
10934//    }
10935//
10936// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkforce
10937func (c *SageMaker) DescribeWorkforceRequest(input *DescribeWorkforceInput) (req *request.Request, output *DescribeWorkforceOutput) {
10938	op := &request.Operation{
10939		Name:       opDescribeWorkforce,
10940		HTTPMethod: "POST",
10941		HTTPPath:   "/",
10942	}
10943
10944	if input == nil {
10945		input = &DescribeWorkforceInput{}
10946	}
10947
10948	output = &DescribeWorkforceOutput{}
10949	req = c.newRequest(op, input, output)
10950	return
10951}
10952
10953// DescribeWorkforce API operation for Amazon SageMaker Service.
10954//
10955// Lists private workforce information, including workforce name, Amazon Resource
10956// Name (ARN), and, if applicable, allowed IP address ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html)).
10957// Allowable IP address ranges are the IP addresses that workers can use to
10958// access tasks.
10959//
10960// This operation applies only to private workforces.
10961//
10962// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10963// with awserr.Error's Code and Message methods to get detailed information about
10964// the error.
10965//
10966// See the AWS API reference guide for Amazon SageMaker Service's
10967// API operation DescribeWorkforce for usage and error information.
10968// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkforce
10969func (c *SageMaker) DescribeWorkforce(input *DescribeWorkforceInput) (*DescribeWorkforceOutput, error) {
10970	req, out := c.DescribeWorkforceRequest(input)
10971	return out, req.Send()
10972}
10973
10974// DescribeWorkforceWithContext is the same as DescribeWorkforce with the addition of
10975// the ability to pass a context and additional request options.
10976//
10977// See DescribeWorkforce for details on how to use this API operation.
10978//
10979// The context must be non-nil and will be used for request cancellation. If
10980// the context is nil a panic will occur. In the future the SDK may create
10981// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10982// for more information on using Contexts.
10983func (c *SageMaker) DescribeWorkforceWithContext(ctx aws.Context, input *DescribeWorkforceInput, opts ...request.Option) (*DescribeWorkforceOutput, error) {
10984	req, out := c.DescribeWorkforceRequest(input)
10985	req.SetContext(ctx)
10986	req.ApplyOptions(opts...)
10987	return out, req.Send()
10988}
10989
10990const opDescribeWorkteam = "DescribeWorkteam"
10991
10992// DescribeWorkteamRequest generates a "aws/request.Request" representing the
10993// client's request for the DescribeWorkteam operation. The "output" return
10994// value will be populated with the request's response once the request completes
10995// successfully.
10996//
10997// Use "Send" method on the returned Request to send the API call to the service.
10998// the "output" return value is not valid until after Send returns without error.
10999//
11000// See DescribeWorkteam for more information on using the DescribeWorkteam
11001// API call, and error handling.
11002//
11003// This method is useful when you want to inject custom logic or configuration
11004// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11005//
11006//
11007//    // Example sending a request using the DescribeWorkteamRequest method.
11008//    req, resp := client.DescribeWorkteamRequest(params)
11009//
11010//    err := req.Send()
11011//    if err == nil { // resp is now filled
11012//        fmt.Println(resp)
11013//    }
11014//
11015// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkteam
11016func (c *SageMaker) DescribeWorkteamRequest(input *DescribeWorkteamInput) (req *request.Request, output *DescribeWorkteamOutput) {
11017	op := &request.Operation{
11018		Name:       opDescribeWorkteam,
11019		HTTPMethod: "POST",
11020		HTTPPath:   "/",
11021	}
11022
11023	if input == nil {
11024		input = &DescribeWorkteamInput{}
11025	}
11026
11027	output = &DescribeWorkteamOutput{}
11028	req = c.newRequest(op, input, output)
11029	return
11030}
11031
11032// DescribeWorkteam API operation for Amazon SageMaker Service.
11033//
11034// Gets information about a specific work team. You can see information such
11035// as the create date, the last updated date, membership information, and the
11036// work team's Amazon Resource Name (ARN).
11037//
11038// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11039// with awserr.Error's Code and Message methods to get detailed information about
11040// the error.
11041//
11042// See the AWS API reference guide for Amazon SageMaker Service's
11043// API operation DescribeWorkteam for usage and error information.
11044// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkteam
11045func (c *SageMaker) DescribeWorkteam(input *DescribeWorkteamInput) (*DescribeWorkteamOutput, error) {
11046	req, out := c.DescribeWorkteamRequest(input)
11047	return out, req.Send()
11048}
11049
11050// DescribeWorkteamWithContext is the same as DescribeWorkteam with the addition of
11051// the ability to pass a context and additional request options.
11052//
11053// See DescribeWorkteam for details on how to use this API operation.
11054//
11055// The context must be non-nil and will be used for request cancellation. If
11056// the context is nil a panic will occur. In the future the SDK may create
11057// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11058// for more information on using Contexts.
11059func (c *SageMaker) DescribeWorkteamWithContext(ctx aws.Context, input *DescribeWorkteamInput, opts ...request.Option) (*DescribeWorkteamOutput, error) {
11060	req, out := c.DescribeWorkteamRequest(input)
11061	req.SetContext(ctx)
11062	req.ApplyOptions(opts...)
11063	return out, req.Send()
11064}
11065
11066const opDisableSagemakerServicecatalogPortfolio = "DisableSagemakerServicecatalogPortfolio"
11067
11068// DisableSagemakerServicecatalogPortfolioRequest generates a "aws/request.Request" representing the
11069// client's request for the DisableSagemakerServicecatalogPortfolio operation. The "output" return
11070// value will be populated with the request's response once the request completes
11071// successfully.
11072//
11073// Use "Send" method on the returned Request to send the API call to the service.
11074// the "output" return value is not valid until after Send returns without error.
11075//
11076// See DisableSagemakerServicecatalogPortfolio for more information on using the DisableSagemakerServicecatalogPortfolio
11077// API call, and error handling.
11078//
11079// This method is useful when you want to inject custom logic or configuration
11080// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11081//
11082//
11083//    // Example sending a request using the DisableSagemakerServicecatalogPortfolioRequest method.
11084//    req, resp := client.DisableSagemakerServicecatalogPortfolioRequest(params)
11085//
11086//    err := req.Send()
11087//    if err == nil { // resp is now filled
11088//        fmt.Println(resp)
11089//    }
11090//
11091// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DisableSagemakerServicecatalogPortfolio
11092func (c *SageMaker) DisableSagemakerServicecatalogPortfolioRequest(input *DisableSagemakerServicecatalogPortfolioInput) (req *request.Request, output *DisableSagemakerServicecatalogPortfolioOutput) {
11093	op := &request.Operation{
11094		Name:       opDisableSagemakerServicecatalogPortfolio,
11095		HTTPMethod: "POST",
11096		HTTPPath:   "/",
11097	}
11098
11099	if input == nil {
11100		input = &DisableSagemakerServicecatalogPortfolioInput{}
11101	}
11102
11103	output = &DisableSagemakerServicecatalogPortfolioOutput{}
11104	req = c.newRequest(op, input, output)
11105	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11106	return
11107}
11108
11109// DisableSagemakerServicecatalogPortfolio API operation for Amazon SageMaker Service.
11110//
11111// Disables using Service Catalog in SageMaker. Service Catalog is used to create
11112// SageMaker projects.
11113//
11114// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11115// with awserr.Error's Code and Message methods to get detailed information about
11116// the error.
11117//
11118// See the AWS API reference guide for Amazon SageMaker Service's
11119// API operation DisableSagemakerServicecatalogPortfolio for usage and error information.
11120// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DisableSagemakerServicecatalogPortfolio
11121func (c *SageMaker) DisableSagemakerServicecatalogPortfolio(input *DisableSagemakerServicecatalogPortfolioInput) (*DisableSagemakerServicecatalogPortfolioOutput, error) {
11122	req, out := c.DisableSagemakerServicecatalogPortfolioRequest(input)
11123	return out, req.Send()
11124}
11125
11126// DisableSagemakerServicecatalogPortfolioWithContext is the same as DisableSagemakerServicecatalogPortfolio with the addition of
11127// the ability to pass a context and additional request options.
11128//
11129// See DisableSagemakerServicecatalogPortfolio for details on how to use this API operation.
11130//
11131// The context must be non-nil and will be used for request cancellation. If
11132// the context is nil a panic will occur. In the future the SDK may create
11133// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11134// for more information on using Contexts.
11135func (c *SageMaker) DisableSagemakerServicecatalogPortfolioWithContext(ctx aws.Context, input *DisableSagemakerServicecatalogPortfolioInput, opts ...request.Option) (*DisableSagemakerServicecatalogPortfolioOutput, error) {
11136	req, out := c.DisableSagemakerServicecatalogPortfolioRequest(input)
11137	req.SetContext(ctx)
11138	req.ApplyOptions(opts...)
11139	return out, req.Send()
11140}
11141
11142const opDisassociateTrialComponent = "DisassociateTrialComponent"
11143
11144// DisassociateTrialComponentRequest generates a "aws/request.Request" representing the
11145// client's request for the DisassociateTrialComponent operation. The "output" return
11146// value will be populated with the request's response once the request completes
11147// successfully.
11148//
11149// Use "Send" method on the returned Request to send the API call to the service.
11150// the "output" return value is not valid until after Send returns without error.
11151//
11152// See DisassociateTrialComponent for more information on using the DisassociateTrialComponent
11153// API call, and error handling.
11154//
11155// This method is useful when you want to inject custom logic or configuration
11156// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11157//
11158//
11159//    // Example sending a request using the DisassociateTrialComponentRequest method.
11160//    req, resp := client.DisassociateTrialComponentRequest(params)
11161//
11162//    err := req.Send()
11163//    if err == nil { // resp is now filled
11164//        fmt.Println(resp)
11165//    }
11166//
11167// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DisassociateTrialComponent
11168func (c *SageMaker) DisassociateTrialComponentRequest(input *DisassociateTrialComponentInput) (req *request.Request, output *DisassociateTrialComponentOutput) {
11169	op := &request.Operation{
11170		Name:       opDisassociateTrialComponent,
11171		HTTPMethod: "POST",
11172		HTTPPath:   "/",
11173	}
11174
11175	if input == nil {
11176		input = &DisassociateTrialComponentInput{}
11177	}
11178
11179	output = &DisassociateTrialComponentOutput{}
11180	req = c.newRequest(op, input, output)
11181	return
11182}
11183
11184// DisassociateTrialComponent API operation for Amazon SageMaker Service.
11185//
11186// Disassociates a trial component from a trial. This doesn't effect other trials
11187// the component is associated with. Before you can delete a component, you
11188// must disassociate the component from all trials it is associated with. To
11189// associate a trial component with a trial, call the AssociateTrialComponent
11190// API.
11191//
11192// To get a list of the trials a component is associated with, use the Search
11193// API. Specify ExperimentTrialComponent for the Resource parameter. The list
11194// appears in the response under Results.TrialComponent.Parents.
11195//
11196// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11197// with awserr.Error's Code and Message methods to get detailed information about
11198// the error.
11199//
11200// See the AWS API reference guide for Amazon SageMaker Service's
11201// API operation DisassociateTrialComponent for usage and error information.
11202//
11203// Returned Error Types:
11204//   * ResourceNotFound
11205//   Resource being access is not found.
11206//
11207// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DisassociateTrialComponent
11208func (c *SageMaker) DisassociateTrialComponent(input *DisassociateTrialComponentInput) (*DisassociateTrialComponentOutput, error) {
11209	req, out := c.DisassociateTrialComponentRequest(input)
11210	return out, req.Send()
11211}
11212
11213// DisassociateTrialComponentWithContext is the same as DisassociateTrialComponent with the addition of
11214// the ability to pass a context and additional request options.
11215//
11216// See DisassociateTrialComponent for details on how to use this API operation.
11217//
11218// The context must be non-nil and will be used for request cancellation. If
11219// the context is nil a panic will occur. In the future the SDK may create
11220// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11221// for more information on using Contexts.
11222func (c *SageMaker) DisassociateTrialComponentWithContext(ctx aws.Context, input *DisassociateTrialComponentInput, opts ...request.Option) (*DisassociateTrialComponentOutput, error) {
11223	req, out := c.DisassociateTrialComponentRequest(input)
11224	req.SetContext(ctx)
11225	req.ApplyOptions(opts...)
11226	return out, req.Send()
11227}
11228
11229const opEnableSagemakerServicecatalogPortfolio = "EnableSagemakerServicecatalogPortfolio"
11230
11231// EnableSagemakerServicecatalogPortfolioRequest generates a "aws/request.Request" representing the
11232// client's request for the EnableSagemakerServicecatalogPortfolio operation. The "output" return
11233// value will be populated with the request's response once the request completes
11234// successfully.
11235//
11236// Use "Send" method on the returned Request to send the API call to the service.
11237// the "output" return value is not valid until after Send returns without error.
11238//
11239// See EnableSagemakerServicecatalogPortfolio for more information on using the EnableSagemakerServicecatalogPortfolio
11240// API call, and error handling.
11241//
11242// This method is useful when you want to inject custom logic or configuration
11243// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11244//
11245//
11246//    // Example sending a request using the EnableSagemakerServicecatalogPortfolioRequest method.
11247//    req, resp := client.EnableSagemakerServicecatalogPortfolioRequest(params)
11248//
11249//    err := req.Send()
11250//    if err == nil { // resp is now filled
11251//        fmt.Println(resp)
11252//    }
11253//
11254// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/EnableSagemakerServicecatalogPortfolio
11255func (c *SageMaker) EnableSagemakerServicecatalogPortfolioRequest(input *EnableSagemakerServicecatalogPortfolioInput) (req *request.Request, output *EnableSagemakerServicecatalogPortfolioOutput) {
11256	op := &request.Operation{
11257		Name:       opEnableSagemakerServicecatalogPortfolio,
11258		HTTPMethod: "POST",
11259		HTTPPath:   "/",
11260	}
11261
11262	if input == nil {
11263		input = &EnableSagemakerServicecatalogPortfolioInput{}
11264	}
11265
11266	output = &EnableSagemakerServicecatalogPortfolioOutput{}
11267	req = c.newRequest(op, input, output)
11268	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11269	return
11270}
11271
11272// EnableSagemakerServicecatalogPortfolio API operation for Amazon SageMaker Service.
11273//
11274// Enables using Service Catalog in SageMaker. Service Catalog is used to create
11275// SageMaker projects.
11276//
11277// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11278// with awserr.Error's Code and Message methods to get detailed information about
11279// the error.
11280//
11281// See the AWS API reference guide for Amazon SageMaker Service's
11282// API operation EnableSagemakerServicecatalogPortfolio for usage and error information.
11283// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/EnableSagemakerServicecatalogPortfolio
11284func (c *SageMaker) EnableSagemakerServicecatalogPortfolio(input *EnableSagemakerServicecatalogPortfolioInput) (*EnableSagemakerServicecatalogPortfolioOutput, error) {
11285	req, out := c.EnableSagemakerServicecatalogPortfolioRequest(input)
11286	return out, req.Send()
11287}
11288
11289// EnableSagemakerServicecatalogPortfolioWithContext is the same as EnableSagemakerServicecatalogPortfolio with the addition of
11290// the ability to pass a context and additional request options.
11291//
11292// See EnableSagemakerServicecatalogPortfolio for details on how to use this API operation.
11293//
11294// The context must be non-nil and will be used for request cancellation. If
11295// the context is nil a panic will occur. In the future the SDK may create
11296// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11297// for more information on using Contexts.
11298func (c *SageMaker) EnableSagemakerServicecatalogPortfolioWithContext(ctx aws.Context, input *EnableSagemakerServicecatalogPortfolioInput, opts ...request.Option) (*EnableSagemakerServicecatalogPortfolioOutput, error) {
11299	req, out := c.EnableSagemakerServicecatalogPortfolioRequest(input)
11300	req.SetContext(ctx)
11301	req.ApplyOptions(opts...)
11302	return out, req.Send()
11303}
11304
11305const opGetDeviceFleetReport = "GetDeviceFleetReport"
11306
11307// GetDeviceFleetReportRequest generates a "aws/request.Request" representing the
11308// client's request for the GetDeviceFleetReport operation. The "output" return
11309// value will be populated with the request's response once the request completes
11310// successfully.
11311//
11312// Use "Send" method on the returned Request to send the API call to the service.
11313// the "output" return value is not valid until after Send returns without error.
11314//
11315// See GetDeviceFleetReport for more information on using the GetDeviceFleetReport
11316// API call, and error handling.
11317//
11318// This method is useful when you want to inject custom logic or configuration
11319// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11320//
11321//
11322//    // Example sending a request using the GetDeviceFleetReportRequest method.
11323//    req, resp := client.GetDeviceFleetReportRequest(params)
11324//
11325//    err := req.Send()
11326//    if err == nil { // resp is now filled
11327//        fmt.Println(resp)
11328//    }
11329//
11330// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetDeviceFleetReport
11331func (c *SageMaker) GetDeviceFleetReportRequest(input *GetDeviceFleetReportInput) (req *request.Request, output *GetDeviceFleetReportOutput) {
11332	op := &request.Operation{
11333		Name:       opGetDeviceFleetReport,
11334		HTTPMethod: "POST",
11335		HTTPPath:   "/",
11336	}
11337
11338	if input == nil {
11339		input = &GetDeviceFleetReportInput{}
11340	}
11341
11342	output = &GetDeviceFleetReportOutput{}
11343	req = c.newRequest(op, input, output)
11344	return
11345}
11346
11347// GetDeviceFleetReport API operation for Amazon SageMaker Service.
11348//
11349// Describes a fleet.
11350//
11351// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11352// with awserr.Error's Code and Message methods to get detailed information about
11353// the error.
11354//
11355// See the AWS API reference guide for Amazon SageMaker Service's
11356// API operation GetDeviceFleetReport for usage and error information.
11357// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetDeviceFleetReport
11358func (c *SageMaker) GetDeviceFleetReport(input *GetDeviceFleetReportInput) (*GetDeviceFleetReportOutput, error) {
11359	req, out := c.GetDeviceFleetReportRequest(input)
11360	return out, req.Send()
11361}
11362
11363// GetDeviceFleetReportWithContext is the same as GetDeviceFleetReport with the addition of
11364// the ability to pass a context and additional request options.
11365//
11366// See GetDeviceFleetReport for details on how to use this API operation.
11367//
11368// The context must be non-nil and will be used for request cancellation. If
11369// the context is nil a panic will occur. In the future the SDK may create
11370// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11371// for more information on using Contexts.
11372func (c *SageMaker) GetDeviceFleetReportWithContext(ctx aws.Context, input *GetDeviceFleetReportInput, opts ...request.Option) (*GetDeviceFleetReportOutput, error) {
11373	req, out := c.GetDeviceFleetReportRequest(input)
11374	req.SetContext(ctx)
11375	req.ApplyOptions(opts...)
11376	return out, req.Send()
11377}
11378
11379const opGetModelPackageGroupPolicy = "GetModelPackageGroupPolicy"
11380
11381// GetModelPackageGroupPolicyRequest generates a "aws/request.Request" representing the
11382// client's request for the GetModelPackageGroupPolicy operation. The "output" return
11383// value will be populated with the request's response once the request completes
11384// successfully.
11385//
11386// Use "Send" method on the returned Request to send the API call to the service.
11387// the "output" return value is not valid until after Send returns without error.
11388//
11389// See GetModelPackageGroupPolicy for more information on using the GetModelPackageGroupPolicy
11390// API call, and error handling.
11391//
11392// This method is useful when you want to inject custom logic or configuration
11393// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11394//
11395//
11396//    // Example sending a request using the GetModelPackageGroupPolicyRequest method.
11397//    req, resp := client.GetModelPackageGroupPolicyRequest(params)
11398//
11399//    err := req.Send()
11400//    if err == nil { // resp is now filled
11401//        fmt.Println(resp)
11402//    }
11403//
11404// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetModelPackageGroupPolicy
11405func (c *SageMaker) GetModelPackageGroupPolicyRequest(input *GetModelPackageGroupPolicyInput) (req *request.Request, output *GetModelPackageGroupPolicyOutput) {
11406	op := &request.Operation{
11407		Name:       opGetModelPackageGroupPolicy,
11408		HTTPMethod: "POST",
11409		HTTPPath:   "/",
11410	}
11411
11412	if input == nil {
11413		input = &GetModelPackageGroupPolicyInput{}
11414	}
11415
11416	output = &GetModelPackageGroupPolicyOutput{}
11417	req = c.newRequest(op, input, output)
11418	return
11419}
11420
11421// GetModelPackageGroupPolicy API operation for Amazon SageMaker Service.
11422//
11423// Gets a resource policy that manages access for a model group. For information
11424// about resource policies, see Identity-based policies and resource-based policies
11425// (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html)
11426// in the AWS Identity and Access Management User Guide..
11427//
11428// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11429// with awserr.Error's Code and Message methods to get detailed information about
11430// the error.
11431//
11432// See the AWS API reference guide for Amazon SageMaker Service's
11433// API operation GetModelPackageGroupPolicy for usage and error information.
11434// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetModelPackageGroupPolicy
11435func (c *SageMaker) GetModelPackageGroupPolicy(input *GetModelPackageGroupPolicyInput) (*GetModelPackageGroupPolicyOutput, error) {
11436	req, out := c.GetModelPackageGroupPolicyRequest(input)
11437	return out, req.Send()
11438}
11439
11440// GetModelPackageGroupPolicyWithContext is the same as GetModelPackageGroupPolicy with the addition of
11441// the ability to pass a context and additional request options.
11442//
11443// See GetModelPackageGroupPolicy for details on how to use this API operation.
11444//
11445// The context must be non-nil and will be used for request cancellation. If
11446// the context is nil a panic will occur. In the future the SDK may create
11447// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11448// for more information on using Contexts.
11449func (c *SageMaker) GetModelPackageGroupPolicyWithContext(ctx aws.Context, input *GetModelPackageGroupPolicyInput, opts ...request.Option) (*GetModelPackageGroupPolicyOutput, error) {
11450	req, out := c.GetModelPackageGroupPolicyRequest(input)
11451	req.SetContext(ctx)
11452	req.ApplyOptions(opts...)
11453	return out, req.Send()
11454}
11455
11456const opGetSagemakerServicecatalogPortfolioStatus = "GetSagemakerServicecatalogPortfolioStatus"
11457
11458// GetSagemakerServicecatalogPortfolioStatusRequest generates a "aws/request.Request" representing the
11459// client's request for the GetSagemakerServicecatalogPortfolioStatus operation. The "output" return
11460// value will be populated with the request's response once the request completes
11461// successfully.
11462//
11463// Use "Send" method on the returned Request to send the API call to the service.
11464// the "output" return value is not valid until after Send returns without error.
11465//
11466// See GetSagemakerServicecatalogPortfolioStatus for more information on using the GetSagemakerServicecatalogPortfolioStatus
11467// API call, and error handling.
11468//
11469// This method is useful when you want to inject custom logic or configuration
11470// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11471//
11472//
11473//    // Example sending a request using the GetSagemakerServicecatalogPortfolioStatusRequest method.
11474//    req, resp := client.GetSagemakerServicecatalogPortfolioStatusRequest(params)
11475//
11476//    err := req.Send()
11477//    if err == nil { // resp is now filled
11478//        fmt.Println(resp)
11479//    }
11480//
11481// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetSagemakerServicecatalogPortfolioStatus
11482func (c *SageMaker) GetSagemakerServicecatalogPortfolioStatusRequest(input *GetSagemakerServicecatalogPortfolioStatusInput) (req *request.Request, output *GetSagemakerServicecatalogPortfolioStatusOutput) {
11483	op := &request.Operation{
11484		Name:       opGetSagemakerServicecatalogPortfolioStatus,
11485		HTTPMethod: "POST",
11486		HTTPPath:   "/",
11487	}
11488
11489	if input == nil {
11490		input = &GetSagemakerServicecatalogPortfolioStatusInput{}
11491	}
11492
11493	output = &GetSagemakerServicecatalogPortfolioStatusOutput{}
11494	req = c.newRequest(op, input, output)
11495	return
11496}
11497
11498// GetSagemakerServicecatalogPortfolioStatus API operation for Amazon SageMaker Service.
11499//
11500// Gets the status of Service Catalog in SageMaker. Service Catalog is used
11501// to create SageMaker projects.
11502//
11503// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11504// with awserr.Error's Code and Message methods to get detailed information about
11505// the error.
11506//
11507// See the AWS API reference guide for Amazon SageMaker Service's
11508// API operation GetSagemakerServicecatalogPortfolioStatus for usage and error information.
11509// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetSagemakerServicecatalogPortfolioStatus
11510func (c *SageMaker) GetSagemakerServicecatalogPortfolioStatus(input *GetSagemakerServicecatalogPortfolioStatusInput) (*GetSagemakerServicecatalogPortfolioStatusOutput, error) {
11511	req, out := c.GetSagemakerServicecatalogPortfolioStatusRequest(input)
11512	return out, req.Send()
11513}
11514
11515// GetSagemakerServicecatalogPortfolioStatusWithContext is the same as GetSagemakerServicecatalogPortfolioStatus with the addition of
11516// the ability to pass a context and additional request options.
11517//
11518// See GetSagemakerServicecatalogPortfolioStatus for details on how to use this API operation.
11519//
11520// The context must be non-nil and will be used for request cancellation. If
11521// the context is nil a panic will occur. In the future the SDK may create
11522// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11523// for more information on using Contexts.
11524func (c *SageMaker) GetSagemakerServicecatalogPortfolioStatusWithContext(ctx aws.Context, input *GetSagemakerServicecatalogPortfolioStatusInput, opts ...request.Option) (*GetSagemakerServicecatalogPortfolioStatusOutput, error) {
11525	req, out := c.GetSagemakerServicecatalogPortfolioStatusRequest(input)
11526	req.SetContext(ctx)
11527	req.ApplyOptions(opts...)
11528	return out, req.Send()
11529}
11530
11531const opGetSearchSuggestions = "GetSearchSuggestions"
11532
11533// GetSearchSuggestionsRequest generates a "aws/request.Request" representing the
11534// client's request for the GetSearchSuggestions operation. The "output" return
11535// value will be populated with the request's response once the request completes
11536// successfully.
11537//
11538// Use "Send" method on the returned Request to send the API call to the service.
11539// the "output" return value is not valid until after Send returns without error.
11540//
11541// See GetSearchSuggestions for more information on using the GetSearchSuggestions
11542// API call, and error handling.
11543//
11544// This method is useful when you want to inject custom logic or configuration
11545// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11546//
11547//
11548//    // Example sending a request using the GetSearchSuggestionsRequest method.
11549//    req, resp := client.GetSearchSuggestionsRequest(params)
11550//
11551//    err := req.Send()
11552//    if err == nil { // resp is now filled
11553//        fmt.Println(resp)
11554//    }
11555//
11556// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetSearchSuggestions
11557func (c *SageMaker) GetSearchSuggestionsRequest(input *GetSearchSuggestionsInput) (req *request.Request, output *GetSearchSuggestionsOutput) {
11558	op := &request.Operation{
11559		Name:       opGetSearchSuggestions,
11560		HTTPMethod: "POST",
11561		HTTPPath:   "/",
11562	}
11563
11564	if input == nil {
11565		input = &GetSearchSuggestionsInput{}
11566	}
11567
11568	output = &GetSearchSuggestionsOutput{}
11569	req = c.newRequest(op, input, output)
11570	return
11571}
11572
11573// GetSearchSuggestions API operation for Amazon SageMaker Service.
11574//
11575// An auto-complete API for the search functionality in the Amazon SageMaker
11576// console. It returns suggestions of possible matches for the property name
11577// to use in Search queries. Provides suggestions for HyperParameters, Tags,
11578// and Metrics.
11579//
11580// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11581// with awserr.Error's Code and Message methods to get detailed information about
11582// the error.
11583//
11584// See the AWS API reference guide for Amazon SageMaker Service's
11585// API operation GetSearchSuggestions for usage and error information.
11586// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetSearchSuggestions
11587func (c *SageMaker) GetSearchSuggestions(input *GetSearchSuggestionsInput) (*GetSearchSuggestionsOutput, error) {
11588	req, out := c.GetSearchSuggestionsRequest(input)
11589	return out, req.Send()
11590}
11591
11592// GetSearchSuggestionsWithContext is the same as GetSearchSuggestions with the addition of
11593// the ability to pass a context and additional request options.
11594//
11595// See GetSearchSuggestions 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) GetSearchSuggestionsWithContext(ctx aws.Context, input *GetSearchSuggestionsInput, opts ...request.Option) (*GetSearchSuggestionsOutput, error) {
11602	req, out := c.GetSearchSuggestionsRequest(input)
11603	req.SetContext(ctx)
11604	req.ApplyOptions(opts...)
11605	return out, req.Send()
11606}
11607
11608const opListActions = "ListActions"
11609
11610// ListActionsRequest generates a "aws/request.Request" representing the
11611// client's request for the ListActions 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 ListActions for more information on using the ListActions
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 ListActionsRequest method.
11626//    req, resp := client.ListActionsRequest(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/ListActions
11634func (c *SageMaker) ListActionsRequest(input *ListActionsInput) (req *request.Request, output *ListActionsOutput) {
11635	op := &request.Operation{
11636		Name:       opListActions,
11637		HTTPMethod: "POST",
11638		HTTPPath:   "/",
11639		Paginator: &request.Paginator{
11640			InputTokens:     []string{"NextToken"},
11641			OutputTokens:    []string{"NextToken"},
11642			LimitToken:      "MaxResults",
11643			TruncationToken: "",
11644		},
11645	}
11646
11647	if input == nil {
11648		input = &ListActionsInput{}
11649	}
11650
11651	output = &ListActionsOutput{}
11652	req = c.newRequest(op, input, output)
11653	return
11654}
11655
11656// ListActions API operation for Amazon SageMaker Service.
11657//
11658// Lists the actions in your account and their properties.
11659//
11660// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11661// with awserr.Error's Code and Message methods to get detailed information about
11662// the error.
11663//
11664// See the AWS API reference guide for Amazon SageMaker Service's
11665// API operation ListActions for usage and error information.
11666//
11667// Returned Error Types:
11668//   * ResourceNotFound
11669//   Resource being access is not found.
11670//
11671// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListActions
11672func (c *SageMaker) ListActions(input *ListActionsInput) (*ListActionsOutput, error) {
11673	req, out := c.ListActionsRequest(input)
11674	return out, req.Send()
11675}
11676
11677// ListActionsWithContext is the same as ListActions with the addition of
11678// the ability to pass a context and additional request options.
11679//
11680// See ListActions for details on how to use this API operation.
11681//
11682// The context must be non-nil and will be used for request cancellation. If
11683// the context is nil a panic will occur. In the future the SDK may create
11684// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11685// for more information on using Contexts.
11686func (c *SageMaker) ListActionsWithContext(ctx aws.Context, input *ListActionsInput, opts ...request.Option) (*ListActionsOutput, error) {
11687	req, out := c.ListActionsRequest(input)
11688	req.SetContext(ctx)
11689	req.ApplyOptions(opts...)
11690	return out, req.Send()
11691}
11692
11693// ListActionsPages iterates over the pages of a ListActions operation,
11694// calling the "fn" function with the response data for each page. To stop
11695// iterating, return false from the fn function.
11696//
11697// See ListActions method for more information on how to use this operation.
11698//
11699// Note: This operation can generate multiple requests to a service.
11700//
11701//    // Example iterating over at most 3 pages of a ListActions operation.
11702//    pageNum := 0
11703//    err := client.ListActionsPages(params,
11704//        func(page *sagemaker.ListActionsOutput, lastPage bool) bool {
11705//            pageNum++
11706//            fmt.Println(page)
11707//            return pageNum <= 3
11708//        })
11709//
11710func (c *SageMaker) ListActionsPages(input *ListActionsInput, fn func(*ListActionsOutput, bool) bool) error {
11711	return c.ListActionsPagesWithContext(aws.BackgroundContext(), input, fn)
11712}
11713
11714// ListActionsPagesWithContext same as ListActionsPages except
11715// it takes a Context and allows setting request options on the pages.
11716//
11717// The context must be non-nil and will be used for request cancellation. If
11718// the context is nil a panic will occur. In the future the SDK may create
11719// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11720// for more information on using Contexts.
11721func (c *SageMaker) ListActionsPagesWithContext(ctx aws.Context, input *ListActionsInput, fn func(*ListActionsOutput, bool) bool, opts ...request.Option) error {
11722	p := request.Pagination{
11723		NewRequest: func() (*request.Request, error) {
11724			var inCpy *ListActionsInput
11725			if input != nil {
11726				tmp := *input
11727				inCpy = &tmp
11728			}
11729			req, _ := c.ListActionsRequest(inCpy)
11730			req.SetContext(ctx)
11731			req.ApplyOptions(opts...)
11732			return req, nil
11733		},
11734	}
11735
11736	for p.Next() {
11737		if !fn(p.Page().(*ListActionsOutput), !p.HasNextPage()) {
11738			break
11739		}
11740	}
11741
11742	return p.Err()
11743}
11744
11745const opListAlgorithms = "ListAlgorithms"
11746
11747// ListAlgorithmsRequest generates a "aws/request.Request" representing the
11748// client's request for the ListAlgorithms operation. The "output" return
11749// value will be populated with the request's response once the request completes
11750// successfully.
11751//
11752// Use "Send" method on the returned Request to send the API call to the service.
11753// the "output" return value is not valid until after Send returns without error.
11754//
11755// See ListAlgorithms for more information on using the ListAlgorithms
11756// API call, and error handling.
11757//
11758// This method is useful when you want to inject custom logic or configuration
11759// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11760//
11761//
11762//    // Example sending a request using the ListAlgorithmsRequest method.
11763//    req, resp := client.ListAlgorithmsRequest(params)
11764//
11765//    err := req.Send()
11766//    if err == nil { // resp is now filled
11767//        fmt.Println(resp)
11768//    }
11769//
11770// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAlgorithms
11771func (c *SageMaker) ListAlgorithmsRequest(input *ListAlgorithmsInput) (req *request.Request, output *ListAlgorithmsOutput) {
11772	op := &request.Operation{
11773		Name:       opListAlgorithms,
11774		HTTPMethod: "POST",
11775		HTTPPath:   "/",
11776		Paginator: &request.Paginator{
11777			InputTokens:     []string{"NextToken"},
11778			OutputTokens:    []string{"NextToken"},
11779			LimitToken:      "MaxResults",
11780			TruncationToken: "",
11781		},
11782	}
11783
11784	if input == nil {
11785		input = &ListAlgorithmsInput{}
11786	}
11787
11788	output = &ListAlgorithmsOutput{}
11789	req = c.newRequest(op, input, output)
11790	return
11791}
11792
11793// ListAlgorithms API operation for Amazon SageMaker Service.
11794//
11795// Lists the machine learning algorithms that have been created.
11796//
11797// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11798// with awserr.Error's Code and Message methods to get detailed information about
11799// the error.
11800//
11801// See the AWS API reference guide for Amazon SageMaker Service's
11802// API operation ListAlgorithms for usage and error information.
11803// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAlgorithms
11804func (c *SageMaker) ListAlgorithms(input *ListAlgorithmsInput) (*ListAlgorithmsOutput, error) {
11805	req, out := c.ListAlgorithmsRequest(input)
11806	return out, req.Send()
11807}
11808
11809// ListAlgorithmsWithContext is the same as ListAlgorithms with the addition of
11810// the ability to pass a context and additional request options.
11811//
11812// See ListAlgorithms for details on how to use this API operation.
11813//
11814// The context must be non-nil and will be used for request cancellation. If
11815// the context is nil a panic will occur. In the future the SDK may create
11816// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11817// for more information on using Contexts.
11818func (c *SageMaker) ListAlgorithmsWithContext(ctx aws.Context, input *ListAlgorithmsInput, opts ...request.Option) (*ListAlgorithmsOutput, error) {
11819	req, out := c.ListAlgorithmsRequest(input)
11820	req.SetContext(ctx)
11821	req.ApplyOptions(opts...)
11822	return out, req.Send()
11823}
11824
11825// ListAlgorithmsPages iterates over the pages of a ListAlgorithms operation,
11826// calling the "fn" function with the response data for each page. To stop
11827// iterating, return false from the fn function.
11828//
11829// See ListAlgorithms method for more information on how to use this operation.
11830//
11831// Note: This operation can generate multiple requests to a service.
11832//
11833//    // Example iterating over at most 3 pages of a ListAlgorithms operation.
11834//    pageNum := 0
11835//    err := client.ListAlgorithmsPages(params,
11836//        func(page *sagemaker.ListAlgorithmsOutput, lastPage bool) bool {
11837//            pageNum++
11838//            fmt.Println(page)
11839//            return pageNum <= 3
11840//        })
11841//
11842func (c *SageMaker) ListAlgorithmsPages(input *ListAlgorithmsInput, fn func(*ListAlgorithmsOutput, bool) bool) error {
11843	return c.ListAlgorithmsPagesWithContext(aws.BackgroundContext(), input, fn)
11844}
11845
11846// ListAlgorithmsPagesWithContext same as ListAlgorithmsPages except
11847// it takes a Context and allows setting request options on the pages.
11848//
11849// The context must be non-nil and will be used for request cancellation. If
11850// the context is nil a panic will occur. In the future the SDK may create
11851// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11852// for more information on using Contexts.
11853func (c *SageMaker) ListAlgorithmsPagesWithContext(ctx aws.Context, input *ListAlgorithmsInput, fn func(*ListAlgorithmsOutput, bool) bool, opts ...request.Option) error {
11854	p := request.Pagination{
11855		NewRequest: func() (*request.Request, error) {
11856			var inCpy *ListAlgorithmsInput
11857			if input != nil {
11858				tmp := *input
11859				inCpy = &tmp
11860			}
11861			req, _ := c.ListAlgorithmsRequest(inCpy)
11862			req.SetContext(ctx)
11863			req.ApplyOptions(opts...)
11864			return req, nil
11865		},
11866	}
11867
11868	for p.Next() {
11869		if !fn(p.Page().(*ListAlgorithmsOutput), !p.HasNextPage()) {
11870			break
11871		}
11872	}
11873
11874	return p.Err()
11875}
11876
11877const opListAppImageConfigs = "ListAppImageConfigs"
11878
11879// ListAppImageConfigsRequest generates a "aws/request.Request" representing the
11880// client's request for the ListAppImageConfigs operation. The "output" return
11881// value will be populated with the request's response once the request completes
11882// successfully.
11883//
11884// Use "Send" method on the returned Request to send the API call to the service.
11885// the "output" return value is not valid until after Send returns without error.
11886//
11887// See ListAppImageConfigs for more information on using the ListAppImageConfigs
11888// API call, and error handling.
11889//
11890// This method is useful when you want to inject custom logic or configuration
11891// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11892//
11893//
11894//    // Example sending a request using the ListAppImageConfigsRequest method.
11895//    req, resp := client.ListAppImageConfigsRequest(params)
11896//
11897//    err := req.Send()
11898//    if err == nil { // resp is now filled
11899//        fmt.Println(resp)
11900//    }
11901//
11902// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAppImageConfigs
11903func (c *SageMaker) ListAppImageConfigsRequest(input *ListAppImageConfigsInput) (req *request.Request, output *ListAppImageConfigsOutput) {
11904	op := &request.Operation{
11905		Name:       opListAppImageConfigs,
11906		HTTPMethod: "POST",
11907		HTTPPath:   "/",
11908		Paginator: &request.Paginator{
11909			InputTokens:     []string{"NextToken"},
11910			OutputTokens:    []string{"NextToken"},
11911			LimitToken:      "MaxResults",
11912			TruncationToken: "",
11913		},
11914	}
11915
11916	if input == nil {
11917		input = &ListAppImageConfigsInput{}
11918	}
11919
11920	output = &ListAppImageConfigsOutput{}
11921	req = c.newRequest(op, input, output)
11922	return
11923}
11924
11925// ListAppImageConfigs API operation for Amazon SageMaker Service.
11926//
11927// Lists the AppImageConfigs in your account and their properties. The list
11928// can be filtered by creation time or modified time, and whether the AppImageConfig
11929// name contains a specified string.
11930//
11931// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11932// with awserr.Error's Code and Message methods to get detailed information about
11933// the error.
11934//
11935// See the AWS API reference guide for Amazon SageMaker Service's
11936// API operation ListAppImageConfigs for usage and error information.
11937// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAppImageConfigs
11938func (c *SageMaker) ListAppImageConfigs(input *ListAppImageConfigsInput) (*ListAppImageConfigsOutput, error) {
11939	req, out := c.ListAppImageConfigsRequest(input)
11940	return out, req.Send()
11941}
11942
11943// ListAppImageConfigsWithContext is the same as ListAppImageConfigs with the addition of
11944// the ability to pass a context and additional request options.
11945//
11946// See ListAppImageConfigs for details on how to use this API operation.
11947//
11948// The context must be non-nil and will be used for request cancellation. If
11949// the context is nil a panic will occur. In the future the SDK may create
11950// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11951// for more information on using Contexts.
11952func (c *SageMaker) ListAppImageConfigsWithContext(ctx aws.Context, input *ListAppImageConfigsInput, opts ...request.Option) (*ListAppImageConfigsOutput, error) {
11953	req, out := c.ListAppImageConfigsRequest(input)
11954	req.SetContext(ctx)
11955	req.ApplyOptions(opts...)
11956	return out, req.Send()
11957}
11958
11959// ListAppImageConfigsPages iterates over the pages of a ListAppImageConfigs operation,
11960// calling the "fn" function with the response data for each page. To stop
11961// iterating, return false from the fn function.
11962//
11963// See ListAppImageConfigs method for more information on how to use this operation.
11964//
11965// Note: This operation can generate multiple requests to a service.
11966//
11967//    // Example iterating over at most 3 pages of a ListAppImageConfigs operation.
11968//    pageNum := 0
11969//    err := client.ListAppImageConfigsPages(params,
11970//        func(page *sagemaker.ListAppImageConfigsOutput, lastPage bool) bool {
11971//            pageNum++
11972//            fmt.Println(page)
11973//            return pageNum <= 3
11974//        })
11975//
11976func (c *SageMaker) ListAppImageConfigsPages(input *ListAppImageConfigsInput, fn func(*ListAppImageConfigsOutput, bool) bool) error {
11977	return c.ListAppImageConfigsPagesWithContext(aws.BackgroundContext(), input, fn)
11978}
11979
11980// ListAppImageConfigsPagesWithContext same as ListAppImageConfigsPages except
11981// it takes a Context and allows setting request options on the pages.
11982//
11983// The context must be non-nil and will be used for request cancellation. If
11984// the context is nil a panic will occur. In the future the SDK may create
11985// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11986// for more information on using Contexts.
11987func (c *SageMaker) ListAppImageConfigsPagesWithContext(ctx aws.Context, input *ListAppImageConfigsInput, fn func(*ListAppImageConfigsOutput, bool) bool, opts ...request.Option) error {
11988	p := request.Pagination{
11989		NewRequest: func() (*request.Request, error) {
11990			var inCpy *ListAppImageConfigsInput
11991			if input != nil {
11992				tmp := *input
11993				inCpy = &tmp
11994			}
11995			req, _ := c.ListAppImageConfigsRequest(inCpy)
11996			req.SetContext(ctx)
11997			req.ApplyOptions(opts...)
11998			return req, nil
11999		},
12000	}
12001
12002	for p.Next() {
12003		if !fn(p.Page().(*ListAppImageConfigsOutput), !p.HasNextPage()) {
12004			break
12005		}
12006	}
12007
12008	return p.Err()
12009}
12010
12011const opListApps = "ListApps"
12012
12013// ListAppsRequest generates a "aws/request.Request" representing the
12014// client's request for the ListApps operation. The "output" return
12015// value will be populated with the request's response once the request completes
12016// successfully.
12017//
12018// Use "Send" method on the returned Request to send the API call to the service.
12019// the "output" return value is not valid until after Send returns without error.
12020//
12021// See ListApps for more information on using the ListApps
12022// API call, and error handling.
12023//
12024// This method is useful when you want to inject custom logic or configuration
12025// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12026//
12027//
12028//    // Example sending a request using the ListAppsRequest method.
12029//    req, resp := client.ListAppsRequest(params)
12030//
12031//    err := req.Send()
12032//    if err == nil { // resp is now filled
12033//        fmt.Println(resp)
12034//    }
12035//
12036// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListApps
12037func (c *SageMaker) ListAppsRequest(input *ListAppsInput) (req *request.Request, output *ListAppsOutput) {
12038	op := &request.Operation{
12039		Name:       opListApps,
12040		HTTPMethod: "POST",
12041		HTTPPath:   "/",
12042		Paginator: &request.Paginator{
12043			InputTokens:     []string{"NextToken"},
12044			OutputTokens:    []string{"NextToken"},
12045			LimitToken:      "MaxResults",
12046			TruncationToken: "",
12047		},
12048	}
12049
12050	if input == nil {
12051		input = &ListAppsInput{}
12052	}
12053
12054	output = &ListAppsOutput{}
12055	req = c.newRequest(op, input, output)
12056	return
12057}
12058
12059// ListApps API operation for Amazon SageMaker Service.
12060//
12061// Lists apps.
12062//
12063// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12064// with awserr.Error's Code and Message methods to get detailed information about
12065// the error.
12066//
12067// See the AWS API reference guide for Amazon SageMaker Service's
12068// API operation ListApps for usage and error information.
12069// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListApps
12070func (c *SageMaker) ListApps(input *ListAppsInput) (*ListAppsOutput, error) {
12071	req, out := c.ListAppsRequest(input)
12072	return out, req.Send()
12073}
12074
12075// ListAppsWithContext is the same as ListApps with the addition of
12076// the ability to pass a context and additional request options.
12077//
12078// See ListApps for details on how to use this API operation.
12079//
12080// The context must be non-nil and will be used for request cancellation. If
12081// the context is nil a panic will occur. In the future the SDK may create
12082// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12083// for more information on using Contexts.
12084func (c *SageMaker) ListAppsWithContext(ctx aws.Context, input *ListAppsInput, opts ...request.Option) (*ListAppsOutput, error) {
12085	req, out := c.ListAppsRequest(input)
12086	req.SetContext(ctx)
12087	req.ApplyOptions(opts...)
12088	return out, req.Send()
12089}
12090
12091// ListAppsPages iterates over the pages of a ListApps operation,
12092// calling the "fn" function with the response data for each page. To stop
12093// iterating, return false from the fn function.
12094//
12095// See ListApps method for more information on how to use this operation.
12096//
12097// Note: This operation can generate multiple requests to a service.
12098//
12099//    // Example iterating over at most 3 pages of a ListApps operation.
12100//    pageNum := 0
12101//    err := client.ListAppsPages(params,
12102//        func(page *sagemaker.ListAppsOutput, lastPage bool) bool {
12103//            pageNum++
12104//            fmt.Println(page)
12105//            return pageNum <= 3
12106//        })
12107//
12108func (c *SageMaker) ListAppsPages(input *ListAppsInput, fn func(*ListAppsOutput, bool) bool) error {
12109	return c.ListAppsPagesWithContext(aws.BackgroundContext(), input, fn)
12110}
12111
12112// ListAppsPagesWithContext same as ListAppsPages except
12113// it takes a Context and allows setting request options on the pages.
12114//
12115// The context must be non-nil and will be used for request cancellation. If
12116// the context is nil a panic will occur. In the future the SDK may create
12117// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12118// for more information on using Contexts.
12119func (c *SageMaker) ListAppsPagesWithContext(ctx aws.Context, input *ListAppsInput, fn func(*ListAppsOutput, bool) bool, opts ...request.Option) error {
12120	p := request.Pagination{
12121		NewRequest: func() (*request.Request, error) {
12122			var inCpy *ListAppsInput
12123			if input != nil {
12124				tmp := *input
12125				inCpy = &tmp
12126			}
12127			req, _ := c.ListAppsRequest(inCpy)
12128			req.SetContext(ctx)
12129			req.ApplyOptions(opts...)
12130			return req, nil
12131		},
12132	}
12133
12134	for p.Next() {
12135		if !fn(p.Page().(*ListAppsOutput), !p.HasNextPage()) {
12136			break
12137		}
12138	}
12139
12140	return p.Err()
12141}
12142
12143const opListArtifacts = "ListArtifacts"
12144
12145// ListArtifactsRequest generates a "aws/request.Request" representing the
12146// client's request for the ListArtifacts operation. The "output" return
12147// value will be populated with the request's response once the request completes
12148// successfully.
12149//
12150// Use "Send" method on the returned Request to send the API call to the service.
12151// the "output" return value is not valid until after Send returns without error.
12152//
12153// See ListArtifacts for more information on using the ListArtifacts
12154// API call, and error handling.
12155//
12156// This method is useful when you want to inject custom logic or configuration
12157// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12158//
12159//
12160//    // Example sending a request using the ListArtifactsRequest method.
12161//    req, resp := client.ListArtifactsRequest(params)
12162//
12163//    err := req.Send()
12164//    if err == nil { // resp is now filled
12165//        fmt.Println(resp)
12166//    }
12167//
12168// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListArtifacts
12169func (c *SageMaker) ListArtifactsRequest(input *ListArtifactsInput) (req *request.Request, output *ListArtifactsOutput) {
12170	op := &request.Operation{
12171		Name:       opListArtifacts,
12172		HTTPMethod: "POST",
12173		HTTPPath:   "/",
12174		Paginator: &request.Paginator{
12175			InputTokens:     []string{"NextToken"},
12176			OutputTokens:    []string{"NextToken"},
12177			LimitToken:      "MaxResults",
12178			TruncationToken: "",
12179		},
12180	}
12181
12182	if input == nil {
12183		input = &ListArtifactsInput{}
12184	}
12185
12186	output = &ListArtifactsOutput{}
12187	req = c.newRequest(op, input, output)
12188	return
12189}
12190
12191// ListArtifacts API operation for Amazon SageMaker Service.
12192//
12193// Lists the artifacts in your account and their properties.
12194//
12195// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12196// with awserr.Error's Code and Message methods to get detailed information about
12197// the error.
12198//
12199// See the AWS API reference guide for Amazon SageMaker Service's
12200// API operation ListArtifacts for usage and error information.
12201//
12202// Returned Error Types:
12203//   * ResourceNotFound
12204//   Resource being access is not found.
12205//
12206// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListArtifacts
12207func (c *SageMaker) ListArtifacts(input *ListArtifactsInput) (*ListArtifactsOutput, error) {
12208	req, out := c.ListArtifactsRequest(input)
12209	return out, req.Send()
12210}
12211
12212// ListArtifactsWithContext is the same as ListArtifacts with the addition of
12213// the ability to pass a context and additional request options.
12214//
12215// See ListArtifacts for details on how to use this API operation.
12216//
12217// The context must be non-nil and will be used for request cancellation. If
12218// the context is nil a panic will occur. In the future the SDK may create
12219// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12220// for more information on using Contexts.
12221func (c *SageMaker) ListArtifactsWithContext(ctx aws.Context, input *ListArtifactsInput, opts ...request.Option) (*ListArtifactsOutput, error) {
12222	req, out := c.ListArtifactsRequest(input)
12223	req.SetContext(ctx)
12224	req.ApplyOptions(opts...)
12225	return out, req.Send()
12226}
12227
12228// ListArtifactsPages iterates over the pages of a ListArtifacts operation,
12229// calling the "fn" function with the response data for each page. To stop
12230// iterating, return false from the fn function.
12231//
12232// See ListArtifacts method for more information on how to use this operation.
12233//
12234// Note: This operation can generate multiple requests to a service.
12235//
12236//    // Example iterating over at most 3 pages of a ListArtifacts operation.
12237//    pageNum := 0
12238//    err := client.ListArtifactsPages(params,
12239//        func(page *sagemaker.ListArtifactsOutput, lastPage bool) bool {
12240//            pageNum++
12241//            fmt.Println(page)
12242//            return pageNum <= 3
12243//        })
12244//
12245func (c *SageMaker) ListArtifactsPages(input *ListArtifactsInput, fn func(*ListArtifactsOutput, bool) bool) error {
12246	return c.ListArtifactsPagesWithContext(aws.BackgroundContext(), input, fn)
12247}
12248
12249// ListArtifactsPagesWithContext same as ListArtifactsPages except
12250// it takes a Context and allows setting request options on the pages.
12251//
12252// The context must be non-nil and will be used for request cancellation. If
12253// the context is nil a panic will occur. In the future the SDK may create
12254// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12255// for more information on using Contexts.
12256func (c *SageMaker) ListArtifactsPagesWithContext(ctx aws.Context, input *ListArtifactsInput, fn func(*ListArtifactsOutput, bool) bool, opts ...request.Option) error {
12257	p := request.Pagination{
12258		NewRequest: func() (*request.Request, error) {
12259			var inCpy *ListArtifactsInput
12260			if input != nil {
12261				tmp := *input
12262				inCpy = &tmp
12263			}
12264			req, _ := c.ListArtifactsRequest(inCpy)
12265			req.SetContext(ctx)
12266			req.ApplyOptions(opts...)
12267			return req, nil
12268		},
12269	}
12270
12271	for p.Next() {
12272		if !fn(p.Page().(*ListArtifactsOutput), !p.HasNextPage()) {
12273			break
12274		}
12275	}
12276
12277	return p.Err()
12278}
12279
12280const opListAssociations = "ListAssociations"
12281
12282// ListAssociationsRequest generates a "aws/request.Request" representing the
12283// client's request for the ListAssociations operation. The "output" return
12284// value will be populated with the request's response once the request completes
12285// successfully.
12286//
12287// Use "Send" method on the returned Request to send the API call to the service.
12288// the "output" return value is not valid until after Send returns without error.
12289//
12290// See ListAssociations for more information on using the ListAssociations
12291// API call, and error handling.
12292//
12293// This method is useful when you want to inject custom logic or configuration
12294// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12295//
12296//
12297//    // Example sending a request using the ListAssociationsRequest method.
12298//    req, resp := client.ListAssociationsRequest(params)
12299//
12300//    err := req.Send()
12301//    if err == nil { // resp is now filled
12302//        fmt.Println(resp)
12303//    }
12304//
12305// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAssociations
12306func (c *SageMaker) ListAssociationsRequest(input *ListAssociationsInput) (req *request.Request, output *ListAssociationsOutput) {
12307	op := &request.Operation{
12308		Name:       opListAssociations,
12309		HTTPMethod: "POST",
12310		HTTPPath:   "/",
12311		Paginator: &request.Paginator{
12312			InputTokens:     []string{"NextToken"},
12313			OutputTokens:    []string{"NextToken"},
12314			LimitToken:      "MaxResults",
12315			TruncationToken: "",
12316		},
12317	}
12318
12319	if input == nil {
12320		input = &ListAssociationsInput{}
12321	}
12322
12323	output = &ListAssociationsOutput{}
12324	req = c.newRequest(op, input, output)
12325	return
12326}
12327
12328// ListAssociations API operation for Amazon SageMaker Service.
12329//
12330// Lists the associations in your account and their properties.
12331//
12332// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12333// with awserr.Error's Code and Message methods to get detailed information about
12334// the error.
12335//
12336// See the AWS API reference guide for Amazon SageMaker Service's
12337// API operation ListAssociations for usage and error information.
12338//
12339// Returned Error Types:
12340//   * ResourceNotFound
12341//   Resource being access is not found.
12342//
12343// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAssociations
12344func (c *SageMaker) ListAssociations(input *ListAssociationsInput) (*ListAssociationsOutput, error) {
12345	req, out := c.ListAssociationsRequest(input)
12346	return out, req.Send()
12347}
12348
12349// ListAssociationsWithContext is the same as ListAssociations with the addition of
12350// the ability to pass a context and additional request options.
12351//
12352// See ListAssociations for details on how to use this API operation.
12353//
12354// The context must be non-nil and will be used for request cancellation. If
12355// the context is nil a panic will occur. In the future the SDK may create
12356// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12357// for more information on using Contexts.
12358func (c *SageMaker) ListAssociationsWithContext(ctx aws.Context, input *ListAssociationsInput, opts ...request.Option) (*ListAssociationsOutput, error) {
12359	req, out := c.ListAssociationsRequest(input)
12360	req.SetContext(ctx)
12361	req.ApplyOptions(opts...)
12362	return out, req.Send()
12363}
12364
12365// ListAssociationsPages iterates over the pages of a ListAssociations operation,
12366// calling the "fn" function with the response data for each page. To stop
12367// iterating, return false from the fn function.
12368//
12369// See ListAssociations method for more information on how to use this operation.
12370//
12371// Note: This operation can generate multiple requests to a service.
12372//
12373//    // Example iterating over at most 3 pages of a ListAssociations operation.
12374//    pageNum := 0
12375//    err := client.ListAssociationsPages(params,
12376//        func(page *sagemaker.ListAssociationsOutput, lastPage bool) bool {
12377//            pageNum++
12378//            fmt.Println(page)
12379//            return pageNum <= 3
12380//        })
12381//
12382func (c *SageMaker) ListAssociationsPages(input *ListAssociationsInput, fn func(*ListAssociationsOutput, bool) bool) error {
12383	return c.ListAssociationsPagesWithContext(aws.BackgroundContext(), input, fn)
12384}
12385
12386// ListAssociationsPagesWithContext same as ListAssociationsPages except
12387// it takes a Context and allows setting request options on the pages.
12388//
12389// The context must be non-nil and will be used for request cancellation. If
12390// the context is nil a panic will occur. In the future the SDK may create
12391// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12392// for more information on using Contexts.
12393func (c *SageMaker) ListAssociationsPagesWithContext(ctx aws.Context, input *ListAssociationsInput, fn func(*ListAssociationsOutput, bool) bool, opts ...request.Option) error {
12394	p := request.Pagination{
12395		NewRequest: func() (*request.Request, error) {
12396			var inCpy *ListAssociationsInput
12397			if input != nil {
12398				tmp := *input
12399				inCpy = &tmp
12400			}
12401			req, _ := c.ListAssociationsRequest(inCpy)
12402			req.SetContext(ctx)
12403			req.ApplyOptions(opts...)
12404			return req, nil
12405		},
12406	}
12407
12408	for p.Next() {
12409		if !fn(p.Page().(*ListAssociationsOutput), !p.HasNextPage()) {
12410			break
12411		}
12412	}
12413
12414	return p.Err()
12415}
12416
12417const opListAutoMLJobs = "ListAutoMLJobs"
12418
12419// ListAutoMLJobsRequest generates a "aws/request.Request" representing the
12420// client's request for the ListAutoMLJobs operation. The "output" return
12421// value will be populated with the request's response once the request completes
12422// successfully.
12423//
12424// Use "Send" method on the returned Request to send the API call to the service.
12425// the "output" return value is not valid until after Send returns without error.
12426//
12427// See ListAutoMLJobs for more information on using the ListAutoMLJobs
12428// API call, and error handling.
12429//
12430// This method is useful when you want to inject custom logic or configuration
12431// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12432//
12433//
12434//    // Example sending a request using the ListAutoMLJobsRequest method.
12435//    req, resp := client.ListAutoMLJobsRequest(params)
12436//
12437//    err := req.Send()
12438//    if err == nil { // resp is now filled
12439//        fmt.Println(resp)
12440//    }
12441//
12442// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAutoMLJobs
12443func (c *SageMaker) ListAutoMLJobsRequest(input *ListAutoMLJobsInput) (req *request.Request, output *ListAutoMLJobsOutput) {
12444	op := &request.Operation{
12445		Name:       opListAutoMLJobs,
12446		HTTPMethod: "POST",
12447		HTTPPath:   "/",
12448		Paginator: &request.Paginator{
12449			InputTokens:     []string{"NextToken"},
12450			OutputTokens:    []string{"NextToken"},
12451			LimitToken:      "MaxResults",
12452			TruncationToken: "",
12453		},
12454	}
12455
12456	if input == nil {
12457		input = &ListAutoMLJobsInput{}
12458	}
12459
12460	output = &ListAutoMLJobsOutput{}
12461	req = c.newRequest(op, input, output)
12462	return
12463}
12464
12465// ListAutoMLJobs API operation for Amazon SageMaker Service.
12466//
12467// Request a list of jobs.
12468//
12469// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12470// with awserr.Error's Code and Message methods to get detailed information about
12471// the error.
12472//
12473// See the AWS API reference guide for Amazon SageMaker Service's
12474// API operation ListAutoMLJobs for usage and error information.
12475// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAutoMLJobs
12476func (c *SageMaker) ListAutoMLJobs(input *ListAutoMLJobsInput) (*ListAutoMLJobsOutput, error) {
12477	req, out := c.ListAutoMLJobsRequest(input)
12478	return out, req.Send()
12479}
12480
12481// ListAutoMLJobsWithContext is the same as ListAutoMLJobs with the addition of
12482// the ability to pass a context and additional request options.
12483//
12484// See ListAutoMLJobs for details on how to use this API operation.
12485//
12486// The context must be non-nil and will be used for request cancellation. If
12487// the context is nil a panic will occur. In the future the SDK may create
12488// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12489// for more information on using Contexts.
12490func (c *SageMaker) ListAutoMLJobsWithContext(ctx aws.Context, input *ListAutoMLJobsInput, opts ...request.Option) (*ListAutoMLJobsOutput, error) {
12491	req, out := c.ListAutoMLJobsRequest(input)
12492	req.SetContext(ctx)
12493	req.ApplyOptions(opts...)
12494	return out, req.Send()
12495}
12496
12497// ListAutoMLJobsPages iterates over the pages of a ListAutoMLJobs operation,
12498// calling the "fn" function with the response data for each page. To stop
12499// iterating, return false from the fn function.
12500//
12501// See ListAutoMLJobs method for more information on how to use this operation.
12502//
12503// Note: This operation can generate multiple requests to a service.
12504//
12505//    // Example iterating over at most 3 pages of a ListAutoMLJobs operation.
12506//    pageNum := 0
12507//    err := client.ListAutoMLJobsPages(params,
12508//        func(page *sagemaker.ListAutoMLJobsOutput, lastPage bool) bool {
12509//            pageNum++
12510//            fmt.Println(page)
12511//            return pageNum <= 3
12512//        })
12513//
12514func (c *SageMaker) ListAutoMLJobsPages(input *ListAutoMLJobsInput, fn func(*ListAutoMLJobsOutput, bool) bool) error {
12515	return c.ListAutoMLJobsPagesWithContext(aws.BackgroundContext(), input, fn)
12516}
12517
12518// ListAutoMLJobsPagesWithContext same as ListAutoMLJobsPages except
12519// it takes a Context and allows setting request options on the pages.
12520//
12521// The context must be non-nil and will be used for request cancellation. If
12522// the context is nil a panic will occur. In the future the SDK may create
12523// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12524// for more information on using Contexts.
12525func (c *SageMaker) ListAutoMLJobsPagesWithContext(ctx aws.Context, input *ListAutoMLJobsInput, fn func(*ListAutoMLJobsOutput, bool) bool, opts ...request.Option) error {
12526	p := request.Pagination{
12527		NewRequest: func() (*request.Request, error) {
12528			var inCpy *ListAutoMLJobsInput
12529			if input != nil {
12530				tmp := *input
12531				inCpy = &tmp
12532			}
12533			req, _ := c.ListAutoMLJobsRequest(inCpy)
12534			req.SetContext(ctx)
12535			req.ApplyOptions(opts...)
12536			return req, nil
12537		},
12538	}
12539
12540	for p.Next() {
12541		if !fn(p.Page().(*ListAutoMLJobsOutput), !p.HasNextPage()) {
12542			break
12543		}
12544	}
12545
12546	return p.Err()
12547}
12548
12549const opListCandidatesForAutoMLJob = "ListCandidatesForAutoMLJob"
12550
12551// ListCandidatesForAutoMLJobRequest generates a "aws/request.Request" representing the
12552// client's request for the ListCandidatesForAutoMLJob operation. The "output" return
12553// value will be populated with the request's response once the request completes
12554// successfully.
12555//
12556// Use "Send" method on the returned Request to send the API call to the service.
12557// the "output" return value is not valid until after Send returns without error.
12558//
12559// See ListCandidatesForAutoMLJob for more information on using the ListCandidatesForAutoMLJob
12560// API call, and error handling.
12561//
12562// This method is useful when you want to inject custom logic or configuration
12563// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12564//
12565//
12566//    // Example sending a request using the ListCandidatesForAutoMLJobRequest method.
12567//    req, resp := client.ListCandidatesForAutoMLJobRequest(params)
12568//
12569//    err := req.Send()
12570//    if err == nil { // resp is now filled
12571//        fmt.Println(resp)
12572//    }
12573//
12574// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCandidatesForAutoMLJob
12575func (c *SageMaker) ListCandidatesForAutoMLJobRequest(input *ListCandidatesForAutoMLJobInput) (req *request.Request, output *ListCandidatesForAutoMLJobOutput) {
12576	op := &request.Operation{
12577		Name:       opListCandidatesForAutoMLJob,
12578		HTTPMethod: "POST",
12579		HTTPPath:   "/",
12580		Paginator: &request.Paginator{
12581			InputTokens:     []string{"NextToken"},
12582			OutputTokens:    []string{"NextToken"},
12583			LimitToken:      "MaxResults",
12584			TruncationToken: "",
12585		},
12586	}
12587
12588	if input == nil {
12589		input = &ListCandidatesForAutoMLJobInput{}
12590	}
12591
12592	output = &ListCandidatesForAutoMLJobOutput{}
12593	req = c.newRequest(op, input, output)
12594	return
12595}
12596
12597// ListCandidatesForAutoMLJob API operation for Amazon SageMaker Service.
12598//
12599// List the candidates created for the job.
12600//
12601// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12602// with awserr.Error's Code and Message methods to get detailed information about
12603// the error.
12604//
12605// See the AWS API reference guide for Amazon SageMaker Service's
12606// API operation ListCandidatesForAutoMLJob for usage and error information.
12607//
12608// Returned Error Types:
12609//   * ResourceNotFound
12610//   Resource being access is not found.
12611//
12612// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCandidatesForAutoMLJob
12613func (c *SageMaker) ListCandidatesForAutoMLJob(input *ListCandidatesForAutoMLJobInput) (*ListCandidatesForAutoMLJobOutput, error) {
12614	req, out := c.ListCandidatesForAutoMLJobRequest(input)
12615	return out, req.Send()
12616}
12617
12618// ListCandidatesForAutoMLJobWithContext is the same as ListCandidatesForAutoMLJob with the addition of
12619// the ability to pass a context and additional request options.
12620//
12621// See ListCandidatesForAutoMLJob for details on how to use this API operation.
12622//
12623// The context must be non-nil and will be used for request cancellation. If
12624// the context is nil a panic will occur. In the future the SDK may create
12625// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12626// for more information on using Contexts.
12627func (c *SageMaker) ListCandidatesForAutoMLJobWithContext(ctx aws.Context, input *ListCandidatesForAutoMLJobInput, opts ...request.Option) (*ListCandidatesForAutoMLJobOutput, error) {
12628	req, out := c.ListCandidatesForAutoMLJobRequest(input)
12629	req.SetContext(ctx)
12630	req.ApplyOptions(opts...)
12631	return out, req.Send()
12632}
12633
12634// ListCandidatesForAutoMLJobPages iterates over the pages of a ListCandidatesForAutoMLJob operation,
12635// calling the "fn" function with the response data for each page. To stop
12636// iterating, return false from the fn function.
12637//
12638// See ListCandidatesForAutoMLJob method for more information on how to use this operation.
12639//
12640// Note: This operation can generate multiple requests to a service.
12641//
12642//    // Example iterating over at most 3 pages of a ListCandidatesForAutoMLJob operation.
12643//    pageNum := 0
12644//    err := client.ListCandidatesForAutoMLJobPages(params,
12645//        func(page *sagemaker.ListCandidatesForAutoMLJobOutput, lastPage bool) bool {
12646//            pageNum++
12647//            fmt.Println(page)
12648//            return pageNum <= 3
12649//        })
12650//
12651func (c *SageMaker) ListCandidatesForAutoMLJobPages(input *ListCandidatesForAutoMLJobInput, fn func(*ListCandidatesForAutoMLJobOutput, bool) bool) error {
12652	return c.ListCandidatesForAutoMLJobPagesWithContext(aws.BackgroundContext(), input, fn)
12653}
12654
12655// ListCandidatesForAutoMLJobPagesWithContext same as ListCandidatesForAutoMLJobPages except
12656// it takes a Context and allows setting request options on the pages.
12657//
12658// The context must be non-nil and will be used for request cancellation. If
12659// the context is nil a panic will occur. In the future the SDK may create
12660// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12661// for more information on using Contexts.
12662func (c *SageMaker) ListCandidatesForAutoMLJobPagesWithContext(ctx aws.Context, input *ListCandidatesForAutoMLJobInput, fn func(*ListCandidatesForAutoMLJobOutput, bool) bool, opts ...request.Option) error {
12663	p := request.Pagination{
12664		NewRequest: func() (*request.Request, error) {
12665			var inCpy *ListCandidatesForAutoMLJobInput
12666			if input != nil {
12667				tmp := *input
12668				inCpy = &tmp
12669			}
12670			req, _ := c.ListCandidatesForAutoMLJobRequest(inCpy)
12671			req.SetContext(ctx)
12672			req.ApplyOptions(opts...)
12673			return req, nil
12674		},
12675	}
12676
12677	for p.Next() {
12678		if !fn(p.Page().(*ListCandidatesForAutoMLJobOutput), !p.HasNextPage()) {
12679			break
12680		}
12681	}
12682
12683	return p.Err()
12684}
12685
12686const opListCodeRepositories = "ListCodeRepositories"
12687
12688// ListCodeRepositoriesRequest generates a "aws/request.Request" representing the
12689// client's request for the ListCodeRepositories operation. The "output" return
12690// value will be populated with the request's response once the request completes
12691// successfully.
12692//
12693// Use "Send" method on the returned Request to send the API call to the service.
12694// the "output" return value is not valid until after Send returns without error.
12695//
12696// See ListCodeRepositories for more information on using the ListCodeRepositories
12697// API call, and error handling.
12698//
12699// This method is useful when you want to inject custom logic or configuration
12700// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12701//
12702//
12703//    // Example sending a request using the ListCodeRepositoriesRequest method.
12704//    req, resp := client.ListCodeRepositoriesRequest(params)
12705//
12706//    err := req.Send()
12707//    if err == nil { // resp is now filled
12708//        fmt.Println(resp)
12709//    }
12710//
12711// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCodeRepositories
12712func (c *SageMaker) ListCodeRepositoriesRequest(input *ListCodeRepositoriesInput) (req *request.Request, output *ListCodeRepositoriesOutput) {
12713	op := &request.Operation{
12714		Name:       opListCodeRepositories,
12715		HTTPMethod: "POST",
12716		HTTPPath:   "/",
12717		Paginator: &request.Paginator{
12718			InputTokens:     []string{"NextToken"},
12719			OutputTokens:    []string{"NextToken"},
12720			LimitToken:      "MaxResults",
12721			TruncationToken: "",
12722		},
12723	}
12724
12725	if input == nil {
12726		input = &ListCodeRepositoriesInput{}
12727	}
12728
12729	output = &ListCodeRepositoriesOutput{}
12730	req = c.newRequest(op, input, output)
12731	return
12732}
12733
12734// ListCodeRepositories API operation for Amazon SageMaker Service.
12735//
12736// Gets a list of the Git repositories in your account.
12737//
12738// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12739// with awserr.Error's Code and Message methods to get detailed information about
12740// the error.
12741//
12742// See the AWS API reference guide for Amazon SageMaker Service's
12743// API operation ListCodeRepositories for usage and error information.
12744// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCodeRepositories
12745func (c *SageMaker) ListCodeRepositories(input *ListCodeRepositoriesInput) (*ListCodeRepositoriesOutput, error) {
12746	req, out := c.ListCodeRepositoriesRequest(input)
12747	return out, req.Send()
12748}
12749
12750// ListCodeRepositoriesWithContext is the same as ListCodeRepositories with the addition of
12751// the ability to pass a context and additional request options.
12752//
12753// See ListCodeRepositories for details on how to use this API operation.
12754//
12755// The context must be non-nil and will be used for request cancellation. If
12756// the context is nil a panic will occur. In the future the SDK may create
12757// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12758// for more information on using Contexts.
12759func (c *SageMaker) ListCodeRepositoriesWithContext(ctx aws.Context, input *ListCodeRepositoriesInput, opts ...request.Option) (*ListCodeRepositoriesOutput, error) {
12760	req, out := c.ListCodeRepositoriesRequest(input)
12761	req.SetContext(ctx)
12762	req.ApplyOptions(opts...)
12763	return out, req.Send()
12764}
12765
12766// ListCodeRepositoriesPages iterates over the pages of a ListCodeRepositories operation,
12767// calling the "fn" function with the response data for each page. To stop
12768// iterating, return false from the fn function.
12769//
12770// See ListCodeRepositories method for more information on how to use this operation.
12771//
12772// Note: This operation can generate multiple requests to a service.
12773//
12774//    // Example iterating over at most 3 pages of a ListCodeRepositories operation.
12775//    pageNum := 0
12776//    err := client.ListCodeRepositoriesPages(params,
12777//        func(page *sagemaker.ListCodeRepositoriesOutput, lastPage bool) bool {
12778//            pageNum++
12779//            fmt.Println(page)
12780//            return pageNum <= 3
12781//        })
12782//
12783func (c *SageMaker) ListCodeRepositoriesPages(input *ListCodeRepositoriesInput, fn func(*ListCodeRepositoriesOutput, bool) bool) error {
12784	return c.ListCodeRepositoriesPagesWithContext(aws.BackgroundContext(), input, fn)
12785}
12786
12787// ListCodeRepositoriesPagesWithContext same as ListCodeRepositoriesPages except
12788// it takes a Context and allows setting request options on the pages.
12789//
12790// The context must be non-nil and will be used for request cancellation. If
12791// the context is nil a panic will occur. In the future the SDK may create
12792// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12793// for more information on using Contexts.
12794func (c *SageMaker) ListCodeRepositoriesPagesWithContext(ctx aws.Context, input *ListCodeRepositoriesInput, fn func(*ListCodeRepositoriesOutput, bool) bool, opts ...request.Option) error {
12795	p := request.Pagination{
12796		NewRequest: func() (*request.Request, error) {
12797			var inCpy *ListCodeRepositoriesInput
12798			if input != nil {
12799				tmp := *input
12800				inCpy = &tmp
12801			}
12802			req, _ := c.ListCodeRepositoriesRequest(inCpy)
12803			req.SetContext(ctx)
12804			req.ApplyOptions(opts...)
12805			return req, nil
12806		},
12807	}
12808
12809	for p.Next() {
12810		if !fn(p.Page().(*ListCodeRepositoriesOutput), !p.HasNextPage()) {
12811			break
12812		}
12813	}
12814
12815	return p.Err()
12816}
12817
12818const opListCompilationJobs = "ListCompilationJobs"
12819
12820// ListCompilationJobsRequest generates a "aws/request.Request" representing the
12821// client's request for the ListCompilationJobs operation. The "output" return
12822// value will be populated with the request's response once the request completes
12823// successfully.
12824//
12825// Use "Send" method on the returned Request to send the API call to the service.
12826// the "output" return value is not valid until after Send returns without error.
12827//
12828// See ListCompilationJobs for more information on using the ListCompilationJobs
12829// API call, and error handling.
12830//
12831// This method is useful when you want to inject custom logic or configuration
12832// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12833//
12834//
12835//    // Example sending a request using the ListCompilationJobsRequest method.
12836//    req, resp := client.ListCompilationJobsRequest(params)
12837//
12838//    err := req.Send()
12839//    if err == nil { // resp is now filled
12840//        fmt.Println(resp)
12841//    }
12842//
12843// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCompilationJobs
12844func (c *SageMaker) ListCompilationJobsRequest(input *ListCompilationJobsInput) (req *request.Request, output *ListCompilationJobsOutput) {
12845	op := &request.Operation{
12846		Name:       opListCompilationJobs,
12847		HTTPMethod: "POST",
12848		HTTPPath:   "/",
12849		Paginator: &request.Paginator{
12850			InputTokens:     []string{"NextToken"},
12851			OutputTokens:    []string{"NextToken"},
12852			LimitToken:      "MaxResults",
12853			TruncationToken: "",
12854		},
12855	}
12856
12857	if input == nil {
12858		input = &ListCompilationJobsInput{}
12859	}
12860
12861	output = &ListCompilationJobsOutput{}
12862	req = c.newRequest(op, input, output)
12863	return
12864}
12865
12866// ListCompilationJobs API operation for Amazon SageMaker Service.
12867//
12868// Lists model compilation jobs that satisfy various filters.
12869//
12870// To create a model compilation job, use CreateCompilationJob. To get information
12871// about a particular model compilation job you have created, use DescribeCompilationJob.
12872//
12873// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12874// with awserr.Error's Code and Message methods to get detailed information about
12875// the error.
12876//
12877// See the AWS API reference guide for Amazon SageMaker Service's
12878// API operation ListCompilationJobs for usage and error information.
12879// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCompilationJobs
12880func (c *SageMaker) ListCompilationJobs(input *ListCompilationJobsInput) (*ListCompilationJobsOutput, error) {
12881	req, out := c.ListCompilationJobsRequest(input)
12882	return out, req.Send()
12883}
12884
12885// ListCompilationJobsWithContext is the same as ListCompilationJobs with the addition of
12886// the ability to pass a context and additional request options.
12887//
12888// See ListCompilationJobs for details on how to use this API operation.
12889//
12890// The context must be non-nil and will be used for request cancellation. If
12891// the context is nil a panic will occur. In the future the SDK may create
12892// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12893// for more information on using Contexts.
12894func (c *SageMaker) ListCompilationJobsWithContext(ctx aws.Context, input *ListCompilationJobsInput, opts ...request.Option) (*ListCompilationJobsOutput, error) {
12895	req, out := c.ListCompilationJobsRequest(input)
12896	req.SetContext(ctx)
12897	req.ApplyOptions(opts...)
12898	return out, req.Send()
12899}
12900
12901// ListCompilationJobsPages iterates over the pages of a ListCompilationJobs operation,
12902// calling the "fn" function with the response data for each page. To stop
12903// iterating, return false from the fn function.
12904//
12905// See ListCompilationJobs method for more information on how to use this operation.
12906//
12907// Note: This operation can generate multiple requests to a service.
12908//
12909//    // Example iterating over at most 3 pages of a ListCompilationJobs operation.
12910//    pageNum := 0
12911//    err := client.ListCompilationJobsPages(params,
12912//        func(page *sagemaker.ListCompilationJobsOutput, lastPage bool) bool {
12913//            pageNum++
12914//            fmt.Println(page)
12915//            return pageNum <= 3
12916//        })
12917//
12918func (c *SageMaker) ListCompilationJobsPages(input *ListCompilationJobsInput, fn func(*ListCompilationJobsOutput, bool) bool) error {
12919	return c.ListCompilationJobsPagesWithContext(aws.BackgroundContext(), input, fn)
12920}
12921
12922// ListCompilationJobsPagesWithContext same as ListCompilationJobsPages except
12923// it takes a Context and allows setting request options on the pages.
12924//
12925// The context must be non-nil and will be used for request cancellation. If
12926// the context is nil a panic will occur. In the future the SDK may create
12927// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12928// for more information on using Contexts.
12929func (c *SageMaker) ListCompilationJobsPagesWithContext(ctx aws.Context, input *ListCompilationJobsInput, fn func(*ListCompilationJobsOutput, bool) bool, opts ...request.Option) error {
12930	p := request.Pagination{
12931		NewRequest: func() (*request.Request, error) {
12932			var inCpy *ListCompilationJobsInput
12933			if input != nil {
12934				tmp := *input
12935				inCpy = &tmp
12936			}
12937			req, _ := c.ListCompilationJobsRequest(inCpy)
12938			req.SetContext(ctx)
12939			req.ApplyOptions(opts...)
12940			return req, nil
12941		},
12942	}
12943
12944	for p.Next() {
12945		if !fn(p.Page().(*ListCompilationJobsOutput), !p.HasNextPage()) {
12946			break
12947		}
12948	}
12949
12950	return p.Err()
12951}
12952
12953const opListContexts = "ListContexts"
12954
12955// ListContextsRequest generates a "aws/request.Request" representing the
12956// client's request for the ListContexts operation. The "output" return
12957// value will be populated with the request's response once the request completes
12958// successfully.
12959//
12960// Use "Send" method on the returned Request to send the API call to the service.
12961// the "output" return value is not valid until after Send returns without error.
12962//
12963// See ListContexts for more information on using the ListContexts
12964// API call, and error handling.
12965//
12966// This method is useful when you want to inject custom logic or configuration
12967// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12968//
12969//
12970//    // Example sending a request using the ListContextsRequest method.
12971//    req, resp := client.ListContextsRequest(params)
12972//
12973//    err := req.Send()
12974//    if err == nil { // resp is now filled
12975//        fmt.Println(resp)
12976//    }
12977//
12978// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListContexts
12979func (c *SageMaker) ListContextsRequest(input *ListContextsInput) (req *request.Request, output *ListContextsOutput) {
12980	op := &request.Operation{
12981		Name:       opListContexts,
12982		HTTPMethod: "POST",
12983		HTTPPath:   "/",
12984		Paginator: &request.Paginator{
12985			InputTokens:     []string{"NextToken"},
12986			OutputTokens:    []string{"NextToken"},
12987			LimitToken:      "MaxResults",
12988			TruncationToken: "",
12989		},
12990	}
12991
12992	if input == nil {
12993		input = &ListContextsInput{}
12994	}
12995
12996	output = &ListContextsOutput{}
12997	req = c.newRequest(op, input, output)
12998	return
12999}
13000
13001// ListContexts API operation for Amazon SageMaker Service.
13002//
13003// Lists the contexts in your account and their properties.
13004//
13005// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13006// with awserr.Error's Code and Message methods to get detailed information about
13007// the error.
13008//
13009// See the AWS API reference guide for Amazon SageMaker Service's
13010// API operation ListContexts for usage and error information.
13011//
13012// Returned Error Types:
13013//   * ResourceNotFound
13014//   Resource being access is not found.
13015//
13016// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListContexts
13017func (c *SageMaker) ListContexts(input *ListContextsInput) (*ListContextsOutput, error) {
13018	req, out := c.ListContextsRequest(input)
13019	return out, req.Send()
13020}
13021
13022// ListContextsWithContext is the same as ListContexts with the addition of
13023// the ability to pass a context and additional request options.
13024//
13025// See ListContexts for details on how to use this API operation.
13026//
13027// The context must be non-nil and will be used for request cancellation. If
13028// the context is nil a panic will occur. In the future the SDK may create
13029// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13030// for more information on using Contexts.
13031func (c *SageMaker) ListContextsWithContext(ctx aws.Context, input *ListContextsInput, opts ...request.Option) (*ListContextsOutput, error) {
13032	req, out := c.ListContextsRequest(input)
13033	req.SetContext(ctx)
13034	req.ApplyOptions(opts...)
13035	return out, req.Send()
13036}
13037
13038// ListContextsPages iterates over the pages of a ListContexts operation,
13039// calling the "fn" function with the response data for each page. To stop
13040// iterating, return false from the fn function.
13041//
13042// See ListContexts method for more information on how to use this operation.
13043//
13044// Note: This operation can generate multiple requests to a service.
13045//
13046//    // Example iterating over at most 3 pages of a ListContexts operation.
13047//    pageNum := 0
13048//    err := client.ListContextsPages(params,
13049//        func(page *sagemaker.ListContextsOutput, lastPage bool) bool {
13050//            pageNum++
13051//            fmt.Println(page)
13052//            return pageNum <= 3
13053//        })
13054//
13055func (c *SageMaker) ListContextsPages(input *ListContextsInput, fn func(*ListContextsOutput, bool) bool) error {
13056	return c.ListContextsPagesWithContext(aws.BackgroundContext(), input, fn)
13057}
13058
13059// ListContextsPagesWithContext same as ListContextsPages except
13060// it takes a Context and allows setting request options on the pages.
13061//
13062// The context must be non-nil and will be used for request cancellation. If
13063// the context is nil a panic will occur. In the future the SDK may create
13064// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13065// for more information on using Contexts.
13066func (c *SageMaker) ListContextsPagesWithContext(ctx aws.Context, input *ListContextsInput, fn func(*ListContextsOutput, bool) bool, opts ...request.Option) error {
13067	p := request.Pagination{
13068		NewRequest: func() (*request.Request, error) {
13069			var inCpy *ListContextsInput
13070			if input != nil {
13071				tmp := *input
13072				inCpy = &tmp
13073			}
13074			req, _ := c.ListContextsRequest(inCpy)
13075			req.SetContext(ctx)
13076			req.ApplyOptions(opts...)
13077			return req, nil
13078		},
13079	}
13080
13081	for p.Next() {
13082		if !fn(p.Page().(*ListContextsOutput), !p.HasNextPage()) {
13083			break
13084		}
13085	}
13086
13087	return p.Err()
13088}
13089
13090const opListDataQualityJobDefinitions = "ListDataQualityJobDefinitions"
13091
13092// ListDataQualityJobDefinitionsRequest generates a "aws/request.Request" representing the
13093// client's request for the ListDataQualityJobDefinitions operation. The "output" return
13094// value will be populated with the request's response once the request completes
13095// successfully.
13096//
13097// Use "Send" method on the returned Request to send the API call to the service.
13098// the "output" return value is not valid until after Send returns without error.
13099//
13100// See ListDataQualityJobDefinitions for more information on using the ListDataQualityJobDefinitions
13101// API call, and error handling.
13102//
13103// This method is useful when you want to inject custom logic or configuration
13104// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13105//
13106//
13107//    // Example sending a request using the ListDataQualityJobDefinitionsRequest method.
13108//    req, resp := client.ListDataQualityJobDefinitionsRequest(params)
13109//
13110//    err := req.Send()
13111//    if err == nil { // resp is now filled
13112//        fmt.Println(resp)
13113//    }
13114//
13115// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDataQualityJobDefinitions
13116func (c *SageMaker) ListDataQualityJobDefinitionsRequest(input *ListDataQualityJobDefinitionsInput) (req *request.Request, output *ListDataQualityJobDefinitionsOutput) {
13117	op := &request.Operation{
13118		Name:       opListDataQualityJobDefinitions,
13119		HTTPMethod: "POST",
13120		HTTPPath:   "/",
13121		Paginator: &request.Paginator{
13122			InputTokens:     []string{"NextToken"},
13123			OutputTokens:    []string{"NextToken"},
13124			LimitToken:      "MaxResults",
13125			TruncationToken: "",
13126		},
13127	}
13128
13129	if input == nil {
13130		input = &ListDataQualityJobDefinitionsInput{}
13131	}
13132
13133	output = &ListDataQualityJobDefinitionsOutput{}
13134	req = c.newRequest(op, input, output)
13135	return
13136}
13137
13138// ListDataQualityJobDefinitions API operation for Amazon SageMaker Service.
13139//
13140// Lists the data quality job definitions in your account.
13141//
13142// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13143// with awserr.Error's Code and Message methods to get detailed information about
13144// the error.
13145//
13146// See the AWS API reference guide for Amazon SageMaker Service's
13147// API operation ListDataQualityJobDefinitions for usage and error information.
13148// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDataQualityJobDefinitions
13149func (c *SageMaker) ListDataQualityJobDefinitions(input *ListDataQualityJobDefinitionsInput) (*ListDataQualityJobDefinitionsOutput, error) {
13150	req, out := c.ListDataQualityJobDefinitionsRequest(input)
13151	return out, req.Send()
13152}
13153
13154// ListDataQualityJobDefinitionsWithContext is the same as ListDataQualityJobDefinitions with the addition of
13155// the ability to pass a context and additional request options.
13156//
13157// See ListDataQualityJobDefinitions for details on how to use this API operation.
13158//
13159// The context must be non-nil and will be used for request cancellation. If
13160// the context is nil a panic will occur. In the future the SDK may create
13161// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13162// for more information on using Contexts.
13163func (c *SageMaker) ListDataQualityJobDefinitionsWithContext(ctx aws.Context, input *ListDataQualityJobDefinitionsInput, opts ...request.Option) (*ListDataQualityJobDefinitionsOutput, error) {
13164	req, out := c.ListDataQualityJobDefinitionsRequest(input)
13165	req.SetContext(ctx)
13166	req.ApplyOptions(opts...)
13167	return out, req.Send()
13168}
13169
13170// ListDataQualityJobDefinitionsPages iterates over the pages of a ListDataQualityJobDefinitions operation,
13171// calling the "fn" function with the response data for each page. To stop
13172// iterating, return false from the fn function.
13173//
13174// See ListDataQualityJobDefinitions method for more information on how to use this operation.
13175//
13176// Note: This operation can generate multiple requests to a service.
13177//
13178//    // Example iterating over at most 3 pages of a ListDataQualityJobDefinitions operation.
13179//    pageNum := 0
13180//    err := client.ListDataQualityJobDefinitionsPages(params,
13181//        func(page *sagemaker.ListDataQualityJobDefinitionsOutput, lastPage bool) bool {
13182//            pageNum++
13183//            fmt.Println(page)
13184//            return pageNum <= 3
13185//        })
13186//
13187func (c *SageMaker) ListDataQualityJobDefinitionsPages(input *ListDataQualityJobDefinitionsInput, fn func(*ListDataQualityJobDefinitionsOutput, bool) bool) error {
13188	return c.ListDataQualityJobDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn)
13189}
13190
13191// ListDataQualityJobDefinitionsPagesWithContext same as ListDataQualityJobDefinitionsPages except
13192// it takes a Context and allows setting request options on the pages.
13193//
13194// The context must be non-nil and will be used for request cancellation. If
13195// the context is nil a panic will occur. In the future the SDK may create
13196// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13197// for more information on using Contexts.
13198func (c *SageMaker) ListDataQualityJobDefinitionsPagesWithContext(ctx aws.Context, input *ListDataQualityJobDefinitionsInput, fn func(*ListDataQualityJobDefinitionsOutput, bool) bool, opts ...request.Option) error {
13199	p := request.Pagination{
13200		NewRequest: func() (*request.Request, error) {
13201			var inCpy *ListDataQualityJobDefinitionsInput
13202			if input != nil {
13203				tmp := *input
13204				inCpy = &tmp
13205			}
13206			req, _ := c.ListDataQualityJobDefinitionsRequest(inCpy)
13207			req.SetContext(ctx)
13208			req.ApplyOptions(opts...)
13209			return req, nil
13210		},
13211	}
13212
13213	for p.Next() {
13214		if !fn(p.Page().(*ListDataQualityJobDefinitionsOutput), !p.HasNextPage()) {
13215			break
13216		}
13217	}
13218
13219	return p.Err()
13220}
13221
13222const opListDeviceFleets = "ListDeviceFleets"
13223
13224// ListDeviceFleetsRequest generates a "aws/request.Request" representing the
13225// client's request for the ListDeviceFleets operation. The "output" return
13226// value will be populated with the request's response once the request completes
13227// successfully.
13228//
13229// Use "Send" method on the returned Request to send the API call to the service.
13230// the "output" return value is not valid until after Send returns without error.
13231//
13232// See ListDeviceFleets for more information on using the ListDeviceFleets
13233// API call, and error handling.
13234//
13235// This method is useful when you want to inject custom logic or configuration
13236// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13237//
13238//
13239//    // Example sending a request using the ListDeviceFleetsRequest method.
13240//    req, resp := client.ListDeviceFleetsRequest(params)
13241//
13242//    err := req.Send()
13243//    if err == nil { // resp is now filled
13244//        fmt.Println(resp)
13245//    }
13246//
13247// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDeviceFleets
13248func (c *SageMaker) ListDeviceFleetsRequest(input *ListDeviceFleetsInput) (req *request.Request, output *ListDeviceFleetsOutput) {
13249	op := &request.Operation{
13250		Name:       opListDeviceFleets,
13251		HTTPMethod: "POST",
13252		HTTPPath:   "/",
13253		Paginator: &request.Paginator{
13254			InputTokens:     []string{"NextToken"},
13255			OutputTokens:    []string{"NextToken"},
13256			LimitToken:      "MaxResults",
13257			TruncationToken: "",
13258		},
13259	}
13260
13261	if input == nil {
13262		input = &ListDeviceFleetsInput{}
13263	}
13264
13265	output = &ListDeviceFleetsOutput{}
13266	req = c.newRequest(op, input, output)
13267	return
13268}
13269
13270// ListDeviceFleets API operation for Amazon SageMaker Service.
13271//
13272// Returns a list of devices in the fleet.
13273//
13274// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13275// with awserr.Error's Code and Message methods to get detailed information about
13276// the error.
13277//
13278// See the AWS API reference guide for Amazon SageMaker Service's
13279// API operation ListDeviceFleets for usage and error information.
13280// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDeviceFleets
13281func (c *SageMaker) ListDeviceFleets(input *ListDeviceFleetsInput) (*ListDeviceFleetsOutput, error) {
13282	req, out := c.ListDeviceFleetsRequest(input)
13283	return out, req.Send()
13284}
13285
13286// ListDeviceFleetsWithContext is the same as ListDeviceFleets with the addition of
13287// the ability to pass a context and additional request options.
13288//
13289// See ListDeviceFleets for details on how to use this API operation.
13290//
13291// The context must be non-nil and will be used for request cancellation. If
13292// the context is nil a panic will occur. In the future the SDK may create
13293// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13294// for more information on using Contexts.
13295func (c *SageMaker) ListDeviceFleetsWithContext(ctx aws.Context, input *ListDeviceFleetsInput, opts ...request.Option) (*ListDeviceFleetsOutput, error) {
13296	req, out := c.ListDeviceFleetsRequest(input)
13297	req.SetContext(ctx)
13298	req.ApplyOptions(opts...)
13299	return out, req.Send()
13300}
13301
13302// ListDeviceFleetsPages iterates over the pages of a ListDeviceFleets operation,
13303// calling the "fn" function with the response data for each page. To stop
13304// iterating, return false from the fn function.
13305//
13306// See ListDeviceFleets method for more information on how to use this operation.
13307//
13308// Note: This operation can generate multiple requests to a service.
13309//
13310//    // Example iterating over at most 3 pages of a ListDeviceFleets operation.
13311//    pageNum := 0
13312//    err := client.ListDeviceFleetsPages(params,
13313//        func(page *sagemaker.ListDeviceFleetsOutput, lastPage bool) bool {
13314//            pageNum++
13315//            fmt.Println(page)
13316//            return pageNum <= 3
13317//        })
13318//
13319func (c *SageMaker) ListDeviceFleetsPages(input *ListDeviceFleetsInput, fn func(*ListDeviceFleetsOutput, bool) bool) error {
13320	return c.ListDeviceFleetsPagesWithContext(aws.BackgroundContext(), input, fn)
13321}
13322
13323// ListDeviceFleetsPagesWithContext same as ListDeviceFleetsPages except
13324// it takes a Context and allows setting request options on the pages.
13325//
13326// The context must be non-nil and will be used for request cancellation. If
13327// the context is nil a panic will occur. In the future the SDK may create
13328// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13329// for more information on using Contexts.
13330func (c *SageMaker) ListDeviceFleetsPagesWithContext(ctx aws.Context, input *ListDeviceFleetsInput, fn func(*ListDeviceFleetsOutput, bool) bool, opts ...request.Option) error {
13331	p := request.Pagination{
13332		NewRequest: func() (*request.Request, error) {
13333			var inCpy *ListDeviceFleetsInput
13334			if input != nil {
13335				tmp := *input
13336				inCpy = &tmp
13337			}
13338			req, _ := c.ListDeviceFleetsRequest(inCpy)
13339			req.SetContext(ctx)
13340			req.ApplyOptions(opts...)
13341			return req, nil
13342		},
13343	}
13344
13345	for p.Next() {
13346		if !fn(p.Page().(*ListDeviceFleetsOutput), !p.HasNextPage()) {
13347			break
13348		}
13349	}
13350
13351	return p.Err()
13352}
13353
13354const opListDevices = "ListDevices"
13355
13356// ListDevicesRequest generates a "aws/request.Request" representing the
13357// client's request for the ListDevices operation. The "output" return
13358// value will be populated with the request's response once the request completes
13359// successfully.
13360//
13361// Use "Send" method on the returned Request to send the API call to the service.
13362// the "output" return value is not valid until after Send returns without error.
13363//
13364// See ListDevices for more information on using the ListDevices
13365// API call, and error handling.
13366//
13367// This method is useful when you want to inject custom logic or configuration
13368// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13369//
13370//
13371//    // Example sending a request using the ListDevicesRequest method.
13372//    req, resp := client.ListDevicesRequest(params)
13373//
13374//    err := req.Send()
13375//    if err == nil { // resp is now filled
13376//        fmt.Println(resp)
13377//    }
13378//
13379// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDevices
13380func (c *SageMaker) ListDevicesRequest(input *ListDevicesInput) (req *request.Request, output *ListDevicesOutput) {
13381	op := &request.Operation{
13382		Name:       opListDevices,
13383		HTTPMethod: "POST",
13384		HTTPPath:   "/",
13385		Paginator: &request.Paginator{
13386			InputTokens:     []string{"NextToken"},
13387			OutputTokens:    []string{"NextToken"},
13388			LimitToken:      "MaxResults",
13389			TruncationToken: "",
13390		},
13391	}
13392
13393	if input == nil {
13394		input = &ListDevicesInput{}
13395	}
13396
13397	output = &ListDevicesOutput{}
13398	req = c.newRequest(op, input, output)
13399	return
13400}
13401
13402// ListDevices API operation for Amazon SageMaker Service.
13403//
13404// A list of devices.
13405//
13406// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13407// with awserr.Error's Code and Message methods to get detailed information about
13408// the error.
13409//
13410// See the AWS API reference guide for Amazon SageMaker Service's
13411// API operation ListDevices for usage and error information.
13412// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDevices
13413func (c *SageMaker) ListDevices(input *ListDevicesInput) (*ListDevicesOutput, error) {
13414	req, out := c.ListDevicesRequest(input)
13415	return out, req.Send()
13416}
13417
13418// ListDevicesWithContext is the same as ListDevices with the addition of
13419// the ability to pass a context and additional request options.
13420//
13421// See ListDevices for details on how to use this API operation.
13422//
13423// The context must be non-nil and will be used for request cancellation. If
13424// the context is nil a panic will occur. In the future the SDK may create
13425// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13426// for more information on using Contexts.
13427func (c *SageMaker) ListDevicesWithContext(ctx aws.Context, input *ListDevicesInput, opts ...request.Option) (*ListDevicesOutput, error) {
13428	req, out := c.ListDevicesRequest(input)
13429	req.SetContext(ctx)
13430	req.ApplyOptions(opts...)
13431	return out, req.Send()
13432}
13433
13434// ListDevicesPages iterates over the pages of a ListDevices operation,
13435// calling the "fn" function with the response data for each page. To stop
13436// iterating, return false from the fn function.
13437//
13438// See ListDevices method for more information on how to use this operation.
13439//
13440// Note: This operation can generate multiple requests to a service.
13441//
13442//    // Example iterating over at most 3 pages of a ListDevices operation.
13443//    pageNum := 0
13444//    err := client.ListDevicesPages(params,
13445//        func(page *sagemaker.ListDevicesOutput, lastPage bool) bool {
13446//            pageNum++
13447//            fmt.Println(page)
13448//            return pageNum <= 3
13449//        })
13450//
13451func (c *SageMaker) ListDevicesPages(input *ListDevicesInput, fn func(*ListDevicesOutput, bool) bool) error {
13452	return c.ListDevicesPagesWithContext(aws.BackgroundContext(), input, fn)
13453}
13454
13455// ListDevicesPagesWithContext same as ListDevicesPages except
13456// it takes a Context and allows setting request options on the pages.
13457//
13458// The context must be non-nil and will be used for request cancellation. If
13459// the context is nil a panic will occur. In the future the SDK may create
13460// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13461// for more information on using Contexts.
13462func (c *SageMaker) ListDevicesPagesWithContext(ctx aws.Context, input *ListDevicesInput, fn func(*ListDevicesOutput, bool) bool, opts ...request.Option) error {
13463	p := request.Pagination{
13464		NewRequest: func() (*request.Request, error) {
13465			var inCpy *ListDevicesInput
13466			if input != nil {
13467				tmp := *input
13468				inCpy = &tmp
13469			}
13470			req, _ := c.ListDevicesRequest(inCpy)
13471			req.SetContext(ctx)
13472			req.ApplyOptions(opts...)
13473			return req, nil
13474		},
13475	}
13476
13477	for p.Next() {
13478		if !fn(p.Page().(*ListDevicesOutput), !p.HasNextPage()) {
13479			break
13480		}
13481	}
13482
13483	return p.Err()
13484}
13485
13486const opListDomains = "ListDomains"
13487
13488// ListDomainsRequest generates a "aws/request.Request" representing the
13489// client's request for the ListDomains operation. The "output" return
13490// value will be populated with the request's response once the request completes
13491// successfully.
13492//
13493// Use "Send" method on the returned Request to send the API call to the service.
13494// the "output" return value is not valid until after Send returns without error.
13495//
13496// See ListDomains for more information on using the ListDomains
13497// API call, and error handling.
13498//
13499// This method is useful when you want to inject custom logic or configuration
13500// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13501//
13502//
13503//    // Example sending a request using the ListDomainsRequest method.
13504//    req, resp := client.ListDomainsRequest(params)
13505//
13506//    err := req.Send()
13507//    if err == nil { // resp is now filled
13508//        fmt.Println(resp)
13509//    }
13510//
13511// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDomains
13512func (c *SageMaker) ListDomainsRequest(input *ListDomainsInput) (req *request.Request, output *ListDomainsOutput) {
13513	op := &request.Operation{
13514		Name:       opListDomains,
13515		HTTPMethod: "POST",
13516		HTTPPath:   "/",
13517		Paginator: &request.Paginator{
13518			InputTokens:     []string{"NextToken"},
13519			OutputTokens:    []string{"NextToken"},
13520			LimitToken:      "MaxResults",
13521			TruncationToken: "",
13522		},
13523	}
13524
13525	if input == nil {
13526		input = &ListDomainsInput{}
13527	}
13528
13529	output = &ListDomainsOutput{}
13530	req = c.newRequest(op, input, output)
13531	return
13532}
13533
13534// ListDomains API operation for Amazon SageMaker Service.
13535//
13536// Lists the domains.
13537//
13538// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13539// with awserr.Error's Code and Message methods to get detailed information about
13540// the error.
13541//
13542// See the AWS API reference guide for Amazon SageMaker Service's
13543// API operation ListDomains for usage and error information.
13544// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDomains
13545func (c *SageMaker) ListDomains(input *ListDomainsInput) (*ListDomainsOutput, error) {
13546	req, out := c.ListDomainsRequest(input)
13547	return out, req.Send()
13548}
13549
13550// ListDomainsWithContext is the same as ListDomains with the addition of
13551// the ability to pass a context and additional request options.
13552//
13553// See ListDomains for details on how to use this API operation.
13554//
13555// The context must be non-nil and will be used for request cancellation. If
13556// the context is nil a panic will occur. In the future the SDK may create
13557// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13558// for more information on using Contexts.
13559func (c *SageMaker) ListDomainsWithContext(ctx aws.Context, input *ListDomainsInput, opts ...request.Option) (*ListDomainsOutput, error) {
13560	req, out := c.ListDomainsRequest(input)
13561	req.SetContext(ctx)
13562	req.ApplyOptions(opts...)
13563	return out, req.Send()
13564}
13565
13566// ListDomainsPages iterates over the pages of a ListDomains operation,
13567// calling the "fn" function with the response data for each page. To stop
13568// iterating, return false from the fn function.
13569//
13570// See ListDomains method for more information on how to use this operation.
13571//
13572// Note: This operation can generate multiple requests to a service.
13573//
13574//    // Example iterating over at most 3 pages of a ListDomains operation.
13575//    pageNum := 0
13576//    err := client.ListDomainsPages(params,
13577//        func(page *sagemaker.ListDomainsOutput, lastPage bool) bool {
13578//            pageNum++
13579//            fmt.Println(page)
13580//            return pageNum <= 3
13581//        })
13582//
13583func (c *SageMaker) ListDomainsPages(input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool) error {
13584	return c.ListDomainsPagesWithContext(aws.BackgroundContext(), input, fn)
13585}
13586
13587// ListDomainsPagesWithContext same as ListDomainsPages except
13588// it takes a Context and allows setting request options on the pages.
13589//
13590// The context must be non-nil and will be used for request cancellation. If
13591// the context is nil a panic will occur. In the future the SDK may create
13592// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13593// for more information on using Contexts.
13594func (c *SageMaker) ListDomainsPagesWithContext(ctx aws.Context, input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool, opts ...request.Option) error {
13595	p := request.Pagination{
13596		NewRequest: func() (*request.Request, error) {
13597			var inCpy *ListDomainsInput
13598			if input != nil {
13599				tmp := *input
13600				inCpy = &tmp
13601			}
13602			req, _ := c.ListDomainsRequest(inCpy)
13603			req.SetContext(ctx)
13604			req.ApplyOptions(opts...)
13605			return req, nil
13606		},
13607	}
13608
13609	for p.Next() {
13610		if !fn(p.Page().(*ListDomainsOutput), !p.HasNextPage()) {
13611			break
13612		}
13613	}
13614
13615	return p.Err()
13616}
13617
13618const opListEdgePackagingJobs = "ListEdgePackagingJobs"
13619
13620// ListEdgePackagingJobsRequest generates a "aws/request.Request" representing the
13621// client's request for the ListEdgePackagingJobs operation. The "output" return
13622// value will be populated with the request's response once the request completes
13623// successfully.
13624//
13625// Use "Send" method on the returned Request to send the API call to the service.
13626// the "output" return value is not valid until after Send returns without error.
13627//
13628// See ListEdgePackagingJobs for more information on using the ListEdgePackagingJobs
13629// API call, and error handling.
13630//
13631// This method is useful when you want to inject custom logic or configuration
13632// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13633//
13634//
13635//    // Example sending a request using the ListEdgePackagingJobsRequest method.
13636//    req, resp := client.ListEdgePackagingJobsRequest(params)
13637//
13638//    err := req.Send()
13639//    if err == nil { // resp is now filled
13640//        fmt.Println(resp)
13641//    }
13642//
13643// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEdgePackagingJobs
13644func (c *SageMaker) ListEdgePackagingJobsRequest(input *ListEdgePackagingJobsInput) (req *request.Request, output *ListEdgePackagingJobsOutput) {
13645	op := &request.Operation{
13646		Name:       opListEdgePackagingJobs,
13647		HTTPMethod: "POST",
13648		HTTPPath:   "/",
13649		Paginator: &request.Paginator{
13650			InputTokens:     []string{"NextToken"},
13651			OutputTokens:    []string{"NextToken"},
13652			LimitToken:      "MaxResults",
13653			TruncationToken: "",
13654		},
13655	}
13656
13657	if input == nil {
13658		input = &ListEdgePackagingJobsInput{}
13659	}
13660
13661	output = &ListEdgePackagingJobsOutput{}
13662	req = c.newRequest(op, input, output)
13663	return
13664}
13665
13666// ListEdgePackagingJobs API operation for Amazon SageMaker Service.
13667//
13668// Returns a list of edge packaging jobs.
13669//
13670// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13671// with awserr.Error's Code and Message methods to get detailed information about
13672// the error.
13673//
13674// See the AWS API reference guide for Amazon SageMaker Service's
13675// API operation ListEdgePackagingJobs for usage and error information.
13676// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEdgePackagingJobs
13677func (c *SageMaker) ListEdgePackagingJobs(input *ListEdgePackagingJobsInput) (*ListEdgePackagingJobsOutput, error) {
13678	req, out := c.ListEdgePackagingJobsRequest(input)
13679	return out, req.Send()
13680}
13681
13682// ListEdgePackagingJobsWithContext is the same as ListEdgePackagingJobs with the addition of
13683// the ability to pass a context and additional request options.
13684//
13685// See ListEdgePackagingJobs for details on how to use this API operation.
13686//
13687// The context must be non-nil and will be used for request cancellation. If
13688// the context is nil a panic will occur. In the future the SDK may create
13689// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13690// for more information on using Contexts.
13691func (c *SageMaker) ListEdgePackagingJobsWithContext(ctx aws.Context, input *ListEdgePackagingJobsInput, opts ...request.Option) (*ListEdgePackagingJobsOutput, error) {
13692	req, out := c.ListEdgePackagingJobsRequest(input)
13693	req.SetContext(ctx)
13694	req.ApplyOptions(opts...)
13695	return out, req.Send()
13696}
13697
13698// ListEdgePackagingJobsPages iterates over the pages of a ListEdgePackagingJobs operation,
13699// calling the "fn" function with the response data for each page. To stop
13700// iterating, return false from the fn function.
13701//
13702// See ListEdgePackagingJobs method for more information on how to use this operation.
13703//
13704// Note: This operation can generate multiple requests to a service.
13705//
13706//    // Example iterating over at most 3 pages of a ListEdgePackagingJobs operation.
13707//    pageNum := 0
13708//    err := client.ListEdgePackagingJobsPages(params,
13709//        func(page *sagemaker.ListEdgePackagingJobsOutput, lastPage bool) bool {
13710//            pageNum++
13711//            fmt.Println(page)
13712//            return pageNum <= 3
13713//        })
13714//
13715func (c *SageMaker) ListEdgePackagingJobsPages(input *ListEdgePackagingJobsInput, fn func(*ListEdgePackagingJobsOutput, bool) bool) error {
13716	return c.ListEdgePackagingJobsPagesWithContext(aws.BackgroundContext(), input, fn)
13717}
13718
13719// ListEdgePackagingJobsPagesWithContext same as ListEdgePackagingJobsPages except
13720// it takes a Context and allows setting request options on the pages.
13721//
13722// The context must be non-nil and will be used for request cancellation. If
13723// the context is nil a panic will occur. In the future the SDK may create
13724// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13725// for more information on using Contexts.
13726func (c *SageMaker) ListEdgePackagingJobsPagesWithContext(ctx aws.Context, input *ListEdgePackagingJobsInput, fn func(*ListEdgePackagingJobsOutput, bool) bool, opts ...request.Option) error {
13727	p := request.Pagination{
13728		NewRequest: func() (*request.Request, error) {
13729			var inCpy *ListEdgePackagingJobsInput
13730			if input != nil {
13731				tmp := *input
13732				inCpy = &tmp
13733			}
13734			req, _ := c.ListEdgePackagingJobsRequest(inCpy)
13735			req.SetContext(ctx)
13736			req.ApplyOptions(opts...)
13737			return req, nil
13738		},
13739	}
13740
13741	for p.Next() {
13742		if !fn(p.Page().(*ListEdgePackagingJobsOutput), !p.HasNextPage()) {
13743			break
13744		}
13745	}
13746
13747	return p.Err()
13748}
13749
13750const opListEndpointConfigs = "ListEndpointConfigs"
13751
13752// ListEndpointConfigsRequest generates a "aws/request.Request" representing the
13753// client's request for the ListEndpointConfigs operation. The "output" return
13754// value will be populated with the request's response once the request completes
13755// successfully.
13756//
13757// Use "Send" method on the returned Request to send the API call to the service.
13758// the "output" return value is not valid until after Send returns without error.
13759//
13760// See ListEndpointConfigs for more information on using the ListEndpointConfigs
13761// API call, and error handling.
13762//
13763// This method is useful when you want to inject custom logic or configuration
13764// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13765//
13766//
13767//    // Example sending a request using the ListEndpointConfigsRequest method.
13768//    req, resp := client.ListEndpointConfigsRequest(params)
13769//
13770//    err := req.Send()
13771//    if err == nil { // resp is now filled
13772//        fmt.Println(resp)
13773//    }
13774//
13775// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpointConfigs
13776func (c *SageMaker) ListEndpointConfigsRequest(input *ListEndpointConfigsInput) (req *request.Request, output *ListEndpointConfigsOutput) {
13777	op := &request.Operation{
13778		Name:       opListEndpointConfigs,
13779		HTTPMethod: "POST",
13780		HTTPPath:   "/",
13781		Paginator: &request.Paginator{
13782			InputTokens:     []string{"NextToken"},
13783			OutputTokens:    []string{"NextToken"},
13784			LimitToken:      "MaxResults",
13785			TruncationToken: "",
13786		},
13787	}
13788
13789	if input == nil {
13790		input = &ListEndpointConfigsInput{}
13791	}
13792
13793	output = &ListEndpointConfigsOutput{}
13794	req = c.newRequest(op, input, output)
13795	return
13796}
13797
13798// ListEndpointConfigs API operation for Amazon SageMaker Service.
13799//
13800// Lists endpoint configurations.
13801//
13802// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13803// with awserr.Error's Code and Message methods to get detailed information about
13804// the error.
13805//
13806// See the AWS API reference guide for Amazon SageMaker Service's
13807// API operation ListEndpointConfigs for usage and error information.
13808// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpointConfigs
13809func (c *SageMaker) ListEndpointConfigs(input *ListEndpointConfigsInput) (*ListEndpointConfigsOutput, error) {
13810	req, out := c.ListEndpointConfigsRequest(input)
13811	return out, req.Send()
13812}
13813
13814// ListEndpointConfigsWithContext is the same as ListEndpointConfigs with the addition of
13815// the ability to pass a context and additional request options.
13816//
13817// See ListEndpointConfigs for details on how to use this API operation.
13818//
13819// The context must be non-nil and will be used for request cancellation. If
13820// the context is nil a panic will occur. In the future the SDK may create
13821// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13822// for more information on using Contexts.
13823func (c *SageMaker) ListEndpointConfigsWithContext(ctx aws.Context, input *ListEndpointConfigsInput, opts ...request.Option) (*ListEndpointConfigsOutput, error) {
13824	req, out := c.ListEndpointConfigsRequest(input)
13825	req.SetContext(ctx)
13826	req.ApplyOptions(opts...)
13827	return out, req.Send()
13828}
13829
13830// ListEndpointConfigsPages iterates over the pages of a ListEndpointConfigs operation,
13831// calling the "fn" function with the response data for each page. To stop
13832// iterating, return false from the fn function.
13833//
13834// See ListEndpointConfigs method for more information on how to use this operation.
13835//
13836// Note: This operation can generate multiple requests to a service.
13837//
13838//    // Example iterating over at most 3 pages of a ListEndpointConfigs operation.
13839//    pageNum := 0
13840//    err := client.ListEndpointConfigsPages(params,
13841//        func(page *sagemaker.ListEndpointConfigsOutput, lastPage bool) bool {
13842//            pageNum++
13843//            fmt.Println(page)
13844//            return pageNum <= 3
13845//        })
13846//
13847func (c *SageMaker) ListEndpointConfigsPages(input *ListEndpointConfigsInput, fn func(*ListEndpointConfigsOutput, bool) bool) error {
13848	return c.ListEndpointConfigsPagesWithContext(aws.BackgroundContext(), input, fn)
13849}
13850
13851// ListEndpointConfigsPagesWithContext same as ListEndpointConfigsPages except
13852// it takes a Context and allows setting request options on the pages.
13853//
13854// The context must be non-nil and will be used for request cancellation. If
13855// the context is nil a panic will occur. In the future the SDK may create
13856// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13857// for more information on using Contexts.
13858func (c *SageMaker) ListEndpointConfigsPagesWithContext(ctx aws.Context, input *ListEndpointConfigsInput, fn func(*ListEndpointConfigsOutput, bool) bool, opts ...request.Option) error {
13859	p := request.Pagination{
13860		NewRequest: func() (*request.Request, error) {
13861			var inCpy *ListEndpointConfigsInput
13862			if input != nil {
13863				tmp := *input
13864				inCpy = &tmp
13865			}
13866			req, _ := c.ListEndpointConfigsRequest(inCpy)
13867			req.SetContext(ctx)
13868			req.ApplyOptions(opts...)
13869			return req, nil
13870		},
13871	}
13872
13873	for p.Next() {
13874		if !fn(p.Page().(*ListEndpointConfigsOutput), !p.HasNextPage()) {
13875			break
13876		}
13877	}
13878
13879	return p.Err()
13880}
13881
13882const opListEndpoints = "ListEndpoints"
13883
13884// ListEndpointsRequest generates a "aws/request.Request" representing the
13885// client's request for the ListEndpoints operation. The "output" return
13886// value will be populated with the request's response once the request completes
13887// successfully.
13888//
13889// Use "Send" method on the returned Request to send the API call to the service.
13890// the "output" return value is not valid until after Send returns without error.
13891//
13892// See ListEndpoints for more information on using the ListEndpoints
13893// API call, and error handling.
13894//
13895// This method is useful when you want to inject custom logic or configuration
13896// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13897//
13898//
13899//    // Example sending a request using the ListEndpointsRequest method.
13900//    req, resp := client.ListEndpointsRequest(params)
13901//
13902//    err := req.Send()
13903//    if err == nil { // resp is now filled
13904//        fmt.Println(resp)
13905//    }
13906//
13907// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpoints
13908func (c *SageMaker) ListEndpointsRequest(input *ListEndpointsInput) (req *request.Request, output *ListEndpointsOutput) {
13909	op := &request.Operation{
13910		Name:       opListEndpoints,
13911		HTTPMethod: "POST",
13912		HTTPPath:   "/",
13913		Paginator: &request.Paginator{
13914			InputTokens:     []string{"NextToken"},
13915			OutputTokens:    []string{"NextToken"},
13916			LimitToken:      "MaxResults",
13917			TruncationToken: "",
13918		},
13919	}
13920
13921	if input == nil {
13922		input = &ListEndpointsInput{}
13923	}
13924
13925	output = &ListEndpointsOutput{}
13926	req = c.newRequest(op, input, output)
13927	return
13928}
13929
13930// ListEndpoints API operation for Amazon SageMaker Service.
13931//
13932// Lists endpoints.
13933//
13934// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13935// with awserr.Error's Code and Message methods to get detailed information about
13936// the error.
13937//
13938// See the AWS API reference guide for Amazon SageMaker Service's
13939// API operation ListEndpoints for usage and error information.
13940// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpoints
13941func (c *SageMaker) ListEndpoints(input *ListEndpointsInput) (*ListEndpointsOutput, error) {
13942	req, out := c.ListEndpointsRequest(input)
13943	return out, req.Send()
13944}
13945
13946// ListEndpointsWithContext is the same as ListEndpoints with the addition of
13947// the ability to pass a context and additional request options.
13948//
13949// See ListEndpoints for details on how to use this API operation.
13950//
13951// The context must be non-nil and will be used for request cancellation. If
13952// the context is nil a panic will occur. In the future the SDK may create
13953// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13954// for more information on using Contexts.
13955func (c *SageMaker) ListEndpointsWithContext(ctx aws.Context, input *ListEndpointsInput, opts ...request.Option) (*ListEndpointsOutput, error) {
13956	req, out := c.ListEndpointsRequest(input)
13957	req.SetContext(ctx)
13958	req.ApplyOptions(opts...)
13959	return out, req.Send()
13960}
13961
13962// ListEndpointsPages iterates over the pages of a ListEndpoints operation,
13963// calling the "fn" function with the response data for each page. To stop
13964// iterating, return false from the fn function.
13965//
13966// See ListEndpoints method for more information on how to use this operation.
13967//
13968// Note: This operation can generate multiple requests to a service.
13969//
13970//    // Example iterating over at most 3 pages of a ListEndpoints operation.
13971//    pageNum := 0
13972//    err := client.ListEndpointsPages(params,
13973//        func(page *sagemaker.ListEndpointsOutput, lastPage bool) bool {
13974//            pageNum++
13975//            fmt.Println(page)
13976//            return pageNum <= 3
13977//        })
13978//
13979func (c *SageMaker) ListEndpointsPages(input *ListEndpointsInput, fn func(*ListEndpointsOutput, bool) bool) error {
13980	return c.ListEndpointsPagesWithContext(aws.BackgroundContext(), input, fn)
13981}
13982
13983// ListEndpointsPagesWithContext same as ListEndpointsPages except
13984// it takes a Context and allows setting request options on the pages.
13985//
13986// The context must be non-nil and will be used for request cancellation. If
13987// the context is nil a panic will occur. In the future the SDK may create
13988// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13989// for more information on using Contexts.
13990func (c *SageMaker) ListEndpointsPagesWithContext(ctx aws.Context, input *ListEndpointsInput, fn func(*ListEndpointsOutput, bool) bool, opts ...request.Option) error {
13991	p := request.Pagination{
13992		NewRequest: func() (*request.Request, error) {
13993			var inCpy *ListEndpointsInput
13994			if input != nil {
13995				tmp := *input
13996				inCpy = &tmp
13997			}
13998			req, _ := c.ListEndpointsRequest(inCpy)
13999			req.SetContext(ctx)
14000			req.ApplyOptions(opts...)
14001			return req, nil
14002		},
14003	}
14004
14005	for p.Next() {
14006		if !fn(p.Page().(*ListEndpointsOutput), !p.HasNextPage()) {
14007			break
14008		}
14009	}
14010
14011	return p.Err()
14012}
14013
14014const opListExperiments = "ListExperiments"
14015
14016// ListExperimentsRequest generates a "aws/request.Request" representing the
14017// client's request for the ListExperiments operation. The "output" return
14018// value will be populated with the request's response once the request completes
14019// successfully.
14020//
14021// Use "Send" method on the returned Request to send the API call to the service.
14022// the "output" return value is not valid until after Send returns without error.
14023//
14024// See ListExperiments for more information on using the ListExperiments
14025// API call, and error handling.
14026//
14027// This method is useful when you want to inject custom logic or configuration
14028// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14029//
14030//
14031//    // Example sending a request using the ListExperimentsRequest method.
14032//    req, resp := client.ListExperimentsRequest(params)
14033//
14034//    err := req.Send()
14035//    if err == nil { // resp is now filled
14036//        fmt.Println(resp)
14037//    }
14038//
14039// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListExperiments
14040func (c *SageMaker) ListExperimentsRequest(input *ListExperimentsInput) (req *request.Request, output *ListExperimentsOutput) {
14041	op := &request.Operation{
14042		Name:       opListExperiments,
14043		HTTPMethod: "POST",
14044		HTTPPath:   "/",
14045		Paginator: &request.Paginator{
14046			InputTokens:     []string{"NextToken"},
14047			OutputTokens:    []string{"NextToken"},
14048			LimitToken:      "MaxResults",
14049			TruncationToken: "",
14050		},
14051	}
14052
14053	if input == nil {
14054		input = &ListExperimentsInput{}
14055	}
14056
14057	output = &ListExperimentsOutput{}
14058	req = c.newRequest(op, input, output)
14059	return
14060}
14061
14062// ListExperiments API operation for Amazon SageMaker Service.
14063//
14064// Lists all the experiments in your account. The list can be filtered to show
14065// only experiments that were created in a specific time range. The list can
14066// be sorted by experiment name or creation time.
14067//
14068// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14069// with awserr.Error's Code and Message methods to get detailed information about
14070// the error.
14071//
14072// See the AWS API reference guide for Amazon SageMaker Service's
14073// API operation ListExperiments for usage and error information.
14074// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListExperiments
14075func (c *SageMaker) ListExperiments(input *ListExperimentsInput) (*ListExperimentsOutput, error) {
14076	req, out := c.ListExperimentsRequest(input)
14077	return out, req.Send()
14078}
14079
14080// ListExperimentsWithContext is the same as ListExperiments with the addition of
14081// the ability to pass a context and additional request options.
14082//
14083// See ListExperiments for details on how to use this API operation.
14084//
14085// The context must be non-nil and will be used for request cancellation. If
14086// the context is nil a panic will occur. In the future the SDK may create
14087// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14088// for more information on using Contexts.
14089func (c *SageMaker) ListExperimentsWithContext(ctx aws.Context, input *ListExperimentsInput, opts ...request.Option) (*ListExperimentsOutput, error) {
14090	req, out := c.ListExperimentsRequest(input)
14091	req.SetContext(ctx)
14092	req.ApplyOptions(opts...)
14093	return out, req.Send()
14094}
14095
14096// ListExperimentsPages iterates over the pages of a ListExperiments operation,
14097// calling the "fn" function with the response data for each page. To stop
14098// iterating, return false from the fn function.
14099//
14100// See ListExperiments method for more information on how to use this operation.
14101//
14102// Note: This operation can generate multiple requests to a service.
14103//
14104//    // Example iterating over at most 3 pages of a ListExperiments operation.
14105//    pageNum := 0
14106//    err := client.ListExperimentsPages(params,
14107//        func(page *sagemaker.ListExperimentsOutput, lastPage bool) bool {
14108//            pageNum++
14109//            fmt.Println(page)
14110//            return pageNum <= 3
14111//        })
14112//
14113func (c *SageMaker) ListExperimentsPages(input *ListExperimentsInput, fn func(*ListExperimentsOutput, bool) bool) error {
14114	return c.ListExperimentsPagesWithContext(aws.BackgroundContext(), input, fn)
14115}
14116
14117// ListExperimentsPagesWithContext same as ListExperimentsPages except
14118// it takes a Context and allows setting request options on the pages.
14119//
14120// The context must be non-nil and will be used for request cancellation. If
14121// the context is nil a panic will occur. In the future the SDK may create
14122// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14123// for more information on using Contexts.
14124func (c *SageMaker) ListExperimentsPagesWithContext(ctx aws.Context, input *ListExperimentsInput, fn func(*ListExperimentsOutput, bool) bool, opts ...request.Option) error {
14125	p := request.Pagination{
14126		NewRequest: func() (*request.Request, error) {
14127			var inCpy *ListExperimentsInput
14128			if input != nil {
14129				tmp := *input
14130				inCpy = &tmp
14131			}
14132			req, _ := c.ListExperimentsRequest(inCpy)
14133			req.SetContext(ctx)
14134			req.ApplyOptions(opts...)
14135			return req, nil
14136		},
14137	}
14138
14139	for p.Next() {
14140		if !fn(p.Page().(*ListExperimentsOutput), !p.HasNextPage()) {
14141			break
14142		}
14143	}
14144
14145	return p.Err()
14146}
14147
14148const opListFeatureGroups = "ListFeatureGroups"
14149
14150// ListFeatureGroupsRequest generates a "aws/request.Request" representing the
14151// client's request for the ListFeatureGroups operation. The "output" return
14152// value will be populated with the request's response once the request completes
14153// successfully.
14154//
14155// Use "Send" method on the returned Request to send the API call to the service.
14156// the "output" return value is not valid until after Send returns without error.
14157//
14158// See ListFeatureGroups for more information on using the ListFeatureGroups
14159// API call, and error handling.
14160//
14161// This method is useful when you want to inject custom logic or configuration
14162// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14163//
14164//
14165//    // Example sending a request using the ListFeatureGroupsRequest method.
14166//    req, resp := client.ListFeatureGroupsRequest(params)
14167//
14168//    err := req.Send()
14169//    if err == nil { // resp is now filled
14170//        fmt.Println(resp)
14171//    }
14172//
14173// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListFeatureGroups
14174func (c *SageMaker) ListFeatureGroupsRequest(input *ListFeatureGroupsInput) (req *request.Request, output *ListFeatureGroupsOutput) {
14175	op := &request.Operation{
14176		Name:       opListFeatureGroups,
14177		HTTPMethod: "POST",
14178		HTTPPath:   "/",
14179		Paginator: &request.Paginator{
14180			InputTokens:     []string{"NextToken"},
14181			OutputTokens:    []string{"NextToken"},
14182			LimitToken:      "MaxResults",
14183			TruncationToken: "",
14184		},
14185	}
14186
14187	if input == nil {
14188		input = &ListFeatureGroupsInput{}
14189	}
14190
14191	output = &ListFeatureGroupsOutput{}
14192	req = c.newRequest(op, input, output)
14193	return
14194}
14195
14196// ListFeatureGroups API operation for Amazon SageMaker Service.
14197//
14198// List FeatureGroups based on given filter and order.
14199//
14200// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14201// with awserr.Error's Code and Message methods to get detailed information about
14202// the error.
14203//
14204// See the AWS API reference guide for Amazon SageMaker Service's
14205// API operation ListFeatureGroups for usage and error information.
14206// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListFeatureGroups
14207func (c *SageMaker) ListFeatureGroups(input *ListFeatureGroupsInput) (*ListFeatureGroupsOutput, error) {
14208	req, out := c.ListFeatureGroupsRequest(input)
14209	return out, req.Send()
14210}
14211
14212// ListFeatureGroupsWithContext is the same as ListFeatureGroups with the addition of
14213// the ability to pass a context and additional request options.
14214//
14215// See ListFeatureGroups for details on how to use this API operation.
14216//
14217// The context must be non-nil and will be used for request cancellation. If
14218// the context is nil a panic will occur. In the future the SDK may create
14219// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14220// for more information on using Contexts.
14221func (c *SageMaker) ListFeatureGroupsWithContext(ctx aws.Context, input *ListFeatureGroupsInput, opts ...request.Option) (*ListFeatureGroupsOutput, error) {
14222	req, out := c.ListFeatureGroupsRequest(input)
14223	req.SetContext(ctx)
14224	req.ApplyOptions(opts...)
14225	return out, req.Send()
14226}
14227
14228// ListFeatureGroupsPages iterates over the pages of a ListFeatureGroups operation,
14229// calling the "fn" function with the response data for each page. To stop
14230// iterating, return false from the fn function.
14231//
14232// See ListFeatureGroups method for more information on how to use this operation.
14233//
14234// Note: This operation can generate multiple requests to a service.
14235//
14236//    // Example iterating over at most 3 pages of a ListFeatureGroups operation.
14237//    pageNum := 0
14238//    err := client.ListFeatureGroupsPages(params,
14239//        func(page *sagemaker.ListFeatureGroupsOutput, lastPage bool) bool {
14240//            pageNum++
14241//            fmt.Println(page)
14242//            return pageNum <= 3
14243//        })
14244//
14245func (c *SageMaker) ListFeatureGroupsPages(input *ListFeatureGroupsInput, fn func(*ListFeatureGroupsOutput, bool) bool) error {
14246	return c.ListFeatureGroupsPagesWithContext(aws.BackgroundContext(), input, fn)
14247}
14248
14249// ListFeatureGroupsPagesWithContext same as ListFeatureGroupsPages except
14250// it takes a Context and allows setting request options on the pages.
14251//
14252// The context must be non-nil and will be used for request cancellation. If
14253// the context is nil a panic will occur. In the future the SDK may create
14254// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14255// for more information on using Contexts.
14256func (c *SageMaker) ListFeatureGroupsPagesWithContext(ctx aws.Context, input *ListFeatureGroupsInput, fn func(*ListFeatureGroupsOutput, bool) bool, opts ...request.Option) error {
14257	p := request.Pagination{
14258		NewRequest: func() (*request.Request, error) {
14259			var inCpy *ListFeatureGroupsInput
14260			if input != nil {
14261				tmp := *input
14262				inCpy = &tmp
14263			}
14264			req, _ := c.ListFeatureGroupsRequest(inCpy)
14265			req.SetContext(ctx)
14266			req.ApplyOptions(opts...)
14267			return req, nil
14268		},
14269	}
14270
14271	for p.Next() {
14272		if !fn(p.Page().(*ListFeatureGroupsOutput), !p.HasNextPage()) {
14273			break
14274		}
14275	}
14276
14277	return p.Err()
14278}
14279
14280const opListFlowDefinitions = "ListFlowDefinitions"
14281
14282// ListFlowDefinitionsRequest generates a "aws/request.Request" representing the
14283// client's request for the ListFlowDefinitions operation. The "output" return
14284// value will be populated with the request's response once the request completes
14285// successfully.
14286//
14287// Use "Send" method on the returned Request to send the API call to the service.
14288// the "output" return value is not valid until after Send returns without error.
14289//
14290// See ListFlowDefinitions for more information on using the ListFlowDefinitions
14291// API call, and error handling.
14292//
14293// This method is useful when you want to inject custom logic or configuration
14294// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14295//
14296//
14297//    // Example sending a request using the ListFlowDefinitionsRequest method.
14298//    req, resp := client.ListFlowDefinitionsRequest(params)
14299//
14300//    err := req.Send()
14301//    if err == nil { // resp is now filled
14302//        fmt.Println(resp)
14303//    }
14304//
14305// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListFlowDefinitions
14306func (c *SageMaker) ListFlowDefinitionsRequest(input *ListFlowDefinitionsInput) (req *request.Request, output *ListFlowDefinitionsOutput) {
14307	op := &request.Operation{
14308		Name:       opListFlowDefinitions,
14309		HTTPMethod: "POST",
14310		HTTPPath:   "/",
14311		Paginator: &request.Paginator{
14312			InputTokens:     []string{"NextToken"},
14313			OutputTokens:    []string{"NextToken"},
14314			LimitToken:      "MaxResults",
14315			TruncationToken: "",
14316		},
14317	}
14318
14319	if input == nil {
14320		input = &ListFlowDefinitionsInput{}
14321	}
14322
14323	output = &ListFlowDefinitionsOutput{}
14324	req = c.newRequest(op, input, output)
14325	return
14326}
14327
14328// ListFlowDefinitions API operation for Amazon SageMaker Service.
14329//
14330// Returns information about the flow definitions in your account.
14331//
14332// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14333// with awserr.Error's Code and Message methods to get detailed information about
14334// the error.
14335//
14336// See the AWS API reference guide for Amazon SageMaker Service's
14337// API operation ListFlowDefinitions for usage and error information.
14338// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListFlowDefinitions
14339func (c *SageMaker) ListFlowDefinitions(input *ListFlowDefinitionsInput) (*ListFlowDefinitionsOutput, error) {
14340	req, out := c.ListFlowDefinitionsRequest(input)
14341	return out, req.Send()
14342}
14343
14344// ListFlowDefinitionsWithContext is the same as ListFlowDefinitions with the addition of
14345// the ability to pass a context and additional request options.
14346//
14347// See ListFlowDefinitions for details on how to use this API operation.
14348//
14349// The context must be non-nil and will be used for request cancellation. If
14350// the context is nil a panic will occur. In the future the SDK may create
14351// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14352// for more information on using Contexts.
14353func (c *SageMaker) ListFlowDefinitionsWithContext(ctx aws.Context, input *ListFlowDefinitionsInput, opts ...request.Option) (*ListFlowDefinitionsOutput, error) {
14354	req, out := c.ListFlowDefinitionsRequest(input)
14355	req.SetContext(ctx)
14356	req.ApplyOptions(opts...)
14357	return out, req.Send()
14358}
14359
14360// ListFlowDefinitionsPages iterates over the pages of a ListFlowDefinitions operation,
14361// calling the "fn" function with the response data for each page. To stop
14362// iterating, return false from the fn function.
14363//
14364// See ListFlowDefinitions method for more information on how to use this operation.
14365//
14366// Note: This operation can generate multiple requests to a service.
14367//
14368//    // Example iterating over at most 3 pages of a ListFlowDefinitions operation.
14369//    pageNum := 0
14370//    err := client.ListFlowDefinitionsPages(params,
14371//        func(page *sagemaker.ListFlowDefinitionsOutput, lastPage bool) bool {
14372//            pageNum++
14373//            fmt.Println(page)
14374//            return pageNum <= 3
14375//        })
14376//
14377func (c *SageMaker) ListFlowDefinitionsPages(input *ListFlowDefinitionsInput, fn func(*ListFlowDefinitionsOutput, bool) bool) error {
14378	return c.ListFlowDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn)
14379}
14380
14381// ListFlowDefinitionsPagesWithContext same as ListFlowDefinitionsPages except
14382// it takes a Context and allows setting request options on the pages.
14383//
14384// The context must be non-nil and will be used for request cancellation. If
14385// the context is nil a panic will occur. In the future the SDK may create
14386// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14387// for more information on using Contexts.
14388func (c *SageMaker) ListFlowDefinitionsPagesWithContext(ctx aws.Context, input *ListFlowDefinitionsInput, fn func(*ListFlowDefinitionsOutput, bool) bool, opts ...request.Option) error {
14389	p := request.Pagination{
14390		NewRequest: func() (*request.Request, error) {
14391			var inCpy *ListFlowDefinitionsInput
14392			if input != nil {
14393				tmp := *input
14394				inCpy = &tmp
14395			}
14396			req, _ := c.ListFlowDefinitionsRequest(inCpy)
14397			req.SetContext(ctx)
14398			req.ApplyOptions(opts...)
14399			return req, nil
14400		},
14401	}
14402
14403	for p.Next() {
14404		if !fn(p.Page().(*ListFlowDefinitionsOutput), !p.HasNextPage()) {
14405			break
14406		}
14407	}
14408
14409	return p.Err()
14410}
14411
14412const opListHumanTaskUis = "ListHumanTaskUis"
14413
14414// ListHumanTaskUisRequest generates a "aws/request.Request" representing the
14415// client's request for the ListHumanTaskUis operation. The "output" return
14416// value will be populated with the request's response once the request completes
14417// successfully.
14418//
14419// Use "Send" method on the returned Request to send the API call to the service.
14420// the "output" return value is not valid until after Send returns without error.
14421//
14422// See ListHumanTaskUis for more information on using the ListHumanTaskUis
14423// API call, and error handling.
14424//
14425// This method is useful when you want to inject custom logic or configuration
14426// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14427//
14428//
14429//    // Example sending a request using the ListHumanTaskUisRequest method.
14430//    req, resp := client.ListHumanTaskUisRequest(params)
14431//
14432//    err := req.Send()
14433//    if err == nil { // resp is now filled
14434//        fmt.Println(resp)
14435//    }
14436//
14437// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHumanTaskUis
14438func (c *SageMaker) ListHumanTaskUisRequest(input *ListHumanTaskUisInput) (req *request.Request, output *ListHumanTaskUisOutput) {
14439	op := &request.Operation{
14440		Name:       opListHumanTaskUis,
14441		HTTPMethod: "POST",
14442		HTTPPath:   "/",
14443		Paginator: &request.Paginator{
14444			InputTokens:     []string{"NextToken"},
14445			OutputTokens:    []string{"NextToken"},
14446			LimitToken:      "MaxResults",
14447			TruncationToken: "",
14448		},
14449	}
14450
14451	if input == nil {
14452		input = &ListHumanTaskUisInput{}
14453	}
14454
14455	output = &ListHumanTaskUisOutput{}
14456	req = c.newRequest(op, input, output)
14457	return
14458}
14459
14460// ListHumanTaskUis API operation for Amazon SageMaker Service.
14461//
14462// Returns information about the human task user interfaces in your account.
14463//
14464// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14465// with awserr.Error's Code and Message methods to get detailed information about
14466// the error.
14467//
14468// See the AWS API reference guide for Amazon SageMaker Service's
14469// API operation ListHumanTaskUis for usage and error information.
14470// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHumanTaskUis
14471func (c *SageMaker) ListHumanTaskUis(input *ListHumanTaskUisInput) (*ListHumanTaskUisOutput, error) {
14472	req, out := c.ListHumanTaskUisRequest(input)
14473	return out, req.Send()
14474}
14475
14476// ListHumanTaskUisWithContext is the same as ListHumanTaskUis with the addition of
14477// the ability to pass a context and additional request options.
14478//
14479// See ListHumanTaskUis for details on how to use this API operation.
14480//
14481// The context must be non-nil and will be used for request cancellation. If
14482// the context is nil a panic will occur. In the future the SDK may create
14483// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14484// for more information on using Contexts.
14485func (c *SageMaker) ListHumanTaskUisWithContext(ctx aws.Context, input *ListHumanTaskUisInput, opts ...request.Option) (*ListHumanTaskUisOutput, error) {
14486	req, out := c.ListHumanTaskUisRequest(input)
14487	req.SetContext(ctx)
14488	req.ApplyOptions(opts...)
14489	return out, req.Send()
14490}
14491
14492// ListHumanTaskUisPages iterates over the pages of a ListHumanTaskUis operation,
14493// calling the "fn" function with the response data for each page. To stop
14494// iterating, return false from the fn function.
14495//
14496// See ListHumanTaskUis method for more information on how to use this operation.
14497//
14498// Note: This operation can generate multiple requests to a service.
14499//
14500//    // Example iterating over at most 3 pages of a ListHumanTaskUis operation.
14501//    pageNum := 0
14502//    err := client.ListHumanTaskUisPages(params,
14503//        func(page *sagemaker.ListHumanTaskUisOutput, lastPage bool) bool {
14504//            pageNum++
14505//            fmt.Println(page)
14506//            return pageNum <= 3
14507//        })
14508//
14509func (c *SageMaker) ListHumanTaskUisPages(input *ListHumanTaskUisInput, fn func(*ListHumanTaskUisOutput, bool) bool) error {
14510	return c.ListHumanTaskUisPagesWithContext(aws.BackgroundContext(), input, fn)
14511}
14512
14513// ListHumanTaskUisPagesWithContext same as ListHumanTaskUisPages except
14514// it takes a Context and allows setting request options on the pages.
14515//
14516// The context must be non-nil and will be used for request cancellation. If
14517// the context is nil a panic will occur. In the future the SDK may create
14518// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14519// for more information on using Contexts.
14520func (c *SageMaker) ListHumanTaskUisPagesWithContext(ctx aws.Context, input *ListHumanTaskUisInput, fn func(*ListHumanTaskUisOutput, bool) bool, opts ...request.Option) error {
14521	p := request.Pagination{
14522		NewRequest: func() (*request.Request, error) {
14523			var inCpy *ListHumanTaskUisInput
14524			if input != nil {
14525				tmp := *input
14526				inCpy = &tmp
14527			}
14528			req, _ := c.ListHumanTaskUisRequest(inCpy)
14529			req.SetContext(ctx)
14530			req.ApplyOptions(opts...)
14531			return req, nil
14532		},
14533	}
14534
14535	for p.Next() {
14536		if !fn(p.Page().(*ListHumanTaskUisOutput), !p.HasNextPage()) {
14537			break
14538		}
14539	}
14540
14541	return p.Err()
14542}
14543
14544const opListHyperParameterTuningJobs = "ListHyperParameterTuningJobs"
14545
14546// ListHyperParameterTuningJobsRequest generates a "aws/request.Request" representing the
14547// client's request for the ListHyperParameterTuningJobs operation. The "output" return
14548// value will be populated with the request's response once the request completes
14549// successfully.
14550//
14551// Use "Send" method on the returned Request to send the API call to the service.
14552// the "output" return value is not valid until after Send returns without error.
14553//
14554// See ListHyperParameterTuningJobs for more information on using the ListHyperParameterTuningJobs
14555// API call, and error handling.
14556//
14557// This method is useful when you want to inject custom logic or configuration
14558// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14559//
14560//
14561//    // Example sending a request using the ListHyperParameterTuningJobsRequest method.
14562//    req, resp := client.ListHyperParameterTuningJobsRequest(params)
14563//
14564//    err := req.Send()
14565//    if err == nil { // resp is now filled
14566//        fmt.Println(resp)
14567//    }
14568//
14569// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHyperParameterTuningJobs
14570func (c *SageMaker) ListHyperParameterTuningJobsRequest(input *ListHyperParameterTuningJobsInput) (req *request.Request, output *ListHyperParameterTuningJobsOutput) {
14571	op := &request.Operation{
14572		Name:       opListHyperParameterTuningJobs,
14573		HTTPMethod: "POST",
14574		HTTPPath:   "/",
14575		Paginator: &request.Paginator{
14576			InputTokens:     []string{"NextToken"},
14577			OutputTokens:    []string{"NextToken"},
14578			LimitToken:      "MaxResults",
14579			TruncationToken: "",
14580		},
14581	}
14582
14583	if input == nil {
14584		input = &ListHyperParameterTuningJobsInput{}
14585	}
14586
14587	output = &ListHyperParameterTuningJobsOutput{}
14588	req = c.newRequest(op, input, output)
14589	return
14590}
14591
14592// ListHyperParameterTuningJobs API operation for Amazon SageMaker Service.
14593//
14594// Gets a list of HyperParameterTuningJobSummary objects that describe the hyperparameter
14595// tuning jobs launched in your account.
14596//
14597// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14598// with awserr.Error's Code and Message methods to get detailed information about
14599// the error.
14600//
14601// See the AWS API reference guide for Amazon SageMaker Service's
14602// API operation ListHyperParameterTuningJobs for usage and error information.
14603// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHyperParameterTuningJobs
14604func (c *SageMaker) ListHyperParameterTuningJobs(input *ListHyperParameterTuningJobsInput) (*ListHyperParameterTuningJobsOutput, error) {
14605	req, out := c.ListHyperParameterTuningJobsRequest(input)
14606	return out, req.Send()
14607}
14608
14609// ListHyperParameterTuningJobsWithContext is the same as ListHyperParameterTuningJobs with the addition of
14610// the ability to pass a context and additional request options.
14611//
14612// See ListHyperParameterTuningJobs for details on how to use this API operation.
14613//
14614// The context must be non-nil and will be used for request cancellation. If
14615// the context is nil a panic will occur. In the future the SDK may create
14616// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14617// for more information on using Contexts.
14618func (c *SageMaker) ListHyperParameterTuningJobsWithContext(ctx aws.Context, input *ListHyperParameterTuningJobsInput, opts ...request.Option) (*ListHyperParameterTuningJobsOutput, error) {
14619	req, out := c.ListHyperParameterTuningJobsRequest(input)
14620	req.SetContext(ctx)
14621	req.ApplyOptions(opts...)
14622	return out, req.Send()
14623}
14624
14625// ListHyperParameterTuningJobsPages iterates over the pages of a ListHyperParameterTuningJobs operation,
14626// calling the "fn" function with the response data for each page. To stop
14627// iterating, return false from the fn function.
14628//
14629// See ListHyperParameterTuningJobs method for more information on how to use this operation.
14630//
14631// Note: This operation can generate multiple requests to a service.
14632//
14633//    // Example iterating over at most 3 pages of a ListHyperParameterTuningJobs operation.
14634//    pageNum := 0
14635//    err := client.ListHyperParameterTuningJobsPages(params,
14636//        func(page *sagemaker.ListHyperParameterTuningJobsOutput, lastPage bool) bool {
14637//            pageNum++
14638//            fmt.Println(page)
14639//            return pageNum <= 3
14640//        })
14641//
14642func (c *SageMaker) ListHyperParameterTuningJobsPages(input *ListHyperParameterTuningJobsInput, fn func(*ListHyperParameterTuningJobsOutput, bool) bool) error {
14643	return c.ListHyperParameterTuningJobsPagesWithContext(aws.BackgroundContext(), input, fn)
14644}
14645
14646// ListHyperParameterTuningJobsPagesWithContext same as ListHyperParameterTuningJobsPages except
14647// it takes a Context and allows setting request options on the pages.
14648//
14649// The context must be non-nil and will be used for request cancellation. If
14650// the context is nil a panic will occur. In the future the SDK may create
14651// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14652// for more information on using Contexts.
14653func (c *SageMaker) ListHyperParameterTuningJobsPagesWithContext(ctx aws.Context, input *ListHyperParameterTuningJobsInput, fn func(*ListHyperParameterTuningJobsOutput, bool) bool, opts ...request.Option) error {
14654	p := request.Pagination{
14655		NewRequest: func() (*request.Request, error) {
14656			var inCpy *ListHyperParameterTuningJobsInput
14657			if input != nil {
14658				tmp := *input
14659				inCpy = &tmp
14660			}
14661			req, _ := c.ListHyperParameterTuningJobsRequest(inCpy)
14662			req.SetContext(ctx)
14663			req.ApplyOptions(opts...)
14664			return req, nil
14665		},
14666	}
14667
14668	for p.Next() {
14669		if !fn(p.Page().(*ListHyperParameterTuningJobsOutput), !p.HasNextPage()) {
14670			break
14671		}
14672	}
14673
14674	return p.Err()
14675}
14676
14677const opListImageVersions = "ListImageVersions"
14678
14679// ListImageVersionsRequest generates a "aws/request.Request" representing the
14680// client's request for the ListImageVersions operation. The "output" return
14681// value will be populated with the request's response once the request completes
14682// successfully.
14683//
14684// Use "Send" method on the returned Request to send the API call to the service.
14685// the "output" return value is not valid until after Send returns without error.
14686//
14687// See ListImageVersions for more information on using the ListImageVersions
14688// API call, and error handling.
14689//
14690// This method is useful when you want to inject custom logic or configuration
14691// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14692//
14693//
14694//    // Example sending a request using the ListImageVersionsRequest method.
14695//    req, resp := client.ListImageVersionsRequest(params)
14696//
14697//    err := req.Send()
14698//    if err == nil { // resp is now filled
14699//        fmt.Println(resp)
14700//    }
14701//
14702// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListImageVersions
14703func (c *SageMaker) ListImageVersionsRequest(input *ListImageVersionsInput) (req *request.Request, output *ListImageVersionsOutput) {
14704	op := &request.Operation{
14705		Name:       opListImageVersions,
14706		HTTPMethod: "POST",
14707		HTTPPath:   "/",
14708		Paginator: &request.Paginator{
14709			InputTokens:     []string{"NextToken"},
14710			OutputTokens:    []string{"NextToken"},
14711			LimitToken:      "MaxResults",
14712			TruncationToken: "",
14713		},
14714	}
14715
14716	if input == nil {
14717		input = &ListImageVersionsInput{}
14718	}
14719
14720	output = &ListImageVersionsOutput{}
14721	req = c.newRequest(op, input, output)
14722	return
14723}
14724
14725// ListImageVersions API operation for Amazon SageMaker Service.
14726//
14727// Lists the versions of a specified image and their properties. The list can
14728// be filtered by creation time or modified time.
14729//
14730// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14731// with awserr.Error's Code and Message methods to get detailed information about
14732// the error.
14733//
14734// See the AWS API reference guide for Amazon SageMaker Service's
14735// API operation ListImageVersions for usage and error information.
14736//
14737// Returned Error Types:
14738//   * ResourceNotFound
14739//   Resource being access is not found.
14740//
14741// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListImageVersions
14742func (c *SageMaker) ListImageVersions(input *ListImageVersionsInput) (*ListImageVersionsOutput, error) {
14743	req, out := c.ListImageVersionsRequest(input)
14744	return out, req.Send()
14745}
14746
14747// ListImageVersionsWithContext is the same as ListImageVersions with the addition of
14748// the ability to pass a context and additional request options.
14749//
14750// See ListImageVersions for details on how to use this API operation.
14751//
14752// The context must be non-nil and will be used for request cancellation. If
14753// the context is nil a panic will occur. In the future the SDK may create
14754// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14755// for more information on using Contexts.
14756func (c *SageMaker) ListImageVersionsWithContext(ctx aws.Context, input *ListImageVersionsInput, opts ...request.Option) (*ListImageVersionsOutput, error) {
14757	req, out := c.ListImageVersionsRequest(input)
14758	req.SetContext(ctx)
14759	req.ApplyOptions(opts...)
14760	return out, req.Send()
14761}
14762
14763// ListImageVersionsPages iterates over the pages of a ListImageVersions operation,
14764// calling the "fn" function with the response data for each page. To stop
14765// iterating, return false from the fn function.
14766//
14767// See ListImageVersions method for more information on how to use this operation.
14768//
14769// Note: This operation can generate multiple requests to a service.
14770//
14771//    // Example iterating over at most 3 pages of a ListImageVersions operation.
14772//    pageNum := 0
14773//    err := client.ListImageVersionsPages(params,
14774//        func(page *sagemaker.ListImageVersionsOutput, lastPage bool) bool {
14775//            pageNum++
14776//            fmt.Println(page)
14777//            return pageNum <= 3
14778//        })
14779//
14780func (c *SageMaker) ListImageVersionsPages(input *ListImageVersionsInput, fn func(*ListImageVersionsOutput, bool) bool) error {
14781	return c.ListImageVersionsPagesWithContext(aws.BackgroundContext(), input, fn)
14782}
14783
14784// ListImageVersionsPagesWithContext same as ListImageVersionsPages except
14785// it takes a Context and allows setting request options on the pages.
14786//
14787// The context must be non-nil and will be used for request cancellation. If
14788// the context is nil a panic will occur. In the future the SDK may create
14789// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14790// for more information on using Contexts.
14791func (c *SageMaker) ListImageVersionsPagesWithContext(ctx aws.Context, input *ListImageVersionsInput, fn func(*ListImageVersionsOutput, bool) bool, opts ...request.Option) error {
14792	p := request.Pagination{
14793		NewRequest: func() (*request.Request, error) {
14794			var inCpy *ListImageVersionsInput
14795			if input != nil {
14796				tmp := *input
14797				inCpy = &tmp
14798			}
14799			req, _ := c.ListImageVersionsRequest(inCpy)
14800			req.SetContext(ctx)
14801			req.ApplyOptions(opts...)
14802			return req, nil
14803		},
14804	}
14805
14806	for p.Next() {
14807		if !fn(p.Page().(*ListImageVersionsOutput), !p.HasNextPage()) {
14808			break
14809		}
14810	}
14811
14812	return p.Err()
14813}
14814
14815const opListImages = "ListImages"
14816
14817// ListImagesRequest generates a "aws/request.Request" representing the
14818// client's request for the ListImages operation. The "output" return
14819// value will be populated with the request's response once the request completes
14820// successfully.
14821//
14822// Use "Send" method on the returned Request to send the API call to the service.
14823// the "output" return value is not valid until after Send returns without error.
14824//
14825// See ListImages for more information on using the ListImages
14826// API call, and error handling.
14827//
14828// This method is useful when you want to inject custom logic or configuration
14829// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14830//
14831//
14832//    // Example sending a request using the ListImagesRequest method.
14833//    req, resp := client.ListImagesRequest(params)
14834//
14835//    err := req.Send()
14836//    if err == nil { // resp is now filled
14837//        fmt.Println(resp)
14838//    }
14839//
14840// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListImages
14841func (c *SageMaker) ListImagesRequest(input *ListImagesInput) (req *request.Request, output *ListImagesOutput) {
14842	op := &request.Operation{
14843		Name:       opListImages,
14844		HTTPMethod: "POST",
14845		HTTPPath:   "/",
14846		Paginator: &request.Paginator{
14847			InputTokens:     []string{"NextToken"},
14848			OutputTokens:    []string{"NextToken"},
14849			LimitToken:      "MaxResults",
14850			TruncationToken: "",
14851		},
14852	}
14853
14854	if input == nil {
14855		input = &ListImagesInput{}
14856	}
14857
14858	output = &ListImagesOutput{}
14859	req = c.newRequest(op, input, output)
14860	return
14861}
14862
14863// ListImages API operation for Amazon SageMaker Service.
14864//
14865// Lists the images in your account and their properties. The list can be filtered
14866// by creation time or modified time, and whether the image name contains a
14867// specified string.
14868//
14869// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14870// with awserr.Error's Code and Message methods to get detailed information about
14871// the error.
14872//
14873// See the AWS API reference guide for Amazon SageMaker Service's
14874// API operation ListImages for usage and error information.
14875// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListImages
14876func (c *SageMaker) ListImages(input *ListImagesInput) (*ListImagesOutput, error) {
14877	req, out := c.ListImagesRequest(input)
14878	return out, req.Send()
14879}
14880
14881// ListImagesWithContext is the same as ListImages with the addition of
14882// the ability to pass a context and additional request options.
14883//
14884// See ListImages for details on how to use this API operation.
14885//
14886// The context must be non-nil and will be used for request cancellation. If
14887// the context is nil a panic will occur. In the future the SDK may create
14888// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14889// for more information on using Contexts.
14890func (c *SageMaker) ListImagesWithContext(ctx aws.Context, input *ListImagesInput, opts ...request.Option) (*ListImagesOutput, error) {
14891	req, out := c.ListImagesRequest(input)
14892	req.SetContext(ctx)
14893	req.ApplyOptions(opts...)
14894	return out, req.Send()
14895}
14896
14897// ListImagesPages iterates over the pages of a ListImages operation,
14898// calling the "fn" function with the response data for each page. To stop
14899// iterating, return false from the fn function.
14900//
14901// See ListImages method for more information on how to use this operation.
14902//
14903// Note: This operation can generate multiple requests to a service.
14904//
14905//    // Example iterating over at most 3 pages of a ListImages operation.
14906//    pageNum := 0
14907//    err := client.ListImagesPages(params,
14908//        func(page *sagemaker.ListImagesOutput, lastPage bool) bool {
14909//            pageNum++
14910//            fmt.Println(page)
14911//            return pageNum <= 3
14912//        })
14913//
14914func (c *SageMaker) ListImagesPages(input *ListImagesInput, fn func(*ListImagesOutput, bool) bool) error {
14915	return c.ListImagesPagesWithContext(aws.BackgroundContext(), input, fn)
14916}
14917
14918// ListImagesPagesWithContext same as ListImagesPages except
14919// it takes a Context and allows setting request options on the pages.
14920//
14921// The context must be non-nil and will be used for request cancellation. If
14922// the context is nil a panic will occur. In the future the SDK may create
14923// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14924// for more information on using Contexts.
14925func (c *SageMaker) ListImagesPagesWithContext(ctx aws.Context, input *ListImagesInput, fn func(*ListImagesOutput, bool) bool, opts ...request.Option) error {
14926	p := request.Pagination{
14927		NewRequest: func() (*request.Request, error) {
14928			var inCpy *ListImagesInput
14929			if input != nil {
14930				tmp := *input
14931				inCpy = &tmp
14932			}
14933			req, _ := c.ListImagesRequest(inCpy)
14934			req.SetContext(ctx)
14935			req.ApplyOptions(opts...)
14936			return req, nil
14937		},
14938	}
14939
14940	for p.Next() {
14941		if !fn(p.Page().(*ListImagesOutput), !p.HasNextPage()) {
14942			break
14943		}
14944	}
14945
14946	return p.Err()
14947}
14948
14949const opListLabelingJobs = "ListLabelingJobs"
14950
14951// ListLabelingJobsRequest generates a "aws/request.Request" representing the
14952// client's request for the ListLabelingJobs operation. The "output" return
14953// value will be populated with the request's response once the request completes
14954// successfully.
14955//
14956// Use "Send" method on the returned Request to send the API call to the service.
14957// the "output" return value is not valid until after Send returns without error.
14958//
14959// See ListLabelingJobs for more information on using the ListLabelingJobs
14960// API call, and error handling.
14961//
14962// This method is useful when you want to inject custom logic or configuration
14963// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14964//
14965//
14966//    // Example sending a request using the ListLabelingJobsRequest method.
14967//    req, resp := client.ListLabelingJobsRequest(params)
14968//
14969//    err := req.Send()
14970//    if err == nil { // resp is now filled
14971//        fmt.Println(resp)
14972//    }
14973//
14974// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobs
14975func (c *SageMaker) ListLabelingJobsRequest(input *ListLabelingJobsInput) (req *request.Request, output *ListLabelingJobsOutput) {
14976	op := &request.Operation{
14977		Name:       opListLabelingJobs,
14978		HTTPMethod: "POST",
14979		HTTPPath:   "/",
14980		Paginator: &request.Paginator{
14981			InputTokens:     []string{"NextToken"},
14982			OutputTokens:    []string{"NextToken"},
14983			LimitToken:      "MaxResults",
14984			TruncationToken: "",
14985		},
14986	}
14987
14988	if input == nil {
14989		input = &ListLabelingJobsInput{}
14990	}
14991
14992	output = &ListLabelingJobsOutput{}
14993	req = c.newRequest(op, input, output)
14994	return
14995}
14996
14997// ListLabelingJobs API operation for Amazon SageMaker Service.
14998//
14999// Gets a list of labeling jobs.
15000//
15001// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15002// with awserr.Error's Code and Message methods to get detailed information about
15003// the error.
15004//
15005// See the AWS API reference guide for Amazon SageMaker Service's
15006// API operation ListLabelingJobs for usage and error information.
15007// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobs
15008func (c *SageMaker) ListLabelingJobs(input *ListLabelingJobsInput) (*ListLabelingJobsOutput, error) {
15009	req, out := c.ListLabelingJobsRequest(input)
15010	return out, req.Send()
15011}
15012
15013// ListLabelingJobsWithContext is the same as ListLabelingJobs with the addition of
15014// the ability to pass a context and additional request options.
15015//
15016// See ListLabelingJobs for details on how to use this API operation.
15017//
15018// The context must be non-nil and will be used for request cancellation. If
15019// the context is nil a panic will occur. In the future the SDK may create
15020// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15021// for more information on using Contexts.
15022func (c *SageMaker) ListLabelingJobsWithContext(ctx aws.Context, input *ListLabelingJobsInput, opts ...request.Option) (*ListLabelingJobsOutput, error) {
15023	req, out := c.ListLabelingJobsRequest(input)
15024	req.SetContext(ctx)
15025	req.ApplyOptions(opts...)
15026	return out, req.Send()
15027}
15028
15029// ListLabelingJobsPages iterates over the pages of a ListLabelingJobs operation,
15030// calling the "fn" function with the response data for each page. To stop
15031// iterating, return false from the fn function.
15032//
15033// See ListLabelingJobs method for more information on how to use this operation.
15034//
15035// Note: This operation can generate multiple requests to a service.
15036//
15037//    // Example iterating over at most 3 pages of a ListLabelingJobs operation.
15038//    pageNum := 0
15039//    err := client.ListLabelingJobsPages(params,
15040//        func(page *sagemaker.ListLabelingJobsOutput, lastPage bool) bool {
15041//            pageNum++
15042//            fmt.Println(page)
15043//            return pageNum <= 3
15044//        })
15045//
15046func (c *SageMaker) ListLabelingJobsPages(input *ListLabelingJobsInput, fn func(*ListLabelingJobsOutput, bool) bool) error {
15047	return c.ListLabelingJobsPagesWithContext(aws.BackgroundContext(), input, fn)
15048}
15049
15050// ListLabelingJobsPagesWithContext same as ListLabelingJobsPages except
15051// it takes a Context and allows setting request options on the pages.
15052//
15053// The context must be non-nil and will be used for request cancellation. If
15054// the context is nil a panic will occur. In the future the SDK may create
15055// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15056// for more information on using Contexts.
15057func (c *SageMaker) ListLabelingJobsPagesWithContext(ctx aws.Context, input *ListLabelingJobsInput, fn func(*ListLabelingJobsOutput, bool) bool, opts ...request.Option) error {
15058	p := request.Pagination{
15059		NewRequest: func() (*request.Request, error) {
15060			var inCpy *ListLabelingJobsInput
15061			if input != nil {
15062				tmp := *input
15063				inCpy = &tmp
15064			}
15065			req, _ := c.ListLabelingJobsRequest(inCpy)
15066			req.SetContext(ctx)
15067			req.ApplyOptions(opts...)
15068			return req, nil
15069		},
15070	}
15071
15072	for p.Next() {
15073		if !fn(p.Page().(*ListLabelingJobsOutput), !p.HasNextPage()) {
15074			break
15075		}
15076	}
15077
15078	return p.Err()
15079}
15080
15081const opListLabelingJobsForWorkteam = "ListLabelingJobsForWorkteam"
15082
15083// ListLabelingJobsForWorkteamRequest generates a "aws/request.Request" representing the
15084// client's request for the ListLabelingJobsForWorkteam operation. The "output" return
15085// value will be populated with the request's response once the request completes
15086// successfully.
15087//
15088// Use "Send" method on the returned Request to send the API call to the service.
15089// the "output" return value is not valid until after Send returns without error.
15090//
15091// See ListLabelingJobsForWorkteam for more information on using the ListLabelingJobsForWorkteam
15092// API call, and error handling.
15093//
15094// This method is useful when you want to inject custom logic or configuration
15095// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15096//
15097//
15098//    // Example sending a request using the ListLabelingJobsForWorkteamRequest method.
15099//    req, resp := client.ListLabelingJobsForWorkteamRequest(params)
15100//
15101//    err := req.Send()
15102//    if err == nil { // resp is now filled
15103//        fmt.Println(resp)
15104//    }
15105//
15106// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobsForWorkteam
15107func (c *SageMaker) ListLabelingJobsForWorkteamRequest(input *ListLabelingJobsForWorkteamInput) (req *request.Request, output *ListLabelingJobsForWorkteamOutput) {
15108	op := &request.Operation{
15109		Name:       opListLabelingJobsForWorkteam,
15110		HTTPMethod: "POST",
15111		HTTPPath:   "/",
15112		Paginator: &request.Paginator{
15113			InputTokens:     []string{"NextToken"},
15114			OutputTokens:    []string{"NextToken"},
15115			LimitToken:      "MaxResults",
15116			TruncationToken: "",
15117		},
15118	}
15119
15120	if input == nil {
15121		input = &ListLabelingJobsForWorkteamInput{}
15122	}
15123
15124	output = &ListLabelingJobsForWorkteamOutput{}
15125	req = c.newRequest(op, input, output)
15126	return
15127}
15128
15129// ListLabelingJobsForWorkteam API operation for Amazon SageMaker Service.
15130//
15131// Gets a list of labeling jobs assigned to a specified work team.
15132//
15133// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15134// with awserr.Error's Code and Message methods to get detailed information about
15135// the error.
15136//
15137// See the AWS API reference guide for Amazon SageMaker Service's
15138// API operation ListLabelingJobsForWorkteam for usage and error information.
15139//
15140// Returned Error Types:
15141//   * ResourceNotFound
15142//   Resource being access is not found.
15143//
15144// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobsForWorkteam
15145func (c *SageMaker) ListLabelingJobsForWorkteam(input *ListLabelingJobsForWorkteamInput) (*ListLabelingJobsForWorkteamOutput, error) {
15146	req, out := c.ListLabelingJobsForWorkteamRequest(input)
15147	return out, req.Send()
15148}
15149
15150// ListLabelingJobsForWorkteamWithContext is the same as ListLabelingJobsForWorkteam with the addition of
15151// the ability to pass a context and additional request options.
15152//
15153// See ListLabelingJobsForWorkteam for details on how to use this API operation.
15154//
15155// The context must be non-nil and will be used for request cancellation. If
15156// the context is nil a panic will occur. In the future the SDK may create
15157// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15158// for more information on using Contexts.
15159func (c *SageMaker) ListLabelingJobsForWorkteamWithContext(ctx aws.Context, input *ListLabelingJobsForWorkteamInput, opts ...request.Option) (*ListLabelingJobsForWorkteamOutput, error) {
15160	req, out := c.ListLabelingJobsForWorkteamRequest(input)
15161	req.SetContext(ctx)
15162	req.ApplyOptions(opts...)
15163	return out, req.Send()
15164}
15165
15166// ListLabelingJobsForWorkteamPages iterates over the pages of a ListLabelingJobsForWorkteam operation,
15167// calling the "fn" function with the response data for each page. To stop
15168// iterating, return false from the fn function.
15169//
15170// See ListLabelingJobsForWorkteam method for more information on how to use this operation.
15171//
15172// Note: This operation can generate multiple requests to a service.
15173//
15174//    // Example iterating over at most 3 pages of a ListLabelingJobsForWorkteam operation.
15175//    pageNum := 0
15176//    err := client.ListLabelingJobsForWorkteamPages(params,
15177//        func(page *sagemaker.ListLabelingJobsForWorkteamOutput, lastPage bool) bool {
15178//            pageNum++
15179//            fmt.Println(page)
15180//            return pageNum <= 3
15181//        })
15182//
15183func (c *SageMaker) ListLabelingJobsForWorkteamPages(input *ListLabelingJobsForWorkteamInput, fn func(*ListLabelingJobsForWorkteamOutput, bool) bool) error {
15184	return c.ListLabelingJobsForWorkteamPagesWithContext(aws.BackgroundContext(), input, fn)
15185}
15186
15187// ListLabelingJobsForWorkteamPagesWithContext same as ListLabelingJobsForWorkteamPages except
15188// it takes a Context and allows setting request options on the pages.
15189//
15190// The context must be non-nil and will be used for request cancellation. If
15191// the context is nil a panic will occur. In the future the SDK may create
15192// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15193// for more information on using Contexts.
15194func (c *SageMaker) ListLabelingJobsForWorkteamPagesWithContext(ctx aws.Context, input *ListLabelingJobsForWorkteamInput, fn func(*ListLabelingJobsForWorkteamOutput, bool) bool, opts ...request.Option) error {
15195	p := request.Pagination{
15196		NewRequest: func() (*request.Request, error) {
15197			var inCpy *ListLabelingJobsForWorkteamInput
15198			if input != nil {
15199				tmp := *input
15200				inCpy = &tmp
15201			}
15202			req, _ := c.ListLabelingJobsForWorkteamRequest(inCpy)
15203			req.SetContext(ctx)
15204			req.ApplyOptions(opts...)
15205			return req, nil
15206		},
15207	}
15208
15209	for p.Next() {
15210		if !fn(p.Page().(*ListLabelingJobsForWorkteamOutput), !p.HasNextPage()) {
15211			break
15212		}
15213	}
15214
15215	return p.Err()
15216}
15217
15218const opListModelBiasJobDefinitions = "ListModelBiasJobDefinitions"
15219
15220// ListModelBiasJobDefinitionsRequest generates a "aws/request.Request" representing the
15221// client's request for the ListModelBiasJobDefinitions operation. The "output" return
15222// value will be populated with the request's response once the request completes
15223// successfully.
15224//
15225// Use "Send" method on the returned Request to send the API call to the service.
15226// the "output" return value is not valid until after Send returns without error.
15227//
15228// See ListModelBiasJobDefinitions for more information on using the ListModelBiasJobDefinitions
15229// API call, and error handling.
15230//
15231// This method is useful when you want to inject custom logic or configuration
15232// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15233//
15234//
15235//    // Example sending a request using the ListModelBiasJobDefinitionsRequest method.
15236//    req, resp := client.ListModelBiasJobDefinitionsRequest(params)
15237//
15238//    err := req.Send()
15239//    if err == nil { // resp is now filled
15240//        fmt.Println(resp)
15241//    }
15242//
15243// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelBiasJobDefinitions
15244func (c *SageMaker) ListModelBiasJobDefinitionsRequest(input *ListModelBiasJobDefinitionsInput) (req *request.Request, output *ListModelBiasJobDefinitionsOutput) {
15245	op := &request.Operation{
15246		Name:       opListModelBiasJobDefinitions,
15247		HTTPMethod: "POST",
15248		HTTPPath:   "/",
15249		Paginator: &request.Paginator{
15250			InputTokens:     []string{"NextToken"},
15251			OutputTokens:    []string{"NextToken"},
15252			LimitToken:      "MaxResults",
15253			TruncationToken: "",
15254		},
15255	}
15256
15257	if input == nil {
15258		input = &ListModelBiasJobDefinitionsInput{}
15259	}
15260
15261	output = &ListModelBiasJobDefinitionsOutput{}
15262	req = c.newRequest(op, input, output)
15263	return
15264}
15265
15266// ListModelBiasJobDefinitions API operation for Amazon SageMaker Service.
15267//
15268// Lists model bias jobs definitions that satisfy various filters.
15269//
15270// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15271// with awserr.Error's Code and Message methods to get detailed information about
15272// the error.
15273//
15274// See the AWS API reference guide for Amazon SageMaker Service's
15275// API operation ListModelBiasJobDefinitions for usage and error information.
15276// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelBiasJobDefinitions
15277func (c *SageMaker) ListModelBiasJobDefinitions(input *ListModelBiasJobDefinitionsInput) (*ListModelBiasJobDefinitionsOutput, error) {
15278	req, out := c.ListModelBiasJobDefinitionsRequest(input)
15279	return out, req.Send()
15280}
15281
15282// ListModelBiasJobDefinitionsWithContext is the same as ListModelBiasJobDefinitions with the addition of
15283// the ability to pass a context and additional request options.
15284//
15285// See ListModelBiasJobDefinitions for details on how to use this API operation.
15286//
15287// The context must be non-nil and will be used for request cancellation. If
15288// the context is nil a panic will occur. In the future the SDK may create
15289// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15290// for more information on using Contexts.
15291func (c *SageMaker) ListModelBiasJobDefinitionsWithContext(ctx aws.Context, input *ListModelBiasJobDefinitionsInput, opts ...request.Option) (*ListModelBiasJobDefinitionsOutput, error) {
15292	req, out := c.ListModelBiasJobDefinitionsRequest(input)
15293	req.SetContext(ctx)
15294	req.ApplyOptions(opts...)
15295	return out, req.Send()
15296}
15297
15298// ListModelBiasJobDefinitionsPages iterates over the pages of a ListModelBiasJobDefinitions operation,
15299// calling the "fn" function with the response data for each page. To stop
15300// iterating, return false from the fn function.
15301//
15302// See ListModelBiasJobDefinitions method for more information on how to use this operation.
15303//
15304// Note: This operation can generate multiple requests to a service.
15305//
15306//    // Example iterating over at most 3 pages of a ListModelBiasJobDefinitions operation.
15307//    pageNum := 0
15308//    err := client.ListModelBiasJobDefinitionsPages(params,
15309//        func(page *sagemaker.ListModelBiasJobDefinitionsOutput, lastPage bool) bool {
15310//            pageNum++
15311//            fmt.Println(page)
15312//            return pageNum <= 3
15313//        })
15314//
15315func (c *SageMaker) ListModelBiasJobDefinitionsPages(input *ListModelBiasJobDefinitionsInput, fn func(*ListModelBiasJobDefinitionsOutput, bool) bool) error {
15316	return c.ListModelBiasJobDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn)
15317}
15318
15319// ListModelBiasJobDefinitionsPagesWithContext same as ListModelBiasJobDefinitionsPages except
15320// it takes a Context and allows setting request options on the pages.
15321//
15322// The context must be non-nil and will be used for request cancellation. If
15323// the context is nil a panic will occur. In the future the SDK may create
15324// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15325// for more information on using Contexts.
15326func (c *SageMaker) ListModelBiasJobDefinitionsPagesWithContext(ctx aws.Context, input *ListModelBiasJobDefinitionsInput, fn func(*ListModelBiasJobDefinitionsOutput, bool) bool, opts ...request.Option) error {
15327	p := request.Pagination{
15328		NewRequest: func() (*request.Request, error) {
15329			var inCpy *ListModelBiasJobDefinitionsInput
15330			if input != nil {
15331				tmp := *input
15332				inCpy = &tmp
15333			}
15334			req, _ := c.ListModelBiasJobDefinitionsRequest(inCpy)
15335			req.SetContext(ctx)
15336			req.ApplyOptions(opts...)
15337			return req, nil
15338		},
15339	}
15340
15341	for p.Next() {
15342		if !fn(p.Page().(*ListModelBiasJobDefinitionsOutput), !p.HasNextPage()) {
15343			break
15344		}
15345	}
15346
15347	return p.Err()
15348}
15349
15350const opListModelExplainabilityJobDefinitions = "ListModelExplainabilityJobDefinitions"
15351
15352// ListModelExplainabilityJobDefinitionsRequest generates a "aws/request.Request" representing the
15353// client's request for the ListModelExplainabilityJobDefinitions operation. The "output" return
15354// value will be populated with the request's response once the request completes
15355// successfully.
15356//
15357// Use "Send" method on the returned Request to send the API call to the service.
15358// the "output" return value is not valid until after Send returns without error.
15359//
15360// See ListModelExplainabilityJobDefinitions for more information on using the ListModelExplainabilityJobDefinitions
15361// API call, and error handling.
15362//
15363// This method is useful when you want to inject custom logic or configuration
15364// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15365//
15366//
15367//    // Example sending a request using the ListModelExplainabilityJobDefinitionsRequest method.
15368//    req, resp := client.ListModelExplainabilityJobDefinitionsRequest(params)
15369//
15370//    err := req.Send()
15371//    if err == nil { // resp is now filled
15372//        fmt.Println(resp)
15373//    }
15374//
15375// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelExplainabilityJobDefinitions
15376func (c *SageMaker) ListModelExplainabilityJobDefinitionsRequest(input *ListModelExplainabilityJobDefinitionsInput) (req *request.Request, output *ListModelExplainabilityJobDefinitionsOutput) {
15377	op := &request.Operation{
15378		Name:       opListModelExplainabilityJobDefinitions,
15379		HTTPMethod: "POST",
15380		HTTPPath:   "/",
15381		Paginator: &request.Paginator{
15382			InputTokens:     []string{"NextToken"},
15383			OutputTokens:    []string{"NextToken"},
15384			LimitToken:      "MaxResults",
15385			TruncationToken: "",
15386		},
15387	}
15388
15389	if input == nil {
15390		input = &ListModelExplainabilityJobDefinitionsInput{}
15391	}
15392
15393	output = &ListModelExplainabilityJobDefinitionsOutput{}
15394	req = c.newRequest(op, input, output)
15395	return
15396}
15397
15398// ListModelExplainabilityJobDefinitions API operation for Amazon SageMaker Service.
15399//
15400// Lists model explainability job definitions that satisfy various filters.
15401//
15402// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15403// with awserr.Error's Code and Message methods to get detailed information about
15404// the error.
15405//
15406// See the AWS API reference guide for Amazon SageMaker Service's
15407// API operation ListModelExplainabilityJobDefinitions for usage and error information.
15408// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelExplainabilityJobDefinitions
15409func (c *SageMaker) ListModelExplainabilityJobDefinitions(input *ListModelExplainabilityJobDefinitionsInput) (*ListModelExplainabilityJobDefinitionsOutput, error) {
15410	req, out := c.ListModelExplainabilityJobDefinitionsRequest(input)
15411	return out, req.Send()
15412}
15413
15414// ListModelExplainabilityJobDefinitionsWithContext is the same as ListModelExplainabilityJobDefinitions with the addition of
15415// the ability to pass a context and additional request options.
15416//
15417// See ListModelExplainabilityJobDefinitions for details on how to use this API operation.
15418//
15419// The context must be non-nil and will be used for request cancellation. If
15420// the context is nil a panic will occur. In the future the SDK may create
15421// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15422// for more information on using Contexts.
15423func (c *SageMaker) ListModelExplainabilityJobDefinitionsWithContext(ctx aws.Context, input *ListModelExplainabilityJobDefinitionsInput, opts ...request.Option) (*ListModelExplainabilityJobDefinitionsOutput, error) {
15424	req, out := c.ListModelExplainabilityJobDefinitionsRequest(input)
15425	req.SetContext(ctx)
15426	req.ApplyOptions(opts...)
15427	return out, req.Send()
15428}
15429
15430// ListModelExplainabilityJobDefinitionsPages iterates over the pages of a ListModelExplainabilityJobDefinitions operation,
15431// calling the "fn" function with the response data for each page. To stop
15432// iterating, return false from the fn function.
15433//
15434// See ListModelExplainabilityJobDefinitions method for more information on how to use this operation.
15435//
15436// Note: This operation can generate multiple requests to a service.
15437//
15438//    // Example iterating over at most 3 pages of a ListModelExplainabilityJobDefinitions operation.
15439//    pageNum := 0
15440//    err := client.ListModelExplainabilityJobDefinitionsPages(params,
15441//        func(page *sagemaker.ListModelExplainabilityJobDefinitionsOutput, lastPage bool) bool {
15442//            pageNum++
15443//            fmt.Println(page)
15444//            return pageNum <= 3
15445//        })
15446//
15447func (c *SageMaker) ListModelExplainabilityJobDefinitionsPages(input *ListModelExplainabilityJobDefinitionsInput, fn func(*ListModelExplainabilityJobDefinitionsOutput, bool) bool) error {
15448	return c.ListModelExplainabilityJobDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn)
15449}
15450
15451// ListModelExplainabilityJobDefinitionsPagesWithContext same as ListModelExplainabilityJobDefinitionsPages except
15452// it takes a Context and allows setting request options on the pages.
15453//
15454// The context must be non-nil and will be used for request cancellation. If
15455// the context is nil a panic will occur. In the future the SDK may create
15456// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15457// for more information on using Contexts.
15458func (c *SageMaker) ListModelExplainabilityJobDefinitionsPagesWithContext(ctx aws.Context, input *ListModelExplainabilityJobDefinitionsInput, fn func(*ListModelExplainabilityJobDefinitionsOutput, bool) bool, opts ...request.Option) error {
15459	p := request.Pagination{
15460		NewRequest: func() (*request.Request, error) {
15461			var inCpy *ListModelExplainabilityJobDefinitionsInput
15462			if input != nil {
15463				tmp := *input
15464				inCpy = &tmp
15465			}
15466			req, _ := c.ListModelExplainabilityJobDefinitionsRequest(inCpy)
15467			req.SetContext(ctx)
15468			req.ApplyOptions(opts...)
15469			return req, nil
15470		},
15471	}
15472
15473	for p.Next() {
15474		if !fn(p.Page().(*ListModelExplainabilityJobDefinitionsOutput), !p.HasNextPage()) {
15475			break
15476		}
15477	}
15478
15479	return p.Err()
15480}
15481
15482const opListModelPackageGroups = "ListModelPackageGroups"
15483
15484// ListModelPackageGroupsRequest generates a "aws/request.Request" representing the
15485// client's request for the ListModelPackageGroups operation. The "output" return
15486// value will be populated with the request's response once the request completes
15487// successfully.
15488//
15489// Use "Send" method on the returned Request to send the API call to the service.
15490// the "output" return value is not valid until after Send returns without error.
15491//
15492// See ListModelPackageGroups for more information on using the ListModelPackageGroups
15493// API call, and error handling.
15494//
15495// This method is useful when you want to inject custom logic or configuration
15496// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15497//
15498//
15499//    // Example sending a request using the ListModelPackageGroupsRequest method.
15500//    req, resp := client.ListModelPackageGroupsRequest(params)
15501//
15502//    err := req.Send()
15503//    if err == nil { // resp is now filled
15504//        fmt.Println(resp)
15505//    }
15506//
15507// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelPackageGroups
15508func (c *SageMaker) ListModelPackageGroupsRequest(input *ListModelPackageGroupsInput) (req *request.Request, output *ListModelPackageGroupsOutput) {
15509	op := &request.Operation{
15510		Name:       opListModelPackageGroups,
15511		HTTPMethod: "POST",
15512		HTTPPath:   "/",
15513		Paginator: &request.Paginator{
15514			InputTokens:     []string{"NextToken"},
15515			OutputTokens:    []string{"NextToken"},
15516			LimitToken:      "MaxResults",
15517			TruncationToken: "",
15518		},
15519	}
15520
15521	if input == nil {
15522		input = &ListModelPackageGroupsInput{}
15523	}
15524
15525	output = &ListModelPackageGroupsOutput{}
15526	req = c.newRequest(op, input, output)
15527	return
15528}
15529
15530// ListModelPackageGroups API operation for Amazon SageMaker Service.
15531//
15532// Gets a list of the model groups in your AWS account.
15533//
15534// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15535// with awserr.Error's Code and Message methods to get detailed information about
15536// the error.
15537//
15538// See the AWS API reference guide for Amazon SageMaker Service's
15539// API operation ListModelPackageGroups for usage and error information.
15540// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelPackageGroups
15541func (c *SageMaker) ListModelPackageGroups(input *ListModelPackageGroupsInput) (*ListModelPackageGroupsOutput, error) {
15542	req, out := c.ListModelPackageGroupsRequest(input)
15543	return out, req.Send()
15544}
15545
15546// ListModelPackageGroupsWithContext is the same as ListModelPackageGroups with the addition of
15547// the ability to pass a context and additional request options.
15548//
15549// See ListModelPackageGroups for details on how to use this API operation.
15550//
15551// The context must be non-nil and will be used for request cancellation. If
15552// the context is nil a panic will occur. In the future the SDK may create
15553// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15554// for more information on using Contexts.
15555func (c *SageMaker) ListModelPackageGroupsWithContext(ctx aws.Context, input *ListModelPackageGroupsInput, opts ...request.Option) (*ListModelPackageGroupsOutput, error) {
15556	req, out := c.ListModelPackageGroupsRequest(input)
15557	req.SetContext(ctx)
15558	req.ApplyOptions(opts...)
15559	return out, req.Send()
15560}
15561
15562// ListModelPackageGroupsPages iterates over the pages of a ListModelPackageGroups operation,
15563// calling the "fn" function with the response data for each page. To stop
15564// iterating, return false from the fn function.
15565//
15566// See ListModelPackageGroups method for more information on how to use this operation.
15567//
15568// Note: This operation can generate multiple requests to a service.
15569//
15570//    // Example iterating over at most 3 pages of a ListModelPackageGroups operation.
15571//    pageNum := 0
15572//    err := client.ListModelPackageGroupsPages(params,
15573//        func(page *sagemaker.ListModelPackageGroupsOutput, lastPage bool) bool {
15574//            pageNum++
15575//            fmt.Println(page)
15576//            return pageNum <= 3
15577//        })
15578//
15579func (c *SageMaker) ListModelPackageGroupsPages(input *ListModelPackageGroupsInput, fn func(*ListModelPackageGroupsOutput, bool) bool) error {
15580	return c.ListModelPackageGroupsPagesWithContext(aws.BackgroundContext(), input, fn)
15581}
15582
15583// ListModelPackageGroupsPagesWithContext same as ListModelPackageGroupsPages except
15584// it takes a Context and allows setting request options on the pages.
15585//
15586// The context must be non-nil and will be used for request cancellation. If
15587// the context is nil a panic will occur. In the future the SDK may create
15588// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15589// for more information on using Contexts.
15590func (c *SageMaker) ListModelPackageGroupsPagesWithContext(ctx aws.Context, input *ListModelPackageGroupsInput, fn func(*ListModelPackageGroupsOutput, bool) bool, opts ...request.Option) error {
15591	p := request.Pagination{
15592		NewRequest: func() (*request.Request, error) {
15593			var inCpy *ListModelPackageGroupsInput
15594			if input != nil {
15595				tmp := *input
15596				inCpy = &tmp
15597			}
15598			req, _ := c.ListModelPackageGroupsRequest(inCpy)
15599			req.SetContext(ctx)
15600			req.ApplyOptions(opts...)
15601			return req, nil
15602		},
15603	}
15604
15605	for p.Next() {
15606		if !fn(p.Page().(*ListModelPackageGroupsOutput), !p.HasNextPage()) {
15607			break
15608		}
15609	}
15610
15611	return p.Err()
15612}
15613
15614const opListModelPackages = "ListModelPackages"
15615
15616// ListModelPackagesRequest generates a "aws/request.Request" representing the
15617// client's request for the ListModelPackages operation. The "output" return
15618// value will be populated with the request's response once the request completes
15619// successfully.
15620//
15621// Use "Send" method on the returned Request to send the API call to the service.
15622// the "output" return value is not valid until after Send returns without error.
15623//
15624// See ListModelPackages for more information on using the ListModelPackages
15625// API call, and error handling.
15626//
15627// This method is useful when you want to inject custom logic or configuration
15628// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15629//
15630//
15631//    // Example sending a request using the ListModelPackagesRequest method.
15632//    req, resp := client.ListModelPackagesRequest(params)
15633//
15634//    err := req.Send()
15635//    if err == nil { // resp is now filled
15636//        fmt.Println(resp)
15637//    }
15638//
15639// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelPackages
15640func (c *SageMaker) ListModelPackagesRequest(input *ListModelPackagesInput) (req *request.Request, output *ListModelPackagesOutput) {
15641	op := &request.Operation{
15642		Name:       opListModelPackages,
15643		HTTPMethod: "POST",
15644		HTTPPath:   "/",
15645		Paginator: &request.Paginator{
15646			InputTokens:     []string{"NextToken"},
15647			OutputTokens:    []string{"NextToken"},
15648			LimitToken:      "MaxResults",
15649			TruncationToken: "",
15650		},
15651	}
15652
15653	if input == nil {
15654		input = &ListModelPackagesInput{}
15655	}
15656
15657	output = &ListModelPackagesOutput{}
15658	req = c.newRequest(op, input, output)
15659	return
15660}
15661
15662// ListModelPackages API operation for Amazon SageMaker Service.
15663//
15664// Lists the model packages that have been created.
15665//
15666// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15667// with awserr.Error's Code and Message methods to get detailed information about
15668// the error.
15669//
15670// See the AWS API reference guide for Amazon SageMaker Service's
15671// API operation ListModelPackages for usage and error information.
15672// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelPackages
15673func (c *SageMaker) ListModelPackages(input *ListModelPackagesInput) (*ListModelPackagesOutput, error) {
15674	req, out := c.ListModelPackagesRequest(input)
15675	return out, req.Send()
15676}
15677
15678// ListModelPackagesWithContext is the same as ListModelPackages with the addition of
15679// the ability to pass a context and additional request options.
15680//
15681// See ListModelPackages for details on how to use this API operation.
15682//
15683// The context must be non-nil and will be used for request cancellation. If
15684// the context is nil a panic will occur. In the future the SDK may create
15685// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15686// for more information on using Contexts.
15687func (c *SageMaker) ListModelPackagesWithContext(ctx aws.Context, input *ListModelPackagesInput, opts ...request.Option) (*ListModelPackagesOutput, error) {
15688	req, out := c.ListModelPackagesRequest(input)
15689	req.SetContext(ctx)
15690	req.ApplyOptions(opts...)
15691	return out, req.Send()
15692}
15693
15694// ListModelPackagesPages iterates over the pages of a ListModelPackages operation,
15695// calling the "fn" function with the response data for each page. To stop
15696// iterating, return false from the fn function.
15697//
15698// See ListModelPackages method for more information on how to use this operation.
15699//
15700// Note: This operation can generate multiple requests to a service.
15701//
15702//    // Example iterating over at most 3 pages of a ListModelPackages operation.
15703//    pageNum := 0
15704//    err := client.ListModelPackagesPages(params,
15705//        func(page *sagemaker.ListModelPackagesOutput, lastPage bool) bool {
15706//            pageNum++
15707//            fmt.Println(page)
15708//            return pageNum <= 3
15709//        })
15710//
15711func (c *SageMaker) ListModelPackagesPages(input *ListModelPackagesInput, fn func(*ListModelPackagesOutput, bool) bool) error {
15712	return c.ListModelPackagesPagesWithContext(aws.BackgroundContext(), input, fn)
15713}
15714
15715// ListModelPackagesPagesWithContext same as ListModelPackagesPages except
15716// it takes a Context and allows setting request options on the pages.
15717//
15718// The context must be non-nil and will be used for request cancellation. If
15719// the context is nil a panic will occur. In the future the SDK may create
15720// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15721// for more information on using Contexts.
15722func (c *SageMaker) ListModelPackagesPagesWithContext(ctx aws.Context, input *ListModelPackagesInput, fn func(*ListModelPackagesOutput, bool) bool, opts ...request.Option) error {
15723	p := request.Pagination{
15724		NewRequest: func() (*request.Request, error) {
15725			var inCpy *ListModelPackagesInput
15726			if input != nil {
15727				tmp := *input
15728				inCpy = &tmp
15729			}
15730			req, _ := c.ListModelPackagesRequest(inCpy)
15731			req.SetContext(ctx)
15732			req.ApplyOptions(opts...)
15733			return req, nil
15734		},
15735	}
15736
15737	for p.Next() {
15738		if !fn(p.Page().(*ListModelPackagesOutput), !p.HasNextPage()) {
15739			break
15740		}
15741	}
15742
15743	return p.Err()
15744}
15745
15746const opListModelQualityJobDefinitions = "ListModelQualityJobDefinitions"
15747
15748// ListModelQualityJobDefinitionsRequest generates a "aws/request.Request" representing the
15749// client's request for the ListModelQualityJobDefinitions operation. The "output" return
15750// value will be populated with the request's response once the request completes
15751// successfully.
15752//
15753// Use "Send" method on the returned Request to send the API call to the service.
15754// the "output" return value is not valid until after Send returns without error.
15755//
15756// See ListModelQualityJobDefinitions for more information on using the ListModelQualityJobDefinitions
15757// API call, and error handling.
15758//
15759// This method is useful when you want to inject custom logic or configuration
15760// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15761//
15762//
15763//    // Example sending a request using the ListModelQualityJobDefinitionsRequest method.
15764//    req, resp := client.ListModelQualityJobDefinitionsRequest(params)
15765//
15766//    err := req.Send()
15767//    if err == nil { // resp is now filled
15768//        fmt.Println(resp)
15769//    }
15770//
15771// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelQualityJobDefinitions
15772func (c *SageMaker) ListModelQualityJobDefinitionsRequest(input *ListModelQualityJobDefinitionsInput) (req *request.Request, output *ListModelQualityJobDefinitionsOutput) {
15773	op := &request.Operation{
15774		Name:       opListModelQualityJobDefinitions,
15775		HTTPMethod: "POST",
15776		HTTPPath:   "/",
15777		Paginator: &request.Paginator{
15778			InputTokens:     []string{"NextToken"},
15779			OutputTokens:    []string{"NextToken"},
15780			LimitToken:      "MaxResults",
15781			TruncationToken: "",
15782		},
15783	}
15784
15785	if input == nil {
15786		input = &ListModelQualityJobDefinitionsInput{}
15787	}
15788
15789	output = &ListModelQualityJobDefinitionsOutput{}
15790	req = c.newRequest(op, input, output)
15791	return
15792}
15793
15794// ListModelQualityJobDefinitions API operation for Amazon SageMaker Service.
15795//
15796// Gets a list of model quality monitoring job definitions in your account.
15797//
15798// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15799// with awserr.Error's Code and Message methods to get detailed information about
15800// the error.
15801//
15802// See the AWS API reference guide for Amazon SageMaker Service's
15803// API operation ListModelQualityJobDefinitions for usage and error information.
15804// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelQualityJobDefinitions
15805func (c *SageMaker) ListModelQualityJobDefinitions(input *ListModelQualityJobDefinitionsInput) (*ListModelQualityJobDefinitionsOutput, error) {
15806	req, out := c.ListModelQualityJobDefinitionsRequest(input)
15807	return out, req.Send()
15808}
15809
15810// ListModelQualityJobDefinitionsWithContext is the same as ListModelQualityJobDefinitions with the addition of
15811// the ability to pass a context and additional request options.
15812//
15813// See ListModelQualityJobDefinitions for details on how to use this API operation.
15814//
15815// The context must be non-nil and will be used for request cancellation. If
15816// the context is nil a panic will occur. In the future the SDK may create
15817// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15818// for more information on using Contexts.
15819func (c *SageMaker) ListModelQualityJobDefinitionsWithContext(ctx aws.Context, input *ListModelQualityJobDefinitionsInput, opts ...request.Option) (*ListModelQualityJobDefinitionsOutput, error) {
15820	req, out := c.ListModelQualityJobDefinitionsRequest(input)
15821	req.SetContext(ctx)
15822	req.ApplyOptions(opts...)
15823	return out, req.Send()
15824}
15825
15826// ListModelQualityJobDefinitionsPages iterates over the pages of a ListModelQualityJobDefinitions operation,
15827// calling the "fn" function with the response data for each page. To stop
15828// iterating, return false from the fn function.
15829//
15830// See ListModelQualityJobDefinitions method for more information on how to use this operation.
15831//
15832// Note: This operation can generate multiple requests to a service.
15833//
15834//    // Example iterating over at most 3 pages of a ListModelQualityJobDefinitions operation.
15835//    pageNum := 0
15836//    err := client.ListModelQualityJobDefinitionsPages(params,
15837//        func(page *sagemaker.ListModelQualityJobDefinitionsOutput, lastPage bool) bool {
15838//            pageNum++
15839//            fmt.Println(page)
15840//            return pageNum <= 3
15841//        })
15842//
15843func (c *SageMaker) ListModelQualityJobDefinitionsPages(input *ListModelQualityJobDefinitionsInput, fn func(*ListModelQualityJobDefinitionsOutput, bool) bool) error {
15844	return c.ListModelQualityJobDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn)
15845}
15846
15847// ListModelQualityJobDefinitionsPagesWithContext same as ListModelQualityJobDefinitionsPages except
15848// it takes a Context and allows setting request options on the pages.
15849//
15850// The context must be non-nil and will be used for request cancellation. If
15851// the context is nil a panic will occur. In the future the SDK may create
15852// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15853// for more information on using Contexts.
15854func (c *SageMaker) ListModelQualityJobDefinitionsPagesWithContext(ctx aws.Context, input *ListModelQualityJobDefinitionsInput, fn func(*ListModelQualityJobDefinitionsOutput, bool) bool, opts ...request.Option) error {
15855	p := request.Pagination{
15856		NewRequest: func() (*request.Request, error) {
15857			var inCpy *ListModelQualityJobDefinitionsInput
15858			if input != nil {
15859				tmp := *input
15860				inCpy = &tmp
15861			}
15862			req, _ := c.ListModelQualityJobDefinitionsRequest(inCpy)
15863			req.SetContext(ctx)
15864			req.ApplyOptions(opts...)
15865			return req, nil
15866		},
15867	}
15868
15869	for p.Next() {
15870		if !fn(p.Page().(*ListModelQualityJobDefinitionsOutput), !p.HasNextPage()) {
15871			break
15872		}
15873	}
15874
15875	return p.Err()
15876}
15877
15878const opListModels = "ListModels"
15879
15880// ListModelsRequest generates a "aws/request.Request" representing the
15881// client's request for the ListModels operation. The "output" return
15882// value will be populated with the request's response once the request completes
15883// successfully.
15884//
15885// Use "Send" method on the returned Request to send the API call to the service.
15886// the "output" return value is not valid until after Send returns without error.
15887//
15888// See ListModels for more information on using the ListModels
15889// API call, and error handling.
15890//
15891// This method is useful when you want to inject custom logic or configuration
15892// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15893//
15894//
15895//    // Example sending a request using the ListModelsRequest method.
15896//    req, resp := client.ListModelsRequest(params)
15897//
15898//    err := req.Send()
15899//    if err == nil { // resp is now filled
15900//        fmt.Println(resp)
15901//    }
15902//
15903// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModels
15904func (c *SageMaker) ListModelsRequest(input *ListModelsInput) (req *request.Request, output *ListModelsOutput) {
15905	op := &request.Operation{
15906		Name:       opListModels,
15907		HTTPMethod: "POST",
15908		HTTPPath:   "/",
15909		Paginator: &request.Paginator{
15910			InputTokens:     []string{"NextToken"},
15911			OutputTokens:    []string{"NextToken"},
15912			LimitToken:      "MaxResults",
15913			TruncationToken: "",
15914		},
15915	}
15916
15917	if input == nil {
15918		input = &ListModelsInput{}
15919	}
15920
15921	output = &ListModelsOutput{}
15922	req = c.newRequest(op, input, output)
15923	return
15924}
15925
15926// ListModels API operation for Amazon SageMaker Service.
15927//
15928// Lists models created with the CreateModel API.
15929//
15930// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15931// with awserr.Error's Code and Message methods to get detailed information about
15932// the error.
15933//
15934// See the AWS API reference guide for Amazon SageMaker Service's
15935// API operation ListModels for usage and error information.
15936// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModels
15937func (c *SageMaker) ListModels(input *ListModelsInput) (*ListModelsOutput, error) {
15938	req, out := c.ListModelsRequest(input)
15939	return out, req.Send()
15940}
15941
15942// ListModelsWithContext is the same as ListModels with the addition of
15943// the ability to pass a context and additional request options.
15944//
15945// See ListModels for details on how to use this API operation.
15946//
15947// The context must be non-nil and will be used for request cancellation. If
15948// the context is nil a panic will occur. In the future the SDK may create
15949// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15950// for more information on using Contexts.
15951func (c *SageMaker) ListModelsWithContext(ctx aws.Context, input *ListModelsInput, opts ...request.Option) (*ListModelsOutput, error) {
15952	req, out := c.ListModelsRequest(input)
15953	req.SetContext(ctx)
15954	req.ApplyOptions(opts...)
15955	return out, req.Send()
15956}
15957
15958// ListModelsPages iterates over the pages of a ListModels operation,
15959// calling the "fn" function with the response data for each page. To stop
15960// iterating, return false from the fn function.
15961//
15962// See ListModels method for more information on how to use this operation.
15963//
15964// Note: This operation can generate multiple requests to a service.
15965//
15966//    // Example iterating over at most 3 pages of a ListModels operation.
15967//    pageNum := 0
15968//    err := client.ListModelsPages(params,
15969//        func(page *sagemaker.ListModelsOutput, lastPage bool) bool {
15970//            pageNum++
15971//            fmt.Println(page)
15972//            return pageNum <= 3
15973//        })
15974//
15975func (c *SageMaker) ListModelsPages(input *ListModelsInput, fn func(*ListModelsOutput, bool) bool) error {
15976	return c.ListModelsPagesWithContext(aws.BackgroundContext(), input, fn)
15977}
15978
15979// ListModelsPagesWithContext same as ListModelsPages except
15980// it takes a Context and allows setting request options on the pages.
15981//
15982// The context must be non-nil and will be used for request cancellation. If
15983// the context is nil a panic will occur. In the future the SDK may create
15984// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15985// for more information on using Contexts.
15986func (c *SageMaker) ListModelsPagesWithContext(ctx aws.Context, input *ListModelsInput, fn func(*ListModelsOutput, bool) bool, opts ...request.Option) error {
15987	p := request.Pagination{
15988		NewRequest: func() (*request.Request, error) {
15989			var inCpy *ListModelsInput
15990			if input != nil {
15991				tmp := *input
15992				inCpy = &tmp
15993			}
15994			req, _ := c.ListModelsRequest(inCpy)
15995			req.SetContext(ctx)
15996			req.ApplyOptions(opts...)
15997			return req, nil
15998		},
15999	}
16000
16001	for p.Next() {
16002		if !fn(p.Page().(*ListModelsOutput), !p.HasNextPage()) {
16003			break
16004		}
16005	}
16006
16007	return p.Err()
16008}
16009
16010const opListMonitoringExecutions = "ListMonitoringExecutions"
16011
16012// ListMonitoringExecutionsRequest generates a "aws/request.Request" representing the
16013// client's request for the ListMonitoringExecutions operation. The "output" return
16014// value will be populated with the request's response once the request completes
16015// successfully.
16016//
16017// Use "Send" method on the returned Request to send the API call to the service.
16018// the "output" return value is not valid until after Send returns without error.
16019//
16020// See ListMonitoringExecutions for more information on using the ListMonitoringExecutions
16021// API call, and error handling.
16022//
16023// This method is useful when you want to inject custom logic or configuration
16024// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16025//
16026//
16027//    // Example sending a request using the ListMonitoringExecutionsRequest method.
16028//    req, resp := client.ListMonitoringExecutionsRequest(params)
16029//
16030//    err := req.Send()
16031//    if err == nil { // resp is now filled
16032//        fmt.Println(resp)
16033//    }
16034//
16035// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListMonitoringExecutions
16036func (c *SageMaker) ListMonitoringExecutionsRequest(input *ListMonitoringExecutionsInput) (req *request.Request, output *ListMonitoringExecutionsOutput) {
16037	op := &request.Operation{
16038		Name:       opListMonitoringExecutions,
16039		HTTPMethod: "POST",
16040		HTTPPath:   "/",
16041		Paginator: &request.Paginator{
16042			InputTokens:     []string{"NextToken"},
16043			OutputTokens:    []string{"NextToken"},
16044			LimitToken:      "MaxResults",
16045			TruncationToken: "",
16046		},
16047	}
16048
16049	if input == nil {
16050		input = &ListMonitoringExecutionsInput{}
16051	}
16052
16053	output = &ListMonitoringExecutionsOutput{}
16054	req = c.newRequest(op, input, output)
16055	return
16056}
16057
16058// ListMonitoringExecutions API operation for Amazon SageMaker Service.
16059//
16060// Returns list of all monitoring job executions.
16061//
16062// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16063// with awserr.Error's Code and Message methods to get detailed information about
16064// the error.
16065//
16066// See the AWS API reference guide for Amazon SageMaker Service's
16067// API operation ListMonitoringExecutions for usage and error information.
16068// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListMonitoringExecutions
16069func (c *SageMaker) ListMonitoringExecutions(input *ListMonitoringExecutionsInput) (*ListMonitoringExecutionsOutput, error) {
16070	req, out := c.ListMonitoringExecutionsRequest(input)
16071	return out, req.Send()
16072}
16073
16074// ListMonitoringExecutionsWithContext is the same as ListMonitoringExecutions with the addition of
16075// the ability to pass a context and additional request options.
16076//
16077// See ListMonitoringExecutions for details on how to use this API operation.
16078//
16079// The context must be non-nil and will be used for request cancellation. If
16080// the context is nil a panic will occur. In the future the SDK may create
16081// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16082// for more information on using Contexts.
16083func (c *SageMaker) ListMonitoringExecutionsWithContext(ctx aws.Context, input *ListMonitoringExecutionsInput, opts ...request.Option) (*ListMonitoringExecutionsOutput, error) {
16084	req, out := c.ListMonitoringExecutionsRequest(input)
16085	req.SetContext(ctx)
16086	req.ApplyOptions(opts...)
16087	return out, req.Send()
16088}
16089
16090// ListMonitoringExecutionsPages iterates over the pages of a ListMonitoringExecutions operation,
16091// calling the "fn" function with the response data for each page. To stop
16092// iterating, return false from the fn function.
16093//
16094// See ListMonitoringExecutions method for more information on how to use this operation.
16095//
16096// Note: This operation can generate multiple requests to a service.
16097//
16098//    // Example iterating over at most 3 pages of a ListMonitoringExecutions operation.
16099//    pageNum := 0
16100//    err := client.ListMonitoringExecutionsPages(params,
16101//        func(page *sagemaker.ListMonitoringExecutionsOutput, lastPage bool) bool {
16102//            pageNum++
16103//            fmt.Println(page)
16104//            return pageNum <= 3
16105//        })
16106//
16107func (c *SageMaker) ListMonitoringExecutionsPages(input *ListMonitoringExecutionsInput, fn func(*ListMonitoringExecutionsOutput, bool) bool) error {
16108	return c.ListMonitoringExecutionsPagesWithContext(aws.BackgroundContext(), input, fn)
16109}
16110
16111// ListMonitoringExecutionsPagesWithContext same as ListMonitoringExecutionsPages except
16112// it takes a Context and allows setting request options on the pages.
16113//
16114// The context must be non-nil and will be used for request cancellation. If
16115// the context is nil a panic will occur. In the future the SDK may create
16116// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16117// for more information on using Contexts.
16118func (c *SageMaker) ListMonitoringExecutionsPagesWithContext(ctx aws.Context, input *ListMonitoringExecutionsInput, fn func(*ListMonitoringExecutionsOutput, bool) bool, opts ...request.Option) error {
16119	p := request.Pagination{
16120		NewRequest: func() (*request.Request, error) {
16121			var inCpy *ListMonitoringExecutionsInput
16122			if input != nil {
16123				tmp := *input
16124				inCpy = &tmp
16125			}
16126			req, _ := c.ListMonitoringExecutionsRequest(inCpy)
16127			req.SetContext(ctx)
16128			req.ApplyOptions(opts...)
16129			return req, nil
16130		},
16131	}
16132
16133	for p.Next() {
16134		if !fn(p.Page().(*ListMonitoringExecutionsOutput), !p.HasNextPage()) {
16135			break
16136		}
16137	}
16138
16139	return p.Err()
16140}
16141
16142const opListMonitoringSchedules = "ListMonitoringSchedules"
16143
16144// ListMonitoringSchedulesRequest generates a "aws/request.Request" representing the
16145// client's request for the ListMonitoringSchedules operation. The "output" return
16146// value will be populated with the request's response once the request completes
16147// successfully.
16148//
16149// Use "Send" method on the returned Request to send the API call to the service.
16150// the "output" return value is not valid until after Send returns without error.
16151//
16152// See ListMonitoringSchedules for more information on using the ListMonitoringSchedules
16153// API call, and error handling.
16154//
16155// This method is useful when you want to inject custom logic or configuration
16156// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16157//
16158//
16159//    // Example sending a request using the ListMonitoringSchedulesRequest method.
16160//    req, resp := client.ListMonitoringSchedulesRequest(params)
16161//
16162//    err := req.Send()
16163//    if err == nil { // resp is now filled
16164//        fmt.Println(resp)
16165//    }
16166//
16167// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListMonitoringSchedules
16168func (c *SageMaker) ListMonitoringSchedulesRequest(input *ListMonitoringSchedulesInput) (req *request.Request, output *ListMonitoringSchedulesOutput) {
16169	op := &request.Operation{
16170		Name:       opListMonitoringSchedules,
16171		HTTPMethod: "POST",
16172		HTTPPath:   "/",
16173		Paginator: &request.Paginator{
16174			InputTokens:     []string{"NextToken"},
16175			OutputTokens:    []string{"NextToken"},
16176			LimitToken:      "MaxResults",
16177			TruncationToken: "",
16178		},
16179	}
16180
16181	if input == nil {
16182		input = &ListMonitoringSchedulesInput{}
16183	}
16184
16185	output = &ListMonitoringSchedulesOutput{}
16186	req = c.newRequest(op, input, output)
16187	return
16188}
16189
16190// ListMonitoringSchedules API operation for Amazon SageMaker Service.
16191//
16192// Returns list of all monitoring schedules.
16193//
16194// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16195// with awserr.Error's Code and Message methods to get detailed information about
16196// the error.
16197//
16198// See the AWS API reference guide for Amazon SageMaker Service's
16199// API operation ListMonitoringSchedules for usage and error information.
16200// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListMonitoringSchedules
16201func (c *SageMaker) ListMonitoringSchedules(input *ListMonitoringSchedulesInput) (*ListMonitoringSchedulesOutput, error) {
16202	req, out := c.ListMonitoringSchedulesRequest(input)
16203	return out, req.Send()
16204}
16205
16206// ListMonitoringSchedulesWithContext is the same as ListMonitoringSchedules with the addition of
16207// the ability to pass a context and additional request options.
16208//
16209// See ListMonitoringSchedules for details on how to use this API operation.
16210//
16211// The context must be non-nil and will be used for request cancellation. If
16212// the context is nil a panic will occur. In the future the SDK may create
16213// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16214// for more information on using Contexts.
16215func (c *SageMaker) ListMonitoringSchedulesWithContext(ctx aws.Context, input *ListMonitoringSchedulesInput, opts ...request.Option) (*ListMonitoringSchedulesOutput, error) {
16216	req, out := c.ListMonitoringSchedulesRequest(input)
16217	req.SetContext(ctx)
16218	req.ApplyOptions(opts...)
16219	return out, req.Send()
16220}
16221
16222// ListMonitoringSchedulesPages iterates over the pages of a ListMonitoringSchedules operation,
16223// calling the "fn" function with the response data for each page. To stop
16224// iterating, return false from the fn function.
16225//
16226// See ListMonitoringSchedules method for more information on how to use this operation.
16227//
16228// Note: This operation can generate multiple requests to a service.
16229//
16230//    // Example iterating over at most 3 pages of a ListMonitoringSchedules operation.
16231//    pageNum := 0
16232//    err := client.ListMonitoringSchedulesPages(params,
16233//        func(page *sagemaker.ListMonitoringSchedulesOutput, lastPage bool) bool {
16234//            pageNum++
16235//            fmt.Println(page)
16236//            return pageNum <= 3
16237//        })
16238//
16239func (c *SageMaker) ListMonitoringSchedulesPages(input *ListMonitoringSchedulesInput, fn func(*ListMonitoringSchedulesOutput, bool) bool) error {
16240	return c.ListMonitoringSchedulesPagesWithContext(aws.BackgroundContext(), input, fn)
16241}
16242
16243// ListMonitoringSchedulesPagesWithContext same as ListMonitoringSchedulesPages except
16244// it takes a Context and allows setting request options on the pages.
16245//
16246// The context must be non-nil and will be used for request cancellation. If
16247// the context is nil a panic will occur. In the future the SDK may create
16248// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16249// for more information on using Contexts.
16250func (c *SageMaker) ListMonitoringSchedulesPagesWithContext(ctx aws.Context, input *ListMonitoringSchedulesInput, fn func(*ListMonitoringSchedulesOutput, bool) bool, opts ...request.Option) error {
16251	p := request.Pagination{
16252		NewRequest: func() (*request.Request, error) {
16253			var inCpy *ListMonitoringSchedulesInput
16254			if input != nil {
16255				tmp := *input
16256				inCpy = &tmp
16257			}
16258			req, _ := c.ListMonitoringSchedulesRequest(inCpy)
16259			req.SetContext(ctx)
16260			req.ApplyOptions(opts...)
16261			return req, nil
16262		},
16263	}
16264
16265	for p.Next() {
16266		if !fn(p.Page().(*ListMonitoringSchedulesOutput), !p.HasNextPage()) {
16267			break
16268		}
16269	}
16270
16271	return p.Err()
16272}
16273
16274const opListNotebookInstanceLifecycleConfigs = "ListNotebookInstanceLifecycleConfigs"
16275
16276// ListNotebookInstanceLifecycleConfigsRequest generates a "aws/request.Request" representing the
16277// client's request for the ListNotebookInstanceLifecycleConfigs operation. The "output" return
16278// value will be populated with the request's response once the request completes
16279// successfully.
16280//
16281// Use "Send" method on the returned Request to send the API call to the service.
16282// the "output" return value is not valid until after Send returns without error.
16283//
16284// See ListNotebookInstanceLifecycleConfigs for more information on using the ListNotebookInstanceLifecycleConfigs
16285// API call, and error handling.
16286//
16287// This method is useful when you want to inject custom logic or configuration
16288// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16289//
16290//
16291//    // Example sending a request using the ListNotebookInstanceLifecycleConfigsRequest method.
16292//    req, resp := client.ListNotebookInstanceLifecycleConfigsRequest(params)
16293//
16294//    err := req.Send()
16295//    if err == nil { // resp is now filled
16296//        fmt.Println(resp)
16297//    }
16298//
16299// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstanceLifecycleConfigs
16300func (c *SageMaker) ListNotebookInstanceLifecycleConfigsRequest(input *ListNotebookInstanceLifecycleConfigsInput) (req *request.Request, output *ListNotebookInstanceLifecycleConfigsOutput) {
16301	op := &request.Operation{
16302		Name:       opListNotebookInstanceLifecycleConfigs,
16303		HTTPMethod: "POST",
16304		HTTPPath:   "/",
16305		Paginator: &request.Paginator{
16306			InputTokens:     []string{"NextToken"},
16307			OutputTokens:    []string{"NextToken"},
16308			LimitToken:      "MaxResults",
16309			TruncationToken: "",
16310		},
16311	}
16312
16313	if input == nil {
16314		input = &ListNotebookInstanceLifecycleConfigsInput{}
16315	}
16316
16317	output = &ListNotebookInstanceLifecycleConfigsOutput{}
16318	req = c.newRequest(op, input, output)
16319	return
16320}
16321
16322// ListNotebookInstanceLifecycleConfigs API operation for Amazon SageMaker Service.
16323//
16324// Lists notebook instance lifestyle configurations created with the CreateNotebookInstanceLifecycleConfig
16325// API.
16326//
16327// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16328// with awserr.Error's Code and Message methods to get detailed information about
16329// the error.
16330//
16331// See the AWS API reference guide for Amazon SageMaker Service's
16332// API operation ListNotebookInstanceLifecycleConfigs for usage and error information.
16333// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstanceLifecycleConfigs
16334func (c *SageMaker) ListNotebookInstanceLifecycleConfigs(input *ListNotebookInstanceLifecycleConfigsInput) (*ListNotebookInstanceLifecycleConfigsOutput, error) {
16335	req, out := c.ListNotebookInstanceLifecycleConfigsRequest(input)
16336	return out, req.Send()
16337}
16338
16339// ListNotebookInstanceLifecycleConfigsWithContext is the same as ListNotebookInstanceLifecycleConfigs with the addition of
16340// the ability to pass a context and additional request options.
16341//
16342// See ListNotebookInstanceLifecycleConfigs for details on how to use this API operation.
16343//
16344// The context must be non-nil and will be used for request cancellation. If
16345// the context is nil a panic will occur. In the future the SDK may create
16346// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16347// for more information on using Contexts.
16348func (c *SageMaker) ListNotebookInstanceLifecycleConfigsWithContext(ctx aws.Context, input *ListNotebookInstanceLifecycleConfigsInput, opts ...request.Option) (*ListNotebookInstanceLifecycleConfigsOutput, error) {
16349	req, out := c.ListNotebookInstanceLifecycleConfigsRequest(input)
16350	req.SetContext(ctx)
16351	req.ApplyOptions(opts...)
16352	return out, req.Send()
16353}
16354
16355// ListNotebookInstanceLifecycleConfigsPages iterates over the pages of a ListNotebookInstanceLifecycleConfigs operation,
16356// calling the "fn" function with the response data for each page. To stop
16357// iterating, return false from the fn function.
16358//
16359// See ListNotebookInstanceLifecycleConfigs method for more information on how to use this operation.
16360//
16361// Note: This operation can generate multiple requests to a service.
16362//
16363//    // Example iterating over at most 3 pages of a ListNotebookInstanceLifecycleConfigs operation.
16364//    pageNum := 0
16365//    err := client.ListNotebookInstanceLifecycleConfigsPages(params,
16366//        func(page *sagemaker.ListNotebookInstanceLifecycleConfigsOutput, lastPage bool) bool {
16367//            pageNum++
16368//            fmt.Println(page)
16369//            return pageNum <= 3
16370//        })
16371//
16372func (c *SageMaker) ListNotebookInstanceLifecycleConfigsPages(input *ListNotebookInstanceLifecycleConfigsInput, fn func(*ListNotebookInstanceLifecycleConfigsOutput, bool) bool) error {
16373	return c.ListNotebookInstanceLifecycleConfigsPagesWithContext(aws.BackgroundContext(), input, fn)
16374}
16375
16376// ListNotebookInstanceLifecycleConfigsPagesWithContext same as ListNotebookInstanceLifecycleConfigsPages except
16377// it takes a Context and allows setting request options on the pages.
16378//
16379// The context must be non-nil and will be used for request cancellation. If
16380// the context is nil a panic will occur. In the future the SDK may create
16381// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16382// for more information on using Contexts.
16383func (c *SageMaker) ListNotebookInstanceLifecycleConfigsPagesWithContext(ctx aws.Context, input *ListNotebookInstanceLifecycleConfigsInput, fn func(*ListNotebookInstanceLifecycleConfigsOutput, bool) bool, opts ...request.Option) error {
16384	p := request.Pagination{
16385		NewRequest: func() (*request.Request, error) {
16386			var inCpy *ListNotebookInstanceLifecycleConfigsInput
16387			if input != nil {
16388				tmp := *input
16389				inCpy = &tmp
16390			}
16391			req, _ := c.ListNotebookInstanceLifecycleConfigsRequest(inCpy)
16392			req.SetContext(ctx)
16393			req.ApplyOptions(opts...)
16394			return req, nil
16395		},
16396	}
16397
16398	for p.Next() {
16399		if !fn(p.Page().(*ListNotebookInstanceLifecycleConfigsOutput), !p.HasNextPage()) {
16400			break
16401		}
16402	}
16403
16404	return p.Err()
16405}
16406
16407const opListNotebookInstances = "ListNotebookInstances"
16408
16409// ListNotebookInstancesRequest generates a "aws/request.Request" representing the
16410// client's request for the ListNotebookInstances operation. The "output" return
16411// value will be populated with the request's response once the request completes
16412// successfully.
16413//
16414// Use "Send" method on the returned Request to send the API call to the service.
16415// the "output" return value is not valid until after Send returns without error.
16416//
16417// See ListNotebookInstances for more information on using the ListNotebookInstances
16418// API call, and error handling.
16419//
16420// This method is useful when you want to inject custom logic or configuration
16421// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16422//
16423//
16424//    // Example sending a request using the ListNotebookInstancesRequest method.
16425//    req, resp := client.ListNotebookInstancesRequest(params)
16426//
16427//    err := req.Send()
16428//    if err == nil { // resp is now filled
16429//        fmt.Println(resp)
16430//    }
16431//
16432// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstances
16433func (c *SageMaker) ListNotebookInstancesRequest(input *ListNotebookInstancesInput) (req *request.Request, output *ListNotebookInstancesOutput) {
16434	op := &request.Operation{
16435		Name:       opListNotebookInstances,
16436		HTTPMethod: "POST",
16437		HTTPPath:   "/",
16438		Paginator: &request.Paginator{
16439			InputTokens:     []string{"NextToken"},
16440			OutputTokens:    []string{"NextToken"},
16441			LimitToken:      "MaxResults",
16442			TruncationToken: "",
16443		},
16444	}
16445
16446	if input == nil {
16447		input = &ListNotebookInstancesInput{}
16448	}
16449
16450	output = &ListNotebookInstancesOutput{}
16451	req = c.newRequest(op, input, output)
16452	return
16453}
16454
16455// ListNotebookInstances API operation for Amazon SageMaker Service.
16456//
16457// Returns a list of the Amazon SageMaker notebook instances in the requester's
16458// account in an AWS Region.
16459//
16460// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16461// with awserr.Error's Code and Message methods to get detailed information about
16462// the error.
16463//
16464// See the AWS API reference guide for Amazon SageMaker Service's
16465// API operation ListNotebookInstances for usage and error information.
16466// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstances
16467func (c *SageMaker) ListNotebookInstances(input *ListNotebookInstancesInput) (*ListNotebookInstancesOutput, error) {
16468	req, out := c.ListNotebookInstancesRequest(input)
16469	return out, req.Send()
16470}
16471
16472// ListNotebookInstancesWithContext is the same as ListNotebookInstances with the addition of
16473// the ability to pass a context and additional request options.
16474//
16475// See ListNotebookInstances for details on how to use this API operation.
16476//
16477// The context must be non-nil and will be used for request cancellation. If
16478// the context is nil a panic will occur. In the future the SDK may create
16479// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16480// for more information on using Contexts.
16481func (c *SageMaker) ListNotebookInstancesWithContext(ctx aws.Context, input *ListNotebookInstancesInput, opts ...request.Option) (*ListNotebookInstancesOutput, error) {
16482	req, out := c.ListNotebookInstancesRequest(input)
16483	req.SetContext(ctx)
16484	req.ApplyOptions(opts...)
16485	return out, req.Send()
16486}
16487
16488// ListNotebookInstancesPages iterates over the pages of a ListNotebookInstances operation,
16489// calling the "fn" function with the response data for each page. To stop
16490// iterating, return false from the fn function.
16491//
16492// See ListNotebookInstances method for more information on how to use this operation.
16493//
16494// Note: This operation can generate multiple requests to a service.
16495//
16496//    // Example iterating over at most 3 pages of a ListNotebookInstances operation.
16497//    pageNum := 0
16498//    err := client.ListNotebookInstancesPages(params,
16499//        func(page *sagemaker.ListNotebookInstancesOutput, lastPage bool) bool {
16500//            pageNum++
16501//            fmt.Println(page)
16502//            return pageNum <= 3
16503//        })
16504//
16505func (c *SageMaker) ListNotebookInstancesPages(input *ListNotebookInstancesInput, fn func(*ListNotebookInstancesOutput, bool) bool) error {
16506	return c.ListNotebookInstancesPagesWithContext(aws.BackgroundContext(), input, fn)
16507}
16508
16509// ListNotebookInstancesPagesWithContext same as ListNotebookInstancesPages except
16510// it takes a Context and allows setting request options on the pages.
16511//
16512// The context must be non-nil and will be used for request cancellation. If
16513// the context is nil a panic will occur. In the future the SDK may create
16514// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16515// for more information on using Contexts.
16516func (c *SageMaker) ListNotebookInstancesPagesWithContext(ctx aws.Context, input *ListNotebookInstancesInput, fn func(*ListNotebookInstancesOutput, bool) bool, opts ...request.Option) error {
16517	p := request.Pagination{
16518		NewRequest: func() (*request.Request, error) {
16519			var inCpy *ListNotebookInstancesInput
16520			if input != nil {
16521				tmp := *input
16522				inCpy = &tmp
16523			}
16524			req, _ := c.ListNotebookInstancesRequest(inCpy)
16525			req.SetContext(ctx)
16526			req.ApplyOptions(opts...)
16527			return req, nil
16528		},
16529	}
16530
16531	for p.Next() {
16532		if !fn(p.Page().(*ListNotebookInstancesOutput), !p.HasNextPage()) {
16533			break
16534		}
16535	}
16536
16537	return p.Err()
16538}
16539
16540const opListPipelineExecutionSteps = "ListPipelineExecutionSteps"
16541
16542// ListPipelineExecutionStepsRequest generates a "aws/request.Request" representing the
16543// client's request for the ListPipelineExecutionSteps operation. The "output" return
16544// value will be populated with the request's response once the request completes
16545// successfully.
16546//
16547// Use "Send" method on the returned Request to send the API call to the service.
16548// the "output" return value is not valid until after Send returns without error.
16549//
16550// See ListPipelineExecutionSteps for more information on using the ListPipelineExecutionSteps
16551// API call, and error handling.
16552//
16553// This method is useful when you want to inject custom logic or configuration
16554// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16555//
16556//
16557//    // Example sending a request using the ListPipelineExecutionStepsRequest method.
16558//    req, resp := client.ListPipelineExecutionStepsRequest(params)
16559//
16560//    err := req.Send()
16561//    if err == nil { // resp is now filled
16562//        fmt.Println(resp)
16563//    }
16564//
16565// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineExecutionSteps
16566func (c *SageMaker) ListPipelineExecutionStepsRequest(input *ListPipelineExecutionStepsInput) (req *request.Request, output *ListPipelineExecutionStepsOutput) {
16567	op := &request.Operation{
16568		Name:       opListPipelineExecutionSteps,
16569		HTTPMethod: "POST",
16570		HTTPPath:   "/",
16571		Paginator: &request.Paginator{
16572			InputTokens:     []string{"NextToken"},
16573			OutputTokens:    []string{"NextToken"},
16574			LimitToken:      "MaxResults",
16575			TruncationToken: "",
16576		},
16577	}
16578
16579	if input == nil {
16580		input = &ListPipelineExecutionStepsInput{}
16581	}
16582
16583	output = &ListPipelineExecutionStepsOutput{}
16584	req = c.newRequest(op, input, output)
16585	return
16586}
16587
16588// ListPipelineExecutionSteps API operation for Amazon SageMaker Service.
16589//
16590// Gets a list of PipeLineExecutionStep objects.
16591//
16592// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16593// with awserr.Error's Code and Message methods to get detailed information about
16594// the error.
16595//
16596// See the AWS API reference guide for Amazon SageMaker Service's
16597// API operation ListPipelineExecutionSteps for usage and error information.
16598//
16599// Returned Error Types:
16600//   * ResourceNotFound
16601//   Resource being access is not found.
16602//
16603// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineExecutionSteps
16604func (c *SageMaker) ListPipelineExecutionSteps(input *ListPipelineExecutionStepsInput) (*ListPipelineExecutionStepsOutput, error) {
16605	req, out := c.ListPipelineExecutionStepsRequest(input)
16606	return out, req.Send()
16607}
16608
16609// ListPipelineExecutionStepsWithContext is the same as ListPipelineExecutionSteps with the addition of
16610// the ability to pass a context and additional request options.
16611//
16612// See ListPipelineExecutionSteps for details on how to use this API operation.
16613//
16614// The context must be non-nil and will be used for request cancellation. If
16615// the context is nil a panic will occur. In the future the SDK may create
16616// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16617// for more information on using Contexts.
16618func (c *SageMaker) ListPipelineExecutionStepsWithContext(ctx aws.Context, input *ListPipelineExecutionStepsInput, opts ...request.Option) (*ListPipelineExecutionStepsOutput, error) {
16619	req, out := c.ListPipelineExecutionStepsRequest(input)
16620	req.SetContext(ctx)
16621	req.ApplyOptions(opts...)
16622	return out, req.Send()
16623}
16624
16625// ListPipelineExecutionStepsPages iterates over the pages of a ListPipelineExecutionSteps operation,
16626// calling the "fn" function with the response data for each page. To stop
16627// iterating, return false from the fn function.
16628//
16629// See ListPipelineExecutionSteps method for more information on how to use this operation.
16630//
16631// Note: This operation can generate multiple requests to a service.
16632//
16633//    // Example iterating over at most 3 pages of a ListPipelineExecutionSteps operation.
16634//    pageNum := 0
16635//    err := client.ListPipelineExecutionStepsPages(params,
16636//        func(page *sagemaker.ListPipelineExecutionStepsOutput, lastPage bool) bool {
16637//            pageNum++
16638//            fmt.Println(page)
16639//            return pageNum <= 3
16640//        })
16641//
16642func (c *SageMaker) ListPipelineExecutionStepsPages(input *ListPipelineExecutionStepsInput, fn func(*ListPipelineExecutionStepsOutput, bool) bool) error {
16643	return c.ListPipelineExecutionStepsPagesWithContext(aws.BackgroundContext(), input, fn)
16644}
16645
16646// ListPipelineExecutionStepsPagesWithContext same as ListPipelineExecutionStepsPages except
16647// it takes a Context and allows setting request options on the pages.
16648//
16649// The context must be non-nil and will be used for request cancellation. If
16650// the context is nil a panic will occur. In the future the SDK may create
16651// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16652// for more information on using Contexts.
16653func (c *SageMaker) ListPipelineExecutionStepsPagesWithContext(ctx aws.Context, input *ListPipelineExecutionStepsInput, fn func(*ListPipelineExecutionStepsOutput, bool) bool, opts ...request.Option) error {
16654	p := request.Pagination{
16655		NewRequest: func() (*request.Request, error) {
16656			var inCpy *ListPipelineExecutionStepsInput
16657			if input != nil {
16658				tmp := *input
16659				inCpy = &tmp
16660			}
16661			req, _ := c.ListPipelineExecutionStepsRequest(inCpy)
16662			req.SetContext(ctx)
16663			req.ApplyOptions(opts...)
16664			return req, nil
16665		},
16666	}
16667
16668	for p.Next() {
16669		if !fn(p.Page().(*ListPipelineExecutionStepsOutput), !p.HasNextPage()) {
16670			break
16671		}
16672	}
16673
16674	return p.Err()
16675}
16676
16677const opListPipelineExecutions = "ListPipelineExecutions"
16678
16679// ListPipelineExecutionsRequest generates a "aws/request.Request" representing the
16680// client's request for the ListPipelineExecutions operation. The "output" return
16681// value will be populated with the request's response once the request completes
16682// successfully.
16683//
16684// Use "Send" method on the returned Request to send the API call to the service.
16685// the "output" return value is not valid until after Send returns without error.
16686//
16687// See ListPipelineExecutions for more information on using the ListPipelineExecutions
16688// API call, and error handling.
16689//
16690// This method is useful when you want to inject custom logic or configuration
16691// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16692//
16693//
16694//    // Example sending a request using the ListPipelineExecutionsRequest method.
16695//    req, resp := client.ListPipelineExecutionsRequest(params)
16696//
16697//    err := req.Send()
16698//    if err == nil { // resp is now filled
16699//        fmt.Println(resp)
16700//    }
16701//
16702// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineExecutions
16703func (c *SageMaker) ListPipelineExecutionsRequest(input *ListPipelineExecutionsInput) (req *request.Request, output *ListPipelineExecutionsOutput) {
16704	op := &request.Operation{
16705		Name:       opListPipelineExecutions,
16706		HTTPMethod: "POST",
16707		HTTPPath:   "/",
16708		Paginator: &request.Paginator{
16709			InputTokens:     []string{"NextToken"},
16710			OutputTokens:    []string{"NextToken"},
16711			LimitToken:      "MaxResults",
16712			TruncationToken: "",
16713		},
16714	}
16715
16716	if input == nil {
16717		input = &ListPipelineExecutionsInput{}
16718	}
16719
16720	output = &ListPipelineExecutionsOutput{}
16721	req = c.newRequest(op, input, output)
16722	return
16723}
16724
16725// ListPipelineExecutions API operation for Amazon SageMaker Service.
16726//
16727// Gets a list of the pipeline executions.
16728//
16729// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16730// with awserr.Error's Code and Message methods to get detailed information about
16731// the error.
16732//
16733// See the AWS API reference guide for Amazon SageMaker Service's
16734// API operation ListPipelineExecutions for usage and error information.
16735//
16736// Returned Error Types:
16737//   * ResourceNotFound
16738//   Resource being access is not found.
16739//
16740// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineExecutions
16741func (c *SageMaker) ListPipelineExecutions(input *ListPipelineExecutionsInput) (*ListPipelineExecutionsOutput, error) {
16742	req, out := c.ListPipelineExecutionsRequest(input)
16743	return out, req.Send()
16744}
16745
16746// ListPipelineExecutionsWithContext is the same as ListPipelineExecutions with the addition of
16747// the ability to pass a context and additional request options.
16748//
16749// See ListPipelineExecutions for details on how to use this API operation.
16750//
16751// The context must be non-nil and will be used for request cancellation. If
16752// the context is nil a panic will occur. In the future the SDK may create
16753// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16754// for more information on using Contexts.
16755func (c *SageMaker) ListPipelineExecutionsWithContext(ctx aws.Context, input *ListPipelineExecutionsInput, opts ...request.Option) (*ListPipelineExecutionsOutput, error) {
16756	req, out := c.ListPipelineExecutionsRequest(input)
16757	req.SetContext(ctx)
16758	req.ApplyOptions(opts...)
16759	return out, req.Send()
16760}
16761
16762// ListPipelineExecutionsPages iterates over the pages of a ListPipelineExecutions operation,
16763// calling the "fn" function with the response data for each page. To stop
16764// iterating, return false from the fn function.
16765//
16766// See ListPipelineExecutions method for more information on how to use this operation.
16767//
16768// Note: This operation can generate multiple requests to a service.
16769//
16770//    // Example iterating over at most 3 pages of a ListPipelineExecutions operation.
16771//    pageNum := 0
16772//    err := client.ListPipelineExecutionsPages(params,
16773//        func(page *sagemaker.ListPipelineExecutionsOutput, lastPage bool) bool {
16774//            pageNum++
16775//            fmt.Println(page)
16776//            return pageNum <= 3
16777//        })
16778//
16779func (c *SageMaker) ListPipelineExecutionsPages(input *ListPipelineExecutionsInput, fn func(*ListPipelineExecutionsOutput, bool) bool) error {
16780	return c.ListPipelineExecutionsPagesWithContext(aws.BackgroundContext(), input, fn)
16781}
16782
16783// ListPipelineExecutionsPagesWithContext same as ListPipelineExecutionsPages except
16784// it takes a Context and allows setting request options on the pages.
16785//
16786// The context must be non-nil and will be used for request cancellation. If
16787// the context is nil a panic will occur. In the future the SDK may create
16788// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16789// for more information on using Contexts.
16790func (c *SageMaker) ListPipelineExecutionsPagesWithContext(ctx aws.Context, input *ListPipelineExecutionsInput, fn func(*ListPipelineExecutionsOutput, bool) bool, opts ...request.Option) error {
16791	p := request.Pagination{
16792		NewRequest: func() (*request.Request, error) {
16793			var inCpy *ListPipelineExecutionsInput
16794			if input != nil {
16795				tmp := *input
16796				inCpy = &tmp
16797			}
16798			req, _ := c.ListPipelineExecutionsRequest(inCpy)
16799			req.SetContext(ctx)
16800			req.ApplyOptions(opts...)
16801			return req, nil
16802		},
16803	}
16804
16805	for p.Next() {
16806		if !fn(p.Page().(*ListPipelineExecutionsOutput), !p.HasNextPage()) {
16807			break
16808		}
16809	}
16810
16811	return p.Err()
16812}
16813
16814const opListPipelineParametersForExecution = "ListPipelineParametersForExecution"
16815
16816// ListPipelineParametersForExecutionRequest generates a "aws/request.Request" representing the
16817// client's request for the ListPipelineParametersForExecution operation. The "output" return
16818// value will be populated with the request's response once the request completes
16819// successfully.
16820//
16821// Use "Send" method on the returned Request to send the API call to the service.
16822// the "output" return value is not valid until after Send returns without error.
16823//
16824// See ListPipelineParametersForExecution for more information on using the ListPipelineParametersForExecution
16825// API call, and error handling.
16826//
16827// This method is useful when you want to inject custom logic or configuration
16828// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16829//
16830//
16831//    // Example sending a request using the ListPipelineParametersForExecutionRequest method.
16832//    req, resp := client.ListPipelineParametersForExecutionRequest(params)
16833//
16834//    err := req.Send()
16835//    if err == nil { // resp is now filled
16836//        fmt.Println(resp)
16837//    }
16838//
16839// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineParametersForExecution
16840func (c *SageMaker) ListPipelineParametersForExecutionRequest(input *ListPipelineParametersForExecutionInput) (req *request.Request, output *ListPipelineParametersForExecutionOutput) {
16841	op := &request.Operation{
16842		Name:       opListPipelineParametersForExecution,
16843		HTTPMethod: "POST",
16844		HTTPPath:   "/",
16845		Paginator: &request.Paginator{
16846			InputTokens:     []string{"NextToken"},
16847			OutputTokens:    []string{"NextToken"},
16848			LimitToken:      "MaxResults",
16849			TruncationToken: "",
16850		},
16851	}
16852
16853	if input == nil {
16854		input = &ListPipelineParametersForExecutionInput{}
16855	}
16856
16857	output = &ListPipelineParametersForExecutionOutput{}
16858	req = c.newRequest(op, input, output)
16859	return
16860}
16861
16862// ListPipelineParametersForExecution API operation for Amazon SageMaker Service.
16863//
16864// Gets a list of parameters for a pipeline execution.
16865//
16866// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16867// with awserr.Error's Code and Message methods to get detailed information about
16868// the error.
16869//
16870// See the AWS API reference guide for Amazon SageMaker Service's
16871// API operation ListPipelineParametersForExecution for usage and error information.
16872//
16873// Returned Error Types:
16874//   * ResourceNotFound
16875//   Resource being access is not found.
16876//
16877// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineParametersForExecution
16878func (c *SageMaker) ListPipelineParametersForExecution(input *ListPipelineParametersForExecutionInput) (*ListPipelineParametersForExecutionOutput, error) {
16879	req, out := c.ListPipelineParametersForExecutionRequest(input)
16880	return out, req.Send()
16881}
16882
16883// ListPipelineParametersForExecutionWithContext is the same as ListPipelineParametersForExecution with the addition of
16884// the ability to pass a context and additional request options.
16885//
16886// See ListPipelineParametersForExecution for details on how to use this API operation.
16887//
16888// The context must be non-nil and will be used for request cancellation. If
16889// the context is nil a panic will occur. In the future the SDK may create
16890// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16891// for more information on using Contexts.
16892func (c *SageMaker) ListPipelineParametersForExecutionWithContext(ctx aws.Context, input *ListPipelineParametersForExecutionInput, opts ...request.Option) (*ListPipelineParametersForExecutionOutput, error) {
16893	req, out := c.ListPipelineParametersForExecutionRequest(input)
16894	req.SetContext(ctx)
16895	req.ApplyOptions(opts...)
16896	return out, req.Send()
16897}
16898
16899// ListPipelineParametersForExecutionPages iterates over the pages of a ListPipelineParametersForExecution operation,
16900// calling the "fn" function with the response data for each page. To stop
16901// iterating, return false from the fn function.
16902//
16903// See ListPipelineParametersForExecution method for more information on how to use this operation.
16904//
16905// Note: This operation can generate multiple requests to a service.
16906//
16907//    // Example iterating over at most 3 pages of a ListPipelineParametersForExecution operation.
16908//    pageNum := 0
16909//    err := client.ListPipelineParametersForExecutionPages(params,
16910//        func(page *sagemaker.ListPipelineParametersForExecutionOutput, lastPage bool) bool {
16911//            pageNum++
16912//            fmt.Println(page)
16913//            return pageNum <= 3
16914//        })
16915//
16916func (c *SageMaker) ListPipelineParametersForExecutionPages(input *ListPipelineParametersForExecutionInput, fn func(*ListPipelineParametersForExecutionOutput, bool) bool) error {
16917	return c.ListPipelineParametersForExecutionPagesWithContext(aws.BackgroundContext(), input, fn)
16918}
16919
16920// ListPipelineParametersForExecutionPagesWithContext same as ListPipelineParametersForExecutionPages except
16921// it takes a Context and allows setting request options on the pages.
16922//
16923// The context must be non-nil and will be used for request cancellation. If
16924// the context is nil a panic will occur. In the future the SDK may create
16925// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16926// for more information on using Contexts.
16927func (c *SageMaker) ListPipelineParametersForExecutionPagesWithContext(ctx aws.Context, input *ListPipelineParametersForExecutionInput, fn func(*ListPipelineParametersForExecutionOutput, bool) bool, opts ...request.Option) error {
16928	p := request.Pagination{
16929		NewRequest: func() (*request.Request, error) {
16930			var inCpy *ListPipelineParametersForExecutionInput
16931			if input != nil {
16932				tmp := *input
16933				inCpy = &tmp
16934			}
16935			req, _ := c.ListPipelineParametersForExecutionRequest(inCpy)
16936			req.SetContext(ctx)
16937			req.ApplyOptions(opts...)
16938			return req, nil
16939		},
16940	}
16941
16942	for p.Next() {
16943		if !fn(p.Page().(*ListPipelineParametersForExecutionOutput), !p.HasNextPage()) {
16944			break
16945		}
16946	}
16947
16948	return p.Err()
16949}
16950
16951const opListPipelines = "ListPipelines"
16952
16953// ListPipelinesRequest generates a "aws/request.Request" representing the
16954// client's request for the ListPipelines operation. The "output" return
16955// value will be populated with the request's response once the request completes
16956// successfully.
16957//
16958// Use "Send" method on the returned Request to send the API call to the service.
16959// the "output" return value is not valid until after Send returns without error.
16960//
16961// See ListPipelines for more information on using the ListPipelines
16962// API call, and error handling.
16963//
16964// This method is useful when you want to inject custom logic or configuration
16965// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16966//
16967//
16968//    // Example sending a request using the ListPipelinesRequest method.
16969//    req, resp := client.ListPipelinesRequest(params)
16970//
16971//    err := req.Send()
16972//    if err == nil { // resp is now filled
16973//        fmt.Println(resp)
16974//    }
16975//
16976// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelines
16977func (c *SageMaker) ListPipelinesRequest(input *ListPipelinesInput) (req *request.Request, output *ListPipelinesOutput) {
16978	op := &request.Operation{
16979		Name:       opListPipelines,
16980		HTTPMethod: "POST",
16981		HTTPPath:   "/",
16982		Paginator: &request.Paginator{
16983			InputTokens:     []string{"NextToken"},
16984			OutputTokens:    []string{"NextToken"},
16985			LimitToken:      "MaxResults",
16986			TruncationToken: "",
16987		},
16988	}
16989
16990	if input == nil {
16991		input = &ListPipelinesInput{}
16992	}
16993
16994	output = &ListPipelinesOutput{}
16995	req = c.newRequest(op, input, output)
16996	return
16997}
16998
16999// ListPipelines API operation for Amazon SageMaker Service.
17000//
17001// Gets a list of pipelines.
17002//
17003// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
17004// with awserr.Error's Code and Message methods to get detailed information about
17005// the error.
17006//
17007// See the AWS API reference guide for Amazon SageMaker Service's
17008// API operation ListPipelines for usage and error information.
17009// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelines
17010func (c *SageMaker) ListPipelines(input *ListPipelinesInput) (*ListPipelinesOutput, error) {
17011	req, out := c.ListPipelinesRequest(input)
17012	return out, req.Send()
17013}
17014
17015// ListPipelinesWithContext is the same as ListPipelines with the addition of
17016// the ability to pass a context and additional request options.
17017//
17018// See ListPipelines for details on how to use this API operation.
17019//
17020// The context must be non-nil and will be used for request cancellation. If
17021// the context is nil a panic will occur. In the future the SDK may create
17022// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17023// for more information on using Contexts.
17024func (c *SageMaker) ListPipelinesWithContext(ctx aws.Context, input *ListPipelinesInput, opts ...request.Option) (*ListPipelinesOutput, error) {
17025	req, out := c.ListPipelinesRequest(input)
17026	req.SetContext(ctx)
17027	req.ApplyOptions(opts...)
17028	return out, req.Send()
17029}
17030
17031// ListPipelinesPages iterates over the pages of a ListPipelines operation,
17032// calling the "fn" function with the response data for each page. To stop
17033// iterating, return false from the fn function.
17034//
17035// See ListPipelines method for more information on how to use this operation.
17036//
17037// Note: This operation can generate multiple requests to a service.
17038//
17039//    // Example iterating over at most 3 pages of a ListPipelines operation.
17040//    pageNum := 0
17041//    err := client.ListPipelinesPages(params,
17042//        func(page *sagemaker.ListPipelinesOutput, lastPage bool) bool {
17043//            pageNum++
17044//            fmt.Println(page)
17045//            return pageNum <= 3
17046//        })
17047//
17048func (c *SageMaker) ListPipelinesPages(input *ListPipelinesInput, fn func(*ListPipelinesOutput, bool) bool) error {
17049	return c.ListPipelinesPagesWithContext(aws.BackgroundContext(), input, fn)
17050}
17051
17052// ListPipelinesPagesWithContext same as ListPipelinesPages except
17053// it takes a Context and allows setting request options on the pages.
17054//
17055// The context must be non-nil and will be used for request cancellation. If
17056// the context is nil a panic will occur. In the future the SDK may create
17057// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17058// for more information on using Contexts.
17059func (c *SageMaker) ListPipelinesPagesWithContext(ctx aws.Context, input *ListPipelinesInput, fn func(*ListPipelinesOutput, bool) bool, opts ...request.Option) error {
17060	p := request.Pagination{
17061		NewRequest: func() (*request.Request, error) {
17062			var inCpy *ListPipelinesInput
17063			if input != nil {
17064				tmp := *input
17065				inCpy = &tmp
17066			}
17067			req, _ := c.ListPipelinesRequest(inCpy)
17068			req.SetContext(ctx)
17069			req.ApplyOptions(opts...)
17070			return req, nil
17071		},
17072	}
17073
17074	for p.Next() {
17075		if !fn(p.Page().(*ListPipelinesOutput), !p.HasNextPage()) {
17076			break
17077		}
17078	}
17079
17080	return p.Err()
17081}
17082
17083const opListProcessingJobs = "ListProcessingJobs"
17084
17085// ListProcessingJobsRequest generates a "aws/request.Request" representing the
17086// client's request for the ListProcessingJobs operation. The "output" return
17087// value will be populated with the request's response once the request completes
17088// successfully.
17089//
17090// Use "Send" method on the returned Request to send the API call to the service.
17091// the "output" return value is not valid until after Send returns without error.
17092//
17093// See ListProcessingJobs for more information on using the ListProcessingJobs
17094// API call, and error handling.
17095//
17096// This method is useful when you want to inject custom logic or configuration
17097// into the SDK's request lifecycle. Such as custom headers, or retry logic.
17098//
17099//
17100//    // Example sending a request using the ListProcessingJobsRequest method.
17101//    req, resp := client.ListProcessingJobsRequest(params)
17102//
17103//    err := req.Send()
17104//    if err == nil { // resp is now filled
17105//        fmt.Println(resp)
17106//    }
17107//
17108// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListProcessingJobs
17109func (c *SageMaker) ListProcessingJobsRequest(input *ListProcessingJobsInput) (req *request.Request, output *ListProcessingJobsOutput) {
17110	op := &request.Operation{
17111		Name:       opListProcessingJobs,
17112		HTTPMethod: "POST",
17113		HTTPPath:   "/",
17114		Paginator: &request.Paginator{
17115			InputTokens:     []string{"NextToken"},
17116			OutputTokens:    []string{"NextToken"},
17117			LimitToken:      "MaxResults",
17118			TruncationToken: "",
17119		},
17120	}
17121
17122	if input == nil {
17123		input = &ListProcessingJobsInput{}
17124	}
17125
17126	output = &ListProcessingJobsOutput{}
17127	req = c.newRequest(op, input, output)
17128	return
17129}
17130
17131// ListProcessingJobs API operation for Amazon SageMaker Service.
17132//
17133// Lists processing jobs that satisfy various filters.
17134//
17135// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
17136// with awserr.Error's Code and Message methods to get detailed information about
17137// the error.
17138//
17139// See the AWS API reference guide for Amazon SageMaker Service's
17140// API operation ListProcessingJobs for usage and error information.
17141// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListProcessingJobs
17142func (c *SageMaker) ListProcessingJobs(input *ListProcessingJobsInput) (*ListProcessingJobsOutput, error) {
17143	req, out := c.ListProcessingJobsRequest(input)
17144	return out, req.Send()
17145}
17146
17147// ListProcessingJobsWithContext is the same as ListProcessingJobs with the addition of
17148// the ability to pass a context and additional request options.
17149//
17150// See ListProcessingJobs for details on how to use this API operation.
17151//
17152// The context must be non-nil and will be used for request cancellation. If
17153// the context is nil a panic will occur. In the future the SDK may create
17154// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17155// for more information on using Contexts.
17156func (c *SageMaker) ListProcessingJobsWithContext(ctx aws.Context, input *ListProcessingJobsInput, opts ...request.Option) (*ListProcessingJobsOutput, error) {
17157	req, out := c.ListProcessingJobsRequest(input)
17158	req.SetContext(ctx)
17159	req.ApplyOptions(opts...)
17160	return out, req.Send()
17161}
17162
17163// ListProcessingJobsPages iterates over the pages of a ListProcessingJobs operation,
17164// calling the "fn" function with the response data for each page. To stop
17165// iterating, return false from the fn function.
17166//
17167// See ListProcessingJobs method for more information on how to use this operation.
17168//
17169// Note: This operation can generate multiple requests to a service.
17170//
17171//    // Example iterating over at most 3 pages of a ListProcessingJobs operation.
17172//    pageNum := 0
17173//    err := client.ListProcessingJobsPages(params,
17174//        func(page *sagemaker.ListProcessingJobsOutput, lastPage bool) bool {
17175//            pageNum++
17176//            fmt.Println(page)
17177//            return pageNum <= 3
17178//        })
17179//
17180func (c *SageMaker) ListProcessingJobsPages(input *ListProcessingJobsInput, fn func(*ListProcessingJobsOutput, bool) bool) error {
17181	return c.ListProcessingJobsPagesWithContext(aws.BackgroundContext(), input, fn)
17182}
17183
17184// ListProcessingJobsPagesWithContext same as ListProcessingJobsPages except
17185// it takes a Context and allows setting request options on the pages.
17186//
17187// The context must be non-nil and will be used for request cancellation. If
17188// the context is nil a panic will occur. In the future the SDK may create
17189// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17190// for more information on using Contexts.
17191func (c *SageMaker) ListProcessingJobsPagesWithContext(ctx aws.Context, input *ListProcessingJobsInput, fn func(*ListProcessingJobsOutput, bool) bool, opts ...request.Option) error {
17192	p := request.Pagination{
17193		NewRequest: func() (*request.Request, error) {
17194			var inCpy *ListProcessingJobsInput
17195			if input != nil {
17196				tmp := *input
17197				inCpy = &tmp
17198			}
17199			req, _ := c.ListProcessingJobsRequest(inCpy)
17200			req.SetContext(ctx)
17201			req.ApplyOptions(opts...)
17202			return req, nil
17203		},
17204	}
17205
17206	for p.Next() {
17207		if !fn(p.Page().(*ListProcessingJobsOutput), !p.HasNextPage()) {
17208			break
17209		}
17210	}
17211
17212	return p.Err()
17213}
17214
17215const opListProjects = "ListProjects"
17216
17217// ListProjectsRequest generates a "aws/request.Request" representing the
17218// client's request for the ListProjects operation. The "output" return
17219// value will be populated with the request's response once the request completes
17220// successfully.
17221//
17222// Use "Send" method on the returned Request to send the API call to the service.
17223// the "output" return value is not valid until after Send returns without error.
17224//
17225// See ListProjects for more information on using the ListProjects
17226// API call, and error handling.
17227//
17228// This method is useful when you want to inject custom logic or configuration
17229// into the SDK's request lifecycle. Such as custom headers, or retry logic.
17230//
17231//
17232//    // Example sending a request using the ListProjectsRequest method.
17233//    req, resp := client.ListProjectsRequest(params)
17234//
17235//    err := req.Send()
17236//    if err == nil { // resp is now filled
17237//        fmt.Println(resp)
17238//    }
17239//
17240// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListProjects
17241func (c *SageMaker) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput) {
17242	op := &request.Operation{
17243		Name:       opListProjects,
17244		HTTPMethod: "POST",
17245		HTTPPath:   "/",
17246		Paginator: &request.Paginator{
17247			InputTokens:     []string{"NextToken"},
17248			OutputTokens:    []string{"NextToken"},
17249			LimitToken:      "MaxResults",
17250			TruncationToken: "",
17251		},
17252	}
17253
17254	if input == nil {
17255		input = &ListProjectsInput{}
17256	}
17257
17258	output = &ListProjectsOutput{}
17259	req = c.newRequest(op, input, output)
17260	return
17261}
17262
17263// ListProjects API operation for Amazon SageMaker Service.
17264//
17265// Gets a list of the projects in an AWS account.
17266//
17267// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
17268// with awserr.Error's Code and Message methods to get detailed information about
17269// the error.
17270//
17271// See the AWS API reference guide for Amazon SageMaker Service's
17272// API operation ListProjects for usage and error information.
17273// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListProjects
17274func (c *SageMaker) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error) {
17275	req, out := c.ListProjectsRequest(input)
17276	return out, req.Send()
17277}
17278
17279// ListProjectsWithContext is the same as ListProjects with the addition of
17280// the ability to pass a context and additional request options.
17281//
17282// See ListProjects for details on how to use this API operation.
17283//
17284// The context must be non-nil and will be used for request cancellation. If
17285// the context is nil a panic will occur. In the future the SDK may create
17286// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17287// for more information on using Contexts.
17288func (c *SageMaker) ListProjectsWithContext(ctx aws.Context, input *ListProjectsInput, opts ...request.Option) (*ListProjectsOutput, error) {
17289	req, out := c.ListProjectsRequest(input)
17290	req.SetContext(ctx)
17291	req.ApplyOptions(opts...)
17292	return out, req.Send()
17293}
17294
17295// ListProjectsPages iterates over the pages of a ListProjects operation,
17296// calling the "fn" function with the response data for each page. To stop
17297// iterating, return false from the fn function.
17298//
17299// See ListProjects method for more information on how to use this operation.
17300//
17301// Note: This operation can generate multiple requests to a service.
17302//
17303//    // Example iterating over at most 3 pages of a ListProjects operation.
17304//    pageNum := 0
17305//    err := client.ListProjectsPages(params,
17306//        func(page *sagemaker.ListProjectsOutput, lastPage bool) bool {
17307//            pageNum++
17308//            fmt.Println(page)
17309//            return pageNum <= 3
17310//        })
17311//
17312func (c *SageMaker) ListProjectsPages(input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool) error {
17313	return c.ListProjectsPagesWithContext(aws.BackgroundContext(), input, fn)
17314}
17315
17316// ListProjectsPagesWithContext same as ListProjectsPages except
17317// it takes a Context and allows setting request options on the pages.
17318//
17319// The context must be non-nil and will be used for request cancellation. If
17320// the context is nil a panic will occur. In the future the SDK may create
17321// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17322// for more information on using Contexts.
17323func (c *SageMaker) ListProjectsPagesWithContext(ctx aws.Context, input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool, opts ...request.Option) error {
17324	p := request.Pagination{
17325		NewRequest: func() (*request.Request, error) {
17326			var inCpy *ListProjectsInput
17327			if input != nil {
17328				tmp := *input
17329				inCpy = &tmp
17330			}
17331			req, _ := c.ListProjectsRequest(inCpy)
17332			req.SetContext(ctx)
17333			req.ApplyOptions(opts...)
17334			return req, nil
17335		},
17336	}
17337
17338	for p.Next() {
17339		if !fn(p.Page().(*ListProjectsOutput), !p.HasNextPage()) {
17340			break
17341		}
17342	}
17343
17344	return p.Err()
17345}
17346
17347const opListSubscribedWorkteams = "ListSubscribedWorkteams"
17348
17349// ListSubscribedWorkteamsRequest generates a "aws/request.Request" representing the
17350// client's request for the ListSubscribedWorkteams operation. The "output" return
17351// value will be populated with the request's response once the request completes
17352// successfully.
17353//
17354// Use "Send" method on the returned Request to send the API call to the service.
17355// the "output" return value is not valid until after Send returns without error.
17356//
17357// See ListSubscribedWorkteams for more information on using the ListSubscribedWorkteams
17358// API call, and error handling.
17359//
17360// This method is useful when you want to inject custom logic or configuration
17361// into the SDK's request lifecycle. Such as custom headers, or retry logic.
17362//
17363//
17364//    // Example sending a request using the ListSubscribedWorkteamsRequest method.
17365//    req, resp := client.ListSubscribedWorkteamsRequest(params)
17366//
17367//    err := req.Send()
17368//    if err == nil { // resp is now filled
17369//        fmt.Println(resp)
17370//    }
17371//
17372// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListSubscribedWorkteams
17373func (c *SageMaker) ListSubscribedWorkteamsRequest(input *ListSubscribedWorkteamsInput) (req *request.Request, output *ListSubscribedWorkteamsOutput) {
17374	op := &request.Operation{
17375		Name:       opListSubscribedWorkteams,
17376		HTTPMethod: "POST",
17377		HTTPPath:   "/",
17378		Paginator: &request.Paginator{
17379			InputTokens:     []string{"NextToken"},
17380			OutputTokens:    []string{"NextToken"},
17381			LimitToken:      "MaxResults",
17382			TruncationToken: "",
17383		},
17384	}
17385
17386	if input == nil {
17387		input = &ListSubscribedWorkteamsInput{}
17388	}
17389
17390	output = &ListSubscribedWorkteamsOutput{}
17391	req = c.newRequest(op, input, output)
17392	return
17393}
17394
17395// ListSubscribedWorkteams API operation for Amazon SageMaker Service.
17396//
17397// Gets a list of the work teams that you are subscribed to in the AWS Marketplace.
17398// The list may be empty if no work team satisfies the filter specified in the
17399// NameContains parameter.
17400//
17401// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
17402// with awserr.Error's Code and Message methods to get detailed information about
17403// the error.
17404//
17405// See the AWS API reference guide for Amazon SageMaker Service's
17406// API operation ListSubscribedWorkteams for usage and error information.
17407// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListSubscribedWorkteams
17408func (c *SageMaker) ListSubscribedWorkteams(input *ListSubscribedWorkteamsInput) (*ListSubscribedWorkteamsOutput, error) {
17409	req, out := c.ListSubscribedWorkteamsRequest(input)
17410	return out, req.Send()
17411}
17412
17413// ListSubscribedWorkteamsWithContext is the same as ListSubscribedWorkteams with the addition of
17414// the ability to pass a context and additional request options.
17415//
17416// See ListSubscribedWorkteams for details on how to use this API operation.
17417//
17418// The context must be non-nil and will be used for request cancellation. If
17419// the context is nil a panic will occur. In the future the SDK may create
17420// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17421// for more information on using Contexts.
17422func (c *SageMaker) ListSubscribedWorkteamsWithContext(ctx aws.Context, input *ListSubscribedWorkteamsInput, opts ...request.Option) (*ListSubscribedWorkteamsOutput, error) {
17423	req, out := c.ListSubscribedWorkteamsRequest(input)
17424	req.SetContext(ctx)
17425	req.ApplyOptions(opts...)
17426	return out, req.Send()
17427}
17428
17429// ListSubscribedWorkteamsPages iterates over the pages of a ListSubscribedWorkteams operation,
17430// calling the "fn" function with the response data for each page. To stop
17431// iterating, return false from the fn function.
17432//
17433// See ListSubscribedWorkteams method for more information on how to use this operation.
17434//
17435// Note: This operation can generate multiple requests to a service.
17436//
17437//    // Example iterating over at most 3 pages of a ListSubscribedWorkteams operation.
17438//    pageNum := 0
17439//    err := client.ListSubscribedWorkteamsPages(params,
17440//        func(page *sagemaker.ListSubscribedWorkteamsOutput, lastPage bool) bool {
17441//            pageNum++
17442//            fmt.Println(page)
17443//            return pageNum <= 3
17444//        })
17445//
17446func (c *SageMaker) ListSubscribedWorkteamsPages(input *ListSubscribedWorkteamsInput, fn func(*ListSubscribedWorkteamsOutput, bool) bool) error {
17447	return c.ListSubscribedWorkteamsPagesWithContext(aws.BackgroundContext(), input, fn)
17448}
17449
17450// ListSubscribedWorkteamsPagesWithContext same as ListSubscribedWorkteamsPages except
17451// it takes a Context and allows setting request options on the pages.
17452//
17453// The context must be non-nil and will be used for request cancellation. If
17454// the context is nil a panic will occur. In the future the SDK may create
17455// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17456// for more information on using Contexts.
17457func (c *SageMaker) ListSubscribedWorkteamsPagesWithContext(ctx aws.Context, input *ListSubscribedWorkteamsInput, fn func(*ListSubscribedWorkteamsOutput, bool) bool, opts ...request.Option) error {
17458	p := request.Pagination{
17459		NewRequest: func() (*request.Request, error) {
17460			var inCpy *ListSubscribedWorkteamsInput
17461			if input != nil {
17462				tmp := *input
17463				inCpy = &tmp
17464			}
17465			req, _ := c.ListSubscribedWorkteamsRequest(inCpy)
17466			req.SetContext(ctx)
17467			req.ApplyOptions(opts...)
17468			return req, nil
17469		},
17470	}
17471
17472	for p.Next() {
17473		if !fn(p.Page().(*ListSubscribedWorkteamsOutput), !p.HasNextPage()) {
17474			break
17475		}
17476	}
17477
17478	return p.Err()
17479}
17480
17481const opListTags = "ListTags"
17482
17483// ListTagsRequest generates a "aws/request.Request" representing the
17484// client's request for the ListTags operation. The "output" return
17485// value will be populated with the request's response once the request completes
17486// successfully.
17487//
17488// Use "Send" method on the returned Request to send the API call to the service.
17489// the "output" return value is not valid until after Send returns without error.
17490//
17491// See ListTags for more information on using the ListTags
17492// API call, and error handling.
17493//
17494// This method is useful when you want to inject custom logic or configuration
17495// into the SDK's request lifecycle. Such as custom headers, or retry logic.
17496//
17497//
17498//    // Example sending a request using the ListTagsRequest method.
17499//    req, resp := client.ListTagsRequest(params)
17500//
17501//    err := req.Send()
17502//    if err == nil { // resp is now filled
17503//        fmt.Println(resp)
17504//    }
17505//
17506// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTags
17507func (c *SageMaker) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) {
17508	op := &request.Operation{
17509		Name:       opListTags,
17510		HTTPMethod: "POST",
17511		HTTPPath:   "/",
17512		Paginator: &request.Paginator{
17513			InputTokens:     []string{"NextToken"},
17514			OutputTokens:    []string{"NextToken"},
17515			LimitToken:      "MaxResults",
17516			TruncationToken: "",
17517		},
17518	}
17519
17520	if input == nil {
17521		input = &ListTagsInput{}
17522	}
17523
17524	output = &ListTagsOutput{}
17525	req = c.newRequest(op, input, output)
17526	return
17527}
17528
17529// ListTags API operation for Amazon SageMaker Service.
17530//
17531// Returns the tags for the specified Amazon SageMaker resource.
17532//
17533// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
17534// with awserr.Error's Code and Message methods to get detailed information about
17535// the error.
17536//
17537// See the AWS API reference guide for Amazon SageMaker Service's
17538// API operation ListTags for usage and error information.
17539// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTags
17540func (c *SageMaker) ListTags(input *ListTagsInput) (*ListTagsOutput, error) {
17541	req, out := c.ListTagsRequest(input)
17542	return out, req.Send()
17543}
17544
17545// ListTagsWithContext is the same as ListTags with the addition of
17546// the ability to pass a context and additional request options.
17547//
17548// See ListTags for details on how to use this API operation.
17549//
17550// The context must be non-nil and will be used for request cancellation. If
17551// the context is nil a panic will occur. In the future the SDK may create
17552// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17553// for more information on using Contexts.
17554func (c *SageMaker) ListTagsWithContext(ctx aws.Context, input *ListTagsInput, opts ...request.Option) (*ListTagsOutput, error) {
17555	req, out := c.ListTagsRequest(input)
17556	req.SetContext(ctx)
17557	req.ApplyOptions(opts...)
17558	return out, req.Send()
17559}
17560
17561// ListTagsPages iterates over the pages of a ListTags operation,
17562// calling the "fn" function with the response data for each page. To stop
17563// iterating, return false from the fn function.
17564//
17565// See ListTags method for more information on how to use this operation.
17566//
17567// Note: This operation can generate multiple requests to a service.
17568//
17569//    // Example iterating over at most 3 pages of a ListTags operation.
17570//    pageNum := 0
17571//    err := client.ListTagsPages(params,
17572//        func(page *sagemaker.ListTagsOutput, lastPage bool) bool {
17573//            pageNum++
17574//            fmt.Println(page)
17575//            return pageNum <= 3
17576//        })
17577//
17578func (c *SageMaker) ListTagsPages(input *ListTagsInput, fn func(*ListTagsOutput, bool) bool) error {
17579	return c.ListTagsPagesWithContext(aws.BackgroundContext(), input, fn)
17580}
17581
17582// ListTagsPagesWithContext same as ListTagsPages except
17583// it takes a Context and allows setting request options on the pages.
17584//
17585// The context must be non-nil and will be used for request cancellation. If
17586// the context is nil a panic will occur. In the future the SDK may create
17587// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17588// for more information on using Contexts.
17589func (c *SageMaker) ListTagsPagesWithContext(ctx aws.Context, input *ListTagsInput, fn func(*ListTagsOutput, bool) bool, opts ...request.Option) error {
17590	p := request.Pagination{
17591		NewRequest: func() (*request.Request, error) {
17592			var inCpy *ListTagsInput
17593			if input != nil {
17594				tmp := *input
17595				inCpy = &tmp
17596			}
17597			req, _ := c.ListTagsRequest(inCpy)
17598			req.SetContext(ctx)
17599			req.ApplyOptions(opts...)
17600			return req, nil
17601		},
17602	}
17603
17604	for p.Next() {
17605		if !fn(p.Page().(*ListTagsOutput), !p.HasNextPage()) {
17606			break
17607		}
17608	}
17609
17610	return p.Err()
17611}
17612
17613const opListTrainingJobs = "ListTrainingJobs"
17614
17615// ListTrainingJobsRequest generates a "aws/request.Request" representing the
17616// client's request for the ListTrainingJobs operation. The "output" return
17617// value will be populated with the request's response once the request completes
17618// successfully.
17619//
17620// Use "Send" method on the returned Request to send the API call to the service.
17621// the "output" return value is not valid until after Send returns without error.
17622//
17623// See ListTrainingJobs for more information on using the ListTrainingJobs
17624// API call, and error handling.
17625//
17626// This method is useful when you want to inject custom logic or configuration
17627// into the SDK's request lifecycle. Such as custom headers, or retry logic.
17628//
17629//
17630//    // Example sending a request using the ListTrainingJobsRequest method.
17631//    req, resp := client.ListTrainingJobsRequest(params)
17632//
17633//    err := req.Send()
17634//    if err == nil { // resp is now filled
17635//        fmt.Println(resp)
17636//    }
17637//
17638// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobs
17639func (c *SageMaker) ListTrainingJobsRequest(input *ListTrainingJobsInput) (req *request.Request, output *ListTrainingJobsOutput) {
17640	op := &request.Operation{
17641		Name:       opListTrainingJobs,
17642		HTTPMethod: "POST",
17643		HTTPPath:   "/",
17644		Paginator: &request.Paginator{
17645			InputTokens:     []string{"NextToken"},
17646			OutputTokens:    []string{"NextToken"},
17647			LimitToken:      "MaxResults",
17648			TruncationToken: "",
17649		},
17650	}
17651
17652	if input == nil {
17653		input = &ListTrainingJobsInput{}
17654	}
17655
17656	output = &ListTrainingJobsOutput{}
17657	req = c.newRequest(op, input, output)
17658	return
17659}
17660
17661// ListTrainingJobs API operation for Amazon SageMaker Service.
17662//
17663// Lists training jobs.
17664//
17665// When StatusEquals and MaxResults are set at the same time, the MaxResults
17666// number of training jobs are first retrieved ignoring the StatusEquals parameter
17667// and then they are filtered by the StatusEquals parameter, which is returned
17668// as a response.
17669//
17670// For example, if ListTrainingJobs is invoked with the following parameters:
17671//
17672// { ... MaxResults: 100, StatusEquals: InProgress ... }
17673//
17674// First, 100 trainings jobs with any status, including those other than InProgress,
17675// are selected (sorted according to the creation time, from the most current
17676// to the oldest). Next, those with a status of InProgress are returned.
17677//
17678// You can quickly test the API using the following AWS CLI code.
17679//
17680// aws sagemaker list-training-jobs --max-results 100 --status-equals InProgress
17681//
17682// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
17683// with awserr.Error's Code and Message methods to get detailed information about
17684// the error.
17685//
17686// See the AWS API reference guide for Amazon SageMaker Service's
17687// API operation ListTrainingJobs for usage and error information.
17688// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobs
17689func (c *SageMaker) ListTrainingJobs(input *ListTrainingJobsInput) (*ListTrainingJobsOutput, error) {
17690	req, out := c.ListTrainingJobsRequest(input)
17691	return out, req.Send()
17692}
17693
17694// ListTrainingJobsWithContext is the same as ListTrainingJobs with the addition of
17695// the ability to pass a context and additional request options.
17696//
17697// See ListTrainingJobs for details on how to use this API operation.
17698//
17699// The context must be non-nil and will be used for request cancellation. If
17700// the context is nil a panic will occur. In the future the SDK may create
17701// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17702// for more information on using Contexts.
17703func (c *SageMaker) ListTrainingJobsWithContext(ctx aws.Context, input *ListTrainingJobsInput, opts ...request.Option) (*ListTrainingJobsOutput, error) {
17704	req, out := c.ListTrainingJobsRequest(input)
17705	req.SetContext(ctx)
17706	req.ApplyOptions(opts...)
17707	return out, req.Send()
17708}
17709
17710// ListTrainingJobsPages iterates over the pages of a ListTrainingJobs operation,
17711// calling the "fn" function with the response data for each page. To stop
17712// iterating, return false from the fn function.
17713//
17714// See ListTrainingJobs method for more information on how to use this operation.
17715//
17716// Note: This operation can generate multiple requests to a service.
17717//
17718//    // Example iterating over at most 3 pages of a ListTrainingJobs operation.
17719//    pageNum := 0
17720//    err := client.ListTrainingJobsPages(params,
17721//        func(page *sagemaker.ListTrainingJobsOutput, lastPage bool) bool {
17722//            pageNum++
17723//            fmt.Println(page)
17724//            return pageNum <= 3
17725//        })
17726//
17727func (c *SageMaker) ListTrainingJobsPages(input *ListTrainingJobsInput, fn func(*ListTrainingJobsOutput, bool) bool) error {
17728	return c.ListTrainingJobsPagesWithContext(aws.BackgroundContext(), input, fn)
17729}
17730
17731// ListTrainingJobsPagesWithContext same as ListTrainingJobsPages except
17732// it takes a Context and allows setting request options on the pages.
17733//
17734// The context must be non-nil and will be used for request cancellation. If
17735// the context is nil a panic will occur. In the future the SDK may create
17736// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17737// for more information on using Contexts.
17738func (c *SageMaker) ListTrainingJobsPagesWithContext(ctx aws.Context, input *ListTrainingJobsInput, fn func(*ListTrainingJobsOutput, bool) bool, opts ...request.Option) error {
17739	p := request.Pagination{
17740		NewRequest: func() (*request.Request, error) {
17741			var inCpy *ListTrainingJobsInput
17742			if input != nil {
17743				tmp := *input
17744				inCpy = &tmp
17745			}
17746			req, _ := c.ListTrainingJobsRequest(inCpy)
17747			req.SetContext(ctx)
17748			req.ApplyOptions(opts...)
17749			return req, nil
17750		},
17751	}
17752
17753	for p.Next() {
17754		if !fn(p.Page().(*ListTrainingJobsOutput), !p.HasNextPage()) {
17755			break
17756		}
17757	}
17758
17759	return p.Err()
17760}
17761
17762const opListTrainingJobsForHyperParameterTuningJob = "ListTrainingJobsForHyperParameterTuningJob"
17763
17764// ListTrainingJobsForHyperParameterTuningJobRequest generates a "aws/request.Request" representing the
17765// client's request for the ListTrainingJobsForHyperParameterTuningJob operation. The "output" return
17766// value will be populated with the request's response once the request completes
17767// successfully.
17768//
17769// Use "Send" method on the returned Request to send the API call to the service.
17770// the "output" return value is not valid until after Send returns without error.
17771//
17772// See ListTrainingJobsForHyperParameterTuningJob for more information on using the ListTrainingJobsForHyperParameterTuningJob
17773// API call, and error handling.
17774//
17775// This method is useful when you want to inject custom logic or configuration
17776// into the SDK's request lifecycle. Such as custom headers, or retry logic.
17777//
17778//
17779//    // Example sending a request using the ListTrainingJobsForHyperParameterTuningJobRequest method.
17780//    req, resp := client.ListTrainingJobsForHyperParameterTuningJobRequest(params)
17781//
17782//    err := req.Send()
17783//    if err == nil { // resp is now filled
17784//        fmt.Println(resp)
17785//    }
17786//
17787// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobsForHyperParameterTuningJob
17788func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobRequest(input *ListTrainingJobsForHyperParameterTuningJobInput) (req *request.Request, output *ListTrainingJobsForHyperParameterTuningJobOutput) {
17789	op := &request.Operation{
17790		Name:       opListTrainingJobsForHyperParameterTuningJob,
17791		HTTPMethod: "POST",
17792		HTTPPath:   "/",
17793		Paginator: &request.Paginator{
17794			InputTokens:     []string{"NextToken"},
17795			OutputTokens:    []string{"NextToken"},
17796			LimitToken:      "MaxResults",
17797			TruncationToken: "",
17798		},
17799	}
17800
17801	if input == nil {
17802		input = &ListTrainingJobsForHyperParameterTuningJobInput{}
17803	}
17804
17805	output = &ListTrainingJobsForHyperParameterTuningJobOutput{}
17806	req = c.newRequest(op, input, output)
17807	return
17808}
17809
17810// ListTrainingJobsForHyperParameterTuningJob API operation for Amazon SageMaker Service.
17811//
17812// Gets a list of TrainingJobSummary objects that describe the training jobs
17813// that a hyperparameter tuning job launched.
17814//
17815// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
17816// with awserr.Error's Code and Message methods to get detailed information about
17817// the error.
17818//
17819// See the AWS API reference guide for Amazon SageMaker Service's
17820// API operation ListTrainingJobsForHyperParameterTuningJob for usage and error information.
17821//
17822// Returned Error Types:
17823//   * ResourceNotFound
17824//   Resource being access is not found.
17825//
17826// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobsForHyperParameterTuningJob
17827func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJob(input *ListTrainingJobsForHyperParameterTuningJobInput) (*ListTrainingJobsForHyperParameterTuningJobOutput, error) {
17828	req, out := c.ListTrainingJobsForHyperParameterTuningJobRequest(input)
17829	return out, req.Send()
17830}
17831
17832// ListTrainingJobsForHyperParameterTuningJobWithContext is the same as ListTrainingJobsForHyperParameterTuningJob with the addition of
17833// the ability to pass a context and additional request options.
17834//
17835// See ListTrainingJobsForHyperParameterTuningJob for details on how to use this API operation.
17836//
17837// The context must be non-nil and will be used for request cancellation. If
17838// the context is nil a panic will occur. In the future the SDK may create
17839// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17840// for more information on using Contexts.
17841func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobWithContext(ctx aws.Context, input *ListTrainingJobsForHyperParameterTuningJobInput, opts ...request.Option) (*ListTrainingJobsForHyperParameterTuningJobOutput, error) {
17842	req, out := c.ListTrainingJobsForHyperParameterTuningJobRequest(input)
17843	req.SetContext(ctx)
17844	req.ApplyOptions(opts...)
17845	return out, req.Send()
17846}
17847
17848// ListTrainingJobsForHyperParameterTuningJobPages iterates over the pages of a ListTrainingJobsForHyperParameterTuningJob operation,
17849// calling the "fn" function with the response data for each page. To stop
17850// iterating, return false from the fn function.
17851//
17852// See ListTrainingJobsForHyperParameterTuningJob method for more information on how to use this operation.
17853//
17854// Note: This operation can generate multiple requests to a service.
17855//
17856//    // Example iterating over at most 3 pages of a ListTrainingJobsForHyperParameterTuningJob operation.
17857//    pageNum := 0
17858//    err := client.ListTrainingJobsForHyperParameterTuningJobPages(params,
17859//        func(page *sagemaker.ListTrainingJobsForHyperParameterTuningJobOutput, lastPage bool) bool {
17860//            pageNum++
17861//            fmt.Println(page)
17862//            return pageNum <= 3
17863//        })
17864//
17865func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobPages(input *ListTrainingJobsForHyperParameterTuningJobInput, fn func(*ListTrainingJobsForHyperParameterTuningJobOutput, bool) bool) error {
17866	return c.ListTrainingJobsForHyperParameterTuningJobPagesWithContext(aws.BackgroundContext(), input, fn)
17867}
17868
17869// ListTrainingJobsForHyperParameterTuningJobPagesWithContext same as ListTrainingJobsForHyperParameterTuningJobPages except
17870// it takes a Context and allows setting request options on the pages.
17871//
17872// The context must be non-nil and will be used for request cancellation. If
17873// the context is nil a panic will occur. In the future the SDK may create
17874// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17875// for more information on using Contexts.
17876func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobPagesWithContext(ctx aws.Context, input *ListTrainingJobsForHyperParameterTuningJobInput, fn func(*ListTrainingJobsForHyperParameterTuningJobOutput, bool) bool, opts ...request.Option) error {
17877	p := request.Pagination{
17878		NewRequest: func() (*request.Request, error) {
17879			var inCpy *ListTrainingJobsForHyperParameterTuningJobInput
17880			if input != nil {
17881				tmp := *input
17882				inCpy = &tmp
17883			}
17884			req, _ := c.ListTrainingJobsForHyperParameterTuningJobRequest(inCpy)
17885			req.SetContext(ctx)
17886			req.ApplyOptions(opts...)
17887			return req, nil
17888		},
17889	}
17890
17891	for p.Next() {
17892		if !fn(p.Page().(*ListTrainingJobsForHyperParameterTuningJobOutput), !p.HasNextPage()) {
17893			break
17894		}
17895	}
17896
17897	return p.Err()
17898}
17899
17900const opListTransformJobs = "ListTransformJobs"
17901
17902// ListTransformJobsRequest generates a "aws/request.Request" representing the
17903// client's request for the ListTransformJobs operation. The "output" return
17904// value will be populated with the request's response once the request completes
17905// successfully.
17906//
17907// Use "Send" method on the returned Request to send the API call to the service.
17908// the "output" return value is not valid until after Send returns without error.
17909//
17910// See ListTransformJobs for more information on using the ListTransformJobs
17911// API call, and error handling.
17912//
17913// This method is useful when you want to inject custom logic or configuration
17914// into the SDK's request lifecycle. Such as custom headers, or retry logic.
17915//
17916//
17917//    // Example sending a request using the ListTransformJobsRequest method.
17918//    req, resp := client.ListTransformJobsRequest(params)
17919//
17920//    err := req.Send()
17921//    if err == nil { // resp is now filled
17922//        fmt.Println(resp)
17923//    }
17924//
17925// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTransformJobs
17926func (c *SageMaker) ListTransformJobsRequest(input *ListTransformJobsInput) (req *request.Request, output *ListTransformJobsOutput) {
17927	op := &request.Operation{
17928		Name:       opListTransformJobs,
17929		HTTPMethod: "POST",
17930		HTTPPath:   "/",
17931		Paginator: &request.Paginator{
17932			InputTokens:     []string{"NextToken"},
17933			OutputTokens:    []string{"NextToken"},
17934			LimitToken:      "MaxResults",
17935			TruncationToken: "",
17936		},
17937	}
17938
17939	if input == nil {
17940		input = &ListTransformJobsInput{}
17941	}
17942
17943	output = &ListTransformJobsOutput{}
17944	req = c.newRequest(op, input, output)
17945	return
17946}
17947
17948// ListTransformJobs API operation for Amazon SageMaker Service.
17949//
17950// Lists transform jobs.
17951//
17952// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
17953// with awserr.Error's Code and Message methods to get detailed information about
17954// the error.
17955//
17956// See the AWS API reference guide for Amazon SageMaker Service's
17957// API operation ListTransformJobs for usage and error information.
17958// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTransformJobs
17959func (c *SageMaker) ListTransformJobs(input *ListTransformJobsInput) (*ListTransformJobsOutput, error) {
17960	req, out := c.ListTransformJobsRequest(input)
17961	return out, req.Send()
17962}
17963
17964// ListTransformJobsWithContext is the same as ListTransformJobs with the addition of
17965// the ability to pass a context and additional request options.
17966//
17967// See ListTransformJobs for details on how to use this API operation.
17968//
17969// The context must be non-nil and will be used for request cancellation. If
17970// the context is nil a panic will occur. In the future the SDK may create
17971// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17972// for more information on using Contexts.
17973func (c *SageMaker) ListTransformJobsWithContext(ctx aws.Context, input *ListTransformJobsInput, opts ...request.Option) (*ListTransformJobsOutput, error) {
17974	req, out := c.ListTransformJobsRequest(input)
17975	req.SetContext(ctx)
17976	req.ApplyOptions(opts...)
17977	return out, req.Send()
17978}
17979
17980// ListTransformJobsPages iterates over the pages of a ListTransformJobs operation,
17981// calling the "fn" function with the response data for each page. To stop
17982// iterating, return false from the fn function.
17983//
17984// See ListTransformJobs method for more information on how to use this operation.
17985//
17986// Note: This operation can generate multiple requests to a service.
17987//
17988//    // Example iterating over at most 3 pages of a ListTransformJobs operation.
17989//    pageNum := 0
17990//    err := client.ListTransformJobsPages(params,
17991//        func(page *sagemaker.ListTransformJobsOutput, lastPage bool) bool {
17992//            pageNum++
17993//            fmt.Println(page)
17994//            return pageNum <= 3
17995//        })
17996//
17997func (c *SageMaker) ListTransformJobsPages(input *ListTransformJobsInput, fn func(*ListTransformJobsOutput, bool) bool) error {
17998	return c.ListTransformJobsPagesWithContext(aws.BackgroundContext(), input, fn)
17999}
18000
18001// ListTransformJobsPagesWithContext same as ListTransformJobsPages except
18002// it takes a Context and allows setting request options on the pages.
18003//
18004// The context must be non-nil and will be used for request cancellation. If
18005// the context is nil a panic will occur. In the future the SDK may create
18006// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18007// for more information on using Contexts.
18008func (c *SageMaker) ListTransformJobsPagesWithContext(ctx aws.Context, input *ListTransformJobsInput, fn func(*ListTransformJobsOutput, bool) bool, opts ...request.Option) error {
18009	p := request.Pagination{
18010		NewRequest: func() (*request.Request, error) {
18011			var inCpy *ListTransformJobsInput
18012			if input != nil {
18013				tmp := *input
18014				inCpy = &tmp
18015			}
18016			req, _ := c.ListTransformJobsRequest(inCpy)
18017			req.SetContext(ctx)
18018			req.ApplyOptions(opts...)
18019			return req, nil
18020		},
18021	}
18022
18023	for p.Next() {
18024		if !fn(p.Page().(*ListTransformJobsOutput), !p.HasNextPage()) {
18025			break
18026		}
18027	}
18028
18029	return p.Err()
18030}
18031
18032const opListTrialComponents = "ListTrialComponents"
18033
18034// ListTrialComponentsRequest generates a "aws/request.Request" representing the
18035// client's request for the ListTrialComponents operation. The "output" return
18036// value will be populated with the request's response once the request completes
18037// successfully.
18038//
18039// Use "Send" method on the returned Request to send the API call to the service.
18040// the "output" return value is not valid until after Send returns without error.
18041//
18042// See ListTrialComponents for more information on using the ListTrialComponents
18043// API call, and error handling.
18044//
18045// This method is useful when you want to inject custom logic or configuration
18046// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18047//
18048//
18049//    // Example sending a request using the ListTrialComponentsRequest method.
18050//    req, resp := client.ListTrialComponentsRequest(params)
18051//
18052//    err := req.Send()
18053//    if err == nil { // resp is now filled
18054//        fmt.Println(resp)
18055//    }
18056//
18057// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrialComponents
18058func (c *SageMaker) ListTrialComponentsRequest(input *ListTrialComponentsInput) (req *request.Request, output *ListTrialComponentsOutput) {
18059	op := &request.Operation{
18060		Name:       opListTrialComponents,
18061		HTTPMethod: "POST",
18062		HTTPPath:   "/",
18063		Paginator: &request.Paginator{
18064			InputTokens:     []string{"NextToken"},
18065			OutputTokens:    []string{"NextToken"},
18066			LimitToken:      "MaxResults",
18067			TruncationToken: "",
18068		},
18069	}
18070
18071	if input == nil {
18072		input = &ListTrialComponentsInput{}
18073	}
18074
18075	output = &ListTrialComponentsOutput{}
18076	req = c.newRequest(op, input, output)
18077	return
18078}
18079
18080// ListTrialComponents API operation for Amazon SageMaker Service.
18081//
18082// Lists the trial components in your account. You can sort the list by trial
18083// component name or creation time. You can filter the list to show only components
18084// that were created in a specific time range. You can also filter on one of
18085// the following:
18086//
18087//    * ExperimentName
18088//
18089//    * SourceArn
18090//
18091//    * TrialName
18092//
18093// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18094// with awserr.Error's Code and Message methods to get detailed information about
18095// the error.
18096//
18097// See the AWS API reference guide for Amazon SageMaker Service's
18098// API operation ListTrialComponents for usage and error information.
18099//
18100// Returned Error Types:
18101//   * ResourceNotFound
18102//   Resource being access is not found.
18103//
18104// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrialComponents
18105func (c *SageMaker) ListTrialComponents(input *ListTrialComponentsInput) (*ListTrialComponentsOutput, error) {
18106	req, out := c.ListTrialComponentsRequest(input)
18107	return out, req.Send()
18108}
18109
18110// ListTrialComponentsWithContext is the same as ListTrialComponents with the addition of
18111// the ability to pass a context and additional request options.
18112//
18113// See ListTrialComponents for details on how to use this API operation.
18114//
18115// The context must be non-nil and will be used for request cancellation. If
18116// the context is nil a panic will occur. In the future the SDK may create
18117// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18118// for more information on using Contexts.
18119func (c *SageMaker) ListTrialComponentsWithContext(ctx aws.Context, input *ListTrialComponentsInput, opts ...request.Option) (*ListTrialComponentsOutput, error) {
18120	req, out := c.ListTrialComponentsRequest(input)
18121	req.SetContext(ctx)
18122	req.ApplyOptions(opts...)
18123	return out, req.Send()
18124}
18125
18126// ListTrialComponentsPages iterates over the pages of a ListTrialComponents operation,
18127// calling the "fn" function with the response data for each page. To stop
18128// iterating, return false from the fn function.
18129//
18130// See ListTrialComponents method for more information on how to use this operation.
18131//
18132// Note: This operation can generate multiple requests to a service.
18133//
18134//    // Example iterating over at most 3 pages of a ListTrialComponents operation.
18135//    pageNum := 0
18136//    err := client.ListTrialComponentsPages(params,
18137//        func(page *sagemaker.ListTrialComponentsOutput, lastPage bool) bool {
18138//            pageNum++
18139//            fmt.Println(page)
18140//            return pageNum <= 3
18141//        })
18142//
18143func (c *SageMaker) ListTrialComponentsPages(input *ListTrialComponentsInput, fn func(*ListTrialComponentsOutput, bool) bool) error {
18144	return c.ListTrialComponentsPagesWithContext(aws.BackgroundContext(), input, fn)
18145}
18146
18147// ListTrialComponentsPagesWithContext same as ListTrialComponentsPages except
18148// it takes a Context and allows setting request options on the pages.
18149//
18150// The context must be non-nil and will be used for request cancellation. If
18151// the context is nil a panic will occur. In the future the SDK may create
18152// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18153// for more information on using Contexts.
18154func (c *SageMaker) ListTrialComponentsPagesWithContext(ctx aws.Context, input *ListTrialComponentsInput, fn func(*ListTrialComponentsOutput, bool) bool, opts ...request.Option) error {
18155	p := request.Pagination{
18156		NewRequest: func() (*request.Request, error) {
18157			var inCpy *ListTrialComponentsInput
18158			if input != nil {
18159				tmp := *input
18160				inCpy = &tmp
18161			}
18162			req, _ := c.ListTrialComponentsRequest(inCpy)
18163			req.SetContext(ctx)
18164			req.ApplyOptions(opts...)
18165			return req, nil
18166		},
18167	}
18168
18169	for p.Next() {
18170		if !fn(p.Page().(*ListTrialComponentsOutput), !p.HasNextPage()) {
18171			break
18172		}
18173	}
18174
18175	return p.Err()
18176}
18177
18178const opListTrials = "ListTrials"
18179
18180// ListTrialsRequest generates a "aws/request.Request" representing the
18181// client's request for the ListTrials operation. The "output" return
18182// value will be populated with the request's response once the request completes
18183// successfully.
18184//
18185// Use "Send" method on the returned Request to send the API call to the service.
18186// the "output" return value is not valid until after Send returns without error.
18187//
18188// See ListTrials for more information on using the ListTrials
18189// API call, and error handling.
18190//
18191// This method is useful when you want to inject custom logic or configuration
18192// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18193//
18194//
18195//    // Example sending a request using the ListTrialsRequest method.
18196//    req, resp := client.ListTrialsRequest(params)
18197//
18198//    err := req.Send()
18199//    if err == nil { // resp is now filled
18200//        fmt.Println(resp)
18201//    }
18202//
18203// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrials
18204func (c *SageMaker) ListTrialsRequest(input *ListTrialsInput) (req *request.Request, output *ListTrialsOutput) {
18205	op := &request.Operation{
18206		Name:       opListTrials,
18207		HTTPMethod: "POST",
18208		HTTPPath:   "/",
18209		Paginator: &request.Paginator{
18210			InputTokens:     []string{"NextToken"},
18211			OutputTokens:    []string{"NextToken"},
18212			LimitToken:      "MaxResults",
18213			TruncationToken: "",
18214		},
18215	}
18216
18217	if input == nil {
18218		input = &ListTrialsInput{}
18219	}
18220
18221	output = &ListTrialsOutput{}
18222	req = c.newRequest(op, input, output)
18223	return
18224}
18225
18226// ListTrials API operation for Amazon SageMaker Service.
18227//
18228// Lists the trials in your account. Specify an experiment name to limit the
18229// list to the trials that are part of that experiment. Specify a trial component
18230// name to limit the list to the trials that associated with that trial component.
18231// The list can be filtered to show only trials that were created in a specific
18232// time range. The list can be sorted by trial name or creation time.
18233//
18234// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18235// with awserr.Error's Code and Message methods to get detailed information about
18236// the error.
18237//
18238// See the AWS API reference guide for Amazon SageMaker Service's
18239// API operation ListTrials for usage and error information.
18240//
18241// Returned Error Types:
18242//   * ResourceNotFound
18243//   Resource being access is not found.
18244//
18245// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrials
18246func (c *SageMaker) ListTrials(input *ListTrialsInput) (*ListTrialsOutput, error) {
18247	req, out := c.ListTrialsRequest(input)
18248	return out, req.Send()
18249}
18250
18251// ListTrialsWithContext is the same as ListTrials with the addition of
18252// the ability to pass a context and additional request options.
18253//
18254// See ListTrials for details on how to use this API operation.
18255//
18256// The context must be non-nil and will be used for request cancellation. If
18257// the context is nil a panic will occur. In the future the SDK may create
18258// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18259// for more information on using Contexts.
18260func (c *SageMaker) ListTrialsWithContext(ctx aws.Context, input *ListTrialsInput, opts ...request.Option) (*ListTrialsOutput, error) {
18261	req, out := c.ListTrialsRequest(input)
18262	req.SetContext(ctx)
18263	req.ApplyOptions(opts...)
18264	return out, req.Send()
18265}
18266
18267// ListTrialsPages iterates over the pages of a ListTrials operation,
18268// calling the "fn" function with the response data for each page. To stop
18269// iterating, return false from the fn function.
18270//
18271// See ListTrials method for more information on how to use this operation.
18272//
18273// Note: This operation can generate multiple requests to a service.
18274//
18275//    // Example iterating over at most 3 pages of a ListTrials operation.
18276//    pageNum := 0
18277//    err := client.ListTrialsPages(params,
18278//        func(page *sagemaker.ListTrialsOutput, lastPage bool) bool {
18279//            pageNum++
18280//            fmt.Println(page)
18281//            return pageNum <= 3
18282//        })
18283//
18284func (c *SageMaker) ListTrialsPages(input *ListTrialsInput, fn func(*ListTrialsOutput, bool) bool) error {
18285	return c.ListTrialsPagesWithContext(aws.BackgroundContext(), input, fn)
18286}
18287
18288// ListTrialsPagesWithContext same as ListTrialsPages except
18289// it takes a Context and allows setting request options on the pages.
18290//
18291// The context must be non-nil and will be used for request cancellation. If
18292// the context is nil a panic will occur. In the future the SDK may create
18293// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18294// for more information on using Contexts.
18295func (c *SageMaker) ListTrialsPagesWithContext(ctx aws.Context, input *ListTrialsInput, fn func(*ListTrialsOutput, bool) bool, opts ...request.Option) error {
18296	p := request.Pagination{
18297		NewRequest: func() (*request.Request, error) {
18298			var inCpy *ListTrialsInput
18299			if input != nil {
18300				tmp := *input
18301				inCpy = &tmp
18302			}
18303			req, _ := c.ListTrialsRequest(inCpy)
18304			req.SetContext(ctx)
18305			req.ApplyOptions(opts...)
18306			return req, nil
18307		},
18308	}
18309
18310	for p.Next() {
18311		if !fn(p.Page().(*ListTrialsOutput), !p.HasNextPage()) {
18312			break
18313		}
18314	}
18315
18316	return p.Err()
18317}
18318
18319const opListUserProfiles = "ListUserProfiles"
18320
18321// ListUserProfilesRequest generates a "aws/request.Request" representing the
18322// client's request for the ListUserProfiles operation. The "output" return
18323// value will be populated with the request's response once the request completes
18324// successfully.
18325//
18326// Use "Send" method on the returned Request to send the API call to the service.
18327// the "output" return value is not valid until after Send returns without error.
18328//
18329// See ListUserProfiles for more information on using the ListUserProfiles
18330// API call, and error handling.
18331//
18332// This method is useful when you want to inject custom logic or configuration
18333// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18334//
18335//
18336//    // Example sending a request using the ListUserProfilesRequest method.
18337//    req, resp := client.ListUserProfilesRequest(params)
18338//
18339//    err := req.Send()
18340//    if err == nil { // resp is now filled
18341//        fmt.Println(resp)
18342//    }
18343//
18344// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListUserProfiles
18345func (c *SageMaker) ListUserProfilesRequest(input *ListUserProfilesInput) (req *request.Request, output *ListUserProfilesOutput) {
18346	op := &request.Operation{
18347		Name:       opListUserProfiles,
18348		HTTPMethod: "POST",
18349		HTTPPath:   "/",
18350		Paginator: &request.Paginator{
18351			InputTokens:     []string{"NextToken"},
18352			OutputTokens:    []string{"NextToken"},
18353			LimitToken:      "MaxResults",
18354			TruncationToken: "",
18355		},
18356	}
18357
18358	if input == nil {
18359		input = &ListUserProfilesInput{}
18360	}
18361
18362	output = &ListUserProfilesOutput{}
18363	req = c.newRequest(op, input, output)
18364	return
18365}
18366
18367// ListUserProfiles API operation for Amazon SageMaker Service.
18368//
18369// Lists user profiles.
18370//
18371// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18372// with awserr.Error's Code and Message methods to get detailed information about
18373// the error.
18374//
18375// See the AWS API reference guide for Amazon SageMaker Service's
18376// API operation ListUserProfiles for usage and error information.
18377// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListUserProfiles
18378func (c *SageMaker) ListUserProfiles(input *ListUserProfilesInput) (*ListUserProfilesOutput, error) {
18379	req, out := c.ListUserProfilesRequest(input)
18380	return out, req.Send()
18381}
18382
18383// ListUserProfilesWithContext is the same as ListUserProfiles with the addition of
18384// the ability to pass a context and additional request options.
18385//
18386// See ListUserProfiles for details on how to use this API operation.
18387//
18388// The context must be non-nil and will be used for request cancellation. If
18389// the context is nil a panic will occur. In the future the SDK may create
18390// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18391// for more information on using Contexts.
18392func (c *SageMaker) ListUserProfilesWithContext(ctx aws.Context, input *ListUserProfilesInput, opts ...request.Option) (*ListUserProfilesOutput, error) {
18393	req, out := c.ListUserProfilesRequest(input)
18394	req.SetContext(ctx)
18395	req.ApplyOptions(opts...)
18396	return out, req.Send()
18397}
18398
18399// ListUserProfilesPages iterates over the pages of a ListUserProfiles operation,
18400// calling the "fn" function with the response data for each page. To stop
18401// iterating, return false from the fn function.
18402//
18403// See ListUserProfiles method for more information on how to use this operation.
18404//
18405// Note: This operation can generate multiple requests to a service.
18406//
18407//    // Example iterating over at most 3 pages of a ListUserProfiles operation.
18408//    pageNum := 0
18409//    err := client.ListUserProfilesPages(params,
18410//        func(page *sagemaker.ListUserProfilesOutput, lastPage bool) bool {
18411//            pageNum++
18412//            fmt.Println(page)
18413//            return pageNum <= 3
18414//        })
18415//
18416func (c *SageMaker) ListUserProfilesPages(input *ListUserProfilesInput, fn func(*ListUserProfilesOutput, bool) bool) error {
18417	return c.ListUserProfilesPagesWithContext(aws.BackgroundContext(), input, fn)
18418}
18419
18420// ListUserProfilesPagesWithContext same as ListUserProfilesPages except
18421// it takes a Context and allows setting request options on the pages.
18422//
18423// The context must be non-nil and will be used for request cancellation. If
18424// the context is nil a panic will occur. In the future the SDK may create
18425// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18426// for more information on using Contexts.
18427func (c *SageMaker) ListUserProfilesPagesWithContext(ctx aws.Context, input *ListUserProfilesInput, fn func(*ListUserProfilesOutput, bool) bool, opts ...request.Option) error {
18428	p := request.Pagination{
18429		NewRequest: func() (*request.Request, error) {
18430			var inCpy *ListUserProfilesInput
18431			if input != nil {
18432				tmp := *input
18433				inCpy = &tmp
18434			}
18435			req, _ := c.ListUserProfilesRequest(inCpy)
18436			req.SetContext(ctx)
18437			req.ApplyOptions(opts...)
18438			return req, nil
18439		},
18440	}
18441
18442	for p.Next() {
18443		if !fn(p.Page().(*ListUserProfilesOutput), !p.HasNextPage()) {
18444			break
18445		}
18446	}
18447
18448	return p.Err()
18449}
18450
18451const opListWorkforces = "ListWorkforces"
18452
18453// ListWorkforcesRequest generates a "aws/request.Request" representing the
18454// client's request for the ListWorkforces operation. The "output" return
18455// value will be populated with the request's response once the request completes
18456// successfully.
18457//
18458// Use "Send" method on the returned Request to send the API call to the service.
18459// the "output" return value is not valid until after Send returns without error.
18460//
18461// See ListWorkforces for more information on using the ListWorkforces
18462// API call, and error handling.
18463//
18464// This method is useful when you want to inject custom logic or configuration
18465// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18466//
18467//
18468//    // Example sending a request using the ListWorkforcesRequest method.
18469//    req, resp := client.ListWorkforcesRequest(params)
18470//
18471//    err := req.Send()
18472//    if err == nil { // resp is now filled
18473//        fmt.Println(resp)
18474//    }
18475//
18476// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkforces
18477func (c *SageMaker) ListWorkforcesRequest(input *ListWorkforcesInput) (req *request.Request, output *ListWorkforcesOutput) {
18478	op := &request.Operation{
18479		Name:       opListWorkforces,
18480		HTTPMethod: "POST",
18481		HTTPPath:   "/",
18482		Paginator: &request.Paginator{
18483			InputTokens:     []string{"NextToken"},
18484			OutputTokens:    []string{"NextToken"},
18485			LimitToken:      "MaxResults",
18486			TruncationToken: "",
18487		},
18488	}
18489
18490	if input == nil {
18491		input = &ListWorkforcesInput{}
18492	}
18493
18494	output = &ListWorkforcesOutput{}
18495	req = c.newRequest(op, input, output)
18496	return
18497}
18498
18499// ListWorkforces API operation for Amazon SageMaker Service.
18500//
18501// Use this operation to list all private and vendor workforces in an AWS Region.
18502// Note that you can only have one private workforce per AWS Region.
18503//
18504// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18505// with awserr.Error's Code and Message methods to get detailed information about
18506// the error.
18507//
18508// See the AWS API reference guide for Amazon SageMaker Service's
18509// API operation ListWorkforces for usage and error information.
18510// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkforces
18511func (c *SageMaker) ListWorkforces(input *ListWorkforcesInput) (*ListWorkforcesOutput, error) {
18512	req, out := c.ListWorkforcesRequest(input)
18513	return out, req.Send()
18514}
18515
18516// ListWorkforcesWithContext is the same as ListWorkforces with the addition of
18517// the ability to pass a context and additional request options.
18518//
18519// See ListWorkforces for details on how to use this API operation.
18520//
18521// The context must be non-nil and will be used for request cancellation. If
18522// the context is nil a panic will occur. In the future the SDK may create
18523// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18524// for more information on using Contexts.
18525func (c *SageMaker) ListWorkforcesWithContext(ctx aws.Context, input *ListWorkforcesInput, opts ...request.Option) (*ListWorkforcesOutput, error) {
18526	req, out := c.ListWorkforcesRequest(input)
18527	req.SetContext(ctx)
18528	req.ApplyOptions(opts...)
18529	return out, req.Send()
18530}
18531
18532// ListWorkforcesPages iterates over the pages of a ListWorkforces operation,
18533// calling the "fn" function with the response data for each page. To stop
18534// iterating, return false from the fn function.
18535//
18536// See ListWorkforces method for more information on how to use this operation.
18537//
18538// Note: This operation can generate multiple requests to a service.
18539//
18540//    // Example iterating over at most 3 pages of a ListWorkforces operation.
18541//    pageNum := 0
18542//    err := client.ListWorkforcesPages(params,
18543//        func(page *sagemaker.ListWorkforcesOutput, lastPage bool) bool {
18544//            pageNum++
18545//            fmt.Println(page)
18546//            return pageNum <= 3
18547//        })
18548//
18549func (c *SageMaker) ListWorkforcesPages(input *ListWorkforcesInput, fn func(*ListWorkforcesOutput, bool) bool) error {
18550	return c.ListWorkforcesPagesWithContext(aws.BackgroundContext(), input, fn)
18551}
18552
18553// ListWorkforcesPagesWithContext same as ListWorkforcesPages except
18554// it takes a Context and allows setting request options on the pages.
18555//
18556// The context must be non-nil and will be used for request cancellation. If
18557// the context is nil a panic will occur. In the future the SDK may create
18558// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18559// for more information on using Contexts.
18560func (c *SageMaker) ListWorkforcesPagesWithContext(ctx aws.Context, input *ListWorkforcesInput, fn func(*ListWorkforcesOutput, bool) bool, opts ...request.Option) error {
18561	p := request.Pagination{
18562		NewRequest: func() (*request.Request, error) {
18563			var inCpy *ListWorkforcesInput
18564			if input != nil {
18565				tmp := *input
18566				inCpy = &tmp
18567			}
18568			req, _ := c.ListWorkforcesRequest(inCpy)
18569			req.SetContext(ctx)
18570			req.ApplyOptions(opts...)
18571			return req, nil
18572		},
18573	}
18574
18575	for p.Next() {
18576		if !fn(p.Page().(*ListWorkforcesOutput), !p.HasNextPage()) {
18577			break
18578		}
18579	}
18580
18581	return p.Err()
18582}
18583
18584const opListWorkteams = "ListWorkteams"
18585
18586// ListWorkteamsRequest generates a "aws/request.Request" representing the
18587// client's request for the ListWorkteams operation. The "output" return
18588// value will be populated with the request's response once the request completes
18589// successfully.
18590//
18591// Use "Send" method on the returned Request to send the API call to the service.
18592// the "output" return value is not valid until after Send returns without error.
18593//
18594// See ListWorkteams for more information on using the ListWorkteams
18595// API call, and error handling.
18596//
18597// This method is useful when you want to inject custom logic or configuration
18598// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18599//
18600//
18601//    // Example sending a request using the ListWorkteamsRequest method.
18602//    req, resp := client.ListWorkteamsRequest(params)
18603//
18604//    err := req.Send()
18605//    if err == nil { // resp is now filled
18606//        fmt.Println(resp)
18607//    }
18608//
18609// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkteams
18610func (c *SageMaker) ListWorkteamsRequest(input *ListWorkteamsInput) (req *request.Request, output *ListWorkteamsOutput) {
18611	op := &request.Operation{
18612		Name:       opListWorkteams,
18613		HTTPMethod: "POST",
18614		HTTPPath:   "/",
18615		Paginator: &request.Paginator{
18616			InputTokens:     []string{"NextToken"},
18617			OutputTokens:    []string{"NextToken"},
18618			LimitToken:      "MaxResults",
18619			TruncationToken: "",
18620		},
18621	}
18622
18623	if input == nil {
18624		input = &ListWorkteamsInput{}
18625	}
18626
18627	output = &ListWorkteamsOutput{}
18628	req = c.newRequest(op, input, output)
18629	return
18630}
18631
18632// ListWorkteams API operation for Amazon SageMaker Service.
18633//
18634// Gets a list of private work teams that you have defined in a region. The
18635// list may be empty if no work team satisfies the filter specified in the NameContains
18636// parameter.
18637//
18638// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18639// with awserr.Error's Code and Message methods to get detailed information about
18640// the error.
18641//
18642// See the AWS API reference guide for Amazon SageMaker Service's
18643// API operation ListWorkteams for usage and error information.
18644// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkteams
18645func (c *SageMaker) ListWorkteams(input *ListWorkteamsInput) (*ListWorkteamsOutput, error) {
18646	req, out := c.ListWorkteamsRequest(input)
18647	return out, req.Send()
18648}
18649
18650// ListWorkteamsWithContext is the same as ListWorkteams with the addition of
18651// the ability to pass a context and additional request options.
18652//
18653// See ListWorkteams for details on how to use this API operation.
18654//
18655// The context must be non-nil and will be used for request cancellation. If
18656// the context is nil a panic will occur. In the future the SDK may create
18657// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18658// for more information on using Contexts.
18659func (c *SageMaker) ListWorkteamsWithContext(ctx aws.Context, input *ListWorkteamsInput, opts ...request.Option) (*ListWorkteamsOutput, error) {
18660	req, out := c.ListWorkteamsRequest(input)
18661	req.SetContext(ctx)
18662	req.ApplyOptions(opts...)
18663	return out, req.Send()
18664}
18665
18666// ListWorkteamsPages iterates over the pages of a ListWorkteams operation,
18667// calling the "fn" function with the response data for each page. To stop
18668// iterating, return false from the fn function.
18669//
18670// See ListWorkteams method for more information on how to use this operation.
18671//
18672// Note: This operation can generate multiple requests to a service.
18673//
18674//    // Example iterating over at most 3 pages of a ListWorkteams operation.
18675//    pageNum := 0
18676//    err := client.ListWorkteamsPages(params,
18677//        func(page *sagemaker.ListWorkteamsOutput, lastPage bool) bool {
18678//            pageNum++
18679//            fmt.Println(page)
18680//            return pageNum <= 3
18681//        })
18682//
18683func (c *SageMaker) ListWorkteamsPages(input *ListWorkteamsInput, fn func(*ListWorkteamsOutput, bool) bool) error {
18684	return c.ListWorkteamsPagesWithContext(aws.BackgroundContext(), input, fn)
18685}
18686
18687// ListWorkteamsPagesWithContext same as ListWorkteamsPages except
18688// it takes a Context and allows setting request options on the pages.
18689//
18690// The context must be non-nil and will be used for request cancellation. If
18691// the context is nil a panic will occur. In the future the SDK may create
18692// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18693// for more information on using Contexts.
18694func (c *SageMaker) ListWorkteamsPagesWithContext(ctx aws.Context, input *ListWorkteamsInput, fn func(*ListWorkteamsOutput, bool) bool, opts ...request.Option) error {
18695	p := request.Pagination{
18696		NewRequest: func() (*request.Request, error) {
18697			var inCpy *ListWorkteamsInput
18698			if input != nil {
18699				tmp := *input
18700				inCpy = &tmp
18701			}
18702			req, _ := c.ListWorkteamsRequest(inCpy)
18703			req.SetContext(ctx)
18704			req.ApplyOptions(opts...)
18705			return req, nil
18706		},
18707	}
18708
18709	for p.Next() {
18710		if !fn(p.Page().(*ListWorkteamsOutput), !p.HasNextPage()) {
18711			break
18712		}
18713	}
18714
18715	return p.Err()
18716}
18717
18718const opPutModelPackageGroupPolicy = "PutModelPackageGroupPolicy"
18719
18720// PutModelPackageGroupPolicyRequest generates a "aws/request.Request" representing the
18721// client's request for the PutModelPackageGroupPolicy operation. The "output" return
18722// value will be populated with the request's response once the request completes
18723// successfully.
18724//
18725// Use "Send" method on the returned Request to send the API call to the service.
18726// the "output" return value is not valid until after Send returns without error.
18727//
18728// See PutModelPackageGroupPolicy for more information on using the PutModelPackageGroupPolicy
18729// API call, and error handling.
18730//
18731// This method is useful when you want to inject custom logic or configuration
18732// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18733//
18734//
18735//    // Example sending a request using the PutModelPackageGroupPolicyRequest method.
18736//    req, resp := client.PutModelPackageGroupPolicyRequest(params)
18737//
18738//    err := req.Send()
18739//    if err == nil { // resp is now filled
18740//        fmt.Println(resp)
18741//    }
18742//
18743// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/PutModelPackageGroupPolicy
18744func (c *SageMaker) PutModelPackageGroupPolicyRequest(input *PutModelPackageGroupPolicyInput) (req *request.Request, output *PutModelPackageGroupPolicyOutput) {
18745	op := &request.Operation{
18746		Name:       opPutModelPackageGroupPolicy,
18747		HTTPMethod: "POST",
18748		HTTPPath:   "/",
18749	}
18750
18751	if input == nil {
18752		input = &PutModelPackageGroupPolicyInput{}
18753	}
18754
18755	output = &PutModelPackageGroupPolicyOutput{}
18756	req = c.newRequest(op, input, output)
18757	return
18758}
18759
18760// PutModelPackageGroupPolicy API operation for Amazon SageMaker Service.
18761//
18762// Adds a resouce policy to control access to a model group. For information
18763// about resoure policies, see Identity-based policies and resource-based policies
18764// (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html)
18765// in the AWS Identity and Access Management User Guide..
18766//
18767// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18768// with awserr.Error's Code and Message methods to get detailed information about
18769// the error.
18770//
18771// See the AWS API reference guide for Amazon SageMaker Service's
18772// API operation PutModelPackageGroupPolicy for usage and error information.
18773// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/PutModelPackageGroupPolicy
18774func (c *SageMaker) PutModelPackageGroupPolicy(input *PutModelPackageGroupPolicyInput) (*PutModelPackageGroupPolicyOutput, error) {
18775	req, out := c.PutModelPackageGroupPolicyRequest(input)
18776	return out, req.Send()
18777}
18778
18779// PutModelPackageGroupPolicyWithContext is the same as PutModelPackageGroupPolicy with the addition of
18780// the ability to pass a context and additional request options.
18781//
18782// See PutModelPackageGroupPolicy for details on how to use this API operation.
18783//
18784// The context must be non-nil and will be used for request cancellation. If
18785// the context is nil a panic will occur. In the future the SDK may create
18786// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18787// for more information on using Contexts.
18788func (c *SageMaker) PutModelPackageGroupPolicyWithContext(ctx aws.Context, input *PutModelPackageGroupPolicyInput, opts ...request.Option) (*PutModelPackageGroupPolicyOutput, error) {
18789	req, out := c.PutModelPackageGroupPolicyRequest(input)
18790	req.SetContext(ctx)
18791	req.ApplyOptions(opts...)
18792	return out, req.Send()
18793}
18794
18795const opRegisterDevices = "RegisterDevices"
18796
18797// RegisterDevicesRequest generates a "aws/request.Request" representing the
18798// client's request for the RegisterDevices operation. The "output" return
18799// value will be populated with the request's response once the request completes
18800// successfully.
18801//
18802// Use "Send" method on the returned Request to send the API call to the service.
18803// the "output" return value is not valid until after Send returns without error.
18804//
18805// See RegisterDevices for more information on using the RegisterDevices
18806// API call, and error handling.
18807//
18808// This method is useful when you want to inject custom logic or configuration
18809// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18810//
18811//
18812//    // Example sending a request using the RegisterDevicesRequest method.
18813//    req, resp := client.RegisterDevicesRequest(params)
18814//
18815//    err := req.Send()
18816//    if err == nil { // resp is now filled
18817//        fmt.Println(resp)
18818//    }
18819//
18820// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RegisterDevices
18821func (c *SageMaker) RegisterDevicesRequest(input *RegisterDevicesInput) (req *request.Request, output *RegisterDevicesOutput) {
18822	op := &request.Operation{
18823		Name:       opRegisterDevices,
18824		HTTPMethod: "POST",
18825		HTTPPath:   "/",
18826	}
18827
18828	if input == nil {
18829		input = &RegisterDevicesInput{}
18830	}
18831
18832	output = &RegisterDevicesOutput{}
18833	req = c.newRequest(op, input, output)
18834	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
18835	return
18836}
18837
18838// RegisterDevices API operation for Amazon SageMaker Service.
18839//
18840// Register devices.
18841//
18842// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18843// with awserr.Error's Code and Message methods to get detailed information about
18844// the error.
18845//
18846// See the AWS API reference guide for Amazon SageMaker Service's
18847// API operation RegisterDevices for usage and error information.
18848//
18849// Returned Error Types:
18850//   * ResourceLimitExceeded
18851//   You have exceeded an Amazon SageMaker resource limit. For example, you might
18852//   have too many training jobs created.
18853//
18854// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RegisterDevices
18855func (c *SageMaker) RegisterDevices(input *RegisterDevicesInput) (*RegisterDevicesOutput, error) {
18856	req, out := c.RegisterDevicesRequest(input)
18857	return out, req.Send()
18858}
18859
18860// RegisterDevicesWithContext is the same as RegisterDevices with the addition of
18861// the ability to pass a context and additional request options.
18862//
18863// See RegisterDevices for details on how to use this API operation.
18864//
18865// The context must be non-nil and will be used for request cancellation. If
18866// the context is nil a panic will occur. In the future the SDK may create
18867// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18868// for more information on using Contexts.
18869func (c *SageMaker) RegisterDevicesWithContext(ctx aws.Context, input *RegisterDevicesInput, opts ...request.Option) (*RegisterDevicesOutput, error) {
18870	req, out := c.RegisterDevicesRequest(input)
18871	req.SetContext(ctx)
18872	req.ApplyOptions(opts...)
18873	return out, req.Send()
18874}
18875
18876const opRenderUiTemplate = "RenderUiTemplate"
18877
18878// RenderUiTemplateRequest generates a "aws/request.Request" representing the
18879// client's request for the RenderUiTemplate operation. The "output" return
18880// value will be populated with the request's response once the request completes
18881// successfully.
18882//
18883// Use "Send" method on the returned Request to send the API call to the service.
18884// the "output" return value is not valid until after Send returns without error.
18885//
18886// See RenderUiTemplate for more information on using the RenderUiTemplate
18887// API call, and error handling.
18888//
18889// This method is useful when you want to inject custom logic or configuration
18890// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18891//
18892//
18893//    // Example sending a request using the RenderUiTemplateRequest method.
18894//    req, resp := client.RenderUiTemplateRequest(params)
18895//
18896//    err := req.Send()
18897//    if err == nil { // resp is now filled
18898//        fmt.Println(resp)
18899//    }
18900//
18901// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RenderUiTemplate
18902func (c *SageMaker) RenderUiTemplateRequest(input *RenderUiTemplateInput) (req *request.Request, output *RenderUiTemplateOutput) {
18903	op := &request.Operation{
18904		Name:       opRenderUiTemplate,
18905		HTTPMethod: "POST",
18906		HTTPPath:   "/",
18907	}
18908
18909	if input == nil {
18910		input = &RenderUiTemplateInput{}
18911	}
18912
18913	output = &RenderUiTemplateOutput{}
18914	req = c.newRequest(op, input, output)
18915	return
18916}
18917
18918// RenderUiTemplate API operation for Amazon SageMaker Service.
18919//
18920// Renders the UI template so that you can preview the worker's experience.
18921//
18922// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18923// with awserr.Error's Code and Message methods to get detailed information about
18924// the error.
18925//
18926// See the AWS API reference guide for Amazon SageMaker Service's
18927// API operation RenderUiTemplate for usage and error information.
18928//
18929// Returned Error Types:
18930//   * ResourceNotFound
18931//   Resource being access is not found.
18932//
18933// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RenderUiTemplate
18934func (c *SageMaker) RenderUiTemplate(input *RenderUiTemplateInput) (*RenderUiTemplateOutput, error) {
18935	req, out := c.RenderUiTemplateRequest(input)
18936	return out, req.Send()
18937}
18938
18939// RenderUiTemplateWithContext is the same as RenderUiTemplate with the addition of
18940// the ability to pass a context and additional request options.
18941//
18942// See RenderUiTemplate for details on how to use this API operation.
18943//
18944// The context must be non-nil and will be used for request cancellation. If
18945// the context is nil a panic will occur. In the future the SDK may create
18946// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18947// for more information on using Contexts.
18948func (c *SageMaker) RenderUiTemplateWithContext(ctx aws.Context, input *RenderUiTemplateInput, opts ...request.Option) (*RenderUiTemplateOutput, error) {
18949	req, out := c.RenderUiTemplateRequest(input)
18950	req.SetContext(ctx)
18951	req.ApplyOptions(opts...)
18952	return out, req.Send()
18953}
18954
18955const opSearch = "Search"
18956
18957// SearchRequest generates a "aws/request.Request" representing the
18958// client's request for the Search operation. The "output" return
18959// value will be populated with the request's response once the request completes
18960// successfully.
18961//
18962// Use "Send" method on the returned Request to send the API call to the service.
18963// the "output" return value is not valid until after Send returns without error.
18964//
18965// See Search for more information on using the Search
18966// API call, and error handling.
18967//
18968// This method is useful when you want to inject custom logic or configuration
18969// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18970//
18971//
18972//    // Example sending a request using the SearchRequest method.
18973//    req, resp := client.SearchRequest(params)
18974//
18975//    err := req.Send()
18976//    if err == nil { // resp is now filled
18977//        fmt.Println(resp)
18978//    }
18979//
18980// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Search
18981func (c *SageMaker) SearchRequest(input *SearchInput) (req *request.Request, output *SearchOutput) {
18982	op := &request.Operation{
18983		Name:       opSearch,
18984		HTTPMethod: "POST",
18985		HTTPPath:   "/",
18986		Paginator: &request.Paginator{
18987			InputTokens:     []string{"NextToken"},
18988			OutputTokens:    []string{"NextToken"},
18989			LimitToken:      "MaxResults",
18990			TruncationToken: "",
18991		},
18992	}
18993
18994	if input == nil {
18995		input = &SearchInput{}
18996	}
18997
18998	output = &SearchOutput{}
18999	req = c.newRequest(op, input, output)
19000	return
19001}
19002
19003// Search API operation for Amazon SageMaker Service.
19004//
19005// Finds Amazon SageMaker resources that match a search query. Matching resources
19006// are returned as a list of SearchRecord objects in the response. You can sort
19007// the search results by any resource property in a ascending or descending
19008// order.
19009//
19010// You can query against the following value types: numeric, text, Boolean,
19011// and timestamp.
19012//
19013// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19014// with awserr.Error's Code and Message methods to get detailed information about
19015// the error.
19016//
19017// See the AWS API reference guide for Amazon SageMaker Service's
19018// API operation Search for usage and error information.
19019// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Search
19020func (c *SageMaker) Search(input *SearchInput) (*SearchOutput, error) {
19021	req, out := c.SearchRequest(input)
19022	return out, req.Send()
19023}
19024
19025// SearchWithContext is the same as Search with the addition of
19026// the ability to pass a context and additional request options.
19027//
19028// See Search for details on how to use this API operation.
19029//
19030// The context must be non-nil and will be used for request cancellation. If
19031// the context is nil a panic will occur. In the future the SDK may create
19032// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19033// for more information on using Contexts.
19034func (c *SageMaker) SearchWithContext(ctx aws.Context, input *SearchInput, opts ...request.Option) (*SearchOutput, error) {
19035	req, out := c.SearchRequest(input)
19036	req.SetContext(ctx)
19037	req.ApplyOptions(opts...)
19038	return out, req.Send()
19039}
19040
19041// SearchPages iterates over the pages of a Search operation,
19042// calling the "fn" function with the response data for each page. To stop
19043// iterating, return false from the fn function.
19044//
19045// See Search method for more information on how to use this operation.
19046//
19047// Note: This operation can generate multiple requests to a service.
19048//
19049//    // Example iterating over at most 3 pages of a Search operation.
19050//    pageNum := 0
19051//    err := client.SearchPages(params,
19052//        func(page *sagemaker.SearchOutput, lastPage bool) bool {
19053//            pageNum++
19054//            fmt.Println(page)
19055//            return pageNum <= 3
19056//        })
19057//
19058func (c *SageMaker) SearchPages(input *SearchInput, fn func(*SearchOutput, bool) bool) error {
19059	return c.SearchPagesWithContext(aws.BackgroundContext(), input, fn)
19060}
19061
19062// SearchPagesWithContext same as SearchPages except
19063// it takes a Context and allows setting request options on the pages.
19064//
19065// The context must be non-nil and will be used for request cancellation. If
19066// the context is nil a panic will occur. In the future the SDK may create
19067// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19068// for more information on using Contexts.
19069func (c *SageMaker) SearchPagesWithContext(ctx aws.Context, input *SearchInput, fn func(*SearchOutput, bool) bool, opts ...request.Option) error {
19070	p := request.Pagination{
19071		NewRequest: func() (*request.Request, error) {
19072			var inCpy *SearchInput
19073			if input != nil {
19074				tmp := *input
19075				inCpy = &tmp
19076			}
19077			req, _ := c.SearchRequest(inCpy)
19078			req.SetContext(ctx)
19079			req.ApplyOptions(opts...)
19080			return req, nil
19081		},
19082	}
19083
19084	for p.Next() {
19085		if !fn(p.Page().(*SearchOutput), !p.HasNextPage()) {
19086			break
19087		}
19088	}
19089
19090	return p.Err()
19091}
19092
19093const opStartMonitoringSchedule = "StartMonitoringSchedule"
19094
19095// StartMonitoringScheduleRequest generates a "aws/request.Request" representing the
19096// client's request for the StartMonitoringSchedule operation. The "output" return
19097// value will be populated with the request's response once the request completes
19098// successfully.
19099//
19100// Use "Send" method on the returned Request to send the API call to the service.
19101// the "output" return value is not valid until after Send returns without error.
19102//
19103// See StartMonitoringSchedule for more information on using the StartMonitoringSchedule
19104// API call, and error handling.
19105//
19106// This method is useful when you want to inject custom logic or configuration
19107// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19108//
19109//
19110//    // Example sending a request using the StartMonitoringScheduleRequest method.
19111//    req, resp := client.StartMonitoringScheduleRequest(params)
19112//
19113//    err := req.Send()
19114//    if err == nil { // resp is now filled
19115//        fmt.Println(resp)
19116//    }
19117//
19118// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartMonitoringSchedule
19119func (c *SageMaker) StartMonitoringScheduleRequest(input *StartMonitoringScheduleInput) (req *request.Request, output *StartMonitoringScheduleOutput) {
19120	op := &request.Operation{
19121		Name:       opStartMonitoringSchedule,
19122		HTTPMethod: "POST",
19123		HTTPPath:   "/",
19124	}
19125
19126	if input == nil {
19127		input = &StartMonitoringScheduleInput{}
19128	}
19129
19130	output = &StartMonitoringScheduleOutput{}
19131	req = c.newRequest(op, input, output)
19132	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
19133	return
19134}
19135
19136// StartMonitoringSchedule API operation for Amazon SageMaker Service.
19137//
19138// Starts a previously stopped monitoring schedule.
19139//
19140// By default, when you successfully create a new schedule, the status of a
19141// monitoring schedule is scheduled.
19142//
19143// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19144// with awserr.Error's Code and Message methods to get detailed information about
19145// the error.
19146//
19147// See the AWS API reference guide for Amazon SageMaker Service's
19148// API operation StartMonitoringSchedule for usage and error information.
19149//
19150// Returned Error Types:
19151//   * ResourceNotFound
19152//   Resource being access is not found.
19153//
19154// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartMonitoringSchedule
19155func (c *SageMaker) StartMonitoringSchedule(input *StartMonitoringScheduleInput) (*StartMonitoringScheduleOutput, error) {
19156	req, out := c.StartMonitoringScheduleRequest(input)
19157	return out, req.Send()
19158}
19159
19160// StartMonitoringScheduleWithContext is the same as StartMonitoringSchedule with the addition of
19161// the ability to pass a context and additional request options.
19162//
19163// See StartMonitoringSchedule for details on how to use this API operation.
19164//
19165// The context must be non-nil and will be used for request cancellation. If
19166// the context is nil a panic will occur. In the future the SDK may create
19167// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19168// for more information on using Contexts.
19169func (c *SageMaker) StartMonitoringScheduleWithContext(ctx aws.Context, input *StartMonitoringScheduleInput, opts ...request.Option) (*StartMonitoringScheduleOutput, error) {
19170	req, out := c.StartMonitoringScheduleRequest(input)
19171	req.SetContext(ctx)
19172	req.ApplyOptions(opts...)
19173	return out, req.Send()
19174}
19175
19176const opStartNotebookInstance = "StartNotebookInstance"
19177
19178// StartNotebookInstanceRequest generates a "aws/request.Request" representing the
19179// client's request for the StartNotebookInstance operation. The "output" return
19180// value will be populated with the request's response once the request completes
19181// successfully.
19182//
19183// Use "Send" method on the returned Request to send the API call to the service.
19184// the "output" return value is not valid until after Send returns without error.
19185//
19186// See StartNotebookInstance for more information on using the StartNotebookInstance
19187// API call, and error handling.
19188//
19189// This method is useful when you want to inject custom logic or configuration
19190// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19191//
19192//
19193//    // Example sending a request using the StartNotebookInstanceRequest method.
19194//    req, resp := client.StartNotebookInstanceRequest(params)
19195//
19196//    err := req.Send()
19197//    if err == nil { // resp is now filled
19198//        fmt.Println(resp)
19199//    }
19200//
19201// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartNotebookInstance
19202func (c *SageMaker) StartNotebookInstanceRequest(input *StartNotebookInstanceInput) (req *request.Request, output *StartNotebookInstanceOutput) {
19203	op := &request.Operation{
19204		Name:       opStartNotebookInstance,
19205		HTTPMethod: "POST",
19206		HTTPPath:   "/",
19207	}
19208
19209	if input == nil {
19210		input = &StartNotebookInstanceInput{}
19211	}
19212
19213	output = &StartNotebookInstanceOutput{}
19214	req = c.newRequest(op, input, output)
19215	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
19216	return
19217}
19218
19219// StartNotebookInstance API operation for Amazon SageMaker Service.
19220//
19221// Launches an ML compute instance with the latest version of the libraries
19222// and attaches your ML storage volume. After configuring the notebook instance,
19223// Amazon SageMaker sets the notebook instance status to InService. A notebook
19224// instance's status must be InService before you can connect to your Jupyter
19225// notebook.
19226//
19227// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19228// with awserr.Error's Code and Message methods to get detailed information about
19229// the error.
19230//
19231// See the AWS API reference guide for Amazon SageMaker Service's
19232// API operation StartNotebookInstance for usage and error information.
19233//
19234// Returned Error Types:
19235//   * ResourceLimitExceeded
19236//   You have exceeded an Amazon SageMaker resource limit. For example, you might
19237//   have too many training jobs created.
19238//
19239// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartNotebookInstance
19240func (c *SageMaker) StartNotebookInstance(input *StartNotebookInstanceInput) (*StartNotebookInstanceOutput, error) {
19241	req, out := c.StartNotebookInstanceRequest(input)
19242	return out, req.Send()
19243}
19244
19245// StartNotebookInstanceWithContext is the same as StartNotebookInstance with the addition of
19246// the ability to pass a context and additional request options.
19247//
19248// See StartNotebookInstance for details on how to use this API operation.
19249//
19250// The context must be non-nil and will be used for request cancellation. If
19251// the context is nil a panic will occur. In the future the SDK may create
19252// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19253// for more information on using Contexts.
19254func (c *SageMaker) StartNotebookInstanceWithContext(ctx aws.Context, input *StartNotebookInstanceInput, opts ...request.Option) (*StartNotebookInstanceOutput, error) {
19255	req, out := c.StartNotebookInstanceRequest(input)
19256	req.SetContext(ctx)
19257	req.ApplyOptions(opts...)
19258	return out, req.Send()
19259}
19260
19261const opStartPipelineExecution = "StartPipelineExecution"
19262
19263// StartPipelineExecutionRequest generates a "aws/request.Request" representing the
19264// client's request for the StartPipelineExecution operation. The "output" return
19265// value will be populated with the request's response once the request completes
19266// successfully.
19267//
19268// Use "Send" method on the returned Request to send the API call to the service.
19269// the "output" return value is not valid until after Send returns without error.
19270//
19271// See StartPipelineExecution for more information on using the StartPipelineExecution
19272// API call, and error handling.
19273//
19274// This method is useful when you want to inject custom logic or configuration
19275// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19276//
19277//
19278//    // Example sending a request using the StartPipelineExecutionRequest method.
19279//    req, resp := client.StartPipelineExecutionRequest(params)
19280//
19281//    err := req.Send()
19282//    if err == nil { // resp is now filled
19283//        fmt.Println(resp)
19284//    }
19285//
19286// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartPipelineExecution
19287func (c *SageMaker) StartPipelineExecutionRequest(input *StartPipelineExecutionInput) (req *request.Request, output *StartPipelineExecutionOutput) {
19288	op := &request.Operation{
19289		Name:       opStartPipelineExecution,
19290		HTTPMethod: "POST",
19291		HTTPPath:   "/",
19292	}
19293
19294	if input == nil {
19295		input = &StartPipelineExecutionInput{}
19296	}
19297
19298	output = &StartPipelineExecutionOutput{}
19299	req = c.newRequest(op, input, output)
19300	return
19301}
19302
19303// StartPipelineExecution API operation for Amazon SageMaker Service.
19304//
19305// Starts a pipeline execution.
19306//
19307// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19308// with awserr.Error's Code and Message methods to get detailed information about
19309// the error.
19310//
19311// See the AWS API reference guide for Amazon SageMaker Service's
19312// API operation StartPipelineExecution for usage and error information.
19313//
19314// Returned Error Types:
19315//   * ResourceNotFound
19316//   Resource being access is not found.
19317//
19318//   * ResourceLimitExceeded
19319//   You have exceeded an Amazon SageMaker resource limit. For example, you might
19320//   have too many training jobs created.
19321//
19322// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartPipelineExecution
19323func (c *SageMaker) StartPipelineExecution(input *StartPipelineExecutionInput) (*StartPipelineExecutionOutput, error) {
19324	req, out := c.StartPipelineExecutionRequest(input)
19325	return out, req.Send()
19326}
19327
19328// StartPipelineExecutionWithContext is the same as StartPipelineExecution with the addition of
19329// the ability to pass a context and additional request options.
19330//
19331// See StartPipelineExecution for details on how to use this API operation.
19332//
19333// The context must be non-nil and will be used for request cancellation. If
19334// the context is nil a panic will occur. In the future the SDK may create
19335// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19336// for more information on using Contexts.
19337func (c *SageMaker) StartPipelineExecutionWithContext(ctx aws.Context, input *StartPipelineExecutionInput, opts ...request.Option) (*StartPipelineExecutionOutput, error) {
19338	req, out := c.StartPipelineExecutionRequest(input)
19339	req.SetContext(ctx)
19340	req.ApplyOptions(opts...)
19341	return out, req.Send()
19342}
19343
19344const opStopAutoMLJob = "StopAutoMLJob"
19345
19346// StopAutoMLJobRequest generates a "aws/request.Request" representing the
19347// client's request for the StopAutoMLJob operation. The "output" return
19348// value will be populated with the request's response once the request completes
19349// successfully.
19350//
19351// Use "Send" method on the returned Request to send the API call to the service.
19352// the "output" return value is not valid until after Send returns without error.
19353//
19354// See StopAutoMLJob for more information on using the StopAutoMLJob
19355// API call, and error handling.
19356//
19357// This method is useful when you want to inject custom logic or configuration
19358// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19359//
19360//
19361//    // Example sending a request using the StopAutoMLJobRequest method.
19362//    req, resp := client.StopAutoMLJobRequest(params)
19363//
19364//    err := req.Send()
19365//    if err == nil { // resp is now filled
19366//        fmt.Println(resp)
19367//    }
19368//
19369// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopAutoMLJob
19370func (c *SageMaker) StopAutoMLJobRequest(input *StopAutoMLJobInput) (req *request.Request, output *StopAutoMLJobOutput) {
19371	op := &request.Operation{
19372		Name:       opStopAutoMLJob,
19373		HTTPMethod: "POST",
19374		HTTPPath:   "/",
19375	}
19376
19377	if input == nil {
19378		input = &StopAutoMLJobInput{}
19379	}
19380
19381	output = &StopAutoMLJobOutput{}
19382	req = c.newRequest(op, input, output)
19383	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
19384	return
19385}
19386
19387// StopAutoMLJob API operation for Amazon SageMaker Service.
19388//
19389// A method for forcing the termination of a running job.
19390//
19391// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19392// with awserr.Error's Code and Message methods to get detailed information about
19393// the error.
19394//
19395// See the AWS API reference guide for Amazon SageMaker Service's
19396// API operation StopAutoMLJob for usage and error information.
19397//
19398// Returned Error Types:
19399//   * ResourceNotFound
19400//   Resource being access is not found.
19401//
19402// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopAutoMLJob
19403func (c *SageMaker) StopAutoMLJob(input *StopAutoMLJobInput) (*StopAutoMLJobOutput, error) {
19404	req, out := c.StopAutoMLJobRequest(input)
19405	return out, req.Send()
19406}
19407
19408// StopAutoMLJobWithContext is the same as StopAutoMLJob with the addition of
19409// the ability to pass a context and additional request options.
19410//
19411// See StopAutoMLJob for details on how to use this API operation.
19412//
19413// The context must be non-nil and will be used for request cancellation. If
19414// the context is nil a panic will occur. In the future the SDK may create
19415// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19416// for more information on using Contexts.
19417func (c *SageMaker) StopAutoMLJobWithContext(ctx aws.Context, input *StopAutoMLJobInput, opts ...request.Option) (*StopAutoMLJobOutput, error) {
19418	req, out := c.StopAutoMLJobRequest(input)
19419	req.SetContext(ctx)
19420	req.ApplyOptions(opts...)
19421	return out, req.Send()
19422}
19423
19424const opStopCompilationJob = "StopCompilationJob"
19425
19426// StopCompilationJobRequest generates a "aws/request.Request" representing the
19427// client's request for the StopCompilationJob operation. The "output" return
19428// value will be populated with the request's response once the request completes
19429// successfully.
19430//
19431// Use "Send" method on the returned Request to send the API call to the service.
19432// the "output" return value is not valid until after Send returns without error.
19433//
19434// See StopCompilationJob for more information on using the StopCompilationJob
19435// API call, and error handling.
19436//
19437// This method is useful when you want to inject custom logic or configuration
19438// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19439//
19440//
19441//    // Example sending a request using the StopCompilationJobRequest method.
19442//    req, resp := client.StopCompilationJobRequest(params)
19443//
19444//    err := req.Send()
19445//    if err == nil { // resp is now filled
19446//        fmt.Println(resp)
19447//    }
19448//
19449// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopCompilationJob
19450func (c *SageMaker) StopCompilationJobRequest(input *StopCompilationJobInput) (req *request.Request, output *StopCompilationJobOutput) {
19451	op := &request.Operation{
19452		Name:       opStopCompilationJob,
19453		HTTPMethod: "POST",
19454		HTTPPath:   "/",
19455	}
19456
19457	if input == nil {
19458		input = &StopCompilationJobInput{}
19459	}
19460
19461	output = &StopCompilationJobOutput{}
19462	req = c.newRequest(op, input, output)
19463	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
19464	return
19465}
19466
19467// StopCompilationJob API operation for Amazon SageMaker Service.
19468//
19469// Stops a model compilation job.
19470//
19471// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal. This
19472// gracefully shuts the job down. If the job hasn't stopped, it sends the SIGKILL
19473// signal.
19474//
19475// When it receives a StopCompilationJob request, Amazon SageMaker changes the
19476// CompilationJobSummary$CompilationJobStatus of the job to Stopping. After
19477// Amazon SageMaker stops the job, it sets the CompilationJobSummary$CompilationJobStatus
19478// to Stopped.
19479//
19480// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19481// with awserr.Error's Code and Message methods to get detailed information about
19482// the error.
19483//
19484// See the AWS API reference guide for Amazon SageMaker Service's
19485// API operation StopCompilationJob for usage and error information.
19486//
19487// Returned Error Types:
19488//   * ResourceNotFound
19489//   Resource being access is not found.
19490//
19491// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopCompilationJob
19492func (c *SageMaker) StopCompilationJob(input *StopCompilationJobInput) (*StopCompilationJobOutput, error) {
19493	req, out := c.StopCompilationJobRequest(input)
19494	return out, req.Send()
19495}
19496
19497// StopCompilationJobWithContext is the same as StopCompilationJob with the addition of
19498// the ability to pass a context and additional request options.
19499//
19500// See StopCompilationJob for details on how to use this API operation.
19501//
19502// The context must be non-nil and will be used for request cancellation. If
19503// the context is nil a panic will occur. In the future the SDK may create
19504// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19505// for more information on using Contexts.
19506func (c *SageMaker) StopCompilationJobWithContext(ctx aws.Context, input *StopCompilationJobInput, opts ...request.Option) (*StopCompilationJobOutput, error) {
19507	req, out := c.StopCompilationJobRequest(input)
19508	req.SetContext(ctx)
19509	req.ApplyOptions(opts...)
19510	return out, req.Send()
19511}
19512
19513const opStopEdgePackagingJob = "StopEdgePackagingJob"
19514
19515// StopEdgePackagingJobRequest generates a "aws/request.Request" representing the
19516// client's request for the StopEdgePackagingJob operation. The "output" return
19517// value will be populated with the request's response once the request completes
19518// successfully.
19519//
19520// Use "Send" method on the returned Request to send the API call to the service.
19521// the "output" return value is not valid until after Send returns without error.
19522//
19523// See StopEdgePackagingJob for more information on using the StopEdgePackagingJob
19524// API call, and error handling.
19525//
19526// This method is useful when you want to inject custom logic or configuration
19527// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19528//
19529//
19530//    // Example sending a request using the StopEdgePackagingJobRequest method.
19531//    req, resp := client.StopEdgePackagingJobRequest(params)
19532//
19533//    err := req.Send()
19534//    if err == nil { // resp is now filled
19535//        fmt.Println(resp)
19536//    }
19537//
19538// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopEdgePackagingJob
19539func (c *SageMaker) StopEdgePackagingJobRequest(input *StopEdgePackagingJobInput) (req *request.Request, output *StopEdgePackagingJobOutput) {
19540	op := &request.Operation{
19541		Name:       opStopEdgePackagingJob,
19542		HTTPMethod: "POST",
19543		HTTPPath:   "/",
19544	}
19545
19546	if input == nil {
19547		input = &StopEdgePackagingJobInput{}
19548	}
19549
19550	output = &StopEdgePackagingJobOutput{}
19551	req = c.newRequest(op, input, output)
19552	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
19553	return
19554}
19555
19556// StopEdgePackagingJob API operation for Amazon SageMaker Service.
19557//
19558// Request to stop an edge packaging job.
19559//
19560// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19561// with awserr.Error's Code and Message methods to get detailed information about
19562// the error.
19563//
19564// See the AWS API reference guide for Amazon SageMaker Service's
19565// API operation StopEdgePackagingJob for usage and error information.
19566// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopEdgePackagingJob
19567func (c *SageMaker) StopEdgePackagingJob(input *StopEdgePackagingJobInput) (*StopEdgePackagingJobOutput, error) {
19568	req, out := c.StopEdgePackagingJobRequest(input)
19569	return out, req.Send()
19570}
19571
19572// StopEdgePackagingJobWithContext is the same as StopEdgePackagingJob with the addition of
19573// the ability to pass a context and additional request options.
19574//
19575// See StopEdgePackagingJob for details on how to use this API operation.
19576//
19577// The context must be non-nil and will be used for request cancellation. If
19578// the context is nil a panic will occur. In the future the SDK may create
19579// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19580// for more information on using Contexts.
19581func (c *SageMaker) StopEdgePackagingJobWithContext(ctx aws.Context, input *StopEdgePackagingJobInput, opts ...request.Option) (*StopEdgePackagingJobOutput, error) {
19582	req, out := c.StopEdgePackagingJobRequest(input)
19583	req.SetContext(ctx)
19584	req.ApplyOptions(opts...)
19585	return out, req.Send()
19586}
19587
19588const opStopHyperParameterTuningJob = "StopHyperParameterTuningJob"
19589
19590// StopHyperParameterTuningJobRequest generates a "aws/request.Request" representing the
19591// client's request for the StopHyperParameterTuningJob operation. The "output" return
19592// value will be populated with the request's response once the request completes
19593// successfully.
19594//
19595// Use "Send" method on the returned Request to send the API call to the service.
19596// the "output" return value is not valid until after Send returns without error.
19597//
19598// See StopHyperParameterTuningJob for more information on using the StopHyperParameterTuningJob
19599// API call, and error handling.
19600//
19601// This method is useful when you want to inject custom logic or configuration
19602// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19603//
19604//
19605//    // Example sending a request using the StopHyperParameterTuningJobRequest method.
19606//    req, resp := client.StopHyperParameterTuningJobRequest(params)
19607//
19608//    err := req.Send()
19609//    if err == nil { // resp is now filled
19610//        fmt.Println(resp)
19611//    }
19612//
19613// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopHyperParameterTuningJob
19614func (c *SageMaker) StopHyperParameterTuningJobRequest(input *StopHyperParameterTuningJobInput) (req *request.Request, output *StopHyperParameterTuningJobOutput) {
19615	op := &request.Operation{
19616		Name:       opStopHyperParameterTuningJob,
19617		HTTPMethod: "POST",
19618		HTTPPath:   "/",
19619	}
19620
19621	if input == nil {
19622		input = &StopHyperParameterTuningJobInput{}
19623	}
19624
19625	output = &StopHyperParameterTuningJobOutput{}
19626	req = c.newRequest(op, input, output)
19627	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
19628	return
19629}
19630
19631// StopHyperParameterTuningJob API operation for Amazon SageMaker Service.
19632//
19633// Stops a running hyperparameter tuning job and all running training jobs that
19634// the tuning job launched.
19635//
19636// All model artifacts output from the training jobs are stored in Amazon Simple
19637// Storage Service (Amazon S3). All data that the training jobs write to Amazon
19638// CloudWatch Logs are still available in CloudWatch. After the tuning job moves
19639// to the Stopped state, it releases all reserved resources for the tuning job.
19640//
19641// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19642// with awserr.Error's Code and Message methods to get detailed information about
19643// the error.
19644//
19645// See the AWS API reference guide for Amazon SageMaker Service's
19646// API operation StopHyperParameterTuningJob for usage and error information.
19647//
19648// Returned Error Types:
19649//   * ResourceNotFound
19650//   Resource being access is not found.
19651//
19652// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopHyperParameterTuningJob
19653func (c *SageMaker) StopHyperParameterTuningJob(input *StopHyperParameterTuningJobInput) (*StopHyperParameterTuningJobOutput, error) {
19654	req, out := c.StopHyperParameterTuningJobRequest(input)
19655	return out, req.Send()
19656}
19657
19658// StopHyperParameterTuningJobWithContext is the same as StopHyperParameterTuningJob with the addition of
19659// the ability to pass a context and additional request options.
19660//
19661// See StopHyperParameterTuningJob for details on how to use this API operation.
19662//
19663// The context must be non-nil and will be used for request cancellation. If
19664// the context is nil a panic will occur. In the future the SDK may create
19665// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19666// for more information on using Contexts.
19667func (c *SageMaker) StopHyperParameterTuningJobWithContext(ctx aws.Context, input *StopHyperParameterTuningJobInput, opts ...request.Option) (*StopHyperParameterTuningJobOutput, error) {
19668	req, out := c.StopHyperParameterTuningJobRequest(input)
19669	req.SetContext(ctx)
19670	req.ApplyOptions(opts...)
19671	return out, req.Send()
19672}
19673
19674const opStopLabelingJob = "StopLabelingJob"
19675
19676// StopLabelingJobRequest generates a "aws/request.Request" representing the
19677// client's request for the StopLabelingJob operation. The "output" return
19678// value will be populated with the request's response once the request completes
19679// successfully.
19680//
19681// Use "Send" method on the returned Request to send the API call to the service.
19682// the "output" return value is not valid until after Send returns without error.
19683//
19684// See StopLabelingJob for more information on using the StopLabelingJob
19685// API call, and error handling.
19686//
19687// This method is useful when you want to inject custom logic or configuration
19688// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19689//
19690//
19691//    // Example sending a request using the StopLabelingJobRequest method.
19692//    req, resp := client.StopLabelingJobRequest(params)
19693//
19694//    err := req.Send()
19695//    if err == nil { // resp is now filled
19696//        fmt.Println(resp)
19697//    }
19698//
19699// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopLabelingJob
19700func (c *SageMaker) StopLabelingJobRequest(input *StopLabelingJobInput) (req *request.Request, output *StopLabelingJobOutput) {
19701	op := &request.Operation{
19702		Name:       opStopLabelingJob,
19703		HTTPMethod: "POST",
19704		HTTPPath:   "/",
19705	}
19706
19707	if input == nil {
19708		input = &StopLabelingJobInput{}
19709	}
19710
19711	output = &StopLabelingJobOutput{}
19712	req = c.newRequest(op, input, output)
19713	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
19714	return
19715}
19716
19717// StopLabelingJob API operation for Amazon SageMaker Service.
19718//
19719// Stops a running labeling job. A job that is stopped cannot be restarted.
19720// Any results obtained before the job is stopped are placed in the Amazon S3
19721// output bucket.
19722//
19723// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19724// with awserr.Error's Code and Message methods to get detailed information about
19725// the error.
19726//
19727// See the AWS API reference guide for Amazon SageMaker Service's
19728// API operation StopLabelingJob for usage and error information.
19729//
19730// Returned Error Types:
19731//   * ResourceNotFound
19732//   Resource being access is not found.
19733//
19734// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopLabelingJob
19735func (c *SageMaker) StopLabelingJob(input *StopLabelingJobInput) (*StopLabelingJobOutput, error) {
19736	req, out := c.StopLabelingJobRequest(input)
19737	return out, req.Send()
19738}
19739
19740// StopLabelingJobWithContext is the same as StopLabelingJob with the addition of
19741// the ability to pass a context and additional request options.
19742//
19743// See StopLabelingJob for details on how to use this API operation.
19744//
19745// The context must be non-nil and will be used for request cancellation. If
19746// the context is nil a panic will occur. In the future the SDK may create
19747// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19748// for more information on using Contexts.
19749func (c *SageMaker) StopLabelingJobWithContext(ctx aws.Context, input *StopLabelingJobInput, opts ...request.Option) (*StopLabelingJobOutput, error) {
19750	req, out := c.StopLabelingJobRequest(input)
19751	req.SetContext(ctx)
19752	req.ApplyOptions(opts...)
19753	return out, req.Send()
19754}
19755
19756const opStopMonitoringSchedule = "StopMonitoringSchedule"
19757
19758// StopMonitoringScheduleRequest generates a "aws/request.Request" representing the
19759// client's request for the StopMonitoringSchedule operation. The "output" return
19760// value will be populated with the request's response once the request completes
19761// successfully.
19762//
19763// Use "Send" method on the returned Request to send the API call to the service.
19764// the "output" return value is not valid until after Send returns without error.
19765//
19766// See StopMonitoringSchedule for more information on using the StopMonitoringSchedule
19767// API call, and error handling.
19768//
19769// This method is useful when you want to inject custom logic or configuration
19770// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19771//
19772//
19773//    // Example sending a request using the StopMonitoringScheduleRequest method.
19774//    req, resp := client.StopMonitoringScheduleRequest(params)
19775//
19776//    err := req.Send()
19777//    if err == nil { // resp is now filled
19778//        fmt.Println(resp)
19779//    }
19780//
19781// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopMonitoringSchedule
19782func (c *SageMaker) StopMonitoringScheduleRequest(input *StopMonitoringScheduleInput) (req *request.Request, output *StopMonitoringScheduleOutput) {
19783	op := &request.Operation{
19784		Name:       opStopMonitoringSchedule,
19785		HTTPMethod: "POST",
19786		HTTPPath:   "/",
19787	}
19788
19789	if input == nil {
19790		input = &StopMonitoringScheduleInput{}
19791	}
19792
19793	output = &StopMonitoringScheduleOutput{}
19794	req = c.newRequest(op, input, output)
19795	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
19796	return
19797}
19798
19799// StopMonitoringSchedule API operation for Amazon SageMaker Service.
19800//
19801// Stops a previously started monitoring schedule.
19802//
19803// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19804// with awserr.Error's Code and Message methods to get detailed information about
19805// the error.
19806//
19807// See the AWS API reference guide for Amazon SageMaker Service's
19808// API operation StopMonitoringSchedule for usage and error information.
19809//
19810// Returned Error Types:
19811//   * ResourceNotFound
19812//   Resource being access is not found.
19813//
19814// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopMonitoringSchedule
19815func (c *SageMaker) StopMonitoringSchedule(input *StopMonitoringScheduleInput) (*StopMonitoringScheduleOutput, error) {
19816	req, out := c.StopMonitoringScheduleRequest(input)
19817	return out, req.Send()
19818}
19819
19820// StopMonitoringScheduleWithContext is the same as StopMonitoringSchedule with the addition of
19821// the ability to pass a context and additional request options.
19822//
19823// See StopMonitoringSchedule for details on how to use this API operation.
19824//
19825// The context must be non-nil and will be used for request cancellation. If
19826// the context is nil a panic will occur. In the future the SDK may create
19827// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19828// for more information on using Contexts.
19829func (c *SageMaker) StopMonitoringScheduleWithContext(ctx aws.Context, input *StopMonitoringScheduleInput, opts ...request.Option) (*StopMonitoringScheduleOutput, error) {
19830	req, out := c.StopMonitoringScheduleRequest(input)
19831	req.SetContext(ctx)
19832	req.ApplyOptions(opts...)
19833	return out, req.Send()
19834}
19835
19836const opStopNotebookInstance = "StopNotebookInstance"
19837
19838// StopNotebookInstanceRequest generates a "aws/request.Request" representing the
19839// client's request for the StopNotebookInstance operation. The "output" return
19840// value will be populated with the request's response once the request completes
19841// successfully.
19842//
19843// Use "Send" method on the returned Request to send the API call to the service.
19844// the "output" return value is not valid until after Send returns without error.
19845//
19846// See StopNotebookInstance for more information on using the StopNotebookInstance
19847// API call, and error handling.
19848//
19849// This method is useful when you want to inject custom logic or configuration
19850// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19851//
19852//
19853//    // Example sending a request using the StopNotebookInstanceRequest method.
19854//    req, resp := client.StopNotebookInstanceRequest(params)
19855//
19856//    err := req.Send()
19857//    if err == nil { // resp is now filled
19858//        fmt.Println(resp)
19859//    }
19860//
19861// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopNotebookInstance
19862func (c *SageMaker) StopNotebookInstanceRequest(input *StopNotebookInstanceInput) (req *request.Request, output *StopNotebookInstanceOutput) {
19863	op := &request.Operation{
19864		Name:       opStopNotebookInstance,
19865		HTTPMethod: "POST",
19866		HTTPPath:   "/",
19867	}
19868
19869	if input == nil {
19870		input = &StopNotebookInstanceInput{}
19871	}
19872
19873	output = &StopNotebookInstanceOutput{}
19874	req = c.newRequest(op, input, output)
19875	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
19876	return
19877}
19878
19879// StopNotebookInstance API operation for Amazon SageMaker Service.
19880//
19881// Terminates the ML compute instance. Before terminating the instance, Amazon
19882// SageMaker disconnects the ML storage volume from it. Amazon SageMaker preserves
19883// the ML storage volume. Amazon SageMaker stops charging you for the ML compute
19884// instance when you call StopNotebookInstance.
19885//
19886// To access data on the ML storage volume for a notebook instance that has
19887// been terminated, call the StartNotebookInstance API. StartNotebookInstance
19888// launches another ML compute instance, configures it, and attaches the preserved
19889// ML storage volume so you can continue your work.
19890//
19891// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19892// with awserr.Error's Code and Message methods to get detailed information about
19893// the error.
19894//
19895// See the AWS API reference guide for Amazon SageMaker Service's
19896// API operation StopNotebookInstance for usage and error information.
19897// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopNotebookInstance
19898func (c *SageMaker) StopNotebookInstance(input *StopNotebookInstanceInput) (*StopNotebookInstanceOutput, error) {
19899	req, out := c.StopNotebookInstanceRequest(input)
19900	return out, req.Send()
19901}
19902
19903// StopNotebookInstanceWithContext is the same as StopNotebookInstance with the addition of
19904// the ability to pass a context and additional request options.
19905//
19906// See StopNotebookInstance for details on how to use this API operation.
19907//
19908// The context must be non-nil and will be used for request cancellation. If
19909// the context is nil a panic will occur. In the future the SDK may create
19910// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19911// for more information on using Contexts.
19912func (c *SageMaker) StopNotebookInstanceWithContext(ctx aws.Context, input *StopNotebookInstanceInput, opts ...request.Option) (*StopNotebookInstanceOutput, error) {
19913	req, out := c.StopNotebookInstanceRequest(input)
19914	req.SetContext(ctx)
19915	req.ApplyOptions(opts...)
19916	return out, req.Send()
19917}
19918
19919const opStopPipelineExecution = "StopPipelineExecution"
19920
19921// StopPipelineExecutionRequest generates a "aws/request.Request" representing the
19922// client's request for the StopPipelineExecution operation. The "output" return
19923// value will be populated with the request's response once the request completes
19924// successfully.
19925//
19926// Use "Send" method on the returned Request to send the API call to the service.
19927// the "output" return value is not valid until after Send returns without error.
19928//
19929// See StopPipelineExecution for more information on using the StopPipelineExecution
19930// API call, and error handling.
19931//
19932// This method is useful when you want to inject custom logic or configuration
19933// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19934//
19935//
19936//    // Example sending a request using the StopPipelineExecutionRequest method.
19937//    req, resp := client.StopPipelineExecutionRequest(params)
19938//
19939//    err := req.Send()
19940//    if err == nil { // resp is now filled
19941//        fmt.Println(resp)
19942//    }
19943//
19944// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopPipelineExecution
19945func (c *SageMaker) StopPipelineExecutionRequest(input *StopPipelineExecutionInput) (req *request.Request, output *StopPipelineExecutionOutput) {
19946	op := &request.Operation{
19947		Name:       opStopPipelineExecution,
19948		HTTPMethod: "POST",
19949		HTTPPath:   "/",
19950	}
19951
19952	if input == nil {
19953		input = &StopPipelineExecutionInput{}
19954	}
19955
19956	output = &StopPipelineExecutionOutput{}
19957	req = c.newRequest(op, input, output)
19958	return
19959}
19960
19961// StopPipelineExecution API operation for Amazon SageMaker Service.
19962//
19963// Stops a pipeline execution.
19964//
19965// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19966// with awserr.Error's Code and Message methods to get detailed information about
19967// the error.
19968//
19969// See the AWS API reference guide for Amazon SageMaker Service's
19970// API operation StopPipelineExecution for usage and error information.
19971//
19972// Returned Error Types:
19973//   * ResourceNotFound
19974//   Resource being access is not found.
19975//
19976// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopPipelineExecution
19977func (c *SageMaker) StopPipelineExecution(input *StopPipelineExecutionInput) (*StopPipelineExecutionOutput, error) {
19978	req, out := c.StopPipelineExecutionRequest(input)
19979	return out, req.Send()
19980}
19981
19982// StopPipelineExecutionWithContext is the same as StopPipelineExecution with the addition of
19983// the ability to pass a context and additional request options.
19984//
19985// See StopPipelineExecution for details on how to use this API operation.
19986//
19987// The context must be non-nil and will be used for request cancellation. If
19988// the context is nil a panic will occur. In the future the SDK may create
19989// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19990// for more information on using Contexts.
19991func (c *SageMaker) StopPipelineExecutionWithContext(ctx aws.Context, input *StopPipelineExecutionInput, opts ...request.Option) (*StopPipelineExecutionOutput, error) {
19992	req, out := c.StopPipelineExecutionRequest(input)
19993	req.SetContext(ctx)
19994	req.ApplyOptions(opts...)
19995	return out, req.Send()
19996}
19997
19998const opStopProcessingJob = "StopProcessingJob"
19999
20000// StopProcessingJobRequest generates a "aws/request.Request" representing the
20001// client's request for the StopProcessingJob operation. The "output" return
20002// value will be populated with the request's response once the request completes
20003// successfully.
20004//
20005// Use "Send" method on the returned Request to send the API call to the service.
20006// the "output" return value is not valid until after Send returns without error.
20007//
20008// See StopProcessingJob for more information on using the StopProcessingJob
20009// API call, and error handling.
20010//
20011// This method is useful when you want to inject custom logic or configuration
20012// into the SDK's request lifecycle. Such as custom headers, or retry logic.
20013//
20014//
20015//    // Example sending a request using the StopProcessingJobRequest method.
20016//    req, resp := client.StopProcessingJobRequest(params)
20017//
20018//    err := req.Send()
20019//    if err == nil { // resp is now filled
20020//        fmt.Println(resp)
20021//    }
20022//
20023// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopProcessingJob
20024func (c *SageMaker) StopProcessingJobRequest(input *StopProcessingJobInput) (req *request.Request, output *StopProcessingJobOutput) {
20025	op := &request.Operation{
20026		Name:       opStopProcessingJob,
20027		HTTPMethod: "POST",
20028		HTTPPath:   "/",
20029	}
20030
20031	if input == nil {
20032		input = &StopProcessingJobInput{}
20033	}
20034
20035	output = &StopProcessingJobOutput{}
20036	req = c.newRequest(op, input, output)
20037	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
20038	return
20039}
20040
20041// StopProcessingJob API operation for Amazon SageMaker Service.
20042//
20043// Stops a processing job.
20044//
20045// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20046// with awserr.Error's Code and Message methods to get detailed information about
20047// the error.
20048//
20049// See the AWS API reference guide for Amazon SageMaker Service's
20050// API operation StopProcessingJob for usage and error information.
20051//
20052// Returned Error Types:
20053//   * ResourceNotFound
20054//   Resource being access is not found.
20055//
20056// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopProcessingJob
20057func (c *SageMaker) StopProcessingJob(input *StopProcessingJobInput) (*StopProcessingJobOutput, error) {
20058	req, out := c.StopProcessingJobRequest(input)
20059	return out, req.Send()
20060}
20061
20062// StopProcessingJobWithContext is the same as StopProcessingJob with the addition of
20063// the ability to pass a context and additional request options.
20064//
20065// See StopProcessingJob for details on how to use this API operation.
20066//
20067// The context must be non-nil and will be used for request cancellation. If
20068// the context is nil a panic will occur. In the future the SDK may create
20069// sub-contexts for http.Requests. See https://golang.org/pkg/context/
20070// for more information on using Contexts.
20071func (c *SageMaker) StopProcessingJobWithContext(ctx aws.Context, input *StopProcessingJobInput, opts ...request.Option) (*StopProcessingJobOutput, error) {
20072	req, out := c.StopProcessingJobRequest(input)
20073	req.SetContext(ctx)
20074	req.ApplyOptions(opts...)
20075	return out, req.Send()
20076}
20077
20078const opStopTrainingJob = "StopTrainingJob"
20079
20080// StopTrainingJobRequest generates a "aws/request.Request" representing the
20081// client's request for the StopTrainingJob operation. The "output" return
20082// value will be populated with the request's response once the request completes
20083// successfully.
20084//
20085// Use "Send" method on the returned Request to send the API call to the service.
20086// the "output" return value is not valid until after Send returns without error.
20087//
20088// See StopTrainingJob for more information on using the StopTrainingJob
20089// API call, and error handling.
20090//
20091// This method is useful when you want to inject custom logic or configuration
20092// into the SDK's request lifecycle. Such as custom headers, or retry logic.
20093//
20094//
20095//    // Example sending a request using the StopTrainingJobRequest method.
20096//    req, resp := client.StopTrainingJobRequest(params)
20097//
20098//    err := req.Send()
20099//    if err == nil { // resp is now filled
20100//        fmt.Println(resp)
20101//    }
20102//
20103// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTrainingJob
20104func (c *SageMaker) StopTrainingJobRequest(input *StopTrainingJobInput) (req *request.Request, output *StopTrainingJobOutput) {
20105	op := &request.Operation{
20106		Name:       opStopTrainingJob,
20107		HTTPMethod: "POST",
20108		HTTPPath:   "/",
20109	}
20110
20111	if input == nil {
20112		input = &StopTrainingJobInput{}
20113	}
20114
20115	output = &StopTrainingJobOutput{}
20116	req = c.newRequest(op, input, output)
20117	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
20118	return
20119}
20120
20121// StopTrainingJob API operation for Amazon SageMaker Service.
20122//
20123// Stops a training job. To stop a job, Amazon SageMaker sends the algorithm
20124// the SIGTERM signal, which delays job termination for 120 seconds. Algorithms
20125// might use this 120-second window to save the model artifacts, so the results
20126// of the training is not lost.
20127//
20128// When it receives a StopTrainingJob request, Amazon SageMaker changes the
20129// status of the job to Stopping. After Amazon SageMaker stops the job, it sets
20130// the status to Stopped.
20131//
20132// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20133// with awserr.Error's Code and Message methods to get detailed information about
20134// the error.
20135//
20136// See the AWS API reference guide for Amazon SageMaker Service's
20137// API operation StopTrainingJob for usage and error information.
20138//
20139// Returned Error Types:
20140//   * ResourceNotFound
20141//   Resource being access is not found.
20142//
20143// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTrainingJob
20144func (c *SageMaker) StopTrainingJob(input *StopTrainingJobInput) (*StopTrainingJobOutput, error) {
20145	req, out := c.StopTrainingJobRequest(input)
20146	return out, req.Send()
20147}
20148
20149// StopTrainingJobWithContext is the same as StopTrainingJob with the addition of
20150// the ability to pass a context and additional request options.
20151//
20152// See StopTrainingJob for details on how to use this API operation.
20153//
20154// The context must be non-nil and will be used for request cancellation. If
20155// the context is nil a panic will occur. In the future the SDK may create
20156// sub-contexts for http.Requests. See https://golang.org/pkg/context/
20157// for more information on using Contexts.
20158func (c *SageMaker) StopTrainingJobWithContext(ctx aws.Context, input *StopTrainingJobInput, opts ...request.Option) (*StopTrainingJobOutput, error) {
20159	req, out := c.StopTrainingJobRequest(input)
20160	req.SetContext(ctx)
20161	req.ApplyOptions(opts...)
20162	return out, req.Send()
20163}
20164
20165const opStopTransformJob = "StopTransformJob"
20166
20167// StopTransformJobRequest generates a "aws/request.Request" representing the
20168// client's request for the StopTransformJob operation. The "output" return
20169// value will be populated with the request's response once the request completes
20170// successfully.
20171//
20172// Use "Send" method on the returned Request to send the API call to the service.
20173// the "output" return value is not valid until after Send returns without error.
20174//
20175// See StopTransformJob for more information on using the StopTransformJob
20176// API call, and error handling.
20177//
20178// This method is useful when you want to inject custom logic or configuration
20179// into the SDK's request lifecycle. Such as custom headers, or retry logic.
20180//
20181//
20182//    // Example sending a request using the StopTransformJobRequest method.
20183//    req, resp := client.StopTransformJobRequest(params)
20184//
20185//    err := req.Send()
20186//    if err == nil { // resp is now filled
20187//        fmt.Println(resp)
20188//    }
20189//
20190// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTransformJob
20191func (c *SageMaker) StopTransformJobRequest(input *StopTransformJobInput) (req *request.Request, output *StopTransformJobOutput) {
20192	op := &request.Operation{
20193		Name:       opStopTransformJob,
20194		HTTPMethod: "POST",
20195		HTTPPath:   "/",
20196	}
20197
20198	if input == nil {
20199		input = &StopTransformJobInput{}
20200	}
20201
20202	output = &StopTransformJobOutput{}
20203	req = c.newRequest(op, input, output)
20204	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
20205	return
20206}
20207
20208// StopTransformJob API operation for Amazon SageMaker Service.
20209//
20210// Stops a transform job.
20211//
20212// When Amazon SageMaker receives a StopTransformJob request, the status of
20213// the job changes to Stopping. After Amazon SageMaker stops the job, the status
20214// is set to Stopped. When you stop a transform job before it is completed,
20215// Amazon SageMaker doesn't store the job's output in Amazon S3.
20216//
20217// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20218// with awserr.Error's Code and Message methods to get detailed information about
20219// the error.
20220//
20221// See the AWS API reference guide for Amazon SageMaker Service's
20222// API operation StopTransformJob for usage and error information.
20223//
20224// Returned Error Types:
20225//   * ResourceNotFound
20226//   Resource being access is not found.
20227//
20228// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTransformJob
20229func (c *SageMaker) StopTransformJob(input *StopTransformJobInput) (*StopTransformJobOutput, error) {
20230	req, out := c.StopTransformJobRequest(input)
20231	return out, req.Send()
20232}
20233
20234// StopTransformJobWithContext is the same as StopTransformJob with the addition of
20235// the ability to pass a context and additional request options.
20236//
20237// See StopTransformJob for details on how to use this API operation.
20238//
20239// The context must be non-nil and will be used for request cancellation. If
20240// the context is nil a panic will occur. In the future the SDK may create
20241// sub-contexts for http.Requests. See https://golang.org/pkg/context/
20242// for more information on using Contexts.
20243func (c *SageMaker) StopTransformJobWithContext(ctx aws.Context, input *StopTransformJobInput, opts ...request.Option) (*StopTransformJobOutput, error) {
20244	req, out := c.StopTransformJobRequest(input)
20245	req.SetContext(ctx)
20246	req.ApplyOptions(opts...)
20247	return out, req.Send()
20248}
20249
20250const opUpdateAction = "UpdateAction"
20251
20252// UpdateActionRequest generates a "aws/request.Request" representing the
20253// client's request for the UpdateAction operation. The "output" return
20254// value will be populated with the request's response once the request completes
20255// successfully.
20256//
20257// Use "Send" method on the returned Request to send the API call to the service.
20258// the "output" return value is not valid until after Send returns without error.
20259//
20260// See UpdateAction for more information on using the UpdateAction
20261// API call, and error handling.
20262//
20263// This method is useful when you want to inject custom logic or configuration
20264// into the SDK's request lifecycle. Such as custom headers, or retry logic.
20265//
20266//
20267//    // Example sending a request using the UpdateActionRequest method.
20268//    req, resp := client.UpdateActionRequest(params)
20269//
20270//    err := req.Send()
20271//    if err == nil { // resp is now filled
20272//        fmt.Println(resp)
20273//    }
20274//
20275// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateAction
20276func (c *SageMaker) UpdateActionRequest(input *UpdateActionInput) (req *request.Request, output *UpdateActionOutput) {
20277	op := &request.Operation{
20278		Name:       opUpdateAction,
20279		HTTPMethod: "POST",
20280		HTTPPath:   "/",
20281	}
20282
20283	if input == nil {
20284		input = &UpdateActionInput{}
20285	}
20286
20287	output = &UpdateActionOutput{}
20288	req = c.newRequest(op, input, output)
20289	return
20290}
20291
20292// UpdateAction API operation for Amazon SageMaker Service.
20293//
20294// Updates an action.
20295//
20296// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20297// with awserr.Error's Code and Message methods to get detailed information about
20298// the error.
20299//
20300// See the AWS API reference guide for Amazon SageMaker Service's
20301// API operation UpdateAction for usage and error information.
20302//
20303// Returned Error Types:
20304//   * ConflictException
20305//   There was a conflict when you attempted to modify a SageMaker entity such
20306//   as an Experiment or Artifact.
20307//
20308//   * ResourceNotFound
20309//   Resource being access is not found.
20310//
20311// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateAction
20312func (c *SageMaker) UpdateAction(input *UpdateActionInput) (*UpdateActionOutput, error) {
20313	req, out := c.UpdateActionRequest(input)
20314	return out, req.Send()
20315}
20316
20317// UpdateActionWithContext is the same as UpdateAction with the addition of
20318// the ability to pass a context and additional request options.
20319//
20320// See UpdateAction for details on how to use this API operation.
20321//
20322// The context must be non-nil and will be used for request cancellation. If
20323// the context is nil a panic will occur. In the future the SDK may create
20324// sub-contexts for http.Requests. See https://golang.org/pkg/context/
20325// for more information on using Contexts.
20326func (c *SageMaker) UpdateActionWithContext(ctx aws.Context, input *UpdateActionInput, opts ...request.Option) (*UpdateActionOutput, error) {
20327	req, out := c.UpdateActionRequest(input)
20328	req.SetContext(ctx)
20329	req.ApplyOptions(opts...)
20330	return out, req.Send()
20331}
20332
20333const opUpdateAppImageConfig = "UpdateAppImageConfig"
20334
20335// UpdateAppImageConfigRequest generates a "aws/request.Request" representing the
20336// client's request for the UpdateAppImageConfig operation. The "output" return
20337// value will be populated with the request's response once the request completes
20338// successfully.
20339//
20340// Use "Send" method on the returned Request to send the API call to the service.
20341// the "output" return value is not valid until after Send returns without error.
20342//
20343// See UpdateAppImageConfig for more information on using the UpdateAppImageConfig
20344// API call, and error handling.
20345//
20346// This method is useful when you want to inject custom logic or configuration
20347// into the SDK's request lifecycle. Such as custom headers, or retry logic.
20348//
20349//
20350//    // Example sending a request using the UpdateAppImageConfigRequest method.
20351//    req, resp := client.UpdateAppImageConfigRequest(params)
20352//
20353//    err := req.Send()
20354//    if err == nil { // resp is now filled
20355//        fmt.Println(resp)
20356//    }
20357//
20358// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateAppImageConfig
20359func (c *SageMaker) UpdateAppImageConfigRequest(input *UpdateAppImageConfigInput) (req *request.Request, output *UpdateAppImageConfigOutput) {
20360	op := &request.Operation{
20361		Name:       opUpdateAppImageConfig,
20362		HTTPMethod: "POST",
20363		HTTPPath:   "/",
20364	}
20365
20366	if input == nil {
20367		input = &UpdateAppImageConfigInput{}
20368	}
20369
20370	output = &UpdateAppImageConfigOutput{}
20371	req = c.newRequest(op, input, output)
20372	return
20373}
20374
20375// UpdateAppImageConfig API operation for Amazon SageMaker Service.
20376//
20377// Updates the properties of an AppImageConfig.
20378//
20379// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20380// with awserr.Error's Code and Message methods to get detailed information about
20381// the error.
20382//
20383// See the AWS API reference guide for Amazon SageMaker Service's
20384// API operation UpdateAppImageConfig for usage and error information.
20385//
20386// Returned Error Types:
20387//   * ResourceNotFound
20388//   Resource being access is not found.
20389//
20390// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateAppImageConfig
20391func (c *SageMaker) UpdateAppImageConfig(input *UpdateAppImageConfigInput) (*UpdateAppImageConfigOutput, error) {
20392	req, out := c.UpdateAppImageConfigRequest(input)
20393	return out, req.Send()
20394}
20395
20396// UpdateAppImageConfigWithContext is the same as UpdateAppImageConfig with the addition of
20397// the ability to pass a context and additional request options.
20398//
20399// See UpdateAppImageConfig for details on how to use this API operation.
20400//
20401// The context must be non-nil and will be used for request cancellation. If
20402// the context is nil a panic will occur. In the future the SDK may create
20403// sub-contexts for http.Requests. See https://golang.org/pkg/context/
20404// for more information on using Contexts.
20405func (c *SageMaker) UpdateAppImageConfigWithContext(ctx aws.Context, input *UpdateAppImageConfigInput, opts ...request.Option) (*UpdateAppImageConfigOutput, error) {
20406	req, out := c.UpdateAppImageConfigRequest(input)
20407	req.SetContext(ctx)
20408	req.ApplyOptions(opts...)
20409	return out, req.Send()
20410}
20411
20412const opUpdateArtifact = "UpdateArtifact"
20413
20414// UpdateArtifactRequest generates a "aws/request.Request" representing the
20415// client's request for the UpdateArtifact operation. The "output" return
20416// value will be populated with the request's response once the request completes
20417// successfully.
20418//
20419// Use "Send" method on the returned Request to send the API call to the service.
20420// the "output" return value is not valid until after Send returns without error.
20421//
20422// See UpdateArtifact for more information on using the UpdateArtifact
20423// API call, and error handling.
20424//
20425// This method is useful when you want to inject custom logic or configuration
20426// into the SDK's request lifecycle. Such as custom headers, or retry logic.
20427//
20428//
20429//    // Example sending a request using the UpdateArtifactRequest method.
20430//    req, resp := client.UpdateArtifactRequest(params)
20431//
20432//    err := req.Send()
20433//    if err == nil { // resp is now filled
20434//        fmt.Println(resp)
20435//    }
20436//
20437// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateArtifact
20438func (c *SageMaker) UpdateArtifactRequest(input *UpdateArtifactInput) (req *request.Request, output *UpdateArtifactOutput) {
20439	op := &request.Operation{
20440		Name:       opUpdateArtifact,
20441		HTTPMethod: "POST",
20442		HTTPPath:   "/",
20443	}
20444
20445	if input == nil {
20446		input = &UpdateArtifactInput{}
20447	}
20448
20449	output = &UpdateArtifactOutput{}
20450	req = c.newRequest(op, input, output)
20451	return
20452}
20453
20454// UpdateArtifact API operation for Amazon SageMaker Service.
20455//
20456// Updates an artifact.
20457//
20458// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20459// with awserr.Error's Code and Message methods to get detailed information about
20460// the error.
20461//
20462// See the AWS API reference guide for Amazon SageMaker Service's
20463// API operation UpdateArtifact for usage and error information.
20464//
20465// Returned Error Types:
20466//   * ConflictException
20467//   There was a conflict when you attempted to modify a SageMaker entity such
20468//   as an Experiment or Artifact.
20469//
20470//   * ResourceNotFound
20471//   Resource being access is not found.
20472//
20473// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateArtifact
20474func (c *SageMaker) UpdateArtifact(input *UpdateArtifactInput) (*UpdateArtifactOutput, error) {
20475	req, out := c.UpdateArtifactRequest(input)
20476	return out, req.Send()
20477}
20478
20479// UpdateArtifactWithContext is the same as UpdateArtifact with the addition of
20480// the ability to pass a context and additional request options.
20481//
20482// See UpdateArtifact for details on how to use this API operation.
20483//
20484// The context must be non-nil and will be used for request cancellation. If
20485// the context is nil a panic will occur. In the future the SDK may create
20486// sub-contexts for http.Requests. See https://golang.org/pkg/context/
20487// for more information on using Contexts.
20488func (c *SageMaker) UpdateArtifactWithContext(ctx aws.Context, input *UpdateArtifactInput, opts ...request.Option) (*UpdateArtifactOutput, error) {
20489	req, out := c.UpdateArtifactRequest(input)
20490	req.SetContext(ctx)
20491	req.ApplyOptions(opts...)
20492	return out, req.Send()
20493}
20494
20495const opUpdateCodeRepository = "UpdateCodeRepository"
20496
20497// UpdateCodeRepositoryRequest generates a "aws/request.Request" representing the
20498// client's request for the UpdateCodeRepository operation. The "output" return
20499// value will be populated with the request's response once the request completes
20500// successfully.
20501//
20502// Use "Send" method on the returned Request to send the API call to the service.
20503// the "output" return value is not valid until after Send returns without error.
20504//
20505// See UpdateCodeRepository for more information on using the UpdateCodeRepository
20506// API call, and error handling.
20507//
20508// This method is useful when you want to inject custom logic or configuration
20509// into the SDK's request lifecycle. Such as custom headers, or retry logic.
20510//
20511//
20512//    // Example sending a request using the UpdateCodeRepositoryRequest method.
20513//    req, resp := client.UpdateCodeRepositoryRequest(params)
20514//
20515//    err := req.Send()
20516//    if err == nil { // resp is now filled
20517//        fmt.Println(resp)
20518//    }
20519//
20520// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateCodeRepository
20521func (c *SageMaker) UpdateCodeRepositoryRequest(input *UpdateCodeRepositoryInput) (req *request.Request, output *UpdateCodeRepositoryOutput) {
20522	op := &request.Operation{
20523		Name:       opUpdateCodeRepository,
20524		HTTPMethod: "POST",
20525		HTTPPath:   "/",
20526	}
20527
20528	if input == nil {
20529		input = &UpdateCodeRepositoryInput{}
20530	}
20531
20532	output = &UpdateCodeRepositoryOutput{}
20533	req = c.newRequest(op, input, output)
20534	return
20535}
20536
20537// UpdateCodeRepository API operation for Amazon SageMaker Service.
20538//
20539// Updates the specified Git repository with the specified values.
20540//
20541// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20542// with awserr.Error's Code and Message methods to get detailed information about
20543// the error.
20544//
20545// See the AWS API reference guide for Amazon SageMaker Service's
20546// API operation UpdateCodeRepository for usage and error information.
20547// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateCodeRepository
20548func (c *SageMaker) UpdateCodeRepository(input *UpdateCodeRepositoryInput) (*UpdateCodeRepositoryOutput, error) {
20549	req, out := c.UpdateCodeRepositoryRequest(input)
20550	return out, req.Send()
20551}
20552
20553// UpdateCodeRepositoryWithContext is the same as UpdateCodeRepository with the addition of
20554// the ability to pass a context and additional request options.
20555//
20556// See UpdateCodeRepository for details on how to use this API operation.
20557//
20558// The context must be non-nil and will be used for request cancellation. If
20559// the context is nil a panic will occur. In the future the SDK may create
20560// sub-contexts for http.Requests. See https://golang.org/pkg/context/
20561// for more information on using Contexts.
20562func (c *SageMaker) UpdateCodeRepositoryWithContext(ctx aws.Context, input *UpdateCodeRepositoryInput, opts ...request.Option) (*UpdateCodeRepositoryOutput, error) {
20563	req, out := c.UpdateCodeRepositoryRequest(input)
20564	req.SetContext(ctx)
20565	req.ApplyOptions(opts...)
20566	return out, req.Send()
20567}
20568
20569const opUpdateContext = "UpdateContext"
20570
20571// UpdateContextRequest generates a "aws/request.Request" representing the
20572// client's request for the UpdateContext operation. The "output" return
20573// value will be populated with the request's response once the request completes
20574// successfully.
20575//
20576// Use "Send" method on the returned Request to send the API call to the service.
20577// the "output" return value is not valid until after Send returns without error.
20578//
20579// See UpdateContext for more information on using the UpdateContext
20580// API call, and error handling.
20581//
20582// This method is useful when you want to inject custom logic or configuration
20583// into the SDK's request lifecycle. Such as custom headers, or retry logic.
20584//
20585//
20586//    // Example sending a request using the UpdateContextRequest method.
20587//    req, resp := client.UpdateContextRequest(params)
20588//
20589//    err := req.Send()
20590//    if err == nil { // resp is now filled
20591//        fmt.Println(resp)
20592//    }
20593//
20594// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateContext
20595func (c *SageMaker) UpdateContextRequest(input *UpdateContextInput) (req *request.Request, output *UpdateContextOutput) {
20596	op := &request.Operation{
20597		Name:       opUpdateContext,
20598		HTTPMethod: "POST",
20599		HTTPPath:   "/",
20600	}
20601
20602	if input == nil {
20603		input = &UpdateContextInput{}
20604	}
20605
20606	output = &UpdateContextOutput{}
20607	req = c.newRequest(op, input, output)
20608	return
20609}
20610
20611// UpdateContext API operation for Amazon SageMaker Service.
20612//
20613// Updates a context.
20614//
20615// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20616// with awserr.Error's Code and Message methods to get detailed information about
20617// the error.
20618//
20619// See the AWS API reference guide for Amazon SageMaker Service's
20620// API operation UpdateContext for usage and error information.
20621//
20622// Returned Error Types:
20623//   * ConflictException
20624//   There was a conflict when you attempted to modify a SageMaker entity such
20625//   as an Experiment or Artifact.
20626//
20627//   * ResourceNotFound
20628//   Resource being access is not found.
20629//
20630// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateContext
20631func (c *SageMaker) UpdateContext(input *UpdateContextInput) (*UpdateContextOutput, error) {
20632	req, out := c.UpdateContextRequest(input)
20633	return out, req.Send()
20634}
20635
20636// UpdateContextWithContext is the same as UpdateContext with the addition of
20637// the ability to pass a context and additional request options.
20638//
20639// See UpdateContext for details on how to use this API operation.
20640//
20641// The context must be non-nil and will be used for request cancellation. If
20642// the context is nil a panic will occur. In the future the SDK may create
20643// sub-contexts for http.Requests. See https://golang.org/pkg/context/
20644// for more information on using Contexts.
20645func (c *SageMaker) UpdateContextWithContext(ctx aws.Context, input *UpdateContextInput, opts ...request.Option) (*UpdateContextOutput, error) {
20646	req, out := c.UpdateContextRequest(input)
20647	req.SetContext(ctx)
20648	req.ApplyOptions(opts...)
20649	return out, req.Send()
20650}
20651
20652const opUpdateDeviceFleet = "UpdateDeviceFleet"
20653
20654// UpdateDeviceFleetRequest generates a "aws/request.Request" representing the
20655// client's request for the UpdateDeviceFleet operation. The "output" return
20656// value will be populated with the request's response once the request completes
20657// successfully.
20658//
20659// Use "Send" method on the returned Request to send the API call to the service.
20660// the "output" return value is not valid until after Send returns without error.
20661//
20662// See UpdateDeviceFleet for more information on using the UpdateDeviceFleet
20663// API call, and error handling.
20664//
20665// This method is useful when you want to inject custom logic or configuration
20666// into the SDK's request lifecycle. Such as custom headers, or retry logic.
20667//
20668//
20669//    // Example sending a request using the UpdateDeviceFleetRequest method.
20670//    req, resp := client.UpdateDeviceFleetRequest(params)
20671//
20672//    err := req.Send()
20673//    if err == nil { // resp is now filled
20674//        fmt.Println(resp)
20675//    }
20676//
20677// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDeviceFleet
20678func (c *SageMaker) UpdateDeviceFleetRequest(input *UpdateDeviceFleetInput) (req *request.Request, output *UpdateDeviceFleetOutput) {
20679	op := &request.Operation{
20680		Name:       opUpdateDeviceFleet,
20681		HTTPMethod: "POST",
20682		HTTPPath:   "/",
20683	}
20684
20685	if input == nil {
20686		input = &UpdateDeviceFleetInput{}
20687	}
20688
20689	output = &UpdateDeviceFleetOutput{}
20690	req = c.newRequest(op, input, output)
20691	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
20692	return
20693}
20694
20695// UpdateDeviceFleet API operation for Amazon SageMaker Service.
20696//
20697// Updates a fleet of devices.
20698//
20699// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20700// with awserr.Error's Code and Message methods to get detailed information about
20701// the error.
20702//
20703// See the AWS API reference guide for Amazon SageMaker Service's
20704// API operation UpdateDeviceFleet for usage and error information.
20705//
20706// Returned Error Types:
20707//   * ResourceInUse
20708//   Resource being accessed is in use.
20709//
20710// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDeviceFleet
20711func (c *SageMaker) UpdateDeviceFleet(input *UpdateDeviceFleetInput) (*UpdateDeviceFleetOutput, error) {
20712	req, out := c.UpdateDeviceFleetRequest(input)
20713	return out, req.Send()
20714}
20715
20716// UpdateDeviceFleetWithContext is the same as UpdateDeviceFleet with the addition of
20717// the ability to pass a context and additional request options.
20718//
20719// See UpdateDeviceFleet for details on how to use this API operation.
20720//
20721// The context must be non-nil and will be used for request cancellation. If
20722// the context is nil a panic will occur. In the future the SDK may create
20723// sub-contexts for http.Requests. See https://golang.org/pkg/context/
20724// for more information on using Contexts.
20725func (c *SageMaker) UpdateDeviceFleetWithContext(ctx aws.Context, input *UpdateDeviceFleetInput, opts ...request.Option) (*UpdateDeviceFleetOutput, error) {
20726	req, out := c.UpdateDeviceFleetRequest(input)
20727	req.SetContext(ctx)
20728	req.ApplyOptions(opts...)
20729	return out, req.Send()
20730}
20731
20732const opUpdateDevices = "UpdateDevices"
20733
20734// UpdateDevicesRequest generates a "aws/request.Request" representing the
20735// client's request for the UpdateDevices operation. The "output" return
20736// value will be populated with the request's response once the request completes
20737// successfully.
20738//
20739// Use "Send" method on the returned Request to send the API call to the service.
20740// the "output" return value is not valid until after Send returns without error.
20741//
20742// See UpdateDevices for more information on using the UpdateDevices
20743// API call, and error handling.
20744//
20745// This method is useful when you want to inject custom logic or configuration
20746// into the SDK's request lifecycle. Such as custom headers, or retry logic.
20747//
20748//
20749//    // Example sending a request using the UpdateDevicesRequest method.
20750//    req, resp := client.UpdateDevicesRequest(params)
20751//
20752//    err := req.Send()
20753//    if err == nil { // resp is now filled
20754//        fmt.Println(resp)
20755//    }
20756//
20757// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDevices
20758func (c *SageMaker) UpdateDevicesRequest(input *UpdateDevicesInput) (req *request.Request, output *UpdateDevicesOutput) {
20759	op := &request.Operation{
20760		Name:       opUpdateDevices,
20761		HTTPMethod: "POST",
20762		HTTPPath:   "/",
20763	}
20764
20765	if input == nil {
20766		input = &UpdateDevicesInput{}
20767	}
20768
20769	output = &UpdateDevicesOutput{}
20770	req = c.newRequest(op, input, output)
20771	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
20772	return
20773}
20774
20775// UpdateDevices API operation for Amazon SageMaker Service.
20776//
20777// Updates one or more devices in a fleet.
20778//
20779// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20780// with awserr.Error's Code and Message methods to get detailed information about
20781// the error.
20782//
20783// See the AWS API reference guide for Amazon SageMaker Service's
20784// API operation UpdateDevices for usage and error information.
20785// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDevices
20786func (c *SageMaker) UpdateDevices(input *UpdateDevicesInput) (*UpdateDevicesOutput, error) {
20787	req, out := c.UpdateDevicesRequest(input)
20788	return out, req.Send()
20789}
20790
20791// UpdateDevicesWithContext is the same as UpdateDevices with the addition of
20792// the ability to pass a context and additional request options.
20793//
20794// See UpdateDevices for details on how to use this API operation.
20795//
20796// The context must be non-nil and will be used for request cancellation. If
20797// the context is nil a panic will occur. In the future the SDK may create
20798// sub-contexts for http.Requests. See https://golang.org/pkg/context/
20799// for more information on using Contexts.
20800func (c *SageMaker) UpdateDevicesWithContext(ctx aws.Context, input *UpdateDevicesInput, opts ...request.Option) (*UpdateDevicesOutput, error) {
20801	req, out := c.UpdateDevicesRequest(input)
20802	req.SetContext(ctx)
20803	req.ApplyOptions(opts...)
20804	return out, req.Send()
20805}
20806
20807const opUpdateDomain = "UpdateDomain"
20808
20809// UpdateDomainRequest generates a "aws/request.Request" representing the
20810// client's request for the UpdateDomain operation. The "output" return
20811// value will be populated with the request's response once the request completes
20812// successfully.
20813//
20814// Use "Send" method on the returned Request to send the API call to the service.
20815// the "output" return value is not valid until after Send returns without error.
20816//
20817// See UpdateDomain for more information on using the UpdateDomain
20818// API call, and error handling.
20819//
20820// This method is useful when you want to inject custom logic or configuration
20821// into the SDK's request lifecycle. Such as custom headers, or retry logic.
20822//
20823//
20824//    // Example sending a request using the UpdateDomainRequest method.
20825//    req, resp := client.UpdateDomainRequest(params)
20826//
20827//    err := req.Send()
20828//    if err == nil { // resp is now filled
20829//        fmt.Println(resp)
20830//    }
20831//
20832// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDomain
20833func (c *SageMaker) UpdateDomainRequest(input *UpdateDomainInput) (req *request.Request, output *UpdateDomainOutput) {
20834	op := &request.Operation{
20835		Name:       opUpdateDomain,
20836		HTTPMethod: "POST",
20837		HTTPPath:   "/",
20838	}
20839
20840	if input == nil {
20841		input = &UpdateDomainInput{}
20842	}
20843
20844	output = &UpdateDomainOutput{}
20845	req = c.newRequest(op, input, output)
20846	return
20847}
20848
20849// UpdateDomain API operation for Amazon SageMaker Service.
20850//
20851// Updates the default settings for new user profiles in the domain.
20852//
20853// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20854// with awserr.Error's Code and Message methods to get detailed information about
20855// the error.
20856//
20857// See the AWS API reference guide for Amazon SageMaker Service's
20858// API operation UpdateDomain for usage and error information.
20859//
20860// Returned Error Types:
20861//   * ResourceLimitExceeded
20862//   You have exceeded an Amazon SageMaker resource limit. For example, you might
20863//   have too many training jobs created.
20864//
20865//   * ResourceInUse
20866//   Resource being accessed is in use.
20867//
20868//   * ResourceNotFound
20869//   Resource being access is not found.
20870//
20871// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDomain
20872func (c *SageMaker) UpdateDomain(input *UpdateDomainInput) (*UpdateDomainOutput, error) {
20873	req, out := c.UpdateDomainRequest(input)
20874	return out, req.Send()
20875}
20876
20877// UpdateDomainWithContext is the same as UpdateDomain with the addition of
20878// the ability to pass a context and additional request options.
20879//
20880// See UpdateDomain for details on how to use this API operation.
20881//
20882// The context must be non-nil and will be used for request cancellation. If
20883// the context is nil a panic will occur. In the future the SDK may create
20884// sub-contexts for http.Requests. See https://golang.org/pkg/context/
20885// for more information on using Contexts.
20886func (c *SageMaker) UpdateDomainWithContext(ctx aws.Context, input *UpdateDomainInput, opts ...request.Option) (*UpdateDomainOutput, error) {
20887	req, out := c.UpdateDomainRequest(input)
20888	req.SetContext(ctx)
20889	req.ApplyOptions(opts...)
20890	return out, req.Send()
20891}
20892
20893const opUpdateEndpoint = "UpdateEndpoint"
20894
20895// UpdateEndpointRequest generates a "aws/request.Request" representing the
20896// client's request for the UpdateEndpoint operation. The "output" return
20897// value will be populated with the request's response once the request completes
20898// successfully.
20899//
20900// Use "Send" method on the returned Request to send the API call to the service.
20901// the "output" return value is not valid until after Send returns without error.
20902//
20903// See UpdateEndpoint for more information on using the UpdateEndpoint
20904// API call, and error handling.
20905//
20906// This method is useful when you want to inject custom logic or configuration
20907// into the SDK's request lifecycle. Such as custom headers, or retry logic.
20908//
20909//
20910//    // Example sending a request using the UpdateEndpointRequest method.
20911//    req, resp := client.UpdateEndpointRequest(params)
20912//
20913//    err := req.Send()
20914//    if err == nil { // resp is now filled
20915//        fmt.Println(resp)
20916//    }
20917//
20918// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpoint
20919func (c *SageMaker) UpdateEndpointRequest(input *UpdateEndpointInput) (req *request.Request, output *UpdateEndpointOutput) {
20920	op := &request.Operation{
20921		Name:       opUpdateEndpoint,
20922		HTTPMethod: "POST",
20923		HTTPPath:   "/",
20924	}
20925
20926	if input == nil {
20927		input = &UpdateEndpointInput{}
20928	}
20929
20930	output = &UpdateEndpointOutput{}
20931	req = c.newRequest(op, input, output)
20932	return
20933}
20934
20935// UpdateEndpoint API operation for Amazon SageMaker Service.
20936//
20937// Deploys the new EndpointConfig specified in the request, switches to using
20938// newly created endpoint, and then deletes resources provisioned for the endpoint
20939// using the previous EndpointConfig (there is no availability loss).
20940//
20941// When Amazon SageMaker receives the request, it sets the endpoint status to
20942// Updating. After updating the endpoint, it sets the status to InService. To
20943// check the status of an endpoint, use the DescribeEndpoint API.
20944//
20945// You must not delete an EndpointConfig in use by an endpoint that is live
20946// or while the UpdateEndpoint or CreateEndpoint operations are being performed
20947// on the endpoint. To update an endpoint, you must create a new EndpointConfig.
20948//
20949// If you delete the EndpointConfig of an endpoint that is active or being created
20950// or updated you may lose visibility into the instance type the endpoint is
20951// using. The endpoint must be deleted in order to stop incurring charges.
20952//
20953// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20954// with awserr.Error's Code and Message methods to get detailed information about
20955// the error.
20956//
20957// See the AWS API reference guide for Amazon SageMaker Service's
20958// API operation UpdateEndpoint for usage and error information.
20959//
20960// Returned Error Types:
20961//   * ResourceLimitExceeded
20962//   You have exceeded an Amazon SageMaker resource limit. For example, you might
20963//   have too many training jobs created.
20964//
20965// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpoint
20966func (c *SageMaker) UpdateEndpoint(input *UpdateEndpointInput) (*UpdateEndpointOutput, error) {
20967	req, out := c.UpdateEndpointRequest(input)
20968	return out, req.Send()
20969}
20970
20971// UpdateEndpointWithContext is the same as UpdateEndpoint with the addition of
20972// the ability to pass a context and additional request options.
20973//
20974// See UpdateEndpoint for details on how to use this API operation.
20975//
20976// The context must be non-nil and will be used for request cancellation. If
20977// the context is nil a panic will occur. In the future the SDK may create
20978// sub-contexts for http.Requests. See https://golang.org/pkg/context/
20979// for more information on using Contexts.
20980func (c *SageMaker) UpdateEndpointWithContext(ctx aws.Context, input *UpdateEndpointInput, opts ...request.Option) (*UpdateEndpointOutput, error) {
20981	req, out := c.UpdateEndpointRequest(input)
20982	req.SetContext(ctx)
20983	req.ApplyOptions(opts...)
20984	return out, req.Send()
20985}
20986
20987const opUpdateEndpointWeightsAndCapacities = "UpdateEndpointWeightsAndCapacities"
20988
20989// UpdateEndpointWeightsAndCapacitiesRequest generates a "aws/request.Request" representing the
20990// client's request for the UpdateEndpointWeightsAndCapacities operation. The "output" return
20991// value will be populated with the request's response once the request completes
20992// successfully.
20993//
20994// Use "Send" method on the returned Request to send the API call to the service.
20995// the "output" return value is not valid until after Send returns without error.
20996//
20997// See UpdateEndpointWeightsAndCapacities for more information on using the UpdateEndpointWeightsAndCapacities
20998// API call, and error handling.
20999//
21000// This method is useful when you want to inject custom logic or configuration
21001// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21002//
21003//
21004//    // Example sending a request using the UpdateEndpointWeightsAndCapacitiesRequest method.
21005//    req, resp := client.UpdateEndpointWeightsAndCapacitiesRequest(params)
21006//
21007//    err := req.Send()
21008//    if err == nil { // resp is now filled
21009//        fmt.Println(resp)
21010//    }
21011//
21012// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointWeightsAndCapacities
21013func (c *SageMaker) UpdateEndpointWeightsAndCapacitiesRequest(input *UpdateEndpointWeightsAndCapacitiesInput) (req *request.Request, output *UpdateEndpointWeightsAndCapacitiesOutput) {
21014	op := &request.Operation{
21015		Name:       opUpdateEndpointWeightsAndCapacities,
21016		HTTPMethod: "POST",
21017		HTTPPath:   "/",
21018	}
21019
21020	if input == nil {
21021		input = &UpdateEndpointWeightsAndCapacitiesInput{}
21022	}
21023
21024	output = &UpdateEndpointWeightsAndCapacitiesOutput{}
21025	req = c.newRequest(op, input, output)
21026	return
21027}
21028
21029// UpdateEndpointWeightsAndCapacities API operation for Amazon SageMaker Service.
21030//
21031// Updates variant weight of one or more variants associated with an existing
21032// endpoint, or capacity of one variant associated with an existing endpoint.
21033// When it receives the request, Amazon SageMaker sets the endpoint status to
21034// Updating. After updating the endpoint, it sets the status to InService. To
21035// check the status of an endpoint, use the DescribeEndpoint API.
21036//
21037// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
21038// with awserr.Error's Code and Message methods to get detailed information about
21039// the error.
21040//
21041// See the AWS API reference guide for Amazon SageMaker Service's
21042// API operation UpdateEndpointWeightsAndCapacities for usage and error information.
21043//
21044// Returned Error Types:
21045//   * ResourceLimitExceeded
21046//   You have exceeded an Amazon SageMaker resource limit. For example, you might
21047//   have too many training jobs created.
21048//
21049// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointWeightsAndCapacities
21050func (c *SageMaker) UpdateEndpointWeightsAndCapacities(input *UpdateEndpointWeightsAndCapacitiesInput) (*UpdateEndpointWeightsAndCapacitiesOutput, error) {
21051	req, out := c.UpdateEndpointWeightsAndCapacitiesRequest(input)
21052	return out, req.Send()
21053}
21054
21055// UpdateEndpointWeightsAndCapacitiesWithContext is the same as UpdateEndpointWeightsAndCapacities with the addition of
21056// the ability to pass a context and additional request options.
21057//
21058// See UpdateEndpointWeightsAndCapacities for details on how to use this API operation.
21059//
21060// The context must be non-nil and will be used for request cancellation. If
21061// the context is nil a panic will occur. In the future the SDK may create
21062// sub-contexts for http.Requests. See https://golang.org/pkg/context/
21063// for more information on using Contexts.
21064func (c *SageMaker) UpdateEndpointWeightsAndCapacitiesWithContext(ctx aws.Context, input *UpdateEndpointWeightsAndCapacitiesInput, opts ...request.Option) (*UpdateEndpointWeightsAndCapacitiesOutput, error) {
21065	req, out := c.UpdateEndpointWeightsAndCapacitiesRequest(input)
21066	req.SetContext(ctx)
21067	req.ApplyOptions(opts...)
21068	return out, req.Send()
21069}
21070
21071const opUpdateExperiment = "UpdateExperiment"
21072
21073// UpdateExperimentRequest generates a "aws/request.Request" representing the
21074// client's request for the UpdateExperiment operation. The "output" return
21075// value will be populated with the request's response once the request completes
21076// successfully.
21077//
21078// Use "Send" method on the returned Request to send the API call to the service.
21079// the "output" return value is not valid until after Send returns without error.
21080//
21081// See UpdateExperiment for more information on using the UpdateExperiment
21082// API call, and error handling.
21083//
21084// This method is useful when you want to inject custom logic or configuration
21085// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21086//
21087//
21088//    // Example sending a request using the UpdateExperimentRequest method.
21089//    req, resp := client.UpdateExperimentRequest(params)
21090//
21091//    err := req.Send()
21092//    if err == nil { // resp is now filled
21093//        fmt.Println(resp)
21094//    }
21095//
21096// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateExperiment
21097func (c *SageMaker) UpdateExperimentRequest(input *UpdateExperimentInput) (req *request.Request, output *UpdateExperimentOutput) {
21098	op := &request.Operation{
21099		Name:       opUpdateExperiment,
21100		HTTPMethod: "POST",
21101		HTTPPath:   "/",
21102	}
21103
21104	if input == nil {
21105		input = &UpdateExperimentInput{}
21106	}
21107
21108	output = &UpdateExperimentOutput{}
21109	req = c.newRequest(op, input, output)
21110	return
21111}
21112
21113// UpdateExperiment API operation for Amazon SageMaker Service.
21114//
21115// Adds, updates, or removes the description of an experiment. Updates the display
21116// name of an experiment.
21117//
21118// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
21119// with awserr.Error's Code and Message methods to get detailed information about
21120// the error.
21121//
21122// See the AWS API reference guide for Amazon SageMaker Service's
21123// API operation UpdateExperiment for usage and error information.
21124//
21125// Returned Error Types:
21126//   * ConflictException
21127//   There was a conflict when you attempted to modify a SageMaker entity such
21128//   as an Experiment or Artifact.
21129//
21130//   * ResourceNotFound
21131//   Resource being access is not found.
21132//
21133// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateExperiment
21134func (c *SageMaker) UpdateExperiment(input *UpdateExperimentInput) (*UpdateExperimentOutput, error) {
21135	req, out := c.UpdateExperimentRequest(input)
21136	return out, req.Send()
21137}
21138
21139// UpdateExperimentWithContext is the same as UpdateExperiment with the addition of
21140// the ability to pass a context and additional request options.
21141//
21142// See UpdateExperiment for details on how to use this API operation.
21143//
21144// The context must be non-nil and will be used for request cancellation. If
21145// the context is nil a panic will occur. In the future the SDK may create
21146// sub-contexts for http.Requests. See https://golang.org/pkg/context/
21147// for more information on using Contexts.
21148func (c *SageMaker) UpdateExperimentWithContext(ctx aws.Context, input *UpdateExperimentInput, opts ...request.Option) (*UpdateExperimentOutput, error) {
21149	req, out := c.UpdateExperimentRequest(input)
21150	req.SetContext(ctx)
21151	req.ApplyOptions(opts...)
21152	return out, req.Send()
21153}
21154
21155const opUpdateImage = "UpdateImage"
21156
21157// UpdateImageRequest generates a "aws/request.Request" representing the
21158// client's request for the UpdateImage operation. The "output" return
21159// value will be populated with the request's response once the request completes
21160// successfully.
21161//
21162// Use "Send" method on the returned Request to send the API call to the service.
21163// the "output" return value is not valid until after Send returns without error.
21164//
21165// See UpdateImage for more information on using the UpdateImage
21166// API call, and error handling.
21167//
21168// This method is useful when you want to inject custom logic or configuration
21169// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21170//
21171//
21172//    // Example sending a request using the UpdateImageRequest method.
21173//    req, resp := client.UpdateImageRequest(params)
21174//
21175//    err := req.Send()
21176//    if err == nil { // resp is now filled
21177//        fmt.Println(resp)
21178//    }
21179//
21180// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateImage
21181func (c *SageMaker) UpdateImageRequest(input *UpdateImageInput) (req *request.Request, output *UpdateImageOutput) {
21182	op := &request.Operation{
21183		Name:       opUpdateImage,
21184		HTTPMethod: "POST",
21185		HTTPPath:   "/",
21186	}
21187
21188	if input == nil {
21189		input = &UpdateImageInput{}
21190	}
21191
21192	output = &UpdateImageOutput{}
21193	req = c.newRequest(op, input, output)
21194	return
21195}
21196
21197// UpdateImage API operation for Amazon SageMaker Service.
21198//
21199// Updates the properties of a SageMaker image. To change the image's tags,
21200// use the AddTags and DeleteTags APIs.
21201//
21202// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
21203// with awserr.Error's Code and Message methods to get detailed information about
21204// the error.
21205//
21206// See the AWS API reference guide for Amazon SageMaker Service's
21207// API operation UpdateImage for usage and error information.
21208//
21209// Returned Error Types:
21210//   * ResourceInUse
21211//   Resource being accessed is in use.
21212//
21213//   * ResourceNotFound
21214//   Resource being access is not found.
21215//
21216// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateImage
21217func (c *SageMaker) UpdateImage(input *UpdateImageInput) (*UpdateImageOutput, error) {
21218	req, out := c.UpdateImageRequest(input)
21219	return out, req.Send()
21220}
21221
21222// UpdateImageWithContext is the same as UpdateImage with the addition of
21223// the ability to pass a context and additional request options.
21224//
21225// See UpdateImage for details on how to use this API operation.
21226//
21227// The context must be non-nil and will be used for request cancellation. If
21228// the context is nil a panic will occur. In the future the SDK may create
21229// sub-contexts for http.Requests. See https://golang.org/pkg/context/
21230// for more information on using Contexts.
21231func (c *SageMaker) UpdateImageWithContext(ctx aws.Context, input *UpdateImageInput, opts ...request.Option) (*UpdateImageOutput, error) {
21232	req, out := c.UpdateImageRequest(input)
21233	req.SetContext(ctx)
21234	req.ApplyOptions(opts...)
21235	return out, req.Send()
21236}
21237
21238const opUpdateModelPackage = "UpdateModelPackage"
21239
21240// UpdateModelPackageRequest generates a "aws/request.Request" representing the
21241// client's request for the UpdateModelPackage operation. The "output" return
21242// value will be populated with the request's response once the request completes
21243// successfully.
21244//
21245// Use "Send" method on the returned Request to send the API call to the service.
21246// the "output" return value is not valid until after Send returns without error.
21247//
21248// See UpdateModelPackage for more information on using the UpdateModelPackage
21249// API call, and error handling.
21250//
21251// This method is useful when you want to inject custom logic or configuration
21252// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21253//
21254//
21255//    // Example sending a request using the UpdateModelPackageRequest method.
21256//    req, resp := client.UpdateModelPackageRequest(params)
21257//
21258//    err := req.Send()
21259//    if err == nil { // resp is now filled
21260//        fmt.Println(resp)
21261//    }
21262//
21263// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateModelPackage
21264func (c *SageMaker) UpdateModelPackageRequest(input *UpdateModelPackageInput) (req *request.Request, output *UpdateModelPackageOutput) {
21265	op := &request.Operation{
21266		Name:       opUpdateModelPackage,
21267		HTTPMethod: "POST",
21268		HTTPPath:   "/",
21269	}
21270
21271	if input == nil {
21272		input = &UpdateModelPackageInput{}
21273	}
21274
21275	output = &UpdateModelPackageOutput{}
21276	req = c.newRequest(op, input, output)
21277	return
21278}
21279
21280// UpdateModelPackage API operation for Amazon SageMaker Service.
21281//
21282// Updates a versioned model.
21283//
21284// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
21285// with awserr.Error's Code and Message methods to get detailed information about
21286// the error.
21287//
21288// See the AWS API reference guide for Amazon SageMaker Service's
21289// API operation UpdateModelPackage for usage and error information.
21290// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateModelPackage
21291func (c *SageMaker) UpdateModelPackage(input *UpdateModelPackageInput) (*UpdateModelPackageOutput, error) {
21292	req, out := c.UpdateModelPackageRequest(input)
21293	return out, req.Send()
21294}
21295
21296// UpdateModelPackageWithContext is the same as UpdateModelPackage with the addition of
21297// the ability to pass a context and additional request options.
21298//
21299// See UpdateModelPackage for details on how to use this API operation.
21300//
21301// The context must be non-nil and will be used for request cancellation. If
21302// the context is nil a panic will occur. In the future the SDK may create
21303// sub-contexts for http.Requests. See https://golang.org/pkg/context/
21304// for more information on using Contexts.
21305func (c *SageMaker) UpdateModelPackageWithContext(ctx aws.Context, input *UpdateModelPackageInput, opts ...request.Option) (*UpdateModelPackageOutput, error) {
21306	req, out := c.UpdateModelPackageRequest(input)
21307	req.SetContext(ctx)
21308	req.ApplyOptions(opts...)
21309	return out, req.Send()
21310}
21311
21312const opUpdateMonitoringSchedule = "UpdateMonitoringSchedule"
21313
21314// UpdateMonitoringScheduleRequest generates a "aws/request.Request" representing the
21315// client's request for the UpdateMonitoringSchedule operation. The "output" return
21316// value will be populated with the request's response once the request completes
21317// successfully.
21318//
21319// Use "Send" method on the returned Request to send the API call to the service.
21320// the "output" return value is not valid until after Send returns without error.
21321//
21322// See UpdateMonitoringSchedule for more information on using the UpdateMonitoringSchedule
21323// API call, and error handling.
21324//
21325// This method is useful when you want to inject custom logic or configuration
21326// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21327//
21328//
21329//    // Example sending a request using the UpdateMonitoringScheduleRequest method.
21330//    req, resp := client.UpdateMonitoringScheduleRequest(params)
21331//
21332//    err := req.Send()
21333//    if err == nil { // resp is now filled
21334//        fmt.Println(resp)
21335//    }
21336//
21337// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateMonitoringSchedule
21338func (c *SageMaker) UpdateMonitoringScheduleRequest(input *UpdateMonitoringScheduleInput) (req *request.Request, output *UpdateMonitoringScheduleOutput) {
21339	op := &request.Operation{
21340		Name:       opUpdateMonitoringSchedule,
21341		HTTPMethod: "POST",
21342		HTTPPath:   "/",
21343	}
21344
21345	if input == nil {
21346		input = &UpdateMonitoringScheduleInput{}
21347	}
21348
21349	output = &UpdateMonitoringScheduleOutput{}
21350	req = c.newRequest(op, input, output)
21351	return
21352}
21353
21354// UpdateMonitoringSchedule API operation for Amazon SageMaker Service.
21355//
21356// Updates a previously created schedule.
21357//
21358// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
21359// with awserr.Error's Code and Message methods to get detailed information about
21360// the error.
21361//
21362// See the AWS API reference guide for Amazon SageMaker Service's
21363// API operation UpdateMonitoringSchedule for usage and error information.
21364//
21365// Returned Error Types:
21366//   * ResourceLimitExceeded
21367//   You have exceeded an Amazon SageMaker resource limit. For example, you might
21368//   have too many training jobs created.
21369//
21370//   * ResourceNotFound
21371//   Resource being access is not found.
21372//
21373// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateMonitoringSchedule
21374func (c *SageMaker) UpdateMonitoringSchedule(input *UpdateMonitoringScheduleInput) (*UpdateMonitoringScheduleOutput, error) {
21375	req, out := c.UpdateMonitoringScheduleRequest(input)
21376	return out, req.Send()
21377}
21378
21379// UpdateMonitoringScheduleWithContext is the same as UpdateMonitoringSchedule with the addition of
21380// the ability to pass a context and additional request options.
21381//
21382// See UpdateMonitoringSchedule for details on how to use this API operation.
21383//
21384// The context must be non-nil and will be used for request cancellation. If
21385// the context is nil a panic will occur. In the future the SDK may create
21386// sub-contexts for http.Requests. See https://golang.org/pkg/context/
21387// for more information on using Contexts.
21388func (c *SageMaker) UpdateMonitoringScheduleWithContext(ctx aws.Context, input *UpdateMonitoringScheduleInput, opts ...request.Option) (*UpdateMonitoringScheduleOutput, error) {
21389	req, out := c.UpdateMonitoringScheduleRequest(input)
21390	req.SetContext(ctx)
21391	req.ApplyOptions(opts...)
21392	return out, req.Send()
21393}
21394
21395const opUpdateNotebookInstance = "UpdateNotebookInstance"
21396
21397// UpdateNotebookInstanceRequest generates a "aws/request.Request" representing the
21398// client's request for the UpdateNotebookInstance operation. The "output" return
21399// value will be populated with the request's response once the request completes
21400// successfully.
21401//
21402// Use "Send" method on the returned Request to send the API call to the service.
21403// the "output" return value is not valid until after Send returns without error.
21404//
21405// See UpdateNotebookInstance for more information on using the UpdateNotebookInstance
21406// API call, and error handling.
21407//
21408// This method is useful when you want to inject custom logic or configuration
21409// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21410//
21411//
21412//    // Example sending a request using the UpdateNotebookInstanceRequest method.
21413//    req, resp := client.UpdateNotebookInstanceRequest(params)
21414//
21415//    err := req.Send()
21416//    if err == nil { // resp is now filled
21417//        fmt.Println(resp)
21418//    }
21419//
21420// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstance
21421func (c *SageMaker) UpdateNotebookInstanceRequest(input *UpdateNotebookInstanceInput) (req *request.Request, output *UpdateNotebookInstanceOutput) {
21422	op := &request.Operation{
21423		Name:       opUpdateNotebookInstance,
21424		HTTPMethod: "POST",
21425		HTTPPath:   "/",
21426	}
21427
21428	if input == nil {
21429		input = &UpdateNotebookInstanceInput{}
21430	}
21431
21432	output = &UpdateNotebookInstanceOutput{}
21433	req = c.newRequest(op, input, output)
21434	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
21435	return
21436}
21437
21438// UpdateNotebookInstance API operation for Amazon SageMaker Service.
21439//
21440// Updates a notebook instance. NotebookInstance updates include upgrading or
21441// downgrading the ML compute instance used for your notebook instance to accommodate
21442// changes in your workload requirements.
21443//
21444// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
21445// with awserr.Error's Code and Message methods to get detailed information about
21446// the error.
21447//
21448// See the AWS API reference guide for Amazon SageMaker Service's
21449// API operation UpdateNotebookInstance for usage and error information.
21450//
21451// Returned Error Types:
21452//   * ResourceLimitExceeded
21453//   You have exceeded an Amazon SageMaker resource limit. For example, you might
21454//   have too many training jobs created.
21455//
21456// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstance
21457func (c *SageMaker) UpdateNotebookInstance(input *UpdateNotebookInstanceInput) (*UpdateNotebookInstanceOutput, error) {
21458	req, out := c.UpdateNotebookInstanceRequest(input)
21459	return out, req.Send()
21460}
21461
21462// UpdateNotebookInstanceWithContext is the same as UpdateNotebookInstance with the addition of
21463// the ability to pass a context and additional request options.
21464//
21465// See UpdateNotebookInstance for details on how to use this API operation.
21466//
21467// The context must be non-nil and will be used for request cancellation. If
21468// the context is nil a panic will occur. In the future the SDK may create
21469// sub-contexts for http.Requests. See https://golang.org/pkg/context/
21470// for more information on using Contexts.
21471func (c *SageMaker) UpdateNotebookInstanceWithContext(ctx aws.Context, input *UpdateNotebookInstanceInput, opts ...request.Option) (*UpdateNotebookInstanceOutput, error) {
21472	req, out := c.UpdateNotebookInstanceRequest(input)
21473	req.SetContext(ctx)
21474	req.ApplyOptions(opts...)
21475	return out, req.Send()
21476}
21477
21478const opUpdateNotebookInstanceLifecycleConfig = "UpdateNotebookInstanceLifecycleConfig"
21479
21480// UpdateNotebookInstanceLifecycleConfigRequest generates a "aws/request.Request" representing the
21481// client's request for the UpdateNotebookInstanceLifecycleConfig operation. The "output" return
21482// value will be populated with the request's response once the request completes
21483// successfully.
21484//
21485// Use "Send" method on the returned Request to send the API call to the service.
21486// the "output" return value is not valid until after Send returns without error.
21487//
21488// See UpdateNotebookInstanceLifecycleConfig for more information on using the UpdateNotebookInstanceLifecycleConfig
21489// API call, and error handling.
21490//
21491// This method is useful when you want to inject custom logic or configuration
21492// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21493//
21494//
21495//    // Example sending a request using the UpdateNotebookInstanceLifecycleConfigRequest method.
21496//    req, resp := client.UpdateNotebookInstanceLifecycleConfigRequest(params)
21497//
21498//    err := req.Send()
21499//    if err == nil { // resp is now filled
21500//        fmt.Println(resp)
21501//    }
21502//
21503// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstanceLifecycleConfig
21504func (c *SageMaker) UpdateNotebookInstanceLifecycleConfigRequest(input *UpdateNotebookInstanceLifecycleConfigInput) (req *request.Request, output *UpdateNotebookInstanceLifecycleConfigOutput) {
21505	op := &request.Operation{
21506		Name:       opUpdateNotebookInstanceLifecycleConfig,
21507		HTTPMethod: "POST",
21508		HTTPPath:   "/",
21509	}
21510
21511	if input == nil {
21512		input = &UpdateNotebookInstanceLifecycleConfigInput{}
21513	}
21514
21515	output = &UpdateNotebookInstanceLifecycleConfigOutput{}
21516	req = c.newRequest(op, input, output)
21517	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
21518	return
21519}
21520
21521// UpdateNotebookInstanceLifecycleConfig API operation for Amazon SageMaker Service.
21522//
21523// Updates a notebook instance lifecycle configuration created with the CreateNotebookInstanceLifecycleConfig
21524// API.
21525//
21526// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
21527// with awserr.Error's Code and Message methods to get detailed information about
21528// the error.
21529//
21530// See the AWS API reference guide for Amazon SageMaker Service's
21531// API operation UpdateNotebookInstanceLifecycleConfig for usage and error information.
21532//
21533// Returned Error Types:
21534//   * ResourceLimitExceeded
21535//   You have exceeded an Amazon SageMaker resource limit. For example, you might
21536//   have too many training jobs created.
21537//
21538// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstanceLifecycleConfig
21539func (c *SageMaker) UpdateNotebookInstanceLifecycleConfig(input *UpdateNotebookInstanceLifecycleConfigInput) (*UpdateNotebookInstanceLifecycleConfigOutput, error) {
21540	req, out := c.UpdateNotebookInstanceLifecycleConfigRequest(input)
21541	return out, req.Send()
21542}
21543
21544// UpdateNotebookInstanceLifecycleConfigWithContext is the same as UpdateNotebookInstanceLifecycleConfig with the addition of
21545// the ability to pass a context and additional request options.
21546//
21547// See UpdateNotebookInstanceLifecycleConfig for details on how to use this API operation.
21548//
21549// The context must be non-nil and will be used for request cancellation. If
21550// the context is nil a panic will occur. In the future the SDK may create
21551// sub-contexts for http.Requests. See https://golang.org/pkg/context/
21552// for more information on using Contexts.
21553func (c *SageMaker) UpdateNotebookInstanceLifecycleConfigWithContext(ctx aws.Context, input *UpdateNotebookInstanceLifecycleConfigInput, opts ...request.Option) (*UpdateNotebookInstanceLifecycleConfigOutput, error) {
21554	req, out := c.UpdateNotebookInstanceLifecycleConfigRequest(input)
21555	req.SetContext(ctx)
21556	req.ApplyOptions(opts...)
21557	return out, req.Send()
21558}
21559
21560const opUpdatePipeline = "UpdatePipeline"
21561
21562// UpdatePipelineRequest generates a "aws/request.Request" representing the
21563// client's request for the UpdatePipeline operation. The "output" return
21564// value will be populated with the request's response once the request completes
21565// successfully.
21566//
21567// Use "Send" method on the returned Request to send the API call to the service.
21568// the "output" return value is not valid until after Send returns without error.
21569//
21570// See UpdatePipeline for more information on using the UpdatePipeline
21571// API call, and error handling.
21572//
21573// This method is useful when you want to inject custom logic or configuration
21574// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21575//
21576//
21577//    // Example sending a request using the UpdatePipelineRequest method.
21578//    req, resp := client.UpdatePipelineRequest(params)
21579//
21580//    err := req.Send()
21581//    if err == nil { // resp is now filled
21582//        fmt.Println(resp)
21583//    }
21584//
21585// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdatePipeline
21586func (c *SageMaker) UpdatePipelineRequest(input *UpdatePipelineInput) (req *request.Request, output *UpdatePipelineOutput) {
21587	op := &request.Operation{
21588		Name:       opUpdatePipeline,
21589		HTTPMethod: "POST",
21590		HTTPPath:   "/",
21591	}
21592
21593	if input == nil {
21594		input = &UpdatePipelineInput{}
21595	}
21596
21597	output = &UpdatePipelineOutput{}
21598	req = c.newRequest(op, input, output)
21599	return
21600}
21601
21602// UpdatePipeline API operation for Amazon SageMaker Service.
21603//
21604// Updates a pipeline.
21605//
21606// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
21607// with awserr.Error's Code and Message methods to get detailed information about
21608// the error.
21609//
21610// See the AWS API reference guide for Amazon SageMaker Service's
21611// API operation UpdatePipeline for usage and error information.
21612//
21613// Returned Error Types:
21614//   * ResourceNotFound
21615//   Resource being access is not found.
21616//
21617// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdatePipeline
21618func (c *SageMaker) UpdatePipeline(input *UpdatePipelineInput) (*UpdatePipelineOutput, error) {
21619	req, out := c.UpdatePipelineRequest(input)
21620	return out, req.Send()
21621}
21622
21623// UpdatePipelineWithContext is the same as UpdatePipeline with the addition of
21624// the ability to pass a context and additional request options.
21625//
21626// See UpdatePipeline for details on how to use this API operation.
21627//
21628// The context must be non-nil and will be used for request cancellation. If
21629// the context is nil a panic will occur. In the future the SDK may create
21630// sub-contexts for http.Requests. See https://golang.org/pkg/context/
21631// for more information on using Contexts.
21632func (c *SageMaker) UpdatePipelineWithContext(ctx aws.Context, input *UpdatePipelineInput, opts ...request.Option) (*UpdatePipelineOutput, error) {
21633	req, out := c.UpdatePipelineRequest(input)
21634	req.SetContext(ctx)
21635	req.ApplyOptions(opts...)
21636	return out, req.Send()
21637}
21638
21639const opUpdatePipelineExecution = "UpdatePipelineExecution"
21640
21641// UpdatePipelineExecutionRequest generates a "aws/request.Request" representing the
21642// client's request for the UpdatePipelineExecution operation. The "output" return
21643// value will be populated with the request's response once the request completes
21644// successfully.
21645//
21646// Use "Send" method on the returned Request to send the API call to the service.
21647// the "output" return value is not valid until after Send returns without error.
21648//
21649// See UpdatePipelineExecution for more information on using the UpdatePipelineExecution
21650// API call, and error handling.
21651//
21652// This method is useful when you want to inject custom logic or configuration
21653// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21654//
21655//
21656//    // Example sending a request using the UpdatePipelineExecutionRequest method.
21657//    req, resp := client.UpdatePipelineExecutionRequest(params)
21658//
21659//    err := req.Send()
21660//    if err == nil { // resp is now filled
21661//        fmt.Println(resp)
21662//    }
21663//
21664// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdatePipelineExecution
21665func (c *SageMaker) UpdatePipelineExecutionRequest(input *UpdatePipelineExecutionInput) (req *request.Request, output *UpdatePipelineExecutionOutput) {
21666	op := &request.Operation{
21667		Name:       opUpdatePipelineExecution,
21668		HTTPMethod: "POST",
21669		HTTPPath:   "/",
21670	}
21671
21672	if input == nil {
21673		input = &UpdatePipelineExecutionInput{}
21674	}
21675
21676	output = &UpdatePipelineExecutionOutput{}
21677	req = c.newRequest(op, input, output)
21678	return
21679}
21680
21681// UpdatePipelineExecution API operation for Amazon SageMaker Service.
21682//
21683// Updates a pipeline execution.
21684//
21685// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
21686// with awserr.Error's Code and Message methods to get detailed information about
21687// the error.
21688//
21689// See the AWS API reference guide for Amazon SageMaker Service's
21690// API operation UpdatePipelineExecution for usage and error information.
21691//
21692// Returned Error Types:
21693//   * ResourceNotFound
21694//   Resource being access is not found.
21695//
21696// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdatePipelineExecution
21697func (c *SageMaker) UpdatePipelineExecution(input *UpdatePipelineExecutionInput) (*UpdatePipelineExecutionOutput, error) {
21698	req, out := c.UpdatePipelineExecutionRequest(input)
21699	return out, req.Send()
21700}
21701
21702// UpdatePipelineExecutionWithContext is the same as UpdatePipelineExecution with the addition of
21703// the ability to pass a context and additional request options.
21704//
21705// See UpdatePipelineExecution for details on how to use this API operation.
21706//
21707// The context must be non-nil and will be used for request cancellation. If
21708// the context is nil a panic will occur. In the future the SDK may create
21709// sub-contexts for http.Requests. See https://golang.org/pkg/context/
21710// for more information on using Contexts.
21711func (c *SageMaker) UpdatePipelineExecutionWithContext(ctx aws.Context, input *UpdatePipelineExecutionInput, opts ...request.Option) (*UpdatePipelineExecutionOutput, error) {
21712	req, out := c.UpdatePipelineExecutionRequest(input)
21713	req.SetContext(ctx)
21714	req.ApplyOptions(opts...)
21715	return out, req.Send()
21716}
21717
21718const opUpdateTrainingJob = "UpdateTrainingJob"
21719
21720// UpdateTrainingJobRequest generates a "aws/request.Request" representing the
21721// client's request for the UpdateTrainingJob operation. The "output" return
21722// value will be populated with the request's response once the request completes
21723// successfully.
21724//
21725// Use "Send" method on the returned Request to send the API call to the service.
21726// the "output" return value is not valid until after Send returns without error.
21727//
21728// See UpdateTrainingJob for more information on using the UpdateTrainingJob
21729// API call, and error handling.
21730//
21731// This method is useful when you want to inject custom logic or configuration
21732// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21733//
21734//
21735//    // Example sending a request using the UpdateTrainingJobRequest method.
21736//    req, resp := client.UpdateTrainingJobRequest(params)
21737//
21738//    err := req.Send()
21739//    if err == nil { // resp is now filled
21740//        fmt.Println(resp)
21741//    }
21742//
21743// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrainingJob
21744func (c *SageMaker) UpdateTrainingJobRequest(input *UpdateTrainingJobInput) (req *request.Request, output *UpdateTrainingJobOutput) {
21745	op := &request.Operation{
21746		Name:       opUpdateTrainingJob,
21747		HTTPMethod: "POST",
21748		HTTPPath:   "/",
21749	}
21750
21751	if input == nil {
21752		input = &UpdateTrainingJobInput{}
21753	}
21754
21755	output = &UpdateTrainingJobOutput{}
21756	req = c.newRequest(op, input, output)
21757	return
21758}
21759
21760// UpdateTrainingJob API operation for Amazon SageMaker Service.
21761//
21762// Update a model training job to request a new Debugger profiling configuration.
21763//
21764// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
21765// with awserr.Error's Code and Message methods to get detailed information about
21766// the error.
21767//
21768// See the AWS API reference guide for Amazon SageMaker Service's
21769// API operation UpdateTrainingJob for usage and error information.
21770//
21771// Returned Error Types:
21772//   * ResourceNotFound
21773//   Resource being access is not found.
21774//
21775// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrainingJob
21776func (c *SageMaker) UpdateTrainingJob(input *UpdateTrainingJobInput) (*UpdateTrainingJobOutput, error) {
21777	req, out := c.UpdateTrainingJobRequest(input)
21778	return out, req.Send()
21779}
21780
21781// UpdateTrainingJobWithContext is the same as UpdateTrainingJob with the addition of
21782// the ability to pass a context and additional request options.
21783//
21784// See UpdateTrainingJob for details on how to use this API operation.
21785//
21786// The context must be non-nil and will be used for request cancellation. If
21787// the context is nil a panic will occur. In the future the SDK may create
21788// sub-contexts for http.Requests. See https://golang.org/pkg/context/
21789// for more information on using Contexts.
21790func (c *SageMaker) UpdateTrainingJobWithContext(ctx aws.Context, input *UpdateTrainingJobInput, opts ...request.Option) (*UpdateTrainingJobOutput, error) {
21791	req, out := c.UpdateTrainingJobRequest(input)
21792	req.SetContext(ctx)
21793	req.ApplyOptions(opts...)
21794	return out, req.Send()
21795}
21796
21797const opUpdateTrial = "UpdateTrial"
21798
21799// UpdateTrialRequest generates a "aws/request.Request" representing the
21800// client's request for the UpdateTrial operation. The "output" return
21801// value will be populated with the request's response once the request completes
21802// successfully.
21803//
21804// Use "Send" method on the returned Request to send the API call to the service.
21805// the "output" return value is not valid until after Send returns without error.
21806//
21807// See UpdateTrial for more information on using the UpdateTrial
21808// API call, and error handling.
21809//
21810// This method is useful when you want to inject custom logic or configuration
21811// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21812//
21813//
21814//    // Example sending a request using the UpdateTrialRequest method.
21815//    req, resp := client.UpdateTrialRequest(params)
21816//
21817//    err := req.Send()
21818//    if err == nil { // resp is now filled
21819//        fmt.Println(resp)
21820//    }
21821//
21822// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrial
21823func (c *SageMaker) UpdateTrialRequest(input *UpdateTrialInput) (req *request.Request, output *UpdateTrialOutput) {
21824	op := &request.Operation{
21825		Name:       opUpdateTrial,
21826		HTTPMethod: "POST",
21827		HTTPPath:   "/",
21828	}
21829
21830	if input == nil {
21831		input = &UpdateTrialInput{}
21832	}
21833
21834	output = &UpdateTrialOutput{}
21835	req = c.newRequest(op, input, output)
21836	return
21837}
21838
21839// UpdateTrial API operation for Amazon SageMaker Service.
21840//
21841// Updates the display name of a trial.
21842//
21843// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
21844// with awserr.Error's Code and Message methods to get detailed information about
21845// the error.
21846//
21847// See the AWS API reference guide for Amazon SageMaker Service's
21848// API operation UpdateTrial for usage and error information.
21849//
21850// Returned Error Types:
21851//   * ConflictException
21852//   There was a conflict when you attempted to modify a SageMaker entity such
21853//   as an Experiment or Artifact.
21854//
21855//   * ResourceNotFound
21856//   Resource being access is not found.
21857//
21858// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrial
21859func (c *SageMaker) UpdateTrial(input *UpdateTrialInput) (*UpdateTrialOutput, error) {
21860	req, out := c.UpdateTrialRequest(input)
21861	return out, req.Send()
21862}
21863
21864// UpdateTrialWithContext is the same as UpdateTrial with the addition of
21865// the ability to pass a context and additional request options.
21866//
21867// See UpdateTrial for details on how to use this API operation.
21868//
21869// The context must be non-nil and will be used for request cancellation. If
21870// the context is nil a panic will occur. In the future the SDK may create
21871// sub-contexts for http.Requests. See https://golang.org/pkg/context/
21872// for more information on using Contexts.
21873func (c *SageMaker) UpdateTrialWithContext(ctx aws.Context, input *UpdateTrialInput, opts ...request.Option) (*UpdateTrialOutput, error) {
21874	req, out := c.UpdateTrialRequest(input)
21875	req.SetContext(ctx)
21876	req.ApplyOptions(opts...)
21877	return out, req.Send()
21878}
21879
21880const opUpdateTrialComponent = "UpdateTrialComponent"
21881
21882// UpdateTrialComponentRequest generates a "aws/request.Request" representing the
21883// client's request for the UpdateTrialComponent operation. The "output" return
21884// value will be populated with the request's response once the request completes
21885// successfully.
21886//
21887// Use "Send" method on the returned Request to send the API call to the service.
21888// the "output" return value is not valid until after Send returns without error.
21889//
21890// See UpdateTrialComponent for more information on using the UpdateTrialComponent
21891// API call, and error handling.
21892//
21893// This method is useful when you want to inject custom logic or configuration
21894// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21895//
21896//
21897//    // Example sending a request using the UpdateTrialComponentRequest method.
21898//    req, resp := client.UpdateTrialComponentRequest(params)
21899//
21900//    err := req.Send()
21901//    if err == nil { // resp is now filled
21902//        fmt.Println(resp)
21903//    }
21904//
21905// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrialComponent
21906func (c *SageMaker) UpdateTrialComponentRequest(input *UpdateTrialComponentInput) (req *request.Request, output *UpdateTrialComponentOutput) {
21907	op := &request.Operation{
21908		Name:       opUpdateTrialComponent,
21909		HTTPMethod: "POST",
21910		HTTPPath:   "/",
21911	}
21912
21913	if input == nil {
21914		input = &UpdateTrialComponentInput{}
21915	}
21916
21917	output = &UpdateTrialComponentOutput{}
21918	req = c.newRequest(op, input, output)
21919	return
21920}
21921
21922// UpdateTrialComponent API operation for Amazon SageMaker Service.
21923//
21924// Updates one or more properties of a trial component.
21925//
21926// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
21927// with awserr.Error's Code and Message methods to get detailed information about
21928// the error.
21929//
21930// See the AWS API reference guide for Amazon SageMaker Service's
21931// API operation UpdateTrialComponent for usage and error information.
21932//
21933// Returned Error Types:
21934//   * ConflictException
21935//   There was a conflict when you attempted to modify a SageMaker entity such
21936//   as an Experiment or Artifact.
21937//
21938//   * ResourceNotFound
21939//   Resource being access is not found.
21940//
21941// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrialComponent
21942func (c *SageMaker) UpdateTrialComponent(input *UpdateTrialComponentInput) (*UpdateTrialComponentOutput, error) {
21943	req, out := c.UpdateTrialComponentRequest(input)
21944	return out, req.Send()
21945}
21946
21947// UpdateTrialComponentWithContext is the same as UpdateTrialComponent with the addition of
21948// the ability to pass a context and additional request options.
21949//
21950// See UpdateTrialComponent for details on how to use this API operation.
21951//
21952// The context must be non-nil and will be used for request cancellation. If
21953// the context is nil a panic will occur. In the future the SDK may create
21954// sub-contexts for http.Requests. See https://golang.org/pkg/context/
21955// for more information on using Contexts.
21956func (c *SageMaker) UpdateTrialComponentWithContext(ctx aws.Context, input *UpdateTrialComponentInput, opts ...request.Option) (*UpdateTrialComponentOutput, error) {
21957	req, out := c.UpdateTrialComponentRequest(input)
21958	req.SetContext(ctx)
21959	req.ApplyOptions(opts...)
21960	return out, req.Send()
21961}
21962
21963const opUpdateUserProfile = "UpdateUserProfile"
21964
21965// UpdateUserProfileRequest generates a "aws/request.Request" representing the
21966// client's request for the UpdateUserProfile operation. The "output" return
21967// value will be populated with the request's response once the request completes
21968// successfully.
21969//
21970// Use "Send" method on the returned Request to send the API call to the service.
21971// the "output" return value is not valid until after Send returns without error.
21972//
21973// See UpdateUserProfile for more information on using the UpdateUserProfile
21974// API call, and error handling.
21975//
21976// This method is useful when you want to inject custom logic or configuration
21977// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21978//
21979//
21980//    // Example sending a request using the UpdateUserProfileRequest method.
21981//    req, resp := client.UpdateUserProfileRequest(params)
21982//
21983//    err := req.Send()
21984//    if err == nil { // resp is now filled
21985//        fmt.Println(resp)
21986//    }
21987//
21988// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateUserProfile
21989func (c *SageMaker) UpdateUserProfileRequest(input *UpdateUserProfileInput) (req *request.Request, output *UpdateUserProfileOutput) {
21990	op := &request.Operation{
21991		Name:       opUpdateUserProfile,
21992		HTTPMethod: "POST",
21993		HTTPPath:   "/",
21994	}
21995
21996	if input == nil {
21997		input = &UpdateUserProfileInput{}
21998	}
21999
22000	output = &UpdateUserProfileOutput{}
22001	req = c.newRequest(op, input, output)
22002	return
22003}
22004
22005// UpdateUserProfile API operation for Amazon SageMaker Service.
22006//
22007// Updates a user profile.
22008//
22009// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
22010// with awserr.Error's Code and Message methods to get detailed information about
22011// the error.
22012//
22013// See the AWS API reference guide for Amazon SageMaker Service's
22014// API operation UpdateUserProfile for usage and error information.
22015//
22016// Returned Error Types:
22017//   * ResourceLimitExceeded
22018//   You have exceeded an Amazon SageMaker resource limit. For example, you might
22019//   have too many training jobs created.
22020//
22021//   * ResourceInUse
22022//   Resource being accessed is in use.
22023//
22024//   * ResourceNotFound
22025//   Resource being access is not found.
22026//
22027// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateUserProfile
22028func (c *SageMaker) UpdateUserProfile(input *UpdateUserProfileInput) (*UpdateUserProfileOutput, error) {
22029	req, out := c.UpdateUserProfileRequest(input)
22030	return out, req.Send()
22031}
22032
22033// UpdateUserProfileWithContext is the same as UpdateUserProfile with the addition of
22034// the ability to pass a context and additional request options.
22035//
22036// See UpdateUserProfile for details on how to use this API operation.
22037//
22038// The context must be non-nil and will be used for request cancellation. If
22039// the context is nil a panic will occur. In the future the SDK may create
22040// sub-contexts for http.Requests. See https://golang.org/pkg/context/
22041// for more information on using Contexts.
22042func (c *SageMaker) UpdateUserProfileWithContext(ctx aws.Context, input *UpdateUserProfileInput, opts ...request.Option) (*UpdateUserProfileOutput, error) {
22043	req, out := c.UpdateUserProfileRequest(input)
22044	req.SetContext(ctx)
22045	req.ApplyOptions(opts...)
22046	return out, req.Send()
22047}
22048
22049const opUpdateWorkforce = "UpdateWorkforce"
22050
22051// UpdateWorkforceRequest generates a "aws/request.Request" representing the
22052// client's request for the UpdateWorkforce operation. The "output" return
22053// value will be populated with the request's response once the request completes
22054// successfully.
22055//
22056// Use "Send" method on the returned Request to send the API call to the service.
22057// the "output" return value is not valid until after Send returns without error.
22058//
22059// See UpdateWorkforce for more information on using the UpdateWorkforce
22060// API call, and error handling.
22061//
22062// This method is useful when you want to inject custom logic or configuration
22063// into the SDK's request lifecycle. Such as custom headers, or retry logic.
22064//
22065//
22066//    // Example sending a request using the UpdateWorkforceRequest method.
22067//    req, resp := client.UpdateWorkforceRequest(params)
22068//
22069//    err := req.Send()
22070//    if err == nil { // resp is now filled
22071//        fmt.Println(resp)
22072//    }
22073//
22074// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkforce
22075func (c *SageMaker) UpdateWorkforceRequest(input *UpdateWorkforceInput) (req *request.Request, output *UpdateWorkforceOutput) {
22076	op := &request.Operation{
22077		Name:       opUpdateWorkforce,
22078		HTTPMethod: "POST",
22079		HTTPPath:   "/",
22080	}
22081
22082	if input == nil {
22083		input = &UpdateWorkforceInput{}
22084	}
22085
22086	output = &UpdateWorkforceOutput{}
22087	req = c.newRequest(op, input, output)
22088	return
22089}
22090
22091// UpdateWorkforce API operation for Amazon SageMaker Service.
22092//
22093// Use this operation to update your workforce. You can use this operation to
22094// require that workers use specific IP addresses to work on tasks and to update
22095// your OpenID Connect (OIDC) Identity Provider (IdP) workforce configuration.
22096//
22097// Use SourceIpConfig to restrict worker access to tasks to a specific range
22098// of IP addresses. You specify allowed IP addresses by creating a list of up
22099// to ten CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html).
22100// By default, a workforce isn't restricted to specific IP addresses. If you
22101// specify a range of IP addresses, workers who attempt to access tasks using
22102// any IP address outside the specified range are denied and get a Not Found
22103// error message on the worker portal.
22104//
22105// Use OidcConfig to update the configuration of a workforce created using your
22106// own OIDC IdP.
22107//
22108// You can only update your OIDC IdP configuration when there are no work teams
22109// associated with your workforce. You can delete work teams using the operation.
22110//
22111// After restricting access to a range of IP addresses or updating your OIDC
22112// IdP configuration with this operation, you can view details about your update
22113// workforce using the operation.
22114//
22115// This operation only applies to private workforces.
22116//
22117// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
22118// with awserr.Error's Code and Message methods to get detailed information about
22119// the error.
22120//
22121// See the AWS API reference guide for Amazon SageMaker Service's
22122// API operation UpdateWorkforce for usage and error information.
22123// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkforce
22124func (c *SageMaker) UpdateWorkforce(input *UpdateWorkforceInput) (*UpdateWorkforceOutput, error) {
22125	req, out := c.UpdateWorkforceRequest(input)
22126	return out, req.Send()
22127}
22128
22129// UpdateWorkforceWithContext is the same as UpdateWorkforce with the addition of
22130// the ability to pass a context and additional request options.
22131//
22132// See UpdateWorkforce for details on how to use this API operation.
22133//
22134// The context must be non-nil and will be used for request cancellation. If
22135// the context is nil a panic will occur. In the future the SDK may create
22136// sub-contexts for http.Requests. See https://golang.org/pkg/context/
22137// for more information on using Contexts.
22138func (c *SageMaker) UpdateWorkforceWithContext(ctx aws.Context, input *UpdateWorkforceInput, opts ...request.Option) (*UpdateWorkforceOutput, error) {
22139	req, out := c.UpdateWorkforceRequest(input)
22140	req.SetContext(ctx)
22141	req.ApplyOptions(opts...)
22142	return out, req.Send()
22143}
22144
22145const opUpdateWorkteam = "UpdateWorkteam"
22146
22147// UpdateWorkteamRequest generates a "aws/request.Request" representing the
22148// client's request for the UpdateWorkteam operation. The "output" return
22149// value will be populated with the request's response once the request completes
22150// successfully.
22151//
22152// Use "Send" method on the returned Request to send the API call to the service.
22153// the "output" return value is not valid until after Send returns without error.
22154//
22155// See UpdateWorkteam for more information on using the UpdateWorkteam
22156// API call, and error handling.
22157//
22158// This method is useful when you want to inject custom logic or configuration
22159// into the SDK's request lifecycle. Such as custom headers, or retry logic.
22160//
22161//
22162//    // Example sending a request using the UpdateWorkteamRequest method.
22163//    req, resp := client.UpdateWorkteamRequest(params)
22164//
22165//    err := req.Send()
22166//    if err == nil { // resp is now filled
22167//        fmt.Println(resp)
22168//    }
22169//
22170// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkteam
22171func (c *SageMaker) UpdateWorkteamRequest(input *UpdateWorkteamInput) (req *request.Request, output *UpdateWorkteamOutput) {
22172	op := &request.Operation{
22173		Name:       opUpdateWorkteam,
22174		HTTPMethod: "POST",
22175		HTTPPath:   "/",
22176	}
22177
22178	if input == nil {
22179		input = &UpdateWorkteamInput{}
22180	}
22181
22182	output = &UpdateWorkteamOutput{}
22183	req = c.newRequest(op, input, output)
22184	return
22185}
22186
22187// UpdateWorkteam API operation for Amazon SageMaker Service.
22188//
22189// Updates an existing work team with new member definitions or description.
22190//
22191// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
22192// with awserr.Error's Code and Message methods to get detailed information about
22193// the error.
22194//
22195// See the AWS API reference guide for Amazon SageMaker Service's
22196// API operation UpdateWorkteam for usage and error information.
22197//
22198// Returned Error Types:
22199//   * ResourceLimitExceeded
22200//   You have exceeded an Amazon SageMaker resource limit. For example, you might
22201//   have too many training jobs created.
22202//
22203// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkteam
22204func (c *SageMaker) UpdateWorkteam(input *UpdateWorkteamInput) (*UpdateWorkteamOutput, error) {
22205	req, out := c.UpdateWorkteamRequest(input)
22206	return out, req.Send()
22207}
22208
22209// UpdateWorkteamWithContext is the same as UpdateWorkteam with the addition of
22210// the ability to pass a context and additional request options.
22211//
22212// See UpdateWorkteam for details on how to use this API operation.
22213//
22214// The context must be non-nil and will be used for request cancellation. If
22215// the context is nil a panic will occur. In the future the SDK may create
22216// sub-contexts for http.Requests. See https://golang.org/pkg/context/
22217// for more information on using Contexts.
22218func (c *SageMaker) UpdateWorkteamWithContext(ctx aws.Context, input *UpdateWorkteamInput, opts ...request.Option) (*UpdateWorkteamOutput, error) {
22219	req, out := c.UpdateWorkteamRequest(input)
22220	req.SetContext(ctx)
22221	req.ApplyOptions(opts...)
22222	return out, req.Send()
22223}
22224
22225// A structure describing the source of an action.
22226type ActionSource struct {
22227	_ struct{} `type:"structure"`
22228
22229	// The ID of the source.
22230	SourceId *string `type:"string"`
22231
22232	// The type of the source.
22233	SourceType *string `type:"string"`
22234
22235	// The URI of the source.
22236	//
22237	// SourceUri is a required field
22238	SourceUri *string `type:"string" required:"true"`
22239}
22240
22241// String returns the string representation
22242func (s ActionSource) String() string {
22243	return awsutil.Prettify(s)
22244}
22245
22246// GoString returns the string representation
22247func (s ActionSource) GoString() string {
22248	return s.String()
22249}
22250
22251// Validate inspects the fields of the type to determine if they are valid.
22252func (s *ActionSource) Validate() error {
22253	invalidParams := request.ErrInvalidParams{Context: "ActionSource"}
22254	if s.SourceUri == nil {
22255		invalidParams.Add(request.NewErrParamRequired("SourceUri"))
22256	}
22257
22258	if invalidParams.Len() > 0 {
22259		return invalidParams
22260	}
22261	return nil
22262}
22263
22264// SetSourceId sets the SourceId field's value.
22265func (s *ActionSource) SetSourceId(v string) *ActionSource {
22266	s.SourceId = &v
22267	return s
22268}
22269
22270// SetSourceType sets the SourceType field's value.
22271func (s *ActionSource) SetSourceType(v string) *ActionSource {
22272	s.SourceType = &v
22273	return s
22274}
22275
22276// SetSourceUri sets the SourceUri field's value.
22277func (s *ActionSource) SetSourceUri(v string) *ActionSource {
22278	s.SourceUri = &v
22279	return s
22280}
22281
22282// Lists the properties of an action. An action represents an action or activity.
22283// Some examples are a workflow step and a model deployment. Generally, an action
22284// involves at least one input artifact or output artifact.
22285type ActionSummary struct {
22286	_ struct{} `type:"structure"`
22287
22288	// The Amazon Resource Name (ARN) of the action.
22289	ActionArn *string `type:"string"`
22290
22291	// The name of the action.
22292	ActionName *string `min:"1" type:"string"`
22293
22294	// The type of the action.
22295	ActionType *string `type:"string"`
22296
22297	// When the action was created.
22298	CreationTime *time.Time `type:"timestamp"`
22299
22300	// When the action was last modified.
22301	LastModifiedTime *time.Time `type:"timestamp"`
22302
22303	// The source of the action.
22304	Source *ActionSource `type:"structure"`
22305
22306	// The status of the action.
22307	Status *string `type:"string" enum:"ActionStatus"`
22308}
22309
22310// String returns the string representation
22311func (s ActionSummary) String() string {
22312	return awsutil.Prettify(s)
22313}
22314
22315// GoString returns the string representation
22316func (s ActionSummary) GoString() string {
22317	return s.String()
22318}
22319
22320// SetActionArn sets the ActionArn field's value.
22321func (s *ActionSummary) SetActionArn(v string) *ActionSummary {
22322	s.ActionArn = &v
22323	return s
22324}
22325
22326// SetActionName sets the ActionName field's value.
22327func (s *ActionSummary) SetActionName(v string) *ActionSummary {
22328	s.ActionName = &v
22329	return s
22330}
22331
22332// SetActionType sets the ActionType field's value.
22333func (s *ActionSummary) SetActionType(v string) *ActionSummary {
22334	s.ActionType = &v
22335	return s
22336}
22337
22338// SetCreationTime sets the CreationTime field's value.
22339func (s *ActionSummary) SetCreationTime(v time.Time) *ActionSummary {
22340	s.CreationTime = &v
22341	return s
22342}
22343
22344// SetLastModifiedTime sets the LastModifiedTime field's value.
22345func (s *ActionSummary) SetLastModifiedTime(v time.Time) *ActionSummary {
22346	s.LastModifiedTime = &v
22347	return s
22348}
22349
22350// SetSource sets the Source field's value.
22351func (s *ActionSummary) SetSource(v *ActionSource) *ActionSummary {
22352	s.Source = v
22353	return s
22354}
22355
22356// SetStatus sets the Status field's value.
22357func (s *ActionSummary) SetStatus(v string) *ActionSummary {
22358	s.Status = &v
22359	return s
22360}
22361
22362type AddAssociationInput struct {
22363	_ struct{} `type:"structure"`
22364
22365	// The type of association. The following are suggested uses for each type.
22366	// Amazon SageMaker places no restrictions on their use.
22367	//
22368	//    * ContributedTo - The source contributed to the destination or had a part
22369	//    in enabling the destination. For example, the training data contributed
22370	//    to the training job.
22371	//
22372	//    * AssociatedWith - The source is connected to the destination. For example,
22373	//    an approval workflow is associated with a model deployment.
22374	//
22375	//    * DerivedFrom - The destination is a modification of the source. For example,
22376	//    a digest output of a channel input for a processing job is derived from
22377	//    the original inputs.
22378	//
22379	//    * Produced - The source generated the destination. For example, a training
22380	//    job produced a model artifact.
22381	AssociationType *string `type:"string" enum:"AssociationEdgeType"`
22382
22383	// The Amazon Resource Name (ARN) of the destination.
22384	//
22385	// DestinationArn is a required field
22386	DestinationArn *string `type:"string" required:"true"`
22387
22388	// The ARN of the source.
22389	//
22390	// SourceArn is a required field
22391	SourceArn *string `type:"string" required:"true"`
22392}
22393
22394// String returns the string representation
22395func (s AddAssociationInput) String() string {
22396	return awsutil.Prettify(s)
22397}
22398
22399// GoString returns the string representation
22400func (s AddAssociationInput) GoString() string {
22401	return s.String()
22402}
22403
22404// Validate inspects the fields of the type to determine if they are valid.
22405func (s *AddAssociationInput) Validate() error {
22406	invalidParams := request.ErrInvalidParams{Context: "AddAssociationInput"}
22407	if s.DestinationArn == nil {
22408		invalidParams.Add(request.NewErrParamRequired("DestinationArn"))
22409	}
22410	if s.SourceArn == nil {
22411		invalidParams.Add(request.NewErrParamRequired("SourceArn"))
22412	}
22413
22414	if invalidParams.Len() > 0 {
22415		return invalidParams
22416	}
22417	return nil
22418}
22419
22420// SetAssociationType sets the AssociationType field's value.
22421func (s *AddAssociationInput) SetAssociationType(v string) *AddAssociationInput {
22422	s.AssociationType = &v
22423	return s
22424}
22425
22426// SetDestinationArn sets the DestinationArn field's value.
22427func (s *AddAssociationInput) SetDestinationArn(v string) *AddAssociationInput {
22428	s.DestinationArn = &v
22429	return s
22430}
22431
22432// SetSourceArn sets the SourceArn field's value.
22433func (s *AddAssociationInput) SetSourceArn(v string) *AddAssociationInput {
22434	s.SourceArn = &v
22435	return s
22436}
22437
22438type AddAssociationOutput struct {
22439	_ struct{} `type:"structure"`
22440
22441	// The Amazon Resource Name (ARN) of the destination.
22442	DestinationArn *string `type:"string"`
22443
22444	// The ARN of the source.
22445	SourceArn *string `type:"string"`
22446}
22447
22448// String returns the string representation
22449func (s AddAssociationOutput) String() string {
22450	return awsutil.Prettify(s)
22451}
22452
22453// GoString returns the string representation
22454func (s AddAssociationOutput) GoString() string {
22455	return s.String()
22456}
22457
22458// SetDestinationArn sets the DestinationArn field's value.
22459func (s *AddAssociationOutput) SetDestinationArn(v string) *AddAssociationOutput {
22460	s.DestinationArn = &v
22461	return s
22462}
22463
22464// SetSourceArn sets the SourceArn field's value.
22465func (s *AddAssociationOutput) SetSourceArn(v string) *AddAssociationOutput {
22466	s.SourceArn = &v
22467	return s
22468}
22469
22470type AddTagsInput struct {
22471	_ struct{} `type:"structure"`
22472
22473	// The Amazon Resource Name (ARN) of the resource that you want to tag.
22474	//
22475	// ResourceArn is a required field
22476	ResourceArn *string `type:"string" required:"true"`
22477
22478	// An array of key-value pairs. You can use tags to categorize your AWS resources
22479	// in different ways, for example, by purpose, owner, or environment. For more
22480	// information, see Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
22481	//
22482	// Tags is a required field
22483	Tags []*Tag `type:"list" required:"true"`
22484}
22485
22486// String returns the string representation
22487func (s AddTagsInput) String() string {
22488	return awsutil.Prettify(s)
22489}
22490
22491// GoString returns the string representation
22492func (s AddTagsInput) GoString() string {
22493	return s.String()
22494}
22495
22496// Validate inspects the fields of the type to determine if they are valid.
22497func (s *AddTagsInput) Validate() error {
22498	invalidParams := request.ErrInvalidParams{Context: "AddTagsInput"}
22499	if s.ResourceArn == nil {
22500		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
22501	}
22502	if s.Tags == nil {
22503		invalidParams.Add(request.NewErrParamRequired("Tags"))
22504	}
22505	if s.Tags != nil {
22506		for i, v := range s.Tags {
22507			if v == nil {
22508				continue
22509			}
22510			if err := v.Validate(); err != nil {
22511				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
22512			}
22513		}
22514	}
22515
22516	if invalidParams.Len() > 0 {
22517		return invalidParams
22518	}
22519	return nil
22520}
22521
22522// SetResourceArn sets the ResourceArn field's value.
22523func (s *AddTagsInput) SetResourceArn(v string) *AddTagsInput {
22524	s.ResourceArn = &v
22525	return s
22526}
22527
22528// SetTags sets the Tags field's value.
22529func (s *AddTagsInput) SetTags(v []*Tag) *AddTagsInput {
22530	s.Tags = v
22531	return s
22532}
22533
22534type AddTagsOutput struct {
22535	_ struct{} `type:"structure"`
22536
22537	// A list of tags associated with the Amazon SageMaker resource.
22538	Tags []*Tag `type:"list"`
22539}
22540
22541// String returns the string representation
22542func (s AddTagsOutput) String() string {
22543	return awsutil.Prettify(s)
22544}
22545
22546// GoString returns the string representation
22547func (s AddTagsOutput) GoString() string {
22548	return s.String()
22549}
22550
22551// SetTags sets the Tags field's value.
22552func (s *AddTagsOutput) SetTags(v []*Tag) *AddTagsOutput {
22553	s.Tags = v
22554	return s
22555}
22556
22557// Edge Manager agent version.
22558type AgentVersion struct {
22559	_ struct{} `type:"structure"`
22560
22561	// The number of Edge Manager agents.
22562	//
22563	// AgentCount is a required field
22564	AgentCount *int64 `type:"long" required:"true"`
22565
22566	// Version of the agent.
22567	//
22568	// Version is a required field
22569	Version *string `min:"1" type:"string" required:"true"`
22570}
22571
22572// String returns the string representation
22573func (s AgentVersion) String() string {
22574	return awsutil.Prettify(s)
22575}
22576
22577// GoString returns the string representation
22578func (s AgentVersion) GoString() string {
22579	return s.String()
22580}
22581
22582// SetAgentCount sets the AgentCount field's value.
22583func (s *AgentVersion) SetAgentCount(v int64) *AgentVersion {
22584	s.AgentCount = &v
22585	return s
22586}
22587
22588// SetVersion sets the Version field's value.
22589func (s *AgentVersion) SetVersion(v string) *AgentVersion {
22590	s.Version = &v
22591	return s
22592}
22593
22594// This API is not supported.
22595type Alarm struct {
22596	_ struct{} `type:"structure"`
22597
22598	AlarmName *string `min:"1" type:"string"`
22599}
22600
22601// String returns the string representation
22602func (s Alarm) String() string {
22603	return awsutil.Prettify(s)
22604}
22605
22606// GoString returns the string representation
22607func (s Alarm) GoString() string {
22608	return s.String()
22609}
22610
22611// Validate inspects the fields of the type to determine if they are valid.
22612func (s *Alarm) Validate() error {
22613	invalidParams := request.ErrInvalidParams{Context: "Alarm"}
22614	if s.AlarmName != nil && len(*s.AlarmName) < 1 {
22615		invalidParams.Add(request.NewErrParamMinLen("AlarmName", 1))
22616	}
22617
22618	if invalidParams.Len() > 0 {
22619		return invalidParams
22620	}
22621	return nil
22622}
22623
22624// SetAlarmName sets the AlarmName field's value.
22625func (s *Alarm) SetAlarmName(v string) *Alarm {
22626	s.AlarmName = &v
22627	return s
22628}
22629
22630// Specifies the training algorithm to use in a CreateTrainingJob request.
22631//
22632// For more information about algorithms provided by Amazon SageMaker, see Algorithms
22633// (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html). For information
22634// about using your own algorithms, see Using Your Own Algorithms with Amazon
22635// SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
22636type AlgorithmSpecification struct {
22637	_ struct{} `type:"structure"`
22638
22639	// The name of the algorithm resource to use for the training job. This must
22640	// be an algorithm resource that you created or subscribe to on AWS Marketplace.
22641	// If you specify a value for this parameter, you can't specify a value for
22642	// TrainingImage.
22643	AlgorithmName *string `min:"1" type:"string"`
22644
22645	// To generate and save time-series metrics during training, set to true. The
22646	// default is false and time-series metrics aren't generated except in the following
22647	// cases:
22648	//
22649	//    * You use one of the Amazon SageMaker built-in algorithms
22650	//
22651	//    * You use one of the following Prebuilt Amazon SageMaker Docker Images
22652	//    (https://docs.aws.amazon.com/sagemaker/latest/dg/pre-built-containers-frameworks-deep-learning.html):
22653	//    Tensorflow (version >= 1.15) MXNet (version >= 1.6) PyTorch (version >=
22654	//    1.3)
22655	//
22656	//    * You specify at least one MetricDefinition
22657	EnableSageMakerMetricsTimeSeries *bool `type:"boolean"`
22658
22659	// A list of metric definition objects. Each object specifies the metric name
22660	// and regular expressions used to parse algorithm logs. Amazon SageMaker publishes
22661	// each metric to Amazon CloudWatch.
22662	MetricDefinitions []*MetricDefinition `type:"list"`
22663
22664	// The registry path of the Docker image that contains the training algorithm.
22665	// For information about docker registry paths for built-in algorithms, see
22666	// Algorithms Provided by Amazon SageMaker: Common Parameters (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html).
22667	// Amazon SageMaker supports both registry/repository[:tag] and registry/repository[@digest]
22668	// image path formats. For more information, see Using Your Own Algorithms with
22669	// Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
22670	TrainingImage *string `type:"string"`
22671
22672	// The input mode that the algorithm supports. For the input modes that Amazon
22673	// SageMaker algorithms support, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
22674	// If an algorithm supports the File input mode, Amazon SageMaker downloads
22675	// the training data from S3 to the provisioned ML storage Volume, and mounts
22676	// the directory to docker volume for training container. If an algorithm supports
22677	// the Pipe input mode, Amazon SageMaker streams data directly from S3 to the
22678	// container.
22679	//
22680	// In File mode, make sure you provision ML storage volume with sufficient capacity
22681	// to accommodate the data download from S3. In addition to the training data,
22682	// the ML storage volume also stores the output model. The algorithm container
22683	// use ML storage volume to also store intermediate information, if any.
22684	//
22685	// For distributed algorithms using File mode, training data is distributed
22686	// uniformly, and your training duration is predictable if the input data objects
22687	// size is approximately same. Amazon SageMaker does not split the files any
22688	// further for model training. If the object sizes are skewed, training won't
22689	// be optimal as the data distribution is also skewed where one host in a training
22690	// cluster is overloaded, thus becoming bottleneck in training.
22691	//
22692	// TrainingInputMode is a required field
22693	TrainingInputMode *string `type:"string" required:"true" enum:"TrainingInputMode"`
22694}
22695
22696// String returns the string representation
22697func (s AlgorithmSpecification) String() string {
22698	return awsutil.Prettify(s)
22699}
22700
22701// GoString returns the string representation
22702func (s AlgorithmSpecification) GoString() string {
22703	return s.String()
22704}
22705
22706// Validate inspects the fields of the type to determine if they are valid.
22707func (s *AlgorithmSpecification) Validate() error {
22708	invalidParams := request.ErrInvalidParams{Context: "AlgorithmSpecification"}
22709	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
22710		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
22711	}
22712	if s.TrainingInputMode == nil {
22713		invalidParams.Add(request.NewErrParamRequired("TrainingInputMode"))
22714	}
22715	if s.MetricDefinitions != nil {
22716		for i, v := range s.MetricDefinitions {
22717			if v == nil {
22718				continue
22719			}
22720			if err := v.Validate(); err != nil {
22721				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MetricDefinitions", i), err.(request.ErrInvalidParams))
22722			}
22723		}
22724	}
22725
22726	if invalidParams.Len() > 0 {
22727		return invalidParams
22728	}
22729	return nil
22730}
22731
22732// SetAlgorithmName sets the AlgorithmName field's value.
22733func (s *AlgorithmSpecification) SetAlgorithmName(v string) *AlgorithmSpecification {
22734	s.AlgorithmName = &v
22735	return s
22736}
22737
22738// SetEnableSageMakerMetricsTimeSeries sets the EnableSageMakerMetricsTimeSeries field's value.
22739func (s *AlgorithmSpecification) SetEnableSageMakerMetricsTimeSeries(v bool) *AlgorithmSpecification {
22740	s.EnableSageMakerMetricsTimeSeries = &v
22741	return s
22742}
22743
22744// SetMetricDefinitions sets the MetricDefinitions field's value.
22745func (s *AlgorithmSpecification) SetMetricDefinitions(v []*MetricDefinition) *AlgorithmSpecification {
22746	s.MetricDefinitions = v
22747	return s
22748}
22749
22750// SetTrainingImage sets the TrainingImage field's value.
22751func (s *AlgorithmSpecification) SetTrainingImage(v string) *AlgorithmSpecification {
22752	s.TrainingImage = &v
22753	return s
22754}
22755
22756// SetTrainingInputMode sets the TrainingInputMode field's value.
22757func (s *AlgorithmSpecification) SetTrainingInputMode(v string) *AlgorithmSpecification {
22758	s.TrainingInputMode = &v
22759	return s
22760}
22761
22762// Specifies the validation and image scan statuses of the algorithm.
22763type AlgorithmStatusDetails struct {
22764	_ struct{} `type:"structure"`
22765
22766	// The status of the scan of the algorithm's Docker image container.
22767	ImageScanStatuses []*AlgorithmStatusItem `type:"list"`
22768
22769	// The status of algorithm validation.
22770	ValidationStatuses []*AlgorithmStatusItem `type:"list"`
22771}
22772
22773// String returns the string representation
22774func (s AlgorithmStatusDetails) String() string {
22775	return awsutil.Prettify(s)
22776}
22777
22778// GoString returns the string representation
22779func (s AlgorithmStatusDetails) GoString() string {
22780	return s.String()
22781}
22782
22783// SetImageScanStatuses sets the ImageScanStatuses field's value.
22784func (s *AlgorithmStatusDetails) SetImageScanStatuses(v []*AlgorithmStatusItem) *AlgorithmStatusDetails {
22785	s.ImageScanStatuses = v
22786	return s
22787}
22788
22789// SetValidationStatuses sets the ValidationStatuses field's value.
22790func (s *AlgorithmStatusDetails) SetValidationStatuses(v []*AlgorithmStatusItem) *AlgorithmStatusDetails {
22791	s.ValidationStatuses = v
22792	return s
22793}
22794
22795// Represents the overall status of an algorithm.
22796type AlgorithmStatusItem struct {
22797	_ struct{} `type:"structure"`
22798
22799	// if the overall status is Failed, the reason for the failure.
22800	FailureReason *string `type:"string"`
22801
22802	// The name of the algorithm for which the overall status is being reported.
22803	//
22804	// Name is a required field
22805	Name *string `min:"1" type:"string" required:"true"`
22806
22807	// The current status.
22808	//
22809	// Status is a required field
22810	Status *string `type:"string" required:"true" enum:"DetailedAlgorithmStatus"`
22811}
22812
22813// String returns the string representation
22814func (s AlgorithmStatusItem) String() string {
22815	return awsutil.Prettify(s)
22816}
22817
22818// GoString returns the string representation
22819func (s AlgorithmStatusItem) GoString() string {
22820	return s.String()
22821}
22822
22823// SetFailureReason sets the FailureReason field's value.
22824func (s *AlgorithmStatusItem) SetFailureReason(v string) *AlgorithmStatusItem {
22825	s.FailureReason = &v
22826	return s
22827}
22828
22829// SetName sets the Name field's value.
22830func (s *AlgorithmStatusItem) SetName(v string) *AlgorithmStatusItem {
22831	s.Name = &v
22832	return s
22833}
22834
22835// SetStatus sets the Status field's value.
22836func (s *AlgorithmStatusItem) SetStatus(v string) *AlgorithmStatusItem {
22837	s.Status = &v
22838	return s
22839}
22840
22841// Provides summary information about an algorithm.
22842type AlgorithmSummary struct {
22843	_ struct{} `type:"structure"`
22844
22845	// The Amazon Resource Name (ARN) of the algorithm.
22846	//
22847	// AlgorithmArn is a required field
22848	AlgorithmArn *string `min:"1" type:"string" required:"true"`
22849
22850	// A brief description of the algorithm.
22851	AlgorithmDescription *string `type:"string"`
22852
22853	// The name of the algorithm that is described by the summary.
22854	//
22855	// AlgorithmName is a required field
22856	AlgorithmName *string `min:"1" type:"string" required:"true"`
22857
22858	// The overall status of the algorithm.
22859	//
22860	// AlgorithmStatus is a required field
22861	AlgorithmStatus *string `type:"string" required:"true" enum:"AlgorithmStatus"`
22862
22863	// A timestamp that shows when the algorithm was created.
22864	//
22865	// CreationTime is a required field
22866	CreationTime *time.Time `type:"timestamp" required:"true"`
22867}
22868
22869// String returns the string representation
22870func (s AlgorithmSummary) String() string {
22871	return awsutil.Prettify(s)
22872}
22873
22874// GoString returns the string representation
22875func (s AlgorithmSummary) GoString() string {
22876	return s.String()
22877}
22878
22879// SetAlgorithmArn sets the AlgorithmArn field's value.
22880func (s *AlgorithmSummary) SetAlgorithmArn(v string) *AlgorithmSummary {
22881	s.AlgorithmArn = &v
22882	return s
22883}
22884
22885// SetAlgorithmDescription sets the AlgorithmDescription field's value.
22886func (s *AlgorithmSummary) SetAlgorithmDescription(v string) *AlgorithmSummary {
22887	s.AlgorithmDescription = &v
22888	return s
22889}
22890
22891// SetAlgorithmName sets the AlgorithmName field's value.
22892func (s *AlgorithmSummary) SetAlgorithmName(v string) *AlgorithmSummary {
22893	s.AlgorithmName = &v
22894	return s
22895}
22896
22897// SetAlgorithmStatus sets the AlgorithmStatus field's value.
22898func (s *AlgorithmSummary) SetAlgorithmStatus(v string) *AlgorithmSummary {
22899	s.AlgorithmStatus = &v
22900	return s
22901}
22902
22903// SetCreationTime sets the CreationTime field's value.
22904func (s *AlgorithmSummary) SetCreationTime(v time.Time) *AlgorithmSummary {
22905	s.CreationTime = &v
22906	return s
22907}
22908
22909// Defines a training job and a batch transform job that Amazon SageMaker runs
22910// to validate your algorithm.
22911//
22912// The data provided in the validation profile is made available to your buyers
22913// on AWS Marketplace.
22914type AlgorithmValidationProfile struct {
22915	_ struct{} `type:"structure"`
22916
22917	// The name of the profile for the algorithm. The name must have 1 to 63 characters.
22918	// Valid characters are a-z, A-Z, 0-9, and - (hyphen).
22919	//
22920	// ProfileName is a required field
22921	ProfileName *string `min:"1" type:"string" required:"true"`
22922
22923	// The TrainingJobDefinition object that describes the training job that Amazon
22924	// SageMaker runs to validate your algorithm.
22925	//
22926	// TrainingJobDefinition is a required field
22927	TrainingJobDefinition *TrainingJobDefinition `type:"structure" required:"true"`
22928
22929	// The TransformJobDefinition object that describes the transform job that Amazon
22930	// SageMaker runs to validate your algorithm.
22931	TransformJobDefinition *TransformJobDefinition `type:"structure"`
22932}
22933
22934// String returns the string representation
22935func (s AlgorithmValidationProfile) String() string {
22936	return awsutil.Prettify(s)
22937}
22938
22939// GoString returns the string representation
22940func (s AlgorithmValidationProfile) GoString() string {
22941	return s.String()
22942}
22943
22944// Validate inspects the fields of the type to determine if they are valid.
22945func (s *AlgorithmValidationProfile) Validate() error {
22946	invalidParams := request.ErrInvalidParams{Context: "AlgorithmValidationProfile"}
22947	if s.ProfileName == nil {
22948		invalidParams.Add(request.NewErrParamRequired("ProfileName"))
22949	}
22950	if s.ProfileName != nil && len(*s.ProfileName) < 1 {
22951		invalidParams.Add(request.NewErrParamMinLen("ProfileName", 1))
22952	}
22953	if s.TrainingJobDefinition == nil {
22954		invalidParams.Add(request.NewErrParamRequired("TrainingJobDefinition"))
22955	}
22956	if s.TrainingJobDefinition != nil {
22957		if err := s.TrainingJobDefinition.Validate(); err != nil {
22958			invalidParams.AddNested("TrainingJobDefinition", err.(request.ErrInvalidParams))
22959		}
22960	}
22961	if s.TransformJobDefinition != nil {
22962		if err := s.TransformJobDefinition.Validate(); err != nil {
22963			invalidParams.AddNested("TransformJobDefinition", err.(request.ErrInvalidParams))
22964		}
22965	}
22966
22967	if invalidParams.Len() > 0 {
22968		return invalidParams
22969	}
22970	return nil
22971}
22972
22973// SetProfileName sets the ProfileName field's value.
22974func (s *AlgorithmValidationProfile) SetProfileName(v string) *AlgorithmValidationProfile {
22975	s.ProfileName = &v
22976	return s
22977}
22978
22979// SetTrainingJobDefinition sets the TrainingJobDefinition field's value.
22980func (s *AlgorithmValidationProfile) SetTrainingJobDefinition(v *TrainingJobDefinition) *AlgorithmValidationProfile {
22981	s.TrainingJobDefinition = v
22982	return s
22983}
22984
22985// SetTransformJobDefinition sets the TransformJobDefinition field's value.
22986func (s *AlgorithmValidationProfile) SetTransformJobDefinition(v *TransformJobDefinition) *AlgorithmValidationProfile {
22987	s.TransformJobDefinition = v
22988	return s
22989}
22990
22991// Specifies configurations for one or more training jobs that Amazon SageMaker
22992// runs to test the algorithm.
22993type AlgorithmValidationSpecification struct {
22994	_ struct{} `type:"structure"`
22995
22996	// An array of AlgorithmValidationProfile objects, each of which specifies a
22997	// training job and batch transform job that Amazon SageMaker runs to validate
22998	// your algorithm.
22999	//
23000	// ValidationProfiles is a required field
23001	ValidationProfiles []*AlgorithmValidationProfile `min:"1" type:"list" required:"true"`
23002
23003	// The IAM roles that Amazon SageMaker uses to run the training jobs.
23004	//
23005	// ValidationRole is a required field
23006	ValidationRole *string `min:"20" type:"string" required:"true"`
23007}
23008
23009// String returns the string representation
23010func (s AlgorithmValidationSpecification) String() string {
23011	return awsutil.Prettify(s)
23012}
23013
23014// GoString returns the string representation
23015func (s AlgorithmValidationSpecification) GoString() string {
23016	return s.String()
23017}
23018
23019// Validate inspects the fields of the type to determine if they are valid.
23020func (s *AlgorithmValidationSpecification) Validate() error {
23021	invalidParams := request.ErrInvalidParams{Context: "AlgorithmValidationSpecification"}
23022	if s.ValidationProfiles == nil {
23023		invalidParams.Add(request.NewErrParamRequired("ValidationProfiles"))
23024	}
23025	if s.ValidationProfiles != nil && len(s.ValidationProfiles) < 1 {
23026		invalidParams.Add(request.NewErrParamMinLen("ValidationProfiles", 1))
23027	}
23028	if s.ValidationRole == nil {
23029		invalidParams.Add(request.NewErrParamRequired("ValidationRole"))
23030	}
23031	if s.ValidationRole != nil && len(*s.ValidationRole) < 20 {
23032		invalidParams.Add(request.NewErrParamMinLen("ValidationRole", 20))
23033	}
23034	if s.ValidationProfiles != nil {
23035		for i, v := range s.ValidationProfiles {
23036			if v == nil {
23037				continue
23038			}
23039			if err := v.Validate(); err != nil {
23040				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ValidationProfiles", i), err.(request.ErrInvalidParams))
23041			}
23042		}
23043	}
23044
23045	if invalidParams.Len() > 0 {
23046		return invalidParams
23047	}
23048	return nil
23049}
23050
23051// SetValidationProfiles sets the ValidationProfiles field's value.
23052func (s *AlgorithmValidationSpecification) SetValidationProfiles(v []*AlgorithmValidationProfile) *AlgorithmValidationSpecification {
23053	s.ValidationProfiles = v
23054	return s
23055}
23056
23057// SetValidationRole sets the ValidationRole field's value.
23058func (s *AlgorithmValidationSpecification) SetValidationRole(v string) *AlgorithmValidationSpecification {
23059	s.ValidationRole = &v
23060	return s
23061}
23062
23063// Configures how labels are consolidated across human workers and processes
23064// output data.
23065type AnnotationConsolidationConfig struct {
23066	_ struct{} `type:"structure"`
23067
23068	// The Amazon Resource Name (ARN) of a Lambda function implements the logic
23069	// for annotation consolidation (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-annotation-consolidation.html)
23070	// and to process output data.
23071	//
23072	// This parameter is required for all labeling jobs. For built-in task types
23073	// (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-task-types.html), use
23074	// one of the following Amazon SageMaker Ground Truth Lambda function ARNs for
23075	// AnnotationConsolidationLambdaArn. For custom labeling workflows, see Post-annotation
23076	// Lambda (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-custom-templates-step3.html#sms-custom-templates-step3-postlambda).
23077	//
23078	// Bounding box - Finds the most similar boxes from different workers based
23079	// on the Jaccard index of the boxes.
23080	//
23081	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-BoundingBox
23082	//
23083	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-BoundingBox
23084	//
23085	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-BoundingBox
23086	//
23087	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-BoundingBox
23088	//
23089	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-BoundingBox
23090	//
23091	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-BoundingBox
23092	//
23093	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-BoundingBox
23094	//
23095	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-BoundingBox
23096	//
23097	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-BoundingBox
23098	//
23099	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-BoundingBox
23100	//
23101	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-BoundingBox
23102	//
23103	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-BoundingBox
23104	//
23105	// Image classification - Uses a variant of the Expectation Maximization approach
23106	// to estimate the true class of an image based on annotations from individual
23107	// workers.
23108	//
23109	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-ImageMultiClass
23110	//
23111	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-ImageMultiClass
23112	//
23113	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-ImageMultiClass
23114	//
23115	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-ImageMultiClass
23116	//
23117	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-ImageMultiClass
23118	//
23119	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-ImageMultiClass
23120	//
23121	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-ImageMultiClass
23122	//
23123	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-ImageMultiClass
23124	//
23125	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-ImageMultiClass
23126	//
23127	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-ImageMultiClass
23128	//
23129	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-ImageMultiClass
23130	//
23131	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-ImageMultiClass
23132	//
23133	// Multi-label image classification - Uses a variant of the Expectation Maximization
23134	// approach to estimate the true classes of an image based on annotations from
23135	// individual workers.
23136	//
23137	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-ImageMultiClassMultiLabel
23138	//
23139	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-ImageMultiClassMultiLabel
23140	//
23141	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-ImageMultiClassMultiLabel
23142	//
23143	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-ImageMultiClassMultiLabel
23144	//
23145	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-ImageMultiClassMultiLabel
23146	//
23147	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-ImageMultiClassMultiLabel
23148	//
23149	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-ImageMultiClassMultiLabel
23150	//
23151	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-ImageMultiClassMultiLabel
23152	//
23153	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-ImageMultiClassMultiLabel
23154	//
23155	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-ImageMultiClassMultiLabel
23156	//
23157	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-ImageMultiClassMultiLabel
23158	//
23159	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-ImageMultiClassMultiLabel
23160	//
23161	// Semantic segmentation - Treats each pixel in an image as a multi-class classification
23162	// and treats pixel annotations from workers as "votes" for the correct label.
23163	//
23164	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-SemanticSegmentation
23165	//
23166	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-SemanticSegmentation
23167	//
23168	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-SemanticSegmentation
23169	//
23170	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-SemanticSegmentation
23171	//
23172	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-SemanticSegmentation
23173	//
23174	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-SemanticSegmentation
23175	//
23176	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-SemanticSegmentation
23177	//
23178	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-SemanticSegmentation
23179	//
23180	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-SemanticSegmentation
23181	//
23182	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-SemanticSegmentation
23183	//
23184	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-SemanticSegmentation
23185	//
23186	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-SemanticSegmentation
23187	//
23188	// Text classification - Uses a variant of the Expectation Maximization approach
23189	// to estimate the true class of text based on annotations from individual workers.
23190	//
23191	//    * rn:aws:lambda:us-east-1:432418664414:function:ACS-TextMultiClass
23192	//
23193	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-TextMultiClass
23194	//
23195	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-TextMultiClass
23196	//
23197	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-TextMultiClass
23198	//
23199	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-TextMultiClass
23200	//
23201	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-TextMultiClass
23202	//
23203	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-TextMultiClass
23204	//
23205	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-TextMultiClass
23206	//
23207	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-TextMultiClass
23208	//
23209	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-TextMultiClass
23210	//
23211	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-TextMultiClass
23212	//
23213	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-TextMultiClass
23214	//
23215	// Multi-label text classification - Uses a variant of the Expectation Maximization
23216	// approach to estimate the true classes of text based on annotations from individual
23217	// workers.
23218	//
23219	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-TextMultiClassMultiLabel
23220	//
23221	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-TextMultiClassMultiLabel
23222	//
23223	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-TextMultiClassMultiLabel
23224	//
23225	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-TextMultiClassMultiLabel
23226	//
23227	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-TextMultiClassMultiLabel
23228	//
23229	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-TextMultiClassMultiLabel
23230	//
23231	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-TextMultiClassMultiLabel
23232	//
23233	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-TextMultiClassMultiLabel
23234	//
23235	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-TextMultiClassMultiLabel
23236	//
23237	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-TextMultiClassMultiLabel
23238	//
23239	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-TextMultiClassMultiLabel
23240	//
23241	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-TextMultiClassMultiLabel
23242	//
23243	// Named entity recognition - Groups similar selections and calculates aggregate
23244	// boundaries, resolving to most-assigned label.
23245	//
23246	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-NamedEntityRecognition
23247	//
23248	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-NamedEntityRecognition
23249	//
23250	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-NamedEntityRecognition
23251	//
23252	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-NamedEntityRecognition
23253	//
23254	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-NamedEntityRecognition
23255	//
23256	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-NamedEntityRecognition
23257	//
23258	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-NamedEntityRecognition
23259	//
23260	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-NamedEntityRecognition
23261	//
23262	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-NamedEntityRecognition
23263	//
23264	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-NamedEntityRecognition
23265	//
23266	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-NamedEntityRecognition
23267	//
23268	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-NamedEntityRecognition
23269	//
23270	// Video Classification - Use this task type when you need workers to classify
23271	// videos using predefined labels that you specify. Workers are shown videos
23272	// and are asked to choose one label for each video.
23273	//
23274	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-VideoMultiClass
23275	//
23276	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-VideoMultiClass
23277	//
23278	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-VideoMultiClass
23279	//
23280	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-VideoMultiClass
23281	//
23282	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VideoMultiClass
23283	//
23284	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VideoMultiClass
23285	//
23286	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-VideoMultiClass
23287	//
23288	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-VideoMultiClass
23289	//
23290	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VideoMultiClass
23291	//
23292	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-VideoMultiClass
23293	//
23294	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VideoMultiClass
23295	//
23296	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-VideoMultiClass
23297	//
23298	// Video Frame Object Detection - Use this task type to have workers identify
23299	// and locate objects in a sequence of video frames (images extracted from a
23300	// video) using bounding boxes. For example, you can use this task to ask workers
23301	// to identify and localize various objects in a series of video frames, such
23302	// as cars, bikes, and pedestrians.
23303	//
23304	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-VideoObjectDetection
23305	//
23306	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-VideoObjectDetection
23307	//
23308	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-VideoObjectDetection
23309	//
23310	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-VideoObjectDetection
23311	//
23312	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VideoObjectDetection
23313	//
23314	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VideoObjectDetection
23315	//
23316	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-VideoObjectDetection
23317	//
23318	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-VideoObjectDetection
23319	//
23320	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VideoObjectDetection
23321	//
23322	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-VideoObjectDetection
23323	//
23324	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VideoObjectDetection
23325	//
23326	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-VideoObjectDetection
23327	//
23328	// Video Frame Object Tracking - Use this task type to have workers track the
23329	// movement of objects in a sequence of video frames (images extracted from
23330	// a video) using bounding boxes. For example, you can use this task to ask
23331	// workers to track the movement of objects, such as cars, bikes, and pedestrians.
23332	//
23333	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-VideoObjectTracking
23334	//
23335	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-VideoObjectTracking
23336	//
23337	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-VideoObjectTracking
23338	//
23339	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-VideoObjectTracking
23340	//
23341	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VideoObjectTracking
23342	//
23343	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VideoObjectTracking
23344	//
23345	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-VideoObjectTracking
23346	//
23347	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-VideoObjectTracking
23348	//
23349	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VideoObjectTracking
23350	//
23351	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-VideoObjectTracking
23352	//
23353	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VideoObjectTracking
23354	//
23355	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-VideoObjectTracking
23356	//
23357	// 3D Point Cloud Object Detection - Use this task type when you want workers
23358	// to classify objects in a 3D point cloud by drawing 3D cuboids around objects.
23359	// For example, you can use this task type to ask workers to identify different
23360	// types of objects in a point cloud, such as cars, bikes, and pedestrians.
23361	//
23362	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-3DPointCloudObjectDetection
23363	//
23364	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-3DPointCloudObjectDetection
23365	//
23366	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-3DPointCloudObjectDetection
23367	//
23368	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-3DPointCloudObjectDetection
23369	//
23370	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-3DPointCloudObjectDetection
23371	//
23372	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-3DPointCloudObjectDetection
23373	//
23374	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-3DPointCloudObjectDetection
23375	//
23376	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-3DPointCloudObjectDetection
23377	//
23378	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-3DPointCloudObjectDetection
23379	//
23380	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-3DPointCloudObjectDetection
23381	//
23382	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-3DPointCloudObjectDetection
23383	//
23384	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-3DPointCloudObjectDetection
23385	//
23386	// 3D Point Cloud Object Tracking - Use this task type when you want workers
23387	// to draw 3D cuboids around objects that appear in a sequence of 3D point cloud
23388	// frames. For example, you can use this task type to ask workers to track the
23389	// movement of vehicles across multiple point cloud frames.
23390	//
23391	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-3DPointCloudObjectTracking
23392	//
23393	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-3DPointCloudObjectTracking
23394	//
23395	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-3DPointCloudObjectTracking
23396	//
23397	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-3DPointCloudObjectTracking
23398	//
23399	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-3DPointCloudObjectTracking
23400	//
23401	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-3DPointCloudObjectTracking
23402	//
23403	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-3DPointCloudObjectTracking
23404	//
23405	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-3DPointCloudObjectTracking
23406	//
23407	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-3DPointCloudObjectTracking
23408	//
23409	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-3DPointCloudObjectTracking
23410	//
23411	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-3DPointCloudObjectTracking
23412	//
23413	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-3DPointCloudObjectTracking
23414	//
23415	// 3D Point Cloud Semantic Segmentation - Use this task type when you want workers
23416	// to create a point-level semantic segmentation masks by painting objects in
23417	// a 3D point cloud using different colors where each color is assigned to one
23418	// of the classes you specify.
23419	//
23420	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-3DPointCloudSemanticSegmentation
23421	//
23422	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-3DPointCloudSemanticSegmentation
23423	//
23424	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-3DPointCloudSemanticSegmentation
23425	//
23426	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-3DPointCloudSemanticSegmentation
23427	//
23428	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-3DPointCloudSemanticSegmentation
23429	//
23430	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-3DPointCloudSemanticSegmentation
23431	//
23432	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-3DPointCloudSemanticSegmentation
23433	//
23434	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-3DPointCloudSemanticSegmentation
23435	//
23436	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-3DPointCloudSemanticSegmentation
23437	//
23438	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-3DPointCloudSemanticSegmentation
23439	//
23440	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-3DPointCloudSemanticSegmentation
23441	//
23442	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-3DPointCloudSemanticSegmentation
23443	//
23444	// Use the following ARNs for Label Verification and Adjustment Jobs
23445	//
23446	// Use label verification and adjustment jobs to review and adjust labels. To
23447	// learn more, see Verify and Adjust Labels (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-verification-data.html).
23448	//
23449	// Semantic Segmentation Adjustment - Treats each pixel in an image as a multi-class
23450	// classification and treats pixel adjusted annotations from workers as "votes"
23451	// for the correct label.
23452	//
23453	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-AdjustmentSemanticSegmentation
23454	//
23455	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-AdjustmentSemanticSegmentation
23456	//
23457	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-AdjustmentSemanticSegmentation
23458	//
23459	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-AdjustmentSemanticSegmentation
23460	//
23461	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-AdjustmentSemanticSegmentation
23462	//
23463	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-AdjustmentSemanticSegmentation
23464	//
23465	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-AdjustmentSemanticSegmentation
23466	//
23467	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-AdjustmentSemanticSegmentation
23468	//
23469	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-AdjustmentSemanticSegmentation
23470	//
23471	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-AdjustmentSemanticSegmentation
23472	//
23473	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-AdjustmentSemanticSegmentation
23474	//
23475	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-AdjustmentSemanticSegmentation
23476	//
23477	// Semantic Segmentation Verification - Uses a variant of the Expectation Maximization
23478	// approach to estimate the true class of verification judgment for semantic
23479	// segmentation labels based on annotations from individual workers.
23480	//
23481	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-VerificationSemanticSegmentation
23482	//
23483	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-VerificationSemanticSegmentation
23484	//
23485	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-VerificationSemanticSegmentation
23486	//
23487	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-VerificationSemanticSegmentation
23488	//
23489	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VerificationSemanticSegmentation
23490	//
23491	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VerificationSemanticSegmentation
23492	//
23493	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-VerificationSemanticSegmentation
23494	//
23495	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-VerificationSemanticSegmentation
23496	//
23497	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VerificationSemanticSegmentation
23498	//
23499	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-VerificationSemanticSegmentation
23500	//
23501	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VerificationSemanticSegmentation
23502	//
23503	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-VerificationSemanticSegmentation
23504	//
23505	// Bounding Box Adjustment - Finds the most similar boxes from different workers
23506	// based on the Jaccard index of the adjusted annotations.
23507	//
23508	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-AdjustmentBoundingBox
23509	//
23510	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-AdjustmentBoundingBox
23511	//
23512	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-AdjustmentBoundingBox
23513	//
23514	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-AdjustmentBoundingBox
23515	//
23516	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-AdjustmentBoundingBox
23517	//
23518	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-AdjustmentBoundingBox
23519	//
23520	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-AdjustmentBoundingBox
23521	//
23522	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-AdjustmentBoundingBox
23523	//
23524	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-AdjustmentBoundingBox
23525	//
23526	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-AdjustmentBoundingBox
23527	//
23528	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-AdjustmentBoundingBox
23529	//
23530	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-AdjustmentBoundingBox
23531	//
23532	// Bounding Box Verification - Uses a variant of the Expectation Maximization
23533	// approach to estimate the true class of verification judgement for bounding
23534	// box labels based on annotations from individual workers.
23535	//
23536	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-VerificationBoundingBox
23537	//
23538	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-VerificationBoundingBox
23539	//
23540	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-VerificationBoundingBox
23541	//
23542	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-VerificationBoundingBox
23543	//
23544	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VerificationBoundingBox
23545	//
23546	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VerificationBoundingBox
23547	//
23548	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-VerificationBoundingBox
23549	//
23550	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-VerificationBoundingBox
23551	//
23552	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VerificationBoundingBox
23553	//
23554	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-VerificationBoundingBox
23555	//
23556	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VerificationBoundingBox
23557	//
23558	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-VerificationBoundingBox
23559	//
23560	// Video Frame Object Detection Adjustment - Use this task type when you want
23561	// workers to adjust bounding boxes that workers have added to video frames
23562	// to classify and localize objects in a sequence of video frames.
23563	//
23564	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-AdjustmentVideoObjectDetection
23565	//
23566	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-AdjustmentVideoObjectDetection
23567	//
23568	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-AdjustmentVideoObjectDetection
23569	//
23570	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-AdjustmentVideoObjectDetection
23571	//
23572	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-AdjustmentVideoObjectDetection
23573	//
23574	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-AdjustmentVideoObjectDetection
23575	//
23576	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-AdjustmentVideoObjectDetection
23577	//
23578	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-AdjustmentVideoObjectDetection
23579	//
23580	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-AdjustmentVideoObjectDetection
23581	//
23582	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-AdjustmentVideoObjectDetection
23583	//
23584	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-AdjustmentVideoObjectDetection
23585	//
23586	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-AdjustmentVideoObjectDetection
23587	//
23588	// Video Frame Object Tracking Adjustment - Use this task type when you want
23589	// workers to adjust bounding boxes that workers have added to video frames
23590	// to track object movement across a sequence of video frames.
23591	//
23592	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-AdjustmentVideoObjectTracking
23593	//
23594	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-AdjustmentVideoObjectTracking
23595	//
23596	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-AdjustmentVideoObjectTracking
23597	//
23598	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-AdjustmentVideoObjectTracking
23599	//
23600	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-AdjustmentVideoObjectTracking
23601	//
23602	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-AdjustmentVideoObjectTracking
23603	//
23604	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-AdjustmentVideoObjectTracking
23605	//
23606	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-AdjustmentVideoObjectTracking
23607	//
23608	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-AdjustmentVideoObjectTracking
23609	//
23610	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-AdjustmentVideoObjectTracking
23611	//
23612	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-AdjustmentVideoObjectTracking
23613	//
23614	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-AdjustmentVideoObjectTracking
23615	//
23616	// 3D Point Cloud Object Detection Adjustment - Use this task type when you
23617	// want workers to adjust 3D cuboids around objects in a 3D point cloud.
23618	//
23619	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-Adjustment3DPointCloudObjectDetection
23620	//
23621	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-Adjustment3DPointCloudObjectDetection
23622	//
23623	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-Adjustment3DPointCloudObjectDetection
23624	//
23625	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-Adjustment3DPointCloudObjectDetection
23626	//
23627	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-Adjustment3DPointCloudObjectDetection
23628	//
23629	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-Adjustment3DPointCloudObjectDetection
23630	//
23631	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-Adjustment3DPointCloudObjectDetection
23632	//
23633	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-Adjustment3DPointCloudObjectDetection
23634	//
23635	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-Adjustment3DPointCloudObjectDetection
23636	//
23637	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-Adjustment3DPointCloudObjectDetection
23638	//
23639	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-Adjustment3DPointCloudObjectDetection
23640	//
23641	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-Adjustment3DPointCloudObjectDetection
23642	//
23643	// 3D Point Cloud Object Tracking Adjustment - Use this task type when you want
23644	// workers to adjust 3D cuboids around objects that appear in a sequence of
23645	// 3D point cloud frames.
23646	//
23647	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-Adjustment3DPointCloudObjectTracking
23648	//
23649	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-Adjustment3DPointCloudObjectTracking
23650	//
23651	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-Adjustment3DPointCloudObjectTracking
23652	//
23653	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-Adjustment3DPointCloudObjectTracking
23654	//
23655	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-Adjustment3DPointCloudObjectTracking
23656	//
23657	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-Adjustment3DPointCloudObjectTracking
23658	//
23659	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-Adjustment3DPointCloudObjectTracking
23660	//
23661	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-Adjustment3DPointCloudObjectTracking
23662	//
23663	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-Adjustment3DPointCloudObjectTracking
23664	//
23665	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-Adjustment3DPointCloudObjectTracking
23666	//
23667	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-Adjustment3DPointCloudObjectTracking
23668	//
23669	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-Adjustment3DPointCloudObjectTracking
23670	//
23671	// 3D Point Cloud Semantic Segmentation Adjustment - Use this task type when
23672	// you want workers to adjust a point-level semantic segmentation masks using
23673	// a paint tool.
23674	//
23675	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-3DPointCloudSemanticSegmentation
23676	//
23677	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-Adjustment3DPointCloudSemanticSegmentation
23678	//
23679	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-Adjustment3DPointCloudSemanticSegmentation
23680	//
23681	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-Adjustment3DPointCloudSemanticSegmentation
23682	//
23683	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-Adjustment3DPointCloudSemanticSegmentation
23684	//
23685	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-Adjustment3DPointCloudSemanticSegmentation
23686	//
23687	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-Adjustment3DPointCloudSemanticSegmentation
23688	//
23689	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-Adjustment3DPointCloudSemanticSegmentation
23690	//
23691	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-Adjustment3DPointCloudSemanticSegmentation
23692	//
23693	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-Adjustment3DPointCloudSemanticSegmentation
23694	//
23695	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-Adjustment3DPointCloudSemanticSegmentation
23696	//
23697	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-Adjustment3DPointCloudSemanticSegmentation
23698	//
23699	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-Adjustment3DPointCloudSemanticSegmentation
23700	//
23701	// AnnotationConsolidationLambdaArn is a required field
23702	AnnotationConsolidationLambdaArn *string `type:"string" required:"true"`
23703}
23704
23705// String returns the string representation
23706func (s AnnotationConsolidationConfig) String() string {
23707	return awsutil.Prettify(s)
23708}
23709
23710// GoString returns the string representation
23711func (s AnnotationConsolidationConfig) GoString() string {
23712	return s.String()
23713}
23714
23715// Validate inspects the fields of the type to determine if they are valid.
23716func (s *AnnotationConsolidationConfig) Validate() error {
23717	invalidParams := request.ErrInvalidParams{Context: "AnnotationConsolidationConfig"}
23718	if s.AnnotationConsolidationLambdaArn == nil {
23719		invalidParams.Add(request.NewErrParamRequired("AnnotationConsolidationLambdaArn"))
23720	}
23721
23722	if invalidParams.Len() > 0 {
23723		return invalidParams
23724	}
23725	return nil
23726}
23727
23728// SetAnnotationConsolidationLambdaArn sets the AnnotationConsolidationLambdaArn field's value.
23729func (s *AnnotationConsolidationConfig) SetAnnotationConsolidationLambdaArn(v string) *AnnotationConsolidationConfig {
23730	s.AnnotationConsolidationLambdaArn = &v
23731	return s
23732}
23733
23734// Details about an Amazon SageMaker app.
23735type AppDetails struct {
23736	_ struct{} `type:"structure"`
23737
23738	// The name of the app.
23739	AppName *string `type:"string"`
23740
23741	// The type of app.
23742	AppType *string `type:"string" enum:"AppType"`
23743
23744	// The creation time.
23745	CreationTime *time.Time `type:"timestamp"`
23746
23747	// The domain ID.
23748	DomainId *string `type:"string"`
23749
23750	// The status.
23751	Status *string `type:"string" enum:"AppStatus"`
23752
23753	// The user profile name.
23754	UserProfileName *string `type:"string"`
23755}
23756
23757// String returns the string representation
23758func (s AppDetails) String() string {
23759	return awsutil.Prettify(s)
23760}
23761
23762// GoString returns the string representation
23763func (s AppDetails) GoString() string {
23764	return s.String()
23765}
23766
23767// SetAppName sets the AppName field's value.
23768func (s *AppDetails) SetAppName(v string) *AppDetails {
23769	s.AppName = &v
23770	return s
23771}
23772
23773// SetAppType sets the AppType field's value.
23774func (s *AppDetails) SetAppType(v string) *AppDetails {
23775	s.AppType = &v
23776	return s
23777}
23778
23779// SetCreationTime sets the CreationTime field's value.
23780func (s *AppDetails) SetCreationTime(v time.Time) *AppDetails {
23781	s.CreationTime = &v
23782	return s
23783}
23784
23785// SetDomainId sets the DomainId field's value.
23786func (s *AppDetails) SetDomainId(v string) *AppDetails {
23787	s.DomainId = &v
23788	return s
23789}
23790
23791// SetStatus sets the Status field's value.
23792func (s *AppDetails) SetStatus(v string) *AppDetails {
23793	s.Status = &v
23794	return s
23795}
23796
23797// SetUserProfileName sets the UserProfileName field's value.
23798func (s *AppDetails) SetUserProfileName(v string) *AppDetails {
23799	s.UserProfileName = &v
23800	return s
23801}
23802
23803// The configuration for running a SageMaker image as a KernelGateway app.
23804type AppImageConfigDetails struct {
23805	_ struct{} `type:"structure"`
23806
23807	// The Amazon Resource Name (ARN) of the AppImageConfig.
23808	AppImageConfigArn *string `type:"string"`
23809
23810	// The name of the AppImageConfig. Must be unique to your account.
23811	AppImageConfigName *string `type:"string"`
23812
23813	// When the AppImageConfig was created.
23814	CreationTime *time.Time `type:"timestamp"`
23815
23816	// The configuration for the file system and kernels in the SageMaker image.
23817	KernelGatewayImageConfig *KernelGatewayImageConfig `type:"structure"`
23818
23819	// When the AppImageConfig was last modified.
23820	LastModifiedTime *time.Time `type:"timestamp"`
23821}
23822
23823// String returns the string representation
23824func (s AppImageConfigDetails) String() string {
23825	return awsutil.Prettify(s)
23826}
23827
23828// GoString returns the string representation
23829func (s AppImageConfigDetails) GoString() string {
23830	return s.String()
23831}
23832
23833// SetAppImageConfigArn sets the AppImageConfigArn field's value.
23834func (s *AppImageConfigDetails) SetAppImageConfigArn(v string) *AppImageConfigDetails {
23835	s.AppImageConfigArn = &v
23836	return s
23837}
23838
23839// SetAppImageConfigName sets the AppImageConfigName field's value.
23840func (s *AppImageConfigDetails) SetAppImageConfigName(v string) *AppImageConfigDetails {
23841	s.AppImageConfigName = &v
23842	return s
23843}
23844
23845// SetCreationTime sets the CreationTime field's value.
23846func (s *AppImageConfigDetails) SetCreationTime(v time.Time) *AppImageConfigDetails {
23847	s.CreationTime = &v
23848	return s
23849}
23850
23851// SetKernelGatewayImageConfig sets the KernelGatewayImageConfig field's value.
23852func (s *AppImageConfigDetails) SetKernelGatewayImageConfig(v *KernelGatewayImageConfig) *AppImageConfigDetails {
23853	s.KernelGatewayImageConfig = v
23854	return s
23855}
23856
23857// SetLastModifiedTime sets the LastModifiedTime field's value.
23858func (s *AppImageConfigDetails) SetLastModifiedTime(v time.Time) *AppImageConfigDetails {
23859	s.LastModifiedTime = &v
23860	return s
23861}
23862
23863// Configuration to run a processing job in a specified container image.
23864type AppSpecification struct {
23865	_ struct{} `type:"structure"`
23866
23867	// The arguments for a container used to run a processing job.
23868	ContainerArguments []*string `min:"1" type:"list"`
23869
23870	// The entrypoint for a container used to run a processing job.
23871	ContainerEntrypoint []*string `min:"1" type:"list"`
23872
23873	// The container image to be run by the processing job.
23874	//
23875	// ImageUri is a required field
23876	ImageUri *string `type:"string" required:"true"`
23877}
23878
23879// String returns the string representation
23880func (s AppSpecification) String() string {
23881	return awsutil.Prettify(s)
23882}
23883
23884// GoString returns the string representation
23885func (s AppSpecification) GoString() string {
23886	return s.String()
23887}
23888
23889// Validate inspects the fields of the type to determine if they are valid.
23890func (s *AppSpecification) Validate() error {
23891	invalidParams := request.ErrInvalidParams{Context: "AppSpecification"}
23892	if s.ContainerArguments != nil && len(s.ContainerArguments) < 1 {
23893		invalidParams.Add(request.NewErrParamMinLen("ContainerArguments", 1))
23894	}
23895	if s.ContainerEntrypoint != nil && len(s.ContainerEntrypoint) < 1 {
23896		invalidParams.Add(request.NewErrParamMinLen("ContainerEntrypoint", 1))
23897	}
23898	if s.ImageUri == nil {
23899		invalidParams.Add(request.NewErrParamRequired("ImageUri"))
23900	}
23901
23902	if invalidParams.Len() > 0 {
23903		return invalidParams
23904	}
23905	return nil
23906}
23907
23908// SetContainerArguments sets the ContainerArguments field's value.
23909func (s *AppSpecification) SetContainerArguments(v []*string) *AppSpecification {
23910	s.ContainerArguments = v
23911	return s
23912}
23913
23914// SetContainerEntrypoint sets the ContainerEntrypoint field's value.
23915func (s *AppSpecification) SetContainerEntrypoint(v []*string) *AppSpecification {
23916	s.ContainerEntrypoint = v
23917	return s
23918}
23919
23920// SetImageUri sets the ImageUri field's value.
23921func (s *AppSpecification) SetImageUri(v string) *AppSpecification {
23922	s.ImageUri = &v
23923	return s
23924}
23925
23926// A structure describing the source of an artifact.
23927type ArtifactSource struct {
23928	_ struct{} `type:"structure"`
23929
23930	// A list of source types.
23931	SourceTypes []*ArtifactSourceType `type:"list"`
23932
23933	// The URI of the source.
23934	//
23935	// SourceUri is a required field
23936	SourceUri *string `type:"string" required:"true"`
23937}
23938
23939// String returns the string representation
23940func (s ArtifactSource) String() string {
23941	return awsutil.Prettify(s)
23942}
23943
23944// GoString returns the string representation
23945func (s ArtifactSource) GoString() string {
23946	return s.String()
23947}
23948
23949// Validate inspects the fields of the type to determine if they are valid.
23950func (s *ArtifactSource) Validate() error {
23951	invalidParams := request.ErrInvalidParams{Context: "ArtifactSource"}
23952	if s.SourceUri == nil {
23953		invalidParams.Add(request.NewErrParamRequired("SourceUri"))
23954	}
23955	if s.SourceTypes != nil {
23956		for i, v := range s.SourceTypes {
23957			if v == nil {
23958				continue
23959			}
23960			if err := v.Validate(); err != nil {
23961				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SourceTypes", i), err.(request.ErrInvalidParams))
23962			}
23963		}
23964	}
23965
23966	if invalidParams.Len() > 0 {
23967		return invalidParams
23968	}
23969	return nil
23970}
23971
23972// SetSourceTypes sets the SourceTypes field's value.
23973func (s *ArtifactSource) SetSourceTypes(v []*ArtifactSourceType) *ArtifactSource {
23974	s.SourceTypes = v
23975	return s
23976}
23977
23978// SetSourceUri sets the SourceUri field's value.
23979func (s *ArtifactSource) SetSourceUri(v string) *ArtifactSource {
23980	s.SourceUri = &v
23981	return s
23982}
23983
23984// The ID and ID type of an artifact source.
23985type ArtifactSourceType struct {
23986	_ struct{} `type:"structure"`
23987
23988	// The type of ID.
23989	//
23990	// SourceIdType is a required field
23991	SourceIdType *string `type:"string" required:"true" enum:"ArtifactSourceIdType"`
23992
23993	// The ID.
23994	//
23995	// Value is a required field
23996	Value *string `type:"string" required:"true"`
23997}
23998
23999// String returns the string representation
24000func (s ArtifactSourceType) String() string {
24001	return awsutil.Prettify(s)
24002}
24003
24004// GoString returns the string representation
24005func (s ArtifactSourceType) GoString() string {
24006	return s.String()
24007}
24008
24009// Validate inspects the fields of the type to determine if they are valid.
24010func (s *ArtifactSourceType) Validate() error {
24011	invalidParams := request.ErrInvalidParams{Context: "ArtifactSourceType"}
24012	if s.SourceIdType == nil {
24013		invalidParams.Add(request.NewErrParamRequired("SourceIdType"))
24014	}
24015	if s.Value == nil {
24016		invalidParams.Add(request.NewErrParamRequired("Value"))
24017	}
24018
24019	if invalidParams.Len() > 0 {
24020		return invalidParams
24021	}
24022	return nil
24023}
24024
24025// SetSourceIdType sets the SourceIdType field's value.
24026func (s *ArtifactSourceType) SetSourceIdType(v string) *ArtifactSourceType {
24027	s.SourceIdType = &v
24028	return s
24029}
24030
24031// SetValue sets the Value field's value.
24032func (s *ArtifactSourceType) SetValue(v string) *ArtifactSourceType {
24033	s.Value = &v
24034	return s
24035}
24036
24037// Lists a summary of the properties of an artifact. An artifact represents
24038// a URI addressable object or data. Some examples are a dataset and a model.
24039type ArtifactSummary struct {
24040	_ struct{} `type:"structure"`
24041
24042	// The Amazon Resource Name (ARN) of the artifact.
24043	ArtifactArn *string `type:"string"`
24044
24045	// The name of the artifact.
24046	ArtifactName *string `min:"1" type:"string"`
24047
24048	// The type of the artifact.
24049	ArtifactType *string `type:"string"`
24050
24051	// When the artifact was created.
24052	CreationTime *time.Time `type:"timestamp"`
24053
24054	// When the artifact was last modified.
24055	LastModifiedTime *time.Time `type:"timestamp"`
24056
24057	// The source of the artifact.
24058	Source *ArtifactSource `type:"structure"`
24059}
24060
24061// String returns the string representation
24062func (s ArtifactSummary) String() string {
24063	return awsutil.Prettify(s)
24064}
24065
24066// GoString returns the string representation
24067func (s ArtifactSummary) GoString() string {
24068	return s.String()
24069}
24070
24071// SetArtifactArn sets the ArtifactArn field's value.
24072func (s *ArtifactSummary) SetArtifactArn(v string) *ArtifactSummary {
24073	s.ArtifactArn = &v
24074	return s
24075}
24076
24077// SetArtifactName sets the ArtifactName field's value.
24078func (s *ArtifactSummary) SetArtifactName(v string) *ArtifactSummary {
24079	s.ArtifactName = &v
24080	return s
24081}
24082
24083// SetArtifactType sets the ArtifactType field's value.
24084func (s *ArtifactSummary) SetArtifactType(v string) *ArtifactSummary {
24085	s.ArtifactType = &v
24086	return s
24087}
24088
24089// SetCreationTime sets the CreationTime field's value.
24090func (s *ArtifactSummary) SetCreationTime(v time.Time) *ArtifactSummary {
24091	s.CreationTime = &v
24092	return s
24093}
24094
24095// SetLastModifiedTime sets the LastModifiedTime field's value.
24096func (s *ArtifactSummary) SetLastModifiedTime(v time.Time) *ArtifactSummary {
24097	s.LastModifiedTime = &v
24098	return s
24099}
24100
24101// SetSource sets the Source field's value.
24102func (s *ArtifactSummary) SetSource(v *ArtifactSource) *ArtifactSummary {
24103	s.Source = v
24104	return s
24105}
24106
24107type AssociateTrialComponentInput struct {
24108	_ struct{} `type:"structure"`
24109
24110	// The name of the component to associated with the trial.
24111	//
24112	// TrialComponentName is a required field
24113	TrialComponentName *string `min:"1" type:"string" required:"true"`
24114
24115	// The name of the trial to associate with.
24116	//
24117	// TrialName is a required field
24118	TrialName *string `min:"1" type:"string" required:"true"`
24119}
24120
24121// String returns the string representation
24122func (s AssociateTrialComponentInput) String() string {
24123	return awsutil.Prettify(s)
24124}
24125
24126// GoString returns the string representation
24127func (s AssociateTrialComponentInput) GoString() string {
24128	return s.String()
24129}
24130
24131// Validate inspects the fields of the type to determine if they are valid.
24132func (s *AssociateTrialComponentInput) Validate() error {
24133	invalidParams := request.ErrInvalidParams{Context: "AssociateTrialComponentInput"}
24134	if s.TrialComponentName == nil {
24135		invalidParams.Add(request.NewErrParamRequired("TrialComponentName"))
24136	}
24137	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
24138		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
24139	}
24140	if s.TrialName == nil {
24141		invalidParams.Add(request.NewErrParamRequired("TrialName"))
24142	}
24143	if s.TrialName != nil && len(*s.TrialName) < 1 {
24144		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
24145	}
24146
24147	if invalidParams.Len() > 0 {
24148		return invalidParams
24149	}
24150	return nil
24151}
24152
24153// SetTrialComponentName sets the TrialComponentName field's value.
24154func (s *AssociateTrialComponentInput) SetTrialComponentName(v string) *AssociateTrialComponentInput {
24155	s.TrialComponentName = &v
24156	return s
24157}
24158
24159// SetTrialName sets the TrialName field's value.
24160func (s *AssociateTrialComponentInput) SetTrialName(v string) *AssociateTrialComponentInput {
24161	s.TrialName = &v
24162	return s
24163}
24164
24165type AssociateTrialComponentOutput struct {
24166	_ struct{} `type:"structure"`
24167
24168	// The Amazon Resource Name (ARN) of the trial.
24169	TrialArn *string `type:"string"`
24170
24171	// The ARN of the trial component.
24172	TrialComponentArn *string `type:"string"`
24173}
24174
24175// String returns the string representation
24176func (s AssociateTrialComponentOutput) String() string {
24177	return awsutil.Prettify(s)
24178}
24179
24180// GoString returns the string representation
24181func (s AssociateTrialComponentOutput) GoString() string {
24182	return s.String()
24183}
24184
24185// SetTrialArn sets the TrialArn field's value.
24186func (s *AssociateTrialComponentOutput) SetTrialArn(v string) *AssociateTrialComponentOutput {
24187	s.TrialArn = &v
24188	return s
24189}
24190
24191// SetTrialComponentArn sets the TrialComponentArn field's value.
24192func (s *AssociateTrialComponentOutput) SetTrialComponentArn(v string) *AssociateTrialComponentOutput {
24193	s.TrialComponentArn = &v
24194	return s
24195}
24196
24197// Lists a summary of the properties of an association. An association is an
24198// entity that links other lineage or experiment entities. An example would
24199// be an association between a training job and a model.
24200type AssociationSummary struct {
24201	_ struct{} `type:"structure"`
24202
24203	// The type of the association.
24204	AssociationType *string `type:"string" enum:"AssociationEdgeType"`
24205
24206	// Information about the user who created or modified an experiment, trial,
24207	// or trial component.
24208	CreatedBy *UserContext `type:"structure"`
24209
24210	// When the association was created.
24211	CreationTime *time.Time `type:"timestamp"`
24212
24213	// The Amazon Resource Name (ARN) of the destination.
24214	DestinationArn *string `type:"string"`
24215
24216	// The name of the destination.
24217	DestinationName *string `min:"1" type:"string"`
24218
24219	// The destination type.
24220	DestinationType *string `type:"string"`
24221
24222	// The ARN of the source.
24223	SourceArn *string `type:"string"`
24224
24225	// The name of the source.
24226	SourceName *string `min:"1" type:"string"`
24227
24228	// The source type.
24229	SourceType *string `type:"string"`
24230}
24231
24232// String returns the string representation
24233func (s AssociationSummary) String() string {
24234	return awsutil.Prettify(s)
24235}
24236
24237// GoString returns the string representation
24238func (s AssociationSummary) GoString() string {
24239	return s.String()
24240}
24241
24242// SetAssociationType sets the AssociationType field's value.
24243func (s *AssociationSummary) SetAssociationType(v string) *AssociationSummary {
24244	s.AssociationType = &v
24245	return s
24246}
24247
24248// SetCreatedBy sets the CreatedBy field's value.
24249func (s *AssociationSummary) SetCreatedBy(v *UserContext) *AssociationSummary {
24250	s.CreatedBy = v
24251	return s
24252}
24253
24254// SetCreationTime sets the CreationTime field's value.
24255func (s *AssociationSummary) SetCreationTime(v time.Time) *AssociationSummary {
24256	s.CreationTime = &v
24257	return s
24258}
24259
24260// SetDestinationArn sets the DestinationArn field's value.
24261func (s *AssociationSummary) SetDestinationArn(v string) *AssociationSummary {
24262	s.DestinationArn = &v
24263	return s
24264}
24265
24266// SetDestinationName sets the DestinationName field's value.
24267func (s *AssociationSummary) SetDestinationName(v string) *AssociationSummary {
24268	s.DestinationName = &v
24269	return s
24270}
24271
24272// SetDestinationType sets the DestinationType field's value.
24273func (s *AssociationSummary) SetDestinationType(v string) *AssociationSummary {
24274	s.DestinationType = &v
24275	return s
24276}
24277
24278// SetSourceArn sets the SourceArn field's value.
24279func (s *AssociationSummary) SetSourceArn(v string) *AssociationSummary {
24280	s.SourceArn = &v
24281	return s
24282}
24283
24284// SetSourceName sets the SourceName field's value.
24285func (s *AssociationSummary) SetSourceName(v string) *AssociationSummary {
24286	s.SourceName = &v
24287	return s
24288}
24289
24290// SetSourceType sets the SourceType field's value.
24291func (s *AssociationSummary) SetSourceType(v string) *AssociationSummary {
24292	s.SourceType = &v
24293	return s
24294}
24295
24296// Configuration for Athena Dataset Definition input.
24297type AthenaDatasetDefinition struct {
24298	_ struct{} `type:"structure"`
24299
24300	// The name of the data catalog used in Athena query execution.
24301	//
24302	// Catalog is a required field
24303	Catalog *string `min:"1" type:"string" required:"true"`
24304
24305	// The name of the database used in the Athena query execution.
24306	//
24307	// Database is a required field
24308	Database *string `min:"1" type:"string" required:"true"`
24309
24310	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
24311	// encrypt data generated from an Athena query execution.
24312	KmsKeyId *string `type:"string"`
24313
24314	// The compression used for Athena query results.
24315	OutputCompression *string `type:"string" enum:"AthenaResultCompressionType"`
24316
24317	// The data storage format for Athena query results.
24318	//
24319	// OutputFormat is a required field
24320	OutputFormat *string `type:"string" required:"true" enum:"AthenaResultFormat"`
24321
24322	// The location in Amazon S3 where Athena query results are stored.
24323	//
24324	// OutputS3Uri is a required field
24325	OutputS3Uri *string `type:"string" required:"true"`
24326
24327	// The SQL query statements, to be executed.
24328	//
24329	// QueryString is a required field
24330	QueryString *string `min:"1" type:"string" required:"true"`
24331
24332	// The name of the workgroup in which the Athena query is being started.
24333	WorkGroup *string `min:"1" type:"string"`
24334}
24335
24336// String returns the string representation
24337func (s AthenaDatasetDefinition) String() string {
24338	return awsutil.Prettify(s)
24339}
24340
24341// GoString returns the string representation
24342func (s AthenaDatasetDefinition) GoString() string {
24343	return s.String()
24344}
24345
24346// Validate inspects the fields of the type to determine if they are valid.
24347func (s *AthenaDatasetDefinition) Validate() error {
24348	invalidParams := request.ErrInvalidParams{Context: "AthenaDatasetDefinition"}
24349	if s.Catalog == nil {
24350		invalidParams.Add(request.NewErrParamRequired("Catalog"))
24351	}
24352	if s.Catalog != nil && len(*s.Catalog) < 1 {
24353		invalidParams.Add(request.NewErrParamMinLen("Catalog", 1))
24354	}
24355	if s.Database == nil {
24356		invalidParams.Add(request.NewErrParamRequired("Database"))
24357	}
24358	if s.Database != nil && len(*s.Database) < 1 {
24359		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
24360	}
24361	if s.OutputFormat == nil {
24362		invalidParams.Add(request.NewErrParamRequired("OutputFormat"))
24363	}
24364	if s.OutputS3Uri == nil {
24365		invalidParams.Add(request.NewErrParamRequired("OutputS3Uri"))
24366	}
24367	if s.QueryString == nil {
24368		invalidParams.Add(request.NewErrParamRequired("QueryString"))
24369	}
24370	if s.QueryString != nil && len(*s.QueryString) < 1 {
24371		invalidParams.Add(request.NewErrParamMinLen("QueryString", 1))
24372	}
24373	if s.WorkGroup != nil && len(*s.WorkGroup) < 1 {
24374		invalidParams.Add(request.NewErrParamMinLen("WorkGroup", 1))
24375	}
24376
24377	if invalidParams.Len() > 0 {
24378		return invalidParams
24379	}
24380	return nil
24381}
24382
24383// SetCatalog sets the Catalog field's value.
24384func (s *AthenaDatasetDefinition) SetCatalog(v string) *AthenaDatasetDefinition {
24385	s.Catalog = &v
24386	return s
24387}
24388
24389// SetDatabase sets the Database field's value.
24390func (s *AthenaDatasetDefinition) SetDatabase(v string) *AthenaDatasetDefinition {
24391	s.Database = &v
24392	return s
24393}
24394
24395// SetKmsKeyId sets the KmsKeyId field's value.
24396func (s *AthenaDatasetDefinition) SetKmsKeyId(v string) *AthenaDatasetDefinition {
24397	s.KmsKeyId = &v
24398	return s
24399}
24400
24401// SetOutputCompression sets the OutputCompression field's value.
24402func (s *AthenaDatasetDefinition) SetOutputCompression(v string) *AthenaDatasetDefinition {
24403	s.OutputCompression = &v
24404	return s
24405}
24406
24407// SetOutputFormat sets the OutputFormat field's value.
24408func (s *AthenaDatasetDefinition) SetOutputFormat(v string) *AthenaDatasetDefinition {
24409	s.OutputFormat = &v
24410	return s
24411}
24412
24413// SetOutputS3Uri sets the OutputS3Uri field's value.
24414func (s *AthenaDatasetDefinition) SetOutputS3Uri(v string) *AthenaDatasetDefinition {
24415	s.OutputS3Uri = &v
24416	return s
24417}
24418
24419// SetQueryString sets the QueryString field's value.
24420func (s *AthenaDatasetDefinition) SetQueryString(v string) *AthenaDatasetDefinition {
24421	s.QueryString = &v
24422	return s
24423}
24424
24425// SetWorkGroup sets the WorkGroup field's value.
24426func (s *AthenaDatasetDefinition) SetWorkGroup(v string) *AthenaDatasetDefinition {
24427	s.WorkGroup = &v
24428	return s
24429}
24430
24431// An Autopilot job returns recommendations, or candidates. Each candidate has
24432// futher details about the steps involved and the status.
24433type AutoMLCandidate struct {
24434	_ struct{} `type:"structure"`
24435
24436	// The name of the candidate.
24437	//
24438	// CandidateName is a required field
24439	CandidateName *string `min:"1" type:"string" required:"true"`
24440
24441	// The AutoML candidate's properties.
24442	CandidateProperties *CandidateProperties `type:"structure"`
24443
24444	// The candidate's status.
24445	//
24446	// CandidateStatus is a required field
24447	CandidateStatus *string `type:"string" required:"true" enum:"CandidateStatus"`
24448
24449	// Information about the candidate's steps.
24450	//
24451	// CandidateSteps is a required field
24452	CandidateSteps []*AutoMLCandidateStep `type:"list" required:"true"`
24453
24454	// The creation time.
24455	//
24456	// CreationTime is a required field
24457	CreationTime *time.Time `type:"timestamp" required:"true"`
24458
24459	// The end time.
24460	EndTime *time.Time `type:"timestamp"`
24461
24462	// The failure reason.
24463	FailureReason *string `type:"string"`
24464
24465	// The best candidate result from an AutoML training job.
24466	FinalAutoMLJobObjectiveMetric *FinalAutoMLJobObjectiveMetric `type:"structure"`
24467
24468	// Information about the inference container definitions.
24469	InferenceContainers []*AutoMLContainerDefinition `type:"list"`
24470
24471	// The last modified time.
24472	//
24473	// LastModifiedTime is a required field
24474	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
24475
24476	// The objective's status.
24477	//
24478	// ObjectiveStatus is a required field
24479	ObjectiveStatus *string `type:"string" required:"true" enum:"ObjectiveStatus"`
24480}
24481
24482// String returns the string representation
24483func (s AutoMLCandidate) String() string {
24484	return awsutil.Prettify(s)
24485}
24486
24487// GoString returns the string representation
24488func (s AutoMLCandidate) GoString() string {
24489	return s.String()
24490}
24491
24492// SetCandidateName sets the CandidateName field's value.
24493func (s *AutoMLCandidate) SetCandidateName(v string) *AutoMLCandidate {
24494	s.CandidateName = &v
24495	return s
24496}
24497
24498// SetCandidateProperties sets the CandidateProperties field's value.
24499func (s *AutoMLCandidate) SetCandidateProperties(v *CandidateProperties) *AutoMLCandidate {
24500	s.CandidateProperties = v
24501	return s
24502}
24503
24504// SetCandidateStatus sets the CandidateStatus field's value.
24505func (s *AutoMLCandidate) SetCandidateStatus(v string) *AutoMLCandidate {
24506	s.CandidateStatus = &v
24507	return s
24508}
24509
24510// SetCandidateSteps sets the CandidateSteps field's value.
24511func (s *AutoMLCandidate) SetCandidateSteps(v []*AutoMLCandidateStep) *AutoMLCandidate {
24512	s.CandidateSteps = v
24513	return s
24514}
24515
24516// SetCreationTime sets the CreationTime field's value.
24517func (s *AutoMLCandidate) SetCreationTime(v time.Time) *AutoMLCandidate {
24518	s.CreationTime = &v
24519	return s
24520}
24521
24522// SetEndTime sets the EndTime field's value.
24523func (s *AutoMLCandidate) SetEndTime(v time.Time) *AutoMLCandidate {
24524	s.EndTime = &v
24525	return s
24526}
24527
24528// SetFailureReason sets the FailureReason field's value.
24529func (s *AutoMLCandidate) SetFailureReason(v string) *AutoMLCandidate {
24530	s.FailureReason = &v
24531	return s
24532}
24533
24534// SetFinalAutoMLJobObjectiveMetric sets the FinalAutoMLJobObjectiveMetric field's value.
24535func (s *AutoMLCandidate) SetFinalAutoMLJobObjectiveMetric(v *FinalAutoMLJobObjectiveMetric) *AutoMLCandidate {
24536	s.FinalAutoMLJobObjectiveMetric = v
24537	return s
24538}
24539
24540// SetInferenceContainers sets the InferenceContainers field's value.
24541func (s *AutoMLCandidate) SetInferenceContainers(v []*AutoMLContainerDefinition) *AutoMLCandidate {
24542	s.InferenceContainers = v
24543	return s
24544}
24545
24546// SetLastModifiedTime sets the LastModifiedTime field's value.
24547func (s *AutoMLCandidate) SetLastModifiedTime(v time.Time) *AutoMLCandidate {
24548	s.LastModifiedTime = &v
24549	return s
24550}
24551
24552// SetObjectiveStatus sets the ObjectiveStatus field's value.
24553func (s *AutoMLCandidate) SetObjectiveStatus(v string) *AutoMLCandidate {
24554	s.ObjectiveStatus = &v
24555	return s
24556}
24557
24558// Information about the steps for a candidate and what step it is working on.
24559type AutoMLCandidateStep struct {
24560	_ struct{} `type:"structure"`
24561
24562	// The ARN for the candidate's step.
24563	//
24564	// CandidateStepArn is a required field
24565	CandidateStepArn *string `min:"1" type:"string" required:"true"`
24566
24567	// The name for the candidate's step.
24568	//
24569	// CandidateStepName is a required field
24570	CandidateStepName *string `min:"1" type:"string" required:"true"`
24571
24572	// Whether the candidate is at the transform, training, or processing step.
24573	//
24574	// CandidateStepType is a required field
24575	CandidateStepType *string `type:"string" required:"true" enum:"CandidateStepType"`
24576}
24577
24578// String returns the string representation
24579func (s AutoMLCandidateStep) String() string {
24580	return awsutil.Prettify(s)
24581}
24582
24583// GoString returns the string representation
24584func (s AutoMLCandidateStep) GoString() string {
24585	return s.String()
24586}
24587
24588// SetCandidateStepArn sets the CandidateStepArn field's value.
24589func (s *AutoMLCandidateStep) SetCandidateStepArn(v string) *AutoMLCandidateStep {
24590	s.CandidateStepArn = &v
24591	return s
24592}
24593
24594// SetCandidateStepName sets the CandidateStepName field's value.
24595func (s *AutoMLCandidateStep) SetCandidateStepName(v string) *AutoMLCandidateStep {
24596	s.CandidateStepName = &v
24597	return s
24598}
24599
24600// SetCandidateStepType sets the CandidateStepType field's value.
24601func (s *AutoMLCandidateStep) SetCandidateStepType(v string) *AutoMLCandidateStep {
24602	s.CandidateStepType = &v
24603	return s
24604}
24605
24606// A channel is a named input source that training algorithms can consume. For
24607// more information, see .
24608type AutoMLChannel struct {
24609	_ struct{} `type:"structure"`
24610
24611	// You can use Gzip or None. The default value is None.
24612	CompressionType *string `type:"string" enum:"CompressionType"`
24613
24614	// The data source for an AutoML channel.
24615	//
24616	// DataSource is a required field
24617	DataSource *AutoMLDataSource `type:"structure" required:"true"`
24618
24619	// The name of the target variable in supervised learning, usually represented
24620	// by 'y'.
24621	//
24622	// TargetAttributeName is a required field
24623	TargetAttributeName *string `min:"1" type:"string" required:"true"`
24624}
24625
24626// String returns the string representation
24627func (s AutoMLChannel) String() string {
24628	return awsutil.Prettify(s)
24629}
24630
24631// GoString returns the string representation
24632func (s AutoMLChannel) GoString() string {
24633	return s.String()
24634}
24635
24636// Validate inspects the fields of the type to determine if they are valid.
24637func (s *AutoMLChannel) Validate() error {
24638	invalidParams := request.ErrInvalidParams{Context: "AutoMLChannel"}
24639	if s.DataSource == nil {
24640		invalidParams.Add(request.NewErrParamRequired("DataSource"))
24641	}
24642	if s.TargetAttributeName == nil {
24643		invalidParams.Add(request.NewErrParamRequired("TargetAttributeName"))
24644	}
24645	if s.TargetAttributeName != nil && len(*s.TargetAttributeName) < 1 {
24646		invalidParams.Add(request.NewErrParamMinLen("TargetAttributeName", 1))
24647	}
24648	if s.DataSource != nil {
24649		if err := s.DataSource.Validate(); err != nil {
24650			invalidParams.AddNested("DataSource", err.(request.ErrInvalidParams))
24651		}
24652	}
24653
24654	if invalidParams.Len() > 0 {
24655		return invalidParams
24656	}
24657	return nil
24658}
24659
24660// SetCompressionType sets the CompressionType field's value.
24661func (s *AutoMLChannel) SetCompressionType(v string) *AutoMLChannel {
24662	s.CompressionType = &v
24663	return s
24664}
24665
24666// SetDataSource sets the DataSource field's value.
24667func (s *AutoMLChannel) SetDataSource(v *AutoMLDataSource) *AutoMLChannel {
24668	s.DataSource = v
24669	return s
24670}
24671
24672// SetTargetAttributeName sets the TargetAttributeName field's value.
24673func (s *AutoMLChannel) SetTargetAttributeName(v string) *AutoMLChannel {
24674	s.TargetAttributeName = &v
24675	return s
24676}
24677
24678// A list of container definitions that describe the different containers that
24679// make up an AutoML candidate. For more information, see .
24680type AutoMLContainerDefinition struct {
24681	_ struct{} `type:"structure"`
24682
24683	// The environment variables to set in the container. For more information,
24684	// see .
24685	Environment map[string]*string `type:"map"`
24686
24687	// The ECR path of the container. For more information, see .
24688	//
24689	// Image is a required field
24690	Image *string `type:"string" required:"true"`
24691
24692	// The location of the model artifacts. For more information, see .
24693	//
24694	// ModelDataUrl is a required field
24695	ModelDataUrl *string `type:"string" required:"true"`
24696}
24697
24698// String returns the string representation
24699func (s AutoMLContainerDefinition) String() string {
24700	return awsutil.Prettify(s)
24701}
24702
24703// GoString returns the string representation
24704func (s AutoMLContainerDefinition) GoString() string {
24705	return s.String()
24706}
24707
24708// SetEnvironment sets the Environment field's value.
24709func (s *AutoMLContainerDefinition) SetEnvironment(v map[string]*string) *AutoMLContainerDefinition {
24710	s.Environment = v
24711	return s
24712}
24713
24714// SetImage sets the Image field's value.
24715func (s *AutoMLContainerDefinition) SetImage(v string) *AutoMLContainerDefinition {
24716	s.Image = &v
24717	return s
24718}
24719
24720// SetModelDataUrl sets the ModelDataUrl field's value.
24721func (s *AutoMLContainerDefinition) SetModelDataUrl(v string) *AutoMLContainerDefinition {
24722	s.ModelDataUrl = &v
24723	return s
24724}
24725
24726// The data source for the Autopilot job.
24727type AutoMLDataSource struct {
24728	_ struct{} `type:"structure"`
24729
24730	// The Amazon S3 location of the input data.
24731	//
24732	// The input data must be in CSV format and contain at least 500 rows.
24733	//
24734	// S3DataSource is a required field
24735	S3DataSource *AutoMLS3DataSource `type:"structure" required:"true"`
24736}
24737
24738// String returns the string representation
24739func (s AutoMLDataSource) String() string {
24740	return awsutil.Prettify(s)
24741}
24742
24743// GoString returns the string representation
24744func (s AutoMLDataSource) GoString() string {
24745	return s.String()
24746}
24747
24748// Validate inspects the fields of the type to determine if they are valid.
24749func (s *AutoMLDataSource) Validate() error {
24750	invalidParams := request.ErrInvalidParams{Context: "AutoMLDataSource"}
24751	if s.S3DataSource == nil {
24752		invalidParams.Add(request.NewErrParamRequired("S3DataSource"))
24753	}
24754	if s.S3DataSource != nil {
24755		if err := s.S3DataSource.Validate(); err != nil {
24756			invalidParams.AddNested("S3DataSource", err.(request.ErrInvalidParams))
24757		}
24758	}
24759
24760	if invalidParams.Len() > 0 {
24761		return invalidParams
24762	}
24763	return nil
24764}
24765
24766// SetS3DataSource sets the S3DataSource field's value.
24767func (s *AutoMLDataSource) SetS3DataSource(v *AutoMLS3DataSource) *AutoMLDataSource {
24768	s.S3DataSource = v
24769	return s
24770}
24771
24772// The artifacts that are generated during an AutoML job.
24773type AutoMLJobArtifacts struct {
24774	_ struct{} `type:"structure"`
24775
24776	// The URL of the notebook location.
24777	CandidateDefinitionNotebookLocation *string `min:"1" type:"string"`
24778
24779	// The URL of the notebook location.
24780	DataExplorationNotebookLocation *string `min:"1" type:"string"`
24781}
24782
24783// String returns the string representation
24784func (s AutoMLJobArtifacts) String() string {
24785	return awsutil.Prettify(s)
24786}
24787
24788// GoString returns the string representation
24789func (s AutoMLJobArtifacts) GoString() string {
24790	return s.String()
24791}
24792
24793// SetCandidateDefinitionNotebookLocation sets the CandidateDefinitionNotebookLocation field's value.
24794func (s *AutoMLJobArtifacts) SetCandidateDefinitionNotebookLocation(v string) *AutoMLJobArtifacts {
24795	s.CandidateDefinitionNotebookLocation = &v
24796	return s
24797}
24798
24799// SetDataExplorationNotebookLocation sets the DataExplorationNotebookLocation field's value.
24800func (s *AutoMLJobArtifacts) SetDataExplorationNotebookLocation(v string) *AutoMLJobArtifacts {
24801	s.DataExplorationNotebookLocation = &v
24802	return s
24803}
24804
24805// How long a job is allowed to run, or how many candidates a job is allowed
24806// to generate.
24807type AutoMLJobCompletionCriteria struct {
24808	_ struct{} `type:"structure"`
24809
24810	// The maximum time, in seconds, an AutoML job is allowed to wait for a trial
24811	// to complete. It must be equal to or greater than MaxRuntimePerTrainingJobInSeconds.
24812	MaxAutoMLJobRuntimeInSeconds *int64 `min:"1" type:"integer"`
24813
24814	// The maximum number of times a training job is allowed to run.
24815	MaxCandidates *int64 `min:"1" type:"integer"`
24816
24817	// The maximum time, in seconds, a job is allowed to run.
24818	MaxRuntimePerTrainingJobInSeconds *int64 `min:"1" type:"integer"`
24819}
24820
24821// String returns the string representation
24822func (s AutoMLJobCompletionCriteria) String() string {
24823	return awsutil.Prettify(s)
24824}
24825
24826// GoString returns the string representation
24827func (s AutoMLJobCompletionCriteria) GoString() string {
24828	return s.String()
24829}
24830
24831// Validate inspects the fields of the type to determine if they are valid.
24832func (s *AutoMLJobCompletionCriteria) Validate() error {
24833	invalidParams := request.ErrInvalidParams{Context: "AutoMLJobCompletionCriteria"}
24834	if s.MaxAutoMLJobRuntimeInSeconds != nil && *s.MaxAutoMLJobRuntimeInSeconds < 1 {
24835		invalidParams.Add(request.NewErrParamMinValue("MaxAutoMLJobRuntimeInSeconds", 1))
24836	}
24837	if s.MaxCandidates != nil && *s.MaxCandidates < 1 {
24838		invalidParams.Add(request.NewErrParamMinValue("MaxCandidates", 1))
24839	}
24840	if s.MaxRuntimePerTrainingJobInSeconds != nil && *s.MaxRuntimePerTrainingJobInSeconds < 1 {
24841		invalidParams.Add(request.NewErrParamMinValue("MaxRuntimePerTrainingJobInSeconds", 1))
24842	}
24843
24844	if invalidParams.Len() > 0 {
24845		return invalidParams
24846	}
24847	return nil
24848}
24849
24850// SetMaxAutoMLJobRuntimeInSeconds sets the MaxAutoMLJobRuntimeInSeconds field's value.
24851func (s *AutoMLJobCompletionCriteria) SetMaxAutoMLJobRuntimeInSeconds(v int64) *AutoMLJobCompletionCriteria {
24852	s.MaxAutoMLJobRuntimeInSeconds = &v
24853	return s
24854}
24855
24856// SetMaxCandidates sets the MaxCandidates field's value.
24857func (s *AutoMLJobCompletionCriteria) SetMaxCandidates(v int64) *AutoMLJobCompletionCriteria {
24858	s.MaxCandidates = &v
24859	return s
24860}
24861
24862// SetMaxRuntimePerTrainingJobInSeconds sets the MaxRuntimePerTrainingJobInSeconds field's value.
24863func (s *AutoMLJobCompletionCriteria) SetMaxRuntimePerTrainingJobInSeconds(v int64) *AutoMLJobCompletionCriteria {
24864	s.MaxRuntimePerTrainingJobInSeconds = &v
24865	return s
24866}
24867
24868// A collection of settings used for an AutoML job.
24869type AutoMLJobConfig struct {
24870	_ struct{} `type:"structure"`
24871
24872	// How long an AutoML job is allowed to run, or how many candidates a job is
24873	// allowed to generate.
24874	CompletionCriteria *AutoMLJobCompletionCriteria `type:"structure"`
24875
24876	// The security configuration for traffic encryption or Amazon VPC settings.
24877	SecurityConfig *AutoMLSecurityConfig `type:"structure"`
24878}
24879
24880// String returns the string representation
24881func (s AutoMLJobConfig) String() string {
24882	return awsutil.Prettify(s)
24883}
24884
24885// GoString returns the string representation
24886func (s AutoMLJobConfig) GoString() string {
24887	return s.String()
24888}
24889
24890// Validate inspects the fields of the type to determine if they are valid.
24891func (s *AutoMLJobConfig) Validate() error {
24892	invalidParams := request.ErrInvalidParams{Context: "AutoMLJobConfig"}
24893	if s.CompletionCriteria != nil {
24894		if err := s.CompletionCriteria.Validate(); err != nil {
24895			invalidParams.AddNested("CompletionCriteria", err.(request.ErrInvalidParams))
24896		}
24897	}
24898	if s.SecurityConfig != nil {
24899		if err := s.SecurityConfig.Validate(); err != nil {
24900			invalidParams.AddNested("SecurityConfig", err.(request.ErrInvalidParams))
24901		}
24902	}
24903
24904	if invalidParams.Len() > 0 {
24905		return invalidParams
24906	}
24907	return nil
24908}
24909
24910// SetCompletionCriteria sets the CompletionCriteria field's value.
24911func (s *AutoMLJobConfig) SetCompletionCriteria(v *AutoMLJobCompletionCriteria) *AutoMLJobConfig {
24912	s.CompletionCriteria = v
24913	return s
24914}
24915
24916// SetSecurityConfig sets the SecurityConfig field's value.
24917func (s *AutoMLJobConfig) SetSecurityConfig(v *AutoMLSecurityConfig) *AutoMLJobConfig {
24918	s.SecurityConfig = v
24919	return s
24920}
24921
24922// Specifies a metric to minimize or maximize as the objective of a job.
24923type AutoMLJobObjective struct {
24924	_ struct{} `type:"structure"`
24925
24926	// The name of the objective metric used to measure the predictive quality of
24927	// a machine learning system. This metric is optimized during training to provide
24928	// the best estimate for model parameter values from data.
24929	//
24930	// Here are the options:
24931	//
24932	//    * MSE: The mean squared error (MSE) is the average of the squared differences
24933	//    between the predicted and actual values. It is used for regression. MSE
24934	//    values are always positive: the better a model is at predicting the actual
24935	//    values, the smaller the MSE value. When the data contains outliers, they
24936	//    tend to dominate the MSE, which might cause subpar prediction performance.
24937	//
24938	//    * Accuracy: The ratio of the number of correctly classified items to the
24939	//    total number of (correctly and incorrectly) classified items. It is used
24940	//    for binary and multiclass classification. It measures how close the predicted
24941	//    class values are to the actual values. Accuracy values vary between zero
24942	//    and one: one indicates perfect accuracy and zero indicates perfect inaccuracy.
24943	//
24944	//    * F1: The F1 score is the harmonic mean of the precision and recall. It
24945	//    is used for binary classification into classes traditionally referred
24946	//    to as positive and negative. Predictions are said to be true when they
24947	//    match their actual (correct) class and false when they do not. Precision
24948	//    is the ratio of the true positive predictions to all positive predictions
24949	//    (including the false positives) in a data set and measures the quality
24950	//    of the prediction when it predicts the positive class. Recall (or sensitivity)
24951	//    is the ratio of the true positive predictions to all actual positive instances
24952	//    and measures how completely a model predicts the actual class members
24953	//    in a data set. The standard F1 score weighs precision and recall equally.
24954	//    But which metric is paramount typically depends on specific aspects of
24955	//    a problem. F1 scores vary between zero and one: one indicates the best
24956	//    possible performance and zero the worst.
24957	//
24958	//    * AUC: The area under the curve (AUC) metric is used to compare and evaluate
24959	//    binary classification by algorithms such as logistic regression that return
24960	//    probabilities. A threshold is needed to map the probabilities into classifications.
24961	//    The relevant curve is the receiver operating characteristic curve that
24962	//    plots the true positive rate (TPR) of predictions (or recall) against
24963	//    the false positive rate (FPR) as a function of the threshold value, above
24964	//    which a prediction is considered positive. Increasing the threshold results
24965	//    in fewer false positives but more false negatives. AUC is the area under
24966	//    this receiver operating characteristic curve and so provides an aggregated
24967	//    measure of the model performance across all possible classification thresholds.
24968	//    The AUC score can also be interpreted as the probability that a randomly
24969	//    selected positive data point is more likely to be predicted positive than
24970	//    a randomly selected negative example. AUC scores vary between zero and
24971	//    one: a score of one indicates perfect accuracy and a score of one half
24972	//    indicates that the prediction is not better than a random classifier.
24973	//    Values under one half predict less accurately than a random predictor.
24974	//    But such consistently bad predictors can simply be inverted to obtain
24975	//    better than random predictors.
24976	//
24977	//    * F1macro: The F1macro score applies F1 scoring to multiclass classification.
24978	//    In this context, you have multiple classes to predict. You just calculate
24979	//    the precision and recall for each class as you did for the positive class
24980	//    in binary classification. Then, use these values to calculate the F1 score
24981	//    for each class and average them to obtain the F1macro score. F1macro scores
24982	//    vary between zero and one: one indicates the best possible performance
24983	//    and zero the worst.
24984	//
24985	// If you do not specify a metric explicitly, the default behavior is to automatically
24986	// use:
24987	//
24988	//    * MSE: for regression.
24989	//
24990	//    * F1: for binary classification
24991	//
24992	//    * Accuracy: for multiclass classification.
24993	//
24994	// MetricName is a required field
24995	MetricName *string `type:"string" required:"true" enum:"AutoMLMetricEnum"`
24996}
24997
24998// String returns the string representation
24999func (s AutoMLJobObjective) String() string {
25000	return awsutil.Prettify(s)
25001}
25002
25003// GoString returns the string representation
25004func (s AutoMLJobObjective) GoString() string {
25005	return s.String()
25006}
25007
25008// Validate inspects the fields of the type to determine if they are valid.
25009func (s *AutoMLJobObjective) Validate() error {
25010	invalidParams := request.ErrInvalidParams{Context: "AutoMLJobObjective"}
25011	if s.MetricName == nil {
25012		invalidParams.Add(request.NewErrParamRequired("MetricName"))
25013	}
25014
25015	if invalidParams.Len() > 0 {
25016		return invalidParams
25017	}
25018	return nil
25019}
25020
25021// SetMetricName sets the MetricName field's value.
25022func (s *AutoMLJobObjective) SetMetricName(v string) *AutoMLJobObjective {
25023	s.MetricName = &v
25024	return s
25025}
25026
25027// Provides a summary about an AutoML job.
25028type AutoMLJobSummary struct {
25029	_ struct{} `type:"structure"`
25030
25031	// The ARN of the AutoML job.
25032	//
25033	// AutoMLJobArn is a required field
25034	AutoMLJobArn *string `min:"1" type:"string" required:"true"`
25035
25036	// The name of the AutoML you are requesting.
25037	//
25038	// AutoMLJobName is a required field
25039	AutoMLJobName *string `min:"1" type:"string" required:"true"`
25040
25041	// The secondary status of the AutoML job.
25042	//
25043	// AutoMLJobSecondaryStatus is a required field
25044	AutoMLJobSecondaryStatus *string `type:"string" required:"true" enum:"AutoMLJobSecondaryStatus"`
25045
25046	// The status of the AutoML job.
25047	//
25048	// AutoMLJobStatus is a required field
25049	AutoMLJobStatus *string `type:"string" required:"true" enum:"AutoMLJobStatus"`
25050
25051	// When the AutoML job was created.
25052	//
25053	// CreationTime is a required field
25054	CreationTime *time.Time `type:"timestamp" required:"true"`
25055
25056	// The end time of an AutoML job.
25057	EndTime *time.Time `type:"timestamp"`
25058
25059	// The failure reason of an AutoML job.
25060	FailureReason *string `type:"string"`
25061
25062	// When the AutoML job was last modified.
25063	//
25064	// LastModifiedTime is a required field
25065	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
25066
25067	// The list of reasons for partial failures within an AutoML job.
25068	PartialFailureReasons []*AutoMLPartialFailureReason `min:"1" type:"list"`
25069}
25070
25071// String returns the string representation
25072func (s AutoMLJobSummary) String() string {
25073	return awsutil.Prettify(s)
25074}
25075
25076// GoString returns the string representation
25077func (s AutoMLJobSummary) GoString() string {
25078	return s.String()
25079}
25080
25081// SetAutoMLJobArn sets the AutoMLJobArn field's value.
25082func (s *AutoMLJobSummary) SetAutoMLJobArn(v string) *AutoMLJobSummary {
25083	s.AutoMLJobArn = &v
25084	return s
25085}
25086
25087// SetAutoMLJobName sets the AutoMLJobName field's value.
25088func (s *AutoMLJobSummary) SetAutoMLJobName(v string) *AutoMLJobSummary {
25089	s.AutoMLJobName = &v
25090	return s
25091}
25092
25093// SetAutoMLJobSecondaryStatus sets the AutoMLJobSecondaryStatus field's value.
25094func (s *AutoMLJobSummary) SetAutoMLJobSecondaryStatus(v string) *AutoMLJobSummary {
25095	s.AutoMLJobSecondaryStatus = &v
25096	return s
25097}
25098
25099// SetAutoMLJobStatus sets the AutoMLJobStatus field's value.
25100func (s *AutoMLJobSummary) SetAutoMLJobStatus(v string) *AutoMLJobSummary {
25101	s.AutoMLJobStatus = &v
25102	return s
25103}
25104
25105// SetCreationTime sets the CreationTime field's value.
25106func (s *AutoMLJobSummary) SetCreationTime(v time.Time) *AutoMLJobSummary {
25107	s.CreationTime = &v
25108	return s
25109}
25110
25111// SetEndTime sets the EndTime field's value.
25112func (s *AutoMLJobSummary) SetEndTime(v time.Time) *AutoMLJobSummary {
25113	s.EndTime = &v
25114	return s
25115}
25116
25117// SetFailureReason sets the FailureReason field's value.
25118func (s *AutoMLJobSummary) SetFailureReason(v string) *AutoMLJobSummary {
25119	s.FailureReason = &v
25120	return s
25121}
25122
25123// SetLastModifiedTime sets the LastModifiedTime field's value.
25124func (s *AutoMLJobSummary) SetLastModifiedTime(v time.Time) *AutoMLJobSummary {
25125	s.LastModifiedTime = &v
25126	return s
25127}
25128
25129// SetPartialFailureReasons sets the PartialFailureReasons field's value.
25130func (s *AutoMLJobSummary) SetPartialFailureReasons(v []*AutoMLPartialFailureReason) *AutoMLJobSummary {
25131	s.PartialFailureReasons = v
25132	return s
25133}
25134
25135// The output data configuration.
25136type AutoMLOutputDataConfig struct {
25137	_ struct{} `type:"structure"`
25138
25139	// The AWS KMS encryption key ID.
25140	KmsKeyId *string `type:"string"`
25141
25142	// The Amazon S3 output path. Must be 128 characters or less.
25143	//
25144	// S3OutputPath is a required field
25145	S3OutputPath *string `type:"string" required:"true"`
25146}
25147
25148// String returns the string representation
25149func (s AutoMLOutputDataConfig) String() string {
25150	return awsutil.Prettify(s)
25151}
25152
25153// GoString returns the string representation
25154func (s AutoMLOutputDataConfig) GoString() string {
25155	return s.String()
25156}
25157
25158// Validate inspects the fields of the type to determine if they are valid.
25159func (s *AutoMLOutputDataConfig) Validate() error {
25160	invalidParams := request.ErrInvalidParams{Context: "AutoMLOutputDataConfig"}
25161	if s.S3OutputPath == nil {
25162		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
25163	}
25164
25165	if invalidParams.Len() > 0 {
25166		return invalidParams
25167	}
25168	return nil
25169}
25170
25171// SetKmsKeyId sets the KmsKeyId field's value.
25172func (s *AutoMLOutputDataConfig) SetKmsKeyId(v string) *AutoMLOutputDataConfig {
25173	s.KmsKeyId = &v
25174	return s
25175}
25176
25177// SetS3OutputPath sets the S3OutputPath field's value.
25178func (s *AutoMLOutputDataConfig) SetS3OutputPath(v string) *AutoMLOutputDataConfig {
25179	s.S3OutputPath = &v
25180	return s
25181}
25182
25183// The reason for a partial failure of an AutoML job.
25184type AutoMLPartialFailureReason struct {
25185	_ struct{} `type:"structure"`
25186
25187	// The message containing the reason for a partial failure of an AutoML job.
25188	PartialFailureMessage *string `type:"string"`
25189}
25190
25191// String returns the string representation
25192func (s AutoMLPartialFailureReason) String() string {
25193	return awsutil.Prettify(s)
25194}
25195
25196// GoString returns the string representation
25197func (s AutoMLPartialFailureReason) GoString() string {
25198	return s.String()
25199}
25200
25201// SetPartialFailureMessage sets the PartialFailureMessage field's value.
25202func (s *AutoMLPartialFailureReason) SetPartialFailureMessage(v string) *AutoMLPartialFailureReason {
25203	s.PartialFailureMessage = &v
25204	return s
25205}
25206
25207// The Amazon S3 data source.
25208type AutoMLS3DataSource struct {
25209	_ struct{} `type:"structure"`
25210
25211	// The data type.
25212	//
25213	// S3DataType is a required field
25214	S3DataType *string `type:"string" required:"true" enum:"AutoMLS3DataType"`
25215
25216	// The URL to the Amazon S3 data source.
25217	//
25218	// S3Uri is a required field
25219	S3Uri *string `type:"string" required:"true"`
25220}
25221
25222// String returns the string representation
25223func (s AutoMLS3DataSource) String() string {
25224	return awsutil.Prettify(s)
25225}
25226
25227// GoString returns the string representation
25228func (s AutoMLS3DataSource) GoString() string {
25229	return s.String()
25230}
25231
25232// Validate inspects the fields of the type to determine if they are valid.
25233func (s *AutoMLS3DataSource) Validate() error {
25234	invalidParams := request.ErrInvalidParams{Context: "AutoMLS3DataSource"}
25235	if s.S3DataType == nil {
25236		invalidParams.Add(request.NewErrParamRequired("S3DataType"))
25237	}
25238	if s.S3Uri == nil {
25239		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
25240	}
25241
25242	if invalidParams.Len() > 0 {
25243		return invalidParams
25244	}
25245	return nil
25246}
25247
25248// SetS3DataType sets the S3DataType field's value.
25249func (s *AutoMLS3DataSource) SetS3DataType(v string) *AutoMLS3DataSource {
25250	s.S3DataType = &v
25251	return s
25252}
25253
25254// SetS3Uri sets the S3Uri field's value.
25255func (s *AutoMLS3DataSource) SetS3Uri(v string) *AutoMLS3DataSource {
25256	s.S3Uri = &v
25257	return s
25258}
25259
25260// Security options.
25261type AutoMLSecurityConfig struct {
25262	_ struct{} `type:"structure"`
25263
25264	// Whether to use traffic encryption between the container layers.
25265	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
25266
25267	// The key used to encrypt stored data.
25268	VolumeKmsKeyId *string `type:"string"`
25269
25270	// The VPC configuration.
25271	VpcConfig *VpcConfig `type:"structure"`
25272}
25273
25274// String returns the string representation
25275func (s AutoMLSecurityConfig) String() string {
25276	return awsutil.Prettify(s)
25277}
25278
25279// GoString returns the string representation
25280func (s AutoMLSecurityConfig) GoString() string {
25281	return s.String()
25282}
25283
25284// Validate inspects the fields of the type to determine if they are valid.
25285func (s *AutoMLSecurityConfig) Validate() error {
25286	invalidParams := request.ErrInvalidParams{Context: "AutoMLSecurityConfig"}
25287	if s.VpcConfig != nil {
25288		if err := s.VpcConfig.Validate(); err != nil {
25289			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
25290		}
25291	}
25292
25293	if invalidParams.Len() > 0 {
25294		return invalidParams
25295	}
25296	return nil
25297}
25298
25299// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
25300func (s *AutoMLSecurityConfig) SetEnableInterContainerTrafficEncryption(v bool) *AutoMLSecurityConfig {
25301	s.EnableInterContainerTrafficEncryption = &v
25302	return s
25303}
25304
25305// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
25306func (s *AutoMLSecurityConfig) SetVolumeKmsKeyId(v string) *AutoMLSecurityConfig {
25307	s.VolumeKmsKeyId = &v
25308	return s
25309}
25310
25311// SetVpcConfig sets the VpcConfig field's value.
25312func (s *AutoMLSecurityConfig) SetVpcConfig(v *VpcConfig) *AutoMLSecurityConfig {
25313	s.VpcConfig = v
25314	return s
25315}
25316
25317// Currently, the AutoRollbackConfig API is not supported.
25318type AutoRollbackConfig struct {
25319	_ struct{} `type:"structure"`
25320
25321	Alarms []*Alarm `min:"1" type:"list"`
25322}
25323
25324// String returns the string representation
25325func (s AutoRollbackConfig) String() string {
25326	return awsutil.Prettify(s)
25327}
25328
25329// GoString returns the string representation
25330func (s AutoRollbackConfig) GoString() string {
25331	return s.String()
25332}
25333
25334// Validate inspects the fields of the type to determine if they are valid.
25335func (s *AutoRollbackConfig) Validate() error {
25336	invalidParams := request.ErrInvalidParams{Context: "AutoRollbackConfig"}
25337	if s.Alarms != nil && len(s.Alarms) < 1 {
25338		invalidParams.Add(request.NewErrParamMinLen("Alarms", 1))
25339	}
25340	if s.Alarms != nil {
25341		for i, v := range s.Alarms {
25342			if v == nil {
25343				continue
25344			}
25345			if err := v.Validate(); err != nil {
25346				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Alarms", i), err.(request.ErrInvalidParams))
25347			}
25348		}
25349	}
25350
25351	if invalidParams.Len() > 0 {
25352		return invalidParams
25353	}
25354	return nil
25355}
25356
25357// SetAlarms sets the Alarms field's value.
25358func (s *AutoRollbackConfig) SetAlarms(v []*Alarm) *AutoRollbackConfig {
25359	s.Alarms = v
25360	return s
25361}
25362
25363// Contains bias metrics for a model.
25364type Bias struct {
25365	_ struct{} `type:"structure"`
25366
25367	// The bias report for a model
25368	Report *MetricsSource `type:"structure"`
25369}
25370
25371// String returns the string representation
25372func (s Bias) String() string {
25373	return awsutil.Prettify(s)
25374}
25375
25376// GoString returns the string representation
25377func (s Bias) GoString() string {
25378	return s.String()
25379}
25380
25381// Validate inspects the fields of the type to determine if they are valid.
25382func (s *Bias) Validate() error {
25383	invalidParams := request.ErrInvalidParams{Context: "Bias"}
25384	if s.Report != nil {
25385		if err := s.Report.Validate(); err != nil {
25386			invalidParams.AddNested("Report", err.(request.ErrInvalidParams))
25387		}
25388	}
25389
25390	if invalidParams.Len() > 0 {
25391		return invalidParams
25392	}
25393	return nil
25394}
25395
25396// SetReport sets the Report field's value.
25397func (s *Bias) SetReport(v *MetricsSource) *Bias {
25398	s.Report = v
25399	return s
25400}
25401
25402// Currently, the BlueGreenUpdatePolicy API is not supported.
25403type BlueGreenUpdatePolicy struct {
25404	_ struct{} `type:"structure"`
25405
25406	MaximumExecutionTimeoutInSeconds *int64 `min:"600" type:"integer"`
25407
25408	TerminationWaitInSeconds *int64 `type:"integer"`
25409
25410	// Currently, the TrafficRoutingConfig API is not supported.
25411	//
25412	// TrafficRoutingConfiguration is a required field
25413	TrafficRoutingConfiguration *TrafficRoutingConfig `type:"structure" required:"true"`
25414}
25415
25416// String returns the string representation
25417func (s BlueGreenUpdatePolicy) String() string {
25418	return awsutil.Prettify(s)
25419}
25420
25421// GoString returns the string representation
25422func (s BlueGreenUpdatePolicy) GoString() string {
25423	return s.String()
25424}
25425
25426// Validate inspects the fields of the type to determine if they are valid.
25427func (s *BlueGreenUpdatePolicy) Validate() error {
25428	invalidParams := request.ErrInvalidParams{Context: "BlueGreenUpdatePolicy"}
25429	if s.MaximumExecutionTimeoutInSeconds != nil && *s.MaximumExecutionTimeoutInSeconds < 600 {
25430		invalidParams.Add(request.NewErrParamMinValue("MaximumExecutionTimeoutInSeconds", 600))
25431	}
25432	if s.TrafficRoutingConfiguration == nil {
25433		invalidParams.Add(request.NewErrParamRequired("TrafficRoutingConfiguration"))
25434	}
25435	if s.TrafficRoutingConfiguration != nil {
25436		if err := s.TrafficRoutingConfiguration.Validate(); err != nil {
25437			invalidParams.AddNested("TrafficRoutingConfiguration", err.(request.ErrInvalidParams))
25438		}
25439	}
25440
25441	if invalidParams.Len() > 0 {
25442		return invalidParams
25443	}
25444	return nil
25445}
25446
25447// SetMaximumExecutionTimeoutInSeconds sets the MaximumExecutionTimeoutInSeconds field's value.
25448func (s *BlueGreenUpdatePolicy) SetMaximumExecutionTimeoutInSeconds(v int64) *BlueGreenUpdatePolicy {
25449	s.MaximumExecutionTimeoutInSeconds = &v
25450	return s
25451}
25452
25453// SetTerminationWaitInSeconds sets the TerminationWaitInSeconds field's value.
25454func (s *BlueGreenUpdatePolicy) SetTerminationWaitInSeconds(v int64) *BlueGreenUpdatePolicy {
25455	s.TerminationWaitInSeconds = &v
25456	return s
25457}
25458
25459// SetTrafficRoutingConfiguration sets the TrafficRoutingConfiguration field's value.
25460func (s *BlueGreenUpdatePolicy) SetTrafficRoutingConfiguration(v *TrafficRoutingConfig) *BlueGreenUpdatePolicy {
25461	s.TrafficRoutingConfiguration = v
25462	return s
25463}
25464
25465// Details on the cache hit of a pipeline execution step.
25466type CacheHitResult struct {
25467	_ struct{} `type:"structure"`
25468
25469	// The Amazon Resource Name (ARN) of the pipeline execution.
25470	SourcePipelineExecutionArn *string `type:"string"`
25471}
25472
25473// String returns the string representation
25474func (s CacheHitResult) String() string {
25475	return awsutil.Prettify(s)
25476}
25477
25478// GoString returns the string representation
25479func (s CacheHitResult) GoString() string {
25480	return s.String()
25481}
25482
25483// SetSourcePipelineExecutionArn sets the SourcePipelineExecutionArn field's value.
25484func (s *CacheHitResult) SetSourcePipelineExecutionArn(v string) *CacheHitResult {
25485	s.SourcePipelineExecutionArn = &v
25486	return s
25487}
25488
25489// The location of artifacts for an AutoML candidate job.
25490type CandidateArtifactLocations struct {
25491	_ struct{} `type:"structure"`
25492
25493	// The Amazon S3 prefix to the explainability artifacts generated for the AutoML
25494	// candidate.
25495	//
25496	// Explainability is a required field
25497	Explainability *string `min:"1" type:"string" required:"true"`
25498}
25499
25500// String returns the string representation
25501func (s CandidateArtifactLocations) String() string {
25502	return awsutil.Prettify(s)
25503}
25504
25505// GoString returns the string representation
25506func (s CandidateArtifactLocations) GoString() string {
25507	return s.String()
25508}
25509
25510// SetExplainability sets the Explainability field's value.
25511func (s *CandidateArtifactLocations) SetExplainability(v string) *CandidateArtifactLocations {
25512	s.Explainability = &v
25513	return s
25514}
25515
25516// The properties of an AutoML candidate job.
25517type CandidateProperties struct {
25518	_ struct{} `type:"structure"`
25519
25520	// The Amazon S3 prefix to the artifacts generated for an AutoML candidate.
25521	CandidateArtifactLocations *CandidateArtifactLocations `type:"structure"`
25522}
25523
25524// String returns the string representation
25525func (s CandidateProperties) String() string {
25526	return awsutil.Prettify(s)
25527}
25528
25529// GoString returns the string representation
25530func (s CandidateProperties) GoString() string {
25531	return s.String()
25532}
25533
25534// SetCandidateArtifactLocations sets the CandidateArtifactLocations field's value.
25535func (s *CandidateProperties) SetCandidateArtifactLocations(v *CandidateArtifactLocations) *CandidateProperties {
25536	s.CandidateArtifactLocations = v
25537	return s
25538}
25539
25540// Currently, the CapacitySize API is not supported.
25541type CapacitySize struct {
25542	_ struct{} `type:"structure"`
25543
25544	// This API is not supported.
25545	//
25546	// Type is a required field
25547	Type *string `type:"string" required:"true" enum:"CapacitySizeType"`
25548
25549	// Value is a required field
25550	Value *int64 `min:"1" type:"integer" required:"true"`
25551}
25552
25553// String returns the string representation
25554func (s CapacitySize) String() string {
25555	return awsutil.Prettify(s)
25556}
25557
25558// GoString returns the string representation
25559func (s CapacitySize) GoString() string {
25560	return s.String()
25561}
25562
25563// Validate inspects the fields of the type to determine if they are valid.
25564func (s *CapacitySize) Validate() error {
25565	invalidParams := request.ErrInvalidParams{Context: "CapacitySize"}
25566	if s.Type == nil {
25567		invalidParams.Add(request.NewErrParamRequired("Type"))
25568	}
25569	if s.Value == nil {
25570		invalidParams.Add(request.NewErrParamRequired("Value"))
25571	}
25572	if s.Value != nil && *s.Value < 1 {
25573		invalidParams.Add(request.NewErrParamMinValue("Value", 1))
25574	}
25575
25576	if invalidParams.Len() > 0 {
25577		return invalidParams
25578	}
25579	return nil
25580}
25581
25582// SetType sets the Type field's value.
25583func (s *CapacitySize) SetType(v string) *CapacitySize {
25584	s.Type = &v
25585	return s
25586}
25587
25588// SetValue sets the Value field's value.
25589func (s *CapacitySize) SetValue(v int64) *CapacitySize {
25590	s.Value = &v
25591	return s
25592}
25593
25594type CaptureContentTypeHeader struct {
25595	_ struct{} `type:"structure"`
25596
25597	CsvContentTypes []*string `min:"1" type:"list"`
25598
25599	JsonContentTypes []*string `min:"1" type:"list"`
25600}
25601
25602// String returns the string representation
25603func (s CaptureContentTypeHeader) String() string {
25604	return awsutil.Prettify(s)
25605}
25606
25607// GoString returns the string representation
25608func (s CaptureContentTypeHeader) GoString() string {
25609	return s.String()
25610}
25611
25612// Validate inspects the fields of the type to determine if they are valid.
25613func (s *CaptureContentTypeHeader) Validate() error {
25614	invalidParams := request.ErrInvalidParams{Context: "CaptureContentTypeHeader"}
25615	if s.CsvContentTypes != nil && len(s.CsvContentTypes) < 1 {
25616		invalidParams.Add(request.NewErrParamMinLen("CsvContentTypes", 1))
25617	}
25618	if s.JsonContentTypes != nil && len(s.JsonContentTypes) < 1 {
25619		invalidParams.Add(request.NewErrParamMinLen("JsonContentTypes", 1))
25620	}
25621
25622	if invalidParams.Len() > 0 {
25623		return invalidParams
25624	}
25625	return nil
25626}
25627
25628// SetCsvContentTypes sets the CsvContentTypes field's value.
25629func (s *CaptureContentTypeHeader) SetCsvContentTypes(v []*string) *CaptureContentTypeHeader {
25630	s.CsvContentTypes = v
25631	return s
25632}
25633
25634// SetJsonContentTypes sets the JsonContentTypes field's value.
25635func (s *CaptureContentTypeHeader) SetJsonContentTypes(v []*string) *CaptureContentTypeHeader {
25636	s.JsonContentTypes = v
25637	return s
25638}
25639
25640type CaptureOption struct {
25641	_ struct{} `type:"structure"`
25642
25643	// CaptureMode is a required field
25644	CaptureMode *string `type:"string" required:"true" enum:"CaptureMode"`
25645}
25646
25647// String returns the string representation
25648func (s CaptureOption) String() string {
25649	return awsutil.Prettify(s)
25650}
25651
25652// GoString returns the string representation
25653func (s CaptureOption) GoString() string {
25654	return s.String()
25655}
25656
25657// Validate inspects the fields of the type to determine if they are valid.
25658func (s *CaptureOption) Validate() error {
25659	invalidParams := request.ErrInvalidParams{Context: "CaptureOption"}
25660	if s.CaptureMode == nil {
25661		invalidParams.Add(request.NewErrParamRequired("CaptureMode"))
25662	}
25663
25664	if invalidParams.Len() > 0 {
25665		return invalidParams
25666	}
25667	return nil
25668}
25669
25670// SetCaptureMode sets the CaptureMode field's value.
25671func (s *CaptureOption) SetCaptureMode(v string) *CaptureOption {
25672	s.CaptureMode = &v
25673	return s
25674}
25675
25676// A list of categorical hyperparameters to tune.
25677type CategoricalParameterRange struct {
25678	_ struct{} `type:"structure"`
25679
25680	// The name of the categorical hyperparameter to tune.
25681	//
25682	// Name is a required field
25683	Name *string `type:"string" required:"true"`
25684
25685	// A list of the categories for the hyperparameter.
25686	//
25687	// Values is a required field
25688	Values []*string `min:"1" type:"list" required:"true"`
25689}
25690
25691// String returns the string representation
25692func (s CategoricalParameterRange) String() string {
25693	return awsutil.Prettify(s)
25694}
25695
25696// GoString returns the string representation
25697func (s CategoricalParameterRange) GoString() string {
25698	return s.String()
25699}
25700
25701// Validate inspects the fields of the type to determine if they are valid.
25702func (s *CategoricalParameterRange) Validate() error {
25703	invalidParams := request.ErrInvalidParams{Context: "CategoricalParameterRange"}
25704	if s.Name == nil {
25705		invalidParams.Add(request.NewErrParamRequired("Name"))
25706	}
25707	if s.Values == nil {
25708		invalidParams.Add(request.NewErrParamRequired("Values"))
25709	}
25710	if s.Values != nil && len(s.Values) < 1 {
25711		invalidParams.Add(request.NewErrParamMinLen("Values", 1))
25712	}
25713
25714	if invalidParams.Len() > 0 {
25715		return invalidParams
25716	}
25717	return nil
25718}
25719
25720// SetName sets the Name field's value.
25721func (s *CategoricalParameterRange) SetName(v string) *CategoricalParameterRange {
25722	s.Name = &v
25723	return s
25724}
25725
25726// SetValues sets the Values field's value.
25727func (s *CategoricalParameterRange) SetValues(v []*string) *CategoricalParameterRange {
25728	s.Values = v
25729	return s
25730}
25731
25732// Defines the possible values for a categorical hyperparameter.
25733type CategoricalParameterRangeSpecification struct {
25734	_ struct{} `type:"structure"`
25735
25736	// The allowed categories for the hyperparameter.
25737	//
25738	// Values is a required field
25739	Values []*string `min:"1" type:"list" required:"true"`
25740}
25741
25742// String returns the string representation
25743func (s CategoricalParameterRangeSpecification) String() string {
25744	return awsutil.Prettify(s)
25745}
25746
25747// GoString returns the string representation
25748func (s CategoricalParameterRangeSpecification) GoString() string {
25749	return s.String()
25750}
25751
25752// Validate inspects the fields of the type to determine if they are valid.
25753func (s *CategoricalParameterRangeSpecification) Validate() error {
25754	invalidParams := request.ErrInvalidParams{Context: "CategoricalParameterRangeSpecification"}
25755	if s.Values == nil {
25756		invalidParams.Add(request.NewErrParamRequired("Values"))
25757	}
25758	if s.Values != nil && len(s.Values) < 1 {
25759		invalidParams.Add(request.NewErrParamMinLen("Values", 1))
25760	}
25761
25762	if invalidParams.Len() > 0 {
25763		return invalidParams
25764	}
25765	return nil
25766}
25767
25768// SetValues sets the Values field's value.
25769func (s *CategoricalParameterRangeSpecification) SetValues(v []*string) *CategoricalParameterRangeSpecification {
25770	s.Values = v
25771	return s
25772}
25773
25774// A channel is a named input source that training algorithms can consume.
25775type Channel struct {
25776	_ struct{} `type:"structure"`
25777
25778	// The name of the channel.
25779	//
25780	// ChannelName is a required field
25781	ChannelName *string `min:"1" type:"string" required:"true"`
25782
25783	// If training data is compressed, the compression type. The default value is
25784	// None. CompressionType is used only in Pipe input mode. In File mode, leave
25785	// this field unset or set it to None.
25786	CompressionType *string `type:"string" enum:"CompressionType"`
25787
25788	// The MIME type of the data.
25789	ContentType *string `type:"string"`
25790
25791	// The location of the channel data.
25792	//
25793	// DataSource is a required field
25794	DataSource *DataSource `type:"structure" required:"true"`
25795
25796	// (Optional) The input mode to use for the data channel in a training job.
25797	// If you don't set a value for InputMode, Amazon SageMaker uses the value set
25798	// for TrainingInputMode. Use this parameter to override the TrainingInputMode
25799	// setting in a AlgorithmSpecification request when you have a channel that
25800	// needs a different input mode from the training job's general setting. To
25801	// download the data from Amazon Simple Storage Service (Amazon S3) to the provisioned
25802	// ML storage volume, and mount the directory to a Docker volume, use File input
25803	// mode. To stream data directly from Amazon S3 to the container, choose Pipe
25804	// input mode.
25805	//
25806	// To use a model for incremental training, choose File input model.
25807	InputMode *string `type:"string" enum:"TrainingInputMode"`
25808
25809	// Specify RecordIO as the value when input data is in raw format but the training
25810	// algorithm requires the RecordIO format. In this case, Amazon SageMaker wraps
25811	// each individual S3 object in a RecordIO record. If the input data is already
25812	// in RecordIO format, you don't need to set this attribute. For more information,
25813	// see Create a Dataset Using RecordIO (https://mxnet.apache.org/api/architecture/note_data_loading#data-format).
25814	//
25815	// In File mode, leave this field unset or set it to None.
25816	RecordWrapperType *string `type:"string" enum:"RecordWrapper"`
25817
25818	// A configuration for a shuffle option for input data in a channel. If you
25819	// use S3Prefix for S3DataType, this shuffles the results of the S3 key prefix
25820	// matches. If you use ManifestFile, the order of the S3 object references in
25821	// the ManifestFile is shuffled. If you use AugmentedManifestFile, the order
25822	// of the JSON lines in the AugmentedManifestFile is shuffled. The shuffling
25823	// order is determined using the Seed value.
25824	//
25825	// For Pipe input mode, shuffling is done at the start of every epoch. With
25826	// large datasets this ensures that the order of the training data is different
25827	// for each epoch, it helps reduce bias and possible overfitting. In a multi-node
25828	// training job when ShuffleConfig is combined with S3DataDistributionType of
25829	// ShardedByS3Key, the data is shuffled across nodes so that the content sent
25830	// to a particular node on the first epoch might be sent to a different node
25831	// on the second epoch.
25832	ShuffleConfig *ShuffleConfig `type:"structure"`
25833}
25834
25835// String returns the string representation
25836func (s Channel) String() string {
25837	return awsutil.Prettify(s)
25838}
25839
25840// GoString returns the string representation
25841func (s Channel) GoString() string {
25842	return s.String()
25843}
25844
25845// Validate inspects the fields of the type to determine if they are valid.
25846func (s *Channel) Validate() error {
25847	invalidParams := request.ErrInvalidParams{Context: "Channel"}
25848	if s.ChannelName == nil {
25849		invalidParams.Add(request.NewErrParamRequired("ChannelName"))
25850	}
25851	if s.ChannelName != nil && len(*s.ChannelName) < 1 {
25852		invalidParams.Add(request.NewErrParamMinLen("ChannelName", 1))
25853	}
25854	if s.DataSource == nil {
25855		invalidParams.Add(request.NewErrParamRequired("DataSource"))
25856	}
25857	if s.DataSource != nil {
25858		if err := s.DataSource.Validate(); err != nil {
25859			invalidParams.AddNested("DataSource", err.(request.ErrInvalidParams))
25860		}
25861	}
25862	if s.ShuffleConfig != nil {
25863		if err := s.ShuffleConfig.Validate(); err != nil {
25864			invalidParams.AddNested("ShuffleConfig", err.(request.ErrInvalidParams))
25865		}
25866	}
25867
25868	if invalidParams.Len() > 0 {
25869		return invalidParams
25870	}
25871	return nil
25872}
25873
25874// SetChannelName sets the ChannelName field's value.
25875func (s *Channel) SetChannelName(v string) *Channel {
25876	s.ChannelName = &v
25877	return s
25878}
25879
25880// SetCompressionType sets the CompressionType field's value.
25881func (s *Channel) SetCompressionType(v string) *Channel {
25882	s.CompressionType = &v
25883	return s
25884}
25885
25886// SetContentType sets the ContentType field's value.
25887func (s *Channel) SetContentType(v string) *Channel {
25888	s.ContentType = &v
25889	return s
25890}
25891
25892// SetDataSource sets the DataSource field's value.
25893func (s *Channel) SetDataSource(v *DataSource) *Channel {
25894	s.DataSource = v
25895	return s
25896}
25897
25898// SetInputMode sets the InputMode field's value.
25899func (s *Channel) SetInputMode(v string) *Channel {
25900	s.InputMode = &v
25901	return s
25902}
25903
25904// SetRecordWrapperType sets the RecordWrapperType field's value.
25905func (s *Channel) SetRecordWrapperType(v string) *Channel {
25906	s.RecordWrapperType = &v
25907	return s
25908}
25909
25910// SetShuffleConfig sets the ShuffleConfig field's value.
25911func (s *Channel) SetShuffleConfig(v *ShuffleConfig) *Channel {
25912	s.ShuffleConfig = v
25913	return s
25914}
25915
25916// Defines a named input source, called a channel, to be used by an algorithm.
25917type ChannelSpecification struct {
25918	_ struct{} `type:"structure"`
25919
25920	// A brief description of the channel.
25921	Description *string `type:"string"`
25922
25923	// Indicates whether the channel is required by the algorithm.
25924	IsRequired *bool `type:"boolean"`
25925
25926	// The name of the channel.
25927	//
25928	// Name is a required field
25929	Name *string `min:"1" type:"string" required:"true"`
25930
25931	// The allowed compression types, if data compression is used.
25932	SupportedCompressionTypes []*string `type:"list"`
25933
25934	// The supported MIME types for the data.
25935	//
25936	// SupportedContentTypes is a required field
25937	SupportedContentTypes []*string `type:"list" required:"true"`
25938
25939	// The allowed input mode, either FILE or PIPE.
25940	//
25941	// In FILE mode, Amazon SageMaker copies the data from the input source onto
25942	// the local Amazon Elastic Block Store (Amazon EBS) volumes before starting
25943	// your training algorithm. This is the most commonly used input mode.
25944	//
25945	// In PIPE mode, Amazon SageMaker streams input data from the source directly
25946	// to your algorithm without using the EBS volume.
25947	//
25948	// SupportedInputModes is a required field
25949	SupportedInputModes []*string `min:"1" type:"list" required:"true"`
25950}
25951
25952// String returns the string representation
25953func (s ChannelSpecification) String() string {
25954	return awsutil.Prettify(s)
25955}
25956
25957// GoString returns the string representation
25958func (s ChannelSpecification) GoString() string {
25959	return s.String()
25960}
25961
25962// Validate inspects the fields of the type to determine if they are valid.
25963func (s *ChannelSpecification) Validate() error {
25964	invalidParams := request.ErrInvalidParams{Context: "ChannelSpecification"}
25965	if s.Name == nil {
25966		invalidParams.Add(request.NewErrParamRequired("Name"))
25967	}
25968	if s.Name != nil && len(*s.Name) < 1 {
25969		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
25970	}
25971	if s.SupportedContentTypes == nil {
25972		invalidParams.Add(request.NewErrParamRequired("SupportedContentTypes"))
25973	}
25974	if s.SupportedInputModes == nil {
25975		invalidParams.Add(request.NewErrParamRequired("SupportedInputModes"))
25976	}
25977	if s.SupportedInputModes != nil && len(s.SupportedInputModes) < 1 {
25978		invalidParams.Add(request.NewErrParamMinLen("SupportedInputModes", 1))
25979	}
25980
25981	if invalidParams.Len() > 0 {
25982		return invalidParams
25983	}
25984	return nil
25985}
25986
25987// SetDescription sets the Description field's value.
25988func (s *ChannelSpecification) SetDescription(v string) *ChannelSpecification {
25989	s.Description = &v
25990	return s
25991}
25992
25993// SetIsRequired sets the IsRequired field's value.
25994func (s *ChannelSpecification) SetIsRequired(v bool) *ChannelSpecification {
25995	s.IsRequired = &v
25996	return s
25997}
25998
25999// SetName sets the Name field's value.
26000func (s *ChannelSpecification) SetName(v string) *ChannelSpecification {
26001	s.Name = &v
26002	return s
26003}
26004
26005// SetSupportedCompressionTypes sets the SupportedCompressionTypes field's value.
26006func (s *ChannelSpecification) SetSupportedCompressionTypes(v []*string) *ChannelSpecification {
26007	s.SupportedCompressionTypes = v
26008	return s
26009}
26010
26011// SetSupportedContentTypes sets the SupportedContentTypes field's value.
26012func (s *ChannelSpecification) SetSupportedContentTypes(v []*string) *ChannelSpecification {
26013	s.SupportedContentTypes = v
26014	return s
26015}
26016
26017// SetSupportedInputModes sets the SupportedInputModes field's value.
26018func (s *ChannelSpecification) SetSupportedInputModes(v []*string) *ChannelSpecification {
26019	s.SupportedInputModes = v
26020	return s
26021}
26022
26023// Contains information about the output location for managed spot training
26024// checkpoint data.
26025type CheckpointConfig struct {
26026	_ struct{} `type:"structure"`
26027
26028	// (Optional) The local directory where checkpoints are written. The default
26029	// directory is /opt/ml/checkpoints/.
26030	LocalPath *string `type:"string"`
26031
26032	// Identifies the S3 path where you want Amazon SageMaker to store checkpoints.
26033	// For example, s3://bucket-name/key-name-prefix.
26034	//
26035	// S3Uri is a required field
26036	S3Uri *string `type:"string" required:"true"`
26037}
26038
26039// String returns the string representation
26040func (s CheckpointConfig) String() string {
26041	return awsutil.Prettify(s)
26042}
26043
26044// GoString returns the string representation
26045func (s CheckpointConfig) GoString() string {
26046	return s.String()
26047}
26048
26049// Validate inspects the fields of the type to determine if they are valid.
26050func (s *CheckpointConfig) Validate() error {
26051	invalidParams := request.ErrInvalidParams{Context: "CheckpointConfig"}
26052	if s.S3Uri == nil {
26053		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
26054	}
26055
26056	if invalidParams.Len() > 0 {
26057		return invalidParams
26058	}
26059	return nil
26060}
26061
26062// SetLocalPath sets the LocalPath field's value.
26063func (s *CheckpointConfig) SetLocalPath(v string) *CheckpointConfig {
26064	s.LocalPath = &v
26065	return s
26066}
26067
26068// SetS3Uri sets the S3Uri field's value.
26069func (s *CheckpointConfig) SetS3Uri(v string) *CheckpointConfig {
26070	s.S3Uri = &v
26071	return s
26072}
26073
26074// Specifies summary information about a Git repository.
26075type CodeRepositorySummary struct {
26076	_ struct{} `type:"structure"`
26077
26078	// The Amazon Resource Name (ARN) of the Git repository.
26079	//
26080	// CodeRepositoryArn is a required field
26081	CodeRepositoryArn *string `min:"1" type:"string" required:"true"`
26082
26083	// The name of the Git repository.
26084	//
26085	// CodeRepositoryName is a required field
26086	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
26087
26088	// The date and time that the Git repository was created.
26089	//
26090	// CreationTime is a required field
26091	CreationTime *time.Time `type:"timestamp" required:"true"`
26092
26093	// Configuration details for the Git repository, including the URL where it
26094	// is located and the ARN of the AWS Secrets Manager secret that contains the
26095	// credentials used to access the repository.
26096	GitConfig *GitConfig `type:"structure"`
26097
26098	// The date and time that the Git repository was last modified.
26099	//
26100	// LastModifiedTime is a required field
26101	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
26102}
26103
26104// String returns the string representation
26105func (s CodeRepositorySummary) String() string {
26106	return awsutil.Prettify(s)
26107}
26108
26109// GoString returns the string representation
26110func (s CodeRepositorySummary) GoString() string {
26111	return s.String()
26112}
26113
26114// SetCodeRepositoryArn sets the CodeRepositoryArn field's value.
26115func (s *CodeRepositorySummary) SetCodeRepositoryArn(v string) *CodeRepositorySummary {
26116	s.CodeRepositoryArn = &v
26117	return s
26118}
26119
26120// SetCodeRepositoryName sets the CodeRepositoryName field's value.
26121func (s *CodeRepositorySummary) SetCodeRepositoryName(v string) *CodeRepositorySummary {
26122	s.CodeRepositoryName = &v
26123	return s
26124}
26125
26126// SetCreationTime sets the CreationTime field's value.
26127func (s *CodeRepositorySummary) SetCreationTime(v time.Time) *CodeRepositorySummary {
26128	s.CreationTime = &v
26129	return s
26130}
26131
26132// SetGitConfig sets the GitConfig field's value.
26133func (s *CodeRepositorySummary) SetGitConfig(v *GitConfig) *CodeRepositorySummary {
26134	s.GitConfig = v
26135	return s
26136}
26137
26138// SetLastModifiedTime sets the LastModifiedTime field's value.
26139func (s *CodeRepositorySummary) SetLastModifiedTime(v time.Time) *CodeRepositorySummary {
26140	s.LastModifiedTime = &v
26141	return s
26142}
26143
26144// Use this parameter to configure your Amazon Cognito workforce. A single Cognito
26145// workforce is created using and corresponds to a single Amazon Cognito user
26146// pool (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html).
26147type CognitoConfig struct {
26148	_ struct{} `type:"structure"`
26149
26150	// The client ID for your Amazon Cognito user pool.
26151	//
26152	// ClientId is a required field
26153	ClientId *string `min:"1" type:"string" required:"true"`
26154
26155	// A user pool (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html)
26156	// is a user directory in Amazon Cognito. With a user pool, your users can sign
26157	// in to your web or mobile app through Amazon Cognito. Your users can also
26158	// sign in through social identity providers like Google, Facebook, Amazon,
26159	// or Apple, and through SAML identity providers.
26160	//
26161	// UserPool is a required field
26162	UserPool *string `min:"1" type:"string" required:"true"`
26163}
26164
26165// String returns the string representation
26166func (s CognitoConfig) String() string {
26167	return awsutil.Prettify(s)
26168}
26169
26170// GoString returns the string representation
26171func (s CognitoConfig) GoString() string {
26172	return s.String()
26173}
26174
26175// Validate inspects the fields of the type to determine if they are valid.
26176func (s *CognitoConfig) Validate() error {
26177	invalidParams := request.ErrInvalidParams{Context: "CognitoConfig"}
26178	if s.ClientId == nil {
26179		invalidParams.Add(request.NewErrParamRequired("ClientId"))
26180	}
26181	if s.ClientId != nil && len(*s.ClientId) < 1 {
26182		invalidParams.Add(request.NewErrParamMinLen("ClientId", 1))
26183	}
26184	if s.UserPool == nil {
26185		invalidParams.Add(request.NewErrParamRequired("UserPool"))
26186	}
26187	if s.UserPool != nil && len(*s.UserPool) < 1 {
26188		invalidParams.Add(request.NewErrParamMinLen("UserPool", 1))
26189	}
26190
26191	if invalidParams.Len() > 0 {
26192		return invalidParams
26193	}
26194	return nil
26195}
26196
26197// SetClientId sets the ClientId field's value.
26198func (s *CognitoConfig) SetClientId(v string) *CognitoConfig {
26199	s.ClientId = &v
26200	return s
26201}
26202
26203// SetUserPool sets the UserPool field's value.
26204func (s *CognitoConfig) SetUserPool(v string) *CognitoConfig {
26205	s.UserPool = &v
26206	return s
26207}
26208
26209// Identifies a Amazon Cognito user group. A user group can be used in on or
26210// more work teams.
26211type CognitoMemberDefinition struct {
26212	_ struct{} `type:"structure"`
26213
26214	// An identifier for an application client. You must create the app client ID
26215	// using Amazon Cognito.
26216	//
26217	// ClientId is a required field
26218	ClientId *string `min:"1" type:"string" required:"true"`
26219
26220	// An identifier for a user group.
26221	//
26222	// UserGroup is a required field
26223	UserGroup *string `min:"1" type:"string" required:"true"`
26224
26225	// An identifier for a user pool. The user pool must be in the same region as
26226	// the service that you are calling.
26227	//
26228	// UserPool is a required field
26229	UserPool *string `min:"1" type:"string" required:"true"`
26230}
26231
26232// String returns the string representation
26233func (s CognitoMemberDefinition) String() string {
26234	return awsutil.Prettify(s)
26235}
26236
26237// GoString returns the string representation
26238func (s CognitoMemberDefinition) GoString() string {
26239	return s.String()
26240}
26241
26242// Validate inspects the fields of the type to determine if they are valid.
26243func (s *CognitoMemberDefinition) Validate() error {
26244	invalidParams := request.ErrInvalidParams{Context: "CognitoMemberDefinition"}
26245	if s.ClientId == nil {
26246		invalidParams.Add(request.NewErrParamRequired("ClientId"))
26247	}
26248	if s.ClientId != nil && len(*s.ClientId) < 1 {
26249		invalidParams.Add(request.NewErrParamMinLen("ClientId", 1))
26250	}
26251	if s.UserGroup == nil {
26252		invalidParams.Add(request.NewErrParamRequired("UserGroup"))
26253	}
26254	if s.UserGroup != nil && len(*s.UserGroup) < 1 {
26255		invalidParams.Add(request.NewErrParamMinLen("UserGroup", 1))
26256	}
26257	if s.UserPool == nil {
26258		invalidParams.Add(request.NewErrParamRequired("UserPool"))
26259	}
26260	if s.UserPool != nil && len(*s.UserPool) < 1 {
26261		invalidParams.Add(request.NewErrParamMinLen("UserPool", 1))
26262	}
26263
26264	if invalidParams.Len() > 0 {
26265		return invalidParams
26266	}
26267	return nil
26268}
26269
26270// SetClientId sets the ClientId field's value.
26271func (s *CognitoMemberDefinition) SetClientId(v string) *CognitoMemberDefinition {
26272	s.ClientId = &v
26273	return s
26274}
26275
26276// SetUserGroup sets the UserGroup field's value.
26277func (s *CognitoMemberDefinition) SetUserGroup(v string) *CognitoMemberDefinition {
26278	s.UserGroup = &v
26279	return s
26280}
26281
26282// SetUserPool sets the UserPool field's value.
26283func (s *CognitoMemberDefinition) SetUserPool(v string) *CognitoMemberDefinition {
26284	s.UserPool = &v
26285	return s
26286}
26287
26288// Configuration information for the Debugger output tensor collections.
26289type CollectionConfiguration struct {
26290	_ struct{} `type:"structure"`
26291
26292	// The name of the tensor collection. The name must be unique relative to other
26293	// rule configuration names.
26294	CollectionName *string `min:"1" type:"string"`
26295
26296	// Parameter values for the tensor collection. The allowed parameters are "name",
26297	// "include_regex", "reduction_config", "save_config", "tensor_names", and "save_histogram".
26298	CollectionParameters map[string]*string `type:"map"`
26299}
26300
26301// String returns the string representation
26302func (s CollectionConfiguration) String() string {
26303	return awsutil.Prettify(s)
26304}
26305
26306// GoString returns the string representation
26307func (s CollectionConfiguration) GoString() string {
26308	return s.String()
26309}
26310
26311// Validate inspects the fields of the type to determine if they are valid.
26312func (s *CollectionConfiguration) Validate() error {
26313	invalidParams := request.ErrInvalidParams{Context: "CollectionConfiguration"}
26314	if s.CollectionName != nil && len(*s.CollectionName) < 1 {
26315		invalidParams.Add(request.NewErrParamMinLen("CollectionName", 1))
26316	}
26317
26318	if invalidParams.Len() > 0 {
26319		return invalidParams
26320	}
26321	return nil
26322}
26323
26324// SetCollectionName sets the CollectionName field's value.
26325func (s *CollectionConfiguration) SetCollectionName(v string) *CollectionConfiguration {
26326	s.CollectionName = &v
26327	return s
26328}
26329
26330// SetCollectionParameters sets the CollectionParameters field's value.
26331func (s *CollectionConfiguration) SetCollectionParameters(v map[string]*string) *CollectionConfiguration {
26332	s.CollectionParameters = v
26333	return s
26334}
26335
26336// A summary of a model compilation job.
26337type CompilationJobSummary struct {
26338	_ struct{} `type:"structure"`
26339
26340	// The time when the model compilation job completed.
26341	CompilationEndTime *time.Time `type:"timestamp"`
26342
26343	// The Amazon Resource Name (ARN) of the model compilation job.
26344	//
26345	// CompilationJobArn is a required field
26346	CompilationJobArn *string `type:"string" required:"true"`
26347
26348	// The name of the model compilation job that you want a summary for.
26349	//
26350	// CompilationJobName is a required field
26351	CompilationJobName *string `min:"1" type:"string" required:"true"`
26352
26353	// The status of the model compilation job.
26354	//
26355	// CompilationJobStatus is a required field
26356	CompilationJobStatus *string `type:"string" required:"true" enum:"CompilationJobStatus"`
26357
26358	// The time when the model compilation job started.
26359	CompilationStartTime *time.Time `type:"timestamp"`
26360
26361	// The type of device that the model will run on after the compilation job has
26362	// completed.
26363	CompilationTargetDevice *string `type:"string" enum:"TargetDevice"`
26364
26365	// The type of accelerator that the model will run on after the compilation
26366	// job has completed.
26367	CompilationTargetPlatformAccelerator *string `type:"string" enum:"TargetPlatformAccelerator"`
26368
26369	// The type of architecture that the model will run on after the compilation
26370	// job has completed.
26371	CompilationTargetPlatformArch *string `type:"string" enum:"TargetPlatformArch"`
26372
26373	// The type of OS that the model will run on after the compilation job has completed.
26374	CompilationTargetPlatformOs *string `type:"string" enum:"TargetPlatformOs"`
26375
26376	// The time when the model compilation job was created.
26377	//
26378	// CreationTime is a required field
26379	CreationTime *time.Time `type:"timestamp" required:"true"`
26380
26381	// The time when the model compilation job was last modified.
26382	LastModifiedTime *time.Time `type:"timestamp"`
26383}
26384
26385// String returns the string representation
26386func (s CompilationJobSummary) String() string {
26387	return awsutil.Prettify(s)
26388}
26389
26390// GoString returns the string representation
26391func (s CompilationJobSummary) GoString() string {
26392	return s.String()
26393}
26394
26395// SetCompilationEndTime sets the CompilationEndTime field's value.
26396func (s *CompilationJobSummary) SetCompilationEndTime(v time.Time) *CompilationJobSummary {
26397	s.CompilationEndTime = &v
26398	return s
26399}
26400
26401// SetCompilationJobArn sets the CompilationJobArn field's value.
26402func (s *CompilationJobSummary) SetCompilationJobArn(v string) *CompilationJobSummary {
26403	s.CompilationJobArn = &v
26404	return s
26405}
26406
26407// SetCompilationJobName sets the CompilationJobName field's value.
26408func (s *CompilationJobSummary) SetCompilationJobName(v string) *CompilationJobSummary {
26409	s.CompilationJobName = &v
26410	return s
26411}
26412
26413// SetCompilationJobStatus sets the CompilationJobStatus field's value.
26414func (s *CompilationJobSummary) SetCompilationJobStatus(v string) *CompilationJobSummary {
26415	s.CompilationJobStatus = &v
26416	return s
26417}
26418
26419// SetCompilationStartTime sets the CompilationStartTime field's value.
26420func (s *CompilationJobSummary) SetCompilationStartTime(v time.Time) *CompilationJobSummary {
26421	s.CompilationStartTime = &v
26422	return s
26423}
26424
26425// SetCompilationTargetDevice sets the CompilationTargetDevice field's value.
26426func (s *CompilationJobSummary) SetCompilationTargetDevice(v string) *CompilationJobSummary {
26427	s.CompilationTargetDevice = &v
26428	return s
26429}
26430
26431// SetCompilationTargetPlatformAccelerator sets the CompilationTargetPlatformAccelerator field's value.
26432func (s *CompilationJobSummary) SetCompilationTargetPlatformAccelerator(v string) *CompilationJobSummary {
26433	s.CompilationTargetPlatformAccelerator = &v
26434	return s
26435}
26436
26437// SetCompilationTargetPlatformArch sets the CompilationTargetPlatformArch field's value.
26438func (s *CompilationJobSummary) SetCompilationTargetPlatformArch(v string) *CompilationJobSummary {
26439	s.CompilationTargetPlatformArch = &v
26440	return s
26441}
26442
26443// SetCompilationTargetPlatformOs sets the CompilationTargetPlatformOs field's value.
26444func (s *CompilationJobSummary) SetCompilationTargetPlatformOs(v string) *CompilationJobSummary {
26445	s.CompilationTargetPlatformOs = &v
26446	return s
26447}
26448
26449// SetCreationTime sets the CreationTime field's value.
26450func (s *CompilationJobSummary) SetCreationTime(v time.Time) *CompilationJobSummary {
26451	s.CreationTime = &v
26452	return s
26453}
26454
26455// SetLastModifiedTime sets the LastModifiedTime field's value.
26456func (s *CompilationJobSummary) SetLastModifiedTime(v time.Time) *CompilationJobSummary {
26457	s.LastModifiedTime = &v
26458	return s
26459}
26460
26461// Metadata for a Condition step.
26462type ConditionStepMetadata struct {
26463	_ struct{} `type:"structure"`
26464
26465	// The outcome of the Condition step evaluation.
26466	Outcome *string `type:"string" enum:"ConditionOutcome"`
26467}
26468
26469// String returns the string representation
26470func (s ConditionStepMetadata) String() string {
26471	return awsutil.Prettify(s)
26472}
26473
26474// GoString returns the string representation
26475func (s ConditionStepMetadata) GoString() string {
26476	return s.String()
26477}
26478
26479// SetOutcome sets the Outcome field's value.
26480func (s *ConditionStepMetadata) SetOutcome(v string) *ConditionStepMetadata {
26481	s.Outcome = &v
26482	return s
26483}
26484
26485// There was a conflict when you attempted to modify a SageMaker entity such
26486// as an Experiment or Artifact.
26487type ConflictException struct {
26488	_            struct{}                  `type:"structure"`
26489	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
26490
26491	Message_ *string `locationName:"Message" type:"string"`
26492}
26493
26494// String returns the string representation
26495func (s ConflictException) String() string {
26496	return awsutil.Prettify(s)
26497}
26498
26499// GoString returns the string representation
26500func (s ConflictException) GoString() string {
26501	return s.String()
26502}
26503
26504func newErrorConflictException(v protocol.ResponseMetadata) error {
26505	return &ConflictException{
26506		RespMetadata: v,
26507	}
26508}
26509
26510// Code returns the exception type name.
26511func (s *ConflictException) Code() string {
26512	return "ConflictException"
26513}
26514
26515// Message returns the exception's message.
26516func (s *ConflictException) Message() string {
26517	if s.Message_ != nil {
26518		return *s.Message_
26519	}
26520	return ""
26521}
26522
26523// OrigErr always returns nil, satisfies awserr.Error interface.
26524func (s *ConflictException) OrigErr() error {
26525	return nil
26526}
26527
26528func (s *ConflictException) Error() string {
26529	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
26530}
26531
26532// Status code returns the HTTP status code for the request's response error.
26533func (s *ConflictException) StatusCode() int {
26534	return s.RespMetadata.StatusCode
26535}
26536
26537// RequestID returns the service's response RequestID for request.
26538func (s *ConflictException) RequestID() string {
26539	return s.RespMetadata.RequestID
26540}
26541
26542// Describes the container, as part of model definition.
26543type ContainerDefinition struct {
26544	_ struct{} `type:"structure"`
26545
26546	// This parameter is ignored for models that contain only a PrimaryContainer.
26547	//
26548	// When a ContainerDefinition is part of an inference pipeline, the value of
26549	// the parameter uniquely identifies the container for the purposes of logging
26550	// and metrics. For information, see Use Logs and Metrics to Monitor an Inference
26551	// Pipeline (https://docs.aws.amazon.com/sagemaker/latest/dg/inference-pipeline-logs-metrics.html).
26552	// If you don't specify a value for this parameter for a ContainerDefinition
26553	// that is part of an inference pipeline, a unique name is automatically assigned
26554	// based on the position of the ContainerDefinition in the pipeline. If you
26555	// specify a value for the ContainerHostName for any ContainerDefinition that
26556	// is part of an inference pipeline, you must specify a value for the ContainerHostName
26557	// parameter of every ContainerDefinition in that pipeline.
26558	ContainerHostname *string `type:"string"`
26559
26560	// The environment variables to set in the Docker container. Each key and value
26561	// in the Environment string to string map can have length of up to 1024. We
26562	// support up to 16 entries in the map.
26563	Environment map[string]*string `type:"map"`
26564
26565	// The path where inference code is stored. This can be either in Amazon EC2
26566	// Container Registry or in a Docker registry that is accessible from the same
26567	// VPC that you configure for your endpoint. If you are using your own custom
26568	// algorithm instead of an algorithm provided by Amazon SageMaker, the inference
26569	// code must meet Amazon SageMaker requirements. Amazon SageMaker supports both
26570	// registry/repository[:tag] and registry/repository[@digest] image path formats.
26571	// For more information, see Using Your Own Algorithms with Amazon SageMaker
26572	// (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html)
26573	Image *string `type:"string"`
26574
26575	// Specifies whether the model container is in Amazon ECR or a private Docker
26576	// registry accessible from your Amazon Virtual Private Cloud (VPC). For information
26577	// about storing containers in a private Docker registry, see Use a Private
26578	// Docker Registry for Real-Time Inference Containers (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-containers-inference-private.html)
26579	ImageConfig *ImageConfig `type:"structure"`
26580
26581	// Whether the container hosts a single model or multiple models.
26582	Mode *string `type:"string" enum:"ContainerMode"`
26583
26584	// The S3 path where the model artifacts, which result from model training,
26585	// are stored. This path must point to a single gzip compressed tar archive
26586	// (.tar.gz suffix). The S3 path is required for Amazon SageMaker built-in algorithms,
26587	// but not if you use your own algorithms. For more information on built-in
26588	// algorithms, see Common Parameters (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html).
26589	//
26590	// The model artifacts must be in an S3 bucket that is in the same region as
26591	// the model or endpoint you are creating.
26592	//
26593	// If you provide a value for this parameter, Amazon SageMaker uses AWS Security
26594	// Token Service to download model artifacts from the S3 path you provide. AWS
26595	// STS is activated in your IAM user account by default. If you previously deactivated
26596	// AWS STS for a region, you need to reactivate AWS STS for that region. For
26597	// more information, see Activating and Deactivating AWS STS in an AWS Region
26598	// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
26599	// in the AWS Identity and Access Management User Guide.
26600	//
26601	// If you use a built-in algorithm to create a model, Amazon SageMaker requires
26602	// that you provide a S3 path to the model artifacts in ModelDataUrl.
26603	ModelDataUrl *string `type:"string"`
26604
26605	// The name or Amazon Resource Name (ARN) of the model package to use to create
26606	// the model.
26607	ModelPackageName *string `min:"1" type:"string"`
26608
26609	// Specifies additional configuration for multi-model endpoints.
26610	MultiModelConfig *MultiModelConfig `type:"structure"`
26611}
26612
26613// String returns the string representation
26614func (s ContainerDefinition) String() string {
26615	return awsutil.Prettify(s)
26616}
26617
26618// GoString returns the string representation
26619func (s ContainerDefinition) GoString() string {
26620	return s.String()
26621}
26622
26623// Validate inspects the fields of the type to determine if they are valid.
26624func (s *ContainerDefinition) Validate() error {
26625	invalidParams := request.ErrInvalidParams{Context: "ContainerDefinition"}
26626	if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 {
26627		invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1))
26628	}
26629	if s.ImageConfig != nil {
26630		if err := s.ImageConfig.Validate(); err != nil {
26631			invalidParams.AddNested("ImageConfig", err.(request.ErrInvalidParams))
26632		}
26633	}
26634
26635	if invalidParams.Len() > 0 {
26636		return invalidParams
26637	}
26638	return nil
26639}
26640
26641// SetContainerHostname sets the ContainerHostname field's value.
26642func (s *ContainerDefinition) SetContainerHostname(v string) *ContainerDefinition {
26643	s.ContainerHostname = &v
26644	return s
26645}
26646
26647// SetEnvironment sets the Environment field's value.
26648func (s *ContainerDefinition) SetEnvironment(v map[string]*string) *ContainerDefinition {
26649	s.Environment = v
26650	return s
26651}
26652
26653// SetImage sets the Image field's value.
26654func (s *ContainerDefinition) SetImage(v string) *ContainerDefinition {
26655	s.Image = &v
26656	return s
26657}
26658
26659// SetImageConfig sets the ImageConfig field's value.
26660func (s *ContainerDefinition) SetImageConfig(v *ImageConfig) *ContainerDefinition {
26661	s.ImageConfig = v
26662	return s
26663}
26664
26665// SetMode sets the Mode field's value.
26666func (s *ContainerDefinition) SetMode(v string) *ContainerDefinition {
26667	s.Mode = &v
26668	return s
26669}
26670
26671// SetModelDataUrl sets the ModelDataUrl field's value.
26672func (s *ContainerDefinition) SetModelDataUrl(v string) *ContainerDefinition {
26673	s.ModelDataUrl = &v
26674	return s
26675}
26676
26677// SetModelPackageName sets the ModelPackageName field's value.
26678func (s *ContainerDefinition) SetModelPackageName(v string) *ContainerDefinition {
26679	s.ModelPackageName = &v
26680	return s
26681}
26682
26683// SetMultiModelConfig sets the MultiModelConfig field's value.
26684func (s *ContainerDefinition) SetMultiModelConfig(v *MultiModelConfig) *ContainerDefinition {
26685	s.MultiModelConfig = v
26686	return s
26687}
26688
26689// A structure describing the source of a context.
26690type ContextSource struct {
26691	_ struct{} `type:"structure"`
26692
26693	// The ID of the source.
26694	SourceId *string `type:"string"`
26695
26696	// The type of the source.
26697	SourceType *string `type:"string"`
26698
26699	// The URI of the source.
26700	//
26701	// SourceUri is a required field
26702	SourceUri *string `type:"string" required:"true"`
26703}
26704
26705// String returns the string representation
26706func (s ContextSource) String() string {
26707	return awsutil.Prettify(s)
26708}
26709
26710// GoString returns the string representation
26711func (s ContextSource) GoString() string {
26712	return s.String()
26713}
26714
26715// Validate inspects the fields of the type to determine if they are valid.
26716func (s *ContextSource) Validate() error {
26717	invalidParams := request.ErrInvalidParams{Context: "ContextSource"}
26718	if s.SourceUri == nil {
26719		invalidParams.Add(request.NewErrParamRequired("SourceUri"))
26720	}
26721
26722	if invalidParams.Len() > 0 {
26723		return invalidParams
26724	}
26725	return nil
26726}
26727
26728// SetSourceId sets the SourceId field's value.
26729func (s *ContextSource) SetSourceId(v string) *ContextSource {
26730	s.SourceId = &v
26731	return s
26732}
26733
26734// SetSourceType sets the SourceType field's value.
26735func (s *ContextSource) SetSourceType(v string) *ContextSource {
26736	s.SourceType = &v
26737	return s
26738}
26739
26740// SetSourceUri sets the SourceUri field's value.
26741func (s *ContextSource) SetSourceUri(v string) *ContextSource {
26742	s.SourceUri = &v
26743	return s
26744}
26745
26746// Lists a summary of the properties of a context. A context provides a logical
26747// grouping of other entities.
26748type ContextSummary struct {
26749	_ struct{} `type:"structure"`
26750
26751	// The Amazon Resource Name (ARN) of the context.
26752	ContextArn *string `type:"string"`
26753
26754	// The name of the context.
26755	ContextName *string `min:"1" type:"string"`
26756
26757	// The type of the context.
26758	ContextType *string `type:"string"`
26759
26760	// When the context was created.
26761	CreationTime *time.Time `type:"timestamp"`
26762
26763	// When the context was last modified.
26764	LastModifiedTime *time.Time `type:"timestamp"`
26765
26766	// The source of the context.
26767	Source *ContextSource `type:"structure"`
26768}
26769
26770// String returns the string representation
26771func (s ContextSummary) String() string {
26772	return awsutil.Prettify(s)
26773}
26774
26775// GoString returns the string representation
26776func (s ContextSummary) GoString() string {
26777	return s.String()
26778}
26779
26780// SetContextArn sets the ContextArn field's value.
26781func (s *ContextSummary) SetContextArn(v string) *ContextSummary {
26782	s.ContextArn = &v
26783	return s
26784}
26785
26786// SetContextName sets the ContextName field's value.
26787func (s *ContextSummary) SetContextName(v string) *ContextSummary {
26788	s.ContextName = &v
26789	return s
26790}
26791
26792// SetContextType sets the ContextType field's value.
26793func (s *ContextSummary) SetContextType(v string) *ContextSummary {
26794	s.ContextType = &v
26795	return s
26796}
26797
26798// SetCreationTime sets the CreationTime field's value.
26799func (s *ContextSummary) SetCreationTime(v time.Time) *ContextSummary {
26800	s.CreationTime = &v
26801	return s
26802}
26803
26804// SetLastModifiedTime sets the LastModifiedTime field's value.
26805func (s *ContextSummary) SetLastModifiedTime(v time.Time) *ContextSummary {
26806	s.LastModifiedTime = &v
26807	return s
26808}
26809
26810// SetSource sets the Source field's value.
26811func (s *ContextSummary) SetSource(v *ContextSource) *ContextSummary {
26812	s.Source = v
26813	return s
26814}
26815
26816// A list of continuous hyperparameters to tune.
26817type ContinuousParameterRange struct {
26818	_ struct{} `type:"structure"`
26819
26820	// The maximum value for the hyperparameter. The tuning job uses floating-point
26821	// values between MinValue value and this value for tuning.
26822	//
26823	// MaxValue is a required field
26824	MaxValue *string `type:"string" required:"true"`
26825
26826	// The minimum value for the hyperparameter. The tuning job uses floating-point
26827	// values between this value and MaxValuefor tuning.
26828	//
26829	// MinValue is a required field
26830	MinValue *string `type:"string" required:"true"`
26831
26832	// The name of the continuous hyperparameter to tune.
26833	//
26834	// Name is a required field
26835	Name *string `type:"string" required:"true"`
26836
26837	// The scale that hyperparameter tuning uses to search the hyperparameter range.
26838	// For information about choosing a hyperparameter scale, see Hyperparameter
26839	// Scaling (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-ranges.html#scaling-type).
26840	// One of the following values:
26841	//
26842	// Auto
26843	//
26844	// Amazon SageMaker hyperparameter tuning chooses the best scale for the hyperparameter.
26845	//
26846	// Linear
26847	//
26848	// Hyperparameter tuning searches the values in the hyperparameter range by
26849	// using a linear scale.
26850	//
26851	// Logarithmic
26852	//
26853	// Hyperparameter tuning searches the values in the hyperparameter range by
26854	// using a logarithmic scale.
26855	//
26856	// Logarithmic scaling works only for ranges that have only values greater than
26857	// 0.
26858	//
26859	// ReverseLogarithmic
26860	//
26861	// Hyperparameter tuning searches the values in the hyperparameter range by
26862	// using a reverse logarithmic scale.
26863	//
26864	// Reverse logarithmic scaling works only for ranges that are entirely within
26865	// the range 0<=x<1.0.
26866	ScalingType *string `type:"string" enum:"HyperParameterScalingType"`
26867}
26868
26869// String returns the string representation
26870func (s ContinuousParameterRange) String() string {
26871	return awsutil.Prettify(s)
26872}
26873
26874// GoString returns the string representation
26875func (s ContinuousParameterRange) GoString() string {
26876	return s.String()
26877}
26878
26879// Validate inspects the fields of the type to determine if they are valid.
26880func (s *ContinuousParameterRange) Validate() error {
26881	invalidParams := request.ErrInvalidParams{Context: "ContinuousParameterRange"}
26882	if s.MaxValue == nil {
26883		invalidParams.Add(request.NewErrParamRequired("MaxValue"))
26884	}
26885	if s.MinValue == nil {
26886		invalidParams.Add(request.NewErrParamRequired("MinValue"))
26887	}
26888	if s.Name == nil {
26889		invalidParams.Add(request.NewErrParamRequired("Name"))
26890	}
26891
26892	if invalidParams.Len() > 0 {
26893		return invalidParams
26894	}
26895	return nil
26896}
26897
26898// SetMaxValue sets the MaxValue field's value.
26899func (s *ContinuousParameterRange) SetMaxValue(v string) *ContinuousParameterRange {
26900	s.MaxValue = &v
26901	return s
26902}
26903
26904// SetMinValue sets the MinValue field's value.
26905func (s *ContinuousParameterRange) SetMinValue(v string) *ContinuousParameterRange {
26906	s.MinValue = &v
26907	return s
26908}
26909
26910// SetName sets the Name field's value.
26911func (s *ContinuousParameterRange) SetName(v string) *ContinuousParameterRange {
26912	s.Name = &v
26913	return s
26914}
26915
26916// SetScalingType sets the ScalingType field's value.
26917func (s *ContinuousParameterRange) SetScalingType(v string) *ContinuousParameterRange {
26918	s.ScalingType = &v
26919	return s
26920}
26921
26922// Defines the possible values for a continuous hyperparameter.
26923type ContinuousParameterRangeSpecification struct {
26924	_ struct{} `type:"structure"`
26925
26926	// The maximum floating-point value allowed.
26927	//
26928	// MaxValue is a required field
26929	MaxValue *string `type:"string" required:"true"`
26930
26931	// The minimum floating-point value allowed.
26932	//
26933	// MinValue is a required field
26934	MinValue *string `type:"string" required:"true"`
26935}
26936
26937// String returns the string representation
26938func (s ContinuousParameterRangeSpecification) String() string {
26939	return awsutil.Prettify(s)
26940}
26941
26942// GoString returns the string representation
26943func (s ContinuousParameterRangeSpecification) GoString() string {
26944	return s.String()
26945}
26946
26947// Validate inspects the fields of the type to determine if they are valid.
26948func (s *ContinuousParameterRangeSpecification) Validate() error {
26949	invalidParams := request.ErrInvalidParams{Context: "ContinuousParameterRangeSpecification"}
26950	if s.MaxValue == nil {
26951		invalidParams.Add(request.NewErrParamRequired("MaxValue"))
26952	}
26953	if s.MinValue == nil {
26954		invalidParams.Add(request.NewErrParamRequired("MinValue"))
26955	}
26956
26957	if invalidParams.Len() > 0 {
26958		return invalidParams
26959	}
26960	return nil
26961}
26962
26963// SetMaxValue sets the MaxValue field's value.
26964func (s *ContinuousParameterRangeSpecification) SetMaxValue(v string) *ContinuousParameterRangeSpecification {
26965	s.MaxValue = &v
26966	return s
26967}
26968
26969// SetMinValue sets the MinValue field's value.
26970func (s *ContinuousParameterRangeSpecification) SetMinValue(v string) *ContinuousParameterRangeSpecification {
26971	s.MinValue = &v
26972	return s
26973}
26974
26975type CreateActionInput struct {
26976	_ struct{} `type:"structure"`
26977
26978	// The name of the action. Must be unique to your account in an AWS Region.
26979	//
26980	// ActionName is a required field
26981	ActionName *string `min:"1" type:"string" required:"true"`
26982
26983	// The action type.
26984	//
26985	// ActionType is a required field
26986	ActionType *string `type:"string" required:"true"`
26987
26988	// The description of the action.
26989	Description *string `type:"string"`
26990
26991	// Metadata properties of the tracking entity, trial, or trial component.
26992	MetadataProperties *MetadataProperties `type:"structure"`
26993
26994	// A list of properties to add to the action.
26995	Properties map[string]*string `type:"map"`
26996
26997	// The source type, ID, and URI.
26998	//
26999	// Source is a required field
27000	Source *ActionSource `type:"structure" required:"true"`
27001
27002	// The status of the action.
27003	Status *string `type:"string" enum:"ActionStatus"`
27004
27005	// A list of tags to apply to the action.
27006	Tags []*Tag `type:"list"`
27007}
27008
27009// String returns the string representation
27010func (s CreateActionInput) String() string {
27011	return awsutil.Prettify(s)
27012}
27013
27014// GoString returns the string representation
27015func (s CreateActionInput) GoString() string {
27016	return s.String()
27017}
27018
27019// Validate inspects the fields of the type to determine if they are valid.
27020func (s *CreateActionInput) Validate() error {
27021	invalidParams := request.ErrInvalidParams{Context: "CreateActionInput"}
27022	if s.ActionName == nil {
27023		invalidParams.Add(request.NewErrParamRequired("ActionName"))
27024	}
27025	if s.ActionName != nil && len(*s.ActionName) < 1 {
27026		invalidParams.Add(request.NewErrParamMinLen("ActionName", 1))
27027	}
27028	if s.ActionType == nil {
27029		invalidParams.Add(request.NewErrParamRequired("ActionType"))
27030	}
27031	if s.Source == nil {
27032		invalidParams.Add(request.NewErrParamRequired("Source"))
27033	}
27034	if s.Source != nil {
27035		if err := s.Source.Validate(); err != nil {
27036			invalidParams.AddNested("Source", err.(request.ErrInvalidParams))
27037		}
27038	}
27039	if s.Tags != nil {
27040		for i, v := range s.Tags {
27041			if v == nil {
27042				continue
27043			}
27044			if err := v.Validate(); err != nil {
27045				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
27046			}
27047		}
27048	}
27049
27050	if invalidParams.Len() > 0 {
27051		return invalidParams
27052	}
27053	return nil
27054}
27055
27056// SetActionName sets the ActionName field's value.
27057func (s *CreateActionInput) SetActionName(v string) *CreateActionInput {
27058	s.ActionName = &v
27059	return s
27060}
27061
27062// SetActionType sets the ActionType field's value.
27063func (s *CreateActionInput) SetActionType(v string) *CreateActionInput {
27064	s.ActionType = &v
27065	return s
27066}
27067
27068// SetDescription sets the Description field's value.
27069func (s *CreateActionInput) SetDescription(v string) *CreateActionInput {
27070	s.Description = &v
27071	return s
27072}
27073
27074// SetMetadataProperties sets the MetadataProperties field's value.
27075func (s *CreateActionInput) SetMetadataProperties(v *MetadataProperties) *CreateActionInput {
27076	s.MetadataProperties = v
27077	return s
27078}
27079
27080// SetProperties sets the Properties field's value.
27081func (s *CreateActionInput) SetProperties(v map[string]*string) *CreateActionInput {
27082	s.Properties = v
27083	return s
27084}
27085
27086// SetSource sets the Source field's value.
27087func (s *CreateActionInput) SetSource(v *ActionSource) *CreateActionInput {
27088	s.Source = v
27089	return s
27090}
27091
27092// SetStatus sets the Status field's value.
27093func (s *CreateActionInput) SetStatus(v string) *CreateActionInput {
27094	s.Status = &v
27095	return s
27096}
27097
27098// SetTags sets the Tags field's value.
27099func (s *CreateActionInput) SetTags(v []*Tag) *CreateActionInput {
27100	s.Tags = v
27101	return s
27102}
27103
27104type CreateActionOutput struct {
27105	_ struct{} `type:"structure"`
27106
27107	// The Amazon Resource Name (ARN) of the action.
27108	ActionArn *string `type:"string"`
27109}
27110
27111// String returns the string representation
27112func (s CreateActionOutput) String() string {
27113	return awsutil.Prettify(s)
27114}
27115
27116// GoString returns the string representation
27117func (s CreateActionOutput) GoString() string {
27118	return s.String()
27119}
27120
27121// SetActionArn sets the ActionArn field's value.
27122func (s *CreateActionOutput) SetActionArn(v string) *CreateActionOutput {
27123	s.ActionArn = &v
27124	return s
27125}
27126
27127type CreateAlgorithmInput struct {
27128	_ struct{} `type:"structure"`
27129
27130	// A description of the algorithm.
27131	AlgorithmDescription *string `type:"string"`
27132
27133	// The name of the algorithm.
27134	//
27135	// AlgorithmName is a required field
27136	AlgorithmName *string `min:"1" type:"string" required:"true"`
27137
27138	// Whether to certify the algorithm so that it can be listed in AWS Marketplace.
27139	CertifyForMarketplace *bool `type:"boolean"`
27140
27141	// Specifies details about inference jobs that the algorithm runs, including
27142	// the following:
27143	//
27144	//    * The Amazon ECR paths of containers that contain the inference code and
27145	//    model artifacts.
27146	//
27147	//    * The instance types that the algorithm supports for transform jobs and
27148	//    real-time endpoints used for inference.
27149	//
27150	//    * The input and output content formats that the algorithm supports for
27151	//    inference.
27152	InferenceSpecification *InferenceSpecification `type:"structure"`
27153
27154	// An array of key-value pairs. You can use tags to categorize your AWS resources
27155	// in different ways, for example, by purpose, owner, or environment. For more
27156	// information, see Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
27157	Tags []*Tag `type:"list"`
27158
27159	// Specifies details about training jobs run by this algorithm, including the
27160	// following:
27161	//
27162	//    * The Amazon ECR path of the container and the version digest of the algorithm.
27163	//
27164	//    * The hyperparameters that the algorithm supports.
27165	//
27166	//    * The instance types that the algorithm supports for training.
27167	//
27168	//    * Whether the algorithm supports distributed training.
27169	//
27170	//    * The metrics that the algorithm emits to Amazon CloudWatch.
27171	//
27172	//    * Which metrics that the algorithm emits can be used as the objective
27173	//    metric for hyperparameter tuning jobs.
27174	//
27175	//    * The input channels that the algorithm supports for training data. For
27176	//    example, an algorithm might support train, validation, and test channels.
27177	//
27178	// TrainingSpecification is a required field
27179	TrainingSpecification *TrainingSpecification `type:"structure" required:"true"`
27180
27181	// Specifies configurations for one or more training jobs and that Amazon SageMaker
27182	// runs to test the algorithm's training code and, optionally, one or more batch
27183	// transform jobs that Amazon SageMaker runs to test the algorithm's inference
27184	// code.
27185	ValidationSpecification *AlgorithmValidationSpecification `type:"structure"`
27186}
27187
27188// String returns the string representation
27189func (s CreateAlgorithmInput) String() string {
27190	return awsutil.Prettify(s)
27191}
27192
27193// GoString returns the string representation
27194func (s CreateAlgorithmInput) GoString() string {
27195	return s.String()
27196}
27197
27198// Validate inspects the fields of the type to determine if they are valid.
27199func (s *CreateAlgorithmInput) Validate() error {
27200	invalidParams := request.ErrInvalidParams{Context: "CreateAlgorithmInput"}
27201	if s.AlgorithmName == nil {
27202		invalidParams.Add(request.NewErrParamRequired("AlgorithmName"))
27203	}
27204	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
27205		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
27206	}
27207	if s.TrainingSpecification == nil {
27208		invalidParams.Add(request.NewErrParamRequired("TrainingSpecification"))
27209	}
27210	if s.InferenceSpecification != nil {
27211		if err := s.InferenceSpecification.Validate(); err != nil {
27212			invalidParams.AddNested("InferenceSpecification", err.(request.ErrInvalidParams))
27213		}
27214	}
27215	if s.Tags != nil {
27216		for i, v := range s.Tags {
27217			if v == nil {
27218				continue
27219			}
27220			if err := v.Validate(); err != nil {
27221				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
27222			}
27223		}
27224	}
27225	if s.TrainingSpecification != nil {
27226		if err := s.TrainingSpecification.Validate(); err != nil {
27227			invalidParams.AddNested("TrainingSpecification", err.(request.ErrInvalidParams))
27228		}
27229	}
27230	if s.ValidationSpecification != nil {
27231		if err := s.ValidationSpecification.Validate(); err != nil {
27232			invalidParams.AddNested("ValidationSpecification", err.(request.ErrInvalidParams))
27233		}
27234	}
27235
27236	if invalidParams.Len() > 0 {
27237		return invalidParams
27238	}
27239	return nil
27240}
27241
27242// SetAlgorithmDescription sets the AlgorithmDescription field's value.
27243func (s *CreateAlgorithmInput) SetAlgorithmDescription(v string) *CreateAlgorithmInput {
27244	s.AlgorithmDescription = &v
27245	return s
27246}
27247
27248// SetAlgorithmName sets the AlgorithmName field's value.
27249func (s *CreateAlgorithmInput) SetAlgorithmName(v string) *CreateAlgorithmInput {
27250	s.AlgorithmName = &v
27251	return s
27252}
27253
27254// SetCertifyForMarketplace sets the CertifyForMarketplace field's value.
27255func (s *CreateAlgorithmInput) SetCertifyForMarketplace(v bool) *CreateAlgorithmInput {
27256	s.CertifyForMarketplace = &v
27257	return s
27258}
27259
27260// SetInferenceSpecification sets the InferenceSpecification field's value.
27261func (s *CreateAlgorithmInput) SetInferenceSpecification(v *InferenceSpecification) *CreateAlgorithmInput {
27262	s.InferenceSpecification = v
27263	return s
27264}
27265
27266// SetTags sets the Tags field's value.
27267func (s *CreateAlgorithmInput) SetTags(v []*Tag) *CreateAlgorithmInput {
27268	s.Tags = v
27269	return s
27270}
27271
27272// SetTrainingSpecification sets the TrainingSpecification field's value.
27273func (s *CreateAlgorithmInput) SetTrainingSpecification(v *TrainingSpecification) *CreateAlgorithmInput {
27274	s.TrainingSpecification = v
27275	return s
27276}
27277
27278// SetValidationSpecification sets the ValidationSpecification field's value.
27279func (s *CreateAlgorithmInput) SetValidationSpecification(v *AlgorithmValidationSpecification) *CreateAlgorithmInput {
27280	s.ValidationSpecification = v
27281	return s
27282}
27283
27284type CreateAlgorithmOutput struct {
27285	_ struct{} `type:"structure"`
27286
27287	// The Amazon Resource Name (ARN) of the new algorithm.
27288	//
27289	// AlgorithmArn is a required field
27290	AlgorithmArn *string `min:"1" type:"string" required:"true"`
27291}
27292
27293// String returns the string representation
27294func (s CreateAlgorithmOutput) String() string {
27295	return awsutil.Prettify(s)
27296}
27297
27298// GoString returns the string representation
27299func (s CreateAlgorithmOutput) GoString() string {
27300	return s.String()
27301}
27302
27303// SetAlgorithmArn sets the AlgorithmArn field's value.
27304func (s *CreateAlgorithmOutput) SetAlgorithmArn(v string) *CreateAlgorithmOutput {
27305	s.AlgorithmArn = &v
27306	return s
27307}
27308
27309type CreateAppImageConfigInput struct {
27310	_ struct{} `type:"structure"`
27311
27312	// The name of the AppImageConfig. Must be unique to your account.
27313	//
27314	// AppImageConfigName is a required field
27315	AppImageConfigName *string `type:"string" required:"true"`
27316
27317	// The KernelGatewayImageConfig.
27318	KernelGatewayImageConfig *KernelGatewayImageConfig `type:"structure"`
27319
27320	// A list of tags to apply to the AppImageConfig.
27321	Tags []*Tag `type:"list"`
27322}
27323
27324// String returns the string representation
27325func (s CreateAppImageConfigInput) String() string {
27326	return awsutil.Prettify(s)
27327}
27328
27329// GoString returns the string representation
27330func (s CreateAppImageConfigInput) GoString() string {
27331	return s.String()
27332}
27333
27334// Validate inspects the fields of the type to determine if they are valid.
27335func (s *CreateAppImageConfigInput) Validate() error {
27336	invalidParams := request.ErrInvalidParams{Context: "CreateAppImageConfigInput"}
27337	if s.AppImageConfigName == nil {
27338		invalidParams.Add(request.NewErrParamRequired("AppImageConfigName"))
27339	}
27340	if s.KernelGatewayImageConfig != nil {
27341		if err := s.KernelGatewayImageConfig.Validate(); err != nil {
27342			invalidParams.AddNested("KernelGatewayImageConfig", err.(request.ErrInvalidParams))
27343		}
27344	}
27345	if s.Tags != nil {
27346		for i, v := range s.Tags {
27347			if v == nil {
27348				continue
27349			}
27350			if err := v.Validate(); err != nil {
27351				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
27352			}
27353		}
27354	}
27355
27356	if invalidParams.Len() > 0 {
27357		return invalidParams
27358	}
27359	return nil
27360}
27361
27362// SetAppImageConfigName sets the AppImageConfigName field's value.
27363func (s *CreateAppImageConfigInput) SetAppImageConfigName(v string) *CreateAppImageConfigInput {
27364	s.AppImageConfigName = &v
27365	return s
27366}
27367
27368// SetKernelGatewayImageConfig sets the KernelGatewayImageConfig field's value.
27369func (s *CreateAppImageConfigInput) SetKernelGatewayImageConfig(v *KernelGatewayImageConfig) *CreateAppImageConfigInput {
27370	s.KernelGatewayImageConfig = v
27371	return s
27372}
27373
27374// SetTags sets the Tags field's value.
27375func (s *CreateAppImageConfigInput) SetTags(v []*Tag) *CreateAppImageConfigInput {
27376	s.Tags = v
27377	return s
27378}
27379
27380type CreateAppImageConfigOutput struct {
27381	_ struct{} `type:"structure"`
27382
27383	// The Amazon Resource Name (ARN) of the AppImageConfig.
27384	AppImageConfigArn *string `type:"string"`
27385}
27386
27387// String returns the string representation
27388func (s CreateAppImageConfigOutput) String() string {
27389	return awsutil.Prettify(s)
27390}
27391
27392// GoString returns the string representation
27393func (s CreateAppImageConfigOutput) GoString() string {
27394	return s.String()
27395}
27396
27397// SetAppImageConfigArn sets the AppImageConfigArn field's value.
27398func (s *CreateAppImageConfigOutput) SetAppImageConfigArn(v string) *CreateAppImageConfigOutput {
27399	s.AppImageConfigArn = &v
27400	return s
27401}
27402
27403type CreateAppInput struct {
27404	_ struct{} `type:"structure"`
27405
27406	// The name of the app.
27407	//
27408	// AppName is a required field
27409	AppName *string `type:"string" required:"true"`
27410
27411	// The type of app. Supported apps are JupyterServer and KernelGateway. TensorBoard
27412	// is not supported.
27413	//
27414	// AppType is a required field
27415	AppType *string `type:"string" required:"true" enum:"AppType"`
27416
27417	// The domain ID.
27418	//
27419	// DomainId is a required field
27420	DomainId *string `type:"string" required:"true"`
27421
27422	// The instance type and the Amazon Resource Name (ARN) of the SageMaker image
27423	// created on the instance.
27424	ResourceSpec *ResourceSpec `type:"structure"`
27425
27426	// Each tag consists of a key and an optional value. Tag keys must be unique
27427	// per resource.
27428	Tags []*Tag `type:"list"`
27429
27430	// The user profile name.
27431	//
27432	// UserProfileName is a required field
27433	UserProfileName *string `type:"string" required:"true"`
27434}
27435
27436// String returns the string representation
27437func (s CreateAppInput) String() string {
27438	return awsutil.Prettify(s)
27439}
27440
27441// GoString returns the string representation
27442func (s CreateAppInput) GoString() string {
27443	return s.String()
27444}
27445
27446// Validate inspects the fields of the type to determine if they are valid.
27447func (s *CreateAppInput) Validate() error {
27448	invalidParams := request.ErrInvalidParams{Context: "CreateAppInput"}
27449	if s.AppName == nil {
27450		invalidParams.Add(request.NewErrParamRequired("AppName"))
27451	}
27452	if s.AppType == nil {
27453		invalidParams.Add(request.NewErrParamRequired("AppType"))
27454	}
27455	if s.DomainId == nil {
27456		invalidParams.Add(request.NewErrParamRequired("DomainId"))
27457	}
27458	if s.UserProfileName == nil {
27459		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
27460	}
27461	if s.Tags != nil {
27462		for i, v := range s.Tags {
27463			if v == nil {
27464				continue
27465			}
27466			if err := v.Validate(); err != nil {
27467				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
27468			}
27469		}
27470	}
27471
27472	if invalidParams.Len() > 0 {
27473		return invalidParams
27474	}
27475	return nil
27476}
27477
27478// SetAppName sets the AppName field's value.
27479func (s *CreateAppInput) SetAppName(v string) *CreateAppInput {
27480	s.AppName = &v
27481	return s
27482}
27483
27484// SetAppType sets the AppType field's value.
27485func (s *CreateAppInput) SetAppType(v string) *CreateAppInput {
27486	s.AppType = &v
27487	return s
27488}
27489
27490// SetDomainId sets the DomainId field's value.
27491func (s *CreateAppInput) SetDomainId(v string) *CreateAppInput {
27492	s.DomainId = &v
27493	return s
27494}
27495
27496// SetResourceSpec sets the ResourceSpec field's value.
27497func (s *CreateAppInput) SetResourceSpec(v *ResourceSpec) *CreateAppInput {
27498	s.ResourceSpec = v
27499	return s
27500}
27501
27502// SetTags sets the Tags field's value.
27503func (s *CreateAppInput) SetTags(v []*Tag) *CreateAppInput {
27504	s.Tags = v
27505	return s
27506}
27507
27508// SetUserProfileName sets the UserProfileName field's value.
27509func (s *CreateAppInput) SetUserProfileName(v string) *CreateAppInput {
27510	s.UserProfileName = &v
27511	return s
27512}
27513
27514type CreateAppOutput struct {
27515	_ struct{} `type:"structure"`
27516
27517	// The Amazon Resource Name (ARN) of the app.
27518	AppArn *string `type:"string"`
27519}
27520
27521// String returns the string representation
27522func (s CreateAppOutput) String() string {
27523	return awsutil.Prettify(s)
27524}
27525
27526// GoString returns the string representation
27527func (s CreateAppOutput) GoString() string {
27528	return s.String()
27529}
27530
27531// SetAppArn sets the AppArn field's value.
27532func (s *CreateAppOutput) SetAppArn(v string) *CreateAppOutput {
27533	s.AppArn = &v
27534	return s
27535}
27536
27537type CreateArtifactInput struct {
27538	_ struct{} `type:"structure"`
27539
27540	// The name of the artifact. Must be unique to your account in an AWS Region.
27541	ArtifactName *string `min:"1" type:"string"`
27542
27543	// The artifact type.
27544	//
27545	// ArtifactType is a required field
27546	ArtifactType *string `type:"string" required:"true"`
27547
27548	// Metadata properties of the tracking entity, trial, or trial component.
27549	MetadataProperties *MetadataProperties `type:"structure"`
27550
27551	// A list of properties to add to the artifact.
27552	Properties map[string]*string `type:"map"`
27553
27554	// The ID, ID type, and URI of the source.
27555	//
27556	// Source is a required field
27557	Source *ArtifactSource `type:"structure" required:"true"`
27558
27559	// A list of tags to apply to the artifact.
27560	Tags []*Tag `type:"list"`
27561}
27562
27563// String returns the string representation
27564func (s CreateArtifactInput) String() string {
27565	return awsutil.Prettify(s)
27566}
27567
27568// GoString returns the string representation
27569func (s CreateArtifactInput) GoString() string {
27570	return s.String()
27571}
27572
27573// Validate inspects the fields of the type to determine if they are valid.
27574func (s *CreateArtifactInput) Validate() error {
27575	invalidParams := request.ErrInvalidParams{Context: "CreateArtifactInput"}
27576	if s.ArtifactName != nil && len(*s.ArtifactName) < 1 {
27577		invalidParams.Add(request.NewErrParamMinLen("ArtifactName", 1))
27578	}
27579	if s.ArtifactType == nil {
27580		invalidParams.Add(request.NewErrParamRequired("ArtifactType"))
27581	}
27582	if s.Source == nil {
27583		invalidParams.Add(request.NewErrParamRequired("Source"))
27584	}
27585	if s.Source != nil {
27586		if err := s.Source.Validate(); err != nil {
27587			invalidParams.AddNested("Source", err.(request.ErrInvalidParams))
27588		}
27589	}
27590	if s.Tags != nil {
27591		for i, v := range s.Tags {
27592			if v == nil {
27593				continue
27594			}
27595			if err := v.Validate(); err != nil {
27596				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
27597			}
27598		}
27599	}
27600
27601	if invalidParams.Len() > 0 {
27602		return invalidParams
27603	}
27604	return nil
27605}
27606
27607// SetArtifactName sets the ArtifactName field's value.
27608func (s *CreateArtifactInput) SetArtifactName(v string) *CreateArtifactInput {
27609	s.ArtifactName = &v
27610	return s
27611}
27612
27613// SetArtifactType sets the ArtifactType field's value.
27614func (s *CreateArtifactInput) SetArtifactType(v string) *CreateArtifactInput {
27615	s.ArtifactType = &v
27616	return s
27617}
27618
27619// SetMetadataProperties sets the MetadataProperties field's value.
27620func (s *CreateArtifactInput) SetMetadataProperties(v *MetadataProperties) *CreateArtifactInput {
27621	s.MetadataProperties = v
27622	return s
27623}
27624
27625// SetProperties sets the Properties field's value.
27626func (s *CreateArtifactInput) SetProperties(v map[string]*string) *CreateArtifactInput {
27627	s.Properties = v
27628	return s
27629}
27630
27631// SetSource sets the Source field's value.
27632func (s *CreateArtifactInput) SetSource(v *ArtifactSource) *CreateArtifactInput {
27633	s.Source = v
27634	return s
27635}
27636
27637// SetTags sets the Tags field's value.
27638func (s *CreateArtifactInput) SetTags(v []*Tag) *CreateArtifactInput {
27639	s.Tags = v
27640	return s
27641}
27642
27643type CreateArtifactOutput struct {
27644	_ struct{} `type:"structure"`
27645
27646	// The Amazon Resource Name (ARN) of the artifact.
27647	ArtifactArn *string `type:"string"`
27648}
27649
27650// String returns the string representation
27651func (s CreateArtifactOutput) String() string {
27652	return awsutil.Prettify(s)
27653}
27654
27655// GoString returns the string representation
27656func (s CreateArtifactOutput) GoString() string {
27657	return s.String()
27658}
27659
27660// SetArtifactArn sets the ArtifactArn field's value.
27661func (s *CreateArtifactOutput) SetArtifactArn(v string) *CreateArtifactOutput {
27662	s.ArtifactArn = &v
27663	return s
27664}
27665
27666type CreateAutoMLJobInput struct {
27667	_ struct{} `type:"structure"`
27668
27669	// Contains CompletionCriteria and SecurityConfig settings for the AutoML job.
27670	AutoMLJobConfig *AutoMLJobConfig `type:"structure"`
27671
27672	// Identifies an Autopilot job. The name must be unique to your account and
27673	// is case-insensitive.
27674	//
27675	// AutoMLJobName is a required field
27676	AutoMLJobName *string `min:"1" type:"string" required:"true"`
27677
27678	// Defines the objective metric used to measure the predictive quality of an
27679	// AutoML job. You provide an AutoMLJobObjective$MetricName and Autopilot infers
27680	// whether to minimize or maximize it.
27681	AutoMLJobObjective *AutoMLJobObjective `type:"structure"`
27682
27683	// Generates possible candidates without training the models. A candidate is
27684	// a combination of data preprocessors, algorithms, and algorithm parameter
27685	// settings.
27686	GenerateCandidateDefinitionsOnly *bool `type:"boolean"`
27687
27688	// An array of channel objects that describes the input data and its location.
27689	// Each channel is a named input source. Similar to InputDataConfig supported
27690	// by . Format(s) supported: CSV. Minimum of 500 rows.
27691	//
27692	// InputDataConfig is a required field
27693	InputDataConfig []*AutoMLChannel `min:"1" type:"list" required:"true"`
27694
27695	// Specifies how to generate the endpoint name for an automatic one-click Autopilot
27696	// model deployment.
27697	ModelDeployConfig *ModelDeployConfig `type:"structure"`
27698
27699	// Provides information about encryption and the Amazon S3 output path needed
27700	// to store artifacts from an AutoML job. Format(s) supported: CSV.
27701	//
27702	// <para>Specifies whether to automatically deploy the best &ATP; model to an
27703	// endpoint and the name of that endpoint if deployed automatically.</para>
27704	//
27705	// OutputDataConfig is a required field
27706	OutputDataConfig *AutoMLOutputDataConfig `type:"structure" required:"true"`
27707
27708	// Defines the type of supervised learning available for the candidates. Options
27709	// include: BinaryClassification, MulticlassClassification, and Regression.
27710	// For more information, see Amazon SageMaker Autopilot problem types and algorithm
27711	// support (https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development-problem-types.html).
27712	ProblemType *string `type:"string" enum:"ProblemType"`
27713
27714	// The ARN of the role that is used to access the data.
27715	//
27716	// <para>Specifies whether to automatically deploy the best &ATP; model to an
27717	// endpoint and the name of that endpoint if deployed automatically.</para>
27718	//
27719	// RoleArn is a required field
27720	RoleArn *string `min:"20" type:"string" required:"true"`
27721
27722	// Each tag consists of a key and an optional value. Tag keys must be unique
27723	// per resource.
27724	Tags []*Tag `type:"list"`
27725}
27726
27727// String returns the string representation
27728func (s CreateAutoMLJobInput) String() string {
27729	return awsutil.Prettify(s)
27730}
27731
27732// GoString returns the string representation
27733func (s CreateAutoMLJobInput) GoString() string {
27734	return s.String()
27735}
27736
27737// Validate inspects the fields of the type to determine if they are valid.
27738func (s *CreateAutoMLJobInput) Validate() error {
27739	invalidParams := request.ErrInvalidParams{Context: "CreateAutoMLJobInput"}
27740	if s.AutoMLJobName == nil {
27741		invalidParams.Add(request.NewErrParamRequired("AutoMLJobName"))
27742	}
27743	if s.AutoMLJobName != nil && len(*s.AutoMLJobName) < 1 {
27744		invalidParams.Add(request.NewErrParamMinLen("AutoMLJobName", 1))
27745	}
27746	if s.InputDataConfig == nil {
27747		invalidParams.Add(request.NewErrParamRequired("InputDataConfig"))
27748	}
27749	if s.InputDataConfig != nil && len(s.InputDataConfig) < 1 {
27750		invalidParams.Add(request.NewErrParamMinLen("InputDataConfig", 1))
27751	}
27752	if s.OutputDataConfig == nil {
27753		invalidParams.Add(request.NewErrParamRequired("OutputDataConfig"))
27754	}
27755	if s.RoleArn == nil {
27756		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
27757	}
27758	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
27759		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
27760	}
27761	if s.AutoMLJobConfig != nil {
27762		if err := s.AutoMLJobConfig.Validate(); err != nil {
27763			invalidParams.AddNested("AutoMLJobConfig", err.(request.ErrInvalidParams))
27764		}
27765	}
27766	if s.AutoMLJobObjective != nil {
27767		if err := s.AutoMLJobObjective.Validate(); err != nil {
27768			invalidParams.AddNested("AutoMLJobObjective", err.(request.ErrInvalidParams))
27769		}
27770	}
27771	if s.InputDataConfig != nil {
27772		for i, v := range s.InputDataConfig {
27773			if v == nil {
27774				continue
27775			}
27776			if err := v.Validate(); err != nil {
27777				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputDataConfig", i), err.(request.ErrInvalidParams))
27778			}
27779		}
27780	}
27781	if s.OutputDataConfig != nil {
27782		if err := s.OutputDataConfig.Validate(); err != nil {
27783			invalidParams.AddNested("OutputDataConfig", err.(request.ErrInvalidParams))
27784		}
27785	}
27786	if s.Tags != nil {
27787		for i, v := range s.Tags {
27788			if v == nil {
27789				continue
27790			}
27791			if err := v.Validate(); err != nil {
27792				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
27793			}
27794		}
27795	}
27796
27797	if invalidParams.Len() > 0 {
27798		return invalidParams
27799	}
27800	return nil
27801}
27802
27803// SetAutoMLJobConfig sets the AutoMLJobConfig field's value.
27804func (s *CreateAutoMLJobInput) SetAutoMLJobConfig(v *AutoMLJobConfig) *CreateAutoMLJobInput {
27805	s.AutoMLJobConfig = v
27806	return s
27807}
27808
27809// SetAutoMLJobName sets the AutoMLJobName field's value.
27810func (s *CreateAutoMLJobInput) SetAutoMLJobName(v string) *CreateAutoMLJobInput {
27811	s.AutoMLJobName = &v
27812	return s
27813}
27814
27815// SetAutoMLJobObjective sets the AutoMLJobObjective field's value.
27816func (s *CreateAutoMLJobInput) SetAutoMLJobObjective(v *AutoMLJobObjective) *CreateAutoMLJobInput {
27817	s.AutoMLJobObjective = v
27818	return s
27819}
27820
27821// SetGenerateCandidateDefinitionsOnly sets the GenerateCandidateDefinitionsOnly field's value.
27822func (s *CreateAutoMLJobInput) SetGenerateCandidateDefinitionsOnly(v bool) *CreateAutoMLJobInput {
27823	s.GenerateCandidateDefinitionsOnly = &v
27824	return s
27825}
27826
27827// SetInputDataConfig sets the InputDataConfig field's value.
27828func (s *CreateAutoMLJobInput) SetInputDataConfig(v []*AutoMLChannel) *CreateAutoMLJobInput {
27829	s.InputDataConfig = v
27830	return s
27831}
27832
27833// SetModelDeployConfig sets the ModelDeployConfig field's value.
27834func (s *CreateAutoMLJobInput) SetModelDeployConfig(v *ModelDeployConfig) *CreateAutoMLJobInput {
27835	s.ModelDeployConfig = v
27836	return s
27837}
27838
27839// SetOutputDataConfig sets the OutputDataConfig field's value.
27840func (s *CreateAutoMLJobInput) SetOutputDataConfig(v *AutoMLOutputDataConfig) *CreateAutoMLJobInput {
27841	s.OutputDataConfig = v
27842	return s
27843}
27844
27845// SetProblemType sets the ProblemType field's value.
27846func (s *CreateAutoMLJobInput) SetProblemType(v string) *CreateAutoMLJobInput {
27847	s.ProblemType = &v
27848	return s
27849}
27850
27851// SetRoleArn sets the RoleArn field's value.
27852func (s *CreateAutoMLJobInput) SetRoleArn(v string) *CreateAutoMLJobInput {
27853	s.RoleArn = &v
27854	return s
27855}
27856
27857// SetTags sets the Tags field's value.
27858func (s *CreateAutoMLJobInput) SetTags(v []*Tag) *CreateAutoMLJobInput {
27859	s.Tags = v
27860	return s
27861}
27862
27863type CreateAutoMLJobOutput struct {
27864	_ struct{} `type:"structure"`
27865
27866	// The unique ARN that is assigned to the AutoML job when it is created.
27867	//
27868	// AutoMLJobArn is a required field
27869	AutoMLJobArn *string `min:"1" type:"string" required:"true"`
27870}
27871
27872// String returns the string representation
27873func (s CreateAutoMLJobOutput) String() string {
27874	return awsutil.Prettify(s)
27875}
27876
27877// GoString returns the string representation
27878func (s CreateAutoMLJobOutput) GoString() string {
27879	return s.String()
27880}
27881
27882// SetAutoMLJobArn sets the AutoMLJobArn field's value.
27883func (s *CreateAutoMLJobOutput) SetAutoMLJobArn(v string) *CreateAutoMLJobOutput {
27884	s.AutoMLJobArn = &v
27885	return s
27886}
27887
27888type CreateCodeRepositoryInput struct {
27889	_ struct{} `type:"structure"`
27890
27891	// The name of the Git repository. The name must have 1 to 63 characters. Valid
27892	// characters are a-z, A-Z, 0-9, and - (hyphen).
27893	//
27894	// CodeRepositoryName is a required field
27895	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
27896
27897	// Specifies details about the repository, including the URL where the repository
27898	// is located, the default branch, and credentials to use to access the repository.
27899	//
27900	// GitConfig is a required field
27901	GitConfig *GitConfig `type:"structure" required:"true"`
27902
27903	// An array of key-value pairs. You can use tags to categorize your AWS resources
27904	// in different ways, for example, by purpose, owner, or environment. For more
27905	// information, see Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
27906	Tags []*Tag `type:"list"`
27907}
27908
27909// String returns the string representation
27910func (s CreateCodeRepositoryInput) String() string {
27911	return awsutil.Prettify(s)
27912}
27913
27914// GoString returns the string representation
27915func (s CreateCodeRepositoryInput) GoString() string {
27916	return s.String()
27917}
27918
27919// Validate inspects the fields of the type to determine if they are valid.
27920func (s *CreateCodeRepositoryInput) Validate() error {
27921	invalidParams := request.ErrInvalidParams{Context: "CreateCodeRepositoryInput"}
27922	if s.CodeRepositoryName == nil {
27923		invalidParams.Add(request.NewErrParamRequired("CodeRepositoryName"))
27924	}
27925	if s.CodeRepositoryName != nil && len(*s.CodeRepositoryName) < 1 {
27926		invalidParams.Add(request.NewErrParamMinLen("CodeRepositoryName", 1))
27927	}
27928	if s.GitConfig == nil {
27929		invalidParams.Add(request.NewErrParamRequired("GitConfig"))
27930	}
27931	if s.GitConfig != nil {
27932		if err := s.GitConfig.Validate(); err != nil {
27933			invalidParams.AddNested("GitConfig", err.(request.ErrInvalidParams))
27934		}
27935	}
27936	if s.Tags != nil {
27937		for i, v := range s.Tags {
27938			if v == nil {
27939				continue
27940			}
27941			if err := v.Validate(); err != nil {
27942				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
27943			}
27944		}
27945	}
27946
27947	if invalidParams.Len() > 0 {
27948		return invalidParams
27949	}
27950	return nil
27951}
27952
27953// SetCodeRepositoryName sets the CodeRepositoryName field's value.
27954func (s *CreateCodeRepositoryInput) SetCodeRepositoryName(v string) *CreateCodeRepositoryInput {
27955	s.CodeRepositoryName = &v
27956	return s
27957}
27958
27959// SetGitConfig sets the GitConfig field's value.
27960func (s *CreateCodeRepositoryInput) SetGitConfig(v *GitConfig) *CreateCodeRepositoryInput {
27961	s.GitConfig = v
27962	return s
27963}
27964
27965// SetTags sets the Tags field's value.
27966func (s *CreateCodeRepositoryInput) SetTags(v []*Tag) *CreateCodeRepositoryInput {
27967	s.Tags = v
27968	return s
27969}
27970
27971type CreateCodeRepositoryOutput struct {
27972	_ struct{} `type:"structure"`
27973
27974	// The Amazon Resource Name (ARN) of the new repository.
27975	//
27976	// CodeRepositoryArn is a required field
27977	CodeRepositoryArn *string `min:"1" type:"string" required:"true"`
27978}
27979
27980// String returns the string representation
27981func (s CreateCodeRepositoryOutput) String() string {
27982	return awsutil.Prettify(s)
27983}
27984
27985// GoString returns the string representation
27986func (s CreateCodeRepositoryOutput) GoString() string {
27987	return s.String()
27988}
27989
27990// SetCodeRepositoryArn sets the CodeRepositoryArn field's value.
27991func (s *CreateCodeRepositoryOutput) SetCodeRepositoryArn(v string) *CreateCodeRepositoryOutput {
27992	s.CodeRepositoryArn = &v
27993	return s
27994}
27995
27996type CreateCompilationJobInput struct {
27997	_ struct{} `type:"structure"`
27998
27999	// A name for the model compilation job. The name must be unique within the
28000	// AWS Region and within your AWS account.
28001	//
28002	// CompilationJobName is a required field
28003	CompilationJobName *string `min:"1" type:"string" required:"true"`
28004
28005	// Provides information about the location of input model artifacts, the name
28006	// and shape of the expected data inputs, and the framework in which the model
28007	// was trained.
28008	//
28009	// InputConfig is a required field
28010	InputConfig *InputConfig `type:"structure" required:"true"`
28011
28012	// Provides information about the output location for the compiled model and
28013	// the target device the model runs on.
28014	//
28015	// OutputConfig is a required field
28016	OutputConfig *OutputConfig `type:"structure" required:"true"`
28017
28018	// The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker
28019	// to perform tasks on your behalf.
28020	//
28021	// During model compilation, Amazon SageMaker needs your permission to:
28022	//
28023	//    * Read input data from an S3 bucket
28024	//
28025	//    * Write model artifacts to an S3 bucket
28026	//
28027	//    * Write logs to Amazon CloudWatch Logs
28028	//
28029	//    * Publish metrics to Amazon CloudWatch
28030	//
28031	// You grant permissions for all of these tasks to an IAM role. To pass this
28032	// role to Amazon SageMaker, the caller of this API must have the iam:PassRole
28033	// permission. For more information, see Amazon SageMaker Roles. (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html)
28034	//
28035	// RoleArn is a required field
28036	RoleArn *string `min:"20" type:"string" required:"true"`
28037
28038	// Specifies a limit to how long a model compilation job can run. When the job
28039	// reaches the time limit, Amazon SageMaker ends the compilation job. Use this
28040	// API to cap model training costs.
28041	//
28042	// StoppingCondition is a required field
28043	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
28044
28045	// An array of key-value pairs. You can use tags to categorize your AWS resources
28046	// in different ways, for example, by purpose, owner, or environment. For more
28047	// information, see Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
28048	Tags []*Tag `type:"list"`
28049}
28050
28051// String returns the string representation
28052func (s CreateCompilationJobInput) String() string {
28053	return awsutil.Prettify(s)
28054}
28055
28056// GoString returns the string representation
28057func (s CreateCompilationJobInput) GoString() string {
28058	return s.String()
28059}
28060
28061// Validate inspects the fields of the type to determine if they are valid.
28062func (s *CreateCompilationJobInput) Validate() error {
28063	invalidParams := request.ErrInvalidParams{Context: "CreateCompilationJobInput"}
28064	if s.CompilationJobName == nil {
28065		invalidParams.Add(request.NewErrParamRequired("CompilationJobName"))
28066	}
28067	if s.CompilationJobName != nil && len(*s.CompilationJobName) < 1 {
28068		invalidParams.Add(request.NewErrParamMinLen("CompilationJobName", 1))
28069	}
28070	if s.InputConfig == nil {
28071		invalidParams.Add(request.NewErrParamRequired("InputConfig"))
28072	}
28073	if s.OutputConfig == nil {
28074		invalidParams.Add(request.NewErrParamRequired("OutputConfig"))
28075	}
28076	if s.RoleArn == nil {
28077		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
28078	}
28079	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
28080		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
28081	}
28082	if s.StoppingCondition == nil {
28083		invalidParams.Add(request.NewErrParamRequired("StoppingCondition"))
28084	}
28085	if s.InputConfig != nil {
28086		if err := s.InputConfig.Validate(); err != nil {
28087			invalidParams.AddNested("InputConfig", err.(request.ErrInvalidParams))
28088		}
28089	}
28090	if s.OutputConfig != nil {
28091		if err := s.OutputConfig.Validate(); err != nil {
28092			invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams))
28093		}
28094	}
28095	if s.StoppingCondition != nil {
28096		if err := s.StoppingCondition.Validate(); err != nil {
28097			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
28098		}
28099	}
28100	if s.Tags != nil {
28101		for i, v := range s.Tags {
28102			if v == nil {
28103				continue
28104			}
28105			if err := v.Validate(); err != nil {
28106				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
28107			}
28108		}
28109	}
28110
28111	if invalidParams.Len() > 0 {
28112		return invalidParams
28113	}
28114	return nil
28115}
28116
28117// SetCompilationJobName sets the CompilationJobName field's value.
28118func (s *CreateCompilationJobInput) SetCompilationJobName(v string) *CreateCompilationJobInput {
28119	s.CompilationJobName = &v
28120	return s
28121}
28122
28123// SetInputConfig sets the InputConfig field's value.
28124func (s *CreateCompilationJobInput) SetInputConfig(v *InputConfig) *CreateCompilationJobInput {
28125	s.InputConfig = v
28126	return s
28127}
28128
28129// SetOutputConfig sets the OutputConfig field's value.
28130func (s *CreateCompilationJobInput) SetOutputConfig(v *OutputConfig) *CreateCompilationJobInput {
28131	s.OutputConfig = v
28132	return s
28133}
28134
28135// SetRoleArn sets the RoleArn field's value.
28136func (s *CreateCompilationJobInput) SetRoleArn(v string) *CreateCompilationJobInput {
28137	s.RoleArn = &v
28138	return s
28139}
28140
28141// SetStoppingCondition sets the StoppingCondition field's value.
28142func (s *CreateCompilationJobInput) SetStoppingCondition(v *StoppingCondition) *CreateCompilationJobInput {
28143	s.StoppingCondition = v
28144	return s
28145}
28146
28147// SetTags sets the Tags field's value.
28148func (s *CreateCompilationJobInput) SetTags(v []*Tag) *CreateCompilationJobInput {
28149	s.Tags = v
28150	return s
28151}
28152
28153type CreateCompilationJobOutput struct {
28154	_ struct{} `type:"structure"`
28155
28156	// If the action is successful, the service sends back an HTTP 200 response.
28157	// Amazon SageMaker returns the following data in JSON format:
28158	//
28159	//    * CompilationJobArn: The Amazon Resource Name (ARN) of the compiled job.
28160	//
28161	// CompilationJobArn is a required field
28162	CompilationJobArn *string `type:"string" required:"true"`
28163}
28164
28165// String returns the string representation
28166func (s CreateCompilationJobOutput) String() string {
28167	return awsutil.Prettify(s)
28168}
28169
28170// GoString returns the string representation
28171func (s CreateCompilationJobOutput) GoString() string {
28172	return s.String()
28173}
28174
28175// SetCompilationJobArn sets the CompilationJobArn field's value.
28176func (s *CreateCompilationJobOutput) SetCompilationJobArn(v string) *CreateCompilationJobOutput {
28177	s.CompilationJobArn = &v
28178	return s
28179}
28180
28181type CreateContextInput struct {
28182	_ struct{} `type:"structure"`
28183
28184	// The name of the context. Must be unique to your account in an AWS Region.
28185	//
28186	// ContextName is a required field
28187	ContextName *string `min:"1" type:"string" required:"true"`
28188
28189	// The context type.
28190	//
28191	// ContextType is a required field
28192	ContextType *string `type:"string" required:"true"`
28193
28194	// The description of the context.
28195	Description *string `type:"string"`
28196
28197	// A list of properties to add to the context.
28198	Properties map[string]*string `type:"map"`
28199
28200	// The source type, ID, and URI.
28201	//
28202	// Source is a required field
28203	Source *ContextSource `type:"structure" required:"true"`
28204
28205	// A list of tags to apply to the context.
28206	Tags []*Tag `type:"list"`
28207}
28208
28209// String returns the string representation
28210func (s CreateContextInput) String() string {
28211	return awsutil.Prettify(s)
28212}
28213
28214// GoString returns the string representation
28215func (s CreateContextInput) GoString() string {
28216	return s.String()
28217}
28218
28219// Validate inspects the fields of the type to determine if they are valid.
28220func (s *CreateContextInput) Validate() error {
28221	invalidParams := request.ErrInvalidParams{Context: "CreateContextInput"}
28222	if s.ContextName == nil {
28223		invalidParams.Add(request.NewErrParamRequired("ContextName"))
28224	}
28225	if s.ContextName != nil && len(*s.ContextName) < 1 {
28226		invalidParams.Add(request.NewErrParamMinLen("ContextName", 1))
28227	}
28228	if s.ContextType == nil {
28229		invalidParams.Add(request.NewErrParamRequired("ContextType"))
28230	}
28231	if s.Source == nil {
28232		invalidParams.Add(request.NewErrParamRequired("Source"))
28233	}
28234	if s.Source != nil {
28235		if err := s.Source.Validate(); err != nil {
28236			invalidParams.AddNested("Source", err.(request.ErrInvalidParams))
28237		}
28238	}
28239	if s.Tags != nil {
28240		for i, v := range s.Tags {
28241			if v == nil {
28242				continue
28243			}
28244			if err := v.Validate(); err != nil {
28245				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
28246			}
28247		}
28248	}
28249
28250	if invalidParams.Len() > 0 {
28251		return invalidParams
28252	}
28253	return nil
28254}
28255
28256// SetContextName sets the ContextName field's value.
28257func (s *CreateContextInput) SetContextName(v string) *CreateContextInput {
28258	s.ContextName = &v
28259	return s
28260}
28261
28262// SetContextType sets the ContextType field's value.
28263func (s *CreateContextInput) SetContextType(v string) *CreateContextInput {
28264	s.ContextType = &v
28265	return s
28266}
28267
28268// SetDescription sets the Description field's value.
28269func (s *CreateContextInput) SetDescription(v string) *CreateContextInput {
28270	s.Description = &v
28271	return s
28272}
28273
28274// SetProperties sets the Properties field's value.
28275func (s *CreateContextInput) SetProperties(v map[string]*string) *CreateContextInput {
28276	s.Properties = v
28277	return s
28278}
28279
28280// SetSource sets the Source field's value.
28281func (s *CreateContextInput) SetSource(v *ContextSource) *CreateContextInput {
28282	s.Source = v
28283	return s
28284}
28285
28286// SetTags sets the Tags field's value.
28287func (s *CreateContextInput) SetTags(v []*Tag) *CreateContextInput {
28288	s.Tags = v
28289	return s
28290}
28291
28292type CreateContextOutput struct {
28293	_ struct{} `type:"structure"`
28294
28295	// The Amazon Resource Name (ARN) of the context.
28296	ContextArn *string `type:"string"`
28297}
28298
28299// String returns the string representation
28300func (s CreateContextOutput) String() string {
28301	return awsutil.Prettify(s)
28302}
28303
28304// GoString returns the string representation
28305func (s CreateContextOutput) GoString() string {
28306	return s.String()
28307}
28308
28309// SetContextArn sets the ContextArn field's value.
28310func (s *CreateContextOutput) SetContextArn(v string) *CreateContextOutput {
28311	s.ContextArn = &v
28312	return s
28313}
28314
28315type CreateDataQualityJobDefinitionInput struct {
28316	_ struct{} `type:"structure"`
28317
28318	// Specifies the container that runs the monitoring job.
28319	//
28320	// DataQualityAppSpecification is a required field
28321	DataQualityAppSpecification *DataQualityAppSpecification `type:"structure" required:"true"`
28322
28323	// Configures the constraints and baselines for the monitoring job.
28324	DataQualityBaselineConfig *DataQualityBaselineConfig `type:"structure"`
28325
28326	// A list of inputs for the monitoring job. Currently endpoints are supported
28327	// as monitoring inputs.
28328	//
28329	// DataQualityJobInput is a required field
28330	DataQualityJobInput *DataQualityJobInput `type:"structure" required:"true"`
28331
28332	// The output configuration for monitoring jobs.
28333	//
28334	// DataQualityJobOutputConfig is a required field
28335	DataQualityJobOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"`
28336
28337	// The name for the monitoring job definition.
28338	//
28339	// JobDefinitionName is a required field
28340	JobDefinitionName *string `min:"1" type:"string" required:"true"`
28341
28342	// Identifies the resources to deploy for a monitoring job.
28343	//
28344	// JobResources is a required field
28345	JobResources *MonitoringResources `type:"structure" required:"true"`
28346
28347	// Specifies networking configuration for the monitoring job.
28348	NetworkConfig *MonitoringNetworkConfig `type:"structure"`
28349
28350	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
28351	// to perform tasks on your behalf.
28352	//
28353	// RoleArn is a required field
28354	RoleArn *string `min:"20" type:"string" required:"true"`
28355
28356	// A time limit for how long the monitoring job is allowed to run before stopping.
28357	StoppingCondition *MonitoringStoppingCondition `type:"structure"`
28358
28359	// (Optional) An array of key-value pairs. For more information, see Using Cost
28360	// Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL)
28361	// in the AWS Billing and Cost Management User Guide.
28362	Tags []*Tag `type:"list"`
28363}
28364
28365// String returns the string representation
28366func (s CreateDataQualityJobDefinitionInput) String() string {
28367	return awsutil.Prettify(s)
28368}
28369
28370// GoString returns the string representation
28371func (s CreateDataQualityJobDefinitionInput) GoString() string {
28372	return s.String()
28373}
28374
28375// Validate inspects the fields of the type to determine if they are valid.
28376func (s *CreateDataQualityJobDefinitionInput) Validate() error {
28377	invalidParams := request.ErrInvalidParams{Context: "CreateDataQualityJobDefinitionInput"}
28378	if s.DataQualityAppSpecification == nil {
28379		invalidParams.Add(request.NewErrParamRequired("DataQualityAppSpecification"))
28380	}
28381	if s.DataQualityJobInput == nil {
28382		invalidParams.Add(request.NewErrParamRequired("DataQualityJobInput"))
28383	}
28384	if s.DataQualityJobOutputConfig == nil {
28385		invalidParams.Add(request.NewErrParamRequired("DataQualityJobOutputConfig"))
28386	}
28387	if s.JobDefinitionName == nil {
28388		invalidParams.Add(request.NewErrParamRequired("JobDefinitionName"))
28389	}
28390	if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 {
28391		invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1))
28392	}
28393	if s.JobResources == nil {
28394		invalidParams.Add(request.NewErrParamRequired("JobResources"))
28395	}
28396	if s.RoleArn == nil {
28397		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
28398	}
28399	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
28400		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
28401	}
28402	if s.DataQualityAppSpecification != nil {
28403		if err := s.DataQualityAppSpecification.Validate(); err != nil {
28404			invalidParams.AddNested("DataQualityAppSpecification", err.(request.ErrInvalidParams))
28405		}
28406	}
28407	if s.DataQualityBaselineConfig != nil {
28408		if err := s.DataQualityBaselineConfig.Validate(); err != nil {
28409			invalidParams.AddNested("DataQualityBaselineConfig", err.(request.ErrInvalidParams))
28410		}
28411	}
28412	if s.DataQualityJobInput != nil {
28413		if err := s.DataQualityJobInput.Validate(); err != nil {
28414			invalidParams.AddNested("DataQualityJobInput", err.(request.ErrInvalidParams))
28415		}
28416	}
28417	if s.DataQualityJobOutputConfig != nil {
28418		if err := s.DataQualityJobOutputConfig.Validate(); err != nil {
28419			invalidParams.AddNested("DataQualityJobOutputConfig", err.(request.ErrInvalidParams))
28420		}
28421	}
28422	if s.JobResources != nil {
28423		if err := s.JobResources.Validate(); err != nil {
28424			invalidParams.AddNested("JobResources", err.(request.ErrInvalidParams))
28425		}
28426	}
28427	if s.NetworkConfig != nil {
28428		if err := s.NetworkConfig.Validate(); err != nil {
28429			invalidParams.AddNested("NetworkConfig", err.(request.ErrInvalidParams))
28430		}
28431	}
28432	if s.StoppingCondition != nil {
28433		if err := s.StoppingCondition.Validate(); err != nil {
28434			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
28435		}
28436	}
28437	if s.Tags != nil {
28438		for i, v := range s.Tags {
28439			if v == nil {
28440				continue
28441			}
28442			if err := v.Validate(); err != nil {
28443				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
28444			}
28445		}
28446	}
28447
28448	if invalidParams.Len() > 0 {
28449		return invalidParams
28450	}
28451	return nil
28452}
28453
28454// SetDataQualityAppSpecification sets the DataQualityAppSpecification field's value.
28455func (s *CreateDataQualityJobDefinitionInput) SetDataQualityAppSpecification(v *DataQualityAppSpecification) *CreateDataQualityJobDefinitionInput {
28456	s.DataQualityAppSpecification = v
28457	return s
28458}
28459
28460// SetDataQualityBaselineConfig sets the DataQualityBaselineConfig field's value.
28461func (s *CreateDataQualityJobDefinitionInput) SetDataQualityBaselineConfig(v *DataQualityBaselineConfig) *CreateDataQualityJobDefinitionInput {
28462	s.DataQualityBaselineConfig = v
28463	return s
28464}
28465
28466// SetDataQualityJobInput sets the DataQualityJobInput field's value.
28467func (s *CreateDataQualityJobDefinitionInput) SetDataQualityJobInput(v *DataQualityJobInput) *CreateDataQualityJobDefinitionInput {
28468	s.DataQualityJobInput = v
28469	return s
28470}
28471
28472// SetDataQualityJobOutputConfig sets the DataQualityJobOutputConfig field's value.
28473func (s *CreateDataQualityJobDefinitionInput) SetDataQualityJobOutputConfig(v *MonitoringOutputConfig) *CreateDataQualityJobDefinitionInput {
28474	s.DataQualityJobOutputConfig = v
28475	return s
28476}
28477
28478// SetJobDefinitionName sets the JobDefinitionName field's value.
28479func (s *CreateDataQualityJobDefinitionInput) SetJobDefinitionName(v string) *CreateDataQualityJobDefinitionInput {
28480	s.JobDefinitionName = &v
28481	return s
28482}
28483
28484// SetJobResources sets the JobResources field's value.
28485func (s *CreateDataQualityJobDefinitionInput) SetJobResources(v *MonitoringResources) *CreateDataQualityJobDefinitionInput {
28486	s.JobResources = v
28487	return s
28488}
28489
28490// SetNetworkConfig sets the NetworkConfig field's value.
28491func (s *CreateDataQualityJobDefinitionInput) SetNetworkConfig(v *MonitoringNetworkConfig) *CreateDataQualityJobDefinitionInput {
28492	s.NetworkConfig = v
28493	return s
28494}
28495
28496// SetRoleArn sets the RoleArn field's value.
28497func (s *CreateDataQualityJobDefinitionInput) SetRoleArn(v string) *CreateDataQualityJobDefinitionInput {
28498	s.RoleArn = &v
28499	return s
28500}
28501
28502// SetStoppingCondition sets the StoppingCondition field's value.
28503func (s *CreateDataQualityJobDefinitionInput) SetStoppingCondition(v *MonitoringStoppingCondition) *CreateDataQualityJobDefinitionInput {
28504	s.StoppingCondition = v
28505	return s
28506}
28507
28508// SetTags sets the Tags field's value.
28509func (s *CreateDataQualityJobDefinitionInput) SetTags(v []*Tag) *CreateDataQualityJobDefinitionInput {
28510	s.Tags = v
28511	return s
28512}
28513
28514type CreateDataQualityJobDefinitionOutput struct {
28515	_ struct{} `type:"structure"`
28516
28517	// The Amazon Resource Name (ARN) of the job definition.
28518	//
28519	// JobDefinitionArn is a required field
28520	JobDefinitionArn *string `type:"string" required:"true"`
28521}
28522
28523// String returns the string representation
28524func (s CreateDataQualityJobDefinitionOutput) String() string {
28525	return awsutil.Prettify(s)
28526}
28527
28528// GoString returns the string representation
28529func (s CreateDataQualityJobDefinitionOutput) GoString() string {
28530	return s.String()
28531}
28532
28533// SetJobDefinitionArn sets the JobDefinitionArn field's value.
28534func (s *CreateDataQualityJobDefinitionOutput) SetJobDefinitionArn(v string) *CreateDataQualityJobDefinitionOutput {
28535	s.JobDefinitionArn = &v
28536	return s
28537}
28538
28539type CreateDeviceFleetInput struct {
28540	_ struct{} `type:"structure"`
28541
28542	// A description of the fleet.
28543	Description *string `min:"1" type:"string"`
28544
28545	// The name of the fleet that the device belongs to.
28546	//
28547	// DeviceFleetName is a required field
28548	DeviceFleetName *string `min:"1" type:"string" required:"true"`
28549
28550	// The output configuration for storing sample data collected by the fleet.
28551	//
28552	// OutputConfig is a required field
28553	OutputConfig *EdgeOutputConfig `type:"structure" required:"true"`
28554
28555	// The Amazon Resource Name (ARN) that has access to AWS Internet of Things
28556	// (IoT).
28557	RoleArn *string `min:"20" type:"string"`
28558
28559	// Creates tags for the specified fleet.
28560	Tags []*Tag `type:"list"`
28561}
28562
28563// String returns the string representation
28564func (s CreateDeviceFleetInput) String() string {
28565	return awsutil.Prettify(s)
28566}
28567
28568// GoString returns the string representation
28569func (s CreateDeviceFleetInput) GoString() string {
28570	return s.String()
28571}
28572
28573// Validate inspects the fields of the type to determine if they are valid.
28574func (s *CreateDeviceFleetInput) Validate() error {
28575	invalidParams := request.ErrInvalidParams{Context: "CreateDeviceFleetInput"}
28576	if s.Description != nil && len(*s.Description) < 1 {
28577		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
28578	}
28579	if s.DeviceFleetName == nil {
28580		invalidParams.Add(request.NewErrParamRequired("DeviceFleetName"))
28581	}
28582	if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 {
28583		invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1))
28584	}
28585	if s.OutputConfig == nil {
28586		invalidParams.Add(request.NewErrParamRequired("OutputConfig"))
28587	}
28588	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
28589		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
28590	}
28591	if s.OutputConfig != nil {
28592		if err := s.OutputConfig.Validate(); err != nil {
28593			invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams))
28594		}
28595	}
28596	if s.Tags != nil {
28597		for i, v := range s.Tags {
28598			if v == nil {
28599				continue
28600			}
28601			if err := v.Validate(); err != nil {
28602				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
28603			}
28604		}
28605	}
28606
28607	if invalidParams.Len() > 0 {
28608		return invalidParams
28609	}
28610	return nil
28611}
28612
28613// SetDescription sets the Description field's value.
28614func (s *CreateDeviceFleetInput) SetDescription(v string) *CreateDeviceFleetInput {
28615	s.Description = &v
28616	return s
28617}
28618
28619// SetDeviceFleetName sets the DeviceFleetName field's value.
28620func (s *CreateDeviceFleetInput) SetDeviceFleetName(v string) *CreateDeviceFleetInput {
28621	s.DeviceFleetName = &v
28622	return s
28623}
28624
28625// SetOutputConfig sets the OutputConfig field's value.
28626func (s *CreateDeviceFleetInput) SetOutputConfig(v *EdgeOutputConfig) *CreateDeviceFleetInput {
28627	s.OutputConfig = v
28628	return s
28629}
28630
28631// SetRoleArn sets the RoleArn field's value.
28632func (s *CreateDeviceFleetInput) SetRoleArn(v string) *CreateDeviceFleetInput {
28633	s.RoleArn = &v
28634	return s
28635}
28636
28637// SetTags sets the Tags field's value.
28638func (s *CreateDeviceFleetInput) SetTags(v []*Tag) *CreateDeviceFleetInput {
28639	s.Tags = v
28640	return s
28641}
28642
28643type CreateDeviceFleetOutput struct {
28644	_ struct{} `type:"structure"`
28645}
28646
28647// String returns the string representation
28648func (s CreateDeviceFleetOutput) String() string {
28649	return awsutil.Prettify(s)
28650}
28651
28652// GoString returns the string representation
28653func (s CreateDeviceFleetOutput) GoString() string {
28654	return s.String()
28655}
28656
28657type CreateDomainInput struct {
28658	_ struct{} `type:"structure"`
28659
28660	// Specifies the VPC used for non-EFS traffic. The default value is PublicInternetOnly.
28661	//
28662	//    * PublicInternetOnly - Non-EFS traffic is through a VPC managed by Amazon
28663	//    SageMaker, which allows direct internet access
28664	//
28665	//    * VpcOnly - All Studio traffic is through the specified VPC and subnets
28666	AppNetworkAccessType *string `type:"string" enum:"AppNetworkAccessType"`
28667
28668	// The mode of authentication that members use to access the domain.
28669	//
28670	// AuthMode is a required field
28671	AuthMode *string `type:"string" required:"true" enum:"AuthMode"`
28672
28673	// The default settings to use to create a user profile when UserSettings isn't
28674	// specified in the call to the CreateUserProfile API.
28675	//
28676	// SecurityGroups is aggregated when specified in both calls. For all other
28677	// settings in UserSettings, the values specified in CreateUserProfile take
28678	// precedence over those specified in CreateDomain.
28679	//
28680	// DefaultUserSettings is a required field
28681	DefaultUserSettings *UserSettings `type:"structure" required:"true"`
28682
28683	// A name for the domain.
28684	//
28685	// DomainName is a required field
28686	DomainName *string `type:"string" required:"true"`
28687
28688	// This member is deprecated and replaced with KmsKeyId.
28689	//
28690	// Deprecated: This property is deprecated, use KmsKeyId instead.
28691	HomeEfsFileSystemKmsKeyId *string `deprecated:"true" type:"string"`
28692
28693	// SageMaker uses AWS KMS to encrypt the EFS volume attached to the domain with
28694	// an AWS managed customer master key (CMK) by default. For more control, specify
28695	// a customer managed CMK.
28696	KmsKeyId *string `type:"string"`
28697
28698	// The VPC subnets that Studio uses for communication.
28699	//
28700	// SubnetIds is a required field
28701	SubnetIds []*string `min:"1" type:"list" required:"true"`
28702
28703	// Tags to associated with the Domain. Each tag consists of a key and an optional
28704	// value. Tag keys must be unique per resource. Tags are searchable using the
28705	// Search API.
28706	//
28707	// Tags that you specify for the Domain are also added to all Apps that the
28708	// Domain launches.
28709	Tags []*Tag `type:"list"`
28710
28711	// The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.
28712	//
28713	// VpcId is a required field
28714	VpcId *string `type:"string" required:"true"`
28715}
28716
28717// String returns the string representation
28718func (s CreateDomainInput) String() string {
28719	return awsutil.Prettify(s)
28720}
28721
28722// GoString returns the string representation
28723func (s CreateDomainInput) GoString() string {
28724	return s.String()
28725}
28726
28727// Validate inspects the fields of the type to determine if they are valid.
28728func (s *CreateDomainInput) Validate() error {
28729	invalidParams := request.ErrInvalidParams{Context: "CreateDomainInput"}
28730	if s.AuthMode == nil {
28731		invalidParams.Add(request.NewErrParamRequired("AuthMode"))
28732	}
28733	if s.DefaultUserSettings == nil {
28734		invalidParams.Add(request.NewErrParamRequired("DefaultUserSettings"))
28735	}
28736	if s.DomainName == nil {
28737		invalidParams.Add(request.NewErrParamRequired("DomainName"))
28738	}
28739	if s.SubnetIds == nil {
28740		invalidParams.Add(request.NewErrParamRequired("SubnetIds"))
28741	}
28742	if s.SubnetIds != nil && len(s.SubnetIds) < 1 {
28743		invalidParams.Add(request.NewErrParamMinLen("SubnetIds", 1))
28744	}
28745	if s.VpcId == nil {
28746		invalidParams.Add(request.NewErrParamRequired("VpcId"))
28747	}
28748	if s.DefaultUserSettings != nil {
28749		if err := s.DefaultUserSettings.Validate(); err != nil {
28750			invalidParams.AddNested("DefaultUserSettings", err.(request.ErrInvalidParams))
28751		}
28752	}
28753	if s.Tags != nil {
28754		for i, v := range s.Tags {
28755			if v == nil {
28756				continue
28757			}
28758			if err := v.Validate(); err != nil {
28759				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
28760			}
28761		}
28762	}
28763
28764	if invalidParams.Len() > 0 {
28765		return invalidParams
28766	}
28767	return nil
28768}
28769
28770// SetAppNetworkAccessType sets the AppNetworkAccessType field's value.
28771func (s *CreateDomainInput) SetAppNetworkAccessType(v string) *CreateDomainInput {
28772	s.AppNetworkAccessType = &v
28773	return s
28774}
28775
28776// SetAuthMode sets the AuthMode field's value.
28777func (s *CreateDomainInput) SetAuthMode(v string) *CreateDomainInput {
28778	s.AuthMode = &v
28779	return s
28780}
28781
28782// SetDefaultUserSettings sets the DefaultUserSettings field's value.
28783func (s *CreateDomainInput) SetDefaultUserSettings(v *UserSettings) *CreateDomainInput {
28784	s.DefaultUserSettings = v
28785	return s
28786}
28787
28788// SetDomainName sets the DomainName field's value.
28789func (s *CreateDomainInput) SetDomainName(v string) *CreateDomainInput {
28790	s.DomainName = &v
28791	return s
28792}
28793
28794// SetHomeEfsFileSystemKmsKeyId sets the HomeEfsFileSystemKmsKeyId field's value.
28795func (s *CreateDomainInput) SetHomeEfsFileSystemKmsKeyId(v string) *CreateDomainInput {
28796	s.HomeEfsFileSystemKmsKeyId = &v
28797	return s
28798}
28799
28800// SetKmsKeyId sets the KmsKeyId field's value.
28801func (s *CreateDomainInput) SetKmsKeyId(v string) *CreateDomainInput {
28802	s.KmsKeyId = &v
28803	return s
28804}
28805
28806// SetSubnetIds sets the SubnetIds field's value.
28807func (s *CreateDomainInput) SetSubnetIds(v []*string) *CreateDomainInput {
28808	s.SubnetIds = v
28809	return s
28810}
28811
28812// SetTags sets the Tags field's value.
28813func (s *CreateDomainInput) SetTags(v []*Tag) *CreateDomainInput {
28814	s.Tags = v
28815	return s
28816}
28817
28818// SetVpcId sets the VpcId field's value.
28819func (s *CreateDomainInput) SetVpcId(v string) *CreateDomainInput {
28820	s.VpcId = &v
28821	return s
28822}
28823
28824type CreateDomainOutput struct {
28825	_ struct{} `type:"structure"`
28826
28827	// The Amazon Resource Name (ARN) of the created domain.
28828	DomainArn *string `type:"string"`
28829
28830	// The URL to the created domain.
28831	Url *string `type:"string"`
28832}
28833
28834// String returns the string representation
28835func (s CreateDomainOutput) String() string {
28836	return awsutil.Prettify(s)
28837}
28838
28839// GoString returns the string representation
28840func (s CreateDomainOutput) GoString() string {
28841	return s.String()
28842}
28843
28844// SetDomainArn sets the DomainArn field's value.
28845func (s *CreateDomainOutput) SetDomainArn(v string) *CreateDomainOutput {
28846	s.DomainArn = &v
28847	return s
28848}
28849
28850// SetUrl sets the Url field's value.
28851func (s *CreateDomainOutput) SetUrl(v string) *CreateDomainOutput {
28852	s.Url = &v
28853	return s
28854}
28855
28856type CreateEdgePackagingJobInput struct {
28857	_ struct{} `type:"structure"`
28858
28859	// The name of the SageMaker Neo compilation job that will be used to locate
28860	// model artifacts for packaging.
28861	//
28862	// CompilationJobName is a required field
28863	CompilationJobName *string `min:"1" type:"string" required:"true"`
28864
28865	// The name of the edge packaging job.
28866	//
28867	// EdgePackagingJobName is a required field
28868	EdgePackagingJobName *string `min:"1" type:"string" required:"true"`
28869
28870	// The name of the model.
28871	//
28872	// ModelName is a required field
28873	ModelName *string `min:"1" type:"string" required:"true"`
28874
28875	// The version of the model.
28876	//
28877	// ModelVersion is a required field
28878	ModelVersion *string `min:"1" type:"string" required:"true"`
28879
28880	// Provides information about the output location for the packaged model.
28881	//
28882	// OutputConfig is a required field
28883	OutputConfig *EdgeOutputConfig `type:"structure" required:"true"`
28884
28885	// The CMK to use when encrypting the EBS volume the edge packaging job runs
28886	// on.
28887	ResourceKey *string `type:"string"`
28888
28889	// The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker
28890	// to download and upload the model, and to contact SageMaker Neo.
28891	//
28892	// RoleArn is a required field
28893	RoleArn *string `min:"20" type:"string" required:"true"`
28894
28895	// Creates tags for the packaging job.
28896	Tags []*Tag `type:"list"`
28897}
28898
28899// String returns the string representation
28900func (s CreateEdgePackagingJobInput) String() string {
28901	return awsutil.Prettify(s)
28902}
28903
28904// GoString returns the string representation
28905func (s CreateEdgePackagingJobInput) GoString() string {
28906	return s.String()
28907}
28908
28909// Validate inspects the fields of the type to determine if they are valid.
28910func (s *CreateEdgePackagingJobInput) Validate() error {
28911	invalidParams := request.ErrInvalidParams{Context: "CreateEdgePackagingJobInput"}
28912	if s.CompilationJobName == nil {
28913		invalidParams.Add(request.NewErrParamRequired("CompilationJobName"))
28914	}
28915	if s.CompilationJobName != nil && len(*s.CompilationJobName) < 1 {
28916		invalidParams.Add(request.NewErrParamMinLen("CompilationJobName", 1))
28917	}
28918	if s.EdgePackagingJobName == nil {
28919		invalidParams.Add(request.NewErrParamRequired("EdgePackagingJobName"))
28920	}
28921	if s.EdgePackagingJobName != nil && len(*s.EdgePackagingJobName) < 1 {
28922		invalidParams.Add(request.NewErrParamMinLen("EdgePackagingJobName", 1))
28923	}
28924	if s.ModelName == nil {
28925		invalidParams.Add(request.NewErrParamRequired("ModelName"))
28926	}
28927	if s.ModelName != nil && len(*s.ModelName) < 1 {
28928		invalidParams.Add(request.NewErrParamMinLen("ModelName", 1))
28929	}
28930	if s.ModelVersion == nil {
28931		invalidParams.Add(request.NewErrParamRequired("ModelVersion"))
28932	}
28933	if s.ModelVersion != nil && len(*s.ModelVersion) < 1 {
28934		invalidParams.Add(request.NewErrParamMinLen("ModelVersion", 1))
28935	}
28936	if s.OutputConfig == nil {
28937		invalidParams.Add(request.NewErrParamRequired("OutputConfig"))
28938	}
28939	if s.RoleArn == nil {
28940		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
28941	}
28942	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
28943		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
28944	}
28945	if s.OutputConfig != nil {
28946		if err := s.OutputConfig.Validate(); err != nil {
28947			invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams))
28948		}
28949	}
28950	if s.Tags != nil {
28951		for i, v := range s.Tags {
28952			if v == nil {
28953				continue
28954			}
28955			if err := v.Validate(); err != nil {
28956				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
28957			}
28958		}
28959	}
28960
28961	if invalidParams.Len() > 0 {
28962		return invalidParams
28963	}
28964	return nil
28965}
28966
28967// SetCompilationJobName sets the CompilationJobName field's value.
28968func (s *CreateEdgePackagingJobInput) SetCompilationJobName(v string) *CreateEdgePackagingJobInput {
28969	s.CompilationJobName = &v
28970	return s
28971}
28972
28973// SetEdgePackagingJobName sets the EdgePackagingJobName field's value.
28974func (s *CreateEdgePackagingJobInput) SetEdgePackagingJobName(v string) *CreateEdgePackagingJobInput {
28975	s.EdgePackagingJobName = &v
28976	return s
28977}
28978
28979// SetModelName sets the ModelName field's value.
28980func (s *CreateEdgePackagingJobInput) SetModelName(v string) *CreateEdgePackagingJobInput {
28981	s.ModelName = &v
28982	return s
28983}
28984
28985// SetModelVersion sets the ModelVersion field's value.
28986func (s *CreateEdgePackagingJobInput) SetModelVersion(v string) *CreateEdgePackagingJobInput {
28987	s.ModelVersion = &v
28988	return s
28989}
28990
28991// SetOutputConfig sets the OutputConfig field's value.
28992func (s *CreateEdgePackagingJobInput) SetOutputConfig(v *EdgeOutputConfig) *CreateEdgePackagingJobInput {
28993	s.OutputConfig = v
28994	return s
28995}
28996
28997// SetResourceKey sets the ResourceKey field's value.
28998func (s *CreateEdgePackagingJobInput) SetResourceKey(v string) *CreateEdgePackagingJobInput {
28999	s.ResourceKey = &v
29000	return s
29001}
29002
29003// SetRoleArn sets the RoleArn field's value.
29004func (s *CreateEdgePackagingJobInput) SetRoleArn(v string) *CreateEdgePackagingJobInput {
29005	s.RoleArn = &v
29006	return s
29007}
29008
29009// SetTags sets the Tags field's value.
29010func (s *CreateEdgePackagingJobInput) SetTags(v []*Tag) *CreateEdgePackagingJobInput {
29011	s.Tags = v
29012	return s
29013}
29014
29015type CreateEdgePackagingJobOutput struct {
29016	_ struct{} `type:"structure"`
29017}
29018
29019// String returns the string representation
29020func (s CreateEdgePackagingJobOutput) String() string {
29021	return awsutil.Prettify(s)
29022}
29023
29024// GoString returns the string representation
29025func (s CreateEdgePackagingJobOutput) GoString() string {
29026	return s.String()
29027}
29028
29029type CreateEndpointConfigInput struct {
29030	_ struct{} `type:"structure"`
29031
29032	DataCaptureConfig *DataCaptureConfig `type:"structure"`
29033
29034	// The name of the endpoint configuration. You specify this name in a CreateEndpoint
29035	// request.
29036	//
29037	// EndpointConfigName is a required field
29038	EndpointConfigName *string `type:"string" required:"true"`
29039
29040	// The Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon
29041	// SageMaker uses to encrypt data on the storage volume attached to the ML compute
29042	// instance that hosts the endpoint.
29043	//
29044	// The KmsKeyId can be any of the following formats:
29045	//
29046	//    * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
29047	//
29048	//    * Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
29049	//
29050	//    * Alias name: alias/ExampleAlias
29051	//
29052	//    * Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
29053	//
29054	// The KMS key policy must grant permission to the IAM role that you specify
29055	// in your CreateEndpoint, UpdateEndpoint requests. For more information, refer
29056	// to the AWS Key Management Service section Using Key Policies in AWS KMS (https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html)
29057	//
29058	// Certain Nitro-based instances include local storage, dependent on the instance
29059	// type. Local storage volumes are encrypted using a hardware module on the
29060	// instance. You can't request a KmsKeyId when using an instance type with local
29061	// storage. If any of the models that you specify in the ProductionVariants
29062	// parameter use nitro-based instances with local storage, do not specify a
29063	// value for the KmsKeyId parameter. If you specify a value for KmsKeyId when
29064	// using any nitro-based instances with local storage, the call to CreateEndpointConfig
29065	// fails.
29066	//
29067	// For a list of instance types that support local instance storage, see Instance
29068	// Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes).
29069	//
29070	// For more information about local instance storage encryption, see SSD Instance
29071	// Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html).
29072	KmsKeyId *string `type:"string"`
29073
29074	// An list of ProductionVariant objects, one for each model that you want to
29075	// host at this endpoint.
29076	//
29077	// ProductionVariants is a required field
29078	ProductionVariants []*ProductionVariant `min:"1" type:"list" required:"true"`
29079
29080	// An array of key-value pairs. You can use tags to categorize your AWS resources
29081	// in different ways, for example, by purpose, owner, or environment. For more
29082	// information, see Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
29083	Tags []*Tag `type:"list"`
29084}
29085
29086// String returns the string representation
29087func (s CreateEndpointConfigInput) String() string {
29088	return awsutil.Prettify(s)
29089}
29090
29091// GoString returns the string representation
29092func (s CreateEndpointConfigInput) GoString() string {
29093	return s.String()
29094}
29095
29096// Validate inspects the fields of the type to determine if they are valid.
29097func (s *CreateEndpointConfigInput) Validate() error {
29098	invalidParams := request.ErrInvalidParams{Context: "CreateEndpointConfigInput"}
29099	if s.EndpointConfigName == nil {
29100		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
29101	}
29102	if s.ProductionVariants == nil {
29103		invalidParams.Add(request.NewErrParamRequired("ProductionVariants"))
29104	}
29105	if s.ProductionVariants != nil && len(s.ProductionVariants) < 1 {
29106		invalidParams.Add(request.NewErrParamMinLen("ProductionVariants", 1))
29107	}
29108	if s.DataCaptureConfig != nil {
29109		if err := s.DataCaptureConfig.Validate(); err != nil {
29110			invalidParams.AddNested("DataCaptureConfig", err.(request.ErrInvalidParams))
29111		}
29112	}
29113	if s.ProductionVariants != nil {
29114		for i, v := range s.ProductionVariants {
29115			if v == nil {
29116				continue
29117			}
29118			if err := v.Validate(); err != nil {
29119				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ProductionVariants", i), err.(request.ErrInvalidParams))
29120			}
29121		}
29122	}
29123	if s.Tags != nil {
29124		for i, v := range s.Tags {
29125			if v == nil {
29126				continue
29127			}
29128			if err := v.Validate(); err != nil {
29129				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
29130			}
29131		}
29132	}
29133
29134	if invalidParams.Len() > 0 {
29135		return invalidParams
29136	}
29137	return nil
29138}
29139
29140// SetDataCaptureConfig sets the DataCaptureConfig field's value.
29141func (s *CreateEndpointConfigInput) SetDataCaptureConfig(v *DataCaptureConfig) *CreateEndpointConfigInput {
29142	s.DataCaptureConfig = v
29143	return s
29144}
29145
29146// SetEndpointConfigName sets the EndpointConfigName field's value.
29147func (s *CreateEndpointConfigInput) SetEndpointConfigName(v string) *CreateEndpointConfigInput {
29148	s.EndpointConfigName = &v
29149	return s
29150}
29151
29152// SetKmsKeyId sets the KmsKeyId field's value.
29153func (s *CreateEndpointConfigInput) SetKmsKeyId(v string) *CreateEndpointConfigInput {
29154	s.KmsKeyId = &v
29155	return s
29156}
29157
29158// SetProductionVariants sets the ProductionVariants field's value.
29159func (s *CreateEndpointConfigInput) SetProductionVariants(v []*ProductionVariant) *CreateEndpointConfigInput {
29160	s.ProductionVariants = v
29161	return s
29162}
29163
29164// SetTags sets the Tags field's value.
29165func (s *CreateEndpointConfigInput) SetTags(v []*Tag) *CreateEndpointConfigInput {
29166	s.Tags = v
29167	return s
29168}
29169
29170type CreateEndpointConfigOutput struct {
29171	_ struct{} `type:"structure"`
29172
29173	// The Amazon Resource Name (ARN) of the endpoint configuration.
29174	//
29175	// EndpointConfigArn is a required field
29176	EndpointConfigArn *string `min:"20" type:"string" required:"true"`
29177}
29178
29179// String returns the string representation
29180func (s CreateEndpointConfigOutput) String() string {
29181	return awsutil.Prettify(s)
29182}
29183
29184// GoString returns the string representation
29185func (s CreateEndpointConfigOutput) GoString() string {
29186	return s.String()
29187}
29188
29189// SetEndpointConfigArn sets the EndpointConfigArn field's value.
29190func (s *CreateEndpointConfigOutput) SetEndpointConfigArn(v string) *CreateEndpointConfigOutput {
29191	s.EndpointConfigArn = &v
29192	return s
29193}
29194
29195type CreateEndpointInput struct {
29196	_ struct{} `type:"structure"`
29197
29198	// The name of an endpoint configuration. For more information, see CreateEndpointConfig.
29199	//
29200	// EndpointConfigName is a required field
29201	EndpointConfigName *string `type:"string" required:"true"`
29202
29203	// The name of the endpoint.The name must be unique within an AWS Region in
29204	// your AWS account. The name is case-insensitive in CreateEndpoint, but the
29205	// case is preserved and must be matched in .
29206	//
29207	// EndpointName is a required field
29208	EndpointName *string `type:"string" required:"true"`
29209
29210	// An array of key-value pairs. You can use tags to categorize your AWS resources
29211	// in different ways, for example, by purpose, owner, or environment. For more
29212	// information, see Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
29213	Tags []*Tag `type:"list"`
29214}
29215
29216// String returns the string representation
29217func (s CreateEndpointInput) String() string {
29218	return awsutil.Prettify(s)
29219}
29220
29221// GoString returns the string representation
29222func (s CreateEndpointInput) GoString() string {
29223	return s.String()
29224}
29225
29226// Validate inspects the fields of the type to determine if they are valid.
29227func (s *CreateEndpointInput) Validate() error {
29228	invalidParams := request.ErrInvalidParams{Context: "CreateEndpointInput"}
29229	if s.EndpointConfigName == nil {
29230		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
29231	}
29232	if s.EndpointName == nil {
29233		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
29234	}
29235	if s.Tags != nil {
29236		for i, v := range s.Tags {
29237			if v == nil {
29238				continue
29239			}
29240			if err := v.Validate(); err != nil {
29241				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
29242			}
29243		}
29244	}
29245
29246	if invalidParams.Len() > 0 {
29247		return invalidParams
29248	}
29249	return nil
29250}
29251
29252// SetEndpointConfigName sets the EndpointConfigName field's value.
29253func (s *CreateEndpointInput) SetEndpointConfigName(v string) *CreateEndpointInput {
29254	s.EndpointConfigName = &v
29255	return s
29256}
29257
29258// SetEndpointName sets the EndpointName field's value.
29259func (s *CreateEndpointInput) SetEndpointName(v string) *CreateEndpointInput {
29260	s.EndpointName = &v
29261	return s
29262}
29263
29264// SetTags sets the Tags field's value.
29265func (s *CreateEndpointInput) SetTags(v []*Tag) *CreateEndpointInput {
29266	s.Tags = v
29267	return s
29268}
29269
29270type CreateEndpointOutput struct {
29271	_ struct{} `type:"structure"`
29272
29273	// The Amazon Resource Name (ARN) of the endpoint.
29274	//
29275	// EndpointArn is a required field
29276	EndpointArn *string `min:"20" type:"string" required:"true"`
29277}
29278
29279// String returns the string representation
29280func (s CreateEndpointOutput) String() string {
29281	return awsutil.Prettify(s)
29282}
29283
29284// GoString returns the string representation
29285func (s CreateEndpointOutput) GoString() string {
29286	return s.String()
29287}
29288
29289// SetEndpointArn sets the EndpointArn field's value.
29290func (s *CreateEndpointOutput) SetEndpointArn(v string) *CreateEndpointOutput {
29291	s.EndpointArn = &v
29292	return s
29293}
29294
29295type CreateExperimentInput struct {
29296	_ struct{} `type:"structure"`
29297
29298	// The description of the experiment.
29299	Description *string `type:"string"`
29300
29301	// The name of the experiment as displayed. The name doesn't need to be unique.
29302	// If you don't specify DisplayName, the value in ExperimentName is displayed.
29303	DisplayName *string `min:"1" type:"string"`
29304
29305	// The name of the experiment. The name must be unique in your AWS account and
29306	// is not case-sensitive.
29307	//
29308	// ExperimentName is a required field
29309	ExperimentName *string `min:"1" type:"string" required:"true"`
29310
29311	// A list of tags to associate with the experiment. You can use Search API to
29312	// search on the tags.
29313	Tags []*Tag `type:"list"`
29314}
29315
29316// String returns the string representation
29317func (s CreateExperimentInput) String() string {
29318	return awsutil.Prettify(s)
29319}
29320
29321// GoString returns the string representation
29322func (s CreateExperimentInput) GoString() string {
29323	return s.String()
29324}
29325
29326// Validate inspects the fields of the type to determine if they are valid.
29327func (s *CreateExperimentInput) Validate() error {
29328	invalidParams := request.ErrInvalidParams{Context: "CreateExperimentInput"}
29329	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
29330		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
29331	}
29332	if s.ExperimentName == nil {
29333		invalidParams.Add(request.NewErrParamRequired("ExperimentName"))
29334	}
29335	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
29336		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
29337	}
29338	if s.Tags != nil {
29339		for i, v := range s.Tags {
29340			if v == nil {
29341				continue
29342			}
29343			if err := v.Validate(); err != nil {
29344				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
29345			}
29346		}
29347	}
29348
29349	if invalidParams.Len() > 0 {
29350		return invalidParams
29351	}
29352	return nil
29353}
29354
29355// SetDescription sets the Description field's value.
29356func (s *CreateExperimentInput) SetDescription(v string) *CreateExperimentInput {
29357	s.Description = &v
29358	return s
29359}
29360
29361// SetDisplayName sets the DisplayName field's value.
29362func (s *CreateExperimentInput) SetDisplayName(v string) *CreateExperimentInput {
29363	s.DisplayName = &v
29364	return s
29365}
29366
29367// SetExperimentName sets the ExperimentName field's value.
29368func (s *CreateExperimentInput) SetExperimentName(v string) *CreateExperimentInput {
29369	s.ExperimentName = &v
29370	return s
29371}
29372
29373// SetTags sets the Tags field's value.
29374func (s *CreateExperimentInput) SetTags(v []*Tag) *CreateExperimentInput {
29375	s.Tags = v
29376	return s
29377}
29378
29379type CreateExperimentOutput struct {
29380	_ struct{} `type:"structure"`
29381
29382	// The Amazon Resource Name (ARN) of the experiment.
29383	ExperimentArn *string `type:"string"`
29384}
29385
29386// String returns the string representation
29387func (s CreateExperimentOutput) String() string {
29388	return awsutil.Prettify(s)
29389}
29390
29391// GoString returns the string representation
29392func (s CreateExperimentOutput) GoString() string {
29393	return s.String()
29394}
29395
29396// SetExperimentArn sets the ExperimentArn field's value.
29397func (s *CreateExperimentOutput) SetExperimentArn(v string) *CreateExperimentOutput {
29398	s.ExperimentArn = &v
29399	return s
29400}
29401
29402type CreateFeatureGroupInput struct {
29403	_ struct{} `type:"structure"`
29404
29405	// A free-form description of a FeatureGroup.
29406	Description *string `type:"string"`
29407
29408	// The name of the feature that stores the EventTime of a Record in a FeatureGroup.
29409	//
29410	// An EventTime is a point in time when a new event occurs that corresponds
29411	// to the creation or update of a Record in a FeatureGroup. All Records in the
29412	// FeatureGroup must have a corresponding EventTime.
29413	//
29414	// An EventTime can be a String or Fractional.
29415	//
29416	//    * Fractional: EventTime feature values must be a Unix timestamp in seconds.
29417	//
29418	//    * String: EventTime feature values must be an ISO-8601 string in the format.
29419	//    The following formats are supported yyyy-MM-dd'T'HH:mm:ssZ and yyyy-MM-dd'T'HH:mm:ss.SSSZ
29420	//    where yyyy, MM, and dd represent the year, month, and day respectively
29421	//    and HH, mm, ss, and if applicable, SSS represent the hour, month, second
29422	//    and milliseconds respsectively. 'T' and Z are constants.
29423	//
29424	// EventTimeFeatureName is a required field
29425	EventTimeFeatureName *string `min:"1" type:"string" required:"true"`
29426
29427	// A list of Feature names and types. Name and Type is compulsory per Feature.
29428	//
29429	// Valid feature FeatureTypes are Integral, Fractional and String.
29430	//
29431	// FeatureNames cannot be any of the following: is_deleted, write_time, api_invocation_time
29432	//
29433	// You can create up to 2,500 FeatureDefinitions per FeatureGroup.
29434	//
29435	// FeatureDefinitions is a required field
29436	FeatureDefinitions []*FeatureDefinition `min:"1" type:"list" required:"true"`
29437
29438	// The name of the FeatureGroup. The name must be unique within an AWS Region
29439	// in an AWS account. The name:
29440	//
29441	//    * Must start and end with an alphanumeric character.
29442	//
29443	//    * Can only contain alphanumeric character and hyphens. Spaces are not
29444	//    allowed.
29445	//
29446	// FeatureGroupName is a required field
29447	FeatureGroupName *string `min:"1" type:"string" required:"true"`
29448
29449	// Use this to configure an OfflineFeatureStore. This parameter allows you to
29450	// specify:
29451	//
29452	//    * The Amazon Simple Storage Service (Amazon S3) location of an OfflineStore.
29453	//
29454	//    * A configuration for an AWS Glue or AWS Hive data cataolgue.
29455	//
29456	//    * An KMS encryption key to encrypt the Amazon S3 location used for OfflineStore.
29457	//
29458	// To learn more about this parameter, see OfflineStoreConfig.
29459	OfflineStoreConfig *OfflineStoreConfig `type:"structure"`
29460
29461	// You can turn the OnlineStore on or off by specifying True for the EnableOnlineStore
29462	// flag in OnlineStoreConfig; the default value is False.
29463	//
29464	// You can also include an AWS KMS key ID (KMSKeyId) for at-rest encryption
29465	// of the OnlineStore.
29466	OnlineStoreConfig *OnlineStoreConfig `type:"structure"`
29467
29468	// The name of the Feature whose value uniquely identifies a Record defined
29469	// in the FeatureStore. Only the latest record per identifier value will be
29470	// stored in the OnlineStore. RecordIdentifierFeatureName must be one of feature
29471	// definitions' names.
29472	//
29473	// You use the RecordIdentifierFeatureName to access data in a FeatureStore.
29474	//
29475	// This name:
29476	//
29477	//    * Must start and end with an alphanumeric character.
29478	//
29479	//    * Can only contains alphanumeric characters, hyphens, underscores. Spaces
29480	//    are not allowed.
29481	//
29482	// RecordIdentifierFeatureName is a required field
29483	RecordIdentifierFeatureName *string `min:"1" type:"string" required:"true"`
29484
29485	// The Amazon Resource Name (ARN) of the IAM execution role used to persist
29486	// data into the OfflineStore if an OfflineStoreConfig is provided.
29487	RoleArn *string `min:"20" type:"string"`
29488
29489	// Tags used to identify Features in each FeatureGroup.
29490	Tags []*Tag `type:"list"`
29491}
29492
29493// String returns the string representation
29494func (s CreateFeatureGroupInput) String() string {
29495	return awsutil.Prettify(s)
29496}
29497
29498// GoString returns the string representation
29499func (s CreateFeatureGroupInput) GoString() string {
29500	return s.String()
29501}
29502
29503// Validate inspects the fields of the type to determine if they are valid.
29504func (s *CreateFeatureGroupInput) Validate() error {
29505	invalidParams := request.ErrInvalidParams{Context: "CreateFeatureGroupInput"}
29506	if s.EventTimeFeatureName == nil {
29507		invalidParams.Add(request.NewErrParamRequired("EventTimeFeatureName"))
29508	}
29509	if s.EventTimeFeatureName != nil && len(*s.EventTimeFeatureName) < 1 {
29510		invalidParams.Add(request.NewErrParamMinLen("EventTimeFeatureName", 1))
29511	}
29512	if s.FeatureDefinitions == nil {
29513		invalidParams.Add(request.NewErrParamRequired("FeatureDefinitions"))
29514	}
29515	if s.FeatureDefinitions != nil && len(s.FeatureDefinitions) < 1 {
29516		invalidParams.Add(request.NewErrParamMinLen("FeatureDefinitions", 1))
29517	}
29518	if s.FeatureGroupName == nil {
29519		invalidParams.Add(request.NewErrParamRequired("FeatureGroupName"))
29520	}
29521	if s.FeatureGroupName != nil && len(*s.FeatureGroupName) < 1 {
29522		invalidParams.Add(request.NewErrParamMinLen("FeatureGroupName", 1))
29523	}
29524	if s.RecordIdentifierFeatureName == nil {
29525		invalidParams.Add(request.NewErrParamRequired("RecordIdentifierFeatureName"))
29526	}
29527	if s.RecordIdentifierFeatureName != nil && len(*s.RecordIdentifierFeatureName) < 1 {
29528		invalidParams.Add(request.NewErrParamMinLen("RecordIdentifierFeatureName", 1))
29529	}
29530	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
29531		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
29532	}
29533	if s.FeatureDefinitions != nil {
29534		for i, v := range s.FeatureDefinitions {
29535			if v == nil {
29536				continue
29537			}
29538			if err := v.Validate(); err != nil {
29539				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "FeatureDefinitions", i), err.(request.ErrInvalidParams))
29540			}
29541		}
29542	}
29543	if s.OfflineStoreConfig != nil {
29544		if err := s.OfflineStoreConfig.Validate(); err != nil {
29545			invalidParams.AddNested("OfflineStoreConfig", err.(request.ErrInvalidParams))
29546		}
29547	}
29548	if s.Tags != nil {
29549		for i, v := range s.Tags {
29550			if v == nil {
29551				continue
29552			}
29553			if err := v.Validate(); err != nil {
29554				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
29555			}
29556		}
29557	}
29558
29559	if invalidParams.Len() > 0 {
29560		return invalidParams
29561	}
29562	return nil
29563}
29564
29565// SetDescription sets the Description field's value.
29566func (s *CreateFeatureGroupInput) SetDescription(v string) *CreateFeatureGroupInput {
29567	s.Description = &v
29568	return s
29569}
29570
29571// SetEventTimeFeatureName sets the EventTimeFeatureName field's value.
29572func (s *CreateFeatureGroupInput) SetEventTimeFeatureName(v string) *CreateFeatureGroupInput {
29573	s.EventTimeFeatureName = &v
29574	return s
29575}
29576
29577// SetFeatureDefinitions sets the FeatureDefinitions field's value.
29578func (s *CreateFeatureGroupInput) SetFeatureDefinitions(v []*FeatureDefinition) *CreateFeatureGroupInput {
29579	s.FeatureDefinitions = v
29580	return s
29581}
29582
29583// SetFeatureGroupName sets the FeatureGroupName field's value.
29584func (s *CreateFeatureGroupInput) SetFeatureGroupName(v string) *CreateFeatureGroupInput {
29585	s.FeatureGroupName = &v
29586	return s
29587}
29588
29589// SetOfflineStoreConfig sets the OfflineStoreConfig field's value.
29590func (s *CreateFeatureGroupInput) SetOfflineStoreConfig(v *OfflineStoreConfig) *CreateFeatureGroupInput {
29591	s.OfflineStoreConfig = v
29592	return s
29593}
29594
29595// SetOnlineStoreConfig sets the OnlineStoreConfig field's value.
29596func (s *CreateFeatureGroupInput) SetOnlineStoreConfig(v *OnlineStoreConfig) *CreateFeatureGroupInput {
29597	s.OnlineStoreConfig = v
29598	return s
29599}
29600
29601// SetRecordIdentifierFeatureName sets the RecordIdentifierFeatureName field's value.
29602func (s *CreateFeatureGroupInput) SetRecordIdentifierFeatureName(v string) *CreateFeatureGroupInput {
29603	s.RecordIdentifierFeatureName = &v
29604	return s
29605}
29606
29607// SetRoleArn sets the RoleArn field's value.
29608func (s *CreateFeatureGroupInput) SetRoleArn(v string) *CreateFeatureGroupInput {
29609	s.RoleArn = &v
29610	return s
29611}
29612
29613// SetTags sets the Tags field's value.
29614func (s *CreateFeatureGroupInput) SetTags(v []*Tag) *CreateFeatureGroupInput {
29615	s.Tags = v
29616	return s
29617}
29618
29619type CreateFeatureGroupOutput struct {
29620	_ struct{} `type:"structure"`
29621
29622	// The Amazon Resource Name (ARN) of the FeatureGroup. This is a unique identifier
29623	// for the feature group.
29624	//
29625	// FeatureGroupArn is a required field
29626	FeatureGroupArn *string `type:"string" required:"true"`
29627}
29628
29629// String returns the string representation
29630func (s CreateFeatureGroupOutput) String() string {
29631	return awsutil.Prettify(s)
29632}
29633
29634// GoString returns the string representation
29635func (s CreateFeatureGroupOutput) GoString() string {
29636	return s.String()
29637}
29638
29639// SetFeatureGroupArn sets the FeatureGroupArn field's value.
29640func (s *CreateFeatureGroupOutput) SetFeatureGroupArn(v string) *CreateFeatureGroupOutput {
29641	s.FeatureGroupArn = &v
29642	return s
29643}
29644
29645type CreateFlowDefinitionInput struct {
29646	_ struct{} `type:"structure"`
29647
29648	// The name of your flow definition.
29649	//
29650	// FlowDefinitionName is a required field
29651	FlowDefinitionName *string `min:"1" type:"string" required:"true"`
29652
29653	// An object containing information about the events that trigger a human workflow.
29654	HumanLoopActivationConfig *HumanLoopActivationConfig `type:"structure"`
29655
29656	// An object containing information about the tasks the human reviewers will
29657	// perform.
29658	//
29659	// HumanLoopConfig is a required field
29660	HumanLoopConfig *HumanLoopConfig `type:"structure" required:"true"`
29661
29662	// Container for configuring the source of human task requests. Use to specify
29663	// if Amazon Rekognition or Amazon Textract is used as an integration source.
29664	HumanLoopRequestSource *HumanLoopRequestSource `type:"structure"`
29665
29666	// An object containing information about where the human review results will
29667	// be uploaded.
29668	//
29669	// OutputConfig is a required field
29670	OutputConfig *FlowDefinitionOutputConfig `type:"structure" required:"true"`
29671
29672	// The Amazon Resource Name (ARN) of the role needed to call other services
29673	// on your behalf. For example, arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298.
29674	//
29675	// RoleArn is a required field
29676	RoleArn *string `min:"20" type:"string" required:"true"`
29677
29678	// An array of key-value pairs that contain metadata to help you categorize
29679	// and organize a flow definition. Each tag consists of a key and a value, both
29680	// of which you define.
29681	Tags []*Tag `type:"list"`
29682}
29683
29684// String returns the string representation
29685func (s CreateFlowDefinitionInput) String() string {
29686	return awsutil.Prettify(s)
29687}
29688
29689// GoString returns the string representation
29690func (s CreateFlowDefinitionInput) GoString() string {
29691	return s.String()
29692}
29693
29694// Validate inspects the fields of the type to determine if they are valid.
29695func (s *CreateFlowDefinitionInput) Validate() error {
29696	invalidParams := request.ErrInvalidParams{Context: "CreateFlowDefinitionInput"}
29697	if s.FlowDefinitionName == nil {
29698		invalidParams.Add(request.NewErrParamRequired("FlowDefinitionName"))
29699	}
29700	if s.FlowDefinitionName != nil && len(*s.FlowDefinitionName) < 1 {
29701		invalidParams.Add(request.NewErrParamMinLen("FlowDefinitionName", 1))
29702	}
29703	if s.HumanLoopConfig == nil {
29704		invalidParams.Add(request.NewErrParamRequired("HumanLoopConfig"))
29705	}
29706	if s.OutputConfig == nil {
29707		invalidParams.Add(request.NewErrParamRequired("OutputConfig"))
29708	}
29709	if s.RoleArn == nil {
29710		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
29711	}
29712	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
29713		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
29714	}
29715	if s.HumanLoopActivationConfig != nil {
29716		if err := s.HumanLoopActivationConfig.Validate(); err != nil {
29717			invalidParams.AddNested("HumanLoopActivationConfig", err.(request.ErrInvalidParams))
29718		}
29719	}
29720	if s.HumanLoopConfig != nil {
29721		if err := s.HumanLoopConfig.Validate(); err != nil {
29722			invalidParams.AddNested("HumanLoopConfig", err.(request.ErrInvalidParams))
29723		}
29724	}
29725	if s.HumanLoopRequestSource != nil {
29726		if err := s.HumanLoopRequestSource.Validate(); err != nil {
29727			invalidParams.AddNested("HumanLoopRequestSource", err.(request.ErrInvalidParams))
29728		}
29729	}
29730	if s.OutputConfig != nil {
29731		if err := s.OutputConfig.Validate(); err != nil {
29732			invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams))
29733		}
29734	}
29735	if s.Tags != nil {
29736		for i, v := range s.Tags {
29737			if v == nil {
29738				continue
29739			}
29740			if err := v.Validate(); err != nil {
29741				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
29742			}
29743		}
29744	}
29745
29746	if invalidParams.Len() > 0 {
29747		return invalidParams
29748	}
29749	return nil
29750}
29751
29752// SetFlowDefinitionName sets the FlowDefinitionName field's value.
29753func (s *CreateFlowDefinitionInput) SetFlowDefinitionName(v string) *CreateFlowDefinitionInput {
29754	s.FlowDefinitionName = &v
29755	return s
29756}
29757
29758// SetHumanLoopActivationConfig sets the HumanLoopActivationConfig field's value.
29759func (s *CreateFlowDefinitionInput) SetHumanLoopActivationConfig(v *HumanLoopActivationConfig) *CreateFlowDefinitionInput {
29760	s.HumanLoopActivationConfig = v
29761	return s
29762}
29763
29764// SetHumanLoopConfig sets the HumanLoopConfig field's value.
29765func (s *CreateFlowDefinitionInput) SetHumanLoopConfig(v *HumanLoopConfig) *CreateFlowDefinitionInput {
29766	s.HumanLoopConfig = v
29767	return s
29768}
29769
29770// SetHumanLoopRequestSource sets the HumanLoopRequestSource field's value.
29771func (s *CreateFlowDefinitionInput) SetHumanLoopRequestSource(v *HumanLoopRequestSource) *CreateFlowDefinitionInput {
29772	s.HumanLoopRequestSource = v
29773	return s
29774}
29775
29776// SetOutputConfig sets the OutputConfig field's value.
29777func (s *CreateFlowDefinitionInput) SetOutputConfig(v *FlowDefinitionOutputConfig) *CreateFlowDefinitionInput {
29778	s.OutputConfig = v
29779	return s
29780}
29781
29782// SetRoleArn sets the RoleArn field's value.
29783func (s *CreateFlowDefinitionInput) SetRoleArn(v string) *CreateFlowDefinitionInput {
29784	s.RoleArn = &v
29785	return s
29786}
29787
29788// SetTags sets the Tags field's value.
29789func (s *CreateFlowDefinitionInput) SetTags(v []*Tag) *CreateFlowDefinitionInput {
29790	s.Tags = v
29791	return s
29792}
29793
29794type CreateFlowDefinitionOutput struct {
29795	_ struct{} `type:"structure"`
29796
29797	// The Amazon Resource Name (ARN) of the flow definition you create.
29798	//
29799	// FlowDefinitionArn is a required field
29800	FlowDefinitionArn *string `type:"string" required:"true"`
29801}
29802
29803// String returns the string representation
29804func (s CreateFlowDefinitionOutput) String() string {
29805	return awsutil.Prettify(s)
29806}
29807
29808// GoString returns the string representation
29809func (s CreateFlowDefinitionOutput) GoString() string {
29810	return s.String()
29811}
29812
29813// SetFlowDefinitionArn sets the FlowDefinitionArn field's value.
29814func (s *CreateFlowDefinitionOutput) SetFlowDefinitionArn(v string) *CreateFlowDefinitionOutput {
29815	s.FlowDefinitionArn = &v
29816	return s
29817}
29818
29819type CreateHumanTaskUiInput struct {
29820	_ struct{} `type:"structure"`
29821
29822	// The name of the user interface you are creating.
29823	//
29824	// HumanTaskUiName is a required field
29825	HumanTaskUiName *string `min:"1" type:"string" required:"true"`
29826
29827	// An array of key-value pairs that contain metadata to help you categorize
29828	// and organize a human review workflow user interface. Each tag consists of
29829	// a key and a value, both of which you define.
29830	Tags []*Tag `type:"list"`
29831
29832	// The Liquid template for the worker user interface.
29833	//
29834	// UiTemplate is a required field
29835	UiTemplate *UiTemplate `type:"structure" required:"true"`
29836}
29837
29838// String returns the string representation
29839func (s CreateHumanTaskUiInput) String() string {
29840	return awsutil.Prettify(s)
29841}
29842
29843// GoString returns the string representation
29844func (s CreateHumanTaskUiInput) GoString() string {
29845	return s.String()
29846}
29847
29848// Validate inspects the fields of the type to determine if they are valid.
29849func (s *CreateHumanTaskUiInput) Validate() error {
29850	invalidParams := request.ErrInvalidParams{Context: "CreateHumanTaskUiInput"}
29851	if s.HumanTaskUiName == nil {
29852		invalidParams.Add(request.NewErrParamRequired("HumanTaskUiName"))
29853	}
29854	if s.HumanTaskUiName != nil && len(*s.HumanTaskUiName) < 1 {
29855		invalidParams.Add(request.NewErrParamMinLen("HumanTaskUiName", 1))
29856	}
29857	if s.UiTemplate == nil {
29858		invalidParams.Add(request.NewErrParamRequired("UiTemplate"))
29859	}
29860	if s.Tags != nil {
29861		for i, v := range s.Tags {
29862			if v == nil {
29863				continue
29864			}
29865			if err := v.Validate(); err != nil {
29866				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
29867			}
29868		}
29869	}
29870	if s.UiTemplate != nil {
29871		if err := s.UiTemplate.Validate(); err != nil {
29872			invalidParams.AddNested("UiTemplate", err.(request.ErrInvalidParams))
29873		}
29874	}
29875
29876	if invalidParams.Len() > 0 {
29877		return invalidParams
29878	}
29879	return nil
29880}
29881
29882// SetHumanTaskUiName sets the HumanTaskUiName field's value.
29883func (s *CreateHumanTaskUiInput) SetHumanTaskUiName(v string) *CreateHumanTaskUiInput {
29884	s.HumanTaskUiName = &v
29885	return s
29886}
29887
29888// SetTags sets the Tags field's value.
29889func (s *CreateHumanTaskUiInput) SetTags(v []*Tag) *CreateHumanTaskUiInput {
29890	s.Tags = v
29891	return s
29892}
29893
29894// SetUiTemplate sets the UiTemplate field's value.
29895func (s *CreateHumanTaskUiInput) SetUiTemplate(v *UiTemplate) *CreateHumanTaskUiInput {
29896	s.UiTemplate = v
29897	return s
29898}
29899
29900type CreateHumanTaskUiOutput struct {
29901	_ struct{} `type:"structure"`
29902
29903	// The Amazon Resource Name (ARN) of the human review workflow user interface
29904	// you create.
29905	//
29906	// HumanTaskUiArn is a required field
29907	HumanTaskUiArn *string `type:"string" required:"true"`
29908}
29909
29910// String returns the string representation
29911func (s CreateHumanTaskUiOutput) String() string {
29912	return awsutil.Prettify(s)
29913}
29914
29915// GoString returns the string representation
29916func (s CreateHumanTaskUiOutput) GoString() string {
29917	return s.String()
29918}
29919
29920// SetHumanTaskUiArn sets the HumanTaskUiArn field's value.
29921func (s *CreateHumanTaskUiOutput) SetHumanTaskUiArn(v string) *CreateHumanTaskUiOutput {
29922	s.HumanTaskUiArn = &v
29923	return s
29924}
29925
29926type CreateHyperParameterTuningJobInput struct {
29927	_ struct{} `type:"structure"`
29928
29929	// The HyperParameterTuningJobConfig object that describes the tuning job, including
29930	// the search strategy, the objective metric used to evaluate training jobs,
29931	// ranges of parameters to search, and resource limits for the tuning job. For
29932	// more information, see How Hyperparameter Tuning Works (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-how-it-works.html).
29933	//
29934	// HyperParameterTuningJobConfig is a required field
29935	HyperParameterTuningJobConfig *HyperParameterTuningJobConfig `type:"structure" required:"true"`
29936
29937	// The name of the tuning job. This name is the prefix for the names of all
29938	// training jobs that this tuning job launches. The name must be unique within
29939	// the same AWS account and AWS Region. The name must have 1 to 32 characters.
29940	// Valid characters are a-z, A-Z, 0-9, and : + = @ _ % - (hyphen). The name
29941	// is not case sensitive.
29942	//
29943	// HyperParameterTuningJobName is a required field
29944	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
29945
29946	// An array of key-value pairs. You can use tags to categorize your AWS resources
29947	// in different ways, for example, by purpose, owner, or environment. For more
29948	// information, see Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
29949	//
29950	// Tags that you specify for the tuning job are also added to all training jobs
29951	// that the tuning job launches.
29952	Tags []*Tag `type:"list"`
29953
29954	// The HyperParameterTrainingJobDefinition object that describes the training
29955	// jobs that this tuning job launches, including static hyperparameters, input
29956	// data configuration, output data configuration, resource configuration, and
29957	// stopping condition.
29958	TrainingJobDefinition *HyperParameterTrainingJobDefinition `type:"structure"`
29959
29960	// A list of the HyperParameterTrainingJobDefinition objects launched for this
29961	// tuning job.
29962	TrainingJobDefinitions []*HyperParameterTrainingJobDefinition `min:"1" type:"list"`
29963
29964	// Specifies the configuration for starting the hyperparameter tuning job using
29965	// one or more previous tuning jobs as a starting point. The results of previous
29966	// tuning jobs are used to inform which combinations of hyperparameters to search
29967	// over in the new tuning job.
29968	//
29969	// All training jobs launched by the new hyperparameter tuning job are evaluated
29970	// by using the objective metric. If you specify IDENTICAL_DATA_AND_ALGORITHM
29971	// as the WarmStartType value for the warm start configuration, the training
29972	// job that performs the best in the new tuning job is compared to the best
29973	// training jobs from the parent tuning jobs. From these, the training job that
29974	// performs the best as measured by the objective metric is returned as the
29975	// overall best training job.
29976	//
29977	// All training jobs launched by parent hyperparameter tuning jobs and the new
29978	// hyperparameter tuning jobs count against the limit of training jobs for the
29979	// tuning job.
29980	WarmStartConfig *HyperParameterTuningJobWarmStartConfig `type:"structure"`
29981}
29982
29983// String returns the string representation
29984func (s CreateHyperParameterTuningJobInput) String() string {
29985	return awsutil.Prettify(s)
29986}
29987
29988// GoString returns the string representation
29989func (s CreateHyperParameterTuningJobInput) GoString() string {
29990	return s.String()
29991}
29992
29993// Validate inspects the fields of the type to determine if they are valid.
29994func (s *CreateHyperParameterTuningJobInput) Validate() error {
29995	invalidParams := request.ErrInvalidParams{Context: "CreateHyperParameterTuningJobInput"}
29996	if s.HyperParameterTuningJobConfig == nil {
29997		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobConfig"))
29998	}
29999	if s.HyperParameterTuningJobName == nil {
30000		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobName"))
30001	}
30002	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
30003		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
30004	}
30005	if s.TrainingJobDefinitions != nil && len(s.TrainingJobDefinitions) < 1 {
30006		invalidParams.Add(request.NewErrParamMinLen("TrainingJobDefinitions", 1))
30007	}
30008	if s.HyperParameterTuningJobConfig != nil {
30009		if err := s.HyperParameterTuningJobConfig.Validate(); err != nil {
30010			invalidParams.AddNested("HyperParameterTuningJobConfig", err.(request.ErrInvalidParams))
30011		}
30012	}
30013	if s.Tags != nil {
30014		for i, v := range s.Tags {
30015			if v == nil {
30016				continue
30017			}
30018			if err := v.Validate(); err != nil {
30019				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
30020			}
30021		}
30022	}
30023	if s.TrainingJobDefinition != nil {
30024		if err := s.TrainingJobDefinition.Validate(); err != nil {
30025			invalidParams.AddNested("TrainingJobDefinition", err.(request.ErrInvalidParams))
30026		}
30027	}
30028	if s.TrainingJobDefinitions != nil {
30029		for i, v := range s.TrainingJobDefinitions {
30030			if v == nil {
30031				continue
30032			}
30033			if err := v.Validate(); err != nil {
30034				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TrainingJobDefinitions", i), err.(request.ErrInvalidParams))
30035			}
30036		}
30037	}
30038	if s.WarmStartConfig != nil {
30039		if err := s.WarmStartConfig.Validate(); err != nil {
30040			invalidParams.AddNested("WarmStartConfig", err.(request.ErrInvalidParams))
30041		}
30042	}
30043
30044	if invalidParams.Len() > 0 {
30045		return invalidParams
30046	}
30047	return nil
30048}
30049
30050// SetHyperParameterTuningJobConfig sets the HyperParameterTuningJobConfig field's value.
30051func (s *CreateHyperParameterTuningJobInput) SetHyperParameterTuningJobConfig(v *HyperParameterTuningJobConfig) *CreateHyperParameterTuningJobInput {
30052	s.HyperParameterTuningJobConfig = v
30053	return s
30054}
30055
30056// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
30057func (s *CreateHyperParameterTuningJobInput) SetHyperParameterTuningJobName(v string) *CreateHyperParameterTuningJobInput {
30058	s.HyperParameterTuningJobName = &v
30059	return s
30060}
30061
30062// SetTags sets the Tags field's value.
30063func (s *CreateHyperParameterTuningJobInput) SetTags(v []*Tag) *CreateHyperParameterTuningJobInput {
30064	s.Tags = v
30065	return s
30066}
30067
30068// SetTrainingJobDefinition sets the TrainingJobDefinition field's value.
30069func (s *CreateHyperParameterTuningJobInput) SetTrainingJobDefinition(v *HyperParameterTrainingJobDefinition) *CreateHyperParameterTuningJobInput {
30070	s.TrainingJobDefinition = v
30071	return s
30072}
30073
30074// SetTrainingJobDefinitions sets the TrainingJobDefinitions field's value.
30075func (s *CreateHyperParameterTuningJobInput) SetTrainingJobDefinitions(v []*HyperParameterTrainingJobDefinition) *CreateHyperParameterTuningJobInput {
30076	s.TrainingJobDefinitions = v
30077	return s
30078}
30079
30080// SetWarmStartConfig sets the WarmStartConfig field's value.
30081func (s *CreateHyperParameterTuningJobInput) SetWarmStartConfig(v *HyperParameterTuningJobWarmStartConfig) *CreateHyperParameterTuningJobInput {
30082	s.WarmStartConfig = v
30083	return s
30084}
30085
30086type CreateHyperParameterTuningJobOutput struct {
30087	_ struct{} `type:"structure"`
30088
30089	// The Amazon Resource Name (ARN) of the tuning job. Amazon SageMaker assigns
30090	// an ARN to a hyperparameter tuning job when you create it.
30091	//
30092	// HyperParameterTuningJobArn is a required field
30093	HyperParameterTuningJobArn *string `type:"string" required:"true"`
30094}
30095
30096// String returns the string representation
30097func (s CreateHyperParameterTuningJobOutput) String() string {
30098	return awsutil.Prettify(s)
30099}
30100
30101// GoString returns the string representation
30102func (s CreateHyperParameterTuningJobOutput) GoString() string {
30103	return s.String()
30104}
30105
30106// SetHyperParameterTuningJobArn sets the HyperParameterTuningJobArn field's value.
30107func (s *CreateHyperParameterTuningJobOutput) SetHyperParameterTuningJobArn(v string) *CreateHyperParameterTuningJobOutput {
30108	s.HyperParameterTuningJobArn = &v
30109	return s
30110}
30111
30112type CreateImageInput struct {
30113	_ struct{} `type:"structure"`
30114
30115	// The description of the image.
30116	Description *string `min:"1" type:"string"`
30117
30118	// The display name of the image. If not provided, ImageName is displayed.
30119	DisplayName *string `min:"1" type:"string"`
30120
30121	// The name of the image. Must be unique to your account.
30122	//
30123	// ImageName is a required field
30124	ImageName *string `min:"1" type:"string" required:"true"`
30125
30126	// The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker
30127	// to perform tasks on your behalf.
30128	//
30129	// RoleArn is a required field
30130	RoleArn *string `min:"20" type:"string" required:"true"`
30131
30132	// A list of tags to apply to the image.
30133	Tags []*Tag `type:"list"`
30134}
30135
30136// String returns the string representation
30137func (s CreateImageInput) String() string {
30138	return awsutil.Prettify(s)
30139}
30140
30141// GoString returns the string representation
30142func (s CreateImageInput) GoString() string {
30143	return s.String()
30144}
30145
30146// Validate inspects the fields of the type to determine if they are valid.
30147func (s *CreateImageInput) Validate() error {
30148	invalidParams := request.ErrInvalidParams{Context: "CreateImageInput"}
30149	if s.Description != nil && len(*s.Description) < 1 {
30150		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
30151	}
30152	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
30153		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
30154	}
30155	if s.ImageName == nil {
30156		invalidParams.Add(request.NewErrParamRequired("ImageName"))
30157	}
30158	if s.ImageName != nil && len(*s.ImageName) < 1 {
30159		invalidParams.Add(request.NewErrParamMinLen("ImageName", 1))
30160	}
30161	if s.RoleArn == nil {
30162		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
30163	}
30164	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
30165		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
30166	}
30167	if s.Tags != nil {
30168		for i, v := range s.Tags {
30169			if v == nil {
30170				continue
30171			}
30172			if err := v.Validate(); err != nil {
30173				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
30174			}
30175		}
30176	}
30177
30178	if invalidParams.Len() > 0 {
30179		return invalidParams
30180	}
30181	return nil
30182}
30183
30184// SetDescription sets the Description field's value.
30185func (s *CreateImageInput) SetDescription(v string) *CreateImageInput {
30186	s.Description = &v
30187	return s
30188}
30189
30190// SetDisplayName sets the DisplayName field's value.
30191func (s *CreateImageInput) SetDisplayName(v string) *CreateImageInput {
30192	s.DisplayName = &v
30193	return s
30194}
30195
30196// SetImageName sets the ImageName field's value.
30197func (s *CreateImageInput) SetImageName(v string) *CreateImageInput {
30198	s.ImageName = &v
30199	return s
30200}
30201
30202// SetRoleArn sets the RoleArn field's value.
30203func (s *CreateImageInput) SetRoleArn(v string) *CreateImageInput {
30204	s.RoleArn = &v
30205	return s
30206}
30207
30208// SetTags sets the Tags field's value.
30209func (s *CreateImageInput) SetTags(v []*Tag) *CreateImageInput {
30210	s.Tags = v
30211	return s
30212}
30213
30214type CreateImageOutput struct {
30215	_ struct{} `type:"structure"`
30216
30217	// The Amazon Resource Name (ARN) of the image.
30218	ImageArn *string `type:"string"`
30219}
30220
30221// String returns the string representation
30222func (s CreateImageOutput) String() string {
30223	return awsutil.Prettify(s)
30224}
30225
30226// GoString returns the string representation
30227func (s CreateImageOutput) GoString() string {
30228	return s.String()
30229}
30230
30231// SetImageArn sets the ImageArn field's value.
30232func (s *CreateImageOutput) SetImageArn(v string) *CreateImageOutput {
30233	s.ImageArn = &v
30234	return s
30235}
30236
30237type CreateImageVersionInput struct {
30238	_ struct{} `type:"structure"`
30239
30240	// The registry path of the container image to use as the starting point for
30241	// this version. The path is an Amazon Container Registry (ECR) URI in the following
30242	// format:
30243	//
30244	// <acct-id>.dkr.ecr.<region>.amazonaws.com/<repo-name[:tag] or [@digest]>
30245	//
30246	// BaseImage is a required field
30247	BaseImage *string `min:"1" type:"string" required:"true"`
30248
30249	// A unique ID. If not specified, the AWS CLI and AWS SDKs, such as the SDK
30250	// for Python (Boto3), add a unique value to the call.
30251	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
30252
30253	// The ImageName of the Image to create a version of.
30254	//
30255	// ImageName is a required field
30256	ImageName *string `min:"1" type:"string" required:"true"`
30257}
30258
30259// String returns the string representation
30260func (s CreateImageVersionInput) String() string {
30261	return awsutil.Prettify(s)
30262}
30263
30264// GoString returns the string representation
30265func (s CreateImageVersionInput) GoString() string {
30266	return s.String()
30267}
30268
30269// Validate inspects the fields of the type to determine if they are valid.
30270func (s *CreateImageVersionInput) Validate() error {
30271	invalidParams := request.ErrInvalidParams{Context: "CreateImageVersionInput"}
30272	if s.BaseImage == nil {
30273		invalidParams.Add(request.NewErrParamRequired("BaseImage"))
30274	}
30275	if s.BaseImage != nil && len(*s.BaseImage) < 1 {
30276		invalidParams.Add(request.NewErrParamMinLen("BaseImage", 1))
30277	}
30278	if s.ClientToken != nil && len(*s.ClientToken) < 1 {
30279		invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
30280	}
30281	if s.ImageName == nil {
30282		invalidParams.Add(request.NewErrParamRequired("ImageName"))
30283	}
30284	if s.ImageName != nil && len(*s.ImageName) < 1 {
30285		invalidParams.Add(request.NewErrParamMinLen("ImageName", 1))
30286	}
30287
30288	if invalidParams.Len() > 0 {
30289		return invalidParams
30290	}
30291	return nil
30292}
30293
30294// SetBaseImage sets the BaseImage field's value.
30295func (s *CreateImageVersionInput) SetBaseImage(v string) *CreateImageVersionInput {
30296	s.BaseImage = &v
30297	return s
30298}
30299
30300// SetClientToken sets the ClientToken field's value.
30301func (s *CreateImageVersionInput) SetClientToken(v string) *CreateImageVersionInput {
30302	s.ClientToken = &v
30303	return s
30304}
30305
30306// SetImageName sets the ImageName field's value.
30307func (s *CreateImageVersionInput) SetImageName(v string) *CreateImageVersionInput {
30308	s.ImageName = &v
30309	return s
30310}
30311
30312type CreateImageVersionOutput struct {
30313	_ struct{} `type:"structure"`
30314
30315	// The Amazon Resource Name (ARN) of the image version.
30316	ImageVersionArn *string `type:"string"`
30317}
30318
30319// String returns the string representation
30320func (s CreateImageVersionOutput) String() string {
30321	return awsutil.Prettify(s)
30322}
30323
30324// GoString returns the string representation
30325func (s CreateImageVersionOutput) GoString() string {
30326	return s.String()
30327}
30328
30329// SetImageVersionArn sets the ImageVersionArn field's value.
30330func (s *CreateImageVersionOutput) SetImageVersionArn(v string) *CreateImageVersionOutput {
30331	s.ImageVersionArn = &v
30332	return s
30333}
30334
30335type CreateLabelingJobInput struct {
30336	_ struct{} `type:"structure"`
30337
30338	// Configures the labeling task and how it is presented to workers; including,
30339	// but not limited to price, keywords, and batch size (task count).
30340	//
30341	// HumanTaskConfig is a required field
30342	HumanTaskConfig *HumanTaskConfig `type:"structure" required:"true"`
30343
30344	// Input data for the labeling job, such as the Amazon S3 location of the data
30345	// objects and the location of the manifest file that describes the data objects.
30346	//
30347	// You must specify at least one of the following: S3DataSource or SnsDataSource.
30348	//
30349	//    * Use SnsDataSource to specify an SNS input topic for a streaming labeling
30350	//    job. If you do not specify and SNS input topic ARN, Ground Truth will
30351	//    create a one-time labeling job that stops after all data objects in the
30352	//    input manifest file have been labeled.
30353	//
30354	//    * Use S3DataSource to specify an input manifest file for both streaming
30355	//    and one-time labeling jobs. Adding an S3DataSource is optional if you
30356	//    use SnsDataSource to create a streaming labeling job.
30357	//
30358	// If you use the Amazon Mechanical Turk workforce, your input data should not
30359	// include confidential information, personal information or protected health
30360	// information. Use ContentClassifiers to specify that your data is free of
30361	// personally identifiable information and adult content.
30362	//
30363	// InputConfig is a required field
30364	InputConfig *LabelingJobInputConfig `type:"structure" required:"true"`
30365
30366	// The attribute name to use for the label in the output manifest file. This
30367	// is the key for the key/value pair formed with the label that a worker assigns
30368	// to the object. The LabelAttributeName must meet the following requirements.
30369	//
30370	//    * The name can't end with "-metadata".
30371	//
30372	//    * If you are using one of the following built-in task types (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-task-types.html),
30373	//    the attribute name must end with "-ref". If the task type you are using
30374	//    is not listed below, the attribute name must not end with "-ref". Image
30375	//    semantic segmentation (SemanticSegmentation), and adjustment (AdjustmentSemanticSegmentation)
30376	//    and verification (VerificationSemanticSegmentation) labeling jobs for
30377	//    this task type. Video frame object detection (VideoObjectDetection), and
30378	//    adjustment and verification (AdjustmentVideoObjectDetection) labeling
30379	//    jobs for this task type. Video frame object tracking (VideoObjectTracking),
30380	//    and adjustment and verification (AdjustmentVideoObjectTracking) labeling
30381	//    jobs for this task type. 3D point cloud semantic segmentation (3DPointCloudSemanticSegmentation),
30382	//    and adjustment and verification (Adjustment3DPointCloudSemanticSegmentation)
30383	//    labeling jobs for this task type. 3D point cloud object tracking (3DPointCloudObjectTracking),
30384	//    and adjustment and verification (Adjustment3DPointCloudObjectTracking)
30385	//    labeling jobs for this task type.
30386	//
30387	// If you are creating an adjustment or verification labeling job, you must
30388	// use a different LabelAttributeName than the one used in the original labeling
30389	// job. The original labeling job is the Ground Truth labeling job that produced
30390	// the labels that you want verified or adjusted. To learn more about adjustment
30391	// and verification labeling jobs, see Verify and Adjust Labels (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-verification-data.html).
30392	//
30393	// LabelAttributeName is a required field
30394	LabelAttributeName *string `min:"1" type:"string" required:"true"`
30395
30396	// The S3 URI of the file, referred to as a label category configuration file,
30397	// that defines the categories used to label the data objects.
30398	//
30399	// For 3D point cloud and video frame task types, you can add label category
30400	// attributes and frame attributes to your label category configuration file.
30401	// To learn how, see Create a Labeling Category Configuration File for 3D Point
30402	// Cloud Labeling Jobs (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-point-cloud-label-category-config.html).
30403	//
30404	// For all other built-in task types (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-task-types.html)
30405	// and custom tasks (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-custom-templates.html),
30406	// your label category configuration file must be a JSON file in the following
30407	// format. Identify the labels you want to use by replacing label_1, label_2,...,label_n
30408	// with your label categories.
30409	//
30410	// {
30411	//
30412	// "document-version": "2018-11-28",
30413	//
30414	// "labels": [{"label": "label_1"},{"label": "label_2"},...{"label": "label_n"}]
30415	//
30416	// }
30417	//
30418	// Note the following about the label category configuration file:
30419	//
30420	//    * For image classification and text classification (single and multi-label)
30421	//    you must specify at least two label categories. For all other task types,
30422	//    the minimum number of label categories required is one.
30423	//
30424	//    * Each label category must be unique, you cannot specify duplicate label
30425	//    categories.
30426	//
30427	//    * If you create a 3D point cloud or video frame adjustment or verification
30428	//    labeling job, you must include auditLabelAttributeName in the label category
30429	//    configuration. Use this parameter to enter the LabelAttributeName (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateLabelingJob.html#sagemaker-CreateLabelingJob-request-LabelAttributeName)
30430	//    of the labeling job you want to adjust or verify annotations of.
30431	LabelCategoryConfigS3Uri *string `type:"string"`
30432
30433	// Configures the information required to perform automated data labeling.
30434	LabelingJobAlgorithmsConfig *LabelingJobAlgorithmsConfig `type:"structure"`
30435
30436	// The name of the labeling job. This name is used to identify the job in a
30437	// list of labeling jobs. Labeling job names must be unique within an AWS account
30438	// and region. LabelingJobName is not case sensitive. For example, Example-job
30439	// and example-job are considered the same labeling job name by Ground Truth.
30440	//
30441	// LabelingJobName is a required field
30442	LabelingJobName *string `min:"1" type:"string" required:"true"`
30443
30444	// The location of the output data and the AWS Key Management Service key ID
30445	// for the key used to encrypt the output data, if any.
30446	//
30447	// OutputConfig is a required field
30448	OutputConfig *LabelingJobOutputConfig `type:"structure" required:"true"`
30449
30450	// The Amazon Resource Number (ARN) that Amazon SageMaker assumes to perform
30451	// tasks on your behalf during data labeling. You must grant this role the necessary
30452	// permissions so that Amazon SageMaker can successfully complete data labeling.
30453	//
30454	// RoleArn is a required field
30455	RoleArn *string `min:"20" type:"string" required:"true"`
30456
30457	// A set of conditions for stopping the labeling job. If any of the conditions
30458	// are met, the job is automatically stopped. You can use these conditions to
30459	// control the cost of data labeling.
30460	StoppingConditions *LabelingJobStoppingConditions `type:"structure"`
30461
30462	// An array of key/value pairs. For more information, see Using Cost Allocation
30463	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
30464	// in the AWS Billing and Cost Management User Guide.
30465	Tags []*Tag `type:"list"`
30466}
30467
30468// String returns the string representation
30469func (s CreateLabelingJobInput) String() string {
30470	return awsutil.Prettify(s)
30471}
30472
30473// GoString returns the string representation
30474func (s CreateLabelingJobInput) GoString() string {
30475	return s.String()
30476}
30477
30478// Validate inspects the fields of the type to determine if they are valid.
30479func (s *CreateLabelingJobInput) Validate() error {
30480	invalidParams := request.ErrInvalidParams{Context: "CreateLabelingJobInput"}
30481	if s.HumanTaskConfig == nil {
30482		invalidParams.Add(request.NewErrParamRequired("HumanTaskConfig"))
30483	}
30484	if s.InputConfig == nil {
30485		invalidParams.Add(request.NewErrParamRequired("InputConfig"))
30486	}
30487	if s.LabelAttributeName == nil {
30488		invalidParams.Add(request.NewErrParamRequired("LabelAttributeName"))
30489	}
30490	if s.LabelAttributeName != nil && len(*s.LabelAttributeName) < 1 {
30491		invalidParams.Add(request.NewErrParamMinLen("LabelAttributeName", 1))
30492	}
30493	if s.LabelingJobName == nil {
30494		invalidParams.Add(request.NewErrParamRequired("LabelingJobName"))
30495	}
30496	if s.LabelingJobName != nil && len(*s.LabelingJobName) < 1 {
30497		invalidParams.Add(request.NewErrParamMinLen("LabelingJobName", 1))
30498	}
30499	if s.OutputConfig == nil {
30500		invalidParams.Add(request.NewErrParamRequired("OutputConfig"))
30501	}
30502	if s.RoleArn == nil {
30503		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
30504	}
30505	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
30506		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
30507	}
30508	if s.HumanTaskConfig != nil {
30509		if err := s.HumanTaskConfig.Validate(); err != nil {
30510			invalidParams.AddNested("HumanTaskConfig", err.(request.ErrInvalidParams))
30511		}
30512	}
30513	if s.InputConfig != nil {
30514		if err := s.InputConfig.Validate(); err != nil {
30515			invalidParams.AddNested("InputConfig", err.(request.ErrInvalidParams))
30516		}
30517	}
30518	if s.LabelingJobAlgorithmsConfig != nil {
30519		if err := s.LabelingJobAlgorithmsConfig.Validate(); err != nil {
30520			invalidParams.AddNested("LabelingJobAlgorithmsConfig", err.(request.ErrInvalidParams))
30521		}
30522	}
30523	if s.OutputConfig != nil {
30524		if err := s.OutputConfig.Validate(); err != nil {
30525			invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams))
30526		}
30527	}
30528	if s.StoppingConditions != nil {
30529		if err := s.StoppingConditions.Validate(); err != nil {
30530			invalidParams.AddNested("StoppingConditions", err.(request.ErrInvalidParams))
30531		}
30532	}
30533	if s.Tags != nil {
30534		for i, v := range s.Tags {
30535			if v == nil {
30536				continue
30537			}
30538			if err := v.Validate(); err != nil {
30539				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
30540			}
30541		}
30542	}
30543
30544	if invalidParams.Len() > 0 {
30545		return invalidParams
30546	}
30547	return nil
30548}
30549
30550// SetHumanTaskConfig sets the HumanTaskConfig field's value.
30551func (s *CreateLabelingJobInput) SetHumanTaskConfig(v *HumanTaskConfig) *CreateLabelingJobInput {
30552	s.HumanTaskConfig = v
30553	return s
30554}
30555
30556// SetInputConfig sets the InputConfig field's value.
30557func (s *CreateLabelingJobInput) SetInputConfig(v *LabelingJobInputConfig) *CreateLabelingJobInput {
30558	s.InputConfig = v
30559	return s
30560}
30561
30562// SetLabelAttributeName sets the LabelAttributeName field's value.
30563func (s *CreateLabelingJobInput) SetLabelAttributeName(v string) *CreateLabelingJobInput {
30564	s.LabelAttributeName = &v
30565	return s
30566}
30567
30568// SetLabelCategoryConfigS3Uri sets the LabelCategoryConfigS3Uri field's value.
30569func (s *CreateLabelingJobInput) SetLabelCategoryConfigS3Uri(v string) *CreateLabelingJobInput {
30570	s.LabelCategoryConfigS3Uri = &v
30571	return s
30572}
30573
30574// SetLabelingJobAlgorithmsConfig sets the LabelingJobAlgorithmsConfig field's value.
30575func (s *CreateLabelingJobInput) SetLabelingJobAlgorithmsConfig(v *LabelingJobAlgorithmsConfig) *CreateLabelingJobInput {
30576	s.LabelingJobAlgorithmsConfig = v
30577	return s
30578}
30579
30580// SetLabelingJobName sets the LabelingJobName field's value.
30581func (s *CreateLabelingJobInput) SetLabelingJobName(v string) *CreateLabelingJobInput {
30582	s.LabelingJobName = &v
30583	return s
30584}
30585
30586// SetOutputConfig sets the OutputConfig field's value.
30587func (s *CreateLabelingJobInput) SetOutputConfig(v *LabelingJobOutputConfig) *CreateLabelingJobInput {
30588	s.OutputConfig = v
30589	return s
30590}
30591
30592// SetRoleArn sets the RoleArn field's value.
30593func (s *CreateLabelingJobInput) SetRoleArn(v string) *CreateLabelingJobInput {
30594	s.RoleArn = &v
30595	return s
30596}
30597
30598// SetStoppingConditions sets the StoppingConditions field's value.
30599func (s *CreateLabelingJobInput) SetStoppingConditions(v *LabelingJobStoppingConditions) *CreateLabelingJobInput {
30600	s.StoppingConditions = v
30601	return s
30602}
30603
30604// SetTags sets the Tags field's value.
30605func (s *CreateLabelingJobInput) SetTags(v []*Tag) *CreateLabelingJobInput {
30606	s.Tags = v
30607	return s
30608}
30609
30610type CreateLabelingJobOutput struct {
30611	_ struct{} `type:"structure"`
30612
30613	// The Amazon Resource Name (ARN) of the labeling job. You use this ARN to identify
30614	// the labeling job.
30615	//
30616	// LabelingJobArn is a required field
30617	LabelingJobArn *string `type:"string" required:"true"`
30618}
30619
30620// String returns the string representation
30621func (s CreateLabelingJobOutput) String() string {
30622	return awsutil.Prettify(s)
30623}
30624
30625// GoString returns the string representation
30626func (s CreateLabelingJobOutput) GoString() string {
30627	return s.String()
30628}
30629
30630// SetLabelingJobArn sets the LabelingJobArn field's value.
30631func (s *CreateLabelingJobOutput) SetLabelingJobArn(v string) *CreateLabelingJobOutput {
30632	s.LabelingJobArn = &v
30633	return s
30634}
30635
30636type CreateModelBiasJobDefinitionInput struct {
30637	_ struct{} `type:"structure"`
30638
30639	// The name of the bias job definition. The name must be unique within an AWS
30640	// Region in the AWS account.
30641	//
30642	// JobDefinitionName is a required field
30643	JobDefinitionName *string `min:"1" type:"string" required:"true"`
30644
30645	// Identifies the resources to deploy for a monitoring job.
30646	//
30647	// JobResources is a required field
30648	JobResources *MonitoringResources `type:"structure" required:"true"`
30649
30650	// Configures the model bias job to run a specified Docker container image.
30651	//
30652	// ModelBiasAppSpecification is a required field
30653	ModelBiasAppSpecification *ModelBiasAppSpecification `type:"structure" required:"true"`
30654
30655	// The baseline configuration for a model bias job.
30656	ModelBiasBaselineConfig *ModelBiasBaselineConfig `type:"structure"`
30657
30658	// Inputs for the model bias job.
30659	//
30660	// ModelBiasJobInput is a required field
30661	ModelBiasJobInput *ModelBiasJobInput `type:"structure" required:"true"`
30662
30663	// The output configuration for monitoring jobs.
30664	//
30665	// ModelBiasJobOutputConfig is a required field
30666	ModelBiasJobOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"`
30667
30668	// Networking options for a model bias job.
30669	NetworkConfig *MonitoringNetworkConfig `type:"structure"`
30670
30671	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
30672	// to perform tasks on your behalf.
30673	//
30674	// RoleArn is a required field
30675	RoleArn *string `min:"20" type:"string" required:"true"`
30676
30677	// A time limit for how long the monitoring job is allowed to run before stopping.
30678	StoppingCondition *MonitoringStoppingCondition `type:"structure"`
30679
30680	// (Optional) An array of key-value pairs. For more information, see Using Cost
30681	// Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL)
30682	// in the AWS Billing and Cost Management User Guide.
30683	Tags []*Tag `type:"list"`
30684}
30685
30686// String returns the string representation
30687func (s CreateModelBiasJobDefinitionInput) String() string {
30688	return awsutil.Prettify(s)
30689}
30690
30691// GoString returns the string representation
30692func (s CreateModelBiasJobDefinitionInput) GoString() string {
30693	return s.String()
30694}
30695
30696// Validate inspects the fields of the type to determine if they are valid.
30697func (s *CreateModelBiasJobDefinitionInput) Validate() error {
30698	invalidParams := request.ErrInvalidParams{Context: "CreateModelBiasJobDefinitionInput"}
30699	if s.JobDefinitionName == nil {
30700		invalidParams.Add(request.NewErrParamRequired("JobDefinitionName"))
30701	}
30702	if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 {
30703		invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1))
30704	}
30705	if s.JobResources == nil {
30706		invalidParams.Add(request.NewErrParamRequired("JobResources"))
30707	}
30708	if s.ModelBiasAppSpecification == nil {
30709		invalidParams.Add(request.NewErrParamRequired("ModelBiasAppSpecification"))
30710	}
30711	if s.ModelBiasJobInput == nil {
30712		invalidParams.Add(request.NewErrParamRequired("ModelBiasJobInput"))
30713	}
30714	if s.ModelBiasJobOutputConfig == nil {
30715		invalidParams.Add(request.NewErrParamRequired("ModelBiasJobOutputConfig"))
30716	}
30717	if s.RoleArn == nil {
30718		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
30719	}
30720	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
30721		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
30722	}
30723	if s.JobResources != nil {
30724		if err := s.JobResources.Validate(); err != nil {
30725			invalidParams.AddNested("JobResources", err.(request.ErrInvalidParams))
30726		}
30727	}
30728	if s.ModelBiasAppSpecification != nil {
30729		if err := s.ModelBiasAppSpecification.Validate(); err != nil {
30730			invalidParams.AddNested("ModelBiasAppSpecification", err.(request.ErrInvalidParams))
30731		}
30732	}
30733	if s.ModelBiasBaselineConfig != nil {
30734		if err := s.ModelBiasBaselineConfig.Validate(); err != nil {
30735			invalidParams.AddNested("ModelBiasBaselineConfig", err.(request.ErrInvalidParams))
30736		}
30737	}
30738	if s.ModelBiasJobInput != nil {
30739		if err := s.ModelBiasJobInput.Validate(); err != nil {
30740			invalidParams.AddNested("ModelBiasJobInput", err.(request.ErrInvalidParams))
30741		}
30742	}
30743	if s.ModelBiasJobOutputConfig != nil {
30744		if err := s.ModelBiasJobOutputConfig.Validate(); err != nil {
30745			invalidParams.AddNested("ModelBiasJobOutputConfig", err.(request.ErrInvalidParams))
30746		}
30747	}
30748	if s.NetworkConfig != nil {
30749		if err := s.NetworkConfig.Validate(); err != nil {
30750			invalidParams.AddNested("NetworkConfig", err.(request.ErrInvalidParams))
30751		}
30752	}
30753	if s.StoppingCondition != nil {
30754		if err := s.StoppingCondition.Validate(); err != nil {
30755			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
30756		}
30757	}
30758	if s.Tags != nil {
30759		for i, v := range s.Tags {
30760			if v == nil {
30761				continue
30762			}
30763			if err := v.Validate(); err != nil {
30764				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
30765			}
30766		}
30767	}
30768
30769	if invalidParams.Len() > 0 {
30770		return invalidParams
30771	}
30772	return nil
30773}
30774
30775// SetJobDefinitionName sets the JobDefinitionName field's value.
30776func (s *CreateModelBiasJobDefinitionInput) SetJobDefinitionName(v string) *CreateModelBiasJobDefinitionInput {
30777	s.JobDefinitionName = &v
30778	return s
30779}
30780
30781// SetJobResources sets the JobResources field's value.
30782func (s *CreateModelBiasJobDefinitionInput) SetJobResources(v *MonitoringResources) *CreateModelBiasJobDefinitionInput {
30783	s.JobResources = v
30784	return s
30785}
30786
30787// SetModelBiasAppSpecification sets the ModelBiasAppSpecification field's value.
30788func (s *CreateModelBiasJobDefinitionInput) SetModelBiasAppSpecification(v *ModelBiasAppSpecification) *CreateModelBiasJobDefinitionInput {
30789	s.ModelBiasAppSpecification = v
30790	return s
30791}
30792
30793// SetModelBiasBaselineConfig sets the ModelBiasBaselineConfig field's value.
30794func (s *CreateModelBiasJobDefinitionInput) SetModelBiasBaselineConfig(v *ModelBiasBaselineConfig) *CreateModelBiasJobDefinitionInput {
30795	s.ModelBiasBaselineConfig = v
30796	return s
30797}
30798
30799// SetModelBiasJobInput sets the ModelBiasJobInput field's value.
30800func (s *CreateModelBiasJobDefinitionInput) SetModelBiasJobInput(v *ModelBiasJobInput) *CreateModelBiasJobDefinitionInput {
30801	s.ModelBiasJobInput = v
30802	return s
30803}
30804
30805// SetModelBiasJobOutputConfig sets the ModelBiasJobOutputConfig field's value.
30806func (s *CreateModelBiasJobDefinitionInput) SetModelBiasJobOutputConfig(v *MonitoringOutputConfig) *CreateModelBiasJobDefinitionInput {
30807	s.ModelBiasJobOutputConfig = v
30808	return s
30809}
30810
30811// SetNetworkConfig sets the NetworkConfig field's value.
30812func (s *CreateModelBiasJobDefinitionInput) SetNetworkConfig(v *MonitoringNetworkConfig) *CreateModelBiasJobDefinitionInput {
30813	s.NetworkConfig = v
30814	return s
30815}
30816
30817// SetRoleArn sets the RoleArn field's value.
30818func (s *CreateModelBiasJobDefinitionInput) SetRoleArn(v string) *CreateModelBiasJobDefinitionInput {
30819	s.RoleArn = &v
30820	return s
30821}
30822
30823// SetStoppingCondition sets the StoppingCondition field's value.
30824func (s *CreateModelBiasJobDefinitionInput) SetStoppingCondition(v *MonitoringStoppingCondition) *CreateModelBiasJobDefinitionInput {
30825	s.StoppingCondition = v
30826	return s
30827}
30828
30829// SetTags sets the Tags field's value.
30830func (s *CreateModelBiasJobDefinitionInput) SetTags(v []*Tag) *CreateModelBiasJobDefinitionInput {
30831	s.Tags = v
30832	return s
30833}
30834
30835type CreateModelBiasJobDefinitionOutput struct {
30836	_ struct{} `type:"structure"`
30837
30838	// The Amazon Resource Name (ARN) of the model bias job.
30839	//
30840	// JobDefinitionArn is a required field
30841	JobDefinitionArn *string `type:"string" required:"true"`
30842}
30843
30844// String returns the string representation
30845func (s CreateModelBiasJobDefinitionOutput) String() string {
30846	return awsutil.Prettify(s)
30847}
30848
30849// GoString returns the string representation
30850func (s CreateModelBiasJobDefinitionOutput) GoString() string {
30851	return s.String()
30852}
30853
30854// SetJobDefinitionArn sets the JobDefinitionArn field's value.
30855func (s *CreateModelBiasJobDefinitionOutput) SetJobDefinitionArn(v string) *CreateModelBiasJobDefinitionOutput {
30856	s.JobDefinitionArn = &v
30857	return s
30858}
30859
30860type CreateModelExplainabilityJobDefinitionInput struct {
30861	_ struct{} `type:"structure"`
30862
30863	// The name of the model explainability job definition. The name must be unique
30864	// within an AWS Region in the AWS account.
30865	//
30866	// JobDefinitionName is a required field
30867	JobDefinitionName *string `min:"1" type:"string" required:"true"`
30868
30869	// Identifies the resources to deploy for a monitoring job.
30870	//
30871	// JobResources is a required field
30872	JobResources *MonitoringResources `type:"structure" required:"true"`
30873
30874	// Configures the model explainability job to run a specified Docker container
30875	// image.
30876	//
30877	// ModelExplainabilityAppSpecification is a required field
30878	ModelExplainabilityAppSpecification *ModelExplainabilityAppSpecification `type:"structure" required:"true"`
30879
30880	// The baseline configuration for a model explainability job.
30881	ModelExplainabilityBaselineConfig *ModelExplainabilityBaselineConfig `type:"structure"`
30882
30883	// Inputs for the model explainability job.
30884	//
30885	// ModelExplainabilityJobInput is a required field
30886	ModelExplainabilityJobInput *ModelExplainabilityJobInput `type:"structure" required:"true"`
30887
30888	// The output configuration for monitoring jobs.
30889	//
30890	// ModelExplainabilityJobOutputConfig is a required field
30891	ModelExplainabilityJobOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"`
30892
30893	// Networking options for a model explainability job.
30894	NetworkConfig *MonitoringNetworkConfig `type:"structure"`
30895
30896	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
30897	// to perform tasks on your behalf.
30898	//
30899	// RoleArn is a required field
30900	RoleArn *string `min:"20" type:"string" required:"true"`
30901
30902	// A time limit for how long the monitoring job is allowed to run before stopping.
30903	StoppingCondition *MonitoringStoppingCondition `type:"structure"`
30904
30905	// (Optional) An array of key-value pairs. For more information, see Using Cost
30906	// Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL)
30907	// in the AWS Billing and Cost Management User Guide.
30908	Tags []*Tag `type:"list"`
30909}
30910
30911// String returns the string representation
30912func (s CreateModelExplainabilityJobDefinitionInput) String() string {
30913	return awsutil.Prettify(s)
30914}
30915
30916// GoString returns the string representation
30917func (s CreateModelExplainabilityJobDefinitionInput) GoString() string {
30918	return s.String()
30919}
30920
30921// Validate inspects the fields of the type to determine if they are valid.
30922func (s *CreateModelExplainabilityJobDefinitionInput) Validate() error {
30923	invalidParams := request.ErrInvalidParams{Context: "CreateModelExplainabilityJobDefinitionInput"}
30924	if s.JobDefinitionName == nil {
30925		invalidParams.Add(request.NewErrParamRequired("JobDefinitionName"))
30926	}
30927	if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 {
30928		invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1))
30929	}
30930	if s.JobResources == nil {
30931		invalidParams.Add(request.NewErrParamRequired("JobResources"))
30932	}
30933	if s.ModelExplainabilityAppSpecification == nil {
30934		invalidParams.Add(request.NewErrParamRequired("ModelExplainabilityAppSpecification"))
30935	}
30936	if s.ModelExplainabilityJobInput == nil {
30937		invalidParams.Add(request.NewErrParamRequired("ModelExplainabilityJobInput"))
30938	}
30939	if s.ModelExplainabilityJobOutputConfig == nil {
30940		invalidParams.Add(request.NewErrParamRequired("ModelExplainabilityJobOutputConfig"))
30941	}
30942	if s.RoleArn == nil {
30943		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
30944	}
30945	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
30946		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
30947	}
30948	if s.JobResources != nil {
30949		if err := s.JobResources.Validate(); err != nil {
30950			invalidParams.AddNested("JobResources", err.(request.ErrInvalidParams))
30951		}
30952	}
30953	if s.ModelExplainabilityAppSpecification != nil {
30954		if err := s.ModelExplainabilityAppSpecification.Validate(); err != nil {
30955			invalidParams.AddNested("ModelExplainabilityAppSpecification", err.(request.ErrInvalidParams))
30956		}
30957	}
30958	if s.ModelExplainabilityBaselineConfig != nil {
30959		if err := s.ModelExplainabilityBaselineConfig.Validate(); err != nil {
30960			invalidParams.AddNested("ModelExplainabilityBaselineConfig", err.(request.ErrInvalidParams))
30961		}
30962	}
30963	if s.ModelExplainabilityJobInput != nil {
30964		if err := s.ModelExplainabilityJobInput.Validate(); err != nil {
30965			invalidParams.AddNested("ModelExplainabilityJobInput", err.(request.ErrInvalidParams))
30966		}
30967	}
30968	if s.ModelExplainabilityJobOutputConfig != nil {
30969		if err := s.ModelExplainabilityJobOutputConfig.Validate(); err != nil {
30970			invalidParams.AddNested("ModelExplainabilityJobOutputConfig", err.(request.ErrInvalidParams))
30971		}
30972	}
30973	if s.NetworkConfig != nil {
30974		if err := s.NetworkConfig.Validate(); err != nil {
30975			invalidParams.AddNested("NetworkConfig", err.(request.ErrInvalidParams))
30976		}
30977	}
30978	if s.StoppingCondition != nil {
30979		if err := s.StoppingCondition.Validate(); err != nil {
30980			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
30981		}
30982	}
30983	if s.Tags != nil {
30984		for i, v := range s.Tags {
30985			if v == nil {
30986				continue
30987			}
30988			if err := v.Validate(); err != nil {
30989				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
30990			}
30991		}
30992	}
30993
30994	if invalidParams.Len() > 0 {
30995		return invalidParams
30996	}
30997	return nil
30998}
30999
31000// SetJobDefinitionName sets the JobDefinitionName field's value.
31001func (s *CreateModelExplainabilityJobDefinitionInput) SetJobDefinitionName(v string) *CreateModelExplainabilityJobDefinitionInput {
31002	s.JobDefinitionName = &v
31003	return s
31004}
31005
31006// SetJobResources sets the JobResources field's value.
31007func (s *CreateModelExplainabilityJobDefinitionInput) SetJobResources(v *MonitoringResources) *CreateModelExplainabilityJobDefinitionInput {
31008	s.JobResources = v
31009	return s
31010}
31011
31012// SetModelExplainabilityAppSpecification sets the ModelExplainabilityAppSpecification field's value.
31013func (s *CreateModelExplainabilityJobDefinitionInput) SetModelExplainabilityAppSpecification(v *ModelExplainabilityAppSpecification) *CreateModelExplainabilityJobDefinitionInput {
31014	s.ModelExplainabilityAppSpecification = v
31015	return s
31016}
31017
31018// SetModelExplainabilityBaselineConfig sets the ModelExplainabilityBaselineConfig field's value.
31019func (s *CreateModelExplainabilityJobDefinitionInput) SetModelExplainabilityBaselineConfig(v *ModelExplainabilityBaselineConfig) *CreateModelExplainabilityJobDefinitionInput {
31020	s.ModelExplainabilityBaselineConfig = v
31021	return s
31022}
31023
31024// SetModelExplainabilityJobInput sets the ModelExplainabilityJobInput field's value.
31025func (s *CreateModelExplainabilityJobDefinitionInput) SetModelExplainabilityJobInput(v *ModelExplainabilityJobInput) *CreateModelExplainabilityJobDefinitionInput {
31026	s.ModelExplainabilityJobInput = v
31027	return s
31028}
31029
31030// SetModelExplainabilityJobOutputConfig sets the ModelExplainabilityJobOutputConfig field's value.
31031func (s *CreateModelExplainabilityJobDefinitionInput) SetModelExplainabilityJobOutputConfig(v *MonitoringOutputConfig) *CreateModelExplainabilityJobDefinitionInput {
31032	s.ModelExplainabilityJobOutputConfig = v
31033	return s
31034}
31035
31036// SetNetworkConfig sets the NetworkConfig field's value.
31037func (s *CreateModelExplainabilityJobDefinitionInput) SetNetworkConfig(v *MonitoringNetworkConfig) *CreateModelExplainabilityJobDefinitionInput {
31038	s.NetworkConfig = v
31039	return s
31040}
31041
31042// SetRoleArn sets the RoleArn field's value.
31043func (s *CreateModelExplainabilityJobDefinitionInput) SetRoleArn(v string) *CreateModelExplainabilityJobDefinitionInput {
31044	s.RoleArn = &v
31045	return s
31046}
31047
31048// SetStoppingCondition sets the StoppingCondition field's value.
31049func (s *CreateModelExplainabilityJobDefinitionInput) SetStoppingCondition(v *MonitoringStoppingCondition) *CreateModelExplainabilityJobDefinitionInput {
31050	s.StoppingCondition = v
31051	return s
31052}
31053
31054// SetTags sets the Tags field's value.
31055func (s *CreateModelExplainabilityJobDefinitionInput) SetTags(v []*Tag) *CreateModelExplainabilityJobDefinitionInput {
31056	s.Tags = v
31057	return s
31058}
31059
31060type CreateModelExplainabilityJobDefinitionOutput struct {
31061	_ struct{} `type:"structure"`
31062
31063	// The Amazon Resource Name (ARN) of the model explainability job.
31064	//
31065	// JobDefinitionArn is a required field
31066	JobDefinitionArn *string `type:"string" required:"true"`
31067}
31068
31069// String returns the string representation
31070func (s CreateModelExplainabilityJobDefinitionOutput) String() string {
31071	return awsutil.Prettify(s)
31072}
31073
31074// GoString returns the string representation
31075func (s CreateModelExplainabilityJobDefinitionOutput) GoString() string {
31076	return s.String()
31077}
31078
31079// SetJobDefinitionArn sets the JobDefinitionArn field's value.
31080func (s *CreateModelExplainabilityJobDefinitionOutput) SetJobDefinitionArn(v string) *CreateModelExplainabilityJobDefinitionOutput {
31081	s.JobDefinitionArn = &v
31082	return s
31083}
31084
31085type CreateModelInput struct {
31086	_ struct{} `type:"structure"`
31087
31088	// Specifies the containers in the inference pipeline.
31089	Containers []*ContainerDefinition `type:"list"`
31090
31091	// Isolates the model container. No inbound or outbound network calls can be
31092	// made to or from the model container.
31093	EnableNetworkIsolation *bool `type:"boolean"`
31094
31095	// The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can
31096	// assume to access model artifacts and docker image for deployment on ML compute
31097	// instances or for batch transform jobs. Deploying on ML compute instances
31098	// is part of model hosting. For more information, see Amazon SageMaker Roles
31099	// (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html).
31100	//
31101	// To be able to pass this role to Amazon SageMaker, the caller of this API
31102	// must have the iam:PassRole permission.
31103	//
31104	// ExecutionRoleArn is a required field
31105	ExecutionRoleArn *string `min:"20" type:"string" required:"true"`
31106
31107	// Specifies details of how containers in a multi-container endpoint are called.
31108	InferenceExecutionConfig *InferenceExecutionConfig `type:"structure"`
31109
31110	// The name of the new model.
31111	//
31112	// ModelName is a required field
31113	ModelName *string `type:"string" required:"true"`
31114
31115	// The location of the primary docker image containing inference code, associated
31116	// artifacts, and custom environment map that the inference code uses when the
31117	// model is deployed for predictions.
31118	PrimaryContainer *ContainerDefinition `type:"structure"`
31119
31120	// An array of key-value pairs. You can use tags to categorize your AWS resources
31121	// in different ways, for example, by purpose, owner, or environment. For more
31122	// information, see Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
31123	Tags []*Tag `type:"list"`
31124
31125	// A VpcConfig object that specifies the VPC that you want your model to connect
31126	// to. Control access to and from your model container by configuring the VPC.
31127	// VpcConfig is used in hosting services and in batch transform. For more information,
31128	// see Protect Endpoints by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html)
31129	// and Protect Data in Batch Transform Jobs by Using an Amazon Virtual Private
31130	// Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-vpc.html).
31131	VpcConfig *VpcConfig `type:"structure"`
31132}
31133
31134// String returns the string representation
31135func (s CreateModelInput) String() string {
31136	return awsutil.Prettify(s)
31137}
31138
31139// GoString returns the string representation
31140func (s CreateModelInput) GoString() string {
31141	return s.String()
31142}
31143
31144// Validate inspects the fields of the type to determine if they are valid.
31145func (s *CreateModelInput) Validate() error {
31146	invalidParams := request.ErrInvalidParams{Context: "CreateModelInput"}
31147	if s.ExecutionRoleArn == nil {
31148		invalidParams.Add(request.NewErrParamRequired("ExecutionRoleArn"))
31149	}
31150	if s.ExecutionRoleArn != nil && len(*s.ExecutionRoleArn) < 20 {
31151		invalidParams.Add(request.NewErrParamMinLen("ExecutionRoleArn", 20))
31152	}
31153	if s.ModelName == nil {
31154		invalidParams.Add(request.NewErrParamRequired("ModelName"))
31155	}
31156	if s.Containers != nil {
31157		for i, v := range s.Containers {
31158			if v == nil {
31159				continue
31160			}
31161			if err := v.Validate(); err != nil {
31162				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Containers", i), err.(request.ErrInvalidParams))
31163			}
31164		}
31165	}
31166	if s.InferenceExecutionConfig != nil {
31167		if err := s.InferenceExecutionConfig.Validate(); err != nil {
31168			invalidParams.AddNested("InferenceExecutionConfig", err.(request.ErrInvalidParams))
31169		}
31170	}
31171	if s.PrimaryContainer != nil {
31172		if err := s.PrimaryContainer.Validate(); err != nil {
31173			invalidParams.AddNested("PrimaryContainer", err.(request.ErrInvalidParams))
31174		}
31175	}
31176	if s.Tags != nil {
31177		for i, v := range s.Tags {
31178			if v == nil {
31179				continue
31180			}
31181			if err := v.Validate(); err != nil {
31182				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
31183			}
31184		}
31185	}
31186	if s.VpcConfig != nil {
31187		if err := s.VpcConfig.Validate(); err != nil {
31188			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
31189		}
31190	}
31191
31192	if invalidParams.Len() > 0 {
31193		return invalidParams
31194	}
31195	return nil
31196}
31197
31198// SetContainers sets the Containers field's value.
31199func (s *CreateModelInput) SetContainers(v []*ContainerDefinition) *CreateModelInput {
31200	s.Containers = v
31201	return s
31202}
31203
31204// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
31205func (s *CreateModelInput) SetEnableNetworkIsolation(v bool) *CreateModelInput {
31206	s.EnableNetworkIsolation = &v
31207	return s
31208}
31209
31210// SetExecutionRoleArn sets the ExecutionRoleArn field's value.
31211func (s *CreateModelInput) SetExecutionRoleArn(v string) *CreateModelInput {
31212	s.ExecutionRoleArn = &v
31213	return s
31214}
31215
31216// SetInferenceExecutionConfig sets the InferenceExecutionConfig field's value.
31217func (s *CreateModelInput) SetInferenceExecutionConfig(v *InferenceExecutionConfig) *CreateModelInput {
31218	s.InferenceExecutionConfig = v
31219	return s
31220}
31221
31222// SetModelName sets the ModelName field's value.
31223func (s *CreateModelInput) SetModelName(v string) *CreateModelInput {
31224	s.ModelName = &v
31225	return s
31226}
31227
31228// SetPrimaryContainer sets the PrimaryContainer field's value.
31229func (s *CreateModelInput) SetPrimaryContainer(v *ContainerDefinition) *CreateModelInput {
31230	s.PrimaryContainer = v
31231	return s
31232}
31233
31234// SetTags sets the Tags field's value.
31235func (s *CreateModelInput) SetTags(v []*Tag) *CreateModelInput {
31236	s.Tags = v
31237	return s
31238}
31239
31240// SetVpcConfig sets the VpcConfig field's value.
31241func (s *CreateModelInput) SetVpcConfig(v *VpcConfig) *CreateModelInput {
31242	s.VpcConfig = v
31243	return s
31244}
31245
31246type CreateModelOutput struct {
31247	_ struct{} `type:"structure"`
31248
31249	// The ARN of the model created in Amazon SageMaker.
31250	//
31251	// ModelArn is a required field
31252	ModelArn *string `min:"20" type:"string" required:"true"`
31253}
31254
31255// String returns the string representation
31256func (s CreateModelOutput) String() string {
31257	return awsutil.Prettify(s)
31258}
31259
31260// GoString returns the string representation
31261func (s CreateModelOutput) GoString() string {
31262	return s.String()
31263}
31264
31265// SetModelArn sets the ModelArn field's value.
31266func (s *CreateModelOutput) SetModelArn(v string) *CreateModelOutput {
31267	s.ModelArn = &v
31268	return s
31269}
31270
31271type CreateModelPackageGroupInput struct {
31272	_ struct{} `type:"structure"`
31273
31274	// A description for the model group.
31275	ModelPackageGroupDescription *string `type:"string"`
31276
31277	// The name of the model group.
31278	//
31279	// ModelPackageGroupName is a required field
31280	ModelPackageGroupName *string `min:"1" type:"string" required:"true"`
31281
31282	// A list of key value pairs associated with the model group. For more information,
31283	// see Tagging AWS resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
31284	// in the AWS General Reference Guide.
31285	Tags []*Tag `type:"list"`
31286}
31287
31288// String returns the string representation
31289func (s CreateModelPackageGroupInput) String() string {
31290	return awsutil.Prettify(s)
31291}
31292
31293// GoString returns the string representation
31294func (s CreateModelPackageGroupInput) GoString() string {
31295	return s.String()
31296}
31297
31298// Validate inspects the fields of the type to determine if they are valid.
31299func (s *CreateModelPackageGroupInput) Validate() error {
31300	invalidParams := request.ErrInvalidParams{Context: "CreateModelPackageGroupInput"}
31301	if s.ModelPackageGroupName == nil {
31302		invalidParams.Add(request.NewErrParamRequired("ModelPackageGroupName"))
31303	}
31304	if s.ModelPackageGroupName != nil && len(*s.ModelPackageGroupName) < 1 {
31305		invalidParams.Add(request.NewErrParamMinLen("ModelPackageGroupName", 1))
31306	}
31307	if s.Tags != nil {
31308		for i, v := range s.Tags {
31309			if v == nil {
31310				continue
31311			}
31312			if err := v.Validate(); err != nil {
31313				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
31314			}
31315		}
31316	}
31317
31318	if invalidParams.Len() > 0 {
31319		return invalidParams
31320	}
31321	return nil
31322}
31323
31324// SetModelPackageGroupDescription sets the ModelPackageGroupDescription field's value.
31325func (s *CreateModelPackageGroupInput) SetModelPackageGroupDescription(v string) *CreateModelPackageGroupInput {
31326	s.ModelPackageGroupDescription = &v
31327	return s
31328}
31329
31330// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
31331func (s *CreateModelPackageGroupInput) SetModelPackageGroupName(v string) *CreateModelPackageGroupInput {
31332	s.ModelPackageGroupName = &v
31333	return s
31334}
31335
31336// SetTags sets the Tags field's value.
31337func (s *CreateModelPackageGroupInput) SetTags(v []*Tag) *CreateModelPackageGroupInput {
31338	s.Tags = v
31339	return s
31340}
31341
31342type CreateModelPackageGroupOutput struct {
31343	_ struct{} `type:"structure"`
31344
31345	// The Amazon Resource Name (ARN) of the model group.
31346	//
31347	// ModelPackageGroupArn is a required field
31348	ModelPackageGroupArn *string `min:"1" type:"string" required:"true"`
31349}
31350
31351// String returns the string representation
31352func (s CreateModelPackageGroupOutput) String() string {
31353	return awsutil.Prettify(s)
31354}
31355
31356// GoString returns the string representation
31357func (s CreateModelPackageGroupOutput) GoString() string {
31358	return s.String()
31359}
31360
31361// SetModelPackageGroupArn sets the ModelPackageGroupArn field's value.
31362func (s *CreateModelPackageGroupOutput) SetModelPackageGroupArn(v string) *CreateModelPackageGroupOutput {
31363	s.ModelPackageGroupArn = &v
31364	return s
31365}
31366
31367type CreateModelPackageInput struct {
31368	_ struct{} `type:"structure"`
31369
31370	// Whether to certify the model package for listing on AWS Marketplace.
31371	//
31372	// This parameter is optional for unversioned models, and does not apply to
31373	// versioned models.
31374	CertifyForMarketplace *bool `type:"boolean"`
31375
31376	// A unique token that guarantees that the call to this API is idempotent.
31377	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
31378
31379	// Specifies details about inference jobs that can be run with models based
31380	// on this model package, including the following:
31381	//
31382	//    * The Amazon ECR paths of containers that contain the inference code and
31383	//    model artifacts.
31384	//
31385	//    * The instance types that the model package supports for transform jobs
31386	//    and real-time endpoints used for inference.
31387	//
31388	//    * The input and output content formats that the model package supports
31389	//    for inference.
31390	InferenceSpecification *InferenceSpecification `type:"structure"`
31391
31392	// Metadata properties of the tracking entity, trial, or trial component.
31393	MetadataProperties *MetadataProperties `type:"structure"`
31394
31395	// Whether the model is approved for deployment.
31396	//
31397	// This parameter is optional for versioned models, and does not apply to unversioned
31398	// models.
31399	//
31400	// For versioned models, the value of this parameter must be set to Approved
31401	// to deploy the model.
31402	ModelApprovalStatus *string `type:"string" enum:"ModelApprovalStatus"`
31403
31404	// A structure that contains model metrics reports.
31405	ModelMetrics *ModelMetrics `type:"structure"`
31406
31407	// A description of the model package.
31408	ModelPackageDescription *string `type:"string"`
31409
31410	// The name of the model group that this model version belongs to.
31411	//
31412	// This parameter is required for versioned models, and does not apply to unversioned
31413	// models.
31414	ModelPackageGroupName *string `min:"1" type:"string"`
31415
31416	// The name of the model package. The name must have 1 to 63 characters. Valid
31417	// characters are a-z, A-Z, 0-9, and - (hyphen).
31418	//
31419	// This parameter is required for unversioned models. It is not applicable to
31420	// versioned models.
31421	ModelPackageName *string `min:"1" type:"string"`
31422
31423	// Details about the algorithm that was used to create the model package.
31424	SourceAlgorithmSpecification *SourceAlgorithmSpecification `type:"structure"`
31425
31426	// A list of key value pairs associated with the model. For more information,
31427	// see Tagging AWS resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
31428	// in the AWS General Reference Guide.
31429	Tags []*Tag `type:"list"`
31430
31431	// Specifies configurations for one or more transform jobs that Amazon SageMaker
31432	// runs to test the model package.
31433	ValidationSpecification *ModelPackageValidationSpecification `type:"structure"`
31434}
31435
31436// String returns the string representation
31437func (s CreateModelPackageInput) String() string {
31438	return awsutil.Prettify(s)
31439}
31440
31441// GoString returns the string representation
31442func (s CreateModelPackageInput) GoString() string {
31443	return s.String()
31444}
31445
31446// Validate inspects the fields of the type to determine if they are valid.
31447func (s *CreateModelPackageInput) Validate() error {
31448	invalidParams := request.ErrInvalidParams{Context: "CreateModelPackageInput"}
31449	if s.ClientToken != nil && len(*s.ClientToken) < 1 {
31450		invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
31451	}
31452	if s.ModelPackageGroupName != nil && len(*s.ModelPackageGroupName) < 1 {
31453		invalidParams.Add(request.NewErrParamMinLen("ModelPackageGroupName", 1))
31454	}
31455	if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 {
31456		invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1))
31457	}
31458	if s.InferenceSpecification != nil {
31459		if err := s.InferenceSpecification.Validate(); err != nil {
31460			invalidParams.AddNested("InferenceSpecification", err.(request.ErrInvalidParams))
31461		}
31462	}
31463	if s.ModelMetrics != nil {
31464		if err := s.ModelMetrics.Validate(); err != nil {
31465			invalidParams.AddNested("ModelMetrics", err.(request.ErrInvalidParams))
31466		}
31467	}
31468	if s.SourceAlgorithmSpecification != nil {
31469		if err := s.SourceAlgorithmSpecification.Validate(); err != nil {
31470			invalidParams.AddNested("SourceAlgorithmSpecification", err.(request.ErrInvalidParams))
31471		}
31472	}
31473	if s.Tags != nil {
31474		for i, v := range s.Tags {
31475			if v == nil {
31476				continue
31477			}
31478			if err := v.Validate(); err != nil {
31479				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
31480			}
31481		}
31482	}
31483	if s.ValidationSpecification != nil {
31484		if err := s.ValidationSpecification.Validate(); err != nil {
31485			invalidParams.AddNested("ValidationSpecification", err.(request.ErrInvalidParams))
31486		}
31487	}
31488
31489	if invalidParams.Len() > 0 {
31490		return invalidParams
31491	}
31492	return nil
31493}
31494
31495// SetCertifyForMarketplace sets the CertifyForMarketplace field's value.
31496func (s *CreateModelPackageInput) SetCertifyForMarketplace(v bool) *CreateModelPackageInput {
31497	s.CertifyForMarketplace = &v
31498	return s
31499}
31500
31501// SetClientToken sets the ClientToken field's value.
31502func (s *CreateModelPackageInput) SetClientToken(v string) *CreateModelPackageInput {
31503	s.ClientToken = &v
31504	return s
31505}
31506
31507// SetInferenceSpecification sets the InferenceSpecification field's value.
31508func (s *CreateModelPackageInput) SetInferenceSpecification(v *InferenceSpecification) *CreateModelPackageInput {
31509	s.InferenceSpecification = v
31510	return s
31511}
31512
31513// SetMetadataProperties sets the MetadataProperties field's value.
31514func (s *CreateModelPackageInput) SetMetadataProperties(v *MetadataProperties) *CreateModelPackageInput {
31515	s.MetadataProperties = v
31516	return s
31517}
31518
31519// SetModelApprovalStatus sets the ModelApprovalStatus field's value.
31520func (s *CreateModelPackageInput) SetModelApprovalStatus(v string) *CreateModelPackageInput {
31521	s.ModelApprovalStatus = &v
31522	return s
31523}
31524
31525// SetModelMetrics sets the ModelMetrics field's value.
31526func (s *CreateModelPackageInput) SetModelMetrics(v *ModelMetrics) *CreateModelPackageInput {
31527	s.ModelMetrics = v
31528	return s
31529}
31530
31531// SetModelPackageDescription sets the ModelPackageDescription field's value.
31532func (s *CreateModelPackageInput) SetModelPackageDescription(v string) *CreateModelPackageInput {
31533	s.ModelPackageDescription = &v
31534	return s
31535}
31536
31537// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
31538func (s *CreateModelPackageInput) SetModelPackageGroupName(v string) *CreateModelPackageInput {
31539	s.ModelPackageGroupName = &v
31540	return s
31541}
31542
31543// SetModelPackageName sets the ModelPackageName field's value.
31544func (s *CreateModelPackageInput) SetModelPackageName(v string) *CreateModelPackageInput {
31545	s.ModelPackageName = &v
31546	return s
31547}
31548
31549// SetSourceAlgorithmSpecification sets the SourceAlgorithmSpecification field's value.
31550func (s *CreateModelPackageInput) SetSourceAlgorithmSpecification(v *SourceAlgorithmSpecification) *CreateModelPackageInput {
31551	s.SourceAlgorithmSpecification = v
31552	return s
31553}
31554
31555// SetTags sets the Tags field's value.
31556func (s *CreateModelPackageInput) SetTags(v []*Tag) *CreateModelPackageInput {
31557	s.Tags = v
31558	return s
31559}
31560
31561// SetValidationSpecification sets the ValidationSpecification field's value.
31562func (s *CreateModelPackageInput) SetValidationSpecification(v *ModelPackageValidationSpecification) *CreateModelPackageInput {
31563	s.ValidationSpecification = v
31564	return s
31565}
31566
31567type CreateModelPackageOutput struct {
31568	_ struct{} `type:"structure"`
31569
31570	// The Amazon Resource Name (ARN) of the new model package.
31571	//
31572	// ModelPackageArn is a required field
31573	ModelPackageArn *string `min:"1" type:"string" required:"true"`
31574}
31575
31576// String returns the string representation
31577func (s CreateModelPackageOutput) String() string {
31578	return awsutil.Prettify(s)
31579}
31580
31581// GoString returns the string representation
31582func (s CreateModelPackageOutput) GoString() string {
31583	return s.String()
31584}
31585
31586// SetModelPackageArn sets the ModelPackageArn field's value.
31587func (s *CreateModelPackageOutput) SetModelPackageArn(v string) *CreateModelPackageOutput {
31588	s.ModelPackageArn = &v
31589	return s
31590}
31591
31592type CreateModelQualityJobDefinitionInput struct {
31593	_ struct{} `type:"structure"`
31594
31595	// The name of the monitoring job definition.
31596	//
31597	// JobDefinitionName is a required field
31598	JobDefinitionName *string `min:"1" type:"string" required:"true"`
31599
31600	// Identifies the resources to deploy for a monitoring job.
31601	//
31602	// JobResources is a required field
31603	JobResources *MonitoringResources `type:"structure" required:"true"`
31604
31605	// The container that runs the monitoring job.
31606	//
31607	// ModelQualityAppSpecification is a required field
31608	ModelQualityAppSpecification *ModelQualityAppSpecification `type:"structure" required:"true"`
31609
31610	// Specifies the constraints and baselines for the monitoring job.
31611	ModelQualityBaselineConfig *ModelQualityBaselineConfig `type:"structure"`
31612
31613	// A list of the inputs that are monitored. Currently endpoints are supported.
31614	//
31615	// ModelQualityJobInput is a required field
31616	ModelQualityJobInput *ModelQualityJobInput `type:"structure" required:"true"`
31617
31618	// The output configuration for monitoring jobs.
31619	//
31620	// ModelQualityJobOutputConfig is a required field
31621	ModelQualityJobOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"`
31622
31623	// Specifies the network configuration for the monitoring job.
31624	NetworkConfig *MonitoringNetworkConfig `type:"structure"`
31625
31626	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
31627	// to perform tasks on your behalf.
31628	//
31629	// RoleArn is a required field
31630	RoleArn *string `min:"20" type:"string" required:"true"`
31631
31632	// A time limit for how long the monitoring job is allowed to run before stopping.
31633	StoppingCondition *MonitoringStoppingCondition `type:"structure"`
31634
31635	// (Optional) An array of key-value pairs. For more information, see Using Cost
31636	// Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL)
31637	// in the AWS Billing and Cost Management User Guide.
31638	Tags []*Tag `type:"list"`
31639}
31640
31641// String returns the string representation
31642func (s CreateModelQualityJobDefinitionInput) String() string {
31643	return awsutil.Prettify(s)
31644}
31645
31646// GoString returns the string representation
31647func (s CreateModelQualityJobDefinitionInput) GoString() string {
31648	return s.String()
31649}
31650
31651// Validate inspects the fields of the type to determine if they are valid.
31652func (s *CreateModelQualityJobDefinitionInput) Validate() error {
31653	invalidParams := request.ErrInvalidParams{Context: "CreateModelQualityJobDefinitionInput"}
31654	if s.JobDefinitionName == nil {
31655		invalidParams.Add(request.NewErrParamRequired("JobDefinitionName"))
31656	}
31657	if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 {
31658		invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1))
31659	}
31660	if s.JobResources == nil {
31661		invalidParams.Add(request.NewErrParamRequired("JobResources"))
31662	}
31663	if s.ModelQualityAppSpecification == nil {
31664		invalidParams.Add(request.NewErrParamRequired("ModelQualityAppSpecification"))
31665	}
31666	if s.ModelQualityJobInput == nil {
31667		invalidParams.Add(request.NewErrParamRequired("ModelQualityJobInput"))
31668	}
31669	if s.ModelQualityJobOutputConfig == nil {
31670		invalidParams.Add(request.NewErrParamRequired("ModelQualityJobOutputConfig"))
31671	}
31672	if s.RoleArn == nil {
31673		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
31674	}
31675	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
31676		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
31677	}
31678	if s.JobResources != nil {
31679		if err := s.JobResources.Validate(); err != nil {
31680			invalidParams.AddNested("JobResources", err.(request.ErrInvalidParams))
31681		}
31682	}
31683	if s.ModelQualityAppSpecification != nil {
31684		if err := s.ModelQualityAppSpecification.Validate(); err != nil {
31685			invalidParams.AddNested("ModelQualityAppSpecification", err.(request.ErrInvalidParams))
31686		}
31687	}
31688	if s.ModelQualityBaselineConfig != nil {
31689		if err := s.ModelQualityBaselineConfig.Validate(); err != nil {
31690			invalidParams.AddNested("ModelQualityBaselineConfig", err.(request.ErrInvalidParams))
31691		}
31692	}
31693	if s.ModelQualityJobInput != nil {
31694		if err := s.ModelQualityJobInput.Validate(); err != nil {
31695			invalidParams.AddNested("ModelQualityJobInput", err.(request.ErrInvalidParams))
31696		}
31697	}
31698	if s.ModelQualityJobOutputConfig != nil {
31699		if err := s.ModelQualityJobOutputConfig.Validate(); err != nil {
31700			invalidParams.AddNested("ModelQualityJobOutputConfig", err.(request.ErrInvalidParams))
31701		}
31702	}
31703	if s.NetworkConfig != nil {
31704		if err := s.NetworkConfig.Validate(); err != nil {
31705			invalidParams.AddNested("NetworkConfig", err.(request.ErrInvalidParams))
31706		}
31707	}
31708	if s.StoppingCondition != nil {
31709		if err := s.StoppingCondition.Validate(); err != nil {
31710			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
31711		}
31712	}
31713	if s.Tags != nil {
31714		for i, v := range s.Tags {
31715			if v == nil {
31716				continue
31717			}
31718			if err := v.Validate(); err != nil {
31719				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
31720			}
31721		}
31722	}
31723
31724	if invalidParams.Len() > 0 {
31725		return invalidParams
31726	}
31727	return nil
31728}
31729
31730// SetJobDefinitionName sets the JobDefinitionName field's value.
31731func (s *CreateModelQualityJobDefinitionInput) SetJobDefinitionName(v string) *CreateModelQualityJobDefinitionInput {
31732	s.JobDefinitionName = &v
31733	return s
31734}
31735
31736// SetJobResources sets the JobResources field's value.
31737func (s *CreateModelQualityJobDefinitionInput) SetJobResources(v *MonitoringResources) *CreateModelQualityJobDefinitionInput {
31738	s.JobResources = v
31739	return s
31740}
31741
31742// SetModelQualityAppSpecification sets the ModelQualityAppSpecification field's value.
31743func (s *CreateModelQualityJobDefinitionInput) SetModelQualityAppSpecification(v *ModelQualityAppSpecification) *CreateModelQualityJobDefinitionInput {
31744	s.ModelQualityAppSpecification = v
31745	return s
31746}
31747
31748// SetModelQualityBaselineConfig sets the ModelQualityBaselineConfig field's value.
31749func (s *CreateModelQualityJobDefinitionInput) SetModelQualityBaselineConfig(v *ModelQualityBaselineConfig) *CreateModelQualityJobDefinitionInput {
31750	s.ModelQualityBaselineConfig = v
31751	return s
31752}
31753
31754// SetModelQualityJobInput sets the ModelQualityJobInput field's value.
31755func (s *CreateModelQualityJobDefinitionInput) SetModelQualityJobInput(v *ModelQualityJobInput) *CreateModelQualityJobDefinitionInput {
31756	s.ModelQualityJobInput = v
31757	return s
31758}
31759
31760// SetModelQualityJobOutputConfig sets the ModelQualityJobOutputConfig field's value.
31761func (s *CreateModelQualityJobDefinitionInput) SetModelQualityJobOutputConfig(v *MonitoringOutputConfig) *CreateModelQualityJobDefinitionInput {
31762	s.ModelQualityJobOutputConfig = v
31763	return s
31764}
31765
31766// SetNetworkConfig sets the NetworkConfig field's value.
31767func (s *CreateModelQualityJobDefinitionInput) SetNetworkConfig(v *MonitoringNetworkConfig) *CreateModelQualityJobDefinitionInput {
31768	s.NetworkConfig = v
31769	return s
31770}
31771
31772// SetRoleArn sets the RoleArn field's value.
31773func (s *CreateModelQualityJobDefinitionInput) SetRoleArn(v string) *CreateModelQualityJobDefinitionInput {
31774	s.RoleArn = &v
31775	return s
31776}
31777
31778// SetStoppingCondition sets the StoppingCondition field's value.
31779func (s *CreateModelQualityJobDefinitionInput) SetStoppingCondition(v *MonitoringStoppingCondition) *CreateModelQualityJobDefinitionInput {
31780	s.StoppingCondition = v
31781	return s
31782}
31783
31784// SetTags sets the Tags field's value.
31785func (s *CreateModelQualityJobDefinitionInput) SetTags(v []*Tag) *CreateModelQualityJobDefinitionInput {
31786	s.Tags = v
31787	return s
31788}
31789
31790type CreateModelQualityJobDefinitionOutput struct {
31791	_ struct{} `type:"structure"`
31792
31793	// The Amazon Resource Name (ARN) of the model quality monitoring job.
31794	//
31795	// JobDefinitionArn is a required field
31796	JobDefinitionArn *string `type:"string" required:"true"`
31797}
31798
31799// String returns the string representation
31800func (s CreateModelQualityJobDefinitionOutput) String() string {
31801	return awsutil.Prettify(s)
31802}
31803
31804// GoString returns the string representation
31805func (s CreateModelQualityJobDefinitionOutput) GoString() string {
31806	return s.String()
31807}
31808
31809// SetJobDefinitionArn sets the JobDefinitionArn field's value.
31810func (s *CreateModelQualityJobDefinitionOutput) SetJobDefinitionArn(v string) *CreateModelQualityJobDefinitionOutput {
31811	s.JobDefinitionArn = &v
31812	return s
31813}
31814
31815type CreateMonitoringScheduleInput struct {
31816	_ struct{} `type:"structure"`
31817
31818	// The configuration object that specifies the monitoring schedule and defines
31819	// the monitoring job.
31820	//
31821	// MonitoringScheduleConfig is a required field
31822	MonitoringScheduleConfig *MonitoringScheduleConfig `type:"structure" required:"true"`
31823
31824	// The name of the monitoring schedule. The name must be unique within an AWS
31825	// Region within an AWS account.
31826	//
31827	// MonitoringScheduleName is a required field
31828	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
31829
31830	// (Optional) An array of key-value pairs. For more information, see Using Cost
31831	// Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL)
31832	// in the AWS Billing and Cost Management User Guide.
31833	Tags []*Tag `type:"list"`
31834}
31835
31836// String returns the string representation
31837func (s CreateMonitoringScheduleInput) String() string {
31838	return awsutil.Prettify(s)
31839}
31840
31841// GoString returns the string representation
31842func (s CreateMonitoringScheduleInput) GoString() string {
31843	return s.String()
31844}
31845
31846// Validate inspects the fields of the type to determine if they are valid.
31847func (s *CreateMonitoringScheduleInput) Validate() error {
31848	invalidParams := request.ErrInvalidParams{Context: "CreateMonitoringScheduleInput"}
31849	if s.MonitoringScheduleConfig == nil {
31850		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleConfig"))
31851	}
31852	if s.MonitoringScheduleName == nil {
31853		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName"))
31854	}
31855	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
31856		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
31857	}
31858	if s.MonitoringScheduleConfig != nil {
31859		if err := s.MonitoringScheduleConfig.Validate(); err != nil {
31860			invalidParams.AddNested("MonitoringScheduleConfig", err.(request.ErrInvalidParams))
31861		}
31862	}
31863	if s.Tags != nil {
31864		for i, v := range s.Tags {
31865			if v == nil {
31866				continue
31867			}
31868			if err := v.Validate(); err != nil {
31869				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
31870			}
31871		}
31872	}
31873
31874	if invalidParams.Len() > 0 {
31875		return invalidParams
31876	}
31877	return nil
31878}
31879
31880// SetMonitoringScheduleConfig sets the MonitoringScheduleConfig field's value.
31881func (s *CreateMonitoringScheduleInput) SetMonitoringScheduleConfig(v *MonitoringScheduleConfig) *CreateMonitoringScheduleInput {
31882	s.MonitoringScheduleConfig = v
31883	return s
31884}
31885
31886// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
31887func (s *CreateMonitoringScheduleInput) SetMonitoringScheduleName(v string) *CreateMonitoringScheduleInput {
31888	s.MonitoringScheduleName = &v
31889	return s
31890}
31891
31892// SetTags sets the Tags field's value.
31893func (s *CreateMonitoringScheduleInput) SetTags(v []*Tag) *CreateMonitoringScheduleInput {
31894	s.Tags = v
31895	return s
31896}
31897
31898type CreateMonitoringScheduleOutput struct {
31899	_ struct{} `type:"structure"`
31900
31901	// The Amazon Resource Name (ARN) of the monitoring schedule.
31902	//
31903	// MonitoringScheduleArn is a required field
31904	MonitoringScheduleArn *string `type:"string" required:"true"`
31905}
31906
31907// String returns the string representation
31908func (s CreateMonitoringScheduleOutput) String() string {
31909	return awsutil.Prettify(s)
31910}
31911
31912// GoString returns the string representation
31913func (s CreateMonitoringScheduleOutput) GoString() string {
31914	return s.String()
31915}
31916
31917// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
31918func (s *CreateMonitoringScheduleOutput) SetMonitoringScheduleArn(v string) *CreateMonitoringScheduleOutput {
31919	s.MonitoringScheduleArn = &v
31920	return s
31921}
31922
31923type CreateNotebookInstanceInput struct {
31924	_ struct{} `type:"structure"`
31925
31926	// A list of Elastic Inference (EI) instance types to associate with this notebook
31927	// instance. Currently, only one instance type can be associated with a notebook
31928	// instance. For more information, see Using Elastic Inference in Amazon SageMaker
31929	// (https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html).
31930	AcceleratorTypes []*string `type:"list"`
31931
31932	// An array of up to three Git repositories to associate with the notebook instance.
31933	// These can be either the names of Git repositories stored as resources in
31934	// your account, or the URL of Git repositories in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
31935	// or in any other Git repository. These repositories are cloned at the same
31936	// level as the default repository of your notebook instance. For more information,
31937	// see Associating Git Repositories with Amazon SageMaker Notebook Instances
31938	// (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
31939	AdditionalCodeRepositories []*string `type:"list"`
31940
31941	// A Git repository to associate with the notebook instance as its default code
31942	// repository. This can be either the name of a Git repository stored as a resource
31943	// in your account, or the URL of a Git repository in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
31944	// or in any other Git repository. When you open a notebook instance, it opens
31945	// in the directory that contains this repository. For more information, see
31946	// Associating Git Repositories with Amazon SageMaker Notebook Instances (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
31947	DefaultCodeRepository *string `min:"1" type:"string"`
31948
31949	// Sets whether Amazon SageMaker provides internet access to the notebook instance.
31950	// If you set this to Disabled this notebook instance is able to access resources
31951	// only in your VPC, and is not be able to connect to Amazon SageMaker training
31952	// and endpoint services unless you configure a NAT Gateway in your VPC.
31953	//
31954	// For more information, see Notebook Instances Are Internet-Enabled by Default
31955	// (https://docs.aws.amazon.com/sagemaker/latest/dg/appendix-additional-considerations.html#appendix-notebook-and-internet-access).
31956	// You can set the value of this parameter to Disabled only if you set a value
31957	// for the SubnetId parameter.
31958	DirectInternetAccess *string `type:"string" enum:"DirectInternetAccess"`
31959
31960	// The type of ML compute instance to launch for the notebook instance.
31961	//
31962	// InstanceType is a required field
31963	InstanceType *string `type:"string" required:"true" enum:"InstanceType"`
31964
31965	// The Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon
31966	// SageMaker uses to encrypt data on the storage volume attached to your notebook
31967	// instance. The KMS key you provide must be enabled. For information, see Enabling
31968	// and Disabling Keys (https://docs.aws.amazon.com/kms/latest/developerguide/enabling-keys.html)
31969	// in the AWS Key Management Service Developer Guide.
31970	KmsKeyId *string `type:"string"`
31971
31972	// The name of a lifecycle configuration to associate with the notebook instance.
31973	// For information about lifestyle configurations, see Step 2.1: (Optional)
31974	// Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
31975	LifecycleConfigName *string `type:"string"`
31976
31977	// The name of the new notebook instance.
31978	//
31979	// NotebookInstanceName is a required field
31980	NotebookInstanceName *string `type:"string" required:"true"`
31981
31982	// When you send any requests to AWS resources from the notebook instance, Amazon
31983	// SageMaker assumes this role to perform tasks on your behalf. You must grant
31984	// this role necessary permissions so Amazon SageMaker can perform these tasks.
31985	// The policy must allow the Amazon SageMaker service principal (sagemaker.amazonaws.com)
31986	// permissions to assume this role. For more information, see Amazon SageMaker
31987	// Roles (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html).
31988	//
31989	// To be able to pass this role to Amazon SageMaker, the caller of this API
31990	// must have the iam:PassRole permission.
31991	//
31992	// RoleArn is a required field
31993	RoleArn *string `min:"20" type:"string" required:"true"`
31994
31995	// Whether root access is enabled or disabled for users of the notebook instance.
31996	// The default value is Enabled.
31997	//
31998	// Lifecycle configurations need root access to be able to set up a notebook
31999	// instance. Because of this, lifecycle configurations associated with a notebook
32000	// instance always run with root access even if you disable root access for
32001	// users.
32002	RootAccess *string `type:"string" enum:"RootAccess"`
32003
32004	// The VPC security group IDs, in the form sg-xxxxxxxx. The security groups
32005	// must be for the same VPC as specified in the subnet.
32006	SecurityGroupIds []*string `type:"list"`
32007
32008	// The ID of the subnet in a VPC to which you would like to have a connectivity
32009	// from your ML compute instance.
32010	SubnetId *string `type:"string"`
32011
32012	// An array of key-value pairs. You can use tags to categorize your AWS resources
32013	// in different ways, for example, by purpose, owner, or environment. For more
32014	// information, see Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
32015	Tags []*Tag `type:"list"`
32016
32017	// The size, in GB, of the ML storage volume to attach to the notebook instance.
32018	// The default value is 5 GB.
32019	VolumeSizeInGB *int64 `min:"5" type:"integer"`
32020}
32021
32022// String returns the string representation
32023func (s CreateNotebookInstanceInput) String() string {
32024	return awsutil.Prettify(s)
32025}
32026
32027// GoString returns the string representation
32028func (s CreateNotebookInstanceInput) GoString() string {
32029	return s.String()
32030}
32031
32032// Validate inspects the fields of the type to determine if they are valid.
32033func (s *CreateNotebookInstanceInput) Validate() error {
32034	invalidParams := request.ErrInvalidParams{Context: "CreateNotebookInstanceInput"}
32035	if s.DefaultCodeRepository != nil && len(*s.DefaultCodeRepository) < 1 {
32036		invalidParams.Add(request.NewErrParamMinLen("DefaultCodeRepository", 1))
32037	}
32038	if s.InstanceType == nil {
32039		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
32040	}
32041	if s.NotebookInstanceName == nil {
32042		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
32043	}
32044	if s.RoleArn == nil {
32045		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
32046	}
32047	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
32048		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
32049	}
32050	if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 5 {
32051		invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 5))
32052	}
32053	if s.Tags != nil {
32054		for i, v := range s.Tags {
32055			if v == nil {
32056				continue
32057			}
32058			if err := v.Validate(); err != nil {
32059				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
32060			}
32061		}
32062	}
32063
32064	if invalidParams.Len() > 0 {
32065		return invalidParams
32066	}
32067	return nil
32068}
32069
32070// SetAcceleratorTypes sets the AcceleratorTypes field's value.
32071func (s *CreateNotebookInstanceInput) SetAcceleratorTypes(v []*string) *CreateNotebookInstanceInput {
32072	s.AcceleratorTypes = v
32073	return s
32074}
32075
32076// SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value.
32077func (s *CreateNotebookInstanceInput) SetAdditionalCodeRepositories(v []*string) *CreateNotebookInstanceInput {
32078	s.AdditionalCodeRepositories = v
32079	return s
32080}
32081
32082// SetDefaultCodeRepository sets the DefaultCodeRepository field's value.
32083func (s *CreateNotebookInstanceInput) SetDefaultCodeRepository(v string) *CreateNotebookInstanceInput {
32084	s.DefaultCodeRepository = &v
32085	return s
32086}
32087
32088// SetDirectInternetAccess sets the DirectInternetAccess field's value.
32089func (s *CreateNotebookInstanceInput) SetDirectInternetAccess(v string) *CreateNotebookInstanceInput {
32090	s.DirectInternetAccess = &v
32091	return s
32092}
32093
32094// SetInstanceType sets the InstanceType field's value.
32095func (s *CreateNotebookInstanceInput) SetInstanceType(v string) *CreateNotebookInstanceInput {
32096	s.InstanceType = &v
32097	return s
32098}
32099
32100// SetKmsKeyId sets the KmsKeyId field's value.
32101func (s *CreateNotebookInstanceInput) SetKmsKeyId(v string) *CreateNotebookInstanceInput {
32102	s.KmsKeyId = &v
32103	return s
32104}
32105
32106// SetLifecycleConfigName sets the LifecycleConfigName field's value.
32107func (s *CreateNotebookInstanceInput) SetLifecycleConfigName(v string) *CreateNotebookInstanceInput {
32108	s.LifecycleConfigName = &v
32109	return s
32110}
32111
32112// SetNotebookInstanceName sets the NotebookInstanceName field's value.
32113func (s *CreateNotebookInstanceInput) SetNotebookInstanceName(v string) *CreateNotebookInstanceInput {
32114	s.NotebookInstanceName = &v
32115	return s
32116}
32117
32118// SetRoleArn sets the RoleArn field's value.
32119func (s *CreateNotebookInstanceInput) SetRoleArn(v string) *CreateNotebookInstanceInput {
32120	s.RoleArn = &v
32121	return s
32122}
32123
32124// SetRootAccess sets the RootAccess field's value.
32125func (s *CreateNotebookInstanceInput) SetRootAccess(v string) *CreateNotebookInstanceInput {
32126	s.RootAccess = &v
32127	return s
32128}
32129
32130// SetSecurityGroupIds sets the SecurityGroupIds field's value.
32131func (s *CreateNotebookInstanceInput) SetSecurityGroupIds(v []*string) *CreateNotebookInstanceInput {
32132	s.SecurityGroupIds = v
32133	return s
32134}
32135
32136// SetSubnetId sets the SubnetId field's value.
32137func (s *CreateNotebookInstanceInput) SetSubnetId(v string) *CreateNotebookInstanceInput {
32138	s.SubnetId = &v
32139	return s
32140}
32141
32142// SetTags sets the Tags field's value.
32143func (s *CreateNotebookInstanceInput) SetTags(v []*Tag) *CreateNotebookInstanceInput {
32144	s.Tags = v
32145	return s
32146}
32147
32148// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
32149func (s *CreateNotebookInstanceInput) SetVolumeSizeInGB(v int64) *CreateNotebookInstanceInput {
32150	s.VolumeSizeInGB = &v
32151	return s
32152}
32153
32154type CreateNotebookInstanceLifecycleConfigInput struct {
32155	_ struct{} `type:"structure"`
32156
32157	// The name of the lifecycle configuration.
32158	//
32159	// NotebookInstanceLifecycleConfigName is a required field
32160	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
32161
32162	// A shell script that runs only once, when you create a notebook instance.
32163	// The shell script must be a base64-encoded string.
32164	OnCreate []*NotebookInstanceLifecycleHook `type:"list"`
32165
32166	// A shell script that runs every time you start a notebook instance, including
32167	// when you create the notebook instance. The shell script must be a base64-encoded
32168	// string.
32169	OnStart []*NotebookInstanceLifecycleHook `type:"list"`
32170}
32171
32172// String returns the string representation
32173func (s CreateNotebookInstanceLifecycleConfigInput) String() string {
32174	return awsutil.Prettify(s)
32175}
32176
32177// GoString returns the string representation
32178func (s CreateNotebookInstanceLifecycleConfigInput) GoString() string {
32179	return s.String()
32180}
32181
32182// Validate inspects the fields of the type to determine if they are valid.
32183func (s *CreateNotebookInstanceLifecycleConfigInput) Validate() error {
32184	invalidParams := request.ErrInvalidParams{Context: "CreateNotebookInstanceLifecycleConfigInput"}
32185	if s.NotebookInstanceLifecycleConfigName == nil {
32186		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceLifecycleConfigName"))
32187	}
32188	if s.OnCreate != nil {
32189		for i, v := range s.OnCreate {
32190			if v == nil {
32191				continue
32192			}
32193			if err := v.Validate(); err != nil {
32194				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OnCreate", i), err.(request.ErrInvalidParams))
32195			}
32196		}
32197	}
32198	if s.OnStart != nil {
32199		for i, v := range s.OnStart {
32200			if v == nil {
32201				continue
32202			}
32203			if err := v.Validate(); err != nil {
32204				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OnStart", i), err.(request.ErrInvalidParams))
32205			}
32206		}
32207	}
32208
32209	if invalidParams.Len() > 0 {
32210		return invalidParams
32211	}
32212	return nil
32213}
32214
32215// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
32216func (s *CreateNotebookInstanceLifecycleConfigInput) SetNotebookInstanceLifecycleConfigName(v string) *CreateNotebookInstanceLifecycleConfigInput {
32217	s.NotebookInstanceLifecycleConfigName = &v
32218	return s
32219}
32220
32221// SetOnCreate sets the OnCreate field's value.
32222func (s *CreateNotebookInstanceLifecycleConfigInput) SetOnCreate(v []*NotebookInstanceLifecycleHook) *CreateNotebookInstanceLifecycleConfigInput {
32223	s.OnCreate = v
32224	return s
32225}
32226
32227// SetOnStart sets the OnStart field's value.
32228func (s *CreateNotebookInstanceLifecycleConfigInput) SetOnStart(v []*NotebookInstanceLifecycleHook) *CreateNotebookInstanceLifecycleConfigInput {
32229	s.OnStart = v
32230	return s
32231}
32232
32233type CreateNotebookInstanceLifecycleConfigOutput struct {
32234	_ struct{} `type:"structure"`
32235
32236	// The Amazon Resource Name (ARN) of the lifecycle configuration.
32237	NotebookInstanceLifecycleConfigArn *string `type:"string"`
32238}
32239
32240// String returns the string representation
32241func (s CreateNotebookInstanceLifecycleConfigOutput) String() string {
32242	return awsutil.Prettify(s)
32243}
32244
32245// GoString returns the string representation
32246func (s CreateNotebookInstanceLifecycleConfigOutput) GoString() string {
32247	return s.String()
32248}
32249
32250// SetNotebookInstanceLifecycleConfigArn sets the NotebookInstanceLifecycleConfigArn field's value.
32251func (s *CreateNotebookInstanceLifecycleConfigOutput) SetNotebookInstanceLifecycleConfigArn(v string) *CreateNotebookInstanceLifecycleConfigOutput {
32252	s.NotebookInstanceLifecycleConfigArn = &v
32253	return s
32254}
32255
32256type CreateNotebookInstanceOutput struct {
32257	_ struct{} `type:"structure"`
32258
32259	// The Amazon Resource Name (ARN) of the notebook instance.
32260	NotebookInstanceArn *string `type:"string"`
32261}
32262
32263// String returns the string representation
32264func (s CreateNotebookInstanceOutput) String() string {
32265	return awsutil.Prettify(s)
32266}
32267
32268// GoString returns the string representation
32269func (s CreateNotebookInstanceOutput) GoString() string {
32270	return s.String()
32271}
32272
32273// SetNotebookInstanceArn sets the NotebookInstanceArn field's value.
32274func (s *CreateNotebookInstanceOutput) SetNotebookInstanceArn(v string) *CreateNotebookInstanceOutput {
32275	s.NotebookInstanceArn = &v
32276	return s
32277}
32278
32279type CreatePipelineInput struct {
32280	_ struct{} `type:"structure"`
32281
32282	// A unique, case-sensitive identifier that you provide to ensure the idempotency
32283	// of the operation. An idempotent operation completes no more than one time.
32284	ClientRequestToken *string `min:"32" type:"string" idempotencyToken:"true"`
32285
32286	// The JSON pipeline definition of the pipeline.
32287	//
32288	// PipelineDefinition is a required field
32289	PipelineDefinition *string `min:"1" type:"string" required:"true"`
32290
32291	// A description of the pipeline.
32292	PipelineDescription *string `type:"string"`
32293
32294	// The display name of the pipeline.
32295	PipelineDisplayName *string `min:"1" type:"string"`
32296
32297	// The name of the pipeline.
32298	//
32299	// PipelineName is a required field
32300	PipelineName *string `min:"1" type:"string" required:"true"`
32301
32302	// The Amazon Resource Name (ARN) of the role used by the pipeline to access
32303	// and create resources.
32304	//
32305	// RoleArn is a required field
32306	RoleArn *string `min:"20" type:"string" required:"true"`
32307
32308	// A list of tags to apply to the created pipeline.
32309	Tags []*Tag `type:"list"`
32310}
32311
32312// String returns the string representation
32313func (s CreatePipelineInput) String() string {
32314	return awsutil.Prettify(s)
32315}
32316
32317// GoString returns the string representation
32318func (s CreatePipelineInput) GoString() string {
32319	return s.String()
32320}
32321
32322// Validate inspects the fields of the type to determine if they are valid.
32323func (s *CreatePipelineInput) Validate() error {
32324	invalidParams := request.ErrInvalidParams{Context: "CreatePipelineInput"}
32325	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 32 {
32326		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 32))
32327	}
32328	if s.PipelineDefinition == nil {
32329		invalidParams.Add(request.NewErrParamRequired("PipelineDefinition"))
32330	}
32331	if s.PipelineDefinition != nil && len(*s.PipelineDefinition) < 1 {
32332		invalidParams.Add(request.NewErrParamMinLen("PipelineDefinition", 1))
32333	}
32334	if s.PipelineDisplayName != nil && len(*s.PipelineDisplayName) < 1 {
32335		invalidParams.Add(request.NewErrParamMinLen("PipelineDisplayName", 1))
32336	}
32337	if s.PipelineName == nil {
32338		invalidParams.Add(request.NewErrParamRequired("PipelineName"))
32339	}
32340	if s.PipelineName != nil && len(*s.PipelineName) < 1 {
32341		invalidParams.Add(request.NewErrParamMinLen("PipelineName", 1))
32342	}
32343	if s.RoleArn == nil {
32344		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
32345	}
32346	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
32347		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
32348	}
32349	if s.Tags != nil {
32350		for i, v := range s.Tags {
32351			if v == nil {
32352				continue
32353			}
32354			if err := v.Validate(); err != nil {
32355				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
32356			}
32357		}
32358	}
32359
32360	if invalidParams.Len() > 0 {
32361		return invalidParams
32362	}
32363	return nil
32364}
32365
32366// SetClientRequestToken sets the ClientRequestToken field's value.
32367func (s *CreatePipelineInput) SetClientRequestToken(v string) *CreatePipelineInput {
32368	s.ClientRequestToken = &v
32369	return s
32370}
32371
32372// SetPipelineDefinition sets the PipelineDefinition field's value.
32373func (s *CreatePipelineInput) SetPipelineDefinition(v string) *CreatePipelineInput {
32374	s.PipelineDefinition = &v
32375	return s
32376}
32377
32378// SetPipelineDescription sets the PipelineDescription field's value.
32379func (s *CreatePipelineInput) SetPipelineDescription(v string) *CreatePipelineInput {
32380	s.PipelineDescription = &v
32381	return s
32382}
32383
32384// SetPipelineDisplayName sets the PipelineDisplayName field's value.
32385func (s *CreatePipelineInput) SetPipelineDisplayName(v string) *CreatePipelineInput {
32386	s.PipelineDisplayName = &v
32387	return s
32388}
32389
32390// SetPipelineName sets the PipelineName field's value.
32391func (s *CreatePipelineInput) SetPipelineName(v string) *CreatePipelineInput {
32392	s.PipelineName = &v
32393	return s
32394}
32395
32396// SetRoleArn sets the RoleArn field's value.
32397func (s *CreatePipelineInput) SetRoleArn(v string) *CreatePipelineInput {
32398	s.RoleArn = &v
32399	return s
32400}
32401
32402// SetTags sets the Tags field's value.
32403func (s *CreatePipelineInput) SetTags(v []*Tag) *CreatePipelineInput {
32404	s.Tags = v
32405	return s
32406}
32407
32408type CreatePipelineOutput struct {
32409	_ struct{} `type:"structure"`
32410
32411	// The Amazon Resource Name (ARN) of the created pipeline.
32412	PipelineArn *string `type:"string"`
32413}
32414
32415// String returns the string representation
32416func (s CreatePipelineOutput) String() string {
32417	return awsutil.Prettify(s)
32418}
32419
32420// GoString returns the string representation
32421func (s CreatePipelineOutput) GoString() string {
32422	return s.String()
32423}
32424
32425// SetPipelineArn sets the PipelineArn field's value.
32426func (s *CreatePipelineOutput) SetPipelineArn(v string) *CreatePipelineOutput {
32427	s.PipelineArn = &v
32428	return s
32429}
32430
32431type CreatePresignedDomainUrlInput struct {
32432	_ struct{} `type:"structure"`
32433
32434	// The domain ID.
32435	//
32436	// DomainId is a required field
32437	DomainId *string `type:"string" required:"true"`
32438
32439	// The number of seconds until the pre-signed URL expires. This value defaults
32440	// to 300.
32441	ExpiresInSeconds *int64 `min:"5" type:"integer"`
32442
32443	// The session expiration duration in seconds. This value defaults to 43200.
32444	SessionExpirationDurationInSeconds *int64 `min:"1800" type:"integer"`
32445
32446	// The name of the UserProfile to sign-in as.
32447	//
32448	// UserProfileName is a required field
32449	UserProfileName *string `type:"string" required:"true"`
32450}
32451
32452// String returns the string representation
32453func (s CreatePresignedDomainUrlInput) String() string {
32454	return awsutil.Prettify(s)
32455}
32456
32457// GoString returns the string representation
32458func (s CreatePresignedDomainUrlInput) GoString() string {
32459	return s.String()
32460}
32461
32462// Validate inspects the fields of the type to determine if they are valid.
32463func (s *CreatePresignedDomainUrlInput) Validate() error {
32464	invalidParams := request.ErrInvalidParams{Context: "CreatePresignedDomainUrlInput"}
32465	if s.DomainId == nil {
32466		invalidParams.Add(request.NewErrParamRequired("DomainId"))
32467	}
32468	if s.ExpiresInSeconds != nil && *s.ExpiresInSeconds < 5 {
32469		invalidParams.Add(request.NewErrParamMinValue("ExpiresInSeconds", 5))
32470	}
32471	if s.SessionExpirationDurationInSeconds != nil && *s.SessionExpirationDurationInSeconds < 1800 {
32472		invalidParams.Add(request.NewErrParamMinValue("SessionExpirationDurationInSeconds", 1800))
32473	}
32474	if s.UserProfileName == nil {
32475		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
32476	}
32477
32478	if invalidParams.Len() > 0 {
32479		return invalidParams
32480	}
32481	return nil
32482}
32483
32484// SetDomainId sets the DomainId field's value.
32485func (s *CreatePresignedDomainUrlInput) SetDomainId(v string) *CreatePresignedDomainUrlInput {
32486	s.DomainId = &v
32487	return s
32488}
32489
32490// SetExpiresInSeconds sets the ExpiresInSeconds field's value.
32491func (s *CreatePresignedDomainUrlInput) SetExpiresInSeconds(v int64) *CreatePresignedDomainUrlInput {
32492	s.ExpiresInSeconds = &v
32493	return s
32494}
32495
32496// SetSessionExpirationDurationInSeconds sets the SessionExpirationDurationInSeconds field's value.
32497func (s *CreatePresignedDomainUrlInput) SetSessionExpirationDurationInSeconds(v int64) *CreatePresignedDomainUrlInput {
32498	s.SessionExpirationDurationInSeconds = &v
32499	return s
32500}
32501
32502// SetUserProfileName sets the UserProfileName field's value.
32503func (s *CreatePresignedDomainUrlInput) SetUserProfileName(v string) *CreatePresignedDomainUrlInput {
32504	s.UserProfileName = &v
32505	return s
32506}
32507
32508type CreatePresignedDomainUrlOutput struct {
32509	_ struct{} `type:"structure"`
32510
32511	// The presigned URL.
32512	AuthorizedUrl *string `type:"string"`
32513}
32514
32515// String returns the string representation
32516func (s CreatePresignedDomainUrlOutput) String() string {
32517	return awsutil.Prettify(s)
32518}
32519
32520// GoString returns the string representation
32521func (s CreatePresignedDomainUrlOutput) GoString() string {
32522	return s.String()
32523}
32524
32525// SetAuthorizedUrl sets the AuthorizedUrl field's value.
32526func (s *CreatePresignedDomainUrlOutput) SetAuthorizedUrl(v string) *CreatePresignedDomainUrlOutput {
32527	s.AuthorizedUrl = &v
32528	return s
32529}
32530
32531type CreatePresignedNotebookInstanceUrlInput struct {
32532	_ struct{} `type:"structure"`
32533
32534	// The name of the notebook instance.
32535	//
32536	// NotebookInstanceName is a required field
32537	NotebookInstanceName *string `type:"string" required:"true"`
32538
32539	// The duration of the session, in seconds. The default is 12 hours.
32540	SessionExpirationDurationInSeconds *int64 `min:"1800" type:"integer"`
32541}
32542
32543// String returns the string representation
32544func (s CreatePresignedNotebookInstanceUrlInput) String() string {
32545	return awsutil.Prettify(s)
32546}
32547
32548// GoString returns the string representation
32549func (s CreatePresignedNotebookInstanceUrlInput) GoString() string {
32550	return s.String()
32551}
32552
32553// Validate inspects the fields of the type to determine if they are valid.
32554func (s *CreatePresignedNotebookInstanceUrlInput) Validate() error {
32555	invalidParams := request.ErrInvalidParams{Context: "CreatePresignedNotebookInstanceUrlInput"}
32556	if s.NotebookInstanceName == nil {
32557		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
32558	}
32559	if s.SessionExpirationDurationInSeconds != nil && *s.SessionExpirationDurationInSeconds < 1800 {
32560		invalidParams.Add(request.NewErrParamMinValue("SessionExpirationDurationInSeconds", 1800))
32561	}
32562
32563	if invalidParams.Len() > 0 {
32564		return invalidParams
32565	}
32566	return nil
32567}
32568
32569// SetNotebookInstanceName sets the NotebookInstanceName field's value.
32570func (s *CreatePresignedNotebookInstanceUrlInput) SetNotebookInstanceName(v string) *CreatePresignedNotebookInstanceUrlInput {
32571	s.NotebookInstanceName = &v
32572	return s
32573}
32574
32575// SetSessionExpirationDurationInSeconds sets the SessionExpirationDurationInSeconds field's value.
32576func (s *CreatePresignedNotebookInstanceUrlInput) SetSessionExpirationDurationInSeconds(v int64) *CreatePresignedNotebookInstanceUrlInput {
32577	s.SessionExpirationDurationInSeconds = &v
32578	return s
32579}
32580
32581type CreatePresignedNotebookInstanceUrlOutput struct {
32582	_ struct{} `type:"structure"`
32583
32584	// A JSON object that contains the URL string.
32585	AuthorizedUrl *string `type:"string"`
32586}
32587
32588// String returns the string representation
32589func (s CreatePresignedNotebookInstanceUrlOutput) String() string {
32590	return awsutil.Prettify(s)
32591}
32592
32593// GoString returns the string representation
32594func (s CreatePresignedNotebookInstanceUrlOutput) GoString() string {
32595	return s.String()
32596}
32597
32598// SetAuthorizedUrl sets the AuthorizedUrl field's value.
32599func (s *CreatePresignedNotebookInstanceUrlOutput) SetAuthorizedUrl(v string) *CreatePresignedNotebookInstanceUrlOutput {
32600	s.AuthorizedUrl = &v
32601	return s
32602}
32603
32604type CreateProcessingJobInput struct {
32605	_ struct{} `type:"structure"`
32606
32607	// Configures the processing job to run a specified Docker container image.
32608	//
32609	// AppSpecification is a required field
32610	AppSpecification *AppSpecification `type:"structure" required:"true"`
32611
32612	// The environment variables to set in the Docker container. Up to 100 key and
32613	// values entries in the map are supported.
32614	Environment map[string]*string `type:"map"`
32615
32616	// Associates a SageMaker job as a trial component with an experiment and trial.
32617	// Specified when you call the following APIs:
32618	//
32619	//    * CreateProcessingJob
32620	//
32621	//    * CreateTrainingJob
32622	//
32623	//    * CreateTransformJob
32624	ExperimentConfig *ExperimentConfig `type:"structure"`
32625
32626	// Networking options for a processing job, such as whether to allow inbound
32627	// and outbound network calls to and from processing containers, and the VPC
32628	// subnets and security groups to use for VPC-enabled processing jobs.
32629	NetworkConfig *NetworkConfig `type:"structure"`
32630
32631	// An array of inputs configuring the data to download into the processing container.
32632	ProcessingInputs []*ProcessingInput `type:"list"`
32633
32634	// The name of the processing job. The name must be unique within an AWS Region
32635	// in the AWS account.
32636	//
32637	// ProcessingJobName is a required field
32638	ProcessingJobName *string `min:"1" type:"string" required:"true"`
32639
32640	// Output configuration for the processing job.
32641	ProcessingOutputConfig *ProcessingOutputConfig `type:"structure"`
32642
32643	// Identifies the resources, ML compute instances, and ML storage volumes to
32644	// deploy for a processing job. In distributed training, you specify more than
32645	// one instance.
32646	//
32647	// ProcessingResources is a required field
32648	ProcessingResources *ProcessingResources `type:"structure" required:"true"`
32649
32650	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
32651	// to perform tasks on your behalf.
32652	//
32653	// RoleArn is a required field
32654	RoleArn *string `min:"20" type:"string" required:"true"`
32655
32656	// The time limit for how long the processing job is allowed to run.
32657	StoppingCondition *ProcessingStoppingCondition `type:"structure"`
32658
32659	// (Optional) An array of key-value pairs. For more information, see Using Cost
32660	// Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL)
32661	// in the AWS Billing and Cost Management User Guide.
32662	Tags []*Tag `type:"list"`
32663}
32664
32665// String returns the string representation
32666func (s CreateProcessingJobInput) String() string {
32667	return awsutil.Prettify(s)
32668}
32669
32670// GoString returns the string representation
32671func (s CreateProcessingJobInput) GoString() string {
32672	return s.String()
32673}
32674
32675// Validate inspects the fields of the type to determine if they are valid.
32676func (s *CreateProcessingJobInput) Validate() error {
32677	invalidParams := request.ErrInvalidParams{Context: "CreateProcessingJobInput"}
32678	if s.AppSpecification == nil {
32679		invalidParams.Add(request.NewErrParamRequired("AppSpecification"))
32680	}
32681	if s.ProcessingJobName == nil {
32682		invalidParams.Add(request.NewErrParamRequired("ProcessingJobName"))
32683	}
32684	if s.ProcessingJobName != nil && len(*s.ProcessingJobName) < 1 {
32685		invalidParams.Add(request.NewErrParamMinLen("ProcessingJobName", 1))
32686	}
32687	if s.ProcessingResources == nil {
32688		invalidParams.Add(request.NewErrParamRequired("ProcessingResources"))
32689	}
32690	if s.RoleArn == nil {
32691		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
32692	}
32693	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
32694		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
32695	}
32696	if s.AppSpecification != nil {
32697		if err := s.AppSpecification.Validate(); err != nil {
32698			invalidParams.AddNested("AppSpecification", err.(request.ErrInvalidParams))
32699		}
32700	}
32701	if s.ExperimentConfig != nil {
32702		if err := s.ExperimentConfig.Validate(); err != nil {
32703			invalidParams.AddNested("ExperimentConfig", err.(request.ErrInvalidParams))
32704		}
32705	}
32706	if s.NetworkConfig != nil {
32707		if err := s.NetworkConfig.Validate(); err != nil {
32708			invalidParams.AddNested("NetworkConfig", err.(request.ErrInvalidParams))
32709		}
32710	}
32711	if s.ProcessingInputs != nil {
32712		for i, v := range s.ProcessingInputs {
32713			if v == nil {
32714				continue
32715			}
32716			if err := v.Validate(); err != nil {
32717				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ProcessingInputs", i), err.(request.ErrInvalidParams))
32718			}
32719		}
32720	}
32721	if s.ProcessingOutputConfig != nil {
32722		if err := s.ProcessingOutputConfig.Validate(); err != nil {
32723			invalidParams.AddNested("ProcessingOutputConfig", err.(request.ErrInvalidParams))
32724		}
32725	}
32726	if s.ProcessingResources != nil {
32727		if err := s.ProcessingResources.Validate(); err != nil {
32728			invalidParams.AddNested("ProcessingResources", err.(request.ErrInvalidParams))
32729		}
32730	}
32731	if s.StoppingCondition != nil {
32732		if err := s.StoppingCondition.Validate(); err != nil {
32733			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
32734		}
32735	}
32736	if s.Tags != nil {
32737		for i, v := range s.Tags {
32738			if v == nil {
32739				continue
32740			}
32741			if err := v.Validate(); err != nil {
32742				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
32743			}
32744		}
32745	}
32746
32747	if invalidParams.Len() > 0 {
32748		return invalidParams
32749	}
32750	return nil
32751}
32752
32753// SetAppSpecification sets the AppSpecification field's value.
32754func (s *CreateProcessingJobInput) SetAppSpecification(v *AppSpecification) *CreateProcessingJobInput {
32755	s.AppSpecification = v
32756	return s
32757}
32758
32759// SetEnvironment sets the Environment field's value.
32760func (s *CreateProcessingJobInput) SetEnvironment(v map[string]*string) *CreateProcessingJobInput {
32761	s.Environment = v
32762	return s
32763}
32764
32765// SetExperimentConfig sets the ExperimentConfig field's value.
32766func (s *CreateProcessingJobInput) SetExperimentConfig(v *ExperimentConfig) *CreateProcessingJobInput {
32767	s.ExperimentConfig = v
32768	return s
32769}
32770
32771// SetNetworkConfig sets the NetworkConfig field's value.
32772func (s *CreateProcessingJobInput) SetNetworkConfig(v *NetworkConfig) *CreateProcessingJobInput {
32773	s.NetworkConfig = v
32774	return s
32775}
32776
32777// SetProcessingInputs sets the ProcessingInputs field's value.
32778func (s *CreateProcessingJobInput) SetProcessingInputs(v []*ProcessingInput) *CreateProcessingJobInput {
32779	s.ProcessingInputs = v
32780	return s
32781}
32782
32783// SetProcessingJobName sets the ProcessingJobName field's value.
32784func (s *CreateProcessingJobInput) SetProcessingJobName(v string) *CreateProcessingJobInput {
32785	s.ProcessingJobName = &v
32786	return s
32787}
32788
32789// SetProcessingOutputConfig sets the ProcessingOutputConfig field's value.
32790func (s *CreateProcessingJobInput) SetProcessingOutputConfig(v *ProcessingOutputConfig) *CreateProcessingJobInput {
32791	s.ProcessingOutputConfig = v
32792	return s
32793}
32794
32795// SetProcessingResources sets the ProcessingResources field's value.
32796func (s *CreateProcessingJobInput) SetProcessingResources(v *ProcessingResources) *CreateProcessingJobInput {
32797	s.ProcessingResources = v
32798	return s
32799}
32800
32801// SetRoleArn sets the RoleArn field's value.
32802func (s *CreateProcessingJobInput) SetRoleArn(v string) *CreateProcessingJobInput {
32803	s.RoleArn = &v
32804	return s
32805}
32806
32807// SetStoppingCondition sets the StoppingCondition field's value.
32808func (s *CreateProcessingJobInput) SetStoppingCondition(v *ProcessingStoppingCondition) *CreateProcessingJobInput {
32809	s.StoppingCondition = v
32810	return s
32811}
32812
32813// SetTags sets the Tags field's value.
32814func (s *CreateProcessingJobInput) SetTags(v []*Tag) *CreateProcessingJobInput {
32815	s.Tags = v
32816	return s
32817}
32818
32819type CreateProcessingJobOutput struct {
32820	_ struct{} `type:"structure"`
32821
32822	// The Amazon Resource Name (ARN) of the processing job.
32823	//
32824	// ProcessingJobArn is a required field
32825	ProcessingJobArn *string `type:"string" required:"true"`
32826}
32827
32828// String returns the string representation
32829func (s CreateProcessingJobOutput) String() string {
32830	return awsutil.Prettify(s)
32831}
32832
32833// GoString returns the string representation
32834func (s CreateProcessingJobOutput) GoString() string {
32835	return s.String()
32836}
32837
32838// SetProcessingJobArn sets the ProcessingJobArn field's value.
32839func (s *CreateProcessingJobOutput) SetProcessingJobArn(v string) *CreateProcessingJobOutput {
32840	s.ProcessingJobArn = &v
32841	return s
32842}
32843
32844type CreateProjectInput struct {
32845	_ struct{} `type:"structure"`
32846
32847	// A description for the project.
32848	ProjectDescription *string `type:"string"`
32849
32850	// The name of the project.
32851	//
32852	// ProjectName is a required field
32853	ProjectName *string `min:"1" type:"string" required:"true"`
32854
32855	// The product ID and provisioning artifact ID to provision a service catalog.
32856	// For information, see What is AWS Service Catalog (https://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html).
32857	//
32858	// ServiceCatalogProvisioningDetails is a required field
32859	ServiceCatalogProvisioningDetails *ServiceCatalogProvisioningDetails `type:"structure" required:"true"`
32860
32861	// An array of key-value pairs that you want to use to organize and track your
32862	// AWS resource costs. For more information, see Tagging AWS resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
32863	// in the AWS General Reference Guide.
32864	Tags []*Tag `type:"list"`
32865}
32866
32867// String returns the string representation
32868func (s CreateProjectInput) String() string {
32869	return awsutil.Prettify(s)
32870}
32871
32872// GoString returns the string representation
32873func (s CreateProjectInput) GoString() string {
32874	return s.String()
32875}
32876
32877// Validate inspects the fields of the type to determine if they are valid.
32878func (s *CreateProjectInput) Validate() error {
32879	invalidParams := request.ErrInvalidParams{Context: "CreateProjectInput"}
32880	if s.ProjectName == nil {
32881		invalidParams.Add(request.NewErrParamRequired("ProjectName"))
32882	}
32883	if s.ProjectName != nil && len(*s.ProjectName) < 1 {
32884		invalidParams.Add(request.NewErrParamMinLen("ProjectName", 1))
32885	}
32886	if s.ServiceCatalogProvisioningDetails == nil {
32887		invalidParams.Add(request.NewErrParamRequired("ServiceCatalogProvisioningDetails"))
32888	}
32889	if s.ServiceCatalogProvisioningDetails != nil {
32890		if err := s.ServiceCatalogProvisioningDetails.Validate(); err != nil {
32891			invalidParams.AddNested("ServiceCatalogProvisioningDetails", err.(request.ErrInvalidParams))
32892		}
32893	}
32894	if s.Tags != nil {
32895		for i, v := range s.Tags {
32896			if v == nil {
32897				continue
32898			}
32899			if err := v.Validate(); err != nil {
32900				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
32901			}
32902		}
32903	}
32904
32905	if invalidParams.Len() > 0 {
32906		return invalidParams
32907	}
32908	return nil
32909}
32910
32911// SetProjectDescription sets the ProjectDescription field's value.
32912func (s *CreateProjectInput) SetProjectDescription(v string) *CreateProjectInput {
32913	s.ProjectDescription = &v
32914	return s
32915}
32916
32917// SetProjectName sets the ProjectName field's value.
32918func (s *CreateProjectInput) SetProjectName(v string) *CreateProjectInput {
32919	s.ProjectName = &v
32920	return s
32921}
32922
32923// SetServiceCatalogProvisioningDetails sets the ServiceCatalogProvisioningDetails field's value.
32924func (s *CreateProjectInput) SetServiceCatalogProvisioningDetails(v *ServiceCatalogProvisioningDetails) *CreateProjectInput {
32925	s.ServiceCatalogProvisioningDetails = v
32926	return s
32927}
32928
32929// SetTags sets the Tags field's value.
32930func (s *CreateProjectInput) SetTags(v []*Tag) *CreateProjectInput {
32931	s.Tags = v
32932	return s
32933}
32934
32935type CreateProjectOutput struct {
32936	_ struct{} `type:"structure"`
32937
32938	// The Amazon Resource Name (ARN) of the project.
32939	//
32940	// ProjectArn is a required field
32941	ProjectArn *string `min:"1" type:"string" required:"true"`
32942
32943	// The ID of the new project.
32944	//
32945	// ProjectId is a required field
32946	ProjectId *string `min:"1" type:"string" required:"true"`
32947}
32948
32949// String returns the string representation
32950func (s CreateProjectOutput) String() string {
32951	return awsutil.Prettify(s)
32952}
32953
32954// GoString returns the string representation
32955func (s CreateProjectOutput) GoString() string {
32956	return s.String()
32957}
32958
32959// SetProjectArn sets the ProjectArn field's value.
32960func (s *CreateProjectOutput) SetProjectArn(v string) *CreateProjectOutput {
32961	s.ProjectArn = &v
32962	return s
32963}
32964
32965// SetProjectId sets the ProjectId field's value.
32966func (s *CreateProjectOutput) SetProjectId(v string) *CreateProjectOutput {
32967	s.ProjectId = &v
32968	return s
32969}
32970
32971type CreateTrainingJobInput struct {
32972	_ struct{} `type:"structure"`
32973
32974	// The registry path of the Docker image that contains the training algorithm
32975	// and algorithm-specific metadata, including the input mode. For more information
32976	// about algorithms provided by Amazon SageMaker, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
32977	// For information about providing your own algorithms, see Using Your Own Algorithms
32978	// with Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
32979	//
32980	// AlgorithmSpecification is a required field
32981	AlgorithmSpecification *AlgorithmSpecification `type:"structure" required:"true"`
32982
32983	// Contains information about the output location for managed spot training
32984	// checkpoint data.
32985	CheckpointConfig *CheckpointConfig `type:"structure"`
32986
32987	// Configuration information for the Debugger hook parameters, metric and tensor
32988	// collections, and storage paths. To learn more about how to configure the
32989	// DebugHookConfig parameter, see Use the SageMaker and Debugger Configuration
32990	// API Operations to Create, Update, and Debug Your Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html).
32991	DebugHookConfig *DebugHookConfig `type:"structure"`
32992
32993	// Configuration information for Debugger rules for debugging output tensors.
32994	DebugRuleConfigurations []*DebugRuleConfiguration `type:"list"`
32995
32996	// To encrypt all communications between ML compute instances in distributed
32997	// training, choose True. Encryption provides greater security for distributed
32998	// training, but training might take longer. How long it takes depends on the
32999	// amount of communication between compute instances, especially if you use
33000	// a deep learning algorithm in distributed training. For more information,
33001	// see Protect Communications Between ML Compute Instances in a Distributed
33002	// Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/train-encrypt.html).
33003	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
33004
33005	// To train models using managed spot training, choose True. Managed spot training
33006	// provides a fully managed and scalable infrastructure for training machine
33007	// learning models. this option is useful when training jobs can be interrupted
33008	// and when there is flexibility when the training job is run.
33009	//
33010	// The complete and intermediate results of jobs are stored in an Amazon S3
33011	// bucket, and can be used as a starting point to train models incrementally.
33012	// Amazon SageMaker provides metrics and logs in CloudWatch. They can be used
33013	// to see when managed spot training jobs are running, interrupted, resumed,
33014	// or completed.
33015	EnableManagedSpotTraining *bool `type:"boolean"`
33016
33017	// Isolates the training container. No inbound or outbound network calls can
33018	// be made, except for calls between peers within a training cluster for distributed
33019	// training. If you enable network isolation for training jobs that are configured
33020	// to use a VPC, Amazon SageMaker downloads and uploads customer data and model
33021	// artifacts through the specified VPC, but the training container does not
33022	// have network access.
33023	EnableNetworkIsolation *bool `type:"boolean"`
33024
33025	// The environment variables to set in the Docker container.
33026	Environment map[string]*string `type:"map"`
33027
33028	// Associates a SageMaker job as a trial component with an experiment and trial.
33029	// Specified when you call the following APIs:
33030	//
33031	//    * CreateProcessingJob
33032	//
33033	//    * CreateTrainingJob
33034	//
33035	//    * CreateTransformJob
33036	ExperimentConfig *ExperimentConfig `type:"structure"`
33037
33038	// Algorithm-specific parameters that influence the quality of the model. You
33039	// set hyperparameters before you start the learning process. For a list of
33040	// hyperparameters for each training algorithm provided by Amazon SageMaker,
33041	// see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
33042	//
33043	// You can specify a maximum of 100 hyperparameters. Each hyperparameter is
33044	// a key-value pair. Each key and value is limited to 256 characters, as specified
33045	// by the Length Constraint.
33046	HyperParameters map[string]*string `type:"map"`
33047
33048	// An array of Channel objects. Each channel is a named input source. InputDataConfig
33049	// describes the input data and its location.
33050	//
33051	// Algorithms can accept input data from one or more channels. For example,
33052	// an algorithm might have two channels of input data, training_data and validation_data.
33053	// The configuration for each channel provides the S3, EFS, or FSx location
33054	// where the input data is stored. It also provides information about the stored
33055	// data: the MIME type, compression method, and whether the data is wrapped
33056	// in RecordIO format.
33057	//
33058	// Depending on the input mode that the algorithm supports, Amazon SageMaker
33059	// either copies input data files from an S3 bucket to a local directory in
33060	// the Docker container, or makes it available as input streams. For example,
33061	// if you specify an EFS location, input data files will be made available as
33062	// input streams. They do not need to be downloaded.
33063	InputDataConfig []*Channel `min:"1" type:"list"`
33064
33065	// Specifies the path to the S3 location where you want to store model artifacts.
33066	// Amazon SageMaker creates subfolders for the artifacts.
33067	//
33068	// OutputDataConfig is a required field
33069	OutputDataConfig *OutputDataConfig `type:"structure" required:"true"`
33070
33071	// Configuration information for Debugger system monitoring, framework profiling,
33072	// and storage paths.
33073	ProfilerConfig *ProfilerConfig `type:"structure"`
33074
33075	// Configuration information for Debugger rules for profiling system and framework
33076	// metrics.
33077	ProfilerRuleConfigurations []*ProfilerRuleConfiguration `type:"list"`
33078
33079	// The resources, including the ML compute instances and ML storage volumes,
33080	// to use for model training.
33081	//
33082	// ML storage volumes store model artifacts and incremental states. Training
33083	// algorithms might also use ML storage volumes for scratch space. If you want
33084	// Amazon SageMaker to use the ML storage volume to store the training data,
33085	// choose File as the TrainingInputMode in the algorithm specification. For
33086	// distributed training algorithms, specify an instance count greater than 1.
33087	//
33088	// ResourceConfig is a required field
33089	ResourceConfig *ResourceConfig `type:"structure" required:"true"`
33090
33091	// The number of times to retry the job when the job fails due to an InternalServerError.
33092	RetryStrategy *RetryStrategy `type:"structure"`
33093
33094	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
33095	// to perform tasks on your behalf.
33096	//
33097	// During model training, Amazon SageMaker needs your permission to read input
33098	// data from an S3 bucket, download a Docker image that contains training code,
33099	// write model artifacts to an S3 bucket, write logs to Amazon CloudWatch Logs,
33100	// and publish metrics to Amazon CloudWatch. You grant permissions for all of
33101	// these tasks to an IAM role. For more information, see Amazon SageMaker Roles
33102	// (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html).
33103	//
33104	// To be able to pass this role to Amazon SageMaker, the caller of this API
33105	// must have the iam:PassRole permission.
33106	//
33107	// RoleArn is a required field
33108	RoleArn *string `min:"20" type:"string" required:"true"`
33109
33110	// Specifies a limit to how long a model training job can run. It also specifies
33111	// how long a managed Spot training job has to complete. When the job reaches
33112	// the time limit, Amazon SageMaker ends the training job. Use this API to cap
33113	// model training costs.
33114	//
33115	// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
33116	// delays job termination for 120 seconds. Algorithms can use this 120-second
33117	// window to save the model artifacts, so the results of training are not lost.
33118	//
33119	// StoppingCondition is a required field
33120	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
33121
33122	// An array of key-value pairs. You can use tags to categorize your AWS resources
33123	// in different ways, for example, by purpose, owner, or environment. For more
33124	// information, see Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
33125	Tags []*Tag `type:"list"`
33126
33127	// Configuration of storage locations for the Debugger TensorBoard output data.
33128	TensorBoardOutputConfig *TensorBoardOutputConfig `type:"structure"`
33129
33130	// The name of the training job. The name must be unique within an AWS Region
33131	// in an AWS account.
33132	//
33133	// TrainingJobName is a required field
33134	TrainingJobName *string `min:"1" type:"string" required:"true"`
33135
33136	// A VpcConfig object that specifies the VPC that you want your training job
33137	// to connect to. Control access to and from your training container by configuring
33138	// the VPC. For more information, see Protect Training Jobs by Using an Amazon
33139	// Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
33140	VpcConfig *VpcConfig `type:"structure"`
33141}
33142
33143// String returns the string representation
33144func (s CreateTrainingJobInput) String() string {
33145	return awsutil.Prettify(s)
33146}
33147
33148// GoString returns the string representation
33149func (s CreateTrainingJobInput) GoString() string {
33150	return s.String()
33151}
33152
33153// Validate inspects the fields of the type to determine if they are valid.
33154func (s *CreateTrainingJobInput) Validate() error {
33155	invalidParams := request.ErrInvalidParams{Context: "CreateTrainingJobInput"}
33156	if s.AlgorithmSpecification == nil {
33157		invalidParams.Add(request.NewErrParamRequired("AlgorithmSpecification"))
33158	}
33159	if s.InputDataConfig != nil && len(s.InputDataConfig) < 1 {
33160		invalidParams.Add(request.NewErrParamMinLen("InputDataConfig", 1))
33161	}
33162	if s.OutputDataConfig == nil {
33163		invalidParams.Add(request.NewErrParamRequired("OutputDataConfig"))
33164	}
33165	if s.ResourceConfig == nil {
33166		invalidParams.Add(request.NewErrParamRequired("ResourceConfig"))
33167	}
33168	if s.RoleArn == nil {
33169		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
33170	}
33171	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
33172		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
33173	}
33174	if s.StoppingCondition == nil {
33175		invalidParams.Add(request.NewErrParamRequired("StoppingCondition"))
33176	}
33177	if s.TrainingJobName == nil {
33178		invalidParams.Add(request.NewErrParamRequired("TrainingJobName"))
33179	}
33180	if s.TrainingJobName != nil && len(*s.TrainingJobName) < 1 {
33181		invalidParams.Add(request.NewErrParamMinLen("TrainingJobName", 1))
33182	}
33183	if s.AlgorithmSpecification != nil {
33184		if err := s.AlgorithmSpecification.Validate(); err != nil {
33185			invalidParams.AddNested("AlgorithmSpecification", err.(request.ErrInvalidParams))
33186		}
33187	}
33188	if s.CheckpointConfig != nil {
33189		if err := s.CheckpointConfig.Validate(); err != nil {
33190			invalidParams.AddNested("CheckpointConfig", err.(request.ErrInvalidParams))
33191		}
33192	}
33193	if s.DebugHookConfig != nil {
33194		if err := s.DebugHookConfig.Validate(); err != nil {
33195			invalidParams.AddNested("DebugHookConfig", err.(request.ErrInvalidParams))
33196		}
33197	}
33198	if s.DebugRuleConfigurations != nil {
33199		for i, v := range s.DebugRuleConfigurations {
33200			if v == nil {
33201				continue
33202			}
33203			if err := v.Validate(); err != nil {
33204				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DebugRuleConfigurations", i), err.(request.ErrInvalidParams))
33205			}
33206		}
33207	}
33208	if s.ExperimentConfig != nil {
33209		if err := s.ExperimentConfig.Validate(); err != nil {
33210			invalidParams.AddNested("ExperimentConfig", err.(request.ErrInvalidParams))
33211		}
33212	}
33213	if s.InputDataConfig != nil {
33214		for i, v := range s.InputDataConfig {
33215			if v == nil {
33216				continue
33217			}
33218			if err := v.Validate(); err != nil {
33219				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputDataConfig", i), err.(request.ErrInvalidParams))
33220			}
33221		}
33222	}
33223	if s.OutputDataConfig != nil {
33224		if err := s.OutputDataConfig.Validate(); err != nil {
33225			invalidParams.AddNested("OutputDataConfig", err.(request.ErrInvalidParams))
33226		}
33227	}
33228	if s.ProfilerConfig != nil {
33229		if err := s.ProfilerConfig.Validate(); err != nil {
33230			invalidParams.AddNested("ProfilerConfig", err.(request.ErrInvalidParams))
33231		}
33232	}
33233	if s.ProfilerRuleConfigurations != nil {
33234		for i, v := range s.ProfilerRuleConfigurations {
33235			if v == nil {
33236				continue
33237			}
33238			if err := v.Validate(); err != nil {
33239				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ProfilerRuleConfigurations", i), err.(request.ErrInvalidParams))
33240			}
33241		}
33242	}
33243	if s.ResourceConfig != nil {
33244		if err := s.ResourceConfig.Validate(); err != nil {
33245			invalidParams.AddNested("ResourceConfig", err.(request.ErrInvalidParams))
33246		}
33247	}
33248	if s.RetryStrategy != nil {
33249		if err := s.RetryStrategy.Validate(); err != nil {
33250			invalidParams.AddNested("RetryStrategy", err.(request.ErrInvalidParams))
33251		}
33252	}
33253	if s.StoppingCondition != nil {
33254		if err := s.StoppingCondition.Validate(); err != nil {
33255			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
33256		}
33257	}
33258	if s.Tags != nil {
33259		for i, v := range s.Tags {
33260			if v == nil {
33261				continue
33262			}
33263			if err := v.Validate(); err != nil {
33264				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
33265			}
33266		}
33267	}
33268	if s.TensorBoardOutputConfig != nil {
33269		if err := s.TensorBoardOutputConfig.Validate(); err != nil {
33270			invalidParams.AddNested("TensorBoardOutputConfig", err.(request.ErrInvalidParams))
33271		}
33272	}
33273	if s.VpcConfig != nil {
33274		if err := s.VpcConfig.Validate(); err != nil {
33275			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
33276		}
33277	}
33278
33279	if invalidParams.Len() > 0 {
33280		return invalidParams
33281	}
33282	return nil
33283}
33284
33285// SetAlgorithmSpecification sets the AlgorithmSpecification field's value.
33286func (s *CreateTrainingJobInput) SetAlgorithmSpecification(v *AlgorithmSpecification) *CreateTrainingJobInput {
33287	s.AlgorithmSpecification = v
33288	return s
33289}
33290
33291// SetCheckpointConfig sets the CheckpointConfig field's value.
33292func (s *CreateTrainingJobInput) SetCheckpointConfig(v *CheckpointConfig) *CreateTrainingJobInput {
33293	s.CheckpointConfig = v
33294	return s
33295}
33296
33297// SetDebugHookConfig sets the DebugHookConfig field's value.
33298func (s *CreateTrainingJobInput) SetDebugHookConfig(v *DebugHookConfig) *CreateTrainingJobInput {
33299	s.DebugHookConfig = v
33300	return s
33301}
33302
33303// SetDebugRuleConfigurations sets the DebugRuleConfigurations field's value.
33304func (s *CreateTrainingJobInput) SetDebugRuleConfigurations(v []*DebugRuleConfiguration) *CreateTrainingJobInput {
33305	s.DebugRuleConfigurations = v
33306	return s
33307}
33308
33309// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
33310func (s *CreateTrainingJobInput) SetEnableInterContainerTrafficEncryption(v bool) *CreateTrainingJobInput {
33311	s.EnableInterContainerTrafficEncryption = &v
33312	return s
33313}
33314
33315// SetEnableManagedSpotTraining sets the EnableManagedSpotTraining field's value.
33316func (s *CreateTrainingJobInput) SetEnableManagedSpotTraining(v bool) *CreateTrainingJobInput {
33317	s.EnableManagedSpotTraining = &v
33318	return s
33319}
33320
33321// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
33322func (s *CreateTrainingJobInput) SetEnableNetworkIsolation(v bool) *CreateTrainingJobInput {
33323	s.EnableNetworkIsolation = &v
33324	return s
33325}
33326
33327// SetEnvironment sets the Environment field's value.
33328func (s *CreateTrainingJobInput) SetEnvironment(v map[string]*string) *CreateTrainingJobInput {
33329	s.Environment = v
33330	return s
33331}
33332
33333// SetExperimentConfig sets the ExperimentConfig field's value.
33334func (s *CreateTrainingJobInput) SetExperimentConfig(v *ExperimentConfig) *CreateTrainingJobInput {
33335	s.ExperimentConfig = v
33336	return s
33337}
33338
33339// SetHyperParameters sets the HyperParameters field's value.
33340func (s *CreateTrainingJobInput) SetHyperParameters(v map[string]*string) *CreateTrainingJobInput {
33341	s.HyperParameters = v
33342	return s
33343}
33344
33345// SetInputDataConfig sets the InputDataConfig field's value.
33346func (s *CreateTrainingJobInput) SetInputDataConfig(v []*Channel) *CreateTrainingJobInput {
33347	s.InputDataConfig = v
33348	return s
33349}
33350
33351// SetOutputDataConfig sets the OutputDataConfig field's value.
33352func (s *CreateTrainingJobInput) SetOutputDataConfig(v *OutputDataConfig) *CreateTrainingJobInput {
33353	s.OutputDataConfig = v
33354	return s
33355}
33356
33357// SetProfilerConfig sets the ProfilerConfig field's value.
33358func (s *CreateTrainingJobInput) SetProfilerConfig(v *ProfilerConfig) *CreateTrainingJobInput {
33359	s.ProfilerConfig = v
33360	return s
33361}
33362
33363// SetProfilerRuleConfigurations sets the ProfilerRuleConfigurations field's value.
33364func (s *CreateTrainingJobInput) SetProfilerRuleConfigurations(v []*ProfilerRuleConfiguration) *CreateTrainingJobInput {
33365	s.ProfilerRuleConfigurations = v
33366	return s
33367}
33368
33369// SetResourceConfig sets the ResourceConfig field's value.
33370func (s *CreateTrainingJobInput) SetResourceConfig(v *ResourceConfig) *CreateTrainingJobInput {
33371	s.ResourceConfig = v
33372	return s
33373}
33374
33375// SetRetryStrategy sets the RetryStrategy field's value.
33376func (s *CreateTrainingJobInput) SetRetryStrategy(v *RetryStrategy) *CreateTrainingJobInput {
33377	s.RetryStrategy = v
33378	return s
33379}
33380
33381// SetRoleArn sets the RoleArn field's value.
33382func (s *CreateTrainingJobInput) SetRoleArn(v string) *CreateTrainingJobInput {
33383	s.RoleArn = &v
33384	return s
33385}
33386
33387// SetStoppingCondition sets the StoppingCondition field's value.
33388func (s *CreateTrainingJobInput) SetStoppingCondition(v *StoppingCondition) *CreateTrainingJobInput {
33389	s.StoppingCondition = v
33390	return s
33391}
33392
33393// SetTags sets the Tags field's value.
33394func (s *CreateTrainingJobInput) SetTags(v []*Tag) *CreateTrainingJobInput {
33395	s.Tags = v
33396	return s
33397}
33398
33399// SetTensorBoardOutputConfig sets the TensorBoardOutputConfig field's value.
33400func (s *CreateTrainingJobInput) SetTensorBoardOutputConfig(v *TensorBoardOutputConfig) *CreateTrainingJobInput {
33401	s.TensorBoardOutputConfig = v
33402	return s
33403}
33404
33405// SetTrainingJobName sets the TrainingJobName field's value.
33406func (s *CreateTrainingJobInput) SetTrainingJobName(v string) *CreateTrainingJobInput {
33407	s.TrainingJobName = &v
33408	return s
33409}
33410
33411// SetVpcConfig sets the VpcConfig field's value.
33412func (s *CreateTrainingJobInput) SetVpcConfig(v *VpcConfig) *CreateTrainingJobInput {
33413	s.VpcConfig = v
33414	return s
33415}
33416
33417type CreateTrainingJobOutput struct {
33418	_ struct{} `type:"structure"`
33419
33420	// The Amazon Resource Name (ARN) of the training job.
33421	//
33422	// TrainingJobArn is a required field
33423	TrainingJobArn *string `type:"string" required:"true"`
33424}
33425
33426// String returns the string representation
33427func (s CreateTrainingJobOutput) String() string {
33428	return awsutil.Prettify(s)
33429}
33430
33431// GoString returns the string representation
33432func (s CreateTrainingJobOutput) GoString() string {
33433	return s.String()
33434}
33435
33436// SetTrainingJobArn sets the TrainingJobArn field's value.
33437func (s *CreateTrainingJobOutput) SetTrainingJobArn(v string) *CreateTrainingJobOutput {
33438	s.TrainingJobArn = &v
33439	return s
33440}
33441
33442type CreateTransformJobInput struct {
33443	_ struct{} `type:"structure"`
33444
33445	// Specifies the number of records to include in a mini-batch for an HTTP inference
33446	// request. A record is a single unit of input data that inference can be made
33447	// on. For example, a single line in a CSV file is a record.
33448	//
33449	// To enable the batch strategy, you must set the SplitType property to Line,
33450	// RecordIO, or TFRecord.
33451	//
33452	// To use only one record when making an HTTP invocation request to a container,
33453	// set BatchStrategy to SingleRecord and SplitType to Line.
33454	//
33455	// To fit as many records in a mini-batch as can fit within the MaxPayloadInMB
33456	// limit, set BatchStrategy to MultiRecord and SplitType to Line.
33457	BatchStrategy *string `type:"string" enum:"BatchStrategy"`
33458
33459	// The data structure used to specify the data to be used for inference in a
33460	// batch transform job and to associate the data that is relevant to the prediction
33461	// results in the output. The input filter provided allows you to exclude input
33462	// data that is not needed for inference in a batch transform job. The output
33463	// filter provided allows you to include input data relevant to interpreting
33464	// the predictions in the output from the job. For more information, see Associate
33465	// Prediction Results with their Corresponding Input Records (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html).
33466	DataProcessing *DataProcessing `type:"structure"`
33467
33468	// The environment variables to set in the Docker container. We support up to
33469	// 16 key and values entries in the map.
33470	Environment map[string]*string `type:"map"`
33471
33472	// Associates a SageMaker job as a trial component with an experiment and trial.
33473	// Specified when you call the following APIs:
33474	//
33475	//    * CreateProcessingJob
33476	//
33477	//    * CreateTrainingJob
33478	//
33479	//    * CreateTransformJob
33480	ExperimentConfig *ExperimentConfig `type:"structure"`
33481
33482	// The maximum number of parallel requests that can be sent to each instance
33483	// in a transform job. If MaxConcurrentTransforms is set to 0 or left unset,
33484	// Amazon SageMaker checks the optional execution-parameters to determine the
33485	// settings for your chosen algorithm. If the execution-parameters endpoint
33486	// is not enabled, the default value is 1. For more information on execution-parameters,
33487	// 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).
33488	// For built-in algorithms, you don't need to set a value for MaxConcurrentTransforms.
33489	MaxConcurrentTransforms *int64 `type:"integer"`
33490
33491	// The maximum allowed size of the payload, in MB. A payload is the data portion
33492	// of a record (without metadata). The value in MaxPayloadInMB must be greater
33493	// than, or equal to, the size of a single record. To estimate the size of a
33494	// record in MB, divide the size of your dataset by the number of records. To
33495	// ensure that the records fit within the maximum payload size, we recommend
33496	// using a slightly larger value. The default value is 6 MB.
33497	//
33498	// For cases where the payload might be arbitrarily large and is transmitted
33499	// using HTTP chunked encoding, set the value to 0. This feature works only
33500	// in supported algorithms. Currently, Amazon SageMaker built-in algorithms
33501	// do not support HTTP chunked encoding.
33502	MaxPayloadInMB *int64 `type:"integer"`
33503
33504	// Configures the timeout and maximum number of retries for processing a transform
33505	// job invocation.
33506	ModelClientConfig *ModelClientConfig `type:"structure"`
33507
33508	// The name of the model that you want to use for the transform job. ModelName
33509	// must be the name of an existing Amazon SageMaker model within an AWS Region
33510	// in an AWS account.
33511	//
33512	// ModelName is a required field
33513	ModelName *string `type:"string" required:"true"`
33514
33515	// (Optional) An array of key-value pairs. For more information, see Using Cost
33516	// Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
33517	// in the AWS Billing and Cost Management User Guide.
33518	Tags []*Tag `type:"list"`
33519
33520	// Describes the input source and the way the transform job consumes it.
33521	//
33522	// TransformInput is a required field
33523	TransformInput *TransformInput `type:"structure" required:"true"`
33524
33525	// The name of the transform job. The name must be unique within an AWS Region
33526	// in an AWS account.
33527	//
33528	// TransformJobName is a required field
33529	TransformJobName *string `min:"1" type:"string" required:"true"`
33530
33531	// Describes the results of the transform job.
33532	//
33533	// TransformOutput is a required field
33534	TransformOutput *TransformOutput `type:"structure" required:"true"`
33535
33536	// Describes the resources, including ML instance types and ML instance count,
33537	// to use for the transform job.
33538	//
33539	// TransformResources is a required field
33540	TransformResources *TransformResources `type:"structure" required:"true"`
33541}
33542
33543// String returns the string representation
33544func (s CreateTransformJobInput) String() string {
33545	return awsutil.Prettify(s)
33546}
33547
33548// GoString returns the string representation
33549func (s CreateTransformJobInput) GoString() string {
33550	return s.String()
33551}
33552
33553// Validate inspects the fields of the type to determine if they are valid.
33554func (s *CreateTransformJobInput) Validate() error {
33555	invalidParams := request.ErrInvalidParams{Context: "CreateTransformJobInput"}
33556	if s.ModelName == nil {
33557		invalidParams.Add(request.NewErrParamRequired("ModelName"))
33558	}
33559	if s.TransformInput == nil {
33560		invalidParams.Add(request.NewErrParamRequired("TransformInput"))
33561	}
33562	if s.TransformJobName == nil {
33563		invalidParams.Add(request.NewErrParamRequired("TransformJobName"))
33564	}
33565	if s.TransformJobName != nil && len(*s.TransformJobName) < 1 {
33566		invalidParams.Add(request.NewErrParamMinLen("TransformJobName", 1))
33567	}
33568	if s.TransformOutput == nil {
33569		invalidParams.Add(request.NewErrParamRequired("TransformOutput"))
33570	}
33571	if s.TransformResources == nil {
33572		invalidParams.Add(request.NewErrParamRequired("TransformResources"))
33573	}
33574	if s.ExperimentConfig != nil {
33575		if err := s.ExperimentConfig.Validate(); err != nil {
33576			invalidParams.AddNested("ExperimentConfig", err.(request.ErrInvalidParams))
33577		}
33578	}
33579	if s.ModelClientConfig != nil {
33580		if err := s.ModelClientConfig.Validate(); err != nil {
33581			invalidParams.AddNested("ModelClientConfig", err.(request.ErrInvalidParams))
33582		}
33583	}
33584	if s.Tags != nil {
33585		for i, v := range s.Tags {
33586			if v == nil {
33587				continue
33588			}
33589			if err := v.Validate(); err != nil {
33590				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
33591			}
33592		}
33593	}
33594	if s.TransformInput != nil {
33595		if err := s.TransformInput.Validate(); err != nil {
33596			invalidParams.AddNested("TransformInput", err.(request.ErrInvalidParams))
33597		}
33598	}
33599	if s.TransformOutput != nil {
33600		if err := s.TransformOutput.Validate(); err != nil {
33601			invalidParams.AddNested("TransformOutput", err.(request.ErrInvalidParams))
33602		}
33603	}
33604	if s.TransformResources != nil {
33605		if err := s.TransformResources.Validate(); err != nil {
33606			invalidParams.AddNested("TransformResources", err.(request.ErrInvalidParams))
33607		}
33608	}
33609
33610	if invalidParams.Len() > 0 {
33611		return invalidParams
33612	}
33613	return nil
33614}
33615
33616// SetBatchStrategy sets the BatchStrategy field's value.
33617func (s *CreateTransformJobInput) SetBatchStrategy(v string) *CreateTransformJobInput {
33618	s.BatchStrategy = &v
33619	return s
33620}
33621
33622// SetDataProcessing sets the DataProcessing field's value.
33623func (s *CreateTransformJobInput) SetDataProcessing(v *DataProcessing) *CreateTransformJobInput {
33624	s.DataProcessing = v
33625	return s
33626}
33627
33628// SetEnvironment sets the Environment field's value.
33629func (s *CreateTransformJobInput) SetEnvironment(v map[string]*string) *CreateTransformJobInput {
33630	s.Environment = v
33631	return s
33632}
33633
33634// SetExperimentConfig sets the ExperimentConfig field's value.
33635func (s *CreateTransformJobInput) SetExperimentConfig(v *ExperimentConfig) *CreateTransformJobInput {
33636	s.ExperimentConfig = v
33637	return s
33638}
33639
33640// SetMaxConcurrentTransforms sets the MaxConcurrentTransforms field's value.
33641func (s *CreateTransformJobInput) SetMaxConcurrentTransforms(v int64) *CreateTransformJobInput {
33642	s.MaxConcurrentTransforms = &v
33643	return s
33644}
33645
33646// SetMaxPayloadInMB sets the MaxPayloadInMB field's value.
33647func (s *CreateTransformJobInput) SetMaxPayloadInMB(v int64) *CreateTransformJobInput {
33648	s.MaxPayloadInMB = &v
33649	return s
33650}
33651
33652// SetModelClientConfig sets the ModelClientConfig field's value.
33653func (s *CreateTransformJobInput) SetModelClientConfig(v *ModelClientConfig) *CreateTransformJobInput {
33654	s.ModelClientConfig = v
33655	return s
33656}
33657
33658// SetModelName sets the ModelName field's value.
33659func (s *CreateTransformJobInput) SetModelName(v string) *CreateTransformJobInput {
33660	s.ModelName = &v
33661	return s
33662}
33663
33664// SetTags sets the Tags field's value.
33665func (s *CreateTransformJobInput) SetTags(v []*Tag) *CreateTransformJobInput {
33666	s.Tags = v
33667	return s
33668}
33669
33670// SetTransformInput sets the TransformInput field's value.
33671func (s *CreateTransformJobInput) SetTransformInput(v *TransformInput) *CreateTransformJobInput {
33672	s.TransformInput = v
33673	return s
33674}
33675
33676// SetTransformJobName sets the TransformJobName field's value.
33677func (s *CreateTransformJobInput) SetTransformJobName(v string) *CreateTransformJobInput {
33678	s.TransformJobName = &v
33679	return s
33680}
33681
33682// SetTransformOutput sets the TransformOutput field's value.
33683func (s *CreateTransformJobInput) SetTransformOutput(v *TransformOutput) *CreateTransformJobInput {
33684	s.TransformOutput = v
33685	return s
33686}
33687
33688// SetTransformResources sets the TransformResources field's value.
33689func (s *CreateTransformJobInput) SetTransformResources(v *TransformResources) *CreateTransformJobInput {
33690	s.TransformResources = v
33691	return s
33692}
33693
33694type CreateTransformJobOutput struct {
33695	_ struct{} `type:"structure"`
33696
33697	// The Amazon Resource Name (ARN) of the transform job.
33698	//
33699	// TransformJobArn is a required field
33700	TransformJobArn *string `type:"string" required:"true"`
33701}
33702
33703// String returns the string representation
33704func (s CreateTransformJobOutput) String() string {
33705	return awsutil.Prettify(s)
33706}
33707
33708// GoString returns the string representation
33709func (s CreateTransformJobOutput) GoString() string {
33710	return s.String()
33711}
33712
33713// SetTransformJobArn sets the TransformJobArn field's value.
33714func (s *CreateTransformJobOutput) SetTransformJobArn(v string) *CreateTransformJobOutput {
33715	s.TransformJobArn = &v
33716	return s
33717}
33718
33719type CreateTrialComponentInput struct {
33720	_ struct{} `type:"structure"`
33721
33722	// The name of the component as displayed. The name doesn't need to be unique.
33723	// If DisplayName isn't specified, TrialComponentName is displayed.
33724	DisplayName *string `min:"1" type:"string"`
33725
33726	// When the component ended.
33727	EndTime *time.Time `type:"timestamp"`
33728
33729	// The input artifacts for the component. Examples of input artifacts are datasets,
33730	// algorithms, hyperparameters, source code, and instance types.
33731	InputArtifacts map[string]*TrialComponentArtifact `type:"map"`
33732
33733	// Metadata properties of the tracking entity, trial, or trial component.
33734	MetadataProperties *MetadataProperties `type:"structure"`
33735
33736	// The output artifacts for the component. Examples of output artifacts are
33737	// metrics, snapshots, logs, and images.
33738	OutputArtifacts map[string]*TrialComponentArtifact `type:"map"`
33739
33740	// The hyperparameters for the component.
33741	Parameters map[string]*TrialComponentParameterValue `type:"map"`
33742
33743	// When the component started.
33744	StartTime *time.Time `type:"timestamp"`
33745
33746	// The status of the component. States include:
33747	//
33748	//    * InProgress
33749	//
33750	//    * Completed
33751	//
33752	//    * Failed
33753	Status *TrialComponentStatus `type:"structure"`
33754
33755	// A list of tags to associate with the component. You can use Search API to
33756	// search on the tags.
33757	Tags []*Tag `type:"list"`
33758
33759	// The name of the component. The name must be unique in your AWS account and
33760	// is not case-sensitive.
33761	//
33762	// TrialComponentName is a required field
33763	TrialComponentName *string `min:"1" type:"string" required:"true"`
33764}
33765
33766// String returns the string representation
33767func (s CreateTrialComponentInput) String() string {
33768	return awsutil.Prettify(s)
33769}
33770
33771// GoString returns the string representation
33772func (s CreateTrialComponentInput) GoString() string {
33773	return s.String()
33774}
33775
33776// Validate inspects the fields of the type to determine if they are valid.
33777func (s *CreateTrialComponentInput) Validate() error {
33778	invalidParams := request.ErrInvalidParams{Context: "CreateTrialComponentInput"}
33779	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
33780		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
33781	}
33782	if s.TrialComponentName == nil {
33783		invalidParams.Add(request.NewErrParamRequired("TrialComponentName"))
33784	}
33785	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
33786		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
33787	}
33788	if s.InputArtifacts != nil {
33789		for i, v := range s.InputArtifacts {
33790			if v == nil {
33791				continue
33792			}
33793			if err := v.Validate(); err != nil {
33794				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputArtifacts", i), err.(request.ErrInvalidParams))
33795			}
33796		}
33797	}
33798	if s.OutputArtifacts != nil {
33799		for i, v := range s.OutputArtifacts {
33800			if v == nil {
33801				continue
33802			}
33803			if err := v.Validate(); err != nil {
33804				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OutputArtifacts", i), err.(request.ErrInvalidParams))
33805			}
33806		}
33807	}
33808	if s.Tags != nil {
33809		for i, v := range s.Tags {
33810			if v == nil {
33811				continue
33812			}
33813			if err := v.Validate(); err != nil {
33814				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
33815			}
33816		}
33817	}
33818
33819	if invalidParams.Len() > 0 {
33820		return invalidParams
33821	}
33822	return nil
33823}
33824
33825// SetDisplayName sets the DisplayName field's value.
33826func (s *CreateTrialComponentInput) SetDisplayName(v string) *CreateTrialComponentInput {
33827	s.DisplayName = &v
33828	return s
33829}
33830
33831// SetEndTime sets the EndTime field's value.
33832func (s *CreateTrialComponentInput) SetEndTime(v time.Time) *CreateTrialComponentInput {
33833	s.EndTime = &v
33834	return s
33835}
33836
33837// SetInputArtifacts sets the InputArtifacts field's value.
33838func (s *CreateTrialComponentInput) SetInputArtifacts(v map[string]*TrialComponentArtifact) *CreateTrialComponentInput {
33839	s.InputArtifacts = v
33840	return s
33841}
33842
33843// SetMetadataProperties sets the MetadataProperties field's value.
33844func (s *CreateTrialComponentInput) SetMetadataProperties(v *MetadataProperties) *CreateTrialComponentInput {
33845	s.MetadataProperties = v
33846	return s
33847}
33848
33849// SetOutputArtifacts sets the OutputArtifacts field's value.
33850func (s *CreateTrialComponentInput) SetOutputArtifacts(v map[string]*TrialComponentArtifact) *CreateTrialComponentInput {
33851	s.OutputArtifacts = v
33852	return s
33853}
33854
33855// SetParameters sets the Parameters field's value.
33856func (s *CreateTrialComponentInput) SetParameters(v map[string]*TrialComponentParameterValue) *CreateTrialComponentInput {
33857	s.Parameters = v
33858	return s
33859}
33860
33861// SetStartTime sets the StartTime field's value.
33862func (s *CreateTrialComponentInput) SetStartTime(v time.Time) *CreateTrialComponentInput {
33863	s.StartTime = &v
33864	return s
33865}
33866
33867// SetStatus sets the Status field's value.
33868func (s *CreateTrialComponentInput) SetStatus(v *TrialComponentStatus) *CreateTrialComponentInput {
33869	s.Status = v
33870	return s
33871}
33872
33873// SetTags sets the Tags field's value.
33874func (s *CreateTrialComponentInput) SetTags(v []*Tag) *CreateTrialComponentInput {
33875	s.Tags = v
33876	return s
33877}
33878
33879// SetTrialComponentName sets the TrialComponentName field's value.
33880func (s *CreateTrialComponentInput) SetTrialComponentName(v string) *CreateTrialComponentInput {
33881	s.TrialComponentName = &v
33882	return s
33883}
33884
33885type CreateTrialComponentOutput struct {
33886	_ struct{} `type:"structure"`
33887
33888	// The Amazon Resource Name (ARN) of the trial component.
33889	TrialComponentArn *string `type:"string"`
33890}
33891
33892// String returns the string representation
33893func (s CreateTrialComponentOutput) String() string {
33894	return awsutil.Prettify(s)
33895}
33896
33897// GoString returns the string representation
33898func (s CreateTrialComponentOutput) GoString() string {
33899	return s.String()
33900}
33901
33902// SetTrialComponentArn sets the TrialComponentArn field's value.
33903func (s *CreateTrialComponentOutput) SetTrialComponentArn(v string) *CreateTrialComponentOutput {
33904	s.TrialComponentArn = &v
33905	return s
33906}
33907
33908type CreateTrialInput struct {
33909	_ struct{} `type:"structure"`
33910
33911	// The name of the trial as displayed. The name doesn't need to be unique. If
33912	// DisplayName isn't specified, TrialName is displayed.
33913	DisplayName *string `min:"1" type:"string"`
33914
33915	// The name of the experiment to associate the trial with.
33916	//
33917	// ExperimentName is a required field
33918	ExperimentName *string `min:"1" type:"string" required:"true"`
33919
33920	// Metadata properties of the tracking entity, trial, or trial component.
33921	MetadataProperties *MetadataProperties `type:"structure"`
33922
33923	// A list of tags to associate with the trial. You can use Search API to search
33924	// on the tags.
33925	Tags []*Tag `type:"list"`
33926
33927	// The name of the trial. The name must be unique in your AWS account and is
33928	// not case-sensitive.
33929	//
33930	// TrialName is a required field
33931	TrialName *string `min:"1" type:"string" required:"true"`
33932}
33933
33934// String returns the string representation
33935func (s CreateTrialInput) String() string {
33936	return awsutil.Prettify(s)
33937}
33938
33939// GoString returns the string representation
33940func (s CreateTrialInput) GoString() string {
33941	return s.String()
33942}
33943
33944// Validate inspects the fields of the type to determine if they are valid.
33945func (s *CreateTrialInput) Validate() error {
33946	invalidParams := request.ErrInvalidParams{Context: "CreateTrialInput"}
33947	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
33948		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
33949	}
33950	if s.ExperimentName == nil {
33951		invalidParams.Add(request.NewErrParamRequired("ExperimentName"))
33952	}
33953	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
33954		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
33955	}
33956	if s.TrialName == nil {
33957		invalidParams.Add(request.NewErrParamRequired("TrialName"))
33958	}
33959	if s.TrialName != nil && len(*s.TrialName) < 1 {
33960		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
33961	}
33962	if s.Tags != nil {
33963		for i, v := range s.Tags {
33964			if v == nil {
33965				continue
33966			}
33967			if err := v.Validate(); err != nil {
33968				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
33969			}
33970		}
33971	}
33972
33973	if invalidParams.Len() > 0 {
33974		return invalidParams
33975	}
33976	return nil
33977}
33978
33979// SetDisplayName sets the DisplayName field's value.
33980func (s *CreateTrialInput) SetDisplayName(v string) *CreateTrialInput {
33981	s.DisplayName = &v
33982	return s
33983}
33984
33985// SetExperimentName sets the ExperimentName field's value.
33986func (s *CreateTrialInput) SetExperimentName(v string) *CreateTrialInput {
33987	s.ExperimentName = &v
33988	return s
33989}
33990
33991// SetMetadataProperties sets the MetadataProperties field's value.
33992func (s *CreateTrialInput) SetMetadataProperties(v *MetadataProperties) *CreateTrialInput {
33993	s.MetadataProperties = v
33994	return s
33995}
33996
33997// SetTags sets the Tags field's value.
33998func (s *CreateTrialInput) SetTags(v []*Tag) *CreateTrialInput {
33999	s.Tags = v
34000	return s
34001}
34002
34003// SetTrialName sets the TrialName field's value.
34004func (s *CreateTrialInput) SetTrialName(v string) *CreateTrialInput {
34005	s.TrialName = &v
34006	return s
34007}
34008
34009type CreateTrialOutput struct {
34010	_ struct{} `type:"structure"`
34011
34012	// The Amazon Resource Name (ARN) of the trial.
34013	TrialArn *string `type:"string"`
34014}
34015
34016// String returns the string representation
34017func (s CreateTrialOutput) String() string {
34018	return awsutil.Prettify(s)
34019}
34020
34021// GoString returns the string representation
34022func (s CreateTrialOutput) GoString() string {
34023	return s.String()
34024}
34025
34026// SetTrialArn sets the TrialArn field's value.
34027func (s *CreateTrialOutput) SetTrialArn(v string) *CreateTrialOutput {
34028	s.TrialArn = &v
34029	return s
34030}
34031
34032type CreateUserProfileInput struct {
34033	_ struct{} `type:"structure"`
34034
34035	// The ID of the associated Domain.
34036	//
34037	// DomainId is a required field
34038	DomainId *string `type:"string" required:"true"`
34039
34040	// A specifier for the type of value specified in SingleSignOnUserValue. Currently,
34041	// the only supported value is "UserName". If the Domain's AuthMode is SSO,
34042	// this field is required. If the Domain's AuthMode is not SSO, this field cannot
34043	// be specified.
34044	SingleSignOnUserIdentifier *string `type:"string"`
34045
34046	// The username of the associated AWS Single Sign-On User for this UserProfile.
34047	// If the Domain's AuthMode is SSO, this field is required, and must match a
34048	// valid username of a user in your directory. If the Domain's AuthMode is not
34049	// SSO, this field cannot be specified.
34050	SingleSignOnUserValue *string `type:"string"`
34051
34052	// Each tag consists of a key and an optional value. Tag keys must be unique
34053	// per resource.
34054	//
34055	// Tags that you specify for the User Profile are also added to all Apps that
34056	// the User Profile launches.
34057	Tags []*Tag `type:"list"`
34058
34059	// A name for the UserProfile. This value is not case sensitive.
34060	//
34061	// UserProfileName is a required field
34062	UserProfileName *string `type:"string" required:"true"`
34063
34064	// A collection of settings.
34065	UserSettings *UserSettings `type:"structure"`
34066}
34067
34068// String returns the string representation
34069func (s CreateUserProfileInput) String() string {
34070	return awsutil.Prettify(s)
34071}
34072
34073// GoString returns the string representation
34074func (s CreateUserProfileInput) GoString() string {
34075	return s.String()
34076}
34077
34078// Validate inspects the fields of the type to determine if they are valid.
34079func (s *CreateUserProfileInput) Validate() error {
34080	invalidParams := request.ErrInvalidParams{Context: "CreateUserProfileInput"}
34081	if s.DomainId == nil {
34082		invalidParams.Add(request.NewErrParamRequired("DomainId"))
34083	}
34084	if s.UserProfileName == nil {
34085		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
34086	}
34087	if s.Tags != nil {
34088		for i, v := range s.Tags {
34089			if v == nil {
34090				continue
34091			}
34092			if err := v.Validate(); err != nil {
34093				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
34094			}
34095		}
34096	}
34097	if s.UserSettings != nil {
34098		if err := s.UserSettings.Validate(); err != nil {
34099			invalidParams.AddNested("UserSettings", err.(request.ErrInvalidParams))
34100		}
34101	}
34102
34103	if invalidParams.Len() > 0 {
34104		return invalidParams
34105	}
34106	return nil
34107}
34108
34109// SetDomainId sets the DomainId field's value.
34110func (s *CreateUserProfileInput) SetDomainId(v string) *CreateUserProfileInput {
34111	s.DomainId = &v
34112	return s
34113}
34114
34115// SetSingleSignOnUserIdentifier sets the SingleSignOnUserIdentifier field's value.
34116func (s *CreateUserProfileInput) SetSingleSignOnUserIdentifier(v string) *CreateUserProfileInput {
34117	s.SingleSignOnUserIdentifier = &v
34118	return s
34119}
34120
34121// SetSingleSignOnUserValue sets the SingleSignOnUserValue field's value.
34122func (s *CreateUserProfileInput) SetSingleSignOnUserValue(v string) *CreateUserProfileInput {
34123	s.SingleSignOnUserValue = &v
34124	return s
34125}
34126
34127// SetTags sets the Tags field's value.
34128func (s *CreateUserProfileInput) SetTags(v []*Tag) *CreateUserProfileInput {
34129	s.Tags = v
34130	return s
34131}
34132
34133// SetUserProfileName sets the UserProfileName field's value.
34134func (s *CreateUserProfileInput) SetUserProfileName(v string) *CreateUserProfileInput {
34135	s.UserProfileName = &v
34136	return s
34137}
34138
34139// SetUserSettings sets the UserSettings field's value.
34140func (s *CreateUserProfileInput) SetUserSettings(v *UserSettings) *CreateUserProfileInput {
34141	s.UserSettings = v
34142	return s
34143}
34144
34145type CreateUserProfileOutput struct {
34146	_ struct{} `type:"structure"`
34147
34148	// The user profile Amazon Resource Name (ARN).
34149	UserProfileArn *string `type:"string"`
34150}
34151
34152// String returns the string representation
34153func (s CreateUserProfileOutput) String() string {
34154	return awsutil.Prettify(s)
34155}
34156
34157// GoString returns the string representation
34158func (s CreateUserProfileOutput) GoString() string {
34159	return s.String()
34160}
34161
34162// SetUserProfileArn sets the UserProfileArn field's value.
34163func (s *CreateUserProfileOutput) SetUserProfileArn(v string) *CreateUserProfileOutput {
34164	s.UserProfileArn = &v
34165	return s
34166}
34167
34168type CreateWorkforceInput struct {
34169	_ struct{} `type:"structure"`
34170
34171	// Use this parameter to configure an Amazon Cognito private workforce. A single
34172	// Cognito workforce is created using and corresponds to a single Amazon Cognito
34173	// user pool (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html).
34174	//
34175	// Do not use OidcConfig if you specify values for CognitoConfig.
34176	CognitoConfig *CognitoConfig `type:"structure"`
34177
34178	// Use this parameter to configure a private workforce using your own OIDC Identity
34179	// Provider.
34180	//
34181	// Do not use CognitoConfig if you specify values for OidcConfig.
34182	OidcConfig *OidcConfig `type:"structure"`
34183
34184	// A list of IP address ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html)).
34185	// Used to create an allow list of IP addresses for a private workforce. Workers
34186	// will only be able to login to their worker portal from an IP address within
34187	// this range. By default, a workforce isn't restricted to specific IP addresses.
34188	SourceIpConfig *SourceIpConfig `type:"structure"`
34189
34190	// An array of key-value pairs that contain metadata to help you categorize
34191	// and organize our workforce. Each tag consists of a key and a value, both
34192	// of which you define.
34193	Tags []*Tag `type:"list"`
34194
34195	// The name of the private workforce.
34196	//
34197	// WorkforceName is a required field
34198	WorkforceName *string `min:"1" type:"string" required:"true"`
34199}
34200
34201// String returns the string representation
34202func (s CreateWorkforceInput) String() string {
34203	return awsutil.Prettify(s)
34204}
34205
34206// GoString returns the string representation
34207func (s CreateWorkforceInput) GoString() string {
34208	return s.String()
34209}
34210
34211// Validate inspects the fields of the type to determine if they are valid.
34212func (s *CreateWorkforceInput) Validate() error {
34213	invalidParams := request.ErrInvalidParams{Context: "CreateWorkforceInput"}
34214	if s.WorkforceName == nil {
34215		invalidParams.Add(request.NewErrParamRequired("WorkforceName"))
34216	}
34217	if s.WorkforceName != nil && len(*s.WorkforceName) < 1 {
34218		invalidParams.Add(request.NewErrParamMinLen("WorkforceName", 1))
34219	}
34220	if s.CognitoConfig != nil {
34221		if err := s.CognitoConfig.Validate(); err != nil {
34222			invalidParams.AddNested("CognitoConfig", err.(request.ErrInvalidParams))
34223		}
34224	}
34225	if s.OidcConfig != nil {
34226		if err := s.OidcConfig.Validate(); err != nil {
34227			invalidParams.AddNested("OidcConfig", err.(request.ErrInvalidParams))
34228		}
34229	}
34230	if s.SourceIpConfig != nil {
34231		if err := s.SourceIpConfig.Validate(); err != nil {
34232			invalidParams.AddNested("SourceIpConfig", err.(request.ErrInvalidParams))
34233		}
34234	}
34235	if s.Tags != nil {
34236		for i, v := range s.Tags {
34237			if v == nil {
34238				continue
34239			}
34240			if err := v.Validate(); err != nil {
34241				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
34242			}
34243		}
34244	}
34245
34246	if invalidParams.Len() > 0 {
34247		return invalidParams
34248	}
34249	return nil
34250}
34251
34252// SetCognitoConfig sets the CognitoConfig field's value.
34253func (s *CreateWorkforceInput) SetCognitoConfig(v *CognitoConfig) *CreateWorkforceInput {
34254	s.CognitoConfig = v
34255	return s
34256}
34257
34258// SetOidcConfig sets the OidcConfig field's value.
34259func (s *CreateWorkforceInput) SetOidcConfig(v *OidcConfig) *CreateWorkforceInput {
34260	s.OidcConfig = v
34261	return s
34262}
34263
34264// SetSourceIpConfig sets the SourceIpConfig field's value.
34265func (s *CreateWorkforceInput) SetSourceIpConfig(v *SourceIpConfig) *CreateWorkforceInput {
34266	s.SourceIpConfig = v
34267	return s
34268}
34269
34270// SetTags sets the Tags field's value.
34271func (s *CreateWorkforceInput) SetTags(v []*Tag) *CreateWorkforceInput {
34272	s.Tags = v
34273	return s
34274}
34275
34276// SetWorkforceName sets the WorkforceName field's value.
34277func (s *CreateWorkforceInput) SetWorkforceName(v string) *CreateWorkforceInput {
34278	s.WorkforceName = &v
34279	return s
34280}
34281
34282type CreateWorkforceOutput struct {
34283	_ struct{} `type:"structure"`
34284
34285	// The Amazon Resource Name (ARN) of the workforce.
34286	//
34287	// WorkforceArn is a required field
34288	WorkforceArn *string `type:"string" required:"true"`
34289}
34290
34291// String returns the string representation
34292func (s CreateWorkforceOutput) String() string {
34293	return awsutil.Prettify(s)
34294}
34295
34296// GoString returns the string representation
34297func (s CreateWorkforceOutput) GoString() string {
34298	return s.String()
34299}
34300
34301// SetWorkforceArn sets the WorkforceArn field's value.
34302func (s *CreateWorkforceOutput) SetWorkforceArn(v string) *CreateWorkforceOutput {
34303	s.WorkforceArn = &v
34304	return s
34305}
34306
34307type CreateWorkteamInput struct {
34308	_ struct{} `type:"structure"`
34309
34310	// A description of the work team.
34311	//
34312	// Description is a required field
34313	Description *string `min:"1" type:"string" required:"true"`
34314
34315	// A list of MemberDefinition objects that contains objects that identify the
34316	// workers that make up the work team.
34317	//
34318	// Workforces can be created using Amazon Cognito or your own OIDC Identity
34319	// Provider (IdP). For private workforces created using Amazon Cognito use CognitoMemberDefinition.
34320	// For workforces created using your own OIDC identity provider (IdP) use OidcMemberDefinition.
34321	// Do not provide input for both of these parameters in a single request.
34322	//
34323	// For workforces created using Amazon Cognito, private work teams correspond
34324	// to Amazon Cognito user groups within the user pool used to create a workforce.
34325	// All of the CognitoMemberDefinition objects that make up the member definition
34326	// must have the same ClientId and UserPool values. To add a Amazon Cognito
34327	// user group to an existing worker pool, see Adding groups to a User Pool.
34328	// For more information about user pools, see Amazon Cognito User Pools (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html).
34329	//
34330	// For workforces created using your own OIDC IdP, specify the user groups that
34331	// you want to include in your private work team in OidcMemberDefinition by
34332	// listing those groups in Groups.
34333	//
34334	// MemberDefinitions is a required field
34335	MemberDefinitions []*MemberDefinition `min:"1" type:"list" required:"true"`
34336
34337	// Configures notification of workers regarding available or expiring work items.
34338	NotificationConfiguration *NotificationConfiguration `type:"structure"`
34339
34340	// An array of key-value pairs.
34341	//
34342	// For more information, see Resource Tag (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html)
34343	// and Using Cost Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
34344	// in the AWS Billing and Cost Management User Guide.
34345	Tags []*Tag `type:"list"`
34346
34347	// The name of the workforce.
34348	WorkforceName *string `min:"1" type:"string"`
34349
34350	// The name of the work team. Use this name to identify the work team.
34351	//
34352	// WorkteamName is a required field
34353	WorkteamName *string `min:"1" type:"string" required:"true"`
34354}
34355
34356// String returns the string representation
34357func (s CreateWorkteamInput) String() string {
34358	return awsutil.Prettify(s)
34359}
34360
34361// GoString returns the string representation
34362func (s CreateWorkteamInput) GoString() string {
34363	return s.String()
34364}
34365
34366// Validate inspects the fields of the type to determine if they are valid.
34367func (s *CreateWorkteamInput) Validate() error {
34368	invalidParams := request.ErrInvalidParams{Context: "CreateWorkteamInput"}
34369	if s.Description == nil {
34370		invalidParams.Add(request.NewErrParamRequired("Description"))
34371	}
34372	if s.Description != nil && len(*s.Description) < 1 {
34373		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
34374	}
34375	if s.MemberDefinitions == nil {
34376		invalidParams.Add(request.NewErrParamRequired("MemberDefinitions"))
34377	}
34378	if s.MemberDefinitions != nil && len(s.MemberDefinitions) < 1 {
34379		invalidParams.Add(request.NewErrParamMinLen("MemberDefinitions", 1))
34380	}
34381	if s.WorkforceName != nil && len(*s.WorkforceName) < 1 {
34382		invalidParams.Add(request.NewErrParamMinLen("WorkforceName", 1))
34383	}
34384	if s.WorkteamName == nil {
34385		invalidParams.Add(request.NewErrParamRequired("WorkteamName"))
34386	}
34387	if s.WorkteamName != nil && len(*s.WorkteamName) < 1 {
34388		invalidParams.Add(request.NewErrParamMinLen("WorkteamName", 1))
34389	}
34390	if s.MemberDefinitions != nil {
34391		for i, v := range s.MemberDefinitions {
34392			if v == nil {
34393				continue
34394			}
34395			if err := v.Validate(); err != nil {
34396				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MemberDefinitions", i), err.(request.ErrInvalidParams))
34397			}
34398		}
34399	}
34400	if s.Tags != nil {
34401		for i, v := range s.Tags {
34402			if v == nil {
34403				continue
34404			}
34405			if err := v.Validate(); err != nil {
34406				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
34407			}
34408		}
34409	}
34410
34411	if invalidParams.Len() > 0 {
34412		return invalidParams
34413	}
34414	return nil
34415}
34416
34417// SetDescription sets the Description field's value.
34418func (s *CreateWorkteamInput) SetDescription(v string) *CreateWorkteamInput {
34419	s.Description = &v
34420	return s
34421}
34422
34423// SetMemberDefinitions sets the MemberDefinitions field's value.
34424func (s *CreateWorkteamInput) SetMemberDefinitions(v []*MemberDefinition) *CreateWorkteamInput {
34425	s.MemberDefinitions = v
34426	return s
34427}
34428
34429// SetNotificationConfiguration sets the NotificationConfiguration field's value.
34430func (s *CreateWorkteamInput) SetNotificationConfiguration(v *NotificationConfiguration) *CreateWorkteamInput {
34431	s.NotificationConfiguration = v
34432	return s
34433}
34434
34435// SetTags sets the Tags field's value.
34436func (s *CreateWorkteamInput) SetTags(v []*Tag) *CreateWorkteamInput {
34437	s.Tags = v
34438	return s
34439}
34440
34441// SetWorkforceName sets the WorkforceName field's value.
34442func (s *CreateWorkteamInput) SetWorkforceName(v string) *CreateWorkteamInput {
34443	s.WorkforceName = &v
34444	return s
34445}
34446
34447// SetWorkteamName sets the WorkteamName field's value.
34448func (s *CreateWorkteamInput) SetWorkteamName(v string) *CreateWorkteamInput {
34449	s.WorkteamName = &v
34450	return s
34451}
34452
34453type CreateWorkteamOutput struct {
34454	_ struct{} `type:"structure"`
34455
34456	// The Amazon Resource Name (ARN) of the work team. You can use this ARN to
34457	// identify the work team.
34458	WorkteamArn *string `type:"string"`
34459}
34460
34461// String returns the string representation
34462func (s CreateWorkteamOutput) String() string {
34463	return awsutil.Prettify(s)
34464}
34465
34466// GoString returns the string representation
34467func (s CreateWorkteamOutput) GoString() string {
34468	return s.String()
34469}
34470
34471// SetWorkteamArn sets the WorkteamArn field's value.
34472func (s *CreateWorkteamOutput) SetWorkteamArn(v string) *CreateWorkteamOutput {
34473	s.WorkteamArn = &v
34474	return s
34475}
34476
34477// A custom SageMaker image. For more information, see Bring your own SageMaker
34478// image (https://docs.aws.amazon.com/sagemaker/latest/dg/studio-byoi.html).
34479type CustomImage struct {
34480	_ struct{} `type:"structure"`
34481
34482	// The name of the AppImageConfig.
34483	//
34484	// AppImageConfigName is a required field
34485	AppImageConfigName *string `type:"string" required:"true"`
34486
34487	// The name of the CustomImage. Must be unique to your account.
34488	//
34489	// ImageName is a required field
34490	ImageName *string `min:"1" type:"string" required:"true"`
34491
34492	// The version number of the CustomImage.
34493	ImageVersionNumber *int64 `type:"integer"`
34494}
34495
34496// String returns the string representation
34497func (s CustomImage) String() string {
34498	return awsutil.Prettify(s)
34499}
34500
34501// GoString returns the string representation
34502func (s CustomImage) GoString() string {
34503	return s.String()
34504}
34505
34506// Validate inspects the fields of the type to determine if they are valid.
34507func (s *CustomImage) Validate() error {
34508	invalidParams := request.ErrInvalidParams{Context: "CustomImage"}
34509	if s.AppImageConfigName == nil {
34510		invalidParams.Add(request.NewErrParamRequired("AppImageConfigName"))
34511	}
34512	if s.ImageName == nil {
34513		invalidParams.Add(request.NewErrParamRequired("ImageName"))
34514	}
34515	if s.ImageName != nil && len(*s.ImageName) < 1 {
34516		invalidParams.Add(request.NewErrParamMinLen("ImageName", 1))
34517	}
34518
34519	if invalidParams.Len() > 0 {
34520		return invalidParams
34521	}
34522	return nil
34523}
34524
34525// SetAppImageConfigName sets the AppImageConfigName field's value.
34526func (s *CustomImage) SetAppImageConfigName(v string) *CustomImage {
34527	s.AppImageConfigName = &v
34528	return s
34529}
34530
34531// SetImageName sets the ImageName field's value.
34532func (s *CustomImage) SetImageName(v string) *CustomImage {
34533	s.ImageName = &v
34534	return s
34535}
34536
34537// SetImageVersionNumber sets the ImageVersionNumber field's value.
34538func (s *CustomImage) SetImageVersionNumber(v int64) *CustomImage {
34539	s.ImageVersionNumber = &v
34540	return s
34541}
34542
34543type DataCaptureConfig struct {
34544	_ struct{} `type:"structure"`
34545
34546	CaptureContentTypeHeader *CaptureContentTypeHeader `type:"structure"`
34547
34548	// CaptureOptions is a required field
34549	CaptureOptions []*CaptureOption `min:"1" type:"list" required:"true"`
34550
34551	// DestinationS3Uri is a required field
34552	DestinationS3Uri *string `type:"string" required:"true"`
34553
34554	EnableCapture *bool `type:"boolean"`
34555
34556	// InitialSamplingPercentage is a required field
34557	InitialSamplingPercentage *int64 `type:"integer" required:"true"`
34558
34559	KmsKeyId *string `type:"string"`
34560}
34561
34562// String returns the string representation
34563func (s DataCaptureConfig) String() string {
34564	return awsutil.Prettify(s)
34565}
34566
34567// GoString returns the string representation
34568func (s DataCaptureConfig) GoString() string {
34569	return s.String()
34570}
34571
34572// Validate inspects the fields of the type to determine if they are valid.
34573func (s *DataCaptureConfig) Validate() error {
34574	invalidParams := request.ErrInvalidParams{Context: "DataCaptureConfig"}
34575	if s.CaptureOptions == nil {
34576		invalidParams.Add(request.NewErrParamRequired("CaptureOptions"))
34577	}
34578	if s.CaptureOptions != nil && len(s.CaptureOptions) < 1 {
34579		invalidParams.Add(request.NewErrParamMinLen("CaptureOptions", 1))
34580	}
34581	if s.DestinationS3Uri == nil {
34582		invalidParams.Add(request.NewErrParamRequired("DestinationS3Uri"))
34583	}
34584	if s.InitialSamplingPercentage == nil {
34585		invalidParams.Add(request.NewErrParamRequired("InitialSamplingPercentage"))
34586	}
34587	if s.CaptureContentTypeHeader != nil {
34588		if err := s.CaptureContentTypeHeader.Validate(); err != nil {
34589			invalidParams.AddNested("CaptureContentTypeHeader", err.(request.ErrInvalidParams))
34590		}
34591	}
34592	if s.CaptureOptions != nil {
34593		for i, v := range s.CaptureOptions {
34594			if v == nil {
34595				continue
34596			}
34597			if err := v.Validate(); err != nil {
34598				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CaptureOptions", i), err.(request.ErrInvalidParams))
34599			}
34600		}
34601	}
34602
34603	if invalidParams.Len() > 0 {
34604		return invalidParams
34605	}
34606	return nil
34607}
34608
34609// SetCaptureContentTypeHeader sets the CaptureContentTypeHeader field's value.
34610func (s *DataCaptureConfig) SetCaptureContentTypeHeader(v *CaptureContentTypeHeader) *DataCaptureConfig {
34611	s.CaptureContentTypeHeader = v
34612	return s
34613}
34614
34615// SetCaptureOptions sets the CaptureOptions field's value.
34616func (s *DataCaptureConfig) SetCaptureOptions(v []*CaptureOption) *DataCaptureConfig {
34617	s.CaptureOptions = v
34618	return s
34619}
34620
34621// SetDestinationS3Uri sets the DestinationS3Uri field's value.
34622func (s *DataCaptureConfig) SetDestinationS3Uri(v string) *DataCaptureConfig {
34623	s.DestinationS3Uri = &v
34624	return s
34625}
34626
34627// SetEnableCapture sets the EnableCapture field's value.
34628func (s *DataCaptureConfig) SetEnableCapture(v bool) *DataCaptureConfig {
34629	s.EnableCapture = &v
34630	return s
34631}
34632
34633// SetInitialSamplingPercentage sets the InitialSamplingPercentage field's value.
34634func (s *DataCaptureConfig) SetInitialSamplingPercentage(v int64) *DataCaptureConfig {
34635	s.InitialSamplingPercentage = &v
34636	return s
34637}
34638
34639// SetKmsKeyId sets the KmsKeyId field's value.
34640func (s *DataCaptureConfig) SetKmsKeyId(v string) *DataCaptureConfig {
34641	s.KmsKeyId = &v
34642	return s
34643}
34644
34645type DataCaptureConfigSummary struct {
34646	_ struct{} `type:"structure"`
34647
34648	// CaptureStatus is a required field
34649	CaptureStatus *string `type:"string" required:"true" enum:"CaptureStatus"`
34650
34651	// CurrentSamplingPercentage is a required field
34652	CurrentSamplingPercentage *int64 `type:"integer" required:"true"`
34653
34654	// DestinationS3Uri is a required field
34655	DestinationS3Uri *string `type:"string" required:"true"`
34656
34657	// EnableCapture is a required field
34658	EnableCapture *bool `type:"boolean" required:"true"`
34659
34660	// KmsKeyId is a required field
34661	KmsKeyId *string `type:"string" required:"true"`
34662}
34663
34664// String returns the string representation
34665func (s DataCaptureConfigSummary) String() string {
34666	return awsutil.Prettify(s)
34667}
34668
34669// GoString returns the string representation
34670func (s DataCaptureConfigSummary) GoString() string {
34671	return s.String()
34672}
34673
34674// SetCaptureStatus sets the CaptureStatus field's value.
34675func (s *DataCaptureConfigSummary) SetCaptureStatus(v string) *DataCaptureConfigSummary {
34676	s.CaptureStatus = &v
34677	return s
34678}
34679
34680// SetCurrentSamplingPercentage sets the CurrentSamplingPercentage field's value.
34681func (s *DataCaptureConfigSummary) SetCurrentSamplingPercentage(v int64) *DataCaptureConfigSummary {
34682	s.CurrentSamplingPercentage = &v
34683	return s
34684}
34685
34686// SetDestinationS3Uri sets the DestinationS3Uri field's value.
34687func (s *DataCaptureConfigSummary) SetDestinationS3Uri(v string) *DataCaptureConfigSummary {
34688	s.DestinationS3Uri = &v
34689	return s
34690}
34691
34692// SetEnableCapture sets the EnableCapture field's value.
34693func (s *DataCaptureConfigSummary) SetEnableCapture(v bool) *DataCaptureConfigSummary {
34694	s.EnableCapture = &v
34695	return s
34696}
34697
34698// SetKmsKeyId sets the KmsKeyId field's value.
34699func (s *DataCaptureConfigSummary) SetKmsKeyId(v string) *DataCaptureConfigSummary {
34700	s.KmsKeyId = &v
34701	return s
34702}
34703
34704// The meta data of the Glue table which serves as data catalog for the OfflineStore.
34705type DataCatalogConfig struct {
34706	_ struct{} `type:"structure"`
34707
34708	// The name of the Glue table catalog.
34709	//
34710	// Catalog is a required field
34711	Catalog *string `min:"1" type:"string" required:"true"`
34712
34713	// The name of the Glue table database.
34714	//
34715	// Database is a required field
34716	Database *string `min:"1" type:"string" required:"true"`
34717
34718	// The name of the Glue table.
34719	//
34720	// TableName is a required field
34721	TableName *string `min:"1" type:"string" required:"true"`
34722}
34723
34724// String returns the string representation
34725func (s DataCatalogConfig) String() string {
34726	return awsutil.Prettify(s)
34727}
34728
34729// GoString returns the string representation
34730func (s DataCatalogConfig) GoString() string {
34731	return s.String()
34732}
34733
34734// Validate inspects the fields of the type to determine if they are valid.
34735func (s *DataCatalogConfig) Validate() error {
34736	invalidParams := request.ErrInvalidParams{Context: "DataCatalogConfig"}
34737	if s.Catalog == nil {
34738		invalidParams.Add(request.NewErrParamRequired("Catalog"))
34739	}
34740	if s.Catalog != nil && len(*s.Catalog) < 1 {
34741		invalidParams.Add(request.NewErrParamMinLen("Catalog", 1))
34742	}
34743	if s.Database == nil {
34744		invalidParams.Add(request.NewErrParamRequired("Database"))
34745	}
34746	if s.Database != nil && len(*s.Database) < 1 {
34747		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
34748	}
34749	if s.TableName == nil {
34750		invalidParams.Add(request.NewErrParamRequired("TableName"))
34751	}
34752	if s.TableName != nil && len(*s.TableName) < 1 {
34753		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
34754	}
34755
34756	if invalidParams.Len() > 0 {
34757		return invalidParams
34758	}
34759	return nil
34760}
34761
34762// SetCatalog sets the Catalog field's value.
34763func (s *DataCatalogConfig) SetCatalog(v string) *DataCatalogConfig {
34764	s.Catalog = &v
34765	return s
34766}
34767
34768// SetDatabase sets the Database field's value.
34769func (s *DataCatalogConfig) SetDatabase(v string) *DataCatalogConfig {
34770	s.Database = &v
34771	return s
34772}
34773
34774// SetTableName sets the TableName field's value.
34775func (s *DataCatalogConfig) SetTableName(v string) *DataCatalogConfig {
34776	s.TableName = &v
34777	return s
34778}
34779
34780// The data structure used to specify the data to be used for inference in a
34781// batch transform job and to associate the data that is relevant to the prediction
34782// results in the output. The input filter provided allows you to exclude input
34783// data that is not needed for inference in a batch transform job. The output
34784// filter provided allows you to include input data relevant to interpreting
34785// the predictions in the output from the job. For more information, see Associate
34786// Prediction Results with their Corresponding Input Records (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html).
34787type DataProcessing struct {
34788	_ struct{} `type:"structure"`
34789
34790	// A JSONPath (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html#data-processing-operators)
34791	// expression used to select a portion of the input data to pass to the algorithm.
34792	// Use the InputFilter parameter to exclude fields, such as an ID column, from
34793	// the input. If you want Amazon SageMaker to pass the entire input dataset
34794	// to the algorithm, accept the default value $.
34795	//
34796	// Examples: "$", "$[1:]", "$.features"
34797	InputFilter *string `type:"string"`
34798
34799	// Specifies the source of the data to join with the transformed data. The valid
34800	// values are None and Input. The default value is None, which specifies not
34801	// to join the input with the transformed data. If you want the batch transform
34802	// job to join the original input data with the transformed data, set JoinSource
34803	// to Input. You can specify OutputFilter as an additional filter to select
34804	// a portion of the joined dataset and store it in the output file.
34805	//
34806	// For JSON or JSONLines objects, such as a JSON array, Amazon SageMaker adds
34807	// the transformed data to the input JSON object in an attribute called SageMakerOutput.
34808	// The joined result for JSON must be a key-value pair object. If the input
34809	// is not a key-value pair object, Amazon SageMaker creates a new JSON file.
34810	// In the new JSON file, and the input data is stored under the SageMakerInput
34811	// key and the results are stored in SageMakerOutput.
34812	//
34813	// For CSV data, Amazon SageMaker takes each row as a JSON array and joins the
34814	// transformed data with the input by appending each transformed row to the
34815	// end of the input. The joined data has the original input data followed by
34816	// the transformed data and the output is a CSV file.
34817	//
34818	// For information on how joining in applied, see Workflow for Associating Inferences
34819	// with Input Records (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html#batch-transform-data-processing-workflow).
34820	JoinSource *string `type:"string" enum:"JoinSource"`
34821
34822	// A JSONPath (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html#data-processing-operators)
34823	// expression used to select a portion of the joined dataset to save in the
34824	// output file for a batch transform job. If you want Amazon SageMaker to store
34825	// the entire input dataset in the output file, leave the default value, $.
34826	// If you specify indexes that aren't within the dimension size of the joined
34827	// dataset, you get an error.
34828	//
34829	// Examples: "$", "$[0,5:]", "$['id','SageMakerOutput']"
34830	OutputFilter *string `type:"string"`
34831}
34832
34833// String returns the string representation
34834func (s DataProcessing) String() string {
34835	return awsutil.Prettify(s)
34836}
34837
34838// GoString returns the string representation
34839func (s DataProcessing) GoString() string {
34840	return s.String()
34841}
34842
34843// SetInputFilter sets the InputFilter field's value.
34844func (s *DataProcessing) SetInputFilter(v string) *DataProcessing {
34845	s.InputFilter = &v
34846	return s
34847}
34848
34849// SetJoinSource sets the JoinSource field's value.
34850func (s *DataProcessing) SetJoinSource(v string) *DataProcessing {
34851	s.JoinSource = &v
34852	return s
34853}
34854
34855// SetOutputFilter sets the OutputFilter field's value.
34856func (s *DataProcessing) SetOutputFilter(v string) *DataProcessing {
34857	s.OutputFilter = &v
34858	return s
34859}
34860
34861// Information about the container that a data quality monitoring job runs.
34862type DataQualityAppSpecification struct {
34863	_ struct{} `type:"structure"`
34864
34865	// The arguments to send to the container that the monitoring job runs.
34866	ContainerArguments []*string `min:"1" type:"list"`
34867
34868	// The entrypoint for a container used to run a monitoring job.
34869	ContainerEntrypoint []*string `min:"1" type:"list"`
34870
34871	// Sets the environment variables in the container that the monitoring job runs.
34872	Environment map[string]*string `type:"map"`
34873
34874	// The container image that the data quality monitoring job runs.
34875	//
34876	// ImageUri is a required field
34877	ImageUri *string `type:"string" required:"true"`
34878
34879	// An Amazon S3 URI to a script that is called after analysis has been performed.
34880	// Applicable only for the built-in (first party) containers.
34881	PostAnalyticsProcessorSourceUri *string `type:"string"`
34882
34883	// An Amazon S3 URI to a script that is called per row prior to running analysis.
34884	// It can base64 decode the payload and convert it into a flatted json so that
34885	// the built-in container can use the converted data. Applicable only for the
34886	// built-in (first party) containers.
34887	RecordPreprocessorSourceUri *string `type:"string"`
34888}
34889
34890// String returns the string representation
34891func (s DataQualityAppSpecification) String() string {
34892	return awsutil.Prettify(s)
34893}
34894
34895// GoString returns the string representation
34896func (s DataQualityAppSpecification) GoString() string {
34897	return s.String()
34898}
34899
34900// Validate inspects the fields of the type to determine if they are valid.
34901func (s *DataQualityAppSpecification) Validate() error {
34902	invalidParams := request.ErrInvalidParams{Context: "DataQualityAppSpecification"}
34903	if s.ContainerArguments != nil && len(s.ContainerArguments) < 1 {
34904		invalidParams.Add(request.NewErrParamMinLen("ContainerArguments", 1))
34905	}
34906	if s.ContainerEntrypoint != nil && len(s.ContainerEntrypoint) < 1 {
34907		invalidParams.Add(request.NewErrParamMinLen("ContainerEntrypoint", 1))
34908	}
34909	if s.ImageUri == nil {
34910		invalidParams.Add(request.NewErrParamRequired("ImageUri"))
34911	}
34912
34913	if invalidParams.Len() > 0 {
34914		return invalidParams
34915	}
34916	return nil
34917}
34918
34919// SetContainerArguments sets the ContainerArguments field's value.
34920func (s *DataQualityAppSpecification) SetContainerArguments(v []*string) *DataQualityAppSpecification {
34921	s.ContainerArguments = v
34922	return s
34923}
34924
34925// SetContainerEntrypoint sets the ContainerEntrypoint field's value.
34926func (s *DataQualityAppSpecification) SetContainerEntrypoint(v []*string) *DataQualityAppSpecification {
34927	s.ContainerEntrypoint = v
34928	return s
34929}
34930
34931// SetEnvironment sets the Environment field's value.
34932func (s *DataQualityAppSpecification) SetEnvironment(v map[string]*string) *DataQualityAppSpecification {
34933	s.Environment = v
34934	return s
34935}
34936
34937// SetImageUri sets the ImageUri field's value.
34938func (s *DataQualityAppSpecification) SetImageUri(v string) *DataQualityAppSpecification {
34939	s.ImageUri = &v
34940	return s
34941}
34942
34943// SetPostAnalyticsProcessorSourceUri sets the PostAnalyticsProcessorSourceUri field's value.
34944func (s *DataQualityAppSpecification) SetPostAnalyticsProcessorSourceUri(v string) *DataQualityAppSpecification {
34945	s.PostAnalyticsProcessorSourceUri = &v
34946	return s
34947}
34948
34949// SetRecordPreprocessorSourceUri sets the RecordPreprocessorSourceUri field's value.
34950func (s *DataQualityAppSpecification) SetRecordPreprocessorSourceUri(v string) *DataQualityAppSpecification {
34951	s.RecordPreprocessorSourceUri = &v
34952	return s
34953}
34954
34955// Configuration for monitoring constraints and monitoring statistics. These
34956// baseline resources are compared against the results of the current job from
34957// the series of jobs scheduled to collect data periodically.
34958type DataQualityBaselineConfig struct {
34959	_ struct{} `type:"structure"`
34960
34961	// The name of the job that performs baselining for the data quality monitoring
34962	// job.
34963	BaseliningJobName *string `min:"1" type:"string"`
34964
34965	// The constraints resource for a monitoring job.
34966	ConstraintsResource *MonitoringConstraintsResource `type:"structure"`
34967
34968	// The statistics resource for a monitoring job.
34969	StatisticsResource *MonitoringStatisticsResource `type:"structure"`
34970}
34971
34972// String returns the string representation
34973func (s DataQualityBaselineConfig) String() string {
34974	return awsutil.Prettify(s)
34975}
34976
34977// GoString returns the string representation
34978func (s DataQualityBaselineConfig) GoString() string {
34979	return s.String()
34980}
34981
34982// Validate inspects the fields of the type to determine if they are valid.
34983func (s *DataQualityBaselineConfig) Validate() error {
34984	invalidParams := request.ErrInvalidParams{Context: "DataQualityBaselineConfig"}
34985	if s.BaseliningJobName != nil && len(*s.BaseliningJobName) < 1 {
34986		invalidParams.Add(request.NewErrParamMinLen("BaseliningJobName", 1))
34987	}
34988
34989	if invalidParams.Len() > 0 {
34990		return invalidParams
34991	}
34992	return nil
34993}
34994
34995// SetBaseliningJobName sets the BaseliningJobName field's value.
34996func (s *DataQualityBaselineConfig) SetBaseliningJobName(v string) *DataQualityBaselineConfig {
34997	s.BaseliningJobName = &v
34998	return s
34999}
35000
35001// SetConstraintsResource sets the ConstraintsResource field's value.
35002func (s *DataQualityBaselineConfig) SetConstraintsResource(v *MonitoringConstraintsResource) *DataQualityBaselineConfig {
35003	s.ConstraintsResource = v
35004	return s
35005}
35006
35007// SetStatisticsResource sets the StatisticsResource field's value.
35008func (s *DataQualityBaselineConfig) SetStatisticsResource(v *MonitoringStatisticsResource) *DataQualityBaselineConfig {
35009	s.StatisticsResource = v
35010	return s
35011}
35012
35013// The input for the data quality monitoring job. Currently endpoints are supported
35014// for input.
35015type DataQualityJobInput struct {
35016	_ struct{} `type:"structure"`
35017
35018	// Input object for the endpoint
35019	//
35020	// EndpointInput is a required field
35021	EndpointInput *EndpointInput `type:"structure" required:"true"`
35022}
35023
35024// String returns the string representation
35025func (s DataQualityJobInput) String() string {
35026	return awsutil.Prettify(s)
35027}
35028
35029// GoString returns the string representation
35030func (s DataQualityJobInput) GoString() string {
35031	return s.String()
35032}
35033
35034// Validate inspects the fields of the type to determine if they are valid.
35035func (s *DataQualityJobInput) Validate() error {
35036	invalidParams := request.ErrInvalidParams{Context: "DataQualityJobInput"}
35037	if s.EndpointInput == nil {
35038		invalidParams.Add(request.NewErrParamRequired("EndpointInput"))
35039	}
35040	if s.EndpointInput != nil {
35041		if err := s.EndpointInput.Validate(); err != nil {
35042			invalidParams.AddNested("EndpointInput", err.(request.ErrInvalidParams))
35043		}
35044	}
35045
35046	if invalidParams.Len() > 0 {
35047		return invalidParams
35048	}
35049	return nil
35050}
35051
35052// SetEndpointInput sets the EndpointInput field's value.
35053func (s *DataQualityJobInput) SetEndpointInput(v *EndpointInput) *DataQualityJobInput {
35054	s.EndpointInput = v
35055	return s
35056}
35057
35058// Describes the location of the channel data.
35059type DataSource struct {
35060	_ struct{} `type:"structure"`
35061
35062	// The file system that is associated with a channel.
35063	FileSystemDataSource *FileSystemDataSource `type:"structure"`
35064
35065	// The S3 location of the data source that is associated with a channel.
35066	S3DataSource *S3DataSource `type:"structure"`
35067}
35068
35069// String returns the string representation
35070func (s DataSource) String() string {
35071	return awsutil.Prettify(s)
35072}
35073
35074// GoString returns the string representation
35075func (s DataSource) GoString() string {
35076	return s.String()
35077}
35078
35079// Validate inspects the fields of the type to determine if they are valid.
35080func (s *DataSource) Validate() error {
35081	invalidParams := request.ErrInvalidParams{Context: "DataSource"}
35082	if s.FileSystemDataSource != nil {
35083		if err := s.FileSystemDataSource.Validate(); err != nil {
35084			invalidParams.AddNested("FileSystemDataSource", err.(request.ErrInvalidParams))
35085		}
35086	}
35087	if s.S3DataSource != nil {
35088		if err := s.S3DataSource.Validate(); err != nil {
35089			invalidParams.AddNested("S3DataSource", err.(request.ErrInvalidParams))
35090		}
35091	}
35092
35093	if invalidParams.Len() > 0 {
35094		return invalidParams
35095	}
35096	return nil
35097}
35098
35099// SetFileSystemDataSource sets the FileSystemDataSource field's value.
35100func (s *DataSource) SetFileSystemDataSource(v *FileSystemDataSource) *DataSource {
35101	s.FileSystemDataSource = v
35102	return s
35103}
35104
35105// SetS3DataSource sets the S3DataSource field's value.
35106func (s *DataSource) SetS3DataSource(v *S3DataSource) *DataSource {
35107	s.S3DataSource = v
35108	return s
35109}
35110
35111// Configuration for Dataset Definition inputs. The Dataset Definition input
35112// must specify exactly one of either AthenaDatasetDefinition or RedshiftDatasetDefinition
35113// types.
35114type DatasetDefinition struct {
35115	_ struct{} `type:"structure"`
35116
35117	// Configuration for Athena Dataset Definition input.
35118	AthenaDatasetDefinition *AthenaDatasetDefinition `type:"structure"`
35119
35120	// Whether the generated dataset is FullyReplicated or ShardedByS3Key (default).
35121	DataDistributionType *string `type:"string" enum:"DataDistributionType"`
35122
35123	// Whether to use File or Pipe input mode. In File (default) mode, Amazon SageMaker
35124	// copies the data from the input source onto the local Amazon Elastic Block
35125	// Store (Amazon EBS) volumes before starting your training algorithm. This
35126	// is the most commonly used input mode. In Pipe mode, Amazon SageMaker streams
35127	// input data from the source directly to your algorithm without using the EBS
35128	// volume.
35129	InputMode *string `type:"string" enum:"InputMode"`
35130
35131	// The local path where you want Amazon SageMaker to download the Dataset Definition
35132	// inputs to run a processing job. LocalPath is an absolute path to the input
35133	// data. This is a required parameter when AppManaged is False (default).
35134	LocalPath *string `type:"string"`
35135
35136	// Configuration for Redshift Dataset Definition input.
35137	RedshiftDatasetDefinition *RedshiftDatasetDefinition `type:"structure"`
35138}
35139
35140// String returns the string representation
35141func (s DatasetDefinition) String() string {
35142	return awsutil.Prettify(s)
35143}
35144
35145// GoString returns the string representation
35146func (s DatasetDefinition) GoString() string {
35147	return s.String()
35148}
35149
35150// Validate inspects the fields of the type to determine if they are valid.
35151func (s *DatasetDefinition) Validate() error {
35152	invalidParams := request.ErrInvalidParams{Context: "DatasetDefinition"}
35153	if s.AthenaDatasetDefinition != nil {
35154		if err := s.AthenaDatasetDefinition.Validate(); err != nil {
35155			invalidParams.AddNested("AthenaDatasetDefinition", err.(request.ErrInvalidParams))
35156		}
35157	}
35158	if s.RedshiftDatasetDefinition != nil {
35159		if err := s.RedshiftDatasetDefinition.Validate(); err != nil {
35160			invalidParams.AddNested("RedshiftDatasetDefinition", err.(request.ErrInvalidParams))
35161		}
35162	}
35163
35164	if invalidParams.Len() > 0 {
35165		return invalidParams
35166	}
35167	return nil
35168}
35169
35170// SetAthenaDatasetDefinition sets the AthenaDatasetDefinition field's value.
35171func (s *DatasetDefinition) SetAthenaDatasetDefinition(v *AthenaDatasetDefinition) *DatasetDefinition {
35172	s.AthenaDatasetDefinition = v
35173	return s
35174}
35175
35176// SetDataDistributionType sets the DataDistributionType field's value.
35177func (s *DatasetDefinition) SetDataDistributionType(v string) *DatasetDefinition {
35178	s.DataDistributionType = &v
35179	return s
35180}
35181
35182// SetInputMode sets the InputMode field's value.
35183func (s *DatasetDefinition) SetInputMode(v string) *DatasetDefinition {
35184	s.InputMode = &v
35185	return s
35186}
35187
35188// SetLocalPath sets the LocalPath field's value.
35189func (s *DatasetDefinition) SetLocalPath(v string) *DatasetDefinition {
35190	s.LocalPath = &v
35191	return s
35192}
35193
35194// SetRedshiftDatasetDefinition sets the RedshiftDatasetDefinition field's value.
35195func (s *DatasetDefinition) SetRedshiftDatasetDefinition(v *RedshiftDatasetDefinition) *DatasetDefinition {
35196	s.RedshiftDatasetDefinition = v
35197	return s
35198}
35199
35200// Configuration information for the Debugger hook parameters, metric and tensor
35201// collections, and storage paths. To learn more about how to configure the
35202// DebugHookConfig parameter, see Use the SageMaker and Debugger Configuration
35203// API Operations to Create, Update, and Debug Your Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html).
35204type DebugHookConfig struct {
35205	_ struct{} `type:"structure"`
35206
35207	// Configuration information for Debugger tensor collections. To learn more
35208	// about how to configure the CollectionConfiguration parameter, see Use the
35209	// SageMaker and Debugger Configuration API Operations to Create, Update, and
35210	// Debug Your Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html).
35211	CollectionConfigurations []*CollectionConfiguration `type:"list"`
35212
35213	// Configuration information for the Debugger hook parameters.
35214	HookParameters map[string]*string `type:"map"`
35215
35216	// Path to local storage location for metrics and tensors. Defaults to /opt/ml/output/tensors/.
35217	LocalPath *string `type:"string"`
35218
35219	// Path to Amazon S3 storage location for metrics and tensors.
35220	//
35221	// S3OutputPath is a required field
35222	S3OutputPath *string `type:"string" required:"true"`
35223}
35224
35225// String returns the string representation
35226func (s DebugHookConfig) String() string {
35227	return awsutil.Prettify(s)
35228}
35229
35230// GoString returns the string representation
35231func (s DebugHookConfig) GoString() string {
35232	return s.String()
35233}
35234
35235// Validate inspects the fields of the type to determine if they are valid.
35236func (s *DebugHookConfig) Validate() error {
35237	invalidParams := request.ErrInvalidParams{Context: "DebugHookConfig"}
35238	if s.S3OutputPath == nil {
35239		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
35240	}
35241	if s.CollectionConfigurations != nil {
35242		for i, v := range s.CollectionConfigurations {
35243			if v == nil {
35244				continue
35245			}
35246			if err := v.Validate(); err != nil {
35247				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CollectionConfigurations", i), err.(request.ErrInvalidParams))
35248			}
35249		}
35250	}
35251
35252	if invalidParams.Len() > 0 {
35253		return invalidParams
35254	}
35255	return nil
35256}
35257
35258// SetCollectionConfigurations sets the CollectionConfigurations field's value.
35259func (s *DebugHookConfig) SetCollectionConfigurations(v []*CollectionConfiguration) *DebugHookConfig {
35260	s.CollectionConfigurations = v
35261	return s
35262}
35263
35264// SetHookParameters sets the HookParameters field's value.
35265func (s *DebugHookConfig) SetHookParameters(v map[string]*string) *DebugHookConfig {
35266	s.HookParameters = v
35267	return s
35268}
35269
35270// SetLocalPath sets the LocalPath field's value.
35271func (s *DebugHookConfig) SetLocalPath(v string) *DebugHookConfig {
35272	s.LocalPath = &v
35273	return s
35274}
35275
35276// SetS3OutputPath sets the S3OutputPath field's value.
35277func (s *DebugHookConfig) SetS3OutputPath(v string) *DebugHookConfig {
35278	s.S3OutputPath = &v
35279	return s
35280}
35281
35282// Configuration information for SageMaker Debugger rules for debugging. To
35283// learn more about how to configure the DebugRuleConfiguration parameter, see
35284// Use the SageMaker and Debugger Configuration API Operations to Create, Update,
35285// and Debug Your Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html).
35286type DebugRuleConfiguration struct {
35287	_ struct{} `type:"structure"`
35288
35289	// The instance type to deploy a Debugger custom rule for debugging a training
35290	// job.
35291	InstanceType *string `type:"string" enum:"ProcessingInstanceType"`
35292
35293	// Path to local storage location for output of rules. Defaults to /opt/ml/processing/output/rule/.
35294	LocalPath *string `type:"string"`
35295
35296	// The name of the rule configuration. It must be unique relative to other rule
35297	// configuration names.
35298	//
35299	// RuleConfigurationName is a required field
35300	RuleConfigurationName *string `min:"1" type:"string" required:"true"`
35301
35302	// The Amazon Elastic Container (ECR) Image for the managed rule evaluation.
35303	//
35304	// RuleEvaluatorImage is a required field
35305	RuleEvaluatorImage *string `type:"string" required:"true"`
35306
35307	// Runtime configuration for rule container.
35308	RuleParameters map[string]*string `type:"map"`
35309
35310	// Path to Amazon S3 storage location for rules.
35311	S3OutputPath *string `type:"string"`
35312
35313	// The size, in GB, of the ML storage volume attached to the processing instance.
35314	VolumeSizeInGB *int64 `type:"integer"`
35315}
35316
35317// String returns the string representation
35318func (s DebugRuleConfiguration) String() string {
35319	return awsutil.Prettify(s)
35320}
35321
35322// GoString returns the string representation
35323func (s DebugRuleConfiguration) GoString() string {
35324	return s.String()
35325}
35326
35327// Validate inspects the fields of the type to determine if they are valid.
35328func (s *DebugRuleConfiguration) Validate() error {
35329	invalidParams := request.ErrInvalidParams{Context: "DebugRuleConfiguration"}
35330	if s.RuleConfigurationName == nil {
35331		invalidParams.Add(request.NewErrParamRequired("RuleConfigurationName"))
35332	}
35333	if s.RuleConfigurationName != nil && len(*s.RuleConfigurationName) < 1 {
35334		invalidParams.Add(request.NewErrParamMinLen("RuleConfigurationName", 1))
35335	}
35336	if s.RuleEvaluatorImage == nil {
35337		invalidParams.Add(request.NewErrParamRequired("RuleEvaluatorImage"))
35338	}
35339
35340	if invalidParams.Len() > 0 {
35341		return invalidParams
35342	}
35343	return nil
35344}
35345
35346// SetInstanceType sets the InstanceType field's value.
35347func (s *DebugRuleConfiguration) SetInstanceType(v string) *DebugRuleConfiguration {
35348	s.InstanceType = &v
35349	return s
35350}
35351
35352// SetLocalPath sets the LocalPath field's value.
35353func (s *DebugRuleConfiguration) SetLocalPath(v string) *DebugRuleConfiguration {
35354	s.LocalPath = &v
35355	return s
35356}
35357
35358// SetRuleConfigurationName sets the RuleConfigurationName field's value.
35359func (s *DebugRuleConfiguration) SetRuleConfigurationName(v string) *DebugRuleConfiguration {
35360	s.RuleConfigurationName = &v
35361	return s
35362}
35363
35364// SetRuleEvaluatorImage sets the RuleEvaluatorImage field's value.
35365func (s *DebugRuleConfiguration) SetRuleEvaluatorImage(v string) *DebugRuleConfiguration {
35366	s.RuleEvaluatorImage = &v
35367	return s
35368}
35369
35370// SetRuleParameters sets the RuleParameters field's value.
35371func (s *DebugRuleConfiguration) SetRuleParameters(v map[string]*string) *DebugRuleConfiguration {
35372	s.RuleParameters = v
35373	return s
35374}
35375
35376// SetS3OutputPath sets the S3OutputPath field's value.
35377func (s *DebugRuleConfiguration) SetS3OutputPath(v string) *DebugRuleConfiguration {
35378	s.S3OutputPath = &v
35379	return s
35380}
35381
35382// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
35383func (s *DebugRuleConfiguration) SetVolumeSizeInGB(v int64) *DebugRuleConfiguration {
35384	s.VolumeSizeInGB = &v
35385	return s
35386}
35387
35388// Information about the status of the rule evaluation.
35389type DebugRuleEvaluationStatus struct {
35390	_ struct{} `type:"structure"`
35391
35392	// Timestamp when the rule evaluation status was last modified.
35393	LastModifiedTime *time.Time `type:"timestamp"`
35394
35395	// The name of the rule configuration.
35396	RuleConfigurationName *string `min:"1" type:"string"`
35397
35398	// The Amazon Resource Name (ARN) of the rule evaluation job.
35399	RuleEvaluationJobArn *string `type:"string"`
35400
35401	// Status of the rule evaluation.
35402	RuleEvaluationStatus *string `type:"string" enum:"RuleEvaluationStatus"`
35403
35404	// Details from the rule evaluation.
35405	StatusDetails *string `type:"string"`
35406}
35407
35408// String returns the string representation
35409func (s DebugRuleEvaluationStatus) String() string {
35410	return awsutil.Prettify(s)
35411}
35412
35413// GoString returns the string representation
35414func (s DebugRuleEvaluationStatus) GoString() string {
35415	return s.String()
35416}
35417
35418// SetLastModifiedTime sets the LastModifiedTime field's value.
35419func (s *DebugRuleEvaluationStatus) SetLastModifiedTime(v time.Time) *DebugRuleEvaluationStatus {
35420	s.LastModifiedTime = &v
35421	return s
35422}
35423
35424// SetRuleConfigurationName sets the RuleConfigurationName field's value.
35425func (s *DebugRuleEvaluationStatus) SetRuleConfigurationName(v string) *DebugRuleEvaluationStatus {
35426	s.RuleConfigurationName = &v
35427	return s
35428}
35429
35430// SetRuleEvaluationJobArn sets the RuleEvaluationJobArn field's value.
35431func (s *DebugRuleEvaluationStatus) SetRuleEvaluationJobArn(v string) *DebugRuleEvaluationStatus {
35432	s.RuleEvaluationJobArn = &v
35433	return s
35434}
35435
35436// SetRuleEvaluationStatus sets the RuleEvaluationStatus field's value.
35437func (s *DebugRuleEvaluationStatus) SetRuleEvaluationStatus(v string) *DebugRuleEvaluationStatus {
35438	s.RuleEvaluationStatus = &v
35439	return s
35440}
35441
35442// SetStatusDetails sets the StatusDetails field's value.
35443func (s *DebugRuleEvaluationStatus) SetStatusDetails(v string) *DebugRuleEvaluationStatus {
35444	s.StatusDetails = &v
35445	return s
35446}
35447
35448type DeleteActionInput struct {
35449	_ struct{} `type:"structure"`
35450
35451	// The name of the action to delete.
35452	//
35453	// ActionName is a required field
35454	ActionName *string `min:"1" type:"string" required:"true"`
35455}
35456
35457// String returns the string representation
35458func (s DeleteActionInput) String() string {
35459	return awsutil.Prettify(s)
35460}
35461
35462// GoString returns the string representation
35463func (s DeleteActionInput) GoString() string {
35464	return s.String()
35465}
35466
35467// Validate inspects the fields of the type to determine if they are valid.
35468func (s *DeleteActionInput) Validate() error {
35469	invalidParams := request.ErrInvalidParams{Context: "DeleteActionInput"}
35470	if s.ActionName == nil {
35471		invalidParams.Add(request.NewErrParamRequired("ActionName"))
35472	}
35473	if s.ActionName != nil && len(*s.ActionName) < 1 {
35474		invalidParams.Add(request.NewErrParamMinLen("ActionName", 1))
35475	}
35476
35477	if invalidParams.Len() > 0 {
35478		return invalidParams
35479	}
35480	return nil
35481}
35482
35483// SetActionName sets the ActionName field's value.
35484func (s *DeleteActionInput) SetActionName(v string) *DeleteActionInput {
35485	s.ActionName = &v
35486	return s
35487}
35488
35489type DeleteActionOutput struct {
35490	_ struct{} `type:"structure"`
35491
35492	// The Amazon Resource Name (ARN) of the action.
35493	ActionArn *string `type:"string"`
35494}
35495
35496// String returns the string representation
35497func (s DeleteActionOutput) String() string {
35498	return awsutil.Prettify(s)
35499}
35500
35501// GoString returns the string representation
35502func (s DeleteActionOutput) GoString() string {
35503	return s.String()
35504}
35505
35506// SetActionArn sets the ActionArn field's value.
35507func (s *DeleteActionOutput) SetActionArn(v string) *DeleteActionOutput {
35508	s.ActionArn = &v
35509	return s
35510}
35511
35512type DeleteAlgorithmInput struct {
35513	_ struct{} `type:"structure"`
35514
35515	// The name of the algorithm to delete.
35516	//
35517	// AlgorithmName is a required field
35518	AlgorithmName *string `min:"1" type:"string" required:"true"`
35519}
35520
35521// String returns the string representation
35522func (s DeleteAlgorithmInput) String() string {
35523	return awsutil.Prettify(s)
35524}
35525
35526// GoString returns the string representation
35527func (s DeleteAlgorithmInput) GoString() string {
35528	return s.String()
35529}
35530
35531// Validate inspects the fields of the type to determine if they are valid.
35532func (s *DeleteAlgorithmInput) Validate() error {
35533	invalidParams := request.ErrInvalidParams{Context: "DeleteAlgorithmInput"}
35534	if s.AlgorithmName == nil {
35535		invalidParams.Add(request.NewErrParamRequired("AlgorithmName"))
35536	}
35537	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
35538		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
35539	}
35540
35541	if invalidParams.Len() > 0 {
35542		return invalidParams
35543	}
35544	return nil
35545}
35546
35547// SetAlgorithmName sets the AlgorithmName field's value.
35548func (s *DeleteAlgorithmInput) SetAlgorithmName(v string) *DeleteAlgorithmInput {
35549	s.AlgorithmName = &v
35550	return s
35551}
35552
35553type DeleteAlgorithmOutput struct {
35554	_ struct{} `type:"structure"`
35555}
35556
35557// String returns the string representation
35558func (s DeleteAlgorithmOutput) String() string {
35559	return awsutil.Prettify(s)
35560}
35561
35562// GoString returns the string representation
35563func (s DeleteAlgorithmOutput) GoString() string {
35564	return s.String()
35565}
35566
35567type DeleteAppImageConfigInput struct {
35568	_ struct{} `type:"structure"`
35569
35570	// The name of the AppImageConfig to delete.
35571	//
35572	// AppImageConfigName is a required field
35573	AppImageConfigName *string `type:"string" required:"true"`
35574}
35575
35576// String returns the string representation
35577func (s DeleteAppImageConfigInput) String() string {
35578	return awsutil.Prettify(s)
35579}
35580
35581// GoString returns the string representation
35582func (s DeleteAppImageConfigInput) GoString() string {
35583	return s.String()
35584}
35585
35586// Validate inspects the fields of the type to determine if they are valid.
35587func (s *DeleteAppImageConfigInput) Validate() error {
35588	invalidParams := request.ErrInvalidParams{Context: "DeleteAppImageConfigInput"}
35589	if s.AppImageConfigName == nil {
35590		invalidParams.Add(request.NewErrParamRequired("AppImageConfigName"))
35591	}
35592
35593	if invalidParams.Len() > 0 {
35594		return invalidParams
35595	}
35596	return nil
35597}
35598
35599// SetAppImageConfigName sets the AppImageConfigName field's value.
35600func (s *DeleteAppImageConfigInput) SetAppImageConfigName(v string) *DeleteAppImageConfigInput {
35601	s.AppImageConfigName = &v
35602	return s
35603}
35604
35605type DeleteAppImageConfigOutput struct {
35606	_ struct{} `type:"structure"`
35607}
35608
35609// String returns the string representation
35610func (s DeleteAppImageConfigOutput) String() string {
35611	return awsutil.Prettify(s)
35612}
35613
35614// GoString returns the string representation
35615func (s DeleteAppImageConfigOutput) GoString() string {
35616	return s.String()
35617}
35618
35619type DeleteAppInput struct {
35620	_ struct{} `type:"structure"`
35621
35622	// The name of the app.
35623	//
35624	// AppName is a required field
35625	AppName *string `type:"string" required:"true"`
35626
35627	// The type of app.
35628	//
35629	// AppType is a required field
35630	AppType *string `type:"string" required:"true" enum:"AppType"`
35631
35632	// The domain ID.
35633	//
35634	// DomainId is a required field
35635	DomainId *string `type:"string" required:"true"`
35636
35637	// The user profile name.
35638	//
35639	// UserProfileName is a required field
35640	UserProfileName *string `type:"string" required:"true"`
35641}
35642
35643// String returns the string representation
35644func (s DeleteAppInput) String() string {
35645	return awsutil.Prettify(s)
35646}
35647
35648// GoString returns the string representation
35649func (s DeleteAppInput) GoString() string {
35650	return s.String()
35651}
35652
35653// Validate inspects the fields of the type to determine if they are valid.
35654func (s *DeleteAppInput) Validate() error {
35655	invalidParams := request.ErrInvalidParams{Context: "DeleteAppInput"}
35656	if s.AppName == nil {
35657		invalidParams.Add(request.NewErrParamRequired("AppName"))
35658	}
35659	if s.AppType == nil {
35660		invalidParams.Add(request.NewErrParamRequired("AppType"))
35661	}
35662	if s.DomainId == nil {
35663		invalidParams.Add(request.NewErrParamRequired("DomainId"))
35664	}
35665	if s.UserProfileName == nil {
35666		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
35667	}
35668
35669	if invalidParams.Len() > 0 {
35670		return invalidParams
35671	}
35672	return nil
35673}
35674
35675// SetAppName sets the AppName field's value.
35676func (s *DeleteAppInput) SetAppName(v string) *DeleteAppInput {
35677	s.AppName = &v
35678	return s
35679}
35680
35681// SetAppType sets the AppType field's value.
35682func (s *DeleteAppInput) SetAppType(v string) *DeleteAppInput {
35683	s.AppType = &v
35684	return s
35685}
35686
35687// SetDomainId sets the DomainId field's value.
35688func (s *DeleteAppInput) SetDomainId(v string) *DeleteAppInput {
35689	s.DomainId = &v
35690	return s
35691}
35692
35693// SetUserProfileName sets the UserProfileName field's value.
35694func (s *DeleteAppInput) SetUserProfileName(v string) *DeleteAppInput {
35695	s.UserProfileName = &v
35696	return s
35697}
35698
35699type DeleteAppOutput struct {
35700	_ struct{} `type:"structure"`
35701}
35702
35703// String returns the string representation
35704func (s DeleteAppOutput) String() string {
35705	return awsutil.Prettify(s)
35706}
35707
35708// GoString returns the string representation
35709func (s DeleteAppOutput) GoString() string {
35710	return s.String()
35711}
35712
35713type DeleteArtifactInput struct {
35714	_ struct{} `type:"structure"`
35715
35716	// The Amazon Resource Name (ARN) of the artifact to delete.
35717	ArtifactArn *string `type:"string"`
35718
35719	// The URI of the source.
35720	Source *ArtifactSource `type:"structure"`
35721}
35722
35723// String returns the string representation
35724func (s DeleteArtifactInput) String() string {
35725	return awsutil.Prettify(s)
35726}
35727
35728// GoString returns the string representation
35729func (s DeleteArtifactInput) GoString() string {
35730	return s.String()
35731}
35732
35733// Validate inspects the fields of the type to determine if they are valid.
35734func (s *DeleteArtifactInput) Validate() error {
35735	invalidParams := request.ErrInvalidParams{Context: "DeleteArtifactInput"}
35736	if s.Source != nil {
35737		if err := s.Source.Validate(); err != nil {
35738			invalidParams.AddNested("Source", err.(request.ErrInvalidParams))
35739		}
35740	}
35741
35742	if invalidParams.Len() > 0 {
35743		return invalidParams
35744	}
35745	return nil
35746}
35747
35748// SetArtifactArn sets the ArtifactArn field's value.
35749func (s *DeleteArtifactInput) SetArtifactArn(v string) *DeleteArtifactInput {
35750	s.ArtifactArn = &v
35751	return s
35752}
35753
35754// SetSource sets the Source field's value.
35755func (s *DeleteArtifactInput) SetSource(v *ArtifactSource) *DeleteArtifactInput {
35756	s.Source = v
35757	return s
35758}
35759
35760type DeleteArtifactOutput struct {
35761	_ struct{} `type:"structure"`
35762
35763	// The Amazon Resource Name (ARN) of the artifact.
35764	ArtifactArn *string `type:"string"`
35765}
35766
35767// String returns the string representation
35768func (s DeleteArtifactOutput) String() string {
35769	return awsutil.Prettify(s)
35770}
35771
35772// GoString returns the string representation
35773func (s DeleteArtifactOutput) GoString() string {
35774	return s.String()
35775}
35776
35777// SetArtifactArn sets the ArtifactArn field's value.
35778func (s *DeleteArtifactOutput) SetArtifactArn(v string) *DeleteArtifactOutput {
35779	s.ArtifactArn = &v
35780	return s
35781}
35782
35783type DeleteAssociationInput struct {
35784	_ struct{} `type:"structure"`
35785
35786	// The Amazon Resource Name (ARN) of the destination.
35787	//
35788	// DestinationArn is a required field
35789	DestinationArn *string `type:"string" required:"true"`
35790
35791	// The ARN of the source.
35792	//
35793	// SourceArn is a required field
35794	SourceArn *string `type:"string" required:"true"`
35795}
35796
35797// String returns the string representation
35798func (s DeleteAssociationInput) String() string {
35799	return awsutil.Prettify(s)
35800}
35801
35802// GoString returns the string representation
35803func (s DeleteAssociationInput) GoString() string {
35804	return s.String()
35805}
35806
35807// Validate inspects the fields of the type to determine if they are valid.
35808func (s *DeleteAssociationInput) Validate() error {
35809	invalidParams := request.ErrInvalidParams{Context: "DeleteAssociationInput"}
35810	if s.DestinationArn == nil {
35811		invalidParams.Add(request.NewErrParamRequired("DestinationArn"))
35812	}
35813	if s.SourceArn == nil {
35814		invalidParams.Add(request.NewErrParamRequired("SourceArn"))
35815	}
35816
35817	if invalidParams.Len() > 0 {
35818		return invalidParams
35819	}
35820	return nil
35821}
35822
35823// SetDestinationArn sets the DestinationArn field's value.
35824func (s *DeleteAssociationInput) SetDestinationArn(v string) *DeleteAssociationInput {
35825	s.DestinationArn = &v
35826	return s
35827}
35828
35829// SetSourceArn sets the SourceArn field's value.
35830func (s *DeleteAssociationInput) SetSourceArn(v string) *DeleteAssociationInput {
35831	s.SourceArn = &v
35832	return s
35833}
35834
35835type DeleteAssociationOutput struct {
35836	_ struct{} `type:"structure"`
35837
35838	// The Amazon Resource Name (ARN) of the destination.
35839	DestinationArn *string `type:"string"`
35840
35841	// The ARN of the source.
35842	SourceArn *string `type:"string"`
35843}
35844
35845// String returns the string representation
35846func (s DeleteAssociationOutput) String() string {
35847	return awsutil.Prettify(s)
35848}
35849
35850// GoString returns the string representation
35851func (s DeleteAssociationOutput) GoString() string {
35852	return s.String()
35853}
35854
35855// SetDestinationArn sets the DestinationArn field's value.
35856func (s *DeleteAssociationOutput) SetDestinationArn(v string) *DeleteAssociationOutput {
35857	s.DestinationArn = &v
35858	return s
35859}
35860
35861// SetSourceArn sets the SourceArn field's value.
35862func (s *DeleteAssociationOutput) SetSourceArn(v string) *DeleteAssociationOutput {
35863	s.SourceArn = &v
35864	return s
35865}
35866
35867type DeleteCodeRepositoryInput struct {
35868	_ struct{} `type:"structure"`
35869
35870	// The name of the Git repository to delete.
35871	//
35872	// CodeRepositoryName is a required field
35873	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
35874}
35875
35876// String returns the string representation
35877func (s DeleteCodeRepositoryInput) String() string {
35878	return awsutil.Prettify(s)
35879}
35880
35881// GoString returns the string representation
35882func (s DeleteCodeRepositoryInput) GoString() string {
35883	return s.String()
35884}
35885
35886// Validate inspects the fields of the type to determine if they are valid.
35887func (s *DeleteCodeRepositoryInput) Validate() error {
35888	invalidParams := request.ErrInvalidParams{Context: "DeleteCodeRepositoryInput"}
35889	if s.CodeRepositoryName == nil {
35890		invalidParams.Add(request.NewErrParamRequired("CodeRepositoryName"))
35891	}
35892	if s.CodeRepositoryName != nil && len(*s.CodeRepositoryName) < 1 {
35893		invalidParams.Add(request.NewErrParamMinLen("CodeRepositoryName", 1))
35894	}
35895
35896	if invalidParams.Len() > 0 {
35897		return invalidParams
35898	}
35899	return nil
35900}
35901
35902// SetCodeRepositoryName sets the CodeRepositoryName field's value.
35903func (s *DeleteCodeRepositoryInput) SetCodeRepositoryName(v string) *DeleteCodeRepositoryInput {
35904	s.CodeRepositoryName = &v
35905	return s
35906}
35907
35908type DeleteCodeRepositoryOutput struct {
35909	_ struct{} `type:"structure"`
35910}
35911
35912// String returns the string representation
35913func (s DeleteCodeRepositoryOutput) String() string {
35914	return awsutil.Prettify(s)
35915}
35916
35917// GoString returns the string representation
35918func (s DeleteCodeRepositoryOutput) GoString() string {
35919	return s.String()
35920}
35921
35922type DeleteContextInput struct {
35923	_ struct{} `type:"structure"`
35924
35925	// The name of the context to delete.
35926	//
35927	// ContextName is a required field
35928	ContextName *string `min:"1" type:"string" required:"true"`
35929}
35930
35931// String returns the string representation
35932func (s DeleteContextInput) String() string {
35933	return awsutil.Prettify(s)
35934}
35935
35936// GoString returns the string representation
35937func (s DeleteContextInput) GoString() string {
35938	return s.String()
35939}
35940
35941// Validate inspects the fields of the type to determine if they are valid.
35942func (s *DeleteContextInput) Validate() error {
35943	invalidParams := request.ErrInvalidParams{Context: "DeleteContextInput"}
35944	if s.ContextName == nil {
35945		invalidParams.Add(request.NewErrParamRequired("ContextName"))
35946	}
35947	if s.ContextName != nil && len(*s.ContextName) < 1 {
35948		invalidParams.Add(request.NewErrParamMinLen("ContextName", 1))
35949	}
35950
35951	if invalidParams.Len() > 0 {
35952		return invalidParams
35953	}
35954	return nil
35955}
35956
35957// SetContextName sets the ContextName field's value.
35958func (s *DeleteContextInput) SetContextName(v string) *DeleteContextInput {
35959	s.ContextName = &v
35960	return s
35961}
35962
35963type DeleteContextOutput struct {
35964	_ struct{} `type:"structure"`
35965
35966	// The Amazon Resource Name (ARN) of the context.
35967	ContextArn *string `type:"string"`
35968}
35969
35970// String returns the string representation
35971func (s DeleteContextOutput) String() string {
35972	return awsutil.Prettify(s)
35973}
35974
35975// GoString returns the string representation
35976func (s DeleteContextOutput) GoString() string {
35977	return s.String()
35978}
35979
35980// SetContextArn sets the ContextArn field's value.
35981func (s *DeleteContextOutput) SetContextArn(v string) *DeleteContextOutput {
35982	s.ContextArn = &v
35983	return s
35984}
35985
35986type DeleteDataQualityJobDefinitionInput struct {
35987	_ struct{} `type:"structure"`
35988
35989	// The name of the data quality monitoring job definition to delete.
35990	//
35991	// JobDefinitionName is a required field
35992	JobDefinitionName *string `min:"1" type:"string" required:"true"`
35993}
35994
35995// String returns the string representation
35996func (s DeleteDataQualityJobDefinitionInput) String() string {
35997	return awsutil.Prettify(s)
35998}
35999
36000// GoString returns the string representation
36001func (s DeleteDataQualityJobDefinitionInput) GoString() string {
36002	return s.String()
36003}
36004
36005// Validate inspects the fields of the type to determine if they are valid.
36006func (s *DeleteDataQualityJobDefinitionInput) Validate() error {
36007	invalidParams := request.ErrInvalidParams{Context: "DeleteDataQualityJobDefinitionInput"}
36008	if s.JobDefinitionName == nil {
36009		invalidParams.Add(request.NewErrParamRequired("JobDefinitionName"))
36010	}
36011	if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 {
36012		invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1))
36013	}
36014
36015	if invalidParams.Len() > 0 {
36016		return invalidParams
36017	}
36018	return nil
36019}
36020
36021// SetJobDefinitionName sets the JobDefinitionName field's value.
36022func (s *DeleteDataQualityJobDefinitionInput) SetJobDefinitionName(v string) *DeleteDataQualityJobDefinitionInput {
36023	s.JobDefinitionName = &v
36024	return s
36025}
36026
36027type DeleteDataQualityJobDefinitionOutput struct {
36028	_ struct{} `type:"structure"`
36029}
36030
36031// String returns the string representation
36032func (s DeleteDataQualityJobDefinitionOutput) String() string {
36033	return awsutil.Prettify(s)
36034}
36035
36036// GoString returns the string representation
36037func (s DeleteDataQualityJobDefinitionOutput) GoString() string {
36038	return s.String()
36039}
36040
36041type DeleteDeviceFleetInput struct {
36042	_ struct{} `type:"structure"`
36043
36044	// The name of the fleet to delete.
36045	//
36046	// DeviceFleetName is a required field
36047	DeviceFleetName *string `min:"1" type:"string" required:"true"`
36048}
36049
36050// String returns the string representation
36051func (s DeleteDeviceFleetInput) String() string {
36052	return awsutil.Prettify(s)
36053}
36054
36055// GoString returns the string representation
36056func (s DeleteDeviceFleetInput) GoString() string {
36057	return s.String()
36058}
36059
36060// Validate inspects the fields of the type to determine if they are valid.
36061func (s *DeleteDeviceFleetInput) Validate() error {
36062	invalidParams := request.ErrInvalidParams{Context: "DeleteDeviceFleetInput"}
36063	if s.DeviceFleetName == nil {
36064		invalidParams.Add(request.NewErrParamRequired("DeviceFleetName"))
36065	}
36066	if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 {
36067		invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1))
36068	}
36069
36070	if invalidParams.Len() > 0 {
36071		return invalidParams
36072	}
36073	return nil
36074}
36075
36076// SetDeviceFleetName sets the DeviceFleetName field's value.
36077func (s *DeleteDeviceFleetInput) SetDeviceFleetName(v string) *DeleteDeviceFleetInput {
36078	s.DeviceFleetName = &v
36079	return s
36080}
36081
36082type DeleteDeviceFleetOutput struct {
36083	_ struct{} `type:"structure"`
36084}
36085
36086// String returns the string representation
36087func (s DeleteDeviceFleetOutput) String() string {
36088	return awsutil.Prettify(s)
36089}
36090
36091// GoString returns the string representation
36092func (s DeleteDeviceFleetOutput) GoString() string {
36093	return s.String()
36094}
36095
36096type DeleteDomainInput struct {
36097	_ struct{} `type:"structure"`
36098
36099	// The domain ID.
36100	//
36101	// DomainId is a required field
36102	DomainId *string `type:"string" required:"true"`
36103
36104	// The retention policy for this domain, which specifies whether resources will
36105	// be retained after the Domain is deleted. By default, all resources are retained
36106	// (not automatically deleted).
36107	RetentionPolicy *RetentionPolicy `type:"structure"`
36108}
36109
36110// String returns the string representation
36111func (s DeleteDomainInput) String() string {
36112	return awsutil.Prettify(s)
36113}
36114
36115// GoString returns the string representation
36116func (s DeleteDomainInput) GoString() string {
36117	return s.String()
36118}
36119
36120// Validate inspects the fields of the type to determine if they are valid.
36121func (s *DeleteDomainInput) Validate() error {
36122	invalidParams := request.ErrInvalidParams{Context: "DeleteDomainInput"}
36123	if s.DomainId == nil {
36124		invalidParams.Add(request.NewErrParamRequired("DomainId"))
36125	}
36126
36127	if invalidParams.Len() > 0 {
36128		return invalidParams
36129	}
36130	return nil
36131}
36132
36133// SetDomainId sets the DomainId field's value.
36134func (s *DeleteDomainInput) SetDomainId(v string) *DeleteDomainInput {
36135	s.DomainId = &v
36136	return s
36137}
36138
36139// SetRetentionPolicy sets the RetentionPolicy field's value.
36140func (s *DeleteDomainInput) SetRetentionPolicy(v *RetentionPolicy) *DeleteDomainInput {
36141	s.RetentionPolicy = v
36142	return s
36143}
36144
36145type DeleteDomainOutput struct {
36146	_ struct{} `type:"structure"`
36147}
36148
36149// String returns the string representation
36150func (s DeleteDomainOutput) String() string {
36151	return awsutil.Prettify(s)
36152}
36153
36154// GoString returns the string representation
36155func (s DeleteDomainOutput) GoString() string {
36156	return s.String()
36157}
36158
36159type DeleteEndpointConfigInput struct {
36160	_ struct{} `type:"structure"`
36161
36162	// The name of the endpoint configuration that you want to delete.
36163	//
36164	// EndpointConfigName is a required field
36165	EndpointConfigName *string `type:"string" required:"true"`
36166}
36167
36168// String returns the string representation
36169func (s DeleteEndpointConfigInput) String() string {
36170	return awsutil.Prettify(s)
36171}
36172
36173// GoString returns the string representation
36174func (s DeleteEndpointConfigInput) GoString() string {
36175	return s.String()
36176}
36177
36178// Validate inspects the fields of the type to determine if they are valid.
36179func (s *DeleteEndpointConfigInput) Validate() error {
36180	invalidParams := request.ErrInvalidParams{Context: "DeleteEndpointConfigInput"}
36181	if s.EndpointConfigName == nil {
36182		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
36183	}
36184
36185	if invalidParams.Len() > 0 {
36186		return invalidParams
36187	}
36188	return nil
36189}
36190
36191// SetEndpointConfigName sets the EndpointConfigName field's value.
36192func (s *DeleteEndpointConfigInput) SetEndpointConfigName(v string) *DeleteEndpointConfigInput {
36193	s.EndpointConfigName = &v
36194	return s
36195}
36196
36197type DeleteEndpointConfigOutput struct {
36198	_ struct{} `type:"structure"`
36199}
36200
36201// String returns the string representation
36202func (s DeleteEndpointConfigOutput) String() string {
36203	return awsutil.Prettify(s)
36204}
36205
36206// GoString returns the string representation
36207func (s DeleteEndpointConfigOutput) GoString() string {
36208	return s.String()
36209}
36210
36211type DeleteEndpointInput struct {
36212	_ struct{} `type:"structure"`
36213
36214	// The name of the endpoint that you want to delete.
36215	//
36216	// EndpointName is a required field
36217	EndpointName *string `type:"string" required:"true"`
36218}
36219
36220// String returns the string representation
36221func (s DeleteEndpointInput) String() string {
36222	return awsutil.Prettify(s)
36223}
36224
36225// GoString returns the string representation
36226func (s DeleteEndpointInput) GoString() string {
36227	return s.String()
36228}
36229
36230// Validate inspects the fields of the type to determine if they are valid.
36231func (s *DeleteEndpointInput) Validate() error {
36232	invalidParams := request.ErrInvalidParams{Context: "DeleteEndpointInput"}
36233	if s.EndpointName == nil {
36234		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
36235	}
36236
36237	if invalidParams.Len() > 0 {
36238		return invalidParams
36239	}
36240	return nil
36241}
36242
36243// SetEndpointName sets the EndpointName field's value.
36244func (s *DeleteEndpointInput) SetEndpointName(v string) *DeleteEndpointInput {
36245	s.EndpointName = &v
36246	return s
36247}
36248
36249type DeleteEndpointOutput struct {
36250	_ struct{} `type:"structure"`
36251}
36252
36253// String returns the string representation
36254func (s DeleteEndpointOutput) String() string {
36255	return awsutil.Prettify(s)
36256}
36257
36258// GoString returns the string representation
36259func (s DeleteEndpointOutput) GoString() string {
36260	return s.String()
36261}
36262
36263type DeleteExperimentInput struct {
36264	_ struct{} `type:"structure"`
36265
36266	// The name of the experiment to delete.
36267	//
36268	// ExperimentName is a required field
36269	ExperimentName *string `min:"1" type:"string" required:"true"`
36270}
36271
36272// String returns the string representation
36273func (s DeleteExperimentInput) String() string {
36274	return awsutil.Prettify(s)
36275}
36276
36277// GoString returns the string representation
36278func (s DeleteExperimentInput) GoString() string {
36279	return s.String()
36280}
36281
36282// Validate inspects the fields of the type to determine if they are valid.
36283func (s *DeleteExperimentInput) Validate() error {
36284	invalidParams := request.ErrInvalidParams{Context: "DeleteExperimentInput"}
36285	if s.ExperimentName == nil {
36286		invalidParams.Add(request.NewErrParamRequired("ExperimentName"))
36287	}
36288	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
36289		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
36290	}
36291
36292	if invalidParams.Len() > 0 {
36293		return invalidParams
36294	}
36295	return nil
36296}
36297
36298// SetExperimentName sets the ExperimentName field's value.
36299func (s *DeleteExperimentInput) SetExperimentName(v string) *DeleteExperimentInput {
36300	s.ExperimentName = &v
36301	return s
36302}
36303
36304type DeleteExperimentOutput struct {
36305	_ struct{} `type:"structure"`
36306
36307	// The Amazon Resource Name (ARN) of the experiment that is being deleted.
36308	ExperimentArn *string `type:"string"`
36309}
36310
36311// String returns the string representation
36312func (s DeleteExperimentOutput) String() string {
36313	return awsutil.Prettify(s)
36314}
36315
36316// GoString returns the string representation
36317func (s DeleteExperimentOutput) GoString() string {
36318	return s.String()
36319}
36320
36321// SetExperimentArn sets the ExperimentArn field's value.
36322func (s *DeleteExperimentOutput) SetExperimentArn(v string) *DeleteExperimentOutput {
36323	s.ExperimentArn = &v
36324	return s
36325}
36326
36327type DeleteFeatureGroupInput struct {
36328	_ struct{} `type:"structure"`
36329
36330	// The name of the FeatureGroup you want to delete. The name must be unique
36331	// within an AWS Region in an AWS account.
36332	//
36333	// FeatureGroupName is a required field
36334	FeatureGroupName *string `min:"1" type:"string" required:"true"`
36335}
36336
36337// String returns the string representation
36338func (s DeleteFeatureGroupInput) String() string {
36339	return awsutil.Prettify(s)
36340}
36341
36342// GoString returns the string representation
36343func (s DeleteFeatureGroupInput) GoString() string {
36344	return s.String()
36345}
36346
36347// Validate inspects the fields of the type to determine if they are valid.
36348func (s *DeleteFeatureGroupInput) Validate() error {
36349	invalidParams := request.ErrInvalidParams{Context: "DeleteFeatureGroupInput"}
36350	if s.FeatureGroupName == nil {
36351		invalidParams.Add(request.NewErrParamRequired("FeatureGroupName"))
36352	}
36353	if s.FeatureGroupName != nil && len(*s.FeatureGroupName) < 1 {
36354		invalidParams.Add(request.NewErrParamMinLen("FeatureGroupName", 1))
36355	}
36356
36357	if invalidParams.Len() > 0 {
36358		return invalidParams
36359	}
36360	return nil
36361}
36362
36363// SetFeatureGroupName sets the FeatureGroupName field's value.
36364func (s *DeleteFeatureGroupInput) SetFeatureGroupName(v string) *DeleteFeatureGroupInput {
36365	s.FeatureGroupName = &v
36366	return s
36367}
36368
36369type DeleteFeatureGroupOutput struct {
36370	_ struct{} `type:"structure"`
36371}
36372
36373// String returns the string representation
36374func (s DeleteFeatureGroupOutput) String() string {
36375	return awsutil.Prettify(s)
36376}
36377
36378// GoString returns the string representation
36379func (s DeleteFeatureGroupOutput) GoString() string {
36380	return s.String()
36381}
36382
36383type DeleteFlowDefinitionInput struct {
36384	_ struct{} `type:"structure"`
36385
36386	// The name of the flow definition you are deleting.
36387	//
36388	// FlowDefinitionName is a required field
36389	FlowDefinitionName *string `min:"1" type:"string" required:"true"`
36390}
36391
36392// String returns the string representation
36393func (s DeleteFlowDefinitionInput) String() string {
36394	return awsutil.Prettify(s)
36395}
36396
36397// GoString returns the string representation
36398func (s DeleteFlowDefinitionInput) GoString() string {
36399	return s.String()
36400}
36401
36402// Validate inspects the fields of the type to determine if they are valid.
36403func (s *DeleteFlowDefinitionInput) Validate() error {
36404	invalidParams := request.ErrInvalidParams{Context: "DeleteFlowDefinitionInput"}
36405	if s.FlowDefinitionName == nil {
36406		invalidParams.Add(request.NewErrParamRequired("FlowDefinitionName"))
36407	}
36408	if s.FlowDefinitionName != nil && len(*s.FlowDefinitionName) < 1 {
36409		invalidParams.Add(request.NewErrParamMinLen("FlowDefinitionName", 1))
36410	}
36411
36412	if invalidParams.Len() > 0 {
36413		return invalidParams
36414	}
36415	return nil
36416}
36417
36418// SetFlowDefinitionName sets the FlowDefinitionName field's value.
36419func (s *DeleteFlowDefinitionInput) SetFlowDefinitionName(v string) *DeleteFlowDefinitionInput {
36420	s.FlowDefinitionName = &v
36421	return s
36422}
36423
36424type DeleteFlowDefinitionOutput struct {
36425	_ struct{} `type:"structure"`
36426}
36427
36428// String returns the string representation
36429func (s DeleteFlowDefinitionOutput) String() string {
36430	return awsutil.Prettify(s)
36431}
36432
36433// GoString returns the string representation
36434func (s DeleteFlowDefinitionOutput) GoString() string {
36435	return s.String()
36436}
36437
36438type DeleteHumanTaskUiInput struct {
36439	_ struct{} `type:"structure"`
36440
36441	// The name of the human task user interface (work task template) you want to
36442	// delete.
36443	//
36444	// HumanTaskUiName is a required field
36445	HumanTaskUiName *string `min:"1" type:"string" required:"true"`
36446}
36447
36448// String returns the string representation
36449func (s DeleteHumanTaskUiInput) String() string {
36450	return awsutil.Prettify(s)
36451}
36452
36453// GoString returns the string representation
36454func (s DeleteHumanTaskUiInput) GoString() string {
36455	return s.String()
36456}
36457
36458// Validate inspects the fields of the type to determine if they are valid.
36459func (s *DeleteHumanTaskUiInput) Validate() error {
36460	invalidParams := request.ErrInvalidParams{Context: "DeleteHumanTaskUiInput"}
36461	if s.HumanTaskUiName == nil {
36462		invalidParams.Add(request.NewErrParamRequired("HumanTaskUiName"))
36463	}
36464	if s.HumanTaskUiName != nil && len(*s.HumanTaskUiName) < 1 {
36465		invalidParams.Add(request.NewErrParamMinLen("HumanTaskUiName", 1))
36466	}
36467
36468	if invalidParams.Len() > 0 {
36469		return invalidParams
36470	}
36471	return nil
36472}
36473
36474// SetHumanTaskUiName sets the HumanTaskUiName field's value.
36475func (s *DeleteHumanTaskUiInput) SetHumanTaskUiName(v string) *DeleteHumanTaskUiInput {
36476	s.HumanTaskUiName = &v
36477	return s
36478}
36479
36480type DeleteHumanTaskUiOutput struct {
36481	_ struct{} `type:"structure"`
36482}
36483
36484// String returns the string representation
36485func (s DeleteHumanTaskUiOutput) String() string {
36486	return awsutil.Prettify(s)
36487}
36488
36489// GoString returns the string representation
36490func (s DeleteHumanTaskUiOutput) GoString() string {
36491	return s.String()
36492}
36493
36494type DeleteImageInput struct {
36495	_ struct{} `type:"structure"`
36496
36497	// The name of the image to delete.
36498	//
36499	// ImageName is a required field
36500	ImageName *string `min:"1" type:"string" required:"true"`
36501}
36502
36503// String returns the string representation
36504func (s DeleteImageInput) String() string {
36505	return awsutil.Prettify(s)
36506}
36507
36508// GoString returns the string representation
36509func (s DeleteImageInput) GoString() string {
36510	return s.String()
36511}
36512
36513// Validate inspects the fields of the type to determine if they are valid.
36514func (s *DeleteImageInput) Validate() error {
36515	invalidParams := request.ErrInvalidParams{Context: "DeleteImageInput"}
36516	if s.ImageName == nil {
36517		invalidParams.Add(request.NewErrParamRequired("ImageName"))
36518	}
36519	if s.ImageName != nil && len(*s.ImageName) < 1 {
36520		invalidParams.Add(request.NewErrParamMinLen("ImageName", 1))
36521	}
36522
36523	if invalidParams.Len() > 0 {
36524		return invalidParams
36525	}
36526	return nil
36527}
36528
36529// SetImageName sets the ImageName field's value.
36530func (s *DeleteImageInput) SetImageName(v string) *DeleteImageInput {
36531	s.ImageName = &v
36532	return s
36533}
36534
36535type DeleteImageOutput struct {
36536	_ struct{} `type:"structure"`
36537}
36538
36539// String returns the string representation
36540func (s DeleteImageOutput) String() string {
36541	return awsutil.Prettify(s)
36542}
36543
36544// GoString returns the string representation
36545func (s DeleteImageOutput) GoString() string {
36546	return s.String()
36547}
36548
36549type DeleteImageVersionInput struct {
36550	_ struct{} `type:"structure"`
36551
36552	// The name of the image.
36553	//
36554	// ImageName is a required field
36555	ImageName *string `min:"1" type:"string" required:"true"`
36556
36557	// The version to delete.
36558	//
36559	// Version is a required field
36560	Version *int64 `type:"integer" required:"true"`
36561}
36562
36563// String returns the string representation
36564func (s DeleteImageVersionInput) String() string {
36565	return awsutil.Prettify(s)
36566}
36567
36568// GoString returns the string representation
36569func (s DeleteImageVersionInput) GoString() string {
36570	return s.String()
36571}
36572
36573// Validate inspects the fields of the type to determine if they are valid.
36574func (s *DeleteImageVersionInput) Validate() error {
36575	invalidParams := request.ErrInvalidParams{Context: "DeleteImageVersionInput"}
36576	if s.ImageName == nil {
36577		invalidParams.Add(request.NewErrParamRequired("ImageName"))
36578	}
36579	if s.ImageName != nil && len(*s.ImageName) < 1 {
36580		invalidParams.Add(request.NewErrParamMinLen("ImageName", 1))
36581	}
36582	if s.Version == nil {
36583		invalidParams.Add(request.NewErrParamRequired("Version"))
36584	}
36585
36586	if invalidParams.Len() > 0 {
36587		return invalidParams
36588	}
36589	return nil
36590}
36591
36592// SetImageName sets the ImageName field's value.
36593func (s *DeleteImageVersionInput) SetImageName(v string) *DeleteImageVersionInput {
36594	s.ImageName = &v
36595	return s
36596}
36597
36598// SetVersion sets the Version field's value.
36599func (s *DeleteImageVersionInput) SetVersion(v int64) *DeleteImageVersionInput {
36600	s.Version = &v
36601	return s
36602}
36603
36604type DeleteImageVersionOutput struct {
36605	_ struct{} `type:"structure"`
36606}
36607
36608// String returns the string representation
36609func (s DeleteImageVersionOutput) String() string {
36610	return awsutil.Prettify(s)
36611}
36612
36613// GoString returns the string representation
36614func (s DeleteImageVersionOutput) GoString() string {
36615	return s.String()
36616}
36617
36618type DeleteModelBiasJobDefinitionInput struct {
36619	_ struct{} `type:"structure"`
36620
36621	// The name of the model bias job definition to delete.
36622	//
36623	// JobDefinitionName is a required field
36624	JobDefinitionName *string `min:"1" type:"string" required:"true"`
36625}
36626
36627// String returns the string representation
36628func (s DeleteModelBiasJobDefinitionInput) String() string {
36629	return awsutil.Prettify(s)
36630}
36631
36632// GoString returns the string representation
36633func (s DeleteModelBiasJobDefinitionInput) GoString() string {
36634	return s.String()
36635}
36636
36637// Validate inspects the fields of the type to determine if they are valid.
36638func (s *DeleteModelBiasJobDefinitionInput) Validate() error {
36639	invalidParams := request.ErrInvalidParams{Context: "DeleteModelBiasJobDefinitionInput"}
36640	if s.JobDefinitionName == nil {
36641		invalidParams.Add(request.NewErrParamRequired("JobDefinitionName"))
36642	}
36643	if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 {
36644		invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1))
36645	}
36646
36647	if invalidParams.Len() > 0 {
36648		return invalidParams
36649	}
36650	return nil
36651}
36652
36653// SetJobDefinitionName sets the JobDefinitionName field's value.
36654func (s *DeleteModelBiasJobDefinitionInput) SetJobDefinitionName(v string) *DeleteModelBiasJobDefinitionInput {
36655	s.JobDefinitionName = &v
36656	return s
36657}
36658
36659type DeleteModelBiasJobDefinitionOutput struct {
36660	_ struct{} `type:"structure"`
36661}
36662
36663// String returns the string representation
36664func (s DeleteModelBiasJobDefinitionOutput) String() string {
36665	return awsutil.Prettify(s)
36666}
36667
36668// GoString returns the string representation
36669func (s DeleteModelBiasJobDefinitionOutput) GoString() string {
36670	return s.String()
36671}
36672
36673type DeleteModelExplainabilityJobDefinitionInput struct {
36674	_ struct{} `type:"structure"`
36675
36676	// The name of the model explainability job definition to delete.
36677	//
36678	// JobDefinitionName is a required field
36679	JobDefinitionName *string `min:"1" type:"string" required:"true"`
36680}
36681
36682// String returns the string representation
36683func (s DeleteModelExplainabilityJobDefinitionInput) String() string {
36684	return awsutil.Prettify(s)
36685}
36686
36687// GoString returns the string representation
36688func (s DeleteModelExplainabilityJobDefinitionInput) GoString() string {
36689	return s.String()
36690}
36691
36692// Validate inspects the fields of the type to determine if they are valid.
36693func (s *DeleteModelExplainabilityJobDefinitionInput) Validate() error {
36694	invalidParams := request.ErrInvalidParams{Context: "DeleteModelExplainabilityJobDefinitionInput"}
36695	if s.JobDefinitionName == nil {
36696		invalidParams.Add(request.NewErrParamRequired("JobDefinitionName"))
36697	}
36698	if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 {
36699		invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1))
36700	}
36701
36702	if invalidParams.Len() > 0 {
36703		return invalidParams
36704	}
36705	return nil
36706}
36707
36708// SetJobDefinitionName sets the JobDefinitionName field's value.
36709func (s *DeleteModelExplainabilityJobDefinitionInput) SetJobDefinitionName(v string) *DeleteModelExplainabilityJobDefinitionInput {
36710	s.JobDefinitionName = &v
36711	return s
36712}
36713
36714type DeleteModelExplainabilityJobDefinitionOutput struct {
36715	_ struct{} `type:"structure"`
36716}
36717
36718// String returns the string representation
36719func (s DeleteModelExplainabilityJobDefinitionOutput) String() string {
36720	return awsutil.Prettify(s)
36721}
36722
36723// GoString returns the string representation
36724func (s DeleteModelExplainabilityJobDefinitionOutput) GoString() string {
36725	return s.String()
36726}
36727
36728type DeleteModelInput struct {
36729	_ struct{} `type:"structure"`
36730
36731	// The name of the model to delete.
36732	//
36733	// ModelName is a required field
36734	ModelName *string `type:"string" required:"true"`
36735}
36736
36737// String returns the string representation
36738func (s DeleteModelInput) String() string {
36739	return awsutil.Prettify(s)
36740}
36741
36742// GoString returns the string representation
36743func (s DeleteModelInput) GoString() string {
36744	return s.String()
36745}
36746
36747// Validate inspects the fields of the type to determine if they are valid.
36748func (s *DeleteModelInput) Validate() error {
36749	invalidParams := request.ErrInvalidParams{Context: "DeleteModelInput"}
36750	if s.ModelName == nil {
36751		invalidParams.Add(request.NewErrParamRequired("ModelName"))
36752	}
36753
36754	if invalidParams.Len() > 0 {
36755		return invalidParams
36756	}
36757	return nil
36758}
36759
36760// SetModelName sets the ModelName field's value.
36761func (s *DeleteModelInput) SetModelName(v string) *DeleteModelInput {
36762	s.ModelName = &v
36763	return s
36764}
36765
36766type DeleteModelOutput struct {
36767	_ struct{} `type:"structure"`
36768}
36769
36770// String returns the string representation
36771func (s DeleteModelOutput) String() string {
36772	return awsutil.Prettify(s)
36773}
36774
36775// GoString returns the string representation
36776func (s DeleteModelOutput) GoString() string {
36777	return s.String()
36778}
36779
36780type DeleteModelPackageGroupInput struct {
36781	_ struct{} `type:"structure"`
36782
36783	// The name of the model group to delete.
36784	//
36785	// ModelPackageGroupName is a required field
36786	ModelPackageGroupName *string `min:"1" type:"string" required:"true"`
36787}
36788
36789// String returns the string representation
36790func (s DeleteModelPackageGroupInput) String() string {
36791	return awsutil.Prettify(s)
36792}
36793
36794// GoString returns the string representation
36795func (s DeleteModelPackageGroupInput) GoString() string {
36796	return s.String()
36797}
36798
36799// Validate inspects the fields of the type to determine if they are valid.
36800func (s *DeleteModelPackageGroupInput) Validate() error {
36801	invalidParams := request.ErrInvalidParams{Context: "DeleteModelPackageGroupInput"}
36802	if s.ModelPackageGroupName == nil {
36803		invalidParams.Add(request.NewErrParamRequired("ModelPackageGroupName"))
36804	}
36805	if s.ModelPackageGroupName != nil && len(*s.ModelPackageGroupName) < 1 {
36806		invalidParams.Add(request.NewErrParamMinLen("ModelPackageGroupName", 1))
36807	}
36808
36809	if invalidParams.Len() > 0 {
36810		return invalidParams
36811	}
36812	return nil
36813}
36814
36815// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
36816func (s *DeleteModelPackageGroupInput) SetModelPackageGroupName(v string) *DeleteModelPackageGroupInput {
36817	s.ModelPackageGroupName = &v
36818	return s
36819}
36820
36821type DeleteModelPackageGroupOutput struct {
36822	_ struct{} `type:"structure"`
36823}
36824
36825// String returns the string representation
36826func (s DeleteModelPackageGroupOutput) String() string {
36827	return awsutil.Prettify(s)
36828}
36829
36830// GoString returns the string representation
36831func (s DeleteModelPackageGroupOutput) GoString() string {
36832	return s.String()
36833}
36834
36835type DeleteModelPackageGroupPolicyInput struct {
36836	_ struct{} `type:"structure"`
36837
36838	// The name of the model group for which to delete the policy.
36839	//
36840	// ModelPackageGroupName is a required field
36841	ModelPackageGroupName *string `min:"1" type:"string" required:"true"`
36842}
36843
36844// String returns the string representation
36845func (s DeleteModelPackageGroupPolicyInput) String() string {
36846	return awsutil.Prettify(s)
36847}
36848
36849// GoString returns the string representation
36850func (s DeleteModelPackageGroupPolicyInput) GoString() string {
36851	return s.String()
36852}
36853
36854// Validate inspects the fields of the type to determine if they are valid.
36855func (s *DeleteModelPackageGroupPolicyInput) Validate() error {
36856	invalidParams := request.ErrInvalidParams{Context: "DeleteModelPackageGroupPolicyInput"}
36857	if s.ModelPackageGroupName == nil {
36858		invalidParams.Add(request.NewErrParamRequired("ModelPackageGroupName"))
36859	}
36860	if s.ModelPackageGroupName != nil && len(*s.ModelPackageGroupName) < 1 {
36861		invalidParams.Add(request.NewErrParamMinLen("ModelPackageGroupName", 1))
36862	}
36863
36864	if invalidParams.Len() > 0 {
36865		return invalidParams
36866	}
36867	return nil
36868}
36869
36870// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
36871func (s *DeleteModelPackageGroupPolicyInput) SetModelPackageGroupName(v string) *DeleteModelPackageGroupPolicyInput {
36872	s.ModelPackageGroupName = &v
36873	return s
36874}
36875
36876type DeleteModelPackageGroupPolicyOutput struct {
36877	_ struct{} `type:"structure"`
36878}
36879
36880// String returns the string representation
36881func (s DeleteModelPackageGroupPolicyOutput) String() string {
36882	return awsutil.Prettify(s)
36883}
36884
36885// GoString returns the string representation
36886func (s DeleteModelPackageGroupPolicyOutput) GoString() string {
36887	return s.String()
36888}
36889
36890type DeleteModelPackageInput struct {
36891	_ struct{} `type:"structure"`
36892
36893	// The name of the model package. The name must have 1 to 63 characters. Valid
36894	// characters are a-z, A-Z, 0-9, and - (hyphen).
36895	//
36896	// ModelPackageName is a required field
36897	ModelPackageName *string `min:"1" type:"string" required:"true"`
36898}
36899
36900// String returns the string representation
36901func (s DeleteModelPackageInput) String() string {
36902	return awsutil.Prettify(s)
36903}
36904
36905// GoString returns the string representation
36906func (s DeleteModelPackageInput) GoString() string {
36907	return s.String()
36908}
36909
36910// Validate inspects the fields of the type to determine if they are valid.
36911func (s *DeleteModelPackageInput) Validate() error {
36912	invalidParams := request.ErrInvalidParams{Context: "DeleteModelPackageInput"}
36913	if s.ModelPackageName == nil {
36914		invalidParams.Add(request.NewErrParamRequired("ModelPackageName"))
36915	}
36916	if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 {
36917		invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1))
36918	}
36919
36920	if invalidParams.Len() > 0 {
36921		return invalidParams
36922	}
36923	return nil
36924}
36925
36926// SetModelPackageName sets the ModelPackageName field's value.
36927func (s *DeleteModelPackageInput) SetModelPackageName(v string) *DeleteModelPackageInput {
36928	s.ModelPackageName = &v
36929	return s
36930}
36931
36932type DeleteModelPackageOutput struct {
36933	_ struct{} `type:"structure"`
36934}
36935
36936// String returns the string representation
36937func (s DeleteModelPackageOutput) String() string {
36938	return awsutil.Prettify(s)
36939}
36940
36941// GoString returns the string representation
36942func (s DeleteModelPackageOutput) GoString() string {
36943	return s.String()
36944}
36945
36946type DeleteModelQualityJobDefinitionInput struct {
36947	_ struct{} `type:"structure"`
36948
36949	// The name of the model quality monitoring job definition to delete.
36950	//
36951	// JobDefinitionName is a required field
36952	JobDefinitionName *string `min:"1" type:"string" required:"true"`
36953}
36954
36955// String returns the string representation
36956func (s DeleteModelQualityJobDefinitionInput) String() string {
36957	return awsutil.Prettify(s)
36958}
36959
36960// GoString returns the string representation
36961func (s DeleteModelQualityJobDefinitionInput) GoString() string {
36962	return s.String()
36963}
36964
36965// Validate inspects the fields of the type to determine if they are valid.
36966func (s *DeleteModelQualityJobDefinitionInput) Validate() error {
36967	invalidParams := request.ErrInvalidParams{Context: "DeleteModelQualityJobDefinitionInput"}
36968	if s.JobDefinitionName == nil {
36969		invalidParams.Add(request.NewErrParamRequired("JobDefinitionName"))
36970	}
36971	if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 {
36972		invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1))
36973	}
36974
36975	if invalidParams.Len() > 0 {
36976		return invalidParams
36977	}
36978	return nil
36979}
36980
36981// SetJobDefinitionName sets the JobDefinitionName field's value.
36982func (s *DeleteModelQualityJobDefinitionInput) SetJobDefinitionName(v string) *DeleteModelQualityJobDefinitionInput {
36983	s.JobDefinitionName = &v
36984	return s
36985}
36986
36987type DeleteModelQualityJobDefinitionOutput struct {
36988	_ struct{} `type:"structure"`
36989}
36990
36991// String returns the string representation
36992func (s DeleteModelQualityJobDefinitionOutput) String() string {
36993	return awsutil.Prettify(s)
36994}
36995
36996// GoString returns the string representation
36997func (s DeleteModelQualityJobDefinitionOutput) GoString() string {
36998	return s.String()
36999}
37000
37001type DeleteMonitoringScheduleInput struct {
37002	_ struct{} `type:"structure"`
37003
37004	// The name of the monitoring schedule to delete.
37005	//
37006	// MonitoringScheduleName is a required field
37007	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
37008}
37009
37010// String returns the string representation
37011func (s DeleteMonitoringScheduleInput) String() string {
37012	return awsutil.Prettify(s)
37013}
37014
37015// GoString returns the string representation
37016func (s DeleteMonitoringScheduleInput) GoString() string {
37017	return s.String()
37018}
37019
37020// Validate inspects the fields of the type to determine if they are valid.
37021func (s *DeleteMonitoringScheduleInput) Validate() error {
37022	invalidParams := request.ErrInvalidParams{Context: "DeleteMonitoringScheduleInput"}
37023	if s.MonitoringScheduleName == nil {
37024		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName"))
37025	}
37026	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
37027		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
37028	}
37029
37030	if invalidParams.Len() > 0 {
37031		return invalidParams
37032	}
37033	return nil
37034}
37035
37036// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
37037func (s *DeleteMonitoringScheduleInput) SetMonitoringScheduleName(v string) *DeleteMonitoringScheduleInput {
37038	s.MonitoringScheduleName = &v
37039	return s
37040}
37041
37042type DeleteMonitoringScheduleOutput struct {
37043	_ struct{} `type:"structure"`
37044}
37045
37046// String returns the string representation
37047func (s DeleteMonitoringScheduleOutput) String() string {
37048	return awsutil.Prettify(s)
37049}
37050
37051// GoString returns the string representation
37052func (s DeleteMonitoringScheduleOutput) GoString() string {
37053	return s.String()
37054}
37055
37056type DeleteNotebookInstanceInput struct {
37057	_ struct{} `type:"structure"`
37058
37059	// The name of the Amazon SageMaker notebook instance to delete.
37060	//
37061	// NotebookInstanceName is a required field
37062	NotebookInstanceName *string `type:"string" required:"true"`
37063}
37064
37065// String returns the string representation
37066func (s DeleteNotebookInstanceInput) String() string {
37067	return awsutil.Prettify(s)
37068}
37069
37070// GoString returns the string representation
37071func (s DeleteNotebookInstanceInput) GoString() string {
37072	return s.String()
37073}
37074
37075// Validate inspects the fields of the type to determine if they are valid.
37076func (s *DeleteNotebookInstanceInput) Validate() error {
37077	invalidParams := request.ErrInvalidParams{Context: "DeleteNotebookInstanceInput"}
37078	if s.NotebookInstanceName == nil {
37079		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
37080	}
37081
37082	if invalidParams.Len() > 0 {
37083		return invalidParams
37084	}
37085	return nil
37086}
37087
37088// SetNotebookInstanceName sets the NotebookInstanceName field's value.
37089func (s *DeleteNotebookInstanceInput) SetNotebookInstanceName(v string) *DeleteNotebookInstanceInput {
37090	s.NotebookInstanceName = &v
37091	return s
37092}
37093
37094type DeleteNotebookInstanceLifecycleConfigInput struct {
37095	_ struct{} `type:"structure"`
37096
37097	// The name of the lifecycle configuration to delete.
37098	//
37099	// NotebookInstanceLifecycleConfigName is a required field
37100	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
37101}
37102
37103// String returns the string representation
37104func (s DeleteNotebookInstanceLifecycleConfigInput) String() string {
37105	return awsutil.Prettify(s)
37106}
37107
37108// GoString returns the string representation
37109func (s DeleteNotebookInstanceLifecycleConfigInput) GoString() string {
37110	return s.String()
37111}
37112
37113// Validate inspects the fields of the type to determine if they are valid.
37114func (s *DeleteNotebookInstanceLifecycleConfigInput) Validate() error {
37115	invalidParams := request.ErrInvalidParams{Context: "DeleteNotebookInstanceLifecycleConfigInput"}
37116	if s.NotebookInstanceLifecycleConfigName == nil {
37117		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceLifecycleConfigName"))
37118	}
37119
37120	if invalidParams.Len() > 0 {
37121		return invalidParams
37122	}
37123	return nil
37124}
37125
37126// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
37127func (s *DeleteNotebookInstanceLifecycleConfigInput) SetNotebookInstanceLifecycleConfigName(v string) *DeleteNotebookInstanceLifecycleConfigInput {
37128	s.NotebookInstanceLifecycleConfigName = &v
37129	return s
37130}
37131
37132type DeleteNotebookInstanceLifecycleConfigOutput struct {
37133	_ struct{} `type:"structure"`
37134}
37135
37136// String returns the string representation
37137func (s DeleteNotebookInstanceLifecycleConfigOutput) String() string {
37138	return awsutil.Prettify(s)
37139}
37140
37141// GoString returns the string representation
37142func (s DeleteNotebookInstanceLifecycleConfigOutput) GoString() string {
37143	return s.String()
37144}
37145
37146type DeleteNotebookInstanceOutput struct {
37147	_ struct{} `type:"structure"`
37148}
37149
37150// String returns the string representation
37151func (s DeleteNotebookInstanceOutput) String() string {
37152	return awsutil.Prettify(s)
37153}
37154
37155// GoString returns the string representation
37156func (s DeleteNotebookInstanceOutput) GoString() string {
37157	return s.String()
37158}
37159
37160type DeletePipelineInput struct {
37161	_ struct{} `type:"structure"`
37162
37163	// A unique, case-sensitive identifier that you provide to ensure the idempotency
37164	// of the operation. An idempotent operation completes no more than one time.
37165	ClientRequestToken *string `min:"32" type:"string" idempotencyToken:"true"`
37166
37167	// The name of the pipeline to delete.
37168	//
37169	// PipelineName is a required field
37170	PipelineName *string `min:"1" type:"string" required:"true"`
37171}
37172
37173// String returns the string representation
37174func (s DeletePipelineInput) String() string {
37175	return awsutil.Prettify(s)
37176}
37177
37178// GoString returns the string representation
37179func (s DeletePipelineInput) GoString() string {
37180	return s.String()
37181}
37182
37183// Validate inspects the fields of the type to determine if they are valid.
37184func (s *DeletePipelineInput) Validate() error {
37185	invalidParams := request.ErrInvalidParams{Context: "DeletePipelineInput"}
37186	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 32 {
37187		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 32))
37188	}
37189	if s.PipelineName == nil {
37190		invalidParams.Add(request.NewErrParamRequired("PipelineName"))
37191	}
37192	if s.PipelineName != nil && len(*s.PipelineName) < 1 {
37193		invalidParams.Add(request.NewErrParamMinLen("PipelineName", 1))
37194	}
37195
37196	if invalidParams.Len() > 0 {
37197		return invalidParams
37198	}
37199	return nil
37200}
37201
37202// SetClientRequestToken sets the ClientRequestToken field's value.
37203func (s *DeletePipelineInput) SetClientRequestToken(v string) *DeletePipelineInput {
37204	s.ClientRequestToken = &v
37205	return s
37206}
37207
37208// SetPipelineName sets the PipelineName field's value.
37209func (s *DeletePipelineInput) SetPipelineName(v string) *DeletePipelineInput {
37210	s.PipelineName = &v
37211	return s
37212}
37213
37214type DeletePipelineOutput struct {
37215	_ struct{} `type:"structure"`
37216
37217	// The Amazon Resource Name (ARN) of the pipeline to delete.
37218	PipelineArn *string `type:"string"`
37219}
37220
37221// String returns the string representation
37222func (s DeletePipelineOutput) String() string {
37223	return awsutil.Prettify(s)
37224}
37225
37226// GoString returns the string representation
37227func (s DeletePipelineOutput) GoString() string {
37228	return s.String()
37229}
37230
37231// SetPipelineArn sets the PipelineArn field's value.
37232func (s *DeletePipelineOutput) SetPipelineArn(v string) *DeletePipelineOutput {
37233	s.PipelineArn = &v
37234	return s
37235}
37236
37237type DeleteProjectInput struct {
37238	_ struct{} `type:"structure"`
37239
37240	// The name of the project to delete.
37241	//
37242	// ProjectName is a required field
37243	ProjectName *string `min:"1" type:"string" required:"true"`
37244}
37245
37246// String returns the string representation
37247func (s DeleteProjectInput) String() string {
37248	return awsutil.Prettify(s)
37249}
37250
37251// GoString returns the string representation
37252func (s DeleteProjectInput) GoString() string {
37253	return s.String()
37254}
37255
37256// Validate inspects the fields of the type to determine if they are valid.
37257func (s *DeleteProjectInput) Validate() error {
37258	invalidParams := request.ErrInvalidParams{Context: "DeleteProjectInput"}
37259	if s.ProjectName == nil {
37260		invalidParams.Add(request.NewErrParamRequired("ProjectName"))
37261	}
37262	if s.ProjectName != nil && len(*s.ProjectName) < 1 {
37263		invalidParams.Add(request.NewErrParamMinLen("ProjectName", 1))
37264	}
37265
37266	if invalidParams.Len() > 0 {
37267		return invalidParams
37268	}
37269	return nil
37270}
37271
37272// SetProjectName sets the ProjectName field's value.
37273func (s *DeleteProjectInput) SetProjectName(v string) *DeleteProjectInput {
37274	s.ProjectName = &v
37275	return s
37276}
37277
37278type DeleteProjectOutput struct {
37279	_ struct{} `type:"structure"`
37280}
37281
37282// String returns the string representation
37283func (s DeleteProjectOutput) String() string {
37284	return awsutil.Prettify(s)
37285}
37286
37287// GoString returns the string representation
37288func (s DeleteProjectOutput) GoString() string {
37289	return s.String()
37290}
37291
37292type DeleteTagsInput struct {
37293	_ struct{} `type:"structure"`
37294
37295	// The Amazon Resource Name (ARN) of the resource whose tags you want to delete.
37296	//
37297	// ResourceArn is a required field
37298	ResourceArn *string `type:"string" required:"true"`
37299
37300	// An array or one or more tag keys to delete.
37301	//
37302	// TagKeys is a required field
37303	TagKeys []*string `min:"1" type:"list" required:"true"`
37304}
37305
37306// String returns the string representation
37307func (s DeleteTagsInput) String() string {
37308	return awsutil.Prettify(s)
37309}
37310
37311// GoString returns the string representation
37312func (s DeleteTagsInput) GoString() string {
37313	return s.String()
37314}
37315
37316// Validate inspects the fields of the type to determine if they are valid.
37317func (s *DeleteTagsInput) Validate() error {
37318	invalidParams := request.ErrInvalidParams{Context: "DeleteTagsInput"}
37319	if s.ResourceArn == nil {
37320		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
37321	}
37322	if s.TagKeys == nil {
37323		invalidParams.Add(request.NewErrParamRequired("TagKeys"))
37324	}
37325	if s.TagKeys != nil && len(s.TagKeys) < 1 {
37326		invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1))
37327	}
37328
37329	if invalidParams.Len() > 0 {
37330		return invalidParams
37331	}
37332	return nil
37333}
37334
37335// SetResourceArn sets the ResourceArn field's value.
37336func (s *DeleteTagsInput) SetResourceArn(v string) *DeleteTagsInput {
37337	s.ResourceArn = &v
37338	return s
37339}
37340
37341// SetTagKeys sets the TagKeys field's value.
37342func (s *DeleteTagsInput) SetTagKeys(v []*string) *DeleteTagsInput {
37343	s.TagKeys = v
37344	return s
37345}
37346
37347type DeleteTagsOutput struct {
37348	_ struct{} `type:"structure"`
37349}
37350
37351// String returns the string representation
37352func (s DeleteTagsOutput) String() string {
37353	return awsutil.Prettify(s)
37354}
37355
37356// GoString returns the string representation
37357func (s DeleteTagsOutput) GoString() string {
37358	return s.String()
37359}
37360
37361type DeleteTrialComponentInput struct {
37362	_ struct{} `type:"structure"`
37363
37364	// The name of the component to delete.
37365	//
37366	// TrialComponentName is a required field
37367	TrialComponentName *string `min:"1" type:"string" required:"true"`
37368}
37369
37370// String returns the string representation
37371func (s DeleteTrialComponentInput) String() string {
37372	return awsutil.Prettify(s)
37373}
37374
37375// GoString returns the string representation
37376func (s DeleteTrialComponentInput) GoString() string {
37377	return s.String()
37378}
37379
37380// Validate inspects the fields of the type to determine if they are valid.
37381func (s *DeleteTrialComponentInput) Validate() error {
37382	invalidParams := request.ErrInvalidParams{Context: "DeleteTrialComponentInput"}
37383	if s.TrialComponentName == nil {
37384		invalidParams.Add(request.NewErrParamRequired("TrialComponentName"))
37385	}
37386	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
37387		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
37388	}
37389
37390	if invalidParams.Len() > 0 {
37391		return invalidParams
37392	}
37393	return nil
37394}
37395
37396// SetTrialComponentName sets the TrialComponentName field's value.
37397func (s *DeleteTrialComponentInput) SetTrialComponentName(v string) *DeleteTrialComponentInput {
37398	s.TrialComponentName = &v
37399	return s
37400}
37401
37402type DeleteTrialComponentOutput struct {
37403	_ struct{} `type:"structure"`
37404
37405	// The Amazon Resource Name (ARN) of the component is being deleted.
37406	TrialComponentArn *string `type:"string"`
37407}
37408
37409// String returns the string representation
37410func (s DeleteTrialComponentOutput) String() string {
37411	return awsutil.Prettify(s)
37412}
37413
37414// GoString returns the string representation
37415func (s DeleteTrialComponentOutput) GoString() string {
37416	return s.String()
37417}
37418
37419// SetTrialComponentArn sets the TrialComponentArn field's value.
37420func (s *DeleteTrialComponentOutput) SetTrialComponentArn(v string) *DeleteTrialComponentOutput {
37421	s.TrialComponentArn = &v
37422	return s
37423}
37424
37425type DeleteTrialInput struct {
37426	_ struct{} `type:"structure"`
37427
37428	// The name of the trial to delete.
37429	//
37430	// TrialName is a required field
37431	TrialName *string `min:"1" type:"string" required:"true"`
37432}
37433
37434// String returns the string representation
37435func (s DeleteTrialInput) String() string {
37436	return awsutil.Prettify(s)
37437}
37438
37439// GoString returns the string representation
37440func (s DeleteTrialInput) GoString() string {
37441	return s.String()
37442}
37443
37444// Validate inspects the fields of the type to determine if they are valid.
37445func (s *DeleteTrialInput) Validate() error {
37446	invalidParams := request.ErrInvalidParams{Context: "DeleteTrialInput"}
37447	if s.TrialName == nil {
37448		invalidParams.Add(request.NewErrParamRequired("TrialName"))
37449	}
37450	if s.TrialName != nil && len(*s.TrialName) < 1 {
37451		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
37452	}
37453
37454	if invalidParams.Len() > 0 {
37455		return invalidParams
37456	}
37457	return nil
37458}
37459
37460// SetTrialName sets the TrialName field's value.
37461func (s *DeleteTrialInput) SetTrialName(v string) *DeleteTrialInput {
37462	s.TrialName = &v
37463	return s
37464}
37465
37466type DeleteTrialOutput struct {
37467	_ struct{} `type:"structure"`
37468
37469	// The Amazon Resource Name (ARN) of the trial that is being deleted.
37470	TrialArn *string `type:"string"`
37471}
37472
37473// String returns the string representation
37474func (s DeleteTrialOutput) String() string {
37475	return awsutil.Prettify(s)
37476}
37477
37478// GoString returns the string representation
37479func (s DeleteTrialOutput) GoString() string {
37480	return s.String()
37481}
37482
37483// SetTrialArn sets the TrialArn field's value.
37484func (s *DeleteTrialOutput) SetTrialArn(v string) *DeleteTrialOutput {
37485	s.TrialArn = &v
37486	return s
37487}
37488
37489type DeleteUserProfileInput struct {
37490	_ struct{} `type:"structure"`
37491
37492	// The domain ID.
37493	//
37494	// DomainId is a required field
37495	DomainId *string `type:"string" required:"true"`
37496
37497	// The user profile name.
37498	//
37499	// UserProfileName is a required field
37500	UserProfileName *string `type:"string" required:"true"`
37501}
37502
37503// String returns the string representation
37504func (s DeleteUserProfileInput) String() string {
37505	return awsutil.Prettify(s)
37506}
37507
37508// GoString returns the string representation
37509func (s DeleteUserProfileInput) GoString() string {
37510	return s.String()
37511}
37512
37513// Validate inspects the fields of the type to determine if they are valid.
37514func (s *DeleteUserProfileInput) Validate() error {
37515	invalidParams := request.ErrInvalidParams{Context: "DeleteUserProfileInput"}
37516	if s.DomainId == nil {
37517		invalidParams.Add(request.NewErrParamRequired("DomainId"))
37518	}
37519	if s.UserProfileName == nil {
37520		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
37521	}
37522
37523	if invalidParams.Len() > 0 {
37524		return invalidParams
37525	}
37526	return nil
37527}
37528
37529// SetDomainId sets the DomainId field's value.
37530func (s *DeleteUserProfileInput) SetDomainId(v string) *DeleteUserProfileInput {
37531	s.DomainId = &v
37532	return s
37533}
37534
37535// SetUserProfileName sets the UserProfileName field's value.
37536func (s *DeleteUserProfileInput) SetUserProfileName(v string) *DeleteUserProfileInput {
37537	s.UserProfileName = &v
37538	return s
37539}
37540
37541type DeleteUserProfileOutput struct {
37542	_ struct{} `type:"structure"`
37543}
37544
37545// String returns the string representation
37546func (s DeleteUserProfileOutput) String() string {
37547	return awsutil.Prettify(s)
37548}
37549
37550// GoString returns the string representation
37551func (s DeleteUserProfileOutput) GoString() string {
37552	return s.String()
37553}
37554
37555type DeleteWorkforceInput struct {
37556	_ struct{} `type:"structure"`
37557
37558	// The name of the workforce.
37559	//
37560	// WorkforceName is a required field
37561	WorkforceName *string `min:"1" type:"string" required:"true"`
37562}
37563
37564// String returns the string representation
37565func (s DeleteWorkforceInput) String() string {
37566	return awsutil.Prettify(s)
37567}
37568
37569// GoString returns the string representation
37570func (s DeleteWorkforceInput) GoString() string {
37571	return s.String()
37572}
37573
37574// Validate inspects the fields of the type to determine if they are valid.
37575func (s *DeleteWorkforceInput) Validate() error {
37576	invalidParams := request.ErrInvalidParams{Context: "DeleteWorkforceInput"}
37577	if s.WorkforceName == nil {
37578		invalidParams.Add(request.NewErrParamRequired("WorkforceName"))
37579	}
37580	if s.WorkforceName != nil && len(*s.WorkforceName) < 1 {
37581		invalidParams.Add(request.NewErrParamMinLen("WorkforceName", 1))
37582	}
37583
37584	if invalidParams.Len() > 0 {
37585		return invalidParams
37586	}
37587	return nil
37588}
37589
37590// SetWorkforceName sets the WorkforceName field's value.
37591func (s *DeleteWorkforceInput) SetWorkforceName(v string) *DeleteWorkforceInput {
37592	s.WorkforceName = &v
37593	return s
37594}
37595
37596type DeleteWorkforceOutput struct {
37597	_ struct{} `type:"structure"`
37598}
37599
37600// String returns the string representation
37601func (s DeleteWorkforceOutput) String() string {
37602	return awsutil.Prettify(s)
37603}
37604
37605// GoString returns the string representation
37606func (s DeleteWorkforceOutput) GoString() string {
37607	return s.String()
37608}
37609
37610type DeleteWorkteamInput struct {
37611	_ struct{} `type:"structure"`
37612
37613	// The name of the work team to delete.
37614	//
37615	// WorkteamName is a required field
37616	WorkteamName *string `min:"1" type:"string" required:"true"`
37617}
37618
37619// String returns the string representation
37620func (s DeleteWorkteamInput) String() string {
37621	return awsutil.Prettify(s)
37622}
37623
37624// GoString returns the string representation
37625func (s DeleteWorkteamInput) GoString() string {
37626	return s.String()
37627}
37628
37629// Validate inspects the fields of the type to determine if they are valid.
37630func (s *DeleteWorkteamInput) Validate() error {
37631	invalidParams := request.ErrInvalidParams{Context: "DeleteWorkteamInput"}
37632	if s.WorkteamName == nil {
37633		invalidParams.Add(request.NewErrParamRequired("WorkteamName"))
37634	}
37635	if s.WorkteamName != nil && len(*s.WorkteamName) < 1 {
37636		invalidParams.Add(request.NewErrParamMinLen("WorkteamName", 1))
37637	}
37638
37639	if invalidParams.Len() > 0 {
37640		return invalidParams
37641	}
37642	return nil
37643}
37644
37645// SetWorkteamName sets the WorkteamName field's value.
37646func (s *DeleteWorkteamInput) SetWorkteamName(v string) *DeleteWorkteamInput {
37647	s.WorkteamName = &v
37648	return s
37649}
37650
37651type DeleteWorkteamOutput struct {
37652	_ struct{} `type:"structure"`
37653
37654	// Returns true if the work team was successfully deleted; otherwise, returns
37655	// false.
37656	//
37657	// Success is a required field
37658	Success *bool `type:"boolean" required:"true"`
37659}
37660
37661// String returns the string representation
37662func (s DeleteWorkteamOutput) String() string {
37663	return awsutil.Prettify(s)
37664}
37665
37666// GoString returns the string representation
37667func (s DeleteWorkteamOutput) GoString() string {
37668	return s.String()
37669}
37670
37671// SetSuccess sets the Success field's value.
37672func (s *DeleteWorkteamOutput) SetSuccess(v bool) *DeleteWorkteamOutput {
37673	s.Success = &v
37674	return s
37675}
37676
37677// Gets the Amazon EC2 Container Registry path of the docker image of the model
37678// that is hosted in this ProductionVariant.
37679//
37680// If you used the registry/repository[:tag] form to specify the image path
37681// of the primary container when you created the model hosted in this ProductionVariant,
37682// the path resolves to a path of the form registry/repository[@digest]. A digest
37683// is a hash value that identifies a specific version of an image. For information
37684// about Amazon ECR paths, see Pulling an Image (https://docs.aws.amazon.com/AmazonECR/latest/userguide/docker-pull-ecr-image.html)
37685// in the Amazon ECR User Guide.
37686type DeployedImage struct {
37687	_ struct{} `type:"structure"`
37688
37689	// The date and time when the image path for the model resolved to the ResolvedImage
37690	ResolutionTime *time.Time `type:"timestamp"`
37691
37692	// The specific digest path of the image hosted in this ProductionVariant.
37693	ResolvedImage *string `type:"string"`
37694
37695	// The image path you specified when you created the model.
37696	SpecifiedImage *string `type:"string"`
37697}
37698
37699// String returns the string representation
37700func (s DeployedImage) String() string {
37701	return awsutil.Prettify(s)
37702}
37703
37704// GoString returns the string representation
37705func (s DeployedImage) GoString() string {
37706	return s.String()
37707}
37708
37709// SetResolutionTime sets the ResolutionTime field's value.
37710func (s *DeployedImage) SetResolutionTime(v time.Time) *DeployedImage {
37711	s.ResolutionTime = &v
37712	return s
37713}
37714
37715// SetResolvedImage sets the ResolvedImage field's value.
37716func (s *DeployedImage) SetResolvedImage(v string) *DeployedImage {
37717	s.ResolvedImage = &v
37718	return s
37719}
37720
37721// SetSpecifiedImage sets the SpecifiedImage field's value.
37722func (s *DeployedImage) SetSpecifiedImage(v string) *DeployedImage {
37723	s.SpecifiedImage = &v
37724	return s
37725}
37726
37727// Currently, the DeploymentConfig API is not supported.
37728type DeploymentConfig struct {
37729	_ struct{} `type:"structure"`
37730
37731	// Currently, the AutoRollbackConfig API is not supported.
37732	AutoRollbackConfiguration *AutoRollbackConfig `type:"structure"`
37733
37734	// Currently, the BlueGreenUpdatePolicy API is not supported.
37735	//
37736	// BlueGreenUpdatePolicy is a required field
37737	BlueGreenUpdatePolicy *BlueGreenUpdatePolicy `type:"structure" required:"true"`
37738}
37739
37740// String returns the string representation
37741func (s DeploymentConfig) String() string {
37742	return awsutil.Prettify(s)
37743}
37744
37745// GoString returns the string representation
37746func (s DeploymentConfig) GoString() string {
37747	return s.String()
37748}
37749
37750// Validate inspects the fields of the type to determine if they are valid.
37751func (s *DeploymentConfig) Validate() error {
37752	invalidParams := request.ErrInvalidParams{Context: "DeploymentConfig"}
37753	if s.BlueGreenUpdatePolicy == nil {
37754		invalidParams.Add(request.NewErrParamRequired("BlueGreenUpdatePolicy"))
37755	}
37756	if s.AutoRollbackConfiguration != nil {
37757		if err := s.AutoRollbackConfiguration.Validate(); err != nil {
37758			invalidParams.AddNested("AutoRollbackConfiguration", err.(request.ErrInvalidParams))
37759		}
37760	}
37761	if s.BlueGreenUpdatePolicy != nil {
37762		if err := s.BlueGreenUpdatePolicy.Validate(); err != nil {
37763			invalidParams.AddNested("BlueGreenUpdatePolicy", err.(request.ErrInvalidParams))
37764		}
37765	}
37766
37767	if invalidParams.Len() > 0 {
37768		return invalidParams
37769	}
37770	return nil
37771}
37772
37773// SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.
37774func (s *DeploymentConfig) SetAutoRollbackConfiguration(v *AutoRollbackConfig) *DeploymentConfig {
37775	s.AutoRollbackConfiguration = v
37776	return s
37777}
37778
37779// SetBlueGreenUpdatePolicy sets the BlueGreenUpdatePolicy field's value.
37780func (s *DeploymentConfig) SetBlueGreenUpdatePolicy(v *BlueGreenUpdatePolicy) *DeploymentConfig {
37781	s.BlueGreenUpdatePolicy = v
37782	return s
37783}
37784
37785type DeregisterDevicesInput struct {
37786	_ struct{} `type:"structure"`
37787
37788	// The name of the fleet the devices belong to.
37789	//
37790	// DeviceFleetName is a required field
37791	DeviceFleetName *string `min:"1" type:"string" required:"true"`
37792
37793	// The unique IDs of the devices.
37794	//
37795	// DeviceNames is a required field
37796	DeviceNames []*string `type:"list" required:"true"`
37797}
37798
37799// String returns the string representation
37800func (s DeregisterDevicesInput) String() string {
37801	return awsutil.Prettify(s)
37802}
37803
37804// GoString returns the string representation
37805func (s DeregisterDevicesInput) GoString() string {
37806	return s.String()
37807}
37808
37809// Validate inspects the fields of the type to determine if they are valid.
37810func (s *DeregisterDevicesInput) Validate() error {
37811	invalidParams := request.ErrInvalidParams{Context: "DeregisterDevicesInput"}
37812	if s.DeviceFleetName == nil {
37813		invalidParams.Add(request.NewErrParamRequired("DeviceFleetName"))
37814	}
37815	if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 {
37816		invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1))
37817	}
37818	if s.DeviceNames == nil {
37819		invalidParams.Add(request.NewErrParamRequired("DeviceNames"))
37820	}
37821
37822	if invalidParams.Len() > 0 {
37823		return invalidParams
37824	}
37825	return nil
37826}
37827
37828// SetDeviceFleetName sets the DeviceFleetName field's value.
37829func (s *DeregisterDevicesInput) SetDeviceFleetName(v string) *DeregisterDevicesInput {
37830	s.DeviceFleetName = &v
37831	return s
37832}
37833
37834// SetDeviceNames sets the DeviceNames field's value.
37835func (s *DeregisterDevicesInput) SetDeviceNames(v []*string) *DeregisterDevicesInput {
37836	s.DeviceNames = v
37837	return s
37838}
37839
37840type DeregisterDevicesOutput struct {
37841	_ struct{} `type:"structure"`
37842}
37843
37844// String returns the string representation
37845func (s DeregisterDevicesOutput) String() string {
37846	return awsutil.Prettify(s)
37847}
37848
37849// GoString returns the string representation
37850func (s DeregisterDevicesOutput) GoString() string {
37851	return s.String()
37852}
37853
37854type DescribeActionInput struct {
37855	_ struct{} `type:"structure"`
37856
37857	// The name of the action to describe.
37858	//
37859	// ActionName is a required field
37860	ActionName *string `min:"1" type:"string" required:"true"`
37861}
37862
37863// String returns the string representation
37864func (s DescribeActionInput) String() string {
37865	return awsutil.Prettify(s)
37866}
37867
37868// GoString returns the string representation
37869func (s DescribeActionInput) GoString() string {
37870	return s.String()
37871}
37872
37873// Validate inspects the fields of the type to determine if they are valid.
37874func (s *DescribeActionInput) Validate() error {
37875	invalidParams := request.ErrInvalidParams{Context: "DescribeActionInput"}
37876	if s.ActionName == nil {
37877		invalidParams.Add(request.NewErrParamRequired("ActionName"))
37878	}
37879	if s.ActionName != nil && len(*s.ActionName) < 1 {
37880		invalidParams.Add(request.NewErrParamMinLen("ActionName", 1))
37881	}
37882
37883	if invalidParams.Len() > 0 {
37884		return invalidParams
37885	}
37886	return nil
37887}
37888
37889// SetActionName sets the ActionName field's value.
37890func (s *DescribeActionInput) SetActionName(v string) *DescribeActionInput {
37891	s.ActionName = &v
37892	return s
37893}
37894
37895type DescribeActionOutput struct {
37896	_ struct{} `type:"structure"`
37897
37898	// The Amazon Resource Name (ARN) of the action.
37899	ActionArn *string `type:"string"`
37900
37901	// The name of the action.
37902	ActionName *string `min:"1" type:"string"`
37903
37904	// The type of the action.
37905	ActionType *string `type:"string"`
37906
37907	// Information about the user who created or modified an experiment, trial,
37908	// or trial component.
37909	CreatedBy *UserContext `type:"structure"`
37910
37911	// When the action was created.
37912	CreationTime *time.Time `type:"timestamp"`
37913
37914	// The description of the action.
37915	Description *string `type:"string"`
37916
37917	// Information about the user who created or modified an experiment, trial,
37918	// or trial component.
37919	LastModifiedBy *UserContext `type:"structure"`
37920
37921	// When the action was last modified.
37922	LastModifiedTime *time.Time `type:"timestamp"`
37923
37924	// Metadata properties of the tracking entity, trial, or trial component.
37925	MetadataProperties *MetadataProperties `type:"structure"`
37926
37927	// A list of the action's properties.
37928	Properties map[string]*string `type:"map"`
37929
37930	// The source of the action.
37931	Source *ActionSource `type:"structure"`
37932
37933	// The status of the action.
37934	Status *string `type:"string" enum:"ActionStatus"`
37935}
37936
37937// String returns the string representation
37938func (s DescribeActionOutput) String() string {
37939	return awsutil.Prettify(s)
37940}
37941
37942// GoString returns the string representation
37943func (s DescribeActionOutput) GoString() string {
37944	return s.String()
37945}
37946
37947// SetActionArn sets the ActionArn field's value.
37948func (s *DescribeActionOutput) SetActionArn(v string) *DescribeActionOutput {
37949	s.ActionArn = &v
37950	return s
37951}
37952
37953// SetActionName sets the ActionName field's value.
37954func (s *DescribeActionOutput) SetActionName(v string) *DescribeActionOutput {
37955	s.ActionName = &v
37956	return s
37957}
37958
37959// SetActionType sets the ActionType field's value.
37960func (s *DescribeActionOutput) SetActionType(v string) *DescribeActionOutput {
37961	s.ActionType = &v
37962	return s
37963}
37964
37965// SetCreatedBy sets the CreatedBy field's value.
37966func (s *DescribeActionOutput) SetCreatedBy(v *UserContext) *DescribeActionOutput {
37967	s.CreatedBy = v
37968	return s
37969}
37970
37971// SetCreationTime sets the CreationTime field's value.
37972func (s *DescribeActionOutput) SetCreationTime(v time.Time) *DescribeActionOutput {
37973	s.CreationTime = &v
37974	return s
37975}
37976
37977// SetDescription sets the Description field's value.
37978func (s *DescribeActionOutput) SetDescription(v string) *DescribeActionOutput {
37979	s.Description = &v
37980	return s
37981}
37982
37983// SetLastModifiedBy sets the LastModifiedBy field's value.
37984func (s *DescribeActionOutput) SetLastModifiedBy(v *UserContext) *DescribeActionOutput {
37985	s.LastModifiedBy = v
37986	return s
37987}
37988
37989// SetLastModifiedTime sets the LastModifiedTime field's value.
37990func (s *DescribeActionOutput) SetLastModifiedTime(v time.Time) *DescribeActionOutput {
37991	s.LastModifiedTime = &v
37992	return s
37993}
37994
37995// SetMetadataProperties sets the MetadataProperties field's value.
37996func (s *DescribeActionOutput) SetMetadataProperties(v *MetadataProperties) *DescribeActionOutput {
37997	s.MetadataProperties = v
37998	return s
37999}
38000
38001// SetProperties sets the Properties field's value.
38002func (s *DescribeActionOutput) SetProperties(v map[string]*string) *DescribeActionOutput {
38003	s.Properties = v
38004	return s
38005}
38006
38007// SetSource sets the Source field's value.
38008func (s *DescribeActionOutput) SetSource(v *ActionSource) *DescribeActionOutput {
38009	s.Source = v
38010	return s
38011}
38012
38013// SetStatus sets the Status field's value.
38014func (s *DescribeActionOutput) SetStatus(v string) *DescribeActionOutput {
38015	s.Status = &v
38016	return s
38017}
38018
38019type DescribeAlgorithmInput struct {
38020	_ struct{} `type:"structure"`
38021
38022	// The name of the algorithm to describe.
38023	//
38024	// AlgorithmName is a required field
38025	AlgorithmName *string `min:"1" type:"string" required:"true"`
38026}
38027
38028// String returns the string representation
38029func (s DescribeAlgorithmInput) String() string {
38030	return awsutil.Prettify(s)
38031}
38032
38033// GoString returns the string representation
38034func (s DescribeAlgorithmInput) GoString() string {
38035	return s.String()
38036}
38037
38038// Validate inspects the fields of the type to determine if they are valid.
38039func (s *DescribeAlgorithmInput) Validate() error {
38040	invalidParams := request.ErrInvalidParams{Context: "DescribeAlgorithmInput"}
38041	if s.AlgorithmName == nil {
38042		invalidParams.Add(request.NewErrParamRequired("AlgorithmName"))
38043	}
38044	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
38045		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
38046	}
38047
38048	if invalidParams.Len() > 0 {
38049		return invalidParams
38050	}
38051	return nil
38052}
38053
38054// SetAlgorithmName sets the AlgorithmName field's value.
38055func (s *DescribeAlgorithmInput) SetAlgorithmName(v string) *DescribeAlgorithmInput {
38056	s.AlgorithmName = &v
38057	return s
38058}
38059
38060type DescribeAlgorithmOutput struct {
38061	_ struct{} `type:"structure"`
38062
38063	// The Amazon Resource Name (ARN) of the algorithm.
38064	//
38065	// AlgorithmArn is a required field
38066	AlgorithmArn *string `min:"1" type:"string" required:"true"`
38067
38068	// A brief summary about the algorithm.
38069	AlgorithmDescription *string `type:"string"`
38070
38071	// The name of the algorithm being described.
38072	//
38073	// AlgorithmName is a required field
38074	AlgorithmName *string `min:"1" type:"string" required:"true"`
38075
38076	// The current status of the algorithm.
38077	//
38078	// AlgorithmStatus is a required field
38079	AlgorithmStatus *string `type:"string" required:"true" enum:"AlgorithmStatus"`
38080
38081	// Details about the current status of the algorithm.
38082	//
38083	// AlgorithmStatusDetails is a required field
38084	AlgorithmStatusDetails *AlgorithmStatusDetails `type:"structure" required:"true"`
38085
38086	// Whether the algorithm is certified to be listed in AWS Marketplace.
38087	CertifyForMarketplace *bool `type:"boolean"`
38088
38089	// A timestamp specifying when the algorithm was created.
38090	//
38091	// CreationTime is a required field
38092	CreationTime *time.Time `type:"timestamp" required:"true"`
38093
38094	// Details about inference jobs that the algorithm runs.
38095	InferenceSpecification *InferenceSpecification `type:"structure"`
38096
38097	// The product identifier of the algorithm.
38098	ProductId *string `type:"string"`
38099
38100	// Details about training jobs run by this algorithm.
38101	//
38102	// TrainingSpecification is a required field
38103	TrainingSpecification *TrainingSpecification `type:"structure" required:"true"`
38104
38105	// Details about configurations for one or more training jobs that Amazon SageMaker
38106	// runs to test the algorithm.
38107	ValidationSpecification *AlgorithmValidationSpecification `type:"structure"`
38108}
38109
38110// String returns the string representation
38111func (s DescribeAlgorithmOutput) String() string {
38112	return awsutil.Prettify(s)
38113}
38114
38115// GoString returns the string representation
38116func (s DescribeAlgorithmOutput) GoString() string {
38117	return s.String()
38118}
38119
38120// SetAlgorithmArn sets the AlgorithmArn field's value.
38121func (s *DescribeAlgorithmOutput) SetAlgorithmArn(v string) *DescribeAlgorithmOutput {
38122	s.AlgorithmArn = &v
38123	return s
38124}
38125
38126// SetAlgorithmDescription sets the AlgorithmDescription field's value.
38127func (s *DescribeAlgorithmOutput) SetAlgorithmDescription(v string) *DescribeAlgorithmOutput {
38128	s.AlgorithmDescription = &v
38129	return s
38130}
38131
38132// SetAlgorithmName sets the AlgorithmName field's value.
38133func (s *DescribeAlgorithmOutput) SetAlgorithmName(v string) *DescribeAlgorithmOutput {
38134	s.AlgorithmName = &v
38135	return s
38136}
38137
38138// SetAlgorithmStatus sets the AlgorithmStatus field's value.
38139func (s *DescribeAlgorithmOutput) SetAlgorithmStatus(v string) *DescribeAlgorithmOutput {
38140	s.AlgorithmStatus = &v
38141	return s
38142}
38143
38144// SetAlgorithmStatusDetails sets the AlgorithmStatusDetails field's value.
38145func (s *DescribeAlgorithmOutput) SetAlgorithmStatusDetails(v *AlgorithmStatusDetails) *DescribeAlgorithmOutput {
38146	s.AlgorithmStatusDetails = v
38147	return s
38148}
38149
38150// SetCertifyForMarketplace sets the CertifyForMarketplace field's value.
38151func (s *DescribeAlgorithmOutput) SetCertifyForMarketplace(v bool) *DescribeAlgorithmOutput {
38152	s.CertifyForMarketplace = &v
38153	return s
38154}
38155
38156// SetCreationTime sets the CreationTime field's value.
38157func (s *DescribeAlgorithmOutput) SetCreationTime(v time.Time) *DescribeAlgorithmOutput {
38158	s.CreationTime = &v
38159	return s
38160}
38161
38162// SetInferenceSpecification sets the InferenceSpecification field's value.
38163func (s *DescribeAlgorithmOutput) SetInferenceSpecification(v *InferenceSpecification) *DescribeAlgorithmOutput {
38164	s.InferenceSpecification = v
38165	return s
38166}
38167
38168// SetProductId sets the ProductId field's value.
38169func (s *DescribeAlgorithmOutput) SetProductId(v string) *DescribeAlgorithmOutput {
38170	s.ProductId = &v
38171	return s
38172}
38173
38174// SetTrainingSpecification sets the TrainingSpecification field's value.
38175func (s *DescribeAlgorithmOutput) SetTrainingSpecification(v *TrainingSpecification) *DescribeAlgorithmOutput {
38176	s.TrainingSpecification = v
38177	return s
38178}
38179
38180// SetValidationSpecification sets the ValidationSpecification field's value.
38181func (s *DescribeAlgorithmOutput) SetValidationSpecification(v *AlgorithmValidationSpecification) *DescribeAlgorithmOutput {
38182	s.ValidationSpecification = v
38183	return s
38184}
38185
38186type DescribeAppImageConfigInput struct {
38187	_ struct{} `type:"structure"`
38188
38189	// The name of the AppImageConfig to describe.
38190	//
38191	// AppImageConfigName is a required field
38192	AppImageConfigName *string `type:"string" required:"true"`
38193}
38194
38195// String returns the string representation
38196func (s DescribeAppImageConfigInput) String() string {
38197	return awsutil.Prettify(s)
38198}
38199
38200// GoString returns the string representation
38201func (s DescribeAppImageConfigInput) GoString() string {
38202	return s.String()
38203}
38204
38205// Validate inspects the fields of the type to determine if they are valid.
38206func (s *DescribeAppImageConfigInput) Validate() error {
38207	invalidParams := request.ErrInvalidParams{Context: "DescribeAppImageConfigInput"}
38208	if s.AppImageConfigName == nil {
38209		invalidParams.Add(request.NewErrParamRequired("AppImageConfigName"))
38210	}
38211
38212	if invalidParams.Len() > 0 {
38213		return invalidParams
38214	}
38215	return nil
38216}
38217
38218// SetAppImageConfigName sets the AppImageConfigName field's value.
38219func (s *DescribeAppImageConfigInput) SetAppImageConfigName(v string) *DescribeAppImageConfigInput {
38220	s.AppImageConfigName = &v
38221	return s
38222}
38223
38224type DescribeAppImageConfigOutput struct {
38225	_ struct{} `type:"structure"`
38226
38227	// The Amazon Resource Name (ARN) of the AppImageConfig.
38228	AppImageConfigArn *string `type:"string"`
38229
38230	// The name of the AppImageConfig.
38231	AppImageConfigName *string `type:"string"`
38232
38233	// When the AppImageConfig was created.
38234	CreationTime *time.Time `type:"timestamp"`
38235
38236	// The configuration of a KernelGateway app.
38237	KernelGatewayImageConfig *KernelGatewayImageConfig `type:"structure"`
38238
38239	// When the AppImageConfig was last modified.
38240	LastModifiedTime *time.Time `type:"timestamp"`
38241}
38242
38243// String returns the string representation
38244func (s DescribeAppImageConfigOutput) String() string {
38245	return awsutil.Prettify(s)
38246}
38247
38248// GoString returns the string representation
38249func (s DescribeAppImageConfigOutput) GoString() string {
38250	return s.String()
38251}
38252
38253// SetAppImageConfigArn sets the AppImageConfigArn field's value.
38254func (s *DescribeAppImageConfigOutput) SetAppImageConfigArn(v string) *DescribeAppImageConfigOutput {
38255	s.AppImageConfigArn = &v
38256	return s
38257}
38258
38259// SetAppImageConfigName sets the AppImageConfigName field's value.
38260func (s *DescribeAppImageConfigOutput) SetAppImageConfigName(v string) *DescribeAppImageConfigOutput {
38261	s.AppImageConfigName = &v
38262	return s
38263}
38264
38265// SetCreationTime sets the CreationTime field's value.
38266func (s *DescribeAppImageConfigOutput) SetCreationTime(v time.Time) *DescribeAppImageConfigOutput {
38267	s.CreationTime = &v
38268	return s
38269}
38270
38271// SetKernelGatewayImageConfig sets the KernelGatewayImageConfig field's value.
38272func (s *DescribeAppImageConfigOutput) SetKernelGatewayImageConfig(v *KernelGatewayImageConfig) *DescribeAppImageConfigOutput {
38273	s.KernelGatewayImageConfig = v
38274	return s
38275}
38276
38277// SetLastModifiedTime sets the LastModifiedTime field's value.
38278func (s *DescribeAppImageConfigOutput) SetLastModifiedTime(v time.Time) *DescribeAppImageConfigOutput {
38279	s.LastModifiedTime = &v
38280	return s
38281}
38282
38283type DescribeAppInput struct {
38284	_ struct{} `type:"structure"`
38285
38286	// The name of the app.
38287	//
38288	// AppName is a required field
38289	AppName *string `type:"string" required:"true"`
38290
38291	// The type of app.
38292	//
38293	// AppType is a required field
38294	AppType *string `type:"string" required:"true" enum:"AppType"`
38295
38296	// The domain ID.
38297	//
38298	// DomainId is a required field
38299	DomainId *string `type:"string" required:"true"`
38300
38301	// The user profile name.
38302	//
38303	// UserProfileName is a required field
38304	UserProfileName *string `type:"string" required:"true"`
38305}
38306
38307// String returns the string representation
38308func (s DescribeAppInput) String() string {
38309	return awsutil.Prettify(s)
38310}
38311
38312// GoString returns the string representation
38313func (s DescribeAppInput) GoString() string {
38314	return s.String()
38315}
38316
38317// Validate inspects the fields of the type to determine if they are valid.
38318func (s *DescribeAppInput) Validate() error {
38319	invalidParams := request.ErrInvalidParams{Context: "DescribeAppInput"}
38320	if s.AppName == nil {
38321		invalidParams.Add(request.NewErrParamRequired("AppName"))
38322	}
38323	if s.AppType == nil {
38324		invalidParams.Add(request.NewErrParamRequired("AppType"))
38325	}
38326	if s.DomainId == nil {
38327		invalidParams.Add(request.NewErrParamRequired("DomainId"))
38328	}
38329	if s.UserProfileName == nil {
38330		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
38331	}
38332
38333	if invalidParams.Len() > 0 {
38334		return invalidParams
38335	}
38336	return nil
38337}
38338
38339// SetAppName sets the AppName field's value.
38340func (s *DescribeAppInput) SetAppName(v string) *DescribeAppInput {
38341	s.AppName = &v
38342	return s
38343}
38344
38345// SetAppType sets the AppType field's value.
38346func (s *DescribeAppInput) SetAppType(v string) *DescribeAppInput {
38347	s.AppType = &v
38348	return s
38349}
38350
38351// SetDomainId sets the DomainId field's value.
38352func (s *DescribeAppInput) SetDomainId(v string) *DescribeAppInput {
38353	s.DomainId = &v
38354	return s
38355}
38356
38357// SetUserProfileName sets the UserProfileName field's value.
38358func (s *DescribeAppInput) SetUserProfileName(v string) *DescribeAppInput {
38359	s.UserProfileName = &v
38360	return s
38361}
38362
38363type DescribeAppOutput struct {
38364	_ struct{} `type:"structure"`
38365
38366	// The Amazon Resource Name (ARN) of the app.
38367	AppArn *string `type:"string"`
38368
38369	// The name of the app.
38370	AppName *string `type:"string"`
38371
38372	// The type of app.
38373	AppType *string `type:"string" enum:"AppType"`
38374
38375	// The creation time.
38376	CreationTime *time.Time `type:"timestamp"`
38377
38378	// The domain ID.
38379	DomainId *string `type:"string"`
38380
38381	// The failure reason.
38382	FailureReason *string `type:"string"`
38383
38384	// The timestamp of the last health check.
38385	LastHealthCheckTimestamp *time.Time `type:"timestamp"`
38386
38387	// The timestamp of the last user's activity.
38388	LastUserActivityTimestamp *time.Time `type:"timestamp"`
38389
38390	// The instance type and the Amazon Resource Name (ARN) of the SageMaker image
38391	// created on the instance.
38392	ResourceSpec *ResourceSpec `type:"structure"`
38393
38394	// The status.
38395	Status *string `type:"string" enum:"AppStatus"`
38396
38397	// The user profile name.
38398	UserProfileName *string `type:"string"`
38399}
38400
38401// String returns the string representation
38402func (s DescribeAppOutput) String() string {
38403	return awsutil.Prettify(s)
38404}
38405
38406// GoString returns the string representation
38407func (s DescribeAppOutput) GoString() string {
38408	return s.String()
38409}
38410
38411// SetAppArn sets the AppArn field's value.
38412func (s *DescribeAppOutput) SetAppArn(v string) *DescribeAppOutput {
38413	s.AppArn = &v
38414	return s
38415}
38416
38417// SetAppName sets the AppName field's value.
38418func (s *DescribeAppOutput) SetAppName(v string) *DescribeAppOutput {
38419	s.AppName = &v
38420	return s
38421}
38422
38423// SetAppType sets the AppType field's value.
38424func (s *DescribeAppOutput) SetAppType(v string) *DescribeAppOutput {
38425	s.AppType = &v
38426	return s
38427}
38428
38429// SetCreationTime sets the CreationTime field's value.
38430func (s *DescribeAppOutput) SetCreationTime(v time.Time) *DescribeAppOutput {
38431	s.CreationTime = &v
38432	return s
38433}
38434
38435// SetDomainId sets the DomainId field's value.
38436func (s *DescribeAppOutput) SetDomainId(v string) *DescribeAppOutput {
38437	s.DomainId = &v
38438	return s
38439}
38440
38441// SetFailureReason sets the FailureReason field's value.
38442func (s *DescribeAppOutput) SetFailureReason(v string) *DescribeAppOutput {
38443	s.FailureReason = &v
38444	return s
38445}
38446
38447// SetLastHealthCheckTimestamp sets the LastHealthCheckTimestamp field's value.
38448func (s *DescribeAppOutput) SetLastHealthCheckTimestamp(v time.Time) *DescribeAppOutput {
38449	s.LastHealthCheckTimestamp = &v
38450	return s
38451}
38452
38453// SetLastUserActivityTimestamp sets the LastUserActivityTimestamp field's value.
38454func (s *DescribeAppOutput) SetLastUserActivityTimestamp(v time.Time) *DescribeAppOutput {
38455	s.LastUserActivityTimestamp = &v
38456	return s
38457}
38458
38459// SetResourceSpec sets the ResourceSpec field's value.
38460func (s *DescribeAppOutput) SetResourceSpec(v *ResourceSpec) *DescribeAppOutput {
38461	s.ResourceSpec = v
38462	return s
38463}
38464
38465// SetStatus sets the Status field's value.
38466func (s *DescribeAppOutput) SetStatus(v string) *DescribeAppOutput {
38467	s.Status = &v
38468	return s
38469}
38470
38471// SetUserProfileName sets the UserProfileName field's value.
38472func (s *DescribeAppOutput) SetUserProfileName(v string) *DescribeAppOutput {
38473	s.UserProfileName = &v
38474	return s
38475}
38476
38477type DescribeArtifactInput struct {
38478	_ struct{} `type:"structure"`
38479
38480	// The Amazon Resource Name (ARN) of the artifact to describe.
38481	//
38482	// ArtifactArn is a required field
38483	ArtifactArn *string `type:"string" required:"true"`
38484}
38485
38486// String returns the string representation
38487func (s DescribeArtifactInput) String() string {
38488	return awsutil.Prettify(s)
38489}
38490
38491// GoString returns the string representation
38492func (s DescribeArtifactInput) GoString() string {
38493	return s.String()
38494}
38495
38496// Validate inspects the fields of the type to determine if they are valid.
38497func (s *DescribeArtifactInput) Validate() error {
38498	invalidParams := request.ErrInvalidParams{Context: "DescribeArtifactInput"}
38499	if s.ArtifactArn == nil {
38500		invalidParams.Add(request.NewErrParamRequired("ArtifactArn"))
38501	}
38502
38503	if invalidParams.Len() > 0 {
38504		return invalidParams
38505	}
38506	return nil
38507}
38508
38509// SetArtifactArn sets the ArtifactArn field's value.
38510func (s *DescribeArtifactInput) SetArtifactArn(v string) *DescribeArtifactInput {
38511	s.ArtifactArn = &v
38512	return s
38513}
38514
38515type DescribeArtifactOutput struct {
38516	_ struct{} `type:"structure"`
38517
38518	// The Amazon Resource Name (ARN) of the artifact.
38519	ArtifactArn *string `type:"string"`
38520
38521	// The name of the artifact.
38522	ArtifactName *string `min:"1" type:"string"`
38523
38524	// The type of the artifact.
38525	ArtifactType *string `type:"string"`
38526
38527	// Information about the user who created or modified an experiment, trial,
38528	// or trial component.
38529	CreatedBy *UserContext `type:"structure"`
38530
38531	// When the artifact was created.
38532	CreationTime *time.Time `type:"timestamp"`
38533
38534	// Information about the user who created or modified an experiment, trial,
38535	// or trial component.
38536	LastModifiedBy *UserContext `type:"structure"`
38537
38538	// When the artifact was last modified.
38539	LastModifiedTime *time.Time `type:"timestamp"`
38540
38541	// Metadata properties of the tracking entity, trial, or trial component.
38542	MetadataProperties *MetadataProperties `type:"structure"`
38543
38544	// A list of the artifact's properties.
38545	Properties map[string]*string `type:"map"`
38546
38547	// The source of the artifact.
38548	Source *ArtifactSource `type:"structure"`
38549}
38550
38551// String returns the string representation
38552func (s DescribeArtifactOutput) String() string {
38553	return awsutil.Prettify(s)
38554}
38555
38556// GoString returns the string representation
38557func (s DescribeArtifactOutput) GoString() string {
38558	return s.String()
38559}
38560
38561// SetArtifactArn sets the ArtifactArn field's value.
38562func (s *DescribeArtifactOutput) SetArtifactArn(v string) *DescribeArtifactOutput {
38563	s.ArtifactArn = &v
38564	return s
38565}
38566
38567// SetArtifactName sets the ArtifactName field's value.
38568func (s *DescribeArtifactOutput) SetArtifactName(v string) *DescribeArtifactOutput {
38569	s.ArtifactName = &v
38570	return s
38571}
38572
38573// SetArtifactType sets the ArtifactType field's value.
38574func (s *DescribeArtifactOutput) SetArtifactType(v string) *DescribeArtifactOutput {
38575	s.ArtifactType = &v
38576	return s
38577}
38578
38579// SetCreatedBy sets the CreatedBy field's value.
38580func (s *DescribeArtifactOutput) SetCreatedBy(v *UserContext) *DescribeArtifactOutput {
38581	s.CreatedBy = v
38582	return s
38583}
38584
38585// SetCreationTime sets the CreationTime field's value.
38586func (s *DescribeArtifactOutput) SetCreationTime(v time.Time) *DescribeArtifactOutput {
38587	s.CreationTime = &v
38588	return s
38589}
38590
38591// SetLastModifiedBy sets the LastModifiedBy field's value.
38592func (s *DescribeArtifactOutput) SetLastModifiedBy(v *UserContext) *DescribeArtifactOutput {
38593	s.LastModifiedBy = v
38594	return s
38595}
38596
38597// SetLastModifiedTime sets the LastModifiedTime field's value.
38598func (s *DescribeArtifactOutput) SetLastModifiedTime(v time.Time) *DescribeArtifactOutput {
38599	s.LastModifiedTime = &v
38600	return s
38601}
38602
38603// SetMetadataProperties sets the MetadataProperties field's value.
38604func (s *DescribeArtifactOutput) SetMetadataProperties(v *MetadataProperties) *DescribeArtifactOutput {
38605	s.MetadataProperties = v
38606	return s
38607}
38608
38609// SetProperties sets the Properties field's value.
38610func (s *DescribeArtifactOutput) SetProperties(v map[string]*string) *DescribeArtifactOutput {
38611	s.Properties = v
38612	return s
38613}
38614
38615// SetSource sets the Source field's value.
38616func (s *DescribeArtifactOutput) SetSource(v *ArtifactSource) *DescribeArtifactOutput {
38617	s.Source = v
38618	return s
38619}
38620
38621type DescribeAutoMLJobInput struct {
38622	_ struct{} `type:"structure"`
38623
38624	// Requests information about an AutoML job using its unique name.
38625	//
38626	// AutoMLJobName is a required field
38627	AutoMLJobName *string `min:"1" type:"string" required:"true"`
38628}
38629
38630// String returns the string representation
38631func (s DescribeAutoMLJobInput) String() string {
38632	return awsutil.Prettify(s)
38633}
38634
38635// GoString returns the string representation
38636func (s DescribeAutoMLJobInput) GoString() string {
38637	return s.String()
38638}
38639
38640// Validate inspects the fields of the type to determine if they are valid.
38641func (s *DescribeAutoMLJobInput) Validate() error {
38642	invalidParams := request.ErrInvalidParams{Context: "DescribeAutoMLJobInput"}
38643	if s.AutoMLJobName == nil {
38644		invalidParams.Add(request.NewErrParamRequired("AutoMLJobName"))
38645	}
38646	if s.AutoMLJobName != nil && len(*s.AutoMLJobName) < 1 {
38647		invalidParams.Add(request.NewErrParamMinLen("AutoMLJobName", 1))
38648	}
38649
38650	if invalidParams.Len() > 0 {
38651		return invalidParams
38652	}
38653	return nil
38654}
38655
38656// SetAutoMLJobName sets the AutoMLJobName field's value.
38657func (s *DescribeAutoMLJobInput) SetAutoMLJobName(v string) *DescribeAutoMLJobInput {
38658	s.AutoMLJobName = &v
38659	return s
38660}
38661
38662type DescribeAutoMLJobOutput struct {
38663	_ struct{} `type:"structure"`
38664
38665	// Returns the ARN of the AutoML job.
38666	//
38667	// AutoMLJobArn is a required field
38668	AutoMLJobArn *string `min:"1" type:"string" required:"true"`
38669
38670	// Returns information on the job's artifacts found in AutoMLJobArtifacts.
38671	AutoMLJobArtifacts *AutoMLJobArtifacts `type:"structure"`
38672
38673	// Returns the configuration for the AutoML job.
38674	AutoMLJobConfig *AutoMLJobConfig `type:"structure"`
38675
38676	// Returns the name of the AutoML job.
38677	//
38678	// AutoMLJobName is a required field
38679	AutoMLJobName *string `min:"1" type:"string" required:"true"`
38680
38681	// Returns the job's objective.
38682	AutoMLJobObjective *AutoMLJobObjective `type:"structure"`
38683
38684	// Returns the secondary status of the AutoML job.
38685	//
38686	// AutoMLJobSecondaryStatus is a required field
38687	AutoMLJobSecondaryStatus *string `type:"string" required:"true" enum:"AutoMLJobSecondaryStatus"`
38688
38689	// Returns the status of the AutoML job.
38690	//
38691	// AutoMLJobStatus is a required field
38692	AutoMLJobStatus *string `type:"string" required:"true" enum:"AutoMLJobStatus"`
38693
38694	// Returns the job's best AutoMLCandidate.
38695	BestCandidate *AutoMLCandidate `type:"structure"`
38696
38697	// Returns the creation time of the AutoML job.
38698	//
38699	// CreationTime is a required field
38700	CreationTime *time.Time `type:"timestamp" required:"true"`
38701
38702	// Returns the end time of the AutoML job.
38703	EndTime *time.Time `type:"timestamp"`
38704
38705	// Returns the failure reason for an AutoML job, when applicable.
38706	FailureReason *string `type:"string"`
38707
38708	// Indicates whether the output for an AutoML job generates candidate definitions
38709	// only.
38710	GenerateCandidateDefinitionsOnly *bool `type:"boolean"`
38711
38712	// Returns the input data configuration for the AutoML job..
38713	//
38714	// InputDataConfig is a required field
38715	InputDataConfig []*AutoMLChannel `min:"1" type:"list" required:"true"`
38716
38717	// Returns the job's last modified time.
38718	//
38719	// LastModifiedTime is a required field
38720	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
38721
38722	// Indicates whether the model was deployed automatically to an endpoint and
38723	// the name of that endpoint if deployed automatically.
38724	ModelDeployConfig *ModelDeployConfig `type:"structure"`
38725
38726	// Provides information about endpoint for the model deployment.
38727	ModelDeployResult *ModelDeployResult `type:"structure"`
38728
38729	// Returns the job's output data config.
38730	//
38731	// OutputDataConfig is a required field
38732	OutputDataConfig *AutoMLOutputDataConfig `type:"structure" required:"true"`
38733
38734	// Returns a list of reasons for partial failures within an AutoML job.
38735	PartialFailureReasons []*AutoMLPartialFailureReason `min:"1" type:"list"`
38736
38737	// Returns the job's problem type.
38738	ProblemType *string `type:"string" enum:"ProblemType"`
38739
38740	// This contains ProblemType, AutoMLJobObjective and CompletionCriteria. If
38741	// you do not provide these values, they are auto-inferred. If you do provide
38742	// them, the values used are the ones you provide.
38743	ResolvedAttributes *ResolvedAttributes `type:"structure"`
38744
38745	// The Amazon Resource Name (ARN) of the AWS Identity and Access Management
38746	// (IAM) role that has read permission to the input data location and write
38747	// permission to the output data location in Amazon S3.
38748	//
38749	// RoleArn is a required field
38750	RoleArn *string `min:"20" type:"string" required:"true"`
38751}
38752
38753// String returns the string representation
38754func (s DescribeAutoMLJobOutput) String() string {
38755	return awsutil.Prettify(s)
38756}
38757
38758// GoString returns the string representation
38759func (s DescribeAutoMLJobOutput) GoString() string {
38760	return s.String()
38761}
38762
38763// SetAutoMLJobArn sets the AutoMLJobArn field's value.
38764func (s *DescribeAutoMLJobOutput) SetAutoMLJobArn(v string) *DescribeAutoMLJobOutput {
38765	s.AutoMLJobArn = &v
38766	return s
38767}
38768
38769// SetAutoMLJobArtifacts sets the AutoMLJobArtifacts field's value.
38770func (s *DescribeAutoMLJobOutput) SetAutoMLJobArtifacts(v *AutoMLJobArtifacts) *DescribeAutoMLJobOutput {
38771	s.AutoMLJobArtifacts = v
38772	return s
38773}
38774
38775// SetAutoMLJobConfig sets the AutoMLJobConfig field's value.
38776func (s *DescribeAutoMLJobOutput) SetAutoMLJobConfig(v *AutoMLJobConfig) *DescribeAutoMLJobOutput {
38777	s.AutoMLJobConfig = v
38778	return s
38779}
38780
38781// SetAutoMLJobName sets the AutoMLJobName field's value.
38782func (s *DescribeAutoMLJobOutput) SetAutoMLJobName(v string) *DescribeAutoMLJobOutput {
38783	s.AutoMLJobName = &v
38784	return s
38785}
38786
38787// SetAutoMLJobObjective sets the AutoMLJobObjective field's value.
38788func (s *DescribeAutoMLJobOutput) SetAutoMLJobObjective(v *AutoMLJobObjective) *DescribeAutoMLJobOutput {
38789	s.AutoMLJobObjective = v
38790	return s
38791}
38792
38793// SetAutoMLJobSecondaryStatus sets the AutoMLJobSecondaryStatus field's value.
38794func (s *DescribeAutoMLJobOutput) SetAutoMLJobSecondaryStatus(v string) *DescribeAutoMLJobOutput {
38795	s.AutoMLJobSecondaryStatus = &v
38796	return s
38797}
38798
38799// SetAutoMLJobStatus sets the AutoMLJobStatus field's value.
38800func (s *DescribeAutoMLJobOutput) SetAutoMLJobStatus(v string) *DescribeAutoMLJobOutput {
38801	s.AutoMLJobStatus = &v
38802	return s
38803}
38804
38805// SetBestCandidate sets the BestCandidate field's value.
38806func (s *DescribeAutoMLJobOutput) SetBestCandidate(v *AutoMLCandidate) *DescribeAutoMLJobOutput {
38807	s.BestCandidate = v
38808	return s
38809}
38810
38811// SetCreationTime sets the CreationTime field's value.
38812func (s *DescribeAutoMLJobOutput) SetCreationTime(v time.Time) *DescribeAutoMLJobOutput {
38813	s.CreationTime = &v
38814	return s
38815}
38816
38817// SetEndTime sets the EndTime field's value.
38818func (s *DescribeAutoMLJobOutput) SetEndTime(v time.Time) *DescribeAutoMLJobOutput {
38819	s.EndTime = &v
38820	return s
38821}
38822
38823// SetFailureReason sets the FailureReason field's value.
38824func (s *DescribeAutoMLJobOutput) SetFailureReason(v string) *DescribeAutoMLJobOutput {
38825	s.FailureReason = &v
38826	return s
38827}
38828
38829// SetGenerateCandidateDefinitionsOnly sets the GenerateCandidateDefinitionsOnly field's value.
38830func (s *DescribeAutoMLJobOutput) SetGenerateCandidateDefinitionsOnly(v bool) *DescribeAutoMLJobOutput {
38831	s.GenerateCandidateDefinitionsOnly = &v
38832	return s
38833}
38834
38835// SetInputDataConfig sets the InputDataConfig field's value.
38836func (s *DescribeAutoMLJobOutput) SetInputDataConfig(v []*AutoMLChannel) *DescribeAutoMLJobOutput {
38837	s.InputDataConfig = v
38838	return s
38839}
38840
38841// SetLastModifiedTime sets the LastModifiedTime field's value.
38842func (s *DescribeAutoMLJobOutput) SetLastModifiedTime(v time.Time) *DescribeAutoMLJobOutput {
38843	s.LastModifiedTime = &v
38844	return s
38845}
38846
38847// SetModelDeployConfig sets the ModelDeployConfig field's value.
38848func (s *DescribeAutoMLJobOutput) SetModelDeployConfig(v *ModelDeployConfig) *DescribeAutoMLJobOutput {
38849	s.ModelDeployConfig = v
38850	return s
38851}
38852
38853// SetModelDeployResult sets the ModelDeployResult field's value.
38854func (s *DescribeAutoMLJobOutput) SetModelDeployResult(v *ModelDeployResult) *DescribeAutoMLJobOutput {
38855	s.ModelDeployResult = v
38856	return s
38857}
38858
38859// SetOutputDataConfig sets the OutputDataConfig field's value.
38860func (s *DescribeAutoMLJobOutput) SetOutputDataConfig(v *AutoMLOutputDataConfig) *DescribeAutoMLJobOutput {
38861	s.OutputDataConfig = v
38862	return s
38863}
38864
38865// SetPartialFailureReasons sets the PartialFailureReasons field's value.
38866func (s *DescribeAutoMLJobOutput) SetPartialFailureReasons(v []*AutoMLPartialFailureReason) *DescribeAutoMLJobOutput {
38867	s.PartialFailureReasons = v
38868	return s
38869}
38870
38871// SetProblemType sets the ProblemType field's value.
38872func (s *DescribeAutoMLJobOutput) SetProblemType(v string) *DescribeAutoMLJobOutput {
38873	s.ProblemType = &v
38874	return s
38875}
38876
38877// SetResolvedAttributes sets the ResolvedAttributes field's value.
38878func (s *DescribeAutoMLJobOutput) SetResolvedAttributes(v *ResolvedAttributes) *DescribeAutoMLJobOutput {
38879	s.ResolvedAttributes = v
38880	return s
38881}
38882
38883// SetRoleArn sets the RoleArn field's value.
38884func (s *DescribeAutoMLJobOutput) SetRoleArn(v string) *DescribeAutoMLJobOutput {
38885	s.RoleArn = &v
38886	return s
38887}
38888
38889type DescribeCodeRepositoryInput struct {
38890	_ struct{} `type:"structure"`
38891
38892	// The name of the Git repository to describe.
38893	//
38894	// CodeRepositoryName is a required field
38895	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
38896}
38897
38898// String returns the string representation
38899func (s DescribeCodeRepositoryInput) String() string {
38900	return awsutil.Prettify(s)
38901}
38902
38903// GoString returns the string representation
38904func (s DescribeCodeRepositoryInput) GoString() string {
38905	return s.String()
38906}
38907
38908// Validate inspects the fields of the type to determine if they are valid.
38909func (s *DescribeCodeRepositoryInput) Validate() error {
38910	invalidParams := request.ErrInvalidParams{Context: "DescribeCodeRepositoryInput"}
38911	if s.CodeRepositoryName == nil {
38912		invalidParams.Add(request.NewErrParamRequired("CodeRepositoryName"))
38913	}
38914	if s.CodeRepositoryName != nil && len(*s.CodeRepositoryName) < 1 {
38915		invalidParams.Add(request.NewErrParamMinLen("CodeRepositoryName", 1))
38916	}
38917
38918	if invalidParams.Len() > 0 {
38919		return invalidParams
38920	}
38921	return nil
38922}
38923
38924// SetCodeRepositoryName sets the CodeRepositoryName field's value.
38925func (s *DescribeCodeRepositoryInput) SetCodeRepositoryName(v string) *DescribeCodeRepositoryInput {
38926	s.CodeRepositoryName = &v
38927	return s
38928}
38929
38930type DescribeCodeRepositoryOutput struct {
38931	_ struct{} `type:"structure"`
38932
38933	// The Amazon Resource Name (ARN) of the Git repository.
38934	//
38935	// CodeRepositoryArn is a required field
38936	CodeRepositoryArn *string `min:"1" type:"string" required:"true"`
38937
38938	// The name of the Git repository.
38939	//
38940	// CodeRepositoryName is a required field
38941	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
38942
38943	// The date and time that the repository was created.
38944	//
38945	// CreationTime is a required field
38946	CreationTime *time.Time `type:"timestamp" required:"true"`
38947
38948	// Configuration details about the repository, including the URL where the repository
38949	// is located, the default branch, and the Amazon Resource Name (ARN) of the
38950	// AWS Secrets Manager secret that contains the credentials used to access the
38951	// repository.
38952	GitConfig *GitConfig `type:"structure"`
38953
38954	// The date and time that the repository was last changed.
38955	//
38956	// LastModifiedTime is a required field
38957	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
38958}
38959
38960// String returns the string representation
38961func (s DescribeCodeRepositoryOutput) String() string {
38962	return awsutil.Prettify(s)
38963}
38964
38965// GoString returns the string representation
38966func (s DescribeCodeRepositoryOutput) GoString() string {
38967	return s.String()
38968}
38969
38970// SetCodeRepositoryArn sets the CodeRepositoryArn field's value.
38971func (s *DescribeCodeRepositoryOutput) SetCodeRepositoryArn(v string) *DescribeCodeRepositoryOutput {
38972	s.CodeRepositoryArn = &v
38973	return s
38974}
38975
38976// SetCodeRepositoryName sets the CodeRepositoryName field's value.
38977func (s *DescribeCodeRepositoryOutput) SetCodeRepositoryName(v string) *DescribeCodeRepositoryOutput {
38978	s.CodeRepositoryName = &v
38979	return s
38980}
38981
38982// SetCreationTime sets the CreationTime field's value.
38983func (s *DescribeCodeRepositoryOutput) SetCreationTime(v time.Time) *DescribeCodeRepositoryOutput {
38984	s.CreationTime = &v
38985	return s
38986}
38987
38988// SetGitConfig sets the GitConfig field's value.
38989func (s *DescribeCodeRepositoryOutput) SetGitConfig(v *GitConfig) *DescribeCodeRepositoryOutput {
38990	s.GitConfig = v
38991	return s
38992}
38993
38994// SetLastModifiedTime sets the LastModifiedTime field's value.
38995func (s *DescribeCodeRepositoryOutput) SetLastModifiedTime(v time.Time) *DescribeCodeRepositoryOutput {
38996	s.LastModifiedTime = &v
38997	return s
38998}
38999
39000type DescribeCompilationJobInput struct {
39001	_ struct{} `type:"structure"`
39002
39003	// The name of the model compilation job that you want information about.
39004	//
39005	// CompilationJobName is a required field
39006	CompilationJobName *string `min:"1" type:"string" required:"true"`
39007}
39008
39009// String returns the string representation
39010func (s DescribeCompilationJobInput) String() string {
39011	return awsutil.Prettify(s)
39012}
39013
39014// GoString returns the string representation
39015func (s DescribeCompilationJobInput) GoString() string {
39016	return s.String()
39017}
39018
39019// Validate inspects the fields of the type to determine if they are valid.
39020func (s *DescribeCompilationJobInput) Validate() error {
39021	invalidParams := request.ErrInvalidParams{Context: "DescribeCompilationJobInput"}
39022	if s.CompilationJobName == nil {
39023		invalidParams.Add(request.NewErrParamRequired("CompilationJobName"))
39024	}
39025	if s.CompilationJobName != nil && len(*s.CompilationJobName) < 1 {
39026		invalidParams.Add(request.NewErrParamMinLen("CompilationJobName", 1))
39027	}
39028
39029	if invalidParams.Len() > 0 {
39030		return invalidParams
39031	}
39032	return nil
39033}
39034
39035// SetCompilationJobName sets the CompilationJobName field's value.
39036func (s *DescribeCompilationJobInput) SetCompilationJobName(v string) *DescribeCompilationJobInput {
39037	s.CompilationJobName = &v
39038	return s
39039}
39040
39041type DescribeCompilationJobOutput struct {
39042	_ struct{} `type:"structure"`
39043
39044	// The time when the model compilation job on a compilation job instance ended.
39045	// For a successful or stopped job, this is when the job's model artifacts have
39046	// finished uploading. For a failed job, this is when Amazon SageMaker detected
39047	// that the job failed.
39048	CompilationEndTime *time.Time `type:"timestamp"`
39049
39050	// The Amazon Resource Name (ARN) of the model compilation job.
39051	//
39052	// CompilationJobArn is a required field
39053	CompilationJobArn *string `type:"string" required:"true"`
39054
39055	// The name of the model compilation job.
39056	//
39057	// CompilationJobName is a required field
39058	CompilationJobName *string `min:"1" type:"string" required:"true"`
39059
39060	// The status of the model compilation job.
39061	//
39062	// CompilationJobStatus is a required field
39063	CompilationJobStatus *string `type:"string" required:"true" enum:"CompilationJobStatus"`
39064
39065	// The time when the model compilation job started the CompilationJob instances.
39066	//
39067	// You are billed for the time between this timestamp and the timestamp in the
39068	// DescribeCompilationJobResponse$CompilationEndTime field. In Amazon CloudWatch
39069	// Logs, the start time might be later than this time. That's because it takes
39070	// time to download the compilation job, which depends on the size of the compilation
39071	// job container.
39072	CompilationStartTime *time.Time `type:"timestamp"`
39073
39074	// The time that the model compilation job was created.
39075	//
39076	// CreationTime is a required field
39077	CreationTime *time.Time `type:"timestamp" required:"true"`
39078
39079	// If a model compilation job failed, the reason it failed.
39080	//
39081	// FailureReason is a required field
39082	FailureReason *string `type:"string" required:"true"`
39083
39084	// Information about the location in Amazon S3 of the input model artifacts,
39085	// the name and shape of the expected data inputs, and the framework in which
39086	// the model was trained.
39087	//
39088	// InputConfig is a required field
39089	InputConfig *InputConfig `type:"structure" required:"true"`
39090
39091	// The time that the status of the model compilation job was last modified.
39092	//
39093	// LastModifiedTime is a required field
39094	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
39095
39096	// Information about the location in Amazon S3 that has been configured for
39097	// storing the model artifacts used in the compilation job.
39098	//
39099	// ModelArtifacts is a required field
39100	ModelArtifacts *ModelArtifacts `type:"structure" required:"true"`
39101
39102	// Provides a BLAKE2 hash value that identifies the compiled model artifacts
39103	// in Amazon S3.
39104	ModelDigests *ModelDigests `type:"structure"`
39105
39106	// Information about the output location for the compiled model and the target
39107	// device that the model runs on.
39108	//
39109	// OutputConfig is a required field
39110	OutputConfig *OutputConfig `type:"structure" required:"true"`
39111
39112	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes
39113	// to perform the model compilation job.
39114	//
39115	// RoleArn is a required field
39116	RoleArn *string `min:"20" type:"string" required:"true"`
39117
39118	// Specifies a limit to how long a model compilation job can run. When the job
39119	// reaches the time limit, Amazon SageMaker ends the compilation job. Use this
39120	// API to cap model training costs.
39121	//
39122	// StoppingCondition is a required field
39123	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
39124}
39125
39126// String returns the string representation
39127func (s DescribeCompilationJobOutput) String() string {
39128	return awsutil.Prettify(s)
39129}
39130
39131// GoString returns the string representation
39132func (s DescribeCompilationJobOutput) GoString() string {
39133	return s.String()
39134}
39135
39136// SetCompilationEndTime sets the CompilationEndTime field's value.
39137func (s *DescribeCompilationJobOutput) SetCompilationEndTime(v time.Time) *DescribeCompilationJobOutput {
39138	s.CompilationEndTime = &v
39139	return s
39140}
39141
39142// SetCompilationJobArn sets the CompilationJobArn field's value.
39143func (s *DescribeCompilationJobOutput) SetCompilationJobArn(v string) *DescribeCompilationJobOutput {
39144	s.CompilationJobArn = &v
39145	return s
39146}
39147
39148// SetCompilationJobName sets the CompilationJobName field's value.
39149func (s *DescribeCompilationJobOutput) SetCompilationJobName(v string) *DescribeCompilationJobOutput {
39150	s.CompilationJobName = &v
39151	return s
39152}
39153
39154// SetCompilationJobStatus sets the CompilationJobStatus field's value.
39155func (s *DescribeCompilationJobOutput) SetCompilationJobStatus(v string) *DescribeCompilationJobOutput {
39156	s.CompilationJobStatus = &v
39157	return s
39158}
39159
39160// SetCompilationStartTime sets the CompilationStartTime field's value.
39161func (s *DescribeCompilationJobOutput) SetCompilationStartTime(v time.Time) *DescribeCompilationJobOutput {
39162	s.CompilationStartTime = &v
39163	return s
39164}
39165
39166// SetCreationTime sets the CreationTime field's value.
39167func (s *DescribeCompilationJobOutput) SetCreationTime(v time.Time) *DescribeCompilationJobOutput {
39168	s.CreationTime = &v
39169	return s
39170}
39171
39172// SetFailureReason sets the FailureReason field's value.
39173func (s *DescribeCompilationJobOutput) SetFailureReason(v string) *DescribeCompilationJobOutput {
39174	s.FailureReason = &v
39175	return s
39176}
39177
39178// SetInputConfig sets the InputConfig field's value.
39179func (s *DescribeCompilationJobOutput) SetInputConfig(v *InputConfig) *DescribeCompilationJobOutput {
39180	s.InputConfig = v
39181	return s
39182}
39183
39184// SetLastModifiedTime sets the LastModifiedTime field's value.
39185func (s *DescribeCompilationJobOutput) SetLastModifiedTime(v time.Time) *DescribeCompilationJobOutput {
39186	s.LastModifiedTime = &v
39187	return s
39188}
39189
39190// SetModelArtifacts sets the ModelArtifacts field's value.
39191func (s *DescribeCompilationJobOutput) SetModelArtifacts(v *ModelArtifacts) *DescribeCompilationJobOutput {
39192	s.ModelArtifacts = v
39193	return s
39194}
39195
39196// SetModelDigests sets the ModelDigests field's value.
39197func (s *DescribeCompilationJobOutput) SetModelDigests(v *ModelDigests) *DescribeCompilationJobOutput {
39198	s.ModelDigests = v
39199	return s
39200}
39201
39202// SetOutputConfig sets the OutputConfig field's value.
39203func (s *DescribeCompilationJobOutput) SetOutputConfig(v *OutputConfig) *DescribeCompilationJobOutput {
39204	s.OutputConfig = v
39205	return s
39206}
39207
39208// SetRoleArn sets the RoleArn field's value.
39209func (s *DescribeCompilationJobOutput) SetRoleArn(v string) *DescribeCompilationJobOutput {
39210	s.RoleArn = &v
39211	return s
39212}
39213
39214// SetStoppingCondition sets the StoppingCondition field's value.
39215func (s *DescribeCompilationJobOutput) SetStoppingCondition(v *StoppingCondition) *DescribeCompilationJobOutput {
39216	s.StoppingCondition = v
39217	return s
39218}
39219
39220type DescribeContextInput struct {
39221	_ struct{} `type:"structure"`
39222
39223	// The name of the context to describe.
39224	//
39225	// ContextName is a required field
39226	ContextName *string `min:"1" type:"string" required:"true"`
39227}
39228
39229// String returns the string representation
39230func (s DescribeContextInput) String() string {
39231	return awsutil.Prettify(s)
39232}
39233
39234// GoString returns the string representation
39235func (s DescribeContextInput) GoString() string {
39236	return s.String()
39237}
39238
39239// Validate inspects the fields of the type to determine if they are valid.
39240func (s *DescribeContextInput) Validate() error {
39241	invalidParams := request.ErrInvalidParams{Context: "DescribeContextInput"}
39242	if s.ContextName == nil {
39243		invalidParams.Add(request.NewErrParamRequired("ContextName"))
39244	}
39245	if s.ContextName != nil && len(*s.ContextName) < 1 {
39246		invalidParams.Add(request.NewErrParamMinLen("ContextName", 1))
39247	}
39248
39249	if invalidParams.Len() > 0 {
39250		return invalidParams
39251	}
39252	return nil
39253}
39254
39255// SetContextName sets the ContextName field's value.
39256func (s *DescribeContextInput) SetContextName(v string) *DescribeContextInput {
39257	s.ContextName = &v
39258	return s
39259}
39260
39261type DescribeContextOutput struct {
39262	_ struct{} `type:"structure"`
39263
39264	// The Amazon Resource Name (ARN) of the context.
39265	ContextArn *string `type:"string"`
39266
39267	// The name of the context.
39268	ContextName *string `min:"1" type:"string"`
39269
39270	// The type of the context.
39271	ContextType *string `type:"string"`
39272
39273	// Information about the user who created or modified an experiment, trial,
39274	// or trial component.
39275	CreatedBy *UserContext `type:"structure"`
39276
39277	// When the context was created.
39278	CreationTime *time.Time `type:"timestamp"`
39279
39280	// The description of the context.
39281	Description *string `type:"string"`
39282
39283	// Information about the user who created or modified an experiment, trial,
39284	// or trial component.
39285	LastModifiedBy *UserContext `type:"structure"`
39286
39287	// When the context was last modified.
39288	LastModifiedTime *time.Time `type:"timestamp"`
39289
39290	// A list of the context's properties.
39291	Properties map[string]*string `type:"map"`
39292
39293	// The source of the context.
39294	Source *ContextSource `type:"structure"`
39295}
39296
39297// String returns the string representation
39298func (s DescribeContextOutput) String() string {
39299	return awsutil.Prettify(s)
39300}
39301
39302// GoString returns the string representation
39303func (s DescribeContextOutput) GoString() string {
39304	return s.String()
39305}
39306
39307// SetContextArn sets the ContextArn field's value.
39308func (s *DescribeContextOutput) SetContextArn(v string) *DescribeContextOutput {
39309	s.ContextArn = &v
39310	return s
39311}
39312
39313// SetContextName sets the ContextName field's value.
39314func (s *DescribeContextOutput) SetContextName(v string) *DescribeContextOutput {
39315	s.ContextName = &v
39316	return s
39317}
39318
39319// SetContextType sets the ContextType field's value.
39320func (s *DescribeContextOutput) SetContextType(v string) *DescribeContextOutput {
39321	s.ContextType = &v
39322	return s
39323}
39324
39325// SetCreatedBy sets the CreatedBy field's value.
39326func (s *DescribeContextOutput) SetCreatedBy(v *UserContext) *DescribeContextOutput {
39327	s.CreatedBy = v
39328	return s
39329}
39330
39331// SetCreationTime sets the CreationTime field's value.
39332func (s *DescribeContextOutput) SetCreationTime(v time.Time) *DescribeContextOutput {
39333	s.CreationTime = &v
39334	return s
39335}
39336
39337// SetDescription sets the Description field's value.
39338func (s *DescribeContextOutput) SetDescription(v string) *DescribeContextOutput {
39339	s.Description = &v
39340	return s
39341}
39342
39343// SetLastModifiedBy sets the LastModifiedBy field's value.
39344func (s *DescribeContextOutput) SetLastModifiedBy(v *UserContext) *DescribeContextOutput {
39345	s.LastModifiedBy = v
39346	return s
39347}
39348
39349// SetLastModifiedTime sets the LastModifiedTime field's value.
39350func (s *DescribeContextOutput) SetLastModifiedTime(v time.Time) *DescribeContextOutput {
39351	s.LastModifiedTime = &v
39352	return s
39353}
39354
39355// SetProperties sets the Properties field's value.
39356func (s *DescribeContextOutput) SetProperties(v map[string]*string) *DescribeContextOutput {
39357	s.Properties = v
39358	return s
39359}
39360
39361// SetSource sets the Source field's value.
39362func (s *DescribeContextOutput) SetSource(v *ContextSource) *DescribeContextOutput {
39363	s.Source = v
39364	return s
39365}
39366
39367type DescribeDataQualityJobDefinitionInput struct {
39368	_ struct{} `type:"structure"`
39369
39370	// The name of the data quality monitoring job definition to describe.
39371	//
39372	// JobDefinitionName is a required field
39373	JobDefinitionName *string `min:"1" type:"string" required:"true"`
39374}
39375
39376// String returns the string representation
39377func (s DescribeDataQualityJobDefinitionInput) String() string {
39378	return awsutil.Prettify(s)
39379}
39380
39381// GoString returns the string representation
39382func (s DescribeDataQualityJobDefinitionInput) GoString() string {
39383	return s.String()
39384}
39385
39386// Validate inspects the fields of the type to determine if they are valid.
39387func (s *DescribeDataQualityJobDefinitionInput) Validate() error {
39388	invalidParams := request.ErrInvalidParams{Context: "DescribeDataQualityJobDefinitionInput"}
39389	if s.JobDefinitionName == nil {
39390		invalidParams.Add(request.NewErrParamRequired("JobDefinitionName"))
39391	}
39392	if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 {
39393		invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1))
39394	}
39395
39396	if invalidParams.Len() > 0 {
39397		return invalidParams
39398	}
39399	return nil
39400}
39401
39402// SetJobDefinitionName sets the JobDefinitionName field's value.
39403func (s *DescribeDataQualityJobDefinitionInput) SetJobDefinitionName(v string) *DescribeDataQualityJobDefinitionInput {
39404	s.JobDefinitionName = &v
39405	return s
39406}
39407
39408type DescribeDataQualityJobDefinitionOutput struct {
39409	_ struct{} `type:"structure"`
39410
39411	// The time that the data quality monitoring job definition was created.
39412	//
39413	// CreationTime is a required field
39414	CreationTime *time.Time `type:"timestamp" required:"true"`
39415
39416	// Information about the container that runs the data quality monitoring job.
39417	//
39418	// DataQualityAppSpecification is a required field
39419	DataQualityAppSpecification *DataQualityAppSpecification `type:"structure" required:"true"`
39420
39421	// The constraints and baselines for the data quality monitoring job definition.
39422	DataQualityBaselineConfig *DataQualityBaselineConfig `type:"structure"`
39423
39424	// The list of inputs for the data quality monitoring job. Currently endpoints
39425	// are supported.
39426	//
39427	// DataQualityJobInput is a required field
39428	DataQualityJobInput *DataQualityJobInput `type:"structure" required:"true"`
39429
39430	// The output configuration for monitoring jobs.
39431	//
39432	// DataQualityJobOutputConfig is a required field
39433	DataQualityJobOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"`
39434
39435	// The Amazon Resource Name (ARN) of the data quality monitoring job definition.
39436	//
39437	// JobDefinitionArn is a required field
39438	JobDefinitionArn *string `type:"string" required:"true"`
39439
39440	// The name of the data quality monitoring job definition.
39441	//
39442	// JobDefinitionName is a required field
39443	JobDefinitionName *string `min:"1" type:"string" required:"true"`
39444
39445	// Identifies the resources to deploy for a monitoring job.
39446	//
39447	// JobResources is a required field
39448	JobResources *MonitoringResources `type:"structure" required:"true"`
39449
39450	// The networking configuration for the data quality monitoring job.
39451	NetworkConfig *MonitoringNetworkConfig `type:"structure"`
39452
39453	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
39454	// to perform tasks on your behalf.
39455	//
39456	// RoleArn is a required field
39457	RoleArn *string `min:"20" type:"string" required:"true"`
39458
39459	// A time limit for how long the monitoring job is allowed to run before stopping.
39460	StoppingCondition *MonitoringStoppingCondition `type:"structure"`
39461}
39462
39463// String returns the string representation
39464func (s DescribeDataQualityJobDefinitionOutput) String() string {
39465	return awsutil.Prettify(s)
39466}
39467
39468// GoString returns the string representation
39469func (s DescribeDataQualityJobDefinitionOutput) GoString() string {
39470	return s.String()
39471}
39472
39473// SetCreationTime sets the CreationTime field's value.
39474func (s *DescribeDataQualityJobDefinitionOutput) SetCreationTime(v time.Time) *DescribeDataQualityJobDefinitionOutput {
39475	s.CreationTime = &v
39476	return s
39477}
39478
39479// SetDataQualityAppSpecification sets the DataQualityAppSpecification field's value.
39480func (s *DescribeDataQualityJobDefinitionOutput) SetDataQualityAppSpecification(v *DataQualityAppSpecification) *DescribeDataQualityJobDefinitionOutput {
39481	s.DataQualityAppSpecification = v
39482	return s
39483}
39484
39485// SetDataQualityBaselineConfig sets the DataQualityBaselineConfig field's value.
39486func (s *DescribeDataQualityJobDefinitionOutput) SetDataQualityBaselineConfig(v *DataQualityBaselineConfig) *DescribeDataQualityJobDefinitionOutput {
39487	s.DataQualityBaselineConfig = v
39488	return s
39489}
39490
39491// SetDataQualityJobInput sets the DataQualityJobInput field's value.
39492func (s *DescribeDataQualityJobDefinitionOutput) SetDataQualityJobInput(v *DataQualityJobInput) *DescribeDataQualityJobDefinitionOutput {
39493	s.DataQualityJobInput = v
39494	return s
39495}
39496
39497// SetDataQualityJobOutputConfig sets the DataQualityJobOutputConfig field's value.
39498func (s *DescribeDataQualityJobDefinitionOutput) SetDataQualityJobOutputConfig(v *MonitoringOutputConfig) *DescribeDataQualityJobDefinitionOutput {
39499	s.DataQualityJobOutputConfig = v
39500	return s
39501}
39502
39503// SetJobDefinitionArn sets the JobDefinitionArn field's value.
39504func (s *DescribeDataQualityJobDefinitionOutput) SetJobDefinitionArn(v string) *DescribeDataQualityJobDefinitionOutput {
39505	s.JobDefinitionArn = &v
39506	return s
39507}
39508
39509// SetJobDefinitionName sets the JobDefinitionName field's value.
39510func (s *DescribeDataQualityJobDefinitionOutput) SetJobDefinitionName(v string) *DescribeDataQualityJobDefinitionOutput {
39511	s.JobDefinitionName = &v
39512	return s
39513}
39514
39515// SetJobResources sets the JobResources field's value.
39516func (s *DescribeDataQualityJobDefinitionOutput) SetJobResources(v *MonitoringResources) *DescribeDataQualityJobDefinitionOutput {
39517	s.JobResources = v
39518	return s
39519}
39520
39521// SetNetworkConfig sets the NetworkConfig field's value.
39522func (s *DescribeDataQualityJobDefinitionOutput) SetNetworkConfig(v *MonitoringNetworkConfig) *DescribeDataQualityJobDefinitionOutput {
39523	s.NetworkConfig = v
39524	return s
39525}
39526
39527// SetRoleArn sets the RoleArn field's value.
39528func (s *DescribeDataQualityJobDefinitionOutput) SetRoleArn(v string) *DescribeDataQualityJobDefinitionOutput {
39529	s.RoleArn = &v
39530	return s
39531}
39532
39533// SetStoppingCondition sets the StoppingCondition field's value.
39534func (s *DescribeDataQualityJobDefinitionOutput) SetStoppingCondition(v *MonitoringStoppingCondition) *DescribeDataQualityJobDefinitionOutput {
39535	s.StoppingCondition = v
39536	return s
39537}
39538
39539type DescribeDeviceFleetInput struct {
39540	_ struct{} `type:"structure"`
39541
39542	// The name of the fleet.
39543	//
39544	// DeviceFleetName is a required field
39545	DeviceFleetName *string `min:"1" type:"string" required:"true"`
39546}
39547
39548// String returns the string representation
39549func (s DescribeDeviceFleetInput) String() string {
39550	return awsutil.Prettify(s)
39551}
39552
39553// GoString returns the string representation
39554func (s DescribeDeviceFleetInput) GoString() string {
39555	return s.String()
39556}
39557
39558// Validate inspects the fields of the type to determine if they are valid.
39559func (s *DescribeDeviceFleetInput) Validate() error {
39560	invalidParams := request.ErrInvalidParams{Context: "DescribeDeviceFleetInput"}
39561	if s.DeviceFleetName == nil {
39562		invalidParams.Add(request.NewErrParamRequired("DeviceFleetName"))
39563	}
39564	if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 {
39565		invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1))
39566	}
39567
39568	if invalidParams.Len() > 0 {
39569		return invalidParams
39570	}
39571	return nil
39572}
39573
39574// SetDeviceFleetName sets the DeviceFleetName field's value.
39575func (s *DescribeDeviceFleetInput) SetDeviceFleetName(v string) *DescribeDeviceFleetInput {
39576	s.DeviceFleetName = &v
39577	return s
39578}
39579
39580type DescribeDeviceFleetOutput struct {
39581	_ struct{} `type:"structure"`
39582
39583	// Timestamp of when the device fleet was created.
39584	//
39585	// CreationTime is a required field
39586	CreationTime *time.Time `type:"timestamp" required:"true"`
39587
39588	// A description of the fleet.
39589	Description *string `min:"1" type:"string"`
39590
39591	// The The Amazon Resource Name (ARN) of the fleet.
39592	//
39593	// DeviceFleetArn is a required field
39594	DeviceFleetArn *string `type:"string" required:"true"`
39595
39596	// The name of the fleet.
39597	//
39598	// DeviceFleetName is a required field
39599	DeviceFleetName *string `min:"1" type:"string" required:"true"`
39600
39601	// The Amazon Resource Name (ARN) alias created in AWS Internet of Things (IoT).
39602	IotRoleAlias *string `type:"string"`
39603
39604	// Timestamp of when the device fleet was last updated.
39605	//
39606	// LastModifiedTime is a required field
39607	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
39608
39609	// The output configuration for storing sampled data.
39610	//
39611	// OutputConfig is a required field
39612	OutputConfig *EdgeOutputConfig `type:"structure" required:"true"`
39613
39614	// The Amazon Resource Name (ARN) that has access to AWS Internet of Things
39615	// (IoT).
39616	RoleArn *string `min:"20" type:"string"`
39617}
39618
39619// String returns the string representation
39620func (s DescribeDeviceFleetOutput) String() string {
39621	return awsutil.Prettify(s)
39622}
39623
39624// GoString returns the string representation
39625func (s DescribeDeviceFleetOutput) GoString() string {
39626	return s.String()
39627}
39628
39629// SetCreationTime sets the CreationTime field's value.
39630func (s *DescribeDeviceFleetOutput) SetCreationTime(v time.Time) *DescribeDeviceFleetOutput {
39631	s.CreationTime = &v
39632	return s
39633}
39634
39635// SetDescription sets the Description field's value.
39636func (s *DescribeDeviceFleetOutput) SetDescription(v string) *DescribeDeviceFleetOutput {
39637	s.Description = &v
39638	return s
39639}
39640
39641// SetDeviceFleetArn sets the DeviceFleetArn field's value.
39642func (s *DescribeDeviceFleetOutput) SetDeviceFleetArn(v string) *DescribeDeviceFleetOutput {
39643	s.DeviceFleetArn = &v
39644	return s
39645}
39646
39647// SetDeviceFleetName sets the DeviceFleetName field's value.
39648func (s *DescribeDeviceFleetOutput) SetDeviceFleetName(v string) *DescribeDeviceFleetOutput {
39649	s.DeviceFleetName = &v
39650	return s
39651}
39652
39653// SetIotRoleAlias sets the IotRoleAlias field's value.
39654func (s *DescribeDeviceFleetOutput) SetIotRoleAlias(v string) *DescribeDeviceFleetOutput {
39655	s.IotRoleAlias = &v
39656	return s
39657}
39658
39659// SetLastModifiedTime sets the LastModifiedTime field's value.
39660func (s *DescribeDeviceFleetOutput) SetLastModifiedTime(v time.Time) *DescribeDeviceFleetOutput {
39661	s.LastModifiedTime = &v
39662	return s
39663}
39664
39665// SetOutputConfig sets the OutputConfig field's value.
39666func (s *DescribeDeviceFleetOutput) SetOutputConfig(v *EdgeOutputConfig) *DescribeDeviceFleetOutput {
39667	s.OutputConfig = v
39668	return s
39669}
39670
39671// SetRoleArn sets the RoleArn field's value.
39672func (s *DescribeDeviceFleetOutput) SetRoleArn(v string) *DescribeDeviceFleetOutput {
39673	s.RoleArn = &v
39674	return s
39675}
39676
39677type DescribeDeviceInput struct {
39678	_ struct{} `type:"structure"`
39679
39680	// The name of the fleet the devices belong to.
39681	//
39682	// DeviceFleetName is a required field
39683	DeviceFleetName *string `min:"1" type:"string" required:"true"`
39684
39685	// The unique ID of the device.
39686	//
39687	// DeviceName is a required field
39688	DeviceName *string `min:"1" type:"string" required:"true"`
39689
39690	// Next token of device description.
39691	NextToken *string `type:"string"`
39692}
39693
39694// String returns the string representation
39695func (s DescribeDeviceInput) String() string {
39696	return awsutil.Prettify(s)
39697}
39698
39699// GoString returns the string representation
39700func (s DescribeDeviceInput) GoString() string {
39701	return s.String()
39702}
39703
39704// Validate inspects the fields of the type to determine if they are valid.
39705func (s *DescribeDeviceInput) Validate() error {
39706	invalidParams := request.ErrInvalidParams{Context: "DescribeDeviceInput"}
39707	if s.DeviceFleetName == nil {
39708		invalidParams.Add(request.NewErrParamRequired("DeviceFleetName"))
39709	}
39710	if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 {
39711		invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1))
39712	}
39713	if s.DeviceName == nil {
39714		invalidParams.Add(request.NewErrParamRequired("DeviceName"))
39715	}
39716	if s.DeviceName != nil && len(*s.DeviceName) < 1 {
39717		invalidParams.Add(request.NewErrParamMinLen("DeviceName", 1))
39718	}
39719
39720	if invalidParams.Len() > 0 {
39721		return invalidParams
39722	}
39723	return nil
39724}
39725
39726// SetDeviceFleetName sets the DeviceFleetName field's value.
39727func (s *DescribeDeviceInput) SetDeviceFleetName(v string) *DescribeDeviceInput {
39728	s.DeviceFleetName = &v
39729	return s
39730}
39731
39732// SetDeviceName sets the DeviceName field's value.
39733func (s *DescribeDeviceInput) SetDeviceName(v string) *DescribeDeviceInput {
39734	s.DeviceName = &v
39735	return s
39736}
39737
39738// SetNextToken sets the NextToken field's value.
39739func (s *DescribeDeviceInput) SetNextToken(v string) *DescribeDeviceInput {
39740	s.NextToken = &v
39741	return s
39742}
39743
39744type DescribeDeviceOutput struct {
39745	_ struct{} `type:"structure"`
39746
39747	// A description of the device.
39748	Description *string `min:"1" type:"string"`
39749
39750	// The Amazon Resource Name (ARN) of the device.
39751	DeviceArn *string `min:"20" type:"string"`
39752
39753	// The name of the fleet the device belongs to.
39754	//
39755	// DeviceFleetName is a required field
39756	DeviceFleetName *string `min:"1" type:"string" required:"true"`
39757
39758	// The unique identifier of the device.
39759	//
39760	// DeviceName is a required field
39761	DeviceName *string `min:"1" type:"string" required:"true"`
39762
39763	// The AWS Internet of Things (IoT) object thing name associated with the device.
39764	IotThingName *string `type:"string"`
39765
39766	// The last heartbeat received from the device.
39767	LatestHeartbeat *time.Time `type:"timestamp"`
39768
39769	// The maximum number of models.
39770	MaxModels *int64 `type:"integer"`
39771
39772	// Models on the device.
39773	Models []*EdgeModel `type:"list"`
39774
39775	// The response from the last list when returning a list large enough to need
39776	// tokening.
39777	NextToken *string `type:"string"`
39778
39779	// The timestamp of the last registration or de-reregistration.
39780	//
39781	// RegistrationTime is a required field
39782	RegistrationTime *time.Time `type:"timestamp" required:"true"`
39783}
39784
39785// String returns the string representation
39786func (s DescribeDeviceOutput) String() string {
39787	return awsutil.Prettify(s)
39788}
39789
39790// GoString returns the string representation
39791func (s DescribeDeviceOutput) GoString() string {
39792	return s.String()
39793}
39794
39795// SetDescription sets the Description field's value.
39796func (s *DescribeDeviceOutput) SetDescription(v string) *DescribeDeviceOutput {
39797	s.Description = &v
39798	return s
39799}
39800
39801// SetDeviceArn sets the DeviceArn field's value.
39802func (s *DescribeDeviceOutput) SetDeviceArn(v string) *DescribeDeviceOutput {
39803	s.DeviceArn = &v
39804	return s
39805}
39806
39807// SetDeviceFleetName sets the DeviceFleetName field's value.
39808func (s *DescribeDeviceOutput) SetDeviceFleetName(v string) *DescribeDeviceOutput {
39809	s.DeviceFleetName = &v
39810	return s
39811}
39812
39813// SetDeviceName sets the DeviceName field's value.
39814func (s *DescribeDeviceOutput) SetDeviceName(v string) *DescribeDeviceOutput {
39815	s.DeviceName = &v
39816	return s
39817}
39818
39819// SetIotThingName sets the IotThingName field's value.
39820func (s *DescribeDeviceOutput) SetIotThingName(v string) *DescribeDeviceOutput {
39821	s.IotThingName = &v
39822	return s
39823}
39824
39825// SetLatestHeartbeat sets the LatestHeartbeat field's value.
39826func (s *DescribeDeviceOutput) SetLatestHeartbeat(v time.Time) *DescribeDeviceOutput {
39827	s.LatestHeartbeat = &v
39828	return s
39829}
39830
39831// SetMaxModels sets the MaxModels field's value.
39832func (s *DescribeDeviceOutput) SetMaxModels(v int64) *DescribeDeviceOutput {
39833	s.MaxModels = &v
39834	return s
39835}
39836
39837// SetModels sets the Models field's value.
39838func (s *DescribeDeviceOutput) SetModels(v []*EdgeModel) *DescribeDeviceOutput {
39839	s.Models = v
39840	return s
39841}
39842
39843// SetNextToken sets the NextToken field's value.
39844func (s *DescribeDeviceOutput) SetNextToken(v string) *DescribeDeviceOutput {
39845	s.NextToken = &v
39846	return s
39847}
39848
39849// SetRegistrationTime sets the RegistrationTime field's value.
39850func (s *DescribeDeviceOutput) SetRegistrationTime(v time.Time) *DescribeDeviceOutput {
39851	s.RegistrationTime = &v
39852	return s
39853}
39854
39855type DescribeDomainInput struct {
39856	_ struct{} `type:"structure"`
39857
39858	// The domain ID.
39859	//
39860	// DomainId is a required field
39861	DomainId *string `type:"string" required:"true"`
39862}
39863
39864// String returns the string representation
39865func (s DescribeDomainInput) String() string {
39866	return awsutil.Prettify(s)
39867}
39868
39869// GoString returns the string representation
39870func (s DescribeDomainInput) GoString() string {
39871	return s.String()
39872}
39873
39874// Validate inspects the fields of the type to determine if they are valid.
39875func (s *DescribeDomainInput) Validate() error {
39876	invalidParams := request.ErrInvalidParams{Context: "DescribeDomainInput"}
39877	if s.DomainId == nil {
39878		invalidParams.Add(request.NewErrParamRequired("DomainId"))
39879	}
39880
39881	if invalidParams.Len() > 0 {
39882		return invalidParams
39883	}
39884	return nil
39885}
39886
39887// SetDomainId sets the DomainId field's value.
39888func (s *DescribeDomainInput) SetDomainId(v string) *DescribeDomainInput {
39889	s.DomainId = &v
39890	return s
39891}
39892
39893type DescribeDomainOutput struct {
39894	_ struct{} `type:"structure"`
39895
39896	// Specifies the VPC used for non-EFS traffic. The default value is PublicInternetOnly.
39897	//
39898	//    * PublicInternetOnly - Non-EFS traffic is through a VPC managed by Amazon
39899	//    SageMaker, which allows direct internet access
39900	//
39901	//    * VpcOnly - All Studio traffic is through the specified VPC and subnets
39902	AppNetworkAccessType *string `type:"string" enum:"AppNetworkAccessType"`
39903
39904	// The domain's authentication mode.
39905	AuthMode *string `type:"string" enum:"AuthMode"`
39906
39907	// The creation time.
39908	CreationTime *time.Time `type:"timestamp"`
39909
39910	// Settings which are applied to UserProfiles in this domain if settings are
39911	// not explicitly specified in a given UserProfile.
39912	DefaultUserSettings *UserSettings `type:"structure"`
39913
39914	// The domain's Amazon Resource Name (ARN).
39915	DomainArn *string `type:"string"`
39916
39917	// The domain ID.
39918	DomainId *string `type:"string"`
39919
39920	// The domain name.
39921	DomainName *string `type:"string"`
39922
39923	// The failure reason.
39924	FailureReason *string `type:"string"`
39925
39926	// The ID of the Amazon Elastic File System (EFS) managed by this Domain.
39927	HomeEfsFileSystemId *string `type:"string"`
39928
39929	// This member is deprecated and replaced with KmsKeyId.
39930	//
39931	// Deprecated: This property is deprecated, use KmsKeyId instead.
39932	HomeEfsFileSystemKmsKeyId *string `deprecated:"true" type:"string"`
39933
39934	// The AWS KMS customer managed CMK used to encrypt the EFS volume attached
39935	// to the domain.
39936	KmsKeyId *string `type:"string"`
39937
39938	// The last modified time.
39939	LastModifiedTime *time.Time `type:"timestamp"`
39940
39941	// The SSO managed application instance ID.
39942	SingleSignOnManagedApplicationInstanceId *string `type:"string"`
39943
39944	// The status.
39945	Status *string `type:"string" enum:"DomainStatus"`
39946
39947	// The VPC subnets that Studio uses for communication.
39948	SubnetIds []*string `min:"1" type:"list"`
39949
39950	// The domain's URL.
39951	Url *string `type:"string"`
39952
39953	// The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.
39954	VpcId *string `type:"string"`
39955}
39956
39957// String returns the string representation
39958func (s DescribeDomainOutput) String() string {
39959	return awsutil.Prettify(s)
39960}
39961
39962// GoString returns the string representation
39963func (s DescribeDomainOutput) GoString() string {
39964	return s.String()
39965}
39966
39967// SetAppNetworkAccessType sets the AppNetworkAccessType field's value.
39968func (s *DescribeDomainOutput) SetAppNetworkAccessType(v string) *DescribeDomainOutput {
39969	s.AppNetworkAccessType = &v
39970	return s
39971}
39972
39973// SetAuthMode sets the AuthMode field's value.
39974func (s *DescribeDomainOutput) SetAuthMode(v string) *DescribeDomainOutput {
39975	s.AuthMode = &v
39976	return s
39977}
39978
39979// SetCreationTime sets the CreationTime field's value.
39980func (s *DescribeDomainOutput) SetCreationTime(v time.Time) *DescribeDomainOutput {
39981	s.CreationTime = &v
39982	return s
39983}
39984
39985// SetDefaultUserSettings sets the DefaultUserSettings field's value.
39986func (s *DescribeDomainOutput) SetDefaultUserSettings(v *UserSettings) *DescribeDomainOutput {
39987	s.DefaultUserSettings = v
39988	return s
39989}
39990
39991// SetDomainArn sets the DomainArn field's value.
39992func (s *DescribeDomainOutput) SetDomainArn(v string) *DescribeDomainOutput {
39993	s.DomainArn = &v
39994	return s
39995}
39996
39997// SetDomainId sets the DomainId field's value.
39998func (s *DescribeDomainOutput) SetDomainId(v string) *DescribeDomainOutput {
39999	s.DomainId = &v
40000	return s
40001}
40002
40003// SetDomainName sets the DomainName field's value.
40004func (s *DescribeDomainOutput) SetDomainName(v string) *DescribeDomainOutput {
40005	s.DomainName = &v
40006	return s
40007}
40008
40009// SetFailureReason sets the FailureReason field's value.
40010func (s *DescribeDomainOutput) SetFailureReason(v string) *DescribeDomainOutput {
40011	s.FailureReason = &v
40012	return s
40013}
40014
40015// SetHomeEfsFileSystemId sets the HomeEfsFileSystemId field's value.
40016func (s *DescribeDomainOutput) SetHomeEfsFileSystemId(v string) *DescribeDomainOutput {
40017	s.HomeEfsFileSystemId = &v
40018	return s
40019}
40020
40021// SetHomeEfsFileSystemKmsKeyId sets the HomeEfsFileSystemKmsKeyId field's value.
40022func (s *DescribeDomainOutput) SetHomeEfsFileSystemKmsKeyId(v string) *DescribeDomainOutput {
40023	s.HomeEfsFileSystemKmsKeyId = &v
40024	return s
40025}
40026
40027// SetKmsKeyId sets the KmsKeyId field's value.
40028func (s *DescribeDomainOutput) SetKmsKeyId(v string) *DescribeDomainOutput {
40029	s.KmsKeyId = &v
40030	return s
40031}
40032
40033// SetLastModifiedTime sets the LastModifiedTime field's value.
40034func (s *DescribeDomainOutput) SetLastModifiedTime(v time.Time) *DescribeDomainOutput {
40035	s.LastModifiedTime = &v
40036	return s
40037}
40038
40039// SetSingleSignOnManagedApplicationInstanceId sets the SingleSignOnManagedApplicationInstanceId field's value.
40040func (s *DescribeDomainOutput) SetSingleSignOnManagedApplicationInstanceId(v string) *DescribeDomainOutput {
40041	s.SingleSignOnManagedApplicationInstanceId = &v
40042	return s
40043}
40044
40045// SetStatus sets the Status field's value.
40046func (s *DescribeDomainOutput) SetStatus(v string) *DescribeDomainOutput {
40047	s.Status = &v
40048	return s
40049}
40050
40051// SetSubnetIds sets the SubnetIds field's value.
40052func (s *DescribeDomainOutput) SetSubnetIds(v []*string) *DescribeDomainOutput {
40053	s.SubnetIds = v
40054	return s
40055}
40056
40057// SetUrl sets the Url field's value.
40058func (s *DescribeDomainOutput) SetUrl(v string) *DescribeDomainOutput {
40059	s.Url = &v
40060	return s
40061}
40062
40063// SetVpcId sets the VpcId field's value.
40064func (s *DescribeDomainOutput) SetVpcId(v string) *DescribeDomainOutput {
40065	s.VpcId = &v
40066	return s
40067}
40068
40069type DescribeEdgePackagingJobInput struct {
40070	_ struct{} `type:"structure"`
40071
40072	// The name of the edge packaging job.
40073	//
40074	// EdgePackagingJobName is a required field
40075	EdgePackagingJobName *string `min:"1" type:"string" required:"true"`
40076}
40077
40078// String returns the string representation
40079func (s DescribeEdgePackagingJobInput) String() string {
40080	return awsutil.Prettify(s)
40081}
40082
40083// GoString returns the string representation
40084func (s DescribeEdgePackagingJobInput) GoString() string {
40085	return s.String()
40086}
40087
40088// Validate inspects the fields of the type to determine if they are valid.
40089func (s *DescribeEdgePackagingJobInput) Validate() error {
40090	invalidParams := request.ErrInvalidParams{Context: "DescribeEdgePackagingJobInput"}
40091	if s.EdgePackagingJobName == nil {
40092		invalidParams.Add(request.NewErrParamRequired("EdgePackagingJobName"))
40093	}
40094	if s.EdgePackagingJobName != nil && len(*s.EdgePackagingJobName) < 1 {
40095		invalidParams.Add(request.NewErrParamMinLen("EdgePackagingJobName", 1))
40096	}
40097
40098	if invalidParams.Len() > 0 {
40099		return invalidParams
40100	}
40101	return nil
40102}
40103
40104// SetEdgePackagingJobName sets the EdgePackagingJobName field's value.
40105func (s *DescribeEdgePackagingJobInput) SetEdgePackagingJobName(v string) *DescribeEdgePackagingJobInput {
40106	s.EdgePackagingJobName = &v
40107	return s
40108}
40109
40110type DescribeEdgePackagingJobOutput struct {
40111	_ struct{} `type:"structure"`
40112
40113	// The name of the SageMaker Neo compilation job that is used to locate model
40114	// artifacts that are being packaged.
40115	CompilationJobName *string `min:"1" type:"string"`
40116
40117	// The timestamp of when the packaging job was created.
40118	CreationTime *time.Time `type:"timestamp"`
40119
40120	// The Amazon Resource Name (ARN) of the edge packaging job.
40121	//
40122	// EdgePackagingJobArn is a required field
40123	EdgePackagingJobArn *string `min:"20" type:"string" required:"true"`
40124
40125	// The name of the edge packaging job.
40126	//
40127	// EdgePackagingJobName is a required field
40128	EdgePackagingJobName *string `min:"1" type:"string" required:"true"`
40129
40130	// The current status of the packaging job.
40131	//
40132	// EdgePackagingJobStatus is a required field
40133	EdgePackagingJobStatus *string `type:"string" required:"true" enum:"EdgePackagingJobStatus"`
40134
40135	// Returns a message describing the job status and error messages.
40136	EdgePackagingJobStatusMessage *string `type:"string"`
40137
40138	// The timestamp of when the job was last updated.
40139	LastModifiedTime *time.Time `type:"timestamp"`
40140
40141	// The Amazon Simple Storage (S3) URI where model artifacts ares stored.
40142	ModelArtifact *string `type:"string"`
40143
40144	// The name of the model.
40145	ModelName *string `min:"1" type:"string"`
40146
40147	// The signature document of files in the model artifact.
40148	ModelSignature *string `type:"string"`
40149
40150	// The version of the model.
40151	ModelVersion *string `min:"1" type:"string"`
40152
40153	// The output configuration for the edge packaging job.
40154	OutputConfig *EdgeOutputConfig `type:"structure"`
40155
40156	// The CMK to use when encrypting the EBS volume the job run on.
40157	ResourceKey *string `type:"string"`
40158
40159	// The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker
40160	// to download and upload the model, and to contact Neo.
40161	RoleArn *string `min:"20" type:"string"`
40162}
40163
40164// String returns the string representation
40165func (s DescribeEdgePackagingJobOutput) String() string {
40166	return awsutil.Prettify(s)
40167}
40168
40169// GoString returns the string representation
40170func (s DescribeEdgePackagingJobOutput) GoString() string {
40171	return s.String()
40172}
40173
40174// SetCompilationJobName sets the CompilationJobName field's value.
40175func (s *DescribeEdgePackagingJobOutput) SetCompilationJobName(v string) *DescribeEdgePackagingJobOutput {
40176	s.CompilationJobName = &v
40177	return s
40178}
40179
40180// SetCreationTime sets the CreationTime field's value.
40181func (s *DescribeEdgePackagingJobOutput) SetCreationTime(v time.Time) *DescribeEdgePackagingJobOutput {
40182	s.CreationTime = &v
40183	return s
40184}
40185
40186// SetEdgePackagingJobArn sets the EdgePackagingJobArn field's value.
40187func (s *DescribeEdgePackagingJobOutput) SetEdgePackagingJobArn(v string) *DescribeEdgePackagingJobOutput {
40188	s.EdgePackagingJobArn = &v
40189	return s
40190}
40191
40192// SetEdgePackagingJobName sets the EdgePackagingJobName field's value.
40193func (s *DescribeEdgePackagingJobOutput) SetEdgePackagingJobName(v string) *DescribeEdgePackagingJobOutput {
40194	s.EdgePackagingJobName = &v
40195	return s
40196}
40197
40198// SetEdgePackagingJobStatus sets the EdgePackagingJobStatus field's value.
40199func (s *DescribeEdgePackagingJobOutput) SetEdgePackagingJobStatus(v string) *DescribeEdgePackagingJobOutput {
40200	s.EdgePackagingJobStatus = &v
40201	return s
40202}
40203
40204// SetEdgePackagingJobStatusMessage sets the EdgePackagingJobStatusMessage field's value.
40205func (s *DescribeEdgePackagingJobOutput) SetEdgePackagingJobStatusMessage(v string) *DescribeEdgePackagingJobOutput {
40206	s.EdgePackagingJobStatusMessage = &v
40207	return s
40208}
40209
40210// SetLastModifiedTime sets the LastModifiedTime field's value.
40211func (s *DescribeEdgePackagingJobOutput) SetLastModifiedTime(v time.Time) *DescribeEdgePackagingJobOutput {
40212	s.LastModifiedTime = &v
40213	return s
40214}
40215
40216// SetModelArtifact sets the ModelArtifact field's value.
40217func (s *DescribeEdgePackagingJobOutput) SetModelArtifact(v string) *DescribeEdgePackagingJobOutput {
40218	s.ModelArtifact = &v
40219	return s
40220}
40221
40222// SetModelName sets the ModelName field's value.
40223func (s *DescribeEdgePackagingJobOutput) SetModelName(v string) *DescribeEdgePackagingJobOutput {
40224	s.ModelName = &v
40225	return s
40226}
40227
40228// SetModelSignature sets the ModelSignature field's value.
40229func (s *DescribeEdgePackagingJobOutput) SetModelSignature(v string) *DescribeEdgePackagingJobOutput {
40230	s.ModelSignature = &v
40231	return s
40232}
40233
40234// SetModelVersion sets the ModelVersion field's value.
40235func (s *DescribeEdgePackagingJobOutput) SetModelVersion(v string) *DescribeEdgePackagingJobOutput {
40236	s.ModelVersion = &v
40237	return s
40238}
40239
40240// SetOutputConfig sets the OutputConfig field's value.
40241func (s *DescribeEdgePackagingJobOutput) SetOutputConfig(v *EdgeOutputConfig) *DescribeEdgePackagingJobOutput {
40242	s.OutputConfig = v
40243	return s
40244}
40245
40246// SetResourceKey sets the ResourceKey field's value.
40247func (s *DescribeEdgePackagingJobOutput) SetResourceKey(v string) *DescribeEdgePackagingJobOutput {
40248	s.ResourceKey = &v
40249	return s
40250}
40251
40252// SetRoleArn sets the RoleArn field's value.
40253func (s *DescribeEdgePackagingJobOutput) SetRoleArn(v string) *DescribeEdgePackagingJobOutput {
40254	s.RoleArn = &v
40255	return s
40256}
40257
40258type DescribeEndpointConfigInput struct {
40259	_ struct{} `type:"structure"`
40260
40261	// The name of the endpoint configuration.
40262	//
40263	// EndpointConfigName is a required field
40264	EndpointConfigName *string `type:"string" required:"true"`
40265}
40266
40267// String returns the string representation
40268func (s DescribeEndpointConfigInput) String() string {
40269	return awsutil.Prettify(s)
40270}
40271
40272// GoString returns the string representation
40273func (s DescribeEndpointConfigInput) GoString() string {
40274	return s.String()
40275}
40276
40277// Validate inspects the fields of the type to determine if they are valid.
40278func (s *DescribeEndpointConfigInput) Validate() error {
40279	invalidParams := request.ErrInvalidParams{Context: "DescribeEndpointConfigInput"}
40280	if s.EndpointConfigName == nil {
40281		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
40282	}
40283
40284	if invalidParams.Len() > 0 {
40285		return invalidParams
40286	}
40287	return nil
40288}
40289
40290// SetEndpointConfigName sets the EndpointConfigName field's value.
40291func (s *DescribeEndpointConfigInput) SetEndpointConfigName(v string) *DescribeEndpointConfigInput {
40292	s.EndpointConfigName = &v
40293	return s
40294}
40295
40296type DescribeEndpointConfigOutput struct {
40297	_ struct{} `type:"structure"`
40298
40299	// A timestamp that shows when the endpoint configuration was created.
40300	//
40301	// CreationTime is a required field
40302	CreationTime *time.Time `type:"timestamp" required:"true"`
40303
40304	DataCaptureConfig *DataCaptureConfig `type:"structure"`
40305
40306	// The Amazon Resource Name (ARN) of the endpoint configuration.
40307	//
40308	// EndpointConfigArn is a required field
40309	EndpointConfigArn *string `min:"20" type:"string" required:"true"`
40310
40311	// Name of the Amazon SageMaker endpoint configuration.
40312	//
40313	// EndpointConfigName is a required field
40314	EndpointConfigName *string `type:"string" required:"true"`
40315
40316	// AWS KMS key ID Amazon SageMaker uses to encrypt data when storing it on the
40317	// ML storage volume attached to the instance.
40318	KmsKeyId *string `type:"string"`
40319
40320	// An array of ProductionVariant objects, one for each model that you want to
40321	// host at this endpoint.
40322	//
40323	// ProductionVariants is a required field
40324	ProductionVariants []*ProductionVariant `min:"1" type:"list" required:"true"`
40325}
40326
40327// String returns the string representation
40328func (s DescribeEndpointConfigOutput) String() string {
40329	return awsutil.Prettify(s)
40330}
40331
40332// GoString returns the string representation
40333func (s DescribeEndpointConfigOutput) GoString() string {
40334	return s.String()
40335}
40336
40337// SetCreationTime sets the CreationTime field's value.
40338func (s *DescribeEndpointConfigOutput) SetCreationTime(v time.Time) *DescribeEndpointConfigOutput {
40339	s.CreationTime = &v
40340	return s
40341}
40342
40343// SetDataCaptureConfig sets the DataCaptureConfig field's value.
40344func (s *DescribeEndpointConfigOutput) SetDataCaptureConfig(v *DataCaptureConfig) *DescribeEndpointConfigOutput {
40345	s.DataCaptureConfig = v
40346	return s
40347}
40348
40349// SetEndpointConfigArn sets the EndpointConfigArn field's value.
40350func (s *DescribeEndpointConfigOutput) SetEndpointConfigArn(v string) *DescribeEndpointConfigOutput {
40351	s.EndpointConfigArn = &v
40352	return s
40353}
40354
40355// SetEndpointConfigName sets the EndpointConfigName field's value.
40356func (s *DescribeEndpointConfigOutput) SetEndpointConfigName(v string) *DescribeEndpointConfigOutput {
40357	s.EndpointConfigName = &v
40358	return s
40359}
40360
40361// SetKmsKeyId sets the KmsKeyId field's value.
40362func (s *DescribeEndpointConfigOutput) SetKmsKeyId(v string) *DescribeEndpointConfigOutput {
40363	s.KmsKeyId = &v
40364	return s
40365}
40366
40367// SetProductionVariants sets the ProductionVariants field's value.
40368func (s *DescribeEndpointConfigOutput) SetProductionVariants(v []*ProductionVariant) *DescribeEndpointConfigOutput {
40369	s.ProductionVariants = v
40370	return s
40371}
40372
40373type DescribeEndpointInput struct {
40374	_ struct{} `type:"structure"`
40375
40376	// The name of the endpoint.
40377	//
40378	// EndpointName is a required field
40379	EndpointName *string `type:"string" required:"true"`
40380}
40381
40382// String returns the string representation
40383func (s DescribeEndpointInput) String() string {
40384	return awsutil.Prettify(s)
40385}
40386
40387// GoString returns the string representation
40388func (s DescribeEndpointInput) GoString() string {
40389	return s.String()
40390}
40391
40392// Validate inspects the fields of the type to determine if they are valid.
40393func (s *DescribeEndpointInput) Validate() error {
40394	invalidParams := request.ErrInvalidParams{Context: "DescribeEndpointInput"}
40395	if s.EndpointName == nil {
40396		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
40397	}
40398
40399	if invalidParams.Len() > 0 {
40400		return invalidParams
40401	}
40402	return nil
40403}
40404
40405// SetEndpointName sets the EndpointName field's value.
40406func (s *DescribeEndpointInput) SetEndpointName(v string) *DescribeEndpointInput {
40407	s.EndpointName = &v
40408	return s
40409}
40410
40411type DescribeEndpointOutput struct {
40412	_ struct{} `type:"structure"`
40413
40414	// A timestamp that shows when the endpoint was created.
40415	//
40416	// CreationTime is a required field
40417	CreationTime *time.Time `type:"timestamp" required:"true"`
40418
40419	DataCaptureConfig *DataCaptureConfigSummary `type:"structure"`
40420
40421	// The Amazon Resource Name (ARN) of the endpoint.
40422	//
40423	// EndpointArn is a required field
40424	EndpointArn *string `min:"20" type:"string" required:"true"`
40425
40426	// The name of the endpoint configuration associated with this endpoint.
40427	//
40428	// EndpointConfigName is a required field
40429	EndpointConfigName *string `type:"string" required:"true"`
40430
40431	// Name of the endpoint.
40432	//
40433	// EndpointName is a required field
40434	EndpointName *string `type:"string" required:"true"`
40435
40436	// The status of the endpoint.
40437	//
40438	//    * OutOfService: Endpoint is not available to take incoming requests.
40439	//
40440	//    * Creating: CreateEndpoint is executing.
40441	//
40442	//    * Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing.
40443	//
40444	//    * SystemUpdating: Endpoint is undergoing maintenance and cannot be updated
40445	//    or deleted or re-scaled until it has completed. This maintenance operation
40446	//    does not change any customer-specified values such as VPC config, KMS
40447	//    encryption, model, instance type, or instance count.
40448	//
40449	//    * RollingBack: Endpoint fails to scale up or down or change its variant
40450	//    weight and is in the process of rolling back to its previous configuration.
40451	//    Once the rollback completes, endpoint returns to an InService status.
40452	//    This transitional status only applies to an endpoint that has autoscaling
40453	//    enabled and is undergoing variant weight or capacity changes as part of
40454	//    an UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities
40455	//    operation is called explicitly.
40456	//
40457	//    * InService: Endpoint is available to process incoming requests.
40458	//
40459	//    * Deleting: DeleteEndpoint is executing.
40460	//
40461	//    * Failed: Endpoint could not be created, updated, or re-scaled. Use DescribeEndpointOutput$FailureReason
40462	//    for information about the failure. DeleteEndpoint is the only operation
40463	//    that can be performed on a failed endpoint.
40464	//
40465	// EndpointStatus is a required field
40466	EndpointStatus *string `type:"string" required:"true" enum:"EndpointStatus"`
40467
40468	// If the status of the endpoint is Failed, the reason why it failed.
40469	FailureReason *string `type:"string"`
40470
40471	// The most recent deployment configuration for the endpoint.
40472	LastDeploymentConfig *DeploymentConfig `type:"structure"`
40473
40474	// A timestamp that shows when the endpoint was last modified.
40475	//
40476	// LastModifiedTime is a required field
40477	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
40478
40479	// An array of ProductionVariantSummary objects, one for each model hosted behind
40480	// this endpoint.
40481	ProductionVariants []*ProductionVariantSummary `min:"1" type:"list"`
40482}
40483
40484// String returns the string representation
40485func (s DescribeEndpointOutput) String() string {
40486	return awsutil.Prettify(s)
40487}
40488
40489// GoString returns the string representation
40490func (s DescribeEndpointOutput) GoString() string {
40491	return s.String()
40492}
40493
40494// SetCreationTime sets the CreationTime field's value.
40495func (s *DescribeEndpointOutput) SetCreationTime(v time.Time) *DescribeEndpointOutput {
40496	s.CreationTime = &v
40497	return s
40498}
40499
40500// SetDataCaptureConfig sets the DataCaptureConfig field's value.
40501func (s *DescribeEndpointOutput) SetDataCaptureConfig(v *DataCaptureConfigSummary) *DescribeEndpointOutput {
40502	s.DataCaptureConfig = v
40503	return s
40504}
40505
40506// SetEndpointArn sets the EndpointArn field's value.
40507func (s *DescribeEndpointOutput) SetEndpointArn(v string) *DescribeEndpointOutput {
40508	s.EndpointArn = &v
40509	return s
40510}
40511
40512// SetEndpointConfigName sets the EndpointConfigName field's value.
40513func (s *DescribeEndpointOutput) SetEndpointConfigName(v string) *DescribeEndpointOutput {
40514	s.EndpointConfigName = &v
40515	return s
40516}
40517
40518// SetEndpointName sets the EndpointName field's value.
40519func (s *DescribeEndpointOutput) SetEndpointName(v string) *DescribeEndpointOutput {
40520	s.EndpointName = &v
40521	return s
40522}
40523
40524// SetEndpointStatus sets the EndpointStatus field's value.
40525func (s *DescribeEndpointOutput) SetEndpointStatus(v string) *DescribeEndpointOutput {
40526	s.EndpointStatus = &v
40527	return s
40528}
40529
40530// SetFailureReason sets the FailureReason field's value.
40531func (s *DescribeEndpointOutput) SetFailureReason(v string) *DescribeEndpointOutput {
40532	s.FailureReason = &v
40533	return s
40534}
40535
40536// SetLastDeploymentConfig sets the LastDeploymentConfig field's value.
40537func (s *DescribeEndpointOutput) SetLastDeploymentConfig(v *DeploymentConfig) *DescribeEndpointOutput {
40538	s.LastDeploymentConfig = v
40539	return s
40540}
40541
40542// SetLastModifiedTime sets the LastModifiedTime field's value.
40543func (s *DescribeEndpointOutput) SetLastModifiedTime(v time.Time) *DescribeEndpointOutput {
40544	s.LastModifiedTime = &v
40545	return s
40546}
40547
40548// SetProductionVariants sets the ProductionVariants field's value.
40549func (s *DescribeEndpointOutput) SetProductionVariants(v []*ProductionVariantSummary) *DescribeEndpointOutput {
40550	s.ProductionVariants = v
40551	return s
40552}
40553
40554type DescribeExperimentInput struct {
40555	_ struct{} `type:"structure"`
40556
40557	// The name of the experiment to describe.
40558	//
40559	// ExperimentName is a required field
40560	ExperimentName *string `min:"1" type:"string" required:"true"`
40561}
40562
40563// String returns the string representation
40564func (s DescribeExperimentInput) String() string {
40565	return awsutil.Prettify(s)
40566}
40567
40568// GoString returns the string representation
40569func (s DescribeExperimentInput) GoString() string {
40570	return s.String()
40571}
40572
40573// Validate inspects the fields of the type to determine if they are valid.
40574func (s *DescribeExperimentInput) Validate() error {
40575	invalidParams := request.ErrInvalidParams{Context: "DescribeExperimentInput"}
40576	if s.ExperimentName == nil {
40577		invalidParams.Add(request.NewErrParamRequired("ExperimentName"))
40578	}
40579	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
40580		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
40581	}
40582
40583	if invalidParams.Len() > 0 {
40584		return invalidParams
40585	}
40586	return nil
40587}
40588
40589// SetExperimentName sets the ExperimentName field's value.
40590func (s *DescribeExperimentInput) SetExperimentName(v string) *DescribeExperimentInput {
40591	s.ExperimentName = &v
40592	return s
40593}
40594
40595type DescribeExperimentOutput struct {
40596	_ struct{} `type:"structure"`
40597
40598	// Who created the experiment.
40599	CreatedBy *UserContext `type:"structure"`
40600
40601	// When the experiment was created.
40602	CreationTime *time.Time `type:"timestamp"`
40603
40604	// The description of the experiment.
40605	Description *string `type:"string"`
40606
40607	// The name of the experiment as displayed. If DisplayName isn't specified,
40608	// ExperimentName is displayed.
40609	DisplayName *string `min:"1" type:"string"`
40610
40611	// The Amazon Resource Name (ARN) of the experiment.
40612	ExperimentArn *string `type:"string"`
40613
40614	// The name of the experiment.
40615	ExperimentName *string `min:"1" type:"string"`
40616
40617	// Who last modified the experiment.
40618	LastModifiedBy *UserContext `type:"structure"`
40619
40620	// When the experiment was last modified.
40621	LastModifiedTime *time.Time `type:"timestamp"`
40622
40623	// The ARN of the source and, optionally, the type.
40624	Source *ExperimentSource `type:"structure"`
40625}
40626
40627// String returns the string representation
40628func (s DescribeExperimentOutput) String() string {
40629	return awsutil.Prettify(s)
40630}
40631
40632// GoString returns the string representation
40633func (s DescribeExperimentOutput) GoString() string {
40634	return s.String()
40635}
40636
40637// SetCreatedBy sets the CreatedBy field's value.
40638func (s *DescribeExperimentOutput) SetCreatedBy(v *UserContext) *DescribeExperimentOutput {
40639	s.CreatedBy = v
40640	return s
40641}
40642
40643// SetCreationTime sets the CreationTime field's value.
40644func (s *DescribeExperimentOutput) SetCreationTime(v time.Time) *DescribeExperimentOutput {
40645	s.CreationTime = &v
40646	return s
40647}
40648
40649// SetDescription sets the Description field's value.
40650func (s *DescribeExperimentOutput) SetDescription(v string) *DescribeExperimentOutput {
40651	s.Description = &v
40652	return s
40653}
40654
40655// SetDisplayName sets the DisplayName field's value.
40656func (s *DescribeExperimentOutput) SetDisplayName(v string) *DescribeExperimentOutput {
40657	s.DisplayName = &v
40658	return s
40659}
40660
40661// SetExperimentArn sets the ExperimentArn field's value.
40662func (s *DescribeExperimentOutput) SetExperimentArn(v string) *DescribeExperimentOutput {
40663	s.ExperimentArn = &v
40664	return s
40665}
40666
40667// SetExperimentName sets the ExperimentName field's value.
40668func (s *DescribeExperimentOutput) SetExperimentName(v string) *DescribeExperimentOutput {
40669	s.ExperimentName = &v
40670	return s
40671}
40672
40673// SetLastModifiedBy sets the LastModifiedBy field's value.
40674func (s *DescribeExperimentOutput) SetLastModifiedBy(v *UserContext) *DescribeExperimentOutput {
40675	s.LastModifiedBy = v
40676	return s
40677}
40678
40679// SetLastModifiedTime sets the LastModifiedTime field's value.
40680func (s *DescribeExperimentOutput) SetLastModifiedTime(v time.Time) *DescribeExperimentOutput {
40681	s.LastModifiedTime = &v
40682	return s
40683}
40684
40685// SetSource sets the Source field's value.
40686func (s *DescribeExperimentOutput) SetSource(v *ExperimentSource) *DescribeExperimentOutput {
40687	s.Source = v
40688	return s
40689}
40690
40691type DescribeFeatureGroupInput struct {
40692	_ struct{} `type:"structure"`
40693
40694	// The name of the FeatureGroup you want described.
40695	//
40696	// FeatureGroupName is a required field
40697	FeatureGroupName *string `min:"1" type:"string" required:"true"`
40698
40699	// A token to resume pagination of the list of Features (FeatureDefinitions).
40700	// 2,500 Features are returned by default.
40701	NextToken *string `type:"string"`
40702}
40703
40704// String returns the string representation
40705func (s DescribeFeatureGroupInput) String() string {
40706	return awsutil.Prettify(s)
40707}
40708
40709// GoString returns the string representation
40710func (s DescribeFeatureGroupInput) GoString() string {
40711	return s.String()
40712}
40713
40714// Validate inspects the fields of the type to determine if they are valid.
40715func (s *DescribeFeatureGroupInput) Validate() error {
40716	invalidParams := request.ErrInvalidParams{Context: "DescribeFeatureGroupInput"}
40717	if s.FeatureGroupName == nil {
40718		invalidParams.Add(request.NewErrParamRequired("FeatureGroupName"))
40719	}
40720	if s.FeatureGroupName != nil && len(*s.FeatureGroupName) < 1 {
40721		invalidParams.Add(request.NewErrParamMinLen("FeatureGroupName", 1))
40722	}
40723
40724	if invalidParams.Len() > 0 {
40725		return invalidParams
40726	}
40727	return nil
40728}
40729
40730// SetFeatureGroupName sets the FeatureGroupName field's value.
40731func (s *DescribeFeatureGroupInput) SetFeatureGroupName(v string) *DescribeFeatureGroupInput {
40732	s.FeatureGroupName = &v
40733	return s
40734}
40735
40736// SetNextToken sets the NextToken field's value.
40737func (s *DescribeFeatureGroupInput) SetNextToken(v string) *DescribeFeatureGroupInput {
40738	s.NextToken = &v
40739	return s
40740}
40741
40742type DescribeFeatureGroupOutput struct {
40743	_ struct{} `type:"structure"`
40744
40745	// A timestamp indicating when SageMaker created the FeatureGroup.
40746	//
40747	// CreationTime is a required field
40748	CreationTime *time.Time `type:"timestamp" required:"true"`
40749
40750	// A free form description of the feature group.
40751	Description *string `type:"string"`
40752
40753	// The name of the feature that stores the EventTime of a Record in a FeatureGroup.
40754	//
40755	// An EventTime is a point in time when a new event occurs that corresponds
40756	// to the creation or update of a Record in a FeatureGroup. All Records in the
40757	// FeatureGroup have a corresponding EventTime.
40758	//
40759	// EventTimeFeatureName is a required field
40760	EventTimeFeatureName *string `min:"1" type:"string" required:"true"`
40761
40762	// The reason that the FeatureGroup failed to be replicated in the OfflineStore.
40763	// This is failure can occur because:
40764	//
40765	//    * The FeatureGroup could not be created in the OfflineStore.
40766	//
40767	//    * The FeatureGroup could not be deleted from the OfflineStore.
40768	FailureReason *string `type:"string"`
40769
40770	// A list of the Features in the FeatureGroup. Each feature is defined by a
40771	// FeatureName and FeatureType.
40772	//
40773	// FeatureDefinitions is a required field
40774	FeatureDefinitions []*FeatureDefinition `min:"1" type:"list" required:"true"`
40775
40776	// The Amazon Resource Name (ARN) of the FeatureGroup.
40777	//
40778	// FeatureGroupArn is a required field
40779	FeatureGroupArn *string `type:"string" required:"true"`
40780
40781	// he name of the FeatureGroup.
40782	//
40783	// FeatureGroupName is a required field
40784	FeatureGroupName *string `min:"1" type:"string" required:"true"`
40785
40786	// The status of the feature group.
40787	FeatureGroupStatus *string `type:"string" enum:"FeatureGroupStatus"`
40788
40789	// A token to resume pagination of the list of Features (FeatureDefinitions).
40790	//
40791	// NextToken is a required field
40792	NextToken *string `type:"string" required:"true"`
40793
40794	// The configuration of the OfflineStore, inducing the S3 location of the OfflineStore,
40795	// AWS Glue or AWS Hive data catalogue configurations, and the security configuration.
40796	OfflineStoreConfig *OfflineStoreConfig `type:"structure"`
40797
40798	// The status of the OfflineStore. Notifies you if replicating data into the
40799	// OfflineStore has failed. Returns either: Active or Blocked
40800	OfflineStoreStatus *OfflineStoreStatus `type:"structure"`
40801
40802	// The configuration for the OnlineStore.
40803	OnlineStoreConfig *OnlineStoreConfig `type:"structure"`
40804
40805	// The name of the Feature used for RecordIdentifier, whose value uniquely identifies
40806	// a record stored in the feature store.
40807	//
40808	// RecordIdentifierFeatureName is a required field
40809	RecordIdentifierFeatureName *string `min:"1" type:"string" required:"true"`
40810
40811	// The Amazon Resource Name (ARN) of the IAM execution role used to persist
40812	// data into the OfflineStore if an OfflineStoreConfig is provided.
40813	RoleArn *string `min:"20" type:"string"`
40814}
40815
40816// String returns the string representation
40817func (s DescribeFeatureGroupOutput) String() string {
40818	return awsutil.Prettify(s)
40819}
40820
40821// GoString returns the string representation
40822func (s DescribeFeatureGroupOutput) GoString() string {
40823	return s.String()
40824}
40825
40826// SetCreationTime sets the CreationTime field's value.
40827func (s *DescribeFeatureGroupOutput) SetCreationTime(v time.Time) *DescribeFeatureGroupOutput {
40828	s.CreationTime = &v
40829	return s
40830}
40831
40832// SetDescription sets the Description field's value.
40833func (s *DescribeFeatureGroupOutput) SetDescription(v string) *DescribeFeatureGroupOutput {
40834	s.Description = &v
40835	return s
40836}
40837
40838// SetEventTimeFeatureName sets the EventTimeFeatureName field's value.
40839func (s *DescribeFeatureGroupOutput) SetEventTimeFeatureName(v string) *DescribeFeatureGroupOutput {
40840	s.EventTimeFeatureName = &v
40841	return s
40842}
40843
40844// SetFailureReason sets the FailureReason field's value.
40845func (s *DescribeFeatureGroupOutput) SetFailureReason(v string) *DescribeFeatureGroupOutput {
40846	s.FailureReason = &v
40847	return s
40848}
40849
40850// SetFeatureDefinitions sets the FeatureDefinitions field's value.
40851func (s *DescribeFeatureGroupOutput) SetFeatureDefinitions(v []*FeatureDefinition) *DescribeFeatureGroupOutput {
40852	s.FeatureDefinitions = v
40853	return s
40854}
40855
40856// SetFeatureGroupArn sets the FeatureGroupArn field's value.
40857func (s *DescribeFeatureGroupOutput) SetFeatureGroupArn(v string) *DescribeFeatureGroupOutput {
40858	s.FeatureGroupArn = &v
40859	return s
40860}
40861
40862// SetFeatureGroupName sets the FeatureGroupName field's value.
40863func (s *DescribeFeatureGroupOutput) SetFeatureGroupName(v string) *DescribeFeatureGroupOutput {
40864	s.FeatureGroupName = &v
40865	return s
40866}
40867
40868// SetFeatureGroupStatus sets the FeatureGroupStatus field's value.
40869func (s *DescribeFeatureGroupOutput) SetFeatureGroupStatus(v string) *DescribeFeatureGroupOutput {
40870	s.FeatureGroupStatus = &v
40871	return s
40872}
40873
40874// SetNextToken sets the NextToken field's value.
40875func (s *DescribeFeatureGroupOutput) SetNextToken(v string) *DescribeFeatureGroupOutput {
40876	s.NextToken = &v
40877	return s
40878}
40879
40880// SetOfflineStoreConfig sets the OfflineStoreConfig field's value.
40881func (s *DescribeFeatureGroupOutput) SetOfflineStoreConfig(v *OfflineStoreConfig) *DescribeFeatureGroupOutput {
40882	s.OfflineStoreConfig = v
40883	return s
40884}
40885
40886// SetOfflineStoreStatus sets the OfflineStoreStatus field's value.
40887func (s *DescribeFeatureGroupOutput) SetOfflineStoreStatus(v *OfflineStoreStatus) *DescribeFeatureGroupOutput {
40888	s.OfflineStoreStatus = v
40889	return s
40890}
40891
40892// SetOnlineStoreConfig sets the OnlineStoreConfig field's value.
40893func (s *DescribeFeatureGroupOutput) SetOnlineStoreConfig(v *OnlineStoreConfig) *DescribeFeatureGroupOutput {
40894	s.OnlineStoreConfig = v
40895	return s
40896}
40897
40898// SetRecordIdentifierFeatureName sets the RecordIdentifierFeatureName field's value.
40899func (s *DescribeFeatureGroupOutput) SetRecordIdentifierFeatureName(v string) *DescribeFeatureGroupOutput {
40900	s.RecordIdentifierFeatureName = &v
40901	return s
40902}
40903
40904// SetRoleArn sets the RoleArn field's value.
40905func (s *DescribeFeatureGroupOutput) SetRoleArn(v string) *DescribeFeatureGroupOutput {
40906	s.RoleArn = &v
40907	return s
40908}
40909
40910type DescribeFlowDefinitionInput struct {
40911	_ struct{} `type:"structure"`
40912
40913	// The name of the flow definition.
40914	//
40915	// FlowDefinitionName is a required field
40916	FlowDefinitionName *string `min:"1" type:"string" required:"true"`
40917}
40918
40919// String returns the string representation
40920func (s DescribeFlowDefinitionInput) String() string {
40921	return awsutil.Prettify(s)
40922}
40923
40924// GoString returns the string representation
40925func (s DescribeFlowDefinitionInput) GoString() string {
40926	return s.String()
40927}
40928
40929// Validate inspects the fields of the type to determine if they are valid.
40930func (s *DescribeFlowDefinitionInput) Validate() error {
40931	invalidParams := request.ErrInvalidParams{Context: "DescribeFlowDefinitionInput"}
40932	if s.FlowDefinitionName == nil {
40933		invalidParams.Add(request.NewErrParamRequired("FlowDefinitionName"))
40934	}
40935	if s.FlowDefinitionName != nil && len(*s.FlowDefinitionName) < 1 {
40936		invalidParams.Add(request.NewErrParamMinLen("FlowDefinitionName", 1))
40937	}
40938
40939	if invalidParams.Len() > 0 {
40940		return invalidParams
40941	}
40942	return nil
40943}
40944
40945// SetFlowDefinitionName sets the FlowDefinitionName field's value.
40946func (s *DescribeFlowDefinitionInput) SetFlowDefinitionName(v string) *DescribeFlowDefinitionInput {
40947	s.FlowDefinitionName = &v
40948	return s
40949}
40950
40951type DescribeFlowDefinitionOutput struct {
40952	_ struct{} `type:"structure"`
40953
40954	// The timestamp when the flow definition was created.
40955	//
40956	// CreationTime is a required field
40957	CreationTime *time.Time `type:"timestamp" required:"true"`
40958
40959	// The reason your flow definition failed.
40960	FailureReason *string `type:"string"`
40961
40962	// The Amazon Resource Name (ARN) of the flow defintion.
40963	//
40964	// FlowDefinitionArn is a required field
40965	FlowDefinitionArn *string `type:"string" required:"true"`
40966
40967	// The Amazon Resource Name (ARN) of the flow definition.
40968	//
40969	// FlowDefinitionName is a required field
40970	FlowDefinitionName *string `min:"1" type:"string" required:"true"`
40971
40972	// The status of the flow definition. Valid values are listed below.
40973	//
40974	// FlowDefinitionStatus is a required field
40975	FlowDefinitionStatus *string `type:"string" required:"true" enum:"FlowDefinitionStatus"`
40976
40977	// An object containing information about what triggers a human review workflow.
40978	HumanLoopActivationConfig *HumanLoopActivationConfig `type:"structure"`
40979
40980	// An object containing information about who works on the task, the workforce
40981	// task price, and other task details.
40982	//
40983	// HumanLoopConfig is a required field
40984	HumanLoopConfig *HumanLoopConfig `type:"structure" required:"true"`
40985
40986	// Container for configuring the source of human task requests. Used to specify
40987	// if Amazon Rekognition or Amazon Textract is used as an integration source.
40988	HumanLoopRequestSource *HumanLoopRequestSource `type:"structure"`
40989
40990	// An object containing information about the output file.
40991	//
40992	// OutputConfig is a required field
40993	OutputConfig *FlowDefinitionOutputConfig `type:"structure" required:"true"`
40994
40995	// The Amazon Resource Name (ARN) of the AWS Identity and Access Management
40996	// (IAM) execution role for the flow definition.
40997	//
40998	// RoleArn is a required field
40999	RoleArn *string `min:"20" type:"string" required:"true"`
41000}
41001
41002// String returns the string representation
41003func (s DescribeFlowDefinitionOutput) String() string {
41004	return awsutil.Prettify(s)
41005}
41006
41007// GoString returns the string representation
41008func (s DescribeFlowDefinitionOutput) GoString() string {
41009	return s.String()
41010}
41011
41012// SetCreationTime sets the CreationTime field's value.
41013func (s *DescribeFlowDefinitionOutput) SetCreationTime(v time.Time) *DescribeFlowDefinitionOutput {
41014	s.CreationTime = &v
41015	return s
41016}
41017
41018// SetFailureReason sets the FailureReason field's value.
41019func (s *DescribeFlowDefinitionOutput) SetFailureReason(v string) *DescribeFlowDefinitionOutput {
41020	s.FailureReason = &v
41021	return s
41022}
41023
41024// SetFlowDefinitionArn sets the FlowDefinitionArn field's value.
41025func (s *DescribeFlowDefinitionOutput) SetFlowDefinitionArn(v string) *DescribeFlowDefinitionOutput {
41026	s.FlowDefinitionArn = &v
41027	return s
41028}
41029
41030// SetFlowDefinitionName sets the FlowDefinitionName field's value.
41031func (s *DescribeFlowDefinitionOutput) SetFlowDefinitionName(v string) *DescribeFlowDefinitionOutput {
41032	s.FlowDefinitionName = &v
41033	return s
41034}
41035
41036// SetFlowDefinitionStatus sets the FlowDefinitionStatus field's value.
41037func (s *DescribeFlowDefinitionOutput) SetFlowDefinitionStatus(v string) *DescribeFlowDefinitionOutput {
41038	s.FlowDefinitionStatus = &v
41039	return s
41040}
41041
41042// SetHumanLoopActivationConfig sets the HumanLoopActivationConfig field's value.
41043func (s *DescribeFlowDefinitionOutput) SetHumanLoopActivationConfig(v *HumanLoopActivationConfig) *DescribeFlowDefinitionOutput {
41044	s.HumanLoopActivationConfig = v
41045	return s
41046}
41047
41048// SetHumanLoopConfig sets the HumanLoopConfig field's value.
41049func (s *DescribeFlowDefinitionOutput) SetHumanLoopConfig(v *HumanLoopConfig) *DescribeFlowDefinitionOutput {
41050	s.HumanLoopConfig = v
41051	return s
41052}
41053
41054// SetHumanLoopRequestSource sets the HumanLoopRequestSource field's value.
41055func (s *DescribeFlowDefinitionOutput) SetHumanLoopRequestSource(v *HumanLoopRequestSource) *DescribeFlowDefinitionOutput {
41056	s.HumanLoopRequestSource = v
41057	return s
41058}
41059
41060// SetOutputConfig sets the OutputConfig field's value.
41061func (s *DescribeFlowDefinitionOutput) SetOutputConfig(v *FlowDefinitionOutputConfig) *DescribeFlowDefinitionOutput {
41062	s.OutputConfig = v
41063	return s
41064}
41065
41066// SetRoleArn sets the RoleArn field's value.
41067func (s *DescribeFlowDefinitionOutput) SetRoleArn(v string) *DescribeFlowDefinitionOutput {
41068	s.RoleArn = &v
41069	return s
41070}
41071
41072type DescribeHumanTaskUiInput struct {
41073	_ struct{} `type:"structure"`
41074
41075	// The name of the human task user interface (worker task template) you want
41076	// information about.
41077	//
41078	// HumanTaskUiName is a required field
41079	HumanTaskUiName *string `min:"1" type:"string" required:"true"`
41080}
41081
41082// String returns the string representation
41083func (s DescribeHumanTaskUiInput) String() string {
41084	return awsutil.Prettify(s)
41085}
41086
41087// GoString returns the string representation
41088func (s DescribeHumanTaskUiInput) GoString() string {
41089	return s.String()
41090}
41091
41092// Validate inspects the fields of the type to determine if they are valid.
41093func (s *DescribeHumanTaskUiInput) Validate() error {
41094	invalidParams := request.ErrInvalidParams{Context: "DescribeHumanTaskUiInput"}
41095	if s.HumanTaskUiName == nil {
41096		invalidParams.Add(request.NewErrParamRequired("HumanTaskUiName"))
41097	}
41098	if s.HumanTaskUiName != nil && len(*s.HumanTaskUiName) < 1 {
41099		invalidParams.Add(request.NewErrParamMinLen("HumanTaskUiName", 1))
41100	}
41101
41102	if invalidParams.Len() > 0 {
41103		return invalidParams
41104	}
41105	return nil
41106}
41107
41108// SetHumanTaskUiName sets the HumanTaskUiName field's value.
41109func (s *DescribeHumanTaskUiInput) SetHumanTaskUiName(v string) *DescribeHumanTaskUiInput {
41110	s.HumanTaskUiName = &v
41111	return s
41112}
41113
41114type DescribeHumanTaskUiOutput struct {
41115	_ struct{} `type:"structure"`
41116
41117	// The timestamp when the human task user interface was created.
41118	//
41119	// CreationTime is a required field
41120	CreationTime *time.Time `type:"timestamp" required:"true"`
41121
41122	// The Amazon Resource Name (ARN) of the human task user interface (worker task
41123	// template).
41124	//
41125	// HumanTaskUiArn is a required field
41126	HumanTaskUiArn *string `type:"string" required:"true"`
41127
41128	// The name of the human task user interface (worker task template).
41129	//
41130	// HumanTaskUiName is a required field
41131	HumanTaskUiName *string `min:"1" type:"string" required:"true"`
41132
41133	// The status of the human task user interface (worker task template). Valid
41134	// values are listed below.
41135	HumanTaskUiStatus *string `type:"string" enum:"HumanTaskUiStatus"`
41136
41137	// Container for user interface template information.
41138	//
41139	// UiTemplate is a required field
41140	UiTemplate *UiTemplateInfo `type:"structure" required:"true"`
41141}
41142
41143// String returns the string representation
41144func (s DescribeHumanTaskUiOutput) String() string {
41145	return awsutil.Prettify(s)
41146}
41147
41148// GoString returns the string representation
41149func (s DescribeHumanTaskUiOutput) GoString() string {
41150	return s.String()
41151}
41152
41153// SetCreationTime sets the CreationTime field's value.
41154func (s *DescribeHumanTaskUiOutput) SetCreationTime(v time.Time) *DescribeHumanTaskUiOutput {
41155	s.CreationTime = &v
41156	return s
41157}
41158
41159// SetHumanTaskUiArn sets the HumanTaskUiArn field's value.
41160func (s *DescribeHumanTaskUiOutput) SetHumanTaskUiArn(v string) *DescribeHumanTaskUiOutput {
41161	s.HumanTaskUiArn = &v
41162	return s
41163}
41164
41165// SetHumanTaskUiName sets the HumanTaskUiName field's value.
41166func (s *DescribeHumanTaskUiOutput) SetHumanTaskUiName(v string) *DescribeHumanTaskUiOutput {
41167	s.HumanTaskUiName = &v
41168	return s
41169}
41170
41171// SetHumanTaskUiStatus sets the HumanTaskUiStatus field's value.
41172func (s *DescribeHumanTaskUiOutput) SetHumanTaskUiStatus(v string) *DescribeHumanTaskUiOutput {
41173	s.HumanTaskUiStatus = &v
41174	return s
41175}
41176
41177// SetUiTemplate sets the UiTemplate field's value.
41178func (s *DescribeHumanTaskUiOutput) SetUiTemplate(v *UiTemplateInfo) *DescribeHumanTaskUiOutput {
41179	s.UiTemplate = v
41180	return s
41181}
41182
41183type DescribeHyperParameterTuningJobInput struct {
41184	_ struct{} `type:"structure"`
41185
41186	// The name of the tuning job.
41187	//
41188	// HyperParameterTuningJobName is a required field
41189	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
41190}
41191
41192// String returns the string representation
41193func (s DescribeHyperParameterTuningJobInput) String() string {
41194	return awsutil.Prettify(s)
41195}
41196
41197// GoString returns the string representation
41198func (s DescribeHyperParameterTuningJobInput) GoString() string {
41199	return s.String()
41200}
41201
41202// Validate inspects the fields of the type to determine if they are valid.
41203func (s *DescribeHyperParameterTuningJobInput) Validate() error {
41204	invalidParams := request.ErrInvalidParams{Context: "DescribeHyperParameterTuningJobInput"}
41205	if s.HyperParameterTuningJobName == nil {
41206		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobName"))
41207	}
41208	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
41209		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
41210	}
41211
41212	if invalidParams.Len() > 0 {
41213		return invalidParams
41214	}
41215	return nil
41216}
41217
41218// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
41219func (s *DescribeHyperParameterTuningJobInput) SetHyperParameterTuningJobName(v string) *DescribeHyperParameterTuningJobInput {
41220	s.HyperParameterTuningJobName = &v
41221	return s
41222}
41223
41224type DescribeHyperParameterTuningJobOutput struct {
41225	_ struct{} `type:"structure"`
41226
41227	// A TrainingJobSummary object that describes the training job that completed
41228	// with the best current HyperParameterTuningJobObjective.
41229	BestTrainingJob *HyperParameterTrainingJobSummary `type:"structure"`
41230
41231	// The date and time that the tuning job started.
41232	//
41233	// CreationTime is a required field
41234	CreationTime *time.Time `type:"timestamp" required:"true"`
41235
41236	// If the tuning job failed, the reason it failed.
41237	FailureReason *string `type:"string"`
41238
41239	// The date and time that the tuning job ended.
41240	HyperParameterTuningEndTime *time.Time `type:"timestamp"`
41241
41242	// The Amazon Resource Name (ARN) of the tuning job.
41243	//
41244	// HyperParameterTuningJobArn is a required field
41245	HyperParameterTuningJobArn *string `type:"string" required:"true"`
41246
41247	// The HyperParameterTuningJobConfig object that specifies the configuration
41248	// of the tuning job.
41249	//
41250	// HyperParameterTuningJobConfig is a required field
41251	HyperParameterTuningJobConfig *HyperParameterTuningJobConfig `type:"structure" required:"true"`
41252
41253	// The name of the tuning job.
41254	//
41255	// HyperParameterTuningJobName is a required field
41256	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
41257
41258	// The status of the tuning job: InProgress, Completed, Failed, Stopping, or
41259	// Stopped.
41260	//
41261	// HyperParameterTuningJobStatus is a required field
41262	HyperParameterTuningJobStatus *string `type:"string" required:"true" enum:"HyperParameterTuningJobStatus"`
41263
41264	// The date and time that the status of the tuning job was modified.
41265	LastModifiedTime *time.Time `type:"timestamp"`
41266
41267	// The ObjectiveStatusCounters object that specifies the number of training
41268	// jobs, categorized by the status of their final objective metric, that this
41269	// tuning job launched.
41270	//
41271	// ObjectiveStatusCounters is a required field
41272	ObjectiveStatusCounters *ObjectiveStatusCounters `type:"structure" required:"true"`
41273
41274	// If the hyperparameter tuning job is an warm start tuning job with a WarmStartType
41275	// of IDENTICAL_DATA_AND_ALGORITHM, this is the TrainingJobSummary for the training
41276	// job with the best objective metric value of all training jobs launched by
41277	// this tuning job and all parent jobs specified for the warm start tuning job.
41278	OverallBestTrainingJob *HyperParameterTrainingJobSummary `type:"structure"`
41279
41280	// The HyperParameterTrainingJobDefinition object that specifies the definition
41281	// of the training jobs that this tuning job launches.
41282	TrainingJobDefinition *HyperParameterTrainingJobDefinition `type:"structure"`
41283
41284	// A list of the HyperParameterTrainingJobDefinition objects launched for this
41285	// tuning job.
41286	TrainingJobDefinitions []*HyperParameterTrainingJobDefinition `min:"1" type:"list"`
41287
41288	// The TrainingJobStatusCounters object that specifies the number of training
41289	// jobs, categorized by status, that this tuning job launched.
41290	//
41291	// TrainingJobStatusCounters is a required field
41292	TrainingJobStatusCounters *TrainingJobStatusCounters `type:"structure" required:"true"`
41293
41294	// The configuration for starting the hyperparameter parameter tuning job using
41295	// one or more previous tuning jobs as a starting point. The results of previous
41296	// tuning jobs are used to inform which combinations of hyperparameters to search
41297	// over in the new tuning job.
41298	WarmStartConfig *HyperParameterTuningJobWarmStartConfig `type:"structure"`
41299}
41300
41301// String returns the string representation
41302func (s DescribeHyperParameterTuningJobOutput) String() string {
41303	return awsutil.Prettify(s)
41304}
41305
41306// GoString returns the string representation
41307func (s DescribeHyperParameterTuningJobOutput) GoString() string {
41308	return s.String()
41309}
41310
41311// SetBestTrainingJob sets the BestTrainingJob field's value.
41312func (s *DescribeHyperParameterTuningJobOutput) SetBestTrainingJob(v *HyperParameterTrainingJobSummary) *DescribeHyperParameterTuningJobOutput {
41313	s.BestTrainingJob = v
41314	return s
41315}
41316
41317// SetCreationTime sets the CreationTime field's value.
41318func (s *DescribeHyperParameterTuningJobOutput) SetCreationTime(v time.Time) *DescribeHyperParameterTuningJobOutput {
41319	s.CreationTime = &v
41320	return s
41321}
41322
41323// SetFailureReason sets the FailureReason field's value.
41324func (s *DescribeHyperParameterTuningJobOutput) SetFailureReason(v string) *DescribeHyperParameterTuningJobOutput {
41325	s.FailureReason = &v
41326	return s
41327}
41328
41329// SetHyperParameterTuningEndTime sets the HyperParameterTuningEndTime field's value.
41330func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningEndTime(v time.Time) *DescribeHyperParameterTuningJobOutput {
41331	s.HyperParameterTuningEndTime = &v
41332	return s
41333}
41334
41335// SetHyperParameterTuningJobArn sets the HyperParameterTuningJobArn field's value.
41336func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningJobArn(v string) *DescribeHyperParameterTuningJobOutput {
41337	s.HyperParameterTuningJobArn = &v
41338	return s
41339}
41340
41341// SetHyperParameterTuningJobConfig sets the HyperParameterTuningJobConfig field's value.
41342func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningJobConfig(v *HyperParameterTuningJobConfig) *DescribeHyperParameterTuningJobOutput {
41343	s.HyperParameterTuningJobConfig = v
41344	return s
41345}
41346
41347// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
41348func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningJobName(v string) *DescribeHyperParameterTuningJobOutput {
41349	s.HyperParameterTuningJobName = &v
41350	return s
41351}
41352
41353// SetHyperParameterTuningJobStatus sets the HyperParameterTuningJobStatus field's value.
41354func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningJobStatus(v string) *DescribeHyperParameterTuningJobOutput {
41355	s.HyperParameterTuningJobStatus = &v
41356	return s
41357}
41358
41359// SetLastModifiedTime sets the LastModifiedTime field's value.
41360func (s *DescribeHyperParameterTuningJobOutput) SetLastModifiedTime(v time.Time) *DescribeHyperParameterTuningJobOutput {
41361	s.LastModifiedTime = &v
41362	return s
41363}
41364
41365// SetObjectiveStatusCounters sets the ObjectiveStatusCounters field's value.
41366func (s *DescribeHyperParameterTuningJobOutput) SetObjectiveStatusCounters(v *ObjectiveStatusCounters) *DescribeHyperParameterTuningJobOutput {
41367	s.ObjectiveStatusCounters = v
41368	return s
41369}
41370
41371// SetOverallBestTrainingJob sets the OverallBestTrainingJob field's value.
41372func (s *DescribeHyperParameterTuningJobOutput) SetOverallBestTrainingJob(v *HyperParameterTrainingJobSummary) *DescribeHyperParameterTuningJobOutput {
41373	s.OverallBestTrainingJob = v
41374	return s
41375}
41376
41377// SetTrainingJobDefinition sets the TrainingJobDefinition field's value.
41378func (s *DescribeHyperParameterTuningJobOutput) SetTrainingJobDefinition(v *HyperParameterTrainingJobDefinition) *DescribeHyperParameterTuningJobOutput {
41379	s.TrainingJobDefinition = v
41380	return s
41381}
41382
41383// SetTrainingJobDefinitions sets the TrainingJobDefinitions field's value.
41384func (s *DescribeHyperParameterTuningJobOutput) SetTrainingJobDefinitions(v []*HyperParameterTrainingJobDefinition) *DescribeHyperParameterTuningJobOutput {
41385	s.TrainingJobDefinitions = v
41386	return s
41387}
41388
41389// SetTrainingJobStatusCounters sets the TrainingJobStatusCounters field's value.
41390func (s *DescribeHyperParameterTuningJobOutput) SetTrainingJobStatusCounters(v *TrainingJobStatusCounters) *DescribeHyperParameterTuningJobOutput {
41391	s.TrainingJobStatusCounters = v
41392	return s
41393}
41394
41395// SetWarmStartConfig sets the WarmStartConfig field's value.
41396func (s *DescribeHyperParameterTuningJobOutput) SetWarmStartConfig(v *HyperParameterTuningJobWarmStartConfig) *DescribeHyperParameterTuningJobOutput {
41397	s.WarmStartConfig = v
41398	return s
41399}
41400
41401type DescribeImageInput struct {
41402	_ struct{} `type:"structure"`
41403
41404	// The name of the image to describe.
41405	//
41406	// ImageName is a required field
41407	ImageName *string `min:"1" type:"string" required:"true"`
41408}
41409
41410// String returns the string representation
41411func (s DescribeImageInput) String() string {
41412	return awsutil.Prettify(s)
41413}
41414
41415// GoString returns the string representation
41416func (s DescribeImageInput) GoString() string {
41417	return s.String()
41418}
41419
41420// Validate inspects the fields of the type to determine if they are valid.
41421func (s *DescribeImageInput) Validate() error {
41422	invalidParams := request.ErrInvalidParams{Context: "DescribeImageInput"}
41423	if s.ImageName == nil {
41424		invalidParams.Add(request.NewErrParamRequired("ImageName"))
41425	}
41426	if s.ImageName != nil && len(*s.ImageName) < 1 {
41427		invalidParams.Add(request.NewErrParamMinLen("ImageName", 1))
41428	}
41429
41430	if invalidParams.Len() > 0 {
41431		return invalidParams
41432	}
41433	return nil
41434}
41435
41436// SetImageName sets the ImageName field's value.
41437func (s *DescribeImageInput) SetImageName(v string) *DescribeImageInput {
41438	s.ImageName = &v
41439	return s
41440}
41441
41442type DescribeImageOutput struct {
41443	_ struct{} `type:"structure"`
41444
41445	// When the image was created.
41446	CreationTime *time.Time `type:"timestamp"`
41447
41448	// The description of the image.
41449	Description *string `min:"1" type:"string"`
41450
41451	// The name of the image as displayed.
41452	DisplayName *string `min:"1" type:"string"`
41453
41454	// When a create, update, or delete operation fails, the reason for the failure.
41455	FailureReason *string `type:"string"`
41456
41457	// The Amazon Resource Name (ARN) of the image.
41458	ImageArn *string `type:"string"`
41459
41460	// The name of the image.
41461	ImageName *string `min:"1" type:"string"`
41462
41463	// The status of the image.
41464	ImageStatus *string `type:"string" enum:"ImageStatus"`
41465
41466	// When the image was last modified.
41467	LastModifiedTime *time.Time `type:"timestamp"`
41468
41469	// The Amazon Resource Name (ARN) of the IAM role that enables Amazon SageMaker
41470	// to perform tasks on your behalf.
41471	RoleArn *string `min:"20" type:"string"`
41472}
41473
41474// String returns the string representation
41475func (s DescribeImageOutput) String() string {
41476	return awsutil.Prettify(s)
41477}
41478
41479// GoString returns the string representation
41480func (s DescribeImageOutput) GoString() string {
41481	return s.String()
41482}
41483
41484// SetCreationTime sets the CreationTime field's value.
41485func (s *DescribeImageOutput) SetCreationTime(v time.Time) *DescribeImageOutput {
41486	s.CreationTime = &v
41487	return s
41488}
41489
41490// SetDescription sets the Description field's value.
41491func (s *DescribeImageOutput) SetDescription(v string) *DescribeImageOutput {
41492	s.Description = &v
41493	return s
41494}
41495
41496// SetDisplayName sets the DisplayName field's value.
41497func (s *DescribeImageOutput) SetDisplayName(v string) *DescribeImageOutput {
41498	s.DisplayName = &v
41499	return s
41500}
41501
41502// SetFailureReason sets the FailureReason field's value.
41503func (s *DescribeImageOutput) SetFailureReason(v string) *DescribeImageOutput {
41504	s.FailureReason = &v
41505	return s
41506}
41507
41508// SetImageArn sets the ImageArn field's value.
41509func (s *DescribeImageOutput) SetImageArn(v string) *DescribeImageOutput {
41510	s.ImageArn = &v
41511	return s
41512}
41513
41514// SetImageName sets the ImageName field's value.
41515func (s *DescribeImageOutput) SetImageName(v string) *DescribeImageOutput {
41516	s.ImageName = &v
41517	return s
41518}
41519
41520// SetImageStatus sets the ImageStatus field's value.
41521func (s *DescribeImageOutput) SetImageStatus(v string) *DescribeImageOutput {
41522	s.ImageStatus = &v
41523	return s
41524}
41525
41526// SetLastModifiedTime sets the LastModifiedTime field's value.
41527func (s *DescribeImageOutput) SetLastModifiedTime(v time.Time) *DescribeImageOutput {
41528	s.LastModifiedTime = &v
41529	return s
41530}
41531
41532// SetRoleArn sets the RoleArn field's value.
41533func (s *DescribeImageOutput) SetRoleArn(v string) *DescribeImageOutput {
41534	s.RoleArn = &v
41535	return s
41536}
41537
41538type DescribeImageVersionInput struct {
41539	_ struct{} `type:"structure"`
41540
41541	// The name of the image.
41542	//
41543	// ImageName is a required field
41544	ImageName *string `min:"1" type:"string" required:"true"`
41545
41546	// The version of the image. If not specified, the latest version is described.
41547	Version *int64 `type:"integer"`
41548}
41549
41550// String returns the string representation
41551func (s DescribeImageVersionInput) String() string {
41552	return awsutil.Prettify(s)
41553}
41554
41555// GoString returns the string representation
41556func (s DescribeImageVersionInput) GoString() string {
41557	return s.String()
41558}
41559
41560// Validate inspects the fields of the type to determine if they are valid.
41561func (s *DescribeImageVersionInput) Validate() error {
41562	invalidParams := request.ErrInvalidParams{Context: "DescribeImageVersionInput"}
41563	if s.ImageName == nil {
41564		invalidParams.Add(request.NewErrParamRequired("ImageName"))
41565	}
41566	if s.ImageName != nil && len(*s.ImageName) < 1 {
41567		invalidParams.Add(request.NewErrParamMinLen("ImageName", 1))
41568	}
41569
41570	if invalidParams.Len() > 0 {
41571		return invalidParams
41572	}
41573	return nil
41574}
41575
41576// SetImageName sets the ImageName field's value.
41577func (s *DescribeImageVersionInput) SetImageName(v string) *DescribeImageVersionInput {
41578	s.ImageName = &v
41579	return s
41580}
41581
41582// SetVersion sets the Version field's value.
41583func (s *DescribeImageVersionInput) SetVersion(v int64) *DescribeImageVersionInput {
41584	s.Version = &v
41585	return s
41586}
41587
41588type DescribeImageVersionOutput struct {
41589	_ struct{} `type:"structure"`
41590
41591	// The registry path of the container image on which this image version is based.
41592	BaseImage *string `min:"1" type:"string"`
41593
41594	// The registry path of the container image that contains this image version.
41595	ContainerImage *string `min:"1" type:"string"`
41596
41597	// When the version was created.
41598	CreationTime *time.Time `type:"timestamp"`
41599
41600	// When a create or delete operation fails, the reason for the failure.
41601	FailureReason *string `type:"string"`
41602
41603	// The Amazon Resource Name (ARN) of the image the version is based on.
41604	ImageArn *string `type:"string"`
41605
41606	// The ARN of the version.
41607	ImageVersionArn *string `type:"string"`
41608
41609	// The status of the version.
41610	ImageVersionStatus *string `type:"string" enum:"ImageVersionStatus"`
41611
41612	// When the version was last modified.
41613	LastModifiedTime *time.Time `type:"timestamp"`
41614
41615	// The version number.
41616	Version *int64 `type:"integer"`
41617}
41618
41619// String returns the string representation
41620func (s DescribeImageVersionOutput) String() string {
41621	return awsutil.Prettify(s)
41622}
41623
41624// GoString returns the string representation
41625func (s DescribeImageVersionOutput) GoString() string {
41626	return s.String()
41627}
41628
41629// SetBaseImage sets the BaseImage field's value.
41630func (s *DescribeImageVersionOutput) SetBaseImage(v string) *DescribeImageVersionOutput {
41631	s.BaseImage = &v
41632	return s
41633}
41634
41635// SetContainerImage sets the ContainerImage field's value.
41636func (s *DescribeImageVersionOutput) SetContainerImage(v string) *DescribeImageVersionOutput {
41637	s.ContainerImage = &v
41638	return s
41639}
41640
41641// SetCreationTime sets the CreationTime field's value.
41642func (s *DescribeImageVersionOutput) SetCreationTime(v time.Time) *DescribeImageVersionOutput {
41643	s.CreationTime = &v
41644	return s
41645}
41646
41647// SetFailureReason sets the FailureReason field's value.
41648func (s *DescribeImageVersionOutput) SetFailureReason(v string) *DescribeImageVersionOutput {
41649	s.FailureReason = &v
41650	return s
41651}
41652
41653// SetImageArn sets the ImageArn field's value.
41654func (s *DescribeImageVersionOutput) SetImageArn(v string) *DescribeImageVersionOutput {
41655	s.ImageArn = &v
41656	return s
41657}
41658
41659// SetImageVersionArn sets the ImageVersionArn field's value.
41660func (s *DescribeImageVersionOutput) SetImageVersionArn(v string) *DescribeImageVersionOutput {
41661	s.ImageVersionArn = &v
41662	return s
41663}
41664
41665// SetImageVersionStatus sets the ImageVersionStatus field's value.
41666func (s *DescribeImageVersionOutput) SetImageVersionStatus(v string) *DescribeImageVersionOutput {
41667	s.ImageVersionStatus = &v
41668	return s
41669}
41670
41671// SetLastModifiedTime sets the LastModifiedTime field's value.
41672func (s *DescribeImageVersionOutput) SetLastModifiedTime(v time.Time) *DescribeImageVersionOutput {
41673	s.LastModifiedTime = &v
41674	return s
41675}
41676
41677// SetVersion sets the Version field's value.
41678func (s *DescribeImageVersionOutput) SetVersion(v int64) *DescribeImageVersionOutput {
41679	s.Version = &v
41680	return s
41681}
41682
41683type DescribeLabelingJobInput struct {
41684	_ struct{} `type:"structure"`
41685
41686	// The name of the labeling job to return information for.
41687	//
41688	// LabelingJobName is a required field
41689	LabelingJobName *string `min:"1" type:"string" required:"true"`
41690}
41691
41692// String returns the string representation
41693func (s DescribeLabelingJobInput) String() string {
41694	return awsutil.Prettify(s)
41695}
41696
41697// GoString returns the string representation
41698func (s DescribeLabelingJobInput) GoString() string {
41699	return s.String()
41700}
41701
41702// Validate inspects the fields of the type to determine if they are valid.
41703func (s *DescribeLabelingJobInput) Validate() error {
41704	invalidParams := request.ErrInvalidParams{Context: "DescribeLabelingJobInput"}
41705	if s.LabelingJobName == nil {
41706		invalidParams.Add(request.NewErrParamRequired("LabelingJobName"))
41707	}
41708	if s.LabelingJobName != nil && len(*s.LabelingJobName) < 1 {
41709		invalidParams.Add(request.NewErrParamMinLen("LabelingJobName", 1))
41710	}
41711
41712	if invalidParams.Len() > 0 {
41713		return invalidParams
41714	}
41715	return nil
41716}
41717
41718// SetLabelingJobName sets the LabelingJobName field's value.
41719func (s *DescribeLabelingJobInput) SetLabelingJobName(v string) *DescribeLabelingJobInput {
41720	s.LabelingJobName = &v
41721	return s
41722}
41723
41724type DescribeLabelingJobOutput struct {
41725	_ struct{} `type:"structure"`
41726
41727	// The date and time that the labeling job was created.
41728	//
41729	// CreationTime is a required field
41730	CreationTime *time.Time `type:"timestamp" required:"true"`
41731
41732	// If the job failed, the reason that it failed.
41733	FailureReason *string `type:"string"`
41734
41735	// Configuration information required for human workers to complete a labeling
41736	// task.
41737	//
41738	// HumanTaskConfig is a required field
41739	HumanTaskConfig *HumanTaskConfig `type:"structure" required:"true"`
41740
41741	// Input configuration information for the labeling job, such as the Amazon
41742	// S3 location of the data objects and the location of the manifest file that
41743	// describes the data objects.
41744	//
41745	// InputConfig is a required field
41746	InputConfig *LabelingJobInputConfig `type:"structure" required:"true"`
41747
41748	// A unique identifier for work done as part of a labeling job.
41749	//
41750	// JobReferenceCode is a required field
41751	JobReferenceCode *string `min:"1" type:"string" required:"true"`
41752
41753	// The attribute used as the label in the output manifest file.
41754	LabelAttributeName *string `min:"1" type:"string"`
41755
41756	// The S3 location of the JSON file that defines the categories used to label
41757	// data objects. Please note the following label-category limits:
41758	//
41759	//    * Semantic segmentation labeling jobs using automated labeling: 20 labels
41760	//
41761	//    * Box bounding labeling jobs (all): 10 labels
41762	//
41763	// The file is a JSON structure in the following format:
41764	//
41765	// {
41766	//
41767	// "document-version": "2018-11-28"
41768	//
41769	// "labels": [
41770	//
41771	// {
41772	//
41773	// "label": "label 1"
41774	//
41775	// },
41776	//
41777	// {
41778	//
41779	// "label": "label 2"
41780	//
41781	// },
41782	//
41783	// ...
41784	//
41785	// {
41786	//
41787	// "label": "label n"
41788	//
41789	// }
41790	//
41791	// ]
41792	//
41793	// }
41794	LabelCategoryConfigS3Uri *string `type:"string"`
41795
41796	// Provides a breakdown of the number of data objects labeled by humans, the
41797	// number of objects labeled by machine, the number of objects than couldn't
41798	// be labeled, and the total number of objects labeled.
41799	//
41800	// LabelCounters is a required field
41801	LabelCounters *LabelCounters `type:"structure" required:"true"`
41802
41803	// Configuration information for automated data labeling.
41804	LabelingJobAlgorithmsConfig *LabelingJobAlgorithmsConfig `type:"structure"`
41805
41806	// The Amazon Resource Name (ARN) of the labeling job.
41807	//
41808	// LabelingJobArn is a required field
41809	LabelingJobArn *string `type:"string" required:"true"`
41810
41811	// The name assigned to the labeling job when it was created.
41812	//
41813	// LabelingJobName is a required field
41814	LabelingJobName *string `min:"1" type:"string" required:"true"`
41815
41816	// The location of the output produced by the labeling job.
41817	LabelingJobOutput *LabelingJobOutput `type:"structure"`
41818
41819	// The processing status of the labeling job.
41820	//
41821	// LabelingJobStatus is a required field
41822	LabelingJobStatus *string `type:"string" required:"true" enum:"LabelingJobStatus"`
41823
41824	// The date and time that the labeling job was last updated.
41825	//
41826	// LastModifiedTime is a required field
41827	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
41828
41829	// The location of the job's output data and the AWS Key Management Service
41830	// key ID for the key used to encrypt the output data, if any.
41831	//
41832	// OutputConfig is a required field
41833	OutputConfig *LabelingJobOutputConfig `type:"structure" required:"true"`
41834
41835	// The Amazon Resource Name (ARN) that Amazon SageMaker assumes to perform tasks
41836	// on your behalf during data labeling.
41837	//
41838	// RoleArn is a required field
41839	RoleArn *string `min:"20" type:"string" required:"true"`
41840
41841	// A set of conditions for stopping a labeling job. If any of the conditions
41842	// are met, the job is automatically stopped.
41843	StoppingConditions *LabelingJobStoppingConditions `type:"structure"`
41844
41845	// An array of key-value pairs. You can use tags to categorize your AWS resources
41846	// in different ways, for example, by purpose, owner, or environment. For more
41847	// information, see Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
41848	Tags []*Tag `type:"list"`
41849}
41850
41851// String returns the string representation
41852func (s DescribeLabelingJobOutput) String() string {
41853	return awsutil.Prettify(s)
41854}
41855
41856// GoString returns the string representation
41857func (s DescribeLabelingJobOutput) GoString() string {
41858	return s.String()
41859}
41860
41861// SetCreationTime sets the CreationTime field's value.
41862func (s *DescribeLabelingJobOutput) SetCreationTime(v time.Time) *DescribeLabelingJobOutput {
41863	s.CreationTime = &v
41864	return s
41865}
41866
41867// SetFailureReason sets the FailureReason field's value.
41868func (s *DescribeLabelingJobOutput) SetFailureReason(v string) *DescribeLabelingJobOutput {
41869	s.FailureReason = &v
41870	return s
41871}
41872
41873// SetHumanTaskConfig sets the HumanTaskConfig field's value.
41874func (s *DescribeLabelingJobOutput) SetHumanTaskConfig(v *HumanTaskConfig) *DescribeLabelingJobOutput {
41875	s.HumanTaskConfig = v
41876	return s
41877}
41878
41879// SetInputConfig sets the InputConfig field's value.
41880func (s *DescribeLabelingJobOutput) SetInputConfig(v *LabelingJobInputConfig) *DescribeLabelingJobOutput {
41881	s.InputConfig = v
41882	return s
41883}
41884
41885// SetJobReferenceCode sets the JobReferenceCode field's value.
41886func (s *DescribeLabelingJobOutput) SetJobReferenceCode(v string) *DescribeLabelingJobOutput {
41887	s.JobReferenceCode = &v
41888	return s
41889}
41890
41891// SetLabelAttributeName sets the LabelAttributeName field's value.
41892func (s *DescribeLabelingJobOutput) SetLabelAttributeName(v string) *DescribeLabelingJobOutput {
41893	s.LabelAttributeName = &v
41894	return s
41895}
41896
41897// SetLabelCategoryConfigS3Uri sets the LabelCategoryConfigS3Uri field's value.
41898func (s *DescribeLabelingJobOutput) SetLabelCategoryConfigS3Uri(v string) *DescribeLabelingJobOutput {
41899	s.LabelCategoryConfigS3Uri = &v
41900	return s
41901}
41902
41903// SetLabelCounters sets the LabelCounters field's value.
41904func (s *DescribeLabelingJobOutput) SetLabelCounters(v *LabelCounters) *DescribeLabelingJobOutput {
41905	s.LabelCounters = v
41906	return s
41907}
41908
41909// SetLabelingJobAlgorithmsConfig sets the LabelingJobAlgorithmsConfig field's value.
41910func (s *DescribeLabelingJobOutput) SetLabelingJobAlgorithmsConfig(v *LabelingJobAlgorithmsConfig) *DescribeLabelingJobOutput {
41911	s.LabelingJobAlgorithmsConfig = v
41912	return s
41913}
41914
41915// SetLabelingJobArn sets the LabelingJobArn field's value.
41916func (s *DescribeLabelingJobOutput) SetLabelingJobArn(v string) *DescribeLabelingJobOutput {
41917	s.LabelingJobArn = &v
41918	return s
41919}
41920
41921// SetLabelingJobName sets the LabelingJobName field's value.
41922func (s *DescribeLabelingJobOutput) SetLabelingJobName(v string) *DescribeLabelingJobOutput {
41923	s.LabelingJobName = &v
41924	return s
41925}
41926
41927// SetLabelingJobOutput sets the LabelingJobOutput field's value.
41928func (s *DescribeLabelingJobOutput) SetLabelingJobOutput(v *LabelingJobOutput) *DescribeLabelingJobOutput {
41929	s.LabelingJobOutput = v
41930	return s
41931}
41932
41933// SetLabelingJobStatus sets the LabelingJobStatus field's value.
41934func (s *DescribeLabelingJobOutput) SetLabelingJobStatus(v string) *DescribeLabelingJobOutput {
41935	s.LabelingJobStatus = &v
41936	return s
41937}
41938
41939// SetLastModifiedTime sets the LastModifiedTime field's value.
41940func (s *DescribeLabelingJobOutput) SetLastModifiedTime(v time.Time) *DescribeLabelingJobOutput {
41941	s.LastModifiedTime = &v
41942	return s
41943}
41944
41945// SetOutputConfig sets the OutputConfig field's value.
41946func (s *DescribeLabelingJobOutput) SetOutputConfig(v *LabelingJobOutputConfig) *DescribeLabelingJobOutput {
41947	s.OutputConfig = v
41948	return s
41949}
41950
41951// SetRoleArn sets the RoleArn field's value.
41952func (s *DescribeLabelingJobOutput) SetRoleArn(v string) *DescribeLabelingJobOutput {
41953	s.RoleArn = &v
41954	return s
41955}
41956
41957// SetStoppingConditions sets the StoppingConditions field's value.
41958func (s *DescribeLabelingJobOutput) SetStoppingConditions(v *LabelingJobStoppingConditions) *DescribeLabelingJobOutput {
41959	s.StoppingConditions = v
41960	return s
41961}
41962
41963// SetTags sets the Tags field's value.
41964func (s *DescribeLabelingJobOutput) SetTags(v []*Tag) *DescribeLabelingJobOutput {
41965	s.Tags = v
41966	return s
41967}
41968
41969type DescribeModelBiasJobDefinitionInput struct {
41970	_ struct{} `type:"structure"`
41971
41972	// The name of the model bias job definition. The name must be unique within
41973	// an AWS Region in the AWS account.
41974	//
41975	// JobDefinitionName is a required field
41976	JobDefinitionName *string `min:"1" type:"string" required:"true"`
41977}
41978
41979// String returns the string representation
41980func (s DescribeModelBiasJobDefinitionInput) String() string {
41981	return awsutil.Prettify(s)
41982}
41983
41984// GoString returns the string representation
41985func (s DescribeModelBiasJobDefinitionInput) GoString() string {
41986	return s.String()
41987}
41988
41989// Validate inspects the fields of the type to determine if they are valid.
41990func (s *DescribeModelBiasJobDefinitionInput) Validate() error {
41991	invalidParams := request.ErrInvalidParams{Context: "DescribeModelBiasJobDefinitionInput"}
41992	if s.JobDefinitionName == nil {
41993		invalidParams.Add(request.NewErrParamRequired("JobDefinitionName"))
41994	}
41995	if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 {
41996		invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1))
41997	}
41998
41999	if invalidParams.Len() > 0 {
42000		return invalidParams
42001	}
42002	return nil
42003}
42004
42005// SetJobDefinitionName sets the JobDefinitionName field's value.
42006func (s *DescribeModelBiasJobDefinitionInput) SetJobDefinitionName(v string) *DescribeModelBiasJobDefinitionInput {
42007	s.JobDefinitionName = &v
42008	return s
42009}
42010
42011type DescribeModelBiasJobDefinitionOutput struct {
42012	_ struct{} `type:"structure"`
42013
42014	// The time at which the model bias job was created.
42015	//
42016	// CreationTime is a required field
42017	CreationTime *time.Time `type:"timestamp" required:"true"`
42018
42019	// The Amazon Resource Name (ARN) of the model bias job.
42020	//
42021	// JobDefinitionArn is a required field
42022	JobDefinitionArn *string `type:"string" required:"true"`
42023
42024	// The name of the bias job definition. The name must be unique within an AWS
42025	// Region in the AWS account.
42026	//
42027	// JobDefinitionName is a required field
42028	JobDefinitionName *string `min:"1" type:"string" required:"true"`
42029
42030	// Identifies the resources to deploy for a monitoring job.
42031	//
42032	// JobResources is a required field
42033	JobResources *MonitoringResources `type:"structure" required:"true"`
42034
42035	// Configures the model bias job to run a specified Docker container image.
42036	//
42037	// ModelBiasAppSpecification is a required field
42038	ModelBiasAppSpecification *ModelBiasAppSpecification `type:"structure" required:"true"`
42039
42040	// The baseline configuration for a model bias job.
42041	ModelBiasBaselineConfig *ModelBiasBaselineConfig `type:"structure"`
42042
42043	// Inputs for the model bias job.
42044	//
42045	// ModelBiasJobInput is a required field
42046	ModelBiasJobInput *ModelBiasJobInput `type:"structure" required:"true"`
42047
42048	// The output configuration for monitoring jobs.
42049	//
42050	// ModelBiasJobOutputConfig is a required field
42051	ModelBiasJobOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"`
42052
42053	// Networking options for a model bias job.
42054	NetworkConfig *MonitoringNetworkConfig `type:"structure"`
42055
42056	// The Amazon Resource Name (ARN) of the AWS Identity and Access Management
42057	// (IAM) role that has read permission to the input data location and write
42058	// permission to the output data location in Amazon S3.
42059	//
42060	// RoleArn is a required field
42061	RoleArn *string `min:"20" type:"string" required:"true"`
42062
42063	// A time limit for how long the monitoring job is allowed to run before stopping.
42064	StoppingCondition *MonitoringStoppingCondition `type:"structure"`
42065}
42066
42067// String returns the string representation
42068func (s DescribeModelBiasJobDefinitionOutput) String() string {
42069	return awsutil.Prettify(s)
42070}
42071
42072// GoString returns the string representation
42073func (s DescribeModelBiasJobDefinitionOutput) GoString() string {
42074	return s.String()
42075}
42076
42077// SetCreationTime sets the CreationTime field's value.
42078func (s *DescribeModelBiasJobDefinitionOutput) SetCreationTime(v time.Time) *DescribeModelBiasJobDefinitionOutput {
42079	s.CreationTime = &v
42080	return s
42081}
42082
42083// SetJobDefinitionArn sets the JobDefinitionArn field's value.
42084func (s *DescribeModelBiasJobDefinitionOutput) SetJobDefinitionArn(v string) *DescribeModelBiasJobDefinitionOutput {
42085	s.JobDefinitionArn = &v
42086	return s
42087}
42088
42089// SetJobDefinitionName sets the JobDefinitionName field's value.
42090func (s *DescribeModelBiasJobDefinitionOutput) SetJobDefinitionName(v string) *DescribeModelBiasJobDefinitionOutput {
42091	s.JobDefinitionName = &v
42092	return s
42093}
42094
42095// SetJobResources sets the JobResources field's value.
42096func (s *DescribeModelBiasJobDefinitionOutput) SetJobResources(v *MonitoringResources) *DescribeModelBiasJobDefinitionOutput {
42097	s.JobResources = v
42098	return s
42099}
42100
42101// SetModelBiasAppSpecification sets the ModelBiasAppSpecification field's value.
42102func (s *DescribeModelBiasJobDefinitionOutput) SetModelBiasAppSpecification(v *ModelBiasAppSpecification) *DescribeModelBiasJobDefinitionOutput {
42103	s.ModelBiasAppSpecification = v
42104	return s
42105}
42106
42107// SetModelBiasBaselineConfig sets the ModelBiasBaselineConfig field's value.
42108func (s *DescribeModelBiasJobDefinitionOutput) SetModelBiasBaselineConfig(v *ModelBiasBaselineConfig) *DescribeModelBiasJobDefinitionOutput {
42109	s.ModelBiasBaselineConfig = v
42110	return s
42111}
42112
42113// SetModelBiasJobInput sets the ModelBiasJobInput field's value.
42114func (s *DescribeModelBiasJobDefinitionOutput) SetModelBiasJobInput(v *ModelBiasJobInput) *DescribeModelBiasJobDefinitionOutput {
42115	s.ModelBiasJobInput = v
42116	return s
42117}
42118
42119// SetModelBiasJobOutputConfig sets the ModelBiasJobOutputConfig field's value.
42120func (s *DescribeModelBiasJobDefinitionOutput) SetModelBiasJobOutputConfig(v *MonitoringOutputConfig) *DescribeModelBiasJobDefinitionOutput {
42121	s.ModelBiasJobOutputConfig = v
42122	return s
42123}
42124
42125// SetNetworkConfig sets the NetworkConfig field's value.
42126func (s *DescribeModelBiasJobDefinitionOutput) SetNetworkConfig(v *MonitoringNetworkConfig) *DescribeModelBiasJobDefinitionOutput {
42127	s.NetworkConfig = v
42128	return s
42129}
42130
42131// SetRoleArn sets the RoleArn field's value.
42132func (s *DescribeModelBiasJobDefinitionOutput) SetRoleArn(v string) *DescribeModelBiasJobDefinitionOutput {
42133	s.RoleArn = &v
42134	return s
42135}
42136
42137// SetStoppingCondition sets the StoppingCondition field's value.
42138func (s *DescribeModelBiasJobDefinitionOutput) SetStoppingCondition(v *MonitoringStoppingCondition) *DescribeModelBiasJobDefinitionOutput {
42139	s.StoppingCondition = v
42140	return s
42141}
42142
42143type DescribeModelExplainabilityJobDefinitionInput struct {
42144	_ struct{} `type:"structure"`
42145
42146	// The name of the model explainability job definition. The name must be unique
42147	// within an AWS Region in the AWS account.
42148	//
42149	// JobDefinitionName is a required field
42150	JobDefinitionName *string `min:"1" type:"string" required:"true"`
42151}
42152
42153// String returns the string representation
42154func (s DescribeModelExplainabilityJobDefinitionInput) String() string {
42155	return awsutil.Prettify(s)
42156}
42157
42158// GoString returns the string representation
42159func (s DescribeModelExplainabilityJobDefinitionInput) GoString() string {
42160	return s.String()
42161}
42162
42163// Validate inspects the fields of the type to determine if they are valid.
42164func (s *DescribeModelExplainabilityJobDefinitionInput) Validate() error {
42165	invalidParams := request.ErrInvalidParams{Context: "DescribeModelExplainabilityJobDefinitionInput"}
42166	if s.JobDefinitionName == nil {
42167		invalidParams.Add(request.NewErrParamRequired("JobDefinitionName"))
42168	}
42169	if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 {
42170		invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1))
42171	}
42172
42173	if invalidParams.Len() > 0 {
42174		return invalidParams
42175	}
42176	return nil
42177}
42178
42179// SetJobDefinitionName sets the JobDefinitionName field's value.
42180func (s *DescribeModelExplainabilityJobDefinitionInput) SetJobDefinitionName(v string) *DescribeModelExplainabilityJobDefinitionInput {
42181	s.JobDefinitionName = &v
42182	return s
42183}
42184
42185type DescribeModelExplainabilityJobDefinitionOutput struct {
42186	_ struct{} `type:"structure"`
42187
42188	// The time at which the model explainability job was created.
42189	//
42190	// CreationTime is a required field
42191	CreationTime *time.Time `type:"timestamp" required:"true"`
42192
42193	// The Amazon Resource Name (ARN) of the model explainability job.
42194	//
42195	// JobDefinitionArn is a required field
42196	JobDefinitionArn *string `type:"string" required:"true"`
42197
42198	// The name of the explainability job definition. The name must be unique within
42199	// an AWS Region in the AWS account.
42200	//
42201	// JobDefinitionName is a required field
42202	JobDefinitionName *string `min:"1" type:"string" required:"true"`
42203
42204	// Identifies the resources to deploy for a monitoring job.
42205	//
42206	// JobResources is a required field
42207	JobResources *MonitoringResources `type:"structure" required:"true"`
42208
42209	// Configures the model explainability job to run a specified Docker container
42210	// image.
42211	//
42212	// ModelExplainabilityAppSpecification is a required field
42213	ModelExplainabilityAppSpecification *ModelExplainabilityAppSpecification `type:"structure" required:"true"`
42214
42215	// The baseline configuration for a model explainability job.
42216	ModelExplainabilityBaselineConfig *ModelExplainabilityBaselineConfig `type:"structure"`
42217
42218	// Inputs for the model explainability job.
42219	//
42220	// ModelExplainabilityJobInput is a required field
42221	ModelExplainabilityJobInput *ModelExplainabilityJobInput `type:"structure" required:"true"`
42222
42223	// The output configuration for monitoring jobs.
42224	//
42225	// ModelExplainabilityJobOutputConfig is a required field
42226	ModelExplainabilityJobOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"`
42227
42228	// Networking options for a model explainability job.
42229	NetworkConfig *MonitoringNetworkConfig `type:"structure"`
42230
42231	// The Amazon Resource Name (ARN) of the AWS Identity and Access Management
42232	// (IAM) role that has read permission to the input data location and write
42233	// permission to the output data location in Amazon S3.
42234	//
42235	// RoleArn is a required field
42236	RoleArn *string `min:"20" type:"string" required:"true"`
42237
42238	// A time limit for how long the monitoring job is allowed to run before stopping.
42239	StoppingCondition *MonitoringStoppingCondition `type:"structure"`
42240}
42241
42242// String returns the string representation
42243func (s DescribeModelExplainabilityJobDefinitionOutput) String() string {
42244	return awsutil.Prettify(s)
42245}
42246
42247// GoString returns the string representation
42248func (s DescribeModelExplainabilityJobDefinitionOutput) GoString() string {
42249	return s.String()
42250}
42251
42252// SetCreationTime sets the CreationTime field's value.
42253func (s *DescribeModelExplainabilityJobDefinitionOutput) SetCreationTime(v time.Time) *DescribeModelExplainabilityJobDefinitionOutput {
42254	s.CreationTime = &v
42255	return s
42256}
42257
42258// SetJobDefinitionArn sets the JobDefinitionArn field's value.
42259func (s *DescribeModelExplainabilityJobDefinitionOutput) SetJobDefinitionArn(v string) *DescribeModelExplainabilityJobDefinitionOutput {
42260	s.JobDefinitionArn = &v
42261	return s
42262}
42263
42264// SetJobDefinitionName sets the JobDefinitionName field's value.
42265func (s *DescribeModelExplainabilityJobDefinitionOutput) SetJobDefinitionName(v string) *DescribeModelExplainabilityJobDefinitionOutput {
42266	s.JobDefinitionName = &v
42267	return s
42268}
42269
42270// SetJobResources sets the JobResources field's value.
42271func (s *DescribeModelExplainabilityJobDefinitionOutput) SetJobResources(v *MonitoringResources) *DescribeModelExplainabilityJobDefinitionOutput {
42272	s.JobResources = v
42273	return s
42274}
42275
42276// SetModelExplainabilityAppSpecification sets the ModelExplainabilityAppSpecification field's value.
42277func (s *DescribeModelExplainabilityJobDefinitionOutput) SetModelExplainabilityAppSpecification(v *ModelExplainabilityAppSpecification) *DescribeModelExplainabilityJobDefinitionOutput {
42278	s.ModelExplainabilityAppSpecification = v
42279	return s
42280}
42281
42282// SetModelExplainabilityBaselineConfig sets the ModelExplainabilityBaselineConfig field's value.
42283func (s *DescribeModelExplainabilityJobDefinitionOutput) SetModelExplainabilityBaselineConfig(v *ModelExplainabilityBaselineConfig) *DescribeModelExplainabilityJobDefinitionOutput {
42284	s.ModelExplainabilityBaselineConfig = v
42285	return s
42286}
42287
42288// SetModelExplainabilityJobInput sets the ModelExplainabilityJobInput field's value.
42289func (s *DescribeModelExplainabilityJobDefinitionOutput) SetModelExplainabilityJobInput(v *ModelExplainabilityJobInput) *DescribeModelExplainabilityJobDefinitionOutput {
42290	s.ModelExplainabilityJobInput = v
42291	return s
42292}
42293
42294// SetModelExplainabilityJobOutputConfig sets the ModelExplainabilityJobOutputConfig field's value.
42295func (s *DescribeModelExplainabilityJobDefinitionOutput) SetModelExplainabilityJobOutputConfig(v *MonitoringOutputConfig) *DescribeModelExplainabilityJobDefinitionOutput {
42296	s.ModelExplainabilityJobOutputConfig = v
42297	return s
42298}
42299
42300// SetNetworkConfig sets the NetworkConfig field's value.
42301func (s *DescribeModelExplainabilityJobDefinitionOutput) SetNetworkConfig(v *MonitoringNetworkConfig) *DescribeModelExplainabilityJobDefinitionOutput {
42302	s.NetworkConfig = v
42303	return s
42304}
42305
42306// SetRoleArn sets the RoleArn field's value.
42307func (s *DescribeModelExplainabilityJobDefinitionOutput) SetRoleArn(v string) *DescribeModelExplainabilityJobDefinitionOutput {
42308	s.RoleArn = &v
42309	return s
42310}
42311
42312// SetStoppingCondition sets the StoppingCondition field's value.
42313func (s *DescribeModelExplainabilityJobDefinitionOutput) SetStoppingCondition(v *MonitoringStoppingCondition) *DescribeModelExplainabilityJobDefinitionOutput {
42314	s.StoppingCondition = v
42315	return s
42316}
42317
42318type DescribeModelInput struct {
42319	_ struct{} `type:"structure"`
42320
42321	// The name of the model.
42322	//
42323	// ModelName is a required field
42324	ModelName *string `type:"string" required:"true"`
42325}
42326
42327// String returns the string representation
42328func (s DescribeModelInput) String() string {
42329	return awsutil.Prettify(s)
42330}
42331
42332// GoString returns the string representation
42333func (s DescribeModelInput) GoString() string {
42334	return s.String()
42335}
42336
42337// Validate inspects the fields of the type to determine if they are valid.
42338func (s *DescribeModelInput) Validate() error {
42339	invalidParams := request.ErrInvalidParams{Context: "DescribeModelInput"}
42340	if s.ModelName == nil {
42341		invalidParams.Add(request.NewErrParamRequired("ModelName"))
42342	}
42343
42344	if invalidParams.Len() > 0 {
42345		return invalidParams
42346	}
42347	return nil
42348}
42349
42350// SetModelName sets the ModelName field's value.
42351func (s *DescribeModelInput) SetModelName(v string) *DescribeModelInput {
42352	s.ModelName = &v
42353	return s
42354}
42355
42356type DescribeModelOutput struct {
42357	_ struct{} `type:"structure"`
42358
42359	// The containers in the inference pipeline.
42360	Containers []*ContainerDefinition `type:"list"`
42361
42362	// A timestamp that shows when the model was created.
42363	//
42364	// CreationTime is a required field
42365	CreationTime *time.Time `type:"timestamp" required:"true"`
42366
42367	// If True, no inbound or outbound network calls can be made to or from the
42368	// model container.
42369	EnableNetworkIsolation *bool `type:"boolean"`
42370
42371	// The Amazon Resource Name (ARN) of the IAM role that you specified for the
42372	// model.
42373	//
42374	// ExecutionRoleArn is a required field
42375	ExecutionRoleArn *string `min:"20" type:"string" required:"true"`
42376
42377	// Specifies details of how containers in a multi-container endpoint are called.
42378	InferenceExecutionConfig *InferenceExecutionConfig `type:"structure"`
42379
42380	// The Amazon Resource Name (ARN) of the model.
42381	//
42382	// ModelArn is a required field
42383	ModelArn *string `min:"20" type:"string" required:"true"`
42384
42385	// Name of the Amazon SageMaker model.
42386	//
42387	// ModelName is a required field
42388	ModelName *string `type:"string" required:"true"`
42389
42390	// The location of the primary inference code, associated artifacts, and custom
42391	// environment map that the inference code uses when it is deployed in production.
42392	PrimaryContainer *ContainerDefinition `type:"structure"`
42393
42394	// A VpcConfig object that specifies the VPC that this model has access to.
42395	// For more information, see Protect Endpoints by Using an Amazon Virtual Private
42396	// Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html)
42397	VpcConfig *VpcConfig `type:"structure"`
42398}
42399
42400// String returns the string representation
42401func (s DescribeModelOutput) String() string {
42402	return awsutil.Prettify(s)
42403}
42404
42405// GoString returns the string representation
42406func (s DescribeModelOutput) GoString() string {
42407	return s.String()
42408}
42409
42410// SetContainers sets the Containers field's value.
42411func (s *DescribeModelOutput) SetContainers(v []*ContainerDefinition) *DescribeModelOutput {
42412	s.Containers = v
42413	return s
42414}
42415
42416// SetCreationTime sets the CreationTime field's value.
42417func (s *DescribeModelOutput) SetCreationTime(v time.Time) *DescribeModelOutput {
42418	s.CreationTime = &v
42419	return s
42420}
42421
42422// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
42423func (s *DescribeModelOutput) SetEnableNetworkIsolation(v bool) *DescribeModelOutput {
42424	s.EnableNetworkIsolation = &v
42425	return s
42426}
42427
42428// SetExecutionRoleArn sets the ExecutionRoleArn field's value.
42429func (s *DescribeModelOutput) SetExecutionRoleArn(v string) *DescribeModelOutput {
42430	s.ExecutionRoleArn = &v
42431	return s
42432}
42433
42434// SetInferenceExecutionConfig sets the InferenceExecutionConfig field's value.
42435func (s *DescribeModelOutput) SetInferenceExecutionConfig(v *InferenceExecutionConfig) *DescribeModelOutput {
42436	s.InferenceExecutionConfig = v
42437	return s
42438}
42439
42440// SetModelArn sets the ModelArn field's value.
42441func (s *DescribeModelOutput) SetModelArn(v string) *DescribeModelOutput {
42442	s.ModelArn = &v
42443	return s
42444}
42445
42446// SetModelName sets the ModelName field's value.
42447func (s *DescribeModelOutput) SetModelName(v string) *DescribeModelOutput {
42448	s.ModelName = &v
42449	return s
42450}
42451
42452// SetPrimaryContainer sets the PrimaryContainer field's value.
42453func (s *DescribeModelOutput) SetPrimaryContainer(v *ContainerDefinition) *DescribeModelOutput {
42454	s.PrimaryContainer = v
42455	return s
42456}
42457
42458// SetVpcConfig sets the VpcConfig field's value.
42459func (s *DescribeModelOutput) SetVpcConfig(v *VpcConfig) *DescribeModelOutput {
42460	s.VpcConfig = v
42461	return s
42462}
42463
42464type DescribeModelPackageGroupInput struct {
42465	_ struct{} `type:"structure"`
42466
42467	// The name of the model group to describe.
42468	//
42469	// ModelPackageGroupName is a required field
42470	ModelPackageGroupName *string `min:"1" type:"string" required:"true"`
42471}
42472
42473// String returns the string representation
42474func (s DescribeModelPackageGroupInput) String() string {
42475	return awsutil.Prettify(s)
42476}
42477
42478// GoString returns the string representation
42479func (s DescribeModelPackageGroupInput) GoString() string {
42480	return s.String()
42481}
42482
42483// Validate inspects the fields of the type to determine if they are valid.
42484func (s *DescribeModelPackageGroupInput) Validate() error {
42485	invalidParams := request.ErrInvalidParams{Context: "DescribeModelPackageGroupInput"}
42486	if s.ModelPackageGroupName == nil {
42487		invalidParams.Add(request.NewErrParamRequired("ModelPackageGroupName"))
42488	}
42489	if s.ModelPackageGroupName != nil && len(*s.ModelPackageGroupName) < 1 {
42490		invalidParams.Add(request.NewErrParamMinLen("ModelPackageGroupName", 1))
42491	}
42492
42493	if invalidParams.Len() > 0 {
42494		return invalidParams
42495	}
42496	return nil
42497}
42498
42499// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
42500func (s *DescribeModelPackageGroupInput) SetModelPackageGroupName(v string) *DescribeModelPackageGroupInput {
42501	s.ModelPackageGroupName = &v
42502	return s
42503}
42504
42505type DescribeModelPackageGroupOutput struct {
42506	_ struct{} `type:"structure"`
42507
42508	// Information about the user who created or modified an experiment, trial,
42509	// or trial component.
42510	//
42511	// CreatedBy is a required field
42512	CreatedBy *UserContext `type:"structure" required:"true"`
42513
42514	// The time that the model group was created.
42515	//
42516	// CreationTime is a required field
42517	CreationTime *time.Time `type:"timestamp" required:"true"`
42518
42519	// The Amazon Resource Name (ARN) of the model group.
42520	//
42521	// ModelPackageGroupArn is a required field
42522	ModelPackageGroupArn *string `min:"1" type:"string" required:"true"`
42523
42524	// A description of the model group.
42525	ModelPackageGroupDescription *string `type:"string"`
42526
42527	// The name of the model group.
42528	//
42529	// ModelPackageGroupName is a required field
42530	ModelPackageGroupName *string `min:"1" type:"string" required:"true"`
42531
42532	// The status of the model group.
42533	//
42534	// ModelPackageGroupStatus is a required field
42535	ModelPackageGroupStatus *string `type:"string" required:"true" enum:"ModelPackageGroupStatus"`
42536}
42537
42538// String returns the string representation
42539func (s DescribeModelPackageGroupOutput) String() string {
42540	return awsutil.Prettify(s)
42541}
42542
42543// GoString returns the string representation
42544func (s DescribeModelPackageGroupOutput) GoString() string {
42545	return s.String()
42546}
42547
42548// SetCreatedBy sets the CreatedBy field's value.
42549func (s *DescribeModelPackageGroupOutput) SetCreatedBy(v *UserContext) *DescribeModelPackageGroupOutput {
42550	s.CreatedBy = v
42551	return s
42552}
42553
42554// SetCreationTime sets the CreationTime field's value.
42555func (s *DescribeModelPackageGroupOutput) SetCreationTime(v time.Time) *DescribeModelPackageGroupOutput {
42556	s.CreationTime = &v
42557	return s
42558}
42559
42560// SetModelPackageGroupArn sets the ModelPackageGroupArn field's value.
42561func (s *DescribeModelPackageGroupOutput) SetModelPackageGroupArn(v string) *DescribeModelPackageGroupOutput {
42562	s.ModelPackageGroupArn = &v
42563	return s
42564}
42565
42566// SetModelPackageGroupDescription sets the ModelPackageGroupDescription field's value.
42567func (s *DescribeModelPackageGroupOutput) SetModelPackageGroupDescription(v string) *DescribeModelPackageGroupOutput {
42568	s.ModelPackageGroupDescription = &v
42569	return s
42570}
42571
42572// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
42573func (s *DescribeModelPackageGroupOutput) SetModelPackageGroupName(v string) *DescribeModelPackageGroupOutput {
42574	s.ModelPackageGroupName = &v
42575	return s
42576}
42577
42578// SetModelPackageGroupStatus sets the ModelPackageGroupStatus field's value.
42579func (s *DescribeModelPackageGroupOutput) SetModelPackageGroupStatus(v string) *DescribeModelPackageGroupOutput {
42580	s.ModelPackageGroupStatus = &v
42581	return s
42582}
42583
42584type DescribeModelPackageInput struct {
42585	_ struct{} `type:"structure"`
42586
42587	// The name of the model package to describe.
42588	//
42589	// ModelPackageName is a required field
42590	ModelPackageName *string `min:"1" type:"string" required:"true"`
42591}
42592
42593// String returns the string representation
42594func (s DescribeModelPackageInput) String() string {
42595	return awsutil.Prettify(s)
42596}
42597
42598// GoString returns the string representation
42599func (s DescribeModelPackageInput) GoString() string {
42600	return s.String()
42601}
42602
42603// Validate inspects the fields of the type to determine if they are valid.
42604func (s *DescribeModelPackageInput) Validate() error {
42605	invalidParams := request.ErrInvalidParams{Context: "DescribeModelPackageInput"}
42606	if s.ModelPackageName == nil {
42607		invalidParams.Add(request.NewErrParamRequired("ModelPackageName"))
42608	}
42609	if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 {
42610		invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1))
42611	}
42612
42613	if invalidParams.Len() > 0 {
42614		return invalidParams
42615	}
42616	return nil
42617}
42618
42619// SetModelPackageName sets the ModelPackageName field's value.
42620func (s *DescribeModelPackageInput) SetModelPackageName(v string) *DescribeModelPackageInput {
42621	s.ModelPackageName = &v
42622	return s
42623}
42624
42625type DescribeModelPackageOutput struct {
42626	_ struct{} `type:"structure"`
42627
42628	// A description provided for the model approval.
42629	ApprovalDescription *string `type:"string"`
42630
42631	// Whether the model package is certified for listing on AWS Marketplace.
42632	CertifyForMarketplace *bool `type:"boolean"`
42633
42634	// Information about the user who created or modified an experiment, trial,
42635	// or trial component.
42636	CreatedBy *UserContext `type:"structure"`
42637
42638	// A timestamp specifying when the model package was created.
42639	//
42640	// CreationTime is a required field
42641	CreationTime *time.Time `type:"timestamp" required:"true"`
42642
42643	// Details about inference jobs that can be run with models based on this model
42644	// package.
42645	InferenceSpecification *InferenceSpecification `type:"structure"`
42646
42647	// Information about the user who created or modified an experiment, trial,
42648	// or trial component.
42649	LastModifiedBy *UserContext `type:"structure"`
42650
42651	// The last time the model package was modified.
42652	LastModifiedTime *time.Time `type:"timestamp"`
42653
42654	// Metadata properties of the tracking entity, trial, or trial component.
42655	MetadataProperties *MetadataProperties `type:"structure"`
42656
42657	// The approval status of the model package.
42658	ModelApprovalStatus *string `type:"string" enum:"ModelApprovalStatus"`
42659
42660	// Metrics for the model.
42661	ModelMetrics *ModelMetrics `type:"structure"`
42662
42663	// The Amazon Resource Name (ARN) of the model package.
42664	//
42665	// ModelPackageArn is a required field
42666	ModelPackageArn *string `min:"1" type:"string" required:"true"`
42667
42668	// A brief summary of the model package.
42669	ModelPackageDescription *string `type:"string"`
42670
42671	// If the model is a versioned model, the name of the model group that the versioned
42672	// model belongs to.
42673	ModelPackageGroupName *string `min:"1" type:"string"`
42674
42675	// The name of the model package being described.
42676	//
42677	// ModelPackageName is a required field
42678	ModelPackageName *string `min:"1" type:"string" required:"true"`
42679
42680	// The current status of the model package.
42681	//
42682	// ModelPackageStatus is a required field
42683	ModelPackageStatus *string `type:"string" required:"true" enum:"ModelPackageStatus"`
42684
42685	// Details about the current status of the model package.
42686	//
42687	// ModelPackageStatusDetails is a required field
42688	ModelPackageStatusDetails *ModelPackageStatusDetails `type:"structure" required:"true"`
42689
42690	// The version of the model package.
42691	ModelPackageVersion *int64 `min:"1" type:"integer"`
42692
42693	// Details about the algorithm that was used to create the model package.
42694	SourceAlgorithmSpecification *SourceAlgorithmSpecification `type:"structure"`
42695
42696	// Configurations for one or more transform jobs that Amazon SageMaker runs
42697	// to test the model package.
42698	ValidationSpecification *ModelPackageValidationSpecification `type:"structure"`
42699}
42700
42701// String returns the string representation
42702func (s DescribeModelPackageOutput) String() string {
42703	return awsutil.Prettify(s)
42704}
42705
42706// GoString returns the string representation
42707func (s DescribeModelPackageOutput) GoString() string {
42708	return s.String()
42709}
42710
42711// SetApprovalDescription sets the ApprovalDescription field's value.
42712func (s *DescribeModelPackageOutput) SetApprovalDescription(v string) *DescribeModelPackageOutput {
42713	s.ApprovalDescription = &v
42714	return s
42715}
42716
42717// SetCertifyForMarketplace sets the CertifyForMarketplace field's value.
42718func (s *DescribeModelPackageOutput) SetCertifyForMarketplace(v bool) *DescribeModelPackageOutput {
42719	s.CertifyForMarketplace = &v
42720	return s
42721}
42722
42723// SetCreatedBy sets the CreatedBy field's value.
42724func (s *DescribeModelPackageOutput) SetCreatedBy(v *UserContext) *DescribeModelPackageOutput {
42725	s.CreatedBy = v
42726	return s
42727}
42728
42729// SetCreationTime sets the CreationTime field's value.
42730func (s *DescribeModelPackageOutput) SetCreationTime(v time.Time) *DescribeModelPackageOutput {
42731	s.CreationTime = &v
42732	return s
42733}
42734
42735// SetInferenceSpecification sets the InferenceSpecification field's value.
42736func (s *DescribeModelPackageOutput) SetInferenceSpecification(v *InferenceSpecification) *DescribeModelPackageOutput {
42737	s.InferenceSpecification = v
42738	return s
42739}
42740
42741// SetLastModifiedBy sets the LastModifiedBy field's value.
42742func (s *DescribeModelPackageOutput) SetLastModifiedBy(v *UserContext) *DescribeModelPackageOutput {
42743	s.LastModifiedBy = v
42744	return s
42745}
42746
42747// SetLastModifiedTime sets the LastModifiedTime field's value.
42748func (s *DescribeModelPackageOutput) SetLastModifiedTime(v time.Time) *DescribeModelPackageOutput {
42749	s.LastModifiedTime = &v
42750	return s
42751}
42752
42753// SetMetadataProperties sets the MetadataProperties field's value.
42754func (s *DescribeModelPackageOutput) SetMetadataProperties(v *MetadataProperties) *DescribeModelPackageOutput {
42755	s.MetadataProperties = v
42756	return s
42757}
42758
42759// SetModelApprovalStatus sets the ModelApprovalStatus field's value.
42760func (s *DescribeModelPackageOutput) SetModelApprovalStatus(v string) *DescribeModelPackageOutput {
42761	s.ModelApprovalStatus = &v
42762	return s
42763}
42764
42765// SetModelMetrics sets the ModelMetrics field's value.
42766func (s *DescribeModelPackageOutput) SetModelMetrics(v *ModelMetrics) *DescribeModelPackageOutput {
42767	s.ModelMetrics = v
42768	return s
42769}
42770
42771// SetModelPackageArn sets the ModelPackageArn field's value.
42772func (s *DescribeModelPackageOutput) SetModelPackageArn(v string) *DescribeModelPackageOutput {
42773	s.ModelPackageArn = &v
42774	return s
42775}
42776
42777// SetModelPackageDescription sets the ModelPackageDescription field's value.
42778func (s *DescribeModelPackageOutput) SetModelPackageDescription(v string) *DescribeModelPackageOutput {
42779	s.ModelPackageDescription = &v
42780	return s
42781}
42782
42783// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
42784func (s *DescribeModelPackageOutput) SetModelPackageGroupName(v string) *DescribeModelPackageOutput {
42785	s.ModelPackageGroupName = &v
42786	return s
42787}
42788
42789// SetModelPackageName sets the ModelPackageName field's value.
42790func (s *DescribeModelPackageOutput) SetModelPackageName(v string) *DescribeModelPackageOutput {
42791	s.ModelPackageName = &v
42792	return s
42793}
42794
42795// SetModelPackageStatus sets the ModelPackageStatus field's value.
42796func (s *DescribeModelPackageOutput) SetModelPackageStatus(v string) *DescribeModelPackageOutput {
42797	s.ModelPackageStatus = &v
42798	return s
42799}
42800
42801// SetModelPackageStatusDetails sets the ModelPackageStatusDetails field's value.
42802func (s *DescribeModelPackageOutput) SetModelPackageStatusDetails(v *ModelPackageStatusDetails) *DescribeModelPackageOutput {
42803	s.ModelPackageStatusDetails = v
42804	return s
42805}
42806
42807// SetModelPackageVersion sets the ModelPackageVersion field's value.
42808func (s *DescribeModelPackageOutput) SetModelPackageVersion(v int64) *DescribeModelPackageOutput {
42809	s.ModelPackageVersion = &v
42810	return s
42811}
42812
42813// SetSourceAlgorithmSpecification sets the SourceAlgorithmSpecification field's value.
42814func (s *DescribeModelPackageOutput) SetSourceAlgorithmSpecification(v *SourceAlgorithmSpecification) *DescribeModelPackageOutput {
42815	s.SourceAlgorithmSpecification = v
42816	return s
42817}
42818
42819// SetValidationSpecification sets the ValidationSpecification field's value.
42820func (s *DescribeModelPackageOutput) SetValidationSpecification(v *ModelPackageValidationSpecification) *DescribeModelPackageOutput {
42821	s.ValidationSpecification = v
42822	return s
42823}
42824
42825type DescribeModelQualityJobDefinitionInput struct {
42826	_ struct{} `type:"structure"`
42827
42828	// The name of the model quality job. The name must be unique within an AWS
42829	// Region in the AWS account.
42830	//
42831	// JobDefinitionName is a required field
42832	JobDefinitionName *string `min:"1" type:"string" required:"true"`
42833}
42834
42835// String returns the string representation
42836func (s DescribeModelQualityJobDefinitionInput) String() string {
42837	return awsutil.Prettify(s)
42838}
42839
42840// GoString returns the string representation
42841func (s DescribeModelQualityJobDefinitionInput) GoString() string {
42842	return s.String()
42843}
42844
42845// Validate inspects the fields of the type to determine if they are valid.
42846func (s *DescribeModelQualityJobDefinitionInput) Validate() error {
42847	invalidParams := request.ErrInvalidParams{Context: "DescribeModelQualityJobDefinitionInput"}
42848	if s.JobDefinitionName == nil {
42849		invalidParams.Add(request.NewErrParamRequired("JobDefinitionName"))
42850	}
42851	if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 {
42852		invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1))
42853	}
42854
42855	if invalidParams.Len() > 0 {
42856		return invalidParams
42857	}
42858	return nil
42859}
42860
42861// SetJobDefinitionName sets the JobDefinitionName field's value.
42862func (s *DescribeModelQualityJobDefinitionInput) SetJobDefinitionName(v string) *DescribeModelQualityJobDefinitionInput {
42863	s.JobDefinitionName = &v
42864	return s
42865}
42866
42867type DescribeModelQualityJobDefinitionOutput struct {
42868	_ struct{} `type:"structure"`
42869
42870	// The time at which the model quality job was created.
42871	//
42872	// CreationTime is a required field
42873	CreationTime *time.Time `type:"timestamp" required:"true"`
42874
42875	// The Amazon Resource Name (ARN) of the model quality job.
42876	//
42877	// JobDefinitionArn is a required field
42878	JobDefinitionArn *string `type:"string" required:"true"`
42879
42880	// The name of the quality job definition. The name must be unique within an
42881	// AWS Region in the AWS account.
42882	//
42883	// JobDefinitionName is a required field
42884	JobDefinitionName *string `min:"1" type:"string" required:"true"`
42885
42886	// Identifies the resources to deploy for a monitoring job.
42887	//
42888	// JobResources is a required field
42889	JobResources *MonitoringResources `type:"structure" required:"true"`
42890
42891	// Configures the model quality job to run a specified Docker container image.
42892	//
42893	// ModelQualityAppSpecification is a required field
42894	ModelQualityAppSpecification *ModelQualityAppSpecification `type:"structure" required:"true"`
42895
42896	// The baseline configuration for a model quality job.
42897	ModelQualityBaselineConfig *ModelQualityBaselineConfig `type:"structure"`
42898
42899	// Inputs for the model quality job.
42900	//
42901	// ModelQualityJobInput is a required field
42902	ModelQualityJobInput *ModelQualityJobInput `type:"structure" required:"true"`
42903
42904	// The output configuration for monitoring jobs.
42905	//
42906	// ModelQualityJobOutputConfig is a required field
42907	ModelQualityJobOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"`
42908
42909	// Networking options for a model quality job.
42910	NetworkConfig *MonitoringNetworkConfig `type:"structure"`
42911
42912	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
42913	// to perform tasks on your behalf.
42914	//
42915	// RoleArn is a required field
42916	RoleArn *string `min:"20" type:"string" required:"true"`
42917
42918	// A time limit for how long the monitoring job is allowed to run before stopping.
42919	StoppingCondition *MonitoringStoppingCondition `type:"structure"`
42920}
42921
42922// String returns the string representation
42923func (s DescribeModelQualityJobDefinitionOutput) String() string {
42924	return awsutil.Prettify(s)
42925}
42926
42927// GoString returns the string representation
42928func (s DescribeModelQualityJobDefinitionOutput) GoString() string {
42929	return s.String()
42930}
42931
42932// SetCreationTime sets the CreationTime field's value.
42933func (s *DescribeModelQualityJobDefinitionOutput) SetCreationTime(v time.Time) *DescribeModelQualityJobDefinitionOutput {
42934	s.CreationTime = &v
42935	return s
42936}
42937
42938// SetJobDefinitionArn sets the JobDefinitionArn field's value.
42939func (s *DescribeModelQualityJobDefinitionOutput) SetJobDefinitionArn(v string) *DescribeModelQualityJobDefinitionOutput {
42940	s.JobDefinitionArn = &v
42941	return s
42942}
42943
42944// SetJobDefinitionName sets the JobDefinitionName field's value.
42945func (s *DescribeModelQualityJobDefinitionOutput) SetJobDefinitionName(v string) *DescribeModelQualityJobDefinitionOutput {
42946	s.JobDefinitionName = &v
42947	return s
42948}
42949
42950// SetJobResources sets the JobResources field's value.
42951func (s *DescribeModelQualityJobDefinitionOutput) SetJobResources(v *MonitoringResources) *DescribeModelQualityJobDefinitionOutput {
42952	s.JobResources = v
42953	return s
42954}
42955
42956// SetModelQualityAppSpecification sets the ModelQualityAppSpecification field's value.
42957func (s *DescribeModelQualityJobDefinitionOutput) SetModelQualityAppSpecification(v *ModelQualityAppSpecification) *DescribeModelQualityJobDefinitionOutput {
42958	s.ModelQualityAppSpecification = v
42959	return s
42960}
42961
42962// SetModelQualityBaselineConfig sets the ModelQualityBaselineConfig field's value.
42963func (s *DescribeModelQualityJobDefinitionOutput) SetModelQualityBaselineConfig(v *ModelQualityBaselineConfig) *DescribeModelQualityJobDefinitionOutput {
42964	s.ModelQualityBaselineConfig = v
42965	return s
42966}
42967
42968// SetModelQualityJobInput sets the ModelQualityJobInput field's value.
42969func (s *DescribeModelQualityJobDefinitionOutput) SetModelQualityJobInput(v *ModelQualityJobInput) *DescribeModelQualityJobDefinitionOutput {
42970	s.ModelQualityJobInput = v
42971	return s
42972}
42973
42974// SetModelQualityJobOutputConfig sets the ModelQualityJobOutputConfig field's value.
42975func (s *DescribeModelQualityJobDefinitionOutput) SetModelQualityJobOutputConfig(v *MonitoringOutputConfig) *DescribeModelQualityJobDefinitionOutput {
42976	s.ModelQualityJobOutputConfig = v
42977	return s
42978}
42979
42980// SetNetworkConfig sets the NetworkConfig field's value.
42981func (s *DescribeModelQualityJobDefinitionOutput) SetNetworkConfig(v *MonitoringNetworkConfig) *DescribeModelQualityJobDefinitionOutput {
42982	s.NetworkConfig = v
42983	return s
42984}
42985
42986// SetRoleArn sets the RoleArn field's value.
42987func (s *DescribeModelQualityJobDefinitionOutput) SetRoleArn(v string) *DescribeModelQualityJobDefinitionOutput {
42988	s.RoleArn = &v
42989	return s
42990}
42991
42992// SetStoppingCondition sets the StoppingCondition field's value.
42993func (s *DescribeModelQualityJobDefinitionOutput) SetStoppingCondition(v *MonitoringStoppingCondition) *DescribeModelQualityJobDefinitionOutput {
42994	s.StoppingCondition = v
42995	return s
42996}
42997
42998type DescribeMonitoringScheduleInput struct {
42999	_ struct{} `type:"structure"`
43000
43001	// Name of a previously created monitoring schedule.
43002	//
43003	// MonitoringScheduleName is a required field
43004	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
43005}
43006
43007// String returns the string representation
43008func (s DescribeMonitoringScheduleInput) String() string {
43009	return awsutil.Prettify(s)
43010}
43011
43012// GoString returns the string representation
43013func (s DescribeMonitoringScheduleInput) GoString() string {
43014	return s.String()
43015}
43016
43017// Validate inspects the fields of the type to determine if they are valid.
43018func (s *DescribeMonitoringScheduleInput) Validate() error {
43019	invalidParams := request.ErrInvalidParams{Context: "DescribeMonitoringScheduleInput"}
43020	if s.MonitoringScheduleName == nil {
43021		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName"))
43022	}
43023	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
43024		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
43025	}
43026
43027	if invalidParams.Len() > 0 {
43028		return invalidParams
43029	}
43030	return nil
43031}
43032
43033// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
43034func (s *DescribeMonitoringScheduleInput) SetMonitoringScheduleName(v string) *DescribeMonitoringScheduleInput {
43035	s.MonitoringScheduleName = &v
43036	return s
43037}
43038
43039type DescribeMonitoringScheduleOutput struct {
43040	_ struct{} `type:"structure"`
43041
43042	// The time at which the monitoring job was created.
43043	//
43044	// CreationTime is a required field
43045	CreationTime *time.Time `type:"timestamp" required:"true"`
43046
43047	// The name of the endpoint for the monitoring job.
43048	EndpointName *string `type:"string"`
43049
43050	// A string, up to one KB in size, that contains the reason a monitoring job
43051	// failed, if it failed.
43052	FailureReason *string `type:"string"`
43053
43054	// The time at which the monitoring job was last modified.
43055	//
43056	// LastModifiedTime is a required field
43057	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
43058
43059	// Describes metadata on the last execution to run, if there was one.
43060	LastMonitoringExecutionSummary *MonitoringExecutionSummary `type:"structure"`
43061
43062	// The Amazon Resource Name (ARN) of the monitoring schedule.
43063	//
43064	// MonitoringScheduleArn is a required field
43065	MonitoringScheduleArn *string `type:"string" required:"true"`
43066
43067	// The configuration object that specifies the monitoring schedule and defines
43068	// the monitoring job.
43069	//
43070	// MonitoringScheduleConfig is a required field
43071	MonitoringScheduleConfig *MonitoringScheduleConfig `type:"structure" required:"true"`
43072
43073	// Name of the monitoring schedule.
43074	//
43075	// MonitoringScheduleName is a required field
43076	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
43077
43078	// The status of an monitoring job.
43079	//
43080	// MonitoringScheduleStatus is a required field
43081	MonitoringScheduleStatus *string `type:"string" required:"true" enum:"ScheduleStatus"`
43082
43083	// The type of the monitoring job that this schedule runs. This is one of the
43084	// following values.
43085	//
43086	//    * DATA_QUALITY - The schedule is for a data quality monitoring job.
43087	//
43088	//    * MODEL_QUALITY - The schedule is for a model quality monitoring job.
43089	//
43090	//    * MODEL_BIAS - The schedule is for a bias monitoring job.
43091	//
43092	//    * MODEL_EXPLAINABILITY - The schedule is for an explainability monitoring
43093	//    job.
43094	MonitoringType *string `type:"string" enum:"MonitoringType"`
43095}
43096
43097// String returns the string representation
43098func (s DescribeMonitoringScheduleOutput) String() string {
43099	return awsutil.Prettify(s)
43100}
43101
43102// GoString returns the string representation
43103func (s DescribeMonitoringScheduleOutput) GoString() string {
43104	return s.String()
43105}
43106
43107// SetCreationTime sets the CreationTime field's value.
43108func (s *DescribeMonitoringScheduleOutput) SetCreationTime(v time.Time) *DescribeMonitoringScheduleOutput {
43109	s.CreationTime = &v
43110	return s
43111}
43112
43113// SetEndpointName sets the EndpointName field's value.
43114func (s *DescribeMonitoringScheduleOutput) SetEndpointName(v string) *DescribeMonitoringScheduleOutput {
43115	s.EndpointName = &v
43116	return s
43117}
43118
43119// SetFailureReason sets the FailureReason field's value.
43120func (s *DescribeMonitoringScheduleOutput) SetFailureReason(v string) *DescribeMonitoringScheduleOutput {
43121	s.FailureReason = &v
43122	return s
43123}
43124
43125// SetLastModifiedTime sets the LastModifiedTime field's value.
43126func (s *DescribeMonitoringScheduleOutput) SetLastModifiedTime(v time.Time) *DescribeMonitoringScheduleOutput {
43127	s.LastModifiedTime = &v
43128	return s
43129}
43130
43131// SetLastMonitoringExecutionSummary sets the LastMonitoringExecutionSummary field's value.
43132func (s *DescribeMonitoringScheduleOutput) SetLastMonitoringExecutionSummary(v *MonitoringExecutionSummary) *DescribeMonitoringScheduleOutput {
43133	s.LastMonitoringExecutionSummary = v
43134	return s
43135}
43136
43137// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
43138func (s *DescribeMonitoringScheduleOutput) SetMonitoringScheduleArn(v string) *DescribeMonitoringScheduleOutput {
43139	s.MonitoringScheduleArn = &v
43140	return s
43141}
43142
43143// SetMonitoringScheduleConfig sets the MonitoringScheduleConfig field's value.
43144func (s *DescribeMonitoringScheduleOutput) SetMonitoringScheduleConfig(v *MonitoringScheduleConfig) *DescribeMonitoringScheduleOutput {
43145	s.MonitoringScheduleConfig = v
43146	return s
43147}
43148
43149// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
43150func (s *DescribeMonitoringScheduleOutput) SetMonitoringScheduleName(v string) *DescribeMonitoringScheduleOutput {
43151	s.MonitoringScheduleName = &v
43152	return s
43153}
43154
43155// SetMonitoringScheduleStatus sets the MonitoringScheduleStatus field's value.
43156func (s *DescribeMonitoringScheduleOutput) SetMonitoringScheduleStatus(v string) *DescribeMonitoringScheduleOutput {
43157	s.MonitoringScheduleStatus = &v
43158	return s
43159}
43160
43161// SetMonitoringType sets the MonitoringType field's value.
43162func (s *DescribeMonitoringScheduleOutput) SetMonitoringType(v string) *DescribeMonitoringScheduleOutput {
43163	s.MonitoringType = &v
43164	return s
43165}
43166
43167type DescribeNotebookInstanceInput struct {
43168	_ struct{} `type:"structure"`
43169
43170	// The name of the notebook instance that you want information about.
43171	//
43172	// NotebookInstanceName is a required field
43173	NotebookInstanceName *string `type:"string" required:"true"`
43174}
43175
43176// String returns the string representation
43177func (s DescribeNotebookInstanceInput) String() string {
43178	return awsutil.Prettify(s)
43179}
43180
43181// GoString returns the string representation
43182func (s DescribeNotebookInstanceInput) GoString() string {
43183	return s.String()
43184}
43185
43186// Validate inspects the fields of the type to determine if they are valid.
43187func (s *DescribeNotebookInstanceInput) Validate() error {
43188	invalidParams := request.ErrInvalidParams{Context: "DescribeNotebookInstanceInput"}
43189	if s.NotebookInstanceName == nil {
43190		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
43191	}
43192
43193	if invalidParams.Len() > 0 {
43194		return invalidParams
43195	}
43196	return nil
43197}
43198
43199// SetNotebookInstanceName sets the NotebookInstanceName field's value.
43200func (s *DescribeNotebookInstanceInput) SetNotebookInstanceName(v string) *DescribeNotebookInstanceInput {
43201	s.NotebookInstanceName = &v
43202	return s
43203}
43204
43205type DescribeNotebookInstanceLifecycleConfigInput struct {
43206	_ struct{} `type:"structure"`
43207
43208	// The name of the lifecycle configuration to describe.
43209	//
43210	// NotebookInstanceLifecycleConfigName is a required field
43211	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
43212}
43213
43214// String returns the string representation
43215func (s DescribeNotebookInstanceLifecycleConfigInput) String() string {
43216	return awsutil.Prettify(s)
43217}
43218
43219// GoString returns the string representation
43220func (s DescribeNotebookInstanceLifecycleConfigInput) GoString() string {
43221	return s.String()
43222}
43223
43224// Validate inspects the fields of the type to determine if they are valid.
43225func (s *DescribeNotebookInstanceLifecycleConfigInput) Validate() error {
43226	invalidParams := request.ErrInvalidParams{Context: "DescribeNotebookInstanceLifecycleConfigInput"}
43227	if s.NotebookInstanceLifecycleConfigName == nil {
43228		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceLifecycleConfigName"))
43229	}
43230
43231	if invalidParams.Len() > 0 {
43232		return invalidParams
43233	}
43234	return nil
43235}
43236
43237// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
43238func (s *DescribeNotebookInstanceLifecycleConfigInput) SetNotebookInstanceLifecycleConfigName(v string) *DescribeNotebookInstanceLifecycleConfigInput {
43239	s.NotebookInstanceLifecycleConfigName = &v
43240	return s
43241}
43242
43243type DescribeNotebookInstanceLifecycleConfigOutput struct {
43244	_ struct{} `type:"structure"`
43245
43246	// A timestamp that tells when the lifecycle configuration was created.
43247	CreationTime *time.Time `type:"timestamp"`
43248
43249	// A timestamp that tells when the lifecycle configuration was last modified.
43250	LastModifiedTime *time.Time `type:"timestamp"`
43251
43252	// The Amazon Resource Name (ARN) of the lifecycle configuration.
43253	NotebookInstanceLifecycleConfigArn *string `type:"string"`
43254
43255	// The name of the lifecycle configuration.
43256	NotebookInstanceLifecycleConfigName *string `type:"string"`
43257
43258	// The shell script that runs only once, when you create a notebook instance.
43259	OnCreate []*NotebookInstanceLifecycleHook `type:"list"`
43260
43261	// The shell script that runs every time you start a notebook instance, including
43262	// when you create the notebook instance.
43263	OnStart []*NotebookInstanceLifecycleHook `type:"list"`
43264}
43265
43266// String returns the string representation
43267func (s DescribeNotebookInstanceLifecycleConfigOutput) String() string {
43268	return awsutil.Prettify(s)
43269}
43270
43271// GoString returns the string representation
43272func (s DescribeNotebookInstanceLifecycleConfigOutput) GoString() string {
43273	return s.String()
43274}
43275
43276// SetCreationTime sets the CreationTime field's value.
43277func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetCreationTime(v time.Time) *DescribeNotebookInstanceLifecycleConfigOutput {
43278	s.CreationTime = &v
43279	return s
43280}
43281
43282// SetLastModifiedTime sets the LastModifiedTime field's value.
43283func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetLastModifiedTime(v time.Time) *DescribeNotebookInstanceLifecycleConfigOutput {
43284	s.LastModifiedTime = &v
43285	return s
43286}
43287
43288// SetNotebookInstanceLifecycleConfigArn sets the NotebookInstanceLifecycleConfigArn field's value.
43289func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetNotebookInstanceLifecycleConfigArn(v string) *DescribeNotebookInstanceLifecycleConfigOutput {
43290	s.NotebookInstanceLifecycleConfigArn = &v
43291	return s
43292}
43293
43294// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
43295func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetNotebookInstanceLifecycleConfigName(v string) *DescribeNotebookInstanceLifecycleConfigOutput {
43296	s.NotebookInstanceLifecycleConfigName = &v
43297	return s
43298}
43299
43300// SetOnCreate sets the OnCreate field's value.
43301func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetOnCreate(v []*NotebookInstanceLifecycleHook) *DescribeNotebookInstanceLifecycleConfigOutput {
43302	s.OnCreate = v
43303	return s
43304}
43305
43306// SetOnStart sets the OnStart field's value.
43307func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetOnStart(v []*NotebookInstanceLifecycleHook) *DescribeNotebookInstanceLifecycleConfigOutput {
43308	s.OnStart = v
43309	return s
43310}
43311
43312type DescribeNotebookInstanceOutput struct {
43313	_ struct{} `type:"structure"`
43314
43315	// A list of the Elastic Inference (EI) instance types associated with this
43316	// notebook instance. Currently only one EI instance type can be associated
43317	// with a notebook instance. For more information, see Using Elastic Inference
43318	// in Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html).
43319	AcceleratorTypes []*string `type:"list"`
43320
43321	// An array of up to three Git repositories associated with the notebook instance.
43322	// These can be either the names of Git repositories stored as resources in
43323	// your account, or the URL of Git repositories in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
43324	// or in any other Git repository. These repositories are cloned at the same
43325	// level as the default repository of your notebook instance. For more information,
43326	// see Associating Git Repositories with Amazon SageMaker Notebook Instances
43327	// (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
43328	AdditionalCodeRepositories []*string `type:"list"`
43329
43330	// A timestamp. Use this parameter to return the time when the notebook instance
43331	// was created
43332	CreationTime *time.Time `type:"timestamp"`
43333
43334	// The Git repository associated with the notebook instance as its default code
43335	// repository. This can be either the name of a Git repository stored as a resource
43336	// in your account, or the URL of a Git repository in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
43337	// or in any other Git repository. When you open a notebook instance, it opens
43338	// in the directory that contains this repository. For more information, see
43339	// Associating Git Repositories with Amazon SageMaker Notebook Instances (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
43340	DefaultCodeRepository *string `min:"1" type:"string"`
43341
43342	// Describes whether Amazon SageMaker provides internet access to the notebook
43343	// instance. If this value is set to Disabled, the notebook instance does not
43344	// have internet access, and cannot connect to Amazon SageMaker training and
43345	// endpoint services.
43346	//
43347	// For more information, see Notebook Instances Are Internet-Enabled by Default
43348	// (https://docs.aws.amazon.com/sagemaker/latest/dg/appendix-additional-considerations.html#appendix-notebook-and-internet-access).
43349	DirectInternetAccess *string `type:"string" enum:"DirectInternetAccess"`
43350
43351	// If status is Failed, the reason it failed.
43352	FailureReason *string `type:"string"`
43353
43354	// The type of ML compute instance running on the notebook instance.
43355	InstanceType *string `type:"string" enum:"InstanceType"`
43356
43357	// The AWS KMS key ID Amazon SageMaker uses to encrypt data when storing it
43358	// on the ML storage volume attached to the instance.
43359	KmsKeyId *string `type:"string"`
43360
43361	// A timestamp. Use this parameter to retrieve the time when the notebook instance
43362	// was last modified.
43363	LastModifiedTime *time.Time `type:"timestamp"`
43364
43365	// The network interface IDs that Amazon SageMaker created at the time of creating
43366	// the instance.
43367	NetworkInterfaceId *string `type:"string"`
43368
43369	// The Amazon Resource Name (ARN) of the notebook instance.
43370	NotebookInstanceArn *string `type:"string"`
43371
43372	// Returns the name of a notebook instance lifecycle configuration.
43373	//
43374	// For information about notebook instance lifestyle configurations, see Step
43375	// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html)
43376	NotebookInstanceLifecycleConfigName *string `type:"string"`
43377
43378	// The name of the Amazon SageMaker notebook instance.
43379	NotebookInstanceName *string `type:"string"`
43380
43381	// The status of the notebook instance.
43382	NotebookInstanceStatus *string `type:"string" enum:"NotebookInstanceStatus"`
43383
43384	// The Amazon Resource Name (ARN) of the IAM role associated with the instance.
43385	RoleArn *string `min:"20" type:"string"`
43386
43387	// Whether root access is enabled or disabled for users of the notebook instance.
43388	//
43389	// Lifecycle configurations need root access to be able to set up a notebook
43390	// instance. Because of this, lifecycle configurations associated with a notebook
43391	// instance always run with root access even if you disable root access for
43392	// users.
43393	RootAccess *string `type:"string" enum:"RootAccess"`
43394
43395	// The IDs of the VPC security groups.
43396	SecurityGroups []*string `type:"list"`
43397
43398	// The ID of the VPC subnet.
43399	SubnetId *string `type:"string"`
43400
43401	// The URL that you use to connect to the Jupyter notebook that is running in
43402	// your notebook instance.
43403	Url *string `type:"string"`
43404
43405	// The size, in GB, of the ML storage volume attached to the notebook instance.
43406	VolumeSizeInGB *int64 `min:"5" type:"integer"`
43407}
43408
43409// String returns the string representation
43410func (s DescribeNotebookInstanceOutput) String() string {
43411	return awsutil.Prettify(s)
43412}
43413
43414// GoString returns the string representation
43415func (s DescribeNotebookInstanceOutput) GoString() string {
43416	return s.String()
43417}
43418
43419// SetAcceleratorTypes sets the AcceleratorTypes field's value.
43420func (s *DescribeNotebookInstanceOutput) SetAcceleratorTypes(v []*string) *DescribeNotebookInstanceOutput {
43421	s.AcceleratorTypes = v
43422	return s
43423}
43424
43425// SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value.
43426func (s *DescribeNotebookInstanceOutput) SetAdditionalCodeRepositories(v []*string) *DescribeNotebookInstanceOutput {
43427	s.AdditionalCodeRepositories = v
43428	return s
43429}
43430
43431// SetCreationTime sets the CreationTime field's value.
43432func (s *DescribeNotebookInstanceOutput) SetCreationTime(v time.Time) *DescribeNotebookInstanceOutput {
43433	s.CreationTime = &v
43434	return s
43435}
43436
43437// SetDefaultCodeRepository sets the DefaultCodeRepository field's value.
43438func (s *DescribeNotebookInstanceOutput) SetDefaultCodeRepository(v string) *DescribeNotebookInstanceOutput {
43439	s.DefaultCodeRepository = &v
43440	return s
43441}
43442
43443// SetDirectInternetAccess sets the DirectInternetAccess field's value.
43444func (s *DescribeNotebookInstanceOutput) SetDirectInternetAccess(v string) *DescribeNotebookInstanceOutput {
43445	s.DirectInternetAccess = &v
43446	return s
43447}
43448
43449// SetFailureReason sets the FailureReason field's value.
43450func (s *DescribeNotebookInstanceOutput) SetFailureReason(v string) *DescribeNotebookInstanceOutput {
43451	s.FailureReason = &v
43452	return s
43453}
43454
43455// SetInstanceType sets the InstanceType field's value.
43456func (s *DescribeNotebookInstanceOutput) SetInstanceType(v string) *DescribeNotebookInstanceOutput {
43457	s.InstanceType = &v
43458	return s
43459}
43460
43461// SetKmsKeyId sets the KmsKeyId field's value.
43462func (s *DescribeNotebookInstanceOutput) SetKmsKeyId(v string) *DescribeNotebookInstanceOutput {
43463	s.KmsKeyId = &v
43464	return s
43465}
43466
43467// SetLastModifiedTime sets the LastModifiedTime field's value.
43468func (s *DescribeNotebookInstanceOutput) SetLastModifiedTime(v time.Time) *DescribeNotebookInstanceOutput {
43469	s.LastModifiedTime = &v
43470	return s
43471}
43472
43473// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
43474func (s *DescribeNotebookInstanceOutput) SetNetworkInterfaceId(v string) *DescribeNotebookInstanceOutput {
43475	s.NetworkInterfaceId = &v
43476	return s
43477}
43478
43479// SetNotebookInstanceArn sets the NotebookInstanceArn field's value.
43480func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceArn(v string) *DescribeNotebookInstanceOutput {
43481	s.NotebookInstanceArn = &v
43482	return s
43483}
43484
43485// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
43486func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceLifecycleConfigName(v string) *DescribeNotebookInstanceOutput {
43487	s.NotebookInstanceLifecycleConfigName = &v
43488	return s
43489}
43490
43491// SetNotebookInstanceName sets the NotebookInstanceName field's value.
43492func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceName(v string) *DescribeNotebookInstanceOutput {
43493	s.NotebookInstanceName = &v
43494	return s
43495}
43496
43497// SetNotebookInstanceStatus sets the NotebookInstanceStatus field's value.
43498func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceStatus(v string) *DescribeNotebookInstanceOutput {
43499	s.NotebookInstanceStatus = &v
43500	return s
43501}
43502
43503// SetRoleArn sets the RoleArn field's value.
43504func (s *DescribeNotebookInstanceOutput) SetRoleArn(v string) *DescribeNotebookInstanceOutput {
43505	s.RoleArn = &v
43506	return s
43507}
43508
43509// SetRootAccess sets the RootAccess field's value.
43510func (s *DescribeNotebookInstanceOutput) SetRootAccess(v string) *DescribeNotebookInstanceOutput {
43511	s.RootAccess = &v
43512	return s
43513}
43514
43515// SetSecurityGroups sets the SecurityGroups field's value.
43516func (s *DescribeNotebookInstanceOutput) SetSecurityGroups(v []*string) *DescribeNotebookInstanceOutput {
43517	s.SecurityGroups = v
43518	return s
43519}
43520
43521// SetSubnetId sets the SubnetId field's value.
43522func (s *DescribeNotebookInstanceOutput) SetSubnetId(v string) *DescribeNotebookInstanceOutput {
43523	s.SubnetId = &v
43524	return s
43525}
43526
43527// SetUrl sets the Url field's value.
43528func (s *DescribeNotebookInstanceOutput) SetUrl(v string) *DescribeNotebookInstanceOutput {
43529	s.Url = &v
43530	return s
43531}
43532
43533// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
43534func (s *DescribeNotebookInstanceOutput) SetVolumeSizeInGB(v int64) *DescribeNotebookInstanceOutput {
43535	s.VolumeSizeInGB = &v
43536	return s
43537}
43538
43539type DescribePipelineDefinitionForExecutionInput struct {
43540	_ struct{} `type:"structure"`
43541
43542	// The Amazon Resource Name (ARN) of the pipeline execution.
43543	//
43544	// PipelineExecutionArn is a required field
43545	PipelineExecutionArn *string `type:"string" required:"true"`
43546}
43547
43548// String returns the string representation
43549func (s DescribePipelineDefinitionForExecutionInput) String() string {
43550	return awsutil.Prettify(s)
43551}
43552
43553// GoString returns the string representation
43554func (s DescribePipelineDefinitionForExecutionInput) GoString() string {
43555	return s.String()
43556}
43557
43558// Validate inspects the fields of the type to determine if they are valid.
43559func (s *DescribePipelineDefinitionForExecutionInput) Validate() error {
43560	invalidParams := request.ErrInvalidParams{Context: "DescribePipelineDefinitionForExecutionInput"}
43561	if s.PipelineExecutionArn == nil {
43562		invalidParams.Add(request.NewErrParamRequired("PipelineExecutionArn"))
43563	}
43564
43565	if invalidParams.Len() > 0 {
43566		return invalidParams
43567	}
43568	return nil
43569}
43570
43571// SetPipelineExecutionArn sets the PipelineExecutionArn field's value.
43572func (s *DescribePipelineDefinitionForExecutionInput) SetPipelineExecutionArn(v string) *DescribePipelineDefinitionForExecutionInput {
43573	s.PipelineExecutionArn = &v
43574	return s
43575}
43576
43577type DescribePipelineDefinitionForExecutionOutput struct {
43578	_ struct{} `type:"structure"`
43579
43580	// The time when the pipeline was created.
43581	CreationTime *time.Time `type:"timestamp"`
43582
43583	// The JSON pipeline definition.
43584	PipelineDefinition *string `min:"1" type:"string"`
43585}
43586
43587// String returns the string representation
43588func (s DescribePipelineDefinitionForExecutionOutput) String() string {
43589	return awsutil.Prettify(s)
43590}
43591
43592// GoString returns the string representation
43593func (s DescribePipelineDefinitionForExecutionOutput) GoString() string {
43594	return s.String()
43595}
43596
43597// SetCreationTime sets the CreationTime field's value.
43598func (s *DescribePipelineDefinitionForExecutionOutput) SetCreationTime(v time.Time) *DescribePipelineDefinitionForExecutionOutput {
43599	s.CreationTime = &v
43600	return s
43601}
43602
43603// SetPipelineDefinition sets the PipelineDefinition field's value.
43604func (s *DescribePipelineDefinitionForExecutionOutput) SetPipelineDefinition(v string) *DescribePipelineDefinitionForExecutionOutput {
43605	s.PipelineDefinition = &v
43606	return s
43607}
43608
43609type DescribePipelineExecutionInput struct {
43610	_ struct{} `type:"structure"`
43611
43612	// The Amazon Resource Name (ARN) of the pipeline execution.
43613	//
43614	// PipelineExecutionArn is a required field
43615	PipelineExecutionArn *string `type:"string" required:"true"`
43616}
43617
43618// String returns the string representation
43619func (s DescribePipelineExecutionInput) String() string {
43620	return awsutil.Prettify(s)
43621}
43622
43623// GoString returns the string representation
43624func (s DescribePipelineExecutionInput) GoString() string {
43625	return s.String()
43626}
43627
43628// Validate inspects the fields of the type to determine if they are valid.
43629func (s *DescribePipelineExecutionInput) Validate() error {
43630	invalidParams := request.ErrInvalidParams{Context: "DescribePipelineExecutionInput"}
43631	if s.PipelineExecutionArn == nil {
43632		invalidParams.Add(request.NewErrParamRequired("PipelineExecutionArn"))
43633	}
43634
43635	if invalidParams.Len() > 0 {
43636		return invalidParams
43637	}
43638	return nil
43639}
43640
43641// SetPipelineExecutionArn sets the PipelineExecutionArn field's value.
43642func (s *DescribePipelineExecutionInput) SetPipelineExecutionArn(v string) *DescribePipelineExecutionInput {
43643	s.PipelineExecutionArn = &v
43644	return s
43645}
43646
43647type DescribePipelineExecutionOutput struct {
43648	_ struct{} `type:"structure"`
43649
43650	// Information about the user who created or modified an experiment, trial,
43651	// or trial component.
43652	CreatedBy *UserContext `type:"structure"`
43653
43654	// The time when the pipeline execution was created.
43655	CreationTime *time.Time `type:"timestamp"`
43656
43657	// Information about the user who created or modified an experiment, trial,
43658	// or trial component.
43659	LastModifiedBy *UserContext `type:"structure"`
43660
43661	// The time when the pipeline execution was modified last.
43662	LastModifiedTime *time.Time `type:"timestamp"`
43663
43664	// The Amazon Resource Name (ARN) of the pipeline.
43665	PipelineArn *string `type:"string"`
43666
43667	// The Amazon Resource Name (ARN) of the pipeline execution.
43668	PipelineExecutionArn *string `type:"string"`
43669
43670	// The description of the pipeline execution.
43671	PipelineExecutionDescription *string `type:"string"`
43672
43673	// The display name of the pipeline execution.
43674	PipelineExecutionDisplayName *string `min:"1" type:"string"`
43675
43676	// The status of the pipeline execution.
43677	PipelineExecutionStatus *string `type:"string" enum:"PipelineExecutionStatus"`
43678}
43679
43680// String returns the string representation
43681func (s DescribePipelineExecutionOutput) String() string {
43682	return awsutil.Prettify(s)
43683}
43684
43685// GoString returns the string representation
43686func (s DescribePipelineExecutionOutput) GoString() string {
43687	return s.String()
43688}
43689
43690// SetCreatedBy sets the CreatedBy field's value.
43691func (s *DescribePipelineExecutionOutput) SetCreatedBy(v *UserContext) *DescribePipelineExecutionOutput {
43692	s.CreatedBy = v
43693	return s
43694}
43695
43696// SetCreationTime sets the CreationTime field's value.
43697func (s *DescribePipelineExecutionOutput) SetCreationTime(v time.Time) *DescribePipelineExecutionOutput {
43698	s.CreationTime = &v
43699	return s
43700}
43701
43702// SetLastModifiedBy sets the LastModifiedBy field's value.
43703func (s *DescribePipelineExecutionOutput) SetLastModifiedBy(v *UserContext) *DescribePipelineExecutionOutput {
43704	s.LastModifiedBy = v
43705	return s
43706}
43707
43708// SetLastModifiedTime sets the LastModifiedTime field's value.
43709func (s *DescribePipelineExecutionOutput) SetLastModifiedTime(v time.Time) *DescribePipelineExecutionOutput {
43710	s.LastModifiedTime = &v
43711	return s
43712}
43713
43714// SetPipelineArn sets the PipelineArn field's value.
43715func (s *DescribePipelineExecutionOutput) SetPipelineArn(v string) *DescribePipelineExecutionOutput {
43716	s.PipelineArn = &v
43717	return s
43718}
43719
43720// SetPipelineExecutionArn sets the PipelineExecutionArn field's value.
43721func (s *DescribePipelineExecutionOutput) SetPipelineExecutionArn(v string) *DescribePipelineExecutionOutput {
43722	s.PipelineExecutionArn = &v
43723	return s
43724}
43725
43726// SetPipelineExecutionDescription sets the PipelineExecutionDescription field's value.
43727func (s *DescribePipelineExecutionOutput) SetPipelineExecutionDescription(v string) *DescribePipelineExecutionOutput {
43728	s.PipelineExecutionDescription = &v
43729	return s
43730}
43731
43732// SetPipelineExecutionDisplayName sets the PipelineExecutionDisplayName field's value.
43733func (s *DescribePipelineExecutionOutput) SetPipelineExecutionDisplayName(v string) *DescribePipelineExecutionOutput {
43734	s.PipelineExecutionDisplayName = &v
43735	return s
43736}
43737
43738// SetPipelineExecutionStatus sets the PipelineExecutionStatus field's value.
43739func (s *DescribePipelineExecutionOutput) SetPipelineExecutionStatus(v string) *DescribePipelineExecutionOutput {
43740	s.PipelineExecutionStatus = &v
43741	return s
43742}
43743
43744type DescribePipelineInput struct {
43745	_ struct{} `type:"structure"`
43746
43747	// The name of the pipeline to describe.
43748	//
43749	// PipelineName is a required field
43750	PipelineName *string `min:"1" type:"string" required:"true"`
43751}
43752
43753// String returns the string representation
43754func (s DescribePipelineInput) String() string {
43755	return awsutil.Prettify(s)
43756}
43757
43758// GoString returns the string representation
43759func (s DescribePipelineInput) GoString() string {
43760	return s.String()
43761}
43762
43763// Validate inspects the fields of the type to determine if they are valid.
43764func (s *DescribePipelineInput) Validate() error {
43765	invalidParams := request.ErrInvalidParams{Context: "DescribePipelineInput"}
43766	if s.PipelineName == nil {
43767		invalidParams.Add(request.NewErrParamRequired("PipelineName"))
43768	}
43769	if s.PipelineName != nil && len(*s.PipelineName) < 1 {
43770		invalidParams.Add(request.NewErrParamMinLen("PipelineName", 1))
43771	}
43772
43773	if invalidParams.Len() > 0 {
43774		return invalidParams
43775	}
43776	return nil
43777}
43778
43779// SetPipelineName sets the PipelineName field's value.
43780func (s *DescribePipelineInput) SetPipelineName(v string) *DescribePipelineInput {
43781	s.PipelineName = &v
43782	return s
43783}
43784
43785type DescribePipelineOutput struct {
43786	_ struct{} `type:"structure"`
43787
43788	// Information about the user who created or modified an experiment, trial,
43789	// or trial component.
43790	CreatedBy *UserContext `type:"structure"`
43791
43792	// The time when the pipeline was created.
43793	CreationTime *time.Time `type:"timestamp"`
43794
43795	// Information about the user who created or modified an experiment, trial,
43796	// or trial component.
43797	LastModifiedBy *UserContext `type:"structure"`
43798
43799	// The time when the pipeline was last modified.
43800	LastModifiedTime *time.Time `type:"timestamp"`
43801
43802	// The time when the pipeline was last run.
43803	LastRunTime *time.Time `type:"timestamp"`
43804
43805	// The Amazon Resource Name (ARN) of the pipeline.
43806	PipelineArn *string `type:"string"`
43807
43808	// The JSON pipeline definition.
43809	PipelineDefinition *string `min:"1" type:"string"`
43810
43811	// The description of the pipeline.
43812	PipelineDescription *string `type:"string"`
43813
43814	// The display name of the pipeline.
43815	PipelineDisplayName *string `min:"1" type:"string"`
43816
43817	// The name of the pipeline.
43818	PipelineName *string `min:"1" type:"string"`
43819
43820	// The status of the pipeline execution.
43821	PipelineStatus *string `type:"string" enum:"PipelineStatus"`
43822
43823	// The Amazon Resource Name (ARN) that the pipeline uses to execute.
43824	RoleArn *string `min:"20" type:"string"`
43825}
43826
43827// String returns the string representation
43828func (s DescribePipelineOutput) String() string {
43829	return awsutil.Prettify(s)
43830}
43831
43832// GoString returns the string representation
43833func (s DescribePipelineOutput) GoString() string {
43834	return s.String()
43835}
43836
43837// SetCreatedBy sets the CreatedBy field's value.
43838func (s *DescribePipelineOutput) SetCreatedBy(v *UserContext) *DescribePipelineOutput {
43839	s.CreatedBy = v
43840	return s
43841}
43842
43843// SetCreationTime sets the CreationTime field's value.
43844func (s *DescribePipelineOutput) SetCreationTime(v time.Time) *DescribePipelineOutput {
43845	s.CreationTime = &v
43846	return s
43847}
43848
43849// SetLastModifiedBy sets the LastModifiedBy field's value.
43850func (s *DescribePipelineOutput) SetLastModifiedBy(v *UserContext) *DescribePipelineOutput {
43851	s.LastModifiedBy = v
43852	return s
43853}
43854
43855// SetLastModifiedTime sets the LastModifiedTime field's value.
43856func (s *DescribePipelineOutput) SetLastModifiedTime(v time.Time) *DescribePipelineOutput {
43857	s.LastModifiedTime = &v
43858	return s
43859}
43860
43861// SetLastRunTime sets the LastRunTime field's value.
43862func (s *DescribePipelineOutput) SetLastRunTime(v time.Time) *DescribePipelineOutput {
43863	s.LastRunTime = &v
43864	return s
43865}
43866
43867// SetPipelineArn sets the PipelineArn field's value.
43868func (s *DescribePipelineOutput) SetPipelineArn(v string) *DescribePipelineOutput {
43869	s.PipelineArn = &v
43870	return s
43871}
43872
43873// SetPipelineDefinition sets the PipelineDefinition field's value.
43874func (s *DescribePipelineOutput) SetPipelineDefinition(v string) *DescribePipelineOutput {
43875	s.PipelineDefinition = &v
43876	return s
43877}
43878
43879// SetPipelineDescription sets the PipelineDescription field's value.
43880func (s *DescribePipelineOutput) SetPipelineDescription(v string) *DescribePipelineOutput {
43881	s.PipelineDescription = &v
43882	return s
43883}
43884
43885// SetPipelineDisplayName sets the PipelineDisplayName field's value.
43886func (s *DescribePipelineOutput) SetPipelineDisplayName(v string) *DescribePipelineOutput {
43887	s.PipelineDisplayName = &v
43888	return s
43889}
43890
43891// SetPipelineName sets the PipelineName field's value.
43892func (s *DescribePipelineOutput) SetPipelineName(v string) *DescribePipelineOutput {
43893	s.PipelineName = &v
43894	return s
43895}
43896
43897// SetPipelineStatus sets the PipelineStatus field's value.
43898func (s *DescribePipelineOutput) SetPipelineStatus(v string) *DescribePipelineOutput {
43899	s.PipelineStatus = &v
43900	return s
43901}
43902
43903// SetRoleArn sets the RoleArn field's value.
43904func (s *DescribePipelineOutput) SetRoleArn(v string) *DescribePipelineOutput {
43905	s.RoleArn = &v
43906	return s
43907}
43908
43909type DescribeProcessingJobInput struct {
43910	_ struct{} `type:"structure"`
43911
43912	// The name of the processing job. The name must be unique within an AWS Region
43913	// in the AWS account.
43914	//
43915	// ProcessingJobName is a required field
43916	ProcessingJobName *string `min:"1" type:"string" required:"true"`
43917}
43918
43919// String returns the string representation
43920func (s DescribeProcessingJobInput) String() string {
43921	return awsutil.Prettify(s)
43922}
43923
43924// GoString returns the string representation
43925func (s DescribeProcessingJobInput) GoString() string {
43926	return s.String()
43927}
43928
43929// Validate inspects the fields of the type to determine if they are valid.
43930func (s *DescribeProcessingJobInput) Validate() error {
43931	invalidParams := request.ErrInvalidParams{Context: "DescribeProcessingJobInput"}
43932	if s.ProcessingJobName == nil {
43933		invalidParams.Add(request.NewErrParamRequired("ProcessingJobName"))
43934	}
43935	if s.ProcessingJobName != nil && len(*s.ProcessingJobName) < 1 {
43936		invalidParams.Add(request.NewErrParamMinLen("ProcessingJobName", 1))
43937	}
43938
43939	if invalidParams.Len() > 0 {
43940		return invalidParams
43941	}
43942	return nil
43943}
43944
43945// SetProcessingJobName sets the ProcessingJobName field's value.
43946func (s *DescribeProcessingJobInput) SetProcessingJobName(v string) *DescribeProcessingJobInput {
43947	s.ProcessingJobName = &v
43948	return s
43949}
43950
43951type DescribeProcessingJobOutput struct {
43952	_ struct{} `type:"structure"`
43953
43954	// Configures the processing job to run a specified container image.
43955	//
43956	// AppSpecification is a required field
43957	AppSpecification *AppSpecification `type:"structure" required:"true"`
43958
43959	// The ARN of an AutoML job associated with this processing job.
43960	AutoMLJobArn *string `min:"1" type:"string"`
43961
43962	// The time at which the processing job was created.
43963	//
43964	// CreationTime is a required field
43965	CreationTime *time.Time `type:"timestamp" required:"true"`
43966
43967	// The environment variables set in the Docker container.
43968	Environment map[string]*string `type:"map"`
43969
43970	// An optional string, up to one KB in size, that contains metadata from the
43971	// processing container when the processing job exits.
43972	ExitMessage *string `type:"string"`
43973
43974	// The configuration information used to create an experiment.
43975	ExperimentConfig *ExperimentConfig `type:"structure"`
43976
43977	// A string, up to one KB in size, that contains the reason a processing job
43978	// failed, if it failed.
43979	FailureReason *string `type:"string"`
43980
43981	// The time at which the processing job was last modified.
43982	LastModifiedTime *time.Time `type:"timestamp"`
43983
43984	// The ARN of a monitoring schedule for an endpoint associated with this processing
43985	// job.
43986	MonitoringScheduleArn *string `type:"string"`
43987
43988	// Networking options for a processing job.
43989	NetworkConfig *NetworkConfig `type:"structure"`
43990
43991	// The time at which the processing job completed.
43992	ProcessingEndTime *time.Time `type:"timestamp"`
43993
43994	// The inputs for a processing job.
43995	ProcessingInputs []*ProcessingInput `type:"list"`
43996
43997	// The Amazon Resource Name (ARN) of the processing job.
43998	//
43999	// ProcessingJobArn is a required field
44000	ProcessingJobArn *string `type:"string" required:"true"`
44001
44002	// The name of the processing job. The name must be unique within an AWS Region
44003	// in the AWS account.
44004	//
44005	// ProcessingJobName is a required field
44006	ProcessingJobName *string `min:"1" type:"string" required:"true"`
44007
44008	// Provides the status of a processing job.
44009	//
44010	// ProcessingJobStatus is a required field
44011	ProcessingJobStatus *string `type:"string" required:"true" enum:"ProcessingJobStatus"`
44012
44013	// Output configuration for the processing job.
44014	ProcessingOutputConfig *ProcessingOutputConfig `type:"structure"`
44015
44016	// Identifies the resources, ML compute instances, and ML storage volumes to
44017	// deploy for a processing job. In distributed training, you specify more than
44018	// one instance.
44019	//
44020	// ProcessingResources is a required field
44021	ProcessingResources *ProcessingResources `type:"structure" required:"true"`
44022
44023	// The time at which the processing job started.
44024	ProcessingStartTime *time.Time `type:"timestamp"`
44025
44026	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
44027	// to perform tasks on your behalf.
44028	RoleArn *string `min:"20" type:"string"`
44029
44030	// The time limit for how long the processing job is allowed to run.
44031	StoppingCondition *ProcessingStoppingCondition `type:"structure"`
44032
44033	// The ARN of a training job associated with this processing job.
44034	TrainingJobArn *string `type:"string"`
44035}
44036
44037// String returns the string representation
44038func (s DescribeProcessingJobOutput) String() string {
44039	return awsutil.Prettify(s)
44040}
44041
44042// GoString returns the string representation
44043func (s DescribeProcessingJobOutput) GoString() string {
44044	return s.String()
44045}
44046
44047// SetAppSpecification sets the AppSpecification field's value.
44048func (s *DescribeProcessingJobOutput) SetAppSpecification(v *AppSpecification) *DescribeProcessingJobOutput {
44049	s.AppSpecification = v
44050	return s
44051}
44052
44053// SetAutoMLJobArn sets the AutoMLJobArn field's value.
44054func (s *DescribeProcessingJobOutput) SetAutoMLJobArn(v string) *DescribeProcessingJobOutput {
44055	s.AutoMLJobArn = &v
44056	return s
44057}
44058
44059// SetCreationTime sets the CreationTime field's value.
44060func (s *DescribeProcessingJobOutput) SetCreationTime(v time.Time) *DescribeProcessingJobOutput {
44061	s.CreationTime = &v
44062	return s
44063}
44064
44065// SetEnvironment sets the Environment field's value.
44066func (s *DescribeProcessingJobOutput) SetEnvironment(v map[string]*string) *DescribeProcessingJobOutput {
44067	s.Environment = v
44068	return s
44069}
44070
44071// SetExitMessage sets the ExitMessage field's value.
44072func (s *DescribeProcessingJobOutput) SetExitMessage(v string) *DescribeProcessingJobOutput {
44073	s.ExitMessage = &v
44074	return s
44075}
44076
44077// SetExperimentConfig sets the ExperimentConfig field's value.
44078func (s *DescribeProcessingJobOutput) SetExperimentConfig(v *ExperimentConfig) *DescribeProcessingJobOutput {
44079	s.ExperimentConfig = v
44080	return s
44081}
44082
44083// SetFailureReason sets the FailureReason field's value.
44084func (s *DescribeProcessingJobOutput) SetFailureReason(v string) *DescribeProcessingJobOutput {
44085	s.FailureReason = &v
44086	return s
44087}
44088
44089// SetLastModifiedTime sets the LastModifiedTime field's value.
44090func (s *DescribeProcessingJobOutput) SetLastModifiedTime(v time.Time) *DescribeProcessingJobOutput {
44091	s.LastModifiedTime = &v
44092	return s
44093}
44094
44095// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
44096func (s *DescribeProcessingJobOutput) SetMonitoringScheduleArn(v string) *DescribeProcessingJobOutput {
44097	s.MonitoringScheduleArn = &v
44098	return s
44099}
44100
44101// SetNetworkConfig sets the NetworkConfig field's value.
44102func (s *DescribeProcessingJobOutput) SetNetworkConfig(v *NetworkConfig) *DescribeProcessingJobOutput {
44103	s.NetworkConfig = v
44104	return s
44105}
44106
44107// SetProcessingEndTime sets the ProcessingEndTime field's value.
44108func (s *DescribeProcessingJobOutput) SetProcessingEndTime(v time.Time) *DescribeProcessingJobOutput {
44109	s.ProcessingEndTime = &v
44110	return s
44111}
44112
44113// SetProcessingInputs sets the ProcessingInputs field's value.
44114func (s *DescribeProcessingJobOutput) SetProcessingInputs(v []*ProcessingInput) *DescribeProcessingJobOutput {
44115	s.ProcessingInputs = v
44116	return s
44117}
44118
44119// SetProcessingJobArn sets the ProcessingJobArn field's value.
44120func (s *DescribeProcessingJobOutput) SetProcessingJobArn(v string) *DescribeProcessingJobOutput {
44121	s.ProcessingJobArn = &v
44122	return s
44123}
44124
44125// SetProcessingJobName sets the ProcessingJobName field's value.
44126func (s *DescribeProcessingJobOutput) SetProcessingJobName(v string) *DescribeProcessingJobOutput {
44127	s.ProcessingJobName = &v
44128	return s
44129}
44130
44131// SetProcessingJobStatus sets the ProcessingJobStatus field's value.
44132func (s *DescribeProcessingJobOutput) SetProcessingJobStatus(v string) *DescribeProcessingJobOutput {
44133	s.ProcessingJobStatus = &v
44134	return s
44135}
44136
44137// SetProcessingOutputConfig sets the ProcessingOutputConfig field's value.
44138func (s *DescribeProcessingJobOutput) SetProcessingOutputConfig(v *ProcessingOutputConfig) *DescribeProcessingJobOutput {
44139	s.ProcessingOutputConfig = v
44140	return s
44141}
44142
44143// SetProcessingResources sets the ProcessingResources field's value.
44144func (s *DescribeProcessingJobOutput) SetProcessingResources(v *ProcessingResources) *DescribeProcessingJobOutput {
44145	s.ProcessingResources = v
44146	return s
44147}
44148
44149// SetProcessingStartTime sets the ProcessingStartTime field's value.
44150func (s *DescribeProcessingJobOutput) SetProcessingStartTime(v time.Time) *DescribeProcessingJobOutput {
44151	s.ProcessingStartTime = &v
44152	return s
44153}
44154
44155// SetRoleArn sets the RoleArn field's value.
44156func (s *DescribeProcessingJobOutput) SetRoleArn(v string) *DescribeProcessingJobOutput {
44157	s.RoleArn = &v
44158	return s
44159}
44160
44161// SetStoppingCondition sets the StoppingCondition field's value.
44162func (s *DescribeProcessingJobOutput) SetStoppingCondition(v *ProcessingStoppingCondition) *DescribeProcessingJobOutput {
44163	s.StoppingCondition = v
44164	return s
44165}
44166
44167// SetTrainingJobArn sets the TrainingJobArn field's value.
44168func (s *DescribeProcessingJobOutput) SetTrainingJobArn(v string) *DescribeProcessingJobOutput {
44169	s.TrainingJobArn = &v
44170	return s
44171}
44172
44173type DescribeProjectInput struct {
44174	_ struct{} `type:"structure"`
44175
44176	// The name of the project to describe.
44177	//
44178	// ProjectName is a required field
44179	ProjectName *string `min:"1" type:"string" required:"true"`
44180}
44181
44182// String returns the string representation
44183func (s DescribeProjectInput) String() string {
44184	return awsutil.Prettify(s)
44185}
44186
44187// GoString returns the string representation
44188func (s DescribeProjectInput) GoString() string {
44189	return s.String()
44190}
44191
44192// Validate inspects the fields of the type to determine if they are valid.
44193func (s *DescribeProjectInput) Validate() error {
44194	invalidParams := request.ErrInvalidParams{Context: "DescribeProjectInput"}
44195	if s.ProjectName == nil {
44196		invalidParams.Add(request.NewErrParamRequired("ProjectName"))
44197	}
44198	if s.ProjectName != nil && len(*s.ProjectName) < 1 {
44199		invalidParams.Add(request.NewErrParamMinLen("ProjectName", 1))
44200	}
44201
44202	if invalidParams.Len() > 0 {
44203		return invalidParams
44204	}
44205	return nil
44206}
44207
44208// SetProjectName sets the ProjectName field's value.
44209func (s *DescribeProjectInput) SetProjectName(v string) *DescribeProjectInput {
44210	s.ProjectName = &v
44211	return s
44212}
44213
44214type DescribeProjectOutput struct {
44215	_ struct{} `type:"structure"`
44216
44217	// Information about the user who created or modified an experiment, trial,
44218	// or trial component.
44219	CreatedBy *UserContext `type:"structure"`
44220
44221	// The time when the project was created.
44222	//
44223	// CreationTime is a required field
44224	CreationTime *time.Time `type:"timestamp" required:"true"`
44225
44226	// The Amazon Resource Name (ARN) of the project.
44227	//
44228	// ProjectArn is a required field
44229	ProjectArn *string `min:"1" type:"string" required:"true"`
44230
44231	// The description of the project.
44232	ProjectDescription *string `type:"string"`
44233
44234	// The ID of the project.
44235	//
44236	// ProjectId is a required field
44237	ProjectId *string `min:"1" type:"string" required:"true"`
44238
44239	// The name of the project.
44240	//
44241	// ProjectName is a required field
44242	ProjectName *string `min:"1" type:"string" required:"true"`
44243
44244	// The status of the project.
44245	//
44246	// ProjectStatus is a required field
44247	ProjectStatus *string `type:"string" required:"true" enum:"ProjectStatus"`
44248
44249	// Information about a provisioned service catalog product.
44250	ServiceCatalogProvisionedProductDetails *ServiceCatalogProvisionedProductDetails `type:"structure"`
44251
44252	// Information used to provision a service catalog product. For information,
44253	// see What is AWS Service Catalog (https://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html).
44254	//
44255	// ServiceCatalogProvisioningDetails is a required field
44256	ServiceCatalogProvisioningDetails *ServiceCatalogProvisioningDetails `type:"structure" required:"true"`
44257}
44258
44259// String returns the string representation
44260func (s DescribeProjectOutput) String() string {
44261	return awsutil.Prettify(s)
44262}
44263
44264// GoString returns the string representation
44265func (s DescribeProjectOutput) GoString() string {
44266	return s.String()
44267}
44268
44269// SetCreatedBy sets the CreatedBy field's value.
44270func (s *DescribeProjectOutput) SetCreatedBy(v *UserContext) *DescribeProjectOutput {
44271	s.CreatedBy = v
44272	return s
44273}
44274
44275// SetCreationTime sets the CreationTime field's value.
44276func (s *DescribeProjectOutput) SetCreationTime(v time.Time) *DescribeProjectOutput {
44277	s.CreationTime = &v
44278	return s
44279}
44280
44281// SetProjectArn sets the ProjectArn field's value.
44282func (s *DescribeProjectOutput) SetProjectArn(v string) *DescribeProjectOutput {
44283	s.ProjectArn = &v
44284	return s
44285}
44286
44287// SetProjectDescription sets the ProjectDescription field's value.
44288func (s *DescribeProjectOutput) SetProjectDescription(v string) *DescribeProjectOutput {
44289	s.ProjectDescription = &v
44290	return s
44291}
44292
44293// SetProjectId sets the ProjectId field's value.
44294func (s *DescribeProjectOutput) SetProjectId(v string) *DescribeProjectOutput {
44295	s.ProjectId = &v
44296	return s
44297}
44298
44299// SetProjectName sets the ProjectName field's value.
44300func (s *DescribeProjectOutput) SetProjectName(v string) *DescribeProjectOutput {
44301	s.ProjectName = &v
44302	return s
44303}
44304
44305// SetProjectStatus sets the ProjectStatus field's value.
44306func (s *DescribeProjectOutput) SetProjectStatus(v string) *DescribeProjectOutput {
44307	s.ProjectStatus = &v
44308	return s
44309}
44310
44311// SetServiceCatalogProvisionedProductDetails sets the ServiceCatalogProvisionedProductDetails field's value.
44312func (s *DescribeProjectOutput) SetServiceCatalogProvisionedProductDetails(v *ServiceCatalogProvisionedProductDetails) *DescribeProjectOutput {
44313	s.ServiceCatalogProvisionedProductDetails = v
44314	return s
44315}
44316
44317// SetServiceCatalogProvisioningDetails sets the ServiceCatalogProvisioningDetails field's value.
44318func (s *DescribeProjectOutput) SetServiceCatalogProvisioningDetails(v *ServiceCatalogProvisioningDetails) *DescribeProjectOutput {
44319	s.ServiceCatalogProvisioningDetails = v
44320	return s
44321}
44322
44323type DescribeSubscribedWorkteamInput struct {
44324	_ struct{} `type:"structure"`
44325
44326	// The Amazon Resource Name (ARN) of the subscribed work team to describe.
44327	//
44328	// WorkteamArn is a required field
44329	WorkteamArn *string `type:"string" required:"true"`
44330}
44331
44332// String returns the string representation
44333func (s DescribeSubscribedWorkteamInput) String() string {
44334	return awsutil.Prettify(s)
44335}
44336
44337// GoString returns the string representation
44338func (s DescribeSubscribedWorkteamInput) GoString() string {
44339	return s.String()
44340}
44341
44342// Validate inspects the fields of the type to determine if they are valid.
44343func (s *DescribeSubscribedWorkteamInput) Validate() error {
44344	invalidParams := request.ErrInvalidParams{Context: "DescribeSubscribedWorkteamInput"}
44345	if s.WorkteamArn == nil {
44346		invalidParams.Add(request.NewErrParamRequired("WorkteamArn"))
44347	}
44348
44349	if invalidParams.Len() > 0 {
44350		return invalidParams
44351	}
44352	return nil
44353}
44354
44355// SetWorkteamArn sets the WorkteamArn field's value.
44356func (s *DescribeSubscribedWorkteamInput) SetWorkteamArn(v string) *DescribeSubscribedWorkteamInput {
44357	s.WorkteamArn = &v
44358	return s
44359}
44360
44361type DescribeSubscribedWorkteamOutput struct {
44362	_ struct{} `type:"structure"`
44363
44364	// A Workteam instance that contains information about the work team.
44365	//
44366	// SubscribedWorkteam is a required field
44367	SubscribedWorkteam *SubscribedWorkteam `type:"structure" required:"true"`
44368}
44369
44370// String returns the string representation
44371func (s DescribeSubscribedWorkteamOutput) String() string {
44372	return awsutil.Prettify(s)
44373}
44374
44375// GoString returns the string representation
44376func (s DescribeSubscribedWorkteamOutput) GoString() string {
44377	return s.String()
44378}
44379
44380// SetSubscribedWorkteam sets the SubscribedWorkteam field's value.
44381func (s *DescribeSubscribedWorkteamOutput) SetSubscribedWorkteam(v *SubscribedWorkteam) *DescribeSubscribedWorkteamOutput {
44382	s.SubscribedWorkteam = v
44383	return s
44384}
44385
44386type DescribeTrainingJobInput struct {
44387	_ struct{} `type:"structure"`
44388
44389	// The name of the training job.
44390	//
44391	// TrainingJobName is a required field
44392	TrainingJobName *string `min:"1" type:"string" required:"true"`
44393}
44394
44395// String returns the string representation
44396func (s DescribeTrainingJobInput) String() string {
44397	return awsutil.Prettify(s)
44398}
44399
44400// GoString returns the string representation
44401func (s DescribeTrainingJobInput) GoString() string {
44402	return s.String()
44403}
44404
44405// Validate inspects the fields of the type to determine if they are valid.
44406func (s *DescribeTrainingJobInput) Validate() error {
44407	invalidParams := request.ErrInvalidParams{Context: "DescribeTrainingJobInput"}
44408	if s.TrainingJobName == nil {
44409		invalidParams.Add(request.NewErrParamRequired("TrainingJobName"))
44410	}
44411	if s.TrainingJobName != nil && len(*s.TrainingJobName) < 1 {
44412		invalidParams.Add(request.NewErrParamMinLen("TrainingJobName", 1))
44413	}
44414
44415	if invalidParams.Len() > 0 {
44416		return invalidParams
44417	}
44418	return nil
44419}
44420
44421// SetTrainingJobName sets the TrainingJobName field's value.
44422func (s *DescribeTrainingJobInput) SetTrainingJobName(v string) *DescribeTrainingJobInput {
44423	s.TrainingJobName = &v
44424	return s
44425}
44426
44427type DescribeTrainingJobOutput struct {
44428	_ struct{} `type:"structure"`
44429
44430	// Information about the algorithm used for training, and algorithm metadata.
44431	//
44432	// AlgorithmSpecification is a required field
44433	AlgorithmSpecification *AlgorithmSpecification `type:"structure" required:"true"`
44434
44435	// The Amazon Resource Name (ARN) of an AutoML job.
44436	AutoMLJobArn *string `min:"1" type:"string"`
44437
44438	// The billable time in seconds. Billable time refers to the absolute wall-clock
44439	// time.
44440	//
44441	// Multiply BillableTimeInSeconds by the number of instances (InstanceCount)
44442	// in your training cluster to get the total compute time Amazon SageMaker will
44443	// bill you if you run distributed training. The formula is as follows: BillableTimeInSeconds
44444	// * InstanceCount .
44445	//
44446	// You can calculate the savings from using managed spot training using the
44447	// formula (1 - BillableTimeInSeconds / TrainingTimeInSeconds) * 100. For example,
44448	// if BillableTimeInSeconds is 100 and TrainingTimeInSeconds is 500, the savings
44449	// is 80%.
44450	BillableTimeInSeconds *int64 `min:"1" type:"integer"`
44451
44452	// Contains information about the output location for managed spot training
44453	// checkpoint data.
44454	CheckpointConfig *CheckpointConfig `type:"structure"`
44455
44456	// A timestamp that indicates when the training job was created.
44457	//
44458	// CreationTime is a required field
44459	CreationTime *time.Time `type:"timestamp" required:"true"`
44460
44461	// Configuration information for the Debugger hook parameters, metric and tensor
44462	// collections, and storage paths. To learn more about how to configure the
44463	// DebugHookConfig parameter, see Use the SageMaker and Debugger Configuration
44464	// API Operations to Create, Update, and Debug Your Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html).
44465	DebugHookConfig *DebugHookConfig `type:"structure"`
44466
44467	// Configuration information for Debugger rules for debugging output tensors.
44468	DebugRuleConfigurations []*DebugRuleConfiguration `type:"list"`
44469
44470	// Evaluation status of Debugger rules for debugging on a training job.
44471	DebugRuleEvaluationStatuses []*DebugRuleEvaluationStatus `type:"list"`
44472
44473	// To encrypt all communications between ML compute instances in distributed
44474	// training, choose True. Encryption provides greater security for distributed
44475	// training, but training might take longer. How long it takes depends on the
44476	// amount of communication between compute instances, especially if you use
44477	// a deep learning algorithms in distributed training.
44478	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
44479
44480	// A Boolean indicating whether managed spot training is enabled (True) or not
44481	// (False).
44482	EnableManagedSpotTraining *bool `type:"boolean"`
44483
44484	// If you want to allow inbound or outbound network calls, except for calls
44485	// between peers within a training cluster for distributed training, choose
44486	// True. If you enable network isolation for training jobs that are configured
44487	// to use a VPC, Amazon SageMaker downloads and uploads customer data and model
44488	// artifacts through the specified VPC, but the training container does not
44489	// have network access.
44490	EnableNetworkIsolation *bool `type:"boolean"`
44491
44492	// The environment variables to set in the Docker container.
44493	Environment map[string]*string `type:"map"`
44494
44495	// Associates a SageMaker job as a trial component with an experiment and trial.
44496	// Specified when you call the following APIs:
44497	//
44498	//    * CreateProcessingJob
44499	//
44500	//    * CreateTrainingJob
44501	//
44502	//    * CreateTransformJob
44503	ExperimentConfig *ExperimentConfig `type:"structure"`
44504
44505	// If the training job failed, the reason it failed.
44506	FailureReason *string `type:"string"`
44507
44508	// A collection of MetricData objects that specify the names, values, and dates
44509	// and times that the training algorithm emitted to Amazon CloudWatch.
44510	FinalMetricDataList []*MetricData `type:"list"`
44511
44512	// Algorithm-specific parameters.
44513	HyperParameters map[string]*string `type:"map"`
44514
44515	// An array of Channel objects that describes each data input channel.
44516	InputDataConfig []*Channel `min:"1" type:"list"`
44517
44518	// The Amazon Resource Name (ARN) of the Amazon SageMaker Ground Truth labeling
44519	// job that created the transform or training job.
44520	LabelingJobArn *string `type:"string"`
44521
44522	// A timestamp that indicates when the status of the training job was last modified.
44523	LastModifiedTime *time.Time `type:"timestamp"`
44524
44525	// Information about the Amazon S3 location that is configured for storing model
44526	// artifacts.
44527	//
44528	// ModelArtifacts is a required field
44529	ModelArtifacts *ModelArtifacts `type:"structure" required:"true"`
44530
44531	// The S3 path where model artifacts that you configured when creating the job
44532	// are stored. Amazon SageMaker creates subfolders for model artifacts.
44533	OutputDataConfig *OutputDataConfig `type:"structure"`
44534
44535	// Configuration information for Debugger system monitoring, framework profiling,
44536	// and storage paths.
44537	ProfilerConfig *ProfilerConfig `type:"structure"`
44538
44539	// Configuration information for Debugger rules for profiling system and framework
44540	// metrics.
44541	ProfilerRuleConfigurations []*ProfilerRuleConfiguration `type:"list"`
44542
44543	// Evaluation status of Debugger rules for profiling on a training job.
44544	ProfilerRuleEvaluationStatuses []*ProfilerRuleEvaluationStatus `type:"list"`
44545
44546	// Profiling status of a training job.
44547	ProfilingStatus *string `type:"string" enum:"ProfilingStatus"`
44548
44549	// Resources, including ML compute instances and ML storage volumes, that are
44550	// configured for model training.
44551	//
44552	// ResourceConfig is a required field
44553	ResourceConfig *ResourceConfig `type:"structure" required:"true"`
44554
44555	// The number of times to retry the job when the job fails due to an InternalServerError.
44556	RetryStrategy *RetryStrategy `type:"structure"`
44557
44558	// The AWS Identity and Access Management (IAM) role configured for the training
44559	// job.
44560	RoleArn *string `min:"20" type:"string"`
44561
44562	// Provides detailed information about the state of the training job. For detailed
44563	// information on the secondary status of the training job, see StatusMessage
44564	// under SecondaryStatusTransition.
44565	//
44566	// Amazon SageMaker provides primary statuses and secondary statuses that apply
44567	// to each of them:
44568	//
44569	// InProgress
44570	//
44571	//    * Starting - Starting the training job.
44572	//
44573	//    * Downloading - An optional stage for algorithms that support File training
44574	//    input mode. It indicates that data is being downloaded to the ML storage
44575	//    volumes.
44576	//
44577	//    * Training - Training is in progress.
44578	//
44579	//    * Interrupted - The job stopped because the managed spot training instances
44580	//    were interrupted.
44581	//
44582	//    * Uploading - Training is complete and the model artifacts are being uploaded
44583	//    to the S3 location.
44584	//
44585	// Completed
44586	//
44587	//    * Completed - The training job has completed.
44588	//
44589	// Failed
44590	//
44591	//    * Failed - The training job has failed. The reason for the failure is
44592	//    returned in the FailureReason field of DescribeTrainingJobResponse.
44593	//
44594	// Stopped
44595	//
44596	//    * MaxRuntimeExceeded - The job stopped because it exceeded the maximum
44597	//    allowed runtime.
44598	//
44599	//    * MaxWaitTimeExceeded - The job stopped because it exceeded the maximum
44600	//    allowed wait time.
44601	//
44602	//    * Stopped - The training job has stopped.
44603	//
44604	// Stopping
44605	//
44606	//    * Stopping - Stopping the training job.
44607	//
44608	// Valid values for SecondaryStatus are subject to change.
44609	//
44610	// We no longer support the following secondary statuses:
44611	//
44612	//    * LaunchingMLInstances
44613	//
44614	//    * PreparingTraining
44615	//
44616	//    * DownloadingTrainingImage
44617	//
44618	// SecondaryStatus is a required field
44619	SecondaryStatus *string `type:"string" required:"true" enum:"SecondaryStatus"`
44620
44621	// A history of all of the secondary statuses that the training job has transitioned
44622	// through.
44623	SecondaryStatusTransitions []*SecondaryStatusTransition `type:"list"`
44624
44625	// Specifies a limit to how long a model training job can run. It also specifies
44626	// how long a managed Spot training job has to complete. When the job reaches
44627	// the time limit, Amazon SageMaker ends the training job. Use this API to cap
44628	// model training costs.
44629	//
44630	// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
44631	// delays job termination for 120 seconds. Algorithms can use this 120-second
44632	// window to save the model artifacts, so the results of training are not lost.
44633	//
44634	// StoppingCondition is a required field
44635	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
44636
44637	// Configuration of storage locations for the Debugger TensorBoard output data.
44638	TensorBoardOutputConfig *TensorBoardOutputConfig `type:"structure"`
44639
44640	// Indicates the time when the training job ends on training instances. You
44641	// are billed for the time interval between the value of TrainingStartTime and
44642	// this time. For successful jobs and stopped jobs, this is the time after model
44643	// artifacts are uploaded. For failed jobs, this is the time when Amazon SageMaker
44644	// detects a job failure.
44645	TrainingEndTime *time.Time `type:"timestamp"`
44646
44647	// The Amazon Resource Name (ARN) of the training job.
44648	//
44649	// TrainingJobArn is a required field
44650	TrainingJobArn *string `type:"string" required:"true"`
44651
44652	// Name of the model training job.
44653	//
44654	// TrainingJobName is a required field
44655	TrainingJobName *string `min:"1" type:"string" required:"true"`
44656
44657	// The status of the training job.
44658	//
44659	// Amazon SageMaker provides the following training job statuses:
44660	//
44661	//    * InProgress - The training is in progress.
44662	//
44663	//    * Completed - The training job has completed.
44664	//
44665	//    * Failed - The training job has failed. To see the reason for the failure,
44666	//    see the FailureReason field in the response to a DescribeTrainingJobResponse
44667	//    call.
44668	//
44669	//    * Stopping - The training job is stopping.
44670	//
44671	//    * Stopped - The training job has stopped.
44672	//
44673	// For more detailed information, see SecondaryStatus.
44674	//
44675	// TrainingJobStatus is a required field
44676	TrainingJobStatus *string `type:"string" required:"true" enum:"TrainingJobStatus"`
44677
44678	// Indicates the time when the training job starts on training instances. You
44679	// are billed for the time interval between this time and the value of TrainingEndTime.
44680	// The start time in CloudWatch Logs might be later than this time. The difference
44681	// is due to the time it takes to download the training data and to the size
44682	// of the training container.
44683	TrainingStartTime *time.Time `type:"timestamp"`
44684
44685	// The training time in seconds.
44686	TrainingTimeInSeconds *int64 `min:"1" type:"integer"`
44687
44688	// The Amazon Resource Name (ARN) of the associated hyperparameter tuning job
44689	// if the training job was launched by a hyperparameter tuning job.
44690	TuningJobArn *string `type:"string"`
44691
44692	// A VpcConfig object that specifies the VPC that this training job has access
44693	// to. For more information, see Protect Training Jobs by Using an Amazon Virtual
44694	// Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
44695	VpcConfig *VpcConfig `type:"structure"`
44696}
44697
44698// String returns the string representation
44699func (s DescribeTrainingJobOutput) String() string {
44700	return awsutil.Prettify(s)
44701}
44702
44703// GoString returns the string representation
44704func (s DescribeTrainingJobOutput) GoString() string {
44705	return s.String()
44706}
44707
44708// SetAlgorithmSpecification sets the AlgorithmSpecification field's value.
44709func (s *DescribeTrainingJobOutput) SetAlgorithmSpecification(v *AlgorithmSpecification) *DescribeTrainingJobOutput {
44710	s.AlgorithmSpecification = v
44711	return s
44712}
44713
44714// SetAutoMLJobArn sets the AutoMLJobArn field's value.
44715func (s *DescribeTrainingJobOutput) SetAutoMLJobArn(v string) *DescribeTrainingJobOutput {
44716	s.AutoMLJobArn = &v
44717	return s
44718}
44719
44720// SetBillableTimeInSeconds sets the BillableTimeInSeconds field's value.
44721func (s *DescribeTrainingJobOutput) SetBillableTimeInSeconds(v int64) *DescribeTrainingJobOutput {
44722	s.BillableTimeInSeconds = &v
44723	return s
44724}
44725
44726// SetCheckpointConfig sets the CheckpointConfig field's value.
44727func (s *DescribeTrainingJobOutput) SetCheckpointConfig(v *CheckpointConfig) *DescribeTrainingJobOutput {
44728	s.CheckpointConfig = v
44729	return s
44730}
44731
44732// SetCreationTime sets the CreationTime field's value.
44733func (s *DescribeTrainingJobOutput) SetCreationTime(v time.Time) *DescribeTrainingJobOutput {
44734	s.CreationTime = &v
44735	return s
44736}
44737
44738// SetDebugHookConfig sets the DebugHookConfig field's value.
44739func (s *DescribeTrainingJobOutput) SetDebugHookConfig(v *DebugHookConfig) *DescribeTrainingJobOutput {
44740	s.DebugHookConfig = v
44741	return s
44742}
44743
44744// SetDebugRuleConfigurations sets the DebugRuleConfigurations field's value.
44745func (s *DescribeTrainingJobOutput) SetDebugRuleConfigurations(v []*DebugRuleConfiguration) *DescribeTrainingJobOutput {
44746	s.DebugRuleConfigurations = v
44747	return s
44748}
44749
44750// SetDebugRuleEvaluationStatuses sets the DebugRuleEvaluationStatuses field's value.
44751func (s *DescribeTrainingJobOutput) SetDebugRuleEvaluationStatuses(v []*DebugRuleEvaluationStatus) *DescribeTrainingJobOutput {
44752	s.DebugRuleEvaluationStatuses = v
44753	return s
44754}
44755
44756// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
44757func (s *DescribeTrainingJobOutput) SetEnableInterContainerTrafficEncryption(v bool) *DescribeTrainingJobOutput {
44758	s.EnableInterContainerTrafficEncryption = &v
44759	return s
44760}
44761
44762// SetEnableManagedSpotTraining sets the EnableManagedSpotTraining field's value.
44763func (s *DescribeTrainingJobOutput) SetEnableManagedSpotTraining(v bool) *DescribeTrainingJobOutput {
44764	s.EnableManagedSpotTraining = &v
44765	return s
44766}
44767
44768// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
44769func (s *DescribeTrainingJobOutput) SetEnableNetworkIsolation(v bool) *DescribeTrainingJobOutput {
44770	s.EnableNetworkIsolation = &v
44771	return s
44772}
44773
44774// SetEnvironment sets the Environment field's value.
44775func (s *DescribeTrainingJobOutput) SetEnvironment(v map[string]*string) *DescribeTrainingJobOutput {
44776	s.Environment = v
44777	return s
44778}
44779
44780// SetExperimentConfig sets the ExperimentConfig field's value.
44781func (s *DescribeTrainingJobOutput) SetExperimentConfig(v *ExperimentConfig) *DescribeTrainingJobOutput {
44782	s.ExperimentConfig = v
44783	return s
44784}
44785
44786// SetFailureReason sets the FailureReason field's value.
44787func (s *DescribeTrainingJobOutput) SetFailureReason(v string) *DescribeTrainingJobOutput {
44788	s.FailureReason = &v
44789	return s
44790}
44791
44792// SetFinalMetricDataList sets the FinalMetricDataList field's value.
44793func (s *DescribeTrainingJobOutput) SetFinalMetricDataList(v []*MetricData) *DescribeTrainingJobOutput {
44794	s.FinalMetricDataList = v
44795	return s
44796}
44797
44798// SetHyperParameters sets the HyperParameters field's value.
44799func (s *DescribeTrainingJobOutput) SetHyperParameters(v map[string]*string) *DescribeTrainingJobOutput {
44800	s.HyperParameters = v
44801	return s
44802}
44803
44804// SetInputDataConfig sets the InputDataConfig field's value.
44805func (s *DescribeTrainingJobOutput) SetInputDataConfig(v []*Channel) *DescribeTrainingJobOutput {
44806	s.InputDataConfig = v
44807	return s
44808}
44809
44810// SetLabelingJobArn sets the LabelingJobArn field's value.
44811func (s *DescribeTrainingJobOutput) SetLabelingJobArn(v string) *DescribeTrainingJobOutput {
44812	s.LabelingJobArn = &v
44813	return s
44814}
44815
44816// SetLastModifiedTime sets the LastModifiedTime field's value.
44817func (s *DescribeTrainingJobOutput) SetLastModifiedTime(v time.Time) *DescribeTrainingJobOutput {
44818	s.LastModifiedTime = &v
44819	return s
44820}
44821
44822// SetModelArtifacts sets the ModelArtifacts field's value.
44823func (s *DescribeTrainingJobOutput) SetModelArtifacts(v *ModelArtifacts) *DescribeTrainingJobOutput {
44824	s.ModelArtifacts = v
44825	return s
44826}
44827
44828// SetOutputDataConfig sets the OutputDataConfig field's value.
44829func (s *DescribeTrainingJobOutput) SetOutputDataConfig(v *OutputDataConfig) *DescribeTrainingJobOutput {
44830	s.OutputDataConfig = v
44831	return s
44832}
44833
44834// SetProfilerConfig sets the ProfilerConfig field's value.
44835func (s *DescribeTrainingJobOutput) SetProfilerConfig(v *ProfilerConfig) *DescribeTrainingJobOutput {
44836	s.ProfilerConfig = v
44837	return s
44838}
44839
44840// SetProfilerRuleConfigurations sets the ProfilerRuleConfigurations field's value.
44841func (s *DescribeTrainingJobOutput) SetProfilerRuleConfigurations(v []*ProfilerRuleConfiguration) *DescribeTrainingJobOutput {
44842	s.ProfilerRuleConfigurations = v
44843	return s
44844}
44845
44846// SetProfilerRuleEvaluationStatuses sets the ProfilerRuleEvaluationStatuses field's value.
44847func (s *DescribeTrainingJobOutput) SetProfilerRuleEvaluationStatuses(v []*ProfilerRuleEvaluationStatus) *DescribeTrainingJobOutput {
44848	s.ProfilerRuleEvaluationStatuses = v
44849	return s
44850}
44851
44852// SetProfilingStatus sets the ProfilingStatus field's value.
44853func (s *DescribeTrainingJobOutput) SetProfilingStatus(v string) *DescribeTrainingJobOutput {
44854	s.ProfilingStatus = &v
44855	return s
44856}
44857
44858// SetResourceConfig sets the ResourceConfig field's value.
44859func (s *DescribeTrainingJobOutput) SetResourceConfig(v *ResourceConfig) *DescribeTrainingJobOutput {
44860	s.ResourceConfig = v
44861	return s
44862}
44863
44864// SetRetryStrategy sets the RetryStrategy field's value.
44865func (s *DescribeTrainingJobOutput) SetRetryStrategy(v *RetryStrategy) *DescribeTrainingJobOutput {
44866	s.RetryStrategy = v
44867	return s
44868}
44869
44870// SetRoleArn sets the RoleArn field's value.
44871func (s *DescribeTrainingJobOutput) SetRoleArn(v string) *DescribeTrainingJobOutput {
44872	s.RoleArn = &v
44873	return s
44874}
44875
44876// SetSecondaryStatus sets the SecondaryStatus field's value.
44877func (s *DescribeTrainingJobOutput) SetSecondaryStatus(v string) *DescribeTrainingJobOutput {
44878	s.SecondaryStatus = &v
44879	return s
44880}
44881
44882// SetSecondaryStatusTransitions sets the SecondaryStatusTransitions field's value.
44883func (s *DescribeTrainingJobOutput) SetSecondaryStatusTransitions(v []*SecondaryStatusTransition) *DescribeTrainingJobOutput {
44884	s.SecondaryStatusTransitions = v
44885	return s
44886}
44887
44888// SetStoppingCondition sets the StoppingCondition field's value.
44889func (s *DescribeTrainingJobOutput) SetStoppingCondition(v *StoppingCondition) *DescribeTrainingJobOutput {
44890	s.StoppingCondition = v
44891	return s
44892}
44893
44894// SetTensorBoardOutputConfig sets the TensorBoardOutputConfig field's value.
44895func (s *DescribeTrainingJobOutput) SetTensorBoardOutputConfig(v *TensorBoardOutputConfig) *DescribeTrainingJobOutput {
44896	s.TensorBoardOutputConfig = v
44897	return s
44898}
44899
44900// SetTrainingEndTime sets the TrainingEndTime field's value.
44901func (s *DescribeTrainingJobOutput) SetTrainingEndTime(v time.Time) *DescribeTrainingJobOutput {
44902	s.TrainingEndTime = &v
44903	return s
44904}
44905
44906// SetTrainingJobArn sets the TrainingJobArn field's value.
44907func (s *DescribeTrainingJobOutput) SetTrainingJobArn(v string) *DescribeTrainingJobOutput {
44908	s.TrainingJobArn = &v
44909	return s
44910}
44911
44912// SetTrainingJobName sets the TrainingJobName field's value.
44913func (s *DescribeTrainingJobOutput) SetTrainingJobName(v string) *DescribeTrainingJobOutput {
44914	s.TrainingJobName = &v
44915	return s
44916}
44917
44918// SetTrainingJobStatus sets the TrainingJobStatus field's value.
44919func (s *DescribeTrainingJobOutput) SetTrainingJobStatus(v string) *DescribeTrainingJobOutput {
44920	s.TrainingJobStatus = &v
44921	return s
44922}
44923
44924// SetTrainingStartTime sets the TrainingStartTime field's value.
44925func (s *DescribeTrainingJobOutput) SetTrainingStartTime(v time.Time) *DescribeTrainingJobOutput {
44926	s.TrainingStartTime = &v
44927	return s
44928}
44929
44930// SetTrainingTimeInSeconds sets the TrainingTimeInSeconds field's value.
44931func (s *DescribeTrainingJobOutput) SetTrainingTimeInSeconds(v int64) *DescribeTrainingJobOutput {
44932	s.TrainingTimeInSeconds = &v
44933	return s
44934}
44935
44936// SetTuningJobArn sets the TuningJobArn field's value.
44937func (s *DescribeTrainingJobOutput) SetTuningJobArn(v string) *DescribeTrainingJobOutput {
44938	s.TuningJobArn = &v
44939	return s
44940}
44941
44942// SetVpcConfig sets the VpcConfig field's value.
44943func (s *DescribeTrainingJobOutput) SetVpcConfig(v *VpcConfig) *DescribeTrainingJobOutput {
44944	s.VpcConfig = v
44945	return s
44946}
44947
44948type DescribeTransformJobInput struct {
44949	_ struct{} `type:"structure"`
44950
44951	// The name of the transform job that you want to view details of.
44952	//
44953	// TransformJobName is a required field
44954	TransformJobName *string `min:"1" type:"string" required:"true"`
44955}
44956
44957// String returns the string representation
44958func (s DescribeTransformJobInput) String() string {
44959	return awsutil.Prettify(s)
44960}
44961
44962// GoString returns the string representation
44963func (s DescribeTransformJobInput) GoString() string {
44964	return s.String()
44965}
44966
44967// Validate inspects the fields of the type to determine if they are valid.
44968func (s *DescribeTransformJobInput) Validate() error {
44969	invalidParams := request.ErrInvalidParams{Context: "DescribeTransformJobInput"}
44970	if s.TransformJobName == nil {
44971		invalidParams.Add(request.NewErrParamRequired("TransformJobName"))
44972	}
44973	if s.TransformJobName != nil && len(*s.TransformJobName) < 1 {
44974		invalidParams.Add(request.NewErrParamMinLen("TransformJobName", 1))
44975	}
44976
44977	if invalidParams.Len() > 0 {
44978		return invalidParams
44979	}
44980	return nil
44981}
44982
44983// SetTransformJobName sets the TransformJobName field's value.
44984func (s *DescribeTransformJobInput) SetTransformJobName(v string) *DescribeTransformJobInput {
44985	s.TransformJobName = &v
44986	return s
44987}
44988
44989type DescribeTransformJobOutput struct {
44990	_ struct{} `type:"structure"`
44991
44992	// The Amazon Resource Name (ARN) of the AutoML transform job.
44993	AutoMLJobArn *string `min:"1" type:"string"`
44994
44995	// Specifies the number of records to include in a mini-batch for an HTTP inference
44996	// request. A record is a single unit of input data that inference can be made
44997	// on. For example, a single line in a CSV file is a record.
44998	//
44999	// To enable the batch strategy, you must set SplitType to Line, RecordIO, or
45000	// TFRecord.
45001	BatchStrategy *string `type:"string" enum:"BatchStrategy"`
45002
45003	// A timestamp that shows when the transform Job was created.
45004	//
45005	// CreationTime is a required field
45006	CreationTime *time.Time `type:"timestamp" required:"true"`
45007
45008	// The data structure used to specify the data to be used for inference in a
45009	// batch transform job and to associate the data that is relevant to the prediction
45010	// results in the output. The input filter provided allows you to exclude input
45011	// data that is not needed for inference in a batch transform job. The output
45012	// filter provided allows you to include input data relevant to interpreting
45013	// the predictions in the output from the job. For more information, see Associate
45014	// Prediction Results with their Corresponding Input Records (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html).
45015	DataProcessing *DataProcessing `type:"structure"`
45016
45017	// The environment variables to set in the Docker container. We support up to
45018	// 16 key and values entries in the map.
45019	Environment map[string]*string `type:"map"`
45020
45021	// Associates a SageMaker job as a trial component with an experiment and trial.
45022	// Specified when you call the following APIs:
45023	//
45024	//    * CreateProcessingJob
45025	//
45026	//    * CreateTrainingJob
45027	//
45028	//    * CreateTransformJob
45029	ExperimentConfig *ExperimentConfig `type:"structure"`
45030
45031	// If the transform job failed, FailureReason describes why it failed. A transform
45032	// job creates a log file, which includes error messages, and stores it as an
45033	// Amazon S3 object. For more information, see Log Amazon SageMaker Events with
45034	// Amazon CloudWatch (https://docs.aws.amazon.com/sagemaker/latest/dg/logging-cloudwatch.html).
45035	FailureReason *string `type:"string"`
45036
45037	// The Amazon Resource Name (ARN) of the Amazon SageMaker Ground Truth labeling
45038	// job that created the transform or training job.
45039	LabelingJobArn *string `type:"string"`
45040
45041	// The maximum number of parallel requests on each instance node that can be
45042	// launched in a transform job. The default value is 1.
45043	MaxConcurrentTransforms *int64 `type:"integer"`
45044
45045	// The maximum payload size, in MB, used in the transform job.
45046	MaxPayloadInMB *int64 `type:"integer"`
45047
45048	// The timeout and maximum number of retries for processing a transform job
45049	// invocation.
45050	ModelClientConfig *ModelClientConfig `type:"structure"`
45051
45052	// The name of the model used in the transform job.
45053	//
45054	// ModelName is a required field
45055	ModelName *string `type:"string" required:"true"`
45056
45057	// Indicates when the transform job has been completed, or has stopped or failed.
45058	// You are billed for the time interval between this time and the value of TransformStartTime.
45059	TransformEndTime *time.Time `type:"timestamp"`
45060
45061	// Describes the dataset to be transformed and the Amazon S3 location where
45062	// it is stored.
45063	//
45064	// TransformInput is a required field
45065	TransformInput *TransformInput `type:"structure" required:"true"`
45066
45067	// The Amazon Resource Name (ARN) of the transform job.
45068	//
45069	// TransformJobArn is a required field
45070	TransformJobArn *string `type:"string" required:"true"`
45071
45072	// The name of the transform job.
45073	//
45074	// TransformJobName is a required field
45075	TransformJobName *string `min:"1" type:"string" required:"true"`
45076
45077	// The status of the transform job. If the transform job failed, the reason
45078	// is returned in the FailureReason field.
45079	//
45080	// TransformJobStatus is a required field
45081	TransformJobStatus *string `type:"string" required:"true" enum:"TransformJobStatus"`
45082
45083	// Identifies the Amazon S3 location where you want Amazon SageMaker to save
45084	// the results from the transform job.
45085	TransformOutput *TransformOutput `type:"structure"`
45086
45087	// Describes the resources, including ML instance types and ML instance count,
45088	// to use for the transform job.
45089	//
45090	// TransformResources is a required field
45091	TransformResources *TransformResources `type:"structure" required:"true"`
45092
45093	// Indicates when the transform job starts on ML instances. You are billed for
45094	// the time interval between this time and the value of TransformEndTime.
45095	TransformStartTime *time.Time `type:"timestamp"`
45096}
45097
45098// String returns the string representation
45099func (s DescribeTransformJobOutput) String() string {
45100	return awsutil.Prettify(s)
45101}
45102
45103// GoString returns the string representation
45104func (s DescribeTransformJobOutput) GoString() string {
45105	return s.String()
45106}
45107
45108// SetAutoMLJobArn sets the AutoMLJobArn field's value.
45109func (s *DescribeTransformJobOutput) SetAutoMLJobArn(v string) *DescribeTransformJobOutput {
45110	s.AutoMLJobArn = &v
45111	return s
45112}
45113
45114// SetBatchStrategy sets the BatchStrategy field's value.
45115func (s *DescribeTransformJobOutput) SetBatchStrategy(v string) *DescribeTransformJobOutput {
45116	s.BatchStrategy = &v
45117	return s
45118}
45119
45120// SetCreationTime sets the CreationTime field's value.
45121func (s *DescribeTransformJobOutput) SetCreationTime(v time.Time) *DescribeTransformJobOutput {
45122	s.CreationTime = &v
45123	return s
45124}
45125
45126// SetDataProcessing sets the DataProcessing field's value.
45127func (s *DescribeTransformJobOutput) SetDataProcessing(v *DataProcessing) *DescribeTransformJobOutput {
45128	s.DataProcessing = v
45129	return s
45130}
45131
45132// SetEnvironment sets the Environment field's value.
45133func (s *DescribeTransformJobOutput) SetEnvironment(v map[string]*string) *DescribeTransformJobOutput {
45134	s.Environment = v
45135	return s
45136}
45137
45138// SetExperimentConfig sets the ExperimentConfig field's value.
45139func (s *DescribeTransformJobOutput) SetExperimentConfig(v *ExperimentConfig) *DescribeTransformJobOutput {
45140	s.ExperimentConfig = v
45141	return s
45142}
45143
45144// SetFailureReason sets the FailureReason field's value.
45145func (s *DescribeTransformJobOutput) SetFailureReason(v string) *DescribeTransformJobOutput {
45146	s.FailureReason = &v
45147	return s
45148}
45149
45150// SetLabelingJobArn sets the LabelingJobArn field's value.
45151func (s *DescribeTransformJobOutput) SetLabelingJobArn(v string) *DescribeTransformJobOutput {
45152	s.LabelingJobArn = &v
45153	return s
45154}
45155
45156// SetMaxConcurrentTransforms sets the MaxConcurrentTransforms field's value.
45157func (s *DescribeTransformJobOutput) SetMaxConcurrentTransforms(v int64) *DescribeTransformJobOutput {
45158	s.MaxConcurrentTransforms = &v
45159	return s
45160}
45161
45162// SetMaxPayloadInMB sets the MaxPayloadInMB field's value.
45163func (s *DescribeTransformJobOutput) SetMaxPayloadInMB(v int64) *DescribeTransformJobOutput {
45164	s.MaxPayloadInMB = &v
45165	return s
45166}
45167
45168// SetModelClientConfig sets the ModelClientConfig field's value.
45169func (s *DescribeTransformJobOutput) SetModelClientConfig(v *ModelClientConfig) *DescribeTransformJobOutput {
45170	s.ModelClientConfig = v
45171	return s
45172}
45173
45174// SetModelName sets the ModelName field's value.
45175func (s *DescribeTransformJobOutput) SetModelName(v string) *DescribeTransformJobOutput {
45176	s.ModelName = &v
45177	return s
45178}
45179
45180// SetTransformEndTime sets the TransformEndTime field's value.
45181func (s *DescribeTransformJobOutput) SetTransformEndTime(v time.Time) *DescribeTransformJobOutput {
45182	s.TransformEndTime = &v
45183	return s
45184}
45185
45186// SetTransformInput sets the TransformInput field's value.
45187func (s *DescribeTransformJobOutput) SetTransformInput(v *TransformInput) *DescribeTransformJobOutput {
45188	s.TransformInput = v
45189	return s
45190}
45191
45192// SetTransformJobArn sets the TransformJobArn field's value.
45193func (s *DescribeTransformJobOutput) SetTransformJobArn(v string) *DescribeTransformJobOutput {
45194	s.TransformJobArn = &v
45195	return s
45196}
45197
45198// SetTransformJobName sets the TransformJobName field's value.
45199func (s *DescribeTransformJobOutput) SetTransformJobName(v string) *DescribeTransformJobOutput {
45200	s.TransformJobName = &v
45201	return s
45202}
45203
45204// SetTransformJobStatus sets the TransformJobStatus field's value.
45205func (s *DescribeTransformJobOutput) SetTransformJobStatus(v string) *DescribeTransformJobOutput {
45206	s.TransformJobStatus = &v
45207	return s
45208}
45209
45210// SetTransformOutput sets the TransformOutput field's value.
45211func (s *DescribeTransformJobOutput) SetTransformOutput(v *TransformOutput) *DescribeTransformJobOutput {
45212	s.TransformOutput = v
45213	return s
45214}
45215
45216// SetTransformResources sets the TransformResources field's value.
45217func (s *DescribeTransformJobOutput) SetTransformResources(v *TransformResources) *DescribeTransformJobOutput {
45218	s.TransformResources = v
45219	return s
45220}
45221
45222// SetTransformStartTime sets the TransformStartTime field's value.
45223func (s *DescribeTransformJobOutput) SetTransformStartTime(v time.Time) *DescribeTransformJobOutput {
45224	s.TransformStartTime = &v
45225	return s
45226}
45227
45228type DescribeTrialComponentInput struct {
45229	_ struct{} `type:"structure"`
45230
45231	// The name of the trial component to describe.
45232	//
45233	// TrialComponentName is a required field
45234	TrialComponentName *string `min:"1" type:"string" required:"true"`
45235}
45236
45237// String returns the string representation
45238func (s DescribeTrialComponentInput) String() string {
45239	return awsutil.Prettify(s)
45240}
45241
45242// GoString returns the string representation
45243func (s DescribeTrialComponentInput) GoString() string {
45244	return s.String()
45245}
45246
45247// Validate inspects the fields of the type to determine if they are valid.
45248func (s *DescribeTrialComponentInput) Validate() error {
45249	invalidParams := request.ErrInvalidParams{Context: "DescribeTrialComponentInput"}
45250	if s.TrialComponentName == nil {
45251		invalidParams.Add(request.NewErrParamRequired("TrialComponentName"))
45252	}
45253	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
45254		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
45255	}
45256
45257	if invalidParams.Len() > 0 {
45258		return invalidParams
45259	}
45260	return nil
45261}
45262
45263// SetTrialComponentName sets the TrialComponentName field's value.
45264func (s *DescribeTrialComponentInput) SetTrialComponentName(v string) *DescribeTrialComponentInput {
45265	s.TrialComponentName = &v
45266	return s
45267}
45268
45269type DescribeTrialComponentOutput struct {
45270	_ struct{} `type:"structure"`
45271
45272	// Who created the component.
45273	CreatedBy *UserContext `type:"structure"`
45274
45275	// When the component was created.
45276	CreationTime *time.Time `type:"timestamp"`
45277
45278	// The name of the component as displayed. If DisplayName isn't specified, TrialComponentName
45279	// is displayed.
45280	DisplayName *string `min:"1" type:"string"`
45281
45282	// When the component ended.
45283	EndTime *time.Time `type:"timestamp"`
45284
45285	// The input artifacts of the component.
45286	InputArtifacts map[string]*TrialComponentArtifact `type:"map"`
45287
45288	// Who last modified the component.
45289	LastModifiedBy *UserContext `type:"structure"`
45290
45291	// When the component was last modified.
45292	LastModifiedTime *time.Time `type:"timestamp"`
45293
45294	// Metadata properties of the tracking entity, trial, or trial component.
45295	MetadataProperties *MetadataProperties `type:"structure"`
45296
45297	// The metrics for the component.
45298	Metrics []*TrialComponentMetricSummary `type:"list"`
45299
45300	// The output artifacts of the component.
45301	OutputArtifacts map[string]*TrialComponentArtifact `type:"map"`
45302
45303	// The hyperparameters of the component.
45304	Parameters map[string]*TrialComponentParameterValue `type:"map"`
45305
45306	// The Amazon Resource Name (ARN) of the source and, optionally, the job type.
45307	Source *TrialComponentSource `type:"structure"`
45308
45309	// When the component started.
45310	StartTime *time.Time `type:"timestamp"`
45311
45312	// The status of the component. States include:
45313	//
45314	//    * InProgress
45315	//
45316	//    * Completed
45317	//
45318	//    * Failed
45319	Status *TrialComponentStatus `type:"structure"`
45320
45321	// The Amazon Resource Name (ARN) of the trial component.
45322	TrialComponentArn *string `type:"string"`
45323
45324	// The name of the trial component.
45325	TrialComponentName *string `min:"1" type:"string"`
45326}
45327
45328// String returns the string representation
45329func (s DescribeTrialComponentOutput) String() string {
45330	return awsutil.Prettify(s)
45331}
45332
45333// GoString returns the string representation
45334func (s DescribeTrialComponentOutput) GoString() string {
45335	return s.String()
45336}
45337
45338// SetCreatedBy sets the CreatedBy field's value.
45339func (s *DescribeTrialComponentOutput) SetCreatedBy(v *UserContext) *DescribeTrialComponentOutput {
45340	s.CreatedBy = v
45341	return s
45342}
45343
45344// SetCreationTime sets the CreationTime field's value.
45345func (s *DescribeTrialComponentOutput) SetCreationTime(v time.Time) *DescribeTrialComponentOutput {
45346	s.CreationTime = &v
45347	return s
45348}
45349
45350// SetDisplayName sets the DisplayName field's value.
45351func (s *DescribeTrialComponentOutput) SetDisplayName(v string) *DescribeTrialComponentOutput {
45352	s.DisplayName = &v
45353	return s
45354}
45355
45356// SetEndTime sets the EndTime field's value.
45357func (s *DescribeTrialComponentOutput) SetEndTime(v time.Time) *DescribeTrialComponentOutput {
45358	s.EndTime = &v
45359	return s
45360}
45361
45362// SetInputArtifacts sets the InputArtifacts field's value.
45363func (s *DescribeTrialComponentOutput) SetInputArtifacts(v map[string]*TrialComponentArtifact) *DescribeTrialComponentOutput {
45364	s.InputArtifacts = v
45365	return s
45366}
45367
45368// SetLastModifiedBy sets the LastModifiedBy field's value.
45369func (s *DescribeTrialComponentOutput) SetLastModifiedBy(v *UserContext) *DescribeTrialComponentOutput {
45370	s.LastModifiedBy = v
45371	return s
45372}
45373
45374// SetLastModifiedTime sets the LastModifiedTime field's value.
45375func (s *DescribeTrialComponentOutput) SetLastModifiedTime(v time.Time) *DescribeTrialComponentOutput {
45376	s.LastModifiedTime = &v
45377	return s
45378}
45379
45380// SetMetadataProperties sets the MetadataProperties field's value.
45381func (s *DescribeTrialComponentOutput) SetMetadataProperties(v *MetadataProperties) *DescribeTrialComponentOutput {
45382	s.MetadataProperties = v
45383	return s
45384}
45385
45386// SetMetrics sets the Metrics field's value.
45387func (s *DescribeTrialComponentOutput) SetMetrics(v []*TrialComponentMetricSummary) *DescribeTrialComponentOutput {
45388	s.Metrics = v
45389	return s
45390}
45391
45392// SetOutputArtifacts sets the OutputArtifacts field's value.
45393func (s *DescribeTrialComponentOutput) SetOutputArtifacts(v map[string]*TrialComponentArtifact) *DescribeTrialComponentOutput {
45394	s.OutputArtifacts = v
45395	return s
45396}
45397
45398// SetParameters sets the Parameters field's value.
45399func (s *DescribeTrialComponentOutput) SetParameters(v map[string]*TrialComponentParameterValue) *DescribeTrialComponentOutput {
45400	s.Parameters = v
45401	return s
45402}
45403
45404// SetSource sets the Source field's value.
45405func (s *DescribeTrialComponentOutput) SetSource(v *TrialComponentSource) *DescribeTrialComponentOutput {
45406	s.Source = v
45407	return s
45408}
45409
45410// SetStartTime sets the StartTime field's value.
45411func (s *DescribeTrialComponentOutput) SetStartTime(v time.Time) *DescribeTrialComponentOutput {
45412	s.StartTime = &v
45413	return s
45414}
45415
45416// SetStatus sets the Status field's value.
45417func (s *DescribeTrialComponentOutput) SetStatus(v *TrialComponentStatus) *DescribeTrialComponentOutput {
45418	s.Status = v
45419	return s
45420}
45421
45422// SetTrialComponentArn sets the TrialComponentArn field's value.
45423func (s *DescribeTrialComponentOutput) SetTrialComponentArn(v string) *DescribeTrialComponentOutput {
45424	s.TrialComponentArn = &v
45425	return s
45426}
45427
45428// SetTrialComponentName sets the TrialComponentName field's value.
45429func (s *DescribeTrialComponentOutput) SetTrialComponentName(v string) *DescribeTrialComponentOutput {
45430	s.TrialComponentName = &v
45431	return s
45432}
45433
45434type DescribeTrialInput struct {
45435	_ struct{} `type:"structure"`
45436
45437	// The name of the trial to describe.
45438	//
45439	// TrialName is a required field
45440	TrialName *string `min:"1" type:"string" required:"true"`
45441}
45442
45443// String returns the string representation
45444func (s DescribeTrialInput) String() string {
45445	return awsutil.Prettify(s)
45446}
45447
45448// GoString returns the string representation
45449func (s DescribeTrialInput) GoString() string {
45450	return s.String()
45451}
45452
45453// Validate inspects the fields of the type to determine if they are valid.
45454func (s *DescribeTrialInput) Validate() error {
45455	invalidParams := request.ErrInvalidParams{Context: "DescribeTrialInput"}
45456	if s.TrialName == nil {
45457		invalidParams.Add(request.NewErrParamRequired("TrialName"))
45458	}
45459	if s.TrialName != nil && len(*s.TrialName) < 1 {
45460		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
45461	}
45462
45463	if invalidParams.Len() > 0 {
45464		return invalidParams
45465	}
45466	return nil
45467}
45468
45469// SetTrialName sets the TrialName field's value.
45470func (s *DescribeTrialInput) SetTrialName(v string) *DescribeTrialInput {
45471	s.TrialName = &v
45472	return s
45473}
45474
45475type DescribeTrialOutput struct {
45476	_ struct{} `type:"structure"`
45477
45478	// Who created the trial.
45479	CreatedBy *UserContext `type:"structure"`
45480
45481	// When the trial was created.
45482	CreationTime *time.Time `type:"timestamp"`
45483
45484	// The name of the trial as displayed. If DisplayName isn't specified, TrialName
45485	// is displayed.
45486	DisplayName *string `min:"1" type:"string"`
45487
45488	// The name of the experiment the trial is part of.
45489	ExperimentName *string `min:"1" type:"string"`
45490
45491	// Who last modified the trial.
45492	LastModifiedBy *UserContext `type:"structure"`
45493
45494	// When the trial was last modified.
45495	LastModifiedTime *time.Time `type:"timestamp"`
45496
45497	// Metadata properties of the tracking entity, trial, or trial component.
45498	MetadataProperties *MetadataProperties `type:"structure"`
45499
45500	// The Amazon Resource Name (ARN) of the source and, optionally, the job type.
45501	Source *TrialSource `type:"structure"`
45502
45503	// The Amazon Resource Name (ARN) of the trial.
45504	TrialArn *string `type:"string"`
45505
45506	// The name of the trial.
45507	TrialName *string `min:"1" type:"string"`
45508}
45509
45510// String returns the string representation
45511func (s DescribeTrialOutput) String() string {
45512	return awsutil.Prettify(s)
45513}
45514
45515// GoString returns the string representation
45516func (s DescribeTrialOutput) GoString() string {
45517	return s.String()
45518}
45519
45520// SetCreatedBy sets the CreatedBy field's value.
45521func (s *DescribeTrialOutput) SetCreatedBy(v *UserContext) *DescribeTrialOutput {
45522	s.CreatedBy = v
45523	return s
45524}
45525
45526// SetCreationTime sets the CreationTime field's value.
45527func (s *DescribeTrialOutput) SetCreationTime(v time.Time) *DescribeTrialOutput {
45528	s.CreationTime = &v
45529	return s
45530}
45531
45532// SetDisplayName sets the DisplayName field's value.
45533func (s *DescribeTrialOutput) SetDisplayName(v string) *DescribeTrialOutput {
45534	s.DisplayName = &v
45535	return s
45536}
45537
45538// SetExperimentName sets the ExperimentName field's value.
45539func (s *DescribeTrialOutput) SetExperimentName(v string) *DescribeTrialOutput {
45540	s.ExperimentName = &v
45541	return s
45542}
45543
45544// SetLastModifiedBy sets the LastModifiedBy field's value.
45545func (s *DescribeTrialOutput) SetLastModifiedBy(v *UserContext) *DescribeTrialOutput {
45546	s.LastModifiedBy = v
45547	return s
45548}
45549
45550// SetLastModifiedTime sets the LastModifiedTime field's value.
45551func (s *DescribeTrialOutput) SetLastModifiedTime(v time.Time) *DescribeTrialOutput {
45552	s.LastModifiedTime = &v
45553	return s
45554}
45555
45556// SetMetadataProperties sets the MetadataProperties field's value.
45557func (s *DescribeTrialOutput) SetMetadataProperties(v *MetadataProperties) *DescribeTrialOutput {
45558	s.MetadataProperties = v
45559	return s
45560}
45561
45562// SetSource sets the Source field's value.
45563func (s *DescribeTrialOutput) SetSource(v *TrialSource) *DescribeTrialOutput {
45564	s.Source = v
45565	return s
45566}
45567
45568// SetTrialArn sets the TrialArn field's value.
45569func (s *DescribeTrialOutput) SetTrialArn(v string) *DescribeTrialOutput {
45570	s.TrialArn = &v
45571	return s
45572}
45573
45574// SetTrialName sets the TrialName field's value.
45575func (s *DescribeTrialOutput) SetTrialName(v string) *DescribeTrialOutput {
45576	s.TrialName = &v
45577	return s
45578}
45579
45580type DescribeUserProfileInput struct {
45581	_ struct{} `type:"structure"`
45582
45583	// The domain ID.
45584	//
45585	// DomainId is a required field
45586	DomainId *string `type:"string" required:"true"`
45587
45588	// The user profile name. This value is not case sensitive.
45589	//
45590	// UserProfileName is a required field
45591	UserProfileName *string `type:"string" required:"true"`
45592}
45593
45594// String returns the string representation
45595func (s DescribeUserProfileInput) String() string {
45596	return awsutil.Prettify(s)
45597}
45598
45599// GoString returns the string representation
45600func (s DescribeUserProfileInput) GoString() string {
45601	return s.String()
45602}
45603
45604// Validate inspects the fields of the type to determine if they are valid.
45605func (s *DescribeUserProfileInput) Validate() error {
45606	invalidParams := request.ErrInvalidParams{Context: "DescribeUserProfileInput"}
45607	if s.DomainId == nil {
45608		invalidParams.Add(request.NewErrParamRequired("DomainId"))
45609	}
45610	if s.UserProfileName == nil {
45611		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
45612	}
45613
45614	if invalidParams.Len() > 0 {
45615		return invalidParams
45616	}
45617	return nil
45618}
45619
45620// SetDomainId sets the DomainId field's value.
45621func (s *DescribeUserProfileInput) SetDomainId(v string) *DescribeUserProfileInput {
45622	s.DomainId = &v
45623	return s
45624}
45625
45626// SetUserProfileName sets the UserProfileName field's value.
45627func (s *DescribeUserProfileInput) SetUserProfileName(v string) *DescribeUserProfileInput {
45628	s.UserProfileName = &v
45629	return s
45630}
45631
45632type DescribeUserProfileOutput struct {
45633	_ struct{} `type:"structure"`
45634
45635	// The creation time.
45636	CreationTime *time.Time `type:"timestamp"`
45637
45638	// The ID of the domain that contains the profile.
45639	DomainId *string `type:"string"`
45640
45641	// The failure reason.
45642	FailureReason *string `type:"string"`
45643
45644	// The ID of the user's profile in the Amazon Elastic File System (EFS) volume.
45645	HomeEfsFileSystemUid *string `type:"string"`
45646
45647	// The last modified time.
45648	LastModifiedTime *time.Time `type:"timestamp"`
45649
45650	// The SSO user identifier.
45651	SingleSignOnUserIdentifier *string `type:"string"`
45652
45653	// The SSO user value.
45654	SingleSignOnUserValue *string `type:"string"`
45655
45656	// The status.
45657	Status *string `type:"string" enum:"UserProfileStatus"`
45658
45659	// The user profile Amazon Resource Name (ARN).
45660	UserProfileArn *string `type:"string"`
45661
45662	// The user profile name.
45663	UserProfileName *string `type:"string"`
45664
45665	// A collection of settings.
45666	UserSettings *UserSettings `type:"structure"`
45667}
45668
45669// String returns the string representation
45670func (s DescribeUserProfileOutput) String() string {
45671	return awsutil.Prettify(s)
45672}
45673
45674// GoString returns the string representation
45675func (s DescribeUserProfileOutput) GoString() string {
45676	return s.String()
45677}
45678
45679// SetCreationTime sets the CreationTime field's value.
45680func (s *DescribeUserProfileOutput) SetCreationTime(v time.Time) *DescribeUserProfileOutput {
45681	s.CreationTime = &v
45682	return s
45683}
45684
45685// SetDomainId sets the DomainId field's value.
45686func (s *DescribeUserProfileOutput) SetDomainId(v string) *DescribeUserProfileOutput {
45687	s.DomainId = &v
45688	return s
45689}
45690
45691// SetFailureReason sets the FailureReason field's value.
45692func (s *DescribeUserProfileOutput) SetFailureReason(v string) *DescribeUserProfileOutput {
45693	s.FailureReason = &v
45694	return s
45695}
45696
45697// SetHomeEfsFileSystemUid sets the HomeEfsFileSystemUid field's value.
45698func (s *DescribeUserProfileOutput) SetHomeEfsFileSystemUid(v string) *DescribeUserProfileOutput {
45699	s.HomeEfsFileSystemUid = &v
45700	return s
45701}
45702
45703// SetLastModifiedTime sets the LastModifiedTime field's value.
45704func (s *DescribeUserProfileOutput) SetLastModifiedTime(v time.Time) *DescribeUserProfileOutput {
45705	s.LastModifiedTime = &v
45706	return s
45707}
45708
45709// SetSingleSignOnUserIdentifier sets the SingleSignOnUserIdentifier field's value.
45710func (s *DescribeUserProfileOutput) SetSingleSignOnUserIdentifier(v string) *DescribeUserProfileOutput {
45711	s.SingleSignOnUserIdentifier = &v
45712	return s
45713}
45714
45715// SetSingleSignOnUserValue sets the SingleSignOnUserValue field's value.
45716func (s *DescribeUserProfileOutput) SetSingleSignOnUserValue(v string) *DescribeUserProfileOutput {
45717	s.SingleSignOnUserValue = &v
45718	return s
45719}
45720
45721// SetStatus sets the Status field's value.
45722func (s *DescribeUserProfileOutput) SetStatus(v string) *DescribeUserProfileOutput {
45723	s.Status = &v
45724	return s
45725}
45726
45727// SetUserProfileArn sets the UserProfileArn field's value.
45728func (s *DescribeUserProfileOutput) SetUserProfileArn(v string) *DescribeUserProfileOutput {
45729	s.UserProfileArn = &v
45730	return s
45731}
45732
45733// SetUserProfileName sets the UserProfileName field's value.
45734func (s *DescribeUserProfileOutput) SetUserProfileName(v string) *DescribeUserProfileOutput {
45735	s.UserProfileName = &v
45736	return s
45737}
45738
45739// SetUserSettings sets the UserSettings field's value.
45740func (s *DescribeUserProfileOutput) SetUserSettings(v *UserSettings) *DescribeUserProfileOutput {
45741	s.UserSettings = v
45742	return s
45743}
45744
45745type DescribeWorkforceInput struct {
45746	_ struct{} `type:"structure"`
45747
45748	// The name of the private workforce whose access you want to restrict. WorkforceName
45749	// is automatically set to default when a workforce is created and cannot be
45750	// modified.
45751	//
45752	// WorkforceName is a required field
45753	WorkforceName *string `min:"1" type:"string" required:"true"`
45754}
45755
45756// String returns the string representation
45757func (s DescribeWorkforceInput) String() string {
45758	return awsutil.Prettify(s)
45759}
45760
45761// GoString returns the string representation
45762func (s DescribeWorkforceInput) GoString() string {
45763	return s.String()
45764}
45765
45766// Validate inspects the fields of the type to determine if they are valid.
45767func (s *DescribeWorkforceInput) Validate() error {
45768	invalidParams := request.ErrInvalidParams{Context: "DescribeWorkforceInput"}
45769	if s.WorkforceName == nil {
45770		invalidParams.Add(request.NewErrParamRequired("WorkforceName"))
45771	}
45772	if s.WorkforceName != nil && len(*s.WorkforceName) < 1 {
45773		invalidParams.Add(request.NewErrParamMinLen("WorkforceName", 1))
45774	}
45775
45776	if invalidParams.Len() > 0 {
45777		return invalidParams
45778	}
45779	return nil
45780}
45781
45782// SetWorkforceName sets the WorkforceName field's value.
45783func (s *DescribeWorkforceInput) SetWorkforceName(v string) *DescribeWorkforceInput {
45784	s.WorkforceName = &v
45785	return s
45786}
45787
45788type DescribeWorkforceOutput struct {
45789	_ struct{} `type:"structure"`
45790
45791	// A single private workforce, which is automatically created when you create
45792	// your first private work team. You can create one private work force in each
45793	// AWS Region. By default, any workforce-related API operation used in a specific
45794	// region will apply to the workforce created in that region. To learn how to
45795	// create a private workforce, see Create a Private Workforce (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html).
45796	//
45797	// Workforce is a required field
45798	Workforce *Workforce `type:"structure" required:"true"`
45799}
45800
45801// String returns the string representation
45802func (s DescribeWorkforceOutput) String() string {
45803	return awsutil.Prettify(s)
45804}
45805
45806// GoString returns the string representation
45807func (s DescribeWorkforceOutput) GoString() string {
45808	return s.String()
45809}
45810
45811// SetWorkforce sets the Workforce field's value.
45812func (s *DescribeWorkforceOutput) SetWorkforce(v *Workforce) *DescribeWorkforceOutput {
45813	s.Workforce = v
45814	return s
45815}
45816
45817type DescribeWorkteamInput struct {
45818	_ struct{} `type:"structure"`
45819
45820	// The name of the work team to return a description of.
45821	//
45822	// WorkteamName is a required field
45823	WorkteamName *string `min:"1" type:"string" required:"true"`
45824}
45825
45826// String returns the string representation
45827func (s DescribeWorkteamInput) String() string {
45828	return awsutil.Prettify(s)
45829}
45830
45831// GoString returns the string representation
45832func (s DescribeWorkteamInput) GoString() string {
45833	return s.String()
45834}
45835
45836// Validate inspects the fields of the type to determine if they are valid.
45837func (s *DescribeWorkteamInput) Validate() error {
45838	invalidParams := request.ErrInvalidParams{Context: "DescribeWorkteamInput"}
45839	if s.WorkteamName == nil {
45840		invalidParams.Add(request.NewErrParamRequired("WorkteamName"))
45841	}
45842	if s.WorkteamName != nil && len(*s.WorkteamName) < 1 {
45843		invalidParams.Add(request.NewErrParamMinLen("WorkteamName", 1))
45844	}
45845
45846	if invalidParams.Len() > 0 {
45847		return invalidParams
45848	}
45849	return nil
45850}
45851
45852// SetWorkteamName sets the WorkteamName field's value.
45853func (s *DescribeWorkteamInput) SetWorkteamName(v string) *DescribeWorkteamInput {
45854	s.WorkteamName = &v
45855	return s
45856}
45857
45858type DescribeWorkteamOutput struct {
45859	_ struct{} `type:"structure"`
45860
45861	// A Workteam instance that contains information about the work team.
45862	//
45863	// Workteam is a required field
45864	Workteam *Workteam `type:"structure" required:"true"`
45865}
45866
45867// String returns the string representation
45868func (s DescribeWorkteamOutput) String() string {
45869	return awsutil.Prettify(s)
45870}
45871
45872// GoString returns the string representation
45873func (s DescribeWorkteamOutput) GoString() string {
45874	return s.String()
45875}
45876
45877// SetWorkteam sets the Workteam field's value.
45878func (s *DescribeWorkteamOutput) SetWorkteam(v *Workteam) *DescribeWorkteamOutput {
45879	s.Workteam = v
45880	return s
45881}
45882
45883// Specifies weight and capacity values for a production variant.
45884type DesiredWeightAndCapacity struct {
45885	_ struct{} `type:"structure"`
45886
45887	// The variant's capacity.
45888	DesiredInstanceCount *int64 `min:"1" type:"integer"`
45889
45890	// The variant's weight.
45891	DesiredWeight *float64 `type:"float"`
45892
45893	// The name of the variant to update.
45894	//
45895	// VariantName is a required field
45896	VariantName *string `type:"string" required:"true"`
45897}
45898
45899// String returns the string representation
45900func (s DesiredWeightAndCapacity) String() string {
45901	return awsutil.Prettify(s)
45902}
45903
45904// GoString returns the string representation
45905func (s DesiredWeightAndCapacity) GoString() string {
45906	return s.String()
45907}
45908
45909// Validate inspects the fields of the type to determine if they are valid.
45910func (s *DesiredWeightAndCapacity) Validate() error {
45911	invalidParams := request.ErrInvalidParams{Context: "DesiredWeightAndCapacity"}
45912	if s.DesiredInstanceCount != nil && *s.DesiredInstanceCount < 1 {
45913		invalidParams.Add(request.NewErrParamMinValue("DesiredInstanceCount", 1))
45914	}
45915	if s.VariantName == nil {
45916		invalidParams.Add(request.NewErrParamRequired("VariantName"))
45917	}
45918
45919	if invalidParams.Len() > 0 {
45920		return invalidParams
45921	}
45922	return nil
45923}
45924
45925// SetDesiredInstanceCount sets the DesiredInstanceCount field's value.
45926func (s *DesiredWeightAndCapacity) SetDesiredInstanceCount(v int64) *DesiredWeightAndCapacity {
45927	s.DesiredInstanceCount = &v
45928	return s
45929}
45930
45931// SetDesiredWeight sets the DesiredWeight field's value.
45932func (s *DesiredWeightAndCapacity) SetDesiredWeight(v float64) *DesiredWeightAndCapacity {
45933	s.DesiredWeight = &v
45934	return s
45935}
45936
45937// SetVariantName sets the VariantName field's value.
45938func (s *DesiredWeightAndCapacity) SetVariantName(v string) *DesiredWeightAndCapacity {
45939	s.VariantName = &v
45940	return s
45941}
45942
45943// Information of a particular device.
45944type Device struct {
45945	_ struct{} `type:"structure"`
45946
45947	// Description of the device.
45948	Description *string `min:"1" type:"string"`
45949
45950	// The name of the device.
45951	//
45952	// DeviceName is a required field
45953	DeviceName *string `min:"1" type:"string" required:"true"`
45954
45955	// AWS Internet of Things (IoT) object name.
45956	IotThingName *string `type:"string"`
45957}
45958
45959// String returns the string representation
45960func (s Device) String() string {
45961	return awsutil.Prettify(s)
45962}
45963
45964// GoString returns the string representation
45965func (s Device) GoString() string {
45966	return s.String()
45967}
45968
45969// Validate inspects the fields of the type to determine if they are valid.
45970func (s *Device) Validate() error {
45971	invalidParams := request.ErrInvalidParams{Context: "Device"}
45972	if s.Description != nil && len(*s.Description) < 1 {
45973		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
45974	}
45975	if s.DeviceName == nil {
45976		invalidParams.Add(request.NewErrParamRequired("DeviceName"))
45977	}
45978	if s.DeviceName != nil && len(*s.DeviceName) < 1 {
45979		invalidParams.Add(request.NewErrParamMinLen("DeviceName", 1))
45980	}
45981
45982	if invalidParams.Len() > 0 {
45983		return invalidParams
45984	}
45985	return nil
45986}
45987
45988// SetDescription sets the Description field's value.
45989func (s *Device) SetDescription(v string) *Device {
45990	s.Description = &v
45991	return s
45992}
45993
45994// SetDeviceName sets the DeviceName field's value.
45995func (s *Device) SetDeviceName(v string) *Device {
45996	s.DeviceName = &v
45997	return s
45998}
45999
46000// SetIotThingName sets the IotThingName field's value.
46001func (s *Device) SetIotThingName(v string) *Device {
46002	s.IotThingName = &v
46003	return s
46004}
46005
46006// Summary of the device fleet.
46007type DeviceFleetSummary struct {
46008	_ struct{} `type:"structure"`
46009
46010	// Timestamp of when the device fleet was created.
46011	CreationTime *time.Time `type:"timestamp"`
46012
46013	// Amazon Resource Name (ARN) of the device fleet.
46014	//
46015	// DeviceFleetArn is a required field
46016	DeviceFleetArn *string `type:"string" required:"true"`
46017
46018	// Name of the device fleet.
46019	//
46020	// DeviceFleetName is a required field
46021	DeviceFleetName *string `min:"1" type:"string" required:"true"`
46022
46023	// Timestamp of when the device fleet was last updated.
46024	LastModifiedTime *time.Time `type:"timestamp"`
46025}
46026
46027// String returns the string representation
46028func (s DeviceFleetSummary) String() string {
46029	return awsutil.Prettify(s)
46030}
46031
46032// GoString returns the string representation
46033func (s DeviceFleetSummary) GoString() string {
46034	return s.String()
46035}
46036
46037// SetCreationTime sets the CreationTime field's value.
46038func (s *DeviceFleetSummary) SetCreationTime(v time.Time) *DeviceFleetSummary {
46039	s.CreationTime = &v
46040	return s
46041}
46042
46043// SetDeviceFleetArn sets the DeviceFleetArn field's value.
46044func (s *DeviceFleetSummary) SetDeviceFleetArn(v string) *DeviceFleetSummary {
46045	s.DeviceFleetArn = &v
46046	return s
46047}
46048
46049// SetDeviceFleetName sets the DeviceFleetName field's value.
46050func (s *DeviceFleetSummary) SetDeviceFleetName(v string) *DeviceFleetSummary {
46051	s.DeviceFleetName = &v
46052	return s
46053}
46054
46055// SetLastModifiedTime sets the LastModifiedTime field's value.
46056func (s *DeviceFleetSummary) SetLastModifiedTime(v time.Time) *DeviceFleetSummary {
46057	s.LastModifiedTime = &v
46058	return s
46059}
46060
46061// Status of devices.
46062type DeviceStats struct {
46063	_ struct{} `type:"structure"`
46064
46065	// The number of devices connected with a heartbeat.
46066	//
46067	// ConnectedDeviceCount is a required field
46068	ConnectedDeviceCount *int64 `type:"long" required:"true"`
46069
46070	// The number of registered devices.
46071	//
46072	// RegisteredDeviceCount is a required field
46073	RegisteredDeviceCount *int64 `type:"long" required:"true"`
46074}
46075
46076// String returns the string representation
46077func (s DeviceStats) String() string {
46078	return awsutil.Prettify(s)
46079}
46080
46081// GoString returns the string representation
46082func (s DeviceStats) GoString() string {
46083	return s.String()
46084}
46085
46086// SetConnectedDeviceCount sets the ConnectedDeviceCount field's value.
46087func (s *DeviceStats) SetConnectedDeviceCount(v int64) *DeviceStats {
46088	s.ConnectedDeviceCount = &v
46089	return s
46090}
46091
46092// SetRegisteredDeviceCount sets the RegisteredDeviceCount field's value.
46093func (s *DeviceStats) SetRegisteredDeviceCount(v int64) *DeviceStats {
46094	s.RegisteredDeviceCount = &v
46095	return s
46096}
46097
46098// Summary of the device.
46099type DeviceSummary struct {
46100	_ struct{} `type:"structure"`
46101
46102	// A description of the device.
46103	Description *string `min:"1" type:"string"`
46104
46105	// Amazon Resource Name (ARN) of the device.
46106	//
46107	// DeviceArn is a required field
46108	DeviceArn *string `min:"20" type:"string" required:"true"`
46109
46110	// The name of the fleet the device belongs to.
46111	DeviceFleetName *string `min:"1" type:"string"`
46112
46113	// The unique identifier of the device.
46114	//
46115	// DeviceName is a required field
46116	DeviceName *string `min:"1" type:"string" required:"true"`
46117
46118	// The AWS Internet of Things (IoT) object thing name associated with the device..
46119	IotThingName *string `type:"string"`
46120
46121	// The last heartbeat received from the device.
46122	LatestHeartbeat *time.Time `type:"timestamp"`
46123
46124	// Models on the device.
46125	Models []*EdgeModelSummary `type:"list"`
46126
46127	// The timestamp of the last registration or de-reregistration.
46128	RegistrationTime *time.Time `type:"timestamp"`
46129}
46130
46131// String returns the string representation
46132func (s DeviceSummary) String() string {
46133	return awsutil.Prettify(s)
46134}
46135
46136// GoString returns the string representation
46137func (s DeviceSummary) GoString() string {
46138	return s.String()
46139}
46140
46141// SetDescription sets the Description field's value.
46142func (s *DeviceSummary) SetDescription(v string) *DeviceSummary {
46143	s.Description = &v
46144	return s
46145}
46146
46147// SetDeviceArn sets the DeviceArn field's value.
46148func (s *DeviceSummary) SetDeviceArn(v string) *DeviceSummary {
46149	s.DeviceArn = &v
46150	return s
46151}
46152
46153// SetDeviceFleetName sets the DeviceFleetName field's value.
46154func (s *DeviceSummary) SetDeviceFleetName(v string) *DeviceSummary {
46155	s.DeviceFleetName = &v
46156	return s
46157}
46158
46159// SetDeviceName sets the DeviceName field's value.
46160func (s *DeviceSummary) SetDeviceName(v string) *DeviceSummary {
46161	s.DeviceName = &v
46162	return s
46163}
46164
46165// SetIotThingName sets the IotThingName field's value.
46166func (s *DeviceSummary) SetIotThingName(v string) *DeviceSummary {
46167	s.IotThingName = &v
46168	return s
46169}
46170
46171// SetLatestHeartbeat sets the LatestHeartbeat field's value.
46172func (s *DeviceSummary) SetLatestHeartbeat(v time.Time) *DeviceSummary {
46173	s.LatestHeartbeat = &v
46174	return s
46175}
46176
46177// SetModels sets the Models field's value.
46178func (s *DeviceSummary) SetModels(v []*EdgeModelSummary) *DeviceSummary {
46179	s.Models = v
46180	return s
46181}
46182
46183// SetRegistrationTime sets the RegistrationTime field's value.
46184func (s *DeviceSummary) SetRegistrationTime(v time.Time) *DeviceSummary {
46185	s.RegistrationTime = &v
46186	return s
46187}
46188
46189type DisableSagemakerServicecatalogPortfolioInput struct {
46190	_ struct{} `type:"structure"`
46191}
46192
46193// String returns the string representation
46194func (s DisableSagemakerServicecatalogPortfolioInput) String() string {
46195	return awsutil.Prettify(s)
46196}
46197
46198// GoString returns the string representation
46199func (s DisableSagemakerServicecatalogPortfolioInput) GoString() string {
46200	return s.String()
46201}
46202
46203type DisableSagemakerServicecatalogPortfolioOutput struct {
46204	_ struct{} `type:"structure"`
46205}
46206
46207// String returns the string representation
46208func (s DisableSagemakerServicecatalogPortfolioOutput) String() string {
46209	return awsutil.Prettify(s)
46210}
46211
46212// GoString returns the string representation
46213func (s DisableSagemakerServicecatalogPortfolioOutput) GoString() string {
46214	return s.String()
46215}
46216
46217type DisassociateTrialComponentInput struct {
46218	_ struct{} `type:"structure"`
46219
46220	// The name of the component to disassociate from the trial.
46221	//
46222	// TrialComponentName is a required field
46223	TrialComponentName *string `min:"1" type:"string" required:"true"`
46224
46225	// The name of the trial to disassociate from.
46226	//
46227	// TrialName is a required field
46228	TrialName *string `min:"1" type:"string" required:"true"`
46229}
46230
46231// String returns the string representation
46232func (s DisassociateTrialComponentInput) String() string {
46233	return awsutil.Prettify(s)
46234}
46235
46236// GoString returns the string representation
46237func (s DisassociateTrialComponentInput) GoString() string {
46238	return s.String()
46239}
46240
46241// Validate inspects the fields of the type to determine if they are valid.
46242func (s *DisassociateTrialComponentInput) Validate() error {
46243	invalidParams := request.ErrInvalidParams{Context: "DisassociateTrialComponentInput"}
46244	if s.TrialComponentName == nil {
46245		invalidParams.Add(request.NewErrParamRequired("TrialComponentName"))
46246	}
46247	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
46248		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
46249	}
46250	if s.TrialName == nil {
46251		invalidParams.Add(request.NewErrParamRequired("TrialName"))
46252	}
46253	if s.TrialName != nil && len(*s.TrialName) < 1 {
46254		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
46255	}
46256
46257	if invalidParams.Len() > 0 {
46258		return invalidParams
46259	}
46260	return nil
46261}
46262
46263// SetTrialComponentName sets the TrialComponentName field's value.
46264func (s *DisassociateTrialComponentInput) SetTrialComponentName(v string) *DisassociateTrialComponentInput {
46265	s.TrialComponentName = &v
46266	return s
46267}
46268
46269// SetTrialName sets the TrialName field's value.
46270func (s *DisassociateTrialComponentInput) SetTrialName(v string) *DisassociateTrialComponentInput {
46271	s.TrialName = &v
46272	return s
46273}
46274
46275type DisassociateTrialComponentOutput struct {
46276	_ struct{} `type:"structure"`
46277
46278	// The Amazon Resource Name (ARN) of the trial.
46279	TrialArn *string `type:"string"`
46280
46281	// The ARN of the trial component.
46282	TrialComponentArn *string `type:"string"`
46283}
46284
46285// String returns the string representation
46286func (s DisassociateTrialComponentOutput) String() string {
46287	return awsutil.Prettify(s)
46288}
46289
46290// GoString returns the string representation
46291func (s DisassociateTrialComponentOutput) GoString() string {
46292	return s.String()
46293}
46294
46295// SetTrialArn sets the TrialArn field's value.
46296func (s *DisassociateTrialComponentOutput) SetTrialArn(v string) *DisassociateTrialComponentOutput {
46297	s.TrialArn = &v
46298	return s
46299}
46300
46301// SetTrialComponentArn sets the TrialComponentArn field's value.
46302func (s *DisassociateTrialComponentOutput) SetTrialComponentArn(v string) *DisassociateTrialComponentOutput {
46303	s.TrialComponentArn = &v
46304	return s
46305}
46306
46307// The domain's details.
46308type DomainDetails struct {
46309	_ struct{} `type:"structure"`
46310
46311	// The creation time.
46312	CreationTime *time.Time `type:"timestamp"`
46313
46314	// The domain's Amazon Resource Name (ARN).
46315	DomainArn *string `type:"string"`
46316
46317	// The domain ID.
46318	DomainId *string `type:"string"`
46319
46320	// The domain name.
46321	DomainName *string `type:"string"`
46322
46323	// The last modified time.
46324	LastModifiedTime *time.Time `type:"timestamp"`
46325
46326	// The status.
46327	Status *string `type:"string" enum:"DomainStatus"`
46328
46329	// The domain's URL.
46330	Url *string `type:"string"`
46331}
46332
46333// String returns the string representation
46334func (s DomainDetails) String() string {
46335	return awsutil.Prettify(s)
46336}
46337
46338// GoString returns the string representation
46339func (s DomainDetails) GoString() string {
46340	return s.String()
46341}
46342
46343// SetCreationTime sets the CreationTime field's value.
46344func (s *DomainDetails) SetCreationTime(v time.Time) *DomainDetails {
46345	s.CreationTime = &v
46346	return s
46347}
46348
46349// SetDomainArn sets the DomainArn field's value.
46350func (s *DomainDetails) SetDomainArn(v string) *DomainDetails {
46351	s.DomainArn = &v
46352	return s
46353}
46354
46355// SetDomainId sets the DomainId field's value.
46356func (s *DomainDetails) SetDomainId(v string) *DomainDetails {
46357	s.DomainId = &v
46358	return s
46359}
46360
46361// SetDomainName sets the DomainName field's value.
46362func (s *DomainDetails) SetDomainName(v string) *DomainDetails {
46363	s.DomainName = &v
46364	return s
46365}
46366
46367// SetLastModifiedTime sets the LastModifiedTime field's value.
46368func (s *DomainDetails) SetLastModifiedTime(v time.Time) *DomainDetails {
46369	s.LastModifiedTime = &v
46370	return s
46371}
46372
46373// SetStatus sets the Status field's value.
46374func (s *DomainDetails) SetStatus(v string) *DomainDetails {
46375	s.Status = &v
46376	return s
46377}
46378
46379// SetUrl sets the Url field's value.
46380func (s *DomainDetails) SetUrl(v string) *DomainDetails {
46381	s.Url = &v
46382	return s
46383}
46384
46385// The model on the edge device.
46386type EdgeModel struct {
46387	_ struct{} `type:"structure"`
46388
46389	// The timestamp of the last inference that was made.
46390	LatestInference *time.Time `type:"timestamp"`
46391
46392	// The timestamp of the last data sample taken.
46393	LatestSampleTime *time.Time `type:"timestamp"`
46394
46395	// The name of the model.
46396	//
46397	// ModelName is a required field
46398	ModelName *string `min:"1" type:"string" required:"true"`
46399
46400	// The model version.
46401	//
46402	// ModelVersion is a required field
46403	ModelVersion *string `min:"1" type:"string" required:"true"`
46404}
46405
46406// String returns the string representation
46407func (s EdgeModel) String() string {
46408	return awsutil.Prettify(s)
46409}
46410
46411// GoString returns the string representation
46412func (s EdgeModel) GoString() string {
46413	return s.String()
46414}
46415
46416// SetLatestInference sets the LatestInference field's value.
46417func (s *EdgeModel) SetLatestInference(v time.Time) *EdgeModel {
46418	s.LatestInference = &v
46419	return s
46420}
46421
46422// SetLatestSampleTime sets the LatestSampleTime field's value.
46423func (s *EdgeModel) SetLatestSampleTime(v time.Time) *EdgeModel {
46424	s.LatestSampleTime = &v
46425	return s
46426}
46427
46428// SetModelName sets the ModelName field's value.
46429func (s *EdgeModel) SetModelName(v string) *EdgeModel {
46430	s.ModelName = &v
46431	return s
46432}
46433
46434// SetModelVersion sets the ModelVersion field's value.
46435func (s *EdgeModel) SetModelVersion(v string) *EdgeModel {
46436	s.ModelVersion = &v
46437	return s
46438}
46439
46440// Status of edge devices with this model.
46441type EdgeModelStat struct {
46442	_ struct{} `type:"structure"`
46443
46444	// The number of devices that have this model version, a heart beat, and are
46445	// currently running.
46446	//
46447	// ActiveDeviceCount is a required field
46448	ActiveDeviceCount *int64 `type:"long" required:"true"`
46449
46450	// The number of devices that have this model version and have a heart beat.
46451	//
46452	// ConnectedDeviceCount is a required field
46453	ConnectedDeviceCount *int64 `type:"long" required:"true"`
46454
46455	// The name of the model.
46456	//
46457	// ModelName is a required field
46458	ModelName *string `min:"1" type:"string" required:"true"`
46459
46460	// The model version.
46461	//
46462	// ModelVersion is a required field
46463	ModelVersion *string `min:"1" type:"string" required:"true"`
46464
46465	// The number of devices that have this model version and do not have a heart
46466	// beat.
46467	//
46468	// OfflineDeviceCount is a required field
46469	OfflineDeviceCount *int64 `type:"long" required:"true"`
46470
46471	// The number of devices with this model version and are producing sample data.
46472	//
46473	// SamplingDeviceCount is a required field
46474	SamplingDeviceCount *int64 `type:"long" required:"true"`
46475}
46476
46477// String returns the string representation
46478func (s EdgeModelStat) String() string {
46479	return awsutil.Prettify(s)
46480}
46481
46482// GoString returns the string representation
46483func (s EdgeModelStat) GoString() string {
46484	return s.String()
46485}
46486
46487// SetActiveDeviceCount sets the ActiveDeviceCount field's value.
46488func (s *EdgeModelStat) SetActiveDeviceCount(v int64) *EdgeModelStat {
46489	s.ActiveDeviceCount = &v
46490	return s
46491}
46492
46493// SetConnectedDeviceCount sets the ConnectedDeviceCount field's value.
46494func (s *EdgeModelStat) SetConnectedDeviceCount(v int64) *EdgeModelStat {
46495	s.ConnectedDeviceCount = &v
46496	return s
46497}
46498
46499// SetModelName sets the ModelName field's value.
46500func (s *EdgeModelStat) SetModelName(v string) *EdgeModelStat {
46501	s.ModelName = &v
46502	return s
46503}
46504
46505// SetModelVersion sets the ModelVersion field's value.
46506func (s *EdgeModelStat) SetModelVersion(v string) *EdgeModelStat {
46507	s.ModelVersion = &v
46508	return s
46509}
46510
46511// SetOfflineDeviceCount sets the OfflineDeviceCount field's value.
46512func (s *EdgeModelStat) SetOfflineDeviceCount(v int64) *EdgeModelStat {
46513	s.OfflineDeviceCount = &v
46514	return s
46515}
46516
46517// SetSamplingDeviceCount sets the SamplingDeviceCount field's value.
46518func (s *EdgeModelStat) SetSamplingDeviceCount(v int64) *EdgeModelStat {
46519	s.SamplingDeviceCount = &v
46520	return s
46521}
46522
46523// Summary of model on edge device.
46524type EdgeModelSummary struct {
46525	_ struct{} `type:"structure"`
46526
46527	// The name of the model.
46528	//
46529	// ModelName is a required field
46530	ModelName *string `min:"1" type:"string" required:"true"`
46531
46532	// The version model.
46533	//
46534	// ModelVersion is a required field
46535	ModelVersion *string `min:"1" type:"string" required:"true"`
46536}
46537
46538// String returns the string representation
46539func (s EdgeModelSummary) String() string {
46540	return awsutil.Prettify(s)
46541}
46542
46543// GoString returns the string representation
46544func (s EdgeModelSummary) GoString() string {
46545	return s.String()
46546}
46547
46548// SetModelName sets the ModelName field's value.
46549func (s *EdgeModelSummary) SetModelName(v string) *EdgeModelSummary {
46550	s.ModelName = &v
46551	return s
46552}
46553
46554// SetModelVersion sets the ModelVersion field's value.
46555func (s *EdgeModelSummary) SetModelVersion(v string) *EdgeModelSummary {
46556	s.ModelVersion = &v
46557	return s
46558}
46559
46560// The output configuration.
46561type EdgeOutputConfig struct {
46562	_ struct{} `type:"structure"`
46563
46564	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
46565	// encrypt data on the storage volume after compilation job. If you don't provide
46566	// a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for
46567	// your role's account.
46568	KmsKeyId *string `type:"string"`
46569
46570	// The Amazon Simple Storage (S3) bucker URI.
46571	//
46572	// S3OutputLocation is a required field
46573	S3OutputLocation *string `type:"string" required:"true"`
46574}
46575
46576// String returns the string representation
46577func (s EdgeOutputConfig) String() string {
46578	return awsutil.Prettify(s)
46579}
46580
46581// GoString returns the string representation
46582func (s EdgeOutputConfig) GoString() string {
46583	return s.String()
46584}
46585
46586// Validate inspects the fields of the type to determine if they are valid.
46587func (s *EdgeOutputConfig) Validate() error {
46588	invalidParams := request.ErrInvalidParams{Context: "EdgeOutputConfig"}
46589	if s.S3OutputLocation == nil {
46590		invalidParams.Add(request.NewErrParamRequired("S3OutputLocation"))
46591	}
46592
46593	if invalidParams.Len() > 0 {
46594		return invalidParams
46595	}
46596	return nil
46597}
46598
46599// SetKmsKeyId sets the KmsKeyId field's value.
46600func (s *EdgeOutputConfig) SetKmsKeyId(v string) *EdgeOutputConfig {
46601	s.KmsKeyId = &v
46602	return s
46603}
46604
46605// SetS3OutputLocation sets the S3OutputLocation field's value.
46606func (s *EdgeOutputConfig) SetS3OutputLocation(v string) *EdgeOutputConfig {
46607	s.S3OutputLocation = &v
46608	return s
46609}
46610
46611// Summary of edge packaging job.
46612type EdgePackagingJobSummary struct {
46613	_ struct{} `type:"structure"`
46614
46615	// The name of the SageMaker Neo compilation job.
46616	CompilationJobName *string `min:"1" type:"string"`
46617
46618	// The timestamp of when the job was created.
46619	CreationTime *time.Time `type:"timestamp"`
46620
46621	// The Amazon Resource Name (ARN) of the edge packaging job.
46622	//
46623	// EdgePackagingJobArn is a required field
46624	EdgePackagingJobArn *string `min:"20" type:"string" required:"true"`
46625
46626	// The name of the edge packaging job.
46627	//
46628	// EdgePackagingJobName is a required field
46629	EdgePackagingJobName *string `min:"1" type:"string" required:"true"`
46630
46631	// The status of the edge packaging job.
46632	//
46633	// EdgePackagingJobStatus is a required field
46634	EdgePackagingJobStatus *string `type:"string" required:"true" enum:"EdgePackagingJobStatus"`
46635
46636	// The timestamp of when the edge packaging job was last updated.
46637	LastModifiedTime *time.Time `type:"timestamp"`
46638
46639	// The name of the model.
46640	ModelName *string `min:"1" type:"string"`
46641
46642	// The version of the model.
46643	ModelVersion *string `min:"1" type:"string"`
46644}
46645
46646// String returns the string representation
46647func (s EdgePackagingJobSummary) String() string {
46648	return awsutil.Prettify(s)
46649}
46650
46651// GoString returns the string representation
46652func (s EdgePackagingJobSummary) GoString() string {
46653	return s.String()
46654}
46655
46656// SetCompilationJobName sets the CompilationJobName field's value.
46657func (s *EdgePackagingJobSummary) SetCompilationJobName(v string) *EdgePackagingJobSummary {
46658	s.CompilationJobName = &v
46659	return s
46660}
46661
46662// SetCreationTime sets the CreationTime field's value.
46663func (s *EdgePackagingJobSummary) SetCreationTime(v time.Time) *EdgePackagingJobSummary {
46664	s.CreationTime = &v
46665	return s
46666}
46667
46668// SetEdgePackagingJobArn sets the EdgePackagingJobArn field's value.
46669func (s *EdgePackagingJobSummary) SetEdgePackagingJobArn(v string) *EdgePackagingJobSummary {
46670	s.EdgePackagingJobArn = &v
46671	return s
46672}
46673
46674// SetEdgePackagingJobName sets the EdgePackagingJobName field's value.
46675func (s *EdgePackagingJobSummary) SetEdgePackagingJobName(v string) *EdgePackagingJobSummary {
46676	s.EdgePackagingJobName = &v
46677	return s
46678}
46679
46680// SetEdgePackagingJobStatus sets the EdgePackagingJobStatus field's value.
46681func (s *EdgePackagingJobSummary) SetEdgePackagingJobStatus(v string) *EdgePackagingJobSummary {
46682	s.EdgePackagingJobStatus = &v
46683	return s
46684}
46685
46686// SetLastModifiedTime sets the LastModifiedTime field's value.
46687func (s *EdgePackagingJobSummary) SetLastModifiedTime(v time.Time) *EdgePackagingJobSummary {
46688	s.LastModifiedTime = &v
46689	return s
46690}
46691
46692// SetModelName sets the ModelName field's value.
46693func (s *EdgePackagingJobSummary) SetModelName(v string) *EdgePackagingJobSummary {
46694	s.ModelName = &v
46695	return s
46696}
46697
46698// SetModelVersion sets the ModelVersion field's value.
46699func (s *EdgePackagingJobSummary) SetModelVersion(v string) *EdgePackagingJobSummary {
46700	s.ModelVersion = &v
46701	return s
46702}
46703
46704type EnableSagemakerServicecatalogPortfolioInput struct {
46705	_ struct{} `type:"structure"`
46706}
46707
46708// String returns the string representation
46709func (s EnableSagemakerServicecatalogPortfolioInput) String() string {
46710	return awsutil.Prettify(s)
46711}
46712
46713// GoString returns the string representation
46714func (s EnableSagemakerServicecatalogPortfolioInput) GoString() string {
46715	return s.String()
46716}
46717
46718type EnableSagemakerServicecatalogPortfolioOutput struct {
46719	_ struct{} `type:"structure"`
46720}
46721
46722// String returns the string representation
46723func (s EnableSagemakerServicecatalogPortfolioOutput) String() string {
46724	return awsutil.Prettify(s)
46725}
46726
46727// GoString returns the string representation
46728func (s EnableSagemakerServicecatalogPortfolioOutput) GoString() string {
46729	return s.String()
46730}
46731
46732// A hosted endpoint for real-time inference.
46733type Endpoint struct {
46734	_ struct{} `type:"structure"`
46735
46736	// The time that the endpoint was created.
46737	//
46738	// CreationTime is a required field
46739	CreationTime *time.Time `type:"timestamp" required:"true"`
46740
46741	DataCaptureConfig *DataCaptureConfigSummary `type:"structure"`
46742
46743	// The Amazon Resource Name (ARN) of the endpoint.
46744	//
46745	// EndpointArn is a required field
46746	EndpointArn *string `min:"20" type:"string" required:"true"`
46747
46748	// The endpoint configuration associated with the endpoint.
46749	//
46750	// EndpointConfigName is a required field
46751	EndpointConfigName *string `type:"string" required:"true"`
46752
46753	// The name of the endpoint.
46754	//
46755	// EndpointName is a required field
46756	EndpointName *string `type:"string" required:"true"`
46757
46758	// The status of the endpoint.
46759	//
46760	// EndpointStatus is a required field
46761	EndpointStatus *string `type:"string" required:"true" enum:"EndpointStatus"`
46762
46763	// If the endpoint failed, the reason it failed.
46764	FailureReason *string `type:"string"`
46765
46766	// The last time the endpoint was modified.
46767	//
46768	// LastModifiedTime is a required field
46769	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
46770
46771	// A list of monitoring schedules for the endpoint. For information about model
46772	// monitoring, see Amazon SageMaker Model Monitor (https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html).
46773	MonitoringSchedules []*MonitoringSchedule `type:"list"`
46774
46775	// A list of the production variants hosted on the endpoint. Each production
46776	// variant is a model.
46777	ProductionVariants []*ProductionVariantSummary `min:"1" type:"list"`
46778
46779	// A list of the tags associated with the endpoint. For more information, see
46780	// Tagging AWS resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
46781	// in the AWS General Reference Guide.
46782	Tags []*Tag `type:"list"`
46783}
46784
46785// String returns the string representation
46786func (s Endpoint) String() string {
46787	return awsutil.Prettify(s)
46788}
46789
46790// GoString returns the string representation
46791func (s Endpoint) GoString() string {
46792	return s.String()
46793}
46794
46795// SetCreationTime sets the CreationTime field's value.
46796func (s *Endpoint) SetCreationTime(v time.Time) *Endpoint {
46797	s.CreationTime = &v
46798	return s
46799}
46800
46801// SetDataCaptureConfig sets the DataCaptureConfig field's value.
46802func (s *Endpoint) SetDataCaptureConfig(v *DataCaptureConfigSummary) *Endpoint {
46803	s.DataCaptureConfig = v
46804	return s
46805}
46806
46807// SetEndpointArn sets the EndpointArn field's value.
46808func (s *Endpoint) SetEndpointArn(v string) *Endpoint {
46809	s.EndpointArn = &v
46810	return s
46811}
46812
46813// SetEndpointConfigName sets the EndpointConfigName field's value.
46814func (s *Endpoint) SetEndpointConfigName(v string) *Endpoint {
46815	s.EndpointConfigName = &v
46816	return s
46817}
46818
46819// SetEndpointName sets the EndpointName field's value.
46820func (s *Endpoint) SetEndpointName(v string) *Endpoint {
46821	s.EndpointName = &v
46822	return s
46823}
46824
46825// SetEndpointStatus sets the EndpointStatus field's value.
46826func (s *Endpoint) SetEndpointStatus(v string) *Endpoint {
46827	s.EndpointStatus = &v
46828	return s
46829}
46830
46831// SetFailureReason sets the FailureReason field's value.
46832func (s *Endpoint) SetFailureReason(v string) *Endpoint {
46833	s.FailureReason = &v
46834	return s
46835}
46836
46837// SetLastModifiedTime sets the LastModifiedTime field's value.
46838func (s *Endpoint) SetLastModifiedTime(v time.Time) *Endpoint {
46839	s.LastModifiedTime = &v
46840	return s
46841}
46842
46843// SetMonitoringSchedules sets the MonitoringSchedules field's value.
46844func (s *Endpoint) SetMonitoringSchedules(v []*MonitoringSchedule) *Endpoint {
46845	s.MonitoringSchedules = v
46846	return s
46847}
46848
46849// SetProductionVariants sets the ProductionVariants field's value.
46850func (s *Endpoint) SetProductionVariants(v []*ProductionVariantSummary) *Endpoint {
46851	s.ProductionVariants = v
46852	return s
46853}
46854
46855// SetTags sets the Tags field's value.
46856func (s *Endpoint) SetTags(v []*Tag) *Endpoint {
46857	s.Tags = v
46858	return s
46859}
46860
46861// Provides summary information for an endpoint configuration.
46862type EndpointConfigSummary struct {
46863	_ struct{} `type:"structure"`
46864
46865	// A timestamp that shows when the endpoint configuration was created.
46866	//
46867	// CreationTime is a required field
46868	CreationTime *time.Time `type:"timestamp" required:"true"`
46869
46870	// The Amazon Resource Name (ARN) of the endpoint configuration.
46871	//
46872	// EndpointConfigArn is a required field
46873	EndpointConfigArn *string `min:"20" type:"string" required:"true"`
46874
46875	// The name of the endpoint configuration.
46876	//
46877	// EndpointConfigName is a required field
46878	EndpointConfigName *string `type:"string" required:"true"`
46879}
46880
46881// String returns the string representation
46882func (s EndpointConfigSummary) String() string {
46883	return awsutil.Prettify(s)
46884}
46885
46886// GoString returns the string representation
46887func (s EndpointConfigSummary) GoString() string {
46888	return s.String()
46889}
46890
46891// SetCreationTime sets the CreationTime field's value.
46892func (s *EndpointConfigSummary) SetCreationTime(v time.Time) *EndpointConfigSummary {
46893	s.CreationTime = &v
46894	return s
46895}
46896
46897// SetEndpointConfigArn sets the EndpointConfigArn field's value.
46898func (s *EndpointConfigSummary) SetEndpointConfigArn(v string) *EndpointConfigSummary {
46899	s.EndpointConfigArn = &v
46900	return s
46901}
46902
46903// SetEndpointConfigName sets the EndpointConfigName field's value.
46904func (s *EndpointConfigSummary) SetEndpointConfigName(v string) *EndpointConfigSummary {
46905	s.EndpointConfigName = &v
46906	return s
46907}
46908
46909// Input object for the endpoint
46910type EndpointInput struct {
46911	_ struct{} `type:"structure"`
46912
46913	// If specified, monitoring jobs substract this time from the end time. For
46914	// information about using offsets for scheduling monitoring jobs, see Schedule
46915	// Model Quality Monitoring Jobs (https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-model-quality-schedule.html).
46916	EndTimeOffset *string `min:"1" type:"string"`
46917
46918	// An endpoint in customer's account which has enabled DataCaptureConfig enabled.
46919	//
46920	// EndpointName is a required field
46921	EndpointName *string `type:"string" required:"true"`
46922
46923	// The attributes of the input data that are the input features.
46924	FeaturesAttribute *string `type:"string"`
46925
46926	// The attribute of the input data that represents the ground truth label.
46927	InferenceAttribute *string `type:"string"`
46928
46929	// Path to the filesystem where the endpoint data is available to the container.
46930	//
46931	// LocalPath is a required field
46932	LocalPath *string `type:"string" required:"true"`
46933
46934	// In a classification problem, the attribute that represents the class probability.
46935	ProbabilityAttribute *string `type:"string"`
46936
46937	// The threshold for the class probability to be evaluated as a positive result.
46938	ProbabilityThresholdAttribute *float64 `type:"double"`
46939
46940	// Whether input data distributed in Amazon S3 is fully replicated or sharded
46941	// by an S3 key. Defaults to FullyReplicated
46942	S3DataDistributionType *string `type:"string" enum:"ProcessingS3DataDistributionType"`
46943
46944	// Whether the Pipe or File is used as the input mode for transfering data for
46945	// the monitoring job. Pipe mode is recommended for large datasets. File mode
46946	// is useful for small files that fit in memory. Defaults to File.
46947	S3InputMode *string `type:"string" enum:"ProcessingS3InputMode"`
46948
46949	// If specified, monitoring jobs substract this time from the start time. For
46950	// information about using offsets for scheduling monitoring jobs, see Schedule
46951	// Model Quality Monitoring Jobs (https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-model-quality-schedule.html).
46952	StartTimeOffset *string `min:"1" type:"string"`
46953}
46954
46955// String returns the string representation
46956func (s EndpointInput) String() string {
46957	return awsutil.Prettify(s)
46958}
46959
46960// GoString returns the string representation
46961func (s EndpointInput) GoString() string {
46962	return s.String()
46963}
46964
46965// Validate inspects the fields of the type to determine if they are valid.
46966func (s *EndpointInput) Validate() error {
46967	invalidParams := request.ErrInvalidParams{Context: "EndpointInput"}
46968	if s.EndTimeOffset != nil && len(*s.EndTimeOffset) < 1 {
46969		invalidParams.Add(request.NewErrParamMinLen("EndTimeOffset", 1))
46970	}
46971	if s.EndpointName == nil {
46972		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
46973	}
46974	if s.LocalPath == nil {
46975		invalidParams.Add(request.NewErrParamRequired("LocalPath"))
46976	}
46977	if s.StartTimeOffset != nil && len(*s.StartTimeOffset) < 1 {
46978		invalidParams.Add(request.NewErrParamMinLen("StartTimeOffset", 1))
46979	}
46980
46981	if invalidParams.Len() > 0 {
46982		return invalidParams
46983	}
46984	return nil
46985}
46986
46987// SetEndTimeOffset sets the EndTimeOffset field's value.
46988func (s *EndpointInput) SetEndTimeOffset(v string) *EndpointInput {
46989	s.EndTimeOffset = &v
46990	return s
46991}
46992
46993// SetEndpointName sets the EndpointName field's value.
46994func (s *EndpointInput) SetEndpointName(v string) *EndpointInput {
46995	s.EndpointName = &v
46996	return s
46997}
46998
46999// SetFeaturesAttribute sets the FeaturesAttribute field's value.
47000func (s *EndpointInput) SetFeaturesAttribute(v string) *EndpointInput {
47001	s.FeaturesAttribute = &v
47002	return s
47003}
47004
47005// SetInferenceAttribute sets the InferenceAttribute field's value.
47006func (s *EndpointInput) SetInferenceAttribute(v string) *EndpointInput {
47007	s.InferenceAttribute = &v
47008	return s
47009}
47010
47011// SetLocalPath sets the LocalPath field's value.
47012func (s *EndpointInput) SetLocalPath(v string) *EndpointInput {
47013	s.LocalPath = &v
47014	return s
47015}
47016
47017// SetProbabilityAttribute sets the ProbabilityAttribute field's value.
47018func (s *EndpointInput) SetProbabilityAttribute(v string) *EndpointInput {
47019	s.ProbabilityAttribute = &v
47020	return s
47021}
47022
47023// SetProbabilityThresholdAttribute sets the ProbabilityThresholdAttribute field's value.
47024func (s *EndpointInput) SetProbabilityThresholdAttribute(v float64) *EndpointInput {
47025	s.ProbabilityThresholdAttribute = &v
47026	return s
47027}
47028
47029// SetS3DataDistributionType sets the S3DataDistributionType field's value.
47030func (s *EndpointInput) SetS3DataDistributionType(v string) *EndpointInput {
47031	s.S3DataDistributionType = &v
47032	return s
47033}
47034
47035// SetS3InputMode sets the S3InputMode field's value.
47036func (s *EndpointInput) SetS3InputMode(v string) *EndpointInput {
47037	s.S3InputMode = &v
47038	return s
47039}
47040
47041// SetStartTimeOffset sets the StartTimeOffset field's value.
47042func (s *EndpointInput) SetStartTimeOffset(v string) *EndpointInput {
47043	s.StartTimeOffset = &v
47044	return s
47045}
47046
47047// Provides summary information for an endpoint.
47048type EndpointSummary struct {
47049	_ struct{} `type:"structure"`
47050
47051	// A timestamp that shows when the endpoint was created.
47052	//
47053	// CreationTime is a required field
47054	CreationTime *time.Time `type:"timestamp" required:"true"`
47055
47056	// The Amazon Resource Name (ARN) of the endpoint.
47057	//
47058	// EndpointArn is a required field
47059	EndpointArn *string `min:"20" type:"string" required:"true"`
47060
47061	// The name of the endpoint.
47062	//
47063	// EndpointName is a required field
47064	EndpointName *string `type:"string" required:"true"`
47065
47066	// The status of the endpoint.
47067	//
47068	//    * OutOfService: Endpoint is not available to take incoming requests.
47069	//
47070	//    * Creating: CreateEndpoint is executing.
47071	//
47072	//    * Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing.
47073	//
47074	//    * SystemUpdating: Endpoint is undergoing maintenance and cannot be updated
47075	//    or deleted or re-scaled until it has completed. This maintenance operation
47076	//    does not change any customer-specified values such as VPC config, KMS
47077	//    encryption, model, instance type, or instance count.
47078	//
47079	//    * RollingBack: Endpoint fails to scale up or down or change its variant
47080	//    weight and is in the process of rolling back to its previous configuration.
47081	//    Once the rollback completes, endpoint returns to an InService status.
47082	//    This transitional status only applies to an endpoint that has autoscaling
47083	//    enabled and is undergoing variant weight or capacity changes as part of
47084	//    an UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities
47085	//    operation is called explicitly.
47086	//
47087	//    * InService: Endpoint is available to process incoming requests.
47088	//
47089	//    * Deleting: DeleteEndpoint is executing.
47090	//
47091	//    * Failed: Endpoint could not be created, updated, or re-scaled. Use DescribeEndpointOutput$FailureReason
47092	//    for information about the failure. DeleteEndpoint is the only operation
47093	//    that can be performed on a failed endpoint.
47094	//
47095	// To get a list of endpoints with a specified status, use the ListEndpointsInput$StatusEquals
47096	// filter.
47097	//
47098	// EndpointStatus is a required field
47099	EndpointStatus *string `type:"string" required:"true" enum:"EndpointStatus"`
47100
47101	// A timestamp that shows when the endpoint was last modified.
47102	//
47103	// LastModifiedTime is a required field
47104	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
47105}
47106
47107// String returns the string representation
47108func (s EndpointSummary) String() string {
47109	return awsutil.Prettify(s)
47110}
47111
47112// GoString returns the string representation
47113func (s EndpointSummary) GoString() string {
47114	return s.String()
47115}
47116
47117// SetCreationTime sets the CreationTime field's value.
47118func (s *EndpointSummary) SetCreationTime(v time.Time) *EndpointSummary {
47119	s.CreationTime = &v
47120	return s
47121}
47122
47123// SetEndpointArn sets the EndpointArn field's value.
47124func (s *EndpointSummary) SetEndpointArn(v string) *EndpointSummary {
47125	s.EndpointArn = &v
47126	return s
47127}
47128
47129// SetEndpointName sets the EndpointName field's value.
47130func (s *EndpointSummary) SetEndpointName(v string) *EndpointSummary {
47131	s.EndpointName = &v
47132	return s
47133}
47134
47135// SetEndpointStatus sets the EndpointStatus field's value.
47136func (s *EndpointSummary) SetEndpointStatus(v string) *EndpointSummary {
47137	s.EndpointStatus = &v
47138	return s
47139}
47140
47141// SetLastModifiedTime sets the LastModifiedTime field's value.
47142func (s *EndpointSummary) SetLastModifiedTime(v time.Time) *EndpointSummary {
47143	s.LastModifiedTime = &v
47144	return s
47145}
47146
47147// The properties of an experiment as returned by the Search API.
47148type Experiment struct {
47149	_ struct{} `type:"structure"`
47150
47151	// Information about the user who created or modified an experiment, trial,
47152	// or trial component.
47153	CreatedBy *UserContext `type:"structure"`
47154
47155	// When the experiment was created.
47156	CreationTime *time.Time `type:"timestamp"`
47157
47158	// The description of the experiment.
47159	Description *string `type:"string"`
47160
47161	// The name of the experiment as displayed. If DisplayName isn't specified,
47162	// ExperimentName is displayed.
47163	DisplayName *string `min:"1" type:"string"`
47164
47165	// The Amazon Resource Name (ARN) of the experiment.
47166	ExperimentArn *string `type:"string"`
47167
47168	// The name of the experiment.
47169	ExperimentName *string `min:"1" type:"string"`
47170
47171	// Information about the user who created or modified an experiment, trial,
47172	// or trial component.
47173	LastModifiedBy *UserContext `type:"structure"`
47174
47175	// When the experiment was last modified.
47176	LastModifiedTime *time.Time `type:"timestamp"`
47177
47178	// The source of the experiment.
47179	Source *ExperimentSource `type:"structure"`
47180
47181	// The list of tags that are associated with the experiment. You can use Search
47182	// API to search on the tags.
47183	Tags []*Tag `type:"list"`
47184}
47185
47186// String returns the string representation
47187func (s Experiment) String() string {
47188	return awsutil.Prettify(s)
47189}
47190
47191// GoString returns the string representation
47192func (s Experiment) GoString() string {
47193	return s.String()
47194}
47195
47196// SetCreatedBy sets the CreatedBy field's value.
47197func (s *Experiment) SetCreatedBy(v *UserContext) *Experiment {
47198	s.CreatedBy = v
47199	return s
47200}
47201
47202// SetCreationTime sets the CreationTime field's value.
47203func (s *Experiment) SetCreationTime(v time.Time) *Experiment {
47204	s.CreationTime = &v
47205	return s
47206}
47207
47208// SetDescription sets the Description field's value.
47209func (s *Experiment) SetDescription(v string) *Experiment {
47210	s.Description = &v
47211	return s
47212}
47213
47214// SetDisplayName sets the DisplayName field's value.
47215func (s *Experiment) SetDisplayName(v string) *Experiment {
47216	s.DisplayName = &v
47217	return s
47218}
47219
47220// SetExperimentArn sets the ExperimentArn field's value.
47221func (s *Experiment) SetExperimentArn(v string) *Experiment {
47222	s.ExperimentArn = &v
47223	return s
47224}
47225
47226// SetExperimentName sets the ExperimentName field's value.
47227func (s *Experiment) SetExperimentName(v string) *Experiment {
47228	s.ExperimentName = &v
47229	return s
47230}
47231
47232// SetLastModifiedBy sets the LastModifiedBy field's value.
47233func (s *Experiment) SetLastModifiedBy(v *UserContext) *Experiment {
47234	s.LastModifiedBy = v
47235	return s
47236}
47237
47238// SetLastModifiedTime sets the LastModifiedTime field's value.
47239func (s *Experiment) SetLastModifiedTime(v time.Time) *Experiment {
47240	s.LastModifiedTime = &v
47241	return s
47242}
47243
47244// SetSource sets the Source field's value.
47245func (s *Experiment) SetSource(v *ExperimentSource) *Experiment {
47246	s.Source = v
47247	return s
47248}
47249
47250// SetTags sets the Tags field's value.
47251func (s *Experiment) SetTags(v []*Tag) *Experiment {
47252	s.Tags = v
47253	return s
47254}
47255
47256// Associates a SageMaker job as a trial component with an experiment and trial.
47257// Specified when you call the following APIs:
47258//
47259//    * CreateProcessingJob
47260//
47261//    * CreateTrainingJob
47262//
47263//    * CreateTransformJob
47264type ExperimentConfig struct {
47265	_ struct{} `type:"structure"`
47266
47267	// The name of an existing experiment to associate the trial component with.
47268	ExperimentName *string `min:"1" type:"string"`
47269
47270	// The display name for the trial component. If this key isn't specified, the
47271	// display name is the trial component name.
47272	TrialComponentDisplayName *string `min:"1" type:"string"`
47273
47274	// The name of an existing trial to associate the trial component with. If not
47275	// specified, a new trial is created.
47276	TrialName *string `min:"1" type:"string"`
47277}
47278
47279// String returns the string representation
47280func (s ExperimentConfig) String() string {
47281	return awsutil.Prettify(s)
47282}
47283
47284// GoString returns the string representation
47285func (s ExperimentConfig) GoString() string {
47286	return s.String()
47287}
47288
47289// Validate inspects the fields of the type to determine if they are valid.
47290func (s *ExperimentConfig) Validate() error {
47291	invalidParams := request.ErrInvalidParams{Context: "ExperimentConfig"}
47292	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
47293		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
47294	}
47295	if s.TrialComponentDisplayName != nil && len(*s.TrialComponentDisplayName) < 1 {
47296		invalidParams.Add(request.NewErrParamMinLen("TrialComponentDisplayName", 1))
47297	}
47298	if s.TrialName != nil && len(*s.TrialName) < 1 {
47299		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
47300	}
47301
47302	if invalidParams.Len() > 0 {
47303		return invalidParams
47304	}
47305	return nil
47306}
47307
47308// SetExperimentName sets the ExperimentName field's value.
47309func (s *ExperimentConfig) SetExperimentName(v string) *ExperimentConfig {
47310	s.ExperimentName = &v
47311	return s
47312}
47313
47314// SetTrialComponentDisplayName sets the TrialComponentDisplayName field's value.
47315func (s *ExperimentConfig) SetTrialComponentDisplayName(v string) *ExperimentConfig {
47316	s.TrialComponentDisplayName = &v
47317	return s
47318}
47319
47320// SetTrialName sets the TrialName field's value.
47321func (s *ExperimentConfig) SetTrialName(v string) *ExperimentConfig {
47322	s.TrialName = &v
47323	return s
47324}
47325
47326// The source of the experiment.
47327type ExperimentSource struct {
47328	_ struct{} `type:"structure"`
47329
47330	// The Amazon Resource Name (ARN) of the source.
47331	//
47332	// SourceArn is a required field
47333	SourceArn *string `type:"string" required:"true"`
47334
47335	// The source type.
47336	SourceType *string `type:"string"`
47337}
47338
47339// String returns the string representation
47340func (s ExperimentSource) String() string {
47341	return awsutil.Prettify(s)
47342}
47343
47344// GoString returns the string representation
47345func (s ExperimentSource) GoString() string {
47346	return s.String()
47347}
47348
47349// SetSourceArn sets the SourceArn field's value.
47350func (s *ExperimentSource) SetSourceArn(v string) *ExperimentSource {
47351	s.SourceArn = &v
47352	return s
47353}
47354
47355// SetSourceType sets the SourceType field's value.
47356func (s *ExperimentSource) SetSourceType(v string) *ExperimentSource {
47357	s.SourceType = &v
47358	return s
47359}
47360
47361// A summary of the properties of an experiment. To get the complete set of
47362// properties, call the DescribeExperiment API and provide the ExperimentName.
47363type ExperimentSummary struct {
47364	_ struct{} `type:"structure"`
47365
47366	// When the experiment was created.
47367	CreationTime *time.Time `type:"timestamp"`
47368
47369	// The name of the experiment as displayed. If DisplayName isn't specified,
47370	// ExperimentName is displayed.
47371	DisplayName *string `min:"1" type:"string"`
47372
47373	// The Amazon Resource Name (ARN) of the experiment.
47374	ExperimentArn *string `type:"string"`
47375
47376	// The name of the experiment.
47377	ExperimentName *string `min:"1" type:"string"`
47378
47379	// The source of the experiment.
47380	ExperimentSource *ExperimentSource `type:"structure"`
47381
47382	// When the experiment was last modified.
47383	LastModifiedTime *time.Time `type:"timestamp"`
47384}
47385
47386// String returns the string representation
47387func (s ExperimentSummary) String() string {
47388	return awsutil.Prettify(s)
47389}
47390
47391// GoString returns the string representation
47392func (s ExperimentSummary) GoString() string {
47393	return s.String()
47394}
47395
47396// SetCreationTime sets the CreationTime field's value.
47397func (s *ExperimentSummary) SetCreationTime(v time.Time) *ExperimentSummary {
47398	s.CreationTime = &v
47399	return s
47400}
47401
47402// SetDisplayName sets the DisplayName field's value.
47403func (s *ExperimentSummary) SetDisplayName(v string) *ExperimentSummary {
47404	s.DisplayName = &v
47405	return s
47406}
47407
47408// SetExperimentArn sets the ExperimentArn field's value.
47409func (s *ExperimentSummary) SetExperimentArn(v string) *ExperimentSummary {
47410	s.ExperimentArn = &v
47411	return s
47412}
47413
47414// SetExperimentName sets the ExperimentName field's value.
47415func (s *ExperimentSummary) SetExperimentName(v string) *ExperimentSummary {
47416	s.ExperimentName = &v
47417	return s
47418}
47419
47420// SetExperimentSource sets the ExperimentSource field's value.
47421func (s *ExperimentSummary) SetExperimentSource(v *ExperimentSource) *ExperimentSummary {
47422	s.ExperimentSource = v
47423	return s
47424}
47425
47426// SetLastModifiedTime sets the LastModifiedTime field's value.
47427func (s *ExperimentSummary) SetLastModifiedTime(v time.Time) *ExperimentSummary {
47428	s.LastModifiedTime = &v
47429	return s
47430}
47431
47432// Contains explainability metrics for a model.
47433type Explainability struct {
47434	_ struct{} `type:"structure"`
47435
47436	// The explainability report for a model.
47437	Report *MetricsSource `type:"structure"`
47438}
47439
47440// String returns the string representation
47441func (s Explainability) String() string {
47442	return awsutil.Prettify(s)
47443}
47444
47445// GoString returns the string representation
47446func (s Explainability) GoString() string {
47447	return s.String()
47448}
47449
47450// Validate inspects the fields of the type to determine if they are valid.
47451func (s *Explainability) Validate() error {
47452	invalidParams := request.ErrInvalidParams{Context: "Explainability"}
47453	if s.Report != nil {
47454		if err := s.Report.Validate(); err != nil {
47455			invalidParams.AddNested("Report", err.(request.ErrInvalidParams))
47456		}
47457	}
47458
47459	if invalidParams.Len() > 0 {
47460		return invalidParams
47461	}
47462	return nil
47463}
47464
47465// SetReport sets the Report field's value.
47466func (s *Explainability) SetReport(v *MetricsSource) *Explainability {
47467	s.Report = v
47468	return s
47469}
47470
47471// A list of features. You must include FeatureName and FeatureType. Valid feature
47472// FeatureTypes are Integral, Fractional and String.
47473type FeatureDefinition struct {
47474	_ struct{} `type:"structure"`
47475
47476	// The name of a feature. The type must be a string. FeatureName cannot be any
47477	// of the following: is_deleted, write_time, api_invocation_time.
47478	FeatureName *string `min:"1" type:"string"`
47479
47480	// The value type of a feature. Valid values are Integral, Fractional, or String.
47481	FeatureType *string `type:"string" enum:"FeatureType"`
47482}
47483
47484// String returns the string representation
47485func (s FeatureDefinition) String() string {
47486	return awsutil.Prettify(s)
47487}
47488
47489// GoString returns the string representation
47490func (s FeatureDefinition) GoString() string {
47491	return s.String()
47492}
47493
47494// Validate inspects the fields of the type to determine if they are valid.
47495func (s *FeatureDefinition) Validate() error {
47496	invalidParams := request.ErrInvalidParams{Context: "FeatureDefinition"}
47497	if s.FeatureName != nil && len(*s.FeatureName) < 1 {
47498		invalidParams.Add(request.NewErrParamMinLen("FeatureName", 1))
47499	}
47500
47501	if invalidParams.Len() > 0 {
47502		return invalidParams
47503	}
47504	return nil
47505}
47506
47507// SetFeatureName sets the FeatureName field's value.
47508func (s *FeatureDefinition) SetFeatureName(v string) *FeatureDefinition {
47509	s.FeatureName = &v
47510	return s
47511}
47512
47513// SetFeatureType sets the FeatureType field's value.
47514func (s *FeatureDefinition) SetFeatureType(v string) *FeatureDefinition {
47515	s.FeatureType = &v
47516	return s
47517}
47518
47519// Amazon SageMaker Feature Store stores features in a collection called Feature
47520// Group. A Feature Group can be visualized as a table which has rows, with
47521// a unique identifier for each row where each column in the table is a feature.
47522// In principle, a Feature Group is composed of features and values per features.
47523type FeatureGroup struct {
47524	_ struct{} `type:"structure"`
47525
47526	// The time a FeatureGroup was created.
47527	CreationTime *time.Time `type:"timestamp"`
47528
47529	// A free form description of a FeatureGroup.
47530	Description *string `type:"string"`
47531
47532	// The name of the feature that stores the EventTime of a Record in a FeatureGroup.
47533	//
47534	// A EventTime is point in time when a new event occurs that corresponds to
47535	// the creation or update of a Record in FeatureGroup. All Records in the FeatureGroup
47536	// must have a corresponding EventTime.
47537	EventTimeFeatureName *string `min:"1" type:"string"`
47538
47539	// The reason that the FeatureGroup failed to be replicated in the OfflineStore.
47540	// This is failure may be due to a failure to create a FeatureGroup in or delete
47541	// a FeatureGroup from the OfflineStore.
47542	FailureReason *string `type:"string"`
47543
47544	// A list of Features. Each Feature must include a FeatureName and a FeatureType.
47545	//
47546	// Valid FeatureTypes are Integral, Fractional and String.
47547	//
47548	// FeatureNames cannot be any of the following: is_deleted, write_time, api_invocation_time.
47549	//
47550	// You can create up to 2,500 FeatureDefinitions per FeatureGroup.
47551	FeatureDefinitions []*FeatureDefinition `min:"1" type:"list"`
47552
47553	// The Amazon Resource Name (ARN) of a FeatureGroup.
47554	FeatureGroupArn *string `type:"string"`
47555
47556	// The name of the FeatureGroup.
47557	FeatureGroupName *string `min:"1" type:"string"`
47558
47559	// A FeatureGroup status.
47560	FeatureGroupStatus *string `type:"string" enum:"FeatureGroupStatus"`
47561
47562	// The configuration of an OfflineStore.
47563	//
47564	// Provide an OfflineStoreConfig in a request to CreateFeatureGroup to create
47565	// an OfflineStore.
47566	//
47567	// To encrypt an OfflineStore using at rest data encryption, specify AWS Key
47568	// Management Service (KMS) key ID, or KMSKeyId, in S3StorageConfig.
47569	OfflineStoreConfig *OfflineStoreConfig `type:"structure"`
47570
47571	// The status of OfflineStore.
47572	OfflineStoreStatus *OfflineStoreStatus `type:"structure"`
47573
47574	// Use this to specify the AWS Key Management Service (KMS) Key ID, or KMSKeyId,
47575	// for at rest data encryption. You can turn OnlineStore on or off by specifying
47576	// the EnableOnlineStore flag at General Assembly; the default value is False.
47577	OnlineStoreConfig *OnlineStoreConfig `type:"structure"`
47578
47579	// The name of the Feature whose value uniquely identifies a Record defined
47580	// in the FeatureGroup FeatureDefinitions.
47581	RecordIdentifierFeatureName *string `min:"1" type:"string"`
47582
47583	// The Amazon Resource Name (ARN) of the IAM execution role used to create the
47584	// feature group.
47585	RoleArn *string `min:"20" type:"string"`
47586
47587	// Tags used to define a FeatureGroup.
47588	Tags []*Tag `type:"list"`
47589}
47590
47591// String returns the string representation
47592func (s FeatureGroup) String() string {
47593	return awsutil.Prettify(s)
47594}
47595
47596// GoString returns the string representation
47597func (s FeatureGroup) GoString() string {
47598	return s.String()
47599}
47600
47601// SetCreationTime sets the CreationTime field's value.
47602func (s *FeatureGroup) SetCreationTime(v time.Time) *FeatureGroup {
47603	s.CreationTime = &v
47604	return s
47605}
47606
47607// SetDescription sets the Description field's value.
47608func (s *FeatureGroup) SetDescription(v string) *FeatureGroup {
47609	s.Description = &v
47610	return s
47611}
47612
47613// SetEventTimeFeatureName sets the EventTimeFeatureName field's value.
47614func (s *FeatureGroup) SetEventTimeFeatureName(v string) *FeatureGroup {
47615	s.EventTimeFeatureName = &v
47616	return s
47617}
47618
47619// SetFailureReason sets the FailureReason field's value.
47620func (s *FeatureGroup) SetFailureReason(v string) *FeatureGroup {
47621	s.FailureReason = &v
47622	return s
47623}
47624
47625// SetFeatureDefinitions sets the FeatureDefinitions field's value.
47626func (s *FeatureGroup) SetFeatureDefinitions(v []*FeatureDefinition) *FeatureGroup {
47627	s.FeatureDefinitions = v
47628	return s
47629}
47630
47631// SetFeatureGroupArn sets the FeatureGroupArn field's value.
47632func (s *FeatureGroup) SetFeatureGroupArn(v string) *FeatureGroup {
47633	s.FeatureGroupArn = &v
47634	return s
47635}
47636
47637// SetFeatureGroupName sets the FeatureGroupName field's value.
47638func (s *FeatureGroup) SetFeatureGroupName(v string) *FeatureGroup {
47639	s.FeatureGroupName = &v
47640	return s
47641}
47642
47643// SetFeatureGroupStatus sets the FeatureGroupStatus field's value.
47644func (s *FeatureGroup) SetFeatureGroupStatus(v string) *FeatureGroup {
47645	s.FeatureGroupStatus = &v
47646	return s
47647}
47648
47649// SetOfflineStoreConfig sets the OfflineStoreConfig field's value.
47650func (s *FeatureGroup) SetOfflineStoreConfig(v *OfflineStoreConfig) *FeatureGroup {
47651	s.OfflineStoreConfig = v
47652	return s
47653}
47654
47655// SetOfflineStoreStatus sets the OfflineStoreStatus field's value.
47656func (s *FeatureGroup) SetOfflineStoreStatus(v *OfflineStoreStatus) *FeatureGroup {
47657	s.OfflineStoreStatus = v
47658	return s
47659}
47660
47661// SetOnlineStoreConfig sets the OnlineStoreConfig field's value.
47662func (s *FeatureGroup) SetOnlineStoreConfig(v *OnlineStoreConfig) *FeatureGroup {
47663	s.OnlineStoreConfig = v
47664	return s
47665}
47666
47667// SetRecordIdentifierFeatureName sets the RecordIdentifierFeatureName field's value.
47668func (s *FeatureGroup) SetRecordIdentifierFeatureName(v string) *FeatureGroup {
47669	s.RecordIdentifierFeatureName = &v
47670	return s
47671}
47672
47673// SetRoleArn sets the RoleArn field's value.
47674func (s *FeatureGroup) SetRoleArn(v string) *FeatureGroup {
47675	s.RoleArn = &v
47676	return s
47677}
47678
47679// SetTags sets the Tags field's value.
47680func (s *FeatureGroup) SetTags(v []*Tag) *FeatureGroup {
47681	s.Tags = v
47682	return s
47683}
47684
47685// The name, Arn, CreationTime, FeatureGroup values, LastUpdatedTime and EnableOnlineStorage
47686// status of a FeatureGroup.
47687type FeatureGroupSummary struct {
47688	_ struct{} `type:"structure"`
47689
47690	// A timestamp indicating the time of creation time of the FeatureGroup.
47691	//
47692	// CreationTime is a required field
47693	CreationTime *time.Time `type:"timestamp" required:"true"`
47694
47695	// Unique identifier for the FeatureGroup.
47696	//
47697	// FeatureGroupArn is a required field
47698	FeatureGroupArn *string `type:"string" required:"true"`
47699
47700	// The name of FeatureGroup.
47701	//
47702	// FeatureGroupName is a required field
47703	FeatureGroupName *string `min:"1" type:"string" required:"true"`
47704
47705	// The status of a FeatureGroup. The status can be any of the following: Creating,
47706	// Created, CreateFail, Deleting or DetailFail.
47707	FeatureGroupStatus *string `type:"string" enum:"FeatureGroupStatus"`
47708
47709	// Notifies you if replicating data into the OfflineStore has failed. Returns
47710	// either: Active or Blocked.
47711	OfflineStoreStatus *OfflineStoreStatus `type:"structure"`
47712}
47713
47714// String returns the string representation
47715func (s FeatureGroupSummary) String() string {
47716	return awsutil.Prettify(s)
47717}
47718
47719// GoString returns the string representation
47720func (s FeatureGroupSummary) GoString() string {
47721	return s.String()
47722}
47723
47724// SetCreationTime sets the CreationTime field's value.
47725func (s *FeatureGroupSummary) SetCreationTime(v time.Time) *FeatureGroupSummary {
47726	s.CreationTime = &v
47727	return s
47728}
47729
47730// SetFeatureGroupArn sets the FeatureGroupArn field's value.
47731func (s *FeatureGroupSummary) SetFeatureGroupArn(v string) *FeatureGroupSummary {
47732	s.FeatureGroupArn = &v
47733	return s
47734}
47735
47736// SetFeatureGroupName sets the FeatureGroupName field's value.
47737func (s *FeatureGroupSummary) SetFeatureGroupName(v string) *FeatureGroupSummary {
47738	s.FeatureGroupName = &v
47739	return s
47740}
47741
47742// SetFeatureGroupStatus sets the FeatureGroupStatus field's value.
47743func (s *FeatureGroupSummary) SetFeatureGroupStatus(v string) *FeatureGroupSummary {
47744	s.FeatureGroupStatus = &v
47745	return s
47746}
47747
47748// SetOfflineStoreStatus sets the OfflineStoreStatus field's value.
47749func (s *FeatureGroupSummary) SetOfflineStoreStatus(v *OfflineStoreStatus) *FeatureGroupSummary {
47750	s.OfflineStoreStatus = v
47751	return s
47752}
47753
47754// The Amazon Elastic File System (EFS) storage configuration for a SageMaker
47755// image.
47756type FileSystemConfig struct {
47757	_ struct{} `type:"structure"`
47758
47759	// The default POSIX group ID (GID). If not specified, defaults to 100.
47760	DefaultGid *int64 `type:"integer"`
47761
47762	// The default POSIX user ID (UID). If not specified, defaults to 1000.
47763	DefaultUid *int64 `type:"integer"`
47764
47765	// The path within the image to mount the user's EFS home directory. The directory
47766	// should be empty. If not specified, defaults to /home/sagemaker-user.
47767	MountPath *string `type:"string"`
47768}
47769
47770// String returns the string representation
47771func (s FileSystemConfig) String() string {
47772	return awsutil.Prettify(s)
47773}
47774
47775// GoString returns the string representation
47776func (s FileSystemConfig) GoString() string {
47777	return s.String()
47778}
47779
47780// SetDefaultGid sets the DefaultGid field's value.
47781func (s *FileSystemConfig) SetDefaultGid(v int64) *FileSystemConfig {
47782	s.DefaultGid = &v
47783	return s
47784}
47785
47786// SetDefaultUid sets the DefaultUid field's value.
47787func (s *FileSystemConfig) SetDefaultUid(v int64) *FileSystemConfig {
47788	s.DefaultUid = &v
47789	return s
47790}
47791
47792// SetMountPath sets the MountPath field's value.
47793func (s *FileSystemConfig) SetMountPath(v string) *FileSystemConfig {
47794	s.MountPath = &v
47795	return s
47796}
47797
47798// Specifies a file system data source for a channel.
47799type FileSystemDataSource struct {
47800	_ struct{} `type:"structure"`
47801
47802	// The full path to the directory to associate with the channel.
47803	//
47804	// DirectoryPath is a required field
47805	DirectoryPath *string `type:"string" required:"true"`
47806
47807	// The access mode of the mount of the directory associated with the channel.
47808	// A directory can be mounted either in ro (read-only) or rw (read-write) mode.
47809	//
47810	// FileSystemAccessMode is a required field
47811	FileSystemAccessMode *string `type:"string" required:"true" enum:"FileSystemAccessMode"`
47812
47813	// The file system id.
47814	//
47815	// FileSystemId is a required field
47816	FileSystemId *string `min:"11" type:"string" required:"true"`
47817
47818	// The file system type.
47819	//
47820	// FileSystemType is a required field
47821	FileSystemType *string `type:"string" required:"true" enum:"FileSystemType"`
47822}
47823
47824// String returns the string representation
47825func (s FileSystemDataSource) String() string {
47826	return awsutil.Prettify(s)
47827}
47828
47829// GoString returns the string representation
47830func (s FileSystemDataSource) GoString() string {
47831	return s.String()
47832}
47833
47834// Validate inspects the fields of the type to determine if they are valid.
47835func (s *FileSystemDataSource) Validate() error {
47836	invalidParams := request.ErrInvalidParams{Context: "FileSystemDataSource"}
47837	if s.DirectoryPath == nil {
47838		invalidParams.Add(request.NewErrParamRequired("DirectoryPath"))
47839	}
47840	if s.FileSystemAccessMode == nil {
47841		invalidParams.Add(request.NewErrParamRequired("FileSystemAccessMode"))
47842	}
47843	if s.FileSystemId == nil {
47844		invalidParams.Add(request.NewErrParamRequired("FileSystemId"))
47845	}
47846	if s.FileSystemId != nil && len(*s.FileSystemId) < 11 {
47847		invalidParams.Add(request.NewErrParamMinLen("FileSystemId", 11))
47848	}
47849	if s.FileSystemType == nil {
47850		invalidParams.Add(request.NewErrParamRequired("FileSystemType"))
47851	}
47852
47853	if invalidParams.Len() > 0 {
47854		return invalidParams
47855	}
47856	return nil
47857}
47858
47859// SetDirectoryPath sets the DirectoryPath field's value.
47860func (s *FileSystemDataSource) SetDirectoryPath(v string) *FileSystemDataSource {
47861	s.DirectoryPath = &v
47862	return s
47863}
47864
47865// SetFileSystemAccessMode sets the FileSystemAccessMode field's value.
47866func (s *FileSystemDataSource) SetFileSystemAccessMode(v string) *FileSystemDataSource {
47867	s.FileSystemAccessMode = &v
47868	return s
47869}
47870
47871// SetFileSystemId sets the FileSystemId field's value.
47872func (s *FileSystemDataSource) SetFileSystemId(v string) *FileSystemDataSource {
47873	s.FileSystemId = &v
47874	return s
47875}
47876
47877// SetFileSystemType sets the FileSystemType field's value.
47878func (s *FileSystemDataSource) SetFileSystemType(v string) *FileSystemDataSource {
47879	s.FileSystemType = &v
47880	return s
47881}
47882
47883// A conditional statement for a search expression that includes a resource
47884// property, a Boolean operator, and a value. Resources that match the statement
47885// are returned in the results from the Search API.
47886//
47887// If you specify a Value, but not an Operator, Amazon SageMaker uses the equals
47888// operator.
47889//
47890// In search, there are several property types:
47891//
47892// Metrics
47893//
47894// To define a metric filter, enter a value using the form "Metrics.<name>",
47895// where <name> is a metric name. For example, the following filter searches
47896// for training jobs with an "accuracy" metric greater than "0.9":
47897//
47898// {
47899//
47900// "Name": "Metrics.accuracy",
47901//
47902// "Operator": "GreaterThan",
47903//
47904// "Value": "0.9"
47905//
47906// }
47907//
47908// HyperParameters
47909//
47910// To define a hyperparameter filter, enter a value with the form "HyperParameters.<name>".
47911// Decimal hyperparameter values are treated as a decimal in a comparison if
47912// the specified Value is also a decimal value. If the specified Value is an
47913// integer, the decimal hyperparameter values are treated as integers. For example,
47914// the following filter is satisfied by training jobs with a "learning_rate"
47915// hyperparameter that is less than "0.5":
47916//
47917// {
47918//
47919// "Name": "HyperParameters.learning_rate",
47920//
47921// "Operator": "LessThan",
47922//
47923// "Value": "0.5"
47924//
47925// }
47926//
47927// Tags
47928//
47929// To define a tag filter, enter a value with the form Tags.<key>.
47930type Filter struct {
47931	_ struct{} `type:"structure"`
47932
47933	// A resource property name. For example, TrainingJobName. For valid property
47934	// names, see SearchRecord. You must specify a valid property for the resource.
47935	//
47936	// Name is a required field
47937	Name *string `min:"1" type:"string" required:"true"`
47938
47939	// A Boolean binary operator that is used to evaluate the filter. The operator
47940	// field contains one of the following values:
47941	//
47942	// Equals
47943	//
47944	// The value of Name equals Value.
47945	//
47946	// NotEquals
47947	//
47948	// The value of Name doesn't equal Value.
47949	//
47950	// Exists
47951	//
47952	// The Name property exists.
47953	//
47954	// NotExists
47955	//
47956	// The Name property does not exist.
47957	//
47958	// GreaterThan
47959	//
47960	// The value of Name is greater than Value. Not supported for text properties.
47961	//
47962	// GreaterThanOrEqualTo
47963	//
47964	// The value of Name is greater than or equal to Value. Not supported for text
47965	// properties.
47966	//
47967	// LessThan
47968	//
47969	// The value of Name is less than Value. Not supported for text properties.
47970	//
47971	// LessThanOrEqualTo
47972	//
47973	// The value of Name is less than or equal to Value. Not supported for text
47974	// properties.
47975	//
47976	// In
47977	//
47978	// The value of Name is one of the comma delimited strings in Value. Only supported
47979	// for text properties.
47980	//
47981	// Contains
47982	//
47983	// The value of Name contains the string Value. Only supported for text properties.
47984	//
47985	// A SearchExpression can include the Contains operator multiple times when
47986	// the value of Name is one of the following:
47987	//
47988	//    * Experiment.DisplayName
47989	//
47990	//    * Experiment.ExperimentName
47991	//
47992	//    * Experiment.Tags
47993	//
47994	//    * Trial.DisplayName
47995	//
47996	//    * Trial.TrialName
47997	//
47998	//    * Trial.Tags
47999	//
48000	//    * TrialComponent.DisplayName
48001	//
48002	//    * TrialComponent.TrialComponentName
48003	//
48004	//    * TrialComponent.Tags
48005	//
48006	//    * TrialComponent.InputArtifacts
48007	//
48008	//    * TrialComponent.OutputArtifacts
48009	//
48010	// A SearchExpression can include only one Contains operator for all other values
48011	// of Name. In these cases, if you include multiple Contains operators in the
48012	// SearchExpression, the result is the following error message: "'CONTAINS'
48013	// operator usage limit of 1 exceeded."
48014	Operator *string `type:"string" enum:"Operator"`
48015
48016	// A value used with Name and Operator to determine which resources satisfy
48017	// the filter's condition. For numerical properties, Value must be an integer
48018	// or floating-point decimal. For timestamp properties, Value must be an ISO
48019	// 8601 date-time string of the following format: YYYY-mm-dd'T'HH:MM:SS.
48020	Value *string `min:"1" type:"string"`
48021}
48022
48023// String returns the string representation
48024func (s Filter) String() string {
48025	return awsutil.Prettify(s)
48026}
48027
48028// GoString returns the string representation
48029func (s Filter) GoString() string {
48030	return s.String()
48031}
48032
48033// Validate inspects the fields of the type to determine if they are valid.
48034func (s *Filter) Validate() error {
48035	invalidParams := request.ErrInvalidParams{Context: "Filter"}
48036	if s.Name == nil {
48037		invalidParams.Add(request.NewErrParamRequired("Name"))
48038	}
48039	if s.Name != nil && len(*s.Name) < 1 {
48040		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
48041	}
48042	if s.Value != nil && len(*s.Value) < 1 {
48043		invalidParams.Add(request.NewErrParamMinLen("Value", 1))
48044	}
48045
48046	if invalidParams.Len() > 0 {
48047		return invalidParams
48048	}
48049	return nil
48050}
48051
48052// SetName sets the Name field's value.
48053func (s *Filter) SetName(v string) *Filter {
48054	s.Name = &v
48055	return s
48056}
48057
48058// SetOperator sets the Operator field's value.
48059func (s *Filter) SetOperator(v string) *Filter {
48060	s.Operator = &v
48061	return s
48062}
48063
48064// SetValue sets the Value field's value.
48065func (s *Filter) SetValue(v string) *Filter {
48066	s.Value = &v
48067	return s
48068}
48069
48070// The best candidate result from an AutoML training job.
48071type FinalAutoMLJobObjectiveMetric struct {
48072	_ struct{} `type:"structure"`
48073
48074	// The name of the metric with the best result. For a description of the possible
48075	// objective metrics, see AutoMLJobObjective$MetricName.
48076	//
48077	// MetricName is a required field
48078	MetricName *string `type:"string" required:"true" enum:"AutoMLMetricEnum"`
48079
48080	// The type of metric with the best result.
48081	Type *string `type:"string" enum:"AutoMLJobObjectiveType"`
48082
48083	// The value of the metric with the best result.
48084	//
48085	// Value is a required field
48086	Value *float64 `type:"float" required:"true"`
48087}
48088
48089// String returns the string representation
48090func (s FinalAutoMLJobObjectiveMetric) String() string {
48091	return awsutil.Prettify(s)
48092}
48093
48094// GoString returns the string representation
48095func (s FinalAutoMLJobObjectiveMetric) GoString() string {
48096	return s.String()
48097}
48098
48099// SetMetricName sets the MetricName field's value.
48100func (s *FinalAutoMLJobObjectiveMetric) SetMetricName(v string) *FinalAutoMLJobObjectiveMetric {
48101	s.MetricName = &v
48102	return s
48103}
48104
48105// SetType sets the Type field's value.
48106func (s *FinalAutoMLJobObjectiveMetric) SetType(v string) *FinalAutoMLJobObjectiveMetric {
48107	s.Type = &v
48108	return s
48109}
48110
48111// SetValue sets the Value field's value.
48112func (s *FinalAutoMLJobObjectiveMetric) SetValue(v float64) *FinalAutoMLJobObjectiveMetric {
48113	s.Value = &v
48114	return s
48115}
48116
48117// Shows the final value for the objective metric for a training job that was
48118// launched by a hyperparameter tuning job. You define the objective metric
48119// in the HyperParameterTuningJobObjective parameter of HyperParameterTuningJobConfig.
48120type FinalHyperParameterTuningJobObjectiveMetric struct {
48121	_ struct{} `type:"structure"`
48122
48123	// The name of the objective metric.
48124	//
48125	// MetricName is a required field
48126	MetricName *string `min:"1" type:"string" required:"true"`
48127
48128	// Whether to minimize or maximize the objective metric. Valid values are Minimize
48129	// and Maximize.
48130	Type *string `type:"string" enum:"HyperParameterTuningJobObjectiveType"`
48131
48132	// The value of the objective metric.
48133	//
48134	// Value is a required field
48135	Value *float64 `type:"float" required:"true"`
48136}
48137
48138// String returns the string representation
48139func (s FinalHyperParameterTuningJobObjectiveMetric) String() string {
48140	return awsutil.Prettify(s)
48141}
48142
48143// GoString returns the string representation
48144func (s FinalHyperParameterTuningJobObjectiveMetric) GoString() string {
48145	return s.String()
48146}
48147
48148// SetMetricName sets the MetricName field's value.
48149func (s *FinalHyperParameterTuningJobObjectiveMetric) SetMetricName(v string) *FinalHyperParameterTuningJobObjectiveMetric {
48150	s.MetricName = &v
48151	return s
48152}
48153
48154// SetType sets the Type field's value.
48155func (s *FinalHyperParameterTuningJobObjectiveMetric) SetType(v string) *FinalHyperParameterTuningJobObjectiveMetric {
48156	s.Type = &v
48157	return s
48158}
48159
48160// SetValue sets the Value field's value.
48161func (s *FinalHyperParameterTuningJobObjectiveMetric) SetValue(v float64) *FinalHyperParameterTuningJobObjectiveMetric {
48162	s.Value = &v
48163	return s
48164}
48165
48166// Contains information about where human output will be stored.
48167type FlowDefinitionOutputConfig struct {
48168	_ struct{} `type:"structure"`
48169
48170	// The Amazon Key Management Service (KMS) key ID for server-side encryption.
48171	KmsKeyId *string `type:"string"`
48172
48173	// The Amazon S3 path where the object containing human output will be made
48174	// available.
48175	//
48176	// To learn more about the format of Amazon A2I output data, see Amazon A2I
48177	// Output Data (https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-output-data.html).
48178	//
48179	// S3OutputPath is a required field
48180	S3OutputPath *string `type:"string" required:"true"`
48181}
48182
48183// String returns the string representation
48184func (s FlowDefinitionOutputConfig) String() string {
48185	return awsutil.Prettify(s)
48186}
48187
48188// GoString returns the string representation
48189func (s FlowDefinitionOutputConfig) GoString() string {
48190	return s.String()
48191}
48192
48193// Validate inspects the fields of the type to determine if they are valid.
48194func (s *FlowDefinitionOutputConfig) Validate() error {
48195	invalidParams := request.ErrInvalidParams{Context: "FlowDefinitionOutputConfig"}
48196	if s.S3OutputPath == nil {
48197		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
48198	}
48199
48200	if invalidParams.Len() > 0 {
48201		return invalidParams
48202	}
48203	return nil
48204}
48205
48206// SetKmsKeyId sets the KmsKeyId field's value.
48207func (s *FlowDefinitionOutputConfig) SetKmsKeyId(v string) *FlowDefinitionOutputConfig {
48208	s.KmsKeyId = &v
48209	return s
48210}
48211
48212// SetS3OutputPath sets the S3OutputPath field's value.
48213func (s *FlowDefinitionOutputConfig) SetS3OutputPath(v string) *FlowDefinitionOutputConfig {
48214	s.S3OutputPath = &v
48215	return s
48216}
48217
48218// Contains summary information about the flow definition.
48219type FlowDefinitionSummary struct {
48220	_ struct{} `type:"structure"`
48221
48222	// The timestamp when SageMaker created the flow definition.
48223	//
48224	// CreationTime is a required field
48225	CreationTime *time.Time `type:"timestamp" required:"true"`
48226
48227	// The reason why the flow definition creation failed. A failure reason is returned
48228	// only when the flow definition status is Failed.
48229	FailureReason *string `type:"string"`
48230
48231	// The Amazon Resource Name (ARN) of the flow definition.
48232	//
48233	// FlowDefinitionArn is a required field
48234	FlowDefinitionArn *string `type:"string" required:"true"`
48235
48236	// The name of the flow definition.
48237	//
48238	// FlowDefinitionName is a required field
48239	FlowDefinitionName *string `min:"1" type:"string" required:"true"`
48240
48241	// The status of the flow definition. Valid values:
48242	//
48243	// FlowDefinitionStatus is a required field
48244	FlowDefinitionStatus *string `type:"string" required:"true" enum:"FlowDefinitionStatus"`
48245}
48246
48247// String returns the string representation
48248func (s FlowDefinitionSummary) String() string {
48249	return awsutil.Prettify(s)
48250}
48251
48252// GoString returns the string representation
48253func (s FlowDefinitionSummary) GoString() string {
48254	return s.String()
48255}
48256
48257// SetCreationTime sets the CreationTime field's value.
48258func (s *FlowDefinitionSummary) SetCreationTime(v time.Time) *FlowDefinitionSummary {
48259	s.CreationTime = &v
48260	return s
48261}
48262
48263// SetFailureReason sets the FailureReason field's value.
48264func (s *FlowDefinitionSummary) SetFailureReason(v string) *FlowDefinitionSummary {
48265	s.FailureReason = &v
48266	return s
48267}
48268
48269// SetFlowDefinitionArn sets the FlowDefinitionArn field's value.
48270func (s *FlowDefinitionSummary) SetFlowDefinitionArn(v string) *FlowDefinitionSummary {
48271	s.FlowDefinitionArn = &v
48272	return s
48273}
48274
48275// SetFlowDefinitionName sets the FlowDefinitionName field's value.
48276func (s *FlowDefinitionSummary) SetFlowDefinitionName(v string) *FlowDefinitionSummary {
48277	s.FlowDefinitionName = &v
48278	return s
48279}
48280
48281// SetFlowDefinitionStatus sets the FlowDefinitionStatus field's value.
48282func (s *FlowDefinitionSummary) SetFlowDefinitionStatus(v string) *FlowDefinitionSummary {
48283	s.FlowDefinitionStatus = &v
48284	return s
48285}
48286
48287type GetDeviceFleetReportInput struct {
48288	_ struct{} `type:"structure"`
48289
48290	// The name of the fleet.
48291	//
48292	// DeviceFleetName is a required field
48293	DeviceFleetName *string `min:"1" type:"string" required:"true"`
48294}
48295
48296// String returns the string representation
48297func (s GetDeviceFleetReportInput) String() string {
48298	return awsutil.Prettify(s)
48299}
48300
48301// GoString returns the string representation
48302func (s GetDeviceFleetReportInput) GoString() string {
48303	return s.String()
48304}
48305
48306// Validate inspects the fields of the type to determine if they are valid.
48307func (s *GetDeviceFleetReportInput) Validate() error {
48308	invalidParams := request.ErrInvalidParams{Context: "GetDeviceFleetReportInput"}
48309	if s.DeviceFleetName == nil {
48310		invalidParams.Add(request.NewErrParamRequired("DeviceFleetName"))
48311	}
48312	if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 {
48313		invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1))
48314	}
48315
48316	if invalidParams.Len() > 0 {
48317		return invalidParams
48318	}
48319	return nil
48320}
48321
48322// SetDeviceFleetName sets the DeviceFleetName field's value.
48323func (s *GetDeviceFleetReportInput) SetDeviceFleetName(v string) *GetDeviceFleetReportInput {
48324	s.DeviceFleetName = &v
48325	return s
48326}
48327
48328type GetDeviceFleetReportOutput struct {
48329	_ struct{} `type:"structure"`
48330
48331	// The versions of Edge Manager agent deployed on the fleet.
48332	AgentVersions []*AgentVersion `type:"list"`
48333
48334	// Description of the fleet.
48335	Description *string `min:"1" type:"string"`
48336
48337	// The Amazon Resource Name (ARN) of the device.
48338	//
48339	// DeviceFleetArn is a required field
48340	DeviceFleetArn *string `type:"string" required:"true"`
48341
48342	// The name of the fleet.
48343	//
48344	// DeviceFleetName is a required field
48345	DeviceFleetName *string `min:"1" type:"string" required:"true"`
48346
48347	// Status of devices.
48348	DeviceStats *DeviceStats `type:"structure"`
48349
48350	// Status of model on device.
48351	ModelStats []*EdgeModelStat `type:"list"`
48352
48353	// The output configuration for storing sample data collected by the fleet.
48354	OutputConfig *EdgeOutputConfig `type:"structure"`
48355
48356	// Timestamp of when the report was generated.
48357	ReportGenerated *time.Time `type:"timestamp"`
48358}
48359
48360// String returns the string representation
48361func (s GetDeviceFleetReportOutput) String() string {
48362	return awsutil.Prettify(s)
48363}
48364
48365// GoString returns the string representation
48366func (s GetDeviceFleetReportOutput) GoString() string {
48367	return s.String()
48368}
48369
48370// SetAgentVersions sets the AgentVersions field's value.
48371func (s *GetDeviceFleetReportOutput) SetAgentVersions(v []*AgentVersion) *GetDeviceFleetReportOutput {
48372	s.AgentVersions = v
48373	return s
48374}
48375
48376// SetDescription sets the Description field's value.
48377func (s *GetDeviceFleetReportOutput) SetDescription(v string) *GetDeviceFleetReportOutput {
48378	s.Description = &v
48379	return s
48380}
48381
48382// SetDeviceFleetArn sets the DeviceFleetArn field's value.
48383func (s *GetDeviceFleetReportOutput) SetDeviceFleetArn(v string) *GetDeviceFleetReportOutput {
48384	s.DeviceFleetArn = &v
48385	return s
48386}
48387
48388// SetDeviceFleetName sets the DeviceFleetName field's value.
48389func (s *GetDeviceFleetReportOutput) SetDeviceFleetName(v string) *GetDeviceFleetReportOutput {
48390	s.DeviceFleetName = &v
48391	return s
48392}
48393
48394// SetDeviceStats sets the DeviceStats field's value.
48395func (s *GetDeviceFleetReportOutput) SetDeviceStats(v *DeviceStats) *GetDeviceFleetReportOutput {
48396	s.DeviceStats = v
48397	return s
48398}
48399
48400// SetModelStats sets the ModelStats field's value.
48401func (s *GetDeviceFleetReportOutput) SetModelStats(v []*EdgeModelStat) *GetDeviceFleetReportOutput {
48402	s.ModelStats = v
48403	return s
48404}
48405
48406// SetOutputConfig sets the OutputConfig field's value.
48407func (s *GetDeviceFleetReportOutput) SetOutputConfig(v *EdgeOutputConfig) *GetDeviceFleetReportOutput {
48408	s.OutputConfig = v
48409	return s
48410}
48411
48412// SetReportGenerated sets the ReportGenerated field's value.
48413func (s *GetDeviceFleetReportOutput) SetReportGenerated(v time.Time) *GetDeviceFleetReportOutput {
48414	s.ReportGenerated = &v
48415	return s
48416}
48417
48418type GetModelPackageGroupPolicyInput struct {
48419	_ struct{} `type:"structure"`
48420
48421	// The name of the model group for which to get the resource policy.
48422	//
48423	// ModelPackageGroupName is a required field
48424	ModelPackageGroupName *string `min:"1" type:"string" required:"true"`
48425}
48426
48427// String returns the string representation
48428func (s GetModelPackageGroupPolicyInput) String() string {
48429	return awsutil.Prettify(s)
48430}
48431
48432// GoString returns the string representation
48433func (s GetModelPackageGroupPolicyInput) GoString() string {
48434	return s.String()
48435}
48436
48437// Validate inspects the fields of the type to determine if they are valid.
48438func (s *GetModelPackageGroupPolicyInput) Validate() error {
48439	invalidParams := request.ErrInvalidParams{Context: "GetModelPackageGroupPolicyInput"}
48440	if s.ModelPackageGroupName == nil {
48441		invalidParams.Add(request.NewErrParamRequired("ModelPackageGroupName"))
48442	}
48443	if s.ModelPackageGroupName != nil && len(*s.ModelPackageGroupName) < 1 {
48444		invalidParams.Add(request.NewErrParamMinLen("ModelPackageGroupName", 1))
48445	}
48446
48447	if invalidParams.Len() > 0 {
48448		return invalidParams
48449	}
48450	return nil
48451}
48452
48453// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
48454func (s *GetModelPackageGroupPolicyInput) SetModelPackageGroupName(v string) *GetModelPackageGroupPolicyInput {
48455	s.ModelPackageGroupName = &v
48456	return s
48457}
48458
48459type GetModelPackageGroupPolicyOutput struct {
48460	_ struct{} `type:"structure"`
48461
48462	// The resource policy for the model group.
48463	//
48464	// ResourcePolicy is a required field
48465	ResourcePolicy *string `min:"1" type:"string" required:"true"`
48466}
48467
48468// String returns the string representation
48469func (s GetModelPackageGroupPolicyOutput) String() string {
48470	return awsutil.Prettify(s)
48471}
48472
48473// GoString returns the string representation
48474func (s GetModelPackageGroupPolicyOutput) GoString() string {
48475	return s.String()
48476}
48477
48478// SetResourcePolicy sets the ResourcePolicy field's value.
48479func (s *GetModelPackageGroupPolicyOutput) SetResourcePolicy(v string) *GetModelPackageGroupPolicyOutput {
48480	s.ResourcePolicy = &v
48481	return s
48482}
48483
48484type GetSagemakerServicecatalogPortfolioStatusInput struct {
48485	_ struct{} `type:"structure"`
48486}
48487
48488// String returns the string representation
48489func (s GetSagemakerServicecatalogPortfolioStatusInput) String() string {
48490	return awsutil.Prettify(s)
48491}
48492
48493// GoString returns the string representation
48494func (s GetSagemakerServicecatalogPortfolioStatusInput) GoString() string {
48495	return s.String()
48496}
48497
48498type GetSagemakerServicecatalogPortfolioStatusOutput struct {
48499	_ struct{} `type:"structure"`
48500
48501	// Whether Service Catalog is enabled or disabled in SageMaker.
48502	Status *string `type:"string" enum:"SagemakerServicecatalogStatus"`
48503}
48504
48505// String returns the string representation
48506func (s GetSagemakerServicecatalogPortfolioStatusOutput) String() string {
48507	return awsutil.Prettify(s)
48508}
48509
48510// GoString returns the string representation
48511func (s GetSagemakerServicecatalogPortfolioStatusOutput) GoString() string {
48512	return s.String()
48513}
48514
48515// SetStatus sets the Status field's value.
48516func (s *GetSagemakerServicecatalogPortfolioStatusOutput) SetStatus(v string) *GetSagemakerServicecatalogPortfolioStatusOutput {
48517	s.Status = &v
48518	return s
48519}
48520
48521type GetSearchSuggestionsInput struct {
48522	_ struct{} `type:"structure"`
48523
48524	// The name of the Amazon SageMaker resource to search for.
48525	//
48526	// Resource is a required field
48527	Resource *string `type:"string" required:"true" enum:"ResourceType"`
48528
48529	// Limits the property names that are included in the response.
48530	SuggestionQuery *SuggestionQuery `type:"structure"`
48531}
48532
48533// String returns the string representation
48534func (s GetSearchSuggestionsInput) String() string {
48535	return awsutil.Prettify(s)
48536}
48537
48538// GoString returns the string representation
48539func (s GetSearchSuggestionsInput) GoString() string {
48540	return s.String()
48541}
48542
48543// Validate inspects the fields of the type to determine if they are valid.
48544func (s *GetSearchSuggestionsInput) Validate() error {
48545	invalidParams := request.ErrInvalidParams{Context: "GetSearchSuggestionsInput"}
48546	if s.Resource == nil {
48547		invalidParams.Add(request.NewErrParamRequired("Resource"))
48548	}
48549	if s.SuggestionQuery != nil {
48550		if err := s.SuggestionQuery.Validate(); err != nil {
48551			invalidParams.AddNested("SuggestionQuery", err.(request.ErrInvalidParams))
48552		}
48553	}
48554
48555	if invalidParams.Len() > 0 {
48556		return invalidParams
48557	}
48558	return nil
48559}
48560
48561// SetResource sets the Resource field's value.
48562func (s *GetSearchSuggestionsInput) SetResource(v string) *GetSearchSuggestionsInput {
48563	s.Resource = &v
48564	return s
48565}
48566
48567// SetSuggestionQuery sets the SuggestionQuery field's value.
48568func (s *GetSearchSuggestionsInput) SetSuggestionQuery(v *SuggestionQuery) *GetSearchSuggestionsInput {
48569	s.SuggestionQuery = v
48570	return s
48571}
48572
48573type GetSearchSuggestionsOutput struct {
48574	_ struct{} `type:"structure"`
48575
48576	// A list of property names for a Resource that match a SuggestionQuery.
48577	PropertyNameSuggestions []*PropertyNameSuggestion `type:"list"`
48578}
48579
48580// String returns the string representation
48581func (s GetSearchSuggestionsOutput) String() string {
48582	return awsutil.Prettify(s)
48583}
48584
48585// GoString returns the string representation
48586func (s GetSearchSuggestionsOutput) GoString() string {
48587	return s.String()
48588}
48589
48590// SetPropertyNameSuggestions sets the PropertyNameSuggestions field's value.
48591func (s *GetSearchSuggestionsOutput) SetPropertyNameSuggestions(v []*PropertyNameSuggestion) *GetSearchSuggestionsOutput {
48592	s.PropertyNameSuggestions = v
48593	return s
48594}
48595
48596// Specifies configuration details for a Git repository in your AWS account.
48597type GitConfig struct {
48598	_ struct{} `type:"structure"`
48599
48600	// The default branch for the Git repository.
48601	Branch *string `min:"1" type:"string"`
48602
48603	// The URL where the Git repository is located.
48604	//
48605	// RepositoryUrl is a required field
48606	RepositoryUrl *string `type:"string" required:"true"`
48607
48608	// The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains
48609	// the credentials used to access the git repository. The secret must have a
48610	// staging label of AWSCURRENT and must be in the following format:
48611	//
48612	// {"username": UserName, "password": Password}
48613	SecretArn *string `min:"1" type:"string"`
48614}
48615
48616// String returns the string representation
48617func (s GitConfig) String() string {
48618	return awsutil.Prettify(s)
48619}
48620
48621// GoString returns the string representation
48622func (s GitConfig) GoString() string {
48623	return s.String()
48624}
48625
48626// Validate inspects the fields of the type to determine if they are valid.
48627func (s *GitConfig) Validate() error {
48628	invalidParams := request.ErrInvalidParams{Context: "GitConfig"}
48629	if s.Branch != nil && len(*s.Branch) < 1 {
48630		invalidParams.Add(request.NewErrParamMinLen("Branch", 1))
48631	}
48632	if s.RepositoryUrl == nil {
48633		invalidParams.Add(request.NewErrParamRequired("RepositoryUrl"))
48634	}
48635	if s.SecretArn != nil && len(*s.SecretArn) < 1 {
48636		invalidParams.Add(request.NewErrParamMinLen("SecretArn", 1))
48637	}
48638
48639	if invalidParams.Len() > 0 {
48640		return invalidParams
48641	}
48642	return nil
48643}
48644
48645// SetBranch sets the Branch field's value.
48646func (s *GitConfig) SetBranch(v string) *GitConfig {
48647	s.Branch = &v
48648	return s
48649}
48650
48651// SetRepositoryUrl sets the RepositoryUrl field's value.
48652func (s *GitConfig) SetRepositoryUrl(v string) *GitConfig {
48653	s.RepositoryUrl = &v
48654	return s
48655}
48656
48657// SetSecretArn sets the SecretArn field's value.
48658func (s *GitConfig) SetSecretArn(v string) *GitConfig {
48659	s.SecretArn = &v
48660	return s
48661}
48662
48663// Specifies configuration details for a Git repository when the repository
48664// is updated.
48665type GitConfigForUpdate struct {
48666	_ struct{} `type:"structure"`
48667
48668	// The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains
48669	// the credentials used to access the git repository. The secret must have a
48670	// staging label of AWSCURRENT and must be in the following format:
48671	//
48672	// {"username": UserName, "password": Password}
48673	SecretArn *string `min:"1" type:"string"`
48674}
48675
48676// String returns the string representation
48677func (s GitConfigForUpdate) String() string {
48678	return awsutil.Prettify(s)
48679}
48680
48681// GoString returns the string representation
48682func (s GitConfigForUpdate) GoString() string {
48683	return s.String()
48684}
48685
48686// Validate inspects the fields of the type to determine if they are valid.
48687func (s *GitConfigForUpdate) Validate() error {
48688	invalidParams := request.ErrInvalidParams{Context: "GitConfigForUpdate"}
48689	if s.SecretArn != nil && len(*s.SecretArn) < 1 {
48690		invalidParams.Add(request.NewErrParamMinLen("SecretArn", 1))
48691	}
48692
48693	if invalidParams.Len() > 0 {
48694		return invalidParams
48695	}
48696	return nil
48697}
48698
48699// SetSecretArn sets the SecretArn field's value.
48700func (s *GitConfigForUpdate) SetSecretArn(v string) *GitConfigForUpdate {
48701	s.SecretArn = &v
48702	return s
48703}
48704
48705// Defines under what conditions SageMaker creates a human loop. Used within
48706// . See for the required format of activation conditions.
48707type HumanLoopActivationConditionsConfig struct {
48708	_ struct{} `type:"structure"`
48709
48710	// JSON expressing use-case specific conditions declaratively. If any condition
48711	// is matched, atomic tasks are created against the configured work team. The
48712	// set of conditions is different for Rekognition and Textract. For more information
48713	// about how to structure the JSON, see JSON Schema for Human Loop Activation
48714	// Conditions in Amazon Augmented AI (https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-human-fallback-conditions-json-schema.html)
48715	// in the Amazon SageMaker Developer Guide.
48716	//
48717	// HumanLoopActivationConditions is a required field
48718	HumanLoopActivationConditions aws.JSONValue `type:"jsonvalue" required:"true"`
48719}
48720
48721// String returns the string representation
48722func (s HumanLoopActivationConditionsConfig) String() string {
48723	return awsutil.Prettify(s)
48724}
48725
48726// GoString returns the string representation
48727func (s HumanLoopActivationConditionsConfig) GoString() string {
48728	return s.String()
48729}
48730
48731// Validate inspects the fields of the type to determine if they are valid.
48732func (s *HumanLoopActivationConditionsConfig) Validate() error {
48733	invalidParams := request.ErrInvalidParams{Context: "HumanLoopActivationConditionsConfig"}
48734	if s.HumanLoopActivationConditions == nil {
48735		invalidParams.Add(request.NewErrParamRequired("HumanLoopActivationConditions"))
48736	}
48737
48738	if invalidParams.Len() > 0 {
48739		return invalidParams
48740	}
48741	return nil
48742}
48743
48744// SetHumanLoopActivationConditions sets the HumanLoopActivationConditions field's value.
48745func (s *HumanLoopActivationConditionsConfig) SetHumanLoopActivationConditions(v aws.JSONValue) *HumanLoopActivationConditionsConfig {
48746	s.HumanLoopActivationConditions = v
48747	return s
48748}
48749
48750// Provides information about how and under what conditions SageMaker creates
48751// a human loop. If HumanLoopActivationConfig is not given, then all requests
48752// go to humans.
48753type HumanLoopActivationConfig struct {
48754	_ struct{} `type:"structure"`
48755
48756	// Container structure for defining under what conditions SageMaker creates
48757	// a human loop.
48758	//
48759	// HumanLoopActivationConditionsConfig is a required field
48760	HumanLoopActivationConditionsConfig *HumanLoopActivationConditionsConfig `type:"structure" required:"true"`
48761}
48762
48763// String returns the string representation
48764func (s HumanLoopActivationConfig) String() string {
48765	return awsutil.Prettify(s)
48766}
48767
48768// GoString returns the string representation
48769func (s HumanLoopActivationConfig) GoString() string {
48770	return s.String()
48771}
48772
48773// Validate inspects the fields of the type to determine if they are valid.
48774func (s *HumanLoopActivationConfig) Validate() error {
48775	invalidParams := request.ErrInvalidParams{Context: "HumanLoopActivationConfig"}
48776	if s.HumanLoopActivationConditionsConfig == nil {
48777		invalidParams.Add(request.NewErrParamRequired("HumanLoopActivationConditionsConfig"))
48778	}
48779	if s.HumanLoopActivationConditionsConfig != nil {
48780		if err := s.HumanLoopActivationConditionsConfig.Validate(); err != nil {
48781			invalidParams.AddNested("HumanLoopActivationConditionsConfig", err.(request.ErrInvalidParams))
48782		}
48783	}
48784
48785	if invalidParams.Len() > 0 {
48786		return invalidParams
48787	}
48788	return nil
48789}
48790
48791// SetHumanLoopActivationConditionsConfig sets the HumanLoopActivationConditionsConfig field's value.
48792func (s *HumanLoopActivationConfig) SetHumanLoopActivationConditionsConfig(v *HumanLoopActivationConditionsConfig) *HumanLoopActivationConfig {
48793	s.HumanLoopActivationConditionsConfig = v
48794	return s
48795}
48796
48797// Describes the work to be performed by human workers.
48798type HumanLoopConfig struct {
48799	_ struct{} `type:"structure"`
48800
48801	// The Amazon Resource Name (ARN) of the human task user interface.
48802	//
48803	// You can use standard HTML and Crowd HTML Elements to create a custom worker
48804	// task template. You use this template to create a human task UI.
48805	//
48806	// To learn how to create a custom HTML template, see Create Custom Worker Task
48807	// Template (https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-custom-templates.html).
48808	//
48809	// To learn how to create a human task UI, which is a worker task template that
48810	// can be used in a flow definition, see Create and Delete a Worker Task Templates
48811	// (https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-worker-template-console.html).
48812	//
48813	// HumanTaskUiArn is a required field
48814	HumanTaskUiArn *string `type:"string" required:"true"`
48815
48816	// Defines the amount of money paid to an Amazon Mechanical Turk worker for
48817	// each task performed.
48818	//
48819	// Use one of the following prices for bounding box tasks. Prices are in US
48820	// dollars and should be based on the complexity of the task; the longer it
48821	// takes in your initial testing, the more you should offer.
48822	//
48823	//    * 0.036
48824	//
48825	//    * 0.048
48826	//
48827	//    * 0.060
48828	//
48829	//    * 0.072
48830	//
48831	//    * 0.120
48832	//
48833	//    * 0.240
48834	//
48835	//    * 0.360
48836	//
48837	//    * 0.480
48838	//
48839	//    * 0.600
48840	//
48841	//    * 0.720
48842	//
48843	//    * 0.840
48844	//
48845	//    * 0.960
48846	//
48847	//    * 1.080
48848	//
48849	//    * 1.200
48850	//
48851	// Use one of the following prices for image classification, text classification,
48852	// and custom tasks. Prices are in US dollars.
48853	//
48854	//    * 0.012
48855	//
48856	//    * 0.024
48857	//
48858	//    * 0.036
48859	//
48860	//    * 0.048
48861	//
48862	//    * 0.060
48863	//
48864	//    * 0.072
48865	//
48866	//    * 0.120
48867	//
48868	//    * 0.240
48869	//
48870	//    * 0.360
48871	//
48872	//    * 0.480
48873	//
48874	//    * 0.600
48875	//
48876	//    * 0.720
48877	//
48878	//    * 0.840
48879	//
48880	//    * 0.960
48881	//
48882	//    * 1.080
48883	//
48884	//    * 1.200
48885	//
48886	// Use one of the following prices for semantic segmentation tasks. Prices are
48887	// in US dollars.
48888	//
48889	//    * 0.840
48890	//
48891	//    * 0.960
48892	//
48893	//    * 1.080
48894	//
48895	//    * 1.200
48896	//
48897	// Use one of the following prices for Textract AnalyzeDocument Important Form
48898	// Key Amazon Augmented AI review tasks. Prices are in US dollars.
48899	//
48900	//    * 2.400
48901	//
48902	//    * 2.280
48903	//
48904	//    * 2.160
48905	//
48906	//    * 2.040
48907	//
48908	//    * 1.920
48909	//
48910	//    * 1.800
48911	//
48912	//    * 1.680
48913	//
48914	//    * 1.560
48915	//
48916	//    * 1.440
48917	//
48918	//    * 1.320
48919	//
48920	//    * 1.200
48921	//
48922	//    * 1.080
48923	//
48924	//    * 0.960
48925	//
48926	//    * 0.840
48927	//
48928	//    * 0.720
48929	//
48930	//    * 0.600
48931	//
48932	//    * 0.480
48933	//
48934	//    * 0.360
48935	//
48936	//    * 0.240
48937	//
48938	//    * 0.120
48939	//
48940	//    * 0.072
48941	//
48942	//    * 0.060
48943	//
48944	//    * 0.048
48945	//
48946	//    * 0.036
48947	//
48948	//    * 0.024
48949	//
48950	//    * 0.012
48951	//
48952	// Use one of the following prices for Rekognition DetectModerationLabels Amazon
48953	// Augmented AI review tasks. Prices are in US dollars.
48954	//
48955	//    * 1.200
48956	//
48957	//    * 1.080
48958	//
48959	//    * 0.960
48960	//
48961	//    * 0.840
48962	//
48963	//    * 0.720
48964	//
48965	//    * 0.600
48966	//
48967	//    * 0.480
48968	//
48969	//    * 0.360
48970	//
48971	//    * 0.240
48972	//
48973	//    * 0.120
48974	//
48975	//    * 0.072
48976	//
48977	//    * 0.060
48978	//
48979	//    * 0.048
48980	//
48981	//    * 0.036
48982	//
48983	//    * 0.024
48984	//
48985	//    * 0.012
48986	//
48987	// Use one of the following prices for Amazon Augmented AI custom human review
48988	// tasks. Prices are in US dollars.
48989	//
48990	//    * 1.200
48991	//
48992	//    * 1.080
48993	//
48994	//    * 0.960
48995	//
48996	//    * 0.840
48997	//
48998	//    * 0.720
48999	//
49000	//    * 0.600
49001	//
49002	//    * 0.480
49003	//
49004	//    * 0.360
49005	//
49006	//    * 0.240
49007	//
49008	//    * 0.120
49009	//
49010	//    * 0.072
49011	//
49012	//    * 0.060
49013	//
49014	//    * 0.048
49015	//
49016	//    * 0.036
49017	//
49018	//    * 0.024
49019	//
49020	//    * 0.012
49021	PublicWorkforceTaskPrice *PublicWorkforceTaskPrice `type:"structure"`
49022
49023	// The length of time that a task remains available for review by human workers.
49024	TaskAvailabilityLifetimeInSeconds *int64 `min:"1" type:"integer"`
49025
49026	// The number of distinct workers who will perform the same task on each object.
49027	// For example, if TaskCount is set to 3 for an image classification labeling
49028	// job, three workers will classify each input image. Increasing TaskCount can
49029	// improve label accuracy.
49030	//
49031	// TaskCount is a required field
49032	TaskCount *int64 `min:"1" type:"integer" required:"true"`
49033
49034	// A description for the human worker task.
49035	//
49036	// TaskDescription is a required field
49037	TaskDescription *string `min:"1" type:"string" required:"true"`
49038
49039	// Keywords used to describe the task so that workers can discover the task.
49040	TaskKeywords []*string `min:"1" type:"list"`
49041
49042	// The amount of time that a worker has to complete a task. The default value
49043	// is 3,600 seconds (1 hour).
49044	TaskTimeLimitInSeconds *int64 `min:"30" type:"integer"`
49045
49046	// A title for the human worker task.
49047	//
49048	// TaskTitle is a required field
49049	TaskTitle *string `min:"1" type:"string" required:"true"`
49050
49051	// Amazon Resource Name (ARN) of a team of workers. To learn more about the
49052	// types of workforces and work teams you can create and use with Amazon A2I,
49053	// see Create and Manage Workforces (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-management.html).
49054	//
49055	// WorkteamArn is a required field
49056	WorkteamArn *string `type:"string" required:"true"`
49057}
49058
49059// String returns the string representation
49060func (s HumanLoopConfig) String() string {
49061	return awsutil.Prettify(s)
49062}
49063
49064// GoString returns the string representation
49065func (s HumanLoopConfig) GoString() string {
49066	return s.String()
49067}
49068
49069// Validate inspects the fields of the type to determine if they are valid.
49070func (s *HumanLoopConfig) Validate() error {
49071	invalidParams := request.ErrInvalidParams{Context: "HumanLoopConfig"}
49072	if s.HumanTaskUiArn == nil {
49073		invalidParams.Add(request.NewErrParamRequired("HumanTaskUiArn"))
49074	}
49075	if s.TaskAvailabilityLifetimeInSeconds != nil && *s.TaskAvailabilityLifetimeInSeconds < 1 {
49076		invalidParams.Add(request.NewErrParamMinValue("TaskAvailabilityLifetimeInSeconds", 1))
49077	}
49078	if s.TaskCount == nil {
49079		invalidParams.Add(request.NewErrParamRequired("TaskCount"))
49080	}
49081	if s.TaskCount != nil && *s.TaskCount < 1 {
49082		invalidParams.Add(request.NewErrParamMinValue("TaskCount", 1))
49083	}
49084	if s.TaskDescription == nil {
49085		invalidParams.Add(request.NewErrParamRequired("TaskDescription"))
49086	}
49087	if s.TaskDescription != nil && len(*s.TaskDescription) < 1 {
49088		invalidParams.Add(request.NewErrParamMinLen("TaskDescription", 1))
49089	}
49090	if s.TaskKeywords != nil && len(s.TaskKeywords) < 1 {
49091		invalidParams.Add(request.NewErrParamMinLen("TaskKeywords", 1))
49092	}
49093	if s.TaskTimeLimitInSeconds != nil && *s.TaskTimeLimitInSeconds < 30 {
49094		invalidParams.Add(request.NewErrParamMinValue("TaskTimeLimitInSeconds", 30))
49095	}
49096	if s.TaskTitle == nil {
49097		invalidParams.Add(request.NewErrParamRequired("TaskTitle"))
49098	}
49099	if s.TaskTitle != nil && len(*s.TaskTitle) < 1 {
49100		invalidParams.Add(request.NewErrParamMinLen("TaskTitle", 1))
49101	}
49102	if s.WorkteamArn == nil {
49103		invalidParams.Add(request.NewErrParamRequired("WorkteamArn"))
49104	}
49105
49106	if invalidParams.Len() > 0 {
49107		return invalidParams
49108	}
49109	return nil
49110}
49111
49112// SetHumanTaskUiArn sets the HumanTaskUiArn field's value.
49113func (s *HumanLoopConfig) SetHumanTaskUiArn(v string) *HumanLoopConfig {
49114	s.HumanTaskUiArn = &v
49115	return s
49116}
49117
49118// SetPublicWorkforceTaskPrice sets the PublicWorkforceTaskPrice field's value.
49119func (s *HumanLoopConfig) SetPublicWorkforceTaskPrice(v *PublicWorkforceTaskPrice) *HumanLoopConfig {
49120	s.PublicWorkforceTaskPrice = v
49121	return s
49122}
49123
49124// SetTaskAvailabilityLifetimeInSeconds sets the TaskAvailabilityLifetimeInSeconds field's value.
49125func (s *HumanLoopConfig) SetTaskAvailabilityLifetimeInSeconds(v int64) *HumanLoopConfig {
49126	s.TaskAvailabilityLifetimeInSeconds = &v
49127	return s
49128}
49129
49130// SetTaskCount sets the TaskCount field's value.
49131func (s *HumanLoopConfig) SetTaskCount(v int64) *HumanLoopConfig {
49132	s.TaskCount = &v
49133	return s
49134}
49135
49136// SetTaskDescription sets the TaskDescription field's value.
49137func (s *HumanLoopConfig) SetTaskDescription(v string) *HumanLoopConfig {
49138	s.TaskDescription = &v
49139	return s
49140}
49141
49142// SetTaskKeywords sets the TaskKeywords field's value.
49143func (s *HumanLoopConfig) SetTaskKeywords(v []*string) *HumanLoopConfig {
49144	s.TaskKeywords = v
49145	return s
49146}
49147
49148// SetTaskTimeLimitInSeconds sets the TaskTimeLimitInSeconds field's value.
49149func (s *HumanLoopConfig) SetTaskTimeLimitInSeconds(v int64) *HumanLoopConfig {
49150	s.TaskTimeLimitInSeconds = &v
49151	return s
49152}
49153
49154// SetTaskTitle sets the TaskTitle field's value.
49155func (s *HumanLoopConfig) SetTaskTitle(v string) *HumanLoopConfig {
49156	s.TaskTitle = &v
49157	return s
49158}
49159
49160// SetWorkteamArn sets the WorkteamArn field's value.
49161func (s *HumanLoopConfig) SetWorkteamArn(v string) *HumanLoopConfig {
49162	s.WorkteamArn = &v
49163	return s
49164}
49165
49166// Container for configuring the source of human task requests.
49167type HumanLoopRequestSource struct {
49168	_ struct{} `type:"structure"`
49169
49170	// Specifies whether Amazon Rekognition or Amazon Textract are used as the integration
49171	// source. The default field settings and JSON parsing rules are different based
49172	// on the integration source. Valid values:
49173	//
49174	// AwsManagedHumanLoopRequestSource is a required field
49175	AwsManagedHumanLoopRequestSource *string `type:"string" required:"true" enum:"AwsManagedHumanLoopRequestSource"`
49176}
49177
49178// String returns the string representation
49179func (s HumanLoopRequestSource) String() string {
49180	return awsutil.Prettify(s)
49181}
49182
49183// GoString returns the string representation
49184func (s HumanLoopRequestSource) GoString() string {
49185	return s.String()
49186}
49187
49188// Validate inspects the fields of the type to determine if they are valid.
49189func (s *HumanLoopRequestSource) Validate() error {
49190	invalidParams := request.ErrInvalidParams{Context: "HumanLoopRequestSource"}
49191	if s.AwsManagedHumanLoopRequestSource == nil {
49192		invalidParams.Add(request.NewErrParamRequired("AwsManagedHumanLoopRequestSource"))
49193	}
49194
49195	if invalidParams.Len() > 0 {
49196		return invalidParams
49197	}
49198	return nil
49199}
49200
49201// SetAwsManagedHumanLoopRequestSource sets the AwsManagedHumanLoopRequestSource field's value.
49202func (s *HumanLoopRequestSource) SetAwsManagedHumanLoopRequestSource(v string) *HumanLoopRequestSource {
49203	s.AwsManagedHumanLoopRequestSource = &v
49204	return s
49205}
49206
49207// Information required for human workers to complete a labeling task.
49208type HumanTaskConfig struct {
49209	_ struct{} `type:"structure"`
49210
49211	// Configures how labels are consolidated across human workers.
49212	//
49213	// AnnotationConsolidationConfig is a required field
49214	AnnotationConsolidationConfig *AnnotationConsolidationConfig `type:"structure" required:"true"`
49215
49216	// Defines the maximum number of data objects that can be labeled by human workers
49217	// at the same time. Also referred to as batch size. Each object may have more
49218	// than one worker at one time. The default value is 1000 objects.
49219	MaxConcurrentTaskCount *int64 `min:"1" type:"integer"`
49220
49221	// The number of human workers that will label an object.
49222	//
49223	// NumberOfHumanWorkersPerDataObject is a required field
49224	NumberOfHumanWorkersPerDataObject *int64 `min:"1" type:"integer" required:"true"`
49225
49226	// The Amazon Resource Name (ARN) of a Lambda function that is run before a
49227	// data object is sent to a human worker. Use this function to provide input
49228	// to a custom labeling job.
49229	//
49230	// For built-in task types (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-task-types.html),
49231	// use one of the following Amazon SageMaker Ground Truth Lambda function ARNs
49232	// for PreHumanTaskLambdaArn. For custom labeling workflows, see Pre-annotation
49233	// Lambda (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-custom-templates-step3.html#sms-custom-templates-step3-prelambda).
49234	//
49235	// Bounding box - Finds the most similar boxes from different workers based
49236	// on the Jaccard index of the boxes.
49237	//
49238	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-BoundingBox
49239	//
49240	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-BoundingBox
49241	//
49242	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-BoundingBox
49243	//
49244	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-BoundingBox
49245	//
49246	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-BoundingBox
49247	//
49248	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-BoundingBox
49249	//
49250	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-BoundingBox
49251	//
49252	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-BoundingBox
49253	//
49254	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-BoundingBox
49255	//
49256	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-BoundingBox
49257	//
49258	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-BoundingBox
49259	//
49260	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-BoundingBox
49261	//
49262	// Image classification - Uses a variant of the Expectation Maximization approach
49263	// to estimate the true class of an image based on annotations from individual
49264	// workers.
49265	//
49266	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-ImageMultiClass
49267	//
49268	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-ImageMultiClass
49269	//
49270	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-ImageMultiClass
49271	//
49272	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-ImageMultiClass
49273	//
49274	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-ImageMultiClass
49275	//
49276	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-ImageMultiClass
49277	//
49278	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-ImageMultiClass
49279	//
49280	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-ImageMultiClass
49281	//
49282	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-ImageMultiClass
49283	//
49284	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-ImageMultiClass
49285	//
49286	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-ImageMultiClass
49287	//
49288	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-ImageMultiClass
49289	//
49290	// Multi-label image classification - Uses a variant of the Expectation Maximization
49291	// approach to estimate the true classes of an image based on annotations from
49292	// individual workers.
49293	//
49294	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-ImageMultiClassMultiLabel
49295	//
49296	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-ImageMultiClassMultiLabel
49297	//
49298	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-ImageMultiClassMultiLabel
49299	//
49300	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-ImageMultiClassMultiLabel
49301	//
49302	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-ImageMultiClassMultiLabel
49303	//
49304	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-ImageMultiClassMultiLabel
49305	//
49306	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-ImageMultiClassMultiLabel
49307	//
49308	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-ImageMultiClassMultiLabel
49309	//
49310	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-ImageMultiClassMultiLabel
49311	//
49312	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-ImageMultiClassMultiLabel
49313	//
49314	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-ImageMultiClassMultiLabel
49315	//
49316	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-ImageMultiClassMultiLabel
49317	//
49318	// Semantic segmentation - Treats each pixel in an image as a multi-class classification
49319	// and treats pixel annotations from workers as "votes" for the correct label.
49320	//
49321	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-SemanticSegmentation
49322	//
49323	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-SemanticSegmentation
49324	//
49325	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-SemanticSegmentation
49326	//
49327	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-SemanticSegmentation
49328	//
49329	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-SemanticSegmentation
49330	//
49331	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-SemanticSegmentation
49332	//
49333	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-SemanticSegmentation
49334	//
49335	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-SemanticSegmentation
49336	//
49337	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-SemanticSegmentation
49338	//
49339	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-SemanticSegmentation
49340	//
49341	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-SemanticSegmentation
49342	//
49343	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-SemanticSegmentation
49344	//
49345	// Text classification - Uses a variant of the Expectation Maximization approach
49346	// to estimate the true class of text based on annotations from individual workers.
49347	//
49348	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-TextMultiClass
49349	//
49350	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-TextMultiClass
49351	//
49352	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-TextMultiClass
49353	//
49354	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-TextMultiClass
49355	//
49356	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-TextMultiClass
49357	//
49358	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-TextMultiClass
49359	//
49360	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-TextMultiClass
49361	//
49362	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-TextMultiClass
49363	//
49364	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-TextMultiClass
49365	//
49366	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-TextMultiClass
49367	//
49368	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-TextMultiClass
49369	//
49370	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-TextMultiClass
49371	//
49372	// Multi-label text classification - Uses a variant of the Expectation Maximization
49373	// approach to estimate the true classes of text based on annotations from individual
49374	// workers.
49375	//
49376	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-TextMultiClassMultiLabel
49377	//
49378	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-TextMultiClassMultiLabel
49379	//
49380	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-TextMultiClassMultiLabel
49381	//
49382	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-TextMultiClassMultiLabel
49383	//
49384	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-TextMultiClassMultiLabel
49385	//
49386	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-TextMultiClassMultiLabel
49387	//
49388	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-TextMultiClassMultiLabel
49389	//
49390	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-TextMultiClassMultiLabel
49391	//
49392	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-TextMultiClassMultiLabel
49393	//
49394	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-TextMultiClassMultiLabel
49395	//
49396	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-TextMultiClassMultiLabel
49397	//
49398	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-TextMultiClassMultiLabel
49399	//
49400	// Named entity recognition - Groups similar selections and calculates aggregate
49401	// boundaries, resolving to most-assigned label.
49402	//
49403	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-NamedEntityRecognition
49404	//
49405	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-NamedEntityRecognition
49406	//
49407	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-NamedEntityRecognition
49408	//
49409	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-NamedEntityRecognition
49410	//
49411	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-NamedEntityRecognition
49412	//
49413	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-NamedEntityRecognition
49414	//
49415	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-NamedEntityRecognition
49416	//
49417	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-NamedEntityRecognition
49418	//
49419	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-NamedEntityRecognition
49420	//
49421	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-NamedEntityRecognition
49422	//
49423	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-NamedEntityRecognition
49424	//
49425	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-NamedEntityRecognition
49426	//
49427	// Video Classification - Use this task type when you need workers to classify
49428	// videos using predefined labels that you specify. Workers are shown videos
49429	// and are asked to choose one label for each video.
49430	//
49431	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-VideoMultiClass
49432	//
49433	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-VideoMultiClass
49434	//
49435	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-VideoMultiClass
49436	//
49437	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-VideoMultiClass
49438	//
49439	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-VideoMultiClass
49440	//
49441	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-VideoMultiClass
49442	//
49443	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-VideoMultiClass
49444	//
49445	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-VideoMultiClass
49446	//
49447	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-VideoMultiClass
49448	//
49449	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-VideoMultiClass
49450	//
49451	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-VideoMultiClass
49452	//
49453	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-VideoMultiClass
49454	//
49455	// Video Frame Object Detection - Use this task type to have workers identify
49456	// and locate objects in a sequence of video frames (images extracted from a
49457	// video) using bounding boxes. For example, you can use this task to ask workers
49458	// to identify and localize various objects in a series of video frames, such
49459	// as cars, bikes, and pedestrians.
49460	//
49461	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-VideoObjectDetection
49462	//
49463	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-VideoObjectDetection
49464	//
49465	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-VideoObjectDetection
49466	//
49467	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-VideoObjectDetection
49468	//
49469	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-VideoObjectDetection
49470	//
49471	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-VideoObjectDetection
49472	//
49473	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-VideoObjectDetection
49474	//
49475	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-VideoObjectDetection
49476	//
49477	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-VideoObjectDetection
49478	//
49479	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-VideoObjectDetection
49480	//
49481	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-VideoObjectDetection
49482	//
49483	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-VideoObjectDetection
49484	//
49485	// Video Frame Object Tracking - Use this task type to have workers track the
49486	// movement of objects in a sequence of video frames (images extracted from
49487	// a video) using bounding boxes. For example, you can use this task to ask
49488	// workers to track the movement of objects, such as cars, bikes, and pedestrians.
49489	//
49490	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-VideoObjectTracking
49491	//
49492	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-VideoObjectTracking
49493	//
49494	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-VideoObjectTracking
49495	//
49496	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-VideoObjectTracking
49497	//
49498	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-VideoObjectTracking
49499	//
49500	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-VideoObjectTracking
49501	//
49502	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-VideoObjectTracking
49503	//
49504	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-VideoObjectTracking
49505	//
49506	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-VideoObjectTracking
49507	//
49508	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-VideoObjectTracking
49509	//
49510	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-VideoObjectTracking
49511	//
49512	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-VideoObjectTracking
49513	//
49514	// 3D Point Cloud Modalities
49515	//
49516	// Use the following pre-annotation lambdas for 3D point cloud labeling modality
49517	// tasks. See 3D Point Cloud Task types (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-point-cloud-task-types.html)
49518	// to learn more.
49519	//
49520	// 3D Point Cloud Object Detection - Use this task type when you want workers
49521	// to classify objects in a 3D point cloud by drawing 3D cuboids around objects.
49522	// For example, you can use this task type to ask workers to identify different
49523	// types of objects in a point cloud, such as cars, bikes, and pedestrians.
49524	//
49525	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-3DPointCloudObjectDetection
49526	//
49527	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-3DPointCloudObjectDetection
49528	//
49529	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-3DPointCloudObjectDetection
49530	//
49531	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-3DPointCloudObjectDetection
49532	//
49533	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-3DPointCloudObjectDetection
49534	//
49535	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-3DPointCloudObjectDetection
49536	//
49537	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-3DPointCloudObjectDetection
49538	//
49539	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-3DPointCloudObjectDetection
49540	//
49541	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-3DPointCloudObjectDetection
49542	//
49543	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-3DPointCloudObjectDetection
49544	//
49545	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-3DPointCloudObjectDetection
49546	//
49547	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-3DPointCloudObjectDetection
49548	//
49549	// 3D Point Cloud Object Tracking - Use this task type when you want workers
49550	// to draw 3D cuboids around objects that appear in a sequence of 3D point cloud
49551	// frames. For example, you can use this task type to ask workers to track the
49552	// movement of vehicles across multiple point cloud frames.
49553	//
49554	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-3DPointCloudObjectTracking
49555	//
49556	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-3DPointCloudObjectTracking
49557	//
49558	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-3DPointCloudObjectTracking
49559	//
49560	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-3DPointCloudObjectTracking
49561	//
49562	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-3DPointCloudObjectTracking
49563	//
49564	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-3DPointCloudObjectTracking
49565	//
49566	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-3DPointCloudObjectTracking
49567	//
49568	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-3DPointCloudObjectTracking
49569	//
49570	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-3DPointCloudObjectTracking
49571	//
49572	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-3DPointCloudObjectTracking
49573	//
49574	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-3DPointCloudObjectTracking
49575	//
49576	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-3DPointCloudObjectTracking
49577	//
49578	// 3D Point Cloud Semantic Segmentation - Use this task type when you want workers
49579	// to create a point-level semantic segmentation masks by painting objects in
49580	// a 3D point cloud using different colors where each color is assigned to one
49581	// of the classes you specify.
49582	//
49583	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-3DPointCloudSemanticSegmentation
49584	//
49585	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-3DPointCloudSemanticSegmentation
49586	//
49587	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-3DPointCloudSemanticSegmentation
49588	//
49589	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-3DPointCloudSemanticSegmentation
49590	//
49591	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-3DPointCloudSemanticSegmentation
49592	//
49593	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-3DPointCloudSemanticSegmentation
49594	//
49595	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-3DPointCloudSemanticSegmentation
49596	//
49597	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-3DPointCloudSemanticSegmentation
49598	//
49599	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-3DPointCloudSemanticSegmentation
49600	//
49601	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-3DPointCloudSemanticSegmentation
49602	//
49603	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-3DPointCloudSemanticSegmentation
49604	//
49605	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-3DPointCloudSemanticSegmentation
49606	//
49607	// Use the following ARNs for Label Verification and Adjustment Jobs
49608	//
49609	// Use label verification and adjustment jobs to review and adjust labels. To
49610	// learn more, see Verify and Adjust Labels (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-verification-data.html).
49611	//
49612	// Bounding box verification - Uses a variant of the Expectation Maximization
49613	// approach to estimate the true class of verification judgement for bounding
49614	// box labels based on annotations from individual workers.
49615	//
49616	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-VerificationBoundingBox
49617	//
49618	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-VerificationBoundingBox
49619	//
49620	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-VerificationBoundingBox
49621	//
49622	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-VerificationBoundingBox
49623	//
49624	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-VerificationBoundingBox
49625	//
49626	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-VerificationBoundingBox
49627	//
49628	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-VerificationBoundingBox
49629	//
49630	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-VerificationBoundingBox
49631	//
49632	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-VerificationBoundingBox
49633	//
49634	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-VerificationBoundingBox
49635	//
49636	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-VerificationBoundingBox
49637	//
49638	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-VerificationBoundingBox
49639	//
49640	// Bounding box adjustment - Finds the most similar boxes from different workers
49641	// based on the Jaccard index of the adjusted annotations.
49642	//
49643	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-AdjustmentBoundingBox
49644	//
49645	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-AdjustmentBoundingBox
49646	//
49647	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-AdjustmentBoundingBox
49648	//
49649	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-AdjustmentBoundingBox
49650	//
49651	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-AdjustmentBoundingBox
49652	//
49653	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-AdjustmentBoundingBox
49654	//
49655	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-AdjustmentBoundingBox
49656	//
49657	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-AdjustmentBoundingBox
49658	//
49659	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-AdjustmentBoundingBox
49660	//
49661	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-AdjustmentBoundingBox
49662	//
49663	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-AdjustmentBoundingBox
49664	//
49665	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-AdjustmentBoundingBox
49666	//
49667	// Semantic segmentation verification - Uses a variant of the Expectation Maximization
49668	// approach to estimate the true class of verification judgment for semantic
49669	// segmentation labels based on annotations from individual workers.
49670	//
49671	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-VerificationSemanticSegmentation
49672	//
49673	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-VerificationSemanticSegmentation
49674	//
49675	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-VerificationSemanticSegmentation
49676	//
49677	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-VerificationSemanticSegmentation
49678	//
49679	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-VerificationSemanticSegmentation
49680	//
49681	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-VerificationSemanticSegmentation
49682	//
49683	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-VerificationSemanticSegmentation
49684	//
49685	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-VerificationSemanticSegmentation
49686	//
49687	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-VerificationSemanticSegmentation
49688	//
49689	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-VerificationSemanticSegmentation
49690	//
49691	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-VerificationSemanticSegmentation
49692	//
49693	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-VerificationSemanticSegmentation
49694	//
49695	// Semantic segmentation adjustment - Treats each pixel in an image as a multi-class
49696	// classification and treats pixel adjusted annotations from workers as "votes"
49697	// for the correct label.
49698	//
49699	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-AdjustmentSemanticSegmentation
49700	//
49701	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-AdjustmentSemanticSegmentation
49702	//
49703	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-AdjustmentSemanticSegmentation
49704	//
49705	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-AdjustmentSemanticSegmentation
49706	//
49707	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-AdjustmentSemanticSegmentation
49708	//
49709	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-AdjustmentSemanticSegmentation
49710	//
49711	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-AdjustmentSemanticSegmentation
49712	//
49713	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-AdjustmentSemanticSegmentation
49714	//
49715	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-AdjustmentSemanticSegmentation
49716	//
49717	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-AdjustmentSemanticSegmentation
49718	//
49719	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-AdjustmentSemanticSegmentation
49720	//
49721	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-AdjustmentSemanticSegmentation
49722	//
49723	// Video Frame Object Detection Adjustment - Use this task type when you want
49724	// workers to adjust bounding boxes that workers have added to video frames
49725	// to classify and localize objects in a sequence of video frames.
49726	//
49727	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-AdjustmentVideoObjectDetection
49728	//
49729	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-AdjustmentVideoObjectDetection
49730	//
49731	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-AdjustmentVideoObjectDetection
49732	//
49733	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-AdjustmentVideoObjectDetection
49734	//
49735	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-AdjustmentVideoObjectDetection
49736	//
49737	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-AdjustmentVideoObjectDetection
49738	//
49739	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-AdjustmentVideoObjectDetection
49740	//
49741	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-AdjustmentVideoObjectDetection
49742	//
49743	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-AdjustmentVideoObjectDetection
49744	//
49745	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-AdjustmentVideoObjectDetection
49746	//
49747	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-AdjustmentVideoObjectDetection
49748	//
49749	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-AdjustmentVideoObjectDetection
49750	//
49751	// Video Frame Object Tracking Adjustment - Use this task type when you want
49752	// workers to adjust bounding boxes that workers have added to video frames
49753	// to track object movement across a sequence of video frames.
49754	//
49755	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-AdjustmentVideoObjectTracking
49756	//
49757	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-AdjustmentVideoObjectTracking
49758	//
49759	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-AdjustmentVideoObjectTracking
49760	//
49761	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-AdjustmentVideoObjectTracking
49762	//
49763	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-AdjustmentVideoObjectTracking
49764	//
49765	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-AdjustmentVideoObjectTracking
49766	//
49767	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-AdjustmentVideoObjectTracking
49768	//
49769	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-AdjustmentVideoObjectTracking
49770	//
49771	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-AdjustmentVideoObjectTracking
49772	//
49773	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-AdjustmentVideoObjectTracking
49774	//
49775	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-AdjustmentVideoObjectTracking
49776	//
49777	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-AdjustmentVideoObjectTracking
49778	//
49779	// 3D point cloud object detection adjustment - Adjust 3D cuboids in a point
49780	// cloud frame.
49781	//
49782	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-Adjustment3DPointCloudObjectDetection
49783	//
49784	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-Adjustment3DPointCloudObjectDetection
49785	//
49786	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-Adjustment3DPointCloudObjectDetection
49787	//
49788	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-Adjustment3DPointCloudObjectDetection
49789	//
49790	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-Adjustment3DPointCloudObjectDetection
49791	//
49792	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-Adjustment3DPointCloudObjectDetection
49793	//
49794	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-Adjustment3DPointCloudObjectDetection
49795	//
49796	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-Adjustment3DPointCloudObjectDetection
49797	//
49798	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-Adjustment3DPointCloudObjectDetection
49799	//
49800	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-Adjustment3DPointCloudObjectDetection
49801	//
49802	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-Adjustment3DPointCloudObjectDetection
49803	//
49804	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-Adjustment3DPointCloudObjectDetection
49805	//
49806	// 3D point cloud object tracking adjustment - Adjust 3D cuboids across a sequence
49807	// of point cloud frames.
49808	//
49809	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-Adjustment3DPointCloudObjectTracking
49810	//
49811	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-Adjustment3DPointCloudObjectTracking
49812	//
49813	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-Adjustment3DPointCloudObjectTracking
49814	//
49815	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-Adjustment3DPointCloudObjectTracking
49816	//
49817	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-Adjustment3DPointCloudObjectTracking
49818	//
49819	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-Adjustment3DPointCloudObjectTracking
49820	//
49821	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-Adjustment3DPointCloudObjectTracking
49822	//
49823	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-Adjustment3DPointCloudObjectTracking
49824	//
49825	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-Adjustment3DPointCloudObjectTracking
49826	//
49827	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-Adjustment3DPointCloudObjectTracking
49828	//
49829	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-Adjustment3DPointCloudObjectTracking
49830	//
49831	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-Adjustment3DPointCloudObjectTracking
49832	//
49833	// 3D point cloud semantic segmentation adjustment - Adjust semantic segmentation
49834	// masks in a 3D point cloud.
49835	//
49836	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-Adjustment3DPointCloudSemanticSegmentation
49837	//
49838	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-Adjustment3DPointCloudSemanticSegmentation
49839	//
49840	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-Adjustment3DPointCloudSemanticSegmentation
49841	//
49842	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-Adjustment3DPointCloudSemanticSegmentation
49843	//
49844	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-Adjustment3DPointCloudSemanticSegmentation
49845	//
49846	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-Adjustment3DPointCloudSemanticSegmentation
49847	//
49848	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-Adjustment3DPointCloudSemanticSegmentation
49849	//
49850	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-Adjustment3DPointCloudSemanticSegmentation
49851	//
49852	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-Adjustment3DPointCloudSemanticSegmentation
49853	//
49854	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-Adjustment3DPointCloudSemanticSegmentation
49855	//
49856	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-Adjustment3DPointCloudSemanticSegmentation
49857	//
49858	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-Adjustment3DPointCloudSemanticSegmentation
49859	//
49860	// PreHumanTaskLambdaArn is a required field
49861	PreHumanTaskLambdaArn *string `type:"string" required:"true"`
49862
49863	// The price that you pay for each task performed by an Amazon Mechanical Turk
49864	// worker.
49865	PublicWorkforceTaskPrice *PublicWorkforceTaskPrice `type:"structure"`
49866
49867	// The length of time that a task remains available for labeling by human workers.
49868	// The default and maximum values for this parameter depend on the type of workforce
49869	// you use.
49870	//
49871	//    * If you choose the Amazon Mechanical Turk workforce, the maximum is 12
49872	//    hours (43,200 seconds). The default is 6 hours (21,600 seconds).
49873	//
49874	//    * If you choose a private or vendor workforce, the default value is 10
49875	//    days (864,000 seconds). For most users, the maximum is also 10 days. If
49876	//    you want to change this limit, contact AWS Support.
49877	TaskAvailabilityLifetimeInSeconds *int64 `min:"60" type:"integer"`
49878
49879	// A description of the task for your human workers.
49880	//
49881	// TaskDescription is a required field
49882	TaskDescription *string `min:"1" type:"string" required:"true"`
49883
49884	// Keywords used to describe the task so that workers on Amazon Mechanical Turk
49885	// can discover the task.
49886	TaskKeywords []*string `min:"1" type:"list"`
49887
49888	// The amount of time that a worker has to complete a task.
49889	//
49890	// If you create a custom labeling job, the maximum value for this parameter
49891	// is 8 hours (28,800 seconds).
49892	//
49893	// If you create a labeling job using a built-in task type (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-task-types.html)
49894	// the maximum for this parameter depends on the task type you use:
49895	//
49896	//    * For image (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-label-images.html)
49897	//    and text (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-label-text.html)
49898	//    labeling jobs, the maximum is 8 hours (28,800 seconds).
49899	//
49900	//    * For 3D point cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-point-cloud.html)
49901	//    and video frame (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-video.html)
49902	//    labeling jobs, the maximum is 7 days (604,800 seconds). If you want to
49903	//    change these limits, contact AWS Support.
49904	//
49905	// TaskTimeLimitInSeconds is a required field
49906	TaskTimeLimitInSeconds *int64 `min:"30" type:"integer" required:"true"`
49907
49908	// A title for the task for your human workers.
49909	//
49910	// TaskTitle is a required field
49911	TaskTitle *string `min:"1" type:"string" required:"true"`
49912
49913	// Information about the user interface that workers use to complete the labeling
49914	// task.
49915	//
49916	// UiConfig is a required field
49917	UiConfig *UiConfig `type:"structure" required:"true"`
49918
49919	// The Amazon Resource Name (ARN) of the work team assigned to complete the
49920	// tasks.
49921	//
49922	// WorkteamArn is a required field
49923	WorkteamArn *string `type:"string" required:"true"`
49924}
49925
49926// String returns the string representation
49927func (s HumanTaskConfig) String() string {
49928	return awsutil.Prettify(s)
49929}
49930
49931// GoString returns the string representation
49932func (s HumanTaskConfig) GoString() string {
49933	return s.String()
49934}
49935
49936// Validate inspects the fields of the type to determine if they are valid.
49937func (s *HumanTaskConfig) Validate() error {
49938	invalidParams := request.ErrInvalidParams{Context: "HumanTaskConfig"}
49939	if s.AnnotationConsolidationConfig == nil {
49940		invalidParams.Add(request.NewErrParamRequired("AnnotationConsolidationConfig"))
49941	}
49942	if s.MaxConcurrentTaskCount != nil && *s.MaxConcurrentTaskCount < 1 {
49943		invalidParams.Add(request.NewErrParamMinValue("MaxConcurrentTaskCount", 1))
49944	}
49945	if s.NumberOfHumanWorkersPerDataObject == nil {
49946		invalidParams.Add(request.NewErrParamRequired("NumberOfHumanWorkersPerDataObject"))
49947	}
49948	if s.NumberOfHumanWorkersPerDataObject != nil && *s.NumberOfHumanWorkersPerDataObject < 1 {
49949		invalidParams.Add(request.NewErrParamMinValue("NumberOfHumanWorkersPerDataObject", 1))
49950	}
49951	if s.PreHumanTaskLambdaArn == nil {
49952		invalidParams.Add(request.NewErrParamRequired("PreHumanTaskLambdaArn"))
49953	}
49954	if s.TaskAvailabilityLifetimeInSeconds != nil && *s.TaskAvailabilityLifetimeInSeconds < 60 {
49955		invalidParams.Add(request.NewErrParamMinValue("TaskAvailabilityLifetimeInSeconds", 60))
49956	}
49957	if s.TaskDescription == nil {
49958		invalidParams.Add(request.NewErrParamRequired("TaskDescription"))
49959	}
49960	if s.TaskDescription != nil && len(*s.TaskDescription) < 1 {
49961		invalidParams.Add(request.NewErrParamMinLen("TaskDescription", 1))
49962	}
49963	if s.TaskKeywords != nil && len(s.TaskKeywords) < 1 {
49964		invalidParams.Add(request.NewErrParamMinLen("TaskKeywords", 1))
49965	}
49966	if s.TaskTimeLimitInSeconds == nil {
49967		invalidParams.Add(request.NewErrParamRequired("TaskTimeLimitInSeconds"))
49968	}
49969	if s.TaskTimeLimitInSeconds != nil && *s.TaskTimeLimitInSeconds < 30 {
49970		invalidParams.Add(request.NewErrParamMinValue("TaskTimeLimitInSeconds", 30))
49971	}
49972	if s.TaskTitle == nil {
49973		invalidParams.Add(request.NewErrParamRequired("TaskTitle"))
49974	}
49975	if s.TaskTitle != nil && len(*s.TaskTitle) < 1 {
49976		invalidParams.Add(request.NewErrParamMinLen("TaskTitle", 1))
49977	}
49978	if s.UiConfig == nil {
49979		invalidParams.Add(request.NewErrParamRequired("UiConfig"))
49980	}
49981	if s.WorkteamArn == nil {
49982		invalidParams.Add(request.NewErrParamRequired("WorkteamArn"))
49983	}
49984	if s.AnnotationConsolidationConfig != nil {
49985		if err := s.AnnotationConsolidationConfig.Validate(); err != nil {
49986			invalidParams.AddNested("AnnotationConsolidationConfig", err.(request.ErrInvalidParams))
49987		}
49988	}
49989
49990	if invalidParams.Len() > 0 {
49991		return invalidParams
49992	}
49993	return nil
49994}
49995
49996// SetAnnotationConsolidationConfig sets the AnnotationConsolidationConfig field's value.
49997func (s *HumanTaskConfig) SetAnnotationConsolidationConfig(v *AnnotationConsolidationConfig) *HumanTaskConfig {
49998	s.AnnotationConsolidationConfig = v
49999	return s
50000}
50001
50002// SetMaxConcurrentTaskCount sets the MaxConcurrentTaskCount field's value.
50003func (s *HumanTaskConfig) SetMaxConcurrentTaskCount(v int64) *HumanTaskConfig {
50004	s.MaxConcurrentTaskCount = &v
50005	return s
50006}
50007
50008// SetNumberOfHumanWorkersPerDataObject sets the NumberOfHumanWorkersPerDataObject field's value.
50009func (s *HumanTaskConfig) SetNumberOfHumanWorkersPerDataObject(v int64) *HumanTaskConfig {
50010	s.NumberOfHumanWorkersPerDataObject = &v
50011	return s
50012}
50013
50014// SetPreHumanTaskLambdaArn sets the PreHumanTaskLambdaArn field's value.
50015func (s *HumanTaskConfig) SetPreHumanTaskLambdaArn(v string) *HumanTaskConfig {
50016	s.PreHumanTaskLambdaArn = &v
50017	return s
50018}
50019
50020// SetPublicWorkforceTaskPrice sets the PublicWorkforceTaskPrice field's value.
50021func (s *HumanTaskConfig) SetPublicWorkforceTaskPrice(v *PublicWorkforceTaskPrice) *HumanTaskConfig {
50022	s.PublicWorkforceTaskPrice = v
50023	return s
50024}
50025
50026// SetTaskAvailabilityLifetimeInSeconds sets the TaskAvailabilityLifetimeInSeconds field's value.
50027func (s *HumanTaskConfig) SetTaskAvailabilityLifetimeInSeconds(v int64) *HumanTaskConfig {
50028	s.TaskAvailabilityLifetimeInSeconds = &v
50029	return s
50030}
50031
50032// SetTaskDescription sets the TaskDescription field's value.
50033func (s *HumanTaskConfig) SetTaskDescription(v string) *HumanTaskConfig {
50034	s.TaskDescription = &v
50035	return s
50036}
50037
50038// SetTaskKeywords sets the TaskKeywords field's value.
50039func (s *HumanTaskConfig) SetTaskKeywords(v []*string) *HumanTaskConfig {
50040	s.TaskKeywords = v
50041	return s
50042}
50043
50044// SetTaskTimeLimitInSeconds sets the TaskTimeLimitInSeconds field's value.
50045func (s *HumanTaskConfig) SetTaskTimeLimitInSeconds(v int64) *HumanTaskConfig {
50046	s.TaskTimeLimitInSeconds = &v
50047	return s
50048}
50049
50050// SetTaskTitle sets the TaskTitle field's value.
50051func (s *HumanTaskConfig) SetTaskTitle(v string) *HumanTaskConfig {
50052	s.TaskTitle = &v
50053	return s
50054}
50055
50056// SetUiConfig sets the UiConfig field's value.
50057func (s *HumanTaskConfig) SetUiConfig(v *UiConfig) *HumanTaskConfig {
50058	s.UiConfig = v
50059	return s
50060}
50061
50062// SetWorkteamArn sets the WorkteamArn field's value.
50063func (s *HumanTaskConfig) SetWorkteamArn(v string) *HumanTaskConfig {
50064	s.WorkteamArn = &v
50065	return s
50066}
50067
50068// Container for human task user interface information.
50069type HumanTaskUiSummary struct {
50070	_ struct{} `type:"structure"`
50071
50072	// A timestamp when SageMaker created the human task user interface.
50073	//
50074	// CreationTime is a required field
50075	CreationTime *time.Time `type:"timestamp" required:"true"`
50076
50077	// The Amazon Resource Name (ARN) of the human task user interface.
50078	//
50079	// HumanTaskUiArn is a required field
50080	HumanTaskUiArn *string `type:"string" required:"true"`
50081
50082	// The name of the human task user interface.
50083	//
50084	// HumanTaskUiName is a required field
50085	HumanTaskUiName *string `min:"1" type:"string" required:"true"`
50086}
50087
50088// String returns the string representation
50089func (s HumanTaskUiSummary) String() string {
50090	return awsutil.Prettify(s)
50091}
50092
50093// GoString returns the string representation
50094func (s HumanTaskUiSummary) GoString() string {
50095	return s.String()
50096}
50097
50098// SetCreationTime sets the CreationTime field's value.
50099func (s *HumanTaskUiSummary) SetCreationTime(v time.Time) *HumanTaskUiSummary {
50100	s.CreationTime = &v
50101	return s
50102}
50103
50104// SetHumanTaskUiArn sets the HumanTaskUiArn field's value.
50105func (s *HumanTaskUiSummary) SetHumanTaskUiArn(v string) *HumanTaskUiSummary {
50106	s.HumanTaskUiArn = &v
50107	return s
50108}
50109
50110// SetHumanTaskUiName sets the HumanTaskUiName field's value.
50111func (s *HumanTaskUiSummary) SetHumanTaskUiName(v string) *HumanTaskUiSummary {
50112	s.HumanTaskUiName = &v
50113	return s
50114}
50115
50116// Specifies which training algorithm to use for training jobs that a hyperparameter
50117// tuning job launches and the metrics to monitor.
50118type HyperParameterAlgorithmSpecification struct {
50119	_ struct{} `type:"structure"`
50120
50121	// The name of the resource algorithm to use for the hyperparameter tuning job.
50122	// If you specify a value for this parameter, do not specify a value for TrainingImage.
50123	AlgorithmName *string `min:"1" type:"string"`
50124
50125	// An array of MetricDefinition objects that specify the metrics that the algorithm
50126	// emits.
50127	MetricDefinitions []*MetricDefinition `type:"list"`
50128
50129	// The registry path of the Docker image that contains the training algorithm.
50130	// For information about Docker registry paths for built-in algorithms, see
50131	// Algorithms Provided by Amazon SageMaker: Common Parameters (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html).
50132	// Amazon SageMaker supports both registry/repository[:tag] and registry/repository[@digest]
50133	// image path formats. For more information, see Using Your Own Algorithms with
50134	// Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
50135	TrainingImage *string `type:"string"`
50136
50137	// The input mode that the algorithm supports: File or Pipe. In File input mode,
50138	// Amazon SageMaker downloads the training data from Amazon S3 to the storage
50139	// volume that is attached to the training instance and mounts the directory
50140	// to the Docker volume for the training container. In Pipe input mode, Amazon
50141	// SageMaker streams data directly from Amazon S3 to the container.
50142	//
50143	// If you specify File mode, make sure that you provision the storage volume
50144	// that is attached to the training instance with enough capacity to accommodate
50145	// the training data downloaded from Amazon S3, the model artifacts, and intermediate
50146	// information.
50147	//
50148	// For more information about input modes, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
50149	//
50150	// TrainingInputMode is a required field
50151	TrainingInputMode *string `type:"string" required:"true" enum:"TrainingInputMode"`
50152}
50153
50154// String returns the string representation
50155func (s HyperParameterAlgorithmSpecification) String() string {
50156	return awsutil.Prettify(s)
50157}
50158
50159// GoString returns the string representation
50160func (s HyperParameterAlgorithmSpecification) GoString() string {
50161	return s.String()
50162}
50163
50164// Validate inspects the fields of the type to determine if they are valid.
50165func (s *HyperParameterAlgorithmSpecification) Validate() error {
50166	invalidParams := request.ErrInvalidParams{Context: "HyperParameterAlgorithmSpecification"}
50167	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
50168		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
50169	}
50170	if s.TrainingInputMode == nil {
50171		invalidParams.Add(request.NewErrParamRequired("TrainingInputMode"))
50172	}
50173	if s.MetricDefinitions != nil {
50174		for i, v := range s.MetricDefinitions {
50175			if v == nil {
50176				continue
50177			}
50178			if err := v.Validate(); err != nil {
50179				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MetricDefinitions", i), err.(request.ErrInvalidParams))
50180			}
50181		}
50182	}
50183
50184	if invalidParams.Len() > 0 {
50185		return invalidParams
50186	}
50187	return nil
50188}
50189
50190// SetAlgorithmName sets the AlgorithmName field's value.
50191func (s *HyperParameterAlgorithmSpecification) SetAlgorithmName(v string) *HyperParameterAlgorithmSpecification {
50192	s.AlgorithmName = &v
50193	return s
50194}
50195
50196// SetMetricDefinitions sets the MetricDefinitions field's value.
50197func (s *HyperParameterAlgorithmSpecification) SetMetricDefinitions(v []*MetricDefinition) *HyperParameterAlgorithmSpecification {
50198	s.MetricDefinitions = v
50199	return s
50200}
50201
50202// SetTrainingImage sets the TrainingImage field's value.
50203func (s *HyperParameterAlgorithmSpecification) SetTrainingImage(v string) *HyperParameterAlgorithmSpecification {
50204	s.TrainingImage = &v
50205	return s
50206}
50207
50208// SetTrainingInputMode sets the TrainingInputMode field's value.
50209func (s *HyperParameterAlgorithmSpecification) SetTrainingInputMode(v string) *HyperParameterAlgorithmSpecification {
50210	s.TrainingInputMode = &v
50211	return s
50212}
50213
50214// Defines a hyperparameter to be used by an algorithm.
50215type HyperParameterSpecification struct {
50216	_ struct{} `type:"structure"`
50217
50218	// The default value for this hyperparameter. If a default value is specified,
50219	// a hyperparameter cannot be required.
50220	DefaultValue *string `type:"string"`
50221
50222	// A brief description of the hyperparameter.
50223	Description *string `type:"string"`
50224
50225	// Indicates whether this hyperparameter is required.
50226	IsRequired *bool `type:"boolean"`
50227
50228	// Indicates whether this hyperparameter is tunable in a hyperparameter tuning
50229	// job.
50230	IsTunable *bool `type:"boolean"`
50231
50232	// The name of this hyperparameter. The name must be unique.
50233	//
50234	// Name is a required field
50235	Name *string `type:"string" required:"true"`
50236
50237	// The allowed range for this hyperparameter.
50238	Range *ParameterRange `type:"structure"`
50239
50240	// The type of this hyperparameter. The valid types are Integer, Continuous,
50241	// Categorical, and FreeText.
50242	//
50243	// Type is a required field
50244	Type *string `type:"string" required:"true" enum:"ParameterType"`
50245}
50246
50247// String returns the string representation
50248func (s HyperParameterSpecification) String() string {
50249	return awsutil.Prettify(s)
50250}
50251
50252// GoString returns the string representation
50253func (s HyperParameterSpecification) GoString() string {
50254	return s.String()
50255}
50256
50257// Validate inspects the fields of the type to determine if they are valid.
50258func (s *HyperParameterSpecification) Validate() error {
50259	invalidParams := request.ErrInvalidParams{Context: "HyperParameterSpecification"}
50260	if s.Name == nil {
50261		invalidParams.Add(request.NewErrParamRequired("Name"))
50262	}
50263	if s.Type == nil {
50264		invalidParams.Add(request.NewErrParamRequired("Type"))
50265	}
50266	if s.Range != nil {
50267		if err := s.Range.Validate(); err != nil {
50268			invalidParams.AddNested("Range", err.(request.ErrInvalidParams))
50269		}
50270	}
50271
50272	if invalidParams.Len() > 0 {
50273		return invalidParams
50274	}
50275	return nil
50276}
50277
50278// SetDefaultValue sets the DefaultValue field's value.
50279func (s *HyperParameterSpecification) SetDefaultValue(v string) *HyperParameterSpecification {
50280	s.DefaultValue = &v
50281	return s
50282}
50283
50284// SetDescription sets the Description field's value.
50285func (s *HyperParameterSpecification) SetDescription(v string) *HyperParameterSpecification {
50286	s.Description = &v
50287	return s
50288}
50289
50290// SetIsRequired sets the IsRequired field's value.
50291func (s *HyperParameterSpecification) SetIsRequired(v bool) *HyperParameterSpecification {
50292	s.IsRequired = &v
50293	return s
50294}
50295
50296// SetIsTunable sets the IsTunable field's value.
50297func (s *HyperParameterSpecification) SetIsTunable(v bool) *HyperParameterSpecification {
50298	s.IsTunable = &v
50299	return s
50300}
50301
50302// SetName sets the Name field's value.
50303func (s *HyperParameterSpecification) SetName(v string) *HyperParameterSpecification {
50304	s.Name = &v
50305	return s
50306}
50307
50308// SetRange sets the Range field's value.
50309func (s *HyperParameterSpecification) SetRange(v *ParameterRange) *HyperParameterSpecification {
50310	s.Range = v
50311	return s
50312}
50313
50314// SetType sets the Type field's value.
50315func (s *HyperParameterSpecification) SetType(v string) *HyperParameterSpecification {
50316	s.Type = &v
50317	return s
50318}
50319
50320// Defines the training jobs launched by a hyperparameter tuning job.
50321type HyperParameterTrainingJobDefinition struct {
50322	_ struct{} `type:"structure"`
50323
50324	// The HyperParameterAlgorithmSpecification object that specifies the resource
50325	// algorithm to use for the training jobs that the tuning job launches.
50326	//
50327	// AlgorithmSpecification is a required field
50328	AlgorithmSpecification *HyperParameterAlgorithmSpecification `type:"structure" required:"true"`
50329
50330	// Contains information about the output location for managed spot training
50331	// checkpoint data.
50332	CheckpointConfig *CheckpointConfig `type:"structure"`
50333
50334	// The job definition name.
50335	DefinitionName *string `min:"1" type:"string"`
50336
50337	// To encrypt all communications between ML compute instances in distributed
50338	// training, choose True. Encryption provides greater security for distributed
50339	// training, but training might take longer. How long it takes depends on the
50340	// amount of communication between compute instances, especially if you use
50341	// a deep learning algorithm in distributed training.
50342	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
50343
50344	// A Boolean indicating whether managed spot training is enabled (True) or not
50345	// (False).
50346	EnableManagedSpotTraining *bool `type:"boolean"`
50347
50348	// Isolates the training container. No inbound or outbound network calls can
50349	// be made, except for calls between peers within a training cluster for distributed
50350	// training. If network isolation is used for training jobs that are configured
50351	// to use a VPC, Amazon SageMaker downloads and uploads customer data and model
50352	// artifacts through the specified VPC, but the training container does not
50353	// have network access.
50354	EnableNetworkIsolation *bool `type:"boolean"`
50355
50356	// Specifies ranges of integer, continuous, and categorical hyperparameters
50357	// that a hyperparameter tuning job searches. The hyperparameter tuning job
50358	// launches training jobs with hyperparameter values within these ranges to
50359	// find the combination of values that result in the training job with the best
50360	// performance as measured by the objective metric of the hyperparameter tuning
50361	// job.
50362	//
50363	// You can specify a maximum of 20 hyperparameters that a hyperparameter tuning
50364	// job can search over. Every possible value of a categorical parameter range
50365	// counts against this limit.
50366	HyperParameterRanges *ParameterRanges `type:"structure"`
50367
50368	// An array of Channel objects that specify the input for the training jobs
50369	// that the tuning job launches.
50370	InputDataConfig []*Channel `min:"1" type:"list"`
50371
50372	// Specifies the path to the Amazon S3 bucket where you store model artifacts
50373	// from the training jobs that the tuning job launches.
50374	//
50375	// OutputDataConfig is a required field
50376	OutputDataConfig *OutputDataConfig `type:"structure" required:"true"`
50377
50378	// The resources, including the compute instances and storage volumes, to use
50379	// for the training jobs that the tuning job launches.
50380	//
50381	// Storage volumes store model artifacts and incremental states. Training algorithms
50382	// might also use storage volumes for scratch space. If you want Amazon SageMaker
50383	// to use the storage volume to store the training data, choose File as the
50384	// TrainingInputMode in the algorithm specification. For distributed training
50385	// algorithms, specify an instance count greater than 1.
50386	//
50387	// ResourceConfig is a required field
50388	ResourceConfig *ResourceConfig `type:"structure" required:"true"`
50389
50390	// The number of times to retry the job when the job fails due to an InternalServerError.
50391	RetryStrategy *RetryStrategy `type:"structure"`
50392
50393	// The Amazon Resource Name (ARN) of the IAM role associated with the training
50394	// jobs that the tuning job launches.
50395	//
50396	// RoleArn is a required field
50397	RoleArn *string `min:"20" type:"string" required:"true"`
50398
50399	// Specifies the values of hyperparameters that do not change for the tuning
50400	// job.
50401	StaticHyperParameters map[string]*string `type:"map"`
50402
50403	// Specifies a limit to how long a model hyperparameter training job can run.
50404	// It also specifies how long a managed spot training job has to complete. When
50405	// the job reaches the time limit, Amazon SageMaker ends the training job. Use
50406	// this API to cap model training costs.
50407	//
50408	// StoppingCondition is a required field
50409	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
50410
50411	// Defines the objective metric for a hyperparameter tuning job. Hyperparameter
50412	// tuning uses the value of this metric to evaluate the training jobs it launches,
50413	// and returns the training job that results in either the highest or lowest
50414	// value for this metric, depending on the value you specify for the Type parameter.
50415	TuningObjective *HyperParameterTuningJobObjective `type:"structure"`
50416
50417	// The VpcConfig object that specifies the VPC that you want the training jobs
50418	// that this hyperparameter tuning job launches to connect to. Control access
50419	// to and from your training container by configuring the VPC. For more information,
50420	// see Protect Training Jobs by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
50421	VpcConfig *VpcConfig `type:"structure"`
50422}
50423
50424// String returns the string representation
50425func (s HyperParameterTrainingJobDefinition) String() string {
50426	return awsutil.Prettify(s)
50427}
50428
50429// GoString returns the string representation
50430func (s HyperParameterTrainingJobDefinition) GoString() string {
50431	return s.String()
50432}
50433
50434// Validate inspects the fields of the type to determine if they are valid.
50435func (s *HyperParameterTrainingJobDefinition) Validate() error {
50436	invalidParams := request.ErrInvalidParams{Context: "HyperParameterTrainingJobDefinition"}
50437	if s.AlgorithmSpecification == nil {
50438		invalidParams.Add(request.NewErrParamRequired("AlgorithmSpecification"))
50439	}
50440	if s.DefinitionName != nil && len(*s.DefinitionName) < 1 {
50441		invalidParams.Add(request.NewErrParamMinLen("DefinitionName", 1))
50442	}
50443	if s.InputDataConfig != nil && len(s.InputDataConfig) < 1 {
50444		invalidParams.Add(request.NewErrParamMinLen("InputDataConfig", 1))
50445	}
50446	if s.OutputDataConfig == nil {
50447		invalidParams.Add(request.NewErrParamRequired("OutputDataConfig"))
50448	}
50449	if s.ResourceConfig == nil {
50450		invalidParams.Add(request.NewErrParamRequired("ResourceConfig"))
50451	}
50452	if s.RoleArn == nil {
50453		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
50454	}
50455	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
50456		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
50457	}
50458	if s.StoppingCondition == nil {
50459		invalidParams.Add(request.NewErrParamRequired("StoppingCondition"))
50460	}
50461	if s.AlgorithmSpecification != nil {
50462		if err := s.AlgorithmSpecification.Validate(); err != nil {
50463			invalidParams.AddNested("AlgorithmSpecification", err.(request.ErrInvalidParams))
50464		}
50465	}
50466	if s.CheckpointConfig != nil {
50467		if err := s.CheckpointConfig.Validate(); err != nil {
50468			invalidParams.AddNested("CheckpointConfig", err.(request.ErrInvalidParams))
50469		}
50470	}
50471	if s.HyperParameterRanges != nil {
50472		if err := s.HyperParameterRanges.Validate(); err != nil {
50473			invalidParams.AddNested("HyperParameterRanges", err.(request.ErrInvalidParams))
50474		}
50475	}
50476	if s.InputDataConfig != nil {
50477		for i, v := range s.InputDataConfig {
50478			if v == nil {
50479				continue
50480			}
50481			if err := v.Validate(); err != nil {
50482				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputDataConfig", i), err.(request.ErrInvalidParams))
50483			}
50484		}
50485	}
50486	if s.OutputDataConfig != nil {
50487		if err := s.OutputDataConfig.Validate(); err != nil {
50488			invalidParams.AddNested("OutputDataConfig", err.(request.ErrInvalidParams))
50489		}
50490	}
50491	if s.ResourceConfig != nil {
50492		if err := s.ResourceConfig.Validate(); err != nil {
50493			invalidParams.AddNested("ResourceConfig", err.(request.ErrInvalidParams))
50494		}
50495	}
50496	if s.RetryStrategy != nil {
50497		if err := s.RetryStrategy.Validate(); err != nil {
50498			invalidParams.AddNested("RetryStrategy", err.(request.ErrInvalidParams))
50499		}
50500	}
50501	if s.StoppingCondition != nil {
50502		if err := s.StoppingCondition.Validate(); err != nil {
50503			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
50504		}
50505	}
50506	if s.TuningObjective != nil {
50507		if err := s.TuningObjective.Validate(); err != nil {
50508			invalidParams.AddNested("TuningObjective", err.(request.ErrInvalidParams))
50509		}
50510	}
50511	if s.VpcConfig != nil {
50512		if err := s.VpcConfig.Validate(); err != nil {
50513			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
50514		}
50515	}
50516
50517	if invalidParams.Len() > 0 {
50518		return invalidParams
50519	}
50520	return nil
50521}
50522
50523// SetAlgorithmSpecification sets the AlgorithmSpecification field's value.
50524func (s *HyperParameterTrainingJobDefinition) SetAlgorithmSpecification(v *HyperParameterAlgorithmSpecification) *HyperParameterTrainingJobDefinition {
50525	s.AlgorithmSpecification = v
50526	return s
50527}
50528
50529// SetCheckpointConfig sets the CheckpointConfig field's value.
50530func (s *HyperParameterTrainingJobDefinition) SetCheckpointConfig(v *CheckpointConfig) *HyperParameterTrainingJobDefinition {
50531	s.CheckpointConfig = v
50532	return s
50533}
50534
50535// SetDefinitionName sets the DefinitionName field's value.
50536func (s *HyperParameterTrainingJobDefinition) SetDefinitionName(v string) *HyperParameterTrainingJobDefinition {
50537	s.DefinitionName = &v
50538	return s
50539}
50540
50541// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
50542func (s *HyperParameterTrainingJobDefinition) SetEnableInterContainerTrafficEncryption(v bool) *HyperParameterTrainingJobDefinition {
50543	s.EnableInterContainerTrafficEncryption = &v
50544	return s
50545}
50546
50547// SetEnableManagedSpotTraining sets the EnableManagedSpotTraining field's value.
50548func (s *HyperParameterTrainingJobDefinition) SetEnableManagedSpotTraining(v bool) *HyperParameterTrainingJobDefinition {
50549	s.EnableManagedSpotTraining = &v
50550	return s
50551}
50552
50553// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
50554func (s *HyperParameterTrainingJobDefinition) SetEnableNetworkIsolation(v bool) *HyperParameterTrainingJobDefinition {
50555	s.EnableNetworkIsolation = &v
50556	return s
50557}
50558
50559// SetHyperParameterRanges sets the HyperParameterRanges field's value.
50560func (s *HyperParameterTrainingJobDefinition) SetHyperParameterRanges(v *ParameterRanges) *HyperParameterTrainingJobDefinition {
50561	s.HyperParameterRanges = v
50562	return s
50563}
50564
50565// SetInputDataConfig sets the InputDataConfig field's value.
50566func (s *HyperParameterTrainingJobDefinition) SetInputDataConfig(v []*Channel) *HyperParameterTrainingJobDefinition {
50567	s.InputDataConfig = v
50568	return s
50569}
50570
50571// SetOutputDataConfig sets the OutputDataConfig field's value.
50572func (s *HyperParameterTrainingJobDefinition) SetOutputDataConfig(v *OutputDataConfig) *HyperParameterTrainingJobDefinition {
50573	s.OutputDataConfig = v
50574	return s
50575}
50576
50577// SetResourceConfig sets the ResourceConfig field's value.
50578func (s *HyperParameterTrainingJobDefinition) SetResourceConfig(v *ResourceConfig) *HyperParameterTrainingJobDefinition {
50579	s.ResourceConfig = v
50580	return s
50581}
50582
50583// SetRetryStrategy sets the RetryStrategy field's value.
50584func (s *HyperParameterTrainingJobDefinition) SetRetryStrategy(v *RetryStrategy) *HyperParameterTrainingJobDefinition {
50585	s.RetryStrategy = v
50586	return s
50587}
50588
50589// SetRoleArn sets the RoleArn field's value.
50590func (s *HyperParameterTrainingJobDefinition) SetRoleArn(v string) *HyperParameterTrainingJobDefinition {
50591	s.RoleArn = &v
50592	return s
50593}
50594
50595// SetStaticHyperParameters sets the StaticHyperParameters field's value.
50596func (s *HyperParameterTrainingJobDefinition) SetStaticHyperParameters(v map[string]*string) *HyperParameterTrainingJobDefinition {
50597	s.StaticHyperParameters = v
50598	return s
50599}
50600
50601// SetStoppingCondition sets the StoppingCondition field's value.
50602func (s *HyperParameterTrainingJobDefinition) SetStoppingCondition(v *StoppingCondition) *HyperParameterTrainingJobDefinition {
50603	s.StoppingCondition = v
50604	return s
50605}
50606
50607// SetTuningObjective sets the TuningObjective field's value.
50608func (s *HyperParameterTrainingJobDefinition) SetTuningObjective(v *HyperParameterTuningJobObjective) *HyperParameterTrainingJobDefinition {
50609	s.TuningObjective = v
50610	return s
50611}
50612
50613// SetVpcConfig sets the VpcConfig field's value.
50614func (s *HyperParameterTrainingJobDefinition) SetVpcConfig(v *VpcConfig) *HyperParameterTrainingJobDefinition {
50615	s.VpcConfig = v
50616	return s
50617}
50618
50619// Specifies summary information about a training job.
50620type HyperParameterTrainingJobSummary struct {
50621	_ struct{} `type:"structure"`
50622
50623	// The date and time that the training job was created.
50624	//
50625	// CreationTime is a required field
50626	CreationTime *time.Time `type:"timestamp" required:"true"`
50627
50628	// The reason that the training job failed.
50629	FailureReason *string `type:"string"`
50630
50631	// The FinalHyperParameterTuningJobObjectiveMetric object that specifies the
50632	// value of the objective metric of the tuning job that launched this training
50633	// job.
50634	FinalHyperParameterTuningJobObjectiveMetric *FinalHyperParameterTuningJobObjectiveMetric `type:"structure"`
50635
50636	// The status of the objective metric for the training job:
50637	//
50638	//    * Succeeded: The final objective metric for the training job was evaluated
50639	//    by the hyperparameter tuning job and used in the hyperparameter tuning
50640	//    process.
50641	//
50642	//    * Pending: The training job is in progress and evaluation of its final
50643	//    objective metric is pending.
50644	//
50645	//    * Failed: The final objective metric for the training job was not evaluated,
50646	//    and was not used in the hyperparameter tuning process. This typically
50647	//    occurs when the training job failed or did not emit an objective metric.
50648	ObjectiveStatus *string `type:"string" enum:"ObjectiveStatus"`
50649
50650	// Specifies the time when the training job ends on training instances. You
50651	// are billed for the time interval between the value of TrainingStartTime and
50652	// this time. For successful jobs and stopped jobs, this is the time after model
50653	// artifacts are uploaded. For failed jobs, this is the time when Amazon SageMaker
50654	// detects a job failure.
50655	TrainingEndTime *time.Time `type:"timestamp"`
50656
50657	// The Amazon Resource Name (ARN) of the training job.
50658	//
50659	// TrainingJobArn is a required field
50660	TrainingJobArn *string `type:"string" required:"true"`
50661
50662	// The training job definition name.
50663	TrainingJobDefinitionName *string `min:"1" type:"string"`
50664
50665	// The name of the training job.
50666	//
50667	// TrainingJobName is a required field
50668	TrainingJobName *string `min:"1" type:"string" required:"true"`
50669
50670	// The status of the training job.
50671	//
50672	// TrainingJobStatus is a required field
50673	TrainingJobStatus *string `type:"string" required:"true" enum:"TrainingJobStatus"`
50674
50675	// The date and time that the training job started.
50676	TrainingStartTime *time.Time `type:"timestamp"`
50677
50678	// A list of the hyperparameters for which you specified ranges to search.
50679	//
50680	// TunedHyperParameters is a required field
50681	TunedHyperParameters map[string]*string `type:"map" required:"true"`
50682
50683	// The HyperParameter tuning job that launched the training job.
50684	TuningJobName *string `min:"1" type:"string"`
50685}
50686
50687// String returns the string representation
50688func (s HyperParameterTrainingJobSummary) String() string {
50689	return awsutil.Prettify(s)
50690}
50691
50692// GoString returns the string representation
50693func (s HyperParameterTrainingJobSummary) GoString() string {
50694	return s.String()
50695}
50696
50697// SetCreationTime sets the CreationTime field's value.
50698func (s *HyperParameterTrainingJobSummary) SetCreationTime(v time.Time) *HyperParameterTrainingJobSummary {
50699	s.CreationTime = &v
50700	return s
50701}
50702
50703// SetFailureReason sets the FailureReason field's value.
50704func (s *HyperParameterTrainingJobSummary) SetFailureReason(v string) *HyperParameterTrainingJobSummary {
50705	s.FailureReason = &v
50706	return s
50707}
50708
50709// SetFinalHyperParameterTuningJobObjectiveMetric sets the FinalHyperParameterTuningJobObjectiveMetric field's value.
50710func (s *HyperParameterTrainingJobSummary) SetFinalHyperParameterTuningJobObjectiveMetric(v *FinalHyperParameterTuningJobObjectiveMetric) *HyperParameterTrainingJobSummary {
50711	s.FinalHyperParameterTuningJobObjectiveMetric = v
50712	return s
50713}
50714
50715// SetObjectiveStatus sets the ObjectiveStatus field's value.
50716func (s *HyperParameterTrainingJobSummary) SetObjectiveStatus(v string) *HyperParameterTrainingJobSummary {
50717	s.ObjectiveStatus = &v
50718	return s
50719}
50720
50721// SetTrainingEndTime sets the TrainingEndTime field's value.
50722func (s *HyperParameterTrainingJobSummary) SetTrainingEndTime(v time.Time) *HyperParameterTrainingJobSummary {
50723	s.TrainingEndTime = &v
50724	return s
50725}
50726
50727// SetTrainingJobArn sets the TrainingJobArn field's value.
50728func (s *HyperParameterTrainingJobSummary) SetTrainingJobArn(v string) *HyperParameterTrainingJobSummary {
50729	s.TrainingJobArn = &v
50730	return s
50731}
50732
50733// SetTrainingJobDefinitionName sets the TrainingJobDefinitionName field's value.
50734func (s *HyperParameterTrainingJobSummary) SetTrainingJobDefinitionName(v string) *HyperParameterTrainingJobSummary {
50735	s.TrainingJobDefinitionName = &v
50736	return s
50737}
50738
50739// SetTrainingJobName sets the TrainingJobName field's value.
50740func (s *HyperParameterTrainingJobSummary) SetTrainingJobName(v string) *HyperParameterTrainingJobSummary {
50741	s.TrainingJobName = &v
50742	return s
50743}
50744
50745// SetTrainingJobStatus sets the TrainingJobStatus field's value.
50746func (s *HyperParameterTrainingJobSummary) SetTrainingJobStatus(v string) *HyperParameterTrainingJobSummary {
50747	s.TrainingJobStatus = &v
50748	return s
50749}
50750
50751// SetTrainingStartTime sets the TrainingStartTime field's value.
50752func (s *HyperParameterTrainingJobSummary) SetTrainingStartTime(v time.Time) *HyperParameterTrainingJobSummary {
50753	s.TrainingStartTime = &v
50754	return s
50755}
50756
50757// SetTunedHyperParameters sets the TunedHyperParameters field's value.
50758func (s *HyperParameterTrainingJobSummary) SetTunedHyperParameters(v map[string]*string) *HyperParameterTrainingJobSummary {
50759	s.TunedHyperParameters = v
50760	return s
50761}
50762
50763// SetTuningJobName sets the TuningJobName field's value.
50764func (s *HyperParameterTrainingJobSummary) SetTuningJobName(v string) *HyperParameterTrainingJobSummary {
50765	s.TuningJobName = &v
50766	return s
50767}
50768
50769// Configures a hyperparameter tuning job.
50770type HyperParameterTuningJobConfig struct {
50771	_ struct{} `type:"structure"`
50772
50773	// The HyperParameterTuningJobObjective object that specifies the objective
50774	// metric for this tuning job.
50775	HyperParameterTuningJobObjective *HyperParameterTuningJobObjective `type:"structure"`
50776
50777	// The ParameterRanges object that specifies the ranges of hyperparameters that
50778	// this tuning job searches.
50779	ParameterRanges *ParameterRanges `type:"structure"`
50780
50781	// The ResourceLimits object that specifies the maximum number of training jobs
50782	// and parallel training jobs for this tuning job.
50783	//
50784	// ResourceLimits is a required field
50785	ResourceLimits *ResourceLimits `type:"structure" required:"true"`
50786
50787	// Specifies how hyperparameter tuning chooses the combinations of hyperparameter
50788	// values to use for the training job it launches. To use the Bayesian search
50789	// strategy, set this to Bayesian. To randomly search, set it to Random. For
50790	// information about search strategies, see How Hyperparameter Tuning Works
50791	// (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-how-it-works.html).
50792	//
50793	// Strategy is a required field
50794	Strategy *string `type:"string" required:"true" enum:"HyperParameterTuningJobStrategyType"`
50795
50796	// Specifies whether to use early stopping for training jobs launched by the
50797	// hyperparameter tuning job. This can be one of the following values (the default
50798	// value is OFF):
50799	//
50800	// OFF
50801	//
50802	// Training jobs launched by the hyperparameter tuning job do not use early
50803	// stopping.
50804	//
50805	// AUTO
50806	//
50807	// Amazon SageMaker stops training jobs launched by the hyperparameter tuning
50808	// job when they are unlikely to perform better than previously completed training
50809	// jobs. For more information, see Stop Training Jobs Early (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-early-stopping.html).
50810	TrainingJobEarlyStoppingType *string `type:"string" enum:"TrainingJobEarlyStoppingType"`
50811
50812	// The tuning job's completion criteria.
50813	TuningJobCompletionCriteria *TuningJobCompletionCriteria `type:"structure"`
50814}
50815
50816// String returns the string representation
50817func (s HyperParameterTuningJobConfig) String() string {
50818	return awsutil.Prettify(s)
50819}
50820
50821// GoString returns the string representation
50822func (s HyperParameterTuningJobConfig) GoString() string {
50823	return s.String()
50824}
50825
50826// Validate inspects the fields of the type to determine if they are valid.
50827func (s *HyperParameterTuningJobConfig) Validate() error {
50828	invalidParams := request.ErrInvalidParams{Context: "HyperParameterTuningJobConfig"}
50829	if s.ResourceLimits == nil {
50830		invalidParams.Add(request.NewErrParamRequired("ResourceLimits"))
50831	}
50832	if s.Strategy == nil {
50833		invalidParams.Add(request.NewErrParamRequired("Strategy"))
50834	}
50835	if s.HyperParameterTuningJobObjective != nil {
50836		if err := s.HyperParameterTuningJobObjective.Validate(); err != nil {
50837			invalidParams.AddNested("HyperParameterTuningJobObjective", err.(request.ErrInvalidParams))
50838		}
50839	}
50840	if s.ParameterRanges != nil {
50841		if err := s.ParameterRanges.Validate(); err != nil {
50842			invalidParams.AddNested("ParameterRanges", err.(request.ErrInvalidParams))
50843		}
50844	}
50845	if s.ResourceLimits != nil {
50846		if err := s.ResourceLimits.Validate(); err != nil {
50847			invalidParams.AddNested("ResourceLimits", err.(request.ErrInvalidParams))
50848		}
50849	}
50850	if s.TuningJobCompletionCriteria != nil {
50851		if err := s.TuningJobCompletionCriteria.Validate(); err != nil {
50852			invalidParams.AddNested("TuningJobCompletionCriteria", err.(request.ErrInvalidParams))
50853		}
50854	}
50855
50856	if invalidParams.Len() > 0 {
50857		return invalidParams
50858	}
50859	return nil
50860}
50861
50862// SetHyperParameterTuningJobObjective sets the HyperParameterTuningJobObjective field's value.
50863func (s *HyperParameterTuningJobConfig) SetHyperParameterTuningJobObjective(v *HyperParameterTuningJobObjective) *HyperParameterTuningJobConfig {
50864	s.HyperParameterTuningJobObjective = v
50865	return s
50866}
50867
50868// SetParameterRanges sets the ParameterRanges field's value.
50869func (s *HyperParameterTuningJobConfig) SetParameterRanges(v *ParameterRanges) *HyperParameterTuningJobConfig {
50870	s.ParameterRanges = v
50871	return s
50872}
50873
50874// SetResourceLimits sets the ResourceLimits field's value.
50875func (s *HyperParameterTuningJobConfig) SetResourceLimits(v *ResourceLimits) *HyperParameterTuningJobConfig {
50876	s.ResourceLimits = v
50877	return s
50878}
50879
50880// SetStrategy sets the Strategy field's value.
50881func (s *HyperParameterTuningJobConfig) SetStrategy(v string) *HyperParameterTuningJobConfig {
50882	s.Strategy = &v
50883	return s
50884}
50885
50886// SetTrainingJobEarlyStoppingType sets the TrainingJobEarlyStoppingType field's value.
50887func (s *HyperParameterTuningJobConfig) SetTrainingJobEarlyStoppingType(v string) *HyperParameterTuningJobConfig {
50888	s.TrainingJobEarlyStoppingType = &v
50889	return s
50890}
50891
50892// SetTuningJobCompletionCriteria sets the TuningJobCompletionCriteria field's value.
50893func (s *HyperParameterTuningJobConfig) SetTuningJobCompletionCriteria(v *TuningJobCompletionCriteria) *HyperParameterTuningJobConfig {
50894	s.TuningJobCompletionCriteria = v
50895	return s
50896}
50897
50898// Defines the objective metric for a hyperparameter tuning job. Hyperparameter
50899// tuning uses the value of this metric to evaluate the training jobs it launches,
50900// and returns the training job that results in either the highest or lowest
50901// value for this metric, depending on the value you specify for the Type parameter.
50902type HyperParameterTuningJobObjective struct {
50903	_ struct{} `type:"structure"`
50904
50905	// The name of the metric to use for the objective metric.
50906	//
50907	// MetricName is a required field
50908	MetricName *string `min:"1" type:"string" required:"true"`
50909
50910	// Whether to minimize or maximize the objective metric.
50911	//
50912	// Type is a required field
50913	Type *string `type:"string" required:"true" enum:"HyperParameterTuningJobObjectiveType"`
50914}
50915
50916// String returns the string representation
50917func (s HyperParameterTuningJobObjective) String() string {
50918	return awsutil.Prettify(s)
50919}
50920
50921// GoString returns the string representation
50922func (s HyperParameterTuningJobObjective) GoString() string {
50923	return s.String()
50924}
50925
50926// Validate inspects the fields of the type to determine if they are valid.
50927func (s *HyperParameterTuningJobObjective) Validate() error {
50928	invalidParams := request.ErrInvalidParams{Context: "HyperParameterTuningJobObjective"}
50929	if s.MetricName == nil {
50930		invalidParams.Add(request.NewErrParamRequired("MetricName"))
50931	}
50932	if s.MetricName != nil && len(*s.MetricName) < 1 {
50933		invalidParams.Add(request.NewErrParamMinLen("MetricName", 1))
50934	}
50935	if s.Type == nil {
50936		invalidParams.Add(request.NewErrParamRequired("Type"))
50937	}
50938
50939	if invalidParams.Len() > 0 {
50940		return invalidParams
50941	}
50942	return nil
50943}
50944
50945// SetMetricName sets the MetricName field's value.
50946func (s *HyperParameterTuningJobObjective) SetMetricName(v string) *HyperParameterTuningJobObjective {
50947	s.MetricName = &v
50948	return s
50949}
50950
50951// SetType sets the Type field's value.
50952func (s *HyperParameterTuningJobObjective) SetType(v string) *HyperParameterTuningJobObjective {
50953	s.Type = &v
50954	return s
50955}
50956
50957// Provides summary information about a hyperparameter tuning job.
50958type HyperParameterTuningJobSummary struct {
50959	_ struct{} `type:"structure"`
50960
50961	// The date and time that the tuning job was created.
50962	//
50963	// CreationTime is a required field
50964	CreationTime *time.Time `type:"timestamp" required:"true"`
50965
50966	// The date and time that the tuning job ended.
50967	HyperParameterTuningEndTime *time.Time `type:"timestamp"`
50968
50969	// The Amazon Resource Name (ARN) of the tuning job.
50970	//
50971	// HyperParameterTuningJobArn is a required field
50972	HyperParameterTuningJobArn *string `type:"string" required:"true"`
50973
50974	// The name of the tuning job.
50975	//
50976	// HyperParameterTuningJobName is a required field
50977	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
50978
50979	// The status of the tuning job.
50980	//
50981	// HyperParameterTuningJobStatus is a required field
50982	HyperParameterTuningJobStatus *string `type:"string" required:"true" enum:"HyperParameterTuningJobStatus"`
50983
50984	// The date and time that the tuning job was modified.
50985	LastModifiedTime *time.Time `type:"timestamp"`
50986
50987	// The ObjectiveStatusCounters object that specifies the numbers of training
50988	// jobs, categorized by objective metric status, that this tuning job launched.
50989	//
50990	// ObjectiveStatusCounters is a required field
50991	ObjectiveStatusCounters *ObjectiveStatusCounters `type:"structure" required:"true"`
50992
50993	// The ResourceLimits object that specifies the maximum number of training jobs
50994	// and parallel training jobs allowed for this tuning job.
50995	ResourceLimits *ResourceLimits `type:"structure"`
50996
50997	// Specifies the search strategy hyperparameter tuning uses to choose which
50998	// hyperparameters to use for each iteration. Currently, the only valid value
50999	// is Bayesian.
51000	//
51001	// Strategy is a required field
51002	Strategy *string `type:"string" required:"true" enum:"HyperParameterTuningJobStrategyType"`
51003
51004	// The TrainingJobStatusCounters object that specifies the numbers of training
51005	// jobs, categorized by status, that this tuning job launched.
51006	//
51007	// TrainingJobStatusCounters is a required field
51008	TrainingJobStatusCounters *TrainingJobStatusCounters `type:"structure" required:"true"`
51009}
51010
51011// String returns the string representation
51012func (s HyperParameterTuningJobSummary) String() string {
51013	return awsutil.Prettify(s)
51014}
51015
51016// GoString returns the string representation
51017func (s HyperParameterTuningJobSummary) GoString() string {
51018	return s.String()
51019}
51020
51021// SetCreationTime sets the CreationTime field's value.
51022func (s *HyperParameterTuningJobSummary) SetCreationTime(v time.Time) *HyperParameterTuningJobSummary {
51023	s.CreationTime = &v
51024	return s
51025}
51026
51027// SetHyperParameterTuningEndTime sets the HyperParameterTuningEndTime field's value.
51028func (s *HyperParameterTuningJobSummary) SetHyperParameterTuningEndTime(v time.Time) *HyperParameterTuningJobSummary {
51029	s.HyperParameterTuningEndTime = &v
51030	return s
51031}
51032
51033// SetHyperParameterTuningJobArn sets the HyperParameterTuningJobArn field's value.
51034func (s *HyperParameterTuningJobSummary) SetHyperParameterTuningJobArn(v string) *HyperParameterTuningJobSummary {
51035	s.HyperParameterTuningJobArn = &v
51036	return s
51037}
51038
51039// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
51040func (s *HyperParameterTuningJobSummary) SetHyperParameterTuningJobName(v string) *HyperParameterTuningJobSummary {
51041	s.HyperParameterTuningJobName = &v
51042	return s
51043}
51044
51045// SetHyperParameterTuningJobStatus sets the HyperParameterTuningJobStatus field's value.
51046func (s *HyperParameterTuningJobSummary) SetHyperParameterTuningJobStatus(v string) *HyperParameterTuningJobSummary {
51047	s.HyperParameterTuningJobStatus = &v
51048	return s
51049}
51050
51051// SetLastModifiedTime sets the LastModifiedTime field's value.
51052func (s *HyperParameterTuningJobSummary) SetLastModifiedTime(v time.Time) *HyperParameterTuningJobSummary {
51053	s.LastModifiedTime = &v
51054	return s
51055}
51056
51057// SetObjectiveStatusCounters sets the ObjectiveStatusCounters field's value.
51058func (s *HyperParameterTuningJobSummary) SetObjectiveStatusCounters(v *ObjectiveStatusCounters) *HyperParameterTuningJobSummary {
51059	s.ObjectiveStatusCounters = v
51060	return s
51061}
51062
51063// SetResourceLimits sets the ResourceLimits field's value.
51064func (s *HyperParameterTuningJobSummary) SetResourceLimits(v *ResourceLimits) *HyperParameterTuningJobSummary {
51065	s.ResourceLimits = v
51066	return s
51067}
51068
51069// SetStrategy sets the Strategy field's value.
51070func (s *HyperParameterTuningJobSummary) SetStrategy(v string) *HyperParameterTuningJobSummary {
51071	s.Strategy = &v
51072	return s
51073}
51074
51075// SetTrainingJobStatusCounters sets the TrainingJobStatusCounters field's value.
51076func (s *HyperParameterTuningJobSummary) SetTrainingJobStatusCounters(v *TrainingJobStatusCounters) *HyperParameterTuningJobSummary {
51077	s.TrainingJobStatusCounters = v
51078	return s
51079}
51080
51081// Specifies the configuration for a hyperparameter tuning job that uses one
51082// or more previous hyperparameter tuning jobs as a starting point. The results
51083// of previous tuning jobs are used to inform which combinations of hyperparameters
51084// to search over in the new tuning job.
51085//
51086// All training jobs launched by the new hyperparameter tuning job are evaluated
51087// by using the objective metric, and the training job that performs the best
51088// is compared to the best training jobs from the parent tuning jobs. From these,
51089// the training job that performs the best as measured by the objective metric
51090// is returned as the overall best training job.
51091//
51092// All training jobs launched by parent hyperparameter tuning jobs and the new
51093// hyperparameter tuning jobs count against the limit of training jobs for the
51094// tuning job.
51095type HyperParameterTuningJobWarmStartConfig struct {
51096	_ struct{} `type:"structure"`
51097
51098	// An array of hyperparameter tuning jobs that are used as the starting point
51099	// for the new hyperparameter tuning job. For more information about warm starting
51100	// a hyperparameter tuning job, see Using a Previous Hyperparameter Tuning Job
51101	// as a Starting Point (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-warm-start.html).
51102	//
51103	// Hyperparameter tuning jobs created before October 1, 2018 cannot be used
51104	// as parent jobs for warm start tuning jobs.
51105	//
51106	// ParentHyperParameterTuningJobs is a required field
51107	ParentHyperParameterTuningJobs []*ParentHyperParameterTuningJob `min:"1" type:"list" required:"true"`
51108
51109	// Specifies one of the following:
51110	//
51111	// IDENTICAL_DATA_AND_ALGORITHM
51112	//
51113	// The new hyperparameter tuning job uses the same input data and training image
51114	// as the parent tuning jobs. You can change the hyperparameter ranges to search
51115	// and the maximum number of training jobs that the hyperparameter tuning job
51116	// launches. You cannot use a new version of the training algorithm, unless
51117	// the changes in the new version do not affect the algorithm itself. For example,
51118	// changes that improve logging or adding support for a different data format
51119	// are allowed. You can also change hyperparameters from tunable to static,
51120	// and from static to tunable, but the total number of static plus tunable hyperparameters
51121	// must remain the same as it is in all parent jobs. The objective metric for
51122	// the new tuning job must be the same as for all parent jobs.
51123	//
51124	// TRANSFER_LEARNING
51125	//
51126	// The new hyperparameter tuning job can include input data, hyperparameter
51127	// ranges, maximum number of concurrent training jobs, and maximum number of
51128	// training jobs that are different than those of its parent hyperparameter
51129	// tuning jobs. The training image can also be a different version from the
51130	// version used in the parent hyperparameter tuning job. You can also change
51131	// hyperparameters from tunable to static, and from static to tunable, but the
51132	// total number of static plus tunable hyperparameters must remain the same
51133	// as it is in all parent jobs. The objective metric for the new tuning job
51134	// must be the same as for all parent jobs.
51135	//
51136	// WarmStartType is a required field
51137	WarmStartType *string `type:"string" required:"true" enum:"HyperParameterTuningJobWarmStartType"`
51138}
51139
51140// String returns the string representation
51141func (s HyperParameterTuningJobWarmStartConfig) String() string {
51142	return awsutil.Prettify(s)
51143}
51144
51145// GoString returns the string representation
51146func (s HyperParameterTuningJobWarmStartConfig) GoString() string {
51147	return s.String()
51148}
51149
51150// Validate inspects the fields of the type to determine if they are valid.
51151func (s *HyperParameterTuningJobWarmStartConfig) Validate() error {
51152	invalidParams := request.ErrInvalidParams{Context: "HyperParameterTuningJobWarmStartConfig"}
51153	if s.ParentHyperParameterTuningJobs == nil {
51154		invalidParams.Add(request.NewErrParamRequired("ParentHyperParameterTuningJobs"))
51155	}
51156	if s.ParentHyperParameterTuningJobs != nil && len(s.ParentHyperParameterTuningJobs) < 1 {
51157		invalidParams.Add(request.NewErrParamMinLen("ParentHyperParameterTuningJobs", 1))
51158	}
51159	if s.WarmStartType == nil {
51160		invalidParams.Add(request.NewErrParamRequired("WarmStartType"))
51161	}
51162	if s.ParentHyperParameterTuningJobs != nil {
51163		for i, v := range s.ParentHyperParameterTuningJobs {
51164			if v == nil {
51165				continue
51166			}
51167			if err := v.Validate(); err != nil {
51168				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ParentHyperParameterTuningJobs", i), err.(request.ErrInvalidParams))
51169			}
51170		}
51171	}
51172
51173	if invalidParams.Len() > 0 {
51174		return invalidParams
51175	}
51176	return nil
51177}
51178
51179// SetParentHyperParameterTuningJobs sets the ParentHyperParameterTuningJobs field's value.
51180func (s *HyperParameterTuningJobWarmStartConfig) SetParentHyperParameterTuningJobs(v []*ParentHyperParameterTuningJob) *HyperParameterTuningJobWarmStartConfig {
51181	s.ParentHyperParameterTuningJobs = v
51182	return s
51183}
51184
51185// SetWarmStartType sets the WarmStartType field's value.
51186func (s *HyperParameterTuningJobWarmStartConfig) SetWarmStartType(v string) *HyperParameterTuningJobWarmStartConfig {
51187	s.WarmStartType = &v
51188	return s
51189}
51190
51191// A SageMaker image. A SageMaker image represents a set of container images
51192// that are derived from a common base container image. Each of these container
51193// images is represented by a SageMaker ImageVersion.
51194type Image struct {
51195	_ struct{} `type:"structure"`
51196
51197	// When the image was created.
51198	//
51199	// CreationTime is a required field
51200	CreationTime *time.Time `type:"timestamp" required:"true"`
51201
51202	// The description of the image.
51203	Description *string `min:"1" type:"string"`
51204
51205	// The name of the image as displayed.
51206	DisplayName *string `min:"1" type:"string"`
51207
51208	// When a create, update, or delete operation fails, the reason for the failure.
51209	FailureReason *string `type:"string"`
51210
51211	// The Amazon Resource Name (ARN) of the image.
51212	//
51213	// ImageArn is a required field
51214	ImageArn *string `type:"string" required:"true"`
51215
51216	// The name of the image.
51217	//
51218	// ImageName is a required field
51219	ImageName *string `min:"1" type:"string" required:"true"`
51220
51221	// The status of the image.
51222	//
51223	// ImageStatus is a required field
51224	ImageStatus *string `type:"string" required:"true" enum:"ImageStatus"`
51225
51226	// When the image was last modified.
51227	//
51228	// LastModifiedTime is a required field
51229	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
51230}
51231
51232// String returns the string representation
51233func (s Image) String() string {
51234	return awsutil.Prettify(s)
51235}
51236
51237// GoString returns the string representation
51238func (s Image) GoString() string {
51239	return s.String()
51240}
51241
51242// SetCreationTime sets the CreationTime field's value.
51243func (s *Image) SetCreationTime(v time.Time) *Image {
51244	s.CreationTime = &v
51245	return s
51246}
51247
51248// SetDescription sets the Description field's value.
51249func (s *Image) SetDescription(v string) *Image {
51250	s.Description = &v
51251	return s
51252}
51253
51254// SetDisplayName sets the DisplayName field's value.
51255func (s *Image) SetDisplayName(v string) *Image {
51256	s.DisplayName = &v
51257	return s
51258}
51259
51260// SetFailureReason sets the FailureReason field's value.
51261func (s *Image) SetFailureReason(v string) *Image {
51262	s.FailureReason = &v
51263	return s
51264}
51265
51266// SetImageArn sets the ImageArn field's value.
51267func (s *Image) SetImageArn(v string) *Image {
51268	s.ImageArn = &v
51269	return s
51270}
51271
51272// SetImageName sets the ImageName field's value.
51273func (s *Image) SetImageName(v string) *Image {
51274	s.ImageName = &v
51275	return s
51276}
51277
51278// SetImageStatus sets the ImageStatus field's value.
51279func (s *Image) SetImageStatus(v string) *Image {
51280	s.ImageStatus = &v
51281	return s
51282}
51283
51284// SetLastModifiedTime sets the LastModifiedTime field's value.
51285func (s *Image) SetLastModifiedTime(v time.Time) *Image {
51286	s.LastModifiedTime = &v
51287	return s
51288}
51289
51290// Specifies whether the model container is in Amazon ECR or a private Docker
51291// registry accessible from your Amazon Virtual Private Cloud (VPC).
51292type ImageConfig struct {
51293	_ struct{} `type:"structure"`
51294
51295	// Set this to one of the following values:
51296	//
51297	//    * Platform - The model image is hosted in Amazon ECR.
51298	//
51299	//    * Vpc - The model image is hosted in a private Docker registry in your
51300	//    VPC.
51301	//
51302	// RepositoryAccessMode is a required field
51303	RepositoryAccessMode *string `type:"string" required:"true" enum:"RepositoryAccessMode"`
51304
51305	// (Optional) Specifies an authentication configuration for the private docker
51306	// registry where your model image is hosted. Specify a value for this property
51307	// only if you specified Vpc as the value for the RepositoryAccessMode field,
51308	// and the private Docker registry where the model image is hosted requires
51309	// authentication.
51310	RepositoryAuthConfig *RepositoryAuthConfig `type:"structure"`
51311}
51312
51313// String returns the string representation
51314func (s ImageConfig) String() string {
51315	return awsutil.Prettify(s)
51316}
51317
51318// GoString returns the string representation
51319func (s ImageConfig) GoString() string {
51320	return s.String()
51321}
51322
51323// Validate inspects the fields of the type to determine if they are valid.
51324func (s *ImageConfig) Validate() error {
51325	invalidParams := request.ErrInvalidParams{Context: "ImageConfig"}
51326	if s.RepositoryAccessMode == nil {
51327		invalidParams.Add(request.NewErrParamRequired("RepositoryAccessMode"))
51328	}
51329	if s.RepositoryAuthConfig != nil {
51330		if err := s.RepositoryAuthConfig.Validate(); err != nil {
51331			invalidParams.AddNested("RepositoryAuthConfig", err.(request.ErrInvalidParams))
51332		}
51333	}
51334
51335	if invalidParams.Len() > 0 {
51336		return invalidParams
51337	}
51338	return nil
51339}
51340
51341// SetRepositoryAccessMode sets the RepositoryAccessMode field's value.
51342func (s *ImageConfig) SetRepositoryAccessMode(v string) *ImageConfig {
51343	s.RepositoryAccessMode = &v
51344	return s
51345}
51346
51347// SetRepositoryAuthConfig sets the RepositoryAuthConfig field's value.
51348func (s *ImageConfig) SetRepositoryAuthConfig(v *RepositoryAuthConfig) *ImageConfig {
51349	s.RepositoryAuthConfig = v
51350	return s
51351}
51352
51353// A version of a SageMaker Image. A version represents an existing container
51354// image.
51355type ImageVersion struct {
51356	_ struct{} `type:"structure"`
51357
51358	// When the version was created.
51359	//
51360	// CreationTime is a required field
51361	CreationTime *time.Time `type:"timestamp" required:"true"`
51362
51363	// When a create or delete operation fails, the reason for the failure.
51364	FailureReason *string `type:"string"`
51365
51366	// The Amazon Resource Name (ARN) of the image the version is based on.
51367	//
51368	// ImageArn is a required field
51369	ImageArn *string `type:"string" required:"true"`
51370
51371	// The ARN of the version.
51372	//
51373	// ImageVersionArn is a required field
51374	ImageVersionArn *string `type:"string" required:"true"`
51375
51376	// The status of the version.
51377	//
51378	// ImageVersionStatus is a required field
51379	ImageVersionStatus *string `type:"string" required:"true" enum:"ImageVersionStatus"`
51380
51381	// When the version was last modified.
51382	//
51383	// LastModifiedTime is a required field
51384	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
51385
51386	// The version number.
51387	//
51388	// Version is a required field
51389	Version *int64 `type:"integer" required:"true"`
51390}
51391
51392// String returns the string representation
51393func (s ImageVersion) String() string {
51394	return awsutil.Prettify(s)
51395}
51396
51397// GoString returns the string representation
51398func (s ImageVersion) GoString() string {
51399	return s.String()
51400}
51401
51402// SetCreationTime sets the CreationTime field's value.
51403func (s *ImageVersion) SetCreationTime(v time.Time) *ImageVersion {
51404	s.CreationTime = &v
51405	return s
51406}
51407
51408// SetFailureReason sets the FailureReason field's value.
51409func (s *ImageVersion) SetFailureReason(v string) *ImageVersion {
51410	s.FailureReason = &v
51411	return s
51412}
51413
51414// SetImageArn sets the ImageArn field's value.
51415func (s *ImageVersion) SetImageArn(v string) *ImageVersion {
51416	s.ImageArn = &v
51417	return s
51418}
51419
51420// SetImageVersionArn sets the ImageVersionArn field's value.
51421func (s *ImageVersion) SetImageVersionArn(v string) *ImageVersion {
51422	s.ImageVersionArn = &v
51423	return s
51424}
51425
51426// SetImageVersionStatus sets the ImageVersionStatus field's value.
51427func (s *ImageVersion) SetImageVersionStatus(v string) *ImageVersion {
51428	s.ImageVersionStatus = &v
51429	return s
51430}
51431
51432// SetLastModifiedTime sets the LastModifiedTime field's value.
51433func (s *ImageVersion) SetLastModifiedTime(v time.Time) *ImageVersion {
51434	s.LastModifiedTime = &v
51435	return s
51436}
51437
51438// SetVersion sets the Version field's value.
51439func (s *ImageVersion) SetVersion(v int64) *ImageVersion {
51440	s.Version = &v
51441	return s
51442}
51443
51444// Specifies details about how containers in a multi-container endpoint are
51445// run.
51446type InferenceExecutionConfig struct {
51447	_ struct{} `type:"structure"`
51448
51449	// How containers in a multi-container are run. The following values are valid.
51450	//
51451	//    * SERIAL - Containers run as a serial pipeline.
51452	//
51453	//    * DIRECT - Only the individual container that you specify is run.
51454	//
51455	// Mode is a required field
51456	Mode *string `type:"string" required:"true" enum:"InferenceExecutionMode"`
51457}
51458
51459// String returns the string representation
51460func (s InferenceExecutionConfig) String() string {
51461	return awsutil.Prettify(s)
51462}
51463
51464// GoString returns the string representation
51465func (s InferenceExecutionConfig) GoString() string {
51466	return s.String()
51467}
51468
51469// Validate inspects the fields of the type to determine if they are valid.
51470func (s *InferenceExecutionConfig) Validate() error {
51471	invalidParams := request.ErrInvalidParams{Context: "InferenceExecutionConfig"}
51472	if s.Mode == nil {
51473		invalidParams.Add(request.NewErrParamRequired("Mode"))
51474	}
51475
51476	if invalidParams.Len() > 0 {
51477		return invalidParams
51478	}
51479	return nil
51480}
51481
51482// SetMode sets the Mode field's value.
51483func (s *InferenceExecutionConfig) SetMode(v string) *InferenceExecutionConfig {
51484	s.Mode = &v
51485	return s
51486}
51487
51488// Defines how to perform inference generation after a training job is run.
51489type InferenceSpecification struct {
51490	_ struct{} `type:"structure"`
51491
51492	// The Amazon ECR registry path of the Docker image that contains the inference
51493	// code.
51494	//
51495	// Containers is a required field
51496	Containers []*ModelPackageContainerDefinition `min:"1" type:"list" required:"true"`
51497
51498	// The supported MIME types for the input data.
51499	//
51500	// SupportedContentTypes is a required field
51501	SupportedContentTypes []*string `type:"list" required:"true"`
51502
51503	// A list of the instance types that are used to generate inferences in real-time.
51504	//
51505	// This parameter is required for unversioned models, and optional for versioned
51506	// models.
51507	SupportedRealtimeInferenceInstanceTypes []*string `type:"list"`
51508
51509	// The supported MIME types for the output data.
51510	//
51511	// SupportedResponseMIMETypes is a required field
51512	SupportedResponseMIMETypes []*string `type:"list" required:"true"`
51513
51514	// A list of the instance types on which a transformation job can be run or
51515	// on which an endpoint can be deployed.
51516	//
51517	// This parameter is required for unversioned models, and optional for versioned
51518	// models.
51519	SupportedTransformInstanceTypes []*string `min:"1" type:"list"`
51520}
51521
51522// String returns the string representation
51523func (s InferenceSpecification) String() string {
51524	return awsutil.Prettify(s)
51525}
51526
51527// GoString returns the string representation
51528func (s InferenceSpecification) GoString() string {
51529	return s.String()
51530}
51531
51532// Validate inspects the fields of the type to determine if they are valid.
51533func (s *InferenceSpecification) Validate() error {
51534	invalidParams := request.ErrInvalidParams{Context: "InferenceSpecification"}
51535	if s.Containers == nil {
51536		invalidParams.Add(request.NewErrParamRequired("Containers"))
51537	}
51538	if s.Containers != nil && len(s.Containers) < 1 {
51539		invalidParams.Add(request.NewErrParamMinLen("Containers", 1))
51540	}
51541	if s.SupportedContentTypes == nil {
51542		invalidParams.Add(request.NewErrParamRequired("SupportedContentTypes"))
51543	}
51544	if s.SupportedResponseMIMETypes == nil {
51545		invalidParams.Add(request.NewErrParamRequired("SupportedResponseMIMETypes"))
51546	}
51547	if s.SupportedTransformInstanceTypes != nil && len(s.SupportedTransformInstanceTypes) < 1 {
51548		invalidParams.Add(request.NewErrParamMinLen("SupportedTransformInstanceTypes", 1))
51549	}
51550	if s.Containers != nil {
51551		for i, v := range s.Containers {
51552			if v == nil {
51553				continue
51554			}
51555			if err := v.Validate(); err != nil {
51556				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Containers", i), err.(request.ErrInvalidParams))
51557			}
51558		}
51559	}
51560
51561	if invalidParams.Len() > 0 {
51562		return invalidParams
51563	}
51564	return nil
51565}
51566
51567// SetContainers sets the Containers field's value.
51568func (s *InferenceSpecification) SetContainers(v []*ModelPackageContainerDefinition) *InferenceSpecification {
51569	s.Containers = v
51570	return s
51571}
51572
51573// SetSupportedContentTypes sets the SupportedContentTypes field's value.
51574func (s *InferenceSpecification) SetSupportedContentTypes(v []*string) *InferenceSpecification {
51575	s.SupportedContentTypes = v
51576	return s
51577}
51578
51579// SetSupportedRealtimeInferenceInstanceTypes sets the SupportedRealtimeInferenceInstanceTypes field's value.
51580func (s *InferenceSpecification) SetSupportedRealtimeInferenceInstanceTypes(v []*string) *InferenceSpecification {
51581	s.SupportedRealtimeInferenceInstanceTypes = v
51582	return s
51583}
51584
51585// SetSupportedResponseMIMETypes sets the SupportedResponseMIMETypes field's value.
51586func (s *InferenceSpecification) SetSupportedResponseMIMETypes(v []*string) *InferenceSpecification {
51587	s.SupportedResponseMIMETypes = v
51588	return s
51589}
51590
51591// SetSupportedTransformInstanceTypes sets the SupportedTransformInstanceTypes field's value.
51592func (s *InferenceSpecification) SetSupportedTransformInstanceTypes(v []*string) *InferenceSpecification {
51593	s.SupportedTransformInstanceTypes = v
51594	return s
51595}
51596
51597// Contains information about the location of input model artifacts, the name
51598// and shape of the expected data inputs, and the framework in which the model
51599// was trained.
51600type InputConfig struct {
51601	_ struct{} `type:"structure"`
51602
51603	// Specifies the name and shape of the expected data inputs for your trained
51604	// model with a JSON dictionary form. The data inputs are InputConfig$Framework
51605	// specific.
51606	//
51607	//    * TensorFlow: You must specify the name and shape (NHWC format) of the
51608	//    expected data inputs using a dictionary format for your trained model.
51609	//    The dictionary formats required for the console and CLI are different.
51610	//    Examples for one input: If using the console, {"input":[1,1024,1024,3]}
51611	//    If using the CLI, {\"input\":[1,1024,1024,3]} Examples for two inputs:
51612	//    If using the console, {"data1": [1,28,28,1], "data2":[1,28,28,1]} If using
51613	//    the CLI, {\"data1\": [1,28,28,1], \"data2\":[1,28,28,1]}
51614	//
51615	//    * KERAS: You must specify the name and shape (NCHW format) of expected
51616	//    data inputs using a dictionary format for your trained model. Note that
51617	//    while Keras model artifacts should be uploaded in NHWC (channel-last)
51618	//    format, DataInputConfig should be specified in NCHW (channel-first) format.
51619	//    The dictionary formats required for the console and CLI are different.
51620	//    Examples for one input: If using the console, {"input_1":[1,3,224,224]}
51621	//    If using the CLI, {\"input_1\":[1,3,224,224]} Examples for two inputs:
51622	//    If using the console, {"input_1": [1,3,224,224], "input_2":[1,3,224,224]}
51623	//    If using the CLI, {\"input_1\": [1,3,224,224], \"input_2\":[1,3,224,224]}
51624	//
51625	//    * MXNET/ONNX/DARKNET: You must specify the name and shape (NCHW format)
51626	//    of the expected data inputs in order using a dictionary format for your
51627	//    trained model. The dictionary formats required for the console and CLI
51628	//    are different. Examples for one input: If using the console, {"data":[1,3,1024,1024]}
51629	//    If using the CLI, {\"data\":[1,3,1024,1024]} Examples for two inputs:
51630	//    If using the console, {"var1": [1,1,28,28], "var2":[1,1,28,28]} If using
51631	//    the CLI, {\"var1\": [1,1,28,28], \"var2\":[1,1,28,28]}
51632	//
51633	//    * PyTorch: You can either specify the name and shape (NCHW format) of
51634	//    expected data inputs in order using a dictionary format for your trained
51635	//    model or you can specify the shape only using a list format. The dictionary
51636	//    formats required for the console and CLI are different. The list formats
51637	//    for the console and CLI are the same. Examples for one input in dictionary
51638	//    format: If using the console, {"input0":[1,3,224,224]} If using the CLI,
51639	//    {\"input0\":[1,3,224,224]} Example for one input in list format: [[1,3,224,224]]
51640	//    Examples for two inputs in dictionary format: If using the console, {"input0":[1,3,224,224],
51641	//    "input1":[1,3,224,224]} If using the CLI, {\"input0\":[1,3,224,224], \"input1\":[1,3,224,224]}
51642	//    Example for two inputs in list format: [[1,3,224,224], [1,3,224,224]]
51643	//
51644	//    * XGBOOST: input data name and shape are not needed.
51645	//
51646	// DataInputConfig supports the following parameters for CoreML OutputConfig$TargetDevice
51647	// (ML Model format):
51648	//
51649	//    * shape: Input shape, for example {"input_1": {"shape": [1,224,224,3]}}.
51650	//    In addition to static input shapes, CoreML converter supports Flexible
51651	//    input shapes: Range Dimension. You can use the Range Dimension feature
51652	//    if you know the input shape will be within some specific interval in that
51653	//    dimension, for example: {"input_1": {"shape": ["1..10", 224, 224, 3]}}
51654	//    Enumerated shapes. Sometimes, the models are trained to work only on a
51655	//    select set of inputs. You can enumerate all supported input shapes, for
51656	//    example: {"input_1": {"shape": [[1, 224, 224, 3], [1, 160, 160, 3]]}}
51657	//
51658	//    * default_shape: Default input shape. You can set a default shape during
51659	//    conversion for both Range Dimension and Enumerated Shapes. For example
51660	//    {"input_1": {"shape": ["1..10", 224, 224, 3], "default_shape": [1, 224,
51661	//    224, 3]}}
51662	//
51663	//    * type: Input type. Allowed values: Image and Tensor. By default, the
51664	//    converter generates an ML Model with inputs of type Tensor (MultiArray).
51665	//    User can set input type to be Image. Image input type requires additional
51666	//    input parameters such as bias and scale.
51667	//
51668	//    * bias: If the input type is an Image, you need to provide the bias vector.
51669	//
51670	//    * scale: If the input type is an Image, you need to provide a scale factor.
51671	//
51672	// CoreML ClassifierConfig parameters can be specified using OutputConfig$CompilerOptions.
51673	// CoreML converter supports Tensorflow and PyTorch models. CoreML conversion
51674	// examples:
51675	//
51676	//    * Tensor type input: "DataInputConfig": {"input_1": {"shape": [[1,224,224,3],
51677	//    [1,160,160,3]], "default_shape": [1,224,224,3]}}
51678	//
51679	//    * Tensor type input without input name (PyTorch): "DataInputConfig": [{"shape":
51680	//    [[1,3,224,224], [1,3,160,160]], "default_shape": [1,3,224,224]}]
51681	//
51682	//    * Image type input: "DataInputConfig": {"input_1": {"shape": [[1,224,224,3],
51683	//    [1,160,160,3]], "default_shape": [1,224,224,3], "type": "Image", "bias":
51684	//    [-1,-1,-1], "scale": 0.007843137255}} "CompilerOptions": {"class_labels":
51685	//    "imagenet_labels_1000.txt"}
51686	//
51687	//    * Image type input without input name (PyTorch): "DataInputConfig": [{"shape":
51688	//    [[1,3,224,224], [1,3,160,160]], "default_shape": [1,3,224,224], "type":
51689	//    "Image", "bias": [-1,-1,-1], "scale": 0.007843137255}] "CompilerOptions":
51690	//    {"class_labels": "imagenet_labels_1000.txt"}
51691	//
51692	// Depending on the model format, DataInputConfig requires the following parameters
51693	// for ml_eia2 OutputConfig:TargetDevice (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OutputConfig.html#sagemaker-Type-OutputConfig-TargetDevice).
51694	//
51695	//    * For TensorFlow models saved in the SavedModel format, specify the input
51696	//    names from signature_def_key and the input model shapes for DataInputConfig.
51697	//    Specify the signature_def_key in OutputConfig:CompilerOptions (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OutputConfig.html#sagemaker-Type-OutputConfig-CompilerOptions)
51698	//    if the model does not use TensorFlow's default signature def key. For
51699	//    example: "DataInputConfig": {"inputs": [1, 224, 224, 3]} "CompilerOptions":
51700	//    {"signature_def_key": "serving_custom"}
51701	//
51702	//    * For TensorFlow models saved as a frozen graph, specify the input tensor
51703	//    names and shapes in DataInputConfig and the output tensor names for output_names
51704	//    in OutputConfig:CompilerOptions (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OutputConfig.html#sagemaker-Type-OutputConfig-CompilerOptions).
51705	//    For example: "DataInputConfig": {"input_tensor:0": [1, 224, 224, 3]} "CompilerOptions":
51706	//    {"output_names": ["output_tensor:0"]}
51707	//
51708	// DataInputConfig is a required field
51709	DataInputConfig *string `min:"1" type:"string" required:"true"`
51710
51711	// Identifies the framework in which the model was trained. For example: TENSORFLOW.
51712	//
51713	// Framework is a required field
51714	Framework *string `type:"string" required:"true" enum:"Framework"`
51715
51716	// Specifies the framework version to use.
51717	//
51718	// This API field is only supported for PyTorch framework versions 1.4, 1.5,
51719	// and 1.6 for cloud instance target devices: ml_c4, ml_c5, ml_m4, ml_m5, ml_p2,
51720	// ml_p3, and ml_g4dn.
51721	FrameworkVersion *string `min:"3" type:"string"`
51722
51723	// The S3 path where the model artifacts, which result from model training,
51724	// are stored. This path must point to a single gzip compressed tar archive
51725	// (.tar.gz suffix).
51726	//
51727	// S3Uri is a required field
51728	S3Uri *string `type:"string" required:"true"`
51729}
51730
51731// String returns the string representation
51732func (s InputConfig) String() string {
51733	return awsutil.Prettify(s)
51734}
51735
51736// GoString returns the string representation
51737func (s InputConfig) GoString() string {
51738	return s.String()
51739}
51740
51741// Validate inspects the fields of the type to determine if they are valid.
51742func (s *InputConfig) Validate() error {
51743	invalidParams := request.ErrInvalidParams{Context: "InputConfig"}
51744	if s.DataInputConfig == nil {
51745		invalidParams.Add(request.NewErrParamRequired("DataInputConfig"))
51746	}
51747	if s.DataInputConfig != nil && len(*s.DataInputConfig) < 1 {
51748		invalidParams.Add(request.NewErrParamMinLen("DataInputConfig", 1))
51749	}
51750	if s.Framework == nil {
51751		invalidParams.Add(request.NewErrParamRequired("Framework"))
51752	}
51753	if s.FrameworkVersion != nil && len(*s.FrameworkVersion) < 3 {
51754		invalidParams.Add(request.NewErrParamMinLen("FrameworkVersion", 3))
51755	}
51756	if s.S3Uri == nil {
51757		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
51758	}
51759
51760	if invalidParams.Len() > 0 {
51761		return invalidParams
51762	}
51763	return nil
51764}
51765
51766// SetDataInputConfig sets the DataInputConfig field's value.
51767func (s *InputConfig) SetDataInputConfig(v string) *InputConfig {
51768	s.DataInputConfig = &v
51769	return s
51770}
51771
51772// SetFramework sets the Framework field's value.
51773func (s *InputConfig) SetFramework(v string) *InputConfig {
51774	s.Framework = &v
51775	return s
51776}
51777
51778// SetFrameworkVersion sets the FrameworkVersion field's value.
51779func (s *InputConfig) SetFrameworkVersion(v string) *InputConfig {
51780	s.FrameworkVersion = &v
51781	return s
51782}
51783
51784// SetS3Uri sets the S3Uri field's value.
51785func (s *InputConfig) SetS3Uri(v string) *InputConfig {
51786	s.S3Uri = &v
51787	return s
51788}
51789
51790// For a hyperparameter of the integer type, specifies the range that a hyperparameter
51791// tuning job searches.
51792type IntegerParameterRange struct {
51793	_ struct{} `type:"structure"`
51794
51795	// The maximum value of the hyperparameter to search.
51796	//
51797	// MaxValue is a required field
51798	MaxValue *string `type:"string" required:"true"`
51799
51800	// The minimum value of the hyperparameter to search.
51801	//
51802	// MinValue is a required field
51803	MinValue *string `type:"string" required:"true"`
51804
51805	// The name of the hyperparameter to search.
51806	//
51807	// Name is a required field
51808	Name *string `type:"string" required:"true"`
51809
51810	// The scale that hyperparameter tuning uses to search the hyperparameter range.
51811	// For information about choosing a hyperparameter scale, see Hyperparameter
51812	// Scaling (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-ranges.html#scaling-type).
51813	// One of the following values:
51814	//
51815	// Auto
51816	//
51817	// Amazon SageMaker hyperparameter tuning chooses the best scale for the hyperparameter.
51818	//
51819	// Linear
51820	//
51821	// Hyperparameter tuning searches the values in the hyperparameter range by
51822	// using a linear scale.
51823	//
51824	// Logarithmic
51825	//
51826	// Hyperparameter tuning searches the values in the hyperparameter range by
51827	// using a logarithmic scale.
51828	//
51829	// Logarithmic scaling works only for ranges that have only values greater than
51830	// 0.
51831	ScalingType *string `type:"string" enum:"HyperParameterScalingType"`
51832}
51833
51834// String returns the string representation
51835func (s IntegerParameterRange) String() string {
51836	return awsutil.Prettify(s)
51837}
51838
51839// GoString returns the string representation
51840func (s IntegerParameterRange) GoString() string {
51841	return s.String()
51842}
51843
51844// Validate inspects the fields of the type to determine if they are valid.
51845func (s *IntegerParameterRange) Validate() error {
51846	invalidParams := request.ErrInvalidParams{Context: "IntegerParameterRange"}
51847	if s.MaxValue == nil {
51848		invalidParams.Add(request.NewErrParamRequired("MaxValue"))
51849	}
51850	if s.MinValue == nil {
51851		invalidParams.Add(request.NewErrParamRequired("MinValue"))
51852	}
51853	if s.Name == nil {
51854		invalidParams.Add(request.NewErrParamRequired("Name"))
51855	}
51856
51857	if invalidParams.Len() > 0 {
51858		return invalidParams
51859	}
51860	return nil
51861}
51862
51863// SetMaxValue sets the MaxValue field's value.
51864func (s *IntegerParameterRange) SetMaxValue(v string) *IntegerParameterRange {
51865	s.MaxValue = &v
51866	return s
51867}
51868
51869// SetMinValue sets the MinValue field's value.
51870func (s *IntegerParameterRange) SetMinValue(v string) *IntegerParameterRange {
51871	s.MinValue = &v
51872	return s
51873}
51874
51875// SetName sets the Name field's value.
51876func (s *IntegerParameterRange) SetName(v string) *IntegerParameterRange {
51877	s.Name = &v
51878	return s
51879}
51880
51881// SetScalingType sets the ScalingType field's value.
51882func (s *IntegerParameterRange) SetScalingType(v string) *IntegerParameterRange {
51883	s.ScalingType = &v
51884	return s
51885}
51886
51887// Defines the possible values for an integer hyperparameter.
51888type IntegerParameterRangeSpecification struct {
51889	_ struct{} `type:"structure"`
51890
51891	// The maximum integer value allowed.
51892	//
51893	// MaxValue is a required field
51894	MaxValue *string `type:"string" required:"true"`
51895
51896	// The minimum integer value allowed.
51897	//
51898	// MinValue is a required field
51899	MinValue *string `type:"string" required:"true"`
51900}
51901
51902// String returns the string representation
51903func (s IntegerParameterRangeSpecification) String() string {
51904	return awsutil.Prettify(s)
51905}
51906
51907// GoString returns the string representation
51908func (s IntegerParameterRangeSpecification) GoString() string {
51909	return s.String()
51910}
51911
51912// Validate inspects the fields of the type to determine if they are valid.
51913func (s *IntegerParameterRangeSpecification) Validate() error {
51914	invalidParams := request.ErrInvalidParams{Context: "IntegerParameterRangeSpecification"}
51915	if s.MaxValue == nil {
51916		invalidParams.Add(request.NewErrParamRequired("MaxValue"))
51917	}
51918	if s.MinValue == nil {
51919		invalidParams.Add(request.NewErrParamRequired("MinValue"))
51920	}
51921
51922	if invalidParams.Len() > 0 {
51923		return invalidParams
51924	}
51925	return nil
51926}
51927
51928// SetMaxValue sets the MaxValue field's value.
51929func (s *IntegerParameterRangeSpecification) SetMaxValue(v string) *IntegerParameterRangeSpecification {
51930	s.MaxValue = &v
51931	return s
51932}
51933
51934// SetMinValue sets the MinValue field's value.
51935func (s *IntegerParameterRangeSpecification) SetMinValue(v string) *IntegerParameterRangeSpecification {
51936	s.MinValue = &v
51937	return s
51938}
51939
51940// The JupyterServer app settings.
51941type JupyterServerAppSettings struct {
51942	_ struct{} `type:"structure"`
51943
51944	// The default instance type and the Amazon Resource Name (ARN) of the default
51945	// SageMaker image used by the JupyterServer app.
51946	DefaultResourceSpec *ResourceSpec `type:"structure"`
51947}
51948
51949// String returns the string representation
51950func (s JupyterServerAppSettings) String() string {
51951	return awsutil.Prettify(s)
51952}
51953
51954// GoString returns the string representation
51955func (s JupyterServerAppSettings) GoString() string {
51956	return s.String()
51957}
51958
51959// SetDefaultResourceSpec sets the DefaultResourceSpec field's value.
51960func (s *JupyterServerAppSettings) SetDefaultResourceSpec(v *ResourceSpec) *JupyterServerAppSettings {
51961	s.DefaultResourceSpec = v
51962	return s
51963}
51964
51965// The KernelGateway app settings.
51966type KernelGatewayAppSettings struct {
51967	_ struct{} `type:"structure"`
51968
51969	// A list of custom SageMaker images that are configured to run as a KernelGateway
51970	// app.
51971	CustomImages []*CustomImage `type:"list"`
51972
51973	// The default instance type and the Amazon Resource Name (ARN) of the default
51974	// SageMaker image used by the KernelGateway app.
51975	DefaultResourceSpec *ResourceSpec `type:"structure"`
51976}
51977
51978// String returns the string representation
51979func (s KernelGatewayAppSettings) String() string {
51980	return awsutil.Prettify(s)
51981}
51982
51983// GoString returns the string representation
51984func (s KernelGatewayAppSettings) GoString() string {
51985	return s.String()
51986}
51987
51988// Validate inspects the fields of the type to determine if they are valid.
51989func (s *KernelGatewayAppSettings) Validate() error {
51990	invalidParams := request.ErrInvalidParams{Context: "KernelGatewayAppSettings"}
51991	if s.CustomImages != nil {
51992		for i, v := range s.CustomImages {
51993			if v == nil {
51994				continue
51995			}
51996			if err := v.Validate(); err != nil {
51997				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CustomImages", i), err.(request.ErrInvalidParams))
51998			}
51999		}
52000	}
52001
52002	if invalidParams.Len() > 0 {
52003		return invalidParams
52004	}
52005	return nil
52006}
52007
52008// SetCustomImages sets the CustomImages field's value.
52009func (s *KernelGatewayAppSettings) SetCustomImages(v []*CustomImage) *KernelGatewayAppSettings {
52010	s.CustomImages = v
52011	return s
52012}
52013
52014// SetDefaultResourceSpec sets the DefaultResourceSpec field's value.
52015func (s *KernelGatewayAppSettings) SetDefaultResourceSpec(v *ResourceSpec) *KernelGatewayAppSettings {
52016	s.DefaultResourceSpec = v
52017	return s
52018}
52019
52020// The configuration for the file system and kernels in a SageMaker image running
52021// as a KernelGateway app.
52022type KernelGatewayImageConfig struct {
52023	_ struct{} `type:"structure"`
52024
52025	// The Amazon Elastic File System (EFS) storage configuration for a SageMaker
52026	// image.
52027	FileSystemConfig *FileSystemConfig `type:"structure"`
52028
52029	// The specification of the Jupyter kernels in the image.
52030	//
52031	// KernelSpecs is a required field
52032	KernelSpecs []*KernelSpec `min:"1" type:"list" required:"true"`
52033}
52034
52035// String returns the string representation
52036func (s KernelGatewayImageConfig) String() string {
52037	return awsutil.Prettify(s)
52038}
52039
52040// GoString returns the string representation
52041func (s KernelGatewayImageConfig) GoString() string {
52042	return s.String()
52043}
52044
52045// Validate inspects the fields of the type to determine if they are valid.
52046func (s *KernelGatewayImageConfig) Validate() error {
52047	invalidParams := request.ErrInvalidParams{Context: "KernelGatewayImageConfig"}
52048	if s.KernelSpecs == nil {
52049		invalidParams.Add(request.NewErrParamRequired("KernelSpecs"))
52050	}
52051	if s.KernelSpecs != nil && len(s.KernelSpecs) < 1 {
52052		invalidParams.Add(request.NewErrParamMinLen("KernelSpecs", 1))
52053	}
52054	if s.KernelSpecs != nil {
52055		for i, v := range s.KernelSpecs {
52056			if v == nil {
52057				continue
52058			}
52059			if err := v.Validate(); err != nil {
52060				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "KernelSpecs", i), err.(request.ErrInvalidParams))
52061			}
52062		}
52063	}
52064
52065	if invalidParams.Len() > 0 {
52066		return invalidParams
52067	}
52068	return nil
52069}
52070
52071// SetFileSystemConfig sets the FileSystemConfig field's value.
52072func (s *KernelGatewayImageConfig) SetFileSystemConfig(v *FileSystemConfig) *KernelGatewayImageConfig {
52073	s.FileSystemConfig = v
52074	return s
52075}
52076
52077// SetKernelSpecs sets the KernelSpecs field's value.
52078func (s *KernelGatewayImageConfig) SetKernelSpecs(v []*KernelSpec) *KernelGatewayImageConfig {
52079	s.KernelSpecs = v
52080	return s
52081}
52082
52083// The specification of a Jupyter kernel.
52084type KernelSpec struct {
52085	_ struct{} `type:"structure"`
52086
52087	// The display name of the kernel.
52088	DisplayName *string `type:"string"`
52089
52090	// The name of the kernel.
52091	//
52092	// Name is a required field
52093	Name *string `type:"string" required:"true"`
52094}
52095
52096// String returns the string representation
52097func (s KernelSpec) String() string {
52098	return awsutil.Prettify(s)
52099}
52100
52101// GoString returns the string representation
52102func (s KernelSpec) GoString() string {
52103	return s.String()
52104}
52105
52106// Validate inspects the fields of the type to determine if they are valid.
52107func (s *KernelSpec) Validate() error {
52108	invalidParams := request.ErrInvalidParams{Context: "KernelSpec"}
52109	if s.Name == nil {
52110		invalidParams.Add(request.NewErrParamRequired("Name"))
52111	}
52112
52113	if invalidParams.Len() > 0 {
52114		return invalidParams
52115	}
52116	return nil
52117}
52118
52119// SetDisplayName sets the DisplayName field's value.
52120func (s *KernelSpec) SetDisplayName(v string) *KernelSpec {
52121	s.DisplayName = &v
52122	return s
52123}
52124
52125// SetName sets the Name field's value.
52126func (s *KernelSpec) SetName(v string) *KernelSpec {
52127	s.Name = &v
52128	return s
52129}
52130
52131// Provides a breakdown of the number of objects labeled.
52132type LabelCounters struct {
52133	_ struct{} `type:"structure"`
52134
52135	// The total number of objects that could not be labeled due to an error.
52136	FailedNonRetryableError *int64 `type:"integer"`
52137
52138	// The total number of objects labeled by a human worker.
52139	HumanLabeled *int64 `type:"integer"`
52140
52141	// The total number of objects labeled by automated data labeling.
52142	MachineLabeled *int64 `type:"integer"`
52143
52144	// The total number of objects labeled.
52145	TotalLabeled *int64 `type:"integer"`
52146
52147	// The total number of objects not yet labeled.
52148	Unlabeled *int64 `type:"integer"`
52149}
52150
52151// String returns the string representation
52152func (s LabelCounters) String() string {
52153	return awsutil.Prettify(s)
52154}
52155
52156// GoString returns the string representation
52157func (s LabelCounters) GoString() string {
52158	return s.String()
52159}
52160
52161// SetFailedNonRetryableError sets the FailedNonRetryableError field's value.
52162func (s *LabelCounters) SetFailedNonRetryableError(v int64) *LabelCounters {
52163	s.FailedNonRetryableError = &v
52164	return s
52165}
52166
52167// SetHumanLabeled sets the HumanLabeled field's value.
52168func (s *LabelCounters) SetHumanLabeled(v int64) *LabelCounters {
52169	s.HumanLabeled = &v
52170	return s
52171}
52172
52173// SetMachineLabeled sets the MachineLabeled field's value.
52174func (s *LabelCounters) SetMachineLabeled(v int64) *LabelCounters {
52175	s.MachineLabeled = &v
52176	return s
52177}
52178
52179// SetTotalLabeled sets the TotalLabeled field's value.
52180func (s *LabelCounters) SetTotalLabeled(v int64) *LabelCounters {
52181	s.TotalLabeled = &v
52182	return s
52183}
52184
52185// SetUnlabeled sets the Unlabeled field's value.
52186func (s *LabelCounters) SetUnlabeled(v int64) *LabelCounters {
52187	s.Unlabeled = &v
52188	return s
52189}
52190
52191// Provides counts for human-labeled tasks in the labeling job.
52192type LabelCountersForWorkteam struct {
52193	_ struct{} `type:"structure"`
52194
52195	// The total number of data objects labeled by a human worker.
52196	HumanLabeled *int64 `type:"integer"`
52197
52198	// The total number of data objects that need to be labeled by a human worker.
52199	PendingHuman *int64 `type:"integer"`
52200
52201	// The total number of tasks in the labeling job.
52202	Total *int64 `type:"integer"`
52203}
52204
52205// String returns the string representation
52206func (s LabelCountersForWorkteam) String() string {
52207	return awsutil.Prettify(s)
52208}
52209
52210// GoString returns the string representation
52211func (s LabelCountersForWorkteam) GoString() string {
52212	return s.String()
52213}
52214
52215// SetHumanLabeled sets the HumanLabeled field's value.
52216func (s *LabelCountersForWorkteam) SetHumanLabeled(v int64) *LabelCountersForWorkteam {
52217	s.HumanLabeled = &v
52218	return s
52219}
52220
52221// SetPendingHuman sets the PendingHuman field's value.
52222func (s *LabelCountersForWorkteam) SetPendingHuman(v int64) *LabelCountersForWorkteam {
52223	s.PendingHuman = &v
52224	return s
52225}
52226
52227// SetTotal sets the Total field's value.
52228func (s *LabelCountersForWorkteam) SetTotal(v int64) *LabelCountersForWorkteam {
52229	s.Total = &v
52230	return s
52231}
52232
52233// Provides configuration information for auto-labeling of your data objects.
52234// A LabelingJobAlgorithmsConfig object must be supplied in order to use auto-labeling.
52235type LabelingJobAlgorithmsConfig struct {
52236	_ struct{} `type:"structure"`
52237
52238	// At the end of an auto-label job Ground Truth sends the Amazon Resource Name
52239	// (ARN) of the final model used for auto-labeling. You can use this model as
52240	// the starting point for subsequent similar jobs by providing the ARN of the
52241	// model here.
52242	InitialActiveLearningModelArn *string `min:"20" type:"string"`
52243
52244	// Specifies the Amazon Resource Name (ARN) of the algorithm used for auto-labeling.
52245	// You must select one of the following ARNs:
52246	//
52247	//    * Image classification arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/image-classification
52248	//
52249	//    * Text classification arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/text-classification
52250	//
52251	//    * Object detection arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/object-detection
52252	//
52253	//    * Semantic Segmentation arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/semantic-segmentation
52254	//
52255	// LabelingJobAlgorithmSpecificationArn is a required field
52256	LabelingJobAlgorithmSpecificationArn *string `type:"string" required:"true"`
52257
52258	// Provides configuration information for a labeling job.
52259	LabelingJobResourceConfig *LabelingJobResourceConfig `type:"structure"`
52260}
52261
52262// String returns the string representation
52263func (s LabelingJobAlgorithmsConfig) String() string {
52264	return awsutil.Prettify(s)
52265}
52266
52267// GoString returns the string representation
52268func (s LabelingJobAlgorithmsConfig) GoString() string {
52269	return s.String()
52270}
52271
52272// Validate inspects the fields of the type to determine if they are valid.
52273func (s *LabelingJobAlgorithmsConfig) Validate() error {
52274	invalidParams := request.ErrInvalidParams{Context: "LabelingJobAlgorithmsConfig"}
52275	if s.InitialActiveLearningModelArn != nil && len(*s.InitialActiveLearningModelArn) < 20 {
52276		invalidParams.Add(request.NewErrParamMinLen("InitialActiveLearningModelArn", 20))
52277	}
52278	if s.LabelingJobAlgorithmSpecificationArn == nil {
52279		invalidParams.Add(request.NewErrParamRequired("LabelingJobAlgorithmSpecificationArn"))
52280	}
52281
52282	if invalidParams.Len() > 0 {
52283		return invalidParams
52284	}
52285	return nil
52286}
52287
52288// SetInitialActiveLearningModelArn sets the InitialActiveLearningModelArn field's value.
52289func (s *LabelingJobAlgorithmsConfig) SetInitialActiveLearningModelArn(v string) *LabelingJobAlgorithmsConfig {
52290	s.InitialActiveLearningModelArn = &v
52291	return s
52292}
52293
52294// SetLabelingJobAlgorithmSpecificationArn sets the LabelingJobAlgorithmSpecificationArn field's value.
52295func (s *LabelingJobAlgorithmsConfig) SetLabelingJobAlgorithmSpecificationArn(v string) *LabelingJobAlgorithmsConfig {
52296	s.LabelingJobAlgorithmSpecificationArn = &v
52297	return s
52298}
52299
52300// SetLabelingJobResourceConfig sets the LabelingJobResourceConfig field's value.
52301func (s *LabelingJobAlgorithmsConfig) SetLabelingJobResourceConfig(v *LabelingJobResourceConfig) *LabelingJobAlgorithmsConfig {
52302	s.LabelingJobResourceConfig = v
52303	return s
52304}
52305
52306// Attributes of the data specified by the customer. Use these to describe the
52307// data to be labeled.
52308type LabelingJobDataAttributes struct {
52309	_ struct{} `type:"structure"`
52310
52311	// Declares that your content is free of personally identifiable information
52312	// or adult content. Amazon SageMaker may restrict the Amazon Mechanical Turk
52313	// workers that can view your task based on this information.
52314	ContentClassifiers []*string `type:"list"`
52315}
52316
52317// String returns the string representation
52318func (s LabelingJobDataAttributes) String() string {
52319	return awsutil.Prettify(s)
52320}
52321
52322// GoString returns the string representation
52323func (s LabelingJobDataAttributes) GoString() string {
52324	return s.String()
52325}
52326
52327// SetContentClassifiers sets the ContentClassifiers field's value.
52328func (s *LabelingJobDataAttributes) SetContentClassifiers(v []*string) *LabelingJobDataAttributes {
52329	s.ContentClassifiers = v
52330	return s
52331}
52332
52333// Provides information about the location of input data.
52334//
52335// You must specify at least one of the following: S3DataSource or SnsDataSource.
52336//
52337// Use SnsDataSource to specify an SNS input topic for a streaming labeling
52338// job. If you do not specify and SNS input topic ARN, Ground Truth will create
52339// a one-time labeling job.
52340//
52341// Use S3DataSource to specify an input manifest file for both streaming and
52342// one-time labeling jobs. Adding an S3DataSource is optional if you use SnsDataSource
52343// to create a streaming labeling job.
52344type LabelingJobDataSource struct {
52345	_ struct{} `type:"structure"`
52346
52347	// The Amazon S3 location of the input data objects.
52348	S3DataSource *LabelingJobS3DataSource `type:"structure"`
52349
52350	// An Amazon SNS data source used for streaming labeling jobs. To learn more,
52351	// see Send Data to a Streaming Labeling Job (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-streaming-labeling-job.html#sms-streaming-how-it-works-send-data).
52352	SnsDataSource *LabelingJobSnsDataSource `type:"structure"`
52353}
52354
52355// String returns the string representation
52356func (s LabelingJobDataSource) String() string {
52357	return awsutil.Prettify(s)
52358}
52359
52360// GoString returns the string representation
52361func (s LabelingJobDataSource) GoString() string {
52362	return s.String()
52363}
52364
52365// Validate inspects the fields of the type to determine if they are valid.
52366func (s *LabelingJobDataSource) Validate() error {
52367	invalidParams := request.ErrInvalidParams{Context: "LabelingJobDataSource"}
52368	if s.S3DataSource != nil {
52369		if err := s.S3DataSource.Validate(); err != nil {
52370			invalidParams.AddNested("S3DataSource", err.(request.ErrInvalidParams))
52371		}
52372	}
52373	if s.SnsDataSource != nil {
52374		if err := s.SnsDataSource.Validate(); err != nil {
52375			invalidParams.AddNested("SnsDataSource", err.(request.ErrInvalidParams))
52376		}
52377	}
52378
52379	if invalidParams.Len() > 0 {
52380		return invalidParams
52381	}
52382	return nil
52383}
52384
52385// SetS3DataSource sets the S3DataSource field's value.
52386func (s *LabelingJobDataSource) SetS3DataSource(v *LabelingJobS3DataSource) *LabelingJobDataSource {
52387	s.S3DataSource = v
52388	return s
52389}
52390
52391// SetSnsDataSource sets the SnsDataSource field's value.
52392func (s *LabelingJobDataSource) SetSnsDataSource(v *LabelingJobSnsDataSource) *LabelingJobDataSource {
52393	s.SnsDataSource = v
52394	return s
52395}
52396
52397// Provides summary information for a work team.
52398type LabelingJobForWorkteamSummary struct {
52399	_ struct{} `type:"structure"`
52400
52401	// The date and time that the labeling job was created.
52402	//
52403	// CreationTime is a required field
52404	CreationTime *time.Time `type:"timestamp" required:"true"`
52405
52406	// A unique identifier for a labeling job. You can use this to refer to a specific
52407	// labeling job.
52408	//
52409	// JobReferenceCode is a required field
52410	JobReferenceCode *string `min:"1" type:"string" required:"true"`
52411
52412	// Provides information about the progress of a labeling job.
52413	LabelCounters *LabelCountersForWorkteam `type:"structure"`
52414
52415	// The name of the labeling job that the work team is assigned to.
52416	LabelingJobName *string `min:"1" type:"string"`
52417
52418	// The configured number of workers per data object.
52419	NumberOfHumanWorkersPerDataObject *int64 `min:"1" type:"integer"`
52420
52421	// The AWS account ID of the account used to start the labeling job.
52422	//
52423	// WorkRequesterAccountId is a required field
52424	WorkRequesterAccountId *string `type:"string" required:"true"`
52425}
52426
52427// String returns the string representation
52428func (s LabelingJobForWorkteamSummary) String() string {
52429	return awsutil.Prettify(s)
52430}
52431
52432// GoString returns the string representation
52433func (s LabelingJobForWorkteamSummary) GoString() string {
52434	return s.String()
52435}
52436
52437// SetCreationTime sets the CreationTime field's value.
52438func (s *LabelingJobForWorkteamSummary) SetCreationTime(v time.Time) *LabelingJobForWorkteamSummary {
52439	s.CreationTime = &v
52440	return s
52441}
52442
52443// SetJobReferenceCode sets the JobReferenceCode field's value.
52444func (s *LabelingJobForWorkteamSummary) SetJobReferenceCode(v string) *LabelingJobForWorkteamSummary {
52445	s.JobReferenceCode = &v
52446	return s
52447}
52448
52449// SetLabelCounters sets the LabelCounters field's value.
52450func (s *LabelingJobForWorkteamSummary) SetLabelCounters(v *LabelCountersForWorkteam) *LabelingJobForWorkteamSummary {
52451	s.LabelCounters = v
52452	return s
52453}
52454
52455// SetLabelingJobName sets the LabelingJobName field's value.
52456func (s *LabelingJobForWorkteamSummary) SetLabelingJobName(v string) *LabelingJobForWorkteamSummary {
52457	s.LabelingJobName = &v
52458	return s
52459}
52460
52461// SetNumberOfHumanWorkersPerDataObject sets the NumberOfHumanWorkersPerDataObject field's value.
52462func (s *LabelingJobForWorkteamSummary) SetNumberOfHumanWorkersPerDataObject(v int64) *LabelingJobForWorkteamSummary {
52463	s.NumberOfHumanWorkersPerDataObject = &v
52464	return s
52465}
52466
52467// SetWorkRequesterAccountId sets the WorkRequesterAccountId field's value.
52468func (s *LabelingJobForWorkteamSummary) SetWorkRequesterAccountId(v string) *LabelingJobForWorkteamSummary {
52469	s.WorkRequesterAccountId = &v
52470	return s
52471}
52472
52473// Input configuration information for a labeling job.
52474type LabelingJobInputConfig struct {
52475	_ struct{} `type:"structure"`
52476
52477	// Attributes of the data specified by the customer.
52478	DataAttributes *LabelingJobDataAttributes `type:"structure"`
52479
52480	// The location of the input data.
52481	//
52482	// DataSource is a required field
52483	DataSource *LabelingJobDataSource `type:"structure" required:"true"`
52484}
52485
52486// String returns the string representation
52487func (s LabelingJobInputConfig) String() string {
52488	return awsutil.Prettify(s)
52489}
52490
52491// GoString returns the string representation
52492func (s LabelingJobInputConfig) GoString() string {
52493	return s.String()
52494}
52495
52496// Validate inspects the fields of the type to determine if they are valid.
52497func (s *LabelingJobInputConfig) Validate() error {
52498	invalidParams := request.ErrInvalidParams{Context: "LabelingJobInputConfig"}
52499	if s.DataSource == nil {
52500		invalidParams.Add(request.NewErrParamRequired("DataSource"))
52501	}
52502	if s.DataSource != nil {
52503		if err := s.DataSource.Validate(); err != nil {
52504			invalidParams.AddNested("DataSource", err.(request.ErrInvalidParams))
52505		}
52506	}
52507
52508	if invalidParams.Len() > 0 {
52509		return invalidParams
52510	}
52511	return nil
52512}
52513
52514// SetDataAttributes sets the DataAttributes field's value.
52515func (s *LabelingJobInputConfig) SetDataAttributes(v *LabelingJobDataAttributes) *LabelingJobInputConfig {
52516	s.DataAttributes = v
52517	return s
52518}
52519
52520// SetDataSource sets the DataSource field's value.
52521func (s *LabelingJobInputConfig) SetDataSource(v *LabelingJobDataSource) *LabelingJobInputConfig {
52522	s.DataSource = v
52523	return s
52524}
52525
52526// Specifies the location of the output produced by the labeling job.
52527type LabelingJobOutput struct {
52528	_ struct{} `type:"structure"`
52529
52530	// The Amazon Resource Name (ARN) for the most recent Amazon SageMaker model
52531	// trained as part of automated data labeling.
52532	FinalActiveLearningModelArn *string `min:"20" type:"string"`
52533
52534	// The Amazon S3 bucket location of the manifest file for labeled data.
52535	//
52536	// OutputDatasetS3Uri is a required field
52537	OutputDatasetS3Uri *string `type:"string" required:"true"`
52538}
52539
52540// String returns the string representation
52541func (s LabelingJobOutput) String() string {
52542	return awsutil.Prettify(s)
52543}
52544
52545// GoString returns the string representation
52546func (s LabelingJobOutput) GoString() string {
52547	return s.String()
52548}
52549
52550// SetFinalActiveLearningModelArn sets the FinalActiveLearningModelArn field's value.
52551func (s *LabelingJobOutput) SetFinalActiveLearningModelArn(v string) *LabelingJobOutput {
52552	s.FinalActiveLearningModelArn = &v
52553	return s
52554}
52555
52556// SetOutputDatasetS3Uri sets the OutputDatasetS3Uri field's value.
52557func (s *LabelingJobOutput) SetOutputDatasetS3Uri(v string) *LabelingJobOutput {
52558	s.OutputDatasetS3Uri = &v
52559	return s
52560}
52561
52562// Output configuration information for a labeling job.
52563type LabelingJobOutputConfig struct {
52564	_ struct{} `type:"structure"`
52565
52566	// The AWS Key Management Service ID of the key used to encrypt the output data,
52567	// if any.
52568	//
52569	// If you provide your own KMS key ID, you must add the required permissions
52570	// to your KMS key described in Encrypt Output Data and Storage Volume with
52571	// AWS KMS (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-security-permission.html#sms-security-kms-permissions).
52572	//
52573	// If you don't provide a KMS key ID, Amazon SageMaker uses the default AWS
52574	// KMS key for Amazon S3 for your role's account to encrypt your output data.
52575	//
52576	// If you use a bucket policy with an s3:PutObject permission that only allows
52577	// objects with server-side encryption, set the condition key of s3:x-amz-server-side-encryption
52578	// to "aws:kms". For more information, see KMS-Managed Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html)
52579	// in the Amazon Simple Storage Service Developer Guide.
52580	KmsKeyId *string `type:"string"`
52581
52582	// The Amazon S3 location to write output data.
52583	//
52584	// S3OutputPath is a required field
52585	S3OutputPath *string `type:"string" required:"true"`
52586
52587	// An Amazon Simple Notification Service (Amazon SNS) output topic ARN. Provide
52588	// a SnsTopicArn if you want to do real time chaining to another streaming job
52589	// and receive an Amazon SNS notifications each time a data object is submitted
52590	// by a worker.
52591	//
52592	// If you provide an SnsTopicArn in OutputConfig, when workers complete labeling
52593	// tasks, Ground Truth will send labeling task output data to the SNS output
52594	// topic you specify here.
52595	//
52596	// To learn more, see Receive Output Data from a Streaming Labeling Job (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-streaming-labeling-job.html#sms-streaming-how-it-works-output-data).
52597	SnsTopicArn *string `type:"string"`
52598}
52599
52600// String returns the string representation
52601func (s LabelingJobOutputConfig) String() string {
52602	return awsutil.Prettify(s)
52603}
52604
52605// GoString returns the string representation
52606func (s LabelingJobOutputConfig) GoString() string {
52607	return s.String()
52608}
52609
52610// Validate inspects the fields of the type to determine if they are valid.
52611func (s *LabelingJobOutputConfig) Validate() error {
52612	invalidParams := request.ErrInvalidParams{Context: "LabelingJobOutputConfig"}
52613	if s.S3OutputPath == nil {
52614		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
52615	}
52616
52617	if invalidParams.Len() > 0 {
52618		return invalidParams
52619	}
52620	return nil
52621}
52622
52623// SetKmsKeyId sets the KmsKeyId field's value.
52624func (s *LabelingJobOutputConfig) SetKmsKeyId(v string) *LabelingJobOutputConfig {
52625	s.KmsKeyId = &v
52626	return s
52627}
52628
52629// SetS3OutputPath sets the S3OutputPath field's value.
52630func (s *LabelingJobOutputConfig) SetS3OutputPath(v string) *LabelingJobOutputConfig {
52631	s.S3OutputPath = &v
52632	return s
52633}
52634
52635// SetSnsTopicArn sets the SnsTopicArn field's value.
52636func (s *LabelingJobOutputConfig) SetSnsTopicArn(v string) *LabelingJobOutputConfig {
52637	s.SnsTopicArn = &v
52638	return s
52639}
52640
52641// Configure encryption on the storage volume attached to the ML compute instance
52642// used to run automated data labeling model training and inference.
52643type LabelingJobResourceConfig struct {
52644	_ struct{} `type:"structure"`
52645
52646	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
52647	// encrypt data on the storage volume attached to the ML compute instance(s)
52648	// that run the training and inference jobs used for automated data labeling.
52649	//
52650	// You can only specify a VolumeKmsKeyId when you create a labeling job with
52651	// automated data labeling enabled using the API operation CreateLabelingJob.
52652	// You cannot specify an AWS KMS customer managed CMK to encrypt the storage
52653	// volume used for automated data labeling model training and inference when
52654	// you create a labeling job using the console. To learn more, see Output Data
52655	// and Storage Volume Encryption (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-security.html).
52656	//
52657	// The VolumeKmsKeyId can be any of the following formats:
52658	//
52659	//    * KMS Key ID "1234abcd-12ab-34cd-56ef-1234567890ab"
52660	//
52661	//    * Amazon Resource Name (ARN) of a KMS Key "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
52662	VolumeKmsKeyId *string `type:"string"`
52663}
52664
52665// String returns the string representation
52666func (s LabelingJobResourceConfig) String() string {
52667	return awsutil.Prettify(s)
52668}
52669
52670// GoString returns the string representation
52671func (s LabelingJobResourceConfig) GoString() string {
52672	return s.String()
52673}
52674
52675// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
52676func (s *LabelingJobResourceConfig) SetVolumeKmsKeyId(v string) *LabelingJobResourceConfig {
52677	s.VolumeKmsKeyId = &v
52678	return s
52679}
52680
52681// The Amazon S3 location of the input data objects.
52682type LabelingJobS3DataSource struct {
52683	_ struct{} `type:"structure"`
52684
52685	// The Amazon S3 location of the manifest file that describes the input data
52686	// objects.
52687	//
52688	// The input manifest file referenced in ManifestS3Uri must contain one of the
52689	// following keys: source-ref or source. The value of the keys are interpreted
52690	// as follows:
52691	//
52692	//    * source-ref: The source of the object is the Amazon S3 object specified
52693	//    in the value. Use this value when the object is a binary object, such
52694	//    as an image.
52695	//
52696	//    * source: The source of the object is the value. Use this value when the
52697	//    object is a text value.
52698	//
52699	// If you are a new user of Ground Truth, it is recommended you review Use an
52700	// Input Manifest File (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-input-data-input-manifest.html)
52701	// in the Amazon SageMaker Developer Guide to learn how to create an input manifest
52702	// file.
52703	//
52704	// ManifestS3Uri is a required field
52705	ManifestS3Uri *string `type:"string" required:"true"`
52706}
52707
52708// String returns the string representation
52709func (s LabelingJobS3DataSource) String() string {
52710	return awsutil.Prettify(s)
52711}
52712
52713// GoString returns the string representation
52714func (s LabelingJobS3DataSource) GoString() string {
52715	return s.String()
52716}
52717
52718// Validate inspects the fields of the type to determine if they are valid.
52719func (s *LabelingJobS3DataSource) Validate() error {
52720	invalidParams := request.ErrInvalidParams{Context: "LabelingJobS3DataSource"}
52721	if s.ManifestS3Uri == nil {
52722		invalidParams.Add(request.NewErrParamRequired("ManifestS3Uri"))
52723	}
52724
52725	if invalidParams.Len() > 0 {
52726		return invalidParams
52727	}
52728	return nil
52729}
52730
52731// SetManifestS3Uri sets the ManifestS3Uri field's value.
52732func (s *LabelingJobS3DataSource) SetManifestS3Uri(v string) *LabelingJobS3DataSource {
52733	s.ManifestS3Uri = &v
52734	return s
52735}
52736
52737// An Amazon SNS data source used for streaming labeling jobs.
52738type LabelingJobSnsDataSource struct {
52739	_ struct{} `type:"structure"`
52740
52741	// The Amazon SNS input topic Amazon Resource Name (ARN). Specify the ARN of
52742	// the input topic you will use to send new data objects to a streaming labeling
52743	// job.
52744	//
52745	// SnsTopicArn is a required field
52746	SnsTopicArn *string `type:"string" required:"true"`
52747}
52748
52749// String returns the string representation
52750func (s LabelingJobSnsDataSource) String() string {
52751	return awsutil.Prettify(s)
52752}
52753
52754// GoString returns the string representation
52755func (s LabelingJobSnsDataSource) GoString() string {
52756	return s.String()
52757}
52758
52759// Validate inspects the fields of the type to determine if they are valid.
52760func (s *LabelingJobSnsDataSource) Validate() error {
52761	invalidParams := request.ErrInvalidParams{Context: "LabelingJobSnsDataSource"}
52762	if s.SnsTopicArn == nil {
52763		invalidParams.Add(request.NewErrParamRequired("SnsTopicArn"))
52764	}
52765
52766	if invalidParams.Len() > 0 {
52767		return invalidParams
52768	}
52769	return nil
52770}
52771
52772// SetSnsTopicArn sets the SnsTopicArn field's value.
52773func (s *LabelingJobSnsDataSource) SetSnsTopicArn(v string) *LabelingJobSnsDataSource {
52774	s.SnsTopicArn = &v
52775	return s
52776}
52777
52778// A set of conditions for stopping a labeling job. If any of the conditions
52779// are met, the job is automatically stopped. You can use these conditions to
52780// control the cost of data labeling.
52781//
52782// Labeling jobs fail after 30 days with an appropriate client error message.
52783type LabelingJobStoppingConditions struct {
52784	_ struct{} `type:"structure"`
52785
52786	// The maximum number of objects that can be labeled by human workers.
52787	MaxHumanLabeledObjectCount *int64 `min:"1" type:"integer"`
52788
52789	// The maximum number of input data objects that should be labeled.
52790	MaxPercentageOfInputDatasetLabeled *int64 `min:"1" type:"integer"`
52791}
52792
52793// String returns the string representation
52794func (s LabelingJobStoppingConditions) String() string {
52795	return awsutil.Prettify(s)
52796}
52797
52798// GoString returns the string representation
52799func (s LabelingJobStoppingConditions) GoString() string {
52800	return s.String()
52801}
52802
52803// Validate inspects the fields of the type to determine if they are valid.
52804func (s *LabelingJobStoppingConditions) Validate() error {
52805	invalidParams := request.ErrInvalidParams{Context: "LabelingJobStoppingConditions"}
52806	if s.MaxHumanLabeledObjectCount != nil && *s.MaxHumanLabeledObjectCount < 1 {
52807		invalidParams.Add(request.NewErrParamMinValue("MaxHumanLabeledObjectCount", 1))
52808	}
52809	if s.MaxPercentageOfInputDatasetLabeled != nil && *s.MaxPercentageOfInputDatasetLabeled < 1 {
52810		invalidParams.Add(request.NewErrParamMinValue("MaxPercentageOfInputDatasetLabeled", 1))
52811	}
52812
52813	if invalidParams.Len() > 0 {
52814		return invalidParams
52815	}
52816	return nil
52817}
52818
52819// SetMaxHumanLabeledObjectCount sets the MaxHumanLabeledObjectCount field's value.
52820func (s *LabelingJobStoppingConditions) SetMaxHumanLabeledObjectCount(v int64) *LabelingJobStoppingConditions {
52821	s.MaxHumanLabeledObjectCount = &v
52822	return s
52823}
52824
52825// SetMaxPercentageOfInputDatasetLabeled sets the MaxPercentageOfInputDatasetLabeled field's value.
52826func (s *LabelingJobStoppingConditions) SetMaxPercentageOfInputDatasetLabeled(v int64) *LabelingJobStoppingConditions {
52827	s.MaxPercentageOfInputDatasetLabeled = &v
52828	return s
52829}
52830
52831// Provides summary information about a labeling job.
52832type LabelingJobSummary struct {
52833	_ struct{} `type:"structure"`
52834
52835	// The Amazon Resource Name (ARN) of the Lambda function used to consolidate
52836	// the annotations from individual workers into a label for a data object. For
52837	// more information, see Annotation Consolidation (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-annotation-consolidation.html).
52838	AnnotationConsolidationLambdaArn *string `type:"string"`
52839
52840	// The date and time that the job was created (timestamp).
52841	//
52842	// CreationTime is a required field
52843	CreationTime *time.Time `type:"timestamp" required:"true"`
52844
52845	// If the LabelingJobStatus field is Failed, this field contains a description
52846	// of the error.
52847	FailureReason *string `type:"string"`
52848
52849	// Input configuration for the labeling job.
52850	InputConfig *LabelingJobInputConfig `type:"structure"`
52851
52852	// Counts showing the progress of the labeling job.
52853	//
52854	// LabelCounters is a required field
52855	LabelCounters *LabelCounters `type:"structure" required:"true"`
52856
52857	// The Amazon Resource Name (ARN) assigned to the labeling job when it was created.
52858	//
52859	// LabelingJobArn is a required field
52860	LabelingJobArn *string `type:"string" required:"true"`
52861
52862	// The name of the labeling job.
52863	//
52864	// LabelingJobName is a required field
52865	LabelingJobName *string `min:"1" type:"string" required:"true"`
52866
52867	// The location of the output produced by the labeling job.
52868	LabelingJobOutput *LabelingJobOutput `type:"structure"`
52869
52870	// The current status of the labeling job.
52871	//
52872	// LabelingJobStatus is a required field
52873	LabelingJobStatus *string `type:"string" required:"true" enum:"LabelingJobStatus"`
52874
52875	// The date and time that the job was last modified (timestamp).
52876	//
52877	// LastModifiedTime is a required field
52878	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
52879
52880	// The Amazon Resource Name (ARN) of a Lambda function. The function is run
52881	// before each data object is sent to a worker.
52882	//
52883	// PreHumanTaskLambdaArn is a required field
52884	PreHumanTaskLambdaArn *string `type:"string" required:"true"`
52885
52886	// The Amazon Resource Name (ARN) of the work team assigned to the job.
52887	//
52888	// WorkteamArn is a required field
52889	WorkteamArn *string `type:"string" required:"true"`
52890}
52891
52892// String returns the string representation
52893func (s LabelingJobSummary) String() string {
52894	return awsutil.Prettify(s)
52895}
52896
52897// GoString returns the string representation
52898func (s LabelingJobSummary) GoString() string {
52899	return s.String()
52900}
52901
52902// SetAnnotationConsolidationLambdaArn sets the AnnotationConsolidationLambdaArn field's value.
52903func (s *LabelingJobSummary) SetAnnotationConsolidationLambdaArn(v string) *LabelingJobSummary {
52904	s.AnnotationConsolidationLambdaArn = &v
52905	return s
52906}
52907
52908// SetCreationTime sets the CreationTime field's value.
52909func (s *LabelingJobSummary) SetCreationTime(v time.Time) *LabelingJobSummary {
52910	s.CreationTime = &v
52911	return s
52912}
52913
52914// SetFailureReason sets the FailureReason field's value.
52915func (s *LabelingJobSummary) SetFailureReason(v string) *LabelingJobSummary {
52916	s.FailureReason = &v
52917	return s
52918}
52919
52920// SetInputConfig sets the InputConfig field's value.
52921func (s *LabelingJobSummary) SetInputConfig(v *LabelingJobInputConfig) *LabelingJobSummary {
52922	s.InputConfig = v
52923	return s
52924}
52925
52926// SetLabelCounters sets the LabelCounters field's value.
52927func (s *LabelingJobSummary) SetLabelCounters(v *LabelCounters) *LabelingJobSummary {
52928	s.LabelCounters = v
52929	return s
52930}
52931
52932// SetLabelingJobArn sets the LabelingJobArn field's value.
52933func (s *LabelingJobSummary) SetLabelingJobArn(v string) *LabelingJobSummary {
52934	s.LabelingJobArn = &v
52935	return s
52936}
52937
52938// SetLabelingJobName sets the LabelingJobName field's value.
52939func (s *LabelingJobSummary) SetLabelingJobName(v string) *LabelingJobSummary {
52940	s.LabelingJobName = &v
52941	return s
52942}
52943
52944// SetLabelingJobOutput sets the LabelingJobOutput field's value.
52945func (s *LabelingJobSummary) SetLabelingJobOutput(v *LabelingJobOutput) *LabelingJobSummary {
52946	s.LabelingJobOutput = v
52947	return s
52948}
52949
52950// SetLabelingJobStatus sets the LabelingJobStatus field's value.
52951func (s *LabelingJobSummary) SetLabelingJobStatus(v string) *LabelingJobSummary {
52952	s.LabelingJobStatus = &v
52953	return s
52954}
52955
52956// SetLastModifiedTime sets the LastModifiedTime field's value.
52957func (s *LabelingJobSummary) SetLastModifiedTime(v time.Time) *LabelingJobSummary {
52958	s.LastModifiedTime = &v
52959	return s
52960}
52961
52962// SetPreHumanTaskLambdaArn sets the PreHumanTaskLambdaArn field's value.
52963func (s *LabelingJobSummary) SetPreHumanTaskLambdaArn(v string) *LabelingJobSummary {
52964	s.PreHumanTaskLambdaArn = &v
52965	return s
52966}
52967
52968// SetWorkteamArn sets the WorkteamArn field's value.
52969func (s *LabelingJobSummary) SetWorkteamArn(v string) *LabelingJobSummary {
52970	s.WorkteamArn = &v
52971	return s
52972}
52973
52974type ListActionsInput struct {
52975	_ struct{} `type:"structure"`
52976
52977	// A filter that returns only actions of the specified type.
52978	ActionType *string `type:"string"`
52979
52980	// A filter that returns only actions created on or after the specified time.
52981	CreatedAfter *time.Time `type:"timestamp"`
52982
52983	// A filter that returns only actions created on or before the specified time.
52984	CreatedBefore *time.Time `type:"timestamp"`
52985
52986	// The maximum number of actions to return in the response. The default value
52987	// is 10.
52988	MaxResults *int64 `min:"1" type:"integer"`
52989
52990	// If the previous call to ListActions didn't return the full set of actions,
52991	// the call returns a token for getting the next set of actions.
52992	NextToken *string `type:"string"`
52993
52994	// The property used to sort results. The default value is CreationTime.
52995	SortBy *string `type:"string" enum:"SortActionsBy"`
52996
52997	// The sort order. The default value is Descending.
52998	SortOrder *string `type:"string" enum:"SortOrder"`
52999
53000	// A filter that returns only actions with the specified source URI.
53001	SourceUri *string `type:"string"`
53002}
53003
53004// String returns the string representation
53005func (s ListActionsInput) String() string {
53006	return awsutil.Prettify(s)
53007}
53008
53009// GoString returns the string representation
53010func (s ListActionsInput) GoString() string {
53011	return s.String()
53012}
53013
53014// Validate inspects the fields of the type to determine if they are valid.
53015func (s *ListActionsInput) Validate() error {
53016	invalidParams := request.ErrInvalidParams{Context: "ListActionsInput"}
53017	if s.MaxResults != nil && *s.MaxResults < 1 {
53018		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
53019	}
53020
53021	if invalidParams.Len() > 0 {
53022		return invalidParams
53023	}
53024	return nil
53025}
53026
53027// SetActionType sets the ActionType field's value.
53028func (s *ListActionsInput) SetActionType(v string) *ListActionsInput {
53029	s.ActionType = &v
53030	return s
53031}
53032
53033// SetCreatedAfter sets the CreatedAfter field's value.
53034func (s *ListActionsInput) SetCreatedAfter(v time.Time) *ListActionsInput {
53035	s.CreatedAfter = &v
53036	return s
53037}
53038
53039// SetCreatedBefore sets the CreatedBefore field's value.
53040func (s *ListActionsInput) SetCreatedBefore(v time.Time) *ListActionsInput {
53041	s.CreatedBefore = &v
53042	return s
53043}
53044
53045// SetMaxResults sets the MaxResults field's value.
53046func (s *ListActionsInput) SetMaxResults(v int64) *ListActionsInput {
53047	s.MaxResults = &v
53048	return s
53049}
53050
53051// SetNextToken sets the NextToken field's value.
53052func (s *ListActionsInput) SetNextToken(v string) *ListActionsInput {
53053	s.NextToken = &v
53054	return s
53055}
53056
53057// SetSortBy sets the SortBy field's value.
53058func (s *ListActionsInput) SetSortBy(v string) *ListActionsInput {
53059	s.SortBy = &v
53060	return s
53061}
53062
53063// SetSortOrder sets the SortOrder field's value.
53064func (s *ListActionsInput) SetSortOrder(v string) *ListActionsInput {
53065	s.SortOrder = &v
53066	return s
53067}
53068
53069// SetSourceUri sets the SourceUri field's value.
53070func (s *ListActionsInput) SetSourceUri(v string) *ListActionsInput {
53071	s.SourceUri = &v
53072	return s
53073}
53074
53075type ListActionsOutput struct {
53076	_ struct{} `type:"structure"`
53077
53078	// A list of actions and their properties.
53079	ActionSummaries []*ActionSummary `type:"list"`
53080
53081	// A token for getting the next set of actions, if there are any.
53082	NextToken *string `type:"string"`
53083}
53084
53085// String returns the string representation
53086func (s ListActionsOutput) String() string {
53087	return awsutil.Prettify(s)
53088}
53089
53090// GoString returns the string representation
53091func (s ListActionsOutput) GoString() string {
53092	return s.String()
53093}
53094
53095// SetActionSummaries sets the ActionSummaries field's value.
53096func (s *ListActionsOutput) SetActionSummaries(v []*ActionSummary) *ListActionsOutput {
53097	s.ActionSummaries = v
53098	return s
53099}
53100
53101// SetNextToken sets the NextToken field's value.
53102func (s *ListActionsOutput) SetNextToken(v string) *ListActionsOutput {
53103	s.NextToken = &v
53104	return s
53105}
53106
53107type ListAlgorithmsInput struct {
53108	_ struct{} `type:"structure"`
53109
53110	// A filter that returns only algorithms created after the specified time (timestamp).
53111	CreationTimeAfter *time.Time `type:"timestamp"`
53112
53113	// A filter that returns only algorithms created before the specified time (timestamp).
53114	CreationTimeBefore *time.Time `type:"timestamp"`
53115
53116	// The maximum number of algorithms to return in the response.
53117	MaxResults *int64 `min:"1" type:"integer"`
53118
53119	// A string in the algorithm name. This filter returns only algorithms whose
53120	// name contains the specified string.
53121	NameContains *string `type:"string"`
53122
53123	// If the response to a previous ListAlgorithms request was truncated, the response
53124	// includes a NextToken. To retrieve the next set of algorithms, use the token
53125	// in the next request.
53126	NextToken *string `type:"string"`
53127
53128	// The parameter by which to sort the results. The default is CreationTime.
53129	SortBy *string `type:"string" enum:"AlgorithmSortBy"`
53130
53131	// The sort order for the results. The default is Ascending.
53132	SortOrder *string `type:"string" enum:"SortOrder"`
53133}
53134
53135// String returns the string representation
53136func (s ListAlgorithmsInput) String() string {
53137	return awsutil.Prettify(s)
53138}
53139
53140// GoString returns the string representation
53141func (s ListAlgorithmsInput) GoString() string {
53142	return s.String()
53143}
53144
53145// Validate inspects the fields of the type to determine if they are valid.
53146func (s *ListAlgorithmsInput) Validate() error {
53147	invalidParams := request.ErrInvalidParams{Context: "ListAlgorithmsInput"}
53148	if s.MaxResults != nil && *s.MaxResults < 1 {
53149		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
53150	}
53151
53152	if invalidParams.Len() > 0 {
53153		return invalidParams
53154	}
53155	return nil
53156}
53157
53158// SetCreationTimeAfter sets the CreationTimeAfter field's value.
53159func (s *ListAlgorithmsInput) SetCreationTimeAfter(v time.Time) *ListAlgorithmsInput {
53160	s.CreationTimeAfter = &v
53161	return s
53162}
53163
53164// SetCreationTimeBefore sets the CreationTimeBefore field's value.
53165func (s *ListAlgorithmsInput) SetCreationTimeBefore(v time.Time) *ListAlgorithmsInput {
53166	s.CreationTimeBefore = &v
53167	return s
53168}
53169
53170// SetMaxResults sets the MaxResults field's value.
53171func (s *ListAlgorithmsInput) SetMaxResults(v int64) *ListAlgorithmsInput {
53172	s.MaxResults = &v
53173	return s
53174}
53175
53176// SetNameContains sets the NameContains field's value.
53177func (s *ListAlgorithmsInput) SetNameContains(v string) *ListAlgorithmsInput {
53178	s.NameContains = &v
53179	return s
53180}
53181
53182// SetNextToken sets the NextToken field's value.
53183func (s *ListAlgorithmsInput) SetNextToken(v string) *ListAlgorithmsInput {
53184	s.NextToken = &v
53185	return s
53186}
53187
53188// SetSortBy sets the SortBy field's value.
53189func (s *ListAlgorithmsInput) SetSortBy(v string) *ListAlgorithmsInput {
53190	s.SortBy = &v
53191	return s
53192}
53193
53194// SetSortOrder sets the SortOrder field's value.
53195func (s *ListAlgorithmsInput) SetSortOrder(v string) *ListAlgorithmsInput {
53196	s.SortOrder = &v
53197	return s
53198}
53199
53200type ListAlgorithmsOutput struct {
53201	_ struct{} `type:"structure"`
53202
53203	// >An array of AlgorithmSummary objects, each of which lists an algorithm.
53204	//
53205	// AlgorithmSummaryList is a required field
53206	AlgorithmSummaryList []*AlgorithmSummary `type:"list" required:"true"`
53207
53208	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
53209	// the next set of algorithms, use it in the subsequent request.
53210	NextToken *string `type:"string"`
53211}
53212
53213// String returns the string representation
53214func (s ListAlgorithmsOutput) String() string {
53215	return awsutil.Prettify(s)
53216}
53217
53218// GoString returns the string representation
53219func (s ListAlgorithmsOutput) GoString() string {
53220	return s.String()
53221}
53222
53223// SetAlgorithmSummaryList sets the AlgorithmSummaryList field's value.
53224func (s *ListAlgorithmsOutput) SetAlgorithmSummaryList(v []*AlgorithmSummary) *ListAlgorithmsOutput {
53225	s.AlgorithmSummaryList = v
53226	return s
53227}
53228
53229// SetNextToken sets the NextToken field's value.
53230func (s *ListAlgorithmsOutput) SetNextToken(v string) *ListAlgorithmsOutput {
53231	s.NextToken = &v
53232	return s
53233}
53234
53235type ListAppImageConfigsInput struct {
53236	_ struct{} `type:"structure"`
53237
53238	// A filter that returns only AppImageConfigs created on or after the specified
53239	// time.
53240	CreationTimeAfter *time.Time `type:"timestamp"`
53241
53242	// A filter that returns only AppImageConfigs created on or before the specified
53243	// time.
53244	CreationTimeBefore *time.Time `type:"timestamp"`
53245
53246	// The maximum number of AppImageConfigs to return in the response. The default
53247	// value is 10.
53248	MaxResults *int64 `min:"1" type:"integer"`
53249
53250	// A filter that returns only AppImageConfigs modified on or after the specified
53251	// time.
53252	ModifiedTimeAfter *time.Time `type:"timestamp"`
53253
53254	// A filter that returns only AppImageConfigs modified on or before the specified
53255	// time.
53256	ModifiedTimeBefore *time.Time `type:"timestamp"`
53257
53258	// A filter that returns only AppImageConfigs whose name contains the specified
53259	// string.
53260	NameContains *string `type:"string"`
53261
53262	// If the previous call to ListImages didn't return the full set of AppImageConfigs,
53263	// the call returns a token for getting the next set of AppImageConfigs.
53264	NextToken *string `type:"string"`
53265
53266	// The property used to sort results. The default value is CreationTime.
53267	SortBy *string `type:"string" enum:"AppImageConfigSortKey"`
53268
53269	// The sort order. The default value is Descending.
53270	SortOrder *string `type:"string" enum:"SortOrder"`
53271}
53272
53273// String returns the string representation
53274func (s ListAppImageConfigsInput) String() string {
53275	return awsutil.Prettify(s)
53276}
53277
53278// GoString returns the string representation
53279func (s ListAppImageConfigsInput) GoString() string {
53280	return s.String()
53281}
53282
53283// Validate inspects the fields of the type to determine if they are valid.
53284func (s *ListAppImageConfigsInput) Validate() error {
53285	invalidParams := request.ErrInvalidParams{Context: "ListAppImageConfigsInput"}
53286	if s.MaxResults != nil && *s.MaxResults < 1 {
53287		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
53288	}
53289
53290	if invalidParams.Len() > 0 {
53291		return invalidParams
53292	}
53293	return nil
53294}
53295
53296// SetCreationTimeAfter sets the CreationTimeAfter field's value.
53297func (s *ListAppImageConfigsInput) SetCreationTimeAfter(v time.Time) *ListAppImageConfigsInput {
53298	s.CreationTimeAfter = &v
53299	return s
53300}
53301
53302// SetCreationTimeBefore sets the CreationTimeBefore field's value.
53303func (s *ListAppImageConfigsInput) SetCreationTimeBefore(v time.Time) *ListAppImageConfigsInput {
53304	s.CreationTimeBefore = &v
53305	return s
53306}
53307
53308// SetMaxResults sets the MaxResults field's value.
53309func (s *ListAppImageConfigsInput) SetMaxResults(v int64) *ListAppImageConfigsInput {
53310	s.MaxResults = &v
53311	return s
53312}
53313
53314// SetModifiedTimeAfter sets the ModifiedTimeAfter field's value.
53315func (s *ListAppImageConfigsInput) SetModifiedTimeAfter(v time.Time) *ListAppImageConfigsInput {
53316	s.ModifiedTimeAfter = &v
53317	return s
53318}
53319
53320// SetModifiedTimeBefore sets the ModifiedTimeBefore field's value.
53321func (s *ListAppImageConfigsInput) SetModifiedTimeBefore(v time.Time) *ListAppImageConfigsInput {
53322	s.ModifiedTimeBefore = &v
53323	return s
53324}
53325
53326// SetNameContains sets the NameContains field's value.
53327func (s *ListAppImageConfigsInput) SetNameContains(v string) *ListAppImageConfigsInput {
53328	s.NameContains = &v
53329	return s
53330}
53331
53332// SetNextToken sets the NextToken field's value.
53333func (s *ListAppImageConfigsInput) SetNextToken(v string) *ListAppImageConfigsInput {
53334	s.NextToken = &v
53335	return s
53336}
53337
53338// SetSortBy sets the SortBy field's value.
53339func (s *ListAppImageConfigsInput) SetSortBy(v string) *ListAppImageConfigsInput {
53340	s.SortBy = &v
53341	return s
53342}
53343
53344// SetSortOrder sets the SortOrder field's value.
53345func (s *ListAppImageConfigsInput) SetSortOrder(v string) *ListAppImageConfigsInput {
53346	s.SortOrder = &v
53347	return s
53348}
53349
53350type ListAppImageConfigsOutput struct {
53351	_ struct{} `type:"structure"`
53352
53353	// A list of AppImageConfigs and their properties.
53354	AppImageConfigs []*AppImageConfigDetails `type:"list"`
53355
53356	// A token for getting the next set of AppImageConfigs, if there are any.
53357	NextToken *string `type:"string"`
53358}
53359
53360// String returns the string representation
53361func (s ListAppImageConfigsOutput) String() string {
53362	return awsutil.Prettify(s)
53363}
53364
53365// GoString returns the string representation
53366func (s ListAppImageConfigsOutput) GoString() string {
53367	return s.String()
53368}
53369
53370// SetAppImageConfigs sets the AppImageConfigs field's value.
53371func (s *ListAppImageConfigsOutput) SetAppImageConfigs(v []*AppImageConfigDetails) *ListAppImageConfigsOutput {
53372	s.AppImageConfigs = v
53373	return s
53374}
53375
53376// SetNextToken sets the NextToken field's value.
53377func (s *ListAppImageConfigsOutput) SetNextToken(v string) *ListAppImageConfigsOutput {
53378	s.NextToken = &v
53379	return s
53380}
53381
53382type ListAppsInput struct {
53383	_ struct{} `type:"structure"`
53384
53385	// A parameter to search for the domain ID.
53386	DomainIdEquals *string `type:"string"`
53387
53388	// Returns a list up to a specified limit.
53389	MaxResults *int64 `min:"1" type:"integer"`
53390
53391	// If the previous response was truncated, you will receive this token. Use
53392	// it in your next request to receive the next set of results.
53393	NextToken *string `type:"string"`
53394
53395	// The parameter by which to sort the results. The default is CreationTime.
53396	SortBy *string `type:"string" enum:"AppSortKey"`
53397
53398	// The sort order for the results. The default is Ascending.
53399	SortOrder *string `type:"string" enum:"SortOrder"`
53400
53401	// A parameter to search by user profile name.
53402	UserProfileNameEquals *string `type:"string"`
53403}
53404
53405// String returns the string representation
53406func (s ListAppsInput) String() string {
53407	return awsutil.Prettify(s)
53408}
53409
53410// GoString returns the string representation
53411func (s ListAppsInput) GoString() string {
53412	return s.String()
53413}
53414
53415// Validate inspects the fields of the type to determine if they are valid.
53416func (s *ListAppsInput) Validate() error {
53417	invalidParams := request.ErrInvalidParams{Context: "ListAppsInput"}
53418	if s.MaxResults != nil && *s.MaxResults < 1 {
53419		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
53420	}
53421
53422	if invalidParams.Len() > 0 {
53423		return invalidParams
53424	}
53425	return nil
53426}
53427
53428// SetDomainIdEquals sets the DomainIdEquals field's value.
53429func (s *ListAppsInput) SetDomainIdEquals(v string) *ListAppsInput {
53430	s.DomainIdEquals = &v
53431	return s
53432}
53433
53434// SetMaxResults sets the MaxResults field's value.
53435func (s *ListAppsInput) SetMaxResults(v int64) *ListAppsInput {
53436	s.MaxResults = &v
53437	return s
53438}
53439
53440// SetNextToken sets the NextToken field's value.
53441func (s *ListAppsInput) SetNextToken(v string) *ListAppsInput {
53442	s.NextToken = &v
53443	return s
53444}
53445
53446// SetSortBy sets the SortBy field's value.
53447func (s *ListAppsInput) SetSortBy(v string) *ListAppsInput {
53448	s.SortBy = &v
53449	return s
53450}
53451
53452// SetSortOrder sets the SortOrder field's value.
53453func (s *ListAppsInput) SetSortOrder(v string) *ListAppsInput {
53454	s.SortOrder = &v
53455	return s
53456}
53457
53458// SetUserProfileNameEquals sets the UserProfileNameEquals field's value.
53459func (s *ListAppsInput) SetUserProfileNameEquals(v string) *ListAppsInput {
53460	s.UserProfileNameEquals = &v
53461	return s
53462}
53463
53464type ListAppsOutput struct {
53465	_ struct{} `type:"structure"`
53466
53467	// The list of apps.
53468	Apps []*AppDetails `type:"list"`
53469
53470	// If the previous response was truncated, you will receive this token. Use
53471	// it in your next request to receive the next set of results.
53472	NextToken *string `type:"string"`
53473}
53474
53475// String returns the string representation
53476func (s ListAppsOutput) String() string {
53477	return awsutil.Prettify(s)
53478}
53479
53480// GoString returns the string representation
53481func (s ListAppsOutput) GoString() string {
53482	return s.String()
53483}
53484
53485// SetApps sets the Apps field's value.
53486func (s *ListAppsOutput) SetApps(v []*AppDetails) *ListAppsOutput {
53487	s.Apps = v
53488	return s
53489}
53490
53491// SetNextToken sets the NextToken field's value.
53492func (s *ListAppsOutput) SetNextToken(v string) *ListAppsOutput {
53493	s.NextToken = &v
53494	return s
53495}
53496
53497type ListArtifactsInput struct {
53498	_ struct{} `type:"structure"`
53499
53500	// A filter that returns only artifacts of the specified type.
53501	ArtifactType *string `type:"string"`
53502
53503	// A filter that returns only artifacts created on or after the specified time.
53504	CreatedAfter *time.Time `type:"timestamp"`
53505
53506	// A filter that returns only artifacts created on or before the specified time.
53507	CreatedBefore *time.Time `type:"timestamp"`
53508
53509	// The maximum number of artifacts to return in the response. The default value
53510	// is 10.
53511	MaxResults *int64 `min:"1" type:"integer"`
53512
53513	// If the previous call to ListArtifacts didn't return the full set of artifacts,
53514	// the call returns a token for getting the next set of artifacts.
53515	NextToken *string `type:"string"`
53516
53517	// The property used to sort results. The default value is CreationTime.
53518	SortBy *string `type:"string" enum:"SortArtifactsBy"`
53519
53520	// The sort order. The default value is Descending.
53521	SortOrder *string `type:"string" enum:"SortOrder"`
53522
53523	// A filter that returns only artifacts with the specified source URI.
53524	SourceUri *string `type:"string"`
53525}
53526
53527// String returns the string representation
53528func (s ListArtifactsInput) String() string {
53529	return awsutil.Prettify(s)
53530}
53531
53532// GoString returns the string representation
53533func (s ListArtifactsInput) GoString() string {
53534	return s.String()
53535}
53536
53537// Validate inspects the fields of the type to determine if they are valid.
53538func (s *ListArtifactsInput) Validate() error {
53539	invalidParams := request.ErrInvalidParams{Context: "ListArtifactsInput"}
53540	if s.MaxResults != nil && *s.MaxResults < 1 {
53541		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
53542	}
53543
53544	if invalidParams.Len() > 0 {
53545		return invalidParams
53546	}
53547	return nil
53548}
53549
53550// SetArtifactType sets the ArtifactType field's value.
53551func (s *ListArtifactsInput) SetArtifactType(v string) *ListArtifactsInput {
53552	s.ArtifactType = &v
53553	return s
53554}
53555
53556// SetCreatedAfter sets the CreatedAfter field's value.
53557func (s *ListArtifactsInput) SetCreatedAfter(v time.Time) *ListArtifactsInput {
53558	s.CreatedAfter = &v
53559	return s
53560}
53561
53562// SetCreatedBefore sets the CreatedBefore field's value.
53563func (s *ListArtifactsInput) SetCreatedBefore(v time.Time) *ListArtifactsInput {
53564	s.CreatedBefore = &v
53565	return s
53566}
53567
53568// SetMaxResults sets the MaxResults field's value.
53569func (s *ListArtifactsInput) SetMaxResults(v int64) *ListArtifactsInput {
53570	s.MaxResults = &v
53571	return s
53572}
53573
53574// SetNextToken sets the NextToken field's value.
53575func (s *ListArtifactsInput) SetNextToken(v string) *ListArtifactsInput {
53576	s.NextToken = &v
53577	return s
53578}
53579
53580// SetSortBy sets the SortBy field's value.
53581func (s *ListArtifactsInput) SetSortBy(v string) *ListArtifactsInput {
53582	s.SortBy = &v
53583	return s
53584}
53585
53586// SetSortOrder sets the SortOrder field's value.
53587func (s *ListArtifactsInput) SetSortOrder(v string) *ListArtifactsInput {
53588	s.SortOrder = &v
53589	return s
53590}
53591
53592// SetSourceUri sets the SourceUri field's value.
53593func (s *ListArtifactsInput) SetSourceUri(v string) *ListArtifactsInput {
53594	s.SourceUri = &v
53595	return s
53596}
53597
53598type ListArtifactsOutput struct {
53599	_ struct{} `type:"structure"`
53600
53601	// A list of artifacts and their properties.
53602	ArtifactSummaries []*ArtifactSummary `type:"list"`
53603
53604	// A token for getting the next set of artifacts, if there are any.
53605	NextToken *string `type:"string"`
53606}
53607
53608// String returns the string representation
53609func (s ListArtifactsOutput) String() string {
53610	return awsutil.Prettify(s)
53611}
53612
53613// GoString returns the string representation
53614func (s ListArtifactsOutput) GoString() string {
53615	return s.String()
53616}
53617
53618// SetArtifactSummaries sets the ArtifactSummaries field's value.
53619func (s *ListArtifactsOutput) SetArtifactSummaries(v []*ArtifactSummary) *ListArtifactsOutput {
53620	s.ArtifactSummaries = v
53621	return s
53622}
53623
53624// SetNextToken sets the NextToken field's value.
53625func (s *ListArtifactsOutput) SetNextToken(v string) *ListArtifactsOutput {
53626	s.NextToken = &v
53627	return s
53628}
53629
53630type ListAssociationsInput struct {
53631	_ struct{} `type:"structure"`
53632
53633	// A filter that returns only associations of the specified type.
53634	AssociationType *string `type:"string" enum:"AssociationEdgeType"`
53635
53636	// A filter that returns only associations created on or after the specified
53637	// time.
53638	CreatedAfter *time.Time `type:"timestamp"`
53639
53640	// A filter that returns only associations created on or before the specified
53641	// time.
53642	CreatedBefore *time.Time `type:"timestamp"`
53643
53644	// A filter that returns only associations with the specified destination Amazon
53645	// Resource Name (ARN).
53646	DestinationArn *string `type:"string"`
53647
53648	// A filter that returns only associations with the specified destination type.
53649	DestinationType *string `type:"string"`
53650
53651	// The maximum number of associations to return in the response. The default
53652	// value is 10.
53653	MaxResults *int64 `min:"1" type:"integer"`
53654
53655	// If the previous call to ListAssociations didn't return the full set of associations,
53656	// the call returns a token for getting the next set of associations.
53657	NextToken *string `type:"string"`
53658
53659	// The property used to sort results. The default value is CreationTime.
53660	SortBy *string `type:"string" enum:"SortAssociationsBy"`
53661
53662	// The sort order. The default value is Descending.
53663	SortOrder *string `type:"string" enum:"SortOrder"`
53664
53665	// A filter that returns only associations with the specified source ARN.
53666	SourceArn *string `type:"string"`
53667
53668	// A filter that returns only associations with the specified source type.
53669	SourceType *string `type:"string"`
53670}
53671
53672// String returns the string representation
53673func (s ListAssociationsInput) String() string {
53674	return awsutil.Prettify(s)
53675}
53676
53677// GoString returns the string representation
53678func (s ListAssociationsInput) GoString() string {
53679	return s.String()
53680}
53681
53682// Validate inspects the fields of the type to determine if they are valid.
53683func (s *ListAssociationsInput) Validate() error {
53684	invalidParams := request.ErrInvalidParams{Context: "ListAssociationsInput"}
53685	if s.MaxResults != nil && *s.MaxResults < 1 {
53686		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
53687	}
53688
53689	if invalidParams.Len() > 0 {
53690		return invalidParams
53691	}
53692	return nil
53693}
53694
53695// SetAssociationType sets the AssociationType field's value.
53696func (s *ListAssociationsInput) SetAssociationType(v string) *ListAssociationsInput {
53697	s.AssociationType = &v
53698	return s
53699}
53700
53701// SetCreatedAfter sets the CreatedAfter field's value.
53702func (s *ListAssociationsInput) SetCreatedAfter(v time.Time) *ListAssociationsInput {
53703	s.CreatedAfter = &v
53704	return s
53705}
53706
53707// SetCreatedBefore sets the CreatedBefore field's value.
53708func (s *ListAssociationsInput) SetCreatedBefore(v time.Time) *ListAssociationsInput {
53709	s.CreatedBefore = &v
53710	return s
53711}
53712
53713// SetDestinationArn sets the DestinationArn field's value.
53714func (s *ListAssociationsInput) SetDestinationArn(v string) *ListAssociationsInput {
53715	s.DestinationArn = &v
53716	return s
53717}
53718
53719// SetDestinationType sets the DestinationType field's value.
53720func (s *ListAssociationsInput) SetDestinationType(v string) *ListAssociationsInput {
53721	s.DestinationType = &v
53722	return s
53723}
53724
53725// SetMaxResults sets the MaxResults field's value.
53726func (s *ListAssociationsInput) SetMaxResults(v int64) *ListAssociationsInput {
53727	s.MaxResults = &v
53728	return s
53729}
53730
53731// SetNextToken sets the NextToken field's value.
53732func (s *ListAssociationsInput) SetNextToken(v string) *ListAssociationsInput {
53733	s.NextToken = &v
53734	return s
53735}
53736
53737// SetSortBy sets the SortBy field's value.
53738func (s *ListAssociationsInput) SetSortBy(v string) *ListAssociationsInput {
53739	s.SortBy = &v
53740	return s
53741}
53742
53743// SetSortOrder sets the SortOrder field's value.
53744func (s *ListAssociationsInput) SetSortOrder(v string) *ListAssociationsInput {
53745	s.SortOrder = &v
53746	return s
53747}
53748
53749// SetSourceArn sets the SourceArn field's value.
53750func (s *ListAssociationsInput) SetSourceArn(v string) *ListAssociationsInput {
53751	s.SourceArn = &v
53752	return s
53753}
53754
53755// SetSourceType sets the SourceType field's value.
53756func (s *ListAssociationsInput) SetSourceType(v string) *ListAssociationsInput {
53757	s.SourceType = &v
53758	return s
53759}
53760
53761type ListAssociationsOutput struct {
53762	_ struct{} `type:"structure"`
53763
53764	// A list of associations and their properties.
53765	AssociationSummaries []*AssociationSummary `type:"list"`
53766
53767	// A token for getting the next set of associations, if there are any.
53768	NextToken *string `type:"string"`
53769}
53770
53771// String returns the string representation
53772func (s ListAssociationsOutput) String() string {
53773	return awsutil.Prettify(s)
53774}
53775
53776// GoString returns the string representation
53777func (s ListAssociationsOutput) GoString() string {
53778	return s.String()
53779}
53780
53781// SetAssociationSummaries sets the AssociationSummaries field's value.
53782func (s *ListAssociationsOutput) SetAssociationSummaries(v []*AssociationSummary) *ListAssociationsOutput {
53783	s.AssociationSummaries = v
53784	return s
53785}
53786
53787// SetNextToken sets the NextToken field's value.
53788func (s *ListAssociationsOutput) SetNextToken(v string) *ListAssociationsOutput {
53789	s.NextToken = &v
53790	return s
53791}
53792
53793type ListAutoMLJobsInput struct {
53794	_ struct{} `type:"structure"`
53795
53796	// Request a list of jobs, using a filter for time.
53797	CreationTimeAfter *time.Time `type:"timestamp"`
53798
53799	// Request a list of jobs, using a filter for time.
53800	CreationTimeBefore *time.Time `type:"timestamp"`
53801
53802	// Request a list of jobs, using a filter for time.
53803	LastModifiedTimeAfter *time.Time `type:"timestamp"`
53804
53805	// Request a list of jobs, using a filter for time.
53806	LastModifiedTimeBefore *time.Time `type:"timestamp"`
53807
53808	// Request a list of jobs up to a specified limit.
53809	MaxResults *int64 `min:"1" type:"integer"`
53810
53811	// Request a list of jobs, using a search filter for name.
53812	NameContains *string `type:"string"`
53813
53814	// If the previous response was truncated, you receive this token. Use it in
53815	// your next request to receive the next set of results.
53816	NextToken *string `type:"string"`
53817
53818	// The parameter by which to sort the results. The default is Name.
53819	SortBy *string `type:"string" enum:"AutoMLSortBy"`
53820
53821	// The sort order for the results. The default is Descending.
53822	SortOrder *string `type:"string" enum:"AutoMLSortOrder"`
53823
53824	// Request a list of jobs, using a filter for status.
53825	StatusEquals *string `type:"string" enum:"AutoMLJobStatus"`
53826}
53827
53828// String returns the string representation
53829func (s ListAutoMLJobsInput) String() string {
53830	return awsutil.Prettify(s)
53831}
53832
53833// GoString returns the string representation
53834func (s ListAutoMLJobsInput) GoString() string {
53835	return s.String()
53836}
53837
53838// Validate inspects the fields of the type to determine if they are valid.
53839func (s *ListAutoMLJobsInput) Validate() error {
53840	invalidParams := request.ErrInvalidParams{Context: "ListAutoMLJobsInput"}
53841	if s.MaxResults != nil && *s.MaxResults < 1 {
53842		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
53843	}
53844
53845	if invalidParams.Len() > 0 {
53846		return invalidParams
53847	}
53848	return nil
53849}
53850
53851// SetCreationTimeAfter sets the CreationTimeAfter field's value.
53852func (s *ListAutoMLJobsInput) SetCreationTimeAfter(v time.Time) *ListAutoMLJobsInput {
53853	s.CreationTimeAfter = &v
53854	return s
53855}
53856
53857// SetCreationTimeBefore sets the CreationTimeBefore field's value.
53858func (s *ListAutoMLJobsInput) SetCreationTimeBefore(v time.Time) *ListAutoMLJobsInput {
53859	s.CreationTimeBefore = &v
53860	return s
53861}
53862
53863// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
53864func (s *ListAutoMLJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListAutoMLJobsInput {
53865	s.LastModifiedTimeAfter = &v
53866	return s
53867}
53868
53869// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
53870func (s *ListAutoMLJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListAutoMLJobsInput {
53871	s.LastModifiedTimeBefore = &v
53872	return s
53873}
53874
53875// SetMaxResults sets the MaxResults field's value.
53876func (s *ListAutoMLJobsInput) SetMaxResults(v int64) *ListAutoMLJobsInput {
53877	s.MaxResults = &v
53878	return s
53879}
53880
53881// SetNameContains sets the NameContains field's value.
53882func (s *ListAutoMLJobsInput) SetNameContains(v string) *ListAutoMLJobsInput {
53883	s.NameContains = &v
53884	return s
53885}
53886
53887// SetNextToken sets the NextToken field's value.
53888func (s *ListAutoMLJobsInput) SetNextToken(v string) *ListAutoMLJobsInput {
53889	s.NextToken = &v
53890	return s
53891}
53892
53893// SetSortBy sets the SortBy field's value.
53894func (s *ListAutoMLJobsInput) SetSortBy(v string) *ListAutoMLJobsInput {
53895	s.SortBy = &v
53896	return s
53897}
53898
53899// SetSortOrder sets the SortOrder field's value.
53900func (s *ListAutoMLJobsInput) SetSortOrder(v string) *ListAutoMLJobsInput {
53901	s.SortOrder = &v
53902	return s
53903}
53904
53905// SetStatusEquals sets the StatusEquals field's value.
53906func (s *ListAutoMLJobsInput) SetStatusEquals(v string) *ListAutoMLJobsInput {
53907	s.StatusEquals = &v
53908	return s
53909}
53910
53911type ListAutoMLJobsOutput struct {
53912	_ struct{} `type:"structure"`
53913
53914	// Returns a summary list of jobs.
53915	//
53916	// AutoMLJobSummaries is a required field
53917	AutoMLJobSummaries []*AutoMLJobSummary `type:"list" required:"true"`
53918
53919	// If the previous response was truncated, you receive this token. Use it in
53920	// your next request to receive the next set of results.
53921	NextToken *string `type:"string"`
53922}
53923
53924// String returns the string representation
53925func (s ListAutoMLJobsOutput) String() string {
53926	return awsutil.Prettify(s)
53927}
53928
53929// GoString returns the string representation
53930func (s ListAutoMLJobsOutput) GoString() string {
53931	return s.String()
53932}
53933
53934// SetAutoMLJobSummaries sets the AutoMLJobSummaries field's value.
53935func (s *ListAutoMLJobsOutput) SetAutoMLJobSummaries(v []*AutoMLJobSummary) *ListAutoMLJobsOutput {
53936	s.AutoMLJobSummaries = v
53937	return s
53938}
53939
53940// SetNextToken sets the NextToken field's value.
53941func (s *ListAutoMLJobsOutput) SetNextToken(v string) *ListAutoMLJobsOutput {
53942	s.NextToken = &v
53943	return s
53944}
53945
53946type ListCandidatesForAutoMLJobInput struct {
53947	_ struct{} `type:"structure"`
53948
53949	// List the candidates created for the job by providing the job's name.
53950	//
53951	// AutoMLJobName is a required field
53952	AutoMLJobName *string `min:"1" type:"string" required:"true"`
53953
53954	// List the candidates for the job and filter by candidate name.
53955	CandidateNameEquals *string `min:"1" type:"string"`
53956
53957	// List the job's candidates up to a specified limit.
53958	MaxResults *int64 `min:"1" type:"integer"`
53959
53960	// If the previous response was truncated, you receive this token. Use it in
53961	// your next request to receive the next set of results.
53962	NextToken *string `type:"string"`
53963
53964	// The parameter by which to sort the results. The default is Descending.
53965	SortBy *string `type:"string" enum:"CandidateSortBy"`
53966
53967	// The sort order for the results. The default is Ascending.
53968	SortOrder *string `type:"string" enum:"AutoMLSortOrder"`
53969
53970	// List the candidates for the job and filter by status.
53971	StatusEquals *string `type:"string" enum:"CandidateStatus"`
53972}
53973
53974// String returns the string representation
53975func (s ListCandidatesForAutoMLJobInput) String() string {
53976	return awsutil.Prettify(s)
53977}
53978
53979// GoString returns the string representation
53980func (s ListCandidatesForAutoMLJobInput) GoString() string {
53981	return s.String()
53982}
53983
53984// Validate inspects the fields of the type to determine if they are valid.
53985func (s *ListCandidatesForAutoMLJobInput) Validate() error {
53986	invalidParams := request.ErrInvalidParams{Context: "ListCandidatesForAutoMLJobInput"}
53987	if s.AutoMLJobName == nil {
53988		invalidParams.Add(request.NewErrParamRequired("AutoMLJobName"))
53989	}
53990	if s.AutoMLJobName != nil && len(*s.AutoMLJobName) < 1 {
53991		invalidParams.Add(request.NewErrParamMinLen("AutoMLJobName", 1))
53992	}
53993	if s.CandidateNameEquals != nil && len(*s.CandidateNameEquals) < 1 {
53994		invalidParams.Add(request.NewErrParamMinLen("CandidateNameEquals", 1))
53995	}
53996	if s.MaxResults != nil && *s.MaxResults < 1 {
53997		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
53998	}
53999
54000	if invalidParams.Len() > 0 {
54001		return invalidParams
54002	}
54003	return nil
54004}
54005
54006// SetAutoMLJobName sets the AutoMLJobName field's value.
54007func (s *ListCandidatesForAutoMLJobInput) SetAutoMLJobName(v string) *ListCandidatesForAutoMLJobInput {
54008	s.AutoMLJobName = &v
54009	return s
54010}
54011
54012// SetCandidateNameEquals sets the CandidateNameEquals field's value.
54013func (s *ListCandidatesForAutoMLJobInput) SetCandidateNameEquals(v string) *ListCandidatesForAutoMLJobInput {
54014	s.CandidateNameEquals = &v
54015	return s
54016}
54017
54018// SetMaxResults sets the MaxResults field's value.
54019func (s *ListCandidatesForAutoMLJobInput) SetMaxResults(v int64) *ListCandidatesForAutoMLJobInput {
54020	s.MaxResults = &v
54021	return s
54022}
54023
54024// SetNextToken sets the NextToken field's value.
54025func (s *ListCandidatesForAutoMLJobInput) SetNextToken(v string) *ListCandidatesForAutoMLJobInput {
54026	s.NextToken = &v
54027	return s
54028}
54029
54030// SetSortBy sets the SortBy field's value.
54031func (s *ListCandidatesForAutoMLJobInput) SetSortBy(v string) *ListCandidatesForAutoMLJobInput {
54032	s.SortBy = &v
54033	return s
54034}
54035
54036// SetSortOrder sets the SortOrder field's value.
54037func (s *ListCandidatesForAutoMLJobInput) SetSortOrder(v string) *ListCandidatesForAutoMLJobInput {
54038	s.SortOrder = &v
54039	return s
54040}
54041
54042// SetStatusEquals sets the StatusEquals field's value.
54043func (s *ListCandidatesForAutoMLJobInput) SetStatusEquals(v string) *ListCandidatesForAutoMLJobInput {
54044	s.StatusEquals = &v
54045	return s
54046}
54047
54048type ListCandidatesForAutoMLJobOutput struct {
54049	_ struct{} `type:"structure"`
54050
54051	// Summaries about the AutoMLCandidates.
54052	//
54053	// Candidates is a required field
54054	Candidates []*AutoMLCandidate `type:"list" required:"true"`
54055
54056	// If the previous response was truncated, you receive this token. Use it in
54057	// your next request to receive the next set of results.
54058	NextToken *string `type:"string"`
54059}
54060
54061// String returns the string representation
54062func (s ListCandidatesForAutoMLJobOutput) String() string {
54063	return awsutil.Prettify(s)
54064}
54065
54066// GoString returns the string representation
54067func (s ListCandidatesForAutoMLJobOutput) GoString() string {
54068	return s.String()
54069}
54070
54071// SetCandidates sets the Candidates field's value.
54072func (s *ListCandidatesForAutoMLJobOutput) SetCandidates(v []*AutoMLCandidate) *ListCandidatesForAutoMLJobOutput {
54073	s.Candidates = v
54074	return s
54075}
54076
54077// SetNextToken sets the NextToken field's value.
54078func (s *ListCandidatesForAutoMLJobOutput) SetNextToken(v string) *ListCandidatesForAutoMLJobOutput {
54079	s.NextToken = &v
54080	return s
54081}
54082
54083type ListCodeRepositoriesInput struct {
54084	_ struct{} `type:"structure"`
54085
54086	// A filter that returns only Git repositories that were created after the specified
54087	// time.
54088	CreationTimeAfter *time.Time `type:"timestamp"`
54089
54090	// A filter that returns only Git repositories that were created before the
54091	// specified time.
54092	CreationTimeBefore *time.Time `type:"timestamp"`
54093
54094	// A filter that returns only Git repositories that were last modified after
54095	// the specified time.
54096	LastModifiedTimeAfter *time.Time `type:"timestamp"`
54097
54098	// A filter that returns only Git repositories that were last modified before
54099	// the specified time.
54100	LastModifiedTimeBefore *time.Time `type:"timestamp"`
54101
54102	// The maximum number of Git repositories to return in the response.
54103	MaxResults *int64 `min:"1" type:"integer"`
54104
54105	// A string in the Git repositories name. This filter returns only repositories
54106	// whose name contains the specified string.
54107	NameContains *string `type:"string"`
54108
54109	// If the result of a ListCodeRepositoriesOutput request was truncated, the
54110	// response includes a NextToken. To get the next set of Git repositories, use
54111	// the token in the next request.
54112	NextToken *string `type:"string"`
54113
54114	// The field to sort results by. The default is Name.
54115	SortBy *string `type:"string" enum:"CodeRepositorySortBy"`
54116
54117	// The sort order for results. The default is Ascending.
54118	SortOrder *string `type:"string" enum:"CodeRepositorySortOrder"`
54119}
54120
54121// String returns the string representation
54122func (s ListCodeRepositoriesInput) String() string {
54123	return awsutil.Prettify(s)
54124}
54125
54126// GoString returns the string representation
54127func (s ListCodeRepositoriesInput) GoString() string {
54128	return s.String()
54129}
54130
54131// Validate inspects the fields of the type to determine if they are valid.
54132func (s *ListCodeRepositoriesInput) Validate() error {
54133	invalidParams := request.ErrInvalidParams{Context: "ListCodeRepositoriesInput"}
54134	if s.MaxResults != nil && *s.MaxResults < 1 {
54135		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
54136	}
54137
54138	if invalidParams.Len() > 0 {
54139		return invalidParams
54140	}
54141	return nil
54142}
54143
54144// SetCreationTimeAfter sets the CreationTimeAfter field's value.
54145func (s *ListCodeRepositoriesInput) SetCreationTimeAfter(v time.Time) *ListCodeRepositoriesInput {
54146	s.CreationTimeAfter = &v
54147	return s
54148}
54149
54150// SetCreationTimeBefore sets the CreationTimeBefore field's value.
54151func (s *ListCodeRepositoriesInput) SetCreationTimeBefore(v time.Time) *ListCodeRepositoriesInput {
54152	s.CreationTimeBefore = &v
54153	return s
54154}
54155
54156// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
54157func (s *ListCodeRepositoriesInput) SetLastModifiedTimeAfter(v time.Time) *ListCodeRepositoriesInput {
54158	s.LastModifiedTimeAfter = &v
54159	return s
54160}
54161
54162// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
54163func (s *ListCodeRepositoriesInput) SetLastModifiedTimeBefore(v time.Time) *ListCodeRepositoriesInput {
54164	s.LastModifiedTimeBefore = &v
54165	return s
54166}
54167
54168// SetMaxResults sets the MaxResults field's value.
54169func (s *ListCodeRepositoriesInput) SetMaxResults(v int64) *ListCodeRepositoriesInput {
54170	s.MaxResults = &v
54171	return s
54172}
54173
54174// SetNameContains sets the NameContains field's value.
54175func (s *ListCodeRepositoriesInput) SetNameContains(v string) *ListCodeRepositoriesInput {
54176	s.NameContains = &v
54177	return s
54178}
54179
54180// SetNextToken sets the NextToken field's value.
54181func (s *ListCodeRepositoriesInput) SetNextToken(v string) *ListCodeRepositoriesInput {
54182	s.NextToken = &v
54183	return s
54184}
54185
54186// SetSortBy sets the SortBy field's value.
54187func (s *ListCodeRepositoriesInput) SetSortBy(v string) *ListCodeRepositoriesInput {
54188	s.SortBy = &v
54189	return s
54190}
54191
54192// SetSortOrder sets the SortOrder field's value.
54193func (s *ListCodeRepositoriesInput) SetSortOrder(v string) *ListCodeRepositoriesInput {
54194	s.SortOrder = &v
54195	return s
54196}
54197
54198type ListCodeRepositoriesOutput struct {
54199	_ struct{} `type:"structure"`
54200
54201	// Gets a list of summaries of the Git repositories. Each summary specifies
54202	// the following values for the repository:
54203	//
54204	//    * Name
54205	//
54206	//    * Amazon Resource Name (ARN)
54207	//
54208	//    * Creation time
54209	//
54210	//    * Last modified time
54211	//
54212	//    * Configuration information, including the URL location of the repository
54213	//    and the ARN of the AWS Secrets Manager secret that contains the credentials
54214	//    used to access the repository.
54215	//
54216	// CodeRepositorySummaryList is a required field
54217	CodeRepositorySummaryList []*CodeRepositorySummary `type:"list" required:"true"`
54218
54219	// If the result of a ListCodeRepositoriesOutput request was truncated, the
54220	// response includes a NextToken. To get the next set of Git repositories, use
54221	// the token in the next request.
54222	NextToken *string `type:"string"`
54223}
54224
54225// String returns the string representation
54226func (s ListCodeRepositoriesOutput) String() string {
54227	return awsutil.Prettify(s)
54228}
54229
54230// GoString returns the string representation
54231func (s ListCodeRepositoriesOutput) GoString() string {
54232	return s.String()
54233}
54234
54235// SetCodeRepositorySummaryList sets the CodeRepositorySummaryList field's value.
54236func (s *ListCodeRepositoriesOutput) SetCodeRepositorySummaryList(v []*CodeRepositorySummary) *ListCodeRepositoriesOutput {
54237	s.CodeRepositorySummaryList = v
54238	return s
54239}
54240
54241// SetNextToken sets the NextToken field's value.
54242func (s *ListCodeRepositoriesOutput) SetNextToken(v string) *ListCodeRepositoriesOutput {
54243	s.NextToken = &v
54244	return s
54245}
54246
54247type ListCompilationJobsInput struct {
54248	_ struct{} `type:"structure"`
54249
54250	// A filter that returns the model compilation jobs that were created after
54251	// a specified time.
54252	CreationTimeAfter *time.Time `type:"timestamp"`
54253
54254	// A filter that returns the model compilation jobs that were created before
54255	// a specified time.
54256	CreationTimeBefore *time.Time `type:"timestamp"`
54257
54258	// A filter that returns the model compilation jobs that were modified after
54259	// a specified time.
54260	LastModifiedTimeAfter *time.Time `type:"timestamp"`
54261
54262	// A filter that returns the model compilation jobs that were modified before
54263	// a specified time.
54264	LastModifiedTimeBefore *time.Time `type:"timestamp"`
54265
54266	// The maximum number of model compilation jobs to return in the response.
54267	MaxResults *int64 `min:"1" type:"integer"`
54268
54269	// A filter that returns the model compilation jobs whose name contains a specified
54270	// string.
54271	NameContains *string `type:"string"`
54272
54273	// If the result of the previous ListCompilationJobs request was truncated,
54274	// the response includes a NextToken. To retrieve the next set of model compilation
54275	// jobs, use the token in the next request.
54276	NextToken *string `type:"string"`
54277
54278	// The field by which to sort results. The default is CreationTime.
54279	SortBy *string `type:"string" enum:"ListCompilationJobsSortBy"`
54280
54281	// The sort order for results. The default is Ascending.
54282	SortOrder *string `type:"string" enum:"SortOrder"`
54283
54284	// A filter that retrieves model compilation jobs with a specific DescribeCompilationJobResponse$CompilationJobStatus
54285	// status.
54286	StatusEquals *string `type:"string" enum:"CompilationJobStatus"`
54287}
54288
54289// String returns the string representation
54290func (s ListCompilationJobsInput) String() string {
54291	return awsutil.Prettify(s)
54292}
54293
54294// GoString returns the string representation
54295func (s ListCompilationJobsInput) GoString() string {
54296	return s.String()
54297}
54298
54299// Validate inspects the fields of the type to determine if they are valid.
54300func (s *ListCompilationJobsInput) Validate() error {
54301	invalidParams := request.ErrInvalidParams{Context: "ListCompilationJobsInput"}
54302	if s.MaxResults != nil && *s.MaxResults < 1 {
54303		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
54304	}
54305
54306	if invalidParams.Len() > 0 {
54307		return invalidParams
54308	}
54309	return nil
54310}
54311
54312// SetCreationTimeAfter sets the CreationTimeAfter field's value.
54313func (s *ListCompilationJobsInput) SetCreationTimeAfter(v time.Time) *ListCompilationJobsInput {
54314	s.CreationTimeAfter = &v
54315	return s
54316}
54317
54318// SetCreationTimeBefore sets the CreationTimeBefore field's value.
54319func (s *ListCompilationJobsInput) SetCreationTimeBefore(v time.Time) *ListCompilationJobsInput {
54320	s.CreationTimeBefore = &v
54321	return s
54322}
54323
54324// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
54325func (s *ListCompilationJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListCompilationJobsInput {
54326	s.LastModifiedTimeAfter = &v
54327	return s
54328}
54329
54330// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
54331func (s *ListCompilationJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListCompilationJobsInput {
54332	s.LastModifiedTimeBefore = &v
54333	return s
54334}
54335
54336// SetMaxResults sets the MaxResults field's value.
54337func (s *ListCompilationJobsInput) SetMaxResults(v int64) *ListCompilationJobsInput {
54338	s.MaxResults = &v
54339	return s
54340}
54341
54342// SetNameContains sets the NameContains field's value.
54343func (s *ListCompilationJobsInput) SetNameContains(v string) *ListCompilationJobsInput {
54344	s.NameContains = &v
54345	return s
54346}
54347
54348// SetNextToken sets the NextToken field's value.
54349func (s *ListCompilationJobsInput) SetNextToken(v string) *ListCompilationJobsInput {
54350	s.NextToken = &v
54351	return s
54352}
54353
54354// SetSortBy sets the SortBy field's value.
54355func (s *ListCompilationJobsInput) SetSortBy(v string) *ListCompilationJobsInput {
54356	s.SortBy = &v
54357	return s
54358}
54359
54360// SetSortOrder sets the SortOrder field's value.
54361func (s *ListCompilationJobsInput) SetSortOrder(v string) *ListCompilationJobsInput {
54362	s.SortOrder = &v
54363	return s
54364}
54365
54366// SetStatusEquals sets the StatusEquals field's value.
54367func (s *ListCompilationJobsInput) SetStatusEquals(v string) *ListCompilationJobsInput {
54368	s.StatusEquals = &v
54369	return s
54370}
54371
54372type ListCompilationJobsOutput struct {
54373	_ struct{} `type:"structure"`
54374
54375	// An array of CompilationJobSummary objects, each describing a model compilation
54376	// job.
54377	//
54378	// CompilationJobSummaries is a required field
54379	CompilationJobSummaries []*CompilationJobSummary `type:"list" required:"true"`
54380
54381	// If the response is truncated, Amazon SageMaker returns this NextToken. To
54382	// retrieve the next set of model compilation jobs, use this token in the next
54383	// request.
54384	NextToken *string `type:"string"`
54385}
54386
54387// String returns the string representation
54388func (s ListCompilationJobsOutput) String() string {
54389	return awsutil.Prettify(s)
54390}
54391
54392// GoString returns the string representation
54393func (s ListCompilationJobsOutput) GoString() string {
54394	return s.String()
54395}
54396
54397// SetCompilationJobSummaries sets the CompilationJobSummaries field's value.
54398func (s *ListCompilationJobsOutput) SetCompilationJobSummaries(v []*CompilationJobSummary) *ListCompilationJobsOutput {
54399	s.CompilationJobSummaries = v
54400	return s
54401}
54402
54403// SetNextToken sets the NextToken field's value.
54404func (s *ListCompilationJobsOutput) SetNextToken(v string) *ListCompilationJobsOutput {
54405	s.NextToken = &v
54406	return s
54407}
54408
54409type ListContextsInput struct {
54410	_ struct{} `type:"structure"`
54411
54412	// A filter that returns only contexts of the specified type.
54413	ContextType *string `type:"string"`
54414
54415	// A filter that returns only contexts created on or after the specified time.
54416	CreatedAfter *time.Time `type:"timestamp"`
54417
54418	// A filter that returns only contexts created on or before the specified time.
54419	CreatedBefore *time.Time `type:"timestamp"`
54420
54421	// The maximum number of contexts to return in the response. The default value
54422	// is 10.
54423	MaxResults *int64 `min:"1" type:"integer"`
54424
54425	// If the previous call to ListContexts didn't return the full set of contexts,
54426	// the call returns a token for getting the next set of contexts.
54427	NextToken *string `type:"string"`
54428
54429	// The property used to sort results. The default value is CreationTime.
54430	SortBy *string `type:"string" enum:"SortContextsBy"`
54431
54432	// The sort order. The default value is Descending.
54433	SortOrder *string `type:"string" enum:"SortOrder"`
54434
54435	// A filter that returns only contexts with the specified source URI.
54436	SourceUri *string `type:"string"`
54437}
54438
54439// String returns the string representation
54440func (s ListContextsInput) String() string {
54441	return awsutil.Prettify(s)
54442}
54443
54444// GoString returns the string representation
54445func (s ListContextsInput) GoString() string {
54446	return s.String()
54447}
54448
54449// Validate inspects the fields of the type to determine if they are valid.
54450func (s *ListContextsInput) Validate() error {
54451	invalidParams := request.ErrInvalidParams{Context: "ListContextsInput"}
54452	if s.MaxResults != nil && *s.MaxResults < 1 {
54453		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
54454	}
54455
54456	if invalidParams.Len() > 0 {
54457		return invalidParams
54458	}
54459	return nil
54460}
54461
54462// SetContextType sets the ContextType field's value.
54463func (s *ListContextsInput) SetContextType(v string) *ListContextsInput {
54464	s.ContextType = &v
54465	return s
54466}
54467
54468// SetCreatedAfter sets the CreatedAfter field's value.
54469func (s *ListContextsInput) SetCreatedAfter(v time.Time) *ListContextsInput {
54470	s.CreatedAfter = &v
54471	return s
54472}
54473
54474// SetCreatedBefore sets the CreatedBefore field's value.
54475func (s *ListContextsInput) SetCreatedBefore(v time.Time) *ListContextsInput {
54476	s.CreatedBefore = &v
54477	return s
54478}
54479
54480// SetMaxResults sets the MaxResults field's value.
54481func (s *ListContextsInput) SetMaxResults(v int64) *ListContextsInput {
54482	s.MaxResults = &v
54483	return s
54484}
54485
54486// SetNextToken sets the NextToken field's value.
54487func (s *ListContextsInput) SetNextToken(v string) *ListContextsInput {
54488	s.NextToken = &v
54489	return s
54490}
54491
54492// SetSortBy sets the SortBy field's value.
54493func (s *ListContextsInput) SetSortBy(v string) *ListContextsInput {
54494	s.SortBy = &v
54495	return s
54496}
54497
54498// SetSortOrder sets the SortOrder field's value.
54499func (s *ListContextsInput) SetSortOrder(v string) *ListContextsInput {
54500	s.SortOrder = &v
54501	return s
54502}
54503
54504// SetSourceUri sets the SourceUri field's value.
54505func (s *ListContextsInput) SetSourceUri(v string) *ListContextsInput {
54506	s.SourceUri = &v
54507	return s
54508}
54509
54510type ListContextsOutput struct {
54511	_ struct{} `type:"structure"`
54512
54513	// A list of contexts and their properties.
54514	ContextSummaries []*ContextSummary `type:"list"`
54515
54516	// A token for getting the next set of contexts, if there are any.
54517	NextToken *string `type:"string"`
54518}
54519
54520// String returns the string representation
54521func (s ListContextsOutput) String() string {
54522	return awsutil.Prettify(s)
54523}
54524
54525// GoString returns the string representation
54526func (s ListContextsOutput) GoString() string {
54527	return s.String()
54528}
54529
54530// SetContextSummaries sets the ContextSummaries field's value.
54531func (s *ListContextsOutput) SetContextSummaries(v []*ContextSummary) *ListContextsOutput {
54532	s.ContextSummaries = v
54533	return s
54534}
54535
54536// SetNextToken sets the NextToken field's value.
54537func (s *ListContextsOutput) SetNextToken(v string) *ListContextsOutput {
54538	s.NextToken = &v
54539	return s
54540}
54541
54542type ListDataQualityJobDefinitionsInput struct {
54543	_ struct{} `type:"structure"`
54544
54545	// A filter that returns only data quality monitoring job definitions created
54546	// after the specified time.
54547	CreationTimeAfter *time.Time `type:"timestamp"`
54548
54549	// A filter that returns only data quality monitoring job definitions created
54550	// before the specified time.
54551	CreationTimeBefore *time.Time `type:"timestamp"`
54552
54553	// A filter that lists the data quality job definitions associated with the
54554	// specified endpoint.
54555	EndpointName *string `type:"string"`
54556
54557	// The maximum number of data quality monitoring job definitions to return in
54558	// the response.
54559	MaxResults *int64 `min:"1" type:"integer"`
54560
54561	// A string in the data quality monitoring job definition name. This filter
54562	// returns only data quality monitoring job definitions whose name contains
54563	// the specified string.
54564	NameContains *string `type:"string"`
54565
54566	// If the result of the previous ListDataQualityJobDefinitions request was truncated,
54567	// the response includes a NextToken. To retrieve the next set of transform
54568	// jobs, use the token in the next request.>
54569	NextToken *string `type:"string"`
54570
54571	// The field to sort results by. The default is CreationTime.
54572	SortBy *string `type:"string" enum:"MonitoringJobDefinitionSortKey"`
54573
54574	// The sort order for results. The default is Descending.
54575	SortOrder *string `type:"string" enum:"SortOrder"`
54576}
54577
54578// String returns the string representation
54579func (s ListDataQualityJobDefinitionsInput) String() string {
54580	return awsutil.Prettify(s)
54581}
54582
54583// GoString returns the string representation
54584func (s ListDataQualityJobDefinitionsInput) GoString() string {
54585	return s.String()
54586}
54587
54588// Validate inspects the fields of the type to determine if they are valid.
54589func (s *ListDataQualityJobDefinitionsInput) Validate() error {
54590	invalidParams := request.ErrInvalidParams{Context: "ListDataQualityJobDefinitionsInput"}
54591	if s.MaxResults != nil && *s.MaxResults < 1 {
54592		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
54593	}
54594
54595	if invalidParams.Len() > 0 {
54596		return invalidParams
54597	}
54598	return nil
54599}
54600
54601// SetCreationTimeAfter sets the CreationTimeAfter field's value.
54602func (s *ListDataQualityJobDefinitionsInput) SetCreationTimeAfter(v time.Time) *ListDataQualityJobDefinitionsInput {
54603	s.CreationTimeAfter = &v
54604	return s
54605}
54606
54607// SetCreationTimeBefore sets the CreationTimeBefore field's value.
54608func (s *ListDataQualityJobDefinitionsInput) SetCreationTimeBefore(v time.Time) *ListDataQualityJobDefinitionsInput {
54609	s.CreationTimeBefore = &v
54610	return s
54611}
54612
54613// SetEndpointName sets the EndpointName field's value.
54614func (s *ListDataQualityJobDefinitionsInput) SetEndpointName(v string) *ListDataQualityJobDefinitionsInput {
54615	s.EndpointName = &v
54616	return s
54617}
54618
54619// SetMaxResults sets the MaxResults field's value.
54620func (s *ListDataQualityJobDefinitionsInput) SetMaxResults(v int64) *ListDataQualityJobDefinitionsInput {
54621	s.MaxResults = &v
54622	return s
54623}
54624
54625// SetNameContains sets the NameContains field's value.
54626func (s *ListDataQualityJobDefinitionsInput) SetNameContains(v string) *ListDataQualityJobDefinitionsInput {
54627	s.NameContains = &v
54628	return s
54629}
54630
54631// SetNextToken sets the NextToken field's value.
54632func (s *ListDataQualityJobDefinitionsInput) SetNextToken(v string) *ListDataQualityJobDefinitionsInput {
54633	s.NextToken = &v
54634	return s
54635}
54636
54637// SetSortBy sets the SortBy field's value.
54638func (s *ListDataQualityJobDefinitionsInput) SetSortBy(v string) *ListDataQualityJobDefinitionsInput {
54639	s.SortBy = &v
54640	return s
54641}
54642
54643// SetSortOrder sets the SortOrder field's value.
54644func (s *ListDataQualityJobDefinitionsInput) SetSortOrder(v string) *ListDataQualityJobDefinitionsInput {
54645	s.SortOrder = &v
54646	return s
54647}
54648
54649type ListDataQualityJobDefinitionsOutput struct {
54650	_ struct{} `type:"structure"`
54651
54652	// A list of data quality monitoring job definitions.
54653	//
54654	// JobDefinitionSummaries is a required field
54655	JobDefinitionSummaries []*MonitoringJobDefinitionSummary `type:"list" required:"true"`
54656
54657	// If the result of the previous ListDataQualityJobDefinitions request was truncated,
54658	// the response includes a NextToken. To retrieve the next set of data quality
54659	// monitoring job definitions, use the token in the next request.
54660	NextToken *string `type:"string"`
54661}
54662
54663// String returns the string representation
54664func (s ListDataQualityJobDefinitionsOutput) String() string {
54665	return awsutil.Prettify(s)
54666}
54667
54668// GoString returns the string representation
54669func (s ListDataQualityJobDefinitionsOutput) GoString() string {
54670	return s.String()
54671}
54672
54673// SetJobDefinitionSummaries sets the JobDefinitionSummaries field's value.
54674func (s *ListDataQualityJobDefinitionsOutput) SetJobDefinitionSummaries(v []*MonitoringJobDefinitionSummary) *ListDataQualityJobDefinitionsOutput {
54675	s.JobDefinitionSummaries = v
54676	return s
54677}
54678
54679// SetNextToken sets the NextToken field's value.
54680func (s *ListDataQualityJobDefinitionsOutput) SetNextToken(v string) *ListDataQualityJobDefinitionsOutput {
54681	s.NextToken = &v
54682	return s
54683}
54684
54685type ListDeviceFleetsInput struct {
54686	_ struct{} `type:"structure"`
54687
54688	// Filter fleets where packaging job was created after specified time.
54689	CreationTimeAfter *time.Time `type:"timestamp"`
54690
54691	// Filter fleets where the edge packaging job was created before specified time.
54692	CreationTimeBefore *time.Time `type:"timestamp"`
54693
54694	// Select fleets where the job was updated after X
54695	LastModifiedTimeAfter *time.Time `type:"timestamp"`
54696
54697	// Select fleets where the job was updated before X
54698	LastModifiedTimeBefore *time.Time `type:"timestamp"`
54699
54700	// The maximum number of results to select.
54701	MaxResults *int64 `type:"integer"`
54702
54703	// Filter for fleets containing this name in their fleet device name.
54704	NameContains *string `type:"string"`
54705
54706	// The response from the last list when returning a list large enough to need
54707	// tokening.
54708	NextToken *string `type:"string"`
54709
54710	// The column to sort by.
54711	SortBy *string `type:"string" enum:"ListDeviceFleetsSortBy"`
54712
54713	// What direction to sort in.
54714	SortOrder *string `type:"string" enum:"SortOrder"`
54715}
54716
54717// String returns the string representation
54718func (s ListDeviceFleetsInput) String() string {
54719	return awsutil.Prettify(s)
54720}
54721
54722// GoString returns the string representation
54723func (s ListDeviceFleetsInput) GoString() string {
54724	return s.String()
54725}
54726
54727// SetCreationTimeAfter sets the CreationTimeAfter field's value.
54728func (s *ListDeviceFleetsInput) SetCreationTimeAfter(v time.Time) *ListDeviceFleetsInput {
54729	s.CreationTimeAfter = &v
54730	return s
54731}
54732
54733// SetCreationTimeBefore sets the CreationTimeBefore field's value.
54734func (s *ListDeviceFleetsInput) SetCreationTimeBefore(v time.Time) *ListDeviceFleetsInput {
54735	s.CreationTimeBefore = &v
54736	return s
54737}
54738
54739// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
54740func (s *ListDeviceFleetsInput) SetLastModifiedTimeAfter(v time.Time) *ListDeviceFleetsInput {
54741	s.LastModifiedTimeAfter = &v
54742	return s
54743}
54744
54745// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
54746func (s *ListDeviceFleetsInput) SetLastModifiedTimeBefore(v time.Time) *ListDeviceFleetsInput {
54747	s.LastModifiedTimeBefore = &v
54748	return s
54749}
54750
54751// SetMaxResults sets the MaxResults field's value.
54752func (s *ListDeviceFleetsInput) SetMaxResults(v int64) *ListDeviceFleetsInput {
54753	s.MaxResults = &v
54754	return s
54755}
54756
54757// SetNameContains sets the NameContains field's value.
54758func (s *ListDeviceFleetsInput) SetNameContains(v string) *ListDeviceFleetsInput {
54759	s.NameContains = &v
54760	return s
54761}
54762
54763// SetNextToken sets the NextToken field's value.
54764func (s *ListDeviceFleetsInput) SetNextToken(v string) *ListDeviceFleetsInput {
54765	s.NextToken = &v
54766	return s
54767}
54768
54769// SetSortBy sets the SortBy field's value.
54770func (s *ListDeviceFleetsInput) SetSortBy(v string) *ListDeviceFleetsInput {
54771	s.SortBy = &v
54772	return s
54773}
54774
54775// SetSortOrder sets the SortOrder field's value.
54776func (s *ListDeviceFleetsInput) SetSortOrder(v string) *ListDeviceFleetsInput {
54777	s.SortOrder = &v
54778	return s
54779}
54780
54781type ListDeviceFleetsOutput struct {
54782	_ struct{} `type:"structure"`
54783
54784	// Summary of the device fleet.
54785	//
54786	// DeviceFleetSummaries is a required field
54787	DeviceFleetSummaries []*DeviceFleetSummary `type:"list" required:"true"`
54788
54789	// The response from the last list when returning a list large enough to need
54790	// tokening.
54791	NextToken *string `type:"string"`
54792}
54793
54794// String returns the string representation
54795func (s ListDeviceFleetsOutput) String() string {
54796	return awsutil.Prettify(s)
54797}
54798
54799// GoString returns the string representation
54800func (s ListDeviceFleetsOutput) GoString() string {
54801	return s.String()
54802}
54803
54804// SetDeviceFleetSummaries sets the DeviceFleetSummaries field's value.
54805func (s *ListDeviceFleetsOutput) SetDeviceFleetSummaries(v []*DeviceFleetSummary) *ListDeviceFleetsOutput {
54806	s.DeviceFleetSummaries = v
54807	return s
54808}
54809
54810// SetNextToken sets the NextToken field's value.
54811func (s *ListDeviceFleetsOutput) SetNextToken(v string) *ListDeviceFleetsOutput {
54812	s.NextToken = &v
54813	return s
54814}
54815
54816type ListDevicesInput struct {
54817	_ struct{} `type:"structure"`
54818
54819	// Filter for fleets containing this name in their device fleet name.
54820	DeviceFleetName *string `min:"1" type:"string"`
54821
54822	// Select fleets where the job was updated after X
54823	LatestHeartbeatAfter *time.Time `type:"timestamp"`
54824
54825	// Maximum number of results to select.
54826	MaxResults *int64 `type:"integer"`
54827
54828	// A filter that searches devices that contains this name in any of their models.
54829	ModelName *string `min:"1" type:"string"`
54830
54831	// The response from the last list when returning a list large enough to need
54832	// tokening.
54833	NextToken *string `type:"string"`
54834}
54835
54836// String returns the string representation
54837func (s ListDevicesInput) String() string {
54838	return awsutil.Prettify(s)
54839}
54840
54841// GoString returns the string representation
54842func (s ListDevicesInput) GoString() string {
54843	return s.String()
54844}
54845
54846// Validate inspects the fields of the type to determine if they are valid.
54847func (s *ListDevicesInput) Validate() error {
54848	invalidParams := request.ErrInvalidParams{Context: "ListDevicesInput"}
54849	if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 {
54850		invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1))
54851	}
54852	if s.ModelName != nil && len(*s.ModelName) < 1 {
54853		invalidParams.Add(request.NewErrParamMinLen("ModelName", 1))
54854	}
54855
54856	if invalidParams.Len() > 0 {
54857		return invalidParams
54858	}
54859	return nil
54860}
54861
54862// SetDeviceFleetName sets the DeviceFleetName field's value.
54863func (s *ListDevicesInput) SetDeviceFleetName(v string) *ListDevicesInput {
54864	s.DeviceFleetName = &v
54865	return s
54866}
54867
54868// SetLatestHeartbeatAfter sets the LatestHeartbeatAfter field's value.
54869func (s *ListDevicesInput) SetLatestHeartbeatAfter(v time.Time) *ListDevicesInput {
54870	s.LatestHeartbeatAfter = &v
54871	return s
54872}
54873
54874// SetMaxResults sets the MaxResults field's value.
54875func (s *ListDevicesInput) SetMaxResults(v int64) *ListDevicesInput {
54876	s.MaxResults = &v
54877	return s
54878}
54879
54880// SetModelName sets the ModelName field's value.
54881func (s *ListDevicesInput) SetModelName(v string) *ListDevicesInput {
54882	s.ModelName = &v
54883	return s
54884}
54885
54886// SetNextToken sets the NextToken field's value.
54887func (s *ListDevicesInput) SetNextToken(v string) *ListDevicesInput {
54888	s.NextToken = &v
54889	return s
54890}
54891
54892type ListDevicesOutput struct {
54893	_ struct{} `type:"structure"`
54894
54895	// Summary of devices.
54896	//
54897	// DeviceSummaries is a required field
54898	DeviceSummaries []*DeviceSummary `type:"list" required:"true"`
54899
54900	// The response from the last list when returning a list large enough to need
54901	// tokening.
54902	NextToken *string `type:"string"`
54903}
54904
54905// String returns the string representation
54906func (s ListDevicesOutput) String() string {
54907	return awsutil.Prettify(s)
54908}
54909
54910// GoString returns the string representation
54911func (s ListDevicesOutput) GoString() string {
54912	return s.String()
54913}
54914
54915// SetDeviceSummaries sets the DeviceSummaries field's value.
54916func (s *ListDevicesOutput) SetDeviceSummaries(v []*DeviceSummary) *ListDevicesOutput {
54917	s.DeviceSummaries = v
54918	return s
54919}
54920
54921// SetNextToken sets the NextToken field's value.
54922func (s *ListDevicesOutput) SetNextToken(v string) *ListDevicesOutput {
54923	s.NextToken = &v
54924	return s
54925}
54926
54927type ListDomainsInput struct {
54928	_ struct{} `type:"structure"`
54929
54930	// Returns a list up to a specified limit.
54931	MaxResults *int64 `min:"1" type:"integer"`
54932
54933	// If the previous response was truncated, you will receive this token. Use
54934	// it in your next request to receive the next set of results.
54935	NextToken *string `type:"string"`
54936}
54937
54938// String returns the string representation
54939func (s ListDomainsInput) String() string {
54940	return awsutil.Prettify(s)
54941}
54942
54943// GoString returns the string representation
54944func (s ListDomainsInput) GoString() string {
54945	return s.String()
54946}
54947
54948// Validate inspects the fields of the type to determine if they are valid.
54949func (s *ListDomainsInput) Validate() error {
54950	invalidParams := request.ErrInvalidParams{Context: "ListDomainsInput"}
54951	if s.MaxResults != nil && *s.MaxResults < 1 {
54952		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
54953	}
54954
54955	if invalidParams.Len() > 0 {
54956		return invalidParams
54957	}
54958	return nil
54959}
54960
54961// SetMaxResults sets the MaxResults field's value.
54962func (s *ListDomainsInput) SetMaxResults(v int64) *ListDomainsInput {
54963	s.MaxResults = &v
54964	return s
54965}
54966
54967// SetNextToken sets the NextToken field's value.
54968func (s *ListDomainsInput) SetNextToken(v string) *ListDomainsInput {
54969	s.NextToken = &v
54970	return s
54971}
54972
54973type ListDomainsOutput struct {
54974	_ struct{} `type:"structure"`
54975
54976	// The list of domains.
54977	Domains []*DomainDetails `type:"list"`
54978
54979	// If the previous response was truncated, you will receive this token. Use
54980	// it in your next request to receive the next set of results.
54981	NextToken *string `type:"string"`
54982}
54983
54984// String returns the string representation
54985func (s ListDomainsOutput) String() string {
54986	return awsutil.Prettify(s)
54987}
54988
54989// GoString returns the string representation
54990func (s ListDomainsOutput) GoString() string {
54991	return s.String()
54992}
54993
54994// SetDomains sets the Domains field's value.
54995func (s *ListDomainsOutput) SetDomains(v []*DomainDetails) *ListDomainsOutput {
54996	s.Domains = v
54997	return s
54998}
54999
55000// SetNextToken sets the NextToken field's value.
55001func (s *ListDomainsOutput) SetNextToken(v string) *ListDomainsOutput {
55002	s.NextToken = &v
55003	return s
55004}
55005
55006type ListEdgePackagingJobsInput struct {
55007	_ struct{} `type:"structure"`
55008
55009	// Select jobs where the job was created after specified time.
55010	CreationTimeAfter *time.Time `type:"timestamp"`
55011
55012	// Select jobs where the job was created before specified time.
55013	CreationTimeBefore *time.Time `type:"timestamp"`
55014
55015	// Select jobs where the job was updated after specified time.
55016	LastModifiedTimeAfter *time.Time `type:"timestamp"`
55017
55018	// Select jobs where the job was updated before specified time.
55019	LastModifiedTimeBefore *time.Time `type:"timestamp"`
55020
55021	// Maximum number of results to select.
55022	MaxResults *int64 `type:"integer"`
55023
55024	// Filter for jobs where the model name contains this string.
55025	ModelNameContains *string `type:"string"`
55026
55027	// Filter for jobs containing this name in their packaging job name.
55028	NameContains *string `type:"string"`
55029
55030	// The response from the last list when returning a list large enough to need
55031	// tokening.
55032	NextToken *string `type:"string"`
55033
55034	// Use to specify what column to sort by.
55035	SortBy *string `type:"string" enum:"ListEdgePackagingJobsSortBy"`
55036
55037	// What direction to sort by.
55038	SortOrder *string `type:"string" enum:"SortOrder"`
55039
55040	// The job status to filter for.
55041	StatusEquals *string `type:"string" enum:"EdgePackagingJobStatus"`
55042}
55043
55044// String returns the string representation
55045func (s ListEdgePackagingJobsInput) String() string {
55046	return awsutil.Prettify(s)
55047}
55048
55049// GoString returns the string representation
55050func (s ListEdgePackagingJobsInput) GoString() string {
55051	return s.String()
55052}
55053
55054// SetCreationTimeAfter sets the CreationTimeAfter field's value.
55055func (s *ListEdgePackagingJobsInput) SetCreationTimeAfter(v time.Time) *ListEdgePackagingJobsInput {
55056	s.CreationTimeAfter = &v
55057	return s
55058}
55059
55060// SetCreationTimeBefore sets the CreationTimeBefore field's value.
55061func (s *ListEdgePackagingJobsInput) SetCreationTimeBefore(v time.Time) *ListEdgePackagingJobsInput {
55062	s.CreationTimeBefore = &v
55063	return s
55064}
55065
55066// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
55067func (s *ListEdgePackagingJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListEdgePackagingJobsInput {
55068	s.LastModifiedTimeAfter = &v
55069	return s
55070}
55071
55072// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
55073func (s *ListEdgePackagingJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListEdgePackagingJobsInput {
55074	s.LastModifiedTimeBefore = &v
55075	return s
55076}
55077
55078// SetMaxResults sets the MaxResults field's value.
55079func (s *ListEdgePackagingJobsInput) SetMaxResults(v int64) *ListEdgePackagingJobsInput {
55080	s.MaxResults = &v
55081	return s
55082}
55083
55084// SetModelNameContains sets the ModelNameContains field's value.
55085func (s *ListEdgePackagingJobsInput) SetModelNameContains(v string) *ListEdgePackagingJobsInput {
55086	s.ModelNameContains = &v
55087	return s
55088}
55089
55090// SetNameContains sets the NameContains field's value.
55091func (s *ListEdgePackagingJobsInput) SetNameContains(v string) *ListEdgePackagingJobsInput {
55092	s.NameContains = &v
55093	return s
55094}
55095
55096// SetNextToken sets the NextToken field's value.
55097func (s *ListEdgePackagingJobsInput) SetNextToken(v string) *ListEdgePackagingJobsInput {
55098	s.NextToken = &v
55099	return s
55100}
55101
55102// SetSortBy sets the SortBy field's value.
55103func (s *ListEdgePackagingJobsInput) SetSortBy(v string) *ListEdgePackagingJobsInput {
55104	s.SortBy = &v
55105	return s
55106}
55107
55108// SetSortOrder sets the SortOrder field's value.
55109func (s *ListEdgePackagingJobsInput) SetSortOrder(v string) *ListEdgePackagingJobsInput {
55110	s.SortOrder = &v
55111	return s
55112}
55113
55114// SetStatusEquals sets the StatusEquals field's value.
55115func (s *ListEdgePackagingJobsInput) SetStatusEquals(v string) *ListEdgePackagingJobsInput {
55116	s.StatusEquals = &v
55117	return s
55118}
55119
55120type ListEdgePackagingJobsOutput struct {
55121	_ struct{} `type:"structure"`
55122
55123	// Summaries of edge packaging jobs.
55124	//
55125	// EdgePackagingJobSummaries is a required field
55126	EdgePackagingJobSummaries []*EdgePackagingJobSummary `type:"list" required:"true"`
55127
55128	// Token to use when calling the next page of results.
55129	NextToken *string `type:"string"`
55130}
55131
55132// String returns the string representation
55133func (s ListEdgePackagingJobsOutput) String() string {
55134	return awsutil.Prettify(s)
55135}
55136
55137// GoString returns the string representation
55138func (s ListEdgePackagingJobsOutput) GoString() string {
55139	return s.String()
55140}
55141
55142// SetEdgePackagingJobSummaries sets the EdgePackagingJobSummaries field's value.
55143func (s *ListEdgePackagingJobsOutput) SetEdgePackagingJobSummaries(v []*EdgePackagingJobSummary) *ListEdgePackagingJobsOutput {
55144	s.EdgePackagingJobSummaries = v
55145	return s
55146}
55147
55148// SetNextToken sets the NextToken field's value.
55149func (s *ListEdgePackagingJobsOutput) SetNextToken(v string) *ListEdgePackagingJobsOutput {
55150	s.NextToken = &v
55151	return s
55152}
55153
55154type ListEndpointConfigsInput struct {
55155	_ struct{} `type:"structure"`
55156
55157	// A filter that returns only endpoint configurations with a creation time greater
55158	// than or equal to the specified time (timestamp).
55159	CreationTimeAfter *time.Time `type:"timestamp"`
55160
55161	// A filter that returns only endpoint configurations created before the specified
55162	// time (timestamp).
55163	CreationTimeBefore *time.Time `type:"timestamp"`
55164
55165	// The maximum number of training jobs to return in the response.
55166	MaxResults *int64 `min:"1" type:"integer"`
55167
55168	// A string in the endpoint configuration name. This filter returns only endpoint
55169	// configurations whose name contains the specified string.
55170	NameContains *string `type:"string"`
55171
55172	// If the result of the previous ListEndpointConfig request was truncated, the
55173	// response includes a NextToken. To retrieve the next set of endpoint configurations,
55174	// use the token in the next request.
55175	NextToken *string `type:"string"`
55176
55177	// The field to sort results by. The default is CreationTime.
55178	SortBy *string `type:"string" enum:"EndpointConfigSortKey"`
55179
55180	// The sort order for results. The default is Descending.
55181	SortOrder *string `type:"string" enum:"OrderKey"`
55182}
55183
55184// String returns the string representation
55185func (s ListEndpointConfigsInput) String() string {
55186	return awsutil.Prettify(s)
55187}
55188
55189// GoString returns the string representation
55190func (s ListEndpointConfigsInput) GoString() string {
55191	return s.String()
55192}
55193
55194// Validate inspects the fields of the type to determine if they are valid.
55195func (s *ListEndpointConfigsInput) Validate() error {
55196	invalidParams := request.ErrInvalidParams{Context: "ListEndpointConfigsInput"}
55197	if s.MaxResults != nil && *s.MaxResults < 1 {
55198		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
55199	}
55200
55201	if invalidParams.Len() > 0 {
55202		return invalidParams
55203	}
55204	return nil
55205}
55206
55207// SetCreationTimeAfter sets the CreationTimeAfter field's value.
55208func (s *ListEndpointConfigsInput) SetCreationTimeAfter(v time.Time) *ListEndpointConfigsInput {
55209	s.CreationTimeAfter = &v
55210	return s
55211}
55212
55213// SetCreationTimeBefore sets the CreationTimeBefore field's value.
55214func (s *ListEndpointConfigsInput) SetCreationTimeBefore(v time.Time) *ListEndpointConfigsInput {
55215	s.CreationTimeBefore = &v
55216	return s
55217}
55218
55219// SetMaxResults sets the MaxResults field's value.
55220func (s *ListEndpointConfigsInput) SetMaxResults(v int64) *ListEndpointConfigsInput {
55221	s.MaxResults = &v
55222	return s
55223}
55224
55225// SetNameContains sets the NameContains field's value.
55226func (s *ListEndpointConfigsInput) SetNameContains(v string) *ListEndpointConfigsInput {
55227	s.NameContains = &v
55228	return s
55229}
55230
55231// SetNextToken sets the NextToken field's value.
55232func (s *ListEndpointConfigsInput) SetNextToken(v string) *ListEndpointConfigsInput {
55233	s.NextToken = &v
55234	return s
55235}
55236
55237// SetSortBy sets the SortBy field's value.
55238func (s *ListEndpointConfigsInput) SetSortBy(v string) *ListEndpointConfigsInput {
55239	s.SortBy = &v
55240	return s
55241}
55242
55243// SetSortOrder sets the SortOrder field's value.
55244func (s *ListEndpointConfigsInput) SetSortOrder(v string) *ListEndpointConfigsInput {
55245	s.SortOrder = &v
55246	return s
55247}
55248
55249type ListEndpointConfigsOutput struct {
55250	_ struct{} `type:"structure"`
55251
55252	// An array of endpoint configurations.
55253	//
55254	// EndpointConfigs is a required field
55255	EndpointConfigs []*EndpointConfigSummary `type:"list" required:"true"`
55256
55257	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
55258	// the next set of endpoint configurations, use it in the subsequent request
55259	NextToken *string `type:"string"`
55260}
55261
55262// String returns the string representation
55263func (s ListEndpointConfigsOutput) String() string {
55264	return awsutil.Prettify(s)
55265}
55266
55267// GoString returns the string representation
55268func (s ListEndpointConfigsOutput) GoString() string {
55269	return s.String()
55270}
55271
55272// SetEndpointConfigs sets the EndpointConfigs field's value.
55273func (s *ListEndpointConfigsOutput) SetEndpointConfigs(v []*EndpointConfigSummary) *ListEndpointConfigsOutput {
55274	s.EndpointConfigs = v
55275	return s
55276}
55277
55278// SetNextToken sets the NextToken field's value.
55279func (s *ListEndpointConfigsOutput) SetNextToken(v string) *ListEndpointConfigsOutput {
55280	s.NextToken = &v
55281	return s
55282}
55283
55284type ListEndpointsInput struct {
55285	_ struct{} `type:"structure"`
55286
55287	// A filter that returns only endpoints with a creation time greater than or
55288	// equal to the specified time (timestamp).
55289	CreationTimeAfter *time.Time `type:"timestamp"`
55290
55291	// A filter that returns only endpoints that were created before the specified
55292	// time (timestamp).
55293	CreationTimeBefore *time.Time `type:"timestamp"`
55294
55295	// A filter that returns only endpoints that were modified after the specified
55296	// timestamp.
55297	LastModifiedTimeAfter *time.Time `type:"timestamp"`
55298
55299	// A filter that returns only endpoints that were modified before the specified
55300	// timestamp.
55301	LastModifiedTimeBefore *time.Time `type:"timestamp"`
55302
55303	// The maximum number of endpoints to return in the response. This value defaults
55304	// to 10.
55305	MaxResults *int64 `min:"1" type:"integer"`
55306
55307	// A string in endpoint names. This filter returns only endpoints whose name
55308	// contains the specified string.
55309	NameContains *string `type:"string"`
55310
55311	// If the result of a ListEndpoints request was truncated, the response includes
55312	// a NextToken. To retrieve the next set of endpoints, use the token in the
55313	// next request.
55314	NextToken *string `type:"string"`
55315
55316	// Sorts the list of results. The default is CreationTime.
55317	SortBy *string `type:"string" enum:"EndpointSortKey"`
55318
55319	// The sort order for results. The default is Descending.
55320	SortOrder *string `type:"string" enum:"OrderKey"`
55321
55322	// A filter that returns only endpoints with the specified status.
55323	StatusEquals *string `type:"string" enum:"EndpointStatus"`
55324}
55325
55326// String returns the string representation
55327func (s ListEndpointsInput) String() string {
55328	return awsutil.Prettify(s)
55329}
55330
55331// GoString returns the string representation
55332func (s ListEndpointsInput) GoString() string {
55333	return s.String()
55334}
55335
55336// Validate inspects the fields of the type to determine if they are valid.
55337func (s *ListEndpointsInput) Validate() error {
55338	invalidParams := request.ErrInvalidParams{Context: "ListEndpointsInput"}
55339	if s.MaxResults != nil && *s.MaxResults < 1 {
55340		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
55341	}
55342
55343	if invalidParams.Len() > 0 {
55344		return invalidParams
55345	}
55346	return nil
55347}
55348
55349// SetCreationTimeAfter sets the CreationTimeAfter field's value.
55350func (s *ListEndpointsInput) SetCreationTimeAfter(v time.Time) *ListEndpointsInput {
55351	s.CreationTimeAfter = &v
55352	return s
55353}
55354
55355// SetCreationTimeBefore sets the CreationTimeBefore field's value.
55356func (s *ListEndpointsInput) SetCreationTimeBefore(v time.Time) *ListEndpointsInput {
55357	s.CreationTimeBefore = &v
55358	return s
55359}
55360
55361// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
55362func (s *ListEndpointsInput) SetLastModifiedTimeAfter(v time.Time) *ListEndpointsInput {
55363	s.LastModifiedTimeAfter = &v
55364	return s
55365}
55366
55367// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
55368func (s *ListEndpointsInput) SetLastModifiedTimeBefore(v time.Time) *ListEndpointsInput {
55369	s.LastModifiedTimeBefore = &v
55370	return s
55371}
55372
55373// SetMaxResults sets the MaxResults field's value.
55374func (s *ListEndpointsInput) SetMaxResults(v int64) *ListEndpointsInput {
55375	s.MaxResults = &v
55376	return s
55377}
55378
55379// SetNameContains sets the NameContains field's value.
55380func (s *ListEndpointsInput) SetNameContains(v string) *ListEndpointsInput {
55381	s.NameContains = &v
55382	return s
55383}
55384
55385// SetNextToken sets the NextToken field's value.
55386func (s *ListEndpointsInput) SetNextToken(v string) *ListEndpointsInput {
55387	s.NextToken = &v
55388	return s
55389}
55390
55391// SetSortBy sets the SortBy field's value.
55392func (s *ListEndpointsInput) SetSortBy(v string) *ListEndpointsInput {
55393	s.SortBy = &v
55394	return s
55395}
55396
55397// SetSortOrder sets the SortOrder field's value.
55398func (s *ListEndpointsInput) SetSortOrder(v string) *ListEndpointsInput {
55399	s.SortOrder = &v
55400	return s
55401}
55402
55403// SetStatusEquals sets the StatusEquals field's value.
55404func (s *ListEndpointsInput) SetStatusEquals(v string) *ListEndpointsInput {
55405	s.StatusEquals = &v
55406	return s
55407}
55408
55409type ListEndpointsOutput struct {
55410	_ struct{} `type:"structure"`
55411
55412	// An array or endpoint objects.
55413	//
55414	// Endpoints is a required field
55415	Endpoints []*EndpointSummary `type:"list" required:"true"`
55416
55417	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
55418	// the next set of training jobs, use it in the subsequent request.
55419	NextToken *string `type:"string"`
55420}
55421
55422// String returns the string representation
55423func (s ListEndpointsOutput) String() string {
55424	return awsutil.Prettify(s)
55425}
55426
55427// GoString returns the string representation
55428func (s ListEndpointsOutput) GoString() string {
55429	return s.String()
55430}
55431
55432// SetEndpoints sets the Endpoints field's value.
55433func (s *ListEndpointsOutput) SetEndpoints(v []*EndpointSummary) *ListEndpointsOutput {
55434	s.Endpoints = v
55435	return s
55436}
55437
55438// SetNextToken sets the NextToken field's value.
55439func (s *ListEndpointsOutput) SetNextToken(v string) *ListEndpointsOutput {
55440	s.NextToken = &v
55441	return s
55442}
55443
55444type ListExperimentsInput struct {
55445	_ struct{} `type:"structure"`
55446
55447	// A filter that returns only experiments created after the specified time.
55448	CreatedAfter *time.Time `type:"timestamp"`
55449
55450	// A filter that returns only experiments created before the specified time.
55451	CreatedBefore *time.Time `type:"timestamp"`
55452
55453	// The maximum number of experiments to return in the response. The default
55454	// value is 10.
55455	MaxResults *int64 `min:"1" type:"integer"`
55456
55457	// If the previous call to ListExperiments didn't return the full set of experiments,
55458	// the call returns a token for getting the next set of experiments.
55459	NextToken *string `type:"string"`
55460
55461	// The property used to sort results. The default value is CreationTime.
55462	SortBy *string `type:"string" enum:"SortExperimentsBy"`
55463
55464	// The sort order. The default value is Descending.
55465	SortOrder *string `type:"string" enum:"SortOrder"`
55466}
55467
55468// String returns the string representation
55469func (s ListExperimentsInput) String() string {
55470	return awsutil.Prettify(s)
55471}
55472
55473// GoString returns the string representation
55474func (s ListExperimentsInput) GoString() string {
55475	return s.String()
55476}
55477
55478// Validate inspects the fields of the type to determine if they are valid.
55479func (s *ListExperimentsInput) Validate() error {
55480	invalidParams := request.ErrInvalidParams{Context: "ListExperimentsInput"}
55481	if s.MaxResults != nil && *s.MaxResults < 1 {
55482		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
55483	}
55484
55485	if invalidParams.Len() > 0 {
55486		return invalidParams
55487	}
55488	return nil
55489}
55490
55491// SetCreatedAfter sets the CreatedAfter field's value.
55492func (s *ListExperimentsInput) SetCreatedAfter(v time.Time) *ListExperimentsInput {
55493	s.CreatedAfter = &v
55494	return s
55495}
55496
55497// SetCreatedBefore sets the CreatedBefore field's value.
55498func (s *ListExperimentsInput) SetCreatedBefore(v time.Time) *ListExperimentsInput {
55499	s.CreatedBefore = &v
55500	return s
55501}
55502
55503// SetMaxResults sets the MaxResults field's value.
55504func (s *ListExperimentsInput) SetMaxResults(v int64) *ListExperimentsInput {
55505	s.MaxResults = &v
55506	return s
55507}
55508
55509// SetNextToken sets the NextToken field's value.
55510func (s *ListExperimentsInput) SetNextToken(v string) *ListExperimentsInput {
55511	s.NextToken = &v
55512	return s
55513}
55514
55515// SetSortBy sets the SortBy field's value.
55516func (s *ListExperimentsInput) SetSortBy(v string) *ListExperimentsInput {
55517	s.SortBy = &v
55518	return s
55519}
55520
55521// SetSortOrder sets the SortOrder field's value.
55522func (s *ListExperimentsInput) SetSortOrder(v string) *ListExperimentsInput {
55523	s.SortOrder = &v
55524	return s
55525}
55526
55527type ListExperimentsOutput struct {
55528	_ struct{} `type:"structure"`
55529
55530	// A list of the summaries of your experiments.
55531	ExperimentSummaries []*ExperimentSummary `type:"list"`
55532
55533	// A token for getting the next set of experiments, if there are any.
55534	NextToken *string `type:"string"`
55535}
55536
55537// String returns the string representation
55538func (s ListExperimentsOutput) String() string {
55539	return awsutil.Prettify(s)
55540}
55541
55542// GoString returns the string representation
55543func (s ListExperimentsOutput) GoString() string {
55544	return s.String()
55545}
55546
55547// SetExperimentSummaries sets the ExperimentSummaries field's value.
55548func (s *ListExperimentsOutput) SetExperimentSummaries(v []*ExperimentSummary) *ListExperimentsOutput {
55549	s.ExperimentSummaries = v
55550	return s
55551}
55552
55553// SetNextToken sets the NextToken field's value.
55554func (s *ListExperimentsOutput) SetNextToken(v string) *ListExperimentsOutput {
55555	s.NextToken = &v
55556	return s
55557}
55558
55559type ListFeatureGroupsInput struct {
55560	_ struct{} `type:"structure"`
55561
55562	// Use this parameter to search for FeatureGroupss created after a specific
55563	// date and time.
55564	CreationTimeAfter *time.Time `type:"timestamp"`
55565
55566	// Use this parameter to search for FeatureGroupss created before a specific
55567	// date and time.
55568	CreationTimeBefore *time.Time `type:"timestamp"`
55569
55570	// A FeatureGroup status. Filters by FeatureGroup status.
55571	FeatureGroupStatusEquals *string `type:"string" enum:"FeatureGroupStatus"`
55572
55573	// The maximum number of results returned by ListFeatureGroups.
55574	MaxResults *int64 `min:"1" type:"integer"`
55575
55576	// A string that partially matches one or more FeatureGroups names. Filters
55577	// FeatureGroups by name.
55578	NameContains *string `min:"1" type:"string"`
55579
55580	// A token to resume pagination of ListFeatureGroups results.
55581	NextToken *string `type:"string"`
55582
55583	// An OfflineStore status. Filters by OfflineStore status.
55584	OfflineStoreStatusEquals *string `type:"string" enum:"OfflineStoreStatusValue"`
55585
55586	// The value on which the feature group list is sorted.
55587	SortBy *string `type:"string" enum:"FeatureGroupSortBy"`
55588
55589	// The order in which feature groups are listed.
55590	SortOrder *string `type:"string" enum:"FeatureGroupSortOrder"`
55591}
55592
55593// String returns the string representation
55594func (s ListFeatureGroupsInput) String() string {
55595	return awsutil.Prettify(s)
55596}
55597
55598// GoString returns the string representation
55599func (s ListFeatureGroupsInput) GoString() string {
55600	return s.String()
55601}
55602
55603// Validate inspects the fields of the type to determine if they are valid.
55604func (s *ListFeatureGroupsInput) Validate() error {
55605	invalidParams := request.ErrInvalidParams{Context: "ListFeatureGroupsInput"}
55606	if s.MaxResults != nil && *s.MaxResults < 1 {
55607		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
55608	}
55609	if s.NameContains != nil && len(*s.NameContains) < 1 {
55610		invalidParams.Add(request.NewErrParamMinLen("NameContains", 1))
55611	}
55612
55613	if invalidParams.Len() > 0 {
55614		return invalidParams
55615	}
55616	return nil
55617}
55618
55619// SetCreationTimeAfter sets the CreationTimeAfter field's value.
55620func (s *ListFeatureGroupsInput) SetCreationTimeAfter(v time.Time) *ListFeatureGroupsInput {
55621	s.CreationTimeAfter = &v
55622	return s
55623}
55624
55625// SetCreationTimeBefore sets the CreationTimeBefore field's value.
55626func (s *ListFeatureGroupsInput) SetCreationTimeBefore(v time.Time) *ListFeatureGroupsInput {
55627	s.CreationTimeBefore = &v
55628	return s
55629}
55630
55631// SetFeatureGroupStatusEquals sets the FeatureGroupStatusEquals field's value.
55632func (s *ListFeatureGroupsInput) SetFeatureGroupStatusEquals(v string) *ListFeatureGroupsInput {
55633	s.FeatureGroupStatusEquals = &v
55634	return s
55635}
55636
55637// SetMaxResults sets the MaxResults field's value.
55638func (s *ListFeatureGroupsInput) SetMaxResults(v int64) *ListFeatureGroupsInput {
55639	s.MaxResults = &v
55640	return s
55641}
55642
55643// SetNameContains sets the NameContains field's value.
55644func (s *ListFeatureGroupsInput) SetNameContains(v string) *ListFeatureGroupsInput {
55645	s.NameContains = &v
55646	return s
55647}
55648
55649// SetNextToken sets the NextToken field's value.
55650func (s *ListFeatureGroupsInput) SetNextToken(v string) *ListFeatureGroupsInput {
55651	s.NextToken = &v
55652	return s
55653}
55654
55655// SetOfflineStoreStatusEquals sets the OfflineStoreStatusEquals field's value.
55656func (s *ListFeatureGroupsInput) SetOfflineStoreStatusEquals(v string) *ListFeatureGroupsInput {
55657	s.OfflineStoreStatusEquals = &v
55658	return s
55659}
55660
55661// SetSortBy sets the SortBy field's value.
55662func (s *ListFeatureGroupsInput) SetSortBy(v string) *ListFeatureGroupsInput {
55663	s.SortBy = &v
55664	return s
55665}
55666
55667// SetSortOrder sets the SortOrder field's value.
55668func (s *ListFeatureGroupsInput) SetSortOrder(v string) *ListFeatureGroupsInput {
55669	s.SortOrder = &v
55670	return s
55671}
55672
55673type ListFeatureGroupsOutput struct {
55674	_ struct{} `type:"structure"`
55675
55676	// A summary of feature groups.
55677	//
55678	// FeatureGroupSummaries is a required field
55679	FeatureGroupSummaries []*FeatureGroupSummary `type:"list" required:"true"`
55680
55681	// A token to resume pagination of ListFeatureGroups results.
55682	//
55683	// NextToken is a required field
55684	NextToken *string `type:"string" required:"true"`
55685}
55686
55687// String returns the string representation
55688func (s ListFeatureGroupsOutput) String() string {
55689	return awsutil.Prettify(s)
55690}
55691
55692// GoString returns the string representation
55693func (s ListFeatureGroupsOutput) GoString() string {
55694	return s.String()
55695}
55696
55697// SetFeatureGroupSummaries sets the FeatureGroupSummaries field's value.
55698func (s *ListFeatureGroupsOutput) SetFeatureGroupSummaries(v []*FeatureGroupSummary) *ListFeatureGroupsOutput {
55699	s.FeatureGroupSummaries = v
55700	return s
55701}
55702
55703// SetNextToken sets the NextToken field's value.
55704func (s *ListFeatureGroupsOutput) SetNextToken(v string) *ListFeatureGroupsOutput {
55705	s.NextToken = &v
55706	return s
55707}
55708
55709type ListFlowDefinitionsInput struct {
55710	_ struct{} `type:"structure"`
55711
55712	// A filter that returns only flow definitions with a creation time greater
55713	// than or equal to the specified timestamp.
55714	CreationTimeAfter *time.Time `type:"timestamp"`
55715
55716	// A filter that returns only flow definitions that were created before the
55717	// specified timestamp.
55718	CreationTimeBefore *time.Time `type:"timestamp"`
55719
55720	// The total number of items to return. If the total number of available items
55721	// is more than the value specified in MaxResults, then a NextToken will be
55722	// provided in the output that you can use to resume pagination.
55723	MaxResults *int64 `min:"1" type:"integer"`
55724
55725	// A token to resume pagination.
55726	NextToken *string `type:"string"`
55727
55728	// An optional value that specifies whether you want the results sorted in Ascending
55729	// or Descending order.
55730	SortOrder *string `type:"string" enum:"SortOrder"`
55731}
55732
55733// String returns the string representation
55734func (s ListFlowDefinitionsInput) String() string {
55735	return awsutil.Prettify(s)
55736}
55737
55738// GoString returns the string representation
55739func (s ListFlowDefinitionsInput) GoString() string {
55740	return s.String()
55741}
55742
55743// Validate inspects the fields of the type to determine if they are valid.
55744func (s *ListFlowDefinitionsInput) Validate() error {
55745	invalidParams := request.ErrInvalidParams{Context: "ListFlowDefinitionsInput"}
55746	if s.MaxResults != nil && *s.MaxResults < 1 {
55747		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
55748	}
55749
55750	if invalidParams.Len() > 0 {
55751		return invalidParams
55752	}
55753	return nil
55754}
55755
55756// SetCreationTimeAfter sets the CreationTimeAfter field's value.
55757func (s *ListFlowDefinitionsInput) SetCreationTimeAfter(v time.Time) *ListFlowDefinitionsInput {
55758	s.CreationTimeAfter = &v
55759	return s
55760}
55761
55762// SetCreationTimeBefore sets the CreationTimeBefore field's value.
55763func (s *ListFlowDefinitionsInput) SetCreationTimeBefore(v time.Time) *ListFlowDefinitionsInput {
55764	s.CreationTimeBefore = &v
55765	return s
55766}
55767
55768// SetMaxResults sets the MaxResults field's value.
55769func (s *ListFlowDefinitionsInput) SetMaxResults(v int64) *ListFlowDefinitionsInput {
55770	s.MaxResults = &v
55771	return s
55772}
55773
55774// SetNextToken sets the NextToken field's value.
55775func (s *ListFlowDefinitionsInput) SetNextToken(v string) *ListFlowDefinitionsInput {
55776	s.NextToken = &v
55777	return s
55778}
55779
55780// SetSortOrder sets the SortOrder field's value.
55781func (s *ListFlowDefinitionsInput) SetSortOrder(v string) *ListFlowDefinitionsInput {
55782	s.SortOrder = &v
55783	return s
55784}
55785
55786type ListFlowDefinitionsOutput struct {
55787	_ struct{} `type:"structure"`
55788
55789	// An array of objects describing the flow definitions.
55790	//
55791	// FlowDefinitionSummaries is a required field
55792	FlowDefinitionSummaries []*FlowDefinitionSummary `type:"list" required:"true"`
55793
55794	// A token to resume pagination.
55795	NextToken *string `type:"string"`
55796}
55797
55798// String returns the string representation
55799func (s ListFlowDefinitionsOutput) String() string {
55800	return awsutil.Prettify(s)
55801}
55802
55803// GoString returns the string representation
55804func (s ListFlowDefinitionsOutput) GoString() string {
55805	return s.String()
55806}
55807
55808// SetFlowDefinitionSummaries sets the FlowDefinitionSummaries field's value.
55809func (s *ListFlowDefinitionsOutput) SetFlowDefinitionSummaries(v []*FlowDefinitionSummary) *ListFlowDefinitionsOutput {
55810	s.FlowDefinitionSummaries = v
55811	return s
55812}
55813
55814// SetNextToken sets the NextToken field's value.
55815func (s *ListFlowDefinitionsOutput) SetNextToken(v string) *ListFlowDefinitionsOutput {
55816	s.NextToken = &v
55817	return s
55818}
55819
55820type ListHumanTaskUisInput struct {
55821	_ struct{} `type:"structure"`
55822
55823	// A filter that returns only human task user interfaces with a creation time
55824	// greater than or equal to the specified timestamp.
55825	CreationTimeAfter *time.Time `type:"timestamp"`
55826
55827	// A filter that returns only human task user interfaces that were created before
55828	// the specified timestamp.
55829	CreationTimeBefore *time.Time `type:"timestamp"`
55830
55831	// The total number of items to return. If the total number of available items
55832	// is more than the value specified in MaxResults, then a NextToken will be
55833	// provided in the output that you can use to resume pagination.
55834	MaxResults *int64 `min:"1" type:"integer"`
55835
55836	// A token to resume pagination.
55837	NextToken *string `type:"string"`
55838
55839	// An optional value that specifies whether you want the results sorted in Ascending
55840	// or Descending order.
55841	SortOrder *string `type:"string" enum:"SortOrder"`
55842}
55843
55844// String returns the string representation
55845func (s ListHumanTaskUisInput) String() string {
55846	return awsutil.Prettify(s)
55847}
55848
55849// GoString returns the string representation
55850func (s ListHumanTaskUisInput) GoString() string {
55851	return s.String()
55852}
55853
55854// Validate inspects the fields of the type to determine if they are valid.
55855func (s *ListHumanTaskUisInput) Validate() error {
55856	invalidParams := request.ErrInvalidParams{Context: "ListHumanTaskUisInput"}
55857	if s.MaxResults != nil && *s.MaxResults < 1 {
55858		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
55859	}
55860
55861	if invalidParams.Len() > 0 {
55862		return invalidParams
55863	}
55864	return nil
55865}
55866
55867// SetCreationTimeAfter sets the CreationTimeAfter field's value.
55868func (s *ListHumanTaskUisInput) SetCreationTimeAfter(v time.Time) *ListHumanTaskUisInput {
55869	s.CreationTimeAfter = &v
55870	return s
55871}
55872
55873// SetCreationTimeBefore sets the CreationTimeBefore field's value.
55874func (s *ListHumanTaskUisInput) SetCreationTimeBefore(v time.Time) *ListHumanTaskUisInput {
55875	s.CreationTimeBefore = &v
55876	return s
55877}
55878
55879// SetMaxResults sets the MaxResults field's value.
55880func (s *ListHumanTaskUisInput) SetMaxResults(v int64) *ListHumanTaskUisInput {
55881	s.MaxResults = &v
55882	return s
55883}
55884
55885// SetNextToken sets the NextToken field's value.
55886func (s *ListHumanTaskUisInput) SetNextToken(v string) *ListHumanTaskUisInput {
55887	s.NextToken = &v
55888	return s
55889}
55890
55891// SetSortOrder sets the SortOrder field's value.
55892func (s *ListHumanTaskUisInput) SetSortOrder(v string) *ListHumanTaskUisInput {
55893	s.SortOrder = &v
55894	return s
55895}
55896
55897type ListHumanTaskUisOutput struct {
55898	_ struct{} `type:"structure"`
55899
55900	// An array of objects describing the human task user interfaces.
55901	//
55902	// HumanTaskUiSummaries is a required field
55903	HumanTaskUiSummaries []*HumanTaskUiSummary `type:"list" required:"true"`
55904
55905	// A token to resume pagination.
55906	NextToken *string `type:"string"`
55907}
55908
55909// String returns the string representation
55910func (s ListHumanTaskUisOutput) String() string {
55911	return awsutil.Prettify(s)
55912}
55913
55914// GoString returns the string representation
55915func (s ListHumanTaskUisOutput) GoString() string {
55916	return s.String()
55917}
55918
55919// SetHumanTaskUiSummaries sets the HumanTaskUiSummaries field's value.
55920func (s *ListHumanTaskUisOutput) SetHumanTaskUiSummaries(v []*HumanTaskUiSummary) *ListHumanTaskUisOutput {
55921	s.HumanTaskUiSummaries = v
55922	return s
55923}
55924
55925// SetNextToken sets the NextToken field's value.
55926func (s *ListHumanTaskUisOutput) SetNextToken(v string) *ListHumanTaskUisOutput {
55927	s.NextToken = &v
55928	return s
55929}
55930
55931type ListHyperParameterTuningJobsInput struct {
55932	_ struct{} `type:"structure"`
55933
55934	// A filter that returns only tuning jobs that were created after the specified
55935	// time.
55936	CreationTimeAfter *time.Time `type:"timestamp"`
55937
55938	// A filter that returns only tuning jobs that were created before the specified
55939	// time.
55940	CreationTimeBefore *time.Time `type:"timestamp"`
55941
55942	// A filter that returns only tuning jobs that were modified after the specified
55943	// time.
55944	LastModifiedTimeAfter *time.Time `type:"timestamp"`
55945
55946	// A filter that returns only tuning jobs that were modified before the specified
55947	// time.
55948	LastModifiedTimeBefore *time.Time `type:"timestamp"`
55949
55950	// The maximum number of tuning jobs to return. The default value is 10.
55951	MaxResults *int64 `min:"1" type:"integer"`
55952
55953	// A string in the tuning job name. This filter returns only tuning jobs whose
55954	// name contains the specified string.
55955	NameContains *string `type:"string"`
55956
55957	// If the result of the previous ListHyperParameterTuningJobs request was truncated,
55958	// the response includes a NextToken. To retrieve the next set of tuning jobs,
55959	// use the token in the next request.
55960	NextToken *string `type:"string"`
55961
55962	// The field to sort results by. The default is Name.
55963	SortBy *string `type:"string" enum:"HyperParameterTuningJobSortByOptions"`
55964
55965	// The sort order for results. The default is Ascending.
55966	SortOrder *string `type:"string" enum:"SortOrder"`
55967
55968	// A filter that returns only tuning jobs with the specified status.
55969	StatusEquals *string `type:"string" enum:"HyperParameterTuningJobStatus"`
55970}
55971
55972// String returns the string representation
55973func (s ListHyperParameterTuningJobsInput) String() string {
55974	return awsutil.Prettify(s)
55975}
55976
55977// GoString returns the string representation
55978func (s ListHyperParameterTuningJobsInput) GoString() string {
55979	return s.String()
55980}
55981
55982// Validate inspects the fields of the type to determine if they are valid.
55983func (s *ListHyperParameterTuningJobsInput) Validate() error {
55984	invalidParams := request.ErrInvalidParams{Context: "ListHyperParameterTuningJobsInput"}
55985	if s.MaxResults != nil && *s.MaxResults < 1 {
55986		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
55987	}
55988
55989	if invalidParams.Len() > 0 {
55990		return invalidParams
55991	}
55992	return nil
55993}
55994
55995// SetCreationTimeAfter sets the CreationTimeAfter field's value.
55996func (s *ListHyperParameterTuningJobsInput) SetCreationTimeAfter(v time.Time) *ListHyperParameterTuningJobsInput {
55997	s.CreationTimeAfter = &v
55998	return s
55999}
56000
56001// SetCreationTimeBefore sets the CreationTimeBefore field's value.
56002func (s *ListHyperParameterTuningJobsInput) SetCreationTimeBefore(v time.Time) *ListHyperParameterTuningJobsInput {
56003	s.CreationTimeBefore = &v
56004	return s
56005}
56006
56007// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
56008func (s *ListHyperParameterTuningJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListHyperParameterTuningJobsInput {
56009	s.LastModifiedTimeAfter = &v
56010	return s
56011}
56012
56013// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
56014func (s *ListHyperParameterTuningJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListHyperParameterTuningJobsInput {
56015	s.LastModifiedTimeBefore = &v
56016	return s
56017}
56018
56019// SetMaxResults sets the MaxResults field's value.
56020func (s *ListHyperParameterTuningJobsInput) SetMaxResults(v int64) *ListHyperParameterTuningJobsInput {
56021	s.MaxResults = &v
56022	return s
56023}
56024
56025// SetNameContains sets the NameContains field's value.
56026func (s *ListHyperParameterTuningJobsInput) SetNameContains(v string) *ListHyperParameterTuningJobsInput {
56027	s.NameContains = &v
56028	return s
56029}
56030
56031// SetNextToken sets the NextToken field's value.
56032func (s *ListHyperParameterTuningJobsInput) SetNextToken(v string) *ListHyperParameterTuningJobsInput {
56033	s.NextToken = &v
56034	return s
56035}
56036
56037// SetSortBy sets the SortBy field's value.
56038func (s *ListHyperParameterTuningJobsInput) SetSortBy(v string) *ListHyperParameterTuningJobsInput {
56039	s.SortBy = &v
56040	return s
56041}
56042
56043// SetSortOrder sets the SortOrder field's value.
56044func (s *ListHyperParameterTuningJobsInput) SetSortOrder(v string) *ListHyperParameterTuningJobsInput {
56045	s.SortOrder = &v
56046	return s
56047}
56048
56049// SetStatusEquals sets the StatusEquals field's value.
56050func (s *ListHyperParameterTuningJobsInput) SetStatusEquals(v string) *ListHyperParameterTuningJobsInput {
56051	s.StatusEquals = &v
56052	return s
56053}
56054
56055type ListHyperParameterTuningJobsOutput struct {
56056	_ struct{} `type:"structure"`
56057
56058	// A list of HyperParameterTuningJobSummary objects that describe the tuning
56059	// jobs that the ListHyperParameterTuningJobs request returned.
56060	//
56061	// HyperParameterTuningJobSummaries is a required field
56062	HyperParameterTuningJobSummaries []*HyperParameterTuningJobSummary `type:"list" required:"true"`
56063
56064	// If the result of this ListHyperParameterTuningJobs request was truncated,
56065	// the response includes a NextToken. To retrieve the next set of tuning jobs,
56066	// use the token in the next request.
56067	NextToken *string `type:"string"`
56068}
56069
56070// String returns the string representation
56071func (s ListHyperParameterTuningJobsOutput) String() string {
56072	return awsutil.Prettify(s)
56073}
56074
56075// GoString returns the string representation
56076func (s ListHyperParameterTuningJobsOutput) GoString() string {
56077	return s.String()
56078}
56079
56080// SetHyperParameterTuningJobSummaries sets the HyperParameterTuningJobSummaries field's value.
56081func (s *ListHyperParameterTuningJobsOutput) SetHyperParameterTuningJobSummaries(v []*HyperParameterTuningJobSummary) *ListHyperParameterTuningJobsOutput {
56082	s.HyperParameterTuningJobSummaries = v
56083	return s
56084}
56085
56086// SetNextToken sets the NextToken field's value.
56087func (s *ListHyperParameterTuningJobsOutput) SetNextToken(v string) *ListHyperParameterTuningJobsOutput {
56088	s.NextToken = &v
56089	return s
56090}
56091
56092type ListImageVersionsInput struct {
56093	_ struct{} `type:"structure"`
56094
56095	// A filter that returns only versions created on or after the specified time.
56096	CreationTimeAfter *time.Time `type:"timestamp"`
56097
56098	// A filter that returns only versions created on or before the specified time.
56099	CreationTimeBefore *time.Time `type:"timestamp"`
56100
56101	// The name of the image to list the versions of.
56102	//
56103	// ImageName is a required field
56104	ImageName *string `min:"1" type:"string" required:"true"`
56105
56106	// A filter that returns only versions modified on or after the specified time.
56107	LastModifiedTimeAfter *time.Time `type:"timestamp"`
56108
56109	// A filter that returns only versions modified on or before the specified time.
56110	LastModifiedTimeBefore *time.Time `type:"timestamp"`
56111
56112	// The maximum number of versions to return in the response. The default value
56113	// is 10.
56114	MaxResults *int64 `min:"1" type:"integer"`
56115
56116	// If the previous call to ListImageVersions didn't return the full set of versions,
56117	// the call returns a token for getting the next set of versions.
56118	NextToken *string `type:"string"`
56119
56120	// The property used to sort results. The default value is CREATION_TIME.
56121	SortBy *string `type:"string" enum:"ImageVersionSortBy"`
56122
56123	// The sort order. The default value is DESCENDING.
56124	SortOrder *string `type:"string" enum:"ImageVersionSortOrder"`
56125}
56126
56127// String returns the string representation
56128func (s ListImageVersionsInput) String() string {
56129	return awsutil.Prettify(s)
56130}
56131
56132// GoString returns the string representation
56133func (s ListImageVersionsInput) GoString() string {
56134	return s.String()
56135}
56136
56137// Validate inspects the fields of the type to determine if they are valid.
56138func (s *ListImageVersionsInput) Validate() error {
56139	invalidParams := request.ErrInvalidParams{Context: "ListImageVersionsInput"}
56140	if s.ImageName == nil {
56141		invalidParams.Add(request.NewErrParamRequired("ImageName"))
56142	}
56143	if s.ImageName != nil && len(*s.ImageName) < 1 {
56144		invalidParams.Add(request.NewErrParamMinLen("ImageName", 1))
56145	}
56146	if s.MaxResults != nil && *s.MaxResults < 1 {
56147		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
56148	}
56149
56150	if invalidParams.Len() > 0 {
56151		return invalidParams
56152	}
56153	return nil
56154}
56155
56156// SetCreationTimeAfter sets the CreationTimeAfter field's value.
56157func (s *ListImageVersionsInput) SetCreationTimeAfter(v time.Time) *ListImageVersionsInput {
56158	s.CreationTimeAfter = &v
56159	return s
56160}
56161
56162// SetCreationTimeBefore sets the CreationTimeBefore field's value.
56163func (s *ListImageVersionsInput) SetCreationTimeBefore(v time.Time) *ListImageVersionsInput {
56164	s.CreationTimeBefore = &v
56165	return s
56166}
56167
56168// SetImageName sets the ImageName field's value.
56169func (s *ListImageVersionsInput) SetImageName(v string) *ListImageVersionsInput {
56170	s.ImageName = &v
56171	return s
56172}
56173
56174// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
56175func (s *ListImageVersionsInput) SetLastModifiedTimeAfter(v time.Time) *ListImageVersionsInput {
56176	s.LastModifiedTimeAfter = &v
56177	return s
56178}
56179
56180// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
56181func (s *ListImageVersionsInput) SetLastModifiedTimeBefore(v time.Time) *ListImageVersionsInput {
56182	s.LastModifiedTimeBefore = &v
56183	return s
56184}
56185
56186// SetMaxResults sets the MaxResults field's value.
56187func (s *ListImageVersionsInput) SetMaxResults(v int64) *ListImageVersionsInput {
56188	s.MaxResults = &v
56189	return s
56190}
56191
56192// SetNextToken sets the NextToken field's value.
56193func (s *ListImageVersionsInput) SetNextToken(v string) *ListImageVersionsInput {
56194	s.NextToken = &v
56195	return s
56196}
56197
56198// SetSortBy sets the SortBy field's value.
56199func (s *ListImageVersionsInput) SetSortBy(v string) *ListImageVersionsInput {
56200	s.SortBy = &v
56201	return s
56202}
56203
56204// SetSortOrder sets the SortOrder field's value.
56205func (s *ListImageVersionsInput) SetSortOrder(v string) *ListImageVersionsInput {
56206	s.SortOrder = &v
56207	return s
56208}
56209
56210type ListImageVersionsOutput struct {
56211	_ struct{} `type:"structure"`
56212
56213	// A list of versions and their properties.
56214	ImageVersions []*ImageVersion `type:"list"`
56215
56216	// A token for getting the next set of versions, if there are any.
56217	NextToken *string `type:"string"`
56218}
56219
56220// String returns the string representation
56221func (s ListImageVersionsOutput) String() string {
56222	return awsutil.Prettify(s)
56223}
56224
56225// GoString returns the string representation
56226func (s ListImageVersionsOutput) GoString() string {
56227	return s.String()
56228}
56229
56230// SetImageVersions sets the ImageVersions field's value.
56231func (s *ListImageVersionsOutput) SetImageVersions(v []*ImageVersion) *ListImageVersionsOutput {
56232	s.ImageVersions = v
56233	return s
56234}
56235
56236// SetNextToken sets the NextToken field's value.
56237func (s *ListImageVersionsOutput) SetNextToken(v string) *ListImageVersionsOutput {
56238	s.NextToken = &v
56239	return s
56240}
56241
56242type ListImagesInput struct {
56243	_ struct{} `type:"structure"`
56244
56245	// A filter that returns only images created on or after the specified time.
56246	CreationTimeAfter *time.Time `type:"timestamp"`
56247
56248	// A filter that returns only images created on or before the specified time.
56249	CreationTimeBefore *time.Time `type:"timestamp"`
56250
56251	// A filter that returns only images modified on or after the specified time.
56252	LastModifiedTimeAfter *time.Time `type:"timestamp"`
56253
56254	// A filter that returns only images modified on or before the specified time.
56255	LastModifiedTimeBefore *time.Time `type:"timestamp"`
56256
56257	// The maximum number of images to return in the response. The default value
56258	// is 10.
56259	MaxResults *int64 `min:"1" type:"integer"`
56260
56261	// A filter that returns only images whose name contains the specified string.
56262	NameContains *string `type:"string"`
56263
56264	// If the previous call to ListImages didn't return the full set of images,
56265	// the call returns a token for getting the next set of images.
56266	NextToken *string `type:"string"`
56267
56268	// The property used to sort results. The default value is CREATION_TIME.
56269	SortBy *string `type:"string" enum:"ImageSortBy"`
56270
56271	// The sort order. The default value is DESCENDING.
56272	SortOrder *string `type:"string" enum:"ImageSortOrder"`
56273}
56274
56275// String returns the string representation
56276func (s ListImagesInput) String() string {
56277	return awsutil.Prettify(s)
56278}
56279
56280// GoString returns the string representation
56281func (s ListImagesInput) GoString() string {
56282	return s.String()
56283}
56284
56285// Validate inspects the fields of the type to determine if they are valid.
56286func (s *ListImagesInput) Validate() error {
56287	invalidParams := request.ErrInvalidParams{Context: "ListImagesInput"}
56288	if s.MaxResults != nil && *s.MaxResults < 1 {
56289		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
56290	}
56291
56292	if invalidParams.Len() > 0 {
56293		return invalidParams
56294	}
56295	return nil
56296}
56297
56298// SetCreationTimeAfter sets the CreationTimeAfter field's value.
56299func (s *ListImagesInput) SetCreationTimeAfter(v time.Time) *ListImagesInput {
56300	s.CreationTimeAfter = &v
56301	return s
56302}
56303
56304// SetCreationTimeBefore sets the CreationTimeBefore field's value.
56305func (s *ListImagesInput) SetCreationTimeBefore(v time.Time) *ListImagesInput {
56306	s.CreationTimeBefore = &v
56307	return s
56308}
56309
56310// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
56311func (s *ListImagesInput) SetLastModifiedTimeAfter(v time.Time) *ListImagesInput {
56312	s.LastModifiedTimeAfter = &v
56313	return s
56314}
56315
56316// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
56317func (s *ListImagesInput) SetLastModifiedTimeBefore(v time.Time) *ListImagesInput {
56318	s.LastModifiedTimeBefore = &v
56319	return s
56320}
56321
56322// SetMaxResults sets the MaxResults field's value.
56323func (s *ListImagesInput) SetMaxResults(v int64) *ListImagesInput {
56324	s.MaxResults = &v
56325	return s
56326}
56327
56328// SetNameContains sets the NameContains field's value.
56329func (s *ListImagesInput) SetNameContains(v string) *ListImagesInput {
56330	s.NameContains = &v
56331	return s
56332}
56333
56334// SetNextToken sets the NextToken field's value.
56335func (s *ListImagesInput) SetNextToken(v string) *ListImagesInput {
56336	s.NextToken = &v
56337	return s
56338}
56339
56340// SetSortBy sets the SortBy field's value.
56341func (s *ListImagesInput) SetSortBy(v string) *ListImagesInput {
56342	s.SortBy = &v
56343	return s
56344}
56345
56346// SetSortOrder sets the SortOrder field's value.
56347func (s *ListImagesInput) SetSortOrder(v string) *ListImagesInput {
56348	s.SortOrder = &v
56349	return s
56350}
56351
56352type ListImagesOutput struct {
56353	_ struct{} `type:"structure"`
56354
56355	// A list of images and their properties.
56356	Images []*Image `type:"list"`
56357
56358	// A token for getting the next set of images, if there are any.
56359	NextToken *string `type:"string"`
56360}
56361
56362// String returns the string representation
56363func (s ListImagesOutput) String() string {
56364	return awsutil.Prettify(s)
56365}
56366
56367// GoString returns the string representation
56368func (s ListImagesOutput) GoString() string {
56369	return s.String()
56370}
56371
56372// SetImages sets the Images field's value.
56373func (s *ListImagesOutput) SetImages(v []*Image) *ListImagesOutput {
56374	s.Images = v
56375	return s
56376}
56377
56378// SetNextToken sets the NextToken field's value.
56379func (s *ListImagesOutput) SetNextToken(v string) *ListImagesOutput {
56380	s.NextToken = &v
56381	return s
56382}
56383
56384type ListLabelingJobsForWorkteamInput struct {
56385	_ struct{} `type:"structure"`
56386
56387	// A filter that returns only labeling jobs created after the specified time
56388	// (timestamp).
56389	CreationTimeAfter *time.Time `type:"timestamp"`
56390
56391	// A filter that returns only labeling jobs created before the specified time
56392	// (timestamp).
56393	CreationTimeBefore *time.Time `type:"timestamp"`
56394
56395	// A filter the limits jobs to only the ones whose job reference code contains
56396	// the specified string.
56397	JobReferenceCodeContains *string `min:"1" type:"string"`
56398
56399	// The maximum number of labeling jobs to return in each page of the response.
56400	MaxResults *int64 `min:"1" type:"integer"`
56401
56402	// If the result of the previous ListLabelingJobsForWorkteam request was truncated,
56403	// the response includes a NextToken. To retrieve the next set of labeling jobs,
56404	// use the token in the next request.
56405	NextToken *string `type:"string"`
56406
56407	// The field to sort results by. The default is CreationTime.
56408	SortBy *string `type:"string" enum:"ListLabelingJobsForWorkteamSortByOptions"`
56409
56410	// The sort order for results. The default is Ascending.
56411	SortOrder *string `type:"string" enum:"SortOrder"`
56412
56413	// The Amazon Resource Name (ARN) of the work team for which you want to see
56414	// labeling jobs for.
56415	//
56416	// WorkteamArn is a required field
56417	WorkteamArn *string `type:"string" required:"true"`
56418}
56419
56420// String returns the string representation
56421func (s ListLabelingJobsForWorkteamInput) String() string {
56422	return awsutil.Prettify(s)
56423}
56424
56425// GoString returns the string representation
56426func (s ListLabelingJobsForWorkteamInput) GoString() string {
56427	return s.String()
56428}
56429
56430// Validate inspects the fields of the type to determine if they are valid.
56431func (s *ListLabelingJobsForWorkteamInput) Validate() error {
56432	invalidParams := request.ErrInvalidParams{Context: "ListLabelingJobsForWorkteamInput"}
56433	if s.JobReferenceCodeContains != nil && len(*s.JobReferenceCodeContains) < 1 {
56434		invalidParams.Add(request.NewErrParamMinLen("JobReferenceCodeContains", 1))
56435	}
56436	if s.MaxResults != nil && *s.MaxResults < 1 {
56437		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
56438	}
56439	if s.WorkteamArn == nil {
56440		invalidParams.Add(request.NewErrParamRequired("WorkteamArn"))
56441	}
56442
56443	if invalidParams.Len() > 0 {
56444		return invalidParams
56445	}
56446	return nil
56447}
56448
56449// SetCreationTimeAfter sets the CreationTimeAfter field's value.
56450func (s *ListLabelingJobsForWorkteamInput) SetCreationTimeAfter(v time.Time) *ListLabelingJobsForWorkteamInput {
56451	s.CreationTimeAfter = &v
56452	return s
56453}
56454
56455// SetCreationTimeBefore sets the CreationTimeBefore field's value.
56456func (s *ListLabelingJobsForWorkteamInput) SetCreationTimeBefore(v time.Time) *ListLabelingJobsForWorkteamInput {
56457	s.CreationTimeBefore = &v
56458	return s
56459}
56460
56461// SetJobReferenceCodeContains sets the JobReferenceCodeContains field's value.
56462func (s *ListLabelingJobsForWorkteamInput) SetJobReferenceCodeContains(v string) *ListLabelingJobsForWorkteamInput {
56463	s.JobReferenceCodeContains = &v
56464	return s
56465}
56466
56467// SetMaxResults sets the MaxResults field's value.
56468func (s *ListLabelingJobsForWorkteamInput) SetMaxResults(v int64) *ListLabelingJobsForWorkteamInput {
56469	s.MaxResults = &v
56470	return s
56471}
56472
56473// SetNextToken sets the NextToken field's value.
56474func (s *ListLabelingJobsForWorkteamInput) SetNextToken(v string) *ListLabelingJobsForWorkteamInput {
56475	s.NextToken = &v
56476	return s
56477}
56478
56479// SetSortBy sets the SortBy field's value.
56480func (s *ListLabelingJobsForWorkteamInput) SetSortBy(v string) *ListLabelingJobsForWorkteamInput {
56481	s.SortBy = &v
56482	return s
56483}
56484
56485// SetSortOrder sets the SortOrder field's value.
56486func (s *ListLabelingJobsForWorkteamInput) SetSortOrder(v string) *ListLabelingJobsForWorkteamInput {
56487	s.SortOrder = &v
56488	return s
56489}
56490
56491// SetWorkteamArn sets the WorkteamArn field's value.
56492func (s *ListLabelingJobsForWorkteamInput) SetWorkteamArn(v string) *ListLabelingJobsForWorkteamInput {
56493	s.WorkteamArn = &v
56494	return s
56495}
56496
56497type ListLabelingJobsForWorkteamOutput struct {
56498	_ struct{} `type:"structure"`
56499
56500	// An array of LabelingJobSummary objects, each describing a labeling job.
56501	//
56502	// LabelingJobSummaryList is a required field
56503	LabelingJobSummaryList []*LabelingJobForWorkteamSummary `type:"list" required:"true"`
56504
56505	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
56506	// the next set of labeling jobs, use it in the subsequent request.
56507	NextToken *string `type:"string"`
56508}
56509
56510// String returns the string representation
56511func (s ListLabelingJobsForWorkteamOutput) String() string {
56512	return awsutil.Prettify(s)
56513}
56514
56515// GoString returns the string representation
56516func (s ListLabelingJobsForWorkteamOutput) GoString() string {
56517	return s.String()
56518}
56519
56520// SetLabelingJobSummaryList sets the LabelingJobSummaryList field's value.
56521func (s *ListLabelingJobsForWorkteamOutput) SetLabelingJobSummaryList(v []*LabelingJobForWorkteamSummary) *ListLabelingJobsForWorkteamOutput {
56522	s.LabelingJobSummaryList = v
56523	return s
56524}
56525
56526// SetNextToken sets the NextToken field's value.
56527func (s *ListLabelingJobsForWorkteamOutput) SetNextToken(v string) *ListLabelingJobsForWorkteamOutput {
56528	s.NextToken = &v
56529	return s
56530}
56531
56532type ListLabelingJobsInput struct {
56533	_ struct{} `type:"structure"`
56534
56535	// A filter that returns only labeling jobs created after the specified time
56536	// (timestamp).
56537	CreationTimeAfter *time.Time `type:"timestamp"`
56538
56539	// A filter that returns only labeling jobs created before the specified time
56540	// (timestamp).
56541	CreationTimeBefore *time.Time `type:"timestamp"`
56542
56543	// A filter that returns only labeling jobs modified after the specified time
56544	// (timestamp).
56545	LastModifiedTimeAfter *time.Time `type:"timestamp"`
56546
56547	// A filter that returns only labeling jobs modified before the specified time
56548	// (timestamp).
56549	LastModifiedTimeBefore *time.Time `type:"timestamp"`
56550
56551	// The maximum number of labeling jobs to return in each page of the response.
56552	MaxResults *int64 `min:"1" type:"integer"`
56553
56554	// A string in the labeling job name. This filter returns only labeling jobs
56555	// whose name contains the specified string.
56556	NameContains *string `type:"string"`
56557
56558	// If the result of the previous ListLabelingJobs request was truncated, the
56559	// response includes a NextToken. To retrieve the next set of labeling jobs,
56560	// use the token in the next request.
56561	NextToken *string `type:"string"`
56562
56563	// The field to sort results by. The default is CreationTime.
56564	SortBy *string `type:"string" enum:"SortBy"`
56565
56566	// The sort order for results. The default is Ascending.
56567	SortOrder *string `type:"string" enum:"SortOrder"`
56568
56569	// A filter that retrieves only labeling jobs with a specific status.
56570	StatusEquals *string `type:"string" enum:"LabelingJobStatus"`
56571}
56572
56573// String returns the string representation
56574func (s ListLabelingJobsInput) String() string {
56575	return awsutil.Prettify(s)
56576}
56577
56578// GoString returns the string representation
56579func (s ListLabelingJobsInput) GoString() string {
56580	return s.String()
56581}
56582
56583// Validate inspects the fields of the type to determine if they are valid.
56584func (s *ListLabelingJobsInput) Validate() error {
56585	invalidParams := request.ErrInvalidParams{Context: "ListLabelingJobsInput"}
56586	if s.MaxResults != nil && *s.MaxResults < 1 {
56587		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
56588	}
56589
56590	if invalidParams.Len() > 0 {
56591		return invalidParams
56592	}
56593	return nil
56594}
56595
56596// SetCreationTimeAfter sets the CreationTimeAfter field's value.
56597func (s *ListLabelingJobsInput) SetCreationTimeAfter(v time.Time) *ListLabelingJobsInput {
56598	s.CreationTimeAfter = &v
56599	return s
56600}
56601
56602// SetCreationTimeBefore sets the CreationTimeBefore field's value.
56603func (s *ListLabelingJobsInput) SetCreationTimeBefore(v time.Time) *ListLabelingJobsInput {
56604	s.CreationTimeBefore = &v
56605	return s
56606}
56607
56608// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
56609func (s *ListLabelingJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListLabelingJobsInput {
56610	s.LastModifiedTimeAfter = &v
56611	return s
56612}
56613
56614// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
56615func (s *ListLabelingJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListLabelingJobsInput {
56616	s.LastModifiedTimeBefore = &v
56617	return s
56618}
56619
56620// SetMaxResults sets the MaxResults field's value.
56621func (s *ListLabelingJobsInput) SetMaxResults(v int64) *ListLabelingJobsInput {
56622	s.MaxResults = &v
56623	return s
56624}
56625
56626// SetNameContains sets the NameContains field's value.
56627func (s *ListLabelingJobsInput) SetNameContains(v string) *ListLabelingJobsInput {
56628	s.NameContains = &v
56629	return s
56630}
56631
56632// SetNextToken sets the NextToken field's value.
56633func (s *ListLabelingJobsInput) SetNextToken(v string) *ListLabelingJobsInput {
56634	s.NextToken = &v
56635	return s
56636}
56637
56638// SetSortBy sets the SortBy field's value.
56639func (s *ListLabelingJobsInput) SetSortBy(v string) *ListLabelingJobsInput {
56640	s.SortBy = &v
56641	return s
56642}
56643
56644// SetSortOrder sets the SortOrder field's value.
56645func (s *ListLabelingJobsInput) SetSortOrder(v string) *ListLabelingJobsInput {
56646	s.SortOrder = &v
56647	return s
56648}
56649
56650// SetStatusEquals sets the StatusEquals field's value.
56651func (s *ListLabelingJobsInput) SetStatusEquals(v string) *ListLabelingJobsInput {
56652	s.StatusEquals = &v
56653	return s
56654}
56655
56656type ListLabelingJobsOutput struct {
56657	_ struct{} `type:"structure"`
56658
56659	// An array of LabelingJobSummary objects, each describing a labeling job.
56660	LabelingJobSummaryList []*LabelingJobSummary `type:"list"`
56661
56662	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
56663	// the next set of labeling jobs, use it in the subsequent request.
56664	NextToken *string `type:"string"`
56665}
56666
56667// String returns the string representation
56668func (s ListLabelingJobsOutput) String() string {
56669	return awsutil.Prettify(s)
56670}
56671
56672// GoString returns the string representation
56673func (s ListLabelingJobsOutput) GoString() string {
56674	return s.String()
56675}
56676
56677// SetLabelingJobSummaryList sets the LabelingJobSummaryList field's value.
56678func (s *ListLabelingJobsOutput) SetLabelingJobSummaryList(v []*LabelingJobSummary) *ListLabelingJobsOutput {
56679	s.LabelingJobSummaryList = v
56680	return s
56681}
56682
56683// SetNextToken sets the NextToken field's value.
56684func (s *ListLabelingJobsOutput) SetNextToken(v string) *ListLabelingJobsOutput {
56685	s.NextToken = &v
56686	return s
56687}
56688
56689type ListModelBiasJobDefinitionsInput struct {
56690	_ struct{} `type:"structure"`
56691
56692	// A filter that returns only model bias jobs created after a specified time.
56693	CreationTimeAfter *time.Time `type:"timestamp"`
56694
56695	// A filter that returns only model bias jobs created before a specified time.
56696	CreationTimeBefore *time.Time `type:"timestamp"`
56697
56698	// Name of the endpoint to monitor for model bias.
56699	EndpointName *string `type:"string"`
56700
56701	// The maximum number of model bias jobs to return in the response. The default
56702	// value is 10.
56703	MaxResults *int64 `min:"1" type:"integer"`
56704
56705	// Filter for model bias jobs whose name contains a specified string.
56706	NameContains *string `type:"string"`
56707
56708	// The token returned if the response is truncated. To retrieve the next set
56709	// of job executions, use it in the next request.
56710	NextToken *string `type:"string"`
56711
56712	// Whether to sort results by the Name or CreationTime field. The default is
56713	// CreationTime.
56714	SortBy *string `type:"string" enum:"MonitoringJobDefinitionSortKey"`
56715
56716	// Whether to sort the results in Ascending or Descending order. The default
56717	// is Descending.
56718	SortOrder *string `type:"string" enum:"SortOrder"`
56719}
56720
56721// String returns the string representation
56722func (s ListModelBiasJobDefinitionsInput) String() string {
56723	return awsutil.Prettify(s)
56724}
56725
56726// GoString returns the string representation
56727func (s ListModelBiasJobDefinitionsInput) GoString() string {
56728	return s.String()
56729}
56730
56731// Validate inspects the fields of the type to determine if they are valid.
56732func (s *ListModelBiasJobDefinitionsInput) Validate() error {
56733	invalidParams := request.ErrInvalidParams{Context: "ListModelBiasJobDefinitionsInput"}
56734	if s.MaxResults != nil && *s.MaxResults < 1 {
56735		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
56736	}
56737
56738	if invalidParams.Len() > 0 {
56739		return invalidParams
56740	}
56741	return nil
56742}
56743
56744// SetCreationTimeAfter sets the CreationTimeAfter field's value.
56745func (s *ListModelBiasJobDefinitionsInput) SetCreationTimeAfter(v time.Time) *ListModelBiasJobDefinitionsInput {
56746	s.CreationTimeAfter = &v
56747	return s
56748}
56749
56750// SetCreationTimeBefore sets the CreationTimeBefore field's value.
56751func (s *ListModelBiasJobDefinitionsInput) SetCreationTimeBefore(v time.Time) *ListModelBiasJobDefinitionsInput {
56752	s.CreationTimeBefore = &v
56753	return s
56754}
56755
56756// SetEndpointName sets the EndpointName field's value.
56757func (s *ListModelBiasJobDefinitionsInput) SetEndpointName(v string) *ListModelBiasJobDefinitionsInput {
56758	s.EndpointName = &v
56759	return s
56760}
56761
56762// SetMaxResults sets the MaxResults field's value.
56763func (s *ListModelBiasJobDefinitionsInput) SetMaxResults(v int64) *ListModelBiasJobDefinitionsInput {
56764	s.MaxResults = &v
56765	return s
56766}
56767
56768// SetNameContains sets the NameContains field's value.
56769func (s *ListModelBiasJobDefinitionsInput) SetNameContains(v string) *ListModelBiasJobDefinitionsInput {
56770	s.NameContains = &v
56771	return s
56772}
56773
56774// SetNextToken sets the NextToken field's value.
56775func (s *ListModelBiasJobDefinitionsInput) SetNextToken(v string) *ListModelBiasJobDefinitionsInput {
56776	s.NextToken = &v
56777	return s
56778}
56779
56780// SetSortBy sets the SortBy field's value.
56781func (s *ListModelBiasJobDefinitionsInput) SetSortBy(v string) *ListModelBiasJobDefinitionsInput {
56782	s.SortBy = &v
56783	return s
56784}
56785
56786// SetSortOrder sets the SortOrder field's value.
56787func (s *ListModelBiasJobDefinitionsInput) SetSortOrder(v string) *ListModelBiasJobDefinitionsInput {
56788	s.SortOrder = &v
56789	return s
56790}
56791
56792type ListModelBiasJobDefinitionsOutput struct {
56793	_ struct{} `type:"structure"`
56794
56795	// A JSON array in which each element is a summary for a model bias jobs.
56796	//
56797	// JobDefinitionSummaries is a required field
56798	JobDefinitionSummaries []*MonitoringJobDefinitionSummary `type:"list" required:"true"`
56799
56800	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
56801	// the next set of jobs, use it in the subsequent request.
56802	NextToken *string `type:"string"`
56803}
56804
56805// String returns the string representation
56806func (s ListModelBiasJobDefinitionsOutput) String() string {
56807	return awsutil.Prettify(s)
56808}
56809
56810// GoString returns the string representation
56811func (s ListModelBiasJobDefinitionsOutput) GoString() string {
56812	return s.String()
56813}
56814
56815// SetJobDefinitionSummaries sets the JobDefinitionSummaries field's value.
56816func (s *ListModelBiasJobDefinitionsOutput) SetJobDefinitionSummaries(v []*MonitoringJobDefinitionSummary) *ListModelBiasJobDefinitionsOutput {
56817	s.JobDefinitionSummaries = v
56818	return s
56819}
56820
56821// SetNextToken sets the NextToken field's value.
56822func (s *ListModelBiasJobDefinitionsOutput) SetNextToken(v string) *ListModelBiasJobDefinitionsOutput {
56823	s.NextToken = &v
56824	return s
56825}
56826
56827type ListModelExplainabilityJobDefinitionsInput struct {
56828	_ struct{} `type:"structure"`
56829
56830	// A filter that returns only model explainability jobs created after a specified
56831	// time.
56832	CreationTimeAfter *time.Time `type:"timestamp"`
56833
56834	// A filter that returns only model explainability jobs created before a specified
56835	// time.
56836	CreationTimeBefore *time.Time `type:"timestamp"`
56837
56838	// Name of the endpoint to monitor for model explainability.
56839	EndpointName *string `type:"string"`
56840
56841	// The maximum number of jobs to return in the response. The default value is
56842	// 10.
56843	MaxResults *int64 `min:"1" type:"integer"`
56844
56845	// Filter for model explainability jobs whose name contains a specified string.
56846	NameContains *string `type:"string"`
56847
56848	// The token returned if the response is truncated. To retrieve the next set
56849	// of job executions, use it in the next request.
56850	NextToken *string `type:"string"`
56851
56852	// Whether to sort results by the Name or CreationTime field. The default is
56853	// CreationTime.
56854	SortBy *string `type:"string" enum:"MonitoringJobDefinitionSortKey"`
56855
56856	// Whether to sort the results in Ascending or Descending order. The default
56857	// is Descending.
56858	SortOrder *string `type:"string" enum:"SortOrder"`
56859}
56860
56861// String returns the string representation
56862func (s ListModelExplainabilityJobDefinitionsInput) String() string {
56863	return awsutil.Prettify(s)
56864}
56865
56866// GoString returns the string representation
56867func (s ListModelExplainabilityJobDefinitionsInput) GoString() string {
56868	return s.String()
56869}
56870
56871// Validate inspects the fields of the type to determine if they are valid.
56872func (s *ListModelExplainabilityJobDefinitionsInput) Validate() error {
56873	invalidParams := request.ErrInvalidParams{Context: "ListModelExplainabilityJobDefinitionsInput"}
56874	if s.MaxResults != nil && *s.MaxResults < 1 {
56875		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
56876	}
56877
56878	if invalidParams.Len() > 0 {
56879		return invalidParams
56880	}
56881	return nil
56882}
56883
56884// SetCreationTimeAfter sets the CreationTimeAfter field's value.
56885func (s *ListModelExplainabilityJobDefinitionsInput) SetCreationTimeAfter(v time.Time) *ListModelExplainabilityJobDefinitionsInput {
56886	s.CreationTimeAfter = &v
56887	return s
56888}
56889
56890// SetCreationTimeBefore sets the CreationTimeBefore field's value.
56891func (s *ListModelExplainabilityJobDefinitionsInput) SetCreationTimeBefore(v time.Time) *ListModelExplainabilityJobDefinitionsInput {
56892	s.CreationTimeBefore = &v
56893	return s
56894}
56895
56896// SetEndpointName sets the EndpointName field's value.
56897func (s *ListModelExplainabilityJobDefinitionsInput) SetEndpointName(v string) *ListModelExplainabilityJobDefinitionsInput {
56898	s.EndpointName = &v
56899	return s
56900}
56901
56902// SetMaxResults sets the MaxResults field's value.
56903func (s *ListModelExplainabilityJobDefinitionsInput) SetMaxResults(v int64) *ListModelExplainabilityJobDefinitionsInput {
56904	s.MaxResults = &v
56905	return s
56906}
56907
56908// SetNameContains sets the NameContains field's value.
56909func (s *ListModelExplainabilityJobDefinitionsInput) SetNameContains(v string) *ListModelExplainabilityJobDefinitionsInput {
56910	s.NameContains = &v
56911	return s
56912}
56913
56914// SetNextToken sets the NextToken field's value.
56915func (s *ListModelExplainabilityJobDefinitionsInput) SetNextToken(v string) *ListModelExplainabilityJobDefinitionsInput {
56916	s.NextToken = &v
56917	return s
56918}
56919
56920// SetSortBy sets the SortBy field's value.
56921func (s *ListModelExplainabilityJobDefinitionsInput) SetSortBy(v string) *ListModelExplainabilityJobDefinitionsInput {
56922	s.SortBy = &v
56923	return s
56924}
56925
56926// SetSortOrder sets the SortOrder field's value.
56927func (s *ListModelExplainabilityJobDefinitionsInput) SetSortOrder(v string) *ListModelExplainabilityJobDefinitionsInput {
56928	s.SortOrder = &v
56929	return s
56930}
56931
56932type ListModelExplainabilityJobDefinitionsOutput struct {
56933	_ struct{} `type:"structure"`
56934
56935	// A JSON array in which each element is a summary for a explainability bias
56936	// jobs.
56937	//
56938	// JobDefinitionSummaries is a required field
56939	JobDefinitionSummaries []*MonitoringJobDefinitionSummary `type:"list" required:"true"`
56940
56941	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
56942	// the next set of jobs, use it in the subsequent request.
56943	NextToken *string `type:"string"`
56944}
56945
56946// String returns the string representation
56947func (s ListModelExplainabilityJobDefinitionsOutput) String() string {
56948	return awsutil.Prettify(s)
56949}
56950
56951// GoString returns the string representation
56952func (s ListModelExplainabilityJobDefinitionsOutput) GoString() string {
56953	return s.String()
56954}
56955
56956// SetJobDefinitionSummaries sets the JobDefinitionSummaries field's value.
56957func (s *ListModelExplainabilityJobDefinitionsOutput) SetJobDefinitionSummaries(v []*MonitoringJobDefinitionSummary) *ListModelExplainabilityJobDefinitionsOutput {
56958	s.JobDefinitionSummaries = v
56959	return s
56960}
56961
56962// SetNextToken sets the NextToken field's value.
56963func (s *ListModelExplainabilityJobDefinitionsOutput) SetNextToken(v string) *ListModelExplainabilityJobDefinitionsOutput {
56964	s.NextToken = &v
56965	return s
56966}
56967
56968type ListModelPackageGroupsInput struct {
56969	_ struct{} `type:"structure"`
56970
56971	// A filter that returns only model groups created after the specified time.
56972	CreationTimeAfter *time.Time `type:"timestamp"`
56973
56974	// A filter that returns only model groups created before the specified time.
56975	CreationTimeBefore *time.Time `type:"timestamp"`
56976
56977	// The maximum number of results to return in the response.
56978	MaxResults *int64 `min:"1" type:"integer"`
56979
56980	// A string in the model group name. This filter returns only model groups whose
56981	// name contains the specified string.
56982	NameContains *string `type:"string"`
56983
56984	// If the result of the previous ListModelPackageGroups request was truncated,
56985	// the response includes a NextToken. To retrieve the next set of model groups,
56986	// use the token in the next request.
56987	NextToken *string `type:"string"`
56988
56989	// The field to sort results by. The default is CreationTime.
56990	SortBy *string `type:"string" enum:"ModelPackageGroupSortBy"`
56991
56992	// The sort order for results. The default is Ascending.
56993	SortOrder *string `type:"string" enum:"SortOrder"`
56994}
56995
56996// String returns the string representation
56997func (s ListModelPackageGroupsInput) String() string {
56998	return awsutil.Prettify(s)
56999}
57000
57001// GoString returns the string representation
57002func (s ListModelPackageGroupsInput) GoString() string {
57003	return s.String()
57004}
57005
57006// Validate inspects the fields of the type to determine if they are valid.
57007func (s *ListModelPackageGroupsInput) Validate() error {
57008	invalidParams := request.ErrInvalidParams{Context: "ListModelPackageGroupsInput"}
57009	if s.MaxResults != nil && *s.MaxResults < 1 {
57010		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
57011	}
57012
57013	if invalidParams.Len() > 0 {
57014		return invalidParams
57015	}
57016	return nil
57017}
57018
57019// SetCreationTimeAfter sets the CreationTimeAfter field's value.
57020func (s *ListModelPackageGroupsInput) SetCreationTimeAfter(v time.Time) *ListModelPackageGroupsInput {
57021	s.CreationTimeAfter = &v
57022	return s
57023}
57024
57025// SetCreationTimeBefore sets the CreationTimeBefore field's value.
57026func (s *ListModelPackageGroupsInput) SetCreationTimeBefore(v time.Time) *ListModelPackageGroupsInput {
57027	s.CreationTimeBefore = &v
57028	return s
57029}
57030
57031// SetMaxResults sets the MaxResults field's value.
57032func (s *ListModelPackageGroupsInput) SetMaxResults(v int64) *ListModelPackageGroupsInput {
57033	s.MaxResults = &v
57034	return s
57035}
57036
57037// SetNameContains sets the NameContains field's value.
57038func (s *ListModelPackageGroupsInput) SetNameContains(v string) *ListModelPackageGroupsInput {
57039	s.NameContains = &v
57040	return s
57041}
57042
57043// SetNextToken sets the NextToken field's value.
57044func (s *ListModelPackageGroupsInput) SetNextToken(v string) *ListModelPackageGroupsInput {
57045	s.NextToken = &v
57046	return s
57047}
57048
57049// SetSortBy sets the SortBy field's value.
57050func (s *ListModelPackageGroupsInput) SetSortBy(v string) *ListModelPackageGroupsInput {
57051	s.SortBy = &v
57052	return s
57053}
57054
57055// SetSortOrder sets the SortOrder field's value.
57056func (s *ListModelPackageGroupsInput) SetSortOrder(v string) *ListModelPackageGroupsInput {
57057	s.SortOrder = &v
57058	return s
57059}
57060
57061type ListModelPackageGroupsOutput struct {
57062	_ struct{} `type:"structure"`
57063
57064	// A list of summaries of the model groups in your AWS account.
57065	//
57066	// ModelPackageGroupSummaryList is a required field
57067	ModelPackageGroupSummaryList []*ModelPackageGroupSummary `type:"list" required:"true"`
57068
57069	// If the response is truncated, SageMaker returns this token. To retrieve the
57070	// next set of model groups, use it in the subsequent request.
57071	NextToken *string `type:"string"`
57072}
57073
57074// String returns the string representation
57075func (s ListModelPackageGroupsOutput) String() string {
57076	return awsutil.Prettify(s)
57077}
57078
57079// GoString returns the string representation
57080func (s ListModelPackageGroupsOutput) GoString() string {
57081	return s.String()
57082}
57083
57084// SetModelPackageGroupSummaryList sets the ModelPackageGroupSummaryList field's value.
57085func (s *ListModelPackageGroupsOutput) SetModelPackageGroupSummaryList(v []*ModelPackageGroupSummary) *ListModelPackageGroupsOutput {
57086	s.ModelPackageGroupSummaryList = v
57087	return s
57088}
57089
57090// SetNextToken sets the NextToken field's value.
57091func (s *ListModelPackageGroupsOutput) SetNextToken(v string) *ListModelPackageGroupsOutput {
57092	s.NextToken = &v
57093	return s
57094}
57095
57096type ListModelPackagesInput struct {
57097	_ struct{} `type:"structure"`
57098
57099	// A filter that returns only model packages created after the specified time
57100	// (timestamp).
57101	CreationTimeAfter *time.Time `type:"timestamp"`
57102
57103	// A filter that returns only model packages created before the specified time
57104	// (timestamp).
57105	CreationTimeBefore *time.Time `type:"timestamp"`
57106
57107	// The maximum number of model packages to return in the response.
57108	MaxResults *int64 `min:"1" type:"integer"`
57109
57110	// A filter that returns only the model packages with the specified approval
57111	// status.
57112	ModelApprovalStatus *string `type:"string" enum:"ModelApprovalStatus"`
57113
57114	// A filter that returns only model versions that belong to the specified model
57115	// group.
57116	ModelPackageGroupName *string `min:"1" type:"string"`
57117
57118	// A filter that returns onlyl the model packages of the specified type. This
57119	// can be one of the following values.
57120	//
57121	//    * VERSIONED - List only versioned models.
57122	//
57123	//    * UNVERSIONED - List only unversioined models.
57124	//
57125	//    * BOTH - List both versioned and unversioned models.
57126	ModelPackageType *string `type:"string" enum:"ModelPackageType"`
57127
57128	// A string in the model package name. This filter returns only model packages
57129	// whose name contains the specified string.
57130	NameContains *string `type:"string"`
57131
57132	// If the response to a previous ListModelPackages request was truncated, the
57133	// response includes a NextToken. To retrieve the next set of model packages,
57134	// use the token in the next request.
57135	NextToken *string `type:"string"`
57136
57137	// The parameter by which to sort the results. The default is CreationTime.
57138	SortBy *string `type:"string" enum:"ModelPackageSortBy"`
57139
57140	// The sort order for the results. The default is Ascending.
57141	SortOrder *string `type:"string" enum:"SortOrder"`
57142}
57143
57144// String returns the string representation
57145func (s ListModelPackagesInput) String() string {
57146	return awsutil.Prettify(s)
57147}
57148
57149// GoString returns the string representation
57150func (s ListModelPackagesInput) GoString() string {
57151	return s.String()
57152}
57153
57154// Validate inspects the fields of the type to determine if they are valid.
57155func (s *ListModelPackagesInput) Validate() error {
57156	invalidParams := request.ErrInvalidParams{Context: "ListModelPackagesInput"}
57157	if s.MaxResults != nil && *s.MaxResults < 1 {
57158		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
57159	}
57160	if s.ModelPackageGroupName != nil && len(*s.ModelPackageGroupName) < 1 {
57161		invalidParams.Add(request.NewErrParamMinLen("ModelPackageGroupName", 1))
57162	}
57163
57164	if invalidParams.Len() > 0 {
57165		return invalidParams
57166	}
57167	return nil
57168}
57169
57170// SetCreationTimeAfter sets the CreationTimeAfter field's value.
57171func (s *ListModelPackagesInput) SetCreationTimeAfter(v time.Time) *ListModelPackagesInput {
57172	s.CreationTimeAfter = &v
57173	return s
57174}
57175
57176// SetCreationTimeBefore sets the CreationTimeBefore field's value.
57177func (s *ListModelPackagesInput) SetCreationTimeBefore(v time.Time) *ListModelPackagesInput {
57178	s.CreationTimeBefore = &v
57179	return s
57180}
57181
57182// SetMaxResults sets the MaxResults field's value.
57183func (s *ListModelPackagesInput) SetMaxResults(v int64) *ListModelPackagesInput {
57184	s.MaxResults = &v
57185	return s
57186}
57187
57188// SetModelApprovalStatus sets the ModelApprovalStatus field's value.
57189func (s *ListModelPackagesInput) SetModelApprovalStatus(v string) *ListModelPackagesInput {
57190	s.ModelApprovalStatus = &v
57191	return s
57192}
57193
57194// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
57195func (s *ListModelPackagesInput) SetModelPackageGroupName(v string) *ListModelPackagesInput {
57196	s.ModelPackageGroupName = &v
57197	return s
57198}
57199
57200// SetModelPackageType sets the ModelPackageType field's value.
57201func (s *ListModelPackagesInput) SetModelPackageType(v string) *ListModelPackagesInput {
57202	s.ModelPackageType = &v
57203	return s
57204}
57205
57206// SetNameContains sets the NameContains field's value.
57207func (s *ListModelPackagesInput) SetNameContains(v string) *ListModelPackagesInput {
57208	s.NameContains = &v
57209	return s
57210}
57211
57212// SetNextToken sets the NextToken field's value.
57213func (s *ListModelPackagesInput) SetNextToken(v string) *ListModelPackagesInput {
57214	s.NextToken = &v
57215	return s
57216}
57217
57218// SetSortBy sets the SortBy field's value.
57219func (s *ListModelPackagesInput) SetSortBy(v string) *ListModelPackagesInput {
57220	s.SortBy = &v
57221	return s
57222}
57223
57224// SetSortOrder sets the SortOrder field's value.
57225func (s *ListModelPackagesInput) SetSortOrder(v string) *ListModelPackagesInput {
57226	s.SortOrder = &v
57227	return s
57228}
57229
57230type ListModelPackagesOutput struct {
57231	_ struct{} `type:"structure"`
57232
57233	// An array of ModelPackageSummary objects, each of which lists a model package.
57234	//
57235	// ModelPackageSummaryList is a required field
57236	ModelPackageSummaryList []*ModelPackageSummary `type:"list" required:"true"`
57237
57238	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
57239	// the next set of model packages, use it in the subsequent request.
57240	NextToken *string `type:"string"`
57241}
57242
57243// String returns the string representation
57244func (s ListModelPackagesOutput) String() string {
57245	return awsutil.Prettify(s)
57246}
57247
57248// GoString returns the string representation
57249func (s ListModelPackagesOutput) GoString() string {
57250	return s.String()
57251}
57252
57253// SetModelPackageSummaryList sets the ModelPackageSummaryList field's value.
57254func (s *ListModelPackagesOutput) SetModelPackageSummaryList(v []*ModelPackageSummary) *ListModelPackagesOutput {
57255	s.ModelPackageSummaryList = v
57256	return s
57257}
57258
57259// SetNextToken sets the NextToken field's value.
57260func (s *ListModelPackagesOutput) SetNextToken(v string) *ListModelPackagesOutput {
57261	s.NextToken = &v
57262	return s
57263}
57264
57265type ListModelQualityJobDefinitionsInput struct {
57266	_ struct{} `type:"structure"`
57267
57268	// A filter that returns only model quality monitoring job definitions created
57269	// after the specified time.
57270	CreationTimeAfter *time.Time `type:"timestamp"`
57271
57272	// A filter that returns only model quality monitoring job definitions created
57273	// before the specified time.
57274	CreationTimeBefore *time.Time `type:"timestamp"`
57275
57276	// A filter that returns only model quality monitoring job definitions that
57277	// are associated with the specified endpoint.
57278	EndpointName *string `type:"string"`
57279
57280	// The maximum number of results to return in a call to ListModelQualityJobDefinitions.
57281	MaxResults *int64 `min:"1" type:"integer"`
57282
57283	// A string in the transform job name. This filter returns only model quality
57284	// monitoring job definitions whose name contains the specified string.
57285	NameContains *string `type:"string"`
57286
57287	// If the result of the previous ListModelQualityJobDefinitions request was
57288	// truncated, the response includes a NextToken. To retrieve the next set of
57289	// model quality monitoring job definitions, use the token in the next request.
57290	NextToken *string `type:"string"`
57291
57292	// The field to sort results by. The default is CreationTime.
57293	SortBy *string `type:"string" enum:"MonitoringJobDefinitionSortKey"`
57294
57295	// The sort order for results. The default is Descending.
57296	SortOrder *string `type:"string" enum:"SortOrder"`
57297}
57298
57299// String returns the string representation
57300func (s ListModelQualityJobDefinitionsInput) String() string {
57301	return awsutil.Prettify(s)
57302}
57303
57304// GoString returns the string representation
57305func (s ListModelQualityJobDefinitionsInput) GoString() string {
57306	return s.String()
57307}
57308
57309// Validate inspects the fields of the type to determine if they are valid.
57310func (s *ListModelQualityJobDefinitionsInput) Validate() error {
57311	invalidParams := request.ErrInvalidParams{Context: "ListModelQualityJobDefinitionsInput"}
57312	if s.MaxResults != nil && *s.MaxResults < 1 {
57313		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
57314	}
57315
57316	if invalidParams.Len() > 0 {
57317		return invalidParams
57318	}
57319	return nil
57320}
57321
57322// SetCreationTimeAfter sets the CreationTimeAfter field's value.
57323func (s *ListModelQualityJobDefinitionsInput) SetCreationTimeAfter(v time.Time) *ListModelQualityJobDefinitionsInput {
57324	s.CreationTimeAfter = &v
57325	return s
57326}
57327
57328// SetCreationTimeBefore sets the CreationTimeBefore field's value.
57329func (s *ListModelQualityJobDefinitionsInput) SetCreationTimeBefore(v time.Time) *ListModelQualityJobDefinitionsInput {
57330	s.CreationTimeBefore = &v
57331	return s
57332}
57333
57334// SetEndpointName sets the EndpointName field's value.
57335func (s *ListModelQualityJobDefinitionsInput) SetEndpointName(v string) *ListModelQualityJobDefinitionsInput {
57336	s.EndpointName = &v
57337	return s
57338}
57339
57340// SetMaxResults sets the MaxResults field's value.
57341func (s *ListModelQualityJobDefinitionsInput) SetMaxResults(v int64) *ListModelQualityJobDefinitionsInput {
57342	s.MaxResults = &v
57343	return s
57344}
57345
57346// SetNameContains sets the NameContains field's value.
57347func (s *ListModelQualityJobDefinitionsInput) SetNameContains(v string) *ListModelQualityJobDefinitionsInput {
57348	s.NameContains = &v
57349	return s
57350}
57351
57352// SetNextToken sets the NextToken field's value.
57353func (s *ListModelQualityJobDefinitionsInput) SetNextToken(v string) *ListModelQualityJobDefinitionsInput {
57354	s.NextToken = &v
57355	return s
57356}
57357
57358// SetSortBy sets the SortBy field's value.
57359func (s *ListModelQualityJobDefinitionsInput) SetSortBy(v string) *ListModelQualityJobDefinitionsInput {
57360	s.SortBy = &v
57361	return s
57362}
57363
57364// SetSortOrder sets the SortOrder field's value.
57365func (s *ListModelQualityJobDefinitionsInput) SetSortOrder(v string) *ListModelQualityJobDefinitionsInput {
57366	s.SortOrder = &v
57367	return s
57368}
57369
57370type ListModelQualityJobDefinitionsOutput struct {
57371	_ struct{} `type:"structure"`
57372
57373	// A list of summaries of model quality monitoring job definitions.
57374	//
57375	// JobDefinitionSummaries is a required field
57376	JobDefinitionSummaries []*MonitoringJobDefinitionSummary `type:"list" required:"true"`
57377
57378	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
57379	// the next set of model quality monitoring job definitions, use it in the next
57380	// request.
57381	NextToken *string `type:"string"`
57382}
57383
57384// String returns the string representation
57385func (s ListModelQualityJobDefinitionsOutput) String() string {
57386	return awsutil.Prettify(s)
57387}
57388
57389// GoString returns the string representation
57390func (s ListModelQualityJobDefinitionsOutput) GoString() string {
57391	return s.String()
57392}
57393
57394// SetJobDefinitionSummaries sets the JobDefinitionSummaries field's value.
57395func (s *ListModelQualityJobDefinitionsOutput) SetJobDefinitionSummaries(v []*MonitoringJobDefinitionSummary) *ListModelQualityJobDefinitionsOutput {
57396	s.JobDefinitionSummaries = v
57397	return s
57398}
57399
57400// SetNextToken sets the NextToken field's value.
57401func (s *ListModelQualityJobDefinitionsOutput) SetNextToken(v string) *ListModelQualityJobDefinitionsOutput {
57402	s.NextToken = &v
57403	return s
57404}
57405
57406type ListModelsInput struct {
57407	_ struct{} `type:"structure"`
57408
57409	// A filter that returns only models with a creation time greater than or equal
57410	// to the specified time (timestamp).
57411	CreationTimeAfter *time.Time `type:"timestamp"`
57412
57413	// A filter that returns only models created before the specified time (timestamp).
57414	CreationTimeBefore *time.Time `type:"timestamp"`
57415
57416	// The maximum number of models to return in the response.
57417	MaxResults *int64 `min:"1" type:"integer"`
57418
57419	// A string in the training job name. This filter returns only models in the
57420	// training job whose name contains the specified string.
57421	NameContains *string `type:"string"`
57422
57423	// If the response to a previous ListModels request was truncated, the response
57424	// includes a NextToken. To retrieve the next set of models, use the token in
57425	// the next request.
57426	NextToken *string `type:"string"`
57427
57428	// Sorts the list of results. The default is CreationTime.
57429	SortBy *string `type:"string" enum:"ModelSortKey"`
57430
57431	// The sort order for results. The default is Descending.
57432	SortOrder *string `type:"string" enum:"OrderKey"`
57433}
57434
57435// String returns the string representation
57436func (s ListModelsInput) String() string {
57437	return awsutil.Prettify(s)
57438}
57439
57440// GoString returns the string representation
57441func (s ListModelsInput) GoString() string {
57442	return s.String()
57443}
57444
57445// Validate inspects the fields of the type to determine if they are valid.
57446func (s *ListModelsInput) Validate() error {
57447	invalidParams := request.ErrInvalidParams{Context: "ListModelsInput"}
57448	if s.MaxResults != nil && *s.MaxResults < 1 {
57449		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
57450	}
57451
57452	if invalidParams.Len() > 0 {
57453		return invalidParams
57454	}
57455	return nil
57456}
57457
57458// SetCreationTimeAfter sets the CreationTimeAfter field's value.
57459func (s *ListModelsInput) SetCreationTimeAfter(v time.Time) *ListModelsInput {
57460	s.CreationTimeAfter = &v
57461	return s
57462}
57463
57464// SetCreationTimeBefore sets the CreationTimeBefore field's value.
57465func (s *ListModelsInput) SetCreationTimeBefore(v time.Time) *ListModelsInput {
57466	s.CreationTimeBefore = &v
57467	return s
57468}
57469
57470// SetMaxResults sets the MaxResults field's value.
57471func (s *ListModelsInput) SetMaxResults(v int64) *ListModelsInput {
57472	s.MaxResults = &v
57473	return s
57474}
57475
57476// SetNameContains sets the NameContains field's value.
57477func (s *ListModelsInput) SetNameContains(v string) *ListModelsInput {
57478	s.NameContains = &v
57479	return s
57480}
57481
57482// SetNextToken sets the NextToken field's value.
57483func (s *ListModelsInput) SetNextToken(v string) *ListModelsInput {
57484	s.NextToken = &v
57485	return s
57486}
57487
57488// SetSortBy sets the SortBy field's value.
57489func (s *ListModelsInput) SetSortBy(v string) *ListModelsInput {
57490	s.SortBy = &v
57491	return s
57492}
57493
57494// SetSortOrder sets the SortOrder field's value.
57495func (s *ListModelsInput) SetSortOrder(v string) *ListModelsInput {
57496	s.SortOrder = &v
57497	return s
57498}
57499
57500type ListModelsOutput struct {
57501	_ struct{} `type:"structure"`
57502
57503	// An array of ModelSummary objects, each of which lists a model.
57504	//
57505	// Models is a required field
57506	Models []*ModelSummary `type:"list" required:"true"`
57507
57508	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
57509	// the next set of models, use it in the subsequent request.
57510	NextToken *string `type:"string"`
57511}
57512
57513// String returns the string representation
57514func (s ListModelsOutput) String() string {
57515	return awsutil.Prettify(s)
57516}
57517
57518// GoString returns the string representation
57519func (s ListModelsOutput) GoString() string {
57520	return s.String()
57521}
57522
57523// SetModels sets the Models field's value.
57524func (s *ListModelsOutput) SetModels(v []*ModelSummary) *ListModelsOutput {
57525	s.Models = v
57526	return s
57527}
57528
57529// SetNextToken sets the NextToken field's value.
57530func (s *ListModelsOutput) SetNextToken(v string) *ListModelsOutput {
57531	s.NextToken = &v
57532	return s
57533}
57534
57535type ListMonitoringExecutionsInput struct {
57536	_ struct{} `type:"structure"`
57537
57538	// A filter that returns only jobs created after a specified time.
57539	CreationTimeAfter *time.Time `type:"timestamp"`
57540
57541	// A filter that returns only jobs created before a specified time.
57542	CreationTimeBefore *time.Time `type:"timestamp"`
57543
57544	// Name of a specific endpoint to fetch jobs for.
57545	EndpointName *string `type:"string"`
57546
57547	// A filter that returns only jobs modified before a specified time.
57548	LastModifiedTimeAfter *time.Time `type:"timestamp"`
57549
57550	// A filter that returns only jobs modified after a specified time.
57551	LastModifiedTimeBefore *time.Time `type:"timestamp"`
57552
57553	// The maximum number of jobs to return in the response. The default value is
57554	// 10.
57555	MaxResults *int64 `min:"1" type:"integer"`
57556
57557	// Gets a list of the monitoring job runs of the specified monitoring job definitions.
57558	MonitoringJobDefinitionName *string `min:"1" type:"string"`
57559
57560	// Name of a specific schedule to fetch jobs for.
57561	MonitoringScheduleName *string `min:"1" type:"string"`
57562
57563	// A filter that returns only the monitoring job runs of the specified monitoring
57564	// type.
57565	MonitoringTypeEquals *string `type:"string" enum:"MonitoringType"`
57566
57567	// The token returned if the response is truncated. To retrieve the next set
57568	// of job executions, use it in the next request.
57569	NextToken *string `type:"string"`
57570
57571	// Filter for jobs scheduled after a specified time.
57572	ScheduledTimeAfter *time.Time `type:"timestamp"`
57573
57574	// Filter for jobs scheduled before a specified time.
57575	ScheduledTimeBefore *time.Time `type:"timestamp"`
57576
57577	// Whether to sort results by Status, CreationTime, ScheduledTime field. The
57578	// default is CreationTime.
57579	SortBy *string `type:"string" enum:"MonitoringExecutionSortKey"`
57580
57581	// Whether to sort the results in Ascending or Descending order. The default
57582	// is Descending.
57583	SortOrder *string `type:"string" enum:"SortOrder"`
57584
57585	// A filter that retrieves only jobs with a specific status.
57586	StatusEquals *string `type:"string" enum:"ExecutionStatus"`
57587}
57588
57589// String returns the string representation
57590func (s ListMonitoringExecutionsInput) String() string {
57591	return awsutil.Prettify(s)
57592}
57593
57594// GoString returns the string representation
57595func (s ListMonitoringExecutionsInput) GoString() string {
57596	return s.String()
57597}
57598
57599// Validate inspects the fields of the type to determine if they are valid.
57600func (s *ListMonitoringExecutionsInput) Validate() error {
57601	invalidParams := request.ErrInvalidParams{Context: "ListMonitoringExecutionsInput"}
57602	if s.MaxResults != nil && *s.MaxResults < 1 {
57603		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
57604	}
57605	if s.MonitoringJobDefinitionName != nil && len(*s.MonitoringJobDefinitionName) < 1 {
57606		invalidParams.Add(request.NewErrParamMinLen("MonitoringJobDefinitionName", 1))
57607	}
57608	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
57609		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
57610	}
57611
57612	if invalidParams.Len() > 0 {
57613		return invalidParams
57614	}
57615	return nil
57616}
57617
57618// SetCreationTimeAfter sets the CreationTimeAfter field's value.
57619func (s *ListMonitoringExecutionsInput) SetCreationTimeAfter(v time.Time) *ListMonitoringExecutionsInput {
57620	s.CreationTimeAfter = &v
57621	return s
57622}
57623
57624// SetCreationTimeBefore sets the CreationTimeBefore field's value.
57625func (s *ListMonitoringExecutionsInput) SetCreationTimeBefore(v time.Time) *ListMonitoringExecutionsInput {
57626	s.CreationTimeBefore = &v
57627	return s
57628}
57629
57630// SetEndpointName sets the EndpointName field's value.
57631func (s *ListMonitoringExecutionsInput) SetEndpointName(v string) *ListMonitoringExecutionsInput {
57632	s.EndpointName = &v
57633	return s
57634}
57635
57636// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
57637func (s *ListMonitoringExecutionsInput) SetLastModifiedTimeAfter(v time.Time) *ListMonitoringExecutionsInput {
57638	s.LastModifiedTimeAfter = &v
57639	return s
57640}
57641
57642// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
57643func (s *ListMonitoringExecutionsInput) SetLastModifiedTimeBefore(v time.Time) *ListMonitoringExecutionsInput {
57644	s.LastModifiedTimeBefore = &v
57645	return s
57646}
57647
57648// SetMaxResults sets the MaxResults field's value.
57649func (s *ListMonitoringExecutionsInput) SetMaxResults(v int64) *ListMonitoringExecutionsInput {
57650	s.MaxResults = &v
57651	return s
57652}
57653
57654// SetMonitoringJobDefinitionName sets the MonitoringJobDefinitionName field's value.
57655func (s *ListMonitoringExecutionsInput) SetMonitoringJobDefinitionName(v string) *ListMonitoringExecutionsInput {
57656	s.MonitoringJobDefinitionName = &v
57657	return s
57658}
57659
57660// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
57661func (s *ListMonitoringExecutionsInput) SetMonitoringScheduleName(v string) *ListMonitoringExecutionsInput {
57662	s.MonitoringScheduleName = &v
57663	return s
57664}
57665
57666// SetMonitoringTypeEquals sets the MonitoringTypeEquals field's value.
57667func (s *ListMonitoringExecutionsInput) SetMonitoringTypeEquals(v string) *ListMonitoringExecutionsInput {
57668	s.MonitoringTypeEquals = &v
57669	return s
57670}
57671
57672// SetNextToken sets the NextToken field's value.
57673func (s *ListMonitoringExecutionsInput) SetNextToken(v string) *ListMonitoringExecutionsInput {
57674	s.NextToken = &v
57675	return s
57676}
57677
57678// SetScheduledTimeAfter sets the ScheduledTimeAfter field's value.
57679func (s *ListMonitoringExecutionsInput) SetScheduledTimeAfter(v time.Time) *ListMonitoringExecutionsInput {
57680	s.ScheduledTimeAfter = &v
57681	return s
57682}
57683
57684// SetScheduledTimeBefore sets the ScheduledTimeBefore field's value.
57685func (s *ListMonitoringExecutionsInput) SetScheduledTimeBefore(v time.Time) *ListMonitoringExecutionsInput {
57686	s.ScheduledTimeBefore = &v
57687	return s
57688}
57689
57690// SetSortBy sets the SortBy field's value.
57691func (s *ListMonitoringExecutionsInput) SetSortBy(v string) *ListMonitoringExecutionsInput {
57692	s.SortBy = &v
57693	return s
57694}
57695
57696// SetSortOrder sets the SortOrder field's value.
57697func (s *ListMonitoringExecutionsInput) SetSortOrder(v string) *ListMonitoringExecutionsInput {
57698	s.SortOrder = &v
57699	return s
57700}
57701
57702// SetStatusEquals sets the StatusEquals field's value.
57703func (s *ListMonitoringExecutionsInput) SetStatusEquals(v string) *ListMonitoringExecutionsInput {
57704	s.StatusEquals = &v
57705	return s
57706}
57707
57708type ListMonitoringExecutionsOutput struct {
57709	_ struct{} `type:"structure"`
57710
57711	// A JSON array in which each element is a summary for a monitoring execution.
57712	//
57713	// MonitoringExecutionSummaries is a required field
57714	MonitoringExecutionSummaries []*MonitoringExecutionSummary `type:"list" required:"true"`
57715
57716	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
57717	// the next set of jobs, use it in the subsequent reques
57718	NextToken *string `type:"string"`
57719}
57720
57721// String returns the string representation
57722func (s ListMonitoringExecutionsOutput) String() string {
57723	return awsutil.Prettify(s)
57724}
57725
57726// GoString returns the string representation
57727func (s ListMonitoringExecutionsOutput) GoString() string {
57728	return s.String()
57729}
57730
57731// SetMonitoringExecutionSummaries sets the MonitoringExecutionSummaries field's value.
57732func (s *ListMonitoringExecutionsOutput) SetMonitoringExecutionSummaries(v []*MonitoringExecutionSummary) *ListMonitoringExecutionsOutput {
57733	s.MonitoringExecutionSummaries = v
57734	return s
57735}
57736
57737// SetNextToken sets the NextToken field's value.
57738func (s *ListMonitoringExecutionsOutput) SetNextToken(v string) *ListMonitoringExecutionsOutput {
57739	s.NextToken = &v
57740	return s
57741}
57742
57743type ListMonitoringSchedulesInput struct {
57744	_ struct{} `type:"structure"`
57745
57746	// A filter that returns only monitoring schedules created after a specified
57747	// time.
57748	CreationTimeAfter *time.Time `type:"timestamp"`
57749
57750	// A filter that returns only monitoring schedules created before a specified
57751	// time.
57752	CreationTimeBefore *time.Time `type:"timestamp"`
57753
57754	// Name of a specific endpoint to fetch schedules for.
57755	EndpointName *string `type:"string"`
57756
57757	// A filter that returns only monitoring schedules modified after a specified
57758	// time.
57759	LastModifiedTimeAfter *time.Time `type:"timestamp"`
57760
57761	// A filter that returns only monitoring schedules modified before a specified
57762	// time.
57763	LastModifiedTimeBefore *time.Time `type:"timestamp"`
57764
57765	// The maximum number of jobs to return in the response. The default value is
57766	// 10.
57767	MaxResults *int64 `min:"1" type:"integer"`
57768
57769	// Gets a list of the monitoring schedules for the specified monitoring job
57770	// definition.
57771	MonitoringJobDefinitionName *string `min:"1" type:"string"`
57772
57773	// A filter that returns only the monitoring schedules for the specified monitoring
57774	// type.
57775	MonitoringTypeEquals *string `type:"string" enum:"MonitoringType"`
57776
57777	// Filter for monitoring schedules whose name contains a specified string.
57778	NameContains *string `type:"string"`
57779
57780	// The token returned if the response is truncated. To retrieve the next set
57781	// of job executions, use it in the next request.
57782	NextToken *string `type:"string"`
57783
57784	// Whether to sort results by Status, CreationTime, ScheduledTime field. The
57785	// default is CreationTime.
57786	SortBy *string `type:"string" enum:"MonitoringScheduleSortKey"`
57787
57788	// Whether to sort the results in Ascending or Descending order. The default
57789	// is Descending.
57790	SortOrder *string `type:"string" enum:"SortOrder"`
57791
57792	// A filter that returns only monitoring schedules modified before a specified
57793	// time.
57794	StatusEquals *string `type:"string" enum:"ScheduleStatus"`
57795}
57796
57797// String returns the string representation
57798func (s ListMonitoringSchedulesInput) String() string {
57799	return awsutil.Prettify(s)
57800}
57801
57802// GoString returns the string representation
57803func (s ListMonitoringSchedulesInput) GoString() string {
57804	return s.String()
57805}
57806
57807// Validate inspects the fields of the type to determine if they are valid.
57808func (s *ListMonitoringSchedulesInput) Validate() error {
57809	invalidParams := request.ErrInvalidParams{Context: "ListMonitoringSchedulesInput"}
57810	if s.MaxResults != nil && *s.MaxResults < 1 {
57811		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
57812	}
57813	if s.MonitoringJobDefinitionName != nil && len(*s.MonitoringJobDefinitionName) < 1 {
57814		invalidParams.Add(request.NewErrParamMinLen("MonitoringJobDefinitionName", 1))
57815	}
57816
57817	if invalidParams.Len() > 0 {
57818		return invalidParams
57819	}
57820	return nil
57821}
57822
57823// SetCreationTimeAfter sets the CreationTimeAfter field's value.
57824func (s *ListMonitoringSchedulesInput) SetCreationTimeAfter(v time.Time) *ListMonitoringSchedulesInput {
57825	s.CreationTimeAfter = &v
57826	return s
57827}
57828
57829// SetCreationTimeBefore sets the CreationTimeBefore field's value.
57830func (s *ListMonitoringSchedulesInput) SetCreationTimeBefore(v time.Time) *ListMonitoringSchedulesInput {
57831	s.CreationTimeBefore = &v
57832	return s
57833}
57834
57835// SetEndpointName sets the EndpointName field's value.
57836func (s *ListMonitoringSchedulesInput) SetEndpointName(v string) *ListMonitoringSchedulesInput {
57837	s.EndpointName = &v
57838	return s
57839}
57840
57841// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
57842func (s *ListMonitoringSchedulesInput) SetLastModifiedTimeAfter(v time.Time) *ListMonitoringSchedulesInput {
57843	s.LastModifiedTimeAfter = &v
57844	return s
57845}
57846
57847// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
57848func (s *ListMonitoringSchedulesInput) SetLastModifiedTimeBefore(v time.Time) *ListMonitoringSchedulesInput {
57849	s.LastModifiedTimeBefore = &v
57850	return s
57851}
57852
57853// SetMaxResults sets the MaxResults field's value.
57854func (s *ListMonitoringSchedulesInput) SetMaxResults(v int64) *ListMonitoringSchedulesInput {
57855	s.MaxResults = &v
57856	return s
57857}
57858
57859// SetMonitoringJobDefinitionName sets the MonitoringJobDefinitionName field's value.
57860func (s *ListMonitoringSchedulesInput) SetMonitoringJobDefinitionName(v string) *ListMonitoringSchedulesInput {
57861	s.MonitoringJobDefinitionName = &v
57862	return s
57863}
57864
57865// SetMonitoringTypeEquals sets the MonitoringTypeEquals field's value.
57866func (s *ListMonitoringSchedulesInput) SetMonitoringTypeEquals(v string) *ListMonitoringSchedulesInput {
57867	s.MonitoringTypeEquals = &v
57868	return s
57869}
57870
57871// SetNameContains sets the NameContains field's value.
57872func (s *ListMonitoringSchedulesInput) SetNameContains(v string) *ListMonitoringSchedulesInput {
57873	s.NameContains = &v
57874	return s
57875}
57876
57877// SetNextToken sets the NextToken field's value.
57878func (s *ListMonitoringSchedulesInput) SetNextToken(v string) *ListMonitoringSchedulesInput {
57879	s.NextToken = &v
57880	return s
57881}
57882
57883// SetSortBy sets the SortBy field's value.
57884func (s *ListMonitoringSchedulesInput) SetSortBy(v string) *ListMonitoringSchedulesInput {
57885	s.SortBy = &v
57886	return s
57887}
57888
57889// SetSortOrder sets the SortOrder field's value.
57890func (s *ListMonitoringSchedulesInput) SetSortOrder(v string) *ListMonitoringSchedulesInput {
57891	s.SortOrder = &v
57892	return s
57893}
57894
57895// SetStatusEquals sets the StatusEquals field's value.
57896func (s *ListMonitoringSchedulesInput) SetStatusEquals(v string) *ListMonitoringSchedulesInput {
57897	s.StatusEquals = &v
57898	return s
57899}
57900
57901type ListMonitoringSchedulesOutput struct {
57902	_ struct{} `type:"structure"`
57903
57904	// A JSON array in which each element is a summary for a monitoring schedule.
57905	//
57906	// MonitoringScheduleSummaries is a required field
57907	MonitoringScheduleSummaries []*MonitoringScheduleSummary `type:"list" required:"true"`
57908
57909	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
57910	// the next set of jobs, use it in the subsequent request.
57911	NextToken *string `type:"string"`
57912}
57913
57914// String returns the string representation
57915func (s ListMonitoringSchedulesOutput) String() string {
57916	return awsutil.Prettify(s)
57917}
57918
57919// GoString returns the string representation
57920func (s ListMonitoringSchedulesOutput) GoString() string {
57921	return s.String()
57922}
57923
57924// SetMonitoringScheduleSummaries sets the MonitoringScheduleSummaries field's value.
57925func (s *ListMonitoringSchedulesOutput) SetMonitoringScheduleSummaries(v []*MonitoringScheduleSummary) *ListMonitoringSchedulesOutput {
57926	s.MonitoringScheduleSummaries = v
57927	return s
57928}
57929
57930// SetNextToken sets the NextToken field's value.
57931func (s *ListMonitoringSchedulesOutput) SetNextToken(v string) *ListMonitoringSchedulesOutput {
57932	s.NextToken = &v
57933	return s
57934}
57935
57936type ListNotebookInstanceLifecycleConfigsInput struct {
57937	_ struct{} `type:"structure"`
57938
57939	// A filter that returns only lifecycle configurations that were created after
57940	// the specified time (timestamp).
57941	CreationTimeAfter *time.Time `type:"timestamp"`
57942
57943	// A filter that returns only lifecycle configurations that were created before
57944	// the specified time (timestamp).
57945	CreationTimeBefore *time.Time `type:"timestamp"`
57946
57947	// A filter that returns only lifecycle configurations that were modified after
57948	// the specified time (timestamp).
57949	LastModifiedTimeAfter *time.Time `type:"timestamp"`
57950
57951	// A filter that returns only lifecycle configurations that were modified before
57952	// the specified time (timestamp).
57953	LastModifiedTimeBefore *time.Time `type:"timestamp"`
57954
57955	// The maximum number of lifecycle configurations to return in the response.
57956	MaxResults *int64 `min:"1" type:"integer"`
57957
57958	// A string in the lifecycle configuration name. This filter returns only lifecycle
57959	// configurations whose name contains the specified string.
57960	NameContains *string `type:"string"`
57961
57962	// If the result of a ListNotebookInstanceLifecycleConfigs request was truncated,
57963	// the response includes a NextToken. To get the next set of lifecycle configurations,
57964	// use the token in the next request.
57965	NextToken *string `type:"string"`
57966
57967	// Sorts the list of results. The default is CreationTime.
57968	SortBy *string `type:"string" enum:"NotebookInstanceLifecycleConfigSortKey"`
57969
57970	// The sort order for results.
57971	SortOrder *string `type:"string" enum:"NotebookInstanceLifecycleConfigSortOrder"`
57972}
57973
57974// String returns the string representation
57975func (s ListNotebookInstanceLifecycleConfigsInput) String() string {
57976	return awsutil.Prettify(s)
57977}
57978
57979// GoString returns the string representation
57980func (s ListNotebookInstanceLifecycleConfigsInput) GoString() string {
57981	return s.String()
57982}
57983
57984// Validate inspects the fields of the type to determine if they are valid.
57985func (s *ListNotebookInstanceLifecycleConfigsInput) Validate() error {
57986	invalidParams := request.ErrInvalidParams{Context: "ListNotebookInstanceLifecycleConfigsInput"}
57987	if s.MaxResults != nil && *s.MaxResults < 1 {
57988		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
57989	}
57990
57991	if invalidParams.Len() > 0 {
57992		return invalidParams
57993	}
57994	return nil
57995}
57996
57997// SetCreationTimeAfter sets the CreationTimeAfter field's value.
57998func (s *ListNotebookInstanceLifecycleConfigsInput) SetCreationTimeAfter(v time.Time) *ListNotebookInstanceLifecycleConfigsInput {
57999	s.CreationTimeAfter = &v
58000	return s
58001}
58002
58003// SetCreationTimeBefore sets the CreationTimeBefore field's value.
58004func (s *ListNotebookInstanceLifecycleConfigsInput) SetCreationTimeBefore(v time.Time) *ListNotebookInstanceLifecycleConfigsInput {
58005	s.CreationTimeBefore = &v
58006	return s
58007}
58008
58009// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
58010func (s *ListNotebookInstanceLifecycleConfigsInput) SetLastModifiedTimeAfter(v time.Time) *ListNotebookInstanceLifecycleConfigsInput {
58011	s.LastModifiedTimeAfter = &v
58012	return s
58013}
58014
58015// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
58016func (s *ListNotebookInstanceLifecycleConfigsInput) SetLastModifiedTimeBefore(v time.Time) *ListNotebookInstanceLifecycleConfigsInput {
58017	s.LastModifiedTimeBefore = &v
58018	return s
58019}
58020
58021// SetMaxResults sets the MaxResults field's value.
58022func (s *ListNotebookInstanceLifecycleConfigsInput) SetMaxResults(v int64) *ListNotebookInstanceLifecycleConfigsInput {
58023	s.MaxResults = &v
58024	return s
58025}
58026
58027// SetNameContains sets the NameContains field's value.
58028func (s *ListNotebookInstanceLifecycleConfigsInput) SetNameContains(v string) *ListNotebookInstanceLifecycleConfigsInput {
58029	s.NameContains = &v
58030	return s
58031}
58032
58033// SetNextToken sets the NextToken field's value.
58034func (s *ListNotebookInstanceLifecycleConfigsInput) SetNextToken(v string) *ListNotebookInstanceLifecycleConfigsInput {
58035	s.NextToken = &v
58036	return s
58037}
58038
58039// SetSortBy sets the SortBy field's value.
58040func (s *ListNotebookInstanceLifecycleConfigsInput) SetSortBy(v string) *ListNotebookInstanceLifecycleConfigsInput {
58041	s.SortBy = &v
58042	return s
58043}
58044
58045// SetSortOrder sets the SortOrder field's value.
58046func (s *ListNotebookInstanceLifecycleConfigsInput) SetSortOrder(v string) *ListNotebookInstanceLifecycleConfigsInput {
58047	s.SortOrder = &v
58048	return s
58049}
58050
58051type ListNotebookInstanceLifecycleConfigsOutput struct {
58052	_ struct{} `type:"structure"`
58053
58054	// If the response is truncated, Amazon SageMaker returns this token. To get
58055	// the next set of lifecycle configurations, use it in the next request.
58056	NextToken *string `type:"string"`
58057
58058	// An array of NotebookInstanceLifecycleConfiguration objects, each listing
58059	// a lifecycle configuration.
58060	NotebookInstanceLifecycleConfigs []*NotebookInstanceLifecycleConfigSummary `type:"list"`
58061}
58062
58063// String returns the string representation
58064func (s ListNotebookInstanceLifecycleConfigsOutput) String() string {
58065	return awsutil.Prettify(s)
58066}
58067
58068// GoString returns the string representation
58069func (s ListNotebookInstanceLifecycleConfigsOutput) GoString() string {
58070	return s.String()
58071}
58072
58073// SetNextToken sets the NextToken field's value.
58074func (s *ListNotebookInstanceLifecycleConfigsOutput) SetNextToken(v string) *ListNotebookInstanceLifecycleConfigsOutput {
58075	s.NextToken = &v
58076	return s
58077}
58078
58079// SetNotebookInstanceLifecycleConfigs sets the NotebookInstanceLifecycleConfigs field's value.
58080func (s *ListNotebookInstanceLifecycleConfigsOutput) SetNotebookInstanceLifecycleConfigs(v []*NotebookInstanceLifecycleConfigSummary) *ListNotebookInstanceLifecycleConfigsOutput {
58081	s.NotebookInstanceLifecycleConfigs = v
58082	return s
58083}
58084
58085type ListNotebookInstancesInput struct {
58086	_ struct{} `type:"structure"`
58087
58088	// A filter that returns only notebook instances with associated with the specified
58089	// git repository.
58090	AdditionalCodeRepositoryEquals *string `min:"1" type:"string"`
58091
58092	// A filter that returns only notebook instances that were created after the
58093	// specified time (timestamp).
58094	CreationTimeAfter *time.Time `type:"timestamp"`
58095
58096	// A filter that returns only notebook instances that were created before the
58097	// specified time (timestamp).
58098	CreationTimeBefore *time.Time `type:"timestamp"`
58099
58100	// A string in the name or URL of a Git repository associated with this notebook
58101	// instance. This filter returns only notebook instances associated with a git
58102	// repository with a name that contains the specified string.
58103	DefaultCodeRepositoryContains *string `type:"string"`
58104
58105	// A filter that returns only notebook instances that were modified after the
58106	// specified time (timestamp).
58107	LastModifiedTimeAfter *time.Time `type:"timestamp"`
58108
58109	// A filter that returns only notebook instances that were modified before the
58110	// specified time (timestamp).
58111	LastModifiedTimeBefore *time.Time `type:"timestamp"`
58112
58113	// The maximum number of notebook instances to return.
58114	MaxResults *int64 `min:"1" type:"integer"`
58115
58116	// A string in the notebook instances' name. This filter returns only notebook
58117	// instances whose name contains the specified string.
58118	NameContains *string `type:"string"`
58119
58120	// If the previous call to the ListNotebookInstances is truncated, the response
58121	// includes a NextToken. You can use this token in your subsequent ListNotebookInstances
58122	// request to fetch the next set of notebook instances.
58123	//
58124	// You might specify a filter or a sort order in your request. When response
58125	// is truncated, you must use the same values for the filer and sort order in
58126	// the next request.
58127	NextToken *string `type:"string"`
58128
58129	// A string in the name of a notebook instances lifecycle configuration associated
58130	// with this notebook instance. This filter returns only notebook instances
58131	// associated with a lifecycle configuration with a name that contains the specified
58132	// string.
58133	NotebookInstanceLifecycleConfigNameContains *string `type:"string"`
58134
58135	// The field to sort results by. The default is Name.
58136	SortBy *string `type:"string" enum:"NotebookInstanceSortKey"`
58137
58138	// The sort order for results.
58139	SortOrder *string `type:"string" enum:"NotebookInstanceSortOrder"`
58140
58141	// A filter that returns only notebook instances with the specified status.
58142	StatusEquals *string `type:"string" enum:"NotebookInstanceStatus"`
58143}
58144
58145// String returns the string representation
58146func (s ListNotebookInstancesInput) String() string {
58147	return awsutil.Prettify(s)
58148}
58149
58150// GoString returns the string representation
58151func (s ListNotebookInstancesInput) GoString() string {
58152	return s.String()
58153}
58154
58155// Validate inspects the fields of the type to determine if they are valid.
58156func (s *ListNotebookInstancesInput) Validate() error {
58157	invalidParams := request.ErrInvalidParams{Context: "ListNotebookInstancesInput"}
58158	if s.AdditionalCodeRepositoryEquals != nil && len(*s.AdditionalCodeRepositoryEquals) < 1 {
58159		invalidParams.Add(request.NewErrParamMinLen("AdditionalCodeRepositoryEquals", 1))
58160	}
58161	if s.MaxResults != nil && *s.MaxResults < 1 {
58162		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
58163	}
58164
58165	if invalidParams.Len() > 0 {
58166		return invalidParams
58167	}
58168	return nil
58169}
58170
58171// SetAdditionalCodeRepositoryEquals sets the AdditionalCodeRepositoryEquals field's value.
58172func (s *ListNotebookInstancesInput) SetAdditionalCodeRepositoryEquals(v string) *ListNotebookInstancesInput {
58173	s.AdditionalCodeRepositoryEquals = &v
58174	return s
58175}
58176
58177// SetCreationTimeAfter sets the CreationTimeAfter field's value.
58178func (s *ListNotebookInstancesInput) SetCreationTimeAfter(v time.Time) *ListNotebookInstancesInput {
58179	s.CreationTimeAfter = &v
58180	return s
58181}
58182
58183// SetCreationTimeBefore sets the CreationTimeBefore field's value.
58184func (s *ListNotebookInstancesInput) SetCreationTimeBefore(v time.Time) *ListNotebookInstancesInput {
58185	s.CreationTimeBefore = &v
58186	return s
58187}
58188
58189// SetDefaultCodeRepositoryContains sets the DefaultCodeRepositoryContains field's value.
58190func (s *ListNotebookInstancesInput) SetDefaultCodeRepositoryContains(v string) *ListNotebookInstancesInput {
58191	s.DefaultCodeRepositoryContains = &v
58192	return s
58193}
58194
58195// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
58196func (s *ListNotebookInstancesInput) SetLastModifiedTimeAfter(v time.Time) *ListNotebookInstancesInput {
58197	s.LastModifiedTimeAfter = &v
58198	return s
58199}
58200
58201// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
58202func (s *ListNotebookInstancesInput) SetLastModifiedTimeBefore(v time.Time) *ListNotebookInstancesInput {
58203	s.LastModifiedTimeBefore = &v
58204	return s
58205}
58206
58207// SetMaxResults sets the MaxResults field's value.
58208func (s *ListNotebookInstancesInput) SetMaxResults(v int64) *ListNotebookInstancesInput {
58209	s.MaxResults = &v
58210	return s
58211}
58212
58213// SetNameContains sets the NameContains field's value.
58214func (s *ListNotebookInstancesInput) SetNameContains(v string) *ListNotebookInstancesInput {
58215	s.NameContains = &v
58216	return s
58217}
58218
58219// SetNextToken sets the NextToken field's value.
58220func (s *ListNotebookInstancesInput) SetNextToken(v string) *ListNotebookInstancesInput {
58221	s.NextToken = &v
58222	return s
58223}
58224
58225// SetNotebookInstanceLifecycleConfigNameContains sets the NotebookInstanceLifecycleConfigNameContains field's value.
58226func (s *ListNotebookInstancesInput) SetNotebookInstanceLifecycleConfigNameContains(v string) *ListNotebookInstancesInput {
58227	s.NotebookInstanceLifecycleConfigNameContains = &v
58228	return s
58229}
58230
58231// SetSortBy sets the SortBy field's value.
58232func (s *ListNotebookInstancesInput) SetSortBy(v string) *ListNotebookInstancesInput {
58233	s.SortBy = &v
58234	return s
58235}
58236
58237// SetSortOrder sets the SortOrder field's value.
58238func (s *ListNotebookInstancesInput) SetSortOrder(v string) *ListNotebookInstancesInput {
58239	s.SortOrder = &v
58240	return s
58241}
58242
58243// SetStatusEquals sets the StatusEquals field's value.
58244func (s *ListNotebookInstancesInput) SetStatusEquals(v string) *ListNotebookInstancesInput {
58245	s.StatusEquals = &v
58246	return s
58247}
58248
58249type ListNotebookInstancesOutput struct {
58250	_ struct{} `type:"structure"`
58251
58252	// If the response to the previous ListNotebookInstances request was truncated,
58253	// Amazon SageMaker returns this token. To retrieve the next set of notebook
58254	// instances, use the token in the next request.
58255	NextToken *string `type:"string"`
58256
58257	// An array of NotebookInstanceSummary objects, one for each notebook instance.
58258	NotebookInstances []*NotebookInstanceSummary `type:"list"`
58259}
58260
58261// String returns the string representation
58262func (s ListNotebookInstancesOutput) String() string {
58263	return awsutil.Prettify(s)
58264}
58265
58266// GoString returns the string representation
58267func (s ListNotebookInstancesOutput) GoString() string {
58268	return s.String()
58269}
58270
58271// SetNextToken sets the NextToken field's value.
58272func (s *ListNotebookInstancesOutput) SetNextToken(v string) *ListNotebookInstancesOutput {
58273	s.NextToken = &v
58274	return s
58275}
58276
58277// SetNotebookInstances sets the NotebookInstances field's value.
58278func (s *ListNotebookInstancesOutput) SetNotebookInstances(v []*NotebookInstanceSummary) *ListNotebookInstancesOutput {
58279	s.NotebookInstances = v
58280	return s
58281}
58282
58283type ListPipelineExecutionStepsInput struct {
58284	_ struct{} `type:"structure"`
58285
58286	// The maximum number of pipeline execution steps to return in the response.
58287	MaxResults *int64 `min:"1" type:"integer"`
58288
58289	// If the result of the previous ListPipelineExecutionSteps request was truncated,
58290	// the response includes a NextToken. To retrieve the next set of pipeline execution
58291	// steps, use the token in the next request.
58292	NextToken *string `type:"string"`
58293
58294	// The Amazon Resource Name (ARN) of the pipeline execution.
58295	PipelineExecutionArn *string `type:"string"`
58296
58297	// The field by which to sort results. The default is CreatedTime.
58298	SortOrder *string `type:"string" enum:"SortOrder"`
58299}
58300
58301// String returns the string representation
58302func (s ListPipelineExecutionStepsInput) String() string {
58303	return awsutil.Prettify(s)
58304}
58305
58306// GoString returns the string representation
58307func (s ListPipelineExecutionStepsInput) GoString() string {
58308	return s.String()
58309}
58310
58311// Validate inspects the fields of the type to determine if they are valid.
58312func (s *ListPipelineExecutionStepsInput) Validate() error {
58313	invalidParams := request.ErrInvalidParams{Context: "ListPipelineExecutionStepsInput"}
58314	if s.MaxResults != nil && *s.MaxResults < 1 {
58315		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
58316	}
58317
58318	if invalidParams.Len() > 0 {
58319		return invalidParams
58320	}
58321	return nil
58322}
58323
58324// SetMaxResults sets the MaxResults field's value.
58325func (s *ListPipelineExecutionStepsInput) SetMaxResults(v int64) *ListPipelineExecutionStepsInput {
58326	s.MaxResults = &v
58327	return s
58328}
58329
58330// SetNextToken sets the NextToken field's value.
58331func (s *ListPipelineExecutionStepsInput) SetNextToken(v string) *ListPipelineExecutionStepsInput {
58332	s.NextToken = &v
58333	return s
58334}
58335
58336// SetPipelineExecutionArn sets the PipelineExecutionArn field's value.
58337func (s *ListPipelineExecutionStepsInput) SetPipelineExecutionArn(v string) *ListPipelineExecutionStepsInput {
58338	s.PipelineExecutionArn = &v
58339	return s
58340}
58341
58342// SetSortOrder sets the SortOrder field's value.
58343func (s *ListPipelineExecutionStepsInput) SetSortOrder(v string) *ListPipelineExecutionStepsInput {
58344	s.SortOrder = &v
58345	return s
58346}
58347
58348type ListPipelineExecutionStepsOutput struct {
58349	_ struct{} `type:"structure"`
58350
58351	// If the result of the previous ListPipelineExecutionSteps request was truncated,
58352	// the response includes a NextToken. To retrieve the next set of pipeline execution
58353	// steps, use the token in the next request.
58354	NextToken *string `type:"string"`
58355
58356	// A list of PipeLineExecutionStep objects. Each PipeLineExecutionStep consists
58357	// of StepName, StartTime, EndTime, StepStatus, and Metadata. Metadata is an
58358	// object with properties for each job that contains relevant information about
58359	// the job created by the step.
58360	PipelineExecutionSteps []*PipelineExecutionStep `type:"list"`
58361}
58362
58363// String returns the string representation
58364func (s ListPipelineExecutionStepsOutput) String() string {
58365	return awsutil.Prettify(s)
58366}
58367
58368// GoString returns the string representation
58369func (s ListPipelineExecutionStepsOutput) GoString() string {
58370	return s.String()
58371}
58372
58373// SetNextToken sets the NextToken field's value.
58374func (s *ListPipelineExecutionStepsOutput) SetNextToken(v string) *ListPipelineExecutionStepsOutput {
58375	s.NextToken = &v
58376	return s
58377}
58378
58379// SetPipelineExecutionSteps sets the PipelineExecutionSteps field's value.
58380func (s *ListPipelineExecutionStepsOutput) SetPipelineExecutionSteps(v []*PipelineExecutionStep) *ListPipelineExecutionStepsOutput {
58381	s.PipelineExecutionSteps = v
58382	return s
58383}
58384
58385type ListPipelineExecutionsInput struct {
58386	_ struct{} `type:"structure"`
58387
58388	// A filter that returns the pipeline executions that were created after a specified
58389	// time.
58390	CreatedAfter *time.Time `type:"timestamp"`
58391
58392	// A filter that returns the pipeline executions that were created before a
58393	// specified time.
58394	CreatedBefore *time.Time `type:"timestamp"`
58395
58396	// The maximum number of pipeline executions to return in the response.
58397	MaxResults *int64 `min:"1" type:"integer"`
58398
58399	// If the result of the previous ListPipelineExecutions request was truncated,
58400	// the response includes a NextToken. To retrieve the next set of pipeline executions,
58401	// use the token in the next request.
58402	NextToken *string `type:"string"`
58403
58404	// The name of the pipeline.
58405	//
58406	// PipelineName is a required field
58407	PipelineName *string `min:"1" type:"string" required:"true"`
58408
58409	// The field by which to sort results. The default is CreatedTime.
58410	SortBy *string `type:"string" enum:"SortPipelineExecutionsBy"`
58411
58412	// The sort order for results.
58413	SortOrder *string `type:"string" enum:"SortOrder"`
58414}
58415
58416// String returns the string representation
58417func (s ListPipelineExecutionsInput) String() string {
58418	return awsutil.Prettify(s)
58419}
58420
58421// GoString returns the string representation
58422func (s ListPipelineExecutionsInput) GoString() string {
58423	return s.String()
58424}
58425
58426// Validate inspects the fields of the type to determine if they are valid.
58427func (s *ListPipelineExecutionsInput) Validate() error {
58428	invalidParams := request.ErrInvalidParams{Context: "ListPipelineExecutionsInput"}
58429	if s.MaxResults != nil && *s.MaxResults < 1 {
58430		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
58431	}
58432	if s.PipelineName == nil {
58433		invalidParams.Add(request.NewErrParamRequired("PipelineName"))
58434	}
58435	if s.PipelineName != nil && len(*s.PipelineName) < 1 {
58436		invalidParams.Add(request.NewErrParamMinLen("PipelineName", 1))
58437	}
58438
58439	if invalidParams.Len() > 0 {
58440		return invalidParams
58441	}
58442	return nil
58443}
58444
58445// SetCreatedAfter sets the CreatedAfter field's value.
58446func (s *ListPipelineExecutionsInput) SetCreatedAfter(v time.Time) *ListPipelineExecutionsInput {
58447	s.CreatedAfter = &v
58448	return s
58449}
58450
58451// SetCreatedBefore sets the CreatedBefore field's value.
58452func (s *ListPipelineExecutionsInput) SetCreatedBefore(v time.Time) *ListPipelineExecutionsInput {
58453	s.CreatedBefore = &v
58454	return s
58455}
58456
58457// SetMaxResults sets the MaxResults field's value.
58458func (s *ListPipelineExecutionsInput) SetMaxResults(v int64) *ListPipelineExecutionsInput {
58459	s.MaxResults = &v
58460	return s
58461}
58462
58463// SetNextToken sets the NextToken field's value.
58464func (s *ListPipelineExecutionsInput) SetNextToken(v string) *ListPipelineExecutionsInput {
58465	s.NextToken = &v
58466	return s
58467}
58468
58469// SetPipelineName sets the PipelineName field's value.
58470func (s *ListPipelineExecutionsInput) SetPipelineName(v string) *ListPipelineExecutionsInput {
58471	s.PipelineName = &v
58472	return s
58473}
58474
58475// SetSortBy sets the SortBy field's value.
58476func (s *ListPipelineExecutionsInput) SetSortBy(v string) *ListPipelineExecutionsInput {
58477	s.SortBy = &v
58478	return s
58479}
58480
58481// SetSortOrder sets the SortOrder field's value.
58482func (s *ListPipelineExecutionsInput) SetSortOrder(v string) *ListPipelineExecutionsInput {
58483	s.SortOrder = &v
58484	return s
58485}
58486
58487type ListPipelineExecutionsOutput struct {
58488	_ struct{} `type:"structure"`
58489
58490	// If the result of the previous ListPipelineExecutions request was truncated,
58491	// the response includes a NextToken. To retrieve the next set of pipeline executions,
58492	// use the token in the next request.
58493	NextToken *string `type:"string"`
58494
58495	// Contains a sorted list of pipeline execution summary objects matching the
58496	// specified filters. Each run summary includes the Amazon Resource Name (ARN)
58497	// of the pipeline execution, the run date, and the status. This list can be
58498	// empty.
58499	PipelineExecutionSummaries []*PipelineExecutionSummary `type:"list"`
58500}
58501
58502// String returns the string representation
58503func (s ListPipelineExecutionsOutput) String() string {
58504	return awsutil.Prettify(s)
58505}
58506
58507// GoString returns the string representation
58508func (s ListPipelineExecutionsOutput) GoString() string {
58509	return s.String()
58510}
58511
58512// SetNextToken sets the NextToken field's value.
58513func (s *ListPipelineExecutionsOutput) SetNextToken(v string) *ListPipelineExecutionsOutput {
58514	s.NextToken = &v
58515	return s
58516}
58517
58518// SetPipelineExecutionSummaries sets the PipelineExecutionSummaries field's value.
58519func (s *ListPipelineExecutionsOutput) SetPipelineExecutionSummaries(v []*PipelineExecutionSummary) *ListPipelineExecutionsOutput {
58520	s.PipelineExecutionSummaries = v
58521	return s
58522}
58523
58524type ListPipelineParametersForExecutionInput struct {
58525	_ struct{} `type:"structure"`
58526
58527	// The maximum number of parameters to return in the response.
58528	MaxResults *int64 `min:"1" type:"integer"`
58529
58530	// If the result of the previous ListPipelineParametersForExecution request
58531	// was truncated, the response includes a NextToken. To retrieve the next set
58532	// of parameters, use the token in the next request.
58533	NextToken *string `type:"string"`
58534
58535	// The Amazon Resource Name (ARN) of the pipeline execution.
58536	//
58537	// PipelineExecutionArn is a required field
58538	PipelineExecutionArn *string `type:"string" required:"true"`
58539}
58540
58541// String returns the string representation
58542func (s ListPipelineParametersForExecutionInput) String() string {
58543	return awsutil.Prettify(s)
58544}
58545
58546// GoString returns the string representation
58547func (s ListPipelineParametersForExecutionInput) GoString() string {
58548	return s.String()
58549}
58550
58551// Validate inspects the fields of the type to determine if they are valid.
58552func (s *ListPipelineParametersForExecutionInput) Validate() error {
58553	invalidParams := request.ErrInvalidParams{Context: "ListPipelineParametersForExecutionInput"}
58554	if s.MaxResults != nil && *s.MaxResults < 1 {
58555		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
58556	}
58557	if s.PipelineExecutionArn == nil {
58558		invalidParams.Add(request.NewErrParamRequired("PipelineExecutionArn"))
58559	}
58560
58561	if invalidParams.Len() > 0 {
58562		return invalidParams
58563	}
58564	return nil
58565}
58566
58567// SetMaxResults sets the MaxResults field's value.
58568func (s *ListPipelineParametersForExecutionInput) SetMaxResults(v int64) *ListPipelineParametersForExecutionInput {
58569	s.MaxResults = &v
58570	return s
58571}
58572
58573// SetNextToken sets the NextToken field's value.
58574func (s *ListPipelineParametersForExecutionInput) SetNextToken(v string) *ListPipelineParametersForExecutionInput {
58575	s.NextToken = &v
58576	return s
58577}
58578
58579// SetPipelineExecutionArn sets the PipelineExecutionArn field's value.
58580func (s *ListPipelineParametersForExecutionInput) SetPipelineExecutionArn(v string) *ListPipelineParametersForExecutionInput {
58581	s.PipelineExecutionArn = &v
58582	return s
58583}
58584
58585type ListPipelineParametersForExecutionOutput struct {
58586	_ struct{} `type:"structure"`
58587
58588	// If the result of the previous ListPipelineParametersForExecution request
58589	// was truncated, the response includes a NextToken. To retrieve the next set
58590	// of parameters, use the token in the next request.
58591	NextToken *string `type:"string"`
58592
58593	// Contains a list of pipeline parameters. This list can be empty.
58594	PipelineParameters []*Parameter `type:"list"`
58595}
58596
58597// String returns the string representation
58598func (s ListPipelineParametersForExecutionOutput) String() string {
58599	return awsutil.Prettify(s)
58600}
58601
58602// GoString returns the string representation
58603func (s ListPipelineParametersForExecutionOutput) GoString() string {
58604	return s.String()
58605}
58606
58607// SetNextToken sets the NextToken field's value.
58608func (s *ListPipelineParametersForExecutionOutput) SetNextToken(v string) *ListPipelineParametersForExecutionOutput {
58609	s.NextToken = &v
58610	return s
58611}
58612
58613// SetPipelineParameters sets the PipelineParameters field's value.
58614func (s *ListPipelineParametersForExecutionOutput) SetPipelineParameters(v []*Parameter) *ListPipelineParametersForExecutionOutput {
58615	s.PipelineParameters = v
58616	return s
58617}
58618
58619type ListPipelinesInput struct {
58620	_ struct{} `type:"structure"`
58621
58622	// A filter that returns the pipelines that were created after a specified time.
58623	CreatedAfter *time.Time `type:"timestamp"`
58624
58625	// A filter that returns the pipelines that were created before a specified
58626	// time.
58627	CreatedBefore *time.Time `type:"timestamp"`
58628
58629	// The maximum number of pipelines to return in the response.
58630	MaxResults *int64 `min:"1" type:"integer"`
58631
58632	// If the result of the previous ListPipelines request was truncated, the response
58633	// includes a NextToken. To retrieve the next set of pipelines, use the token
58634	// in the next request.
58635	NextToken *string `type:"string"`
58636
58637	// The prefix of the pipeline name.
58638	PipelineNamePrefix *string `min:"1" type:"string"`
58639
58640	// The field by which to sort results. The default is CreatedTime.
58641	SortBy *string `type:"string" enum:"SortPipelinesBy"`
58642
58643	// The sort order for results.
58644	SortOrder *string `type:"string" enum:"SortOrder"`
58645}
58646
58647// String returns the string representation
58648func (s ListPipelinesInput) String() string {
58649	return awsutil.Prettify(s)
58650}
58651
58652// GoString returns the string representation
58653func (s ListPipelinesInput) GoString() string {
58654	return s.String()
58655}
58656
58657// Validate inspects the fields of the type to determine if they are valid.
58658func (s *ListPipelinesInput) Validate() error {
58659	invalidParams := request.ErrInvalidParams{Context: "ListPipelinesInput"}
58660	if s.MaxResults != nil && *s.MaxResults < 1 {
58661		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
58662	}
58663	if s.PipelineNamePrefix != nil && len(*s.PipelineNamePrefix) < 1 {
58664		invalidParams.Add(request.NewErrParamMinLen("PipelineNamePrefix", 1))
58665	}
58666
58667	if invalidParams.Len() > 0 {
58668		return invalidParams
58669	}
58670	return nil
58671}
58672
58673// SetCreatedAfter sets the CreatedAfter field's value.
58674func (s *ListPipelinesInput) SetCreatedAfter(v time.Time) *ListPipelinesInput {
58675	s.CreatedAfter = &v
58676	return s
58677}
58678
58679// SetCreatedBefore sets the CreatedBefore field's value.
58680func (s *ListPipelinesInput) SetCreatedBefore(v time.Time) *ListPipelinesInput {
58681	s.CreatedBefore = &v
58682	return s
58683}
58684
58685// SetMaxResults sets the MaxResults field's value.
58686func (s *ListPipelinesInput) SetMaxResults(v int64) *ListPipelinesInput {
58687	s.MaxResults = &v
58688	return s
58689}
58690
58691// SetNextToken sets the NextToken field's value.
58692func (s *ListPipelinesInput) SetNextToken(v string) *ListPipelinesInput {
58693	s.NextToken = &v
58694	return s
58695}
58696
58697// SetPipelineNamePrefix sets the PipelineNamePrefix field's value.
58698func (s *ListPipelinesInput) SetPipelineNamePrefix(v string) *ListPipelinesInput {
58699	s.PipelineNamePrefix = &v
58700	return s
58701}
58702
58703// SetSortBy sets the SortBy field's value.
58704func (s *ListPipelinesInput) SetSortBy(v string) *ListPipelinesInput {
58705	s.SortBy = &v
58706	return s
58707}
58708
58709// SetSortOrder sets the SortOrder field's value.
58710func (s *ListPipelinesInput) SetSortOrder(v string) *ListPipelinesInput {
58711	s.SortOrder = &v
58712	return s
58713}
58714
58715type ListPipelinesOutput struct {
58716	_ struct{} `type:"structure"`
58717
58718	// If the result of the previous ListPipelines request was truncated, the response
58719	// includes a NextToken. To retrieve the next set of pipelines, use the token
58720	// in the next request.
58721	NextToken *string `type:"string"`
58722
58723	// Contains a sorted list of PipelineSummary objects matching the specified
58724	// filters. Each PipelineSummary consists of PipelineArn, PipelineName, ExperimentName,
58725	// PipelineDescription, CreationTime, LastModifiedTime, LastRunTime, and RoleArn.
58726	// This list can be empty.
58727	PipelineSummaries []*PipelineSummary `type:"list"`
58728}
58729
58730// String returns the string representation
58731func (s ListPipelinesOutput) String() string {
58732	return awsutil.Prettify(s)
58733}
58734
58735// GoString returns the string representation
58736func (s ListPipelinesOutput) GoString() string {
58737	return s.String()
58738}
58739
58740// SetNextToken sets the NextToken field's value.
58741func (s *ListPipelinesOutput) SetNextToken(v string) *ListPipelinesOutput {
58742	s.NextToken = &v
58743	return s
58744}
58745
58746// SetPipelineSummaries sets the PipelineSummaries field's value.
58747func (s *ListPipelinesOutput) SetPipelineSummaries(v []*PipelineSummary) *ListPipelinesOutput {
58748	s.PipelineSummaries = v
58749	return s
58750}
58751
58752type ListProcessingJobsInput struct {
58753	_ struct{} `type:"structure"`
58754
58755	// A filter that returns only processing jobs created after the specified time.
58756	CreationTimeAfter *time.Time `type:"timestamp"`
58757
58758	// A filter that returns only processing jobs created after the specified time.
58759	CreationTimeBefore *time.Time `type:"timestamp"`
58760
58761	// A filter that returns only processing jobs modified after the specified time.
58762	LastModifiedTimeAfter *time.Time `type:"timestamp"`
58763
58764	// A filter that returns only processing jobs modified before the specified
58765	// time.
58766	LastModifiedTimeBefore *time.Time `type:"timestamp"`
58767
58768	// The maximum number of processing jobs to return in the response.
58769	MaxResults *int64 `min:"1" type:"integer"`
58770
58771	// A string in the processing job name. This filter returns only processing
58772	// jobs whose name contains the specified string.
58773	NameContains *string `type:"string"`
58774
58775	// If the result of the previous ListProcessingJobs request was truncated, the
58776	// response includes a NextToken. To retrieve the next set of processing jobs,
58777	// use the token in the next request.
58778	NextToken *string `type:"string"`
58779
58780	// The field to sort results by. The default is CreationTime.
58781	SortBy *string `type:"string" enum:"SortBy"`
58782
58783	// The sort order for results. The default is Ascending.
58784	SortOrder *string `type:"string" enum:"SortOrder"`
58785
58786	// A filter that retrieves only processing jobs with a specific status.
58787	StatusEquals *string `type:"string" enum:"ProcessingJobStatus"`
58788}
58789
58790// String returns the string representation
58791func (s ListProcessingJobsInput) String() string {
58792	return awsutil.Prettify(s)
58793}
58794
58795// GoString returns the string representation
58796func (s ListProcessingJobsInput) GoString() string {
58797	return s.String()
58798}
58799
58800// Validate inspects the fields of the type to determine if they are valid.
58801func (s *ListProcessingJobsInput) Validate() error {
58802	invalidParams := request.ErrInvalidParams{Context: "ListProcessingJobsInput"}
58803	if s.MaxResults != nil && *s.MaxResults < 1 {
58804		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
58805	}
58806
58807	if invalidParams.Len() > 0 {
58808		return invalidParams
58809	}
58810	return nil
58811}
58812
58813// SetCreationTimeAfter sets the CreationTimeAfter field's value.
58814func (s *ListProcessingJobsInput) SetCreationTimeAfter(v time.Time) *ListProcessingJobsInput {
58815	s.CreationTimeAfter = &v
58816	return s
58817}
58818
58819// SetCreationTimeBefore sets the CreationTimeBefore field's value.
58820func (s *ListProcessingJobsInput) SetCreationTimeBefore(v time.Time) *ListProcessingJobsInput {
58821	s.CreationTimeBefore = &v
58822	return s
58823}
58824
58825// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
58826func (s *ListProcessingJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListProcessingJobsInput {
58827	s.LastModifiedTimeAfter = &v
58828	return s
58829}
58830
58831// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
58832func (s *ListProcessingJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListProcessingJobsInput {
58833	s.LastModifiedTimeBefore = &v
58834	return s
58835}
58836
58837// SetMaxResults sets the MaxResults field's value.
58838func (s *ListProcessingJobsInput) SetMaxResults(v int64) *ListProcessingJobsInput {
58839	s.MaxResults = &v
58840	return s
58841}
58842
58843// SetNameContains sets the NameContains field's value.
58844func (s *ListProcessingJobsInput) SetNameContains(v string) *ListProcessingJobsInput {
58845	s.NameContains = &v
58846	return s
58847}
58848
58849// SetNextToken sets the NextToken field's value.
58850func (s *ListProcessingJobsInput) SetNextToken(v string) *ListProcessingJobsInput {
58851	s.NextToken = &v
58852	return s
58853}
58854
58855// SetSortBy sets the SortBy field's value.
58856func (s *ListProcessingJobsInput) SetSortBy(v string) *ListProcessingJobsInput {
58857	s.SortBy = &v
58858	return s
58859}
58860
58861// SetSortOrder sets the SortOrder field's value.
58862func (s *ListProcessingJobsInput) SetSortOrder(v string) *ListProcessingJobsInput {
58863	s.SortOrder = &v
58864	return s
58865}
58866
58867// SetStatusEquals sets the StatusEquals field's value.
58868func (s *ListProcessingJobsInput) SetStatusEquals(v string) *ListProcessingJobsInput {
58869	s.StatusEquals = &v
58870	return s
58871}
58872
58873type ListProcessingJobsOutput struct {
58874	_ struct{} `type:"structure"`
58875
58876	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
58877	// the next set of processing jobs, use it in the subsequent request.
58878	NextToken *string `type:"string"`
58879
58880	// An array of ProcessingJobSummary objects, each listing a processing job.
58881	//
58882	// ProcessingJobSummaries is a required field
58883	ProcessingJobSummaries []*ProcessingJobSummary `type:"list" required:"true"`
58884}
58885
58886// String returns the string representation
58887func (s ListProcessingJobsOutput) String() string {
58888	return awsutil.Prettify(s)
58889}
58890
58891// GoString returns the string representation
58892func (s ListProcessingJobsOutput) GoString() string {
58893	return s.String()
58894}
58895
58896// SetNextToken sets the NextToken field's value.
58897func (s *ListProcessingJobsOutput) SetNextToken(v string) *ListProcessingJobsOutput {
58898	s.NextToken = &v
58899	return s
58900}
58901
58902// SetProcessingJobSummaries sets the ProcessingJobSummaries field's value.
58903func (s *ListProcessingJobsOutput) SetProcessingJobSummaries(v []*ProcessingJobSummary) *ListProcessingJobsOutput {
58904	s.ProcessingJobSummaries = v
58905	return s
58906}
58907
58908type ListProjectsInput struct {
58909	_ struct{} `type:"structure"`
58910
58911	// A filter that returns the projects that were created after a specified time.
58912	CreationTimeAfter *time.Time `type:"timestamp"`
58913
58914	// A filter that returns the projects that were created before a specified time.
58915	CreationTimeBefore *time.Time `type:"timestamp"`
58916
58917	// The maximum number of projects to return in the response.
58918	MaxResults *int64 `min:"1" type:"integer"`
58919
58920	// A filter that returns the projects whose name contains a specified string.
58921	NameContains *string `min:"1" type:"string"`
58922
58923	// If the result of the previous ListProjects request was truncated, the response
58924	// includes a NextToken. To retrieve the next set of projects, use the token
58925	// in the next request.
58926	NextToken *string `type:"string"`
58927
58928	// The field by which to sort results. The default is CreationTime.
58929	SortBy *string `type:"string" enum:"ProjectSortBy"`
58930
58931	// The sort order for results. The default is Ascending.
58932	SortOrder *string `type:"string" enum:"ProjectSortOrder"`
58933}
58934
58935// String returns the string representation
58936func (s ListProjectsInput) String() string {
58937	return awsutil.Prettify(s)
58938}
58939
58940// GoString returns the string representation
58941func (s ListProjectsInput) GoString() string {
58942	return s.String()
58943}
58944
58945// Validate inspects the fields of the type to determine if they are valid.
58946func (s *ListProjectsInput) Validate() error {
58947	invalidParams := request.ErrInvalidParams{Context: "ListProjectsInput"}
58948	if s.MaxResults != nil && *s.MaxResults < 1 {
58949		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
58950	}
58951	if s.NameContains != nil && len(*s.NameContains) < 1 {
58952		invalidParams.Add(request.NewErrParamMinLen("NameContains", 1))
58953	}
58954
58955	if invalidParams.Len() > 0 {
58956		return invalidParams
58957	}
58958	return nil
58959}
58960
58961// SetCreationTimeAfter sets the CreationTimeAfter field's value.
58962func (s *ListProjectsInput) SetCreationTimeAfter(v time.Time) *ListProjectsInput {
58963	s.CreationTimeAfter = &v
58964	return s
58965}
58966
58967// SetCreationTimeBefore sets the CreationTimeBefore field's value.
58968func (s *ListProjectsInput) SetCreationTimeBefore(v time.Time) *ListProjectsInput {
58969	s.CreationTimeBefore = &v
58970	return s
58971}
58972
58973// SetMaxResults sets the MaxResults field's value.
58974func (s *ListProjectsInput) SetMaxResults(v int64) *ListProjectsInput {
58975	s.MaxResults = &v
58976	return s
58977}
58978
58979// SetNameContains sets the NameContains field's value.
58980func (s *ListProjectsInput) SetNameContains(v string) *ListProjectsInput {
58981	s.NameContains = &v
58982	return s
58983}
58984
58985// SetNextToken sets the NextToken field's value.
58986func (s *ListProjectsInput) SetNextToken(v string) *ListProjectsInput {
58987	s.NextToken = &v
58988	return s
58989}
58990
58991// SetSortBy sets the SortBy field's value.
58992func (s *ListProjectsInput) SetSortBy(v string) *ListProjectsInput {
58993	s.SortBy = &v
58994	return s
58995}
58996
58997// SetSortOrder sets the SortOrder field's value.
58998func (s *ListProjectsInput) SetSortOrder(v string) *ListProjectsInput {
58999	s.SortOrder = &v
59000	return s
59001}
59002
59003type ListProjectsOutput struct {
59004	_ struct{} `type:"structure"`
59005
59006	// If the result of the previous ListCompilationJobs request was truncated,
59007	// the response includes a NextToken. To retrieve the next set of model compilation
59008	// jobs, use the token in the next request.
59009	NextToken *string `type:"string"`
59010
59011	// A list of summaries of projects.
59012	//
59013	// ProjectSummaryList is a required field
59014	ProjectSummaryList []*ProjectSummary `type:"list" required:"true"`
59015}
59016
59017// String returns the string representation
59018func (s ListProjectsOutput) String() string {
59019	return awsutil.Prettify(s)
59020}
59021
59022// GoString returns the string representation
59023func (s ListProjectsOutput) GoString() string {
59024	return s.String()
59025}
59026
59027// SetNextToken sets the NextToken field's value.
59028func (s *ListProjectsOutput) SetNextToken(v string) *ListProjectsOutput {
59029	s.NextToken = &v
59030	return s
59031}
59032
59033// SetProjectSummaryList sets the ProjectSummaryList field's value.
59034func (s *ListProjectsOutput) SetProjectSummaryList(v []*ProjectSummary) *ListProjectsOutput {
59035	s.ProjectSummaryList = v
59036	return s
59037}
59038
59039type ListSubscribedWorkteamsInput struct {
59040	_ struct{} `type:"structure"`
59041
59042	// The maximum number of work teams to return in each page of the response.
59043	MaxResults *int64 `min:"1" type:"integer"`
59044
59045	// A string in the work team name. This filter returns only work teams whose
59046	// name contains the specified string.
59047	NameContains *string `min:"1" type:"string"`
59048
59049	// If the result of the previous ListSubscribedWorkteams request was truncated,
59050	// the response includes a NextToken. To retrieve the next set of labeling jobs,
59051	// use the token in the next request.
59052	NextToken *string `type:"string"`
59053}
59054
59055// String returns the string representation
59056func (s ListSubscribedWorkteamsInput) String() string {
59057	return awsutil.Prettify(s)
59058}
59059
59060// GoString returns the string representation
59061func (s ListSubscribedWorkteamsInput) GoString() string {
59062	return s.String()
59063}
59064
59065// Validate inspects the fields of the type to determine if they are valid.
59066func (s *ListSubscribedWorkteamsInput) Validate() error {
59067	invalidParams := request.ErrInvalidParams{Context: "ListSubscribedWorkteamsInput"}
59068	if s.MaxResults != nil && *s.MaxResults < 1 {
59069		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
59070	}
59071	if s.NameContains != nil && len(*s.NameContains) < 1 {
59072		invalidParams.Add(request.NewErrParamMinLen("NameContains", 1))
59073	}
59074
59075	if invalidParams.Len() > 0 {
59076		return invalidParams
59077	}
59078	return nil
59079}
59080
59081// SetMaxResults sets the MaxResults field's value.
59082func (s *ListSubscribedWorkteamsInput) SetMaxResults(v int64) *ListSubscribedWorkteamsInput {
59083	s.MaxResults = &v
59084	return s
59085}
59086
59087// SetNameContains sets the NameContains field's value.
59088func (s *ListSubscribedWorkteamsInput) SetNameContains(v string) *ListSubscribedWorkteamsInput {
59089	s.NameContains = &v
59090	return s
59091}
59092
59093// SetNextToken sets the NextToken field's value.
59094func (s *ListSubscribedWorkteamsInput) SetNextToken(v string) *ListSubscribedWorkteamsInput {
59095	s.NextToken = &v
59096	return s
59097}
59098
59099type ListSubscribedWorkteamsOutput struct {
59100	_ struct{} `type:"structure"`
59101
59102	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
59103	// the next set of work teams, use it in the subsequent request.
59104	NextToken *string `type:"string"`
59105
59106	// An array of Workteam objects, each describing a work team.
59107	//
59108	// SubscribedWorkteams is a required field
59109	SubscribedWorkteams []*SubscribedWorkteam `type:"list" required:"true"`
59110}
59111
59112// String returns the string representation
59113func (s ListSubscribedWorkteamsOutput) String() string {
59114	return awsutil.Prettify(s)
59115}
59116
59117// GoString returns the string representation
59118func (s ListSubscribedWorkteamsOutput) GoString() string {
59119	return s.String()
59120}
59121
59122// SetNextToken sets the NextToken field's value.
59123func (s *ListSubscribedWorkteamsOutput) SetNextToken(v string) *ListSubscribedWorkteamsOutput {
59124	s.NextToken = &v
59125	return s
59126}
59127
59128// SetSubscribedWorkteams sets the SubscribedWorkteams field's value.
59129func (s *ListSubscribedWorkteamsOutput) SetSubscribedWorkteams(v []*SubscribedWorkteam) *ListSubscribedWorkteamsOutput {
59130	s.SubscribedWorkteams = v
59131	return s
59132}
59133
59134type ListTagsInput struct {
59135	_ struct{} `type:"structure"`
59136
59137	// Maximum number of tags to return.
59138	MaxResults *int64 `min:"50" type:"integer"`
59139
59140	// If the response to the previous ListTags request is truncated, Amazon SageMaker
59141	// returns this token. To retrieve the next set of tags, use it in the subsequent
59142	// request.
59143	NextToken *string `type:"string"`
59144
59145	// The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve.
59146	//
59147	// ResourceArn is a required field
59148	ResourceArn *string `type:"string" required:"true"`
59149}
59150
59151// String returns the string representation
59152func (s ListTagsInput) String() string {
59153	return awsutil.Prettify(s)
59154}
59155
59156// GoString returns the string representation
59157func (s ListTagsInput) GoString() string {
59158	return s.String()
59159}
59160
59161// Validate inspects the fields of the type to determine if they are valid.
59162func (s *ListTagsInput) Validate() error {
59163	invalidParams := request.ErrInvalidParams{Context: "ListTagsInput"}
59164	if s.MaxResults != nil && *s.MaxResults < 50 {
59165		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 50))
59166	}
59167	if s.ResourceArn == nil {
59168		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
59169	}
59170
59171	if invalidParams.Len() > 0 {
59172		return invalidParams
59173	}
59174	return nil
59175}
59176
59177// SetMaxResults sets the MaxResults field's value.
59178func (s *ListTagsInput) SetMaxResults(v int64) *ListTagsInput {
59179	s.MaxResults = &v
59180	return s
59181}
59182
59183// SetNextToken sets the NextToken field's value.
59184func (s *ListTagsInput) SetNextToken(v string) *ListTagsInput {
59185	s.NextToken = &v
59186	return s
59187}
59188
59189// SetResourceArn sets the ResourceArn field's value.
59190func (s *ListTagsInput) SetResourceArn(v string) *ListTagsInput {
59191	s.ResourceArn = &v
59192	return s
59193}
59194
59195type ListTagsOutput struct {
59196	_ struct{} `type:"structure"`
59197
59198	// If response is truncated, Amazon SageMaker includes a token in the response.
59199	// You can use this token in your subsequent request to fetch next set of tokens.
59200	NextToken *string `type:"string"`
59201
59202	// An array of Tag objects, each with a tag key and a value.
59203	Tags []*Tag `type:"list"`
59204}
59205
59206// String returns the string representation
59207func (s ListTagsOutput) String() string {
59208	return awsutil.Prettify(s)
59209}
59210
59211// GoString returns the string representation
59212func (s ListTagsOutput) GoString() string {
59213	return s.String()
59214}
59215
59216// SetNextToken sets the NextToken field's value.
59217func (s *ListTagsOutput) SetNextToken(v string) *ListTagsOutput {
59218	s.NextToken = &v
59219	return s
59220}
59221
59222// SetTags sets the Tags field's value.
59223func (s *ListTagsOutput) SetTags(v []*Tag) *ListTagsOutput {
59224	s.Tags = v
59225	return s
59226}
59227
59228type ListTrainingJobsForHyperParameterTuningJobInput struct {
59229	_ struct{} `type:"structure"`
59230
59231	// The name of the tuning job whose training jobs you want to list.
59232	//
59233	// HyperParameterTuningJobName is a required field
59234	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
59235
59236	// The maximum number of training jobs to return. The default value is 10.
59237	MaxResults *int64 `min:"1" type:"integer"`
59238
59239	// If the result of the previous ListTrainingJobsForHyperParameterTuningJob
59240	// request was truncated, the response includes a NextToken. To retrieve the
59241	// next set of training jobs, use the token in the next request.
59242	NextToken *string `type:"string"`
59243
59244	// The field to sort results by. The default is Name.
59245	//
59246	// If the value of this field is FinalObjectiveMetricValue, any training jobs
59247	// that did not return an objective metric are not listed.
59248	SortBy *string `type:"string" enum:"TrainingJobSortByOptions"`
59249
59250	// The sort order for results. The default is Ascending.
59251	SortOrder *string `type:"string" enum:"SortOrder"`
59252
59253	// A filter that returns only training jobs with the specified status.
59254	StatusEquals *string `type:"string" enum:"TrainingJobStatus"`
59255}
59256
59257// String returns the string representation
59258func (s ListTrainingJobsForHyperParameterTuningJobInput) String() string {
59259	return awsutil.Prettify(s)
59260}
59261
59262// GoString returns the string representation
59263func (s ListTrainingJobsForHyperParameterTuningJobInput) GoString() string {
59264	return s.String()
59265}
59266
59267// Validate inspects the fields of the type to determine if they are valid.
59268func (s *ListTrainingJobsForHyperParameterTuningJobInput) Validate() error {
59269	invalidParams := request.ErrInvalidParams{Context: "ListTrainingJobsForHyperParameterTuningJobInput"}
59270	if s.HyperParameterTuningJobName == nil {
59271		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobName"))
59272	}
59273	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
59274		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
59275	}
59276	if s.MaxResults != nil && *s.MaxResults < 1 {
59277		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
59278	}
59279
59280	if invalidParams.Len() > 0 {
59281		return invalidParams
59282	}
59283	return nil
59284}
59285
59286// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
59287func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetHyperParameterTuningJobName(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
59288	s.HyperParameterTuningJobName = &v
59289	return s
59290}
59291
59292// SetMaxResults sets the MaxResults field's value.
59293func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetMaxResults(v int64) *ListTrainingJobsForHyperParameterTuningJobInput {
59294	s.MaxResults = &v
59295	return s
59296}
59297
59298// SetNextToken sets the NextToken field's value.
59299func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetNextToken(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
59300	s.NextToken = &v
59301	return s
59302}
59303
59304// SetSortBy sets the SortBy field's value.
59305func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetSortBy(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
59306	s.SortBy = &v
59307	return s
59308}
59309
59310// SetSortOrder sets the SortOrder field's value.
59311func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetSortOrder(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
59312	s.SortOrder = &v
59313	return s
59314}
59315
59316// SetStatusEquals sets the StatusEquals field's value.
59317func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetStatusEquals(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
59318	s.StatusEquals = &v
59319	return s
59320}
59321
59322type ListTrainingJobsForHyperParameterTuningJobOutput struct {
59323	_ struct{} `type:"structure"`
59324
59325	// If the result of this ListTrainingJobsForHyperParameterTuningJob request
59326	// was truncated, the response includes a NextToken. To retrieve the next set
59327	// of training jobs, use the token in the next request.
59328	NextToken *string `type:"string"`
59329
59330	// A list of TrainingJobSummary objects that describe the training jobs that
59331	// the ListTrainingJobsForHyperParameterTuningJob request returned.
59332	//
59333	// TrainingJobSummaries is a required field
59334	TrainingJobSummaries []*HyperParameterTrainingJobSummary `type:"list" required:"true"`
59335}
59336
59337// String returns the string representation
59338func (s ListTrainingJobsForHyperParameterTuningJobOutput) String() string {
59339	return awsutil.Prettify(s)
59340}
59341
59342// GoString returns the string representation
59343func (s ListTrainingJobsForHyperParameterTuningJobOutput) GoString() string {
59344	return s.String()
59345}
59346
59347// SetNextToken sets the NextToken field's value.
59348func (s *ListTrainingJobsForHyperParameterTuningJobOutput) SetNextToken(v string) *ListTrainingJobsForHyperParameterTuningJobOutput {
59349	s.NextToken = &v
59350	return s
59351}
59352
59353// SetTrainingJobSummaries sets the TrainingJobSummaries field's value.
59354func (s *ListTrainingJobsForHyperParameterTuningJobOutput) SetTrainingJobSummaries(v []*HyperParameterTrainingJobSummary) *ListTrainingJobsForHyperParameterTuningJobOutput {
59355	s.TrainingJobSummaries = v
59356	return s
59357}
59358
59359type ListTrainingJobsInput struct {
59360	_ struct{} `type:"structure"`
59361
59362	// A filter that returns only training jobs created after the specified time
59363	// (timestamp).
59364	CreationTimeAfter *time.Time `type:"timestamp"`
59365
59366	// A filter that returns only training jobs created before the specified time
59367	// (timestamp).
59368	CreationTimeBefore *time.Time `type:"timestamp"`
59369
59370	// A filter that returns only training jobs modified after the specified time
59371	// (timestamp).
59372	LastModifiedTimeAfter *time.Time `type:"timestamp"`
59373
59374	// A filter that returns only training jobs modified before the specified time
59375	// (timestamp).
59376	LastModifiedTimeBefore *time.Time `type:"timestamp"`
59377
59378	// The maximum number of training jobs to return in the response.
59379	MaxResults *int64 `min:"1" type:"integer"`
59380
59381	// A string in the training job name. This filter returns only training jobs
59382	// whose name contains the specified string.
59383	NameContains *string `type:"string"`
59384
59385	// If the result of the previous ListTrainingJobs request was truncated, the
59386	// response includes a NextToken. To retrieve the next set of training jobs,
59387	// use the token in the next request.
59388	NextToken *string `type:"string"`
59389
59390	// The field to sort results by. The default is CreationTime.
59391	SortBy *string `type:"string" enum:"SortBy"`
59392
59393	// The sort order for results. The default is Ascending.
59394	SortOrder *string `type:"string" enum:"SortOrder"`
59395
59396	// A filter that retrieves only training jobs with a specific status.
59397	StatusEquals *string `type:"string" enum:"TrainingJobStatus"`
59398}
59399
59400// String returns the string representation
59401func (s ListTrainingJobsInput) String() string {
59402	return awsutil.Prettify(s)
59403}
59404
59405// GoString returns the string representation
59406func (s ListTrainingJobsInput) GoString() string {
59407	return s.String()
59408}
59409
59410// Validate inspects the fields of the type to determine if they are valid.
59411func (s *ListTrainingJobsInput) Validate() error {
59412	invalidParams := request.ErrInvalidParams{Context: "ListTrainingJobsInput"}
59413	if s.MaxResults != nil && *s.MaxResults < 1 {
59414		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
59415	}
59416
59417	if invalidParams.Len() > 0 {
59418		return invalidParams
59419	}
59420	return nil
59421}
59422
59423// SetCreationTimeAfter sets the CreationTimeAfter field's value.
59424func (s *ListTrainingJobsInput) SetCreationTimeAfter(v time.Time) *ListTrainingJobsInput {
59425	s.CreationTimeAfter = &v
59426	return s
59427}
59428
59429// SetCreationTimeBefore sets the CreationTimeBefore field's value.
59430func (s *ListTrainingJobsInput) SetCreationTimeBefore(v time.Time) *ListTrainingJobsInput {
59431	s.CreationTimeBefore = &v
59432	return s
59433}
59434
59435// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
59436func (s *ListTrainingJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListTrainingJobsInput {
59437	s.LastModifiedTimeAfter = &v
59438	return s
59439}
59440
59441// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
59442func (s *ListTrainingJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListTrainingJobsInput {
59443	s.LastModifiedTimeBefore = &v
59444	return s
59445}
59446
59447// SetMaxResults sets the MaxResults field's value.
59448func (s *ListTrainingJobsInput) SetMaxResults(v int64) *ListTrainingJobsInput {
59449	s.MaxResults = &v
59450	return s
59451}
59452
59453// SetNameContains sets the NameContains field's value.
59454func (s *ListTrainingJobsInput) SetNameContains(v string) *ListTrainingJobsInput {
59455	s.NameContains = &v
59456	return s
59457}
59458
59459// SetNextToken sets the NextToken field's value.
59460func (s *ListTrainingJobsInput) SetNextToken(v string) *ListTrainingJobsInput {
59461	s.NextToken = &v
59462	return s
59463}
59464
59465// SetSortBy sets the SortBy field's value.
59466func (s *ListTrainingJobsInput) SetSortBy(v string) *ListTrainingJobsInput {
59467	s.SortBy = &v
59468	return s
59469}
59470
59471// SetSortOrder sets the SortOrder field's value.
59472func (s *ListTrainingJobsInput) SetSortOrder(v string) *ListTrainingJobsInput {
59473	s.SortOrder = &v
59474	return s
59475}
59476
59477// SetStatusEquals sets the StatusEquals field's value.
59478func (s *ListTrainingJobsInput) SetStatusEquals(v string) *ListTrainingJobsInput {
59479	s.StatusEquals = &v
59480	return s
59481}
59482
59483type ListTrainingJobsOutput struct {
59484	_ struct{} `type:"structure"`
59485
59486	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
59487	// the next set of training jobs, use it in the subsequent request.
59488	NextToken *string `type:"string"`
59489
59490	// An array of TrainingJobSummary objects, each listing a training job.
59491	//
59492	// TrainingJobSummaries is a required field
59493	TrainingJobSummaries []*TrainingJobSummary `type:"list" required:"true"`
59494}
59495
59496// String returns the string representation
59497func (s ListTrainingJobsOutput) String() string {
59498	return awsutil.Prettify(s)
59499}
59500
59501// GoString returns the string representation
59502func (s ListTrainingJobsOutput) GoString() string {
59503	return s.String()
59504}
59505
59506// SetNextToken sets the NextToken field's value.
59507func (s *ListTrainingJobsOutput) SetNextToken(v string) *ListTrainingJobsOutput {
59508	s.NextToken = &v
59509	return s
59510}
59511
59512// SetTrainingJobSummaries sets the TrainingJobSummaries field's value.
59513func (s *ListTrainingJobsOutput) SetTrainingJobSummaries(v []*TrainingJobSummary) *ListTrainingJobsOutput {
59514	s.TrainingJobSummaries = v
59515	return s
59516}
59517
59518type ListTransformJobsInput struct {
59519	_ struct{} `type:"structure"`
59520
59521	// A filter that returns only transform jobs created after the specified time.
59522	CreationTimeAfter *time.Time `type:"timestamp"`
59523
59524	// A filter that returns only transform jobs created before the specified time.
59525	CreationTimeBefore *time.Time `type:"timestamp"`
59526
59527	// A filter that returns only transform jobs modified after the specified time.
59528	LastModifiedTimeAfter *time.Time `type:"timestamp"`
59529
59530	// A filter that returns only transform jobs modified before the specified time.
59531	LastModifiedTimeBefore *time.Time `type:"timestamp"`
59532
59533	// The maximum number of transform jobs to return in the response. The default
59534	// value is 10.
59535	MaxResults *int64 `min:"1" type:"integer"`
59536
59537	// A string in the transform job name. This filter returns only transform jobs
59538	// whose name contains the specified string.
59539	NameContains *string `type:"string"`
59540
59541	// If the result of the previous ListTransformJobs request was truncated, the
59542	// response includes a NextToken. To retrieve the next set of transform jobs,
59543	// use the token in the next request.
59544	NextToken *string `type:"string"`
59545
59546	// The field to sort results by. The default is CreationTime.
59547	SortBy *string `type:"string" enum:"SortBy"`
59548
59549	// The sort order for results. The default is Descending.
59550	SortOrder *string `type:"string" enum:"SortOrder"`
59551
59552	// A filter that retrieves only transform jobs with a specific status.
59553	StatusEquals *string `type:"string" enum:"TransformJobStatus"`
59554}
59555
59556// String returns the string representation
59557func (s ListTransformJobsInput) String() string {
59558	return awsutil.Prettify(s)
59559}
59560
59561// GoString returns the string representation
59562func (s ListTransformJobsInput) GoString() string {
59563	return s.String()
59564}
59565
59566// Validate inspects the fields of the type to determine if they are valid.
59567func (s *ListTransformJobsInput) Validate() error {
59568	invalidParams := request.ErrInvalidParams{Context: "ListTransformJobsInput"}
59569	if s.MaxResults != nil && *s.MaxResults < 1 {
59570		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
59571	}
59572
59573	if invalidParams.Len() > 0 {
59574		return invalidParams
59575	}
59576	return nil
59577}
59578
59579// SetCreationTimeAfter sets the CreationTimeAfter field's value.
59580func (s *ListTransformJobsInput) SetCreationTimeAfter(v time.Time) *ListTransformJobsInput {
59581	s.CreationTimeAfter = &v
59582	return s
59583}
59584
59585// SetCreationTimeBefore sets the CreationTimeBefore field's value.
59586func (s *ListTransformJobsInput) SetCreationTimeBefore(v time.Time) *ListTransformJobsInput {
59587	s.CreationTimeBefore = &v
59588	return s
59589}
59590
59591// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
59592func (s *ListTransformJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListTransformJobsInput {
59593	s.LastModifiedTimeAfter = &v
59594	return s
59595}
59596
59597// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
59598func (s *ListTransformJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListTransformJobsInput {
59599	s.LastModifiedTimeBefore = &v
59600	return s
59601}
59602
59603// SetMaxResults sets the MaxResults field's value.
59604func (s *ListTransformJobsInput) SetMaxResults(v int64) *ListTransformJobsInput {
59605	s.MaxResults = &v
59606	return s
59607}
59608
59609// SetNameContains sets the NameContains field's value.
59610func (s *ListTransformJobsInput) SetNameContains(v string) *ListTransformJobsInput {
59611	s.NameContains = &v
59612	return s
59613}
59614
59615// SetNextToken sets the NextToken field's value.
59616func (s *ListTransformJobsInput) SetNextToken(v string) *ListTransformJobsInput {
59617	s.NextToken = &v
59618	return s
59619}
59620
59621// SetSortBy sets the SortBy field's value.
59622func (s *ListTransformJobsInput) SetSortBy(v string) *ListTransformJobsInput {
59623	s.SortBy = &v
59624	return s
59625}
59626
59627// SetSortOrder sets the SortOrder field's value.
59628func (s *ListTransformJobsInput) SetSortOrder(v string) *ListTransformJobsInput {
59629	s.SortOrder = &v
59630	return s
59631}
59632
59633// SetStatusEquals sets the StatusEquals field's value.
59634func (s *ListTransformJobsInput) SetStatusEquals(v string) *ListTransformJobsInput {
59635	s.StatusEquals = &v
59636	return s
59637}
59638
59639type ListTransformJobsOutput struct {
59640	_ struct{} `type:"structure"`
59641
59642	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
59643	// the next set of transform jobs, use it in the next request.
59644	NextToken *string `type:"string"`
59645
59646	// An array of TransformJobSummary objects.
59647	//
59648	// TransformJobSummaries is a required field
59649	TransformJobSummaries []*TransformJobSummary `type:"list" required:"true"`
59650}
59651
59652// String returns the string representation
59653func (s ListTransformJobsOutput) String() string {
59654	return awsutil.Prettify(s)
59655}
59656
59657// GoString returns the string representation
59658func (s ListTransformJobsOutput) GoString() string {
59659	return s.String()
59660}
59661
59662// SetNextToken sets the NextToken field's value.
59663func (s *ListTransformJobsOutput) SetNextToken(v string) *ListTransformJobsOutput {
59664	s.NextToken = &v
59665	return s
59666}
59667
59668// SetTransformJobSummaries sets the TransformJobSummaries field's value.
59669func (s *ListTransformJobsOutput) SetTransformJobSummaries(v []*TransformJobSummary) *ListTransformJobsOutput {
59670	s.TransformJobSummaries = v
59671	return s
59672}
59673
59674type ListTrialComponentsInput struct {
59675	_ struct{} `type:"structure"`
59676
59677	// A filter that returns only components created after the specified time.
59678	CreatedAfter *time.Time `type:"timestamp"`
59679
59680	// A filter that returns only components created before the specified time.
59681	CreatedBefore *time.Time `type:"timestamp"`
59682
59683	// A filter that returns only components that are part of the specified experiment.
59684	// If you specify ExperimentName, you can't filter by SourceArn or TrialName.
59685	ExperimentName *string `min:"1" type:"string"`
59686
59687	// The maximum number of components to return in the response. The default value
59688	// is 10.
59689	MaxResults *int64 `min:"1" type:"integer"`
59690
59691	// If the previous call to ListTrialComponents didn't return the full set of
59692	// components, the call returns a token for getting the next set of components.
59693	NextToken *string `type:"string"`
59694
59695	// The property used to sort results. The default value is CreationTime.
59696	SortBy *string `type:"string" enum:"SortTrialComponentsBy"`
59697
59698	// The sort order. The default value is Descending.
59699	SortOrder *string `type:"string" enum:"SortOrder"`
59700
59701	// A filter that returns only components that have the specified source Amazon
59702	// Resource Name (ARN). If you specify SourceArn, you can't filter by ExperimentName
59703	// or TrialName.
59704	SourceArn *string `type:"string"`
59705
59706	// A filter that returns only components that are part of the specified trial.
59707	// If you specify TrialName, you can't filter by ExperimentName or SourceArn.
59708	TrialName *string `min:"1" type:"string"`
59709}
59710
59711// String returns the string representation
59712func (s ListTrialComponentsInput) String() string {
59713	return awsutil.Prettify(s)
59714}
59715
59716// GoString returns the string representation
59717func (s ListTrialComponentsInput) GoString() string {
59718	return s.String()
59719}
59720
59721// Validate inspects the fields of the type to determine if they are valid.
59722func (s *ListTrialComponentsInput) Validate() error {
59723	invalidParams := request.ErrInvalidParams{Context: "ListTrialComponentsInput"}
59724	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
59725		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
59726	}
59727	if s.MaxResults != nil && *s.MaxResults < 1 {
59728		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
59729	}
59730	if s.TrialName != nil && len(*s.TrialName) < 1 {
59731		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
59732	}
59733
59734	if invalidParams.Len() > 0 {
59735		return invalidParams
59736	}
59737	return nil
59738}
59739
59740// SetCreatedAfter sets the CreatedAfter field's value.
59741func (s *ListTrialComponentsInput) SetCreatedAfter(v time.Time) *ListTrialComponentsInput {
59742	s.CreatedAfter = &v
59743	return s
59744}
59745
59746// SetCreatedBefore sets the CreatedBefore field's value.
59747func (s *ListTrialComponentsInput) SetCreatedBefore(v time.Time) *ListTrialComponentsInput {
59748	s.CreatedBefore = &v
59749	return s
59750}
59751
59752// SetExperimentName sets the ExperimentName field's value.
59753func (s *ListTrialComponentsInput) SetExperimentName(v string) *ListTrialComponentsInput {
59754	s.ExperimentName = &v
59755	return s
59756}
59757
59758// SetMaxResults sets the MaxResults field's value.
59759func (s *ListTrialComponentsInput) SetMaxResults(v int64) *ListTrialComponentsInput {
59760	s.MaxResults = &v
59761	return s
59762}
59763
59764// SetNextToken sets the NextToken field's value.
59765func (s *ListTrialComponentsInput) SetNextToken(v string) *ListTrialComponentsInput {
59766	s.NextToken = &v
59767	return s
59768}
59769
59770// SetSortBy sets the SortBy field's value.
59771func (s *ListTrialComponentsInput) SetSortBy(v string) *ListTrialComponentsInput {
59772	s.SortBy = &v
59773	return s
59774}
59775
59776// SetSortOrder sets the SortOrder field's value.
59777func (s *ListTrialComponentsInput) SetSortOrder(v string) *ListTrialComponentsInput {
59778	s.SortOrder = &v
59779	return s
59780}
59781
59782// SetSourceArn sets the SourceArn field's value.
59783func (s *ListTrialComponentsInput) SetSourceArn(v string) *ListTrialComponentsInput {
59784	s.SourceArn = &v
59785	return s
59786}
59787
59788// SetTrialName sets the TrialName field's value.
59789func (s *ListTrialComponentsInput) SetTrialName(v string) *ListTrialComponentsInput {
59790	s.TrialName = &v
59791	return s
59792}
59793
59794type ListTrialComponentsOutput struct {
59795	_ struct{} `type:"structure"`
59796
59797	// A token for getting the next set of components, if there are any.
59798	NextToken *string `type:"string"`
59799
59800	// A list of the summaries of your trial components.
59801	TrialComponentSummaries []*TrialComponentSummary `type:"list"`
59802}
59803
59804// String returns the string representation
59805func (s ListTrialComponentsOutput) String() string {
59806	return awsutil.Prettify(s)
59807}
59808
59809// GoString returns the string representation
59810func (s ListTrialComponentsOutput) GoString() string {
59811	return s.String()
59812}
59813
59814// SetNextToken sets the NextToken field's value.
59815func (s *ListTrialComponentsOutput) SetNextToken(v string) *ListTrialComponentsOutput {
59816	s.NextToken = &v
59817	return s
59818}
59819
59820// SetTrialComponentSummaries sets the TrialComponentSummaries field's value.
59821func (s *ListTrialComponentsOutput) SetTrialComponentSummaries(v []*TrialComponentSummary) *ListTrialComponentsOutput {
59822	s.TrialComponentSummaries = v
59823	return s
59824}
59825
59826type ListTrialsInput struct {
59827	_ struct{} `type:"structure"`
59828
59829	// A filter that returns only trials created after the specified time.
59830	CreatedAfter *time.Time `type:"timestamp"`
59831
59832	// A filter that returns only trials created before the specified time.
59833	CreatedBefore *time.Time `type:"timestamp"`
59834
59835	// A filter that returns only trials that are part of the specified experiment.
59836	ExperimentName *string `min:"1" type:"string"`
59837
59838	// The maximum number of trials to return in the response. The default value
59839	// is 10.
59840	MaxResults *int64 `min:"1" type:"integer"`
59841
59842	// If the previous call to ListTrials didn't return the full set of trials,
59843	// the call returns a token for getting the next set of trials.
59844	NextToken *string `type:"string"`
59845
59846	// The property used to sort results. The default value is CreationTime.
59847	SortBy *string `type:"string" enum:"SortTrialsBy"`
59848
59849	// The sort order. The default value is Descending.
59850	SortOrder *string `type:"string" enum:"SortOrder"`
59851
59852	// A filter that returns only trials that are associated with the specified
59853	// trial component.
59854	TrialComponentName *string `min:"1" type:"string"`
59855}
59856
59857// String returns the string representation
59858func (s ListTrialsInput) String() string {
59859	return awsutil.Prettify(s)
59860}
59861
59862// GoString returns the string representation
59863func (s ListTrialsInput) GoString() string {
59864	return s.String()
59865}
59866
59867// Validate inspects the fields of the type to determine if they are valid.
59868func (s *ListTrialsInput) Validate() error {
59869	invalidParams := request.ErrInvalidParams{Context: "ListTrialsInput"}
59870	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
59871		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
59872	}
59873	if s.MaxResults != nil && *s.MaxResults < 1 {
59874		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
59875	}
59876	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
59877		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
59878	}
59879
59880	if invalidParams.Len() > 0 {
59881		return invalidParams
59882	}
59883	return nil
59884}
59885
59886// SetCreatedAfter sets the CreatedAfter field's value.
59887func (s *ListTrialsInput) SetCreatedAfter(v time.Time) *ListTrialsInput {
59888	s.CreatedAfter = &v
59889	return s
59890}
59891
59892// SetCreatedBefore sets the CreatedBefore field's value.
59893func (s *ListTrialsInput) SetCreatedBefore(v time.Time) *ListTrialsInput {
59894	s.CreatedBefore = &v
59895	return s
59896}
59897
59898// SetExperimentName sets the ExperimentName field's value.
59899func (s *ListTrialsInput) SetExperimentName(v string) *ListTrialsInput {
59900	s.ExperimentName = &v
59901	return s
59902}
59903
59904// SetMaxResults sets the MaxResults field's value.
59905func (s *ListTrialsInput) SetMaxResults(v int64) *ListTrialsInput {
59906	s.MaxResults = &v
59907	return s
59908}
59909
59910// SetNextToken sets the NextToken field's value.
59911func (s *ListTrialsInput) SetNextToken(v string) *ListTrialsInput {
59912	s.NextToken = &v
59913	return s
59914}
59915
59916// SetSortBy sets the SortBy field's value.
59917func (s *ListTrialsInput) SetSortBy(v string) *ListTrialsInput {
59918	s.SortBy = &v
59919	return s
59920}
59921
59922// SetSortOrder sets the SortOrder field's value.
59923func (s *ListTrialsInput) SetSortOrder(v string) *ListTrialsInput {
59924	s.SortOrder = &v
59925	return s
59926}
59927
59928// SetTrialComponentName sets the TrialComponentName field's value.
59929func (s *ListTrialsInput) SetTrialComponentName(v string) *ListTrialsInput {
59930	s.TrialComponentName = &v
59931	return s
59932}
59933
59934type ListTrialsOutput struct {
59935	_ struct{} `type:"structure"`
59936
59937	// A token for getting the next set of trials, if there are any.
59938	NextToken *string `type:"string"`
59939
59940	// A list of the summaries of your trials.
59941	TrialSummaries []*TrialSummary `type:"list"`
59942}
59943
59944// String returns the string representation
59945func (s ListTrialsOutput) String() string {
59946	return awsutil.Prettify(s)
59947}
59948
59949// GoString returns the string representation
59950func (s ListTrialsOutput) GoString() string {
59951	return s.String()
59952}
59953
59954// SetNextToken sets the NextToken field's value.
59955func (s *ListTrialsOutput) SetNextToken(v string) *ListTrialsOutput {
59956	s.NextToken = &v
59957	return s
59958}
59959
59960// SetTrialSummaries sets the TrialSummaries field's value.
59961func (s *ListTrialsOutput) SetTrialSummaries(v []*TrialSummary) *ListTrialsOutput {
59962	s.TrialSummaries = v
59963	return s
59964}
59965
59966type ListUserProfilesInput struct {
59967	_ struct{} `type:"structure"`
59968
59969	// A parameter by which to filter the results.
59970	DomainIdEquals *string `type:"string"`
59971
59972	// Returns a list up to a specified limit.
59973	MaxResults *int64 `min:"1" type:"integer"`
59974
59975	// If the previous response was truncated, you will receive this token. Use
59976	// it in your next request to receive the next set of results.
59977	NextToken *string `type:"string"`
59978
59979	// The parameter by which to sort the results. The default is CreationTime.
59980	SortBy *string `type:"string" enum:"UserProfileSortKey"`
59981
59982	// The sort order for the results. The default is Ascending.
59983	SortOrder *string `type:"string" enum:"SortOrder"`
59984
59985	// A parameter by which to filter the results.
59986	UserProfileNameContains *string `type:"string"`
59987}
59988
59989// String returns the string representation
59990func (s ListUserProfilesInput) String() string {
59991	return awsutil.Prettify(s)
59992}
59993
59994// GoString returns the string representation
59995func (s ListUserProfilesInput) GoString() string {
59996	return s.String()
59997}
59998
59999// Validate inspects the fields of the type to determine if they are valid.
60000func (s *ListUserProfilesInput) Validate() error {
60001	invalidParams := request.ErrInvalidParams{Context: "ListUserProfilesInput"}
60002	if s.MaxResults != nil && *s.MaxResults < 1 {
60003		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
60004	}
60005
60006	if invalidParams.Len() > 0 {
60007		return invalidParams
60008	}
60009	return nil
60010}
60011
60012// SetDomainIdEquals sets the DomainIdEquals field's value.
60013func (s *ListUserProfilesInput) SetDomainIdEquals(v string) *ListUserProfilesInput {
60014	s.DomainIdEquals = &v
60015	return s
60016}
60017
60018// SetMaxResults sets the MaxResults field's value.
60019func (s *ListUserProfilesInput) SetMaxResults(v int64) *ListUserProfilesInput {
60020	s.MaxResults = &v
60021	return s
60022}
60023
60024// SetNextToken sets the NextToken field's value.
60025func (s *ListUserProfilesInput) SetNextToken(v string) *ListUserProfilesInput {
60026	s.NextToken = &v
60027	return s
60028}
60029
60030// SetSortBy sets the SortBy field's value.
60031func (s *ListUserProfilesInput) SetSortBy(v string) *ListUserProfilesInput {
60032	s.SortBy = &v
60033	return s
60034}
60035
60036// SetSortOrder sets the SortOrder field's value.
60037func (s *ListUserProfilesInput) SetSortOrder(v string) *ListUserProfilesInput {
60038	s.SortOrder = &v
60039	return s
60040}
60041
60042// SetUserProfileNameContains sets the UserProfileNameContains field's value.
60043func (s *ListUserProfilesInput) SetUserProfileNameContains(v string) *ListUserProfilesInput {
60044	s.UserProfileNameContains = &v
60045	return s
60046}
60047
60048type ListUserProfilesOutput struct {
60049	_ struct{} `type:"structure"`
60050
60051	// If the previous response was truncated, you will receive this token. Use
60052	// it in your next request to receive the next set of results.
60053	NextToken *string `type:"string"`
60054
60055	// The list of user profiles.
60056	UserProfiles []*UserProfileDetails `type:"list"`
60057}
60058
60059// String returns the string representation
60060func (s ListUserProfilesOutput) String() string {
60061	return awsutil.Prettify(s)
60062}
60063
60064// GoString returns the string representation
60065func (s ListUserProfilesOutput) GoString() string {
60066	return s.String()
60067}
60068
60069// SetNextToken sets the NextToken field's value.
60070func (s *ListUserProfilesOutput) SetNextToken(v string) *ListUserProfilesOutput {
60071	s.NextToken = &v
60072	return s
60073}
60074
60075// SetUserProfiles sets the UserProfiles field's value.
60076func (s *ListUserProfilesOutput) SetUserProfiles(v []*UserProfileDetails) *ListUserProfilesOutput {
60077	s.UserProfiles = v
60078	return s
60079}
60080
60081type ListWorkforcesInput struct {
60082	_ struct{} `type:"structure"`
60083
60084	// The maximum number of workforces returned in the response.
60085	MaxResults *int64 `min:"1" type:"integer"`
60086
60087	// A filter you can use to search for workforces using part of the workforce
60088	// name.
60089	NameContains *string `min:"1" type:"string"`
60090
60091	// A token to resume pagination.
60092	NextToken *string `type:"string"`
60093
60094	// Sort workforces using the workforce name or creation date.
60095	SortBy *string `type:"string" enum:"ListWorkforcesSortByOptions"`
60096
60097	// Sort workforces in ascending or descending order.
60098	SortOrder *string `type:"string" enum:"SortOrder"`
60099}
60100
60101// String returns the string representation
60102func (s ListWorkforcesInput) String() string {
60103	return awsutil.Prettify(s)
60104}
60105
60106// GoString returns the string representation
60107func (s ListWorkforcesInput) GoString() string {
60108	return s.String()
60109}
60110
60111// Validate inspects the fields of the type to determine if they are valid.
60112func (s *ListWorkforcesInput) Validate() error {
60113	invalidParams := request.ErrInvalidParams{Context: "ListWorkforcesInput"}
60114	if s.MaxResults != nil && *s.MaxResults < 1 {
60115		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
60116	}
60117	if s.NameContains != nil && len(*s.NameContains) < 1 {
60118		invalidParams.Add(request.NewErrParamMinLen("NameContains", 1))
60119	}
60120
60121	if invalidParams.Len() > 0 {
60122		return invalidParams
60123	}
60124	return nil
60125}
60126
60127// SetMaxResults sets the MaxResults field's value.
60128func (s *ListWorkforcesInput) SetMaxResults(v int64) *ListWorkforcesInput {
60129	s.MaxResults = &v
60130	return s
60131}
60132
60133// SetNameContains sets the NameContains field's value.
60134func (s *ListWorkforcesInput) SetNameContains(v string) *ListWorkforcesInput {
60135	s.NameContains = &v
60136	return s
60137}
60138
60139// SetNextToken sets the NextToken field's value.
60140func (s *ListWorkforcesInput) SetNextToken(v string) *ListWorkforcesInput {
60141	s.NextToken = &v
60142	return s
60143}
60144
60145// SetSortBy sets the SortBy field's value.
60146func (s *ListWorkforcesInput) SetSortBy(v string) *ListWorkforcesInput {
60147	s.SortBy = &v
60148	return s
60149}
60150
60151// SetSortOrder sets the SortOrder field's value.
60152func (s *ListWorkforcesInput) SetSortOrder(v string) *ListWorkforcesInput {
60153	s.SortOrder = &v
60154	return s
60155}
60156
60157type ListWorkforcesOutput struct {
60158	_ struct{} `type:"structure"`
60159
60160	// A token to resume pagination.
60161	NextToken *string `type:"string"`
60162
60163	// A list containing information about your workforce.
60164	//
60165	// Workforces is a required field
60166	Workforces []*Workforce `type:"list" required:"true"`
60167}
60168
60169// String returns the string representation
60170func (s ListWorkforcesOutput) String() string {
60171	return awsutil.Prettify(s)
60172}
60173
60174// GoString returns the string representation
60175func (s ListWorkforcesOutput) GoString() string {
60176	return s.String()
60177}
60178
60179// SetNextToken sets the NextToken field's value.
60180func (s *ListWorkforcesOutput) SetNextToken(v string) *ListWorkforcesOutput {
60181	s.NextToken = &v
60182	return s
60183}
60184
60185// SetWorkforces sets the Workforces field's value.
60186func (s *ListWorkforcesOutput) SetWorkforces(v []*Workforce) *ListWorkforcesOutput {
60187	s.Workforces = v
60188	return s
60189}
60190
60191type ListWorkteamsInput struct {
60192	_ struct{} `type:"structure"`
60193
60194	// The maximum number of work teams to return in each page of the response.
60195	MaxResults *int64 `min:"1" type:"integer"`
60196
60197	// A string in the work team's name. This filter returns only work teams whose
60198	// name contains the specified string.
60199	NameContains *string `min:"1" type:"string"`
60200
60201	// If the result of the previous ListWorkteams request was truncated, the response
60202	// includes a NextToken. To retrieve the next set of labeling jobs, use the
60203	// token in the next request.
60204	NextToken *string `type:"string"`
60205
60206	// The field to sort results by. The default is CreationTime.
60207	SortBy *string `type:"string" enum:"ListWorkteamsSortByOptions"`
60208
60209	// The sort order for results. The default is Ascending.
60210	SortOrder *string `type:"string" enum:"SortOrder"`
60211}
60212
60213// String returns the string representation
60214func (s ListWorkteamsInput) String() string {
60215	return awsutil.Prettify(s)
60216}
60217
60218// GoString returns the string representation
60219func (s ListWorkteamsInput) GoString() string {
60220	return s.String()
60221}
60222
60223// Validate inspects the fields of the type to determine if they are valid.
60224func (s *ListWorkteamsInput) Validate() error {
60225	invalidParams := request.ErrInvalidParams{Context: "ListWorkteamsInput"}
60226	if s.MaxResults != nil && *s.MaxResults < 1 {
60227		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
60228	}
60229	if s.NameContains != nil && len(*s.NameContains) < 1 {
60230		invalidParams.Add(request.NewErrParamMinLen("NameContains", 1))
60231	}
60232
60233	if invalidParams.Len() > 0 {
60234		return invalidParams
60235	}
60236	return nil
60237}
60238
60239// SetMaxResults sets the MaxResults field's value.
60240func (s *ListWorkteamsInput) SetMaxResults(v int64) *ListWorkteamsInput {
60241	s.MaxResults = &v
60242	return s
60243}
60244
60245// SetNameContains sets the NameContains field's value.
60246func (s *ListWorkteamsInput) SetNameContains(v string) *ListWorkteamsInput {
60247	s.NameContains = &v
60248	return s
60249}
60250
60251// SetNextToken sets the NextToken field's value.
60252func (s *ListWorkteamsInput) SetNextToken(v string) *ListWorkteamsInput {
60253	s.NextToken = &v
60254	return s
60255}
60256
60257// SetSortBy sets the SortBy field's value.
60258func (s *ListWorkteamsInput) SetSortBy(v string) *ListWorkteamsInput {
60259	s.SortBy = &v
60260	return s
60261}
60262
60263// SetSortOrder sets the SortOrder field's value.
60264func (s *ListWorkteamsInput) SetSortOrder(v string) *ListWorkteamsInput {
60265	s.SortOrder = &v
60266	return s
60267}
60268
60269type ListWorkteamsOutput struct {
60270	_ struct{} `type:"structure"`
60271
60272	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
60273	// the next set of work teams, use it in the subsequent request.
60274	NextToken *string `type:"string"`
60275
60276	// An array of Workteam objects, each describing a work team.
60277	//
60278	// Workteams is a required field
60279	Workteams []*Workteam `type:"list" required:"true"`
60280}
60281
60282// String returns the string representation
60283func (s ListWorkteamsOutput) String() string {
60284	return awsutil.Prettify(s)
60285}
60286
60287// GoString returns the string representation
60288func (s ListWorkteamsOutput) GoString() string {
60289	return s.String()
60290}
60291
60292// SetNextToken sets the NextToken field's value.
60293func (s *ListWorkteamsOutput) SetNextToken(v string) *ListWorkteamsOutput {
60294	s.NextToken = &v
60295	return s
60296}
60297
60298// SetWorkteams sets the Workteams field's value.
60299func (s *ListWorkteamsOutput) SetWorkteams(v []*Workteam) *ListWorkteamsOutput {
60300	s.Workteams = v
60301	return s
60302}
60303
60304// Defines an Amazon Cognito or your own OIDC IdP user group that is part of
60305// a work team.
60306type MemberDefinition struct {
60307	_ struct{} `type:"structure"`
60308
60309	// The Amazon Cognito user group that is part of the work team.
60310	CognitoMemberDefinition *CognitoMemberDefinition `type:"structure"`
60311
60312	// A list user groups that exist in your OIDC Identity Provider (IdP). One to
60313	// ten groups can be used to create a single private work team. When you add
60314	// a user group to the list of Groups, you can add that user group to one or
60315	// more private work teams. If you add a user group to a private work team,
60316	// all workers in that user group are added to the work team.
60317	OidcMemberDefinition *OidcMemberDefinition `type:"structure"`
60318}
60319
60320// String returns the string representation
60321func (s MemberDefinition) String() string {
60322	return awsutil.Prettify(s)
60323}
60324
60325// GoString returns the string representation
60326func (s MemberDefinition) GoString() string {
60327	return s.String()
60328}
60329
60330// Validate inspects the fields of the type to determine if they are valid.
60331func (s *MemberDefinition) Validate() error {
60332	invalidParams := request.ErrInvalidParams{Context: "MemberDefinition"}
60333	if s.CognitoMemberDefinition != nil {
60334		if err := s.CognitoMemberDefinition.Validate(); err != nil {
60335			invalidParams.AddNested("CognitoMemberDefinition", err.(request.ErrInvalidParams))
60336		}
60337	}
60338	if s.OidcMemberDefinition != nil {
60339		if err := s.OidcMemberDefinition.Validate(); err != nil {
60340			invalidParams.AddNested("OidcMemberDefinition", err.(request.ErrInvalidParams))
60341		}
60342	}
60343
60344	if invalidParams.Len() > 0 {
60345		return invalidParams
60346	}
60347	return nil
60348}
60349
60350// SetCognitoMemberDefinition sets the CognitoMemberDefinition field's value.
60351func (s *MemberDefinition) SetCognitoMemberDefinition(v *CognitoMemberDefinition) *MemberDefinition {
60352	s.CognitoMemberDefinition = v
60353	return s
60354}
60355
60356// SetOidcMemberDefinition sets the OidcMemberDefinition field's value.
60357func (s *MemberDefinition) SetOidcMemberDefinition(v *OidcMemberDefinition) *MemberDefinition {
60358	s.OidcMemberDefinition = v
60359	return s
60360}
60361
60362// Metadata properties of the tracking entity, trial, or trial component.
60363type MetadataProperties struct {
60364	_ struct{} `type:"structure"`
60365
60366	// The commit ID.
60367	CommitId *string `type:"string"`
60368
60369	// The entity this entity was generated by.
60370	GeneratedBy *string `type:"string"`
60371
60372	// The project ID.
60373	ProjectId *string `type:"string"`
60374
60375	// The repository.
60376	Repository *string `type:"string"`
60377}
60378
60379// String returns the string representation
60380func (s MetadataProperties) String() string {
60381	return awsutil.Prettify(s)
60382}
60383
60384// GoString returns the string representation
60385func (s MetadataProperties) GoString() string {
60386	return s.String()
60387}
60388
60389// SetCommitId sets the CommitId field's value.
60390func (s *MetadataProperties) SetCommitId(v string) *MetadataProperties {
60391	s.CommitId = &v
60392	return s
60393}
60394
60395// SetGeneratedBy sets the GeneratedBy field's value.
60396func (s *MetadataProperties) SetGeneratedBy(v string) *MetadataProperties {
60397	s.GeneratedBy = &v
60398	return s
60399}
60400
60401// SetProjectId sets the ProjectId field's value.
60402func (s *MetadataProperties) SetProjectId(v string) *MetadataProperties {
60403	s.ProjectId = &v
60404	return s
60405}
60406
60407// SetRepository sets the Repository field's value.
60408func (s *MetadataProperties) SetRepository(v string) *MetadataProperties {
60409	s.Repository = &v
60410	return s
60411}
60412
60413// The name, value, and date and time of a metric that was emitted to Amazon
60414// CloudWatch.
60415type MetricData struct {
60416	_ struct{} `type:"structure"`
60417
60418	// The name of the metric.
60419	MetricName *string `min:"1" type:"string"`
60420
60421	// The date and time that the algorithm emitted the metric.
60422	Timestamp *time.Time `type:"timestamp"`
60423
60424	// The value of the metric.
60425	Value *float64 `type:"float"`
60426}
60427
60428// String returns the string representation
60429func (s MetricData) String() string {
60430	return awsutil.Prettify(s)
60431}
60432
60433// GoString returns the string representation
60434func (s MetricData) GoString() string {
60435	return s.String()
60436}
60437
60438// SetMetricName sets the MetricName field's value.
60439func (s *MetricData) SetMetricName(v string) *MetricData {
60440	s.MetricName = &v
60441	return s
60442}
60443
60444// SetTimestamp sets the Timestamp field's value.
60445func (s *MetricData) SetTimestamp(v time.Time) *MetricData {
60446	s.Timestamp = &v
60447	return s
60448}
60449
60450// SetValue sets the Value field's value.
60451func (s *MetricData) SetValue(v float64) *MetricData {
60452	s.Value = &v
60453	return s
60454}
60455
60456// Specifies a metric that the training algorithm writes to stderr or stdout
60457// . Amazon SageMakerhyperparameter tuning captures all defined metrics. You
60458// specify one metric that a hyperparameter tuning job uses as its objective
60459// metric to choose the best training job.
60460type MetricDefinition struct {
60461	_ struct{} `type:"structure"`
60462
60463	// The name of the metric.
60464	//
60465	// Name is a required field
60466	Name *string `min:"1" type:"string" required:"true"`
60467
60468	// A regular expression that searches the output of a training job and gets
60469	// the value of the metric. For more information about using regular expressions
60470	// to define metrics, see Defining Objective Metrics (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-metrics.html).
60471	//
60472	// Regex is a required field
60473	Regex *string `min:"1" type:"string" required:"true"`
60474}
60475
60476// String returns the string representation
60477func (s MetricDefinition) String() string {
60478	return awsutil.Prettify(s)
60479}
60480
60481// GoString returns the string representation
60482func (s MetricDefinition) GoString() string {
60483	return s.String()
60484}
60485
60486// Validate inspects the fields of the type to determine if they are valid.
60487func (s *MetricDefinition) Validate() error {
60488	invalidParams := request.ErrInvalidParams{Context: "MetricDefinition"}
60489	if s.Name == nil {
60490		invalidParams.Add(request.NewErrParamRequired("Name"))
60491	}
60492	if s.Name != nil && len(*s.Name) < 1 {
60493		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
60494	}
60495	if s.Regex == nil {
60496		invalidParams.Add(request.NewErrParamRequired("Regex"))
60497	}
60498	if s.Regex != nil && len(*s.Regex) < 1 {
60499		invalidParams.Add(request.NewErrParamMinLen("Regex", 1))
60500	}
60501
60502	if invalidParams.Len() > 0 {
60503		return invalidParams
60504	}
60505	return nil
60506}
60507
60508// SetName sets the Name field's value.
60509func (s *MetricDefinition) SetName(v string) *MetricDefinition {
60510	s.Name = &v
60511	return s
60512}
60513
60514// SetRegex sets the Regex field's value.
60515func (s *MetricDefinition) SetRegex(v string) *MetricDefinition {
60516	s.Regex = &v
60517	return s
60518}
60519
60520type MetricsSource struct {
60521	_ struct{} `type:"structure"`
60522
60523	ContentDigest *string `type:"string"`
60524
60525	// ContentType is a required field
60526	ContentType *string `type:"string" required:"true"`
60527
60528	// S3Uri is a required field
60529	S3Uri *string `type:"string" required:"true"`
60530}
60531
60532// String returns the string representation
60533func (s MetricsSource) String() string {
60534	return awsutil.Prettify(s)
60535}
60536
60537// GoString returns the string representation
60538func (s MetricsSource) GoString() string {
60539	return s.String()
60540}
60541
60542// Validate inspects the fields of the type to determine if they are valid.
60543func (s *MetricsSource) Validate() error {
60544	invalidParams := request.ErrInvalidParams{Context: "MetricsSource"}
60545	if s.ContentType == nil {
60546		invalidParams.Add(request.NewErrParamRequired("ContentType"))
60547	}
60548	if s.S3Uri == nil {
60549		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
60550	}
60551
60552	if invalidParams.Len() > 0 {
60553		return invalidParams
60554	}
60555	return nil
60556}
60557
60558// SetContentDigest sets the ContentDigest field's value.
60559func (s *MetricsSource) SetContentDigest(v string) *MetricsSource {
60560	s.ContentDigest = &v
60561	return s
60562}
60563
60564// SetContentType sets the ContentType field's value.
60565func (s *MetricsSource) SetContentType(v string) *MetricsSource {
60566	s.ContentType = &v
60567	return s
60568}
60569
60570// SetS3Uri sets the S3Uri field's value.
60571func (s *MetricsSource) SetS3Uri(v string) *MetricsSource {
60572	s.S3Uri = &v
60573	return s
60574}
60575
60576// Provides information about the location that is configured for storing model
60577// artifacts.
60578//
60579// Model artifacts are the output that results from training a model, and typically
60580// consist of trained parameters, a model defintion that describes how to compute
60581// inferences, and other metadata.
60582type ModelArtifacts struct {
60583	_ struct{} `type:"structure"`
60584
60585	// The path of the S3 object that contains the model artifacts. For example,
60586	// s3://bucket-name/keynameprefix/model.tar.gz.
60587	//
60588	// S3ModelArtifacts is a required field
60589	S3ModelArtifacts *string `type:"string" required:"true"`
60590}
60591
60592// String returns the string representation
60593func (s ModelArtifacts) String() string {
60594	return awsutil.Prettify(s)
60595}
60596
60597// GoString returns the string representation
60598func (s ModelArtifacts) GoString() string {
60599	return s.String()
60600}
60601
60602// SetS3ModelArtifacts sets the S3ModelArtifacts field's value.
60603func (s *ModelArtifacts) SetS3ModelArtifacts(v string) *ModelArtifacts {
60604	s.S3ModelArtifacts = &v
60605	return s
60606}
60607
60608// Docker container image configuration object for the model bias job.
60609type ModelBiasAppSpecification struct {
60610	_ struct{} `type:"structure"`
60611
60612	// JSON formatted S3 file that defines bias parameters. For more information
60613	// on this JSON configuration file, see Configure bias parameters (https://docs.aws.amazon.com/sagemaker/latest/json-bias-parameter-config.html).
60614	//
60615	// ConfigUri is a required field
60616	ConfigUri *string `type:"string" required:"true"`
60617
60618	// Sets the environment variables in the Docker container.
60619	Environment map[string]*string `type:"map"`
60620
60621	// The container image to be run by the model bias job.
60622	//
60623	// ImageUri is a required field
60624	ImageUri *string `type:"string" required:"true"`
60625}
60626
60627// String returns the string representation
60628func (s ModelBiasAppSpecification) String() string {
60629	return awsutil.Prettify(s)
60630}
60631
60632// GoString returns the string representation
60633func (s ModelBiasAppSpecification) GoString() string {
60634	return s.String()
60635}
60636
60637// Validate inspects the fields of the type to determine if they are valid.
60638func (s *ModelBiasAppSpecification) Validate() error {
60639	invalidParams := request.ErrInvalidParams{Context: "ModelBiasAppSpecification"}
60640	if s.ConfigUri == nil {
60641		invalidParams.Add(request.NewErrParamRequired("ConfigUri"))
60642	}
60643	if s.ImageUri == nil {
60644		invalidParams.Add(request.NewErrParamRequired("ImageUri"))
60645	}
60646
60647	if invalidParams.Len() > 0 {
60648		return invalidParams
60649	}
60650	return nil
60651}
60652
60653// SetConfigUri sets the ConfigUri field's value.
60654func (s *ModelBiasAppSpecification) SetConfigUri(v string) *ModelBiasAppSpecification {
60655	s.ConfigUri = &v
60656	return s
60657}
60658
60659// SetEnvironment sets the Environment field's value.
60660func (s *ModelBiasAppSpecification) SetEnvironment(v map[string]*string) *ModelBiasAppSpecification {
60661	s.Environment = v
60662	return s
60663}
60664
60665// SetImageUri sets the ImageUri field's value.
60666func (s *ModelBiasAppSpecification) SetImageUri(v string) *ModelBiasAppSpecification {
60667	s.ImageUri = &v
60668	return s
60669}
60670
60671// The configuration for a baseline model bias job.
60672type ModelBiasBaselineConfig struct {
60673	_ struct{} `type:"structure"`
60674
60675	// The name of the baseline model bias job.
60676	BaseliningJobName *string `min:"1" type:"string"`
60677
60678	// The constraints resource for a monitoring job.
60679	ConstraintsResource *MonitoringConstraintsResource `type:"structure"`
60680}
60681
60682// String returns the string representation
60683func (s ModelBiasBaselineConfig) String() string {
60684	return awsutil.Prettify(s)
60685}
60686
60687// GoString returns the string representation
60688func (s ModelBiasBaselineConfig) GoString() string {
60689	return s.String()
60690}
60691
60692// Validate inspects the fields of the type to determine if they are valid.
60693func (s *ModelBiasBaselineConfig) Validate() error {
60694	invalidParams := request.ErrInvalidParams{Context: "ModelBiasBaselineConfig"}
60695	if s.BaseliningJobName != nil && len(*s.BaseliningJobName) < 1 {
60696		invalidParams.Add(request.NewErrParamMinLen("BaseliningJobName", 1))
60697	}
60698
60699	if invalidParams.Len() > 0 {
60700		return invalidParams
60701	}
60702	return nil
60703}
60704
60705// SetBaseliningJobName sets the BaseliningJobName field's value.
60706func (s *ModelBiasBaselineConfig) SetBaseliningJobName(v string) *ModelBiasBaselineConfig {
60707	s.BaseliningJobName = &v
60708	return s
60709}
60710
60711// SetConstraintsResource sets the ConstraintsResource field's value.
60712func (s *ModelBiasBaselineConfig) SetConstraintsResource(v *MonitoringConstraintsResource) *ModelBiasBaselineConfig {
60713	s.ConstraintsResource = v
60714	return s
60715}
60716
60717// Inputs for the model bias job.
60718type ModelBiasJobInput struct {
60719	_ struct{} `type:"structure"`
60720
60721	// Input object for the endpoint
60722	//
60723	// EndpointInput is a required field
60724	EndpointInput *EndpointInput `type:"structure" required:"true"`
60725
60726	// Location of ground truth labels to use in model bias job.
60727	//
60728	// GroundTruthS3Input is a required field
60729	GroundTruthS3Input *MonitoringGroundTruthS3Input `type:"structure" required:"true"`
60730}
60731
60732// String returns the string representation
60733func (s ModelBiasJobInput) String() string {
60734	return awsutil.Prettify(s)
60735}
60736
60737// GoString returns the string representation
60738func (s ModelBiasJobInput) GoString() string {
60739	return s.String()
60740}
60741
60742// Validate inspects the fields of the type to determine if they are valid.
60743func (s *ModelBiasJobInput) Validate() error {
60744	invalidParams := request.ErrInvalidParams{Context: "ModelBiasJobInput"}
60745	if s.EndpointInput == nil {
60746		invalidParams.Add(request.NewErrParamRequired("EndpointInput"))
60747	}
60748	if s.GroundTruthS3Input == nil {
60749		invalidParams.Add(request.NewErrParamRequired("GroundTruthS3Input"))
60750	}
60751	if s.EndpointInput != nil {
60752		if err := s.EndpointInput.Validate(); err != nil {
60753			invalidParams.AddNested("EndpointInput", err.(request.ErrInvalidParams))
60754		}
60755	}
60756
60757	if invalidParams.Len() > 0 {
60758		return invalidParams
60759	}
60760	return nil
60761}
60762
60763// SetEndpointInput sets the EndpointInput field's value.
60764func (s *ModelBiasJobInput) SetEndpointInput(v *EndpointInput) *ModelBiasJobInput {
60765	s.EndpointInput = v
60766	return s
60767}
60768
60769// SetGroundTruthS3Input sets the GroundTruthS3Input field's value.
60770func (s *ModelBiasJobInput) SetGroundTruthS3Input(v *MonitoringGroundTruthS3Input) *ModelBiasJobInput {
60771	s.GroundTruthS3Input = v
60772	return s
60773}
60774
60775// Configures the timeout and maximum number of retries for processing a transform
60776// job invocation.
60777type ModelClientConfig struct {
60778	_ struct{} `type:"structure"`
60779
60780	// The maximum number of retries when invocation requests are failing.
60781	InvocationsMaxRetries *int64 `type:"integer"`
60782
60783	// The timeout value in seconds for an invocation request.
60784	InvocationsTimeoutInSeconds *int64 `min:"1" type:"integer"`
60785}
60786
60787// String returns the string representation
60788func (s ModelClientConfig) String() string {
60789	return awsutil.Prettify(s)
60790}
60791
60792// GoString returns the string representation
60793func (s ModelClientConfig) GoString() string {
60794	return s.String()
60795}
60796
60797// Validate inspects the fields of the type to determine if they are valid.
60798func (s *ModelClientConfig) Validate() error {
60799	invalidParams := request.ErrInvalidParams{Context: "ModelClientConfig"}
60800	if s.InvocationsTimeoutInSeconds != nil && *s.InvocationsTimeoutInSeconds < 1 {
60801		invalidParams.Add(request.NewErrParamMinValue("InvocationsTimeoutInSeconds", 1))
60802	}
60803
60804	if invalidParams.Len() > 0 {
60805		return invalidParams
60806	}
60807	return nil
60808}
60809
60810// SetInvocationsMaxRetries sets the InvocationsMaxRetries field's value.
60811func (s *ModelClientConfig) SetInvocationsMaxRetries(v int64) *ModelClientConfig {
60812	s.InvocationsMaxRetries = &v
60813	return s
60814}
60815
60816// SetInvocationsTimeoutInSeconds sets the InvocationsTimeoutInSeconds field's value.
60817func (s *ModelClientConfig) SetInvocationsTimeoutInSeconds(v int64) *ModelClientConfig {
60818	s.InvocationsTimeoutInSeconds = &v
60819	return s
60820}
60821
60822// Data quality constraints and statistics for a model.
60823type ModelDataQuality struct {
60824	_ struct{} `type:"structure"`
60825
60826	// Data quality constraints for a model.
60827	Constraints *MetricsSource `type:"structure"`
60828
60829	// Data quality statistics for a model.
60830	Statistics *MetricsSource `type:"structure"`
60831}
60832
60833// String returns the string representation
60834func (s ModelDataQuality) String() string {
60835	return awsutil.Prettify(s)
60836}
60837
60838// GoString returns the string representation
60839func (s ModelDataQuality) GoString() string {
60840	return s.String()
60841}
60842
60843// Validate inspects the fields of the type to determine if they are valid.
60844func (s *ModelDataQuality) Validate() error {
60845	invalidParams := request.ErrInvalidParams{Context: "ModelDataQuality"}
60846	if s.Constraints != nil {
60847		if err := s.Constraints.Validate(); err != nil {
60848			invalidParams.AddNested("Constraints", err.(request.ErrInvalidParams))
60849		}
60850	}
60851	if s.Statistics != nil {
60852		if err := s.Statistics.Validate(); err != nil {
60853			invalidParams.AddNested("Statistics", err.(request.ErrInvalidParams))
60854		}
60855	}
60856
60857	if invalidParams.Len() > 0 {
60858		return invalidParams
60859	}
60860	return nil
60861}
60862
60863// SetConstraints sets the Constraints field's value.
60864func (s *ModelDataQuality) SetConstraints(v *MetricsSource) *ModelDataQuality {
60865	s.Constraints = v
60866	return s
60867}
60868
60869// SetStatistics sets the Statistics field's value.
60870func (s *ModelDataQuality) SetStatistics(v *MetricsSource) *ModelDataQuality {
60871	s.Statistics = v
60872	return s
60873}
60874
60875// Specifies how to generate the endpoint name for an automatic one-click Autopilot
60876// model deployment.
60877type ModelDeployConfig struct {
60878	_ struct{} `type:"structure"`
60879
60880	// Set to True to automatically generate an endpoint name for a one-click Autopilot
60881	// model deployment; set to False otherwise. The default value is True.
60882	//
60883	// If you set AutoGenerateEndpointName to True, do not specify the EndpointName;
60884	// otherwise a 400 error is thrown.
60885	AutoGenerateEndpointName *bool `type:"boolean"`
60886
60887	// Specifies the endpoint name to use for a one-click Autopilot model deployment
60888	// if the endpoint name is not generated automatically.
60889	//
60890	// Specify the EndpointName if and only if you set AutoGenerateEndpointName
60891	// to False; otherwise a 400 error is thrown.
60892	EndpointName *string `type:"string"`
60893}
60894
60895// String returns the string representation
60896func (s ModelDeployConfig) String() string {
60897	return awsutil.Prettify(s)
60898}
60899
60900// GoString returns the string representation
60901func (s ModelDeployConfig) GoString() string {
60902	return s.String()
60903}
60904
60905// SetAutoGenerateEndpointName sets the AutoGenerateEndpointName field's value.
60906func (s *ModelDeployConfig) SetAutoGenerateEndpointName(v bool) *ModelDeployConfig {
60907	s.AutoGenerateEndpointName = &v
60908	return s
60909}
60910
60911// SetEndpointName sets the EndpointName field's value.
60912func (s *ModelDeployConfig) SetEndpointName(v string) *ModelDeployConfig {
60913	s.EndpointName = &v
60914	return s
60915}
60916
60917// Provides information about the endpoint of the model deployment.
60918type ModelDeployResult struct {
60919	_ struct{} `type:"structure"`
60920
60921	// The name of the endpoint to which the model has been deployed.
60922	//
60923	// If model deployment fails, this field is omitted from the response.
60924	EndpointName *string `type:"string"`
60925}
60926
60927// String returns the string representation
60928func (s ModelDeployResult) String() string {
60929	return awsutil.Prettify(s)
60930}
60931
60932// GoString returns the string representation
60933func (s ModelDeployResult) GoString() string {
60934	return s.String()
60935}
60936
60937// SetEndpointName sets the EndpointName field's value.
60938func (s *ModelDeployResult) SetEndpointName(v string) *ModelDeployResult {
60939	s.EndpointName = &v
60940	return s
60941}
60942
60943// Provides information to verify the integrity of stored model artifacts.
60944type ModelDigests struct {
60945	_ struct{} `type:"structure"`
60946
60947	// Provides a hash value that uniquely identifies the stored model artifacts.
60948	ArtifactDigest *string `type:"string"`
60949}
60950
60951// String returns the string representation
60952func (s ModelDigests) String() string {
60953	return awsutil.Prettify(s)
60954}
60955
60956// GoString returns the string representation
60957func (s ModelDigests) GoString() string {
60958	return s.String()
60959}
60960
60961// SetArtifactDigest sets the ArtifactDigest field's value.
60962func (s *ModelDigests) SetArtifactDigest(v string) *ModelDigests {
60963	s.ArtifactDigest = &v
60964	return s
60965}
60966
60967// Docker container image configuration object for the model explainability
60968// job.
60969type ModelExplainabilityAppSpecification struct {
60970	_ struct{} `type:"structure"`
60971
60972	// JSON formatted S3 file that defines explainability parameters. For more information
60973	// on this JSON configuration file, see Configure model explainability parameters
60974	// (https://docs.aws.amazon.com/sagemaker/latest/json-model-explainability-parameter-config.html).
60975	//
60976	// ConfigUri is a required field
60977	ConfigUri *string `type:"string" required:"true"`
60978
60979	// Sets the environment variables in the Docker container.
60980	Environment map[string]*string `type:"map"`
60981
60982	// The container image to be run by the model explainability job.
60983	//
60984	// ImageUri is a required field
60985	ImageUri *string `type:"string" required:"true"`
60986}
60987
60988// String returns the string representation
60989func (s ModelExplainabilityAppSpecification) String() string {
60990	return awsutil.Prettify(s)
60991}
60992
60993// GoString returns the string representation
60994func (s ModelExplainabilityAppSpecification) GoString() string {
60995	return s.String()
60996}
60997
60998// Validate inspects the fields of the type to determine if they are valid.
60999func (s *ModelExplainabilityAppSpecification) Validate() error {
61000	invalidParams := request.ErrInvalidParams{Context: "ModelExplainabilityAppSpecification"}
61001	if s.ConfigUri == nil {
61002		invalidParams.Add(request.NewErrParamRequired("ConfigUri"))
61003	}
61004	if s.ImageUri == nil {
61005		invalidParams.Add(request.NewErrParamRequired("ImageUri"))
61006	}
61007
61008	if invalidParams.Len() > 0 {
61009		return invalidParams
61010	}
61011	return nil
61012}
61013
61014// SetConfigUri sets the ConfigUri field's value.
61015func (s *ModelExplainabilityAppSpecification) SetConfigUri(v string) *ModelExplainabilityAppSpecification {
61016	s.ConfigUri = &v
61017	return s
61018}
61019
61020// SetEnvironment sets the Environment field's value.
61021func (s *ModelExplainabilityAppSpecification) SetEnvironment(v map[string]*string) *ModelExplainabilityAppSpecification {
61022	s.Environment = v
61023	return s
61024}
61025
61026// SetImageUri sets the ImageUri field's value.
61027func (s *ModelExplainabilityAppSpecification) SetImageUri(v string) *ModelExplainabilityAppSpecification {
61028	s.ImageUri = &v
61029	return s
61030}
61031
61032// The configuration for a baseline model explainability job.
61033type ModelExplainabilityBaselineConfig struct {
61034	_ struct{} `type:"structure"`
61035
61036	// The name of the baseline model explainability job.
61037	BaseliningJobName *string `min:"1" type:"string"`
61038
61039	// The constraints resource for a monitoring job.
61040	ConstraintsResource *MonitoringConstraintsResource `type:"structure"`
61041}
61042
61043// String returns the string representation
61044func (s ModelExplainabilityBaselineConfig) String() string {
61045	return awsutil.Prettify(s)
61046}
61047
61048// GoString returns the string representation
61049func (s ModelExplainabilityBaselineConfig) GoString() string {
61050	return s.String()
61051}
61052
61053// Validate inspects the fields of the type to determine if they are valid.
61054func (s *ModelExplainabilityBaselineConfig) Validate() error {
61055	invalidParams := request.ErrInvalidParams{Context: "ModelExplainabilityBaselineConfig"}
61056	if s.BaseliningJobName != nil && len(*s.BaseliningJobName) < 1 {
61057		invalidParams.Add(request.NewErrParamMinLen("BaseliningJobName", 1))
61058	}
61059
61060	if invalidParams.Len() > 0 {
61061		return invalidParams
61062	}
61063	return nil
61064}
61065
61066// SetBaseliningJobName sets the BaseliningJobName field's value.
61067func (s *ModelExplainabilityBaselineConfig) SetBaseliningJobName(v string) *ModelExplainabilityBaselineConfig {
61068	s.BaseliningJobName = &v
61069	return s
61070}
61071
61072// SetConstraintsResource sets the ConstraintsResource field's value.
61073func (s *ModelExplainabilityBaselineConfig) SetConstraintsResource(v *MonitoringConstraintsResource) *ModelExplainabilityBaselineConfig {
61074	s.ConstraintsResource = v
61075	return s
61076}
61077
61078// Inputs for the model explainability job.
61079type ModelExplainabilityJobInput struct {
61080	_ struct{} `type:"structure"`
61081
61082	// Input object for the endpoint
61083	//
61084	// EndpointInput is a required field
61085	EndpointInput *EndpointInput `type:"structure" required:"true"`
61086}
61087
61088// String returns the string representation
61089func (s ModelExplainabilityJobInput) String() string {
61090	return awsutil.Prettify(s)
61091}
61092
61093// GoString returns the string representation
61094func (s ModelExplainabilityJobInput) GoString() string {
61095	return s.String()
61096}
61097
61098// Validate inspects the fields of the type to determine if they are valid.
61099func (s *ModelExplainabilityJobInput) Validate() error {
61100	invalidParams := request.ErrInvalidParams{Context: "ModelExplainabilityJobInput"}
61101	if s.EndpointInput == nil {
61102		invalidParams.Add(request.NewErrParamRequired("EndpointInput"))
61103	}
61104	if s.EndpointInput != nil {
61105		if err := s.EndpointInput.Validate(); err != nil {
61106			invalidParams.AddNested("EndpointInput", err.(request.ErrInvalidParams))
61107		}
61108	}
61109
61110	if invalidParams.Len() > 0 {
61111		return invalidParams
61112	}
61113	return nil
61114}
61115
61116// SetEndpointInput sets the EndpointInput field's value.
61117func (s *ModelExplainabilityJobInput) SetEndpointInput(v *EndpointInput) *ModelExplainabilityJobInput {
61118	s.EndpointInput = v
61119	return s
61120}
61121
61122// Contains metrics captured from a model.
61123type ModelMetrics struct {
61124	_ struct{} `type:"structure"`
61125
61126	// Metrics that measure bais in a model.
61127	Bias *Bias `type:"structure"`
61128
61129	// Metrics that help explain a model.
61130	Explainability *Explainability `type:"structure"`
61131
61132	// Metrics that measure the quality of the input data for a model.
61133	ModelDataQuality *ModelDataQuality `type:"structure"`
61134
61135	// Metrics that measure the quality of a model.
61136	ModelQuality *ModelQuality `type:"structure"`
61137}
61138
61139// String returns the string representation
61140func (s ModelMetrics) String() string {
61141	return awsutil.Prettify(s)
61142}
61143
61144// GoString returns the string representation
61145func (s ModelMetrics) GoString() string {
61146	return s.String()
61147}
61148
61149// Validate inspects the fields of the type to determine if they are valid.
61150func (s *ModelMetrics) Validate() error {
61151	invalidParams := request.ErrInvalidParams{Context: "ModelMetrics"}
61152	if s.Bias != nil {
61153		if err := s.Bias.Validate(); err != nil {
61154			invalidParams.AddNested("Bias", err.(request.ErrInvalidParams))
61155		}
61156	}
61157	if s.Explainability != nil {
61158		if err := s.Explainability.Validate(); err != nil {
61159			invalidParams.AddNested("Explainability", err.(request.ErrInvalidParams))
61160		}
61161	}
61162	if s.ModelDataQuality != nil {
61163		if err := s.ModelDataQuality.Validate(); err != nil {
61164			invalidParams.AddNested("ModelDataQuality", err.(request.ErrInvalidParams))
61165		}
61166	}
61167	if s.ModelQuality != nil {
61168		if err := s.ModelQuality.Validate(); err != nil {
61169			invalidParams.AddNested("ModelQuality", err.(request.ErrInvalidParams))
61170		}
61171	}
61172
61173	if invalidParams.Len() > 0 {
61174		return invalidParams
61175	}
61176	return nil
61177}
61178
61179// SetBias sets the Bias field's value.
61180func (s *ModelMetrics) SetBias(v *Bias) *ModelMetrics {
61181	s.Bias = v
61182	return s
61183}
61184
61185// SetExplainability sets the Explainability field's value.
61186func (s *ModelMetrics) SetExplainability(v *Explainability) *ModelMetrics {
61187	s.Explainability = v
61188	return s
61189}
61190
61191// SetModelDataQuality sets the ModelDataQuality field's value.
61192func (s *ModelMetrics) SetModelDataQuality(v *ModelDataQuality) *ModelMetrics {
61193	s.ModelDataQuality = v
61194	return s
61195}
61196
61197// SetModelQuality sets the ModelQuality field's value.
61198func (s *ModelMetrics) SetModelQuality(v *ModelQuality) *ModelMetrics {
61199	s.ModelQuality = v
61200	return s
61201}
61202
61203// A versioned model that can be deployed for SageMaker inference.
61204type ModelPackage struct {
61205	_ struct{} `type:"structure"`
61206
61207	// A description provided when the model approval is set.
61208	ApprovalDescription *string `type:"string"`
61209
61210	// Whether the model package is to be certified to be listed on AWS Marketplace.
61211	// For information about listing model packages on AWS Marketplace, see List
61212	// Your Algorithm or Model Package on AWS Marketplace (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-mkt-list.html).
61213	CertifyForMarketplace *bool `type:"boolean"`
61214
61215	// Information about the user who created or modified an experiment, trial,
61216	// or trial component.
61217	CreatedBy *UserContext `type:"structure"`
61218
61219	// The time that the model package was created.
61220	CreationTime *time.Time `type:"timestamp"`
61221
61222	// Defines how to perform inference generation after a training job is run.
61223	InferenceSpecification *InferenceSpecification `type:"structure"`
61224
61225	// Information about the user who created or modified an experiment, trial,
61226	// or trial component.
61227	LastModifiedBy *UserContext `type:"structure"`
61228
61229	// The last time the model package was modified.
61230	LastModifiedTime *time.Time `type:"timestamp"`
61231
61232	// Metadata properties of the tracking entity, trial, or trial component.
61233	MetadataProperties *MetadataProperties `type:"structure"`
61234
61235	// The approval status of the model. This can be one of the following values.
61236	//
61237	//    * APPROVED - The model is approved
61238	//
61239	//    * REJECTED - The model is rejected.
61240	//
61241	//    * PENDING_MANUAL_APPROVAL - The model is waiting for manual approval.
61242	ModelApprovalStatus *string `type:"string" enum:"ModelApprovalStatus"`
61243
61244	// Metrics for the model.
61245	ModelMetrics *ModelMetrics `type:"structure"`
61246
61247	// The Amazon Resource Name (ARN) of the model package.
61248	ModelPackageArn *string `min:"1" type:"string"`
61249
61250	// The description of the model package.
61251	ModelPackageDescription *string `type:"string"`
61252
61253	// The model group to which the model belongs.
61254	ModelPackageGroupName *string `min:"1" type:"string"`
61255
61256	// The name of the model.
61257	ModelPackageName *string `min:"1" type:"string"`
61258
61259	// The status of the model package. This can be one of the following values.
61260	//
61261	//    * PENDING - The model package is pending being created.
61262	//
61263	//    * IN_PROGRESS - The model package is in the process of being created.
61264	//
61265	//    * COMPLETED - The model package was successfully created.
61266	//
61267	//    * FAILED - The model package failed.
61268	//
61269	//    * DELETING - The model package is in the process of being deleted.
61270	ModelPackageStatus *string `type:"string" enum:"ModelPackageStatus"`
61271
61272	// Specifies the validation and image scan statuses of the model package.
61273	ModelPackageStatusDetails *ModelPackageStatusDetails `type:"structure"`
61274
61275	// The version number of a versioned model.
61276	ModelPackageVersion *int64 `min:"1" type:"integer"`
61277
61278	// A list of algorithms that were used to create a model package.
61279	SourceAlgorithmSpecification *SourceAlgorithmSpecification `type:"structure"`
61280
61281	// A list of the tags associated with the model package. For more information,
61282	// see Tagging AWS resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
61283	// in the AWS General Reference Guide.
61284	Tags []*Tag `type:"list"`
61285
61286	// Specifies batch transform jobs that Amazon SageMaker runs to validate your
61287	// model package.
61288	ValidationSpecification *ModelPackageValidationSpecification `type:"structure"`
61289}
61290
61291// String returns the string representation
61292func (s ModelPackage) String() string {
61293	return awsutil.Prettify(s)
61294}
61295
61296// GoString returns the string representation
61297func (s ModelPackage) GoString() string {
61298	return s.String()
61299}
61300
61301// SetApprovalDescription sets the ApprovalDescription field's value.
61302func (s *ModelPackage) SetApprovalDescription(v string) *ModelPackage {
61303	s.ApprovalDescription = &v
61304	return s
61305}
61306
61307// SetCertifyForMarketplace sets the CertifyForMarketplace field's value.
61308func (s *ModelPackage) SetCertifyForMarketplace(v bool) *ModelPackage {
61309	s.CertifyForMarketplace = &v
61310	return s
61311}
61312
61313// SetCreatedBy sets the CreatedBy field's value.
61314func (s *ModelPackage) SetCreatedBy(v *UserContext) *ModelPackage {
61315	s.CreatedBy = v
61316	return s
61317}
61318
61319// SetCreationTime sets the CreationTime field's value.
61320func (s *ModelPackage) SetCreationTime(v time.Time) *ModelPackage {
61321	s.CreationTime = &v
61322	return s
61323}
61324
61325// SetInferenceSpecification sets the InferenceSpecification field's value.
61326func (s *ModelPackage) SetInferenceSpecification(v *InferenceSpecification) *ModelPackage {
61327	s.InferenceSpecification = v
61328	return s
61329}
61330
61331// SetLastModifiedBy sets the LastModifiedBy field's value.
61332func (s *ModelPackage) SetLastModifiedBy(v *UserContext) *ModelPackage {
61333	s.LastModifiedBy = v
61334	return s
61335}
61336
61337// SetLastModifiedTime sets the LastModifiedTime field's value.
61338func (s *ModelPackage) SetLastModifiedTime(v time.Time) *ModelPackage {
61339	s.LastModifiedTime = &v
61340	return s
61341}
61342
61343// SetMetadataProperties sets the MetadataProperties field's value.
61344func (s *ModelPackage) SetMetadataProperties(v *MetadataProperties) *ModelPackage {
61345	s.MetadataProperties = v
61346	return s
61347}
61348
61349// SetModelApprovalStatus sets the ModelApprovalStatus field's value.
61350func (s *ModelPackage) SetModelApprovalStatus(v string) *ModelPackage {
61351	s.ModelApprovalStatus = &v
61352	return s
61353}
61354
61355// SetModelMetrics sets the ModelMetrics field's value.
61356func (s *ModelPackage) SetModelMetrics(v *ModelMetrics) *ModelPackage {
61357	s.ModelMetrics = v
61358	return s
61359}
61360
61361// SetModelPackageArn sets the ModelPackageArn field's value.
61362func (s *ModelPackage) SetModelPackageArn(v string) *ModelPackage {
61363	s.ModelPackageArn = &v
61364	return s
61365}
61366
61367// SetModelPackageDescription sets the ModelPackageDescription field's value.
61368func (s *ModelPackage) SetModelPackageDescription(v string) *ModelPackage {
61369	s.ModelPackageDescription = &v
61370	return s
61371}
61372
61373// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
61374func (s *ModelPackage) SetModelPackageGroupName(v string) *ModelPackage {
61375	s.ModelPackageGroupName = &v
61376	return s
61377}
61378
61379// SetModelPackageName sets the ModelPackageName field's value.
61380func (s *ModelPackage) SetModelPackageName(v string) *ModelPackage {
61381	s.ModelPackageName = &v
61382	return s
61383}
61384
61385// SetModelPackageStatus sets the ModelPackageStatus field's value.
61386func (s *ModelPackage) SetModelPackageStatus(v string) *ModelPackage {
61387	s.ModelPackageStatus = &v
61388	return s
61389}
61390
61391// SetModelPackageStatusDetails sets the ModelPackageStatusDetails field's value.
61392func (s *ModelPackage) SetModelPackageStatusDetails(v *ModelPackageStatusDetails) *ModelPackage {
61393	s.ModelPackageStatusDetails = v
61394	return s
61395}
61396
61397// SetModelPackageVersion sets the ModelPackageVersion field's value.
61398func (s *ModelPackage) SetModelPackageVersion(v int64) *ModelPackage {
61399	s.ModelPackageVersion = &v
61400	return s
61401}
61402
61403// SetSourceAlgorithmSpecification sets the SourceAlgorithmSpecification field's value.
61404func (s *ModelPackage) SetSourceAlgorithmSpecification(v *SourceAlgorithmSpecification) *ModelPackage {
61405	s.SourceAlgorithmSpecification = v
61406	return s
61407}
61408
61409// SetTags sets the Tags field's value.
61410func (s *ModelPackage) SetTags(v []*Tag) *ModelPackage {
61411	s.Tags = v
61412	return s
61413}
61414
61415// SetValidationSpecification sets the ValidationSpecification field's value.
61416func (s *ModelPackage) SetValidationSpecification(v *ModelPackageValidationSpecification) *ModelPackage {
61417	s.ValidationSpecification = v
61418	return s
61419}
61420
61421// Describes the Docker container for the model package.
61422type ModelPackageContainerDefinition struct {
61423	_ struct{} `type:"structure"`
61424
61425	// The DNS host name for the Docker container.
61426	ContainerHostname *string `type:"string"`
61427
61428	// The Amazon EC2 Container Registry (Amazon ECR) path where inference code
61429	// is stored.
61430	//
61431	// If you are using your own custom algorithm instead of an algorithm provided
61432	// by Amazon SageMaker, the inference code must meet Amazon SageMaker requirements.
61433	// Amazon SageMaker supports both registry/repository[:tag] and registry/repository[@digest]
61434	// image path formats. For more information, see Using Your Own Algorithms with
61435	// Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
61436	//
61437	// Image is a required field
61438	Image *string `type:"string" required:"true"`
61439
61440	// An MD5 hash of the training algorithm that identifies the Docker image used
61441	// for training.
61442	ImageDigest *string `type:"string"`
61443
61444	// The Amazon S3 path where the model artifacts, which result from model training,
61445	// are stored. This path must point to a single gzip compressed tar archive
61446	// (.tar.gz suffix).
61447	//
61448	// The model artifacts must be in an S3 bucket that is in the same region as
61449	// the model package.
61450	ModelDataUrl *string `type:"string"`
61451
61452	// The AWS Marketplace product ID of the model package.
61453	ProductId *string `type:"string"`
61454}
61455
61456// String returns the string representation
61457func (s ModelPackageContainerDefinition) String() string {
61458	return awsutil.Prettify(s)
61459}
61460
61461// GoString returns the string representation
61462func (s ModelPackageContainerDefinition) GoString() string {
61463	return s.String()
61464}
61465
61466// Validate inspects the fields of the type to determine if they are valid.
61467func (s *ModelPackageContainerDefinition) Validate() error {
61468	invalidParams := request.ErrInvalidParams{Context: "ModelPackageContainerDefinition"}
61469	if s.Image == nil {
61470		invalidParams.Add(request.NewErrParamRequired("Image"))
61471	}
61472
61473	if invalidParams.Len() > 0 {
61474		return invalidParams
61475	}
61476	return nil
61477}
61478
61479// SetContainerHostname sets the ContainerHostname field's value.
61480func (s *ModelPackageContainerDefinition) SetContainerHostname(v string) *ModelPackageContainerDefinition {
61481	s.ContainerHostname = &v
61482	return s
61483}
61484
61485// SetImage sets the Image field's value.
61486func (s *ModelPackageContainerDefinition) SetImage(v string) *ModelPackageContainerDefinition {
61487	s.Image = &v
61488	return s
61489}
61490
61491// SetImageDigest sets the ImageDigest field's value.
61492func (s *ModelPackageContainerDefinition) SetImageDigest(v string) *ModelPackageContainerDefinition {
61493	s.ImageDigest = &v
61494	return s
61495}
61496
61497// SetModelDataUrl sets the ModelDataUrl field's value.
61498func (s *ModelPackageContainerDefinition) SetModelDataUrl(v string) *ModelPackageContainerDefinition {
61499	s.ModelDataUrl = &v
61500	return s
61501}
61502
61503// SetProductId sets the ProductId field's value.
61504func (s *ModelPackageContainerDefinition) SetProductId(v string) *ModelPackageContainerDefinition {
61505	s.ProductId = &v
61506	return s
61507}
61508
61509// A group of versioned models in the model registry.
61510type ModelPackageGroup struct {
61511	_ struct{} `type:"structure"`
61512
61513	// Information about the user who created or modified an experiment, trial,
61514	// or trial component.
61515	CreatedBy *UserContext `type:"structure"`
61516
61517	// The time that the model group was created.
61518	CreationTime *time.Time `type:"timestamp"`
61519
61520	// The Amazon Resource Name (ARN) of the model group.
61521	ModelPackageGroupArn *string `min:"1" type:"string"`
61522
61523	// The description for the model group.
61524	ModelPackageGroupDescription *string `type:"string"`
61525
61526	// The name of the model group.
61527	ModelPackageGroupName *string `min:"1" type:"string"`
61528
61529	// The status of the model group. This can be one of the following values.
61530	//
61531	//    * PENDING - The model group is pending being created.
61532	//
61533	//    * IN_PROGRESS - The model group is in the process of being created.
61534	//
61535	//    * COMPLETED - The model group was successfully created.
61536	//
61537	//    * FAILED - The model group failed.
61538	//
61539	//    * DELETING - The model group is in the process of being deleted.
61540	//
61541	//    * DELETE_FAILED - SageMaker failed to delete the model group.
61542	ModelPackageGroupStatus *string `type:"string" enum:"ModelPackageGroupStatus"`
61543
61544	// A list of the tags associated with the model group. For more information,
61545	// see Tagging AWS resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
61546	// in the AWS General Reference Guide.
61547	Tags []*Tag `type:"list"`
61548}
61549
61550// String returns the string representation
61551func (s ModelPackageGroup) String() string {
61552	return awsutil.Prettify(s)
61553}
61554
61555// GoString returns the string representation
61556func (s ModelPackageGroup) GoString() string {
61557	return s.String()
61558}
61559
61560// SetCreatedBy sets the CreatedBy field's value.
61561func (s *ModelPackageGroup) SetCreatedBy(v *UserContext) *ModelPackageGroup {
61562	s.CreatedBy = v
61563	return s
61564}
61565
61566// SetCreationTime sets the CreationTime field's value.
61567func (s *ModelPackageGroup) SetCreationTime(v time.Time) *ModelPackageGroup {
61568	s.CreationTime = &v
61569	return s
61570}
61571
61572// SetModelPackageGroupArn sets the ModelPackageGroupArn field's value.
61573func (s *ModelPackageGroup) SetModelPackageGroupArn(v string) *ModelPackageGroup {
61574	s.ModelPackageGroupArn = &v
61575	return s
61576}
61577
61578// SetModelPackageGroupDescription sets the ModelPackageGroupDescription field's value.
61579func (s *ModelPackageGroup) SetModelPackageGroupDescription(v string) *ModelPackageGroup {
61580	s.ModelPackageGroupDescription = &v
61581	return s
61582}
61583
61584// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
61585func (s *ModelPackageGroup) SetModelPackageGroupName(v string) *ModelPackageGroup {
61586	s.ModelPackageGroupName = &v
61587	return s
61588}
61589
61590// SetModelPackageGroupStatus sets the ModelPackageGroupStatus field's value.
61591func (s *ModelPackageGroup) SetModelPackageGroupStatus(v string) *ModelPackageGroup {
61592	s.ModelPackageGroupStatus = &v
61593	return s
61594}
61595
61596// SetTags sets the Tags field's value.
61597func (s *ModelPackageGroup) SetTags(v []*Tag) *ModelPackageGroup {
61598	s.Tags = v
61599	return s
61600}
61601
61602// Summary information about a model group.
61603type ModelPackageGroupSummary struct {
61604	_ struct{} `type:"structure"`
61605
61606	// The time that the model group was created.
61607	//
61608	// CreationTime is a required field
61609	CreationTime *time.Time `type:"timestamp" required:"true"`
61610
61611	// The Amazon Resource Name (ARN) of the model group.
61612	//
61613	// ModelPackageGroupArn is a required field
61614	ModelPackageGroupArn *string `min:"1" type:"string" required:"true"`
61615
61616	// A description of the model group.
61617	ModelPackageGroupDescription *string `type:"string"`
61618
61619	// The name of the model group.
61620	//
61621	// ModelPackageGroupName is a required field
61622	ModelPackageGroupName *string `min:"1" type:"string" required:"true"`
61623
61624	// The status of the model group.
61625	//
61626	// ModelPackageGroupStatus is a required field
61627	ModelPackageGroupStatus *string `type:"string" required:"true" enum:"ModelPackageGroupStatus"`
61628}
61629
61630// String returns the string representation
61631func (s ModelPackageGroupSummary) String() string {
61632	return awsutil.Prettify(s)
61633}
61634
61635// GoString returns the string representation
61636func (s ModelPackageGroupSummary) GoString() string {
61637	return s.String()
61638}
61639
61640// SetCreationTime sets the CreationTime field's value.
61641func (s *ModelPackageGroupSummary) SetCreationTime(v time.Time) *ModelPackageGroupSummary {
61642	s.CreationTime = &v
61643	return s
61644}
61645
61646// SetModelPackageGroupArn sets the ModelPackageGroupArn field's value.
61647func (s *ModelPackageGroupSummary) SetModelPackageGroupArn(v string) *ModelPackageGroupSummary {
61648	s.ModelPackageGroupArn = &v
61649	return s
61650}
61651
61652// SetModelPackageGroupDescription sets the ModelPackageGroupDescription field's value.
61653func (s *ModelPackageGroupSummary) SetModelPackageGroupDescription(v string) *ModelPackageGroupSummary {
61654	s.ModelPackageGroupDescription = &v
61655	return s
61656}
61657
61658// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
61659func (s *ModelPackageGroupSummary) SetModelPackageGroupName(v string) *ModelPackageGroupSummary {
61660	s.ModelPackageGroupName = &v
61661	return s
61662}
61663
61664// SetModelPackageGroupStatus sets the ModelPackageGroupStatus field's value.
61665func (s *ModelPackageGroupSummary) SetModelPackageGroupStatus(v string) *ModelPackageGroupSummary {
61666	s.ModelPackageGroupStatus = &v
61667	return s
61668}
61669
61670// Specifies the validation and image scan statuses of the model package.
61671type ModelPackageStatusDetails struct {
61672	_ struct{} `type:"structure"`
61673
61674	// The status of the scan of the Docker image container for the model package.
61675	ImageScanStatuses []*ModelPackageStatusItem `type:"list"`
61676
61677	// The validation status of the model package.
61678	//
61679	// ValidationStatuses is a required field
61680	ValidationStatuses []*ModelPackageStatusItem `type:"list" required:"true"`
61681}
61682
61683// String returns the string representation
61684func (s ModelPackageStatusDetails) String() string {
61685	return awsutil.Prettify(s)
61686}
61687
61688// GoString returns the string representation
61689func (s ModelPackageStatusDetails) GoString() string {
61690	return s.String()
61691}
61692
61693// SetImageScanStatuses sets the ImageScanStatuses field's value.
61694func (s *ModelPackageStatusDetails) SetImageScanStatuses(v []*ModelPackageStatusItem) *ModelPackageStatusDetails {
61695	s.ImageScanStatuses = v
61696	return s
61697}
61698
61699// SetValidationStatuses sets the ValidationStatuses field's value.
61700func (s *ModelPackageStatusDetails) SetValidationStatuses(v []*ModelPackageStatusItem) *ModelPackageStatusDetails {
61701	s.ValidationStatuses = v
61702	return s
61703}
61704
61705// Represents the overall status of a model package.
61706type ModelPackageStatusItem struct {
61707	_ struct{} `type:"structure"`
61708
61709	// if the overall status is Failed, the reason for the failure.
61710	FailureReason *string `type:"string"`
61711
61712	// The name of the model package for which the overall status is being reported.
61713	//
61714	// Name is a required field
61715	Name *string `min:"1" type:"string" required:"true"`
61716
61717	// The current status.
61718	//
61719	// Status is a required field
61720	Status *string `type:"string" required:"true" enum:"DetailedModelPackageStatus"`
61721}
61722
61723// String returns the string representation
61724func (s ModelPackageStatusItem) String() string {
61725	return awsutil.Prettify(s)
61726}
61727
61728// GoString returns the string representation
61729func (s ModelPackageStatusItem) GoString() string {
61730	return s.String()
61731}
61732
61733// SetFailureReason sets the FailureReason field's value.
61734func (s *ModelPackageStatusItem) SetFailureReason(v string) *ModelPackageStatusItem {
61735	s.FailureReason = &v
61736	return s
61737}
61738
61739// SetName sets the Name field's value.
61740func (s *ModelPackageStatusItem) SetName(v string) *ModelPackageStatusItem {
61741	s.Name = &v
61742	return s
61743}
61744
61745// SetStatus sets the Status field's value.
61746func (s *ModelPackageStatusItem) SetStatus(v string) *ModelPackageStatusItem {
61747	s.Status = &v
61748	return s
61749}
61750
61751// Provides summary information about a model package.
61752type ModelPackageSummary struct {
61753	_ struct{} `type:"structure"`
61754
61755	// A timestamp that shows when the model package was created.
61756	//
61757	// CreationTime is a required field
61758	CreationTime *time.Time `type:"timestamp" required:"true"`
61759
61760	// The approval status of the model. This can be one of the following values.
61761	//
61762	//    * APPROVED - The model is approved
61763	//
61764	//    * REJECTED - The model is rejected.
61765	//
61766	//    * PENDING_MANUAL_APPROVAL - The model is waiting for manual approval.
61767	ModelApprovalStatus *string `type:"string" enum:"ModelApprovalStatus"`
61768
61769	// The Amazon Resource Name (ARN) of the model package.
61770	//
61771	// ModelPackageArn is a required field
61772	ModelPackageArn *string `min:"1" type:"string" required:"true"`
61773
61774	// A brief description of the model package.
61775	ModelPackageDescription *string `type:"string"`
61776
61777	// If the model package is a versioned model, the model group that the versioned
61778	// model belongs to.
61779	ModelPackageGroupName *string `min:"1" type:"string"`
61780
61781	// The name of the model package.
61782	//
61783	// ModelPackageName is a required field
61784	ModelPackageName *string `min:"1" type:"string" required:"true"`
61785
61786	// The overall status of the model package.
61787	//
61788	// ModelPackageStatus is a required field
61789	ModelPackageStatus *string `type:"string" required:"true" enum:"ModelPackageStatus"`
61790
61791	// If the model package is a versioned model, the version of the model.
61792	ModelPackageVersion *int64 `min:"1" type:"integer"`
61793}
61794
61795// String returns the string representation
61796func (s ModelPackageSummary) String() string {
61797	return awsutil.Prettify(s)
61798}
61799
61800// GoString returns the string representation
61801func (s ModelPackageSummary) GoString() string {
61802	return s.String()
61803}
61804
61805// SetCreationTime sets the CreationTime field's value.
61806func (s *ModelPackageSummary) SetCreationTime(v time.Time) *ModelPackageSummary {
61807	s.CreationTime = &v
61808	return s
61809}
61810
61811// SetModelApprovalStatus sets the ModelApprovalStatus field's value.
61812func (s *ModelPackageSummary) SetModelApprovalStatus(v string) *ModelPackageSummary {
61813	s.ModelApprovalStatus = &v
61814	return s
61815}
61816
61817// SetModelPackageArn sets the ModelPackageArn field's value.
61818func (s *ModelPackageSummary) SetModelPackageArn(v string) *ModelPackageSummary {
61819	s.ModelPackageArn = &v
61820	return s
61821}
61822
61823// SetModelPackageDescription sets the ModelPackageDescription field's value.
61824func (s *ModelPackageSummary) SetModelPackageDescription(v string) *ModelPackageSummary {
61825	s.ModelPackageDescription = &v
61826	return s
61827}
61828
61829// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
61830func (s *ModelPackageSummary) SetModelPackageGroupName(v string) *ModelPackageSummary {
61831	s.ModelPackageGroupName = &v
61832	return s
61833}
61834
61835// SetModelPackageName sets the ModelPackageName field's value.
61836func (s *ModelPackageSummary) SetModelPackageName(v string) *ModelPackageSummary {
61837	s.ModelPackageName = &v
61838	return s
61839}
61840
61841// SetModelPackageStatus sets the ModelPackageStatus field's value.
61842func (s *ModelPackageSummary) SetModelPackageStatus(v string) *ModelPackageSummary {
61843	s.ModelPackageStatus = &v
61844	return s
61845}
61846
61847// SetModelPackageVersion sets the ModelPackageVersion field's value.
61848func (s *ModelPackageSummary) SetModelPackageVersion(v int64) *ModelPackageSummary {
61849	s.ModelPackageVersion = &v
61850	return s
61851}
61852
61853// Contains data, such as the inputs and targeted instance types that are used
61854// in the process of validating the model package.
61855//
61856// The data provided in the validation profile is made available to your buyers
61857// on AWS Marketplace.
61858type ModelPackageValidationProfile struct {
61859	_ struct{} `type:"structure"`
61860
61861	// The name of the profile for the model package.
61862	//
61863	// ProfileName is a required field
61864	ProfileName *string `min:"1" type:"string" required:"true"`
61865
61866	// The TransformJobDefinition object that describes the transform job used for
61867	// the validation of the model package.
61868	//
61869	// TransformJobDefinition is a required field
61870	TransformJobDefinition *TransformJobDefinition `type:"structure" required:"true"`
61871}
61872
61873// String returns the string representation
61874func (s ModelPackageValidationProfile) String() string {
61875	return awsutil.Prettify(s)
61876}
61877
61878// GoString returns the string representation
61879func (s ModelPackageValidationProfile) GoString() string {
61880	return s.String()
61881}
61882
61883// Validate inspects the fields of the type to determine if they are valid.
61884func (s *ModelPackageValidationProfile) Validate() error {
61885	invalidParams := request.ErrInvalidParams{Context: "ModelPackageValidationProfile"}
61886	if s.ProfileName == nil {
61887		invalidParams.Add(request.NewErrParamRequired("ProfileName"))
61888	}
61889	if s.ProfileName != nil && len(*s.ProfileName) < 1 {
61890		invalidParams.Add(request.NewErrParamMinLen("ProfileName", 1))
61891	}
61892	if s.TransformJobDefinition == nil {
61893		invalidParams.Add(request.NewErrParamRequired("TransformJobDefinition"))
61894	}
61895	if s.TransformJobDefinition != nil {
61896		if err := s.TransformJobDefinition.Validate(); err != nil {
61897			invalidParams.AddNested("TransformJobDefinition", err.(request.ErrInvalidParams))
61898		}
61899	}
61900
61901	if invalidParams.Len() > 0 {
61902		return invalidParams
61903	}
61904	return nil
61905}
61906
61907// SetProfileName sets the ProfileName field's value.
61908func (s *ModelPackageValidationProfile) SetProfileName(v string) *ModelPackageValidationProfile {
61909	s.ProfileName = &v
61910	return s
61911}
61912
61913// SetTransformJobDefinition sets the TransformJobDefinition field's value.
61914func (s *ModelPackageValidationProfile) SetTransformJobDefinition(v *TransformJobDefinition) *ModelPackageValidationProfile {
61915	s.TransformJobDefinition = v
61916	return s
61917}
61918
61919// Specifies batch transform jobs that Amazon SageMaker runs to validate your
61920// model package.
61921type ModelPackageValidationSpecification struct {
61922	_ struct{} `type:"structure"`
61923
61924	// An array of ModelPackageValidationProfile objects, each of which specifies
61925	// a batch transform job that Amazon SageMaker runs to validate your model package.
61926	//
61927	// ValidationProfiles is a required field
61928	ValidationProfiles []*ModelPackageValidationProfile `min:"1" type:"list" required:"true"`
61929
61930	// The IAM roles to be used for the validation of the model package.
61931	//
61932	// ValidationRole is a required field
61933	ValidationRole *string `min:"20" type:"string" required:"true"`
61934}
61935
61936// String returns the string representation
61937func (s ModelPackageValidationSpecification) String() string {
61938	return awsutil.Prettify(s)
61939}
61940
61941// GoString returns the string representation
61942func (s ModelPackageValidationSpecification) GoString() string {
61943	return s.String()
61944}
61945
61946// Validate inspects the fields of the type to determine if they are valid.
61947func (s *ModelPackageValidationSpecification) Validate() error {
61948	invalidParams := request.ErrInvalidParams{Context: "ModelPackageValidationSpecification"}
61949	if s.ValidationProfiles == nil {
61950		invalidParams.Add(request.NewErrParamRequired("ValidationProfiles"))
61951	}
61952	if s.ValidationProfiles != nil && len(s.ValidationProfiles) < 1 {
61953		invalidParams.Add(request.NewErrParamMinLen("ValidationProfiles", 1))
61954	}
61955	if s.ValidationRole == nil {
61956		invalidParams.Add(request.NewErrParamRequired("ValidationRole"))
61957	}
61958	if s.ValidationRole != nil && len(*s.ValidationRole) < 20 {
61959		invalidParams.Add(request.NewErrParamMinLen("ValidationRole", 20))
61960	}
61961	if s.ValidationProfiles != nil {
61962		for i, v := range s.ValidationProfiles {
61963			if v == nil {
61964				continue
61965			}
61966			if err := v.Validate(); err != nil {
61967				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ValidationProfiles", i), err.(request.ErrInvalidParams))
61968			}
61969		}
61970	}
61971
61972	if invalidParams.Len() > 0 {
61973		return invalidParams
61974	}
61975	return nil
61976}
61977
61978// SetValidationProfiles sets the ValidationProfiles field's value.
61979func (s *ModelPackageValidationSpecification) SetValidationProfiles(v []*ModelPackageValidationProfile) *ModelPackageValidationSpecification {
61980	s.ValidationProfiles = v
61981	return s
61982}
61983
61984// SetValidationRole sets the ValidationRole field's value.
61985func (s *ModelPackageValidationSpecification) SetValidationRole(v string) *ModelPackageValidationSpecification {
61986	s.ValidationRole = &v
61987	return s
61988}
61989
61990// Model quality statistics and constraints.
61991type ModelQuality struct {
61992	_ struct{} `type:"structure"`
61993
61994	// Model quality constraints.
61995	Constraints *MetricsSource `type:"structure"`
61996
61997	// Model quality statistics.
61998	Statistics *MetricsSource `type:"structure"`
61999}
62000
62001// String returns the string representation
62002func (s ModelQuality) String() string {
62003	return awsutil.Prettify(s)
62004}
62005
62006// GoString returns the string representation
62007func (s ModelQuality) GoString() string {
62008	return s.String()
62009}
62010
62011// Validate inspects the fields of the type to determine if they are valid.
62012func (s *ModelQuality) Validate() error {
62013	invalidParams := request.ErrInvalidParams{Context: "ModelQuality"}
62014	if s.Constraints != nil {
62015		if err := s.Constraints.Validate(); err != nil {
62016			invalidParams.AddNested("Constraints", err.(request.ErrInvalidParams))
62017		}
62018	}
62019	if s.Statistics != nil {
62020		if err := s.Statistics.Validate(); err != nil {
62021			invalidParams.AddNested("Statistics", err.(request.ErrInvalidParams))
62022		}
62023	}
62024
62025	if invalidParams.Len() > 0 {
62026		return invalidParams
62027	}
62028	return nil
62029}
62030
62031// SetConstraints sets the Constraints field's value.
62032func (s *ModelQuality) SetConstraints(v *MetricsSource) *ModelQuality {
62033	s.Constraints = v
62034	return s
62035}
62036
62037// SetStatistics sets the Statistics field's value.
62038func (s *ModelQuality) SetStatistics(v *MetricsSource) *ModelQuality {
62039	s.Statistics = v
62040	return s
62041}
62042
62043// Container image configuration object for the monitoring job.
62044type ModelQualityAppSpecification struct {
62045	_ struct{} `type:"structure"`
62046
62047	// An array of arguments for the container used to run the monitoring job.
62048	ContainerArguments []*string `min:"1" type:"list"`
62049
62050	// Specifies the entrypoint for a container that the monitoring job runs.
62051	ContainerEntrypoint []*string `min:"1" type:"list"`
62052
62053	// Sets the environment variables in the container that the monitoring job runs.
62054	Environment map[string]*string `type:"map"`
62055
62056	// The address of the container image that the monitoring job runs.
62057	//
62058	// ImageUri is a required field
62059	ImageUri *string `type:"string" required:"true"`
62060
62061	// An Amazon S3 URI to a script that is called after analysis has been performed.
62062	// Applicable only for the built-in (first party) containers.
62063	PostAnalyticsProcessorSourceUri *string `type:"string"`
62064
62065	// The machine learning problem type of the model that the monitoring job monitors.
62066	ProblemType *string `type:"string" enum:"MonitoringProblemType"`
62067
62068	// An Amazon S3 URI to a script that is called per row prior to running analysis.
62069	// It can base64 decode the payload and convert it into a flatted json so that
62070	// the built-in container can use the converted data. Applicable only for the
62071	// built-in (first party) containers.
62072	RecordPreprocessorSourceUri *string `type:"string"`
62073}
62074
62075// String returns the string representation
62076func (s ModelQualityAppSpecification) String() string {
62077	return awsutil.Prettify(s)
62078}
62079
62080// GoString returns the string representation
62081func (s ModelQualityAppSpecification) GoString() string {
62082	return s.String()
62083}
62084
62085// Validate inspects the fields of the type to determine if they are valid.
62086func (s *ModelQualityAppSpecification) Validate() error {
62087	invalidParams := request.ErrInvalidParams{Context: "ModelQualityAppSpecification"}
62088	if s.ContainerArguments != nil && len(s.ContainerArguments) < 1 {
62089		invalidParams.Add(request.NewErrParamMinLen("ContainerArguments", 1))
62090	}
62091	if s.ContainerEntrypoint != nil && len(s.ContainerEntrypoint) < 1 {
62092		invalidParams.Add(request.NewErrParamMinLen("ContainerEntrypoint", 1))
62093	}
62094	if s.ImageUri == nil {
62095		invalidParams.Add(request.NewErrParamRequired("ImageUri"))
62096	}
62097
62098	if invalidParams.Len() > 0 {
62099		return invalidParams
62100	}
62101	return nil
62102}
62103
62104// SetContainerArguments sets the ContainerArguments field's value.
62105func (s *ModelQualityAppSpecification) SetContainerArguments(v []*string) *ModelQualityAppSpecification {
62106	s.ContainerArguments = v
62107	return s
62108}
62109
62110// SetContainerEntrypoint sets the ContainerEntrypoint field's value.
62111func (s *ModelQualityAppSpecification) SetContainerEntrypoint(v []*string) *ModelQualityAppSpecification {
62112	s.ContainerEntrypoint = v
62113	return s
62114}
62115
62116// SetEnvironment sets the Environment field's value.
62117func (s *ModelQualityAppSpecification) SetEnvironment(v map[string]*string) *ModelQualityAppSpecification {
62118	s.Environment = v
62119	return s
62120}
62121
62122// SetImageUri sets the ImageUri field's value.
62123func (s *ModelQualityAppSpecification) SetImageUri(v string) *ModelQualityAppSpecification {
62124	s.ImageUri = &v
62125	return s
62126}
62127
62128// SetPostAnalyticsProcessorSourceUri sets the PostAnalyticsProcessorSourceUri field's value.
62129func (s *ModelQualityAppSpecification) SetPostAnalyticsProcessorSourceUri(v string) *ModelQualityAppSpecification {
62130	s.PostAnalyticsProcessorSourceUri = &v
62131	return s
62132}
62133
62134// SetProblemType sets the ProblemType field's value.
62135func (s *ModelQualityAppSpecification) SetProblemType(v string) *ModelQualityAppSpecification {
62136	s.ProblemType = &v
62137	return s
62138}
62139
62140// SetRecordPreprocessorSourceUri sets the RecordPreprocessorSourceUri field's value.
62141func (s *ModelQualityAppSpecification) SetRecordPreprocessorSourceUri(v string) *ModelQualityAppSpecification {
62142	s.RecordPreprocessorSourceUri = &v
62143	return s
62144}
62145
62146// Configuration for monitoring constraints and monitoring statistics. These
62147// baseline resources are compared against the results of the current job from
62148// the series of jobs scheduled to collect data periodically.
62149type ModelQualityBaselineConfig struct {
62150	_ struct{} `type:"structure"`
62151
62152	// The name of the job that performs baselining for the monitoring job.
62153	BaseliningJobName *string `min:"1" type:"string"`
62154
62155	// The constraints resource for a monitoring job.
62156	ConstraintsResource *MonitoringConstraintsResource `type:"structure"`
62157}
62158
62159// String returns the string representation
62160func (s ModelQualityBaselineConfig) String() string {
62161	return awsutil.Prettify(s)
62162}
62163
62164// GoString returns the string representation
62165func (s ModelQualityBaselineConfig) GoString() string {
62166	return s.String()
62167}
62168
62169// Validate inspects the fields of the type to determine if they are valid.
62170func (s *ModelQualityBaselineConfig) Validate() error {
62171	invalidParams := request.ErrInvalidParams{Context: "ModelQualityBaselineConfig"}
62172	if s.BaseliningJobName != nil && len(*s.BaseliningJobName) < 1 {
62173		invalidParams.Add(request.NewErrParamMinLen("BaseliningJobName", 1))
62174	}
62175
62176	if invalidParams.Len() > 0 {
62177		return invalidParams
62178	}
62179	return nil
62180}
62181
62182// SetBaseliningJobName sets the BaseliningJobName field's value.
62183func (s *ModelQualityBaselineConfig) SetBaseliningJobName(v string) *ModelQualityBaselineConfig {
62184	s.BaseliningJobName = &v
62185	return s
62186}
62187
62188// SetConstraintsResource sets the ConstraintsResource field's value.
62189func (s *ModelQualityBaselineConfig) SetConstraintsResource(v *MonitoringConstraintsResource) *ModelQualityBaselineConfig {
62190	s.ConstraintsResource = v
62191	return s
62192}
62193
62194// The input for the model quality monitoring job. Currently endponts are supported
62195// for input for model quality monitoring jobs.
62196type ModelQualityJobInput struct {
62197	_ struct{} `type:"structure"`
62198
62199	// Input object for the endpoint
62200	//
62201	// EndpointInput is a required field
62202	EndpointInput *EndpointInput `type:"structure" required:"true"`
62203
62204	// The ground truth label provided for the model.
62205	//
62206	// GroundTruthS3Input is a required field
62207	GroundTruthS3Input *MonitoringGroundTruthS3Input `type:"structure" required:"true"`
62208}
62209
62210// String returns the string representation
62211func (s ModelQualityJobInput) String() string {
62212	return awsutil.Prettify(s)
62213}
62214
62215// GoString returns the string representation
62216func (s ModelQualityJobInput) GoString() string {
62217	return s.String()
62218}
62219
62220// Validate inspects the fields of the type to determine if they are valid.
62221func (s *ModelQualityJobInput) Validate() error {
62222	invalidParams := request.ErrInvalidParams{Context: "ModelQualityJobInput"}
62223	if s.EndpointInput == nil {
62224		invalidParams.Add(request.NewErrParamRequired("EndpointInput"))
62225	}
62226	if s.GroundTruthS3Input == nil {
62227		invalidParams.Add(request.NewErrParamRequired("GroundTruthS3Input"))
62228	}
62229	if s.EndpointInput != nil {
62230		if err := s.EndpointInput.Validate(); err != nil {
62231			invalidParams.AddNested("EndpointInput", err.(request.ErrInvalidParams))
62232		}
62233	}
62234
62235	if invalidParams.Len() > 0 {
62236		return invalidParams
62237	}
62238	return nil
62239}
62240
62241// SetEndpointInput sets the EndpointInput field's value.
62242func (s *ModelQualityJobInput) SetEndpointInput(v *EndpointInput) *ModelQualityJobInput {
62243	s.EndpointInput = v
62244	return s
62245}
62246
62247// SetGroundTruthS3Input sets the GroundTruthS3Input field's value.
62248func (s *ModelQualityJobInput) SetGroundTruthS3Input(v *MonitoringGroundTruthS3Input) *ModelQualityJobInput {
62249	s.GroundTruthS3Input = v
62250	return s
62251}
62252
62253// Metadata for Model steps.
62254type ModelStepMetadata struct {
62255	_ struct{} `type:"structure"`
62256
62257	// The Amazon Resource Name (ARN) of the created model.
62258	Arn *string `type:"string"`
62259}
62260
62261// String returns the string representation
62262func (s ModelStepMetadata) String() string {
62263	return awsutil.Prettify(s)
62264}
62265
62266// GoString returns the string representation
62267func (s ModelStepMetadata) GoString() string {
62268	return s.String()
62269}
62270
62271// SetArn sets the Arn field's value.
62272func (s *ModelStepMetadata) SetArn(v string) *ModelStepMetadata {
62273	s.Arn = &v
62274	return s
62275}
62276
62277// Provides summary information about a model.
62278type ModelSummary struct {
62279	_ struct{} `type:"structure"`
62280
62281	// A timestamp that indicates when the model was created.
62282	//
62283	// CreationTime is a required field
62284	CreationTime *time.Time `type:"timestamp" required:"true"`
62285
62286	// The Amazon Resource Name (ARN) of the model.
62287	//
62288	// ModelArn is a required field
62289	ModelArn *string `min:"20" type:"string" required:"true"`
62290
62291	// The name of the model that you want a summary for.
62292	//
62293	// ModelName is a required field
62294	ModelName *string `type:"string" required:"true"`
62295}
62296
62297// String returns the string representation
62298func (s ModelSummary) String() string {
62299	return awsutil.Prettify(s)
62300}
62301
62302// GoString returns the string representation
62303func (s ModelSummary) GoString() string {
62304	return s.String()
62305}
62306
62307// SetCreationTime sets the CreationTime field's value.
62308func (s *ModelSummary) SetCreationTime(v time.Time) *ModelSummary {
62309	s.CreationTime = &v
62310	return s
62311}
62312
62313// SetModelArn sets the ModelArn field's value.
62314func (s *ModelSummary) SetModelArn(v string) *ModelSummary {
62315	s.ModelArn = &v
62316	return s
62317}
62318
62319// SetModelName sets the ModelName field's value.
62320func (s *ModelSummary) SetModelName(v string) *ModelSummary {
62321	s.ModelName = &v
62322	return s
62323}
62324
62325// Container image configuration object for the monitoring job.
62326type MonitoringAppSpecification struct {
62327	_ struct{} `type:"structure"`
62328
62329	// An array of arguments for the container used to run the monitoring job.
62330	ContainerArguments []*string `min:"1" type:"list"`
62331
62332	// Specifies the entrypoint for a container used to run the monitoring job.
62333	ContainerEntrypoint []*string `min:"1" type:"list"`
62334
62335	// The container image to be run by the monitoring job.
62336	//
62337	// ImageUri is a required field
62338	ImageUri *string `type:"string" required:"true"`
62339
62340	// An Amazon S3 URI to a script that is called after analysis has been performed.
62341	// Applicable only for the built-in (first party) containers.
62342	PostAnalyticsProcessorSourceUri *string `type:"string"`
62343
62344	// An Amazon S3 URI to a script that is called per row prior to running analysis.
62345	// It can base64 decode the payload and convert it into a flatted json so that
62346	// the built-in container can use the converted data. Applicable only for the
62347	// built-in (first party) containers.
62348	RecordPreprocessorSourceUri *string `type:"string"`
62349}
62350
62351// String returns the string representation
62352func (s MonitoringAppSpecification) String() string {
62353	return awsutil.Prettify(s)
62354}
62355
62356// GoString returns the string representation
62357func (s MonitoringAppSpecification) GoString() string {
62358	return s.String()
62359}
62360
62361// Validate inspects the fields of the type to determine if they are valid.
62362func (s *MonitoringAppSpecification) Validate() error {
62363	invalidParams := request.ErrInvalidParams{Context: "MonitoringAppSpecification"}
62364	if s.ContainerArguments != nil && len(s.ContainerArguments) < 1 {
62365		invalidParams.Add(request.NewErrParamMinLen("ContainerArguments", 1))
62366	}
62367	if s.ContainerEntrypoint != nil && len(s.ContainerEntrypoint) < 1 {
62368		invalidParams.Add(request.NewErrParamMinLen("ContainerEntrypoint", 1))
62369	}
62370	if s.ImageUri == nil {
62371		invalidParams.Add(request.NewErrParamRequired("ImageUri"))
62372	}
62373
62374	if invalidParams.Len() > 0 {
62375		return invalidParams
62376	}
62377	return nil
62378}
62379
62380// SetContainerArguments sets the ContainerArguments field's value.
62381func (s *MonitoringAppSpecification) SetContainerArguments(v []*string) *MonitoringAppSpecification {
62382	s.ContainerArguments = v
62383	return s
62384}
62385
62386// SetContainerEntrypoint sets the ContainerEntrypoint field's value.
62387func (s *MonitoringAppSpecification) SetContainerEntrypoint(v []*string) *MonitoringAppSpecification {
62388	s.ContainerEntrypoint = v
62389	return s
62390}
62391
62392// SetImageUri sets the ImageUri field's value.
62393func (s *MonitoringAppSpecification) SetImageUri(v string) *MonitoringAppSpecification {
62394	s.ImageUri = &v
62395	return s
62396}
62397
62398// SetPostAnalyticsProcessorSourceUri sets the PostAnalyticsProcessorSourceUri field's value.
62399func (s *MonitoringAppSpecification) SetPostAnalyticsProcessorSourceUri(v string) *MonitoringAppSpecification {
62400	s.PostAnalyticsProcessorSourceUri = &v
62401	return s
62402}
62403
62404// SetRecordPreprocessorSourceUri sets the RecordPreprocessorSourceUri field's value.
62405func (s *MonitoringAppSpecification) SetRecordPreprocessorSourceUri(v string) *MonitoringAppSpecification {
62406	s.RecordPreprocessorSourceUri = &v
62407	return s
62408}
62409
62410// Configuration for monitoring constraints and monitoring statistics. These
62411// baseline resources are compared against the results of the current job from
62412// the series of jobs scheduled to collect data periodically.
62413type MonitoringBaselineConfig struct {
62414	_ struct{} `type:"structure"`
62415
62416	// The name of the job that performs baselining for the monitoring job.
62417	BaseliningJobName *string `min:"1" type:"string"`
62418
62419	// The baseline constraint file in Amazon S3 that the current monitoring job
62420	// should validated against.
62421	ConstraintsResource *MonitoringConstraintsResource `type:"structure"`
62422
62423	// The baseline statistics file in Amazon S3 that the current monitoring job
62424	// should be validated against.
62425	StatisticsResource *MonitoringStatisticsResource `type:"structure"`
62426}
62427
62428// String returns the string representation
62429func (s MonitoringBaselineConfig) String() string {
62430	return awsutil.Prettify(s)
62431}
62432
62433// GoString returns the string representation
62434func (s MonitoringBaselineConfig) GoString() string {
62435	return s.String()
62436}
62437
62438// Validate inspects the fields of the type to determine if they are valid.
62439func (s *MonitoringBaselineConfig) Validate() error {
62440	invalidParams := request.ErrInvalidParams{Context: "MonitoringBaselineConfig"}
62441	if s.BaseliningJobName != nil && len(*s.BaseliningJobName) < 1 {
62442		invalidParams.Add(request.NewErrParamMinLen("BaseliningJobName", 1))
62443	}
62444
62445	if invalidParams.Len() > 0 {
62446		return invalidParams
62447	}
62448	return nil
62449}
62450
62451// SetBaseliningJobName sets the BaseliningJobName field's value.
62452func (s *MonitoringBaselineConfig) SetBaseliningJobName(v string) *MonitoringBaselineConfig {
62453	s.BaseliningJobName = &v
62454	return s
62455}
62456
62457// SetConstraintsResource sets the ConstraintsResource field's value.
62458func (s *MonitoringBaselineConfig) SetConstraintsResource(v *MonitoringConstraintsResource) *MonitoringBaselineConfig {
62459	s.ConstraintsResource = v
62460	return s
62461}
62462
62463// SetStatisticsResource sets the StatisticsResource field's value.
62464func (s *MonitoringBaselineConfig) SetStatisticsResource(v *MonitoringStatisticsResource) *MonitoringBaselineConfig {
62465	s.StatisticsResource = v
62466	return s
62467}
62468
62469// Configuration for the cluster used to run model monitoring jobs.
62470type MonitoringClusterConfig struct {
62471	_ struct{} `type:"structure"`
62472
62473	// The number of ML compute instances to use in the model monitoring job. For
62474	// distributed processing jobs, specify a value greater than 1. The default
62475	// value is 1.
62476	//
62477	// InstanceCount is a required field
62478	InstanceCount *int64 `min:"1" type:"integer" required:"true"`
62479
62480	// The ML compute instance type for the processing job.
62481	//
62482	// InstanceType is a required field
62483	InstanceType *string `type:"string" required:"true" enum:"ProcessingInstanceType"`
62484
62485	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
62486	// encrypt data on the storage volume attached to the ML compute instance(s)
62487	// that run the model monitoring job.
62488	VolumeKmsKeyId *string `type:"string"`
62489
62490	// The size of the ML storage volume, in gigabytes, that you want to provision.
62491	// You must specify sufficient ML storage for your scenario.
62492	//
62493	// VolumeSizeInGB is a required field
62494	VolumeSizeInGB *int64 `min:"1" type:"integer" required:"true"`
62495}
62496
62497// String returns the string representation
62498func (s MonitoringClusterConfig) String() string {
62499	return awsutil.Prettify(s)
62500}
62501
62502// GoString returns the string representation
62503func (s MonitoringClusterConfig) GoString() string {
62504	return s.String()
62505}
62506
62507// Validate inspects the fields of the type to determine if they are valid.
62508func (s *MonitoringClusterConfig) Validate() error {
62509	invalidParams := request.ErrInvalidParams{Context: "MonitoringClusterConfig"}
62510	if s.InstanceCount == nil {
62511		invalidParams.Add(request.NewErrParamRequired("InstanceCount"))
62512	}
62513	if s.InstanceCount != nil && *s.InstanceCount < 1 {
62514		invalidParams.Add(request.NewErrParamMinValue("InstanceCount", 1))
62515	}
62516	if s.InstanceType == nil {
62517		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
62518	}
62519	if s.VolumeSizeInGB == nil {
62520		invalidParams.Add(request.NewErrParamRequired("VolumeSizeInGB"))
62521	}
62522	if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 1 {
62523		invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 1))
62524	}
62525
62526	if invalidParams.Len() > 0 {
62527		return invalidParams
62528	}
62529	return nil
62530}
62531
62532// SetInstanceCount sets the InstanceCount field's value.
62533func (s *MonitoringClusterConfig) SetInstanceCount(v int64) *MonitoringClusterConfig {
62534	s.InstanceCount = &v
62535	return s
62536}
62537
62538// SetInstanceType sets the InstanceType field's value.
62539func (s *MonitoringClusterConfig) SetInstanceType(v string) *MonitoringClusterConfig {
62540	s.InstanceType = &v
62541	return s
62542}
62543
62544// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
62545func (s *MonitoringClusterConfig) SetVolumeKmsKeyId(v string) *MonitoringClusterConfig {
62546	s.VolumeKmsKeyId = &v
62547	return s
62548}
62549
62550// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
62551func (s *MonitoringClusterConfig) SetVolumeSizeInGB(v int64) *MonitoringClusterConfig {
62552	s.VolumeSizeInGB = &v
62553	return s
62554}
62555
62556// The constraints resource for a monitoring job.
62557type MonitoringConstraintsResource struct {
62558	_ struct{} `type:"structure"`
62559
62560	// The Amazon S3 URI for the constraints resource.
62561	S3Uri *string `type:"string"`
62562}
62563
62564// String returns the string representation
62565func (s MonitoringConstraintsResource) String() string {
62566	return awsutil.Prettify(s)
62567}
62568
62569// GoString returns the string representation
62570func (s MonitoringConstraintsResource) GoString() string {
62571	return s.String()
62572}
62573
62574// SetS3Uri sets the S3Uri field's value.
62575func (s *MonitoringConstraintsResource) SetS3Uri(v string) *MonitoringConstraintsResource {
62576	s.S3Uri = &v
62577	return s
62578}
62579
62580// Summary of information about the last monitoring job to run.
62581type MonitoringExecutionSummary struct {
62582	_ struct{} `type:"structure"`
62583
62584	// The time at which the monitoring job was created.
62585	//
62586	// CreationTime is a required field
62587	CreationTime *time.Time `type:"timestamp" required:"true"`
62588
62589	// The name of the endpoint used to run the monitoring job.
62590	EndpointName *string `type:"string"`
62591
62592	// Contains the reason a monitoring job failed, if it failed.
62593	FailureReason *string `type:"string"`
62594
62595	// A timestamp that indicates the last time the monitoring job was modified.
62596	//
62597	// LastModifiedTime is a required field
62598	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
62599
62600	// The status of the monitoring job.
62601	//
62602	// MonitoringExecutionStatus is a required field
62603	MonitoringExecutionStatus *string `type:"string" required:"true" enum:"ExecutionStatus"`
62604
62605	// The name of the monitoring job.
62606	MonitoringJobDefinitionName *string `min:"1" type:"string"`
62607
62608	// The name of the monitoring schedule.
62609	//
62610	// MonitoringScheduleName is a required field
62611	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
62612
62613	// The type of the monitoring job.
62614	MonitoringType *string `type:"string" enum:"MonitoringType"`
62615
62616	// The Amazon Resource Name (ARN) of the monitoring job.
62617	ProcessingJobArn *string `type:"string"`
62618
62619	// The time the monitoring job was scheduled.
62620	//
62621	// ScheduledTime is a required field
62622	ScheduledTime *time.Time `type:"timestamp" required:"true"`
62623}
62624
62625// String returns the string representation
62626func (s MonitoringExecutionSummary) String() string {
62627	return awsutil.Prettify(s)
62628}
62629
62630// GoString returns the string representation
62631func (s MonitoringExecutionSummary) GoString() string {
62632	return s.String()
62633}
62634
62635// SetCreationTime sets the CreationTime field's value.
62636func (s *MonitoringExecutionSummary) SetCreationTime(v time.Time) *MonitoringExecutionSummary {
62637	s.CreationTime = &v
62638	return s
62639}
62640
62641// SetEndpointName sets the EndpointName field's value.
62642func (s *MonitoringExecutionSummary) SetEndpointName(v string) *MonitoringExecutionSummary {
62643	s.EndpointName = &v
62644	return s
62645}
62646
62647// SetFailureReason sets the FailureReason field's value.
62648func (s *MonitoringExecutionSummary) SetFailureReason(v string) *MonitoringExecutionSummary {
62649	s.FailureReason = &v
62650	return s
62651}
62652
62653// SetLastModifiedTime sets the LastModifiedTime field's value.
62654func (s *MonitoringExecutionSummary) SetLastModifiedTime(v time.Time) *MonitoringExecutionSummary {
62655	s.LastModifiedTime = &v
62656	return s
62657}
62658
62659// SetMonitoringExecutionStatus sets the MonitoringExecutionStatus field's value.
62660func (s *MonitoringExecutionSummary) SetMonitoringExecutionStatus(v string) *MonitoringExecutionSummary {
62661	s.MonitoringExecutionStatus = &v
62662	return s
62663}
62664
62665// SetMonitoringJobDefinitionName sets the MonitoringJobDefinitionName field's value.
62666func (s *MonitoringExecutionSummary) SetMonitoringJobDefinitionName(v string) *MonitoringExecutionSummary {
62667	s.MonitoringJobDefinitionName = &v
62668	return s
62669}
62670
62671// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
62672func (s *MonitoringExecutionSummary) SetMonitoringScheduleName(v string) *MonitoringExecutionSummary {
62673	s.MonitoringScheduleName = &v
62674	return s
62675}
62676
62677// SetMonitoringType sets the MonitoringType field's value.
62678func (s *MonitoringExecutionSummary) SetMonitoringType(v string) *MonitoringExecutionSummary {
62679	s.MonitoringType = &v
62680	return s
62681}
62682
62683// SetProcessingJobArn sets the ProcessingJobArn field's value.
62684func (s *MonitoringExecutionSummary) SetProcessingJobArn(v string) *MonitoringExecutionSummary {
62685	s.ProcessingJobArn = &v
62686	return s
62687}
62688
62689// SetScheduledTime sets the ScheduledTime field's value.
62690func (s *MonitoringExecutionSummary) SetScheduledTime(v time.Time) *MonitoringExecutionSummary {
62691	s.ScheduledTime = &v
62692	return s
62693}
62694
62695// The ground truth labels for the dataset used for the monitoring job.
62696type MonitoringGroundTruthS3Input struct {
62697	_ struct{} `type:"structure"`
62698
62699	// The address of the Amazon S3 location of the ground truth labels.
62700	S3Uri *string `type:"string"`
62701}
62702
62703// String returns the string representation
62704func (s MonitoringGroundTruthS3Input) String() string {
62705	return awsutil.Prettify(s)
62706}
62707
62708// GoString returns the string representation
62709func (s MonitoringGroundTruthS3Input) GoString() string {
62710	return s.String()
62711}
62712
62713// SetS3Uri sets the S3Uri field's value.
62714func (s *MonitoringGroundTruthS3Input) SetS3Uri(v string) *MonitoringGroundTruthS3Input {
62715	s.S3Uri = &v
62716	return s
62717}
62718
62719// The inputs for a monitoring job.
62720type MonitoringInput struct {
62721	_ struct{} `type:"structure"`
62722
62723	// The endpoint for a monitoring job.
62724	//
62725	// EndpointInput is a required field
62726	EndpointInput *EndpointInput `type:"structure" required:"true"`
62727}
62728
62729// String returns the string representation
62730func (s MonitoringInput) String() string {
62731	return awsutil.Prettify(s)
62732}
62733
62734// GoString returns the string representation
62735func (s MonitoringInput) GoString() string {
62736	return s.String()
62737}
62738
62739// Validate inspects the fields of the type to determine if they are valid.
62740func (s *MonitoringInput) Validate() error {
62741	invalidParams := request.ErrInvalidParams{Context: "MonitoringInput"}
62742	if s.EndpointInput == nil {
62743		invalidParams.Add(request.NewErrParamRequired("EndpointInput"))
62744	}
62745	if s.EndpointInput != nil {
62746		if err := s.EndpointInput.Validate(); err != nil {
62747			invalidParams.AddNested("EndpointInput", err.(request.ErrInvalidParams))
62748		}
62749	}
62750
62751	if invalidParams.Len() > 0 {
62752		return invalidParams
62753	}
62754	return nil
62755}
62756
62757// SetEndpointInput sets the EndpointInput field's value.
62758func (s *MonitoringInput) SetEndpointInput(v *EndpointInput) *MonitoringInput {
62759	s.EndpointInput = v
62760	return s
62761}
62762
62763// Defines the monitoring job.
62764type MonitoringJobDefinition struct {
62765	_ struct{} `type:"structure"`
62766
62767	// Baseline configuration used to validate that the data conforms to the specified
62768	// constraints and statistics
62769	BaselineConfig *MonitoringBaselineConfig `type:"structure"`
62770
62771	// Sets the environment variables in the Docker container.
62772	Environment map[string]*string `type:"map"`
62773
62774	// Configures the monitoring job to run a specified Docker container image.
62775	//
62776	// MonitoringAppSpecification is a required field
62777	MonitoringAppSpecification *MonitoringAppSpecification `type:"structure" required:"true"`
62778
62779	// The array of inputs for the monitoring job. Currently we support monitoring
62780	// an Amazon SageMaker Endpoint.
62781	//
62782	// MonitoringInputs is a required field
62783	MonitoringInputs []*MonitoringInput `min:"1" type:"list" required:"true"`
62784
62785	// The array of outputs from the monitoring job to be uploaded to Amazon Simple
62786	// Storage Service (Amazon S3).
62787	//
62788	// MonitoringOutputConfig is a required field
62789	MonitoringOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"`
62790
62791	// Identifies the resources, ML compute instances, and ML storage volumes to
62792	// deploy for a monitoring job. In distributed processing, you specify more
62793	// than one instance.
62794	//
62795	// MonitoringResources is a required field
62796	MonitoringResources *MonitoringResources `type:"structure" required:"true"`
62797
62798	// Specifies networking options for an monitoring job.
62799	NetworkConfig *NetworkConfig `type:"structure"`
62800
62801	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
62802	// to perform tasks on your behalf.
62803	//
62804	// RoleArn is a required field
62805	RoleArn *string `min:"20" type:"string" required:"true"`
62806
62807	// Specifies a time limit for how long the monitoring job is allowed to run.
62808	StoppingCondition *MonitoringStoppingCondition `type:"structure"`
62809}
62810
62811// String returns the string representation
62812func (s MonitoringJobDefinition) String() string {
62813	return awsutil.Prettify(s)
62814}
62815
62816// GoString returns the string representation
62817func (s MonitoringJobDefinition) GoString() string {
62818	return s.String()
62819}
62820
62821// Validate inspects the fields of the type to determine if they are valid.
62822func (s *MonitoringJobDefinition) Validate() error {
62823	invalidParams := request.ErrInvalidParams{Context: "MonitoringJobDefinition"}
62824	if s.MonitoringAppSpecification == nil {
62825		invalidParams.Add(request.NewErrParamRequired("MonitoringAppSpecification"))
62826	}
62827	if s.MonitoringInputs == nil {
62828		invalidParams.Add(request.NewErrParamRequired("MonitoringInputs"))
62829	}
62830	if s.MonitoringInputs != nil && len(s.MonitoringInputs) < 1 {
62831		invalidParams.Add(request.NewErrParamMinLen("MonitoringInputs", 1))
62832	}
62833	if s.MonitoringOutputConfig == nil {
62834		invalidParams.Add(request.NewErrParamRequired("MonitoringOutputConfig"))
62835	}
62836	if s.MonitoringResources == nil {
62837		invalidParams.Add(request.NewErrParamRequired("MonitoringResources"))
62838	}
62839	if s.RoleArn == nil {
62840		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
62841	}
62842	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
62843		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
62844	}
62845	if s.BaselineConfig != nil {
62846		if err := s.BaselineConfig.Validate(); err != nil {
62847			invalidParams.AddNested("BaselineConfig", err.(request.ErrInvalidParams))
62848		}
62849	}
62850	if s.MonitoringAppSpecification != nil {
62851		if err := s.MonitoringAppSpecification.Validate(); err != nil {
62852			invalidParams.AddNested("MonitoringAppSpecification", err.(request.ErrInvalidParams))
62853		}
62854	}
62855	if s.MonitoringInputs != nil {
62856		for i, v := range s.MonitoringInputs {
62857			if v == nil {
62858				continue
62859			}
62860			if err := v.Validate(); err != nil {
62861				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MonitoringInputs", i), err.(request.ErrInvalidParams))
62862			}
62863		}
62864	}
62865	if s.MonitoringOutputConfig != nil {
62866		if err := s.MonitoringOutputConfig.Validate(); err != nil {
62867			invalidParams.AddNested("MonitoringOutputConfig", err.(request.ErrInvalidParams))
62868		}
62869	}
62870	if s.MonitoringResources != nil {
62871		if err := s.MonitoringResources.Validate(); err != nil {
62872			invalidParams.AddNested("MonitoringResources", err.(request.ErrInvalidParams))
62873		}
62874	}
62875	if s.NetworkConfig != nil {
62876		if err := s.NetworkConfig.Validate(); err != nil {
62877			invalidParams.AddNested("NetworkConfig", err.(request.ErrInvalidParams))
62878		}
62879	}
62880	if s.StoppingCondition != nil {
62881		if err := s.StoppingCondition.Validate(); err != nil {
62882			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
62883		}
62884	}
62885
62886	if invalidParams.Len() > 0 {
62887		return invalidParams
62888	}
62889	return nil
62890}
62891
62892// SetBaselineConfig sets the BaselineConfig field's value.
62893func (s *MonitoringJobDefinition) SetBaselineConfig(v *MonitoringBaselineConfig) *MonitoringJobDefinition {
62894	s.BaselineConfig = v
62895	return s
62896}
62897
62898// SetEnvironment sets the Environment field's value.
62899func (s *MonitoringJobDefinition) SetEnvironment(v map[string]*string) *MonitoringJobDefinition {
62900	s.Environment = v
62901	return s
62902}
62903
62904// SetMonitoringAppSpecification sets the MonitoringAppSpecification field's value.
62905func (s *MonitoringJobDefinition) SetMonitoringAppSpecification(v *MonitoringAppSpecification) *MonitoringJobDefinition {
62906	s.MonitoringAppSpecification = v
62907	return s
62908}
62909
62910// SetMonitoringInputs sets the MonitoringInputs field's value.
62911func (s *MonitoringJobDefinition) SetMonitoringInputs(v []*MonitoringInput) *MonitoringJobDefinition {
62912	s.MonitoringInputs = v
62913	return s
62914}
62915
62916// SetMonitoringOutputConfig sets the MonitoringOutputConfig field's value.
62917func (s *MonitoringJobDefinition) SetMonitoringOutputConfig(v *MonitoringOutputConfig) *MonitoringJobDefinition {
62918	s.MonitoringOutputConfig = v
62919	return s
62920}
62921
62922// SetMonitoringResources sets the MonitoringResources field's value.
62923func (s *MonitoringJobDefinition) SetMonitoringResources(v *MonitoringResources) *MonitoringJobDefinition {
62924	s.MonitoringResources = v
62925	return s
62926}
62927
62928// SetNetworkConfig sets the NetworkConfig field's value.
62929func (s *MonitoringJobDefinition) SetNetworkConfig(v *NetworkConfig) *MonitoringJobDefinition {
62930	s.NetworkConfig = v
62931	return s
62932}
62933
62934// SetRoleArn sets the RoleArn field's value.
62935func (s *MonitoringJobDefinition) SetRoleArn(v string) *MonitoringJobDefinition {
62936	s.RoleArn = &v
62937	return s
62938}
62939
62940// SetStoppingCondition sets the StoppingCondition field's value.
62941func (s *MonitoringJobDefinition) SetStoppingCondition(v *MonitoringStoppingCondition) *MonitoringJobDefinition {
62942	s.StoppingCondition = v
62943	return s
62944}
62945
62946// Summary information about a monitoring job.
62947type MonitoringJobDefinitionSummary struct {
62948	_ struct{} `type:"structure"`
62949
62950	// The time that the monitoring job was created.
62951	//
62952	// CreationTime is a required field
62953	CreationTime *time.Time `type:"timestamp" required:"true"`
62954
62955	// The name of the endpoint that the job monitors.
62956	//
62957	// EndpointName is a required field
62958	EndpointName *string `type:"string" required:"true"`
62959
62960	// The Amazon Resource Name (ARN) of the monitoring job.
62961	//
62962	// MonitoringJobDefinitionArn is a required field
62963	MonitoringJobDefinitionArn *string `type:"string" required:"true"`
62964
62965	// The name of the monitoring job.
62966	//
62967	// MonitoringJobDefinitionName is a required field
62968	MonitoringJobDefinitionName *string `min:"1" type:"string" required:"true"`
62969}
62970
62971// String returns the string representation
62972func (s MonitoringJobDefinitionSummary) String() string {
62973	return awsutil.Prettify(s)
62974}
62975
62976// GoString returns the string representation
62977func (s MonitoringJobDefinitionSummary) GoString() string {
62978	return s.String()
62979}
62980
62981// SetCreationTime sets the CreationTime field's value.
62982func (s *MonitoringJobDefinitionSummary) SetCreationTime(v time.Time) *MonitoringJobDefinitionSummary {
62983	s.CreationTime = &v
62984	return s
62985}
62986
62987// SetEndpointName sets the EndpointName field's value.
62988func (s *MonitoringJobDefinitionSummary) SetEndpointName(v string) *MonitoringJobDefinitionSummary {
62989	s.EndpointName = &v
62990	return s
62991}
62992
62993// SetMonitoringJobDefinitionArn sets the MonitoringJobDefinitionArn field's value.
62994func (s *MonitoringJobDefinitionSummary) SetMonitoringJobDefinitionArn(v string) *MonitoringJobDefinitionSummary {
62995	s.MonitoringJobDefinitionArn = &v
62996	return s
62997}
62998
62999// SetMonitoringJobDefinitionName sets the MonitoringJobDefinitionName field's value.
63000func (s *MonitoringJobDefinitionSummary) SetMonitoringJobDefinitionName(v string) *MonitoringJobDefinitionSummary {
63001	s.MonitoringJobDefinitionName = &v
63002	return s
63003}
63004
63005// The networking configuration for the monitoring job.
63006type MonitoringNetworkConfig struct {
63007	_ struct{} `type:"structure"`
63008
63009	// Whether to encrypt all communications between the instances used for the
63010	// monitoring jobs. Choose True to encrypt communications. Encryption provides
63011	// greater security for distributed jobs, but the processing might take longer.
63012	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
63013
63014	// Whether to allow inbound and outbound network calls to and from the containers
63015	// used for the monitoring job.
63016	EnableNetworkIsolation *bool `type:"boolean"`
63017
63018	// Specifies a VPC that your training jobs and hosted models have access to.
63019	// Control access to and from your training and model containers by configuring
63020	// the VPC. For more information, see Protect Endpoints by Using an Amazon Virtual
63021	// Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html)
63022	// and Protect Training Jobs by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
63023	VpcConfig *VpcConfig `type:"structure"`
63024}
63025
63026// String returns the string representation
63027func (s MonitoringNetworkConfig) String() string {
63028	return awsutil.Prettify(s)
63029}
63030
63031// GoString returns the string representation
63032func (s MonitoringNetworkConfig) GoString() string {
63033	return s.String()
63034}
63035
63036// Validate inspects the fields of the type to determine if they are valid.
63037func (s *MonitoringNetworkConfig) Validate() error {
63038	invalidParams := request.ErrInvalidParams{Context: "MonitoringNetworkConfig"}
63039	if s.VpcConfig != nil {
63040		if err := s.VpcConfig.Validate(); err != nil {
63041			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
63042		}
63043	}
63044
63045	if invalidParams.Len() > 0 {
63046		return invalidParams
63047	}
63048	return nil
63049}
63050
63051// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
63052func (s *MonitoringNetworkConfig) SetEnableInterContainerTrafficEncryption(v bool) *MonitoringNetworkConfig {
63053	s.EnableInterContainerTrafficEncryption = &v
63054	return s
63055}
63056
63057// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
63058func (s *MonitoringNetworkConfig) SetEnableNetworkIsolation(v bool) *MonitoringNetworkConfig {
63059	s.EnableNetworkIsolation = &v
63060	return s
63061}
63062
63063// SetVpcConfig sets the VpcConfig field's value.
63064func (s *MonitoringNetworkConfig) SetVpcConfig(v *VpcConfig) *MonitoringNetworkConfig {
63065	s.VpcConfig = v
63066	return s
63067}
63068
63069// The output object for a monitoring job.
63070type MonitoringOutput struct {
63071	_ struct{} `type:"structure"`
63072
63073	// The Amazon S3 storage location where the results of a monitoring job are
63074	// saved.
63075	//
63076	// S3Output is a required field
63077	S3Output *MonitoringS3Output `type:"structure" required:"true"`
63078}
63079
63080// String returns the string representation
63081func (s MonitoringOutput) String() string {
63082	return awsutil.Prettify(s)
63083}
63084
63085// GoString returns the string representation
63086func (s MonitoringOutput) GoString() string {
63087	return s.String()
63088}
63089
63090// Validate inspects the fields of the type to determine if they are valid.
63091func (s *MonitoringOutput) Validate() error {
63092	invalidParams := request.ErrInvalidParams{Context: "MonitoringOutput"}
63093	if s.S3Output == nil {
63094		invalidParams.Add(request.NewErrParamRequired("S3Output"))
63095	}
63096	if s.S3Output != nil {
63097		if err := s.S3Output.Validate(); err != nil {
63098			invalidParams.AddNested("S3Output", err.(request.ErrInvalidParams))
63099		}
63100	}
63101
63102	if invalidParams.Len() > 0 {
63103		return invalidParams
63104	}
63105	return nil
63106}
63107
63108// SetS3Output sets the S3Output field's value.
63109func (s *MonitoringOutput) SetS3Output(v *MonitoringS3Output) *MonitoringOutput {
63110	s.S3Output = v
63111	return s
63112}
63113
63114// The output configuration for monitoring jobs.
63115type MonitoringOutputConfig struct {
63116	_ struct{} `type:"structure"`
63117
63118	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
63119	// encrypt the model artifacts at rest using Amazon S3 server-side encryption.
63120	KmsKeyId *string `type:"string"`
63121
63122	// Monitoring outputs for monitoring jobs. This is where the output of the periodic
63123	// monitoring jobs is uploaded.
63124	//
63125	// MonitoringOutputs is a required field
63126	MonitoringOutputs []*MonitoringOutput `min:"1" type:"list" required:"true"`
63127}
63128
63129// String returns the string representation
63130func (s MonitoringOutputConfig) String() string {
63131	return awsutil.Prettify(s)
63132}
63133
63134// GoString returns the string representation
63135func (s MonitoringOutputConfig) GoString() string {
63136	return s.String()
63137}
63138
63139// Validate inspects the fields of the type to determine if they are valid.
63140func (s *MonitoringOutputConfig) Validate() error {
63141	invalidParams := request.ErrInvalidParams{Context: "MonitoringOutputConfig"}
63142	if s.MonitoringOutputs == nil {
63143		invalidParams.Add(request.NewErrParamRequired("MonitoringOutputs"))
63144	}
63145	if s.MonitoringOutputs != nil && len(s.MonitoringOutputs) < 1 {
63146		invalidParams.Add(request.NewErrParamMinLen("MonitoringOutputs", 1))
63147	}
63148	if s.MonitoringOutputs != nil {
63149		for i, v := range s.MonitoringOutputs {
63150			if v == nil {
63151				continue
63152			}
63153			if err := v.Validate(); err != nil {
63154				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MonitoringOutputs", i), err.(request.ErrInvalidParams))
63155			}
63156		}
63157	}
63158
63159	if invalidParams.Len() > 0 {
63160		return invalidParams
63161	}
63162	return nil
63163}
63164
63165// SetKmsKeyId sets the KmsKeyId field's value.
63166func (s *MonitoringOutputConfig) SetKmsKeyId(v string) *MonitoringOutputConfig {
63167	s.KmsKeyId = &v
63168	return s
63169}
63170
63171// SetMonitoringOutputs sets the MonitoringOutputs field's value.
63172func (s *MonitoringOutputConfig) SetMonitoringOutputs(v []*MonitoringOutput) *MonitoringOutputConfig {
63173	s.MonitoringOutputs = v
63174	return s
63175}
63176
63177// Identifies the resources to deploy for a monitoring job.
63178type MonitoringResources struct {
63179	_ struct{} `type:"structure"`
63180
63181	// The configuration for the cluster resources used to run the processing job.
63182	//
63183	// ClusterConfig is a required field
63184	ClusterConfig *MonitoringClusterConfig `type:"structure" required:"true"`
63185}
63186
63187// String returns the string representation
63188func (s MonitoringResources) String() string {
63189	return awsutil.Prettify(s)
63190}
63191
63192// GoString returns the string representation
63193func (s MonitoringResources) GoString() string {
63194	return s.String()
63195}
63196
63197// Validate inspects the fields of the type to determine if they are valid.
63198func (s *MonitoringResources) Validate() error {
63199	invalidParams := request.ErrInvalidParams{Context: "MonitoringResources"}
63200	if s.ClusterConfig == nil {
63201		invalidParams.Add(request.NewErrParamRequired("ClusterConfig"))
63202	}
63203	if s.ClusterConfig != nil {
63204		if err := s.ClusterConfig.Validate(); err != nil {
63205			invalidParams.AddNested("ClusterConfig", err.(request.ErrInvalidParams))
63206		}
63207	}
63208
63209	if invalidParams.Len() > 0 {
63210		return invalidParams
63211	}
63212	return nil
63213}
63214
63215// SetClusterConfig sets the ClusterConfig field's value.
63216func (s *MonitoringResources) SetClusterConfig(v *MonitoringClusterConfig) *MonitoringResources {
63217	s.ClusterConfig = v
63218	return s
63219}
63220
63221// Information about where and how you want to store the results of a monitoring
63222// job.
63223type MonitoringS3Output struct {
63224	_ struct{} `type:"structure"`
63225
63226	// The local path to the Amazon S3 storage location where Amazon SageMaker saves
63227	// the results of a monitoring job. LocalPath is an absolute path for the output
63228	// data.
63229	//
63230	// LocalPath is a required field
63231	LocalPath *string `type:"string" required:"true"`
63232
63233	// Whether to upload the results of the monitoring job continuously or after
63234	// the job completes.
63235	S3UploadMode *string `type:"string" enum:"ProcessingS3UploadMode"`
63236
63237	// A URI that identifies the Amazon S3 storage location where Amazon SageMaker
63238	// saves the results of a monitoring job.
63239	//
63240	// S3Uri is a required field
63241	S3Uri *string `type:"string" required:"true"`
63242}
63243
63244// String returns the string representation
63245func (s MonitoringS3Output) String() string {
63246	return awsutil.Prettify(s)
63247}
63248
63249// GoString returns the string representation
63250func (s MonitoringS3Output) GoString() string {
63251	return s.String()
63252}
63253
63254// Validate inspects the fields of the type to determine if they are valid.
63255func (s *MonitoringS3Output) Validate() error {
63256	invalidParams := request.ErrInvalidParams{Context: "MonitoringS3Output"}
63257	if s.LocalPath == nil {
63258		invalidParams.Add(request.NewErrParamRequired("LocalPath"))
63259	}
63260	if s.S3Uri == nil {
63261		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
63262	}
63263
63264	if invalidParams.Len() > 0 {
63265		return invalidParams
63266	}
63267	return nil
63268}
63269
63270// SetLocalPath sets the LocalPath field's value.
63271func (s *MonitoringS3Output) SetLocalPath(v string) *MonitoringS3Output {
63272	s.LocalPath = &v
63273	return s
63274}
63275
63276// SetS3UploadMode sets the S3UploadMode field's value.
63277func (s *MonitoringS3Output) SetS3UploadMode(v string) *MonitoringS3Output {
63278	s.S3UploadMode = &v
63279	return s
63280}
63281
63282// SetS3Uri sets the S3Uri field's value.
63283func (s *MonitoringS3Output) SetS3Uri(v string) *MonitoringS3Output {
63284	s.S3Uri = &v
63285	return s
63286}
63287
63288// A schedule for a model monitoring job. For information about model monitor,
63289// see Amazon SageMaker Model Monitor (https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html).
63290type MonitoringSchedule struct {
63291	_ struct{} `type:"structure"`
63292
63293	// The time that the monitoring schedule was created.
63294	CreationTime *time.Time `type:"timestamp"`
63295
63296	// The endpoint that hosts the model being monitored.
63297	EndpointName *string `type:"string"`
63298
63299	// If the monitoring schedule failed, the reason it failed.
63300	FailureReason *string `type:"string"`
63301
63302	// The last time the monitoring schedule was changed.
63303	LastModifiedTime *time.Time `type:"timestamp"`
63304
63305	// Summary of information about the last monitoring job to run.
63306	LastMonitoringExecutionSummary *MonitoringExecutionSummary `type:"structure"`
63307
63308	// The Amazon Resource Name (ARN) of the monitoring schedule.
63309	MonitoringScheduleArn *string `type:"string"`
63310
63311	// Configures the monitoring schedule and defines the monitoring job.
63312	MonitoringScheduleConfig *MonitoringScheduleConfig `type:"structure"`
63313
63314	// The name of the monitoring schedule.
63315	MonitoringScheduleName *string `min:"1" type:"string"`
63316
63317	// The status of the monitoring schedule. This can be one of the following values.
63318	//
63319	//    * PENDING - The schedule is pending being created.
63320	//
63321	//    * FAILED - The schedule failed.
63322	//
63323	//    * SCHEDULED - The schedule was successfully created.
63324	//
63325	//    * STOPPED - The schedule was stopped.
63326	MonitoringScheduleStatus *string `type:"string" enum:"ScheduleStatus"`
63327
63328	// The type of the monitoring job definition to schedule.
63329	MonitoringType *string `type:"string" enum:"MonitoringType"`
63330
63331	// A list of the tags associated with the monitoring schedlue. For more information,
63332	// see Tagging AWS resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
63333	// in the AWS General Reference Guide.
63334	Tags []*Tag `type:"list"`
63335}
63336
63337// String returns the string representation
63338func (s MonitoringSchedule) String() string {
63339	return awsutil.Prettify(s)
63340}
63341
63342// GoString returns the string representation
63343func (s MonitoringSchedule) GoString() string {
63344	return s.String()
63345}
63346
63347// SetCreationTime sets the CreationTime field's value.
63348func (s *MonitoringSchedule) SetCreationTime(v time.Time) *MonitoringSchedule {
63349	s.CreationTime = &v
63350	return s
63351}
63352
63353// SetEndpointName sets the EndpointName field's value.
63354func (s *MonitoringSchedule) SetEndpointName(v string) *MonitoringSchedule {
63355	s.EndpointName = &v
63356	return s
63357}
63358
63359// SetFailureReason sets the FailureReason field's value.
63360func (s *MonitoringSchedule) SetFailureReason(v string) *MonitoringSchedule {
63361	s.FailureReason = &v
63362	return s
63363}
63364
63365// SetLastModifiedTime sets the LastModifiedTime field's value.
63366func (s *MonitoringSchedule) SetLastModifiedTime(v time.Time) *MonitoringSchedule {
63367	s.LastModifiedTime = &v
63368	return s
63369}
63370
63371// SetLastMonitoringExecutionSummary sets the LastMonitoringExecutionSummary field's value.
63372func (s *MonitoringSchedule) SetLastMonitoringExecutionSummary(v *MonitoringExecutionSummary) *MonitoringSchedule {
63373	s.LastMonitoringExecutionSummary = v
63374	return s
63375}
63376
63377// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
63378func (s *MonitoringSchedule) SetMonitoringScheduleArn(v string) *MonitoringSchedule {
63379	s.MonitoringScheduleArn = &v
63380	return s
63381}
63382
63383// SetMonitoringScheduleConfig sets the MonitoringScheduleConfig field's value.
63384func (s *MonitoringSchedule) SetMonitoringScheduleConfig(v *MonitoringScheduleConfig) *MonitoringSchedule {
63385	s.MonitoringScheduleConfig = v
63386	return s
63387}
63388
63389// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
63390func (s *MonitoringSchedule) SetMonitoringScheduleName(v string) *MonitoringSchedule {
63391	s.MonitoringScheduleName = &v
63392	return s
63393}
63394
63395// SetMonitoringScheduleStatus sets the MonitoringScheduleStatus field's value.
63396func (s *MonitoringSchedule) SetMonitoringScheduleStatus(v string) *MonitoringSchedule {
63397	s.MonitoringScheduleStatus = &v
63398	return s
63399}
63400
63401// SetMonitoringType sets the MonitoringType field's value.
63402func (s *MonitoringSchedule) SetMonitoringType(v string) *MonitoringSchedule {
63403	s.MonitoringType = &v
63404	return s
63405}
63406
63407// SetTags sets the Tags field's value.
63408func (s *MonitoringSchedule) SetTags(v []*Tag) *MonitoringSchedule {
63409	s.Tags = v
63410	return s
63411}
63412
63413// Configures the monitoring schedule and defines the monitoring job.
63414type MonitoringScheduleConfig struct {
63415	_ struct{} `type:"structure"`
63416
63417	// Defines the monitoring job.
63418	MonitoringJobDefinition *MonitoringJobDefinition `type:"structure"`
63419
63420	// The name of the monitoring job definition to schedule.
63421	MonitoringJobDefinitionName *string `min:"1" type:"string"`
63422
63423	// The type of the monitoring job definition to schedule.
63424	MonitoringType *string `type:"string" enum:"MonitoringType"`
63425
63426	// Configures the monitoring schedule.
63427	ScheduleConfig *ScheduleConfig `type:"structure"`
63428}
63429
63430// String returns the string representation
63431func (s MonitoringScheduleConfig) String() string {
63432	return awsutil.Prettify(s)
63433}
63434
63435// GoString returns the string representation
63436func (s MonitoringScheduleConfig) GoString() string {
63437	return s.String()
63438}
63439
63440// Validate inspects the fields of the type to determine if they are valid.
63441func (s *MonitoringScheduleConfig) Validate() error {
63442	invalidParams := request.ErrInvalidParams{Context: "MonitoringScheduleConfig"}
63443	if s.MonitoringJobDefinitionName != nil && len(*s.MonitoringJobDefinitionName) < 1 {
63444		invalidParams.Add(request.NewErrParamMinLen("MonitoringJobDefinitionName", 1))
63445	}
63446	if s.MonitoringJobDefinition != nil {
63447		if err := s.MonitoringJobDefinition.Validate(); err != nil {
63448			invalidParams.AddNested("MonitoringJobDefinition", err.(request.ErrInvalidParams))
63449		}
63450	}
63451	if s.ScheduleConfig != nil {
63452		if err := s.ScheduleConfig.Validate(); err != nil {
63453			invalidParams.AddNested("ScheduleConfig", err.(request.ErrInvalidParams))
63454		}
63455	}
63456
63457	if invalidParams.Len() > 0 {
63458		return invalidParams
63459	}
63460	return nil
63461}
63462
63463// SetMonitoringJobDefinition sets the MonitoringJobDefinition field's value.
63464func (s *MonitoringScheduleConfig) SetMonitoringJobDefinition(v *MonitoringJobDefinition) *MonitoringScheduleConfig {
63465	s.MonitoringJobDefinition = v
63466	return s
63467}
63468
63469// SetMonitoringJobDefinitionName sets the MonitoringJobDefinitionName field's value.
63470func (s *MonitoringScheduleConfig) SetMonitoringJobDefinitionName(v string) *MonitoringScheduleConfig {
63471	s.MonitoringJobDefinitionName = &v
63472	return s
63473}
63474
63475// SetMonitoringType sets the MonitoringType field's value.
63476func (s *MonitoringScheduleConfig) SetMonitoringType(v string) *MonitoringScheduleConfig {
63477	s.MonitoringType = &v
63478	return s
63479}
63480
63481// SetScheduleConfig sets the ScheduleConfig field's value.
63482func (s *MonitoringScheduleConfig) SetScheduleConfig(v *ScheduleConfig) *MonitoringScheduleConfig {
63483	s.ScheduleConfig = v
63484	return s
63485}
63486
63487// Summarizes the monitoring schedule.
63488type MonitoringScheduleSummary struct {
63489	_ struct{} `type:"structure"`
63490
63491	// The creation time of the monitoring schedule.
63492	//
63493	// CreationTime is a required field
63494	CreationTime *time.Time `type:"timestamp" required:"true"`
63495
63496	// The name of the endpoint using the monitoring schedule.
63497	EndpointName *string `type:"string"`
63498
63499	// The last time the monitoring schedule was modified.
63500	//
63501	// LastModifiedTime is a required field
63502	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
63503
63504	// The name of the monitoring job definition that the schedule is for.
63505	MonitoringJobDefinitionName *string `min:"1" type:"string"`
63506
63507	// The Amazon Resource Name (ARN) of the monitoring schedule.
63508	//
63509	// MonitoringScheduleArn is a required field
63510	MonitoringScheduleArn *string `type:"string" required:"true"`
63511
63512	// The name of the monitoring schedule.
63513	//
63514	// MonitoringScheduleName is a required field
63515	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
63516
63517	// The status of the monitoring schedule.
63518	//
63519	// MonitoringScheduleStatus is a required field
63520	MonitoringScheduleStatus *string `type:"string" required:"true" enum:"ScheduleStatus"`
63521
63522	// The type of the monitoring job definition that the schedule is for.
63523	MonitoringType *string `type:"string" enum:"MonitoringType"`
63524}
63525
63526// String returns the string representation
63527func (s MonitoringScheduleSummary) String() string {
63528	return awsutil.Prettify(s)
63529}
63530
63531// GoString returns the string representation
63532func (s MonitoringScheduleSummary) GoString() string {
63533	return s.String()
63534}
63535
63536// SetCreationTime sets the CreationTime field's value.
63537func (s *MonitoringScheduleSummary) SetCreationTime(v time.Time) *MonitoringScheduleSummary {
63538	s.CreationTime = &v
63539	return s
63540}
63541
63542// SetEndpointName sets the EndpointName field's value.
63543func (s *MonitoringScheduleSummary) SetEndpointName(v string) *MonitoringScheduleSummary {
63544	s.EndpointName = &v
63545	return s
63546}
63547
63548// SetLastModifiedTime sets the LastModifiedTime field's value.
63549func (s *MonitoringScheduleSummary) SetLastModifiedTime(v time.Time) *MonitoringScheduleSummary {
63550	s.LastModifiedTime = &v
63551	return s
63552}
63553
63554// SetMonitoringJobDefinitionName sets the MonitoringJobDefinitionName field's value.
63555func (s *MonitoringScheduleSummary) SetMonitoringJobDefinitionName(v string) *MonitoringScheduleSummary {
63556	s.MonitoringJobDefinitionName = &v
63557	return s
63558}
63559
63560// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
63561func (s *MonitoringScheduleSummary) SetMonitoringScheduleArn(v string) *MonitoringScheduleSummary {
63562	s.MonitoringScheduleArn = &v
63563	return s
63564}
63565
63566// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
63567func (s *MonitoringScheduleSummary) SetMonitoringScheduleName(v string) *MonitoringScheduleSummary {
63568	s.MonitoringScheduleName = &v
63569	return s
63570}
63571
63572// SetMonitoringScheduleStatus sets the MonitoringScheduleStatus field's value.
63573func (s *MonitoringScheduleSummary) SetMonitoringScheduleStatus(v string) *MonitoringScheduleSummary {
63574	s.MonitoringScheduleStatus = &v
63575	return s
63576}
63577
63578// SetMonitoringType sets the MonitoringType field's value.
63579func (s *MonitoringScheduleSummary) SetMonitoringType(v string) *MonitoringScheduleSummary {
63580	s.MonitoringType = &v
63581	return s
63582}
63583
63584// The statistics resource for a monitoring job.
63585type MonitoringStatisticsResource struct {
63586	_ struct{} `type:"structure"`
63587
63588	// The Amazon S3 URI for the statistics resource.
63589	S3Uri *string `type:"string"`
63590}
63591
63592// String returns the string representation
63593func (s MonitoringStatisticsResource) String() string {
63594	return awsutil.Prettify(s)
63595}
63596
63597// GoString returns the string representation
63598func (s MonitoringStatisticsResource) GoString() string {
63599	return s.String()
63600}
63601
63602// SetS3Uri sets the S3Uri field's value.
63603func (s *MonitoringStatisticsResource) SetS3Uri(v string) *MonitoringStatisticsResource {
63604	s.S3Uri = &v
63605	return s
63606}
63607
63608// A time limit for how long the monitoring job is allowed to run before stopping.
63609type MonitoringStoppingCondition struct {
63610	_ struct{} `type:"structure"`
63611
63612	// The maximum runtime allowed in seconds.
63613	//
63614	// The MaxRuntimeInSeconds cannot exceed the frequency of the job. For data
63615	// quality and model explainability, this can be up to 3600 seconds for an hourly
63616	// schedule. For model bias and model quality hourly schedules, this can be
63617	// up to 1800 seconds.
63618	//
63619	// MaxRuntimeInSeconds is a required field
63620	MaxRuntimeInSeconds *int64 `min:"1" type:"integer" required:"true"`
63621}
63622
63623// String returns the string representation
63624func (s MonitoringStoppingCondition) String() string {
63625	return awsutil.Prettify(s)
63626}
63627
63628// GoString returns the string representation
63629func (s MonitoringStoppingCondition) GoString() string {
63630	return s.String()
63631}
63632
63633// Validate inspects the fields of the type to determine if they are valid.
63634func (s *MonitoringStoppingCondition) Validate() error {
63635	invalidParams := request.ErrInvalidParams{Context: "MonitoringStoppingCondition"}
63636	if s.MaxRuntimeInSeconds == nil {
63637		invalidParams.Add(request.NewErrParamRequired("MaxRuntimeInSeconds"))
63638	}
63639	if s.MaxRuntimeInSeconds != nil && *s.MaxRuntimeInSeconds < 1 {
63640		invalidParams.Add(request.NewErrParamMinValue("MaxRuntimeInSeconds", 1))
63641	}
63642
63643	if invalidParams.Len() > 0 {
63644		return invalidParams
63645	}
63646	return nil
63647}
63648
63649// SetMaxRuntimeInSeconds sets the MaxRuntimeInSeconds field's value.
63650func (s *MonitoringStoppingCondition) SetMaxRuntimeInSeconds(v int64) *MonitoringStoppingCondition {
63651	s.MaxRuntimeInSeconds = &v
63652	return s
63653}
63654
63655// Specifies additional configuration for hosting multi-model endpoints.
63656type MultiModelConfig struct {
63657	_ struct{} `type:"structure"`
63658
63659	// Whether to cache models for a multi-model endpoint. By default, multi-model
63660	// endpoints cache models so that a model does not have to be loaded into memory
63661	// each time it is invoked. Some use cases do not benefit from model caching.
63662	// For example, if an endpoint hosts a large number of models that are each
63663	// invoked infrequently, the endpoint might perform better if you disable model
63664	// caching. To disable model caching, set the value of this parameter to Disabled.
63665	ModelCacheSetting *string `type:"string" enum:"ModelCacheSetting"`
63666}
63667
63668// String returns the string representation
63669func (s MultiModelConfig) String() string {
63670	return awsutil.Prettify(s)
63671}
63672
63673// GoString returns the string representation
63674func (s MultiModelConfig) GoString() string {
63675	return s.String()
63676}
63677
63678// SetModelCacheSetting sets the ModelCacheSetting field's value.
63679func (s *MultiModelConfig) SetModelCacheSetting(v string) *MultiModelConfig {
63680	s.ModelCacheSetting = &v
63681	return s
63682}
63683
63684// A list of nested Filter objects. A resource must satisfy the conditions of
63685// all filters to be included in the results returned from the Search API.
63686//
63687// For example, to filter on a training job's InputDataConfig property with
63688// a specific channel name and S3Uri prefix, define the following filters:
63689//
63690//    * '{Name:"InputDataConfig.ChannelName", "Operator":"Equals", "Value":"train"}',
63691//
63692//    * '{Name:"InputDataConfig.DataSource.S3DataSource.S3Uri", "Operator":"Contains",
63693//    "Value":"mybucket/catdata"}'
63694type NestedFilters struct {
63695	_ struct{} `type:"structure"`
63696
63697	// A list of filters. Each filter acts on a property. Filters must contain at
63698	// least one Filters value. For example, a NestedFilters call might include
63699	// a filter on the PropertyName parameter of the InputDataConfig property: InputDataConfig.DataSource.S3DataSource.S3Uri.
63700	//
63701	// Filters is a required field
63702	Filters []*Filter `min:"1" type:"list" required:"true"`
63703
63704	// The name of the property to use in the nested filters. The value must match
63705	// a listed property name, such as InputDataConfig.
63706	//
63707	// NestedPropertyName is a required field
63708	NestedPropertyName *string `min:"1" type:"string" required:"true"`
63709}
63710
63711// String returns the string representation
63712func (s NestedFilters) String() string {
63713	return awsutil.Prettify(s)
63714}
63715
63716// GoString returns the string representation
63717func (s NestedFilters) GoString() string {
63718	return s.String()
63719}
63720
63721// Validate inspects the fields of the type to determine if they are valid.
63722func (s *NestedFilters) Validate() error {
63723	invalidParams := request.ErrInvalidParams{Context: "NestedFilters"}
63724	if s.Filters == nil {
63725		invalidParams.Add(request.NewErrParamRequired("Filters"))
63726	}
63727	if s.Filters != nil && len(s.Filters) < 1 {
63728		invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
63729	}
63730	if s.NestedPropertyName == nil {
63731		invalidParams.Add(request.NewErrParamRequired("NestedPropertyName"))
63732	}
63733	if s.NestedPropertyName != nil && len(*s.NestedPropertyName) < 1 {
63734		invalidParams.Add(request.NewErrParamMinLen("NestedPropertyName", 1))
63735	}
63736	if s.Filters != nil {
63737		for i, v := range s.Filters {
63738			if v == nil {
63739				continue
63740			}
63741			if err := v.Validate(); err != nil {
63742				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
63743			}
63744		}
63745	}
63746
63747	if invalidParams.Len() > 0 {
63748		return invalidParams
63749	}
63750	return nil
63751}
63752
63753// SetFilters sets the Filters field's value.
63754func (s *NestedFilters) SetFilters(v []*Filter) *NestedFilters {
63755	s.Filters = v
63756	return s
63757}
63758
63759// SetNestedPropertyName sets the NestedPropertyName field's value.
63760func (s *NestedFilters) SetNestedPropertyName(v string) *NestedFilters {
63761	s.NestedPropertyName = &v
63762	return s
63763}
63764
63765// Networking options for a job, such as network traffic encryption between
63766// containers, whether to allow inbound and outbound network calls to and from
63767// containers, and the VPC subnets and security groups to use for VPC-enabled
63768// jobs.
63769type NetworkConfig struct {
63770	_ struct{} `type:"structure"`
63771
63772	// Whether to encrypt all communications between distributed processing jobs.
63773	// Choose True to encrypt communications. Encryption provides greater security
63774	// for distributed processing jobs, but the processing might take longer.
63775	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
63776
63777	// Whether to allow inbound and outbound network calls to and from the containers
63778	// used for the processing job.
63779	EnableNetworkIsolation *bool `type:"boolean"`
63780
63781	// Specifies a VPC that your training jobs and hosted models have access to.
63782	// Control access to and from your training and model containers by configuring
63783	// the VPC. For more information, see Protect Endpoints by Using an Amazon Virtual
63784	// Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html)
63785	// and Protect Training Jobs by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
63786	VpcConfig *VpcConfig `type:"structure"`
63787}
63788
63789// String returns the string representation
63790func (s NetworkConfig) String() string {
63791	return awsutil.Prettify(s)
63792}
63793
63794// GoString returns the string representation
63795func (s NetworkConfig) GoString() string {
63796	return s.String()
63797}
63798
63799// Validate inspects the fields of the type to determine if they are valid.
63800func (s *NetworkConfig) Validate() error {
63801	invalidParams := request.ErrInvalidParams{Context: "NetworkConfig"}
63802	if s.VpcConfig != nil {
63803		if err := s.VpcConfig.Validate(); err != nil {
63804			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
63805		}
63806	}
63807
63808	if invalidParams.Len() > 0 {
63809		return invalidParams
63810	}
63811	return nil
63812}
63813
63814// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
63815func (s *NetworkConfig) SetEnableInterContainerTrafficEncryption(v bool) *NetworkConfig {
63816	s.EnableInterContainerTrafficEncryption = &v
63817	return s
63818}
63819
63820// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
63821func (s *NetworkConfig) SetEnableNetworkIsolation(v bool) *NetworkConfig {
63822	s.EnableNetworkIsolation = &v
63823	return s
63824}
63825
63826// SetVpcConfig sets the VpcConfig field's value.
63827func (s *NetworkConfig) SetVpcConfig(v *VpcConfig) *NetworkConfig {
63828	s.VpcConfig = v
63829	return s
63830}
63831
63832// Provides a summary of a notebook instance lifecycle configuration.
63833type NotebookInstanceLifecycleConfigSummary struct {
63834	_ struct{} `type:"structure"`
63835
63836	// A timestamp that tells when the lifecycle configuration was created.
63837	CreationTime *time.Time `type:"timestamp"`
63838
63839	// A timestamp that tells when the lifecycle configuration was last modified.
63840	LastModifiedTime *time.Time `type:"timestamp"`
63841
63842	// The Amazon Resource Name (ARN) of the lifecycle configuration.
63843	//
63844	// NotebookInstanceLifecycleConfigArn is a required field
63845	NotebookInstanceLifecycleConfigArn *string `type:"string" required:"true"`
63846
63847	// The name of the lifecycle configuration.
63848	//
63849	// NotebookInstanceLifecycleConfigName is a required field
63850	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
63851}
63852
63853// String returns the string representation
63854func (s NotebookInstanceLifecycleConfigSummary) String() string {
63855	return awsutil.Prettify(s)
63856}
63857
63858// GoString returns the string representation
63859func (s NotebookInstanceLifecycleConfigSummary) GoString() string {
63860	return s.String()
63861}
63862
63863// SetCreationTime sets the CreationTime field's value.
63864func (s *NotebookInstanceLifecycleConfigSummary) SetCreationTime(v time.Time) *NotebookInstanceLifecycleConfigSummary {
63865	s.CreationTime = &v
63866	return s
63867}
63868
63869// SetLastModifiedTime sets the LastModifiedTime field's value.
63870func (s *NotebookInstanceLifecycleConfigSummary) SetLastModifiedTime(v time.Time) *NotebookInstanceLifecycleConfigSummary {
63871	s.LastModifiedTime = &v
63872	return s
63873}
63874
63875// SetNotebookInstanceLifecycleConfigArn sets the NotebookInstanceLifecycleConfigArn field's value.
63876func (s *NotebookInstanceLifecycleConfigSummary) SetNotebookInstanceLifecycleConfigArn(v string) *NotebookInstanceLifecycleConfigSummary {
63877	s.NotebookInstanceLifecycleConfigArn = &v
63878	return s
63879}
63880
63881// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
63882func (s *NotebookInstanceLifecycleConfigSummary) SetNotebookInstanceLifecycleConfigName(v string) *NotebookInstanceLifecycleConfigSummary {
63883	s.NotebookInstanceLifecycleConfigName = &v
63884	return s
63885}
63886
63887// Contains the notebook instance lifecycle configuration script.
63888//
63889// Each lifecycle configuration script has a limit of 16384 characters.
63890//
63891// The value of the $PATH environment variable that is available to both scripts
63892// is /sbin:bin:/usr/sbin:/usr/bin.
63893//
63894// View CloudWatch Logs for notebook instance lifecycle configurations in log
63895// group /aws/sagemaker/NotebookInstances in log stream [notebook-instance-name]/[LifecycleConfigHook].
63896//
63897// Lifecycle configuration scripts cannot run for longer than 5 minutes. If
63898// a script runs for longer than 5 minutes, it fails and the notebook instance
63899// is not created or started.
63900//
63901// For information about notebook instance lifestyle configurations, see Step
63902// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
63903type NotebookInstanceLifecycleHook struct {
63904	_ struct{} `type:"structure"`
63905
63906	// A base64-encoded string that contains a shell script for a notebook instance
63907	// lifecycle configuration.
63908	Content *string `min:"1" type:"string"`
63909}
63910
63911// String returns the string representation
63912func (s NotebookInstanceLifecycleHook) String() string {
63913	return awsutil.Prettify(s)
63914}
63915
63916// GoString returns the string representation
63917func (s NotebookInstanceLifecycleHook) GoString() string {
63918	return s.String()
63919}
63920
63921// Validate inspects the fields of the type to determine if they are valid.
63922func (s *NotebookInstanceLifecycleHook) Validate() error {
63923	invalidParams := request.ErrInvalidParams{Context: "NotebookInstanceLifecycleHook"}
63924	if s.Content != nil && len(*s.Content) < 1 {
63925		invalidParams.Add(request.NewErrParamMinLen("Content", 1))
63926	}
63927
63928	if invalidParams.Len() > 0 {
63929		return invalidParams
63930	}
63931	return nil
63932}
63933
63934// SetContent sets the Content field's value.
63935func (s *NotebookInstanceLifecycleHook) SetContent(v string) *NotebookInstanceLifecycleHook {
63936	s.Content = &v
63937	return s
63938}
63939
63940// Provides summary information for an Amazon SageMaker notebook instance.
63941type NotebookInstanceSummary struct {
63942	_ struct{} `type:"structure"`
63943
63944	// An array of up to three Git repositories associated with the notebook instance.
63945	// These can be either the names of Git repositories stored as resources in
63946	// your account, or the URL of Git repositories in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
63947	// or in any other Git repository. These repositories are cloned at the same
63948	// level as the default repository of your notebook instance. For more information,
63949	// see Associating Git Repositories with Amazon SageMaker Notebook Instances
63950	// (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
63951	AdditionalCodeRepositories []*string `type:"list"`
63952
63953	// A timestamp that shows when the notebook instance was created.
63954	CreationTime *time.Time `type:"timestamp"`
63955
63956	// The Git repository associated with the notebook instance as its default code
63957	// repository. This can be either the name of a Git repository stored as a resource
63958	// in your account, or the URL of a Git repository in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
63959	// or in any other Git repository. When you open a notebook instance, it opens
63960	// in the directory that contains this repository. For more information, see
63961	// Associating Git Repositories with Amazon SageMaker Notebook Instances (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
63962	DefaultCodeRepository *string `min:"1" type:"string"`
63963
63964	// The type of ML compute instance that the notebook instance is running on.
63965	InstanceType *string `type:"string" enum:"InstanceType"`
63966
63967	// A timestamp that shows when the notebook instance was last modified.
63968	LastModifiedTime *time.Time `type:"timestamp"`
63969
63970	// The Amazon Resource Name (ARN) of the notebook instance.
63971	//
63972	// NotebookInstanceArn is a required field
63973	NotebookInstanceArn *string `type:"string" required:"true"`
63974
63975	// The name of a notebook instance lifecycle configuration associated with this
63976	// notebook instance.
63977	//
63978	// For information about notebook instance lifestyle configurations, see Step
63979	// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
63980	NotebookInstanceLifecycleConfigName *string `type:"string"`
63981
63982	// The name of the notebook instance that you want a summary for.
63983	//
63984	// NotebookInstanceName is a required field
63985	NotebookInstanceName *string `type:"string" required:"true"`
63986
63987	// The status of the notebook instance.
63988	NotebookInstanceStatus *string `type:"string" enum:"NotebookInstanceStatus"`
63989
63990	// The URL that you use to connect to the Jupyter instance running in your notebook
63991	// instance.
63992	Url *string `type:"string"`
63993}
63994
63995// String returns the string representation
63996func (s NotebookInstanceSummary) String() string {
63997	return awsutil.Prettify(s)
63998}
63999
64000// GoString returns the string representation
64001func (s NotebookInstanceSummary) GoString() string {
64002	return s.String()
64003}
64004
64005// SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value.
64006func (s *NotebookInstanceSummary) SetAdditionalCodeRepositories(v []*string) *NotebookInstanceSummary {
64007	s.AdditionalCodeRepositories = v
64008	return s
64009}
64010
64011// SetCreationTime sets the CreationTime field's value.
64012func (s *NotebookInstanceSummary) SetCreationTime(v time.Time) *NotebookInstanceSummary {
64013	s.CreationTime = &v
64014	return s
64015}
64016
64017// SetDefaultCodeRepository sets the DefaultCodeRepository field's value.
64018func (s *NotebookInstanceSummary) SetDefaultCodeRepository(v string) *NotebookInstanceSummary {
64019	s.DefaultCodeRepository = &v
64020	return s
64021}
64022
64023// SetInstanceType sets the InstanceType field's value.
64024func (s *NotebookInstanceSummary) SetInstanceType(v string) *NotebookInstanceSummary {
64025	s.InstanceType = &v
64026	return s
64027}
64028
64029// SetLastModifiedTime sets the LastModifiedTime field's value.
64030func (s *NotebookInstanceSummary) SetLastModifiedTime(v time.Time) *NotebookInstanceSummary {
64031	s.LastModifiedTime = &v
64032	return s
64033}
64034
64035// SetNotebookInstanceArn sets the NotebookInstanceArn field's value.
64036func (s *NotebookInstanceSummary) SetNotebookInstanceArn(v string) *NotebookInstanceSummary {
64037	s.NotebookInstanceArn = &v
64038	return s
64039}
64040
64041// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
64042func (s *NotebookInstanceSummary) SetNotebookInstanceLifecycleConfigName(v string) *NotebookInstanceSummary {
64043	s.NotebookInstanceLifecycleConfigName = &v
64044	return s
64045}
64046
64047// SetNotebookInstanceName sets the NotebookInstanceName field's value.
64048func (s *NotebookInstanceSummary) SetNotebookInstanceName(v string) *NotebookInstanceSummary {
64049	s.NotebookInstanceName = &v
64050	return s
64051}
64052
64053// SetNotebookInstanceStatus sets the NotebookInstanceStatus field's value.
64054func (s *NotebookInstanceSummary) SetNotebookInstanceStatus(v string) *NotebookInstanceSummary {
64055	s.NotebookInstanceStatus = &v
64056	return s
64057}
64058
64059// SetUrl sets the Url field's value.
64060func (s *NotebookInstanceSummary) SetUrl(v string) *NotebookInstanceSummary {
64061	s.Url = &v
64062	return s
64063}
64064
64065// Configures SNS notifications of available or expiring work items for work
64066// teams.
64067type NotificationConfiguration struct {
64068	_ struct{} `type:"structure"`
64069
64070	// The ARN for the SNS topic to which notifications should be published.
64071	NotificationTopicArn *string `type:"string"`
64072}
64073
64074// String returns the string representation
64075func (s NotificationConfiguration) String() string {
64076	return awsutil.Prettify(s)
64077}
64078
64079// GoString returns the string representation
64080func (s NotificationConfiguration) GoString() string {
64081	return s.String()
64082}
64083
64084// SetNotificationTopicArn sets the NotificationTopicArn field's value.
64085func (s *NotificationConfiguration) SetNotificationTopicArn(v string) *NotificationConfiguration {
64086	s.NotificationTopicArn = &v
64087	return s
64088}
64089
64090// Specifies the number of training jobs that this hyperparameter tuning job
64091// launched, categorized by the status of their objective metric. The objective
64092// metric status shows whether the final objective metric for the training job
64093// has been evaluated by the tuning job and used in the hyperparameter tuning
64094// process.
64095type ObjectiveStatusCounters struct {
64096	_ struct{} `type:"structure"`
64097
64098	// The number of training jobs whose final objective metric was not evaluated
64099	// and used in the hyperparameter tuning process. This typically occurs when
64100	// the training job failed or did not emit an objective metric.
64101	Failed *int64 `type:"integer"`
64102
64103	// The number of training jobs that are in progress and pending evaluation of
64104	// their final objective metric.
64105	Pending *int64 `type:"integer"`
64106
64107	// The number of training jobs whose final objective metric was evaluated by
64108	// the hyperparameter tuning job and used in the hyperparameter tuning process.
64109	Succeeded *int64 `type:"integer"`
64110}
64111
64112// String returns the string representation
64113func (s ObjectiveStatusCounters) String() string {
64114	return awsutil.Prettify(s)
64115}
64116
64117// GoString returns the string representation
64118func (s ObjectiveStatusCounters) GoString() string {
64119	return s.String()
64120}
64121
64122// SetFailed sets the Failed field's value.
64123func (s *ObjectiveStatusCounters) SetFailed(v int64) *ObjectiveStatusCounters {
64124	s.Failed = &v
64125	return s
64126}
64127
64128// SetPending sets the Pending field's value.
64129func (s *ObjectiveStatusCounters) SetPending(v int64) *ObjectiveStatusCounters {
64130	s.Pending = &v
64131	return s
64132}
64133
64134// SetSucceeded sets the Succeeded field's value.
64135func (s *ObjectiveStatusCounters) SetSucceeded(v int64) *ObjectiveStatusCounters {
64136	s.Succeeded = &v
64137	return s
64138}
64139
64140// The configuration of an OfflineStore.
64141//
64142// Provide an OfflineStoreConfig in a request to CreateFeatureGroup to create
64143// an OfflineStore.
64144//
64145// To encrypt an OfflineStore using at rest data encryption, specify AWS Key
64146// Management Service (KMS) key ID, or KMSKeyId, in S3StorageConfig.
64147type OfflineStoreConfig struct {
64148	_ struct{} `type:"structure"`
64149
64150	// The meta data of the Glue table that is autogenerated when an OfflineStore
64151	// is created.
64152	DataCatalogConfig *DataCatalogConfig `type:"structure"`
64153
64154	// Set to True to disable the automatic creation of an AWS Glue table when configuring
64155	// an OfflineStore.
64156	DisableGlueTableCreation *bool `type:"boolean"`
64157
64158	// The Amazon Simple Storage (Amazon S3) location of OfflineStore.
64159	//
64160	// S3StorageConfig is a required field
64161	S3StorageConfig *S3StorageConfig `type:"structure" required:"true"`
64162}
64163
64164// String returns the string representation
64165func (s OfflineStoreConfig) String() string {
64166	return awsutil.Prettify(s)
64167}
64168
64169// GoString returns the string representation
64170func (s OfflineStoreConfig) GoString() string {
64171	return s.String()
64172}
64173
64174// Validate inspects the fields of the type to determine if they are valid.
64175func (s *OfflineStoreConfig) Validate() error {
64176	invalidParams := request.ErrInvalidParams{Context: "OfflineStoreConfig"}
64177	if s.S3StorageConfig == nil {
64178		invalidParams.Add(request.NewErrParamRequired("S3StorageConfig"))
64179	}
64180	if s.DataCatalogConfig != nil {
64181		if err := s.DataCatalogConfig.Validate(); err != nil {
64182			invalidParams.AddNested("DataCatalogConfig", err.(request.ErrInvalidParams))
64183		}
64184	}
64185	if s.S3StorageConfig != nil {
64186		if err := s.S3StorageConfig.Validate(); err != nil {
64187			invalidParams.AddNested("S3StorageConfig", err.(request.ErrInvalidParams))
64188		}
64189	}
64190
64191	if invalidParams.Len() > 0 {
64192		return invalidParams
64193	}
64194	return nil
64195}
64196
64197// SetDataCatalogConfig sets the DataCatalogConfig field's value.
64198func (s *OfflineStoreConfig) SetDataCatalogConfig(v *DataCatalogConfig) *OfflineStoreConfig {
64199	s.DataCatalogConfig = v
64200	return s
64201}
64202
64203// SetDisableGlueTableCreation sets the DisableGlueTableCreation field's value.
64204func (s *OfflineStoreConfig) SetDisableGlueTableCreation(v bool) *OfflineStoreConfig {
64205	s.DisableGlueTableCreation = &v
64206	return s
64207}
64208
64209// SetS3StorageConfig sets the S3StorageConfig field's value.
64210func (s *OfflineStoreConfig) SetS3StorageConfig(v *S3StorageConfig) *OfflineStoreConfig {
64211	s.S3StorageConfig = v
64212	return s
64213}
64214
64215// The status of OfflineStore.
64216type OfflineStoreStatus struct {
64217	_ struct{} `type:"structure"`
64218
64219	// The justification for why the OfflineStoreStatus is Blocked (if applicable).
64220	BlockedReason *string `type:"string"`
64221
64222	// An OfflineStore status.
64223	//
64224	// Status is a required field
64225	Status *string `type:"string" required:"true" enum:"OfflineStoreStatusValue"`
64226}
64227
64228// String returns the string representation
64229func (s OfflineStoreStatus) String() string {
64230	return awsutil.Prettify(s)
64231}
64232
64233// GoString returns the string representation
64234func (s OfflineStoreStatus) GoString() string {
64235	return s.String()
64236}
64237
64238// SetBlockedReason sets the BlockedReason field's value.
64239func (s *OfflineStoreStatus) SetBlockedReason(v string) *OfflineStoreStatus {
64240	s.BlockedReason = &v
64241	return s
64242}
64243
64244// SetStatus sets the Status field's value.
64245func (s *OfflineStoreStatus) SetStatus(v string) *OfflineStoreStatus {
64246	s.Status = &v
64247	return s
64248}
64249
64250// Use this parameter to configure your OIDC Identity Provider (IdP).
64251type OidcConfig struct {
64252	_ struct{} `type:"structure"`
64253
64254	// The OIDC IdP authorization endpoint used to configure your private workforce.
64255	//
64256	// AuthorizationEndpoint is a required field
64257	AuthorizationEndpoint *string `type:"string" required:"true"`
64258
64259	// The OIDC IdP client ID used to configure your private workforce.
64260	//
64261	// ClientId is a required field
64262	ClientId *string `min:"1" type:"string" required:"true"`
64263
64264	// The OIDC IdP client secret used to configure your private workforce.
64265	//
64266	// ClientSecret is a required field
64267	ClientSecret *string `min:"1" type:"string" required:"true" sensitive:"true"`
64268
64269	// The OIDC IdP issuer used to configure your private workforce.
64270	//
64271	// Issuer is a required field
64272	Issuer *string `type:"string" required:"true"`
64273
64274	// The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private workforce.
64275	//
64276	// JwksUri is a required field
64277	JwksUri *string `type:"string" required:"true"`
64278
64279	// The OIDC IdP logout endpoint used to configure your private workforce.
64280	//
64281	// LogoutEndpoint is a required field
64282	LogoutEndpoint *string `type:"string" required:"true"`
64283
64284	// The OIDC IdP token endpoint used to configure your private workforce.
64285	//
64286	// TokenEndpoint is a required field
64287	TokenEndpoint *string `type:"string" required:"true"`
64288
64289	// The OIDC IdP user information endpoint used to configure your private workforce.
64290	//
64291	// UserInfoEndpoint is a required field
64292	UserInfoEndpoint *string `type:"string" required:"true"`
64293}
64294
64295// String returns the string representation
64296func (s OidcConfig) String() string {
64297	return awsutil.Prettify(s)
64298}
64299
64300// GoString returns the string representation
64301func (s OidcConfig) GoString() string {
64302	return s.String()
64303}
64304
64305// Validate inspects the fields of the type to determine if they are valid.
64306func (s *OidcConfig) Validate() error {
64307	invalidParams := request.ErrInvalidParams{Context: "OidcConfig"}
64308	if s.AuthorizationEndpoint == nil {
64309		invalidParams.Add(request.NewErrParamRequired("AuthorizationEndpoint"))
64310	}
64311	if s.ClientId == nil {
64312		invalidParams.Add(request.NewErrParamRequired("ClientId"))
64313	}
64314	if s.ClientId != nil && len(*s.ClientId) < 1 {
64315		invalidParams.Add(request.NewErrParamMinLen("ClientId", 1))
64316	}
64317	if s.ClientSecret == nil {
64318		invalidParams.Add(request.NewErrParamRequired("ClientSecret"))
64319	}
64320	if s.ClientSecret != nil && len(*s.ClientSecret) < 1 {
64321		invalidParams.Add(request.NewErrParamMinLen("ClientSecret", 1))
64322	}
64323	if s.Issuer == nil {
64324		invalidParams.Add(request.NewErrParamRequired("Issuer"))
64325	}
64326	if s.JwksUri == nil {
64327		invalidParams.Add(request.NewErrParamRequired("JwksUri"))
64328	}
64329	if s.LogoutEndpoint == nil {
64330		invalidParams.Add(request.NewErrParamRequired("LogoutEndpoint"))
64331	}
64332	if s.TokenEndpoint == nil {
64333		invalidParams.Add(request.NewErrParamRequired("TokenEndpoint"))
64334	}
64335	if s.UserInfoEndpoint == nil {
64336		invalidParams.Add(request.NewErrParamRequired("UserInfoEndpoint"))
64337	}
64338
64339	if invalidParams.Len() > 0 {
64340		return invalidParams
64341	}
64342	return nil
64343}
64344
64345// SetAuthorizationEndpoint sets the AuthorizationEndpoint field's value.
64346func (s *OidcConfig) SetAuthorizationEndpoint(v string) *OidcConfig {
64347	s.AuthorizationEndpoint = &v
64348	return s
64349}
64350
64351// SetClientId sets the ClientId field's value.
64352func (s *OidcConfig) SetClientId(v string) *OidcConfig {
64353	s.ClientId = &v
64354	return s
64355}
64356
64357// SetClientSecret sets the ClientSecret field's value.
64358func (s *OidcConfig) SetClientSecret(v string) *OidcConfig {
64359	s.ClientSecret = &v
64360	return s
64361}
64362
64363// SetIssuer sets the Issuer field's value.
64364func (s *OidcConfig) SetIssuer(v string) *OidcConfig {
64365	s.Issuer = &v
64366	return s
64367}
64368
64369// SetJwksUri sets the JwksUri field's value.
64370func (s *OidcConfig) SetJwksUri(v string) *OidcConfig {
64371	s.JwksUri = &v
64372	return s
64373}
64374
64375// SetLogoutEndpoint sets the LogoutEndpoint field's value.
64376func (s *OidcConfig) SetLogoutEndpoint(v string) *OidcConfig {
64377	s.LogoutEndpoint = &v
64378	return s
64379}
64380
64381// SetTokenEndpoint sets the TokenEndpoint field's value.
64382func (s *OidcConfig) SetTokenEndpoint(v string) *OidcConfig {
64383	s.TokenEndpoint = &v
64384	return s
64385}
64386
64387// SetUserInfoEndpoint sets the UserInfoEndpoint field's value.
64388func (s *OidcConfig) SetUserInfoEndpoint(v string) *OidcConfig {
64389	s.UserInfoEndpoint = &v
64390	return s
64391}
64392
64393// Your OIDC IdP workforce configuration.
64394type OidcConfigForResponse struct {
64395	_ struct{} `type:"structure"`
64396
64397	// The OIDC IdP authorization endpoint used to configure your private workforce.
64398	AuthorizationEndpoint *string `type:"string"`
64399
64400	// The OIDC IdP client ID used to configure your private workforce.
64401	ClientId *string `min:"1" type:"string"`
64402
64403	// The OIDC IdP issuer used to configure your private workforce.
64404	Issuer *string `type:"string"`
64405
64406	// The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private workforce.
64407	JwksUri *string `type:"string"`
64408
64409	// The OIDC IdP logout endpoint used to configure your private workforce.
64410	LogoutEndpoint *string `type:"string"`
64411
64412	// The OIDC IdP token endpoint used to configure your private workforce.
64413	TokenEndpoint *string `type:"string"`
64414
64415	// The OIDC IdP user information endpoint used to configure your private workforce.
64416	UserInfoEndpoint *string `type:"string"`
64417}
64418
64419// String returns the string representation
64420func (s OidcConfigForResponse) String() string {
64421	return awsutil.Prettify(s)
64422}
64423
64424// GoString returns the string representation
64425func (s OidcConfigForResponse) GoString() string {
64426	return s.String()
64427}
64428
64429// SetAuthorizationEndpoint sets the AuthorizationEndpoint field's value.
64430func (s *OidcConfigForResponse) SetAuthorizationEndpoint(v string) *OidcConfigForResponse {
64431	s.AuthorizationEndpoint = &v
64432	return s
64433}
64434
64435// SetClientId sets the ClientId field's value.
64436func (s *OidcConfigForResponse) SetClientId(v string) *OidcConfigForResponse {
64437	s.ClientId = &v
64438	return s
64439}
64440
64441// SetIssuer sets the Issuer field's value.
64442func (s *OidcConfigForResponse) SetIssuer(v string) *OidcConfigForResponse {
64443	s.Issuer = &v
64444	return s
64445}
64446
64447// SetJwksUri sets the JwksUri field's value.
64448func (s *OidcConfigForResponse) SetJwksUri(v string) *OidcConfigForResponse {
64449	s.JwksUri = &v
64450	return s
64451}
64452
64453// SetLogoutEndpoint sets the LogoutEndpoint field's value.
64454func (s *OidcConfigForResponse) SetLogoutEndpoint(v string) *OidcConfigForResponse {
64455	s.LogoutEndpoint = &v
64456	return s
64457}
64458
64459// SetTokenEndpoint sets the TokenEndpoint field's value.
64460func (s *OidcConfigForResponse) SetTokenEndpoint(v string) *OidcConfigForResponse {
64461	s.TokenEndpoint = &v
64462	return s
64463}
64464
64465// SetUserInfoEndpoint sets the UserInfoEndpoint field's value.
64466func (s *OidcConfigForResponse) SetUserInfoEndpoint(v string) *OidcConfigForResponse {
64467	s.UserInfoEndpoint = &v
64468	return s
64469}
64470
64471// A list of user groups that exist in your OIDC Identity Provider (IdP). One
64472// to ten groups can be used to create a single private work team. When you
64473// add a user group to the list of Groups, you can add that user group to one
64474// or more private work teams. If you add a user group to a private work team,
64475// all workers in that user group are added to the work team.
64476type OidcMemberDefinition struct {
64477	_ struct{} `type:"structure"`
64478
64479	// A list of comma seperated strings that identifies user groups in your OIDC
64480	// IdP. Each user group is made up of a group of private workers.
64481	//
64482	// Groups is a required field
64483	Groups []*string `min:"1" type:"list" required:"true"`
64484}
64485
64486// String returns the string representation
64487func (s OidcMemberDefinition) String() string {
64488	return awsutil.Prettify(s)
64489}
64490
64491// GoString returns the string representation
64492func (s OidcMemberDefinition) GoString() string {
64493	return s.String()
64494}
64495
64496// Validate inspects the fields of the type to determine if they are valid.
64497func (s *OidcMemberDefinition) Validate() error {
64498	invalidParams := request.ErrInvalidParams{Context: "OidcMemberDefinition"}
64499	if s.Groups == nil {
64500		invalidParams.Add(request.NewErrParamRequired("Groups"))
64501	}
64502	if s.Groups != nil && len(s.Groups) < 1 {
64503		invalidParams.Add(request.NewErrParamMinLen("Groups", 1))
64504	}
64505
64506	if invalidParams.Len() > 0 {
64507		return invalidParams
64508	}
64509	return nil
64510}
64511
64512// SetGroups sets the Groups field's value.
64513func (s *OidcMemberDefinition) SetGroups(v []*string) *OidcMemberDefinition {
64514	s.Groups = v
64515	return s
64516}
64517
64518// Use this to specify the AWS Key Management Service (KMS) Key ID, or KMSKeyId,
64519// for at rest data encryption. You can turn OnlineStore on or off by specifying
64520// the EnableOnlineStore flag at General Assembly; the default value is False.
64521type OnlineStoreConfig struct {
64522	_ struct{} `type:"structure"`
64523
64524	// Turn OnlineStore off by specifying False for the EnableOnlineStore flag.
64525	// Turn OnlineStore on by specifying True for the EnableOnlineStore flag.
64526	//
64527	// The default value is False.
64528	EnableOnlineStore *bool `type:"boolean"`
64529
64530	// Use to specify KMS Key ID (KMSKeyId) for at-rest encryption of your OnlineStore.
64531	SecurityConfig *OnlineStoreSecurityConfig `type:"structure"`
64532}
64533
64534// String returns the string representation
64535func (s OnlineStoreConfig) String() string {
64536	return awsutil.Prettify(s)
64537}
64538
64539// GoString returns the string representation
64540func (s OnlineStoreConfig) GoString() string {
64541	return s.String()
64542}
64543
64544// SetEnableOnlineStore sets the EnableOnlineStore field's value.
64545func (s *OnlineStoreConfig) SetEnableOnlineStore(v bool) *OnlineStoreConfig {
64546	s.EnableOnlineStore = &v
64547	return s
64548}
64549
64550// SetSecurityConfig sets the SecurityConfig field's value.
64551func (s *OnlineStoreConfig) SetSecurityConfig(v *OnlineStoreSecurityConfig) *OnlineStoreConfig {
64552	s.SecurityConfig = v
64553	return s
64554}
64555
64556// The security configuration for OnlineStore.
64557type OnlineStoreSecurityConfig struct {
64558	_ struct{} `type:"structure"`
64559
64560	// The ID of the AWS Key Management Service (AWS KMS) key that SageMaker Feature
64561	// Store uses to encrypt the Amazon S3 objects at rest using Amazon S3 server-side
64562	// encryption.
64563	//
64564	// The caller (either IAM user or IAM role) of CreateFeatureGroup must have
64565	// below permissions to the OnlineStore KmsKeyId:
64566	//
64567	//    * "kms:Encrypt"
64568	//
64569	//    * "kms:Decrypt"
64570	//
64571	//    * "kms:DescribeKey"
64572	//
64573	//    * "kms:CreateGrant"
64574	//
64575	//    * "kms:RetireGrant"
64576	//
64577	//    * "kms:ReEncryptFrom"
64578	//
64579	//    * "kms:ReEncryptTo"
64580	//
64581	//    * "kms:GenerateDataKey"
64582	//
64583	//    * "kms:ListAliases"
64584	//
64585	//    * "kms:ListGrants"
64586	//
64587	//    * "kms:RevokeGrant"
64588	//
64589	// The caller (either IAM user or IAM role) to all DataPlane operations (PutRecord,
64590	// GetRecord, DeleteRecord) must have the following permissions to the KmsKeyId:
64591	//
64592	//    * "kms:Decrypt"
64593	KmsKeyId *string `type:"string"`
64594}
64595
64596// String returns the string representation
64597func (s OnlineStoreSecurityConfig) String() string {
64598	return awsutil.Prettify(s)
64599}
64600
64601// GoString returns the string representation
64602func (s OnlineStoreSecurityConfig) GoString() string {
64603	return s.String()
64604}
64605
64606// SetKmsKeyId sets the KmsKeyId field's value.
64607func (s *OnlineStoreSecurityConfig) SetKmsKeyId(v string) *OnlineStoreSecurityConfig {
64608	s.KmsKeyId = &v
64609	return s
64610}
64611
64612// Contains information about the output location for the compiled model and
64613// the target device that the model runs on. TargetDevice and TargetPlatform
64614// are mutually exclusive, so you need to choose one between the two to specify
64615// your target device or platform. If you cannot find your device you want to
64616// use from the TargetDevice list, use TargetPlatform to describe the platform
64617// of your edge device and CompilerOptions if there are specific settings that
64618// are required or recommended to use for particular TargetPlatform.
64619type OutputConfig struct {
64620	_ struct{} `type:"structure"`
64621
64622	// Specifies additional parameters for compiler options in JSON format. The
64623	// compiler options are TargetPlatform specific. It is required for NVIDIA accelerators
64624	// and highly recommended for CPU compilations. For any other cases, it is optional
64625	// to specify CompilerOptions.
64626	//
64627	//    * DTYPE: Specifies the data type for the input. When compiling for ml_*
64628	//    (except for ml_inf) instances using PyTorch framework, provide the data
64629	//    type (dtype) of the model's input. "float32" is used if "DTYPE" is not
64630	//    specified. Options for data type are: float32: Use either "float" or "float32".
64631	//    int64: Use either "int64" or "long". For example, {"dtype" : "float32"}.
64632	//
64633	//    * CPU: Compilation for CPU supports the following compiler options. mcpu:
64634	//    CPU micro-architecture. For example, {'mcpu': 'skylake-avx512'} mattr:
64635	//    CPU flags. For example, {'mattr': ['+neon', '+vfpv4']}
64636	//
64637	//    * ARM: Details of ARM CPU compilations. NEON: NEON is an implementation
64638	//    of the Advanced SIMD extension used in ARMv7 processors. For example,
64639	//    add {'mattr': ['+neon']} to the compiler options if compiling for ARM
64640	//    32-bit platform with the NEON support.
64641	//
64642	//    * NVIDIA: Compilation for NVIDIA GPU supports the following compiler options.
64643	//    gpu_code: Specifies the targeted architecture. trt-ver: Specifies the
64644	//    TensorRT versions in x.y.z. format. cuda-ver: Specifies the CUDA version
64645	//    in x.y format. For example, {'gpu-code': 'sm_72', 'trt-ver': '6.0.1',
64646	//    'cuda-ver': '10.1'}
64647	//
64648	//    * ANDROID: Compilation for the Android OS supports the following compiler
64649	//    options: ANDROID_PLATFORM: Specifies the Android API levels. Available
64650	//    levels range from 21 to 29. For example, {'ANDROID_PLATFORM': 28}. mattr:
64651	//    Add {'mattr': ['+neon']} to compiler options if compiling for ARM 32-bit
64652	//    platform with NEON support.
64653	//
64654	//    * INFERENTIA: Compilation for target ml_inf1 uses compiler options passed
64655	//    in as a JSON string. For example, "CompilerOptions": "\"--verbose 1 --num-neuroncores
64656	//    2 -O2\"". For information about supported compiler options, see Neuron
64657	//    Compiler CLI (https://github.com/aws/aws-neuron-sdk/blob/master/docs/neuron-cc/command-line-reference.md).
64658	//
64659	//    * CoreML: Compilation for the CoreML OutputConfig$TargetDevice supports
64660	//    the following compiler options: class_labels: Specifies the classification
64661	//    labels file name inside input tar.gz file. For example, {"class_labels":
64662	//    "imagenet_labels_1000.txt"}. Labels inside the txt file should be separated
64663	//    by newlines.
64664	//
64665	//    * EIA: Compilation for the Elastic Inference Accelerator supports the
64666	//    following compiler options: precision_mode: Specifies the precision of
64667	//    compiled artifacts. Supported values are "FP16" and "FP32". Default is
64668	//    "FP32". signature_def_key: Specifies the signature to use for models in
64669	//    SavedModel format. Defaults is TensorFlow's default signature def key.
64670	//    output_names: Specifies a list of output tensor names for models in FrozenGraph
64671	//    format. Set at most one API field, either: signature_def_key or output_names.
64672	//    For example: {"precision_mode": "FP32", "output_names": ["output:0"]}
64673	CompilerOptions *string `min:"3" type:"string"`
64674
64675	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
64676	// encrypt data on the storage volume after compilation job. If you don't provide
64677	// a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for
64678	// your role's account
64679	//
64680	// The KmsKeyId can be any of the following formats:
64681	//
64682	//    * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
64683	//
64684	//    * Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
64685	//
64686	//    * Alias name: alias/ExampleAlias
64687	//
64688	//    * Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
64689	KmsKeyId *string `type:"string"`
64690
64691	// Identifies the S3 bucket where you want Amazon SageMaker to store the model
64692	// artifacts. For example, s3://bucket-name/key-name-prefix.
64693	//
64694	// S3OutputLocation is a required field
64695	S3OutputLocation *string `type:"string" required:"true"`
64696
64697	// Identifies the target device or the machine learning instance that you want
64698	// to run your model on after the compilation has completed. Alternatively,
64699	// you can specify OS, architecture, and accelerator using TargetPlatform fields.
64700	// It can be used instead of TargetPlatform.
64701	TargetDevice *string `type:"string" enum:"TargetDevice"`
64702
64703	// Contains information about a target platform that you want your model to
64704	// run on, such as OS, architecture, and accelerators. It is an alternative
64705	// of TargetDevice.
64706	//
64707	// The following examples show how to configure the TargetPlatform and CompilerOptions
64708	// JSON strings for popular target platforms:
64709	//
64710	//    * Raspberry Pi 3 Model B+ "TargetPlatform": {"Os": "LINUX", "Arch": "ARM_EABIHF"},
64711	//    "CompilerOptions": {'mattr': ['+neon']}
64712	//
64713	//    * Jetson TX2 "TargetPlatform": {"Os": "LINUX", "Arch": "ARM64", "Accelerator":
64714	//    "NVIDIA"}, "CompilerOptions": {'gpu-code': 'sm_62', 'trt-ver': '6.0.1',
64715	//    'cuda-ver': '10.0'}
64716	//
64717	//    * EC2 m5.2xlarge instance OS "TargetPlatform": {"Os": "LINUX", "Arch":
64718	//    "X86_64", "Accelerator": "NVIDIA"}, "CompilerOptions": {'mcpu': 'skylake-avx512'}
64719	//
64720	//    * RK3399 "TargetPlatform": {"Os": "LINUX", "Arch": "ARM64", "Accelerator":
64721	//    "MALI"}
64722	//
64723	//    * ARMv7 phone (CPU) "TargetPlatform": {"Os": "ANDROID", "Arch": "ARM_EABI"},
64724	//    "CompilerOptions": {'ANDROID_PLATFORM': 25, 'mattr': ['+neon']}
64725	//
64726	//    * ARMv8 phone (CPU) "TargetPlatform": {"Os": "ANDROID", "Arch": "ARM64"},
64727	//    "CompilerOptions": {'ANDROID_PLATFORM': 29}
64728	TargetPlatform *TargetPlatform `type:"structure"`
64729}
64730
64731// String returns the string representation
64732func (s OutputConfig) String() string {
64733	return awsutil.Prettify(s)
64734}
64735
64736// GoString returns the string representation
64737func (s OutputConfig) GoString() string {
64738	return s.String()
64739}
64740
64741// Validate inspects the fields of the type to determine if they are valid.
64742func (s *OutputConfig) Validate() error {
64743	invalidParams := request.ErrInvalidParams{Context: "OutputConfig"}
64744	if s.CompilerOptions != nil && len(*s.CompilerOptions) < 3 {
64745		invalidParams.Add(request.NewErrParamMinLen("CompilerOptions", 3))
64746	}
64747	if s.S3OutputLocation == nil {
64748		invalidParams.Add(request.NewErrParamRequired("S3OutputLocation"))
64749	}
64750	if s.TargetPlatform != nil {
64751		if err := s.TargetPlatform.Validate(); err != nil {
64752			invalidParams.AddNested("TargetPlatform", err.(request.ErrInvalidParams))
64753		}
64754	}
64755
64756	if invalidParams.Len() > 0 {
64757		return invalidParams
64758	}
64759	return nil
64760}
64761
64762// SetCompilerOptions sets the CompilerOptions field's value.
64763func (s *OutputConfig) SetCompilerOptions(v string) *OutputConfig {
64764	s.CompilerOptions = &v
64765	return s
64766}
64767
64768// SetKmsKeyId sets the KmsKeyId field's value.
64769func (s *OutputConfig) SetKmsKeyId(v string) *OutputConfig {
64770	s.KmsKeyId = &v
64771	return s
64772}
64773
64774// SetS3OutputLocation sets the S3OutputLocation field's value.
64775func (s *OutputConfig) SetS3OutputLocation(v string) *OutputConfig {
64776	s.S3OutputLocation = &v
64777	return s
64778}
64779
64780// SetTargetDevice sets the TargetDevice field's value.
64781func (s *OutputConfig) SetTargetDevice(v string) *OutputConfig {
64782	s.TargetDevice = &v
64783	return s
64784}
64785
64786// SetTargetPlatform sets the TargetPlatform field's value.
64787func (s *OutputConfig) SetTargetPlatform(v *TargetPlatform) *OutputConfig {
64788	s.TargetPlatform = v
64789	return s
64790}
64791
64792// Provides information about how to store model training results (model artifacts).
64793type OutputDataConfig struct {
64794	_ struct{} `type:"structure"`
64795
64796	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
64797	// encrypt the model artifacts at rest using Amazon S3 server-side encryption.
64798	// The KmsKeyId can be any of the following formats:
64799	//
64800	//    * // KMS Key ID "1234abcd-12ab-34cd-56ef-1234567890ab"
64801	//
64802	//    * // Amazon Resource Name (ARN) of a KMS Key "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
64803	//
64804	//    * // KMS Key Alias "alias/ExampleAlias"
64805	//
64806	//    * // Amazon Resource Name (ARN) of a KMS Key Alias "arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"
64807	//
64808	// If you use a KMS key ID or an alias of your master key, the Amazon SageMaker
64809	// execution role must include permissions to call kms:Encrypt. If you don't
64810	// provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon
64811	// S3 for your role's account. Amazon SageMaker uses server-side encryption
64812	// with KMS-managed keys for OutputDataConfig. If you use a bucket policy with
64813	// an s3:PutObject permission that only allows objects with server-side encryption,
64814	// set the condition key of s3:x-amz-server-side-encryption to "aws:kms". For
64815	// more information, see KMS-Managed Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html)
64816	// in the Amazon Simple Storage Service Developer Guide.
64817	//
64818	// The KMS key policy must grant permission to the IAM role that you specify
64819	// in your CreateTrainingJob, CreateTransformJob, or CreateHyperParameterTuningJob
64820	// requests. For more information, see Using Key Policies in AWS KMS (https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html)
64821	// in the AWS Key Management Service Developer Guide.
64822	KmsKeyId *string `type:"string"`
64823
64824	// Identifies the S3 path where you want Amazon SageMaker to store the model
64825	// artifacts. For example, s3://bucket-name/key-name-prefix.
64826	//
64827	// S3OutputPath is a required field
64828	S3OutputPath *string `type:"string" required:"true"`
64829}
64830
64831// String returns the string representation
64832func (s OutputDataConfig) String() string {
64833	return awsutil.Prettify(s)
64834}
64835
64836// GoString returns the string representation
64837func (s OutputDataConfig) GoString() string {
64838	return s.String()
64839}
64840
64841// Validate inspects the fields of the type to determine if they are valid.
64842func (s *OutputDataConfig) Validate() error {
64843	invalidParams := request.ErrInvalidParams{Context: "OutputDataConfig"}
64844	if s.S3OutputPath == nil {
64845		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
64846	}
64847
64848	if invalidParams.Len() > 0 {
64849		return invalidParams
64850	}
64851	return nil
64852}
64853
64854// SetKmsKeyId sets the KmsKeyId field's value.
64855func (s *OutputDataConfig) SetKmsKeyId(v string) *OutputDataConfig {
64856	s.KmsKeyId = &v
64857	return s
64858}
64859
64860// SetS3OutputPath sets the S3OutputPath field's value.
64861func (s *OutputDataConfig) SetS3OutputPath(v string) *OutputDataConfig {
64862	s.S3OutputPath = &v
64863	return s
64864}
64865
64866// Assigns a value to a named Pipeline parameter.
64867type Parameter struct {
64868	_ struct{} `type:"structure"`
64869
64870	// The name of the parameter to assign a value to. This parameter name must
64871	// match a named parameter in the pipeline definition.
64872	//
64873	// Name is a required field
64874	Name *string `min:"1" type:"string" required:"true"`
64875
64876	// The literal value for the parameter.
64877	//
64878	// Value is a required field
64879	Value *string `type:"string" required:"true"`
64880}
64881
64882// String returns the string representation
64883func (s Parameter) String() string {
64884	return awsutil.Prettify(s)
64885}
64886
64887// GoString returns the string representation
64888func (s Parameter) GoString() string {
64889	return s.String()
64890}
64891
64892// Validate inspects the fields of the type to determine if they are valid.
64893func (s *Parameter) Validate() error {
64894	invalidParams := request.ErrInvalidParams{Context: "Parameter"}
64895	if s.Name == nil {
64896		invalidParams.Add(request.NewErrParamRequired("Name"))
64897	}
64898	if s.Name != nil && len(*s.Name) < 1 {
64899		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
64900	}
64901	if s.Value == nil {
64902		invalidParams.Add(request.NewErrParamRequired("Value"))
64903	}
64904
64905	if invalidParams.Len() > 0 {
64906		return invalidParams
64907	}
64908	return nil
64909}
64910
64911// SetName sets the Name field's value.
64912func (s *Parameter) SetName(v string) *Parameter {
64913	s.Name = &v
64914	return s
64915}
64916
64917// SetValue sets the Value field's value.
64918func (s *Parameter) SetValue(v string) *Parameter {
64919	s.Value = &v
64920	return s
64921}
64922
64923// Defines the possible values for categorical, continuous, and integer hyperparameters
64924// to be used by an algorithm.
64925type ParameterRange struct {
64926	_ struct{} `type:"structure"`
64927
64928	// A CategoricalParameterRangeSpecification object that defines the possible
64929	// values for a categorical hyperparameter.
64930	CategoricalParameterRangeSpecification *CategoricalParameterRangeSpecification `type:"structure"`
64931
64932	// A ContinuousParameterRangeSpecification object that defines the possible
64933	// values for a continuous hyperparameter.
64934	ContinuousParameterRangeSpecification *ContinuousParameterRangeSpecification `type:"structure"`
64935
64936	// A IntegerParameterRangeSpecification object that defines the possible values
64937	// for an integer hyperparameter.
64938	IntegerParameterRangeSpecification *IntegerParameterRangeSpecification `type:"structure"`
64939}
64940
64941// String returns the string representation
64942func (s ParameterRange) String() string {
64943	return awsutil.Prettify(s)
64944}
64945
64946// GoString returns the string representation
64947func (s ParameterRange) GoString() string {
64948	return s.String()
64949}
64950
64951// Validate inspects the fields of the type to determine if they are valid.
64952func (s *ParameterRange) Validate() error {
64953	invalidParams := request.ErrInvalidParams{Context: "ParameterRange"}
64954	if s.CategoricalParameterRangeSpecification != nil {
64955		if err := s.CategoricalParameterRangeSpecification.Validate(); err != nil {
64956			invalidParams.AddNested("CategoricalParameterRangeSpecification", err.(request.ErrInvalidParams))
64957		}
64958	}
64959	if s.ContinuousParameterRangeSpecification != nil {
64960		if err := s.ContinuousParameterRangeSpecification.Validate(); err != nil {
64961			invalidParams.AddNested("ContinuousParameterRangeSpecification", err.(request.ErrInvalidParams))
64962		}
64963	}
64964	if s.IntegerParameterRangeSpecification != nil {
64965		if err := s.IntegerParameterRangeSpecification.Validate(); err != nil {
64966			invalidParams.AddNested("IntegerParameterRangeSpecification", err.(request.ErrInvalidParams))
64967		}
64968	}
64969
64970	if invalidParams.Len() > 0 {
64971		return invalidParams
64972	}
64973	return nil
64974}
64975
64976// SetCategoricalParameterRangeSpecification sets the CategoricalParameterRangeSpecification field's value.
64977func (s *ParameterRange) SetCategoricalParameterRangeSpecification(v *CategoricalParameterRangeSpecification) *ParameterRange {
64978	s.CategoricalParameterRangeSpecification = v
64979	return s
64980}
64981
64982// SetContinuousParameterRangeSpecification sets the ContinuousParameterRangeSpecification field's value.
64983func (s *ParameterRange) SetContinuousParameterRangeSpecification(v *ContinuousParameterRangeSpecification) *ParameterRange {
64984	s.ContinuousParameterRangeSpecification = v
64985	return s
64986}
64987
64988// SetIntegerParameterRangeSpecification sets the IntegerParameterRangeSpecification field's value.
64989func (s *ParameterRange) SetIntegerParameterRangeSpecification(v *IntegerParameterRangeSpecification) *ParameterRange {
64990	s.IntegerParameterRangeSpecification = v
64991	return s
64992}
64993
64994// Specifies ranges of integer, continuous, and categorical hyperparameters
64995// that a hyperparameter tuning job searches. The hyperparameter tuning job
64996// launches training jobs with hyperparameter values within these ranges to
64997// find the combination of values that result in the training job with the best
64998// performance as measured by the objective metric of the hyperparameter tuning
64999// job.
65000//
65001// You can specify a maximum of 20 hyperparameters that a hyperparameter tuning
65002// job can search over. Every possible value of a categorical parameter range
65003// counts against this limit.
65004type ParameterRanges struct {
65005	_ struct{} `type:"structure"`
65006
65007	// The array of CategoricalParameterRange objects that specify ranges of categorical
65008	// hyperparameters that a hyperparameter tuning job searches.
65009	CategoricalParameterRanges []*CategoricalParameterRange `type:"list"`
65010
65011	// The array of ContinuousParameterRange objects that specify ranges of continuous
65012	// hyperparameters that a hyperparameter tuning job searches.
65013	ContinuousParameterRanges []*ContinuousParameterRange `type:"list"`
65014
65015	// The array of IntegerParameterRange objects that specify ranges of integer
65016	// hyperparameters that a hyperparameter tuning job searches.
65017	IntegerParameterRanges []*IntegerParameterRange `type:"list"`
65018}
65019
65020// String returns the string representation
65021func (s ParameterRanges) String() string {
65022	return awsutil.Prettify(s)
65023}
65024
65025// GoString returns the string representation
65026func (s ParameterRanges) GoString() string {
65027	return s.String()
65028}
65029
65030// Validate inspects the fields of the type to determine if they are valid.
65031func (s *ParameterRanges) Validate() error {
65032	invalidParams := request.ErrInvalidParams{Context: "ParameterRanges"}
65033	if s.CategoricalParameterRanges != nil {
65034		for i, v := range s.CategoricalParameterRanges {
65035			if v == nil {
65036				continue
65037			}
65038			if err := v.Validate(); err != nil {
65039				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CategoricalParameterRanges", i), err.(request.ErrInvalidParams))
65040			}
65041		}
65042	}
65043	if s.ContinuousParameterRanges != nil {
65044		for i, v := range s.ContinuousParameterRanges {
65045			if v == nil {
65046				continue
65047			}
65048			if err := v.Validate(); err != nil {
65049				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ContinuousParameterRanges", i), err.(request.ErrInvalidParams))
65050			}
65051		}
65052	}
65053	if s.IntegerParameterRanges != nil {
65054		for i, v := range s.IntegerParameterRanges {
65055			if v == nil {
65056				continue
65057			}
65058			if err := v.Validate(); err != nil {
65059				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "IntegerParameterRanges", i), err.(request.ErrInvalidParams))
65060			}
65061		}
65062	}
65063
65064	if invalidParams.Len() > 0 {
65065		return invalidParams
65066	}
65067	return nil
65068}
65069
65070// SetCategoricalParameterRanges sets the CategoricalParameterRanges field's value.
65071func (s *ParameterRanges) SetCategoricalParameterRanges(v []*CategoricalParameterRange) *ParameterRanges {
65072	s.CategoricalParameterRanges = v
65073	return s
65074}
65075
65076// SetContinuousParameterRanges sets the ContinuousParameterRanges field's value.
65077func (s *ParameterRanges) SetContinuousParameterRanges(v []*ContinuousParameterRange) *ParameterRanges {
65078	s.ContinuousParameterRanges = v
65079	return s
65080}
65081
65082// SetIntegerParameterRanges sets the IntegerParameterRanges field's value.
65083func (s *ParameterRanges) SetIntegerParameterRanges(v []*IntegerParameterRange) *ParameterRanges {
65084	s.IntegerParameterRanges = v
65085	return s
65086}
65087
65088// The trial that a trial component is associated with and the experiment the
65089// trial is part of. A component might not be associated with a trial. A component
65090// can be associated with multiple trials.
65091type Parent struct {
65092	_ struct{} `type:"structure"`
65093
65094	// The name of the experiment.
65095	ExperimentName *string `min:"1" type:"string"`
65096
65097	// The name of the trial.
65098	TrialName *string `min:"1" type:"string"`
65099}
65100
65101// String returns the string representation
65102func (s Parent) String() string {
65103	return awsutil.Prettify(s)
65104}
65105
65106// GoString returns the string representation
65107func (s Parent) GoString() string {
65108	return s.String()
65109}
65110
65111// SetExperimentName sets the ExperimentName field's value.
65112func (s *Parent) SetExperimentName(v string) *Parent {
65113	s.ExperimentName = &v
65114	return s
65115}
65116
65117// SetTrialName sets the TrialName field's value.
65118func (s *Parent) SetTrialName(v string) *Parent {
65119	s.TrialName = &v
65120	return s
65121}
65122
65123// A previously completed or stopped hyperparameter tuning job to be used as
65124// a starting point for a new hyperparameter tuning job.
65125type ParentHyperParameterTuningJob struct {
65126	_ struct{} `type:"structure"`
65127
65128	// The name of the hyperparameter tuning job to be used as a starting point
65129	// for a new hyperparameter tuning job.
65130	HyperParameterTuningJobName *string `min:"1" type:"string"`
65131}
65132
65133// String returns the string representation
65134func (s ParentHyperParameterTuningJob) String() string {
65135	return awsutil.Prettify(s)
65136}
65137
65138// GoString returns the string representation
65139func (s ParentHyperParameterTuningJob) GoString() string {
65140	return s.String()
65141}
65142
65143// Validate inspects the fields of the type to determine if they are valid.
65144func (s *ParentHyperParameterTuningJob) Validate() error {
65145	invalidParams := request.ErrInvalidParams{Context: "ParentHyperParameterTuningJob"}
65146	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
65147		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
65148	}
65149
65150	if invalidParams.Len() > 0 {
65151		return invalidParams
65152	}
65153	return nil
65154}
65155
65156// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
65157func (s *ParentHyperParameterTuningJob) SetHyperParameterTuningJobName(v string) *ParentHyperParameterTuningJob {
65158	s.HyperParameterTuningJobName = &v
65159	return s
65160}
65161
65162// A SageMaker Model Building Pipeline instance.
65163type Pipeline struct {
65164	_ struct{} `type:"structure"`
65165
65166	// Information about the user who created or modified an experiment, trial,
65167	// or trial component.
65168	CreatedBy *UserContext `type:"structure"`
65169
65170	// The creation time of the pipeline.
65171	CreationTime *time.Time `type:"timestamp"`
65172
65173	// Information about the user who created or modified an experiment, trial,
65174	// or trial component.
65175	LastModifiedBy *UserContext `type:"structure"`
65176
65177	// The time that the pipeline was last modified.
65178	LastModifiedTime *time.Time `type:"timestamp"`
65179
65180	// The time when the pipeline was last run.
65181	LastRunTime *time.Time `type:"timestamp"`
65182
65183	// The Amazon Resource Name (ARN) of the pipeline.
65184	PipelineArn *string `type:"string"`
65185
65186	// The description of the pipeline.
65187	PipelineDescription *string `type:"string"`
65188
65189	// The display name of the pipeline.
65190	PipelineDisplayName *string `min:"1" type:"string"`
65191
65192	// The name of the pipeline.
65193	PipelineName *string `min:"1" type:"string"`
65194
65195	// The status of the pipeline.
65196	PipelineStatus *string `type:"string" enum:"PipelineStatus"`
65197
65198	// The Amazon Resource Name (ARN) of the role that created the pipeline.
65199	RoleArn *string `min:"20" type:"string"`
65200
65201	// A list of tags that apply to the pipeline.
65202	Tags []*Tag `type:"list"`
65203}
65204
65205// String returns the string representation
65206func (s Pipeline) String() string {
65207	return awsutil.Prettify(s)
65208}
65209
65210// GoString returns the string representation
65211func (s Pipeline) GoString() string {
65212	return s.String()
65213}
65214
65215// SetCreatedBy sets the CreatedBy field's value.
65216func (s *Pipeline) SetCreatedBy(v *UserContext) *Pipeline {
65217	s.CreatedBy = v
65218	return s
65219}
65220
65221// SetCreationTime sets the CreationTime field's value.
65222func (s *Pipeline) SetCreationTime(v time.Time) *Pipeline {
65223	s.CreationTime = &v
65224	return s
65225}
65226
65227// SetLastModifiedBy sets the LastModifiedBy field's value.
65228func (s *Pipeline) SetLastModifiedBy(v *UserContext) *Pipeline {
65229	s.LastModifiedBy = v
65230	return s
65231}
65232
65233// SetLastModifiedTime sets the LastModifiedTime field's value.
65234func (s *Pipeline) SetLastModifiedTime(v time.Time) *Pipeline {
65235	s.LastModifiedTime = &v
65236	return s
65237}
65238
65239// SetLastRunTime sets the LastRunTime field's value.
65240func (s *Pipeline) SetLastRunTime(v time.Time) *Pipeline {
65241	s.LastRunTime = &v
65242	return s
65243}
65244
65245// SetPipelineArn sets the PipelineArn field's value.
65246func (s *Pipeline) SetPipelineArn(v string) *Pipeline {
65247	s.PipelineArn = &v
65248	return s
65249}
65250
65251// SetPipelineDescription sets the PipelineDescription field's value.
65252func (s *Pipeline) SetPipelineDescription(v string) *Pipeline {
65253	s.PipelineDescription = &v
65254	return s
65255}
65256
65257// SetPipelineDisplayName sets the PipelineDisplayName field's value.
65258func (s *Pipeline) SetPipelineDisplayName(v string) *Pipeline {
65259	s.PipelineDisplayName = &v
65260	return s
65261}
65262
65263// SetPipelineName sets the PipelineName field's value.
65264func (s *Pipeline) SetPipelineName(v string) *Pipeline {
65265	s.PipelineName = &v
65266	return s
65267}
65268
65269// SetPipelineStatus sets the PipelineStatus field's value.
65270func (s *Pipeline) SetPipelineStatus(v string) *Pipeline {
65271	s.PipelineStatus = &v
65272	return s
65273}
65274
65275// SetRoleArn sets the RoleArn field's value.
65276func (s *Pipeline) SetRoleArn(v string) *Pipeline {
65277	s.RoleArn = &v
65278	return s
65279}
65280
65281// SetTags sets the Tags field's value.
65282func (s *Pipeline) SetTags(v []*Tag) *Pipeline {
65283	s.Tags = v
65284	return s
65285}
65286
65287// An execution of a pipeline.
65288type PipelineExecution struct {
65289	_ struct{} `type:"structure"`
65290
65291	// Information about the user who created or modified an experiment, trial,
65292	// or trial component.
65293	CreatedBy *UserContext `type:"structure"`
65294
65295	// The creation time of the pipeline execution.
65296	CreationTime *time.Time `type:"timestamp"`
65297
65298	// Information about the user who created or modified an experiment, trial,
65299	// or trial component.
65300	LastModifiedBy *UserContext `type:"structure"`
65301
65302	// The time that the pipeline execution was last modified.
65303	LastModifiedTime *time.Time `type:"timestamp"`
65304
65305	// The Amazon Resource Name (ARN) of the pipeline that was executed.
65306	PipelineArn *string `type:"string"`
65307
65308	// The Amazon Resource Name (ARN) of the pipeline execution.
65309	PipelineExecutionArn *string `type:"string"`
65310
65311	// The description of the pipeline execution.
65312	PipelineExecutionDescription *string `type:"string"`
65313
65314	// The display name of the pipeline execution.
65315	PipelineExecutionDisplayName *string `min:"1" type:"string"`
65316
65317	// The status of the pipeline status.
65318	PipelineExecutionStatus *string `type:"string" enum:"PipelineExecutionStatus"`
65319
65320	// Contains a list of pipeline parameters. This list can be empty.
65321	PipelineParameters []*Parameter `type:"list"`
65322}
65323
65324// String returns the string representation
65325func (s PipelineExecution) String() string {
65326	return awsutil.Prettify(s)
65327}
65328
65329// GoString returns the string representation
65330func (s PipelineExecution) GoString() string {
65331	return s.String()
65332}
65333
65334// SetCreatedBy sets the CreatedBy field's value.
65335func (s *PipelineExecution) SetCreatedBy(v *UserContext) *PipelineExecution {
65336	s.CreatedBy = v
65337	return s
65338}
65339
65340// SetCreationTime sets the CreationTime field's value.
65341func (s *PipelineExecution) SetCreationTime(v time.Time) *PipelineExecution {
65342	s.CreationTime = &v
65343	return s
65344}
65345
65346// SetLastModifiedBy sets the LastModifiedBy field's value.
65347func (s *PipelineExecution) SetLastModifiedBy(v *UserContext) *PipelineExecution {
65348	s.LastModifiedBy = v
65349	return s
65350}
65351
65352// SetLastModifiedTime sets the LastModifiedTime field's value.
65353func (s *PipelineExecution) SetLastModifiedTime(v time.Time) *PipelineExecution {
65354	s.LastModifiedTime = &v
65355	return s
65356}
65357
65358// SetPipelineArn sets the PipelineArn field's value.
65359func (s *PipelineExecution) SetPipelineArn(v string) *PipelineExecution {
65360	s.PipelineArn = &v
65361	return s
65362}
65363
65364// SetPipelineExecutionArn sets the PipelineExecutionArn field's value.
65365func (s *PipelineExecution) SetPipelineExecutionArn(v string) *PipelineExecution {
65366	s.PipelineExecutionArn = &v
65367	return s
65368}
65369
65370// SetPipelineExecutionDescription sets the PipelineExecutionDescription field's value.
65371func (s *PipelineExecution) SetPipelineExecutionDescription(v string) *PipelineExecution {
65372	s.PipelineExecutionDescription = &v
65373	return s
65374}
65375
65376// SetPipelineExecutionDisplayName sets the PipelineExecutionDisplayName field's value.
65377func (s *PipelineExecution) SetPipelineExecutionDisplayName(v string) *PipelineExecution {
65378	s.PipelineExecutionDisplayName = &v
65379	return s
65380}
65381
65382// SetPipelineExecutionStatus sets the PipelineExecutionStatus field's value.
65383func (s *PipelineExecution) SetPipelineExecutionStatus(v string) *PipelineExecution {
65384	s.PipelineExecutionStatus = &v
65385	return s
65386}
65387
65388// SetPipelineParameters sets the PipelineParameters field's value.
65389func (s *PipelineExecution) SetPipelineParameters(v []*Parameter) *PipelineExecution {
65390	s.PipelineParameters = v
65391	return s
65392}
65393
65394// An execution of a step in a pipeline.
65395type PipelineExecutionStep struct {
65396	_ struct{} `type:"structure"`
65397
65398	// If this pipeline execution step was cached, details on the cache hit.
65399	CacheHitResult *CacheHitResult `type:"structure"`
65400
65401	// The time that the step stopped executing.
65402	EndTime *time.Time `type:"timestamp"`
65403
65404	// The reason why the step failed execution. This is only returned if the step
65405	// failed its execution.
65406	FailureReason *string `type:"string"`
65407
65408	// The metadata for the step execution.
65409	Metadata *PipelineExecutionStepMetadata `type:"structure"`
65410
65411	// The time that the step started executing.
65412	StartTime *time.Time `type:"timestamp"`
65413
65414	// The name of the step that is executed.
65415	StepName *string `type:"string"`
65416
65417	// The status of the step execution.
65418	StepStatus *string `type:"string" enum:"StepStatus"`
65419}
65420
65421// String returns the string representation
65422func (s PipelineExecutionStep) String() string {
65423	return awsutil.Prettify(s)
65424}
65425
65426// GoString returns the string representation
65427func (s PipelineExecutionStep) GoString() string {
65428	return s.String()
65429}
65430
65431// SetCacheHitResult sets the CacheHitResult field's value.
65432func (s *PipelineExecutionStep) SetCacheHitResult(v *CacheHitResult) *PipelineExecutionStep {
65433	s.CacheHitResult = v
65434	return s
65435}
65436
65437// SetEndTime sets the EndTime field's value.
65438func (s *PipelineExecutionStep) SetEndTime(v time.Time) *PipelineExecutionStep {
65439	s.EndTime = &v
65440	return s
65441}
65442
65443// SetFailureReason sets the FailureReason field's value.
65444func (s *PipelineExecutionStep) SetFailureReason(v string) *PipelineExecutionStep {
65445	s.FailureReason = &v
65446	return s
65447}
65448
65449// SetMetadata sets the Metadata field's value.
65450func (s *PipelineExecutionStep) SetMetadata(v *PipelineExecutionStepMetadata) *PipelineExecutionStep {
65451	s.Metadata = v
65452	return s
65453}
65454
65455// SetStartTime sets the StartTime field's value.
65456func (s *PipelineExecutionStep) SetStartTime(v time.Time) *PipelineExecutionStep {
65457	s.StartTime = &v
65458	return s
65459}
65460
65461// SetStepName sets the StepName field's value.
65462func (s *PipelineExecutionStep) SetStepName(v string) *PipelineExecutionStep {
65463	s.StepName = &v
65464	return s
65465}
65466
65467// SetStepStatus sets the StepStatus field's value.
65468func (s *PipelineExecutionStep) SetStepStatus(v string) *PipelineExecutionStep {
65469	s.StepStatus = &v
65470	return s
65471}
65472
65473// Metadata for a step execution.
65474type PipelineExecutionStepMetadata struct {
65475	_ struct{} `type:"structure"`
65476
65477	// If this is a Condition step metadata object, details on the condition.
65478	Condition *ConditionStepMetadata `type:"structure"`
65479
65480	// Metadata for the Model step.
65481	Model *ModelStepMetadata `type:"structure"`
65482
65483	// The Amazon Resource Name (ARN) of the processing job that was run by this
65484	// step execution.
65485	ProcessingJob *ProcessingJobStepMetadata `type:"structure"`
65486
65487	// Metadata for the RegisterModel step.
65488	RegisterModel *RegisterModelStepMetadata `type:"structure"`
65489
65490	// The Amazon Resource Name (ARN) of the training job that was run by this step
65491	// execution.
65492	TrainingJob *TrainingJobStepMetadata `type:"structure"`
65493
65494	// The Amazon Resource Name (ARN) of the transform job that was run by this
65495	// step execution.
65496	TransformJob *TransformJobStepMetadata `type:"structure"`
65497}
65498
65499// String returns the string representation
65500func (s PipelineExecutionStepMetadata) String() string {
65501	return awsutil.Prettify(s)
65502}
65503
65504// GoString returns the string representation
65505func (s PipelineExecutionStepMetadata) GoString() string {
65506	return s.String()
65507}
65508
65509// SetCondition sets the Condition field's value.
65510func (s *PipelineExecutionStepMetadata) SetCondition(v *ConditionStepMetadata) *PipelineExecutionStepMetadata {
65511	s.Condition = v
65512	return s
65513}
65514
65515// SetModel sets the Model field's value.
65516func (s *PipelineExecutionStepMetadata) SetModel(v *ModelStepMetadata) *PipelineExecutionStepMetadata {
65517	s.Model = v
65518	return s
65519}
65520
65521// SetProcessingJob sets the ProcessingJob field's value.
65522func (s *PipelineExecutionStepMetadata) SetProcessingJob(v *ProcessingJobStepMetadata) *PipelineExecutionStepMetadata {
65523	s.ProcessingJob = v
65524	return s
65525}
65526
65527// SetRegisterModel sets the RegisterModel field's value.
65528func (s *PipelineExecutionStepMetadata) SetRegisterModel(v *RegisterModelStepMetadata) *PipelineExecutionStepMetadata {
65529	s.RegisterModel = v
65530	return s
65531}
65532
65533// SetTrainingJob sets the TrainingJob field's value.
65534func (s *PipelineExecutionStepMetadata) SetTrainingJob(v *TrainingJobStepMetadata) *PipelineExecutionStepMetadata {
65535	s.TrainingJob = v
65536	return s
65537}
65538
65539// SetTransformJob sets the TransformJob field's value.
65540func (s *PipelineExecutionStepMetadata) SetTransformJob(v *TransformJobStepMetadata) *PipelineExecutionStepMetadata {
65541	s.TransformJob = v
65542	return s
65543}
65544
65545// A pipeline execution summary.
65546type PipelineExecutionSummary struct {
65547	_ struct{} `type:"structure"`
65548
65549	// The Amazon Resource Name (ARN) of the pipeline execution.
65550	PipelineExecutionArn *string `type:"string"`
65551
65552	// The description of the pipeline execution.
65553	PipelineExecutionDescription *string `type:"string"`
65554
65555	// The display name of the pipeline execution.
65556	PipelineExecutionDisplayName *string `min:"1" type:"string"`
65557
65558	// The status of the pipeline execution.
65559	PipelineExecutionStatus *string `type:"string" enum:"PipelineExecutionStatus"`
65560
65561	// The start time of the pipeline execution.
65562	StartTime *time.Time `type:"timestamp"`
65563}
65564
65565// String returns the string representation
65566func (s PipelineExecutionSummary) String() string {
65567	return awsutil.Prettify(s)
65568}
65569
65570// GoString returns the string representation
65571func (s PipelineExecutionSummary) GoString() string {
65572	return s.String()
65573}
65574
65575// SetPipelineExecutionArn sets the PipelineExecutionArn field's value.
65576func (s *PipelineExecutionSummary) SetPipelineExecutionArn(v string) *PipelineExecutionSummary {
65577	s.PipelineExecutionArn = &v
65578	return s
65579}
65580
65581// SetPipelineExecutionDescription sets the PipelineExecutionDescription field's value.
65582func (s *PipelineExecutionSummary) SetPipelineExecutionDescription(v string) *PipelineExecutionSummary {
65583	s.PipelineExecutionDescription = &v
65584	return s
65585}
65586
65587// SetPipelineExecutionDisplayName sets the PipelineExecutionDisplayName field's value.
65588func (s *PipelineExecutionSummary) SetPipelineExecutionDisplayName(v string) *PipelineExecutionSummary {
65589	s.PipelineExecutionDisplayName = &v
65590	return s
65591}
65592
65593// SetPipelineExecutionStatus sets the PipelineExecutionStatus field's value.
65594func (s *PipelineExecutionSummary) SetPipelineExecutionStatus(v string) *PipelineExecutionSummary {
65595	s.PipelineExecutionStatus = &v
65596	return s
65597}
65598
65599// SetStartTime sets the StartTime field's value.
65600func (s *PipelineExecutionSummary) SetStartTime(v time.Time) *PipelineExecutionSummary {
65601	s.StartTime = &v
65602	return s
65603}
65604
65605// A summary of a pipeline.
65606type PipelineSummary struct {
65607	_ struct{} `type:"structure"`
65608
65609	// The creation time of the pipeline.
65610	CreationTime *time.Time `type:"timestamp"`
65611
65612	// The last time that a pipeline execution began.
65613	LastExecutionTime *time.Time `type:"timestamp"`
65614
65615	// The time that the pipeline was last modified.
65616	LastModifiedTime *time.Time `type:"timestamp"`
65617
65618	// The Amazon Resource Name (ARN) of the pipeline.
65619	PipelineArn *string `type:"string"`
65620
65621	// The description of the pipeline.
65622	PipelineDescription *string `type:"string"`
65623
65624	// The display name of the pipeline.
65625	PipelineDisplayName *string `min:"1" type:"string"`
65626
65627	// The name of the pipeline.
65628	PipelineName *string `min:"1" type:"string"`
65629
65630	// The Amazon Resource Name (ARN) that the pipeline used to execute.
65631	RoleArn *string `min:"20" type:"string"`
65632}
65633
65634// String returns the string representation
65635func (s PipelineSummary) String() string {
65636	return awsutil.Prettify(s)
65637}
65638
65639// GoString returns the string representation
65640func (s PipelineSummary) GoString() string {
65641	return s.String()
65642}
65643
65644// SetCreationTime sets the CreationTime field's value.
65645func (s *PipelineSummary) SetCreationTime(v time.Time) *PipelineSummary {
65646	s.CreationTime = &v
65647	return s
65648}
65649
65650// SetLastExecutionTime sets the LastExecutionTime field's value.
65651func (s *PipelineSummary) SetLastExecutionTime(v time.Time) *PipelineSummary {
65652	s.LastExecutionTime = &v
65653	return s
65654}
65655
65656// SetLastModifiedTime sets the LastModifiedTime field's value.
65657func (s *PipelineSummary) SetLastModifiedTime(v time.Time) *PipelineSummary {
65658	s.LastModifiedTime = &v
65659	return s
65660}
65661
65662// SetPipelineArn sets the PipelineArn field's value.
65663func (s *PipelineSummary) SetPipelineArn(v string) *PipelineSummary {
65664	s.PipelineArn = &v
65665	return s
65666}
65667
65668// SetPipelineDescription sets the PipelineDescription field's value.
65669func (s *PipelineSummary) SetPipelineDescription(v string) *PipelineSummary {
65670	s.PipelineDescription = &v
65671	return s
65672}
65673
65674// SetPipelineDisplayName sets the PipelineDisplayName field's value.
65675func (s *PipelineSummary) SetPipelineDisplayName(v string) *PipelineSummary {
65676	s.PipelineDisplayName = &v
65677	return s
65678}
65679
65680// SetPipelineName sets the PipelineName field's value.
65681func (s *PipelineSummary) SetPipelineName(v string) *PipelineSummary {
65682	s.PipelineName = &v
65683	return s
65684}
65685
65686// SetRoleArn sets the RoleArn field's value.
65687func (s *PipelineSummary) SetRoleArn(v string) *PipelineSummary {
65688	s.RoleArn = &v
65689	return s
65690}
65691
65692// Configuration for the cluster used to run a processing job.
65693type ProcessingClusterConfig struct {
65694	_ struct{} `type:"structure"`
65695
65696	// The number of ML compute instances to use in the processing job. For distributed
65697	// processing jobs, specify a value greater than 1. The default value is 1.
65698	//
65699	// InstanceCount is a required field
65700	InstanceCount *int64 `min:"1" type:"integer" required:"true"`
65701
65702	// The ML compute instance type for the processing job.
65703	//
65704	// InstanceType is a required field
65705	InstanceType *string `type:"string" required:"true" enum:"ProcessingInstanceType"`
65706
65707	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
65708	// encrypt data on the storage volume attached to the ML compute instance(s)
65709	// that run the processing job.
65710	VolumeKmsKeyId *string `type:"string"`
65711
65712	// The size of the ML storage volume in gigabytes that you want to provision.
65713	// You must specify sufficient ML storage for your scenario.
65714	//
65715	// VolumeSizeInGB is a required field
65716	VolumeSizeInGB *int64 `min:"1" type:"integer" required:"true"`
65717}
65718
65719// String returns the string representation
65720func (s ProcessingClusterConfig) String() string {
65721	return awsutil.Prettify(s)
65722}
65723
65724// GoString returns the string representation
65725func (s ProcessingClusterConfig) GoString() string {
65726	return s.String()
65727}
65728
65729// Validate inspects the fields of the type to determine if they are valid.
65730func (s *ProcessingClusterConfig) Validate() error {
65731	invalidParams := request.ErrInvalidParams{Context: "ProcessingClusterConfig"}
65732	if s.InstanceCount == nil {
65733		invalidParams.Add(request.NewErrParamRequired("InstanceCount"))
65734	}
65735	if s.InstanceCount != nil && *s.InstanceCount < 1 {
65736		invalidParams.Add(request.NewErrParamMinValue("InstanceCount", 1))
65737	}
65738	if s.InstanceType == nil {
65739		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
65740	}
65741	if s.VolumeSizeInGB == nil {
65742		invalidParams.Add(request.NewErrParamRequired("VolumeSizeInGB"))
65743	}
65744	if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 1 {
65745		invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 1))
65746	}
65747
65748	if invalidParams.Len() > 0 {
65749		return invalidParams
65750	}
65751	return nil
65752}
65753
65754// SetInstanceCount sets the InstanceCount field's value.
65755func (s *ProcessingClusterConfig) SetInstanceCount(v int64) *ProcessingClusterConfig {
65756	s.InstanceCount = &v
65757	return s
65758}
65759
65760// SetInstanceType sets the InstanceType field's value.
65761func (s *ProcessingClusterConfig) SetInstanceType(v string) *ProcessingClusterConfig {
65762	s.InstanceType = &v
65763	return s
65764}
65765
65766// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
65767func (s *ProcessingClusterConfig) SetVolumeKmsKeyId(v string) *ProcessingClusterConfig {
65768	s.VolumeKmsKeyId = &v
65769	return s
65770}
65771
65772// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
65773func (s *ProcessingClusterConfig) SetVolumeSizeInGB(v int64) *ProcessingClusterConfig {
65774	s.VolumeSizeInGB = &v
65775	return s
65776}
65777
65778// Configuration for processing job outputs in Amazon SageMaker Feature Store.
65779type ProcessingFeatureStoreOutput struct {
65780	_ struct{} `type:"structure"`
65781
65782	// The name of the Amazon SageMaker FeatureGroup to use as the destination for
65783	// processing job output. Note that your processing script is responsible for
65784	// putting records into your Feature Store.
65785	//
65786	// FeatureGroupName is a required field
65787	FeatureGroupName *string `min:"1" type:"string" required:"true"`
65788}
65789
65790// String returns the string representation
65791func (s ProcessingFeatureStoreOutput) String() string {
65792	return awsutil.Prettify(s)
65793}
65794
65795// GoString returns the string representation
65796func (s ProcessingFeatureStoreOutput) GoString() string {
65797	return s.String()
65798}
65799
65800// Validate inspects the fields of the type to determine if they are valid.
65801func (s *ProcessingFeatureStoreOutput) Validate() error {
65802	invalidParams := request.ErrInvalidParams{Context: "ProcessingFeatureStoreOutput"}
65803	if s.FeatureGroupName == nil {
65804		invalidParams.Add(request.NewErrParamRequired("FeatureGroupName"))
65805	}
65806	if s.FeatureGroupName != nil && len(*s.FeatureGroupName) < 1 {
65807		invalidParams.Add(request.NewErrParamMinLen("FeatureGroupName", 1))
65808	}
65809
65810	if invalidParams.Len() > 0 {
65811		return invalidParams
65812	}
65813	return nil
65814}
65815
65816// SetFeatureGroupName sets the FeatureGroupName field's value.
65817func (s *ProcessingFeatureStoreOutput) SetFeatureGroupName(v string) *ProcessingFeatureStoreOutput {
65818	s.FeatureGroupName = &v
65819	return s
65820}
65821
65822// The inputs for a processing job. The processing input must specify exactly
65823// one of either S3Input or DatasetDefinition types.
65824type ProcessingInput struct {
65825	_ struct{} `type:"structure"`
65826
65827	// When True, input operations such as data download are managed natively by
65828	// the processing job application. When False (default), input operations are
65829	// managed by Amazon SageMaker.
65830	AppManaged *bool `type:"boolean"`
65831
65832	// Configuration for a Dataset Definition input.
65833	DatasetDefinition *DatasetDefinition `type:"structure"`
65834
65835	// The name for the processing job input.
65836	//
65837	// InputName is a required field
65838	InputName *string `type:"string" required:"true"`
65839
65840	// Configuration for downloading input data from Amazon S3 into the processing
65841	// container.
65842	S3Input *ProcessingS3Input `type:"structure"`
65843}
65844
65845// String returns the string representation
65846func (s ProcessingInput) String() string {
65847	return awsutil.Prettify(s)
65848}
65849
65850// GoString returns the string representation
65851func (s ProcessingInput) GoString() string {
65852	return s.String()
65853}
65854
65855// Validate inspects the fields of the type to determine if they are valid.
65856func (s *ProcessingInput) Validate() error {
65857	invalidParams := request.ErrInvalidParams{Context: "ProcessingInput"}
65858	if s.InputName == nil {
65859		invalidParams.Add(request.NewErrParamRequired("InputName"))
65860	}
65861	if s.DatasetDefinition != nil {
65862		if err := s.DatasetDefinition.Validate(); err != nil {
65863			invalidParams.AddNested("DatasetDefinition", err.(request.ErrInvalidParams))
65864		}
65865	}
65866	if s.S3Input != nil {
65867		if err := s.S3Input.Validate(); err != nil {
65868			invalidParams.AddNested("S3Input", err.(request.ErrInvalidParams))
65869		}
65870	}
65871
65872	if invalidParams.Len() > 0 {
65873		return invalidParams
65874	}
65875	return nil
65876}
65877
65878// SetAppManaged sets the AppManaged field's value.
65879func (s *ProcessingInput) SetAppManaged(v bool) *ProcessingInput {
65880	s.AppManaged = &v
65881	return s
65882}
65883
65884// SetDatasetDefinition sets the DatasetDefinition field's value.
65885func (s *ProcessingInput) SetDatasetDefinition(v *DatasetDefinition) *ProcessingInput {
65886	s.DatasetDefinition = v
65887	return s
65888}
65889
65890// SetInputName sets the InputName field's value.
65891func (s *ProcessingInput) SetInputName(v string) *ProcessingInput {
65892	s.InputName = &v
65893	return s
65894}
65895
65896// SetS3Input sets the S3Input field's value.
65897func (s *ProcessingInput) SetS3Input(v *ProcessingS3Input) *ProcessingInput {
65898	s.S3Input = v
65899	return s
65900}
65901
65902// An Amazon SageMaker processing job that is used to analyze data and evaluate
65903// models. For more information, see Process Data and Evaluate Models (https://docs.aws.amazon.com/sagemaker/latest/dg/processing-job.html).
65904type ProcessingJob struct {
65905	_ struct{} `type:"structure"`
65906
65907	// Configuration to run a processing job in a specified container image.
65908	AppSpecification *AppSpecification `type:"structure"`
65909
65910	// The Amazon Resource Name (ARN) of the AutoML job associated with this processing
65911	// job.
65912	AutoMLJobArn *string `min:"1" type:"string"`
65913
65914	// The time the processing job was created.
65915	CreationTime *time.Time `type:"timestamp"`
65916
65917	// Sets the environment variables in the Docker container.
65918	Environment map[string]*string `type:"map"`
65919
65920	// A string, up to one KB in size, that contains metadata from the processing
65921	// container when the processing job exits.
65922	ExitMessage *string `type:"string"`
65923
65924	// Associates a SageMaker job as a trial component with an experiment and trial.
65925	// Specified when you call the following APIs:
65926	//
65927	//    * CreateProcessingJob
65928	//
65929	//    * CreateTrainingJob
65930	//
65931	//    * CreateTransformJob
65932	ExperimentConfig *ExperimentConfig `type:"structure"`
65933
65934	// A string, up to one KB in size, that contains the reason a processing job
65935	// failed, if it failed.
65936	FailureReason *string `type:"string"`
65937
65938	// The time the processing job was last modified.
65939	LastModifiedTime *time.Time `type:"timestamp"`
65940
65941	// The ARN of a monitoring schedule for an endpoint associated with this processing
65942	// job.
65943	MonitoringScheduleArn *string `type:"string"`
65944
65945	// Networking options for a job, such as network traffic encryption between
65946	// containers, whether to allow inbound and outbound network calls to and from
65947	// containers, and the VPC subnets and security groups to use for VPC-enabled
65948	// jobs.
65949	NetworkConfig *NetworkConfig `type:"structure"`
65950
65951	// The time that the processing job ended.
65952	ProcessingEndTime *time.Time `type:"timestamp"`
65953
65954	// List of input configurations for the processing job.
65955	ProcessingInputs []*ProcessingInput `type:"list"`
65956
65957	// The ARN of the processing job.
65958	ProcessingJobArn *string `type:"string"`
65959
65960	// The name of the processing job.
65961	ProcessingJobName *string `min:"1" type:"string"`
65962
65963	// The status of the processing job.
65964	ProcessingJobStatus *string `type:"string" enum:"ProcessingJobStatus"`
65965
65966	// Configuration for uploading output from the processing container.
65967	ProcessingOutputConfig *ProcessingOutputConfig `type:"structure"`
65968
65969	// Identifies the resources, ML compute instances, and ML storage volumes to
65970	// deploy for a processing job. In distributed training, you specify more than
65971	// one instance.
65972	ProcessingResources *ProcessingResources `type:"structure"`
65973
65974	// The time that the processing job started.
65975	ProcessingStartTime *time.Time `type:"timestamp"`
65976
65977	// The ARN of the role used to create the processing job.
65978	RoleArn *string `min:"20" type:"string"`
65979
65980	// Configures conditions under which the processing job should be stopped, such
65981	// as how long the processing job has been running. After the condition is met,
65982	// the processing job is stopped.
65983	StoppingCondition *ProcessingStoppingCondition `type:"structure"`
65984
65985	// An array of key-value pairs. For more information, see Using Cost Allocation
65986	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL)
65987	// in the AWS Billing and Cost Management User Guide.
65988	Tags []*Tag `type:"list"`
65989
65990	// The ARN of the training job associated with this processing job.
65991	TrainingJobArn *string `type:"string"`
65992}
65993
65994// String returns the string representation
65995func (s ProcessingJob) String() string {
65996	return awsutil.Prettify(s)
65997}
65998
65999// GoString returns the string representation
66000func (s ProcessingJob) GoString() string {
66001	return s.String()
66002}
66003
66004// SetAppSpecification sets the AppSpecification field's value.
66005func (s *ProcessingJob) SetAppSpecification(v *AppSpecification) *ProcessingJob {
66006	s.AppSpecification = v
66007	return s
66008}
66009
66010// SetAutoMLJobArn sets the AutoMLJobArn field's value.
66011func (s *ProcessingJob) SetAutoMLJobArn(v string) *ProcessingJob {
66012	s.AutoMLJobArn = &v
66013	return s
66014}
66015
66016// SetCreationTime sets the CreationTime field's value.
66017func (s *ProcessingJob) SetCreationTime(v time.Time) *ProcessingJob {
66018	s.CreationTime = &v
66019	return s
66020}
66021
66022// SetEnvironment sets the Environment field's value.
66023func (s *ProcessingJob) SetEnvironment(v map[string]*string) *ProcessingJob {
66024	s.Environment = v
66025	return s
66026}
66027
66028// SetExitMessage sets the ExitMessage field's value.
66029func (s *ProcessingJob) SetExitMessage(v string) *ProcessingJob {
66030	s.ExitMessage = &v
66031	return s
66032}
66033
66034// SetExperimentConfig sets the ExperimentConfig field's value.
66035func (s *ProcessingJob) SetExperimentConfig(v *ExperimentConfig) *ProcessingJob {
66036	s.ExperimentConfig = v
66037	return s
66038}
66039
66040// SetFailureReason sets the FailureReason field's value.
66041func (s *ProcessingJob) SetFailureReason(v string) *ProcessingJob {
66042	s.FailureReason = &v
66043	return s
66044}
66045
66046// SetLastModifiedTime sets the LastModifiedTime field's value.
66047func (s *ProcessingJob) SetLastModifiedTime(v time.Time) *ProcessingJob {
66048	s.LastModifiedTime = &v
66049	return s
66050}
66051
66052// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
66053func (s *ProcessingJob) SetMonitoringScheduleArn(v string) *ProcessingJob {
66054	s.MonitoringScheduleArn = &v
66055	return s
66056}
66057
66058// SetNetworkConfig sets the NetworkConfig field's value.
66059func (s *ProcessingJob) SetNetworkConfig(v *NetworkConfig) *ProcessingJob {
66060	s.NetworkConfig = v
66061	return s
66062}
66063
66064// SetProcessingEndTime sets the ProcessingEndTime field's value.
66065func (s *ProcessingJob) SetProcessingEndTime(v time.Time) *ProcessingJob {
66066	s.ProcessingEndTime = &v
66067	return s
66068}
66069
66070// SetProcessingInputs sets the ProcessingInputs field's value.
66071func (s *ProcessingJob) SetProcessingInputs(v []*ProcessingInput) *ProcessingJob {
66072	s.ProcessingInputs = v
66073	return s
66074}
66075
66076// SetProcessingJobArn sets the ProcessingJobArn field's value.
66077func (s *ProcessingJob) SetProcessingJobArn(v string) *ProcessingJob {
66078	s.ProcessingJobArn = &v
66079	return s
66080}
66081
66082// SetProcessingJobName sets the ProcessingJobName field's value.
66083func (s *ProcessingJob) SetProcessingJobName(v string) *ProcessingJob {
66084	s.ProcessingJobName = &v
66085	return s
66086}
66087
66088// SetProcessingJobStatus sets the ProcessingJobStatus field's value.
66089func (s *ProcessingJob) SetProcessingJobStatus(v string) *ProcessingJob {
66090	s.ProcessingJobStatus = &v
66091	return s
66092}
66093
66094// SetProcessingOutputConfig sets the ProcessingOutputConfig field's value.
66095func (s *ProcessingJob) SetProcessingOutputConfig(v *ProcessingOutputConfig) *ProcessingJob {
66096	s.ProcessingOutputConfig = v
66097	return s
66098}
66099
66100// SetProcessingResources sets the ProcessingResources field's value.
66101func (s *ProcessingJob) SetProcessingResources(v *ProcessingResources) *ProcessingJob {
66102	s.ProcessingResources = v
66103	return s
66104}
66105
66106// SetProcessingStartTime sets the ProcessingStartTime field's value.
66107func (s *ProcessingJob) SetProcessingStartTime(v time.Time) *ProcessingJob {
66108	s.ProcessingStartTime = &v
66109	return s
66110}
66111
66112// SetRoleArn sets the RoleArn field's value.
66113func (s *ProcessingJob) SetRoleArn(v string) *ProcessingJob {
66114	s.RoleArn = &v
66115	return s
66116}
66117
66118// SetStoppingCondition sets the StoppingCondition field's value.
66119func (s *ProcessingJob) SetStoppingCondition(v *ProcessingStoppingCondition) *ProcessingJob {
66120	s.StoppingCondition = v
66121	return s
66122}
66123
66124// SetTags sets the Tags field's value.
66125func (s *ProcessingJob) SetTags(v []*Tag) *ProcessingJob {
66126	s.Tags = v
66127	return s
66128}
66129
66130// SetTrainingJobArn sets the TrainingJobArn field's value.
66131func (s *ProcessingJob) SetTrainingJobArn(v string) *ProcessingJob {
66132	s.TrainingJobArn = &v
66133	return s
66134}
66135
66136// Metadata for a processing job step.
66137type ProcessingJobStepMetadata struct {
66138	_ struct{} `type:"structure"`
66139
66140	// The Amazon Resource Name (ARN) of the processing job.
66141	Arn *string `type:"string"`
66142}
66143
66144// String returns the string representation
66145func (s ProcessingJobStepMetadata) String() string {
66146	return awsutil.Prettify(s)
66147}
66148
66149// GoString returns the string representation
66150func (s ProcessingJobStepMetadata) GoString() string {
66151	return s.String()
66152}
66153
66154// SetArn sets the Arn field's value.
66155func (s *ProcessingJobStepMetadata) SetArn(v string) *ProcessingJobStepMetadata {
66156	s.Arn = &v
66157	return s
66158}
66159
66160// Summary of information about a processing job.
66161type ProcessingJobSummary struct {
66162	_ struct{} `type:"structure"`
66163
66164	// The time at which the processing job was created.
66165	//
66166	// CreationTime is a required field
66167	CreationTime *time.Time `type:"timestamp" required:"true"`
66168
66169	// An optional string, up to one KB in size, that contains metadata from the
66170	// processing container when the processing job exits.
66171	ExitMessage *string `type:"string"`
66172
66173	// A string, up to one KB in size, that contains the reason a processing job
66174	// failed, if it failed.
66175	FailureReason *string `type:"string"`
66176
66177	// A timestamp that indicates the last time the processing job was modified.
66178	LastModifiedTime *time.Time `type:"timestamp"`
66179
66180	// The time at which the processing job completed.
66181	ProcessingEndTime *time.Time `type:"timestamp"`
66182
66183	// The Amazon Resource Name (ARN) of the processing job..
66184	//
66185	// ProcessingJobArn is a required field
66186	ProcessingJobArn *string `type:"string" required:"true"`
66187
66188	// The name of the processing job.
66189	//
66190	// ProcessingJobName is a required field
66191	ProcessingJobName *string `min:"1" type:"string" required:"true"`
66192
66193	// The status of the processing job.
66194	//
66195	// ProcessingJobStatus is a required field
66196	ProcessingJobStatus *string `type:"string" required:"true" enum:"ProcessingJobStatus"`
66197}
66198
66199// String returns the string representation
66200func (s ProcessingJobSummary) String() string {
66201	return awsutil.Prettify(s)
66202}
66203
66204// GoString returns the string representation
66205func (s ProcessingJobSummary) GoString() string {
66206	return s.String()
66207}
66208
66209// SetCreationTime sets the CreationTime field's value.
66210func (s *ProcessingJobSummary) SetCreationTime(v time.Time) *ProcessingJobSummary {
66211	s.CreationTime = &v
66212	return s
66213}
66214
66215// SetExitMessage sets the ExitMessage field's value.
66216func (s *ProcessingJobSummary) SetExitMessage(v string) *ProcessingJobSummary {
66217	s.ExitMessage = &v
66218	return s
66219}
66220
66221// SetFailureReason sets the FailureReason field's value.
66222func (s *ProcessingJobSummary) SetFailureReason(v string) *ProcessingJobSummary {
66223	s.FailureReason = &v
66224	return s
66225}
66226
66227// SetLastModifiedTime sets the LastModifiedTime field's value.
66228func (s *ProcessingJobSummary) SetLastModifiedTime(v time.Time) *ProcessingJobSummary {
66229	s.LastModifiedTime = &v
66230	return s
66231}
66232
66233// SetProcessingEndTime sets the ProcessingEndTime field's value.
66234func (s *ProcessingJobSummary) SetProcessingEndTime(v time.Time) *ProcessingJobSummary {
66235	s.ProcessingEndTime = &v
66236	return s
66237}
66238
66239// SetProcessingJobArn sets the ProcessingJobArn field's value.
66240func (s *ProcessingJobSummary) SetProcessingJobArn(v string) *ProcessingJobSummary {
66241	s.ProcessingJobArn = &v
66242	return s
66243}
66244
66245// SetProcessingJobName sets the ProcessingJobName field's value.
66246func (s *ProcessingJobSummary) SetProcessingJobName(v string) *ProcessingJobSummary {
66247	s.ProcessingJobName = &v
66248	return s
66249}
66250
66251// SetProcessingJobStatus sets the ProcessingJobStatus field's value.
66252func (s *ProcessingJobSummary) SetProcessingJobStatus(v string) *ProcessingJobSummary {
66253	s.ProcessingJobStatus = &v
66254	return s
66255}
66256
66257// Describes the results of a processing job. The processing output must specify
66258// exactly one of either S3Output or FeatureStoreOutput types.
66259type ProcessingOutput struct {
66260	_ struct{} `type:"structure"`
66261
66262	// When True, output operations such as data upload are managed natively by
66263	// the processing job application. When False (default), output operations are
66264	// managed by Amazon SageMaker.
66265	AppManaged *bool `type:"boolean"`
66266
66267	// Configuration for processing job outputs in Amazon SageMaker Feature Store.
66268	// This processing output type is only supported when AppManaged is specified.
66269	FeatureStoreOutput *ProcessingFeatureStoreOutput `type:"structure"`
66270
66271	// The name for the processing job output.
66272	//
66273	// OutputName is a required field
66274	OutputName *string `type:"string" required:"true"`
66275
66276	// Configuration for processing job outputs in Amazon S3.
66277	S3Output *ProcessingS3Output `type:"structure"`
66278}
66279
66280// String returns the string representation
66281func (s ProcessingOutput) String() string {
66282	return awsutil.Prettify(s)
66283}
66284
66285// GoString returns the string representation
66286func (s ProcessingOutput) GoString() string {
66287	return s.String()
66288}
66289
66290// Validate inspects the fields of the type to determine if they are valid.
66291func (s *ProcessingOutput) Validate() error {
66292	invalidParams := request.ErrInvalidParams{Context: "ProcessingOutput"}
66293	if s.OutputName == nil {
66294		invalidParams.Add(request.NewErrParamRequired("OutputName"))
66295	}
66296	if s.FeatureStoreOutput != nil {
66297		if err := s.FeatureStoreOutput.Validate(); err != nil {
66298			invalidParams.AddNested("FeatureStoreOutput", err.(request.ErrInvalidParams))
66299		}
66300	}
66301	if s.S3Output != nil {
66302		if err := s.S3Output.Validate(); err != nil {
66303			invalidParams.AddNested("S3Output", err.(request.ErrInvalidParams))
66304		}
66305	}
66306
66307	if invalidParams.Len() > 0 {
66308		return invalidParams
66309	}
66310	return nil
66311}
66312
66313// SetAppManaged sets the AppManaged field's value.
66314func (s *ProcessingOutput) SetAppManaged(v bool) *ProcessingOutput {
66315	s.AppManaged = &v
66316	return s
66317}
66318
66319// SetFeatureStoreOutput sets the FeatureStoreOutput field's value.
66320func (s *ProcessingOutput) SetFeatureStoreOutput(v *ProcessingFeatureStoreOutput) *ProcessingOutput {
66321	s.FeatureStoreOutput = v
66322	return s
66323}
66324
66325// SetOutputName sets the OutputName field's value.
66326func (s *ProcessingOutput) SetOutputName(v string) *ProcessingOutput {
66327	s.OutputName = &v
66328	return s
66329}
66330
66331// SetS3Output sets the S3Output field's value.
66332func (s *ProcessingOutput) SetS3Output(v *ProcessingS3Output) *ProcessingOutput {
66333	s.S3Output = v
66334	return s
66335}
66336
66337// Configuration for uploading output from the processing container.
66338type ProcessingOutputConfig struct {
66339	_ struct{} `type:"structure"`
66340
66341	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
66342	// encrypt the processing job output. KmsKeyId can be an ID of a KMS key, ARN
66343	// of a KMS key, alias of a KMS key, or alias of a KMS key. The KmsKeyId is
66344	// applied to all outputs.
66345	KmsKeyId *string `type:"string"`
66346
66347	// An array of outputs configuring the data to upload from the processing container.
66348	//
66349	// Outputs is a required field
66350	Outputs []*ProcessingOutput `type:"list" required:"true"`
66351}
66352
66353// String returns the string representation
66354func (s ProcessingOutputConfig) String() string {
66355	return awsutil.Prettify(s)
66356}
66357
66358// GoString returns the string representation
66359func (s ProcessingOutputConfig) GoString() string {
66360	return s.String()
66361}
66362
66363// Validate inspects the fields of the type to determine if they are valid.
66364func (s *ProcessingOutputConfig) Validate() error {
66365	invalidParams := request.ErrInvalidParams{Context: "ProcessingOutputConfig"}
66366	if s.Outputs == nil {
66367		invalidParams.Add(request.NewErrParamRequired("Outputs"))
66368	}
66369	if s.Outputs != nil {
66370		for i, v := range s.Outputs {
66371			if v == nil {
66372				continue
66373			}
66374			if err := v.Validate(); err != nil {
66375				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Outputs", i), err.(request.ErrInvalidParams))
66376			}
66377		}
66378	}
66379
66380	if invalidParams.Len() > 0 {
66381		return invalidParams
66382	}
66383	return nil
66384}
66385
66386// SetKmsKeyId sets the KmsKeyId field's value.
66387func (s *ProcessingOutputConfig) SetKmsKeyId(v string) *ProcessingOutputConfig {
66388	s.KmsKeyId = &v
66389	return s
66390}
66391
66392// SetOutputs sets the Outputs field's value.
66393func (s *ProcessingOutputConfig) SetOutputs(v []*ProcessingOutput) *ProcessingOutputConfig {
66394	s.Outputs = v
66395	return s
66396}
66397
66398// Identifies the resources, ML compute instances, and ML storage volumes to
66399// deploy for a processing job. In distributed training, you specify more than
66400// one instance.
66401type ProcessingResources struct {
66402	_ struct{} `type:"structure"`
66403
66404	// The configuration for the resources in a cluster used to run the processing
66405	// job.
66406	//
66407	// ClusterConfig is a required field
66408	ClusterConfig *ProcessingClusterConfig `type:"structure" required:"true"`
66409}
66410
66411// String returns the string representation
66412func (s ProcessingResources) String() string {
66413	return awsutil.Prettify(s)
66414}
66415
66416// GoString returns the string representation
66417func (s ProcessingResources) GoString() string {
66418	return s.String()
66419}
66420
66421// Validate inspects the fields of the type to determine if they are valid.
66422func (s *ProcessingResources) Validate() error {
66423	invalidParams := request.ErrInvalidParams{Context: "ProcessingResources"}
66424	if s.ClusterConfig == nil {
66425		invalidParams.Add(request.NewErrParamRequired("ClusterConfig"))
66426	}
66427	if s.ClusterConfig != nil {
66428		if err := s.ClusterConfig.Validate(); err != nil {
66429			invalidParams.AddNested("ClusterConfig", err.(request.ErrInvalidParams))
66430		}
66431	}
66432
66433	if invalidParams.Len() > 0 {
66434		return invalidParams
66435	}
66436	return nil
66437}
66438
66439// SetClusterConfig sets the ClusterConfig field's value.
66440func (s *ProcessingResources) SetClusterConfig(v *ProcessingClusterConfig) *ProcessingResources {
66441	s.ClusterConfig = v
66442	return s
66443}
66444
66445// Configuration for downloading input data from Amazon S3 into the processing
66446// container.
66447type ProcessingS3Input struct {
66448	_ struct{} `type:"structure"`
66449
66450	// The local path in your container where you want Amazon SageMaker to write
66451	// input data to. LocalPath is an absolute path to the input data and must begin
66452	// with /opt/ml/processing/. LocalPath is a required parameter when AppManaged
66453	// is False (default).
66454	LocalPath *string `type:"string"`
66455
66456	// Whether to GZIP-decompress the data in Amazon S3 as it is streamed into the
66457	// processing container. Gzip can only be used when Pipe mode is specified as
66458	// the S3InputMode. In Pipe mode, Amazon SageMaker streams input data from the
66459	// source directly to your container without using the EBS volume.
66460	S3CompressionType *string `type:"string" enum:"ProcessingS3CompressionType"`
66461
66462	// Whether to distribute the data from Amazon S3 to all processing instances
66463	// with FullyReplicated, or whether the data from Amazon S3 is shared by Amazon
66464	// S3 key, downloading one shard of data to each processing instance.
66465	S3DataDistributionType *string `type:"string" enum:"ProcessingS3DataDistributionType"`
66466
66467	// Whether you use an S3Prefix or a ManifestFile for the data type. If you choose
66468	// S3Prefix, S3Uri identifies a key name prefix. Amazon SageMaker uses all objects
66469	// with the specified key name prefix for the processing job. If you choose
66470	// ManifestFile, S3Uri identifies an object that is a manifest file containing
66471	// a list of object keys that you want Amazon SageMaker to use for the processing
66472	// job.
66473	//
66474	// S3DataType is a required field
66475	S3DataType *string `type:"string" required:"true" enum:"ProcessingS3DataType"`
66476
66477	// Whether to use File or Pipe input mode. In File mode, Amazon SageMaker copies
66478	// the data from the input source onto the local ML storage volume before starting
66479	// your processing container. This is the most commonly used input mode. In
66480	// Pipe mode, Amazon SageMaker streams input data from the source directly to
66481	// your processing container into named pipes without using the ML storage volume.
66482	S3InputMode *string `type:"string" enum:"ProcessingS3InputMode"`
66483
66484	// The URI of the Amazon S3 prefix Amazon SageMaker downloads data required
66485	// to run a processing job.
66486	//
66487	// S3Uri is a required field
66488	S3Uri *string `type:"string" required:"true"`
66489}
66490
66491// String returns the string representation
66492func (s ProcessingS3Input) String() string {
66493	return awsutil.Prettify(s)
66494}
66495
66496// GoString returns the string representation
66497func (s ProcessingS3Input) GoString() string {
66498	return s.String()
66499}
66500
66501// Validate inspects the fields of the type to determine if they are valid.
66502func (s *ProcessingS3Input) Validate() error {
66503	invalidParams := request.ErrInvalidParams{Context: "ProcessingS3Input"}
66504	if s.S3DataType == nil {
66505		invalidParams.Add(request.NewErrParamRequired("S3DataType"))
66506	}
66507	if s.S3Uri == nil {
66508		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
66509	}
66510
66511	if invalidParams.Len() > 0 {
66512		return invalidParams
66513	}
66514	return nil
66515}
66516
66517// SetLocalPath sets the LocalPath field's value.
66518func (s *ProcessingS3Input) SetLocalPath(v string) *ProcessingS3Input {
66519	s.LocalPath = &v
66520	return s
66521}
66522
66523// SetS3CompressionType sets the S3CompressionType field's value.
66524func (s *ProcessingS3Input) SetS3CompressionType(v string) *ProcessingS3Input {
66525	s.S3CompressionType = &v
66526	return s
66527}
66528
66529// SetS3DataDistributionType sets the S3DataDistributionType field's value.
66530func (s *ProcessingS3Input) SetS3DataDistributionType(v string) *ProcessingS3Input {
66531	s.S3DataDistributionType = &v
66532	return s
66533}
66534
66535// SetS3DataType sets the S3DataType field's value.
66536func (s *ProcessingS3Input) SetS3DataType(v string) *ProcessingS3Input {
66537	s.S3DataType = &v
66538	return s
66539}
66540
66541// SetS3InputMode sets the S3InputMode field's value.
66542func (s *ProcessingS3Input) SetS3InputMode(v string) *ProcessingS3Input {
66543	s.S3InputMode = &v
66544	return s
66545}
66546
66547// SetS3Uri sets the S3Uri field's value.
66548func (s *ProcessingS3Input) SetS3Uri(v string) *ProcessingS3Input {
66549	s.S3Uri = &v
66550	return s
66551}
66552
66553// Configuration for uploading output data to Amazon S3 from the processing
66554// container.
66555type ProcessingS3Output struct {
66556	_ struct{} `type:"structure"`
66557
66558	// The local path of a directory where you want Amazon SageMaker to upload its
66559	// contents to Amazon S3. LocalPath is an absolute path to a directory containing
66560	// output files. This directory will be created by the platform and exist when
66561	// your container's entrypoint is invoked.
66562	//
66563	// LocalPath is a required field
66564	LocalPath *string `type:"string" required:"true"`
66565
66566	// Whether to upload the results of the processing job continuously or after
66567	// the job completes.
66568	//
66569	// S3UploadMode is a required field
66570	S3UploadMode *string `type:"string" required:"true" enum:"ProcessingS3UploadMode"`
66571
66572	// A URI that identifies the Amazon S3 bucket where you want Amazon SageMaker
66573	// to save the results of a processing job.
66574	//
66575	// S3Uri is a required field
66576	S3Uri *string `type:"string" required:"true"`
66577}
66578
66579// String returns the string representation
66580func (s ProcessingS3Output) String() string {
66581	return awsutil.Prettify(s)
66582}
66583
66584// GoString returns the string representation
66585func (s ProcessingS3Output) GoString() string {
66586	return s.String()
66587}
66588
66589// Validate inspects the fields of the type to determine if they are valid.
66590func (s *ProcessingS3Output) Validate() error {
66591	invalidParams := request.ErrInvalidParams{Context: "ProcessingS3Output"}
66592	if s.LocalPath == nil {
66593		invalidParams.Add(request.NewErrParamRequired("LocalPath"))
66594	}
66595	if s.S3UploadMode == nil {
66596		invalidParams.Add(request.NewErrParamRequired("S3UploadMode"))
66597	}
66598	if s.S3Uri == nil {
66599		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
66600	}
66601
66602	if invalidParams.Len() > 0 {
66603		return invalidParams
66604	}
66605	return nil
66606}
66607
66608// SetLocalPath sets the LocalPath field's value.
66609func (s *ProcessingS3Output) SetLocalPath(v string) *ProcessingS3Output {
66610	s.LocalPath = &v
66611	return s
66612}
66613
66614// SetS3UploadMode sets the S3UploadMode field's value.
66615func (s *ProcessingS3Output) SetS3UploadMode(v string) *ProcessingS3Output {
66616	s.S3UploadMode = &v
66617	return s
66618}
66619
66620// SetS3Uri sets the S3Uri field's value.
66621func (s *ProcessingS3Output) SetS3Uri(v string) *ProcessingS3Output {
66622	s.S3Uri = &v
66623	return s
66624}
66625
66626// Configures conditions under which the processing job should be stopped, such
66627// as how long the processing job has been running. After the condition is met,
66628// the processing job is stopped.
66629type ProcessingStoppingCondition struct {
66630	_ struct{} `type:"structure"`
66631
66632	// Specifies the maximum runtime in seconds.
66633	//
66634	// MaxRuntimeInSeconds is a required field
66635	MaxRuntimeInSeconds *int64 `min:"1" type:"integer" required:"true"`
66636}
66637
66638// String returns the string representation
66639func (s ProcessingStoppingCondition) String() string {
66640	return awsutil.Prettify(s)
66641}
66642
66643// GoString returns the string representation
66644func (s ProcessingStoppingCondition) GoString() string {
66645	return s.String()
66646}
66647
66648// Validate inspects the fields of the type to determine if they are valid.
66649func (s *ProcessingStoppingCondition) Validate() error {
66650	invalidParams := request.ErrInvalidParams{Context: "ProcessingStoppingCondition"}
66651	if s.MaxRuntimeInSeconds == nil {
66652		invalidParams.Add(request.NewErrParamRequired("MaxRuntimeInSeconds"))
66653	}
66654	if s.MaxRuntimeInSeconds != nil && *s.MaxRuntimeInSeconds < 1 {
66655		invalidParams.Add(request.NewErrParamMinValue("MaxRuntimeInSeconds", 1))
66656	}
66657
66658	if invalidParams.Len() > 0 {
66659		return invalidParams
66660	}
66661	return nil
66662}
66663
66664// SetMaxRuntimeInSeconds sets the MaxRuntimeInSeconds field's value.
66665func (s *ProcessingStoppingCondition) SetMaxRuntimeInSeconds(v int64) *ProcessingStoppingCondition {
66666	s.MaxRuntimeInSeconds = &v
66667	return s
66668}
66669
66670// Identifies a model that you want to host and the resources to deploy for
66671// hosting it. If you are deploying multiple models, tell Amazon SageMaker how
66672// to distribute traffic among the models by specifying variant weights.
66673type ProductionVariant struct {
66674	_ struct{} `type:"structure"`
66675
66676	// The size of the Elastic Inference (EI) instance to use for the production
66677	// variant. EI instances provide on-demand GPU computing for inference. For
66678	// more information, see Using Elastic Inference in Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html).
66679	AcceleratorType *string `type:"string" enum:"ProductionVariantAcceleratorType"`
66680
66681	// Specifies configuration for a core dump from the model container when the
66682	// process crashes.
66683	CoreDumpConfig *ProductionVariantCoreDumpConfig `type:"structure"`
66684
66685	// Number of instances to launch initially.
66686	//
66687	// InitialInstanceCount is a required field
66688	InitialInstanceCount *int64 `min:"1" type:"integer" required:"true"`
66689
66690	// Determines initial traffic distribution among all of the models that you
66691	// specify in the endpoint configuration. The traffic to a production variant
66692	// is determined by the ratio of the VariantWeight to the sum of all VariantWeight
66693	// values across all ProductionVariants. If unspecified, it defaults to 1.0.
66694	InitialVariantWeight *float64 `type:"float"`
66695
66696	// The ML compute instance type.
66697	//
66698	// InstanceType is a required field
66699	InstanceType *string `type:"string" required:"true" enum:"ProductionVariantInstanceType"`
66700
66701	// The name of the model that you want to host. This is the name that you specified
66702	// when creating the model.
66703	//
66704	// ModelName is a required field
66705	ModelName *string `type:"string" required:"true"`
66706
66707	// The name of the production variant.
66708	//
66709	// VariantName is a required field
66710	VariantName *string `type:"string" required:"true"`
66711}
66712
66713// String returns the string representation
66714func (s ProductionVariant) String() string {
66715	return awsutil.Prettify(s)
66716}
66717
66718// GoString returns the string representation
66719func (s ProductionVariant) GoString() string {
66720	return s.String()
66721}
66722
66723// Validate inspects the fields of the type to determine if they are valid.
66724func (s *ProductionVariant) Validate() error {
66725	invalidParams := request.ErrInvalidParams{Context: "ProductionVariant"}
66726	if s.InitialInstanceCount == nil {
66727		invalidParams.Add(request.NewErrParamRequired("InitialInstanceCount"))
66728	}
66729	if s.InitialInstanceCount != nil && *s.InitialInstanceCount < 1 {
66730		invalidParams.Add(request.NewErrParamMinValue("InitialInstanceCount", 1))
66731	}
66732	if s.InstanceType == nil {
66733		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
66734	}
66735	if s.ModelName == nil {
66736		invalidParams.Add(request.NewErrParamRequired("ModelName"))
66737	}
66738	if s.VariantName == nil {
66739		invalidParams.Add(request.NewErrParamRequired("VariantName"))
66740	}
66741	if s.CoreDumpConfig != nil {
66742		if err := s.CoreDumpConfig.Validate(); err != nil {
66743			invalidParams.AddNested("CoreDumpConfig", err.(request.ErrInvalidParams))
66744		}
66745	}
66746
66747	if invalidParams.Len() > 0 {
66748		return invalidParams
66749	}
66750	return nil
66751}
66752
66753// SetAcceleratorType sets the AcceleratorType field's value.
66754func (s *ProductionVariant) SetAcceleratorType(v string) *ProductionVariant {
66755	s.AcceleratorType = &v
66756	return s
66757}
66758
66759// SetCoreDumpConfig sets the CoreDumpConfig field's value.
66760func (s *ProductionVariant) SetCoreDumpConfig(v *ProductionVariantCoreDumpConfig) *ProductionVariant {
66761	s.CoreDumpConfig = v
66762	return s
66763}
66764
66765// SetInitialInstanceCount sets the InitialInstanceCount field's value.
66766func (s *ProductionVariant) SetInitialInstanceCount(v int64) *ProductionVariant {
66767	s.InitialInstanceCount = &v
66768	return s
66769}
66770
66771// SetInitialVariantWeight sets the InitialVariantWeight field's value.
66772func (s *ProductionVariant) SetInitialVariantWeight(v float64) *ProductionVariant {
66773	s.InitialVariantWeight = &v
66774	return s
66775}
66776
66777// SetInstanceType sets the InstanceType field's value.
66778func (s *ProductionVariant) SetInstanceType(v string) *ProductionVariant {
66779	s.InstanceType = &v
66780	return s
66781}
66782
66783// SetModelName sets the ModelName field's value.
66784func (s *ProductionVariant) SetModelName(v string) *ProductionVariant {
66785	s.ModelName = &v
66786	return s
66787}
66788
66789// SetVariantName sets the VariantName field's value.
66790func (s *ProductionVariant) SetVariantName(v string) *ProductionVariant {
66791	s.VariantName = &v
66792	return s
66793}
66794
66795// Specifies configuration for a core dump from the model container when the
66796// process crashes.
66797type ProductionVariantCoreDumpConfig struct {
66798	_ struct{} `type:"structure"`
66799
66800	// The Amazon S3 bucket to send the core dump to.
66801	//
66802	// DestinationS3Uri is a required field
66803	DestinationS3Uri *string `type:"string" required:"true"`
66804
66805	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
66806	// encrypt the core dump data at rest using Amazon S3 server-side encryption.
66807	// The KmsKeyId can be any of the following formats:
66808	//
66809	//    * // KMS Key ID "1234abcd-12ab-34cd-56ef-1234567890ab"
66810	//
66811	//    * // Amazon Resource Name (ARN) of a KMS Key "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
66812	//
66813	//    * // KMS Key Alias "alias/ExampleAlias"
66814	//
66815	//    * // Amazon Resource Name (ARN) of a KMS Key Alias "arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"
66816	//
66817	// If you use a KMS key ID or an alias of your master key, the Amazon SageMaker
66818	// execution role must include permissions to call kms:Encrypt. If you don't
66819	// provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon
66820	// S3 for your role's account. Amazon SageMaker uses server-side encryption
66821	// with KMS-managed keys for OutputDataConfig. If you use a bucket policy with
66822	// an s3:PutObject permission that only allows objects with server-side encryption,
66823	// set the condition key of s3:x-amz-server-side-encryption to "aws:kms". For
66824	// more information, see KMS-Managed Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html)
66825	// in the Amazon Simple Storage Service Developer Guide.
66826	//
66827	// The KMS key policy must grant permission to the IAM role that you specify
66828	// in your CreateEndpoint and UpdateEndpoint requests. For more information,
66829	// see Using Key Policies in AWS KMS (https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html)
66830	// in the AWS Key Management Service Developer Guide.
66831	KmsKeyId *string `type:"string"`
66832}
66833
66834// String returns the string representation
66835func (s ProductionVariantCoreDumpConfig) String() string {
66836	return awsutil.Prettify(s)
66837}
66838
66839// GoString returns the string representation
66840func (s ProductionVariantCoreDumpConfig) GoString() string {
66841	return s.String()
66842}
66843
66844// Validate inspects the fields of the type to determine if they are valid.
66845func (s *ProductionVariantCoreDumpConfig) Validate() error {
66846	invalidParams := request.ErrInvalidParams{Context: "ProductionVariantCoreDumpConfig"}
66847	if s.DestinationS3Uri == nil {
66848		invalidParams.Add(request.NewErrParamRequired("DestinationS3Uri"))
66849	}
66850
66851	if invalidParams.Len() > 0 {
66852		return invalidParams
66853	}
66854	return nil
66855}
66856
66857// SetDestinationS3Uri sets the DestinationS3Uri field's value.
66858func (s *ProductionVariantCoreDumpConfig) SetDestinationS3Uri(v string) *ProductionVariantCoreDumpConfig {
66859	s.DestinationS3Uri = &v
66860	return s
66861}
66862
66863// SetKmsKeyId sets the KmsKeyId field's value.
66864func (s *ProductionVariantCoreDumpConfig) SetKmsKeyId(v string) *ProductionVariantCoreDumpConfig {
66865	s.KmsKeyId = &v
66866	return s
66867}
66868
66869// Describes weight and capacities for a production variant associated with
66870// an endpoint. If you sent a request to the UpdateEndpointWeightsAndCapacities
66871// API and the endpoint status is Updating, you get different desired and current
66872// values.
66873type ProductionVariantSummary struct {
66874	_ struct{} `type:"structure"`
66875
66876	// The number of instances associated with the variant.
66877	CurrentInstanceCount *int64 `min:"1" type:"integer"`
66878
66879	// The weight associated with the variant.
66880	CurrentWeight *float64 `type:"float"`
66881
66882	// An array of DeployedImage objects that specify the Amazon EC2 Container Registry
66883	// paths of the inference images deployed on instances of this ProductionVariant.
66884	DeployedImages []*DeployedImage `type:"list"`
66885
66886	// The number of instances requested in the UpdateEndpointWeightsAndCapacities
66887	// request.
66888	DesiredInstanceCount *int64 `min:"1" type:"integer"`
66889
66890	// The requested weight, as specified in the UpdateEndpointWeightsAndCapacities
66891	// request.
66892	DesiredWeight *float64 `type:"float"`
66893
66894	// The name of the variant.
66895	//
66896	// VariantName is a required field
66897	VariantName *string `type:"string" required:"true"`
66898}
66899
66900// String returns the string representation
66901func (s ProductionVariantSummary) String() string {
66902	return awsutil.Prettify(s)
66903}
66904
66905// GoString returns the string representation
66906func (s ProductionVariantSummary) GoString() string {
66907	return s.String()
66908}
66909
66910// SetCurrentInstanceCount sets the CurrentInstanceCount field's value.
66911func (s *ProductionVariantSummary) SetCurrentInstanceCount(v int64) *ProductionVariantSummary {
66912	s.CurrentInstanceCount = &v
66913	return s
66914}
66915
66916// SetCurrentWeight sets the CurrentWeight field's value.
66917func (s *ProductionVariantSummary) SetCurrentWeight(v float64) *ProductionVariantSummary {
66918	s.CurrentWeight = &v
66919	return s
66920}
66921
66922// SetDeployedImages sets the DeployedImages field's value.
66923func (s *ProductionVariantSummary) SetDeployedImages(v []*DeployedImage) *ProductionVariantSummary {
66924	s.DeployedImages = v
66925	return s
66926}
66927
66928// SetDesiredInstanceCount sets the DesiredInstanceCount field's value.
66929func (s *ProductionVariantSummary) SetDesiredInstanceCount(v int64) *ProductionVariantSummary {
66930	s.DesiredInstanceCount = &v
66931	return s
66932}
66933
66934// SetDesiredWeight sets the DesiredWeight field's value.
66935func (s *ProductionVariantSummary) SetDesiredWeight(v float64) *ProductionVariantSummary {
66936	s.DesiredWeight = &v
66937	return s
66938}
66939
66940// SetVariantName sets the VariantName field's value.
66941func (s *ProductionVariantSummary) SetVariantName(v string) *ProductionVariantSummary {
66942	s.VariantName = &v
66943	return s
66944}
66945
66946// Configuration information for Debugger system monitoring, framework profiling,
66947// and storage paths.
66948type ProfilerConfig struct {
66949	_ struct{} `type:"structure"`
66950
66951	// A time interval for capturing system metrics in milliseconds. Available values
66952	// are 100, 200, 500, 1000 (1 second), 5000 (5 seconds), and 60000 (1 minute)
66953	// milliseconds. The default value is 500 milliseconds.
66954	ProfilingIntervalInMilliseconds *int64 `type:"long"`
66955
66956	// Configuration information for capturing framework metrics. Available key
66957	// strings for different profiling options are DetailedProfilingConfig, PythonProfilingConfig,
66958	// and DataLoaderProfilingConfig. The following codes are configuration structures
66959	// for the ProfilingParameters parameter. To learn more about how to configure
66960	// the ProfilingParameters parameter, see Use the SageMaker and Debugger Configuration
66961	// API Operations to Create, Update, and Debug Your Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html).
66962	ProfilingParameters map[string]*string `type:"map"`
66963
66964	// Path to Amazon S3 storage location for system and framework metrics.
66965	//
66966	// S3OutputPath is a required field
66967	S3OutputPath *string `type:"string" required:"true"`
66968}
66969
66970// String returns the string representation
66971func (s ProfilerConfig) String() string {
66972	return awsutil.Prettify(s)
66973}
66974
66975// GoString returns the string representation
66976func (s ProfilerConfig) GoString() string {
66977	return s.String()
66978}
66979
66980// Validate inspects the fields of the type to determine if they are valid.
66981func (s *ProfilerConfig) Validate() error {
66982	invalidParams := request.ErrInvalidParams{Context: "ProfilerConfig"}
66983	if s.S3OutputPath == nil {
66984		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
66985	}
66986
66987	if invalidParams.Len() > 0 {
66988		return invalidParams
66989	}
66990	return nil
66991}
66992
66993// SetProfilingIntervalInMilliseconds sets the ProfilingIntervalInMilliseconds field's value.
66994func (s *ProfilerConfig) SetProfilingIntervalInMilliseconds(v int64) *ProfilerConfig {
66995	s.ProfilingIntervalInMilliseconds = &v
66996	return s
66997}
66998
66999// SetProfilingParameters sets the ProfilingParameters field's value.
67000func (s *ProfilerConfig) SetProfilingParameters(v map[string]*string) *ProfilerConfig {
67001	s.ProfilingParameters = v
67002	return s
67003}
67004
67005// SetS3OutputPath sets the S3OutputPath field's value.
67006func (s *ProfilerConfig) SetS3OutputPath(v string) *ProfilerConfig {
67007	s.S3OutputPath = &v
67008	return s
67009}
67010
67011// Configuration information for updating the Debugger profile parameters, system
67012// and framework metrics configurations, and storage paths.
67013type ProfilerConfigForUpdate struct {
67014	_ struct{} `type:"structure"`
67015
67016	// To disable Debugger monitoring and profiling, set to True.
67017	DisableProfiler *bool `type:"boolean"`
67018
67019	// A time interval for capturing system metrics in milliseconds. Available values
67020	// are 100, 200, 500, 1000 (1 second), 5000 (5 seconds), and 60000 (1 minute)
67021	// milliseconds. The default value is 500 milliseconds.
67022	ProfilingIntervalInMilliseconds *int64 `type:"long"`
67023
67024	// Configuration information for capturing framework metrics. Available key
67025	// strings for different profiling options are DetailedProfilingConfig, PythonProfilingConfig,
67026	// and DataLoaderProfilingConfig. The following codes are configuration structures
67027	// for the ProfilingParameters parameter. To learn more about how to configure
67028	// the ProfilingParameters parameter, see Use the SageMaker and Debugger Configuration
67029	// API Operations to Create, Update, and Debug Your Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html).
67030	ProfilingParameters map[string]*string `type:"map"`
67031
67032	// Path to Amazon S3 storage location for system and framework metrics.
67033	S3OutputPath *string `type:"string"`
67034}
67035
67036// String returns the string representation
67037func (s ProfilerConfigForUpdate) String() string {
67038	return awsutil.Prettify(s)
67039}
67040
67041// GoString returns the string representation
67042func (s ProfilerConfigForUpdate) GoString() string {
67043	return s.String()
67044}
67045
67046// SetDisableProfiler sets the DisableProfiler field's value.
67047func (s *ProfilerConfigForUpdate) SetDisableProfiler(v bool) *ProfilerConfigForUpdate {
67048	s.DisableProfiler = &v
67049	return s
67050}
67051
67052// SetProfilingIntervalInMilliseconds sets the ProfilingIntervalInMilliseconds field's value.
67053func (s *ProfilerConfigForUpdate) SetProfilingIntervalInMilliseconds(v int64) *ProfilerConfigForUpdate {
67054	s.ProfilingIntervalInMilliseconds = &v
67055	return s
67056}
67057
67058// SetProfilingParameters sets the ProfilingParameters field's value.
67059func (s *ProfilerConfigForUpdate) SetProfilingParameters(v map[string]*string) *ProfilerConfigForUpdate {
67060	s.ProfilingParameters = v
67061	return s
67062}
67063
67064// SetS3OutputPath sets the S3OutputPath field's value.
67065func (s *ProfilerConfigForUpdate) SetS3OutputPath(v string) *ProfilerConfigForUpdate {
67066	s.S3OutputPath = &v
67067	return s
67068}
67069
67070// Configuration information for profiling rules.
67071type ProfilerRuleConfiguration struct {
67072	_ struct{} `type:"structure"`
67073
67074	// The instance type to deploy a Debugger custom rule for profiling a training
67075	// job.
67076	InstanceType *string `type:"string" enum:"ProcessingInstanceType"`
67077
67078	// Path to local storage location for output of rules. Defaults to /opt/ml/processing/output/rule/.
67079	LocalPath *string `type:"string"`
67080
67081	// The name of the rule configuration. It must be unique relative to other rule
67082	// configuration names.
67083	//
67084	// RuleConfigurationName is a required field
67085	RuleConfigurationName *string `min:"1" type:"string" required:"true"`
67086
67087	// The Amazon Elastic Container (ECR) Image for the managed rule evaluation.
67088	//
67089	// RuleEvaluatorImage is a required field
67090	RuleEvaluatorImage *string `type:"string" required:"true"`
67091
67092	// Runtime configuration for rule container.
67093	RuleParameters map[string]*string `type:"map"`
67094
67095	// Path to Amazon S3 storage location for rules.
67096	S3OutputPath *string `type:"string"`
67097
67098	// The size, in GB, of the ML storage volume attached to the processing instance.
67099	VolumeSizeInGB *int64 `type:"integer"`
67100}
67101
67102// String returns the string representation
67103func (s ProfilerRuleConfiguration) String() string {
67104	return awsutil.Prettify(s)
67105}
67106
67107// GoString returns the string representation
67108func (s ProfilerRuleConfiguration) GoString() string {
67109	return s.String()
67110}
67111
67112// Validate inspects the fields of the type to determine if they are valid.
67113func (s *ProfilerRuleConfiguration) Validate() error {
67114	invalidParams := request.ErrInvalidParams{Context: "ProfilerRuleConfiguration"}
67115	if s.RuleConfigurationName == nil {
67116		invalidParams.Add(request.NewErrParamRequired("RuleConfigurationName"))
67117	}
67118	if s.RuleConfigurationName != nil && len(*s.RuleConfigurationName) < 1 {
67119		invalidParams.Add(request.NewErrParamMinLen("RuleConfigurationName", 1))
67120	}
67121	if s.RuleEvaluatorImage == nil {
67122		invalidParams.Add(request.NewErrParamRequired("RuleEvaluatorImage"))
67123	}
67124
67125	if invalidParams.Len() > 0 {
67126		return invalidParams
67127	}
67128	return nil
67129}
67130
67131// SetInstanceType sets the InstanceType field's value.
67132func (s *ProfilerRuleConfiguration) SetInstanceType(v string) *ProfilerRuleConfiguration {
67133	s.InstanceType = &v
67134	return s
67135}
67136
67137// SetLocalPath sets the LocalPath field's value.
67138func (s *ProfilerRuleConfiguration) SetLocalPath(v string) *ProfilerRuleConfiguration {
67139	s.LocalPath = &v
67140	return s
67141}
67142
67143// SetRuleConfigurationName sets the RuleConfigurationName field's value.
67144func (s *ProfilerRuleConfiguration) SetRuleConfigurationName(v string) *ProfilerRuleConfiguration {
67145	s.RuleConfigurationName = &v
67146	return s
67147}
67148
67149// SetRuleEvaluatorImage sets the RuleEvaluatorImage field's value.
67150func (s *ProfilerRuleConfiguration) SetRuleEvaluatorImage(v string) *ProfilerRuleConfiguration {
67151	s.RuleEvaluatorImage = &v
67152	return s
67153}
67154
67155// SetRuleParameters sets the RuleParameters field's value.
67156func (s *ProfilerRuleConfiguration) SetRuleParameters(v map[string]*string) *ProfilerRuleConfiguration {
67157	s.RuleParameters = v
67158	return s
67159}
67160
67161// SetS3OutputPath sets the S3OutputPath field's value.
67162func (s *ProfilerRuleConfiguration) SetS3OutputPath(v string) *ProfilerRuleConfiguration {
67163	s.S3OutputPath = &v
67164	return s
67165}
67166
67167// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
67168func (s *ProfilerRuleConfiguration) SetVolumeSizeInGB(v int64) *ProfilerRuleConfiguration {
67169	s.VolumeSizeInGB = &v
67170	return s
67171}
67172
67173// Information about the status of the rule evaluation.
67174type ProfilerRuleEvaluationStatus struct {
67175	_ struct{} `type:"structure"`
67176
67177	// Timestamp when the rule evaluation status was last modified.
67178	LastModifiedTime *time.Time `type:"timestamp"`
67179
67180	// The name of the rule configuration.
67181	RuleConfigurationName *string `min:"1" type:"string"`
67182
67183	// The Amazon Resource Name (ARN) of the rule evaluation job.
67184	RuleEvaluationJobArn *string `type:"string"`
67185
67186	// Status of the rule evaluation.
67187	RuleEvaluationStatus *string `type:"string" enum:"RuleEvaluationStatus"`
67188
67189	// Details from the rule evaluation.
67190	StatusDetails *string `type:"string"`
67191}
67192
67193// String returns the string representation
67194func (s ProfilerRuleEvaluationStatus) String() string {
67195	return awsutil.Prettify(s)
67196}
67197
67198// GoString returns the string representation
67199func (s ProfilerRuleEvaluationStatus) GoString() string {
67200	return s.String()
67201}
67202
67203// SetLastModifiedTime sets the LastModifiedTime field's value.
67204func (s *ProfilerRuleEvaluationStatus) SetLastModifiedTime(v time.Time) *ProfilerRuleEvaluationStatus {
67205	s.LastModifiedTime = &v
67206	return s
67207}
67208
67209// SetRuleConfigurationName sets the RuleConfigurationName field's value.
67210func (s *ProfilerRuleEvaluationStatus) SetRuleConfigurationName(v string) *ProfilerRuleEvaluationStatus {
67211	s.RuleConfigurationName = &v
67212	return s
67213}
67214
67215// SetRuleEvaluationJobArn sets the RuleEvaluationJobArn field's value.
67216func (s *ProfilerRuleEvaluationStatus) SetRuleEvaluationJobArn(v string) *ProfilerRuleEvaluationStatus {
67217	s.RuleEvaluationJobArn = &v
67218	return s
67219}
67220
67221// SetRuleEvaluationStatus sets the RuleEvaluationStatus field's value.
67222func (s *ProfilerRuleEvaluationStatus) SetRuleEvaluationStatus(v string) *ProfilerRuleEvaluationStatus {
67223	s.RuleEvaluationStatus = &v
67224	return s
67225}
67226
67227// SetStatusDetails sets the StatusDetails field's value.
67228func (s *ProfilerRuleEvaluationStatus) SetStatusDetails(v string) *ProfilerRuleEvaluationStatus {
67229	s.StatusDetails = &v
67230	return s
67231}
67232
67233// Information about a project.
67234type ProjectSummary struct {
67235	_ struct{} `type:"structure"`
67236
67237	// The time that the project was created.
67238	//
67239	// CreationTime is a required field
67240	CreationTime *time.Time `type:"timestamp" required:"true"`
67241
67242	// The Amazon Resource Name (ARN) of the project.
67243	//
67244	// ProjectArn is a required field
67245	ProjectArn *string `min:"1" type:"string" required:"true"`
67246
67247	// The description of the project.
67248	ProjectDescription *string `type:"string"`
67249
67250	// The ID of the project.
67251	//
67252	// ProjectId is a required field
67253	ProjectId *string `min:"1" type:"string" required:"true"`
67254
67255	// The name of the project.
67256	//
67257	// ProjectName is a required field
67258	ProjectName *string `min:"1" type:"string" required:"true"`
67259
67260	// The status of the project.
67261	//
67262	// ProjectStatus is a required field
67263	ProjectStatus *string `type:"string" required:"true" enum:"ProjectStatus"`
67264}
67265
67266// String returns the string representation
67267func (s ProjectSummary) String() string {
67268	return awsutil.Prettify(s)
67269}
67270
67271// GoString returns the string representation
67272func (s ProjectSummary) GoString() string {
67273	return s.String()
67274}
67275
67276// SetCreationTime sets the CreationTime field's value.
67277func (s *ProjectSummary) SetCreationTime(v time.Time) *ProjectSummary {
67278	s.CreationTime = &v
67279	return s
67280}
67281
67282// SetProjectArn sets the ProjectArn field's value.
67283func (s *ProjectSummary) SetProjectArn(v string) *ProjectSummary {
67284	s.ProjectArn = &v
67285	return s
67286}
67287
67288// SetProjectDescription sets the ProjectDescription field's value.
67289func (s *ProjectSummary) SetProjectDescription(v string) *ProjectSummary {
67290	s.ProjectDescription = &v
67291	return s
67292}
67293
67294// SetProjectId sets the ProjectId field's value.
67295func (s *ProjectSummary) SetProjectId(v string) *ProjectSummary {
67296	s.ProjectId = &v
67297	return s
67298}
67299
67300// SetProjectName sets the ProjectName field's value.
67301func (s *ProjectSummary) SetProjectName(v string) *ProjectSummary {
67302	s.ProjectName = &v
67303	return s
67304}
67305
67306// SetProjectStatus sets the ProjectStatus field's value.
67307func (s *ProjectSummary) SetProjectStatus(v string) *ProjectSummary {
67308	s.ProjectStatus = &v
67309	return s
67310}
67311
67312// Part of the SuggestionQuery type. Specifies a hint for retrieving property
67313// names that begin with the specified text.
67314type PropertyNameQuery struct {
67315	_ struct{} `type:"structure"`
67316
67317	// Text that begins a property's name.
67318	//
67319	// PropertyNameHint is a required field
67320	PropertyNameHint *string `type:"string" required:"true"`
67321}
67322
67323// String returns the string representation
67324func (s PropertyNameQuery) String() string {
67325	return awsutil.Prettify(s)
67326}
67327
67328// GoString returns the string representation
67329func (s PropertyNameQuery) GoString() string {
67330	return s.String()
67331}
67332
67333// Validate inspects the fields of the type to determine if they are valid.
67334func (s *PropertyNameQuery) Validate() error {
67335	invalidParams := request.ErrInvalidParams{Context: "PropertyNameQuery"}
67336	if s.PropertyNameHint == nil {
67337		invalidParams.Add(request.NewErrParamRequired("PropertyNameHint"))
67338	}
67339
67340	if invalidParams.Len() > 0 {
67341		return invalidParams
67342	}
67343	return nil
67344}
67345
67346// SetPropertyNameHint sets the PropertyNameHint field's value.
67347func (s *PropertyNameQuery) SetPropertyNameHint(v string) *PropertyNameQuery {
67348	s.PropertyNameHint = &v
67349	return s
67350}
67351
67352// A property name returned from a GetSearchSuggestions call that specifies
67353// a value in the PropertyNameQuery field.
67354type PropertyNameSuggestion struct {
67355	_ struct{} `type:"structure"`
67356
67357	// A suggested property name based on what you entered in the search textbox
67358	// in the Amazon SageMaker console.
67359	PropertyName *string `min:"1" type:"string"`
67360}
67361
67362// String returns the string representation
67363func (s PropertyNameSuggestion) String() string {
67364	return awsutil.Prettify(s)
67365}
67366
67367// GoString returns the string representation
67368func (s PropertyNameSuggestion) GoString() string {
67369	return s.String()
67370}
67371
67372// SetPropertyName sets the PropertyName field's value.
67373func (s *PropertyNameSuggestion) SetPropertyName(v string) *PropertyNameSuggestion {
67374	s.PropertyName = &v
67375	return s
67376}
67377
67378// A key value pair used when you provision a project as a service catalog product.
67379// For information, see What is AWS Service Catalog (https://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html).
67380type ProvisioningParameter struct {
67381	_ struct{} `type:"structure"`
67382
67383	// The key that identifies a provisioning parameter.
67384	Key *string `min:"1" type:"string"`
67385
67386	// The value of the provisioning parameter.
67387	Value *string `type:"string"`
67388}
67389
67390// String returns the string representation
67391func (s ProvisioningParameter) String() string {
67392	return awsutil.Prettify(s)
67393}
67394
67395// GoString returns the string representation
67396func (s ProvisioningParameter) GoString() string {
67397	return s.String()
67398}
67399
67400// Validate inspects the fields of the type to determine if they are valid.
67401func (s *ProvisioningParameter) Validate() error {
67402	invalidParams := request.ErrInvalidParams{Context: "ProvisioningParameter"}
67403	if s.Key != nil && len(*s.Key) < 1 {
67404		invalidParams.Add(request.NewErrParamMinLen("Key", 1))
67405	}
67406
67407	if invalidParams.Len() > 0 {
67408		return invalidParams
67409	}
67410	return nil
67411}
67412
67413// SetKey sets the Key field's value.
67414func (s *ProvisioningParameter) SetKey(v string) *ProvisioningParameter {
67415	s.Key = &v
67416	return s
67417}
67418
67419// SetValue sets the Value field's value.
67420func (s *ProvisioningParameter) SetValue(v string) *ProvisioningParameter {
67421	s.Value = &v
67422	return s
67423}
67424
67425// Defines the amount of money paid to an Amazon Mechanical Turk worker for
67426// each task performed.
67427//
67428// Use one of the following prices for bounding box tasks. Prices are in US
67429// dollars and should be based on the complexity of the task; the longer it
67430// takes in your initial testing, the more you should offer.
67431//
67432//    * 0.036
67433//
67434//    * 0.048
67435//
67436//    * 0.060
67437//
67438//    * 0.072
67439//
67440//    * 0.120
67441//
67442//    * 0.240
67443//
67444//    * 0.360
67445//
67446//    * 0.480
67447//
67448//    * 0.600
67449//
67450//    * 0.720
67451//
67452//    * 0.840
67453//
67454//    * 0.960
67455//
67456//    * 1.080
67457//
67458//    * 1.200
67459//
67460// Use one of the following prices for image classification, text classification,
67461// and custom tasks. Prices are in US dollars.
67462//
67463//    * 0.012
67464//
67465//    * 0.024
67466//
67467//    * 0.036
67468//
67469//    * 0.048
67470//
67471//    * 0.060
67472//
67473//    * 0.072
67474//
67475//    * 0.120
67476//
67477//    * 0.240
67478//
67479//    * 0.360
67480//
67481//    * 0.480
67482//
67483//    * 0.600
67484//
67485//    * 0.720
67486//
67487//    * 0.840
67488//
67489//    * 0.960
67490//
67491//    * 1.080
67492//
67493//    * 1.200
67494//
67495// Use one of the following prices for semantic segmentation tasks. Prices are
67496// in US dollars.
67497//
67498//    * 0.840
67499//
67500//    * 0.960
67501//
67502//    * 1.080
67503//
67504//    * 1.200
67505//
67506// Use one of the following prices for Textract AnalyzeDocument Important Form
67507// Key Amazon Augmented AI review tasks. Prices are in US dollars.
67508//
67509//    * 2.400
67510//
67511//    * 2.280
67512//
67513//    * 2.160
67514//
67515//    * 2.040
67516//
67517//    * 1.920
67518//
67519//    * 1.800
67520//
67521//    * 1.680
67522//
67523//    * 1.560
67524//
67525//    * 1.440
67526//
67527//    * 1.320
67528//
67529//    * 1.200
67530//
67531//    * 1.080
67532//
67533//    * 0.960
67534//
67535//    * 0.840
67536//
67537//    * 0.720
67538//
67539//    * 0.600
67540//
67541//    * 0.480
67542//
67543//    * 0.360
67544//
67545//    * 0.240
67546//
67547//    * 0.120
67548//
67549//    * 0.072
67550//
67551//    * 0.060
67552//
67553//    * 0.048
67554//
67555//    * 0.036
67556//
67557//    * 0.024
67558//
67559//    * 0.012
67560//
67561// Use one of the following prices for Rekognition DetectModerationLabels Amazon
67562// Augmented AI review tasks. Prices are in US dollars.
67563//
67564//    * 1.200
67565//
67566//    * 1.080
67567//
67568//    * 0.960
67569//
67570//    * 0.840
67571//
67572//    * 0.720
67573//
67574//    * 0.600
67575//
67576//    * 0.480
67577//
67578//    * 0.360
67579//
67580//    * 0.240
67581//
67582//    * 0.120
67583//
67584//    * 0.072
67585//
67586//    * 0.060
67587//
67588//    * 0.048
67589//
67590//    * 0.036
67591//
67592//    * 0.024
67593//
67594//    * 0.012
67595//
67596// Use one of the following prices for Amazon Augmented AI custom human review
67597// tasks. Prices are in US dollars.
67598//
67599//    * 1.200
67600//
67601//    * 1.080
67602//
67603//    * 0.960
67604//
67605//    * 0.840
67606//
67607//    * 0.720
67608//
67609//    * 0.600
67610//
67611//    * 0.480
67612//
67613//    * 0.360
67614//
67615//    * 0.240
67616//
67617//    * 0.120
67618//
67619//    * 0.072
67620//
67621//    * 0.060
67622//
67623//    * 0.048
67624//
67625//    * 0.036
67626//
67627//    * 0.024
67628//
67629//    * 0.012
67630type PublicWorkforceTaskPrice struct {
67631	_ struct{} `type:"structure"`
67632
67633	// Defines the amount of money paid to an Amazon Mechanical Turk worker in United
67634	// States dollars.
67635	AmountInUsd *USD `type:"structure"`
67636}
67637
67638// String returns the string representation
67639func (s PublicWorkforceTaskPrice) String() string {
67640	return awsutil.Prettify(s)
67641}
67642
67643// GoString returns the string representation
67644func (s PublicWorkforceTaskPrice) GoString() string {
67645	return s.String()
67646}
67647
67648// SetAmountInUsd sets the AmountInUsd field's value.
67649func (s *PublicWorkforceTaskPrice) SetAmountInUsd(v *USD) *PublicWorkforceTaskPrice {
67650	s.AmountInUsd = v
67651	return s
67652}
67653
67654type PutModelPackageGroupPolicyInput struct {
67655	_ struct{} `type:"structure"`
67656
67657	// The name of the model group to add a resource policy to.
67658	//
67659	// ModelPackageGroupName is a required field
67660	ModelPackageGroupName *string `min:"1" type:"string" required:"true"`
67661
67662	// The resource policy for the model group.
67663	//
67664	// ResourcePolicy is a required field
67665	ResourcePolicy *string `min:"1" type:"string" required:"true"`
67666}
67667
67668// String returns the string representation
67669func (s PutModelPackageGroupPolicyInput) String() string {
67670	return awsutil.Prettify(s)
67671}
67672
67673// GoString returns the string representation
67674func (s PutModelPackageGroupPolicyInput) GoString() string {
67675	return s.String()
67676}
67677
67678// Validate inspects the fields of the type to determine if they are valid.
67679func (s *PutModelPackageGroupPolicyInput) Validate() error {
67680	invalidParams := request.ErrInvalidParams{Context: "PutModelPackageGroupPolicyInput"}
67681	if s.ModelPackageGroupName == nil {
67682		invalidParams.Add(request.NewErrParamRequired("ModelPackageGroupName"))
67683	}
67684	if s.ModelPackageGroupName != nil && len(*s.ModelPackageGroupName) < 1 {
67685		invalidParams.Add(request.NewErrParamMinLen("ModelPackageGroupName", 1))
67686	}
67687	if s.ResourcePolicy == nil {
67688		invalidParams.Add(request.NewErrParamRequired("ResourcePolicy"))
67689	}
67690	if s.ResourcePolicy != nil && len(*s.ResourcePolicy) < 1 {
67691		invalidParams.Add(request.NewErrParamMinLen("ResourcePolicy", 1))
67692	}
67693
67694	if invalidParams.Len() > 0 {
67695		return invalidParams
67696	}
67697	return nil
67698}
67699
67700// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
67701func (s *PutModelPackageGroupPolicyInput) SetModelPackageGroupName(v string) *PutModelPackageGroupPolicyInput {
67702	s.ModelPackageGroupName = &v
67703	return s
67704}
67705
67706// SetResourcePolicy sets the ResourcePolicy field's value.
67707func (s *PutModelPackageGroupPolicyInput) SetResourcePolicy(v string) *PutModelPackageGroupPolicyInput {
67708	s.ResourcePolicy = &v
67709	return s
67710}
67711
67712type PutModelPackageGroupPolicyOutput struct {
67713	_ struct{} `type:"structure"`
67714
67715	// The Amazon Resource Name (ARN) of the model package group.
67716	//
67717	// ModelPackageGroupArn is a required field
67718	ModelPackageGroupArn *string `min:"1" type:"string" required:"true"`
67719}
67720
67721// String returns the string representation
67722func (s PutModelPackageGroupPolicyOutput) String() string {
67723	return awsutil.Prettify(s)
67724}
67725
67726// GoString returns the string representation
67727func (s PutModelPackageGroupPolicyOutput) GoString() string {
67728	return s.String()
67729}
67730
67731// SetModelPackageGroupArn sets the ModelPackageGroupArn field's value.
67732func (s *PutModelPackageGroupPolicyOutput) SetModelPackageGroupArn(v string) *PutModelPackageGroupPolicyOutput {
67733	s.ModelPackageGroupArn = &v
67734	return s
67735}
67736
67737// Configuration for Redshift Dataset Definition input.
67738type RedshiftDatasetDefinition struct {
67739	_ struct{} `type:"structure"`
67740
67741	// The Redshift cluster Identifier.
67742	//
67743	// ClusterId is a required field
67744	ClusterId *string `min:"1" type:"string" required:"true"`
67745
67746	// The IAM role attached to your Redshift cluster that Amazon SageMaker uses
67747	// to generate datasets.
67748	//
67749	// ClusterRoleArn is a required field
67750	ClusterRoleArn *string `min:"20" type:"string" required:"true"`
67751
67752	// The name of the Redshift database used in Redshift query execution.
67753	//
67754	// Database is a required field
67755	Database *string `min:"1" type:"string" required:"true"`
67756
67757	// The database user name used in Redshift query execution.
67758	//
67759	// DbUser is a required field
67760	DbUser *string `min:"1" type:"string" required:"true"`
67761
67762	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
67763	// encrypt data from a Redshift execution.
67764	KmsKeyId *string `type:"string"`
67765
67766	// The compression used for Redshift query results.
67767	OutputCompression *string `type:"string" enum:"RedshiftResultCompressionType"`
67768
67769	// The data storage format for Redshift query results.
67770	//
67771	// OutputFormat is a required field
67772	OutputFormat *string `type:"string" required:"true" enum:"RedshiftResultFormat"`
67773
67774	// The location in Amazon S3 where the Redshift query results are stored.
67775	//
67776	// OutputS3Uri is a required field
67777	OutputS3Uri *string `type:"string" required:"true"`
67778
67779	// The SQL query statements to be executed.
67780	//
67781	// QueryString is a required field
67782	QueryString *string `min:"1" type:"string" required:"true"`
67783}
67784
67785// String returns the string representation
67786func (s RedshiftDatasetDefinition) String() string {
67787	return awsutil.Prettify(s)
67788}
67789
67790// GoString returns the string representation
67791func (s RedshiftDatasetDefinition) GoString() string {
67792	return s.String()
67793}
67794
67795// Validate inspects the fields of the type to determine if they are valid.
67796func (s *RedshiftDatasetDefinition) Validate() error {
67797	invalidParams := request.ErrInvalidParams{Context: "RedshiftDatasetDefinition"}
67798	if s.ClusterId == nil {
67799		invalidParams.Add(request.NewErrParamRequired("ClusterId"))
67800	}
67801	if s.ClusterId != nil && len(*s.ClusterId) < 1 {
67802		invalidParams.Add(request.NewErrParamMinLen("ClusterId", 1))
67803	}
67804	if s.ClusterRoleArn == nil {
67805		invalidParams.Add(request.NewErrParamRequired("ClusterRoleArn"))
67806	}
67807	if s.ClusterRoleArn != nil && len(*s.ClusterRoleArn) < 20 {
67808		invalidParams.Add(request.NewErrParamMinLen("ClusterRoleArn", 20))
67809	}
67810	if s.Database == nil {
67811		invalidParams.Add(request.NewErrParamRequired("Database"))
67812	}
67813	if s.Database != nil && len(*s.Database) < 1 {
67814		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
67815	}
67816	if s.DbUser == nil {
67817		invalidParams.Add(request.NewErrParamRequired("DbUser"))
67818	}
67819	if s.DbUser != nil && len(*s.DbUser) < 1 {
67820		invalidParams.Add(request.NewErrParamMinLen("DbUser", 1))
67821	}
67822	if s.OutputFormat == nil {
67823		invalidParams.Add(request.NewErrParamRequired("OutputFormat"))
67824	}
67825	if s.OutputS3Uri == nil {
67826		invalidParams.Add(request.NewErrParamRequired("OutputS3Uri"))
67827	}
67828	if s.QueryString == nil {
67829		invalidParams.Add(request.NewErrParamRequired("QueryString"))
67830	}
67831	if s.QueryString != nil && len(*s.QueryString) < 1 {
67832		invalidParams.Add(request.NewErrParamMinLen("QueryString", 1))
67833	}
67834
67835	if invalidParams.Len() > 0 {
67836		return invalidParams
67837	}
67838	return nil
67839}
67840
67841// SetClusterId sets the ClusterId field's value.
67842func (s *RedshiftDatasetDefinition) SetClusterId(v string) *RedshiftDatasetDefinition {
67843	s.ClusterId = &v
67844	return s
67845}
67846
67847// SetClusterRoleArn sets the ClusterRoleArn field's value.
67848func (s *RedshiftDatasetDefinition) SetClusterRoleArn(v string) *RedshiftDatasetDefinition {
67849	s.ClusterRoleArn = &v
67850	return s
67851}
67852
67853// SetDatabase sets the Database field's value.
67854func (s *RedshiftDatasetDefinition) SetDatabase(v string) *RedshiftDatasetDefinition {
67855	s.Database = &v
67856	return s
67857}
67858
67859// SetDbUser sets the DbUser field's value.
67860func (s *RedshiftDatasetDefinition) SetDbUser(v string) *RedshiftDatasetDefinition {
67861	s.DbUser = &v
67862	return s
67863}
67864
67865// SetKmsKeyId sets the KmsKeyId field's value.
67866func (s *RedshiftDatasetDefinition) SetKmsKeyId(v string) *RedshiftDatasetDefinition {
67867	s.KmsKeyId = &v
67868	return s
67869}
67870
67871// SetOutputCompression sets the OutputCompression field's value.
67872func (s *RedshiftDatasetDefinition) SetOutputCompression(v string) *RedshiftDatasetDefinition {
67873	s.OutputCompression = &v
67874	return s
67875}
67876
67877// SetOutputFormat sets the OutputFormat field's value.
67878func (s *RedshiftDatasetDefinition) SetOutputFormat(v string) *RedshiftDatasetDefinition {
67879	s.OutputFormat = &v
67880	return s
67881}
67882
67883// SetOutputS3Uri sets the OutputS3Uri field's value.
67884func (s *RedshiftDatasetDefinition) SetOutputS3Uri(v string) *RedshiftDatasetDefinition {
67885	s.OutputS3Uri = &v
67886	return s
67887}
67888
67889// SetQueryString sets the QueryString field's value.
67890func (s *RedshiftDatasetDefinition) SetQueryString(v string) *RedshiftDatasetDefinition {
67891	s.QueryString = &v
67892	return s
67893}
67894
67895type RegisterDevicesInput struct {
67896	_ struct{} `type:"structure"`
67897
67898	// The name of the fleet.
67899	//
67900	// DeviceFleetName is a required field
67901	DeviceFleetName *string `min:"1" type:"string" required:"true"`
67902
67903	// A list of devices to register with SageMaker Edge Manager.
67904	//
67905	// Devices is a required field
67906	Devices []*Device `type:"list" required:"true"`
67907
67908	// The tags associated with devices.
67909	Tags []*Tag `type:"list"`
67910}
67911
67912// String returns the string representation
67913func (s RegisterDevicesInput) String() string {
67914	return awsutil.Prettify(s)
67915}
67916
67917// GoString returns the string representation
67918func (s RegisterDevicesInput) GoString() string {
67919	return s.String()
67920}
67921
67922// Validate inspects the fields of the type to determine if they are valid.
67923func (s *RegisterDevicesInput) Validate() error {
67924	invalidParams := request.ErrInvalidParams{Context: "RegisterDevicesInput"}
67925	if s.DeviceFleetName == nil {
67926		invalidParams.Add(request.NewErrParamRequired("DeviceFleetName"))
67927	}
67928	if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 {
67929		invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1))
67930	}
67931	if s.Devices == nil {
67932		invalidParams.Add(request.NewErrParamRequired("Devices"))
67933	}
67934	if s.Devices != nil {
67935		for i, v := range s.Devices {
67936			if v == nil {
67937				continue
67938			}
67939			if err := v.Validate(); err != nil {
67940				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Devices", i), err.(request.ErrInvalidParams))
67941			}
67942		}
67943	}
67944	if s.Tags != nil {
67945		for i, v := range s.Tags {
67946			if v == nil {
67947				continue
67948			}
67949			if err := v.Validate(); err != nil {
67950				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
67951			}
67952		}
67953	}
67954
67955	if invalidParams.Len() > 0 {
67956		return invalidParams
67957	}
67958	return nil
67959}
67960
67961// SetDeviceFleetName sets the DeviceFleetName field's value.
67962func (s *RegisterDevicesInput) SetDeviceFleetName(v string) *RegisterDevicesInput {
67963	s.DeviceFleetName = &v
67964	return s
67965}
67966
67967// SetDevices sets the Devices field's value.
67968func (s *RegisterDevicesInput) SetDevices(v []*Device) *RegisterDevicesInput {
67969	s.Devices = v
67970	return s
67971}
67972
67973// SetTags sets the Tags field's value.
67974func (s *RegisterDevicesInput) SetTags(v []*Tag) *RegisterDevicesInput {
67975	s.Tags = v
67976	return s
67977}
67978
67979type RegisterDevicesOutput struct {
67980	_ struct{} `type:"structure"`
67981}
67982
67983// String returns the string representation
67984func (s RegisterDevicesOutput) String() string {
67985	return awsutil.Prettify(s)
67986}
67987
67988// GoString returns the string representation
67989func (s RegisterDevicesOutput) GoString() string {
67990	return s.String()
67991}
67992
67993// Metadata for a register model job step.
67994type RegisterModelStepMetadata struct {
67995	_ struct{} `type:"structure"`
67996
67997	// The Amazon Resource Name (ARN) of the model package.
67998	Arn *string `type:"string"`
67999}
68000
68001// String returns the string representation
68002func (s RegisterModelStepMetadata) String() string {
68003	return awsutil.Prettify(s)
68004}
68005
68006// GoString returns the string representation
68007func (s RegisterModelStepMetadata) GoString() string {
68008	return s.String()
68009}
68010
68011// SetArn sets the Arn field's value.
68012func (s *RegisterModelStepMetadata) SetArn(v string) *RegisterModelStepMetadata {
68013	s.Arn = &v
68014	return s
68015}
68016
68017type RenderUiTemplateInput struct {
68018	_ struct{} `type:"structure"`
68019
68020	// The HumanTaskUiArn of the worker UI that you want to render. Do not provide
68021	// a HumanTaskUiArn if you use the UiTemplate parameter.
68022	//
68023	// See a list of available Human Ui Amazon Resource Names (ARNs) in UiConfig.
68024	HumanTaskUiArn *string `type:"string"`
68025
68026	// The Amazon Resource Name (ARN) that has access to the S3 objects that are
68027	// used by the template.
68028	//
68029	// RoleArn is a required field
68030	RoleArn *string `min:"20" type:"string" required:"true"`
68031
68032	// A RenderableTask object containing a representative task to render.
68033	//
68034	// Task is a required field
68035	Task *RenderableTask `type:"structure" required:"true"`
68036
68037	// A Template object containing the worker UI template to render.
68038	UiTemplate *UiTemplate `type:"structure"`
68039}
68040
68041// String returns the string representation
68042func (s RenderUiTemplateInput) String() string {
68043	return awsutil.Prettify(s)
68044}
68045
68046// GoString returns the string representation
68047func (s RenderUiTemplateInput) GoString() string {
68048	return s.String()
68049}
68050
68051// Validate inspects the fields of the type to determine if they are valid.
68052func (s *RenderUiTemplateInput) Validate() error {
68053	invalidParams := request.ErrInvalidParams{Context: "RenderUiTemplateInput"}
68054	if s.RoleArn == nil {
68055		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
68056	}
68057	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
68058		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
68059	}
68060	if s.Task == nil {
68061		invalidParams.Add(request.NewErrParamRequired("Task"))
68062	}
68063	if s.Task != nil {
68064		if err := s.Task.Validate(); err != nil {
68065			invalidParams.AddNested("Task", err.(request.ErrInvalidParams))
68066		}
68067	}
68068	if s.UiTemplate != nil {
68069		if err := s.UiTemplate.Validate(); err != nil {
68070			invalidParams.AddNested("UiTemplate", err.(request.ErrInvalidParams))
68071		}
68072	}
68073
68074	if invalidParams.Len() > 0 {
68075		return invalidParams
68076	}
68077	return nil
68078}
68079
68080// SetHumanTaskUiArn sets the HumanTaskUiArn field's value.
68081func (s *RenderUiTemplateInput) SetHumanTaskUiArn(v string) *RenderUiTemplateInput {
68082	s.HumanTaskUiArn = &v
68083	return s
68084}
68085
68086// SetRoleArn sets the RoleArn field's value.
68087func (s *RenderUiTemplateInput) SetRoleArn(v string) *RenderUiTemplateInput {
68088	s.RoleArn = &v
68089	return s
68090}
68091
68092// SetTask sets the Task field's value.
68093func (s *RenderUiTemplateInput) SetTask(v *RenderableTask) *RenderUiTemplateInput {
68094	s.Task = v
68095	return s
68096}
68097
68098// SetUiTemplate sets the UiTemplate field's value.
68099func (s *RenderUiTemplateInput) SetUiTemplate(v *UiTemplate) *RenderUiTemplateInput {
68100	s.UiTemplate = v
68101	return s
68102}
68103
68104type RenderUiTemplateOutput struct {
68105	_ struct{} `type:"structure"`
68106
68107	// A list of one or more RenderingError objects if any were encountered while
68108	// rendering the template. If there were no errors, the list is empty.
68109	//
68110	// Errors is a required field
68111	Errors []*RenderingError `type:"list" required:"true"`
68112
68113	// A Liquid template that renders the HTML for the worker UI.
68114	//
68115	// RenderedContent is a required field
68116	RenderedContent *string `type:"string" required:"true"`
68117}
68118
68119// String returns the string representation
68120func (s RenderUiTemplateOutput) String() string {
68121	return awsutil.Prettify(s)
68122}
68123
68124// GoString returns the string representation
68125func (s RenderUiTemplateOutput) GoString() string {
68126	return s.String()
68127}
68128
68129// SetErrors sets the Errors field's value.
68130func (s *RenderUiTemplateOutput) SetErrors(v []*RenderingError) *RenderUiTemplateOutput {
68131	s.Errors = v
68132	return s
68133}
68134
68135// SetRenderedContent sets the RenderedContent field's value.
68136func (s *RenderUiTemplateOutput) SetRenderedContent(v string) *RenderUiTemplateOutput {
68137	s.RenderedContent = &v
68138	return s
68139}
68140
68141// Contains input values for a task.
68142type RenderableTask struct {
68143	_ struct{} `type:"structure"`
68144
68145	// A JSON object that contains values for the variables defined in the template.
68146	// It is made available to the template under the substitution variable task.input.
68147	// For example, if you define a variable task.input.text in your template, you
68148	// can supply the variable in the JSON object as "text": "sample text".
68149	//
68150	// Input is a required field
68151	Input *string `min:"2" type:"string" required:"true"`
68152}
68153
68154// String returns the string representation
68155func (s RenderableTask) String() string {
68156	return awsutil.Prettify(s)
68157}
68158
68159// GoString returns the string representation
68160func (s RenderableTask) GoString() string {
68161	return s.String()
68162}
68163
68164// Validate inspects the fields of the type to determine if they are valid.
68165func (s *RenderableTask) Validate() error {
68166	invalidParams := request.ErrInvalidParams{Context: "RenderableTask"}
68167	if s.Input == nil {
68168		invalidParams.Add(request.NewErrParamRequired("Input"))
68169	}
68170	if s.Input != nil && len(*s.Input) < 2 {
68171		invalidParams.Add(request.NewErrParamMinLen("Input", 2))
68172	}
68173
68174	if invalidParams.Len() > 0 {
68175		return invalidParams
68176	}
68177	return nil
68178}
68179
68180// SetInput sets the Input field's value.
68181func (s *RenderableTask) SetInput(v string) *RenderableTask {
68182	s.Input = &v
68183	return s
68184}
68185
68186// A description of an error that occurred while rendering the template.
68187type RenderingError struct {
68188	_ struct{} `type:"structure"`
68189
68190	// A unique identifier for a specific class of errors.
68191	//
68192	// Code is a required field
68193	Code *string `type:"string" required:"true"`
68194
68195	// A human-readable message describing the error.
68196	//
68197	// Message is a required field
68198	Message *string `type:"string" required:"true"`
68199}
68200
68201// String returns the string representation
68202func (s RenderingError) String() string {
68203	return awsutil.Prettify(s)
68204}
68205
68206// GoString returns the string representation
68207func (s RenderingError) GoString() string {
68208	return s.String()
68209}
68210
68211// SetCode sets the Code field's value.
68212func (s *RenderingError) SetCode(v string) *RenderingError {
68213	s.Code = &v
68214	return s
68215}
68216
68217// SetMessage sets the Message field's value.
68218func (s *RenderingError) SetMessage(v string) *RenderingError {
68219	s.Message = &v
68220	return s
68221}
68222
68223// Specifies an authentication configuration for the private docker registry
68224// where your model image is hosted. Specify a value for this property only
68225// if you specified Vpc as the value for the RepositoryAccessMode field of the
68226// ImageConfig object that you passed to a call to CreateModel and the private
68227// Docker registry where the model image is hosted requires authentication.
68228type RepositoryAuthConfig struct {
68229	_ struct{} `type:"structure"`
68230
68231	// The Amazon Resource Name (ARN) of an AWS Lambda function that provides credentials
68232	// to authenticate to the private Docker registry where your model image is
68233	// hosted. For information about how to create an AWS Lambda function, see Create
68234	// a Lambda function with the console (https://docs.aws.amazon.com/lambda/latest/dg/getting-started-create-function.html)
68235	// in the AWS Lambda Developer Guide.
68236	//
68237	// RepositoryCredentialsProviderArn is a required field
68238	RepositoryCredentialsProviderArn *string `min:"1" type:"string" required:"true"`
68239}
68240
68241// String returns the string representation
68242func (s RepositoryAuthConfig) String() string {
68243	return awsutil.Prettify(s)
68244}
68245
68246// GoString returns the string representation
68247func (s RepositoryAuthConfig) GoString() string {
68248	return s.String()
68249}
68250
68251// Validate inspects the fields of the type to determine if they are valid.
68252func (s *RepositoryAuthConfig) Validate() error {
68253	invalidParams := request.ErrInvalidParams{Context: "RepositoryAuthConfig"}
68254	if s.RepositoryCredentialsProviderArn == nil {
68255		invalidParams.Add(request.NewErrParamRequired("RepositoryCredentialsProviderArn"))
68256	}
68257	if s.RepositoryCredentialsProviderArn != nil && len(*s.RepositoryCredentialsProviderArn) < 1 {
68258		invalidParams.Add(request.NewErrParamMinLen("RepositoryCredentialsProviderArn", 1))
68259	}
68260
68261	if invalidParams.Len() > 0 {
68262		return invalidParams
68263	}
68264	return nil
68265}
68266
68267// SetRepositoryCredentialsProviderArn sets the RepositoryCredentialsProviderArn field's value.
68268func (s *RepositoryAuthConfig) SetRepositoryCredentialsProviderArn(v string) *RepositoryAuthConfig {
68269	s.RepositoryCredentialsProviderArn = &v
68270	return s
68271}
68272
68273// The resolved attributes.
68274type ResolvedAttributes struct {
68275	_ struct{} `type:"structure"`
68276
68277	// Specifies a metric to minimize or maximize as the objective of a job.
68278	AutoMLJobObjective *AutoMLJobObjective `type:"structure"`
68279
68280	// How long a job is allowed to run, or how many candidates a job is allowed
68281	// to generate.
68282	CompletionCriteria *AutoMLJobCompletionCriteria `type:"structure"`
68283
68284	// The problem type.
68285	ProblemType *string `type:"string" enum:"ProblemType"`
68286}
68287
68288// String returns the string representation
68289func (s ResolvedAttributes) String() string {
68290	return awsutil.Prettify(s)
68291}
68292
68293// GoString returns the string representation
68294func (s ResolvedAttributes) GoString() string {
68295	return s.String()
68296}
68297
68298// SetAutoMLJobObjective sets the AutoMLJobObjective field's value.
68299func (s *ResolvedAttributes) SetAutoMLJobObjective(v *AutoMLJobObjective) *ResolvedAttributes {
68300	s.AutoMLJobObjective = v
68301	return s
68302}
68303
68304// SetCompletionCriteria sets the CompletionCriteria field's value.
68305func (s *ResolvedAttributes) SetCompletionCriteria(v *AutoMLJobCompletionCriteria) *ResolvedAttributes {
68306	s.CompletionCriteria = v
68307	return s
68308}
68309
68310// SetProblemType sets the ProblemType field's value.
68311func (s *ResolvedAttributes) SetProblemType(v string) *ResolvedAttributes {
68312	s.ProblemType = &v
68313	return s
68314}
68315
68316// Describes the resources, including ML compute instances and ML storage volumes,
68317// to use for model training.
68318type ResourceConfig struct {
68319	_ struct{} `type:"structure"`
68320
68321	// The number of ML compute instances to use. For distributed training, provide
68322	// a value greater than 1.
68323	//
68324	// InstanceCount is a required field
68325	InstanceCount *int64 `min:"1" type:"integer" required:"true"`
68326
68327	// The ML compute instance type.
68328	//
68329	// InstanceType is a required field
68330	InstanceType *string `type:"string" required:"true" enum:"TrainingInstanceType"`
68331
68332	// The AWS KMS key that Amazon SageMaker uses to encrypt data on the storage
68333	// volume attached to the ML compute instance(s) that run the training job.
68334	//
68335	// Certain Nitro-based instances include local storage, dependent on the instance
68336	// type. Local storage volumes are encrypted using a hardware module on the
68337	// instance. You can't request a VolumeKmsKeyId when using an instance type
68338	// with local storage.
68339	//
68340	// For a list of instance types that support local instance storage, see Instance
68341	// Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes).
68342	//
68343	// For more information about local instance storage encryption, see SSD Instance
68344	// Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html).
68345	//
68346	// The VolumeKmsKeyId can be in any of the following formats:
68347	//
68348	//    * // KMS Key ID "1234abcd-12ab-34cd-56ef-1234567890ab"
68349	//
68350	//    * // Amazon Resource Name (ARN) of a KMS Key "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
68351	VolumeKmsKeyId *string `type:"string"`
68352
68353	// The size of the ML storage volume that you want to provision.
68354	//
68355	// ML storage volumes store model artifacts and incremental states. Training
68356	// algorithms might also use the ML storage volume for scratch space. If you
68357	// want to store the training data in the ML storage volume, choose File as
68358	// the TrainingInputMode in the algorithm specification.
68359	//
68360	// You must specify sufficient ML storage for your scenario.
68361	//
68362	// Amazon SageMaker supports only the General Purpose SSD (gp2) ML storage volume
68363	// type.
68364	//
68365	// Certain Nitro-based instances include local storage with a fixed total size,
68366	// dependent on the instance type. When using these instances for training,
68367	// Amazon SageMaker mounts the local instance storage instead of Amazon EBS
68368	// gp2 storage. You can't request a VolumeSizeInGB greater than the total size
68369	// of the local instance storage.
68370	//
68371	// For a list of instance types that support local instance storage, including
68372	// the total size per instance type, see Instance Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes).
68373	//
68374	// VolumeSizeInGB is a required field
68375	VolumeSizeInGB *int64 `min:"1" type:"integer" required:"true"`
68376}
68377
68378// String returns the string representation
68379func (s ResourceConfig) String() string {
68380	return awsutil.Prettify(s)
68381}
68382
68383// GoString returns the string representation
68384func (s ResourceConfig) GoString() string {
68385	return s.String()
68386}
68387
68388// Validate inspects the fields of the type to determine if they are valid.
68389func (s *ResourceConfig) Validate() error {
68390	invalidParams := request.ErrInvalidParams{Context: "ResourceConfig"}
68391	if s.InstanceCount == nil {
68392		invalidParams.Add(request.NewErrParamRequired("InstanceCount"))
68393	}
68394	if s.InstanceCount != nil && *s.InstanceCount < 1 {
68395		invalidParams.Add(request.NewErrParamMinValue("InstanceCount", 1))
68396	}
68397	if s.InstanceType == nil {
68398		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
68399	}
68400	if s.VolumeSizeInGB == nil {
68401		invalidParams.Add(request.NewErrParamRequired("VolumeSizeInGB"))
68402	}
68403	if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 1 {
68404		invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 1))
68405	}
68406
68407	if invalidParams.Len() > 0 {
68408		return invalidParams
68409	}
68410	return nil
68411}
68412
68413// SetInstanceCount sets the InstanceCount field's value.
68414func (s *ResourceConfig) SetInstanceCount(v int64) *ResourceConfig {
68415	s.InstanceCount = &v
68416	return s
68417}
68418
68419// SetInstanceType sets the InstanceType field's value.
68420func (s *ResourceConfig) SetInstanceType(v string) *ResourceConfig {
68421	s.InstanceType = &v
68422	return s
68423}
68424
68425// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
68426func (s *ResourceConfig) SetVolumeKmsKeyId(v string) *ResourceConfig {
68427	s.VolumeKmsKeyId = &v
68428	return s
68429}
68430
68431// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
68432func (s *ResourceConfig) SetVolumeSizeInGB(v int64) *ResourceConfig {
68433	s.VolumeSizeInGB = &v
68434	return s
68435}
68436
68437// Resource being accessed is in use.
68438type ResourceInUse struct {
68439	_            struct{}                  `type:"structure"`
68440	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
68441
68442	Message_ *string `locationName:"Message" type:"string"`
68443}
68444
68445// String returns the string representation
68446func (s ResourceInUse) String() string {
68447	return awsutil.Prettify(s)
68448}
68449
68450// GoString returns the string representation
68451func (s ResourceInUse) GoString() string {
68452	return s.String()
68453}
68454
68455func newErrorResourceInUse(v protocol.ResponseMetadata) error {
68456	return &ResourceInUse{
68457		RespMetadata: v,
68458	}
68459}
68460
68461// Code returns the exception type name.
68462func (s *ResourceInUse) Code() string {
68463	return "ResourceInUse"
68464}
68465
68466// Message returns the exception's message.
68467func (s *ResourceInUse) Message() string {
68468	if s.Message_ != nil {
68469		return *s.Message_
68470	}
68471	return ""
68472}
68473
68474// OrigErr always returns nil, satisfies awserr.Error interface.
68475func (s *ResourceInUse) OrigErr() error {
68476	return nil
68477}
68478
68479func (s *ResourceInUse) Error() string {
68480	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
68481}
68482
68483// Status code returns the HTTP status code for the request's response error.
68484func (s *ResourceInUse) StatusCode() int {
68485	return s.RespMetadata.StatusCode
68486}
68487
68488// RequestID returns the service's response RequestID for request.
68489func (s *ResourceInUse) RequestID() string {
68490	return s.RespMetadata.RequestID
68491}
68492
68493// You have exceeded an Amazon SageMaker resource limit. For example, you might
68494// have too many training jobs created.
68495type ResourceLimitExceeded struct {
68496	_            struct{}                  `type:"structure"`
68497	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
68498
68499	Message_ *string `locationName:"Message" type:"string"`
68500}
68501
68502// String returns the string representation
68503func (s ResourceLimitExceeded) String() string {
68504	return awsutil.Prettify(s)
68505}
68506
68507// GoString returns the string representation
68508func (s ResourceLimitExceeded) GoString() string {
68509	return s.String()
68510}
68511
68512func newErrorResourceLimitExceeded(v protocol.ResponseMetadata) error {
68513	return &ResourceLimitExceeded{
68514		RespMetadata: v,
68515	}
68516}
68517
68518// Code returns the exception type name.
68519func (s *ResourceLimitExceeded) Code() string {
68520	return "ResourceLimitExceeded"
68521}
68522
68523// Message returns the exception's message.
68524func (s *ResourceLimitExceeded) Message() string {
68525	if s.Message_ != nil {
68526		return *s.Message_
68527	}
68528	return ""
68529}
68530
68531// OrigErr always returns nil, satisfies awserr.Error interface.
68532func (s *ResourceLimitExceeded) OrigErr() error {
68533	return nil
68534}
68535
68536func (s *ResourceLimitExceeded) Error() string {
68537	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
68538}
68539
68540// Status code returns the HTTP status code for the request's response error.
68541func (s *ResourceLimitExceeded) StatusCode() int {
68542	return s.RespMetadata.StatusCode
68543}
68544
68545// RequestID returns the service's response RequestID for request.
68546func (s *ResourceLimitExceeded) RequestID() string {
68547	return s.RespMetadata.RequestID
68548}
68549
68550// Specifies the maximum number of training jobs and parallel training jobs
68551// that a hyperparameter tuning job can launch.
68552type ResourceLimits struct {
68553	_ struct{} `type:"structure"`
68554
68555	// The maximum number of training jobs that a hyperparameter tuning job can
68556	// launch.
68557	//
68558	// MaxNumberOfTrainingJobs is a required field
68559	MaxNumberOfTrainingJobs *int64 `min:"1" type:"integer" required:"true"`
68560
68561	// The maximum number of concurrent training jobs that a hyperparameter tuning
68562	// job can launch.
68563	//
68564	// MaxParallelTrainingJobs is a required field
68565	MaxParallelTrainingJobs *int64 `min:"1" type:"integer" required:"true"`
68566}
68567
68568// String returns the string representation
68569func (s ResourceLimits) String() string {
68570	return awsutil.Prettify(s)
68571}
68572
68573// GoString returns the string representation
68574func (s ResourceLimits) GoString() string {
68575	return s.String()
68576}
68577
68578// Validate inspects the fields of the type to determine if they are valid.
68579func (s *ResourceLimits) Validate() error {
68580	invalidParams := request.ErrInvalidParams{Context: "ResourceLimits"}
68581	if s.MaxNumberOfTrainingJobs == nil {
68582		invalidParams.Add(request.NewErrParamRequired("MaxNumberOfTrainingJobs"))
68583	}
68584	if s.MaxNumberOfTrainingJobs != nil && *s.MaxNumberOfTrainingJobs < 1 {
68585		invalidParams.Add(request.NewErrParamMinValue("MaxNumberOfTrainingJobs", 1))
68586	}
68587	if s.MaxParallelTrainingJobs == nil {
68588		invalidParams.Add(request.NewErrParamRequired("MaxParallelTrainingJobs"))
68589	}
68590	if s.MaxParallelTrainingJobs != nil && *s.MaxParallelTrainingJobs < 1 {
68591		invalidParams.Add(request.NewErrParamMinValue("MaxParallelTrainingJobs", 1))
68592	}
68593
68594	if invalidParams.Len() > 0 {
68595		return invalidParams
68596	}
68597	return nil
68598}
68599
68600// SetMaxNumberOfTrainingJobs sets the MaxNumberOfTrainingJobs field's value.
68601func (s *ResourceLimits) SetMaxNumberOfTrainingJobs(v int64) *ResourceLimits {
68602	s.MaxNumberOfTrainingJobs = &v
68603	return s
68604}
68605
68606// SetMaxParallelTrainingJobs sets the MaxParallelTrainingJobs field's value.
68607func (s *ResourceLimits) SetMaxParallelTrainingJobs(v int64) *ResourceLimits {
68608	s.MaxParallelTrainingJobs = &v
68609	return s
68610}
68611
68612// Resource being access is not found.
68613type ResourceNotFound struct {
68614	_            struct{}                  `type:"structure"`
68615	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
68616
68617	Message_ *string `locationName:"Message" type:"string"`
68618}
68619
68620// String returns the string representation
68621func (s ResourceNotFound) String() string {
68622	return awsutil.Prettify(s)
68623}
68624
68625// GoString returns the string representation
68626func (s ResourceNotFound) GoString() string {
68627	return s.String()
68628}
68629
68630func newErrorResourceNotFound(v protocol.ResponseMetadata) error {
68631	return &ResourceNotFound{
68632		RespMetadata: v,
68633	}
68634}
68635
68636// Code returns the exception type name.
68637func (s *ResourceNotFound) Code() string {
68638	return "ResourceNotFound"
68639}
68640
68641// Message returns the exception's message.
68642func (s *ResourceNotFound) Message() string {
68643	if s.Message_ != nil {
68644		return *s.Message_
68645	}
68646	return ""
68647}
68648
68649// OrigErr always returns nil, satisfies awserr.Error interface.
68650func (s *ResourceNotFound) OrigErr() error {
68651	return nil
68652}
68653
68654func (s *ResourceNotFound) Error() string {
68655	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
68656}
68657
68658// Status code returns the HTTP status code for the request's response error.
68659func (s *ResourceNotFound) StatusCode() int {
68660	return s.RespMetadata.StatusCode
68661}
68662
68663// RequestID returns the service's response RequestID for request.
68664func (s *ResourceNotFound) RequestID() string {
68665	return s.RespMetadata.RequestID
68666}
68667
68668// Specifies the ARN's of a SageMaker image and SageMaker image version, and
68669// the instance type that the version runs on.
68670type ResourceSpec struct {
68671	_ struct{} `type:"structure"`
68672
68673	// The instance type that the image version runs on.
68674	InstanceType *string `type:"string" enum:"AppInstanceType"`
68675
68676	// The ARN of the SageMaker image that the image version belongs to.
68677	SageMakerImageArn *string `type:"string"`
68678
68679	// The ARN of the image version created on the instance.
68680	SageMakerImageVersionArn *string `type:"string"`
68681}
68682
68683// String returns the string representation
68684func (s ResourceSpec) String() string {
68685	return awsutil.Prettify(s)
68686}
68687
68688// GoString returns the string representation
68689func (s ResourceSpec) GoString() string {
68690	return s.String()
68691}
68692
68693// SetInstanceType sets the InstanceType field's value.
68694func (s *ResourceSpec) SetInstanceType(v string) *ResourceSpec {
68695	s.InstanceType = &v
68696	return s
68697}
68698
68699// SetSageMakerImageArn sets the SageMakerImageArn field's value.
68700func (s *ResourceSpec) SetSageMakerImageArn(v string) *ResourceSpec {
68701	s.SageMakerImageArn = &v
68702	return s
68703}
68704
68705// SetSageMakerImageVersionArn sets the SageMakerImageVersionArn field's value.
68706func (s *ResourceSpec) SetSageMakerImageVersionArn(v string) *ResourceSpec {
68707	s.SageMakerImageVersionArn = &v
68708	return s
68709}
68710
68711// The retention policy for data stored on an Amazon Elastic File System (EFS)
68712// volume.
68713type RetentionPolicy struct {
68714	_ struct{} `type:"structure"`
68715
68716	// The default is Retain, which specifies to keep the data stored on the EFS
68717	// volume.
68718	//
68719	// Specify Delete to delete the data stored on the EFS volume.
68720	HomeEfsFileSystem *string `type:"string" enum:"RetentionType"`
68721}
68722
68723// String returns the string representation
68724func (s RetentionPolicy) String() string {
68725	return awsutil.Prettify(s)
68726}
68727
68728// GoString returns the string representation
68729func (s RetentionPolicy) GoString() string {
68730	return s.String()
68731}
68732
68733// SetHomeEfsFileSystem sets the HomeEfsFileSystem field's value.
68734func (s *RetentionPolicy) SetHomeEfsFileSystem(v string) *RetentionPolicy {
68735	s.HomeEfsFileSystem = &v
68736	return s
68737}
68738
68739// The retry strategy to use when a training job fails due to an InternalServerError.
68740// RetryStrategy is specified as part of the CreateTrainingJob and CreateHyperParameterTuningJob
68741// requests. You can add the StoppingCondition parameter to the request to limit
68742// the training time for the complete job.
68743type RetryStrategy struct {
68744	_ struct{} `type:"structure"`
68745
68746	// The number of times to retry the job. When the job is retried, it's SecondaryStatus
68747	// is changed to STARTING.
68748	//
68749	// MaximumRetryAttempts is a required field
68750	MaximumRetryAttempts *int64 `min:"1" type:"integer" required:"true"`
68751}
68752
68753// String returns the string representation
68754func (s RetryStrategy) String() string {
68755	return awsutil.Prettify(s)
68756}
68757
68758// GoString returns the string representation
68759func (s RetryStrategy) GoString() string {
68760	return s.String()
68761}
68762
68763// Validate inspects the fields of the type to determine if they are valid.
68764func (s *RetryStrategy) Validate() error {
68765	invalidParams := request.ErrInvalidParams{Context: "RetryStrategy"}
68766	if s.MaximumRetryAttempts == nil {
68767		invalidParams.Add(request.NewErrParamRequired("MaximumRetryAttempts"))
68768	}
68769	if s.MaximumRetryAttempts != nil && *s.MaximumRetryAttempts < 1 {
68770		invalidParams.Add(request.NewErrParamMinValue("MaximumRetryAttempts", 1))
68771	}
68772
68773	if invalidParams.Len() > 0 {
68774		return invalidParams
68775	}
68776	return nil
68777}
68778
68779// SetMaximumRetryAttempts sets the MaximumRetryAttempts field's value.
68780func (s *RetryStrategy) SetMaximumRetryAttempts(v int64) *RetryStrategy {
68781	s.MaximumRetryAttempts = &v
68782	return s
68783}
68784
68785// Describes the S3 data source.
68786type S3DataSource struct {
68787	_ struct{} `type:"structure"`
68788
68789	// A list of one or more attribute names to use that are found in a specified
68790	// augmented manifest file.
68791	AttributeNames []*string `type:"list"`
68792
68793	// If you want Amazon SageMaker to replicate the entire dataset on each ML compute
68794	// instance that is launched for model training, specify FullyReplicated.
68795	//
68796	// If you want Amazon SageMaker to replicate a subset of data on each ML compute
68797	// instance that is launched for model training, specify ShardedByS3Key. If
68798	// there are n ML compute instances launched for a training job, each instance
68799	// gets approximately 1/n of the number of S3 objects. In this case, model training
68800	// on each machine uses only the subset of training data.
68801	//
68802	// Don't choose more ML compute instances for training than available S3 objects.
68803	// If you do, some nodes won't get any data and you will pay for nodes that
68804	// aren't getting any training data. This applies in both File and Pipe modes.
68805	// Keep this in mind when developing algorithms.
68806	//
68807	// In distributed training, where you use multiple ML compute EC2 instances,
68808	// you might choose ShardedByS3Key. If the algorithm requires copying training
68809	// data to the ML storage volume (when TrainingInputMode is set to File), this
68810	// copies 1/n of the number of objects.
68811	S3DataDistributionType *string `type:"string" enum:"S3DataDistribution"`
68812
68813	// If you choose S3Prefix, S3Uri identifies a key name prefix. Amazon SageMaker
68814	// uses all objects that match the specified key name prefix for model training.
68815	//
68816	// If you choose ManifestFile, S3Uri identifies an object that is a manifest
68817	// file containing a list of object keys that you want Amazon SageMaker to use
68818	// for model training.
68819	//
68820	// If you choose AugmentedManifestFile, S3Uri identifies an object that is an
68821	// augmented manifest file in JSON lines format. This file contains the data
68822	// you want to use for model training. AugmentedManifestFile can only be used
68823	// if the Channel's input mode is Pipe.
68824	//
68825	// S3DataType is a required field
68826	S3DataType *string `type:"string" required:"true" enum:"S3DataType"`
68827
68828	// Depending on the value specified for the S3DataType, identifies either a
68829	// key name prefix or a manifest. For example:
68830	//
68831	//    * A key name prefix might look like this: s3://bucketname/exampleprefix
68832	//
68833	//    * A manifest might look like this: s3://bucketname/example.manifest A
68834	//    manifest is an S3 object which is a JSON file consisting of an array of
68835	//    elements. The first element is a prefix which is followed by one or more
68836	//    suffixes. SageMaker appends the suffix elements to the prefix to get a
68837	//    full set of S3Uri. Note that the prefix must be a valid non-empty S3Uri
68838	//    that precludes users from specifying a manifest whose individual S3Uri
68839	//    is sourced from different S3 buckets. The following code example shows
68840	//    a valid manifest format: [ {"prefix": "s3://customer_bucket/some/prefix/"},
68841	//    "relative/path/to/custdata-1", "relative/path/custdata-2", ... "relative/path/custdata-N"
68842	//    ] This JSON is equivalent to the following S3Uri list: s3://customer_bucket/some/prefix/relative/path/to/custdata-1
68843	//    s3://customer_bucket/some/prefix/relative/path/custdata-2 ... s3://customer_bucket/some/prefix/relative/path/custdata-N
68844	//    The complete set of S3Uri in this manifest is the input data for the channel
68845	//    for this data source. The object that each S3Uri points to must be readable
68846	//    by the IAM role that Amazon SageMaker uses to perform tasks on your behalf.
68847	//
68848	// S3Uri is a required field
68849	S3Uri *string `type:"string" required:"true"`
68850}
68851
68852// String returns the string representation
68853func (s S3DataSource) String() string {
68854	return awsutil.Prettify(s)
68855}
68856
68857// GoString returns the string representation
68858func (s S3DataSource) GoString() string {
68859	return s.String()
68860}
68861
68862// Validate inspects the fields of the type to determine if they are valid.
68863func (s *S3DataSource) Validate() error {
68864	invalidParams := request.ErrInvalidParams{Context: "S3DataSource"}
68865	if s.S3DataType == nil {
68866		invalidParams.Add(request.NewErrParamRequired("S3DataType"))
68867	}
68868	if s.S3Uri == nil {
68869		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
68870	}
68871
68872	if invalidParams.Len() > 0 {
68873		return invalidParams
68874	}
68875	return nil
68876}
68877
68878// SetAttributeNames sets the AttributeNames field's value.
68879func (s *S3DataSource) SetAttributeNames(v []*string) *S3DataSource {
68880	s.AttributeNames = v
68881	return s
68882}
68883
68884// SetS3DataDistributionType sets the S3DataDistributionType field's value.
68885func (s *S3DataSource) SetS3DataDistributionType(v string) *S3DataSource {
68886	s.S3DataDistributionType = &v
68887	return s
68888}
68889
68890// SetS3DataType sets the S3DataType field's value.
68891func (s *S3DataSource) SetS3DataType(v string) *S3DataSource {
68892	s.S3DataType = &v
68893	return s
68894}
68895
68896// SetS3Uri sets the S3Uri field's value.
68897func (s *S3DataSource) SetS3Uri(v string) *S3DataSource {
68898	s.S3Uri = &v
68899	return s
68900}
68901
68902// The Amazon Simple Storage (Amazon S3) location and and security configuration
68903// for OfflineStore.
68904type S3StorageConfig struct {
68905	_ struct{} `type:"structure"`
68906
68907	// The AWS Key Management Service (KMS) key ID of the key used to encrypt any
68908	// objects written into the OfflineStore S3 location.
68909	//
68910	// The IAM roleARN that is passed as a parameter to CreateFeatureGroup must
68911	// have below permissions to the KmsKeyId:
68912	//
68913	//    * "kms:GenerateDataKey"
68914	KmsKeyId *string `type:"string"`
68915
68916	// The S3 path where offline records are written.
68917	ResolvedOutputS3Uri *string `type:"string"`
68918
68919	// The S3 URI, or location in Amazon S3, of OfflineStore.
68920	//
68921	// S3 URIs have a format similar to the following: s3://example-bucket/prefix/.
68922	//
68923	// S3Uri is a required field
68924	S3Uri *string `type:"string" required:"true"`
68925}
68926
68927// String returns the string representation
68928func (s S3StorageConfig) String() string {
68929	return awsutil.Prettify(s)
68930}
68931
68932// GoString returns the string representation
68933func (s S3StorageConfig) GoString() string {
68934	return s.String()
68935}
68936
68937// Validate inspects the fields of the type to determine if they are valid.
68938func (s *S3StorageConfig) Validate() error {
68939	invalidParams := request.ErrInvalidParams{Context: "S3StorageConfig"}
68940	if s.S3Uri == nil {
68941		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
68942	}
68943
68944	if invalidParams.Len() > 0 {
68945		return invalidParams
68946	}
68947	return nil
68948}
68949
68950// SetKmsKeyId sets the KmsKeyId field's value.
68951func (s *S3StorageConfig) SetKmsKeyId(v string) *S3StorageConfig {
68952	s.KmsKeyId = &v
68953	return s
68954}
68955
68956// SetResolvedOutputS3Uri sets the ResolvedOutputS3Uri field's value.
68957func (s *S3StorageConfig) SetResolvedOutputS3Uri(v string) *S3StorageConfig {
68958	s.ResolvedOutputS3Uri = &v
68959	return s
68960}
68961
68962// SetS3Uri sets the S3Uri field's value.
68963func (s *S3StorageConfig) SetS3Uri(v string) *S3StorageConfig {
68964	s.S3Uri = &v
68965	return s
68966}
68967
68968// Configuration details about the monitoring schedule.
68969type ScheduleConfig struct {
68970	_ struct{} `type:"structure"`
68971
68972	// A cron expression that describes details about the monitoring schedule.
68973	//
68974	// Currently the only supported cron expressions are:
68975	//
68976	//    * If you want to set the job to start every hour, please use the following:
68977	//    Hourly: cron(0 * ? * * *)
68978	//
68979	//    * If you want to start the job daily: cron(0 [00-23] ? * * *)
68980	//
68981	// For example, the following are valid cron expressions:
68982	//
68983	//    * Daily at noon UTC: cron(0 12 ? * * *)
68984	//
68985	//    * Daily at midnight UTC: cron(0 0 ? * * *)
68986	//
68987	// To support running every 6, 12 hours, the following are also supported:
68988	//
68989	// cron(0 [00-23]/[01-24] ? * * *)
68990	//
68991	// For example, the following are valid cron expressions:
68992	//
68993	//    * Every 12 hours, starting at 5pm UTC: cron(0 17/12 ? * * *)
68994	//
68995	//    * Every two hours starting at midnight: cron(0 0/2 ? * * *)
68996	//
68997	//    * Even though the cron expression is set to start at 5PM UTC, note that
68998	//    there could be a delay of 0-20 minutes from the actual requested time
68999	//    to run the execution.
69000	//
69001	//    * We recommend that if you would like a daily schedule, you do not provide
69002	//    this parameter. Amazon SageMaker will pick a time for running every day.
69003	//
69004	// ScheduleExpression is a required field
69005	ScheduleExpression *string `min:"1" type:"string" required:"true"`
69006}
69007
69008// String returns the string representation
69009func (s ScheduleConfig) String() string {
69010	return awsutil.Prettify(s)
69011}
69012
69013// GoString returns the string representation
69014func (s ScheduleConfig) GoString() string {
69015	return s.String()
69016}
69017
69018// Validate inspects the fields of the type to determine if they are valid.
69019func (s *ScheduleConfig) Validate() error {
69020	invalidParams := request.ErrInvalidParams{Context: "ScheduleConfig"}
69021	if s.ScheduleExpression == nil {
69022		invalidParams.Add(request.NewErrParamRequired("ScheduleExpression"))
69023	}
69024	if s.ScheduleExpression != nil && len(*s.ScheduleExpression) < 1 {
69025		invalidParams.Add(request.NewErrParamMinLen("ScheduleExpression", 1))
69026	}
69027
69028	if invalidParams.Len() > 0 {
69029		return invalidParams
69030	}
69031	return nil
69032}
69033
69034// SetScheduleExpression sets the ScheduleExpression field's value.
69035func (s *ScheduleConfig) SetScheduleExpression(v string) *ScheduleConfig {
69036	s.ScheduleExpression = &v
69037	return s
69038}
69039
69040// A multi-expression that searches for the specified resource or resources
69041// in a search. All resource objects that satisfy the expression's condition
69042// are included in the search results. You must specify at least one subexpression,
69043// filter, or nested filter. A SearchExpression can contain up to twenty elements.
69044//
69045// A SearchExpression contains the following components:
69046//
69047//    * A list of Filter objects. Each filter defines a simple Boolean expression
69048//    comprised of a resource property name, Boolean operator, and value.
69049//
69050//    * A list of NestedFilter objects. Each nested filter defines a list of
69051//    Boolean expressions using a list of resource properties. A nested filter
69052//    is satisfied if a single object in the list satisfies all Boolean expressions.
69053//
69054//    * A list of SearchExpression objects. A search expression object can be
69055//    nested in a list of search expression objects.
69056//
69057//    * A Boolean operator: And or Or.
69058type SearchExpression struct {
69059	_ struct{} `type:"structure"`
69060
69061	// A list of filter objects.
69062	Filters []*Filter `min:"1" type:"list"`
69063
69064	// A list of nested filter objects.
69065	NestedFilters []*NestedFilters `min:"1" type:"list"`
69066
69067	// A Boolean operator used to evaluate the search expression. If you want every
69068	// conditional statement in all lists to be satisfied for the entire search
69069	// expression to be true, specify And. If only a single conditional statement
69070	// needs to be true for the entire search expression to be true, specify Or.
69071	// The default value is And.
69072	Operator *string `type:"string" enum:"BooleanOperator"`
69073
69074	// A list of search expression objects.
69075	SubExpressions []*SearchExpression `min:"1" type:"list"`
69076}
69077
69078// String returns the string representation
69079func (s SearchExpression) String() string {
69080	return awsutil.Prettify(s)
69081}
69082
69083// GoString returns the string representation
69084func (s SearchExpression) GoString() string {
69085	return s.String()
69086}
69087
69088// Validate inspects the fields of the type to determine if they are valid.
69089func (s *SearchExpression) Validate() error {
69090	invalidParams := request.ErrInvalidParams{Context: "SearchExpression"}
69091	if s.Filters != nil && len(s.Filters) < 1 {
69092		invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
69093	}
69094	if s.NestedFilters != nil && len(s.NestedFilters) < 1 {
69095		invalidParams.Add(request.NewErrParamMinLen("NestedFilters", 1))
69096	}
69097	if s.SubExpressions != nil && len(s.SubExpressions) < 1 {
69098		invalidParams.Add(request.NewErrParamMinLen("SubExpressions", 1))
69099	}
69100	if s.Filters != nil {
69101		for i, v := range s.Filters {
69102			if v == nil {
69103				continue
69104			}
69105			if err := v.Validate(); err != nil {
69106				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
69107			}
69108		}
69109	}
69110	if s.NestedFilters != nil {
69111		for i, v := range s.NestedFilters {
69112			if v == nil {
69113				continue
69114			}
69115			if err := v.Validate(); err != nil {
69116				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "NestedFilters", i), err.(request.ErrInvalidParams))
69117			}
69118		}
69119	}
69120	if s.SubExpressions != nil {
69121		for i, v := range s.SubExpressions {
69122			if v == nil {
69123				continue
69124			}
69125			if err := v.Validate(); err != nil {
69126				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SubExpressions", i), err.(request.ErrInvalidParams))
69127			}
69128		}
69129	}
69130
69131	if invalidParams.Len() > 0 {
69132		return invalidParams
69133	}
69134	return nil
69135}
69136
69137// SetFilters sets the Filters field's value.
69138func (s *SearchExpression) SetFilters(v []*Filter) *SearchExpression {
69139	s.Filters = v
69140	return s
69141}
69142
69143// SetNestedFilters sets the NestedFilters field's value.
69144func (s *SearchExpression) SetNestedFilters(v []*NestedFilters) *SearchExpression {
69145	s.NestedFilters = v
69146	return s
69147}
69148
69149// SetOperator sets the Operator field's value.
69150func (s *SearchExpression) SetOperator(v string) *SearchExpression {
69151	s.Operator = &v
69152	return s
69153}
69154
69155// SetSubExpressions sets the SubExpressions field's value.
69156func (s *SearchExpression) SetSubExpressions(v []*SearchExpression) *SearchExpression {
69157	s.SubExpressions = v
69158	return s
69159}
69160
69161type SearchInput struct {
69162	_ struct{} `type:"structure"`
69163
69164	// The maximum number of results to return.
69165	MaxResults *int64 `min:"1" type:"integer"`
69166
69167	// If more than MaxResults resources match the specified SearchExpression, the
69168	// response includes a NextToken. The NextToken can be passed to the next SearchRequest
69169	// to continue retrieving results.
69170	NextToken *string `type:"string"`
69171
69172	// The name of the Amazon SageMaker resource to search for.
69173	//
69174	// Resource is a required field
69175	Resource *string `type:"string" required:"true" enum:"ResourceType"`
69176
69177	// A Boolean conditional statement. Resources must satisfy this condition to
69178	// be included in search results. You must provide at least one subexpression,
69179	// filter, or nested filter. The maximum number of recursive SubExpressions,
69180	// NestedFilters, and Filters that can be included in a SearchExpression object
69181	// is 50.
69182	SearchExpression *SearchExpression `type:"structure"`
69183
69184	// The name of the resource property used to sort the SearchResults. The default
69185	// is LastModifiedTime.
69186	SortBy *string `min:"1" type:"string"`
69187
69188	// How SearchResults are ordered. Valid values are Ascending or Descending.
69189	// The default is Descending.
69190	SortOrder *string `type:"string" enum:"SearchSortOrder"`
69191}
69192
69193// String returns the string representation
69194func (s SearchInput) String() string {
69195	return awsutil.Prettify(s)
69196}
69197
69198// GoString returns the string representation
69199func (s SearchInput) GoString() string {
69200	return s.String()
69201}
69202
69203// Validate inspects the fields of the type to determine if they are valid.
69204func (s *SearchInput) Validate() error {
69205	invalidParams := request.ErrInvalidParams{Context: "SearchInput"}
69206	if s.MaxResults != nil && *s.MaxResults < 1 {
69207		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
69208	}
69209	if s.Resource == nil {
69210		invalidParams.Add(request.NewErrParamRequired("Resource"))
69211	}
69212	if s.SortBy != nil && len(*s.SortBy) < 1 {
69213		invalidParams.Add(request.NewErrParamMinLen("SortBy", 1))
69214	}
69215	if s.SearchExpression != nil {
69216		if err := s.SearchExpression.Validate(); err != nil {
69217			invalidParams.AddNested("SearchExpression", err.(request.ErrInvalidParams))
69218		}
69219	}
69220
69221	if invalidParams.Len() > 0 {
69222		return invalidParams
69223	}
69224	return nil
69225}
69226
69227// SetMaxResults sets the MaxResults field's value.
69228func (s *SearchInput) SetMaxResults(v int64) *SearchInput {
69229	s.MaxResults = &v
69230	return s
69231}
69232
69233// SetNextToken sets the NextToken field's value.
69234func (s *SearchInput) SetNextToken(v string) *SearchInput {
69235	s.NextToken = &v
69236	return s
69237}
69238
69239// SetResource sets the Resource field's value.
69240func (s *SearchInput) SetResource(v string) *SearchInput {
69241	s.Resource = &v
69242	return s
69243}
69244
69245// SetSearchExpression sets the SearchExpression field's value.
69246func (s *SearchInput) SetSearchExpression(v *SearchExpression) *SearchInput {
69247	s.SearchExpression = v
69248	return s
69249}
69250
69251// SetSortBy sets the SortBy field's value.
69252func (s *SearchInput) SetSortBy(v string) *SearchInput {
69253	s.SortBy = &v
69254	return s
69255}
69256
69257// SetSortOrder sets the SortOrder field's value.
69258func (s *SearchInput) SetSortOrder(v string) *SearchInput {
69259	s.SortOrder = &v
69260	return s
69261}
69262
69263type SearchOutput struct {
69264	_ struct{} `type:"structure"`
69265
69266	// If the result of the previous Search request was truncated, the response
69267	// includes a NextToken. To retrieve the next set of results, use the token
69268	// in the next request.
69269	NextToken *string `type:"string"`
69270
69271	// A list of SearchRecord objects.
69272	Results []*SearchRecord `type:"list"`
69273}
69274
69275// String returns the string representation
69276func (s SearchOutput) String() string {
69277	return awsutil.Prettify(s)
69278}
69279
69280// GoString returns the string representation
69281func (s SearchOutput) GoString() string {
69282	return s.String()
69283}
69284
69285// SetNextToken sets the NextToken field's value.
69286func (s *SearchOutput) SetNextToken(v string) *SearchOutput {
69287	s.NextToken = &v
69288	return s
69289}
69290
69291// SetResults sets the Results field's value.
69292func (s *SearchOutput) SetResults(v []*SearchRecord) *SearchOutput {
69293	s.Results = v
69294	return s
69295}
69296
69297// A single resource returned as part of the Search API response.
69298type SearchRecord struct {
69299	_ struct{} `type:"structure"`
69300
69301	// A hosted endpoint for real-time inference.
69302	Endpoint *Endpoint `type:"structure"`
69303
69304	// The properties of an experiment.
69305	Experiment *Experiment `type:"structure"`
69306
69307	// Amazon SageMaker Feature Store stores features in a collection called Feature
69308	// Group. A Feature Group can be visualized as a table which has rows, with
69309	// a unique identifier for each row where each column in the table is a feature.
69310	// In principle, a Feature Group is composed of features and values per features.
69311	FeatureGroup *FeatureGroup `type:"structure"`
69312
69313	// A versioned model that can be deployed for SageMaker inference.
69314	ModelPackage *ModelPackage `type:"structure"`
69315
69316	// A group of versioned models in the model registry.
69317	ModelPackageGroup *ModelPackageGroup `type:"structure"`
69318
69319	// A SageMaker Model Building Pipeline instance.
69320	Pipeline *Pipeline `type:"structure"`
69321
69322	// An execution of a pipeline.
69323	PipelineExecution *PipelineExecution `type:"structure"`
69324
69325	// The properties of a training job.
69326	TrainingJob *TrainingJob `type:"structure"`
69327
69328	// The properties of a trial.
69329	Trial *Trial `type:"structure"`
69330
69331	// The properties of a trial component.
69332	TrialComponent *TrialComponent `type:"structure"`
69333}
69334
69335// String returns the string representation
69336func (s SearchRecord) String() string {
69337	return awsutil.Prettify(s)
69338}
69339
69340// GoString returns the string representation
69341func (s SearchRecord) GoString() string {
69342	return s.String()
69343}
69344
69345// SetEndpoint sets the Endpoint field's value.
69346func (s *SearchRecord) SetEndpoint(v *Endpoint) *SearchRecord {
69347	s.Endpoint = v
69348	return s
69349}
69350
69351// SetExperiment sets the Experiment field's value.
69352func (s *SearchRecord) SetExperiment(v *Experiment) *SearchRecord {
69353	s.Experiment = v
69354	return s
69355}
69356
69357// SetFeatureGroup sets the FeatureGroup field's value.
69358func (s *SearchRecord) SetFeatureGroup(v *FeatureGroup) *SearchRecord {
69359	s.FeatureGroup = v
69360	return s
69361}
69362
69363// SetModelPackage sets the ModelPackage field's value.
69364func (s *SearchRecord) SetModelPackage(v *ModelPackage) *SearchRecord {
69365	s.ModelPackage = v
69366	return s
69367}
69368
69369// SetModelPackageGroup sets the ModelPackageGroup field's value.
69370func (s *SearchRecord) SetModelPackageGroup(v *ModelPackageGroup) *SearchRecord {
69371	s.ModelPackageGroup = v
69372	return s
69373}
69374
69375// SetPipeline sets the Pipeline field's value.
69376func (s *SearchRecord) SetPipeline(v *Pipeline) *SearchRecord {
69377	s.Pipeline = v
69378	return s
69379}
69380
69381// SetPipelineExecution sets the PipelineExecution field's value.
69382func (s *SearchRecord) SetPipelineExecution(v *PipelineExecution) *SearchRecord {
69383	s.PipelineExecution = v
69384	return s
69385}
69386
69387// SetTrainingJob sets the TrainingJob field's value.
69388func (s *SearchRecord) SetTrainingJob(v *TrainingJob) *SearchRecord {
69389	s.TrainingJob = v
69390	return s
69391}
69392
69393// SetTrial sets the Trial field's value.
69394func (s *SearchRecord) SetTrial(v *Trial) *SearchRecord {
69395	s.Trial = v
69396	return s
69397}
69398
69399// SetTrialComponent sets the TrialComponent field's value.
69400func (s *SearchRecord) SetTrialComponent(v *TrialComponent) *SearchRecord {
69401	s.TrialComponent = v
69402	return s
69403}
69404
69405// An array element of DescribeTrainingJobResponse$SecondaryStatusTransitions.
69406// It provides additional details about a status that the training job has transitioned
69407// through. A training job can be in one of several states, for example, starting,
69408// downloading, training, or uploading. Within each state, there are a number
69409// of intermediate states. For example, within the starting state, Amazon SageMaker
69410// could be starting the training job or launching the ML instances. These transitional
69411// states are referred to as the job's secondary status.
69412type SecondaryStatusTransition struct {
69413	_ struct{} `type:"structure"`
69414
69415	// A timestamp that shows when the training job transitioned out of this secondary
69416	// status state into another secondary status state or when the training job
69417	// has ended.
69418	EndTime *time.Time `type:"timestamp"`
69419
69420	// A timestamp that shows when the training job transitioned to the current
69421	// secondary status state.
69422	//
69423	// StartTime is a required field
69424	StartTime *time.Time `type:"timestamp" required:"true"`
69425
69426	// Contains a secondary status information from a training job.
69427	//
69428	// Status might be one of the following secondary statuses:
69429	//
69430	// InProgress
69431	//
69432	//    * Starting - Starting the training job.
69433	//
69434	//    * Downloading - An optional stage for algorithms that support File training
69435	//    input mode. It indicates that data is being downloaded to the ML storage
69436	//    volumes.
69437	//
69438	//    * Training - Training is in progress.
69439	//
69440	//    * Uploading - Training is complete and the model artifacts are being uploaded
69441	//    to the S3 location.
69442	//
69443	// Completed
69444	//
69445	//    * Completed - The training job has completed.
69446	//
69447	// Failed
69448	//
69449	//    * Failed - The training job has failed. The reason for the failure is
69450	//    returned in the FailureReason field of DescribeTrainingJobResponse.
69451	//
69452	// Stopped
69453	//
69454	//    * MaxRuntimeExceeded - The job stopped because it exceeded the maximum
69455	//    allowed runtime.
69456	//
69457	//    * Stopped - The training job has stopped.
69458	//
69459	// Stopping
69460	//
69461	//    * Stopping - Stopping the training job.
69462	//
69463	// We no longer support the following secondary statuses:
69464	//
69465	//    * LaunchingMLInstances
69466	//
69467	//    * PreparingTrainingStack
69468	//
69469	//    * DownloadingTrainingImage
69470	//
69471	// Status is a required field
69472	Status *string `type:"string" required:"true" enum:"SecondaryStatus"`
69473
69474	// A detailed description of the progress within a secondary status.
69475	//
69476	// Amazon SageMaker provides secondary statuses and status messages that apply
69477	// to each of them:
69478	//
69479	// Starting
69480	//
69481	//    * Starting the training job.
69482	//
69483	//    * Launching requested ML instances.
69484	//
69485	//    * Insufficient capacity error from EC2 while launching instances, retrying!
69486	//
69487	//    * Launched instance was unhealthy, replacing it!
69488	//
69489	//    * Preparing the instances for training.
69490	//
69491	// Training
69492	//
69493	//    * Downloading the training image.
69494	//
69495	//    * Training image download completed. Training in progress.
69496	//
69497	// Status messages are subject to change. Therefore, we recommend not including
69498	// them in code that programmatically initiates actions. For examples, don't
69499	// use status messages in if statements.
69500	//
69501	// To have an overview of your training job's progress, view TrainingJobStatus
69502	// and SecondaryStatus in DescribeTrainingJob, and StatusMessage together. For
69503	// example, at the start of a training job, you might see the following:
69504	//
69505	//    * TrainingJobStatus - InProgress
69506	//
69507	//    * SecondaryStatus - Training
69508	//
69509	//    * StatusMessage - Downloading the training image
69510	StatusMessage *string `type:"string"`
69511}
69512
69513// String returns the string representation
69514func (s SecondaryStatusTransition) String() string {
69515	return awsutil.Prettify(s)
69516}
69517
69518// GoString returns the string representation
69519func (s SecondaryStatusTransition) GoString() string {
69520	return s.String()
69521}
69522
69523// SetEndTime sets the EndTime field's value.
69524func (s *SecondaryStatusTransition) SetEndTime(v time.Time) *SecondaryStatusTransition {
69525	s.EndTime = &v
69526	return s
69527}
69528
69529// SetStartTime sets the StartTime field's value.
69530func (s *SecondaryStatusTransition) SetStartTime(v time.Time) *SecondaryStatusTransition {
69531	s.StartTime = &v
69532	return s
69533}
69534
69535// SetStatus sets the Status field's value.
69536func (s *SecondaryStatusTransition) SetStatus(v string) *SecondaryStatusTransition {
69537	s.Status = &v
69538	return s
69539}
69540
69541// SetStatusMessage sets the StatusMessage field's value.
69542func (s *SecondaryStatusTransition) SetStatusMessage(v string) *SecondaryStatusTransition {
69543	s.StatusMessage = &v
69544	return s
69545}
69546
69547// Details of a provisioned service catalog product. For information about service
69548// catalog, see What is AWS Service Catalog (https://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html).
69549type ServiceCatalogProvisionedProductDetails struct {
69550	_ struct{} `type:"structure"`
69551
69552	// The ID of the provisioned product.
69553	ProvisionedProductId *string `min:"1" type:"string"`
69554
69555	// The current status of the product.
69556	//
69557	//    * AVAILABLE - Stable state, ready to perform any operation. The most recent
69558	//    operation succeeded and completed.
69559	//
69560	//    * UNDER_CHANGE - Transitive state. Operations performed might not have
69561	//    valid results. Wait for an AVAILABLE status before performing operations.
69562	//
69563	//    * TAINTED - Stable state, ready to perform any operation. The stack has
69564	//    completed the requested operation but is not exactly what was requested.
69565	//    For example, a request to update to a new version failed and the stack
69566	//    rolled back to the current version.
69567	//
69568	//    * ERROR - An unexpected error occurred. The provisioned product exists
69569	//    but the stack is not running. For example, CloudFormation received a parameter
69570	//    value that was not valid and could not launch the stack.
69571	//
69572	//    * PLAN_IN_PROGRESS - Transitive state. The plan operations were performed
69573	//    to provision a new product, but resources have not yet been created. After
69574	//    reviewing the list of resources to be created, execute the plan. Wait
69575	//    for an AVAILABLE status before performing operations.
69576	ProvisionedProductStatusMessage *string `type:"string"`
69577}
69578
69579// String returns the string representation
69580func (s ServiceCatalogProvisionedProductDetails) String() string {
69581	return awsutil.Prettify(s)
69582}
69583
69584// GoString returns the string representation
69585func (s ServiceCatalogProvisionedProductDetails) GoString() string {
69586	return s.String()
69587}
69588
69589// SetProvisionedProductId sets the ProvisionedProductId field's value.
69590func (s *ServiceCatalogProvisionedProductDetails) SetProvisionedProductId(v string) *ServiceCatalogProvisionedProductDetails {
69591	s.ProvisionedProductId = &v
69592	return s
69593}
69594
69595// SetProvisionedProductStatusMessage sets the ProvisionedProductStatusMessage field's value.
69596func (s *ServiceCatalogProvisionedProductDetails) SetProvisionedProductStatusMessage(v string) *ServiceCatalogProvisionedProductDetails {
69597	s.ProvisionedProductStatusMessage = &v
69598	return s
69599}
69600
69601// Details that you specify to provision a service catalog product. For information
69602// about service catalog, see .What is AWS Service Catalog (https://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html).
69603type ServiceCatalogProvisioningDetails struct {
69604	_ struct{} `type:"structure"`
69605
69606	// The path identifier of the product. This value is optional if the product
69607	// has a default path, and required if the product has more than one path.
69608	PathId *string `min:"1" type:"string"`
69609
69610	// The ID of the product to provision.
69611	//
69612	// ProductId is a required field
69613	ProductId *string `min:"1" type:"string" required:"true"`
69614
69615	// The ID of the provisioning artifact.
69616	//
69617	// ProvisioningArtifactId is a required field
69618	ProvisioningArtifactId *string `min:"1" type:"string" required:"true"`
69619
69620	// A list of key value pairs that you specify when you provision a product.
69621	ProvisioningParameters []*ProvisioningParameter `type:"list"`
69622}
69623
69624// String returns the string representation
69625func (s ServiceCatalogProvisioningDetails) String() string {
69626	return awsutil.Prettify(s)
69627}
69628
69629// GoString returns the string representation
69630func (s ServiceCatalogProvisioningDetails) GoString() string {
69631	return s.String()
69632}
69633
69634// Validate inspects the fields of the type to determine if they are valid.
69635func (s *ServiceCatalogProvisioningDetails) Validate() error {
69636	invalidParams := request.ErrInvalidParams{Context: "ServiceCatalogProvisioningDetails"}
69637	if s.PathId != nil && len(*s.PathId) < 1 {
69638		invalidParams.Add(request.NewErrParamMinLen("PathId", 1))
69639	}
69640	if s.ProductId == nil {
69641		invalidParams.Add(request.NewErrParamRequired("ProductId"))
69642	}
69643	if s.ProductId != nil && len(*s.ProductId) < 1 {
69644		invalidParams.Add(request.NewErrParamMinLen("ProductId", 1))
69645	}
69646	if s.ProvisioningArtifactId == nil {
69647		invalidParams.Add(request.NewErrParamRequired("ProvisioningArtifactId"))
69648	}
69649	if s.ProvisioningArtifactId != nil && len(*s.ProvisioningArtifactId) < 1 {
69650		invalidParams.Add(request.NewErrParamMinLen("ProvisioningArtifactId", 1))
69651	}
69652	if s.ProvisioningParameters != nil {
69653		for i, v := range s.ProvisioningParameters {
69654			if v == nil {
69655				continue
69656			}
69657			if err := v.Validate(); err != nil {
69658				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ProvisioningParameters", i), err.(request.ErrInvalidParams))
69659			}
69660		}
69661	}
69662
69663	if invalidParams.Len() > 0 {
69664		return invalidParams
69665	}
69666	return nil
69667}
69668
69669// SetPathId sets the PathId field's value.
69670func (s *ServiceCatalogProvisioningDetails) SetPathId(v string) *ServiceCatalogProvisioningDetails {
69671	s.PathId = &v
69672	return s
69673}
69674
69675// SetProductId sets the ProductId field's value.
69676func (s *ServiceCatalogProvisioningDetails) SetProductId(v string) *ServiceCatalogProvisioningDetails {
69677	s.ProductId = &v
69678	return s
69679}
69680
69681// SetProvisioningArtifactId sets the ProvisioningArtifactId field's value.
69682func (s *ServiceCatalogProvisioningDetails) SetProvisioningArtifactId(v string) *ServiceCatalogProvisioningDetails {
69683	s.ProvisioningArtifactId = &v
69684	return s
69685}
69686
69687// SetProvisioningParameters sets the ProvisioningParameters field's value.
69688func (s *ServiceCatalogProvisioningDetails) SetProvisioningParameters(v []*ProvisioningParameter) *ServiceCatalogProvisioningDetails {
69689	s.ProvisioningParameters = v
69690	return s
69691}
69692
69693// Specifies options for sharing SageMaker Studio notebooks. These settings
69694// are specified as part of DefaultUserSettings when the CreateDomain API is
69695// called, and as part of UserSettings when the CreateUserProfile API is called.
69696// When SharingSettings is not specified, notebook sharing isn't allowed.
69697type SharingSettings struct {
69698	_ struct{} `type:"structure"`
69699
69700	// Whether to include the notebook cell output when sharing the notebook. The
69701	// default is Disabled.
69702	NotebookOutputOption *string `type:"string" enum:"NotebookOutputOption"`
69703
69704	// When NotebookOutputOption is Allowed, the AWS Key Management Service (KMS)
69705	// encryption key ID used to encrypt the notebook cell output in the Amazon
69706	// S3 bucket.
69707	S3KmsKeyId *string `type:"string"`
69708
69709	// When NotebookOutputOption is Allowed, the Amazon S3 bucket used to store
69710	// the shared notebook snapshots.
69711	S3OutputPath *string `type:"string"`
69712}
69713
69714// String returns the string representation
69715func (s SharingSettings) String() string {
69716	return awsutil.Prettify(s)
69717}
69718
69719// GoString returns the string representation
69720func (s SharingSettings) GoString() string {
69721	return s.String()
69722}
69723
69724// SetNotebookOutputOption sets the NotebookOutputOption field's value.
69725func (s *SharingSettings) SetNotebookOutputOption(v string) *SharingSettings {
69726	s.NotebookOutputOption = &v
69727	return s
69728}
69729
69730// SetS3KmsKeyId sets the S3KmsKeyId field's value.
69731func (s *SharingSettings) SetS3KmsKeyId(v string) *SharingSettings {
69732	s.S3KmsKeyId = &v
69733	return s
69734}
69735
69736// SetS3OutputPath sets the S3OutputPath field's value.
69737func (s *SharingSettings) SetS3OutputPath(v string) *SharingSettings {
69738	s.S3OutputPath = &v
69739	return s
69740}
69741
69742// A configuration for a shuffle option for input data in a channel. If you
69743// use S3Prefix for S3DataType, the results of the S3 key prefix matches are
69744// shuffled. If you use ManifestFile, the order of the S3 object references
69745// in the ManifestFile is shuffled. If you use AugmentedManifestFile, the order
69746// of the JSON lines in the AugmentedManifestFile is shuffled. The shuffling
69747// order is determined using the Seed value.
69748//
69749// For Pipe input mode, when ShuffleConfig is specified shuffling is done at
69750// the start of every epoch. With large datasets, this ensures that the order
69751// of the training data is different for each epoch, and it helps reduce bias
69752// and possible overfitting. In a multi-node training job when ShuffleConfig
69753// is combined with S3DataDistributionType of ShardedByS3Key, the data is shuffled
69754// across nodes so that the content sent to a particular node on the first epoch
69755// might be sent to a different node on the second epoch.
69756type ShuffleConfig struct {
69757	_ struct{} `type:"structure"`
69758
69759	// Determines the shuffling order in ShuffleConfig value.
69760	//
69761	// Seed is a required field
69762	Seed *int64 `type:"long" required:"true"`
69763}
69764
69765// String returns the string representation
69766func (s ShuffleConfig) String() string {
69767	return awsutil.Prettify(s)
69768}
69769
69770// GoString returns the string representation
69771func (s ShuffleConfig) GoString() string {
69772	return s.String()
69773}
69774
69775// Validate inspects the fields of the type to determine if they are valid.
69776func (s *ShuffleConfig) Validate() error {
69777	invalidParams := request.ErrInvalidParams{Context: "ShuffleConfig"}
69778	if s.Seed == nil {
69779		invalidParams.Add(request.NewErrParamRequired("Seed"))
69780	}
69781
69782	if invalidParams.Len() > 0 {
69783		return invalidParams
69784	}
69785	return nil
69786}
69787
69788// SetSeed sets the Seed field's value.
69789func (s *ShuffleConfig) SetSeed(v int64) *ShuffleConfig {
69790	s.Seed = &v
69791	return s
69792}
69793
69794// Specifies an algorithm that was used to create the model package. The algorithm
69795// must be either an algorithm resource in your Amazon SageMaker account or
69796// an algorithm in AWS Marketplace that you are subscribed to.
69797type SourceAlgorithm struct {
69798	_ struct{} `type:"structure"`
69799
69800	// The name of an algorithm that was used to create the model package. The algorithm
69801	// must be either an algorithm resource in your Amazon SageMaker account or
69802	// an algorithm in AWS Marketplace that you are subscribed to.
69803	//
69804	// AlgorithmName is a required field
69805	AlgorithmName *string `min:"1" type:"string" required:"true"`
69806
69807	// The Amazon S3 path where the model artifacts, which result from model training,
69808	// are stored. This path must point to a single gzip compressed tar archive
69809	// (.tar.gz suffix).
69810	//
69811	// The model artifacts must be in an S3 bucket that is in the same region as
69812	// the algorithm.
69813	ModelDataUrl *string `type:"string"`
69814}
69815
69816// String returns the string representation
69817func (s SourceAlgorithm) String() string {
69818	return awsutil.Prettify(s)
69819}
69820
69821// GoString returns the string representation
69822func (s SourceAlgorithm) GoString() string {
69823	return s.String()
69824}
69825
69826// Validate inspects the fields of the type to determine if they are valid.
69827func (s *SourceAlgorithm) Validate() error {
69828	invalidParams := request.ErrInvalidParams{Context: "SourceAlgorithm"}
69829	if s.AlgorithmName == nil {
69830		invalidParams.Add(request.NewErrParamRequired("AlgorithmName"))
69831	}
69832	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
69833		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
69834	}
69835
69836	if invalidParams.Len() > 0 {
69837		return invalidParams
69838	}
69839	return nil
69840}
69841
69842// SetAlgorithmName sets the AlgorithmName field's value.
69843func (s *SourceAlgorithm) SetAlgorithmName(v string) *SourceAlgorithm {
69844	s.AlgorithmName = &v
69845	return s
69846}
69847
69848// SetModelDataUrl sets the ModelDataUrl field's value.
69849func (s *SourceAlgorithm) SetModelDataUrl(v string) *SourceAlgorithm {
69850	s.ModelDataUrl = &v
69851	return s
69852}
69853
69854// A list of algorithms that were used to create a model package.
69855type SourceAlgorithmSpecification struct {
69856	_ struct{} `type:"structure"`
69857
69858	// A list of the algorithms that were used to create a model package.
69859	//
69860	// SourceAlgorithms is a required field
69861	SourceAlgorithms []*SourceAlgorithm `min:"1" type:"list" required:"true"`
69862}
69863
69864// String returns the string representation
69865func (s SourceAlgorithmSpecification) String() string {
69866	return awsutil.Prettify(s)
69867}
69868
69869// GoString returns the string representation
69870func (s SourceAlgorithmSpecification) GoString() string {
69871	return s.String()
69872}
69873
69874// Validate inspects the fields of the type to determine if they are valid.
69875func (s *SourceAlgorithmSpecification) Validate() error {
69876	invalidParams := request.ErrInvalidParams{Context: "SourceAlgorithmSpecification"}
69877	if s.SourceAlgorithms == nil {
69878		invalidParams.Add(request.NewErrParamRequired("SourceAlgorithms"))
69879	}
69880	if s.SourceAlgorithms != nil && len(s.SourceAlgorithms) < 1 {
69881		invalidParams.Add(request.NewErrParamMinLen("SourceAlgorithms", 1))
69882	}
69883	if s.SourceAlgorithms != nil {
69884		for i, v := range s.SourceAlgorithms {
69885			if v == nil {
69886				continue
69887			}
69888			if err := v.Validate(); err != nil {
69889				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SourceAlgorithms", i), err.(request.ErrInvalidParams))
69890			}
69891		}
69892	}
69893
69894	if invalidParams.Len() > 0 {
69895		return invalidParams
69896	}
69897	return nil
69898}
69899
69900// SetSourceAlgorithms sets the SourceAlgorithms field's value.
69901func (s *SourceAlgorithmSpecification) SetSourceAlgorithms(v []*SourceAlgorithm) *SourceAlgorithmSpecification {
69902	s.SourceAlgorithms = v
69903	return s
69904}
69905
69906// A list of IP address ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html)).
69907// Used to create an allow list of IP addresses for a private workforce. Workers
69908// will only be able to login to their worker portal from an IP address within
69909// this range. By default, a workforce isn't restricted to specific IP addresses.
69910type SourceIpConfig struct {
69911	_ struct{} `type:"structure"`
69912
69913	// A list of one to ten Classless Inter-Domain Routing (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html)
69914	// (CIDR) values.
69915	//
69916	// Maximum: Ten CIDR values
69917	//
69918	// The following Length Constraints apply to individual CIDR values in the CIDR
69919	// value list.
69920	//
69921	// Cidrs is a required field
69922	Cidrs []*string `type:"list" required:"true"`
69923}
69924
69925// String returns the string representation
69926func (s SourceIpConfig) String() string {
69927	return awsutil.Prettify(s)
69928}
69929
69930// GoString returns the string representation
69931func (s SourceIpConfig) GoString() string {
69932	return s.String()
69933}
69934
69935// Validate inspects the fields of the type to determine if they are valid.
69936func (s *SourceIpConfig) Validate() error {
69937	invalidParams := request.ErrInvalidParams{Context: "SourceIpConfig"}
69938	if s.Cidrs == nil {
69939		invalidParams.Add(request.NewErrParamRequired("Cidrs"))
69940	}
69941
69942	if invalidParams.Len() > 0 {
69943		return invalidParams
69944	}
69945	return nil
69946}
69947
69948// SetCidrs sets the Cidrs field's value.
69949func (s *SourceIpConfig) SetCidrs(v []*string) *SourceIpConfig {
69950	s.Cidrs = v
69951	return s
69952}
69953
69954type StartMonitoringScheduleInput struct {
69955	_ struct{} `type:"structure"`
69956
69957	// The name of the schedule to start.
69958	//
69959	// MonitoringScheduleName is a required field
69960	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
69961}
69962
69963// String returns the string representation
69964func (s StartMonitoringScheduleInput) String() string {
69965	return awsutil.Prettify(s)
69966}
69967
69968// GoString returns the string representation
69969func (s StartMonitoringScheduleInput) GoString() string {
69970	return s.String()
69971}
69972
69973// Validate inspects the fields of the type to determine if they are valid.
69974func (s *StartMonitoringScheduleInput) Validate() error {
69975	invalidParams := request.ErrInvalidParams{Context: "StartMonitoringScheduleInput"}
69976	if s.MonitoringScheduleName == nil {
69977		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName"))
69978	}
69979	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
69980		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
69981	}
69982
69983	if invalidParams.Len() > 0 {
69984		return invalidParams
69985	}
69986	return nil
69987}
69988
69989// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
69990func (s *StartMonitoringScheduleInput) SetMonitoringScheduleName(v string) *StartMonitoringScheduleInput {
69991	s.MonitoringScheduleName = &v
69992	return s
69993}
69994
69995type StartMonitoringScheduleOutput struct {
69996	_ struct{} `type:"structure"`
69997}
69998
69999// String returns the string representation
70000func (s StartMonitoringScheduleOutput) String() string {
70001	return awsutil.Prettify(s)
70002}
70003
70004// GoString returns the string representation
70005func (s StartMonitoringScheduleOutput) GoString() string {
70006	return s.String()
70007}
70008
70009type StartNotebookInstanceInput struct {
70010	_ struct{} `type:"structure"`
70011
70012	// The name of the notebook instance to start.
70013	//
70014	// NotebookInstanceName is a required field
70015	NotebookInstanceName *string `type:"string" required:"true"`
70016}
70017
70018// String returns the string representation
70019func (s StartNotebookInstanceInput) String() string {
70020	return awsutil.Prettify(s)
70021}
70022
70023// GoString returns the string representation
70024func (s StartNotebookInstanceInput) GoString() string {
70025	return s.String()
70026}
70027
70028// Validate inspects the fields of the type to determine if they are valid.
70029func (s *StartNotebookInstanceInput) Validate() error {
70030	invalidParams := request.ErrInvalidParams{Context: "StartNotebookInstanceInput"}
70031	if s.NotebookInstanceName == nil {
70032		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
70033	}
70034
70035	if invalidParams.Len() > 0 {
70036		return invalidParams
70037	}
70038	return nil
70039}
70040
70041// SetNotebookInstanceName sets the NotebookInstanceName field's value.
70042func (s *StartNotebookInstanceInput) SetNotebookInstanceName(v string) *StartNotebookInstanceInput {
70043	s.NotebookInstanceName = &v
70044	return s
70045}
70046
70047type StartNotebookInstanceOutput struct {
70048	_ struct{} `type:"structure"`
70049}
70050
70051// String returns the string representation
70052func (s StartNotebookInstanceOutput) String() string {
70053	return awsutil.Prettify(s)
70054}
70055
70056// GoString returns the string representation
70057func (s StartNotebookInstanceOutput) GoString() string {
70058	return s.String()
70059}
70060
70061type StartPipelineExecutionInput struct {
70062	_ struct{} `type:"structure"`
70063
70064	// A unique, case-sensitive identifier that you provide to ensure the idempotency
70065	// of the operation. An idempotent operation completes no more than one time.
70066	ClientRequestToken *string `min:"32" type:"string" idempotencyToken:"true"`
70067
70068	// The description of the pipeline execution.
70069	PipelineExecutionDescription *string `type:"string"`
70070
70071	// The display name of the pipeline execution.
70072	PipelineExecutionDisplayName *string `min:"1" type:"string"`
70073
70074	// The name of the pipeline.
70075	//
70076	// PipelineName is a required field
70077	PipelineName *string `min:"1" type:"string" required:"true"`
70078
70079	// Contains a list of pipeline parameters. This list can be empty.
70080	PipelineParameters []*Parameter `type:"list"`
70081}
70082
70083// String returns the string representation
70084func (s StartPipelineExecutionInput) String() string {
70085	return awsutil.Prettify(s)
70086}
70087
70088// GoString returns the string representation
70089func (s StartPipelineExecutionInput) GoString() string {
70090	return s.String()
70091}
70092
70093// Validate inspects the fields of the type to determine if they are valid.
70094func (s *StartPipelineExecutionInput) Validate() error {
70095	invalidParams := request.ErrInvalidParams{Context: "StartPipelineExecutionInput"}
70096	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 32 {
70097		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 32))
70098	}
70099	if s.PipelineExecutionDisplayName != nil && len(*s.PipelineExecutionDisplayName) < 1 {
70100		invalidParams.Add(request.NewErrParamMinLen("PipelineExecutionDisplayName", 1))
70101	}
70102	if s.PipelineName == nil {
70103		invalidParams.Add(request.NewErrParamRequired("PipelineName"))
70104	}
70105	if s.PipelineName != nil && len(*s.PipelineName) < 1 {
70106		invalidParams.Add(request.NewErrParamMinLen("PipelineName", 1))
70107	}
70108	if s.PipelineParameters != nil {
70109		for i, v := range s.PipelineParameters {
70110			if v == nil {
70111				continue
70112			}
70113			if err := v.Validate(); err != nil {
70114				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PipelineParameters", i), err.(request.ErrInvalidParams))
70115			}
70116		}
70117	}
70118
70119	if invalidParams.Len() > 0 {
70120		return invalidParams
70121	}
70122	return nil
70123}
70124
70125// SetClientRequestToken sets the ClientRequestToken field's value.
70126func (s *StartPipelineExecutionInput) SetClientRequestToken(v string) *StartPipelineExecutionInput {
70127	s.ClientRequestToken = &v
70128	return s
70129}
70130
70131// SetPipelineExecutionDescription sets the PipelineExecutionDescription field's value.
70132func (s *StartPipelineExecutionInput) SetPipelineExecutionDescription(v string) *StartPipelineExecutionInput {
70133	s.PipelineExecutionDescription = &v
70134	return s
70135}
70136
70137// SetPipelineExecutionDisplayName sets the PipelineExecutionDisplayName field's value.
70138func (s *StartPipelineExecutionInput) SetPipelineExecutionDisplayName(v string) *StartPipelineExecutionInput {
70139	s.PipelineExecutionDisplayName = &v
70140	return s
70141}
70142
70143// SetPipelineName sets the PipelineName field's value.
70144func (s *StartPipelineExecutionInput) SetPipelineName(v string) *StartPipelineExecutionInput {
70145	s.PipelineName = &v
70146	return s
70147}
70148
70149// SetPipelineParameters sets the PipelineParameters field's value.
70150func (s *StartPipelineExecutionInput) SetPipelineParameters(v []*Parameter) *StartPipelineExecutionInput {
70151	s.PipelineParameters = v
70152	return s
70153}
70154
70155type StartPipelineExecutionOutput struct {
70156	_ struct{} `type:"structure"`
70157
70158	// The Amazon Resource Name (ARN) of the pipeline execution.
70159	PipelineExecutionArn *string `type:"string"`
70160}
70161
70162// String returns the string representation
70163func (s StartPipelineExecutionOutput) String() string {
70164	return awsutil.Prettify(s)
70165}
70166
70167// GoString returns the string representation
70168func (s StartPipelineExecutionOutput) GoString() string {
70169	return s.String()
70170}
70171
70172// SetPipelineExecutionArn sets the PipelineExecutionArn field's value.
70173func (s *StartPipelineExecutionOutput) SetPipelineExecutionArn(v string) *StartPipelineExecutionOutput {
70174	s.PipelineExecutionArn = &v
70175	return s
70176}
70177
70178type StopAutoMLJobInput struct {
70179	_ struct{} `type:"structure"`
70180
70181	// The name of the object you are requesting.
70182	//
70183	// AutoMLJobName is a required field
70184	AutoMLJobName *string `min:"1" type:"string" required:"true"`
70185}
70186
70187// String returns the string representation
70188func (s StopAutoMLJobInput) String() string {
70189	return awsutil.Prettify(s)
70190}
70191
70192// GoString returns the string representation
70193func (s StopAutoMLJobInput) GoString() string {
70194	return s.String()
70195}
70196
70197// Validate inspects the fields of the type to determine if they are valid.
70198func (s *StopAutoMLJobInput) Validate() error {
70199	invalidParams := request.ErrInvalidParams{Context: "StopAutoMLJobInput"}
70200	if s.AutoMLJobName == nil {
70201		invalidParams.Add(request.NewErrParamRequired("AutoMLJobName"))
70202	}
70203	if s.AutoMLJobName != nil && len(*s.AutoMLJobName) < 1 {
70204		invalidParams.Add(request.NewErrParamMinLen("AutoMLJobName", 1))
70205	}
70206
70207	if invalidParams.Len() > 0 {
70208		return invalidParams
70209	}
70210	return nil
70211}
70212
70213// SetAutoMLJobName sets the AutoMLJobName field's value.
70214func (s *StopAutoMLJobInput) SetAutoMLJobName(v string) *StopAutoMLJobInput {
70215	s.AutoMLJobName = &v
70216	return s
70217}
70218
70219type StopAutoMLJobOutput struct {
70220	_ struct{} `type:"structure"`
70221}
70222
70223// String returns the string representation
70224func (s StopAutoMLJobOutput) String() string {
70225	return awsutil.Prettify(s)
70226}
70227
70228// GoString returns the string representation
70229func (s StopAutoMLJobOutput) GoString() string {
70230	return s.String()
70231}
70232
70233type StopCompilationJobInput struct {
70234	_ struct{} `type:"structure"`
70235
70236	// The name of the model compilation job to stop.
70237	//
70238	// CompilationJobName is a required field
70239	CompilationJobName *string `min:"1" type:"string" required:"true"`
70240}
70241
70242// String returns the string representation
70243func (s StopCompilationJobInput) String() string {
70244	return awsutil.Prettify(s)
70245}
70246
70247// GoString returns the string representation
70248func (s StopCompilationJobInput) GoString() string {
70249	return s.String()
70250}
70251
70252// Validate inspects the fields of the type to determine if they are valid.
70253func (s *StopCompilationJobInput) Validate() error {
70254	invalidParams := request.ErrInvalidParams{Context: "StopCompilationJobInput"}
70255	if s.CompilationJobName == nil {
70256		invalidParams.Add(request.NewErrParamRequired("CompilationJobName"))
70257	}
70258	if s.CompilationJobName != nil && len(*s.CompilationJobName) < 1 {
70259		invalidParams.Add(request.NewErrParamMinLen("CompilationJobName", 1))
70260	}
70261
70262	if invalidParams.Len() > 0 {
70263		return invalidParams
70264	}
70265	return nil
70266}
70267
70268// SetCompilationJobName sets the CompilationJobName field's value.
70269func (s *StopCompilationJobInput) SetCompilationJobName(v string) *StopCompilationJobInput {
70270	s.CompilationJobName = &v
70271	return s
70272}
70273
70274type StopCompilationJobOutput struct {
70275	_ struct{} `type:"structure"`
70276}
70277
70278// String returns the string representation
70279func (s StopCompilationJobOutput) String() string {
70280	return awsutil.Prettify(s)
70281}
70282
70283// GoString returns the string representation
70284func (s StopCompilationJobOutput) GoString() string {
70285	return s.String()
70286}
70287
70288type StopEdgePackagingJobInput struct {
70289	_ struct{} `type:"structure"`
70290
70291	// The name of the edge packaging job.
70292	//
70293	// EdgePackagingJobName is a required field
70294	EdgePackagingJobName *string `min:"1" type:"string" required:"true"`
70295}
70296
70297// String returns the string representation
70298func (s StopEdgePackagingJobInput) String() string {
70299	return awsutil.Prettify(s)
70300}
70301
70302// GoString returns the string representation
70303func (s StopEdgePackagingJobInput) GoString() string {
70304	return s.String()
70305}
70306
70307// Validate inspects the fields of the type to determine if they are valid.
70308func (s *StopEdgePackagingJobInput) Validate() error {
70309	invalidParams := request.ErrInvalidParams{Context: "StopEdgePackagingJobInput"}
70310	if s.EdgePackagingJobName == nil {
70311		invalidParams.Add(request.NewErrParamRequired("EdgePackagingJobName"))
70312	}
70313	if s.EdgePackagingJobName != nil && len(*s.EdgePackagingJobName) < 1 {
70314		invalidParams.Add(request.NewErrParamMinLen("EdgePackagingJobName", 1))
70315	}
70316
70317	if invalidParams.Len() > 0 {
70318		return invalidParams
70319	}
70320	return nil
70321}
70322
70323// SetEdgePackagingJobName sets the EdgePackagingJobName field's value.
70324func (s *StopEdgePackagingJobInput) SetEdgePackagingJobName(v string) *StopEdgePackagingJobInput {
70325	s.EdgePackagingJobName = &v
70326	return s
70327}
70328
70329type StopEdgePackagingJobOutput struct {
70330	_ struct{} `type:"structure"`
70331}
70332
70333// String returns the string representation
70334func (s StopEdgePackagingJobOutput) String() string {
70335	return awsutil.Prettify(s)
70336}
70337
70338// GoString returns the string representation
70339func (s StopEdgePackagingJobOutput) GoString() string {
70340	return s.String()
70341}
70342
70343type StopHyperParameterTuningJobInput struct {
70344	_ struct{} `type:"structure"`
70345
70346	// The name of the tuning job to stop.
70347	//
70348	// HyperParameterTuningJobName is a required field
70349	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
70350}
70351
70352// String returns the string representation
70353func (s StopHyperParameterTuningJobInput) String() string {
70354	return awsutil.Prettify(s)
70355}
70356
70357// GoString returns the string representation
70358func (s StopHyperParameterTuningJobInput) GoString() string {
70359	return s.String()
70360}
70361
70362// Validate inspects the fields of the type to determine if they are valid.
70363func (s *StopHyperParameterTuningJobInput) Validate() error {
70364	invalidParams := request.ErrInvalidParams{Context: "StopHyperParameterTuningJobInput"}
70365	if s.HyperParameterTuningJobName == nil {
70366		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobName"))
70367	}
70368	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
70369		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
70370	}
70371
70372	if invalidParams.Len() > 0 {
70373		return invalidParams
70374	}
70375	return nil
70376}
70377
70378// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
70379func (s *StopHyperParameterTuningJobInput) SetHyperParameterTuningJobName(v string) *StopHyperParameterTuningJobInput {
70380	s.HyperParameterTuningJobName = &v
70381	return s
70382}
70383
70384type StopHyperParameterTuningJobOutput struct {
70385	_ struct{} `type:"structure"`
70386}
70387
70388// String returns the string representation
70389func (s StopHyperParameterTuningJobOutput) String() string {
70390	return awsutil.Prettify(s)
70391}
70392
70393// GoString returns the string representation
70394func (s StopHyperParameterTuningJobOutput) GoString() string {
70395	return s.String()
70396}
70397
70398type StopLabelingJobInput struct {
70399	_ struct{} `type:"structure"`
70400
70401	// The name of the labeling job to stop.
70402	//
70403	// LabelingJobName is a required field
70404	LabelingJobName *string `min:"1" type:"string" required:"true"`
70405}
70406
70407// String returns the string representation
70408func (s StopLabelingJobInput) String() string {
70409	return awsutil.Prettify(s)
70410}
70411
70412// GoString returns the string representation
70413func (s StopLabelingJobInput) GoString() string {
70414	return s.String()
70415}
70416
70417// Validate inspects the fields of the type to determine if they are valid.
70418func (s *StopLabelingJobInput) Validate() error {
70419	invalidParams := request.ErrInvalidParams{Context: "StopLabelingJobInput"}
70420	if s.LabelingJobName == nil {
70421		invalidParams.Add(request.NewErrParamRequired("LabelingJobName"))
70422	}
70423	if s.LabelingJobName != nil && len(*s.LabelingJobName) < 1 {
70424		invalidParams.Add(request.NewErrParamMinLen("LabelingJobName", 1))
70425	}
70426
70427	if invalidParams.Len() > 0 {
70428		return invalidParams
70429	}
70430	return nil
70431}
70432
70433// SetLabelingJobName sets the LabelingJobName field's value.
70434func (s *StopLabelingJobInput) SetLabelingJobName(v string) *StopLabelingJobInput {
70435	s.LabelingJobName = &v
70436	return s
70437}
70438
70439type StopLabelingJobOutput struct {
70440	_ struct{} `type:"structure"`
70441}
70442
70443// String returns the string representation
70444func (s StopLabelingJobOutput) String() string {
70445	return awsutil.Prettify(s)
70446}
70447
70448// GoString returns the string representation
70449func (s StopLabelingJobOutput) GoString() string {
70450	return s.String()
70451}
70452
70453type StopMonitoringScheduleInput struct {
70454	_ struct{} `type:"structure"`
70455
70456	// The name of the schedule to stop.
70457	//
70458	// MonitoringScheduleName is a required field
70459	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
70460}
70461
70462// String returns the string representation
70463func (s StopMonitoringScheduleInput) String() string {
70464	return awsutil.Prettify(s)
70465}
70466
70467// GoString returns the string representation
70468func (s StopMonitoringScheduleInput) GoString() string {
70469	return s.String()
70470}
70471
70472// Validate inspects the fields of the type to determine if they are valid.
70473func (s *StopMonitoringScheduleInput) Validate() error {
70474	invalidParams := request.ErrInvalidParams{Context: "StopMonitoringScheduleInput"}
70475	if s.MonitoringScheduleName == nil {
70476		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName"))
70477	}
70478	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
70479		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
70480	}
70481
70482	if invalidParams.Len() > 0 {
70483		return invalidParams
70484	}
70485	return nil
70486}
70487
70488// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
70489func (s *StopMonitoringScheduleInput) SetMonitoringScheduleName(v string) *StopMonitoringScheduleInput {
70490	s.MonitoringScheduleName = &v
70491	return s
70492}
70493
70494type StopMonitoringScheduleOutput struct {
70495	_ struct{} `type:"structure"`
70496}
70497
70498// String returns the string representation
70499func (s StopMonitoringScheduleOutput) String() string {
70500	return awsutil.Prettify(s)
70501}
70502
70503// GoString returns the string representation
70504func (s StopMonitoringScheduleOutput) GoString() string {
70505	return s.String()
70506}
70507
70508type StopNotebookInstanceInput struct {
70509	_ struct{} `type:"structure"`
70510
70511	// The name of the notebook instance to terminate.
70512	//
70513	// NotebookInstanceName is a required field
70514	NotebookInstanceName *string `type:"string" required:"true"`
70515}
70516
70517// String returns the string representation
70518func (s StopNotebookInstanceInput) String() string {
70519	return awsutil.Prettify(s)
70520}
70521
70522// GoString returns the string representation
70523func (s StopNotebookInstanceInput) GoString() string {
70524	return s.String()
70525}
70526
70527// Validate inspects the fields of the type to determine if they are valid.
70528func (s *StopNotebookInstanceInput) Validate() error {
70529	invalidParams := request.ErrInvalidParams{Context: "StopNotebookInstanceInput"}
70530	if s.NotebookInstanceName == nil {
70531		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
70532	}
70533
70534	if invalidParams.Len() > 0 {
70535		return invalidParams
70536	}
70537	return nil
70538}
70539
70540// SetNotebookInstanceName sets the NotebookInstanceName field's value.
70541func (s *StopNotebookInstanceInput) SetNotebookInstanceName(v string) *StopNotebookInstanceInput {
70542	s.NotebookInstanceName = &v
70543	return s
70544}
70545
70546type StopNotebookInstanceOutput struct {
70547	_ struct{} `type:"structure"`
70548}
70549
70550// String returns the string representation
70551func (s StopNotebookInstanceOutput) String() string {
70552	return awsutil.Prettify(s)
70553}
70554
70555// GoString returns the string representation
70556func (s StopNotebookInstanceOutput) GoString() string {
70557	return s.String()
70558}
70559
70560type StopPipelineExecutionInput struct {
70561	_ struct{} `type:"structure"`
70562
70563	// A unique, case-sensitive identifier that you provide to ensure the idempotency
70564	// of the operation. An idempotent operation completes no more than one time.
70565	ClientRequestToken *string `min:"32" type:"string" idempotencyToken:"true"`
70566
70567	// The Amazon Resource Name (ARN) of the pipeline execution.
70568	//
70569	// PipelineExecutionArn is a required field
70570	PipelineExecutionArn *string `type:"string" required:"true"`
70571}
70572
70573// String returns the string representation
70574func (s StopPipelineExecutionInput) String() string {
70575	return awsutil.Prettify(s)
70576}
70577
70578// GoString returns the string representation
70579func (s StopPipelineExecutionInput) GoString() string {
70580	return s.String()
70581}
70582
70583// Validate inspects the fields of the type to determine if they are valid.
70584func (s *StopPipelineExecutionInput) Validate() error {
70585	invalidParams := request.ErrInvalidParams{Context: "StopPipelineExecutionInput"}
70586	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 32 {
70587		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 32))
70588	}
70589	if s.PipelineExecutionArn == nil {
70590		invalidParams.Add(request.NewErrParamRequired("PipelineExecutionArn"))
70591	}
70592
70593	if invalidParams.Len() > 0 {
70594		return invalidParams
70595	}
70596	return nil
70597}
70598
70599// SetClientRequestToken sets the ClientRequestToken field's value.
70600func (s *StopPipelineExecutionInput) SetClientRequestToken(v string) *StopPipelineExecutionInput {
70601	s.ClientRequestToken = &v
70602	return s
70603}
70604
70605// SetPipelineExecutionArn sets the PipelineExecutionArn field's value.
70606func (s *StopPipelineExecutionInput) SetPipelineExecutionArn(v string) *StopPipelineExecutionInput {
70607	s.PipelineExecutionArn = &v
70608	return s
70609}
70610
70611type StopPipelineExecutionOutput struct {
70612	_ struct{} `type:"structure"`
70613
70614	// The Amazon Resource Name (ARN) of the pipeline execution.
70615	PipelineExecutionArn *string `type:"string"`
70616}
70617
70618// String returns the string representation
70619func (s StopPipelineExecutionOutput) String() string {
70620	return awsutil.Prettify(s)
70621}
70622
70623// GoString returns the string representation
70624func (s StopPipelineExecutionOutput) GoString() string {
70625	return s.String()
70626}
70627
70628// SetPipelineExecutionArn sets the PipelineExecutionArn field's value.
70629func (s *StopPipelineExecutionOutput) SetPipelineExecutionArn(v string) *StopPipelineExecutionOutput {
70630	s.PipelineExecutionArn = &v
70631	return s
70632}
70633
70634type StopProcessingJobInput struct {
70635	_ struct{} `type:"structure"`
70636
70637	// The name of the processing job to stop.
70638	//
70639	// ProcessingJobName is a required field
70640	ProcessingJobName *string `min:"1" type:"string" required:"true"`
70641}
70642
70643// String returns the string representation
70644func (s StopProcessingJobInput) String() string {
70645	return awsutil.Prettify(s)
70646}
70647
70648// GoString returns the string representation
70649func (s StopProcessingJobInput) GoString() string {
70650	return s.String()
70651}
70652
70653// Validate inspects the fields of the type to determine if they are valid.
70654func (s *StopProcessingJobInput) Validate() error {
70655	invalidParams := request.ErrInvalidParams{Context: "StopProcessingJobInput"}
70656	if s.ProcessingJobName == nil {
70657		invalidParams.Add(request.NewErrParamRequired("ProcessingJobName"))
70658	}
70659	if s.ProcessingJobName != nil && len(*s.ProcessingJobName) < 1 {
70660		invalidParams.Add(request.NewErrParamMinLen("ProcessingJobName", 1))
70661	}
70662
70663	if invalidParams.Len() > 0 {
70664		return invalidParams
70665	}
70666	return nil
70667}
70668
70669// SetProcessingJobName sets the ProcessingJobName field's value.
70670func (s *StopProcessingJobInput) SetProcessingJobName(v string) *StopProcessingJobInput {
70671	s.ProcessingJobName = &v
70672	return s
70673}
70674
70675type StopProcessingJobOutput struct {
70676	_ struct{} `type:"structure"`
70677}
70678
70679// String returns the string representation
70680func (s StopProcessingJobOutput) String() string {
70681	return awsutil.Prettify(s)
70682}
70683
70684// GoString returns the string representation
70685func (s StopProcessingJobOutput) GoString() string {
70686	return s.String()
70687}
70688
70689type StopTrainingJobInput struct {
70690	_ struct{} `type:"structure"`
70691
70692	// The name of the training job to stop.
70693	//
70694	// TrainingJobName is a required field
70695	TrainingJobName *string `min:"1" type:"string" required:"true"`
70696}
70697
70698// String returns the string representation
70699func (s StopTrainingJobInput) String() string {
70700	return awsutil.Prettify(s)
70701}
70702
70703// GoString returns the string representation
70704func (s StopTrainingJobInput) GoString() string {
70705	return s.String()
70706}
70707
70708// Validate inspects the fields of the type to determine if they are valid.
70709func (s *StopTrainingJobInput) Validate() error {
70710	invalidParams := request.ErrInvalidParams{Context: "StopTrainingJobInput"}
70711	if s.TrainingJobName == nil {
70712		invalidParams.Add(request.NewErrParamRequired("TrainingJobName"))
70713	}
70714	if s.TrainingJobName != nil && len(*s.TrainingJobName) < 1 {
70715		invalidParams.Add(request.NewErrParamMinLen("TrainingJobName", 1))
70716	}
70717
70718	if invalidParams.Len() > 0 {
70719		return invalidParams
70720	}
70721	return nil
70722}
70723
70724// SetTrainingJobName sets the TrainingJobName field's value.
70725func (s *StopTrainingJobInput) SetTrainingJobName(v string) *StopTrainingJobInput {
70726	s.TrainingJobName = &v
70727	return s
70728}
70729
70730type StopTrainingJobOutput struct {
70731	_ struct{} `type:"structure"`
70732}
70733
70734// String returns the string representation
70735func (s StopTrainingJobOutput) String() string {
70736	return awsutil.Prettify(s)
70737}
70738
70739// GoString returns the string representation
70740func (s StopTrainingJobOutput) GoString() string {
70741	return s.String()
70742}
70743
70744type StopTransformJobInput struct {
70745	_ struct{} `type:"structure"`
70746
70747	// The name of the transform job to stop.
70748	//
70749	// TransformJobName is a required field
70750	TransformJobName *string `min:"1" type:"string" required:"true"`
70751}
70752
70753// String returns the string representation
70754func (s StopTransformJobInput) String() string {
70755	return awsutil.Prettify(s)
70756}
70757
70758// GoString returns the string representation
70759func (s StopTransformJobInput) GoString() string {
70760	return s.String()
70761}
70762
70763// Validate inspects the fields of the type to determine if they are valid.
70764func (s *StopTransformJobInput) Validate() error {
70765	invalidParams := request.ErrInvalidParams{Context: "StopTransformJobInput"}
70766	if s.TransformJobName == nil {
70767		invalidParams.Add(request.NewErrParamRequired("TransformJobName"))
70768	}
70769	if s.TransformJobName != nil && len(*s.TransformJobName) < 1 {
70770		invalidParams.Add(request.NewErrParamMinLen("TransformJobName", 1))
70771	}
70772
70773	if invalidParams.Len() > 0 {
70774		return invalidParams
70775	}
70776	return nil
70777}
70778
70779// SetTransformJobName sets the TransformJobName field's value.
70780func (s *StopTransformJobInput) SetTransformJobName(v string) *StopTransformJobInput {
70781	s.TransformJobName = &v
70782	return s
70783}
70784
70785type StopTransformJobOutput struct {
70786	_ struct{} `type:"structure"`
70787}
70788
70789// String returns the string representation
70790func (s StopTransformJobOutput) String() string {
70791	return awsutil.Prettify(s)
70792}
70793
70794// GoString returns the string representation
70795func (s StopTransformJobOutput) GoString() string {
70796	return s.String()
70797}
70798
70799// Specifies a limit to how long a model training job, model compilation job,
70800// or hyperparameter tuning job can run. It also specifies how long a managed
70801// Spot training job has to complete. When the job reaches the time limit, Amazon
70802// SageMaker ends the training or compilation job. Use this API to cap model
70803// training costs.
70804//
70805// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
70806// delays job termination for 120 seconds. Algorithms can use this 120-second
70807// window to save the model artifacts, so the results of training are not lost.
70808//
70809// The training algorithms provided by Amazon SageMaker automatically save the
70810// intermediate results of a model training job when possible. This attempt
70811// to save artifacts is only a best effort case as model might not be in a state
70812// from which it can be saved. For example, if training has just started, the
70813// model might not be ready to save. When saved, this intermediate data is a
70814// valid model artifact. You can use it to create a model with CreateModel.
70815//
70816// The Neural Topic Model (NTM) currently does not support saving intermediate
70817// model artifacts. When training NTMs, make sure that the maximum runtime is
70818// sufficient for the training job to complete.
70819type StoppingCondition struct {
70820	_ struct{} `type:"structure"`
70821
70822	// The maximum length of time, in seconds, that a training or compilation job
70823	// can run. If the job does not complete during this time, Amazon SageMaker
70824	// ends the job.
70825	//
70826	// When RetryStrategy is specified in the job request, MaxRuntimeInSeconds specifies
70827	// the maximum time for all of the attempts in total, not each individual attempt.
70828	//
70829	// The default value is 1 day. The maximum value is 28 days.
70830	MaxRuntimeInSeconds *int64 `min:"1" type:"integer"`
70831
70832	// The maximum length of time, in seconds, that a managed Spot training job
70833	// has to complete. It is the amount of time spent waiting for Spot capacity
70834	// plus the amount of time the job can run. It must be equal to or greater than
70835	// MaxRuntimeInSeconds. If the job does not complete during this time, Amazon
70836	// SageMaker ends the job.
70837	//
70838	// When RetryStrategy is specified in the job request, MaxWaitTimeInSeconds
70839	// specifies the maximum time for all of the attempts in total, not each individual
70840	// attempt.
70841	MaxWaitTimeInSeconds *int64 `min:"1" type:"integer"`
70842}
70843
70844// String returns the string representation
70845func (s StoppingCondition) String() string {
70846	return awsutil.Prettify(s)
70847}
70848
70849// GoString returns the string representation
70850func (s StoppingCondition) GoString() string {
70851	return s.String()
70852}
70853
70854// Validate inspects the fields of the type to determine if they are valid.
70855func (s *StoppingCondition) Validate() error {
70856	invalidParams := request.ErrInvalidParams{Context: "StoppingCondition"}
70857	if s.MaxRuntimeInSeconds != nil && *s.MaxRuntimeInSeconds < 1 {
70858		invalidParams.Add(request.NewErrParamMinValue("MaxRuntimeInSeconds", 1))
70859	}
70860	if s.MaxWaitTimeInSeconds != nil && *s.MaxWaitTimeInSeconds < 1 {
70861		invalidParams.Add(request.NewErrParamMinValue("MaxWaitTimeInSeconds", 1))
70862	}
70863
70864	if invalidParams.Len() > 0 {
70865		return invalidParams
70866	}
70867	return nil
70868}
70869
70870// SetMaxRuntimeInSeconds sets the MaxRuntimeInSeconds field's value.
70871func (s *StoppingCondition) SetMaxRuntimeInSeconds(v int64) *StoppingCondition {
70872	s.MaxRuntimeInSeconds = &v
70873	return s
70874}
70875
70876// SetMaxWaitTimeInSeconds sets the MaxWaitTimeInSeconds field's value.
70877func (s *StoppingCondition) SetMaxWaitTimeInSeconds(v int64) *StoppingCondition {
70878	s.MaxWaitTimeInSeconds = &v
70879	return s
70880}
70881
70882// Describes a work team of a vendor that does the a labelling job.
70883type SubscribedWorkteam struct {
70884	_ struct{} `type:"structure"`
70885
70886	// Marketplace product listing ID.
70887	ListingId *string `type:"string"`
70888
70889	// The description of the vendor from the Amazon Marketplace.
70890	MarketplaceDescription *string `min:"1" type:"string"`
70891
70892	// The title of the service provided by the vendor in the Amazon Marketplace.
70893	MarketplaceTitle *string `min:"1" type:"string"`
70894
70895	// The name of the vendor in the Amazon Marketplace.
70896	SellerName *string `type:"string"`
70897
70898	// The Amazon Resource Name (ARN) of the vendor that you have subscribed.
70899	//
70900	// WorkteamArn is a required field
70901	WorkteamArn *string `type:"string" required:"true"`
70902}
70903
70904// String returns the string representation
70905func (s SubscribedWorkteam) String() string {
70906	return awsutil.Prettify(s)
70907}
70908
70909// GoString returns the string representation
70910func (s SubscribedWorkteam) GoString() string {
70911	return s.String()
70912}
70913
70914// SetListingId sets the ListingId field's value.
70915func (s *SubscribedWorkteam) SetListingId(v string) *SubscribedWorkteam {
70916	s.ListingId = &v
70917	return s
70918}
70919
70920// SetMarketplaceDescription sets the MarketplaceDescription field's value.
70921func (s *SubscribedWorkteam) SetMarketplaceDescription(v string) *SubscribedWorkteam {
70922	s.MarketplaceDescription = &v
70923	return s
70924}
70925
70926// SetMarketplaceTitle sets the MarketplaceTitle field's value.
70927func (s *SubscribedWorkteam) SetMarketplaceTitle(v string) *SubscribedWorkteam {
70928	s.MarketplaceTitle = &v
70929	return s
70930}
70931
70932// SetSellerName sets the SellerName field's value.
70933func (s *SubscribedWorkteam) SetSellerName(v string) *SubscribedWorkteam {
70934	s.SellerName = &v
70935	return s
70936}
70937
70938// SetWorkteamArn sets the WorkteamArn field's value.
70939func (s *SubscribedWorkteam) SetWorkteamArn(v string) *SubscribedWorkteam {
70940	s.WorkteamArn = &v
70941	return s
70942}
70943
70944// Specified in the GetSearchSuggestions request. Limits the property names
70945// that are included in the response.
70946type SuggestionQuery struct {
70947	_ struct{} `type:"structure"`
70948
70949	// Defines a property name hint. Only property names that begin with the specified
70950	// hint are included in the response.
70951	PropertyNameQuery *PropertyNameQuery `type:"structure"`
70952}
70953
70954// String returns the string representation
70955func (s SuggestionQuery) String() string {
70956	return awsutil.Prettify(s)
70957}
70958
70959// GoString returns the string representation
70960func (s SuggestionQuery) GoString() string {
70961	return s.String()
70962}
70963
70964// Validate inspects the fields of the type to determine if they are valid.
70965func (s *SuggestionQuery) Validate() error {
70966	invalidParams := request.ErrInvalidParams{Context: "SuggestionQuery"}
70967	if s.PropertyNameQuery != nil {
70968		if err := s.PropertyNameQuery.Validate(); err != nil {
70969			invalidParams.AddNested("PropertyNameQuery", err.(request.ErrInvalidParams))
70970		}
70971	}
70972
70973	if invalidParams.Len() > 0 {
70974		return invalidParams
70975	}
70976	return nil
70977}
70978
70979// SetPropertyNameQuery sets the PropertyNameQuery field's value.
70980func (s *SuggestionQuery) SetPropertyNameQuery(v *PropertyNameQuery) *SuggestionQuery {
70981	s.PropertyNameQuery = v
70982	return s
70983}
70984
70985// Describes a tag.
70986type Tag struct {
70987	_ struct{} `type:"structure"`
70988
70989	// The tag key.
70990	//
70991	// Key is a required field
70992	Key *string `min:"1" type:"string" required:"true"`
70993
70994	// The tag value.
70995	//
70996	// Value is a required field
70997	Value *string `type:"string" required:"true"`
70998}
70999
71000// String returns the string representation
71001func (s Tag) String() string {
71002	return awsutil.Prettify(s)
71003}
71004
71005// GoString returns the string representation
71006func (s Tag) GoString() string {
71007	return s.String()
71008}
71009
71010// Validate inspects the fields of the type to determine if they are valid.
71011func (s *Tag) Validate() error {
71012	invalidParams := request.ErrInvalidParams{Context: "Tag"}
71013	if s.Key == nil {
71014		invalidParams.Add(request.NewErrParamRequired("Key"))
71015	}
71016	if s.Key != nil && len(*s.Key) < 1 {
71017		invalidParams.Add(request.NewErrParamMinLen("Key", 1))
71018	}
71019	if s.Value == nil {
71020		invalidParams.Add(request.NewErrParamRequired("Value"))
71021	}
71022
71023	if invalidParams.Len() > 0 {
71024		return invalidParams
71025	}
71026	return nil
71027}
71028
71029// SetKey sets the Key field's value.
71030func (s *Tag) SetKey(v string) *Tag {
71031	s.Key = &v
71032	return s
71033}
71034
71035// SetValue sets the Value field's value.
71036func (s *Tag) SetValue(v string) *Tag {
71037	s.Value = &v
71038	return s
71039}
71040
71041// Contains information about a target platform that you want your model to
71042// run on, such as OS, architecture, and accelerators. It is an alternative
71043// of TargetDevice.
71044type TargetPlatform struct {
71045	_ struct{} `type:"structure"`
71046
71047	// Specifies a target platform accelerator (optional).
71048	//
71049	//    * NVIDIA: Nvidia graphics processing unit. It also requires gpu-code,
71050	//    trt-ver, cuda-ver compiler options
71051	//
71052	//    * MALI: ARM Mali graphics processor
71053	//
71054	//    * INTEL_GRAPHICS: Integrated Intel graphics
71055	Accelerator *string `type:"string" enum:"TargetPlatformAccelerator"`
71056
71057	// Specifies a target platform architecture.
71058	//
71059	//    * X86_64: 64-bit version of the x86 instruction set.
71060	//
71061	//    * X86: 32-bit version of the x86 instruction set.
71062	//
71063	//    * ARM64: ARMv8 64-bit CPU.
71064	//
71065	//    * ARM_EABIHF: ARMv7 32-bit, Hard Float.
71066	//
71067	//    * ARM_EABI: ARMv7 32-bit, Soft Float. Used by Android 32-bit ARM platform.
71068	//
71069	// Arch is a required field
71070	Arch *string `type:"string" required:"true" enum:"TargetPlatformArch"`
71071
71072	// Specifies a target platform OS.
71073	//
71074	//    * LINUX: Linux-based operating systems.
71075	//
71076	//    * ANDROID: Android operating systems. Android API level can be specified
71077	//    using the ANDROID_PLATFORM compiler option. For example, "CompilerOptions":
71078	//    {'ANDROID_PLATFORM': 28}
71079	//
71080	// Os is a required field
71081	Os *string `type:"string" required:"true" enum:"TargetPlatformOs"`
71082}
71083
71084// String returns the string representation
71085func (s TargetPlatform) String() string {
71086	return awsutil.Prettify(s)
71087}
71088
71089// GoString returns the string representation
71090func (s TargetPlatform) GoString() string {
71091	return s.String()
71092}
71093
71094// Validate inspects the fields of the type to determine if they are valid.
71095func (s *TargetPlatform) Validate() error {
71096	invalidParams := request.ErrInvalidParams{Context: "TargetPlatform"}
71097	if s.Arch == nil {
71098		invalidParams.Add(request.NewErrParamRequired("Arch"))
71099	}
71100	if s.Os == nil {
71101		invalidParams.Add(request.NewErrParamRequired("Os"))
71102	}
71103
71104	if invalidParams.Len() > 0 {
71105		return invalidParams
71106	}
71107	return nil
71108}
71109
71110// SetAccelerator sets the Accelerator field's value.
71111func (s *TargetPlatform) SetAccelerator(v string) *TargetPlatform {
71112	s.Accelerator = &v
71113	return s
71114}
71115
71116// SetArch sets the Arch field's value.
71117func (s *TargetPlatform) SetArch(v string) *TargetPlatform {
71118	s.Arch = &v
71119	return s
71120}
71121
71122// SetOs sets the Os field's value.
71123func (s *TargetPlatform) SetOs(v string) *TargetPlatform {
71124	s.Os = &v
71125	return s
71126}
71127
71128// The TensorBoard app settings.
71129type TensorBoardAppSettings struct {
71130	_ struct{} `type:"structure"`
71131
71132	// The default instance type and the Amazon Resource Name (ARN) of the SageMaker
71133	// image created on the instance.
71134	DefaultResourceSpec *ResourceSpec `type:"structure"`
71135}
71136
71137// String returns the string representation
71138func (s TensorBoardAppSettings) String() string {
71139	return awsutil.Prettify(s)
71140}
71141
71142// GoString returns the string representation
71143func (s TensorBoardAppSettings) GoString() string {
71144	return s.String()
71145}
71146
71147// SetDefaultResourceSpec sets the DefaultResourceSpec field's value.
71148func (s *TensorBoardAppSettings) SetDefaultResourceSpec(v *ResourceSpec) *TensorBoardAppSettings {
71149	s.DefaultResourceSpec = v
71150	return s
71151}
71152
71153// Configuration of storage locations for the Debugger TensorBoard output data.
71154type TensorBoardOutputConfig struct {
71155	_ struct{} `type:"structure"`
71156
71157	// Path to local storage location for tensorBoard output. Defaults to /opt/ml/output/tensorboard.
71158	LocalPath *string `type:"string"`
71159
71160	// Path to Amazon S3 storage location for TensorBoard output.
71161	//
71162	// S3OutputPath is a required field
71163	S3OutputPath *string `type:"string" required:"true"`
71164}
71165
71166// String returns the string representation
71167func (s TensorBoardOutputConfig) String() string {
71168	return awsutil.Prettify(s)
71169}
71170
71171// GoString returns the string representation
71172func (s TensorBoardOutputConfig) GoString() string {
71173	return s.String()
71174}
71175
71176// Validate inspects the fields of the type to determine if they are valid.
71177func (s *TensorBoardOutputConfig) Validate() error {
71178	invalidParams := request.ErrInvalidParams{Context: "TensorBoardOutputConfig"}
71179	if s.S3OutputPath == nil {
71180		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
71181	}
71182
71183	if invalidParams.Len() > 0 {
71184		return invalidParams
71185	}
71186	return nil
71187}
71188
71189// SetLocalPath sets the LocalPath field's value.
71190func (s *TensorBoardOutputConfig) SetLocalPath(v string) *TensorBoardOutputConfig {
71191	s.LocalPath = &v
71192	return s
71193}
71194
71195// SetS3OutputPath sets the S3OutputPath field's value.
71196func (s *TensorBoardOutputConfig) SetS3OutputPath(v string) *TensorBoardOutputConfig {
71197	s.S3OutputPath = &v
71198	return s
71199}
71200
71201// Currently, the TrafficRoutingConfig API is not supported.
71202type TrafficRoutingConfig struct {
71203	_ struct{} `type:"structure"`
71204
71205	// Currently, the CapacitySize API is not supported.
71206	CanarySize *CapacitySize `type:"structure"`
71207
71208	// Type is a required field
71209	Type *string `type:"string" required:"true" enum:"TrafficRoutingConfigType"`
71210
71211	// WaitIntervalInSeconds is a required field
71212	WaitIntervalInSeconds *int64 `type:"integer" required:"true"`
71213}
71214
71215// String returns the string representation
71216func (s TrafficRoutingConfig) String() string {
71217	return awsutil.Prettify(s)
71218}
71219
71220// GoString returns the string representation
71221func (s TrafficRoutingConfig) GoString() string {
71222	return s.String()
71223}
71224
71225// Validate inspects the fields of the type to determine if they are valid.
71226func (s *TrafficRoutingConfig) Validate() error {
71227	invalidParams := request.ErrInvalidParams{Context: "TrafficRoutingConfig"}
71228	if s.Type == nil {
71229		invalidParams.Add(request.NewErrParamRequired("Type"))
71230	}
71231	if s.WaitIntervalInSeconds == nil {
71232		invalidParams.Add(request.NewErrParamRequired("WaitIntervalInSeconds"))
71233	}
71234	if s.CanarySize != nil {
71235		if err := s.CanarySize.Validate(); err != nil {
71236			invalidParams.AddNested("CanarySize", err.(request.ErrInvalidParams))
71237		}
71238	}
71239
71240	if invalidParams.Len() > 0 {
71241		return invalidParams
71242	}
71243	return nil
71244}
71245
71246// SetCanarySize sets the CanarySize field's value.
71247func (s *TrafficRoutingConfig) SetCanarySize(v *CapacitySize) *TrafficRoutingConfig {
71248	s.CanarySize = v
71249	return s
71250}
71251
71252// SetType sets the Type field's value.
71253func (s *TrafficRoutingConfig) SetType(v string) *TrafficRoutingConfig {
71254	s.Type = &v
71255	return s
71256}
71257
71258// SetWaitIntervalInSeconds sets the WaitIntervalInSeconds field's value.
71259func (s *TrafficRoutingConfig) SetWaitIntervalInSeconds(v int64) *TrafficRoutingConfig {
71260	s.WaitIntervalInSeconds = &v
71261	return s
71262}
71263
71264// Contains information about a training job.
71265type TrainingJob struct {
71266	_ struct{} `type:"structure"`
71267
71268	// Information about the algorithm used for training, and algorithm metadata.
71269	AlgorithmSpecification *AlgorithmSpecification `type:"structure"`
71270
71271	// The Amazon Resource Name (ARN) of the job.
71272	AutoMLJobArn *string `min:"1" type:"string"`
71273
71274	// The billable time in seconds.
71275	BillableTimeInSeconds *int64 `min:"1" type:"integer"`
71276
71277	// Contains information about the output location for managed spot training
71278	// checkpoint data.
71279	CheckpointConfig *CheckpointConfig `type:"structure"`
71280
71281	// A timestamp that indicates when the training job was created.
71282	CreationTime *time.Time `type:"timestamp"`
71283
71284	// Configuration information for the Debugger hook parameters, metric and tensor
71285	// collections, and storage paths. To learn more about how to configure the
71286	// DebugHookConfig parameter, see Use the SageMaker and Debugger Configuration
71287	// API Operations to Create, Update, and Debug Your Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html).
71288	DebugHookConfig *DebugHookConfig `type:"structure"`
71289
71290	// Information about the debug rule configuration.
71291	DebugRuleConfigurations []*DebugRuleConfiguration `type:"list"`
71292
71293	// Information about the evaluation status of the rules for the training job.
71294	DebugRuleEvaluationStatuses []*DebugRuleEvaluationStatus `type:"list"`
71295
71296	// To encrypt all communications between ML compute instances in distributed
71297	// training, choose True. Encryption provides greater security for distributed
71298	// training, but training might take longer. How long it takes depends on the
71299	// amount of communication between compute instances, especially if you use
71300	// a deep learning algorithm in distributed training.
71301	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
71302
71303	// When true, enables managed spot training using Amazon EC2 Spot instances
71304	// to run training jobs instead of on-demand instances. For more information,
71305	// see Managed Spot Training (https://docs.aws.amazon.com/sagemaker/latest/dg/model-managed-spot-training.html).
71306	EnableManagedSpotTraining *bool `type:"boolean"`
71307
71308	// If the TrainingJob was created with network isolation, the value is set to
71309	// true. If network isolation is enabled, nodes can't communicate beyond the
71310	// VPC they run in.
71311	EnableNetworkIsolation *bool `type:"boolean"`
71312
71313	// The environment variables to set in the Docker container.
71314	Environment map[string]*string `type:"map"`
71315
71316	// Associates a SageMaker job as a trial component with an experiment and trial.
71317	// Specified when you call the following APIs:
71318	//
71319	//    * CreateProcessingJob
71320	//
71321	//    * CreateTrainingJob
71322	//
71323	//    * CreateTransformJob
71324	ExperimentConfig *ExperimentConfig `type:"structure"`
71325
71326	// If the training job failed, the reason it failed.
71327	FailureReason *string `type:"string"`
71328
71329	// A list of final metric values that are set when the training job completes.
71330	// Used only if the training job was configured to use metrics.
71331	FinalMetricDataList []*MetricData `type:"list"`
71332
71333	// Algorithm-specific parameters.
71334	HyperParameters map[string]*string `type:"map"`
71335
71336	// An array of Channel objects that describes each data input channel.
71337	InputDataConfig []*Channel `min:"1" type:"list"`
71338
71339	// The Amazon Resource Name (ARN) of the labeling job.
71340	LabelingJobArn *string `type:"string"`
71341
71342	// A timestamp that indicates when the status of the training job was last modified.
71343	LastModifiedTime *time.Time `type:"timestamp"`
71344
71345	// Information about the Amazon S3 location that is configured for storing model
71346	// artifacts.
71347	ModelArtifacts *ModelArtifacts `type:"structure"`
71348
71349	// The S3 path where model artifacts that you configured when creating the job
71350	// are stored. Amazon SageMaker creates subfolders for model artifacts.
71351	OutputDataConfig *OutputDataConfig `type:"structure"`
71352
71353	// Resources, including ML compute instances and ML storage volumes, that are
71354	// configured for model training.
71355	ResourceConfig *ResourceConfig `type:"structure"`
71356
71357	// The number of times to retry the job when the job fails due to an InternalServerError.
71358	RetryStrategy *RetryStrategy `type:"structure"`
71359
71360	// The AWS Identity and Access Management (IAM) role configured for the training
71361	// job.
71362	RoleArn *string `min:"20" type:"string"`
71363
71364	// Provides detailed information about the state of the training job. For detailed
71365	// information about the secondary status of the training job, see StatusMessage
71366	// under SecondaryStatusTransition.
71367	//
71368	// Amazon SageMaker provides primary statuses and secondary statuses that apply
71369	// to each of them:
71370	//
71371	// InProgress
71372	//
71373	//    * Starting - Starting the training job.
71374	//
71375	//    * Downloading - An optional stage for algorithms that support File training
71376	//    input mode. It indicates that data is being downloaded to the ML storage
71377	//    volumes.
71378	//
71379	//    * Training - Training is in progress.
71380	//
71381	//    * Uploading - Training is complete and the model artifacts are being uploaded
71382	//    to the S3 location.
71383	//
71384	// Completed
71385	//
71386	//    * Completed - The training job has completed.
71387	//
71388	// Failed
71389	//
71390	//    * Failed - The training job has failed. The reason for the failure is
71391	//    returned in the FailureReason field of DescribeTrainingJobResponse.
71392	//
71393	// Stopped
71394	//
71395	//    * MaxRuntimeExceeded - The job stopped because it exceeded the maximum
71396	//    allowed runtime.
71397	//
71398	//    * Stopped - The training job has stopped.
71399	//
71400	// Stopping
71401	//
71402	//    * Stopping - Stopping the training job.
71403	//
71404	// Valid values for SecondaryStatus are subject to change.
71405	//
71406	// We no longer support the following secondary statuses:
71407	//
71408	//    * LaunchingMLInstances
71409	//
71410	//    * PreparingTrainingStack
71411	//
71412	//    * DownloadingTrainingImage
71413	SecondaryStatus *string `type:"string" enum:"SecondaryStatus"`
71414
71415	// A history of all of the secondary statuses that the training job has transitioned
71416	// through.
71417	SecondaryStatusTransitions []*SecondaryStatusTransition `type:"list"`
71418
71419	// Specifies a limit to how long a model training job can run. It also specifies
71420	// how long a managed Spot training job has to complete. When the job reaches
71421	// the time limit, Amazon SageMaker ends the training job. Use this API to cap
71422	// model training costs.
71423	//
71424	// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
71425	// delays job termination for 120 seconds. Algorithms can use this 120-second
71426	// window to save the model artifacts, so the results of training are not lost.
71427	StoppingCondition *StoppingCondition `type:"structure"`
71428
71429	// An array of key-value pairs. You can use tags to categorize your AWS resources
71430	// in different ways, for example, by purpose, owner, or environment. For more
71431	// information, see Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
71432	Tags []*Tag `type:"list"`
71433
71434	// Configuration of storage locations for the Debugger TensorBoard output data.
71435	TensorBoardOutputConfig *TensorBoardOutputConfig `type:"structure"`
71436
71437	// Indicates the time when the training job ends on training instances. You
71438	// are billed for the time interval between the value of TrainingStartTime and
71439	// this time. For successful jobs and stopped jobs, this is the time after model
71440	// artifacts are uploaded. For failed jobs, this is the time when Amazon SageMaker
71441	// detects a job failure.
71442	TrainingEndTime *time.Time `type:"timestamp"`
71443
71444	// The Amazon Resource Name (ARN) of the training job.
71445	TrainingJobArn *string `type:"string"`
71446
71447	// The name of the training job.
71448	TrainingJobName *string `min:"1" type:"string"`
71449
71450	// The status of the training job.
71451	//
71452	// Training job statuses are:
71453	//
71454	//    * InProgress - The training is in progress.
71455	//
71456	//    * Completed - The training job has completed.
71457	//
71458	//    * Failed - The training job has failed. To see the reason for the failure,
71459	//    see the FailureReason field in the response to a DescribeTrainingJobResponse
71460	//    call.
71461	//
71462	//    * Stopping - The training job is stopping.
71463	//
71464	//    * Stopped - The training job has stopped.
71465	//
71466	// For more detailed information, see SecondaryStatus.
71467	TrainingJobStatus *string `type:"string" enum:"TrainingJobStatus"`
71468
71469	// Indicates the time when the training job starts on training instances. You
71470	// are billed for the time interval between this time and the value of TrainingEndTime.
71471	// The start time in CloudWatch Logs might be later than this time. The difference
71472	// is due to the time it takes to download the training data and to the size
71473	// of the training container.
71474	TrainingStartTime *time.Time `type:"timestamp"`
71475
71476	// The training time in seconds.
71477	TrainingTimeInSeconds *int64 `min:"1" type:"integer"`
71478
71479	// The Amazon Resource Name (ARN) of the associated hyperparameter tuning job
71480	// if the training job was launched by a hyperparameter tuning job.
71481	TuningJobArn *string `type:"string"`
71482
71483	// A VpcConfig object that specifies the VPC that this training job has access
71484	// to. For more information, see Protect Training Jobs by Using an Amazon Virtual
71485	// Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
71486	VpcConfig *VpcConfig `type:"structure"`
71487}
71488
71489// String returns the string representation
71490func (s TrainingJob) String() string {
71491	return awsutil.Prettify(s)
71492}
71493
71494// GoString returns the string representation
71495func (s TrainingJob) GoString() string {
71496	return s.String()
71497}
71498
71499// SetAlgorithmSpecification sets the AlgorithmSpecification field's value.
71500func (s *TrainingJob) SetAlgorithmSpecification(v *AlgorithmSpecification) *TrainingJob {
71501	s.AlgorithmSpecification = v
71502	return s
71503}
71504
71505// SetAutoMLJobArn sets the AutoMLJobArn field's value.
71506func (s *TrainingJob) SetAutoMLJobArn(v string) *TrainingJob {
71507	s.AutoMLJobArn = &v
71508	return s
71509}
71510
71511// SetBillableTimeInSeconds sets the BillableTimeInSeconds field's value.
71512func (s *TrainingJob) SetBillableTimeInSeconds(v int64) *TrainingJob {
71513	s.BillableTimeInSeconds = &v
71514	return s
71515}
71516
71517// SetCheckpointConfig sets the CheckpointConfig field's value.
71518func (s *TrainingJob) SetCheckpointConfig(v *CheckpointConfig) *TrainingJob {
71519	s.CheckpointConfig = v
71520	return s
71521}
71522
71523// SetCreationTime sets the CreationTime field's value.
71524func (s *TrainingJob) SetCreationTime(v time.Time) *TrainingJob {
71525	s.CreationTime = &v
71526	return s
71527}
71528
71529// SetDebugHookConfig sets the DebugHookConfig field's value.
71530func (s *TrainingJob) SetDebugHookConfig(v *DebugHookConfig) *TrainingJob {
71531	s.DebugHookConfig = v
71532	return s
71533}
71534
71535// SetDebugRuleConfigurations sets the DebugRuleConfigurations field's value.
71536func (s *TrainingJob) SetDebugRuleConfigurations(v []*DebugRuleConfiguration) *TrainingJob {
71537	s.DebugRuleConfigurations = v
71538	return s
71539}
71540
71541// SetDebugRuleEvaluationStatuses sets the DebugRuleEvaluationStatuses field's value.
71542func (s *TrainingJob) SetDebugRuleEvaluationStatuses(v []*DebugRuleEvaluationStatus) *TrainingJob {
71543	s.DebugRuleEvaluationStatuses = v
71544	return s
71545}
71546
71547// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
71548func (s *TrainingJob) SetEnableInterContainerTrafficEncryption(v bool) *TrainingJob {
71549	s.EnableInterContainerTrafficEncryption = &v
71550	return s
71551}
71552
71553// SetEnableManagedSpotTraining sets the EnableManagedSpotTraining field's value.
71554func (s *TrainingJob) SetEnableManagedSpotTraining(v bool) *TrainingJob {
71555	s.EnableManagedSpotTraining = &v
71556	return s
71557}
71558
71559// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
71560func (s *TrainingJob) SetEnableNetworkIsolation(v bool) *TrainingJob {
71561	s.EnableNetworkIsolation = &v
71562	return s
71563}
71564
71565// SetEnvironment sets the Environment field's value.
71566func (s *TrainingJob) SetEnvironment(v map[string]*string) *TrainingJob {
71567	s.Environment = v
71568	return s
71569}
71570
71571// SetExperimentConfig sets the ExperimentConfig field's value.
71572func (s *TrainingJob) SetExperimentConfig(v *ExperimentConfig) *TrainingJob {
71573	s.ExperimentConfig = v
71574	return s
71575}
71576
71577// SetFailureReason sets the FailureReason field's value.
71578func (s *TrainingJob) SetFailureReason(v string) *TrainingJob {
71579	s.FailureReason = &v
71580	return s
71581}
71582
71583// SetFinalMetricDataList sets the FinalMetricDataList field's value.
71584func (s *TrainingJob) SetFinalMetricDataList(v []*MetricData) *TrainingJob {
71585	s.FinalMetricDataList = v
71586	return s
71587}
71588
71589// SetHyperParameters sets the HyperParameters field's value.
71590func (s *TrainingJob) SetHyperParameters(v map[string]*string) *TrainingJob {
71591	s.HyperParameters = v
71592	return s
71593}
71594
71595// SetInputDataConfig sets the InputDataConfig field's value.
71596func (s *TrainingJob) SetInputDataConfig(v []*Channel) *TrainingJob {
71597	s.InputDataConfig = v
71598	return s
71599}
71600
71601// SetLabelingJobArn sets the LabelingJobArn field's value.
71602func (s *TrainingJob) SetLabelingJobArn(v string) *TrainingJob {
71603	s.LabelingJobArn = &v
71604	return s
71605}
71606
71607// SetLastModifiedTime sets the LastModifiedTime field's value.
71608func (s *TrainingJob) SetLastModifiedTime(v time.Time) *TrainingJob {
71609	s.LastModifiedTime = &v
71610	return s
71611}
71612
71613// SetModelArtifacts sets the ModelArtifacts field's value.
71614func (s *TrainingJob) SetModelArtifacts(v *ModelArtifacts) *TrainingJob {
71615	s.ModelArtifacts = v
71616	return s
71617}
71618
71619// SetOutputDataConfig sets the OutputDataConfig field's value.
71620func (s *TrainingJob) SetOutputDataConfig(v *OutputDataConfig) *TrainingJob {
71621	s.OutputDataConfig = v
71622	return s
71623}
71624
71625// SetResourceConfig sets the ResourceConfig field's value.
71626func (s *TrainingJob) SetResourceConfig(v *ResourceConfig) *TrainingJob {
71627	s.ResourceConfig = v
71628	return s
71629}
71630
71631// SetRetryStrategy sets the RetryStrategy field's value.
71632func (s *TrainingJob) SetRetryStrategy(v *RetryStrategy) *TrainingJob {
71633	s.RetryStrategy = v
71634	return s
71635}
71636
71637// SetRoleArn sets the RoleArn field's value.
71638func (s *TrainingJob) SetRoleArn(v string) *TrainingJob {
71639	s.RoleArn = &v
71640	return s
71641}
71642
71643// SetSecondaryStatus sets the SecondaryStatus field's value.
71644func (s *TrainingJob) SetSecondaryStatus(v string) *TrainingJob {
71645	s.SecondaryStatus = &v
71646	return s
71647}
71648
71649// SetSecondaryStatusTransitions sets the SecondaryStatusTransitions field's value.
71650func (s *TrainingJob) SetSecondaryStatusTransitions(v []*SecondaryStatusTransition) *TrainingJob {
71651	s.SecondaryStatusTransitions = v
71652	return s
71653}
71654
71655// SetStoppingCondition sets the StoppingCondition field's value.
71656func (s *TrainingJob) SetStoppingCondition(v *StoppingCondition) *TrainingJob {
71657	s.StoppingCondition = v
71658	return s
71659}
71660
71661// SetTags sets the Tags field's value.
71662func (s *TrainingJob) SetTags(v []*Tag) *TrainingJob {
71663	s.Tags = v
71664	return s
71665}
71666
71667// SetTensorBoardOutputConfig sets the TensorBoardOutputConfig field's value.
71668func (s *TrainingJob) SetTensorBoardOutputConfig(v *TensorBoardOutputConfig) *TrainingJob {
71669	s.TensorBoardOutputConfig = v
71670	return s
71671}
71672
71673// SetTrainingEndTime sets the TrainingEndTime field's value.
71674func (s *TrainingJob) SetTrainingEndTime(v time.Time) *TrainingJob {
71675	s.TrainingEndTime = &v
71676	return s
71677}
71678
71679// SetTrainingJobArn sets the TrainingJobArn field's value.
71680func (s *TrainingJob) SetTrainingJobArn(v string) *TrainingJob {
71681	s.TrainingJobArn = &v
71682	return s
71683}
71684
71685// SetTrainingJobName sets the TrainingJobName field's value.
71686func (s *TrainingJob) SetTrainingJobName(v string) *TrainingJob {
71687	s.TrainingJobName = &v
71688	return s
71689}
71690
71691// SetTrainingJobStatus sets the TrainingJobStatus field's value.
71692func (s *TrainingJob) SetTrainingJobStatus(v string) *TrainingJob {
71693	s.TrainingJobStatus = &v
71694	return s
71695}
71696
71697// SetTrainingStartTime sets the TrainingStartTime field's value.
71698func (s *TrainingJob) SetTrainingStartTime(v time.Time) *TrainingJob {
71699	s.TrainingStartTime = &v
71700	return s
71701}
71702
71703// SetTrainingTimeInSeconds sets the TrainingTimeInSeconds field's value.
71704func (s *TrainingJob) SetTrainingTimeInSeconds(v int64) *TrainingJob {
71705	s.TrainingTimeInSeconds = &v
71706	return s
71707}
71708
71709// SetTuningJobArn sets the TuningJobArn field's value.
71710func (s *TrainingJob) SetTuningJobArn(v string) *TrainingJob {
71711	s.TuningJobArn = &v
71712	return s
71713}
71714
71715// SetVpcConfig sets the VpcConfig field's value.
71716func (s *TrainingJob) SetVpcConfig(v *VpcConfig) *TrainingJob {
71717	s.VpcConfig = v
71718	return s
71719}
71720
71721// Defines the input needed to run a training job using the algorithm.
71722type TrainingJobDefinition struct {
71723	_ struct{} `type:"structure"`
71724
71725	// The hyperparameters used for the training job.
71726	HyperParameters map[string]*string `type:"map"`
71727
71728	// An array of Channel objects, each of which specifies an input source.
71729	//
71730	// InputDataConfig is a required field
71731	InputDataConfig []*Channel `min:"1" type:"list" required:"true"`
71732
71733	// the path to the S3 bucket where you want to store model artifacts. Amazon
71734	// SageMaker creates subfolders for the artifacts.
71735	//
71736	// OutputDataConfig is a required field
71737	OutputDataConfig *OutputDataConfig `type:"structure" required:"true"`
71738
71739	// The resources, including the ML compute instances and ML storage volumes,
71740	// to use for model training.
71741	//
71742	// ResourceConfig is a required field
71743	ResourceConfig *ResourceConfig `type:"structure" required:"true"`
71744
71745	// Specifies a limit to how long a model training job can run. It also specifies
71746	// how long a managed Spot training job has to complete. When the job reaches
71747	// the time limit, Amazon SageMaker ends the training job. Use this API to cap
71748	// model training costs.
71749	//
71750	// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
71751	// delays job termination for 120 seconds. Algorithms can use this 120-second
71752	// window to save the model artifacts.
71753	//
71754	// StoppingCondition is a required field
71755	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
71756
71757	// The input mode used by the algorithm for the training job. For the input
71758	// modes that Amazon SageMaker algorithms support, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
71759	//
71760	// If an algorithm supports the File input mode, Amazon SageMaker downloads
71761	// the training data from S3 to the provisioned ML storage Volume, and mounts
71762	// the directory to docker volume for training container. If an algorithm supports
71763	// the Pipe input mode, Amazon SageMaker streams data directly from S3 to the
71764	// container.
71765	//
71766	// TrainingInputMode is a required field
71767	TrainingInputMode *string `type:"string" required:"true" enum:"TrainingInputMode"`
71768}
71769
71770// String returns the string representation
71771func (s TrainingJobDefinition) String() string {
71772	return awsutil.Prettify(s)
71773}
71774
71775// GoString returns the string representation
71776func (s TrainingJobDefinition) GoString() string {
71777	return s.String()
71778}
71779
71780// Validate inspects the fields of the type to determine if they are valid.
71781func (s *TrainingJobDefinition) Validate() error {
71782	invalidParams := request.ErrInvalidParams{Context: "TrainingJobDefinition"}
71783	if s.InputDataConfig == nil {
71784		invalidParams.Add(request.NewErrParamRequired("InputDataConfig"))
71785	}
71786	if s.InputDataConfig != nil && len(s.InputDataConfig) < 1 {
71787		invalidParams.Add(request.NewErrParamMinLen("InputDataConfig", 1))
71788	}
71789	if s.OutputDataConfig == nil {
71790		invalidParams.Add(request.NewErrParamRequired("OutputDataConfig"))
71791	}
71792	if s.ResourceConfig == nil {
71793		invalidParams.Add(request.NewErrParamRequired("ResourceConfig"))
71794	}
71795	if s.StoppingCondition == nil {
71796		invalidParams.Add(request.NewErrParamRequired("StoppingCondition"))
71797	}
71798	if s.TrainingInputMode == nil {
71799		invalidParams.Add(request.NewErrParamRequired("TrainingInputMode"))
71800	}
71801	if s.InputDataConfig != nil {
71802		for i, v := range s.InputDataConfig {
71803			if v == nil {
71804				continue
71805			}
71806			if err := v.Validate(); err != nil {
71807				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputDataConfig", i), err.(request.ErrInvalidParams))
71808			}
71809		}
71810	}
71811	if s.OutputDataConfig != nil {
71812		if err := s.OutputDataConfig.Validate(); err != nil {
71813			invalidParams.AddNested("OutputDataConfig", err.(request.ErrInvalidParams))
71814		}
71815	}
71816	if s.ResourceConfig != nil {
71817		if err := s.ResourceConfig.Validate(); err != nil {
71818			invalidParams.AddNested("ResourceConfig", err.(request.ErrInvalidParams))
71819		}
71820	}
71821	if s.StoppingCondition != nil {
71822		if err := s.StoppingCondition.Validate(); err != nil {
71823			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
71824		}
71825	}
71826
71827	if invalidParams.Len() > 0 {
71828		return invalidParams
71829	}
71830	return nil
71831}
71832
71833// SetHyperParameters sets the HyperParameters field's value.
71834func (s *TrainingJobDefinition) SetHyperParameters(v map[string]*string) *TrainingJobDefinition {
71835	s.HyperParameters = v
71836	return s
71837}
71838
71839// SetInputDataConfig sets the InputDataConfig field's value.
71840func (s *TrainingJobDefinition) SetInputDataConfig(v []*Channel) *TrainingJobDefinition {
71841	s.InputDataConfig = v
71842	return s
71843}
71844
71845// SetOutputDataConfig sets the OutputDataConfig field's value.
71846func (s *TrainingJobDefinition) SetOutputDataConfig(v *OutputDataConfig) *TrainingJobDefinition {
71847	s.OutputDataConfig = v
71848	return s
71849}
71850
71851// SetResourceConfig sets the ResourceConfig field's value.
71852func (s *TrainingJobDefinition) SetResourceConfig(v *ResourceConfig) *TrainingJobDefinition {
71853	s.ResourceConfig = v
71854	return s
71855}
71856
71857// SetStoppingCondition sets the StoppingCondition field's value.
71858func (s *TrainingJobDefinition) SetStoppingCondition(v *StoppingCondition) *TrainingJobDefinition {
71859	s.StoppingCondition = v
71860	return s
71861}
71862
71863// SetTrainingInputMode sets the TrainingInputMode field's value.
71864func (s *TrainingJobDefinition) SetTrainingInputMode(v string) *TrainingJobDefinition {
71865	s.TrainingInputMode = &v
71866	return s
71867}
71868
71869// The numbers of training jobs launched by a hyperparameter tuning job, categorized
71870// by status.
71871type TrainingJobStatusCounters struct {
71872	_ struct{} `type:"structure"`
71873
71874	// The number of completed training jobs launched by the hyperparameter tuning
71875	// job.
71876	Completed *int64 `type:"integer"`
71877
71878	// The number of in-progress training jobs launched by a hyperparameter tuning
71879	// job.
71880	InProgress *int64 `type:"integer"`
71881
71882	// The number of training jobs that failed and can't be retried. A failed training
71883	// job can't be retried if it failed because a client error occurred.
71884	NonRetryableError *int64 `type:"integer"`
71885
71886	// The number of training jobs that failed, but can be retried. A failed training
71887	// job can be retried only if it failed because an internal service error occurred.
71888	RetryableError *int64 `type:"integer"`
71889
71890	// The number of training jobs launched by a hyperparameter tuning job that
71891	// were manually stopped.
71892	Stopped *int64 `type:"integer"`
71893}
71894
71895// String returns the string representation
71896func (s TrainingJobStatusCounters) String() string {
71897	return awsutil.Prettify(s)
71898}
71899
71900// GoString returns the string representation
71901func (s TrainingJobStatusCounters) GoString() string {
71902	return s.String()
71903}
71904
71905// SetCompleted sets the Completed field's value.
71906func (s *TrainingJobStatusCounters) SetCompleted(v int64) *TrainingJobStatusCounters {
71907	s.Completed = &v
71908	return s
71909}
71910
71911// SetInProgress sets the InProgress field's value.
71912func (s *TrainingJobStatusCounters) SetInProgress(v int64) *TrainingJobStatusCounters {
71913	s.InProgress = &v
71914	return s
71915}
71916
71917// SetNonRetryableError sets the NonRetryableError field's value.
71918func (s *TrainingJobStatusCounters) SetNonRetryableError(v int64) *TrainingJobStatusCounters {
71919	s.NonRetryableError = &v
71920	return s
71921}
71922
71923// SetRetryableError sets the RetryableError field's value.
71924func (s *TrainingJobStatusCounters) SetRetryableError(v int64) *TrainingJobStatusCounters {
71925	s.RetryableError = &v
71926	return s
71927}
71928
71929// SetStopped sets the Stopped field's value.
71930func (s *TrainingJobStatusCounters) SetStopped(v int64) *TrainingJobStatusCounters {
71931	s.Stopped = &v
71932	return s
71933}
71934
71935// Metadata for a training job step.
71936type TrainingJobStepMetadata struct {
71937	_ struct{} `type:"structure"`
71938
71939	// The Amazon Resource Name (ARN) of the training job that was run by this step
71940	// execution.
71941	Arn *string `type:"string"`
71942}
71943
71944// String returns the string representation
71945func (s TrainingJobStepMetadata) String() string {
71946	return awsutil.Prettify(s)
71947}
71948
71949// GoString returns the string representation
71950func (s TrainingJobStepMetadata) GoString() string {
71951	return s.String()
71952}
71953
71954// SetArn sets the Arn field's value.
71955func (s *TrainingJobStepMetadata) SetArn(v string) *TrainingJobStepMetadata {
71956	s.Arn = &v
71957	return s
71958}
71959
71960// Provides summary information about a training job.
71961type TrainingJobSummary struct {
71962	_ struct{} `type:"structure"`
71963
71964	// A timestamp that shows when the training job was created.
71965	//
71966	// CreationTime is a required field
71967	CreationTime *time.Time `type:"timestamp" required:"true"`
71968
71969	// Timestamp when the training job was last modified.
71970	LastModifiedTime *time.Time `type:"timestamp"`
71971
71972	// A timestamp that shows when the training job ended. This field is set only
71973	// if the training job has one of the terminal statuses (Completed, Failed,
71974	// or Stopped).
71975	TrainingEndTime *time.Time `type:"timestamp"`
71976
71977	// The Amazon Resource Name (ARN) of the training job.
71978	//
71979	// TrainingJobArn is a required field
71980	TrainingJobArn *string `type:"string" required:"true"`
71981
71982	// The name of the training job that you want a summary for.
71983	//
71984	// TrainingJobName is a required field
71985	TrainingJobName *string `min:"1" type:"string" required:"true"`
71986
71987	// The status of the training job.
71988	//
71989	// TrainingJobStatus is a required field
71990	TrainingJobStatus *string `type:"string" required:"true" enum:"TrainingJobStatus"`
71991}
71992
71993// String returns the string representation
71994func (s TrainingJobSummary) String() string {
71995	return awsutil.Prettify(s)
71996}
71997
71998// GoString returns the string representation
71999func (s TrainingJobSummary) GoString() string {
72000	return s.String()
72001}
72002
72003// SetCreationTime sets the CreationTime field's value.
72004func (s *TrainingJobSummary) SetCreationTime(v time.Time) *TrainingJobSummary {
72005	s.CreationTime = &v
72006	return s
72007}
72008
72009// SetLastModifiedTime sets the LastModifiedTime field's value.
72010func (s *TrainingJobSummary) SetLastModifiedTime(v time.Time) *TrainingJobSummary {
72011	s.LastModifiedTime = &v
72012	return s
72013}
72014
72015// SetTrainingEndTime sets the TrainingEndTime field's value.
72016func (s *TrainingJobSummary) SetTrainingEndTime(v time.Time) *TrainingJobSummary {
72017	s.TrainingEndTime = &v
72018	return s
72019}
72020
72021// SetTrainingJobArn sets the TrainingJobArn field's value.
72022func (s *TrainingJobSummary) SetTrainingJobArn(v string) *TrainingJobSummary {
72023	s.TrainingJobArn = &v
72024	return s
72025}
72026
72027// SetTrainingJobName sets the TrainingJobName field's value.
72028func (s *TrainingJobSummary) SetTrainingJobName(v string) *TrainingJobSummary {
72029	s.TrainingJobName = &v
72030	return s
72031}
72032
72033// SetTrainingJobStatus sets the TrainingJobStatus field's value.
72034func (s *TrainingJobSummary) SetTrainingJobStatus(v string) *TrainingJobSummary {
72035	s.TrainingJobStatus = &v
72036	return s
72037}
72038
72039// Defines how the algorithm is used for a training job.
72040type TrainingSpecification struct {
72041	_ struct{} `type:"structure"`
72042
72043	// A list of MetricDefinition objects, which are used for parsing metrics generated
72044	// by the algorithm.
72045	MetricDefinitions []*MetricDefinition `type:"list"`
72046
72047	// A list of the HyperParameterSpecification objects, that define the supported
72048	// hyperparameters. This is required if the algorithm supports automatic model
72049	// tuning.>
72050	SupportedHyperParameters []*HyperParameterSpecification `type:"list"`
72051
72052	// A list of the instance types that this algorithm can use for training.
72053	//
72054	// SupportedTrainingInstanceTypes is a required field
72055	SupportedTrainingInstanceTypes []*string `type:"list" required:"true"`
72056
72057	// A list of the metrics that the algorithm emits that can be used as the objective
72058	// metric in a hyperparameter tuning job.
72059	SupportedTuningJobObjectiveMetrics []*HyperParameterTuningJobObjective `type:"list"`
72060
72061	// Indicates whether the algorithm supports distributed training. If set to
72062	// false, buyers can't request more than one instance during training.
72063	SupportsDistributedTraining *bool `type:"boolean"`
72064
72065	// A list of ChannelSpecification objects, which specify the input sources to
72066	// be used by the algorithm.
72067	//
72068	// TrainingChannels is a required field
72069	TrainingChannels []*ChannelSpecification `min:"1" type:"list" required:"true"`
72070
72071	// The Amazon ECR registry path of the Docker image that contains the training
72072	// algorithm.
72073	//
72074	// TrainingImage is a required field
72075	TrainingImage *string `type:"string" required:"true"`
72076
72077	// An MD5 hash of the training algorithm that identifies the Docker image used
72078	// for training.
72079	TrainingImageDigest *string `type:"string"`
72080}
72081
72082// String returns the string representation
72083func (s TrainingSpecification) String() string {
72084	return awsutil.Prettify(s)
72085}
72086
72087// GoString returns the string representation
72088func (s TrainingSpecification) GoString() string {
72089	return s.String()
72090}
72091
72092// Validate inspects the fields of the type to determine if they are valid.
72093func (s *TrainingSpecification) Validate() error {
72094	invalidParams := request.ErrInvalidParams{Context: "TrainingSpecification"}
72095	if s.SupportedTrainingInstanceTypes == nil {
72096		invalidParams.Add(request.NewErrParamRequired("SupportedTrainingInstanceTypes"))
72097	}
72098	if s.TrainingChannels == nil {
72099		invalidParams.Add(request.NewErrParamRequired("TrainingChannels"))
72100	}
72101	if s.TrainingChannels != nil && len(s.TrainingChannels) < 1 {
72102		invalidParams.Add(request.NewErrParamMinLen("TrainingChannels", 1))
72103	}
72104	if s.TrainingImage == nil {
72105		invalidParams.Add(request.NewErrParamRequired("TrainingImage"))
72106	}
72107	if s.MetricDefinitions != nil {
72108		for i, v := range s.MetricDefinitions {
72109			if v == nil {
72110				continue
72111			}
72112			if err := v.Validate(); err != nil {
72113				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MetricDefinitions", i), err.(request.ErrInvalidParams))
72114			}
72115		}
72116	}
72117	if s.SupportedHyperParameters != nil {
72118		for i, v := range s.SupportedHyperParameters {
72119			if v == nil {
72120				continue
72121			}
72122			if err := v.Validate(); err != nil {
72123				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SupportedHyperParameters", i), err.(request.ErrInvalidParams))
72124			}
72125		}
72126	}
72127	if s.SupportedTuningJobObjectiveMetrics != nil {
72128		for i, v := range s.SupportedTuningJobObjectiveMetrics {
72129			if v == nil {
72130				continue
72131			}
72132			if err := v.Validate(); err != nil {
72133				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SupportedTuningJobObjectiveMetrics", i), err.(request.ErrInvalidParams))
72134			}
72135		}
72136	}
72137	if s.TrainingChannels != nil {
72138		for i, v := range s.TrainingChannels {
72139			if v == nil {
72140				continue
72141			}
72142			if err := v.Validate(); err != nil {
72143				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TrainingChannels", i), err.(request.ErrInvalidParams))
72144			}
72145		}
72146	}
72147
72148	if invalidParams.Len() > 0 {
72149		return invalidParams
72150	}
72151	return nil
72152}
72153
72154// SetMetricDefinitions sets the MetricDefinitions field's value.
72155func (s *TrainingSpecification) SetMetricDefinitions(v []*MetricDefinition) *TrainingSpecification {
72156	s.MetricDefinitions = v
72157	return s
72158}
72159
72160// SetSupportedHyperParameters sets the SupportedHyperParameters field's value.
72161func (s *TrainingSpecification) SetSupportedHyperParameters(v []*HyperParameterSpecification) *TrainingSpecification {
72162	s.SupportedHyperParameters = v
72163	return s
72164}
72165
72166// SetSupportedTrainingInstanceTypes sets the SupportedTrainingInstanceTypes field's value.
72167func (s *TrainingSpecification) SetSupportedTrainingInstanceTypes(v []*string) *TrainingSpecification {
72168	s.SupportedTrainingInstanceTypes = v
72169	return s
72170}
72171
72172// SetSupportedTuningJobObjectiveMetrics sets the SupportedTuningJobObjectiveMetrics field's value.
72173func (s *TrainingSpecification) SetSupportedTuningJobObjectiveMetrics(v []*HyperParameterTuningJobObjective) *TrainingSpecification {
72174	s.SupportedTuningJobObjectiveMetrics = v
72175	return s
72176}
72177
72178// SetSupportsDistributedTraining sets the SupportsDistributedTraining field's value.
72179func (s *TrainingSpecification) SetSupportsDistributedTraining(v bool) *TrainingSpecification {
72180	s.SupportsDistributedTraining = &v
72181	return s
72182}
72183
72184// SetTrainingChannels sets the TrainingChannels field's value.
72185func (s *TrainingSpecification) SetTrainingChannels(v []*ChannelSpecification) *TrainingSpecification {
72186	s.TrainingChannels = v
72187	return s
72188}
72189
72190// SetTrainingImage sets the TrainingImage field's value.
72191func (s *TrainingSpecification) SetTrainingImage(v string) *TrainingSpecification {
72192	s.TrainingImage = &v
72193	return s
72194}
72195
72196// SetTrainingImageDigest sets the TrainingImageDigest field's value.
72197func (s *TrainingSpecification) SetTrainingImageDigest(v string) *TrainingSpecification {
72198	s.TrainingImageDigest = &v
72199	return s
72200}
72201
72202// Describes the location of the channel data.
72203type TransformDataSource struct {
72204	_ struct{} `type:"structure"`
72205
72206	// The S3 location of the data source that is associated with a channel.
72207	//
72208	// S3DataSource is a required field
72209	S3DataSource *TransformS3DataSource `type:"structure" required:"true"`
72210}
72211
72212// String returns the string representation
72213func (s TransformDataSource) String() string {
72214	return awsutil.Prettify(s)
72215}
72216
72217// GoString returns the string representation
72218func (s TransformDataSource) GoString() string {
72219	return s.String()
72220}
72221
72222// Validate inspects the fields of the type to determine if they are valid.
72223func (s *TransformDataSource) Validate() error {
72224	invalidParams := request.ErrInvalidParams{Context: "TransformDataSource"}
72225	if s.S3DataSource == nil {
72226		invalidParams.Add(request.NewErrParamRequired("S3DataSource"))
72227	}
72228	if s.S3DataSource != nil {
72229		if err := s.S3DataSource.Validate(); err != nil {
72230			invalidParams.AddNested("S3DataSource", err.(request.ErrInvalidParams))
72231		}
72232	}
72233
72234	if invalidParams.Len() > 0 {
72235		return invalidParams
72236	}
72237	return nil
72238}
72239
72240// SetS3DataSource sets the S3DataSource field's value.
72241func (s *TransformDataSource) SetS3DataSource(v *TransformS3DataSource) *TransformDataSource {
72242	s.S3DataSource = v
72243	return s
72244}
72245
72246// Describes the input source of a transform job and the way the transform job
72247// consumes it.
72248type TransformInput struct {
72249	_ struct{} `type:"structure"`
72250
72251	// If your transform data is compressed, specify the compression type. Amazon
72252	// SageMaker automatically decompresses the data for the transform job accordingly.
72253	// The default value is None.
72254	CompressionType *string `type:"string" enum:"CompressionType"`
72255
72256	// The multipurpose internet mail extension (MIME) type of the data. Amazon
72257	// SageMaker uses the MIME type with each http call to transfer data to the
72258	// transform job.
72259	ContentType *string `type:"string"`
72260
72261	// Describes the location of the channel data, which is, the S3 location of
72262	// the input data that the model can consume.
72263	//
72264	// DataSource is a required field
72265	DataSource *TransformDataSource `type:"structure" required:"true"`
72266
72267	// The method to use to split the transform job's data files into smaller batches.
72268	// Splitting is necessary when the total size of each object is too large to
72269	// fit in a single request. You can also use data splitting to improve performance
72270	// by processing multiple concurrent mini-batches. The default value for SplitType
72271	// is None, which indicates that input data files are not split, and request
72272	// payloads contain the entire contents of an input object. Set the value of
72273	// this parameter to Line to split records on a newline character boundary.
72274	// SplitType also supports a number of record-oriented binary data formats.
72275	// Currently, the supported record formats are:
72276	//
72277	//    * RecordIO
72278	//
72279	//    * TFRecord
72280	//
72281	// When splitting is enabled, the size of a mini-batch depends on the values
72282	// of the BatchStrategy and MaxPayloadInMB parameters. When the value of BatchStrategy
72283	// is MultiRecord, Amazon SageMaker sends the maximum number of records in each
72284	// request, up to the MaxPayloadInMB limit. If the value of BatchStrategy is
72285	// SingleRecord, Amazon SageMaker sends individual records in each request.
72286	//
72287	// Some data formats represent a record as a binary payload wrapped with extra
72288	// padding bytes. When splitting is applied to a binary data format, padding
72289	// is removed if the value of BatchStrategy is set to SingleRecord. Padding
72290	// is not removed if the value of BatchStrategy is set to MultiRecord.
72291	//
72292	// For more information about RecordIO, see Create a Dataset Using RecordIO
72293	// (https://mxnet.apache.org/api/faq/recordio) in the MXNet documentation. For
72294	// more information about TFRecord, see Consuming TFRecord data (https://www.tensorflow.org/guide/data#consuming_tfrecord_data)
72295	// in the TensorFlow documentation.
72296	SplitType *string `type:"string" enum:"SplitType"`
72297}
72298
72299// String returns the string representation
72300func (s TransformInput) String() string {
72301	return awsutil.Prettify(s)
72302}
72303
72304// GoString returns the string representation
72305func (s TransformInput) GoString() string {
72306	return s.String()
72307}
72308
72309// Validate inspects the fields of the type to determine if they are valid.
72310func (s *TransformInput) Validate() error {
72311	invalidParams := request.ErrInvalidParams{Context: "TransformInput"}
72312	if s.DataSource == nil {
72313		invalidParams.Add(request.NewErrParamRequired("DataSource"))
72314	}
72315	if s.DataSource != nil {
72316		if err := s.DataSource.Validate(); err != nil {
72317			invalidParams.AddNested("DataSource", err.(request.ErrInvalidParams))
72318		}
72319	}
72320
72321	if invalidParams.Len() > 0 {
72322		return invalidParams
72323	}
72324	return nil
72325}
72326
72327// SetCompressionType sets the CompressionType field's value.
72328func (s *TransformInput) SetCompressionType(v string) *TransformInput {
72329	s.CompressionType = &v
72330	return s
72331}
72332
72333// SetContentType sets the ContentType field's value.
72334func (s *TransformInput) SetContentType(v string) *TransformInput {
72335	s.ContentType = &v
72336	return s
72337}
72338
72339// SetDataSource sets the DataSource field's value.
72340func (s *TransformInput) SetDataSource(v *TransformDataSource) *TransformInput {
72341	s.DataSource = v
72342	return s
72343}
72344
72345// SetSplitType sets the SplitType field's value.
72346func (s *TransformInput) SetSplitType(v string) *TransformInput {
72347	s.SplitType = &v
72348	return s
72349}
72350
72351// A batch transform job. For information about SageMaker batch transform, see
72352// Use Batch Transform (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform.html).
72353type TransformJob struct {
72354	_ struct{} `type:"structure"`
72355
72356	// The Amazon Resource Name (ARN) of the AutoML job that created the transform
72357	// job.
72358	AutoMLJobArn *string `min:"1" type:"string"`
72359
72360	// Specifies the number of records to include in a mini-batch for an HTTP inference
72361	// request. A record is a single unit of input data that inference can be made
72362	// on. For example, a single line in a CSV file is a record.
72363	BatchStrategy *string `type:"string" enum:"BatchStrategy"`
72364
72365	// A timestamp that shows when the transform Job was created.
72366	CreationTime *time.Time `type:"timestamp"`
72367
72368	// The data structure used to specify the data to be used for inference in a
72369	// batch transform job and to associate the data that is relevant to the prediction
72370	// results in the output. The input filter provided allows you to exclude input
72371	// data that is not needed for inference in a batch transform job. The output
72372	// filter provided allows you to include input data relevant to interpreting
72373	// the predictions in the output from the job. For more information, see Associate
72374	// Prediction Results with their Corresponding Input Records (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html).
72375	DataProcessing *DataProcessing `type:"structure"`
72376
72377	// The environment variables to set in the Docker container. We support up to
72378	// 16 key and values entries in the map.
72379	Environment map[string]*string `type:"map"`
72380
72381	// Associates a SageMaker job as a trial component with an experiment and trial.
72382	// Specified when you call the following APIs:
72383	//
72384	//    * CreateProcessingJob
72385	//
72386	//    * CreateTrainingJob
72387	//
72388	//    * CreateTransformJob
72389	ExperimentConfig *ExperimentConfig `type:"structure"`
72390
72391	// If the transform job failed, the reason it failed.
72392	FailureReason *string `type:"string"`
72393
72394	// The Amazon Resource Name (ARN) of the labeling job that created the transform
72395	// job.
72396	LabelingJobArn *string `type:"string"`
72397
72398	// The maximum number of parallel requests that can be sent to each instance
72399	// in a transform job. If MaxConcurrentTransforms is set to 0 or left unset,
72400	// SageMaker checks the optional execution-parameters to determine the settings
72401	// for your chosen algorithm. If the execution-parameters endpoint is not enabled,
72402	// the default value is 1. For built-in algorithms, you don't need to set a
72403	// value for MaxConcurrentTransforms.
72404	MaxConcurrentTransforms *int64 `type:"integer"`
72405
72406	// The maximum allowed size of the payload, in MB. A payload is the data portion
72407	// of a record (without metadata). The value in MaxPayloadInMB must be greater
72408	// than, or equal to, the size of a single record. To estimate the size of a
72409	// record in MB, divide the size of your dataset by the number of records. To
72410	// ensure that the records fit within the maximum payload size, we recommend
72411	// using a slightly larger value. The default value is 6 MB. For cases where
72412	// the payload might be arbitrarily large and is transmitted using HTTP chunked
72413	// encoding, set the value to 0. This feature works only in supported algorithms.
72414	// Currently, SageMaker built-in algorithms do not support HTTP chunked encoding.
72415	MaxPayloadInMB *int64 `type:"integer"`
72416
72417	// Configures the timeout and maximum number of retries for processing a transform
72418	// job invocation.
72419	ModelClientConfig *ModelClientConfig `type:"structure"`
72420
72421	// The name of the model associated with the transform job.
72422	ModelName *string `type:"string"`
72423
72424	// A list of tags associated with the transform job.
72425	Tags []*Tag `type:"list"`
72426
72427	// Indicates when the transform job has been completed, or has stopped or failed.
72428	// You are billed for the time interval between this time and the value of TransformStartTime.
72429	TransformEndTime *time.Time `type:"timestamp"`
72430
72431	// Describes the input source of a transform job and the way the transform job
72432	// consumes it.
72433	TransformInput *TransformInput `type:"structure"`
72434
72435	// The Amazon Resource Name (ARN) of the transform job.
72436	TransformJobArn *string `type:"string"`
72437
72438	// The name of the transform job.
72439	TransformJobName *string `min:"1" type:"string"`
72440
72441	// The status of the transform job.
72442	//
72443	// Transform job statuses are:
72444	//
72445	//    * InProgress - The job is in progress.
72446	//
72447	//    * Completed - The job has completed.
72448	//
72449	//    * Failed - The transform job has failed. To see the reason for the failure,
72450	//    see the FailureReason field in the response to a DescribeTransformJob
72451	//    call.
72452	//
72453	//    * Stopping - The transform job is stopping.
72454	//
72455	//    * Stopped - The transform job has stopped.
72456	TransformJobStatus *string `type:"string" enum:"TransformJobStatus"`
72457
72458	// Describes the results of a transform job.
72459	TransformOutput *TransformOutput `type:"structure"`
72460
72461	// Describes the resources, including ML instance types and ML instance count,
72462	// to use for transform job.
72463	TransformResources *TransformResources `type:"structure"`
72464
72465	// Indicates when the transform job starts on ML instances. You are billed for
72466	// the time interval between this time and the value of TransformEndTime.
72467	TransformStartTime *time.Time `type:"timestamp"`
72468}
72469
72470// String returns the string representation
72471func (s TransformJob) String() string {
72472	return awsutil.Prettify(s)
72473}
72474
72475// GoString returns the string representation
72476func (s TransformJob) GoString() string {
72477	return s.String()
72478}
72479
72480// SetAutoMLJobArn sets the AutoMLJobArn field's value.
72481func (s *TransformJob) SetAutoMLJobArn(v string) *TransformJob {
72482	s.AutoMLJobArn = &v
72483	return s
72484}
72485
72486// SetBatchStrategy sets the BatchStrategy field's value.
72487func (s *TransformJob) SetBatchStrategy(v string) *TransformJob {
72488	s.BatchStrategy = &v
72489	return s
72490}
72491
72492// SetCreationTime sets the CreationTime field's value.
72493func (s *TransformJob) SetCreationTime(v time.Time) *TransformJob {
72494	s.CreationTime = &v
72495	return s
72496}
72497
72498// SetDataProcessing sets the DataProcessing field's value.
72499func (s *TransformJob) SetDataProcessing(v *DataProcessing) *TransformJob {
72500	s.DataProcessing = v
72501	return s
72502}
72503
72504// SetEnvironment sets the Environment field's value.
72505func (s *TransformJob) SetEnvironment(v map[string]*string) *TransformJob {
72506	s.Environment = v
72507	return s
72508}
72509
72510// SetExperimentConfig sets the ExperimentConfig field's value.
72511func (s *TransformJob) SetExperimentConfig(v *ExperimentConfig) *TransformJob {
72512	s.ExperimentConfig = v
72513	return s
72514}
72515
72516// SetFailureReason sets the FailureReason field's value.
72517func (s *TransformJob) SetFailureReason(v string) *TransformJob {
72518	s.FailureReason = &v
72519	return s
72520}
72521
72522// SetLabelingJobArn sets the LabelingJobArn field's value.
72523func (s *TransformJob) SetLabelingJobArn(v string) *TransformJob {
72524	s.LabelingJobArn = &v
72525	return s
72526}
72527
72528// SetMaxConcurrentTransforms sets the MaxConcurrentTransforms field's value.
72529func (s *TransformJob) SetMaxConcurrentTransforms(v int64) *TransformJob {
72530	s.MaxConcurrentTransforms = &v
72531	return s
72532}
72533
72534// SetMaxPayloadInMB sets the MaxPayloadInMB field's value.
72535func (s *TransformJob) SetMaxPayloadInMB(v int64) *TransformJob {
72536	s.MaxPayloadInMB = &v
72537	return s
72538}
72539
72540// SetModelClientConfig sets the ModelClientConfig field's value.
72541func (s *TransformJob) SetModelClientConfig(v *ModelClientConfig) *TransformJob {
72542	s.ModelClientConfig = v
72543	return s
72544}
72545
72546// SetModelName sets the ModelName field's value.
72547func (s *TransformJob) SetModelName(v string) *TransformJob {
72548	s.ModelName = &v
72549	return s
72550}
72551
72552// SetTags sets the Tags field's value.
72553func (s *TransformJob) SetTags(v []*Tag) *TransformJob {
72554	s.Tags = v
72555	return s
72556}
72557
72558// SetTransformEndTime sets the TransformEndTime field's value.
72559func (s *TransformJob) SetTransformEndTime(v time.Time) *TransformJob {
72560	s.TransformEndTime = &v
72561	return s
72562}
72563
72564// SetTransformInput sets the TransformInput field's value.
72565func (s *TransformJob) SetTransformInput(v *TransformInput) *TransformJob {
72566	s.TransformInput = v
72567	return s
72568}
72569
72570// SetTransformJobArn sets the TransformJobArn field's value.
72571func (s *TransformJob) SetTransformJobArn(v string) *TransformJob {
72572	s.TransformJobArn = &v
72573	return s
72574}
72575
72576// SetTransformJobName sets the TransformJobName field's value.
72577func (s *TransformJob) SetTransformJobName(v string) *TransformJob {
72578	s.TransformJobName = &v
72579	return s
72580}
72581
72582// SetTransformJobStatus sets the TransformJobStatus field's value.
72583func (s *TransformJob) SetTransformJobStatus(v string) *TransformJob {
72584	s.TransformJobStatus = &v
72585	return s
72586}
72587
72588// SetTransformOutput sets the TransformOutput field's value.
72589func (s *TransformJob) SetTransformOutput(v *TransformOutput) *TransformJob {
72590	s.TransformOutput = v
72591	return s
72592}
72593
72594// SetTransformResources sets the TransformResources field's value.
72595func (s *TransformJob) SetTransformResources(v *TransformResources) *TransformJob {
72596	s.TransformResources = v
72597	return s
72598}
72599
72600// SetTransformStartTime sets the TransformStartTime field's value.
72601func (s *TransformJob) SetTransformStartTime(v time.Time) *TransformJob {
72602	s.TransformStartTime = &v
72603	return s
72604}
72605
72606// Defines the input needed to run a transform job using the inference specification
72607// specified in the algorithm.
72608type TransformJobDefinition struct {
72609	_ struct{} `type:"structure"`
72610
72611	// A string that determines the number of records included in a single mini-batch.
72612	//
72613	// SingleRecord means only one record is used per mini-batch. MultiRecord means
72614	// a mini-batch is set to contain as many records that can fit within the MaxPayloadInMB
72615	// limit.
72616	BatchStrategy *string `type:"string" enum:"BatchStrategy"`
72617
72618	// The environment variables to set in the Docker container. We support up to
72619	// 16 key and values entries in the map.
72620	Environment map[string]*string `type:"map"`
72621
72622	// The maximum number of parallel requests that can be sent to each instance
72623	// in a transform job. The default value is 1.
72624	MaxConcurrentTransforms *int64 `type:"integer"`
72625
72626	// The maximum payload size allowed, in MB. A payload is the data portion of
72627	// a record (without metadata).
72628	MaxPayloadInMB *int64 `type:"integer"`
72629
72630	// A description of the input source and the way the transform job consumes
72631	// it.
72632	//
72633	// TransformInput is a required field
72634	TransformInput *TransformInput `type:"structure" required:"true"`
72635
72636	// Identifies the Amazon S3 location where you want Amazon SageMaker to save
72637	// the results from the transform job.
72638	//
72639	// TransformOutput is a required field
72640	TransformOutput *TransformOutput `type:"structure" required:"true"`
72641
72642	// Identifies the ML compute instances for the transform job.
72643	//
72644	// TransformResources is a required field
72645	TransformResources *TransformResources `type:"structure" required:"true"`
72646}
72647
72648// String returns the string representation
72649func (s TransformJobDefinition) String() string {
72650	return awsutil.Prettify(s)
72651}
72652
72653// GoString returns the string representation
72654func (s TransformJobDefinition) GoString() string {
72655	return s.String()
72656}
72657
72658// Validate inspects the fields of the type to determine if they are valid.
72659func (s *TransformJobDefinition) Validate() error {
72660	invalidParams := request.ErrInvalidParams{Context: "TransformJobDefinition"}
72661	if s.TransformInput == nil {
72662		invalidParams.Add(request.NewErrParamRequired("TransformInput"))
72663	}
72664	if s.TransformOutput == nil {
72665		invalidParams.Add(request.NewErrParamRequired("TransformOutput"))
72666	}
72667	if s.TransformResources == nil {
72668		invalidParams.Add(request.NewErrParamRequired("TransformResources"))
72669	}
72670	if s.TransformInput != nil {
72671		if err := s.TransformInput.Validate(); err != nil {
72672			invalidParams.AddNested("TransformInput", err.(request.ErrInvalidParams))
72673		}
72674	}
72675	if s.TransformOutput != nil {
72676		if err := s.TransformOutput.Validate(); err != nil {
72677			invalidParams.AddNested("TransformOutput", err.(request.ErrInvalidParams))
72678		}
72679	}
72680	if s.TransformResources != nil {
72681		if err := s.TransformResources.Validate(); err != nil {
72682			invalidParams.AddNested("TransformResources", err.(request.ErrInvalidParams))
72683		}
72684	}
72685
72686	if invalidParams.Len() > 0 {
72687		return invalidParams
72688	}
72689	return nil
72690}
72691
72692// SetBatchStrategy sets the BatchStrategy field's value.
72693func (s *TransformJobDefinition) SetBatchStrategy(v string) *TransformJobDefinition {
72694	s.BatchStrategy = &v
72695	return s
72696}
72697
72698// SetEnvironment sets the Environment field's value.
72699func (s *TransformJobDefinition) SetEnvironment(v map[string]*string) *TransformJobDefinition {
72700	s.Environment = v
72701	return s
72702}
72703
72704// SetMaxConcurrentTransforms sets the MaxConcurrentTransforms field's value.
72705func (s *TransformJobDefinition) SetMaxConcurrentTransforms(v int64) *TransformJobDefinition {
72706	s.MaxConcurrentTransforms = &v
72707	return s
72708}
72709
72710// SetMaxPayloadInMB sets the MaxPayloadInMB field's value.
72711func (s *TransformJobDefinition) SetMaxPayloadInMB(v int64) *TransformJobDefinition {
72712	s.MaxPayloadInMB = &v
72713	return s
72714}
72715
72716// SetTransformInput sets the TransformInput field's value.
72717func (s *TransformJobDefinition) SetTransformInput(v *TransformInput) *TransformJobDefinition {
72718	s.TransformInput = v
72719	return s
72720}
72721
72722// SetTransformOutput sets the TransformOutput field's value.
72723func (s *TransformJobDefinition) SetTransformOutput(v *TransformOutput) *TransformJobDefinition {
72724	s.TransformOutput = v
72725	return s
72726}
72727
72728// SetTransformResources sets the TransformResources field's value.
72729func (s *TransformJobDefinition) SetTransformResources(v *TransformResources) *TransformJobDefinition {
72730	s.TransformResources = v
72731	return s
72732}
72733
72734// Metadata for a transform job step.
72735type TransformJobStepMetadata struct {
72736	_ struct{} `type:"structure"`
72737
72738	// The Amazon Resource Name (ARN) of the transform job that was run by this
72739	// step execution.
72740	Arn *string `type:"string"`
72741}
72742
72743// String returns the string representation
72744func (s TransformJobStepMetadata) String() string {
72745	return awsutil.Prettify(s)
72746}
72747
72748// GoString returns the string representation
72749func (s TransformJobStepMetadata) GoString() string {
72750	return s.String()
72751}
72752
72753// SetArn sets the Arn field's value.
72754func (s *TransformJobStepMetadata) SetArn(v string) *TransformJobStepMetadata {
72755	s.Arn = &v
72756	return s
72757}
72758
72759// Provides a summary of a transform job. Multiple TransformJobSummary objects
72760// are returned as a list after in response to a ListTransformJobs call.
72761type TransformJobSummary struct {
72762	_ struct{} `type:"structure"`
72763
72764	// A timestamp that shows when the transform Job was created.
72765	//
72766	// CreationTime is a required field
72767	CreationTime *time.Time `type:"timestamp" required:"true"`
72768
72769	// If the transform job failed, the reason it failed.
72770	FailureReason *string `type:"string"`
72771
72772	// Indicates when the transform job was last modified.
72773	LastModifiedTime *time.Time `type:"timestamp"`
72774
72775	// Indicates when the transform job ends on compute instances. For successful
72776	// jobs and stopped jobs, this is the exact time recorded after the results
72777	// are uploaded. For failed jobs, this is when Amazon SageMaker detected that
72778	// the job failed.
72779	TransformEndTime *time.Time `type:"timestamp"`
72780
72781	// The Amazon Resource Name (ARN) of the transform job.
72782	//
72783	// TransformJobArn is a required field
72784	TransformJobArn *string `type:"string" required:"true"`
72785
72786	// The name of the transform job.
72787	//
72788	// TransformJobName is a required field
72789	TransformJobName *string `min:"1" type:"string" required:"true"`
72790
72791	// The status of the transform job.
72792	//
72793	// TransformJobStatus is a required field
72794	TransformJobStatus *string `type:"string" required:"true" enum:"TransformJobStatus"`
72795}
72796
72797// String returns the string representation
72798func (s TransformJobSummary) String() string {
72799	return awsutil.Prettify(s)
72800}
72801
72802// GoString returns the string representation
72803func (s TransformJobSummary) GoString() string {
72804	return s.String()
72805}
72806
72807// SetCreationTime sets the CreationTime field's value.
72808func (s *TransformJobSummary) SetCreationTime(v time.Time) *TransformJobSummary {
72809	s.CreationTime = &v
72810	return s
72811}
72812
72813// SetFailureReason sets the FailureReason field's value.
72814func (s *TransformJobSummary) SetFailureReason(v string) *TransformJobSummary {
72815	s.FailureReason = &v
72816	return s
72817}
72818
72819// SetLastModifiedTime sets the LastModifiedTime field's value.
72820func (s *TransformJobSummary) SetLastModifiedTime(v time.Time) *TransformJobSummary {
72821	s.LastModifiedTime = &v
72822	return s
72823}
72824
72825// SetTransformEndTime sets the TransformEndTime field's value.
72826func (s *TransformJobSummary) SetTransformEndTime(v time.Time) *TransformJobSummary {
72827	s.TransformEndTime = &v
72828	return s
72829}
72830
72831// SetTransformJobArn sets the TransformJobArn field's value.
72832func (s *TransformJobSummary) SetTransformJobArn(v string) *TransformJobSummary {
72833	s.TransformJobArn = &v
72834	return s
72835}
72836
72837// SetTransformJobName sets the TransformJobName field's value.
72838func (s *TransformJobSummary) SetTransformJobName(v string) *TransformJobSummary {
72839	s.TransformJobName = &v
72840	return s
72841}
72842
72843// SetTransformJobStatus sets the TransformJobStatus field's value.
72844func (s *TransformJobSummary) SetTransformJobStatus(v string) *TransformJobSummary {
72845	s.TransformJobStatus = &v
72846	return s
72847}
72848
72849// Describes the results of a transform job.
72850type TransformOutput struct {
72851	_ struct{} `type:"structure"`
72852
72853	// The MIME type used to specify the output data. Amazon SageMaker uses the
72854	// MIME type with each http call to transfer data from the transform job.
72855	Accept *string `type:"string"`
72856
72857	// Defines how to assemble the results of the transform job as a single S3 object.
72858	// Choose a format that is most convenient to you. To concatenate the results
72859	// in binary format, specify None. To add a newline character at the end of
72860	// every transformed record, specify Line.
72861	AssembleWith *string `type:"string" enum:"AssemblyType"`
72862
72863	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
72864	// encrypt the model artifacts at rest using Amazon S3 server-side encryption.
72865	// The KmsKeyId can be any of the following formats:
72866	//
72867	//    * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
72868	//
72869	//    * Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
72870	//
72871	//    * Alias name: alias/ExampleAlias
72872	//
72873	//    * Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
72874	//
72875	// If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS
72876	// key for Amazon S3 for your role's account. For more information, see KMS-Managed
72877	// Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html)
72878	// in the Amazon Simple Storage Service Developer Guide.
72879	//
72880	// The KMS key policy must grant permission to the IAM role that you specify
72881	// in your CreateModel request. For more information, see Using Key Policies
72882	// in AWS KMS (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html)
72883	// in the AWS Key Management Service Developer Guide.
72884	KmsKeyId *string `type:"string"`
72885
72886	// The Amazon S3 path where you want Amazon SageMaker to store the results of
72887	// the transform job. For example, s3://bucket-name/key-name-prefix.
72888	//
72889	// For every S3 object used as input for the transform job, batch transform
72890	// stores the transformed data with an .out suffix in a corresponding subfolder
72891	// in the location in the output prefix. For example, for the input data stored
72892	// at s3://bucket-name/input-name-prefix/dataset01/data.csv, batch transform
72893	// stores the transformed data at s3://bucket-name/output-name-prefix/input-name-prefix/data.csv.out.
72894	// Batch transform doesn't upload partially processed objects. For an input
72895	// S3 object that contains multiple records, it creates an .out file only if
72896	// the transform job succeeds on the entire file. When the input contains multiple
72897	// S3 objects, the batch transform job processes the listed S3 objects and uploads
72898	// only the output for successfully processed objects. If any object fails in
72899	// the transform job batch transform marks the job as failed to prompt investigation.
72900	//
72901	// S3OutputPath is a required field
72902	S3OutputPath *string `type:"string" required:"true"`
72903}
72904
72905// String returns the string representation
72906func (s TransformOutput) String() string {
72907	return awsutil.Prettify(s)
72908}
72909
72910// GoString returns the string representation
72911func (s TransformOutput) GoString() string {
72912	return s.String()
72913}
72914
72915// Validate inspects the fields of the type to determine if they are valid.
72916func (s *TransformOutput) Validate() error {
72917	invalidParams := request.ErrInvalidParams{Context: "TransformOutput"}
72918	if s.S3OutputPath == nil {
72919		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
72920	}
72921
72922	if invalidParams.Len() > 0 {
72923		return invalidParams
72924	}
72925	return nil
72926}
72927
72928// SetAccept sets the Accept field's value.
72929func (s *TransformOutput) SetAccept(v string) *TransformOutput {
72930	s.Accept = &v
72931	return s
72932}
72933
72934// SetAssembleWith sets the AssembleWith field's value.
72935func (s *TransformOutput) SetAssembleWith(v string) *TransformOutput {
72936	s.AssembleWith = &v
72937	return s
72938}
72939
72940// SetKmsKeyId sets the KmsKeyId field's value.
72941func (s *TransformOutput) SetKmsKeyId(v string) *TransformOutput {
72942	s.KmsKeyId = &v
72943	return s
72944}
72945
72946// SetS3OutputPath sets the S3OutputPath field's value.
72947func (s *TransformOutput) SetS3OutputPath(v string) *TransformOutput {
72948	s.S3OutputPath = &v
72949	return s
72950}
72951
72952// Describes the resources, including ML instance types and ML instance count,
72953// to use for transform job.
72954type TransformResources struct {
72955	_ struct{} `type:"structure"`
72956
72957	// The number of ML compute instances to use in the transform job. For distributed
72958	// transform jobs, specify a value greater than 1. The default value is 1.
72959	//
72960	// InstanceCount is a required field
72961	InstanceCount *int64 `min:"1" type:"integer" required:"true"`
72962
72963	// The ML compute instance type for the transform job. If you are using built-in
72964	// algorithms to transform moderately sized datasets, we recommend using ml.m4.xlarge
72965	// or ml.m5.large instance types.
72966	//
72967	// InstanceType is a required field
72968	InstanceType *string `type:"string" required:"true" enum:"TransformInstanceType"`
72969
72970	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
72971	// encrypt model data on the storage volume attached to the ML compute instance(s)
72972	// that run the batch transform job. The VolumeKmsKeyId can be any of the following
72973	// formats:
72974	//
72975	//    * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
72976	//
72977	//    * Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
72978	//
72979	//    * Alias name: alias/ExampleAlias
72980	//
72981	//    * Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
72982	VolumeKmsKeyId *string `type:"string"`
72983}
72984
72985// String returns the string representation
72986func (s TransformResources) String() string {
72987	return awsutil.Prettify(s)
72988}
72989
72990// GoString returns the string representation
72991func (s TransformResources) GoString() string {
72992	return s.String()
72993}
72994
72995// Validate inspects the fields of the type to determine if they are valid.
72996func (s *TransformResources) Validate() error {
72997	invalidParams := request.ErrInvalidParams{Context: "TransformResources"}
72998	if s.InstanceCount == nil {
72999		invalidParams.Add(request.NewErrParamRequired("InstanceCount"))
73000	}
73001	if s.InstanceCount != nil && *s.InstanceCount < 1 {
73002		invalidParams.Add(request.NewErrParamMinValue("InstanceCount", 1))
73003	}
73004	if s.InstanceType == nil {
73005		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
73006	}
73007
73008	if invalidParams.Len() > 0 {
73009		return invalidParams
73010	}
73011	return nil
73012}
73013
73014// SetInstanceCount sets the InstanceCount field's value.
73015func (s *TransformResources) SetInstanceCount(v int64) *TransformResources {
73016	s.InstanceCount = &v
73017	return s
73018}
73019
73020// SetInstanceType sets the InstanceType field's value.
73021func (s *TransformResources) SetInstanceType(v string) *TransformResources {
73022	s.InstanceType = &v
73023	return s
73024}
73025
73026// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
73027func (s *TransformResources) SetVolumeKmsKeyId(v string) *TransformResources {
73028	s.VolumeKmsKeyId = &v
73029	return s
73030}
73031
73032// Describes the S3 data source.
73033type TransformS3DataSource struct {
73034	_ struct{} `type:"structure"`
73035
73036	// If you choose S3Prefix, S3Uri identifies a key name prefix. Amazon SageMaker
73037	// uses all objects with the specified key name prefix for batch transform.
73038	//
73039	// If you choose ManifestFile, S3Uri identifies an object that is a manifest
73040	// file containing a list of object keys that you want Amazon SageMaker to use
73041	// for batch transform.
73042	//
73043	// The following values are compatible: ManifestFile, S3Prefix
73044	//
73045	// The following value is not compatible: AugmentedManifestFile
73046	//
73047	// S3DataType is a required field
73048	S3DataType *string `type:"string" required:"true" enum:"S3DataType"`
73049
73050	// Depending on the value specified for the S3DataType, identifies either a
73051	// key name prefix or a manifest. For example:
73052	//
73053	//    * A key name prefix might look like this: s3://bucketname/exampleprefix.
73054	//
73055	//    * A manifest might look like this: s3://bucketname/example.manifest The
73056	//    manifest is an S3 object which is a JSON file with the following format:
73057	//    [ {"prefix": "s3://customer_bucket/some/prefix/"}, "relative/path/to/custdata-1",
73058	//    "relative/path/custdata-2", ... "relative/path/custdata-N" ] The preceding
73059	//    JSON matches the following S3Uris: s3://customer_bucket/some/prefix/relative/path/to/custdata-1
73060	//    s3://customer_bucket/some/prefix/relative/path/custdata-2 ... s3://customer_bucket/some/prefix/relative/path/custdata-N
73061	//    The complete set of S3Uris in this manifest constitutes the input data
73062	//    for the channel for this datasource. The object that each S3Uris points
73063	//    to must be readable by the IAM role that Amazon SageMaker uses to perform
73064	//    tasks on your behalf.
73065	//
73066	// S3Uri is a required field
73067	S3Uri *string `type:"string" required:"true"`
73068}
73069
73070// String returns the string representation
73071func (s TransformS3DataSource) String() string {
73072	return awsutil.Prettify(s)
73073}
73074
73075// GoString returns the string representation
73076func (s TransformS3DataSource) GoString() string {
73077	return s.String()
73078}
73079
73080// Validate inspects the fields of the type to determine if they are valid.
73081func (s *TransformS3DataSource) Validate() error {
73082	invalidParams := request.ErrInvalidParams{Context: "TransformS3DataSource"}
73083	if s.S3DataType == nil {
73084		invalidParams.Add(request.NewErrParamRequired("S3DataType"))
73085	}
73086	if s.S3Uri == nil {
73087		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
73088	}
73089
73090	if invalidParams.Len() > 0 {
73091		return invalidParams
73092	}
73093	return nil
73094}
73095
73096// SetS3DataType sets the S3DataType field's value.
73097func (s *TransformS3DataSource) SetS3DataType(v string) *TransformS3DataSource {
73098	s.S3DataType = &v
73099	return s
73100}
73101
73102// SetS3Uri sets the S3Uri field's value.
73103func (s *TransformS3DataSource) SetS3Uri(v string) *TransformS3DataSource {
73104	s.S3Uri = &v
73105	return s
73106}
73107
73108// The properties of a trial as returned by the Search API.
73109type Trial struct {
73110	_ struct{} `type:"structure"`
73111
73112	// Information about the user who created or modified an experiment, trial,
73113	// or trial component.
73114	CreatedBy *UserContext `type:"structure"`
73115
73116	// When the trial was created.
73117	CreationTime *time.Time `type:"timestamp"`
73118
73119	// The name of the trial as displayed. If DisplayName isn't specified, TrialName
73120	// is displayed.
73121	DisplayName *string `min:"1" type:"string"`
73122
73123	// The name of the experiment the trial is part of.
73124	ExperimentName *string `min:"1" type:"string"`
73125
73126	// Information about the user who created or modified an experiment, trial,
73127	// or trial component.
73128	LastModifiedBy *UserContext `type:"structure"`
73129
73130	// Who last modified the trial.
73131	LastModifiedTime *time.Time `type:"timestamp"`
73132
73133	// Metadata properties of the tracking entity, trial, or trial component.
73134	MetadataProperties *MetadataProperties `type:"structure"`
73135
73136	// The source of the trial.
73137	Source *TrialSource `type:"structure"`
73138
73139	// The list of tags that are associated with the trial. You can use Search API
73140	// to search on the tags.
73141	Tags []*Tag `type:"list"`
73142
73143	// The Amazon Resource Name (ARN) of the trial.
73144	TrialArn *string `type:"string"`
73145
73146	// A list of the components associated with the trial. For each component, a
73147	// summary of the component's properties is included.
73148	TrialComponentSummaries []*TrialComponentSimpleSummary `type:"list"`
73149
73150	// The name of the trial.
73151	TrialName *string `min:"1" type:"string"`
73152}
73153
73154// String returns the string representation
73155func (s Trial) String() string {
73156	return awsutil.Prettify(s)
73157}
73158
73159// GoString returns the string representation
73160func (s Trial) GoString() string {
73161	return s.String()
73162}
73163
73164// SetCreatedBy sets the CreatedBy field's value.
73165func (s *Trial) SetCreatedBy(v *UserContext) *Trial {
73166	s.CreatedBy = v
73167	return s
73168}
73169
73170// SetCreationTime sets the CreationTime field's value.
73171func (s *Trial) SetCreationTime(v time.Time) *Trial {
73172	s.CreationTime = &v
73173	return s
73174}
73175
73176// SetDisplayName sets the DisplayName field's value.
73177func (s *Trial) SetDisplayName(v string) *Trial {
73178	s.DisplayName = &v
73179	return s
73180}
73181
73182// SetExperimentName sets the ExperimentName field's value.
73183func (s *Trial) SetExperimentName(v string) *Trial {
73184	s.ExperimentName = &v
73185	return s
73186}
73187
73188// SetLastModifiedBy sets the LastModifiedBy field's value.
73189func (s *Trial) SetLastModifiedBy(v *UserContext) *Trial {
73190	s.LastModifiedBy = v
73191	return s
73192}
73193
73194// SetLastModifiedTime sets the LastModifiedTime field's value.
73195func (s *Trial) SetLastModifiedTime(v time.Time) *Trial {
73196	s.LastModifiedTime = &v
73197	return s
73198}
73199
73200// SetMetadataProperties sets the MetadataProperties field's value.
73201func (s *Trial) SetMetadataProperties(v *MetadataProperties) *Trial {
73202	s.MetadataProperties = v
73203	return s
73204}
73205
73206// SetSource sets the Source field's value.
73207func (s *Trial) SetSource(v *TrialSource) *Trial {
73208	s.Source = v
73209	return s
73210}
73211
73212// SetTags sets the Tags field's value.
73213func (s *Trial) SetTags(v []*Tag) *Trial {
73214	s.Tags = v
73215	return s
73216}
73217
73218// SetTrialArn sets the TrialArn field's value.
73219func (s *Trial) SetTrialArn(v string) *Trial {
73220	s.TrialArn = &v
73221	return s
73222}
73223
73224// SetTrialComponentSummaries sets the TrialComponentSummaries field's value.
73225func (s *Trial) SetTrialComponentSummaries(v []*TrialComponentSimpleSummary) *Trial {
73226	s.TrialComponentSummaries = v
73227	return s
73228}
73229
73230// SetTrialName sets the TrialName field's value.
73231func (s *Trial) SetTrialName(v string) *Trial {
73232	s.TrialName = &v
73233	return s
73234}
73235
73236// The properties of a trial component as returned by the Search API.
73237type TrialComponent struct {
73238	_ struct{} `type:"structure"`
73239
73240	// Information about the user who created or modified an experiment, trial,
73241	// or trial component.
73242	CreatedBy *UserContext `type:"structure"`
73243
73244	// When the component was created.
73245	CreationTime *time.Time `type:"timestamp"`
73246
73247	// The name of the component as displayed. If DisplayName isn't specified, TrialComponentName
73248	// is displayed.
73249	DisplayName *string `min:"1" type:"string"`
73250
73251	// When the component ended.
73252	EndTime *time.Time `type:"timestamp"`
73253
73254	// The input artifacts of the component.
73255	InputArtifacts map[string]*TrialComponentArtifact `type:"map"`
73256
73257	// Information about the user who created or modified an experiment, trial,
73258	// or trial component.
73259	LastModifiedBy *UserContext `type:"structure"`
73260
73261	// When the component was last modified.
73262	LastModifiedTime *time.Time `type:"timestamp"`
73263
73264	// Metadata properties of the tracking entity, trial, or trial component.
73265	MetadataProperties *MetadataProperties `type:"structure"`
73266
73267	// The metrics for the component.
73268	Metrics []*TrialComponentMetricSummary `type:"list"`
73269
73270	// The output artifacts of the component.
73271	OutputArtifacts map[string]*TrialComponentArtifact `type:"map"`
73272
73273	// The hyperparameters of the component.
73274	Parameters map[string]*TrialComponentParameterValue `type:"map"`
73275
73276	// An array of the parents of the component. A parent is a trial the component
73277	// is associated with and the experiment the trial is part of. A component might
73278	// not have any parents.
73279	Parents []*Parent `type:"list"`
73280
73281	// The Amazon Resource Name (ARN) and job type of the source of the component.
73282	Source *TrialComponentSource `type:"structure"`
73283
73284	// Details of the source of the component.
73285	SourceDetail *TrialComponentSourceDetail `type:"structure"`
73286
73287	// When the component started.
73288	StartTime *time.Time `type:"timestamp"`
73289
73290	// The status of the trial component.
73291	Status *TrialComponentStatus `type:"structure"`
73292
73293	// The list of tags that are associated with the component. You can use Search
73294	// API to search on the tags.
73295	Tags []*Tag `type:"list"`
73296
73297	// The Amazon Resource Name (ARN) of the trial component.
73298	TrialComponentArn *string `type:"string"`
73299
73300	// The name of the trial component.
73301	TrialComponentName *string `min:"1" type:"string"`
73302}
73303
73304// String returns the string representation
73305func (s TrialComponent) String() string {
73306	return awsutil.Prettify(s)
73307}
73308
73309// GoString returns the string representation
73310func (s TrialComponent) GoString() string {
73311	return s.String()
73312}
73313
73314// SetCreatedBy sets the CreatedBy field's value.
73315func (s *TrialComponent) SetCreatedBy(v *UserContext) *TrialComponent {
73316	s.CreatedBy = v
73317	return s
73318}
73319
73320// SetCreationTime sets the CreationTime field's value.
73321func (s *TrialComponent) SetCreationTime(v time.Time) *TrialComponent {
73322	s.CreationTime = &v
73323	return s
73324}
73325
73326// SetDisplayName sets the DisplayName field's value.
73327func (s *TrialComponent) SetDisplayName(v string) *TrialComponent {
73328	s.DisplayName = &v
73329	return s
73330}
73331
73332// SetEndTime sets the EndTime field's value.
73333func (s *TrialComponent) SetEndTime(v time.Time) *TrialComponent {
73334	s.EndTime = &v
73335	return s
73336}
73337
73338// SetInputArtifacts sets the InputArtifacts field's value.
73339func (s *TrialComponent) SetInputArtifacts(v map[string]*TrialComponentArtifact) *TrialComponent {
73340	s.InputArtifacts = v
73341	return s
73342}
73343
73344// SetLastModifiedBy sets the LastModifiedBy field's value.
73345func (s *TrialComponent) SetLastModifiedBy(v *UserContext) *TrialComponent {
73346	s.LastModifiedBy = v
73347	return s
73348}
73349
73350// SetLastModifiedTime sets the LastModifiedTime field's value.
73351func (s *TrialComponent) SetLastModifiedTime(v time.Time) *TrialComponent {
73352	s.LastModifiedTime = &v
73353	return s
73354}
73355
73356// SetMetadataProperties sets the MetadataProperties field's value.
73357func (s *TrialComponent) SetMetadataProperties(v *MetadataProperties) *TrialComponent {
73358	s.MetadataProperties = v
73359	return s
73360}
73361
73362// SetMetrics sets the Metrics field's value.
73363func (s *TrialComponent) SetMetrics(v []*TrialComponentMetricSummary) *TrialComponent {
73364	s.Metrics = v
73365	return s
73366}
73367
73368// SetOutputArtifacts sets the OutputArtifacts field's value.
73369func (s *TrialComponent) SetOutputArtifacts(v map[string]*TrialComponentArtifact) *TrialComponent {
73370	s.OutputArtifacts = v
73371	return s
73372}
73373
73374// SetParameters sets the Parameters field's value.
73375func (s *TrialComponent) SetParameters(v map[string]*TrialComponentParameterValue) *TrialComponent {
73376	s.Parameters = v
73377	return s
73378}
73379
73380// SetParents sets the Parents field's value.
73381func (s *TrialComponent) SetParents(v []*Parent) *TrialComponent {
73382	s.Parents = v
73383	return s
73384}
73385
73386// SetSource sets the Source field's value.
73387func (s *TrialComponent) SetSource(v *TrialComponentSource) *TrialComponent {
73388	s.Source = v
73389	return s
73390}
73391
73392// SetSourceDetail sets the SourceDetail field's value.
73393func (s *TrialComponent) SetSourceDetail(v *TrialComponentSourceDetail) *TrialComponent {
73394	s.SourceDetail = v
73395	return s
73396}
73397
73398// SetStartTime sets the StartTime field's value.
73399func (s *TrialComponent) SetStartTime(v time.Time) *TrialComponent {
73400	s.StartTime = &v
73401	return s
73402}
73403
73404// SetStatus sets the Status field's value.
73405func (s *TrialComponent) SetStatus(v *TrialComponentStatus) *TrialComponent {
73406	s.Status = v
73407	return s
73408}
73409
73410// SetTags sets the Tags field's value.
73411func (s *TrialComponent) SetTags(v []*Tag) *TrialComponent {
73412	s.Tags = v
73413	return s
73414}
73415
73416// SetTrialComponentArn sets the TrialComponentArn field's value.
73417func (s *TrialComponent) SetTrialComponentArn(v string) *TrialComponent {
73418	s.TrialComponentArn = &v
73419	return s
73420}
73421
73422// SetTrialComponentName sets the TrialComponentName field's value.
73423func (s *TrialComponent) SetTrialComponentName(v string) *TrialComponent {
73424	s.TrialComponentName = &v
73425	return s
73426}
73427
73428// Represents an input or output artifact of a trial component. You specify
73429// TrialComponentArtifact as part of the InputArtifacts and OutputArtifacts
73430// parameters in the CreateTrialComponent request.
73431//
73432// Examples of input artifacts are datasets, algorithms, hyperparameters, source
73433// code, and instance types. Examples of output artifacts are metrics, snapshots,
73434// logs, and images.
73435type TrialComponentArtifact struct {
73436	_ struct{} `type:"structure"`
73437
73438	// The media type of the artifact, which indicates the type of data in the artifact
73439	// file. The media type consists of a type and a subtype concatenated with a
73440	// slash (/) character, for example, text/csv, image/jpeg, and s3/uri. The type
73441	// specifies the category of the media. The subtype specifies the kind of data.
73442	MediaType *string `type:"string"`
73443
73444	// The location of the artifact.
73445	//
73446	// Value is a required field
73447	Value *string `type:"string" required:"true"`
73448}
73449
73450// String returns the string representation
73451func (s TrialComponentArtifact) String() string {
73452	return awsutil.Prettify(s)
73453}
73454
73455// GoString returns the string representation
73456func (s TrialComponentArtifact) GoString() string {
73457	return s.String()
73458}
73459
73460// Validate inspects the fields of the type to determine if they are valid.
73461func (s *TrialComponentArtifact) Validate() error {
73462	invalidParams := request.ErrInvalidParams{Context: "TrialComponentArtifact"}
73463	if s.Value == nil {
73464		invalidParams.Add(request.NewErrParamRequired("Value"))
73465	}
73466
73467	if invalidParams.Len() > 0 {
73468		return invalidParams
73469	}
73470	return nil
73471}
73472
73473// SetMediaType sets the MediaType field's value.
73474func (s *TrialComponentArtifact) SetMediaType(v string) *TrialComponentArtifact {
73475	s.MediaType = &v
73476	return s
73477}
73478
73479// SetValue sets the Value field's value.
73480func (s *TrialComponentArtifact) SetValue(v string) *TrialComponentArtifact {
73481	s.Value = &v
73482	return s
73483}
73484
73485// A summary of the metrics of a trial component.
73486type TrialComponentMetricSummary struct {
73487	_ struct{} `type:"structure"`
73488
73489	// The average value of the metric.
73490	Avg *float64 `type:"double"`
73491
73492	// The number of samples used to generate the metric.
73493	Count *int64 `type:"integer"`
73494
73495	// The most recent value of the metric.
73496	Last *float64 `type:"double"`
73497
73498	// The maximum value of the metric.
73499	Max *float64 `type:"double"`
73500
73501	// The name of the metric.
73502	MetricName *string `min:"1" type:"string"`
73503
73504	// The minimum value of the metric.
73505	Min *float64 `type:"double"`
73506
73507	// The Amazon Resource Name (ARN) of the source.
73508	SourceArn *string `type:"string"`
73509
73510	// The standard deviation of the metric.
73511	StdDev *float64 `type:"double"`
73512
73513	// When the metric was last updated.
73514	TimeStamp *time.Time `type:"timestamp"`
73515}
73516
73517// String returns the string representation
73518func (s TrialComponentMetricSummary) String() string {
73519	return awsutil.Prettify(s)
73520}
73521
73522// GoString returns the string representation
73523func (s TrialComponentMetricSummary) GoString() string {
73524	return s.String()
73525}
73526
73527// SetAvg sets the Avg field's value.
73528func (s *TrialComponentMetricSummary) SetAvg(v float64) *TrialComponentMetricSummary {
73529	s.Avg = &v
73530	return s
73531}
73532
73533// SetCount sets the Count field's value.
73534func (s *TrialComponentMetricSummary) SetCount(v int64) *TrialComponentMetricSummary {
73535	s.Count = &v
73536	return s
73537}
73538
73539// SetLast sets the Last field's value.
73540func (s *TrialComponentMetricSummary) SetLast(v float64) *TrialComponentMetricSummary {
73541	s.Last = &v
73542	return s
73543}
73544
73545// SetMax sets the Max field's value.
73546func (s *TrialComponentMetricSummary) SetMax(v float64) *TrialComponentMetricSummary {
73547	s.Max = &v
73548	return s
73549}
73550
73551// SetMetricName sets the MetricName field's value.
73552func (s *TrialComponentMetricSummary) SetMetricName(v string) *TrialComponentMetricSummary {
73553	s.MetricName = &v
73554	return s
73555}
73556
73557// SetMin sets the Min field's value.
73558func (s *TrialComponentMetricSummary) SetMin(v float64) *TrialComponentMetricSummary {
73559	s.Min = &v
73560	return s
73561}
73562
73563// SetSourceArn sets the SourceArn field's value.
73564func (s *TrialComponentMetricSummary) SetSourceArn(v string) *TrialComponentMetricSummary {
73565	s.SourceArn = &v
73566	return s
73567}
73568
73569// SetStdDev sets the StdDev field's value.
73570func (s *TrialComponentMetricSummary) SetStdDev(v float64) *TrialComponentMetricSummary {
73571	s.StdDev = &v
73572	return s
73573}
73574
73575// SetTimeStamp sets the TimeStamp field's value.
73576func (s *TrialComponentMetricSummary) SetTimeStamp(v time.Time) *TrialComponentMetricSummary {
73577	s.TimeStamp = &v
73578	return s
73579}
73580
73581// The value of a hyperparameter. Only one of NumberValue or StringValue can
73582// be specified.
73583//
73584// This object is specified in the CreateTrialComponent request.
73585type TrialComponentParameterValue struct {
73586	_ struct{} `type:"structure"`
73587
73588	// The numeric value of a numeric hyperparameter. If you specify a value for
73589	// this parameter, you can't specify the StringValue parameter.
73590	NumberValue *float64 `type:"double"`
73591
73592	// The string value of a categorical hyperparameter. If you specify a value
73593	// for this parameter, you can't specify the NumberValue parameter.
73594	StringValue *string `type:"string"`
73595}
73596
73597// String returns the string representation
73598func (s TrialComponentParameterValue) String() string {
73599	return awsutil.Prettify(s)
73600}
73601
73602// GoString returns the string representation
73603func (s TrialComponentParameterValue) GoString() string {
73604	return s.String()
73605}
73606
73607// SetNumberValue sets the NumberValue field's value.
73608func (s *TrialComponentParameterValue) SetNumberValue(v float64) *TrialComponentParameterValue {
73609	s.NumberValue = &v
73610	return s
73611}
73612
73613// SetStringValue sets the StringValue field's value.
73614func (s *TrialComponentParameterValue) SetStringValue(v string) *TrialComponentParameterValue {
73615	s.StringValue = &v
73616	return s
73617}
73618
73619// A short summary of a trial component.
73620type TrialComponentSimpleSummary struct {
73621	_ struct{} `type:"structure"`
73622
73623	// Information about the user who created or modified an experiment, trial,
73624	// or trial component.
73625	CreatedBy *UserContext `type:"structure"`
73626
73627	// When the component was created.
73628	CreationTime *time.Time `type:"timestamp"`
73629
73630	// The Amazon Resource Name (ARN) of the trial component.
73631	TrialComponentArn *string `type:"string"`
73632
73633	// The name of the trial component.
73634	TrialComponentName *string `min:"1" type:"string"`
73635
73636	// The Amazon Resource Name (ARN) and job type of the source of a trial component.
73637	TrialComponentSource *TrialComponentSource `type:"structure"`
73638}
73639
73640// String returns the string representation
73641func (s TrialComponentSimpleSummary) String() string {
73642	return awsutil.Prettify(s)
73643}
73644
73645// GoString returns the string representation
73646func (s TrialComponentSimpleSummary) GoString() string {
73647	return s.String()
73648}
73649
73650// SetCreatedBy sets the CreatedBy field's value.
73651func (s *TrialComponentSimpleSummary) SetCreatedBy(v *UserContext) *TrialComponentSimpleSummary {
73652	s.CreatedBy = v
73653	return s
73654}
73655
73656// SetCreationTime sets the CreationTime field's value.
73657func (s *TrialComponentSimpleSummary) SetCreationTime(v time.Time) *TrialComponentSimpleSummary {
73658	s.CreationTime = &v
73659	return s
73660}
73661
73662// SetTrialComponentArn sets the TrialComponentArn field's value.
73663func (s *TrialComponentSimpleSummary) SetTrialComponentArn(v string) *TrialComponentSimpleSummary {
73664	s.TrialComponentArn = &v
73665	return s
73666}
73667
73668// SetTrialComponentName sets the TrialComponentName field's value.
73669func (s *TrialComponentSimpleSummary) SetTrialComponentName(v string) *TrialComponentSimpleSummary {
73670	s.TrialComponentName = &v
73671	return s
73672}
73673
73674// SetTrialComponentSource sets the TrialComponentSource field's value.
73675func (s *TrialComponentSimpleSummary) SetTrialComponentSource(v *TrialComponentSource) *TrialComponentSimpleSummary {
73676	s.TrialComponentSource = v
73677	return s
73678}
73679
73680// The Amazon Resource Name (ARN) and job type of the source of a trial component.
73681type TrialComponentSource struct {
73682	_ struct{} `type:"structure"`
73683
73684	// The source ARN.
73685	//
73686	// SourceArn is a required field
73687	SourceArn *string `type:"string" required:"true"`
73688
73689	// The source job type.
73690	SourceType *string `type:"string"`
73691}
73692
73693// String returns the string representation
73694func (s TrialComponentSource) String() string {
73695	return awsutil.Prettify(s)
73696}
73697
73698// GoString returns the string representation
73699func (s TrialComponentSource) GoString() string {
73700	return s.String()
73701}
73702
73703// SetSourceArn sets the SourceArn field's value.
73704func (s *TrialComponentSource) SetSourceArn(v string) *TrialComponentSource {
73705	s.SourceArn = &v
73706	return s
73707}
73708
73709// SetSourceType sets the SourceType field's value.
73710func (s *TrialComponentSource) SetSourceType(v string) *TrialComponentSource {
73711	s.SourceType = &v
73712	return s
73713}
73714
73715// Detailed information about the source of a trial component. Either ProcessingJob
73716// or TrainingJob is returned.
73717type TrialComponentSourceDetail struct {
73718	_ struct{} `type:"structure"`
73719
73720	// Information about a processing job that's the source of a trial component.
73721	ProcessingJob *ProcessingJob `type:"structure"`
73722
73723	// The Amazon Resource Name (ARN) of the source.
73724	SourceArn *string `type:"string"`
73725
73726	// Information about a training job that's the source of a trial component.
73727	TrainingJob *TrainingJob `type:"structure"`
73728
73729	// Information about a transform job that's the source of a trial component.
73730	TransformJob *TransformJob `type:"structure"`
73731}
73732
73733// String returns the string representation
73734func (s TrialComponentSourceDetail) String() string {
73735	return awsutil.Prettify(s)
73736}
73737
73738// GoString returns the string representation
73739func (s TrialComponentSourceDetail) GoString() string {
73740	return s.String()
73741}
73742
73743// SetProcessingJob sets the ProcessingJob field's value.
73744func (s *TrialComponentSourceDetail) SetProcessingJob(v *ProcessingJob) *TrialComponentSourceDetail {
73745	s.ProcessingJob = v
73746	return s
73747}
73748
73749// SetSourceArn sets the SourceArn field's value.
73750func (s *TrialComponentSourceDetail) SetSourceArn(v string) *TrialComponentSourceDetail {
73751	s.SourceArn = &v
73752	return s
73753}
73754
73755// SetTrainingJob sets the TrainingJob field's value.
73756func (s *TrialComponentSourceDetail) SetTrainingJob(v *TrainingJob) *TrialComponentSourceDetail {
73757	s.TrainingJob = v
73758	return s
73759}
73760
73761// SetTransformJob sets the TransformJob field's value.
73762func (s *TrialComponentSourceDetail) SetTransformJob(v *TransformJob) *TrialComponentSourceDetail {
73763	s.TransformJob = v
73764	return s
73765}
73766
73767// The status of the trial component.
73768type TrialComponentStatus struct {
73769	_ struct{} `type:"structure"`
73770
73771	// If the component failed, a message describing why.
73772	Message *string `type:"string"`
73773
73774	// The status of the trial component.
73775	PrimaryStatus *string `type:"string" enum:"TrialComponentPrimaryStatus"`
73776}
73777
73778// String returns the string representation
73779func (s TrialComponentStatus) String() string {
73780	return awsutil.Prettify(s)
73781}
73782
73783// GoString returns the string representation
73784func (s TrialComponentStatus) GoString() string {
73785	return s.String()
73786}
73787
73788// SetMessage sets the Message field's value.
73789func (s *TrialComponentStatus) SetMessage(v string) *TrialComponentStatus {
73790	s.Message = &v
73791	return s
73792}
73793
73794// SetPrimaryStatus sets the PrimaryStatus field's value.
73795func (s *TrialComponentStatus) SetPrimaryStatus(v string) *TrialComponentStatus {
73796	s.PrimaryStatus = &v
73797	return s
73798}
73799
73800// A summary of the properties of a trial component. To get all the properties,
73801// call the DescribeTrialComponent API and provide the TrialComponentName.
73802type TrialComponentSummary struct {
73803	_ struct{} `type:"structure"`
73804
73805	// Who created the component.
73806	CreatedBy *UserContext `type:"structure"`
73807
73808	// When the component was created.
73809	CreationTime *time.Time `type:"timestamp"`
73810
73811	// The name of the component as displayed. If DisplayName isn't specified, TrialComponentName
73812	// is displayed.
73813	DisplayName *string `min:"1" type:"string"`
73814
73815	// When the component ended.
73816	EndTime *time.Time `type:"timestamp"`
73817
73818	// Who last modified the component.
73819	LastModifiedBy *UserContext `type:"structure"`
73820
73821	// When the component was last modified.
73822	LastModifiedTime *time.Time `type:"timestamp"`
73823
73824	// When the component started.
73825	StartTime *time.Time `type:"timestamp"`
73826
73827	// The status of the component. States include:
73828	//
73829	//    * InProgress
73830	//
73831	//    * Completed
73832	//
73833	//    * Failed
73834	Status *TrialComponentStatus `type:"structure"`
73835
73836	// The ARN of the trial component.
73837	TrialComponentArn *string `type:"string"`
73838
73839	// The name of the trial component.
73840	TrialComponentName *string `min:"1" type:"string"`
73841
73842	// The Amazon Resource Name (ARN) and job type of the source of a trial component.
73843	TrialComponentSource *TrialComponentSource `type:"structure"`
73844}
73845
73846// String returns the string representation
73847func (s TrialComponentSummary) String() string {
73848	return awsutil.Prettify(s)
73849}
73850
73851// GoString returns the string representation
73852func (s TrialComponentSummary) GoString() string {
73853	return s.String()
73854}
73855
73856// SetCreatedBy sets the CreatedBy field's value.
73857func (s *TrialComponentSummary) SetCreatedBy(v *UserContext) *TrialComponentSummary {
73858	s.CreatedBy = v
73859	return s
73860}
73861
73862// SetCreationTime sets the CreationTime field's value.
73863func (s *TrialComponentSummary) SetCreationTime(v time.Time) *TrialComponentSummary {
73864	s.CreationTime = &v
73865	return s
73866}
73867
73868// SetDisplayName sets the DisplayName field's value.
73869func (s *TrialComponentSummary) SetDisplayName(v string) *TrialComponentSummary {
73870	s.DisplayName = &v
73871	return s
73872}
73873
73874// SetEndTime sets the EndTime field's value.
73875func (s *TrialComponentSummary) SetEndTime(v time.Time) *TrialComponentSummary {
73876	s.EndTime = &v
73877	return s
73878}
73879
73880// SetLastModifiedBy sets the LastModifiedBy field's value.
73881func (s *TrialComponentSummary) SetLastModifiedBy(v *UserContext) *TrialComponentSummary {
73882	s.LastModifiedBy = v
73883	return s
73884}
73885
73886// SetLastModifiedTime sets the LastModifiedTime field's value.
73887func (s *TrialComponentSummary) SetLastModifiedTime(v time.Time) *TrialComponentSummary {
73888	s.LastModifiedTime = &v
73889	return s
73890}
73891
73892// SetStartTime sets the StartTime field's value.
73893func (s *TrialComponentSummary) SetStartTime(v time.Time) *TrialComponentSummary {
73894	s.StartTime = &v
73895	return s
73896}
73897
73898// SetStatus sets the Status field's value.
73899func (s *TrialComponentSummary) SetStatus(v *TrialComponentStatus) *TrialComponentSummary {
73900	s.Status = v
73901	return s
73902}
73903
73904// SetTrialComponentArn sets the TrialComponentArn field's value.
73905func (s *TrialComponentSummary) SetTrialComponentArn(v string) *TrialComponentSummary {
73906	s.TrialComponentArn = &v
73907	return s
73908}
73909
73910// SetTrialComponentName sets the TrialComponentName field's value.
73911func (s *TrialComponentSummary) SetTrialComponentName(v string) *TrialComponentSummary {
73912	s.TrialComponentName = &v
73913	return s
73914}
73915
73916// SetTrialComponentSource sets the TrialComponentSource field's value.
73917func (s *TrialComponentSummary) SetTrialComponentSource(v *TrialComponentSource) *TrialComponentSummary {
73918	s.TrialComponentSource = v
73919	return s
73920}
73921
73922// The source of the trial.
73923type TrialSource struct {
73924	_ struct{} `type:"structure"`
73925
73926	// The Amazon Resource Name (ARN) of the source.
73927	//
73928	// SourceArn is a required field
73929	SourceArn *string `type:"string" required:"true"`
73930
73931	// The source job type.
73932	SourceType *string `type:"string"`
73933}
73934
73935// String returns the string representation
73936func (s TrialSource) String() string {
73937	return awsutil.Prettify(s)
73938}
73939
73940// GoString returns the string representation
73941func (s TrialSource) GoString() string {
73942	return s.String()
73943}
73944
73945// SetSourceArn sets the SourceArn field's value.
73946func (s *TrialSource) SetSourceArn(v string) *TrialSource {
73947	s.SourceArn = &v
73948	return s
73949}
73950
73951// SetSourceType sets the SourceType field's value.
73952func (s *TrialSource) SetSourceType(v string) *TrialSource {
73953	s.SourceType = &v
73954	return s
73955}
73956
73957// A summary of the properties of a trial. To get the complete set of properties,
73958// call the DescribeTrial API and provide the TrialName.
73959type TrialSummary struct {
73960	_ struct{} `type:"structure"`
73961
73962	// When the trial was created.
73963	CreationTime *time.Time `type:"timestamp"`
73964
73965	// The name of the trial as displayed. If DisplayName isn't specified, TrialName
73966	// is displayed.
73967	DisplayName *string `min:"1" type:"string"`
73968
73969	// When the trial was last modified.
73970	LastModifiedTime *time.Time `type:"timestamp"`
73971
73972	// The Amazon Resource Name (ARN) of the trial.
73973	TrialArn *string `type:"string"`
73974
73975	// The name of the trial.
73976	TrialName *string `min:"1" type:"string"`
73977
73978	// The source of the trial.
73979	TrialSource *TrialSource `type:"structure"`
73980}
73981
73982// String returns the string representation
73983func (s TrialSummary) String() string {
73984	return awsutil.Prettify(s)
73985}
73986
73987// GoString returns the string representation
73988func (s TrialSummary) GoString() string {
73989	return s.String()
73990}
73991
73992// SetCreationTime sets the CreationTime field's value.
73993func (s *TrialSummary) SetCreationTime(v time.Time) *TrialSummary {
73994	s.CreationTime = &v
73995	return s
73996}
73997
73998// SetDisplayName sets the DisplayName field's value.
73999func (s *TrialSummary) SetDisplayName(v string) *TrialSummary {
74000	s.DisplayName = &v
74001	return s
74002}
74003
74004// SetLastModifiedTime sets the LastModifiedTime field's value.
74005func (s *TrialSummary) SetLastModifiedTime(v time.Time) *TrialSummary {
74006	s.LastModifiedTime = &v
74007	return s
74008}
74009
74010// SetTrialArn sets the TrialArn field's value.
74011func (s *TrialSummary) SetTrialArn(v string) *TrialSummary {
74012	s.TrialArn = &v
74013	return s
74014}
74015
74016// SetTrialName sets the TrialName field's value.
74017func (s *TrialSummary) SetTrialName(v string) *TrialSummary {
74018	s.TrialName = &v
74019	return s
74020}
74021
74022// SetTrialSource sets the TrialSource field's value.
74023func (s *TrialSummary) SetTrialSource(v *TrialSource) *TrialSummary {
74024	s.TrialSource = v
74025	return s
74026}
74027
74028// The job completion criteria.
74029type TuningJobCompletionCriteria struct {
74030	_ struct{} `type:"structure"`
74031
74032	// The value of the objective metric.
74033	//
74034	// TargetObjectiveMetricValue is a required field
74035	TargetObjectiveMetricValue *float64 `type:"float" required:"true"`
74036}
74037
74038// String returns the string representation
74039func (s TuningJobCompletionCriteria) String() string {
74040	return awsutil.Prettify(s)
74041}
74042
74043// GoString returns the string representation
74044func (s TuningJobCompletionCriteria) GoString() string {
74045	return s.String()
74046}
74047
74048// Validate inspects the fields of the type to determine if they are valid.
74049func (s *TuningJobCompletionCriteria) Validate() error {
74050	invalidParams := request.ErrInvalidParams{Context: "TuningJobCompletionCriteria"}
74051	if s.TargetObjectiveMetricValue == nil {
74052		invalidParams.Add(request.NewErrParamRequired("TargetObjectiveMetricValue"))
74053	}
74054
74055	if invalidParams.Len() > 0 {
74056		return invalidParams
74057	}
74058	return nil
74059}
74060
74061// SetTargetObjectiveMetricValue sets the TargetObjectiveMetricValue field's value.
74062func (s *TuningJobCompletionCriteria) SetTargetObjectiveMetricValue(v float64) *TuningJobCompletionCriteria {
74063	s.TargetObjectiveMetricValue = &v
74064	return s
74065}
74066
74067// Represents an amount of money in United States dollars.
74068type USD struct {
74069	_ struct{} `type:"structure"`
74070
74071	// The fractional portion, in cents, of the amount.
74072	Cents *int64 `type:"integer"`
74073
74074	// The whole number of dollars in the amount.
74075	Dollars *int64 `type:"integer"`
74076
74077	// Fractions of a cent, in tenths.
74078	TenthFractionsOfACent *int64 `type:"integer"`
74079}
74080
74081// String returns the string representation
74082func (s USD) String() string {
74083	return awsutil.Prettify(s)
74084}
74085
74086// GoString returns the string representation
74087func (s USD) GoString() string {
74088	return s.String()
74089}
74090
74091// SetCents sets the Cents field's value.
74092func (s *USD) SetCents(v int64) *USD {
74093	s.Cents = &v
74094	return s
74095}
74096
74097// SetDollars sets the Dollars field's value.
74098func (s *USD) SetDollars(v int64) *USD {
74099	s.Dollars = &v
74100	return s
74101}
74102
74103// SetTenthFractionsOfACent sets the TenthFractionsOfACent field's value.
74104func (s *USD) SetTenthFractionsOfACent(v int64) *USD {
74105	s.TenthFractionsOfACent = &v
74106	return s
74107}
74108
74109// Provided configuration information for the worker UI for a labeling job.
74110type UiConfig struct {
74111	_ struct{} `type:"structure"`
74112
74113	// The ARN of the worker task template used to render the worker UI and tools
74114	// for labeling job tasks.
74115	//
74116	// Use this parameter when you are creating a labeling job for 3D point cloud
74117	// and video fram labeling jobs. Use your labeling job task type to select one
74118	// of the following ARNs and use it with this parameter when you create a labeling
74119	// job. Replace aws-region with the AWS region you are creating your labeling
74120	// job in.
74121	//
74122	// 3D Point Cloud HumanTaskUiArns
74123	//
74124	// Use this HumanTaskUiArn for 3D point cloud object detection and 3D point
74125	// cloud object detection adjustment labeling jobs.
74126	//
74127	//    * arn:aws:sagemaker:aws-region:394669845002:human-task-ui/PointCloudObjectDetection
74128	//
74129	// Use this HumanTaskUiArn for 3D point cloud object tracking and 3D point cloud
74130	// object tracking adjustment labeling jobs.
74131	//
74132	//    * arn:aws:sagemaker:aws-region:394669845002:human-task-ui/PointCloudObjectTracking
74133	//
74134	// Use this HumanTaskUiArn for 3D point cloud semantic segmentation and 3D point
74135	// cloud semantic segmentation adjustment labeling jobs.
74136	//
74137	//    * arn:aws:sagemaker:aws-region:394669845002:human-task-ui/PointCloudSemanticSegmentation
74138	//
74139	// Video Frame HumanTaskUiArns
74140	//
74141	// Use this HumanTaskUiArn for video frame object detection and video frame
74142	// object detection adjustment labeling jobs.
74143	//
74144	//    * arn:aws:sagemaker:region:394669845002:human-task-ui/VideoObjectDetection
74145	//
74146	// Use this HumanTaskUiArn for video frame object tracking and video frame object
74147	// tracking adjustment labeling jobs.
74148	//
74149	//    * arn:aws:sagemaker:aws-region:394669845002:human-task-ui/VideoObjectTracking
74150	HumanTaskUiArn *string `type:"string"`
74151
74152	// The Amazon S3 bucket location of the UI template, or worker task template.
74153	// This is the template used to render the worker UI and tools for labeling
74154	// job tasks. For more information about the contents of a UI template, see
74155	// Creating Your Custom Labeling Task Template (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-custom-templates-step2.html).
74156	UiTemplateS3Uri *string `type:"string"`
74157}
74158
74159// String returns the string representation
74160func (s UiConfig) String() string {
74161	return awsutil.Prettify(s)
74162}
74163
74164// GoString returns the string representation
74165func (s UiConfig) GoString() string {
74166	return s.String()
74167}
74168
74169// SetHumanTaskUiArn sets the HumanTaskUiArn field's value.
74170func (s *UiConfig) SetHumanTaskUiArn(v string) *UiConfig {
74171	s.HumanTaskUiArn = &v
74172	return s
74173}
74174
74175// SetUiTemplateS3Uri sets the UiTemplateS3Uri field's value.
74176func (s *UiConfig) SetUiTemplateS3Uri(v string) *UiConfig {
74177	s.UiTemplateS3Uri = &v
74178	return s
74179}
74180
74181// The Liquid template for the worker user interface.
74182type UiTemplate struct {
74183	_ struct{} `type:"structure"`
74184
74185	// The content of the Liquid template for the worker user interface.
74186	//
74187	// Content is a required field
74188	Content *string `min:"1" type:"string" required:"true"`
74189}
74190
74191// String returns the string representation
74192func (s UiTemplate) String() string {
74193	return awsutil.Prettify(s)
74194}
74195
74196// GoString returns the string representation
74197func (s UiTemplate) GoString() string {
74198	return s.String()
74199}
74200
74201// Validate inspects the fields of the type to determine if they are valid.
74202func (s *UiTemplate) Validate() error {
74203	invalidParams := request.ErrInvalidParams{Context: "UiTemplate"}
74204	if s.Content == nil {
74205		invalidParams.Add(request.NewErrParamRequired("Content"))
74206	}
74207	if s.Content != nil && len(*s.Content) < 1 {
74208		invalidParams.Add(request.NewErrParamMinLen("Content", 1))
74209	}
74210
74211	if invalidParams.Len() > 0 {
74212		return invalidParams
74213	}
74214	return nil
74215}
74216
74217// SetContent sets the Content field's value.
74218func (s *UiTemplate) SetContent(v string) *UiTemplate {
74219	s.Content = &v
74220	return s
74221}
74222
74223// Container for user interface template information.
74224type UiTemplateInfo struct {
74225	_ struct{} `type:"structure"`
74226
74227	// The SHA-256 digest of the contents of the template.
74228	ContentSha256 *string `min:"1" type:"string"`
74229
74230	// The URL for the user interface template.
74231	Url *string `min:"1" type:"string"`
74232}
74233
74234// String returns the string representation
74235func (s UiTemplateInfo) String() string {
74236	return awsutil.Prettify(s)
74237}
74238
74239// GoString returns the string representation
74240func (s UiTemplateInfo) GoString() string {
74241	return s.String()
74242}
74243
74244// SetContentSha256 sets the ContentSha256 field's value.
74245func (s *UiTemplateInfo) SetContentSha256(v string) *UiTemplateInfo {
74246	s.ContentSha256 = &v
74247	return s
74248}
74249
74250// SetUrl sets the Url field's value.
74251func (s *UiTemplateInfo) SetUrl(v string) *UiTemplateInfo {
74252	s.Url = &v
74253	return s
74254}
74255
74256type UpdateActionInput struct {
74257	_ struct{} `type:"structure"`
74258
74259	// The name of the action to update.
74260	//
74261	// ActionName is a required field
74262	ActionName *string `min:"1" type:"string" required:"true"`
74263
74264	// The new description for the action.
74265	Description *string `type:"string"`
74266
74267	// The new list of properties. Overwrites the current property list.
74268	Properties map[string]*string `type:"map"`
74269
74270	// A list of properties to remove.
74271	PropertiesToRemove []*string `type:"list"`
74272
74273	// The new status for the action.
74274	Status *string `type:"string" enum:"ActionStatus"`
74275}
74276
74277// String returns the string representation
74278func (s UpdateActionInput) String() string {
74279	return awsutil.Prettify(s)
74280}
74281
74282// GoString returns the string representation
74283func (s UpdateActionInput) GoString() string {
74284	return s.String()
74285}
74286
74287// Validate inspects the fields of the type to determine if they are valid.
74288func (s *UpdateActionInput) Validate() error {
74289	invalidParams := request.ErrInvalidParams{Context: "UpdateActionInput"}
74290	if s.ActionName == nil {
74291		invalidParams.Add(request.NewErrParamRequired("ActionName"))
74292	}
74293	if s.ActionName != nil && len(*s.ActionName) < 1 {
74294		invalidParams.Add(request.NewErrParamMinLen("ActionName", 1))
74295	}
74296
74297	if invalidParams.Len() > 0 {
74298		return invalidParams
74299	}
74300	return nil
74301}
74302
74303// SetActionName sets the ActionName field's value.
74304func (s *UpdateActionInput) SetActionName(v string) *UpdateActionInput {
74305	s.ActionName = &v
74306	return s
74307}
74308
74309// SetDescription sets the Description field's value.
74310func (s *UpdateActionInput) SetDescription(v string) *UpdateActionInput {
74311	s.Description = &v
74312	return s
74313}
74314
74315// SetProperties sets the Properties field's value.
74316func (s *UpdateActionInput) SetProperties(v map[string]*string) *UpdateActionInput {
74317	s.Properties = v
74318	return s
74319}
74320
74321// SetPropertiesToRemove sets the PropertiesToRemove field's value.
74322func (s *UpdateActionInput) SetPropertiesToRemove(v []*string) *UpdateActionInput {
74323	s.PropertiesToRemove = v
74324	return s
74325}
74326
74327// SetStatus sets the Status field's value.
74328func (s *UpdateActionInput) SetStatus(v string) *UpdateActionInput {
74329	s.Status = &v
74330	return s
74331}
74332
74333type UpdateActionOutput struct {
74334	_ struct{} `type:"structure"`
74335
74336	// The Amazon Resource Name (ARN) of the action.
74337	ActionArn *string `type:"string"`
74338}
74339
74340// String returns the string representation
74341func (s UpdateActionOutput) String() string {
74342	return awsutil.Prettify(s)
74343}
74344
74345// GoString returns the string representation
74346func (s UpdateActionOutput) GoString() string {
74347	return s.String()
74348}
74349
74350// SetActionArn sets the ActionArn field's value.
74351func (s *UpdateActionOutput) SetActionArn(v string) *UpdateActionOutput {
74352	s.ActionArn = &v
74353	return s
74354}
74355
74356type UpdateAppImageConfigInput struct {
74357	_ struct{} `type:"structure"`
74358
74359	// The name of the AppImageConfig to update.
74360	//
74361	// AppImageConfigName is a required field
74362	AppImageConfigName *string `type:"string" required:"true"`
74363
74364	// The new KernelGateway app to run on the image.
74365	KernelGatewayImageConfig *KernelGatewayImageConfig `type:"structure"`
74366}
74367
74368// String returns the string representation
74369func (s UpdateAppImageConfigInput) String() string {
74370	return awsutil.Prettify(s)
74371}
74372
74373// GoString returns the string representation
74374func (s UpdateAppImageConfigInput) GoString() string {
74375	return s.String()
74376}
74377
74378// Validate inspects the fields of the type to determine if they are valid.
74379func (s *UpdateAppImageConfigInput) Validate() error {
74380	invalidParams := request.ErrInvalidParams{Context: "UpdateAppImageConfigInput"}
74381	if s.AppImageConfigName == nil {
74382		invalidParams.Add(request.NewErrParamRequired("AppImageConfigName"))
74383	}
74384	if s.KernelGatewayImageConfig != nil {
74385		if err := s.KernelGatewayImageConfig.Validate(); err != nil {
74386			invalidParams.AddNested("KernelGatewayImageConfig", err.(request.ErrInvalidParams))
74387		}
74388	}
74389
74390	if invalidParams.Len() > 0 {
74391		return invalidParams
74392	}
74393	return nil
74394}
74395
74396// SetAppImageConfigName sets the AppImageConfigName field's value.
74397func (s *UpdateAppImageConfigInput) SetAppImageConfigName(v string) *UpdateAppImageConfigInput {
74398	s.AppImageConfigName = &v
74399	return s
74400}
74401
74402// SetKernelGatewayImageConfig sets the KernelGatewayImageConfig field's value.
74403func (s *UpdateAppImageConfigInput) SetKernelGatewayImageConfig(v *KernelGatewayImageConfig) *UpdateAppImageConfigInput {
74404	s.KernelGatewayImageConfig = v
74405	return s
74406}
74407
74408type UpdateAppImageConfigOutput struct {
74409	_ struct{} `type:"structure"`
74410
74411	// The Amazon Resource Name (ARN) for the AppImageConfig.
74412	AppImageConfigArn *string `type:"string"`
74413}
74414
74415// String returns the string representation
74416func (s UpdateAppImageConfigOutput) String() string {
74417	return awsutil.Prettify(s)
74418}
74419
74420// GoString returns the string representation
74421func (s UpdateAppImageConfigOutput) GoString() string {
74422	return s.String()
74423}
74424
74425// SetAppImageConfigArn sets the AppImageConfigArn field's value.
74426func (s *UpdateAppImageConfigOutput) SetAppImageConfigArn(v string) *UpdateAppImageConfigOutput {
74427	s.AppImageConfigArn = &v
74428	return s
74429}
74430
74431type UpdateArtifactInput struct {
74432	_ struct{} `type:"structure"`
74433
74434	// The Amazon Resource Name (ARN) of the artifact to update.
74435	//
74436	// ArtifactArn is a required field
74437	ArtifactArn *string `type:"string" required:"true"`
74438
74439	// The new name for the artifact.
74440	ArtifactName *string `min:"1" type:"string"`
74441
74442	// The new list of properties. Overwrites the current property list.
74443	Properties map[string]*string `type:"map"`
74444
74445	// A list of properties to remove.
74446	PropertiesToRemove []*string `type:"list"`
74447}
74448
74449// String returns the string representation
74450func (s UpdateArtifactInput) String() string {
74451	return awsutil.Prettify(s)
74452}
74453
74454// GoString returns the string representation
74455func (s UpdateArtifactInput) GoString() string {
74456	return s.String()
74457}
74458
74459// Validate inspects the fields of the type to determine if they are valid.
74460func (s *UpdateArtifactInput) Validate() error {
74461	invalidParams := request.ErrInvalidParams{Context: "UpdateArtifactInput"}
74462	if s.ArtifactArn == nil {
74463		invalidParams.Add(request.NewErrParamRequired("ArtifactArn"))
74464	}
74465	if s.ArtifactName != nil && len(*s.ArtifactName) < 1 {
74466		invalidParams.Add(request.NewErrParamMinLen("ArtifactName", 1))
74467	}
74468
74469	if invalidParams.Len() > 0 {
74470		return invalidParams
74471	}
74472	return nil
74473}
74474
74475// SetArtifactArn sets the ArtifactArn field's value.
74476func (s *UpdateArtifactInput) SetArtifactArn(v string) *UpdateArtifactInput {
74477	s.ArtifactArn = &v
74478	return s
74479}
74480
74481// SetArtifactName sets the ArtifactName field's value.
74482func (s *UpdateArtifactInput) SetArtifactName(v string) *UpdateArtifactInput {
74483	s.ArtifactName = &v
74484	return s
74485}
74486
74487// SetProperties sets the Properties field's value.
74488func (s *UpdateArtifactInput) SetProperties(v map[string]*string) *UpdateArtifactInput {
74489	s.Properties = v
74490	return s
74491}
74492
74493// SetPropertiesToRemove sets the PropertiesToRemove field's value.
74494func (s *UpdateArtifactInput) SetPropertiesToRemove(v []*string) *UpdateArtifactInput {
74495	s.PropertiesToRemove = v
74496	return s
74497}
74498
74499type UpdateArtifactOutput struct {
74500	_ struct{} `type:"structure"`
74501
74502	// The Amazon Resource Name (ARN) of the artifact.
74503	ArtifactArn *string `type:"string"`
74504}
74505
74506// String returns the string representation
74507func (s UpdateArtifactOutput) String() string {
74508	return awsutil.Prettify(s)
74509}
74510
74511// GoString returns the string representation
74512func (s UpdateArtifactOutput) GoString() string {
74513	return s.String()
74514}
74515
74516// SetArtifactArn sets the ArtifactArn field's value.
74517func (s *UpdateArtifactOutput) SetArtifactArn(v string) *UpdateArtifactOutput {
74518	s.ArtifactArn = &v
74519	return s
74520}
74521
74522type UpdateCodeRepositoryInput struct {
74523	_ struct{} `type:"structure"`
74524
74525	// The name of the Git repository to update.
74526	//
74527	// CodeRepositoryName is a required field
74528	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
74529
74530	// The configuration of the git repository, including the URL and the Amazon
74531	// Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials
74532	// used to access the repository. The secret must have a staging label of AWSCURRENT
74533	// and must be in the following format:
74534	//
74535	// {"username": UserName, "password": Password}
74536	GitConfig *GitConfigForUpdate `type:"structure"`
74537}
74538
74539// String returns the string representation
74540func (s UpdateCodeRepositoryInput) String() string {
74541	return awsutil.Prettify(s)
74542}
74543
74544// GoString returns the string representation
74545func (s UpdateCodeRepositoryInput) GoString() string {
74546	return s.String()
74547}
74548
74549// Validate inspects the fields of the type to determine if they are valid.
74550func (s *UpdateCodeRepositoryInput) Validate() error {
74551	invalidParams := request.ErrInvalidParams{Context: "UpdateCodeRepositoryInput"}
74552	if s.CodeRepositoryName == nil {
74553		invalidParams.Add(request.NewErrParamRequired("CodeRepositoryName"))
74554	}
74555	if s.CodeRepositoryName != nil && len(*s.CodeRepositoryName) < 1 {
74556		invalidParams.Add(request.NewErrParamMinLen("CodeRepositoryName", 1))
74557	}
74558	if s.GitConfig != nil {
74559		if err := s.GitConfig.Validate(); err != nil {
74560			invalidParams.AddNested("GitConfig", err.(request.ErrInvalidParams))
74561		}
74562	}
74563
74564	if invalidParams.Len() > 0 {
74565		return invalidParams
74566	}
74567	return nil
74568}
74569
74570// SetCodeRepositoryName sets the CodeRepositoryName field's value.
74571func (s *UpdateCodeRepositoryInput) SetCodeRepositoryName(v string) *UpdateCodeRepositoryInput {
74572	s.CodeRepositoryName = &v
74573	return s
74574}
74575
74576// SetGitConfig sets the GitConfig field's value.
74577func (s *UpdateCodeRepositoryInput) SetGitConfig(v *GitConfigForUpdate) *UpdateCodeRepositoryInput {
74578	s.GitConfig = v
74579	return s
74580}
74581
74582type UpdateCodeRepositoryOutput struct {
74583	_ struct{} `type:"structure"`
74584
74585	// The ARN of the Git repository.
74586	//
74587	// CodeRepositoryArn is a required field
74588	CodeRepositoryArn *string `min:"1" type:"string" required:"true"`
74589}
74590
74591// String returns the string representation
74592func (s UpdateCodeRepositoryOutput) String() string {
74593	return awsutil.Prettify(s)
74594}
74595
74596// GoString returns the string representation
74597func (s UpdateCodeRepositoryOutput) GoString() string {
74598	return s.String()
74599}
74600
74601// SetCodeRepositoryArn sets the CodeRepositoryArn field's value.
74602func (s *UpdateCodeRepositoryOutput) SetCodeRepositoryArn(v string) *UpdateCodeRepositoryOutput {
74603	s.CodeRepositoryArn = &v
74604	return s
74605}
74606
74607type UpdateContextInput struct {
74608	_ struct{} `type:"structure"`
74609
74610	// The name of the context to update.
74611	//
74612	// ContextName is a required field
74613	ContextName *string `min:"1" type:"string" required:"true"`
74614
74615	// The new description for the context.
74616	Description *string `type:"string"`
74617
74618	// The new list of properties. Overwrites the current property list.
74619	Properties map[string]*string `type:"map"`
74620
74621	// A list of properties to remove.
74622	PropertiesToRemove []*string `type:"list"`
74623}
74624
74625// String returns the string representation
74626func (s UpdateContextInput) String() string {
74627	return awsutil.Prettify(s)
74628}
74629
74630// GoString returns the string representation
74631func (s UpdateContextInput) GoString() string {
74632	return s.String()
74633}
74634
74635// Validate inspects the fields of the type to determine if they are valid.
74636func (s *UpdateContextInput) Validate() error {
74637	invalidParams := request.ErrInvalidParams{Context: "UpdateContextInput"}
74638	if s.ContextName == nil {
74639		invalidParams.Add(request.NewErrParamRequired("ContextName"))
74640	}
74641	if s.ContextName != nil && len(*s.ContextName) < 1 {
74642		invalidParams.Add(request.NewErrParamMinLen("ContextName", 1))
74643	}
74644
74645	if invalidParams.Len() > 0 {
74646		return invalidParams
74647	}
74648	return nil
74649}
74650
74651// SetContextName sets the ContextName field's value.
74652func (s *UpdateContextInput) SetContextName(v string) *UpdateContextInput {
74653	s.ContextName = &v
74654	return s
74655}
74656
74657// SetDescription sets the Description field's value.
74658func (s *UpdateContextInput) SetDescription(v string) *UpdateContextInput {
74659	s.Description = &v
74660	return s
74661}
74662
74663// SetProperties sets the Properties field's value.
74664func (s *UpdateContextInput) SetProperties(v map[string]*string) *UpdateContextInput {
74665	s.Properties = v
74666	return s
74667}
74668
74669// SetPropertiesToRemove sets the PropertiesToRemove field's value.
74670func (s *UpdateContextInput) SetPropertiesToRemove(v []*string) *UpdateContextInput {
74671	s.PropertiesToRemove = v
74672	return s
74673}
74674
74675type UpdateContextOutput struct {
74676	_ struct{} `type:"structure"`
74677
74678	// The Amazon Resource Name (ARN) of the context.
74679	ContextArn *string `type:"string"`
74680}
74681
74682// String returns the string representation
74683func (s UpdateContextOutput) String() string {
74684	return awsutil.Prettify(s)
74685}
74686
74687// GoString returns the string representation
74688func (s UpdateContextOutput) GoString() string {
74689	return s.String()
74690}
74691
74692// SetContextArn sets the ContextArn field's value.
74693func (s *UpdateContextOutput) SetContextArn(v string) *UpdateContextOutput {
74694	s.ContextArn = &v
74695	return s
74696}
74697
74698type UpdateDeviceFleetInput struct {
74699	_ struct{} `type:"structure"`
74700
74701	// Description of the fleet.
74702	Description *string `min:"1" type:"string"`
74703
74704	// The name of the fleet.
74705	//
74706	// DeviceFleetName is a required field
74707	DeviceFleetName *string `min:"1" type:"string" required:"true"`
74708
74709	// Output configuration for storing sample data collected by the fleet.
74710	//
74711	// OutputConfig is a required field
74712	OutputConfig *EdgeOutputConfig `type:"structure" required:"true"`
74713
74714	// The Amazon Resource Name (ARN) of the device.
74715	RoleArn *string `min:"20" type:"string"`
74716}
74717
74718// String returns the string representation
74719func (s UpdateDeviceFleetInput) String() string {
74720	return awsutil.Prettify(s)
74721}
74722
74723// GoString returns the string representation
74724func (s UpdateDeviceFleetInput) GoString() string {
74725	return s.String()
74726}
74727
74728// Validate inspects the fields of the type to determine if they are valid.
74729func (s *UpdateDeviceFleetInput) Validate() error {
74730	invalidParams := request.ErrInvalidParams{Context: "UpdateDeviceFleetInput"}
74731	if s.Description != nil && len(*s.Description) < 1 {
74732		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
74733	}
74734	if s.DeviceFleetName == nil {
74735		invalidParams.Add(request.NewErrParamRequired("DeviceFleetName"))
74736	}
74737	if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 {
74738		invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1))
74739	}
74740	if s.OutputConfig == nil {
74741		invalidParams.Add(request.NewErrParamRequired("OutputConfig"))
74742	}
74743	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
74744		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
74745	}
74746	if s.OutputConfig != nil {
74747		if err := s.OutputConfig.Validate(); err != nil {
74748			invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams))
74749		}
74750	}
74751
74752	if invalidParams.Len() > 0 {
74753		return invalidParams
74754	}
74755	return nil
74756}
74757
74758// SetDescription sets the Description field's value.
74759func (s *UpdateDeviceFleetInput) SetDescription(v string) *UpdateDeviceFleetInput {
74760	s.Description = &v
74761	return s
74762}
74763
74764// SetDeviceFleetName sets the DeviceFleetName field's value.
74765func (s *UpdateDeviceFleetInput) SetDeviceFleetName(v string) *UpdateDeviceFleetInput {
74766	s.DeviceFleetName = &v
74767	return s
74768}
74769
74770// SetOutputConfig sets the OutputConfig field's value.
74771func (s *UpdateDeviceFleetInput) SetOutputConfig(v *EdgeOutputConfig) *UpdateDeviceFleetInput {
74772	s.OutputConfig = v
74773	return s
74774}
74775
74776// SetRoleArn sets the RoleArn field's value.
74777func (s *UpdateDeviceFleetInput) SetRoleArn(v string) *UpdateDeviceFleetInput {
74778	s.RoleArn = &v
74779	return s
74780}
74781
74782type UpdateDeviceFleetOutput struct {
74783	_ struct{} `type:"structure"`
74784}
74785
74786// String returns the string representation
74787func (s UpdateDeviceFleetOutput) String() string {
74788	return awsutil.Prettify(s)
74789}
74790
74791// GoString returns the string representation
74792func (s UpdateDeviceFleetOutput) GoString() string {
74793	return s.String()
74794}
74795
74796type UpdateDevicesInput struct {
74797	_ struct{} `type:"structure"`
74798
74799	// The name of the fleet the devices belong to.
74800	//
74801	// DeviceFleetName is a required field
74802	DeviceFleetName *string `min:"1" type:"string" required:"true"`
74803
74804	// List of devices to register with Edge Manager agent.
74805	//
74806	// Devices is a required field
74807	Devices []*Device `type:"list" required:"true"`
74808}
74809
74810// String returns the string representation
74811func (s UpdateDevicesInput) String() string {
74812	return awsutil.Prettify(s)
74813}
74814
74815// GoString returns the string representation
74816func (s UpdateDevicesInput) GoString() string {
74817	return s.String()
74818}
74819
74820// Validate inspects the fields of the type to determine if they are valid.
74821func (s *UpdateDevicesInput) Validate() error {
74822	invalidParams := request.ErrInvalidParams{Context: "UpdateDevicesInput"}
74823	if s.DeviceFleetName == nil {
74824		invalidParams.Add(request.NewErrParamRequired("DeviceFleetName"))
74825	}
74826	if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 {
74827		invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1))
74828	}
74829	if s.Devices == nil {
74830		invalidParams.Add(request.NewErrParamRequired("Devices"))
74831	}
74832	if s.Devices != nil {
74833		for i, v := range s.Devices {
74834			if v == nil {
74835				continue
74836			}
74837			if err := v.Validate(); err != nil {
74838				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Devices", i), err.(request.ErrInvalidParams))
74839			}
74840		}
74841	}
74842
74843	if invalidParams.Len() > 0 {
74844		return invalidParams
74845	}
74846	return nil
74847}
74848
74849// SetDeviceFleetName sets the DeviceFleetName field's value.
74850func (s *UpdateDevicesInput) SetDeviceFleetName(v string) *UpdateDevicesInput {
74851	s.DeviceFleetName = &v
74852	return s
74853}
74854
74855// SetDevices sets the Devices field's value.
74856func (s *UpdateDevicesInput) SetDevices(v []*Device) *UpdateDevicesInput {
74857	s.Devices = v
74858	return s
74859}
74860
74861type UpdateDevicesOutput struct {
74862	_ struct{} `type:"structure"`
74863}
74864
74865// String returns the string representation
74866func (s UpdateDevicesOutput) String() string {
74867	return awsutil.Prettify(s)
74868}
74869
74870// GoString returns the string representation
74871func (s UpdateDevicesOutput) GoString() string {
74872	return s.String()
74873}
74874
74875type UpdateDomainInput struct {
74876	_ struct{} `type:"structure"`
74877
74878	// A collection of settings.
74879	DefaultUserSettings *UserSettings `type:"structure"`
74880
74881	// The ID of the domain to be updated.
74882	//
74883	// DomainId is a required field
74884	DomainId *string `type:"string" required:"true"`
74885}
74886
74887// String returns the string representation
74888func (s UpdateDomainInput) String() string {
74889	return awsutil.Prettify(s)
74890}
74891
74892// GoString returns the string representation
74893func (s UpdateDomainInput) GoString() string {
74894	return s.String()
74895}
74896
74897// Validate inspects the fields of the type to determine if they are valid.
74898func (s *UpdateDomainInput) Validate() error {
74899	invalidParams := request.ErrInvalidParams{Context: "UpdateDomainInput"}
74900	if s.DomainId == nil {
74901		invalidParams.Add(request.NewErrParamRequired("DomainId"))
74902	}
74903	if s.DefaultUserSettings != nil {
74904		if err := s.DefaultUserSettings.Validate(); err != nil {
74905			invalidParams.AddNested("DefaultUserSettings", err.(request.ErrInvalidParams))
74906		}
74907	}
74908
74909	if invalidParams.Len() > 0 {
74910		return invalidParams
74911	}
74912	return nil
74913}
74914
74915// SetDefaultUserSettings sets the DefaultUserSettings field's value.
74916func (s *UpdateDomainInput) SetDefaultUserSettings(v *UserSettings) *UpdateDomainInput {
74917	s.DefaultUserSettings = v
74918	return s
74919}
74920
74921// SetDomainId sets the DomainId field's value.
74922func (s *UpdateDomainInput) SetDomainId(v string) *UpdateDomainInput {
74923	s.DomainId = &v
74924	return s
74925}
74926
74927type UpdateDomainOutput struct {
74928	_ struct{} `type:"structure"`
74929
74930	// The Amazon Resource Name (ARN) of the domain.
74931	DomainArn *string `type:"string"`
74932}
74933
74934// String returns the string representation
74935func (s UpdateDomainOutput) String() string {
74936	return awsutil.Prettify(s)
74937}
74938
74939// GoString returns the string representation
74940func (s UpdateDomainOutput) GoString() string {
74941	return s.String()
74942}
74943
74944// SetDomainArn sets the DomainArn field's value.
74945func (s *UpdateDomainOutput) SetDomainArn(v string) *UpdateDomainOutput {
74946	s.DomainArn = &v
74947	return s
74948}
74949
74950type UpdateEndpointInput struct {
74951	_ struct{} `type:"structure"`
74952
74953	// The deployment configuration for the endpoint to be updated.
74954	DeploymentConfig *DeploymentConfig `type:"structure"`
74955
74956	// The name of the new endpoint configuration.
74957	//
74958	// EndpointConfigName is a required field
74959	EndpointConfigName *string `type:"string" required:"true"`
74960
74961	// The name of the endpoint whose configuration you want to update.
74962	//
74963	// EndpointName is a required field
74964	EndpointName *string `type:"string" required:"true"`
74965
74966	// When you are updating endpoint resources with UpdateEndpointInput$RetainAllVariantProperties,
74967	// whose value is set to true, ExcludeRetainedVariantProperties specifies the
74968	// list of type VariantProperty to override with the values provided by EndpointConfig.
74969	// If you don't specify a value for ExcludeAllVariantProperties, no variant
74970	// properties are overridden.
74971	ExcludeRetainedVariantProperties []*VariantProperty `type:"list"`
74972
74973	// When updating endpoint resources, enables or disables the retention of variant
74974	// properties (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_VariantProperty.html),
74975	// such as the instance count or the variant weight. To retain the variant properties
74976	// of an endpoint when updating it, set RetainAllVariantProperties to true.
74977	// To use the variant properties specified in a new EndpointConfig call when
74978	// updating an endpoint, set RetainAllVariantProperties to false. The default
74979	// is false.
74980	RetainAllVariantProperties *bool `type:"boolean"`
74981}
74982
74983// String returns the string representation
74984func (s UpdateEndpointInput) String() string {
74985	return awsutil.Prettify(s)
74986}
74987
74988// GoString returns the string representation
74989func (s UpdateEndpointInput) GoString() string {
74990	return s.String()
74991}
74992
74993// Validate inspects the fields of the type to determine if they are valid.
74994func (s *UpdateEndpointInput) Validate() error {
74995	invalidParams := request.ErrInvalidParams{Context: "UpdateEndpointInput"}
74996	if s.EndpointConfigName == nil {
74997		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
74998	}
74999	if s.EndpointName == nil {
75000		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
75001	}
75002	if s.DeploymentConfig != nil {
75003		if err := s.DeploymentConfig.Validate(); err != nil {
75004			invalidParams.AddNested("DeploymentConfig", err.(request.ErrInvalidParams))
75005		}
75006	}
75007	if s.ExcludeRetainedVariantProperties != nil {
75008		for i, v := range s.ExcludeRetainedVariantProperties {
75009			if v == nil {
75010				continue
75011			}
75012			if err := v.Validate(); err != nil {
75013				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ExcludeRetainedVariantProperties", i), err.(request.ErrInvalidParams))
75014			}
75015		}
75016	}
75017
75018	if invalidParams.Len() > 0 {
75019		return invalidParams
75020	}
75021	return nil
75022}
75023
75024// SetDeploymentConfig sets the DeploymentConfig field's value.
75025func (s *UpdateEndpointInput) SetDeploymentConfig(v *DeploymentConfig) *UpdateEndpointInput {
75026	s.DeploymentConfig = v
75027	return s
75028}
75029
75030// SetEndpointConfigName sets the EndpointConfigName field's value.
75031func (s *UpdateEndpointInput) SetEndpointConfigName(v string) *UpdateEndpointInput {
75032	s.EndpointConfigName = &v
75033	return s
75034}
75035
75036// SetEndpointName sets the EndpointName field's value.
75037func (s *UpdateEndpointInput) SetEndpointName(v string) *UpdateEndpointInput {
75038	s.EndpointName = &v
75039	return s
75040}
75041
75042// SetExcludeRetainedVariantProperties sets the ExcludeRetainedVariantProperties field's value.
75043func (s *UpdateEndpointInput) SetExcludeRetainedVariantProperties(v []*VariantProperty) *UpdateEndpointInput {
75044	s.ExcludeRetainedVariantProperties = v
75045	return s
75046}
75047
75048// SetRetainAllVariantProperties sets the RetainAllVariantProperties field's value.
75049func (s *UpdateEndpointInput) SetRetainAllVariantProperties(v bool) *UpdateEndpointInput {
75050	s.RetainAllVariantProperties = &v
75051	return s
75052}
75053
75054type UpdateEndpointOutput struct {
75055	_ struct{} `type:"structure"`
75056
75057	// The Amazon Resource Name (ARN) of the endpoint.
75058	//
75059	// EndpointArn is a required field
75060	EndpointArn *string `min:"20" type:"string" required:"true"`
75061}
75062
75063// String returns the string representation
75064func (s UpdateEndpointOutput) String() string {
75065	return awsutil.Prettify(s)
75066}
75067
75068// GoString returns the string representation
75069func (s UpdateEndpointOutput) GoString() string {
75070	return s.String()
75071}
75072
75073// SetEndpointArn sets the EndpointArn field's value.
75074func (s *UpdateEndpointOutput) SetEndpointArn(v string) *UpdateEndpointOutput {
75075	s.EndpointArn = &v
75076	return s
75077}
75078
75079type UpdateEndpointWeightsAndCapacitiesInput struct {
75080	_ struct{} `type:"structure"`
75081
75082	// An object that provides new capacity and weight values for a variant.
75083	//
75084	// DesiredWeightsAndCapacities is a required field
75085	DesiredWeightsAndCapacities []*DesiredWeightAndCapacity `min:"1" type:"list" required:"true"`
75086
75087	// The name of an existing Amazon SageMaker endpoint.
75088	//
75089	// EndpointName is a required field
75090	EndpointName *string `type:"string" required:"true"`
75091}
75092
75093// String returns the string representation
75094func (s UpdateEndpointWeightsAndCapacitiesInput) String() string {
75095	return awsutil.Prettify(s)
75096}
75097
75098// GoString returns the string representation
75099func (s UpdateEndpointWeightsAndCapacitiesInput) GoString() string {
75100	return s.String()
75101}
75102
75103// Validate inspects the fields of the type to determine if they are valid.
75104func (s *UpdateEndpointWeightsAndCapacitiesInput) Validate() error {
75105	invalidParams := request.ErrInvalidParams{Context: "UpdateEndpointWeightsAndCapacitiesInput"}
75106	if s.DesiredWeightsAndCapacities == nil {
75107		invalidParams.Add(request.NewErrParamRequired("DesiredWeightsAndCapacities"))
75108	}
75109	if s.DesiredWeightsAndCapacities != nil && len(s.DesiredWeightsAndCapacities) < 1 {
75110		invalidParams.Add(request.NewErrParamMinLen("DesiredWeightsAndCapacities", 1))
75111	}
75112	if s.EndpointName == nil {
75113		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
75114	}
75115	if s.DesiredWeightsAndCapacities != nil {
75116		for i, v := range s.DesiredWeightsAndCapacities {
75117			if v == nil {
75118				continue
75119			}
75120			if err := v.Validate(); err != nil {
75121				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DesiredWeightsAndCapacities", i), err.(request.ErrInvalidParams))
75122			}
75123		}
75124	}
75125
75126	if invalidParams.Len() > 0 {
75127		return invalidParams
75128	}
75129	return nil
75130}
75131
75132// SetDesiredWeightsAndCapacities sets the DesiredWeightsAndCapacities field's value.
75133func (s *UpdateEndpointWeightsAndCapacitiesInput) SetDesiredWeightsAndCapacities(v []*DesiredWeightAndCapacity) *UpdateEndpointWeightsAndCapacitiesInput {
75134	s.DesiredWeightsAndCapacities = v
75135	return s
75136}
75137
75138// SetEndpointName sets the EndpointName field's value.
75139func (s *UpdateEndpointWeightsAndCapacitiesInput) SetEndpointName(v string) *UpdateEndpointWeightsAndCapacitiesInput {
75140	s.EndpointName = &v
75141	return s
75142}
75143
75144type UpdateEndpointWeightsAndCapacitiesOutput struct {
75145	_ struct{} `type:"structure"`
75146
75147	// The Amazon Resource Name (ARN) of the updated endpoint.
75148	//
75149	// EndpointArn is a required field
75150	EndpointArn *string `min:"20" type:"string" required:"true"`
75151}
75152
75153// String returns the string representation
75154func (s UpdateEndpointWeightsAndCapacitiesOutput) String() string {
75155	return awsutil.Prettify(s)
75156}
75157
75158// GoString returns the string representation
75159func (s UpdateEndpointWeightsAndCapacitiesOutput) GoString() string {
75160	return s.String()
75161}
75162
75163// SetEndpointArn sets the EndpointArn field's value.
75164func (s *UpdateEndpointWeightsAndCapacitiesOutput) SetEndpointArn(v string) *UpdateEndpointWeightsAndCapacitiesOutput {
75165	s.EndpointArn = &v
75166	return s
75167}
75168
75169type UpdateExperimentInput struct {
75170	_ struct{} `type:"structure"`
75171
75172	// The description of the experiment.
75173	Description *string `type:"string"`
75174
75175	// The name of the experiment as displayed. The name doesn't need to be unique.
75176	// If DisplayName isn't specified, ExperimentName is displayed.
75177	DisplayName *string `min:"1" type:"string"`
75178
75179	// The name of the experiment to update.
75180	//
75181	// ExperimentName is a required field
75182	ExperimentName *string `min:"1" type:"string" required:"true"`
75183}
75184
75185// String returns the string representation
75186func (s UpdateExperimentInput) String() string {
75187	return awsutil.Prettify(s)
75188}
75189
75190// GoString returns the string representation
75191func (s UpdateExperimentInput) GoString() string {
75192	return s.String()
75193}
75194
75195// Validate inspects the fields of the type to determine if they are valid.
75196func (s *UpdateExperimentInput) Validate() error {
75197	invalidParams := request.ErrInvalidParams{Context: "UpdateExperimentInput"}
75198	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
75199		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
75200	}
75201	if s.ExperimentName == nil {
75202		invalidParams.Add(request.NewErrParamRequired("ExperimentName"))
75203	}
75204	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
75205		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
75206	}
75207
75208	if invalidParams.Len() > 0 {
75209		return invalidParams
75210	}
75211	return nil
75212}
75213
75214// SetDescription sets the Description field's value.
75215func (s *UpdateExperimentInput) SetDescription(v string) *UpdateExperimentInput {
75216	s.Description = &v
75217	return s
75218}
75219
75220// SetDisplayName sets the DisplayName field's value.
75221func (s *UpdateExperimentInput) SetDisplayName(v string) *UpdateExperimentInput {
75222	s.DisplayName = &v
75223	return s
75224}
75225
75226// SetExperimentName sets the ExperimentName field's value.
75227func (s *UpdateExperimentInput) SetExperimentName(v string) *UpdateExperimentInput {
75228	s.ExperimentName = &v
75229	return s
75230}
75231
75232type UpdateExperimentOutput struct {
75233	_ struct{} `type:"structure"`
75234
75235	// The Amazon Resource Name (ARN) of the experiment.
75236	ExperimentArn *string `type:"string"`
75237}
75238
75239// String returns the string representation
75240func (s UpdateExperimentOutput) String() string {
75241	return awsutil.Prettify(s)
75242}
75243
75244// GoString returns the string representation
75245func (s UpdateExperimentOutput) GoString() string {
75246	return s.String()
75247}
75248
75249// SetExperimentArn sets the ExperimentArn field's value.
75250func (s *UpdateExperimentOutput) SetExperimentArn(v string) *UpdateExperimentOutput {
75251	s.ExperimentArn = &v
75252	return s
75253}
75254
75255type UpdateImageInput struct {
75256	_ struct{} `type:"structure"`
75257
75258	// A list of properties to delete. Only the Description and DisplayName properties
75259	// can be deleted.
75260	DeleteProperties []*string `type:"list"`
75261
75262	// The new description for the image.
75263	Description *string `min:"1" type:"string"`
75264
75265	// The new display name for the image.
75266	DisplayName *string `min:"1" type:"string"`
75267
75268	// The name of the image to update.
75269	//
75270	// ImageName is a required field
75271	ImageName *string `min:"1" type:"string" required:"true"`
75272
75273	// The new Amazon Resource Name (ARN) for the IAM role that enables Amazon SageMaker
75274	// to perform tasks on your behalf.
75275	RoleArn *string `min:"20" type:"string"`
75276}
75277
75278// String returns the string representation
75279func (s UpdateImageInput) String() string {
75280	return awsutil.Prettify(s)
75281}
75282
75283// GoString returns the string representation
75284func (s UpdateImageInput) GoString() string {
75285	return s.String()
75286}
75287
75288// Validate inspects the fields of the type to determine if they are valid.
75289func (s *UpdateImageInput) Validate() error {
75290	invalidParams := request.ErrInvalidParams{Context: "UpdateImageInput"}
75291	if s.Description != nil && len(*s.Description) < 1 {
75292		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
75293	}
75294	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
75295		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
75296	}
75297	if s.ImageName == nil {
75298		invalidParams.Add(request.NewErrParamRequired("ImageName"))
75299	}
75300	if s.ImageName != nil && len(*s.ImageName) < 1 {
75301		invalidParams.Add(request.NewErrParamMinLen("ImageName", 1))
75302	}
75303	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
75304		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
75305	}
75306
75307	if invalidParams.Len() > 0 {
75308		return invalidParams
75309	}
75310	return nil
75311}
75312
75313// SetDeleteProperties sets the DeleteProperties field's value.
75314func (s *UpdateImageInput) SetDeleteProperties(v []*string) *UpdateImageInput {
75315	s.DeleteProperties = v
75316	return s
75317}
75318
75319// SetDescription sets the Description field's value.
75320func (s *UpdateImageInput) SetDescription(v string) *UpdateImageInput {
75321	s.Description = &v
75322	return s
75323}
75324
75325// SetDisplayName sets the DisplayName field's value.
75326func (s *UpdateImageInput) SetDisplayName(v string) *UpdateImageInput {
75327	s.DisplayName = &v
75328	return s
75329}
75330
75331// SetImageName sets the ImageName field's value.
75332func (s *UpdateImageInput) SetImageName(v string) *UpdateImageInput {
75333	s.ImageName = &v
75334	return s
75335}
75336
75337// SetRoleArn sets the RoleArn field's value.
75338func (s *UpdateImageInput) SetRoleArn(v string) *UpdateImageInput {
75339	s.RoleArn = &v
75340	return s
75341}
75342
75343type UpdateImageOutput struct {
75344	_ struct{} `type:"structure"`
75345
75346	// The Amazon Resource Name (ARN) of the image.
75347	ImageArn *string `type:"string"`
75348}
75349
75350// String returns the string representation
75351func (s UpdateImageOutput) String() string {
75352	return awsutil.Prettify(s)
75353}
75354
75355// GoString returns the string representation
75356func (s UpdateImageOutput) GoString() string {
75357	return s.String()
75358}
75359
75360// SetImageArn sets the ImageArn field's value.
75361func (s *UpdateImageOutput) SetImageArn(v string) *UpdateImageOutput {
75362	s.ImageArn = &v
75363	return s
75364}
75365
75366type UpdateModelPackageInput struct {
75367	_ struct{} `type:"structure"`
75368
75369	// A description for the approval status of the model.
75370	ApprovalDescription *string `type:"string"`
75371
75372	// The approval status of the model.
75373	//
75374	// ModelApprovalStatus is a required field
75375	ModelApprovalStatus *string `type:"string" required:"true" enum:"ModelApprovalStatus"`
75376
75377	// The Amazon Resource Name (ARN) of the model.
75378	//
75379	// ModelPackageArn is a required field
75380	ModelPackageArn *string `min:"1" type:"string" required:"true"`
75381}
75382
75383// String returns the string representation
75384func (s UpdateModelPackageInput) String() string {
75385	return awsutil.Prettify(s)
75386}
75387
75388// GoString returns the string representation
75389func (s UpdateModelPackageInput) GoString() string {
75390	return s.String()
75391}
75392
75393// Validate inspects the fields of the type to determine if they are valid.
75394func (s *UpdateModelPackageInput) Validate() error {
75395	invalidParams := request.ErrInvalidParams{Context: "UpdateModelPackageInput"}
75396	if s.ModelApprovalStatus == nil {
75397		invalidParams.Add(request.NewErrParamRequired("ModelApprovalStatus"))
75398	}
75399	if s.ModelPackageArn == nil {
75400		invalidParams.Add(request.NewErrParamRequired("ModelPackageArn"))
75401	}
75402	if s.ModelPackageArn != nil && len(*s.ModelPackageArn) < 1 {
75403		invalidParams.Add(request.NewErrParamMinLen("ModelPackageArn", 1))
75404	}
75405
75406	if invalidParams.Len() > 0 {
75407		return invalidParams
75408	}
75409	return nil
75410}
75411
75412// SetApprovalDescription sets the ApprovalDescription field's value.
75413func (s *UpdateModelPackageInput) SetApprovalDescription(v string) *UpdateModelPackageInput {
75414	s.ApprovalDescription = &v
75415	return s
75416}
75417
75418// SetModelApprovalStatus sets the ModelApprovalStatus field's value.
75419func (s *UpdateModelPackageInput) SetModelApprovalStatus(v string) *UpdateModelPackageInput {
75420	s.ModelApprovalStatus = &v
75421	return s
75422}
75423
75424// SetModelPackageArn sets the ModelPackageArn field's value.
75425func (s *UpdateModelPackageInput) SetModelPackageArn(v string) *UpdateModelPackageInput {
75426	s.ModelPackageArn = &v
75427	return s
75428}
75429
75430type UpdateModelPackageOutput struct {
75431	_ struct{} `type:"structure"`
75432
75433	// The Amazon Resource Name (ARN) of the model.
75434	//
75435	// ModelPackageArn is a required field
75436	ModelPackageArn *string `min:"1" type:"string" required:"true"`
75437}
75438
75439// String returns the string representation
75440func (s UpdateModelPackageOutput) String() string {
75441	return awsutil.Prettify(s)
75442}
75443
75444// GoString returns the string representation
75445func (s UpdateModelPackageOutput) GoString() string {
75446	return s.String()
75447}
75448
75449// SetModelPackageArn sets the ModelPackageArn field's value.
75450func (s *UpdateModelPackageOutput) SetModelPackageArn(v string) *UpdateModelPackageOutput {
75451	s.ModelPackageArn = &v
75452	return s
75453}
75454
75455type UpdateMonitoringScheduleInput struct {
75456	_ struct{} `type:"structure"`
75457
75458	// The configuration object that specifies the monitoring schedule and defines
75459	// the monitoring job.
75460	//
75461	// MonitoringScheduleConfig is a required field
75462	MonitoringScheduleConfig *MonitoringScheduleConfig `type:"structure" required:"true"`
75463
75464	// The name of the monitoring schedule. The name must be unique within an AWS
75465	// Region within an AWS account.
75466	//
75467	// MonitoringScheduleName is a required field
75468	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
75469}
75470
75471// String returns the string representation
75472func (s UpdateMonitoringScheduleInput) String() string {
75473	return awsutil.Prettify(s)
75474}
75475
75476// GoString returns the string representation
75477func (s UpdateMonitoringScheduleInput) GoString() string {
75478	return s.String()
75479}
75480
75481// Validate inspects the fields of the type to determine if they are valid.
75482func (s *UpdateMonitoringScheduleInput) Validate() error {
75483	invalidParams := request.ErrInvalidParams{Context: "UpdateMonitoringScheduleInput"}
75484	if s.MonitoringScheduleConfig == nil {
75485		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleConfig"))
75486	}
75487	if s.MonitoringScheduleName == nil {
75488		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName"))
75489	}
75490	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
75491		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
75492	}
75493	if s.MonitoringScheduleConfig != nil {
75494		if err := s.MonitoringScheduleConfig.Validate(); err != nil {
75495			invalidParams.AddNested("MonitoringScheduleConfig", err.(request.ErrInvalidParams))
75496		}
75497	}
75498
75499	if invalidParams.Len() > 0 {
75500		return invalidParams
75501	}
75502	return nil
75503}
75504
75505// SetMonitoringScheduleConfig sets the MonitoringScheduleConfig field's value.
75506func (s *UpdateMonitoringScheduleInput) SetMonitoringScheduleConfig(v *MonitoringScheduleConfig) *UpdateMonitoringScheduleInput {
75507	s.MonitoringScheduleConfig = v
75508	return s
75509}
75510
75511// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
75512func (s *UpdateMonitoringScheduleInput) SetMonitoringScheduleName(v string) *UpdateMonitoringScheduleInput {
75513	s.MonitoringScheduleName = &v
75514	return s
75515}
75516
75517type UpdateMonitoringScheduleOutput struct {
75518	_ struct{} `type:"structure"`
75519
75520	// The Amazon Resource Name (ARN) of the monitoring schedule.
75521	//
75522	// MonitoringScheduleArn is a required field
75523	MonitoringScheduleArn *string `type:"string" required:"true"`
75524}
75525
75526// String returns the string representation
75527func (s UpdateMonitoringScheduleOutput) String() string {
75528	return awsutil.Prettify(s)
75529}
75530
75531// GoString returns the string representation
75532func (s UpdateMonitoringScheduleOutput) GoString() string {
75533	return s.String()
75534}
75535
75536// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
75537func (s *UpdateMonitoringScheduleOutput) SetMonitoringScheduleArn(v string) *UpdateMonitoringScheduleOutput {
75538	s.MonitoringScheduleArn = &v
75539	return s
75540}
75541
75542type UpdateNotebookInstanceInput struct {
75543	_ struct{} `type:"structure"`
75544
75545	// A list of the Elastic Inference (EI) instance types to associate with this
75546	// notebook instance. Currently only one EI instance type can be associated
75547	// with a notebook instance. For more information, see Using Elastic Inference
75548	// in Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html).
75549	AcceleratorTypes []*string `type:"list"`
75550
75551	// An array of up to three Git repositories to associate with the notebook instance.
75552	// These can be either the names of Git repositories stored as resources in
75553	// your account, or the URL of Git repositories in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
75554	// or in any other Git repository. These repositories are cloned at the same
75555	// level as the default repository of your notebook instance. For more information,
75556	// see Associating Git Repositories with Amazon SageMaker Notebook Instances
75557	// (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
75558	AdditionalCodeRepositories []*string `type:"list"`
75559
75560	// The Git repository to associate with the notebook instance as its default
75561	// code repository. This can be either the name of a Git repository stored as
75562	// a resource in your account, or the URL of a Git repository in AWS CodeCommit
75563	// (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or
75564	// in any other Git repository. When you open a notebook instance, it opens
75565	// in the directory that contains this repository. For more information, see
75566	// Associating Git Repositories with Amazon SageMaker Notebook Instances (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
75567	DefaultCodeRepository *string `min:"1" type:"string"`
75568
75569	// A list of the Elastic Inference (EI) instance types to remove from this notebook
75570	// instance. This operation is idempotent. If you specify an accelerator type
75571	// that is not associated with the notebook instance when you call this method,
75572	// it does not throw an error.
75573	DisassociateAcceleratorTypes *bool `type:"boolean"`
75574
75575	// A list of names or URLs of the default Git repositories to remove from this
75576	// notebook instance. This operation is idempotent. If you specify a Git repository
75577	// that is not associated with the notebook instance when you call this method,
75578	// it does not throw an error.
75579	DisassociateAdditionalCodeRepositories *bool `type:"boolean"`
75580
75581	// The name or URL of the default Git repository to remove from this notebook
75582	// instance. This operation is idempotent. If you specify a Git repository that
75583	// is not associated with the notebook instance when you call this method, it
75584	// does not throw an error.
75585	DisassociateDefaultCodeRepository *bool `type:"boolean"`
75586
75587	// Set to true to remove the notebook instance lifecycle configuration currently
75588	// associated with the notebook instance. This operation is idempotent. If you
75589	// specify a lifecycle configuration that is not associated with the notebook
75590	// instance when you call this method, it does not throw an error.
75591	DisassociateLifecycleConfig *bool `type:"boolean"`
75592
75593	// The Amazon ML compute instance type.
75594	InstanceType *string `type:"string" enum:"InstanceType"`
75595
75596	// The name of a lifecycle configuration to associate with the notebook instance.
75597	// For information about lifestyle configurations, see Step 2.1: (Optional)
75598	// Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
75599	LifecycleConfigName *string `type:"string"`
75600
75601	// The name of the notebook instance to update.
75602	//
75603	// NotebookInstanceName is a required field
75604	NotebookInstanceName *string `type:"string" required:"true"`
75605
75606	// The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can
75607	// assume to access the notebook instance. For more information, see Amazon
75608	// SageMaker Roles (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html).
75609	//
75610	// To be able to pass this role to Amazon SageMaker, the caller of this API
75611	// must have the iam:PassRole permission.
75612	RoleArn *string `min:"20" type:"string"`
75613
75614	// Whether root access is enabled or disabled for users of the notebook instance.
75615	// The default value is Enabled.
75616	//
75617	// If you set this to Disabled, users don't have root access on the notebook
75618	// instance, but lifecycle configuration scripts still run with root permissions.
75619	RootAccess *string `type:"string" enum:"RootAccess"`
75620
75621	// The size, in GB, of the ML storage volume to attach to the notebook instance.
75622	// The default value is 5 GB. ML storage volumes are encrypted, so Amazon SageMaker
75623	// can't determine the amount of available free space on the volume. Because
75624	// of this, you can increase the volume size when you update a notebook instance,
75625	// but you can't decrease the volume size. If you want to decrease the size
75626	// of the ML storage volume in use, create a new notebook instance with the
75627	// desired size.
75628	VolumeSizeInGB *int64 `min:"5" type:"integer"`
75629}
75630
75631// String returns the string representation
75632func (s UpdateNotebookInstanceInput) String() string {
75633	return awsutil.Prettify(s)
75634}
75635
75636// GoString returns the string representation
75637func (s UpdateNotebookInstanceInput) GoString() string {
75638	return s.String()
75639}
75640
75641// Validate inspects the fields of the type to determine if they are valid.
75642func (s *UpdateNotebookInstanceInput) Validate() error {
75643	invalidParams := request.ErrInvalidParams{Context: "UpdateNotebookInstanceInput"}
75644	if s.DefaultCodeRepository != nil && len(*s.DefaultCodeRepository) < 1 {
75645		invalidParams.Add(request.NewErrParamMinLen("DefaultCodeRepository", 1))
75646	}
75647	if s.NotebookInstanceName == nil {
75648		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
75649	}
75650	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
75651		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
75652	}
75653	if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 5 {
75654		invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 5))
75655	}
75656
75657	if invalidParams.Len() > 0 {
75658		return invalidParams
75659	}
75660	return nil
75661}
75662
75663// SetAcceleratorTypes sets the AcceleratorTypes field's value.
75664func (s *UpdateNotebookInstanceInput) SetAcceleratorTypes(v []*string) *UpdateNotebookInstanceInput {
75665	s.AcceleratorTypes = v
75666	return s
75667}
75668
75669// SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value.
75670func (s *UpdateNotebookInstanceInput) SetAdditionalCodeRepositories(v []*string) *UpdateNotebookInstanceInput {
75671	s.AdditionalCodeRepositories = v
75672	return s
75673}
75674
75675// SetDefaultCodeRepository sets the DefaultCodeRepository field's value.
75676func (s *UpdateNotebookInstanceInput) SetDefaultCodeRepository(v string) *UpdateNotebookInstanceInput {
75677	s.DefaultCodeRepository = &v
75678	return s
75679}
75680
75681// SetDisassociateAcceleratorTypes sets the DisassociateAcceleratorTypes field's value.
75682func (s *UpdateNotebookInstanceInput) SetDisassociateAcceleratorTypes(v bool) *UpdateNotebookInstanceInput {
75683	s.DisassociateAcceleratorTypes = &v
75684	return s
75685}
75686
75687// SetDisassociateAdditionalCodeRepositories sets the DisassociateAdditionalCodeRepositories field's value.
75688func (s *UpdateNotebookInstanceInput) SetDisassociateAdditionalCodeRepositories(v bool) *UpdateNotebookInstanceInput {
75689	s.DisassociateAdditionalCodeRepositories = &v
75690	return s
75691}
75692
75693// SetDisassociateDefaultCodeRepository sets the DisassociateDefaultCodeRepository field's value.
75694func (s *UpdateNotebookInstanceInput) SetDisassociateDefaultCodeRepository(v bool) *UpdateNotebookInstanceInput {
75695	s.DisassociateDefaultCodeRepository = &v
75696	return s
75697}
75698
75699// SetDisassociateLifecycleConfig sets the DisassociateLifecycleConfig field's value.
75700func (s *UpdateNotebookInstanceInput) SetDisassociateLifecycleConfig(v bool) *UpdateNotebookInstanceInput {
75701	s.DisassociateLifecycleConfig = &v
75702	return s
75703}
75704
75705// SetInstanceType sets the InstanceType field's value.
75706func (s *UpdateNotebookInstanceInput) SetInstanceType(v string) *UpdateNotebookInstanceInput {
75707	s.InstanceType = &v
75708	return s
75709}
75710
75711// SetLifecycleConfigName sets the LifecycleConfigName field's value.
75712func (s *UpdateNotebookInstanceInput) SetLifecycleConfigName(v string) *UpdateNotebookInstanceInput {
75713	s.LifecycleConfigName = &v
75714	return s
75715}
75716
75717// SetNotebookInstanceName sets the NotebookInstanceName field's value.
75718func (s *UpdateNotebookInstanceInput) SetNotebookInstanceName(v string) *UpdateNotebookInstanceInput {
75719	s.NotebookInstanceName = &v
75720	return s
75721}
75722
75723// SetRoleArn sets the RoleArn field's value.
75724func (s *UpdateNotebookInstanceInput) SetRoleArn(v string) *UpdateNotebookInstanceInput {
75725	s.RoleArn = &v
75726	return s
75727}
75728
75729// SetRootAccess sets the RootAccess field's value.
75730func (s *UpdateNotebookInstanceInput) SetRootAccess(v string) *UpdateNotebookInstanceInput {
75731	s.RootAccess = &v
75732	return s
75733}
75734
75735// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
75736func (s *UpdateNotebookInstanceInput) SetVolumeSizeInGB(v int64) *UpdateNotebookInstanceInput {
75737	s.VolumeSizeInGB = &v
75738	return s
75739}
75740
75741type UpdateNotebookInstanceLifecycleConfigInput struct {
75742	_ struct{} `type:"structure"`
75743
75744	// The name of the lifecycle configuration.
75745	//
75746	// NotebookInstanceLifecycleConfigName is a required field
75747	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
75748
75749	// The shell script that runs only once, when you create a notebook instance.
75750	// The shell script must be a base64-encoded string.
75751	OnCreate []*NotebookInstanceLifecycleHook `type:"list"`
75752
75753	// The shell script that runs every time you start a notebook instance, including
75754	// when you create the notebook instance. The shell script must be a base64-encoded
75755	// string.
75756	OnStart []*NotebookInstanceLifecycleHook `type:"list"`
75757}
75758
75759// String returns the string representation
75760func (s UpdateNotebookInstanceLifecycleConfigInput) String() string {
75761	return awsutil.Prettify(s)
75762}
75763
75764// GoString returns the string representation
75765func (s UpdateNotebookInstanceLifecycleConfigInput) GoString() string {
75766	return s.String()
75767}
75768
75769// Validate inspects the fields of the type to determine if they are valid.
75770func (s *UpdateNotebookInstanceLifecycleConfigInput) Validate() error {
75771	invalidParams := request.ErrInvalidParams{Context: "UpdateNotebookInstanceLifecycleConfigInput"}
75772	if s.NotebookInstanceLifecycleConfigName == nil {
75773		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceLifecycleConfigName"))
75774	}
75775	if s.OnCreate != nil {
75776		for i, v := range s.OnCreate {
75777			if v == nil {
75778				continue
75779			}
75780			if err := v.Validate(); err != nil {
75781				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OnCreate", i), err.(request.ErrInvalidParams))
75782			}
75783		}
75784	}
75785	if s.OnStart != nil {
75786		for i, v := range s.OnStart {
75787			if v == nil {
75788				continue
75789			}
75790			if err := v.Validate(); err != nil {
75791				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OnStart", i), err.(request.ErrInvalidParams))
75792			}
75793		}
75794	}
75795
75796	if invalidParams.Len() > 0 {
75797		return invalidParams
75798	}
75799	return nil
75800}
75801
75802// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
75803func (s *UpdateNotebookInstanceLifecycleConfigInput) SetNotebookInstanceLifecycleConfigName(v string) *UpdateNotebookInstanceLifecycleConfigInput {
75804	s.NotebookInstanceLifecycleConfigName = &v
75805	return s
75806}
75807
75808// SetOnCreate sets the OnCreate field's value.
75809func (s *UpdateNotebookInstanceLifecycleConfigInput) SetOnCreate(v []*NotebookInstanceLifecycleHook) *UpdateNotebookInstanceLifecycleConfigInput {
75810	s.OnCreate = v
75811	return s
75812}
75813
75814// SetOnStart sets the OnStart field's value.
75815func (s *UpdateNotebookInstanceLifecycleConfigInput) SetOnStart(v []*NotebookInstanceLifecycleHook) *UpdateNotebookInstanceLifecycleConfigInput {
75816	s.OnStart = v
75817	return s
75818}
75819
75820type UpdateNotebookInstanceLifecycleConfigOutput struct {
75821	_ struct{} `type:"structure"`
75822}
75823
75824// String returns the string representation
75825func (s UpdateNotebookInstanceLifecycleConfigOutput) String() string {
75826	return awsutil.Prettify(s)
75827}
75828
75829// GoString returns the string representation
75830func (s UpdateNotebookInstanceLifecycleConfigOutput) GoString() string {
75831	return s.String()
75832}
75833
75834type UpdateNotebookInstanceOutput struct {
75835	_ struct{} `type:"structure"`
75836}
75837
75838// String returns the string representation
75839func (s UpdateNotebookInstanceOutput) String() string {
75840	return awsutil.Prettify(s)
75841}
75842
75843// GoString returns the string representation
75844func (s UpdateNotebookInstanceOutput) GoString() string {
75845	return s.String()
75846}
75847
75848type UpdatePipelineExecutionInput struct {
75849	_ struct{} `type:"structure"`
75850
75851	// The Amazon Resource Name (ARN) of the pipeline execution.
75852	//
75853	// PipelineExecutionArn is a required field
75854	PipelineExecutionArn *string `type:"string" required:"true"`
75855
75856	// The description of the pipeline execution.
75857	PipelineExecutionDescription *string `type:"string"`
75858
75859	// The display name of the pipeline execution.
75860	PipelineExecutionDisplayName *string `min:"1" type:"string"`
75861}
75862
75863// String returns the string representation
75864func (s UpdatePipelineExecutionInput) String() string {
75865	return awsutil.Prettify(s)
75866}
75867
75868// GoString returns the string representation
75869func (s UpdatePipelineExecutionInput) GoString() string {
75870	return s.String()
75871}
75872
75873// Validate inspects the fields of the type to determine if they are valid.
75874func (s *UpdatePipelineExecutionInput) Validate() error {
75875	invalidParams := request.ErrInvalidParams{Context: "UpdatePipelineExecutionInput"}
75876	if s.PipelineExecutionArn == nil {
75877		invalidParams.Add(request.NewErrParamRequired("PipelineExecutionArn"))
75878	}
75879	if s.PipelineExecutionDisplayName != nil && len(*s.PipelineExecutionDisplayName) < 1 {
75880		invalidParams.Add(request.NewErrParamMinLen("PipelineExecutionDisplayName", 1))
75881	}
75882
75883	if invalidParams.Len() > 0 {
75884		return invalidParams
75885	}
75886	return nil
75887}
75888
75889// SetPipelineExecutionArn sets the PipelineExecutionArn field's value.
75890func (s *UpdatePipelineExecutionInput) SetPipelineExecutionArn(v string) *UpdatePipelineExecutionInput {
75891	s.PipelineExecutionArn = &v
75892	return s
75893}
75894
75895// SetPipelineExecutionDescription sets the PipelineExecutionDescription field's value.
75896func (s *UpdatePipelineExecutionInput) SetPipelineExecutionDescription(v string) *UpdatePipelineExecutionInput {
75897	s.PipelineExecutionDescription = &v
75898	return s
75899}
75900
75901// SetPipelineExecutionDisplayName sets the PipelineExecutionDisplayName field's value.
75902func (s *UpdatePipelineExecutionInput) SetPipelineExecutionDisplayName(v string) *UpdatePipelineExecutionInput {
75903	s.PipelineExecutionDisplayName = &v
75904	return s
75905}
75906
75907type UpdatePipelineExecutionOutput struct {
75908	_ struct{} `type:"structure"`
75909
75910	// The Amazon Resource Name (ARN) of the updated pipeline execution.
75911	PipelineExecutionArn *string `type:"string"`
75912}
75913
75914// String returns the string representation
75915func (s UpdatePipelineExecutionOutput) String() string {
75916	return awsutil.Prettify(s)
75917}
75918
75919// GoString returns the string representation
75920func (s UpdatePipelineExecutionOutput) GoString() string {
75921	return s.String()
75922}
75923
75924// SetPipelineExecutionArn sets the PipelineExecutionArn field's value.
75925func (s *UpdatePipelineExecutionOutput) SetPipelineExecutionArn(v string) *UpdatePipelineExecutionOutput {
75926	s.PipelineExecutionArn = &v
75927	return s
75928}
75929
75930type UpdatePipelineInput struct {
75931	_ struct{} `type:"structure"`
75932
75933	// The JSON pipeline definition.
75934	PipelineDefinition *string `min:"1" type:"string"`
75935
75936	// The description of the pipeline.
75937	PipelineDescription *string `type:"string"`
75938
75939	// The display name of the pipeline.
75940	PipelineDisplayName *string `min:"1" type:"string"`
75941
75942	// The name of the pipeline to update.
75943	//
75944	// PipelineName is a required field
75945	PipelineName *string `min:"1" type:"string" required:"true"`
75946
75947	// The Amazon Resource Name (ARN) that the pipeline uses to execute.
75948	RoleArn *string `min:"20" type:"string"`
75949}
75950
75951// String returns the string representation
75952func (s UpdatePipelineInput) String() string {
75953	return awsutil.Prettify(s)
75954}
75955
75956// GoString returns the string representation
75957func (s UpdatePipelineInput) GoString() string {
75958	return s.String()
75959}
75960
75961// Validate inspects the fields of the type to determine if they are valid.
75962func (s *UpdatePipelineInput) Validate() error {
75963	invalidParams := request.ErrInvalidParams{Context: "UpdatePipelineInput"}
75964	if s.PipelineDefinition != nil && len(*s.PipelineDefinition) < 1 {
75965		invalidParams.Add(request.NewErrParamMinLen("PipelineDefinition", 1))
75966	}
75967	if s.PipelineDisplayName != nil && len(*s.PipelineDisplayName) < 1 {
75968		invalidParams.Add(request.NewErrParamMinLen("PipelineDisplayName", 1))
75969	}
75970	if s.PipelineName == nil {
75971		invalidParams.Add(request.NewErrParamRequired("PipelineName"))
75972	}
75973	if s.PipelineName != nil && len(*s.PipelineName) < 1 {
75974		invalidParams.Add(request.NewErrParamMinLen("PipelineName", 1))
75975	}
75976	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
75977		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
75978	}
75979
75980	if invalidParams.Len() > 0 {
75981		return invalidParams
75982	}
75983	return nil
75984}
75985
75986// SetPipelineDefinition sets the PipelineDefinition field's value.
75987func (s *UpdatePipelineInput) SetPipelineDefinition(v string) *UpdatePipelineInput {
75988	s.PipelineDefinition = &v
75989	return s
75990}
75991
75992// SetPipelineDescription sets the PipelineDescription field's value.
75993func (s *UpdatePipelineInput) SetPipelineDescription(v string) *UpdatePipelineInput {
75994	s.PipelineDescription = &v
75995	return s
75996}
75997
75998// SetPipelineDisplayName sets the PipelineDisplayName field's value.
75999func (s *UpdatePipelineInput) SetPipelineDisplayName(v string) *UpdatePipelineInput {
76000	s.PipelineDisplayName = &v
76001	return s
76002}
76003
76004// SetPipelineName sets the PipelineName field's value.
76005func (s *UpdatePipelineInput) SetPipelineName(v string) *UpdatePipelineInput {
76006	s.PipelineName = &v
76007	return s
76008}
76009
76010// SetRoleArn sets the RoleArn field's value.
76011func (s *UpdatePipelineInput) SetRoleArn(v string) *UpdatePipelineInput {
76012	s.RoleArn = &v
76013	return s
76014}
76015
76016type UpdatePipelineOutput struct {
76017	_ struct{} `type:"structure"`
76018
76019	// The Amazon Resource Name (ARN) of the updated pipeline.
76020	PipelineArn *string `type:"string"`
76021}
76022
76023// String returns the string representation
76024func (s UpdatePipelineOutput) String() string {
76025	return awsutil.Prettify(s)
76026}
76027
76028// GoString returns the string representation
76029func (s UpdatePipelineOutput) GoString() string {
76030	return s.String()
76031}
76032
76033// SetPipelineArn sets the PipelineArn field's value.
76034func (s *UpdatePipelineOutput) SetPipelineArn(v string) *UpdatePipelineOutput {
76035	s.PipelineArn = &v
76036	return s
76037}
76038
76039type UpdateTrainingJobInput struct {
76040	_ struct{} `type:"structure"`
76041
76042	// Configuration information for Debugger system monitoring, framework profiling,
76043	// and storage paths.
76044	ProfilerConfig *ProfilerConfigForUpdate `type:"structure"`
76045
76046	// Configuration information for Debugger rules for profiling system and framework
76047	// metrics.
76048	ProfilerRuleConfigurations []*ProfilerRuleConfiguration `type:"list"`
76049
76050	// The name of a training job to update the Debugger profiling configuration.
76051	//
76052	// TrainingJobName is a required field
76053	TrainingJobName *string `min:"1" type:"string" required:"true"`
76054}
76055
76056// String returns the string representation
76057func (s UpdateTrainingJobInput) String() string {
76058	return awsutil.Prettify(s)
76059}
76060
76061// GoString returns the string representation
76062func (s UpdateTrainingJobInput) GoString() string {
76063	return s.String()
76064}
76065
76066// Validate inspects the fields of the type to determine if they are valid.
76067func (s *UpdateTrainingJobInput) Validate() error {
76068	invalidParams := request.ErrInvalidParams{Context: "UpdateTrainingJobInput"}
76069	if s.TrainingJobName == nil {
76070		invalidParams.Add(request.NewErrParamRequired("TrainingJobName"))
76071	}
76072	if s.TrainingJobName != nil && len(*s.TrainingJobName) < 1 {
76073		invalidParams.Add(request.NewErrParamMinLen("TrainingJobName", 1))
76074	}
76075	if s.ProfilerRuleConfigurations != nil {
76076		for i, v := range s.ProfilerRuleConfigurations {
76077			if v == nil {
76078				continue
76079			}
76080			if err := v.Validate(); err != nil {
76081				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ProfilerRuleConfigurations", i), err.(request.ErrInvalidParams))
76082			}
76083		}
76084	}
76085
76086	if invalidParams.Len() > 0 {
76087		return invalidParams
76088	}
76089	return nil
76090}
76091
76092// SetProfilerConfig sets the ProfilerConfig field's value.
76093func (s *UpdateTrainingJobInput) SetProfilerConfig(v *ProfilerConfigForUpdate) *UpdateTrainingJobInput {
76094	s.ProfilerConfig = v
76095	return s
76096}
76097
76098// SetProfilerRuleConfigurations sets the ProfilerRuleConfigurations field's value.
76099func (s *UpdateTrainingJobInput) SetProfilerRuleConfigurations(v []*ProfilerRuleConfiguration) *UpdateTrainingJobInput {
76100	s.ProfilerRuleConfigurations = v
76101	return s
76102}
76103
76104// SetTrainingJobName sets the TrainingJobName field's value.
76105func (s *UpdateTrainingJobInput) SetTrainingJobName(v string) *UpdateTrainingJobInput {
76106	s.TrainingJobName = &v
76107	return s
76108}
76109
76110type UpdateTrainingJobOutput struct {
76111	_ struct{} `type:"structure"`
76112
76113	// The Amazon Resource Name (ARN) of the training job.
76114	//
76115	// TrainingJobArn is a required field
76116	TrainingJobArn *string `type:"string" required:"true"`
76117}
76118
76119// String returns the string representation
76120func (s UpdateTrainingJobOutput) String() string {
76121	return awsutil.Prettify(s)
76122}
76123
76124// GoString returns the string representation
76125func (s UpdateTrainingJobOutput) GoString() string {
76126	return s.String()
76127}
76128
76129// SetTrainingJobArn sets the TrainingJobArn field's value.
76130func (s *UpdateTrainingJobOutput) SetTrainingJobArn(v string) *UpdateTrainingJobOutput {
76131	s.TrainingJobArn = &v
76132	return s
76133}
76134
76135type UpdateTrialComponentInput struct {
76136	_ struct{} `type:"structure"`
76137
76138	// The name of the component as displayed. The name doesn't need to be unique.
76139	// If DisplayName isn't specified, TrialComponentName is displayed.
76140	DisplayName *string `min:"1" type:"string"`
76141
76142	// When the component ended.
76143	EndTime *time.Time `type:"timestamp"`
76144
76145	// Replaces all of the component's input artifacts with the specified artifacts.
76146	InputArtifacts map[string]*TrialComponentArtifact `type:"map"`
76147
76148	// The input artifacts to remove from the component.
76149	InputArtifactsToRemove []*string `type:"list"`
76150
76151	// Replaces all of the component's output artifacts with the specified artifacts.
76152	OutputArtifacts map[string]*TrialComponentArtifact `type:"map"`
76153
76154	// The output artifacts to remove from the component.
76155	OutputArtifactsToRemove []*string `type:"list"`
76156
76157	// Replaces all of the component's hyperparameters with the specified hyperparameters.
76158	Parameters map[string]*TrialComponentParameterValue `type:"map"`
76159
76160	// The hyperparameters to remove from the component.
76161	ParametersToRemove []*string `type:"list"`
76162
76163	// When the component started.
76164	StartTime *time.Time `type:"timestamp"`
76165
76166	// The new status of the component.
76167	Status *TrialComponentStatus `type:"structure"`
76168
76169	// The name of the component to update.
76170	//
76171	// TrialComponentName is a required field
76172	TrialComponentName *string `min:"1" type:"string" required:"true"`
76173}
76174
76175// String returns the string representation
76176func (s UpdateTrialComponentInput) String() string {
76177	return awsutil.Prettify(s)
76178}
76179
76180// GoString returns the string representation
76181func (s UpdateTrialComponentInput) GoString() string {
76182	return s.String()
76183}
76184
76185// Validate inspects the fields of the type to determine if they are valid.
76186func (s *UpdateTrialComponentInput) Validate() error {
76187	invalidParams := request.ErrInvalidParams{Context: "UpdateTrialComponentInput"}
76188	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
76189		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
76190	}
76191	if s.TrialComponentName == nil {
76192		invalidParams.Add(request.NewErrParamRequired("TrialComponentName"))
76193	}
76194	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
76195		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
76196	}
76197	if s.InputArtifacts != nil {
76198		for i, v := range s.InputArtifacts {
76199			if v == nil {
76200				continue
76201			}
76202			if err := v.Validate(); err != nil {
76203				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputArtifacts", i), err.(request.ErrInvalidParams))
76204			}
76205		}
76206	}
76207	if s.OutputArtifacts != nil {
76208		for i, v := range s.OutputArtifacts {
76209			if v == nil {
76210				continue
76211			}
76212			if err := v.Validate(); err != nil {
76213				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OutputArtifacts", i), err.(request.ErrInvalidParams))
76214			}
76215		}
76216	}
76217
76218	if invalidParams.Len() > 0 {
76219		return invalidParams
76220	}
76221	return nil
76222}
76223
76224// SetDisplayName sets the DisplayName field's value.
76225func (s *UpdateTrialComponentInput) SetDisplayName(v string) *UpdateTrialComponentInput {
76226	s.DisplayName = &v
76227	return s
76228}
76229
76230// SetEndTime sets the EndTime field's value.
76231func (s *UpdateTrialComponentInput) SetEndTime(v time.Time) *UpdateTrialComponentInput {
76232	s.EndTime = &v
76233	return s
76234}
76235
76236// SetInputArtifacts sets the InputArtifacts field's value.
76237func (s *UpdateTrialComponentInput) SetInputArtifacts(v map[string]*TrialComponentArtifact) *UpdateTrialComponentInput {
76238	s.InputArtifacts = v
76239	return s
76240}
76241
76242// SetInputArtifactsToRemove sets the InputArtifactsToRemove field's value.
76243func (s *UpdateTrialComponentInput) SetInputArtifactsToRemove(v []*string) *UpdateTrialComponentInput {
76244	s.InputArtifactsToRemove = v
76245	return s
76246}
76247
76248// SetOutputArtifacts sets the OutputArtifacts field's value.
76249func (s *UpdateTrialComponentInput) SetOutputArtifacts(v map[string]*TrialComponentArtifact) *UpdateTrialComponentInput {
76250	s.OutputArtifacts = v
76251	return s
76252}
76253
76254// SetOutputArtifactsToRemove sets the OutputArtifactsToRemove field's value.
76255func (s *UpdateTrialComponentInput) SetOutputArtifactsToRemove(v []*string) *UpdateTrialComponentInput {
76256	s.OutputArtifactsToRemove = v
76257	return s
76258}
76259
76260// SetParameters sets the Parameters field's value.
76261func (s *UpdateTrialComponentInput) SetParameters(v map[string]*TrialComponentParameterValue) *UpdateTrialComponentInput {
76262	s.Parameters = v
76263	return s
76264}
76265
76266// SetParametersToRemove sets the ParametersToRemove field's value.
76267func (s *UpdateTrialComponentInput) SetParametersToRemove(v []*string) *UpdateTrialComponentInput {
76268	s.ParametersToRemove = v
76269	return s
76270}
76271
76272// SetStartTime sets the StartTime field's value.
76273func (s *UpdateTrialComponentInput) SetStartTime(v time.Time) *UpdateTrialComponentInput {
76274	s.StartTime = &v
76275	return s
76276}
76277
76278// SetStatus sets the Status field's value.
76279func (s *UpdateTrialComponentInput) SetStatus(v *TrialComponentStatus) *UpdateTrialComponentInput {
76280	s.Status = v
76281	return s
76282}
76283
76284// SetTrialComponentName sets the TrialComponentName field's value.
76285func (s *UpdateTrialComponentInput) SetTrialComponentName(v string) *UpdateTrialComponentInput {
76286	s.TrialComponentName = &v
76287	return s
76288}
76289
76290type UpdateTrialComponentOutput struct {
76291	_ struct{} `type:"structure"`
76292
76293	// The Amazon Resource Name (ARN) of the trial component.
76294	TrialComponentArn *string `type:"string"`
76295}
76296
76297// String returns the string representation
76298func (s UpdateTrialComponentOutput) String() string {
76299	return awsutil.Prettify(s)
76300}
76301
76302// GoString returns the string representation
76303func (s UpdateTrialComponentOutput) GoString() string {
76304	return s.String()
76305}
76306
76307// SetTrialComponentArn sets the TrialComponentArn field's value.
76308func (s *UpdateTrialComponentOutput) SetTrialComponentArn(v string) *UpdateTrialComponentOutput {
76309	s.TrialComponentArn = &v
76310	return s
76311}
76312
76313type UpdateTrialInput struct {
76314	_ struct{} `type:"structure"`
76315
76316	// The name of the trial as displayed. The name doesn't need to be unique. If
76317	// DisplayName isn't specified, TrialName is displayed.
76318	DisplayName *string `min:"1" type:"string"`
76319
76320	// The name of the trial to update.
76321	//
76322	// TrialName is a required field
76323	TrialName *string `min:"1" type:"string" required:"true"`
76324}
76325
76326// String returns the string representation
76327func (s UpdateTrialInput) String() string {
76328	return awsutil.Prettify(s)
76329}
76330
76331// GoString returns the string representation
76332func (s UpdateTrialInput) GoString() string {
76333	return s.String()
76334}
76335
76336// Validate inspects the fields of the type to determine if they are valid.
76337func (s *UpdateTrialInput) Validate() error {
76338	invalidParams := request.ErrInvalidParams{Context: "UpdateTrialInput"}
76339	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
76340		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
76341	}
76342	if s.TrialName == nil {
76343		invalidParams.Add(request.NewErrParamRequired("TrialName"))
76344	}
76345	if s.TrialName != nil && len(*s.TrialName) < 1 {
76346		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
76347	}
76348
76349	if invalidParams.Len() > 0 {
76350		return invalidParams
76351	}
76352	return nil
76353}
76354
76355// SetDisplayName sets the DisplayName field's value.
76356func (s *UpdateTrialInput) SetDisplayName(v string) *UpdateTrialInput {
76357	s.DisplayName = &v
76358	return s
76359}
76360
76361// SetTrialName sets the TrialName field's value.
76362func (s *UpdateTrialInput) SetTrialName(v string) *UpdateTrialInput {
76363	s.TrialName = &v
76364	return s
76365}
76366
76367type UpdateTrialOutput struct {
76368	_ struct{} `type:"structure"`
76369
76370	// The Amazon Resource Name (ARN) of the trial.
76371	TrialArn *string `type:"string"`
76372}
76373
76374// String returns the string representation
76375func (s UpdateTrialOutput) String() string {
76376	return awsutil.Prettify(s)
76377}
76378
76379// GoString returns the string representation
76380func (s UpdateTrialOutput) GoString() string {
76381	return s.String()
76382}
76383
76384// SetTrialArn sets the TrialArn field's value.
76385func (s *UpdateTrialOutput) SetTrialArn(v string) *UpdateTrialOutput {
76386	s.TrialArn = &v
76387	return s
76388}
76389
76390type UpdateUserProfileInput struct {
76391	_ struct{} `type:"structure"`
76392
76393	// The domain ID.
76394	//
76395	// DomainId is a required field
76396	DomainId *string `type:"string" required:"true"`
76397
76398	// The user profile name.
76399	//
76400	// UserProfileName is a required field
76401	UserProfileName *string `type:"string" required:"true"`
76402
76403	// A collection of settings.
76404	UserSettings *UserSettings `type:"structure"`
76405}
76406
76407// String returns the string representation
76408func (s UpdateUserProfileInput) String() string {
76409	return awsutil.Prettify(s)
76410}
76411
76412// GoString returns the string representation
76413func (s UpdateUserProfileInput) GoString() string {
76414	return s.String()
76415}
76416
76417// Validate inspects the fields of the type to determine if they are valid.
76418func (s *UpdateUserProfileInput) Validate() error {
76419	invalidParams := request.ErrInvalidParams{Context: "UpdateUserProfileInput"}
76420	if s.DomainId == nil {
76421		invalidParams.Add(request.NewErrParamRequired("DomainId"))
76422	}
76423	if s.UserProfileName == nil {
76424		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
76425	}
76426	if s.UserSettings != nil {
76427		if err := s.UserSettings.Validate(); err != nil {
76428			invalidParams.AddNested("UserSettings", err.(request.ErrInvalidParams))
76429		}
76430	}
76431
76432	if invalidParams.Len() > 0 {
76433		return invalidParams
76434	}
76435	return nil
76436}
76437
76438// SetDomainId sets the DomainId field's value.
76439func (s *UpdateUserProfileInput) SetDomainId(v string) *UpdateUserProfileInput {
76440	s.DomainId = &v
76441	return s
76442}
76443
76444// SetUserProfileName sets the UserProfileName field's value.
76445func (s *UpdateUserProfileInput) SetUserProfileName(v string) *UpdateUserProfileInput {
76446	s.UserProfileName = &v
76447	return s
76448}
76449
76450// SetUserSettings sets the UserSettings field's value.
76451func (s *UpdateUserProfileInput) SetUserSettings(v *UserSettings) *UpdateUserProfileInput {
76452	s.UserSettings = v
76453	return s
76454}
76455
76456type UpdateUserProfileOutput struct {
76457	_ struct{} `type:"structure"`
76458
76459	// The user profile Amazon Resource Name (ARN).
76460	UserProfileArn *string `type:"string"`
76461}
76462
76463// String returns the string representation
76464func (s UpdateUserProfileOutput) String() string {
76465	return awsutil.Prettify(s)
76466}
76467
76468// GoString returns the string representation
76469func (s UpdateUserProfileOutput) GoString() string {
76470	return s.String()
76471}
76472
76473// SetUserProfileArn sets the UserProfileArn field's value.
76474func (s *UpdateUserProfileOutput) SetUserProfileArn(v string) *UpdateUserProfileOutput {
76475	s.UserProfileArn = &v
76476	return s
76477}
76478
76479type UpdateWorkforceInput struct {
76480	_ struct{} `type:"structure"`
76481
76482	// Use this parameter to update your OIDC Identity Provider (IdP) configuration
76483	// for a workforce made using your own IdP.
76484	OidcConfig *OidcConfig `type:"structure"`
76485
76486	// A list of one to ten worker IP address ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html))
76487	// that can be used to access tasks assigned to this workforce.
76488	//
76489	// Maximum: Ten CIDR values
76490	SourceIpConfig *SourceIpConfig `type:"structure"`
76491
76492	// The name of the private workforce that you want to update. You can find your
76493	// workforce name by using the operation.
76494	//
76495	// WorkforceName is a required field
76496	WorkforceName *string `min:"1" type:"string" required:"true"`
76497}
76498
76499// String returns the string representation
76500func (s UpdateWorkforceInput) String() string {
76501	return awsutil.Prettify(s)
76502}
76503
76504// GoString returns the string representation
76505func (s UpdateWorkforceInput) GoString() string {
76506	return s.String()
76507}
76508
76509// Validate inspects the fields of the type to determine if they are valid.
76510func (s *UpdateWorkforceInput) Validate() error {
76511	invalidParams := request.ErrInvalidParams{Context: "UpdateWorkforceInput"}
76512	if s.WorkforceName == nil {
76513		invalidParams.Add(request.NewErrParamRequired("WorkforceName"))
76514	}
76515	if s.WorkforceName != nil && len(*s.WorkforceName) < 1 {
76516		invalidParams.Add(request.NewErrParamMinLen("WorkforceName", 1))
76517	}
76518	if s.OidcConfig != nil {
76519		if err := s.OidcConfig.Validate(); err != nil {
76520			invalidParams.AddNested("OidcConfig", err.(request.ErrInvalidParams))
76521		}
76522	}
76523	if s.SourceIpConfig != nil {
76524		if err := s.SourceIpConfig.Validate(); err != nil {
76525			invalidParams.AddNested("SourceIpConfig", err.(request.ErrInvalidParams))
76526		}
76527	}
76528
76529	if invalidParams.Len() > 0 {
76530		return invalidParams
76531	}
76532	return nil
76533}
76534
76535// SetOidcConfig sets the OidcConfig field's value.
76536func (s *UpdateWorkforceInput) SetOidcConfig(v *OidcConfig) *UpdateWorkforceInput {
76537	s.OidcConfig = v
76538	return s
76539}
76540
76541// SetSourceIpConfig sets the SourceIpConfig field's value.
76542func (s *UpdateWorkforceInput) SetSourceIpConfig(v *SourceIpConfig) *UpdateWorkforceInput {
76543	s.SourceIpConfig = v
76544	return s
76545}
76546
76547// SetWorkforceName sets the WorkforceName field's value.
76548func (s *UpdateWorkforceInput) SetWorkforceName(v string) *UpdateWorkforceInput {
76549	s.WorkforceName = &v
76550	return s
76551}
76552
76553type UpdateWorkforceOutput struct {
76554	_ struct{} `type:"structure"`
76555
76556	// A single private workforce. You can create one private work force in each
76557	// AWS Region. By default, any workforce-related API operation used in a specific
76558	// region will apply to the workforce created in that region. To learn how to
76559	// create a private workforce, see Create a Private Workforce (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html).
76560	//
76561	// Workforce is a required field
76562	Workforce *Workforce `type:"structure" required:"true"`
76563}
76564
76565// String returns the string representation
76566func (s UpdateWorkforceOutput) String() string {
76567	return awsutil.Prettify(s)
76568}
76569
76570// GoString returns the string representation
76571func (s UpdateWorkforceOutput) GoString() string {
76572	return s.String()
76573}
76574
76575// SetWorkforce sets the Workforce field's value.
76576func (s *UpdateWorkforceOutput) SetWorkforce(v *Workforce) *UpdateWorkforceOutput {
76577	s.Workforce = v
76578	return s
76579}
76580
76581type UpdateWorkteamInput struct {
76582	_ struct{} `type:"structure"`
76583
76584	// An updated description for the work team.
76585	Description *string `min:"1" type:"string"`
76586
76587	// A list of MemberDefinition objects that contains objects that identify the
76588	// workers that make up the work team.
76589	//
76590	// Workforces can be created using Amazon Cognito or your own OIDC Identity
76591	// Provider (IdP). For private workforces created using Amazon Cognito use CognitoMemberDefinition.
76592	// For workforces created using your own OIDC identity provider (IdP) use OidcMemberDefinition.
76593	// You should not provide input for both of these parameters in a single request.
76594	//
76595	// For workforces created using Amazon Cognito, private work teams correspond
76596	// to Amazon Cognito user groups within the user pool used to create a workforce.
76597	// All of the CognitoMemberDefinition objects that make up the member definition
76598	// must have the same ClientId and UserPool values. To add a Amazon Cognito
76599	// user group to an existing worker pool, see Adding groups to a User Pool.
76600	// For more information about user pools, see Amazon Cognito User Pools (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html).
76601	//
76602	// For workforces created using your own OIDC IdP, specify the user groups that
76603	// you want to include in your private work team in OidcMemberDefinition by
76604	// listing those groups in Groups. Be aware that user groups that are already
76605	// in the work team must also be listed in Groups when you make this request
76606	// to remain on the work team. If you do not include these user groups, they
76607	// will no longer be associated with the work team you update.
76608	MemberDefinitions []*MemberDefinition `min:"1" type:"list"`
76609
76610	// Configures SNS topic notifications for available or expiring work items
76611	NotificationConfiguration *NotificationConfiguration `type:"structure"`
76612
76613	// The name of the work team to update.
76614	//
76615	// WorkteamName is a required field
76616	WorkteamName *string `min:"1" type:"string" required:"true"`
76617}
76618
76619// String returns the string representation
76620func (s UpdateWorkteamInput) String() string {
76621	return awsutil.Prettify(s)
76622}
76623
76624// GoString returns the string representation
76625func (s UpdateWorkteamInput) GoString() string {
76626	return s.String()
76627}
76628
76629// Validate inspects the fields of the type to determine if they are valid.
76630func (s *UpdateWorkteamInput) Validate() error {
76631	invalidParams := request.ErrInvalidParams{Context: "UpdateWorkteamInput"}
76632	if s.Description != nil && len(*s.Description) < 1 {
76633		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
76634	}
76635	if s.MemberDefinitions != nil && len(s.MemberDefinitions) < 1 {
76636		invalidParams.Add(request.NewErrParamMinLen("MemberDefinitions", 1))
76637	}
76638	if s.WorkteamName == nil {
76639		invalidParams.Add(request.NewErrParamRequired("WorkteamName"))
76640	}
76641	if s.WorkteamName != nil && len(*s.WorkteamName) < 1 {
76642		invalidParams.Add(request.NewErrParamMinLen("WorkteamName", 1))
76643	}
76644	if s.MemberDefinitions != nil {
76645		for i, v := range s.MemberDefinitions {
76646			if v == nil {
76647				continue
76648			}
76649			if err := v.Validate(); err != nil {
76650				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MemberDefinitions", i), err.(request.ErrInvalidParams))
76651			}
76652		}
76653	}
76654
76655	if invalidParams.Len() > 0 {
76656		return invalidParams
76657	}
76658	return nil
76659}
76660
76661// SetDescription sets the Description field's value.
76662func (s *UpdateWorkteamInput) SetDescription(v string) *UpdateWorkteamInput {
76663	s.Description = &v
76664	return s
76665}
76666
76667// SetMemberDefinitions sets the MemberDefinitions field's value.
76668func (s *UpdateWorkteamInput) SetMemberDefinitions(v []*MemberDefinition) *UpdateWorkteamInput {
76669	s.MemberDefinitions = v
76670	return s
76671}
76672
76673// SetNotificationConfiguration sets the NotificationConfiguration field's value.
76674func (s *UpdateWorkteamInput) SetNotificationConfiguration(v *NotificationConfiguration) *UpdateWorkteamInput {
76675	s.NotificationConfiguration = v
76676	return s
76677}
76678
76679// SetWorkteamName sets the WorkteamName field's value.
76680func (s *UpdateWorkteamInput) SetWorkteamName(v string) *UpdateWorkteamInput {
76681	s.WorkteamName = &v
76682	return s
76683}
76684
76685type UpdateWorkteamOutput struct {
76686	_ struct{} `type:"structure"`
76687
76688	// A Workteam object that describes the updated work team.
76689	//
76690	// Workteam is a required field
76691	Workteam *Workteam `type:"structure" required:"true"`
76692}
76693
76694// String returns the string representation
76695func (s UpdateWorkteamOutput) String() string {
76696	return awsutil.Prettify(s)
76697}
76698
76699// GoString returns the string representation
76700func (s UpdateWorkteamOutput) GoString() string {
76701	return s.String()
76702}
76703
76704// SetWorkteam sets the Workteam field's value.
76705func (s *UpdateWorkteamOutput) SetWorkteam(v *Workteam) *UpdateWorkteamOutput {
76706	s.Workteam = v
76707	return s
76708}
76709
76710// Information about the user who created or modified an experiment, trial,
76711// or trial component.
76712type UserContext struct {
76713	_ struct{} `type:"structure"`
76714
76715	// The domain associated with the user.
76716	DomainId *string `type:"string"`
76717
76718	// The Amazon Resource Name (ARN) of the user's profile.
76719	UserProfileArn *string `type:"string"`
76720
76721	// The name of the user's profile.
76722	UserProfileName *string `type:"string"`
76723}
76724
76725// String returns the string representation
76726func (s UserContext) String() string {
76727	return awsutil.Prettify(s)
76728}
76729
76730// GoString returns the string representation
76731func (s UserContext) GoString() string {
76732	return s.String()
76733}
76734
76735// SetDomainId sets the DomainId field's value.
76736func (s *UserContext) SetDomainId(v string) *UserContext {
76737	s.DomainId = &v
76738	return s
76739}
76740
76741// SetUserProfileArn sets the UserProfileArn field's value.
76742func (s *UserContext) SetUserProfileArn(v string) *UserContext {
76743	s.UserProfileArn = &v
76744	return s
76745}
76746
76747// SetUserProfileName sets the UserProfileName field's value.
76748func (s *UserContext) SetUserProfileName(v string) *UserContext {
76749	s.UserProfileName = &v
76750	return s
76751}
76752
76753// The user profile details.
76754type UserProfileDetails struct {
76755	_ struct{} `type:"structure"`
76756
76757	// The creation time.
76758	CreationTime *time.Time `type:"timestamp"`
76759
76760	// The domain ID.
76761	DomainId *string `type:"string"`
76762
76763	// The last modified time.
76764	LastModifiedTime *time.Time `type:"timestamp"`
76765
76766	// The status.
76767	Status *string `type:"string" enum:"UserProfileStatus"`
76768
76769	// The user profile name.
76770	UserProfileName *string `type:"string"`
76771}
76772
76773// String returns the string representation
76774func (s UserProfileDetails) String() string {
76775	return awsutil.Prettify(s)
76776}
76777
76778// GoString returns the string representation
76779func (s UserProfileDetails) GoString() string {
76780	return s.String()
76781}
76782
76783// SetCreationTime sets the CreationTime field's value.
76784func (s *UserProfileDetails) SetCreationTime(v time.Time) *UserProfileDetails {
76785	s.CreationTime = &v
76786	return s
76787}
76788
76789// SetDomainId sets the DomainId field's value.
76790func (s *UserProfileDetails) SetDomainId(v string) *UserProfileDetails {
76791	s.DomainId = &v
76792	return s
76793}
76794
76795// SetLastModifiedTime sets the LastModifiedTime field's value.
76796func (s *UserProfileDetails) SetLastModifiedTime(v time.Time) *UserProfileDetails {
76797	s.LastModifiedTime = &v
76798	return s
76799}
76800
76801// SetStatus sets the Status field's value.
76802func (s *UserProfileDetails) SetStatus(v string) *UserProfileDetails {
76803	s.Status = &v
76804	return s
76805}
76806
76807// SetUserProfileName sets the UserProfileName field's value.
76808func (s *UserProfileDetails) SetUserProfileName(v string) *UserProfileDetails {
76809	s.UserProfileName = &v
76810	return s
76811}
76812
76813// A collection of settings that apply to users of Amazon SageMaker Studio.
76814// These settings are specified when the CreateUserProfile API is called, and
76815// as DefaultUserSettings when the CreateDomain API is called.
76816//
76817// SecurityGroups is aggregated when specified in both calls. For all other
76818// settings in UserSettings, the values specified in CreateUserProfile take
76819// precedence over those specified in CreateDomain.
76820type UserSettings struct {
76821	_ struct{} `type:"structure"`
76822
76823	// The execution role for the user.
76824	ExecutionRole *string `min:"20" type:"string"`
76825
76826	// The Jupyter server's app settings.
76827	JupyterServerAppSettings *JupyterServerAppSettings `type:"structure"`
76828
76829	// The kernel gateway app settings.
76830	KernelGatewayAppSettings *KernelGatewayAppSettings `type:"structure"`
76831
76832	// The security groups for the Amazon Virtual Private Cloud (VPC) that Studio
76833	// uses for communication.
76834	//
76835	// Optional when the CreateDomain.AppNetworkAccessType parameter is set to PublicInternetOnly.
76836	//
76837	// Required when the CreateDomain.AppNetworkAccessType parameter is set to VpcOnly.
76838	//
76839	// Amazon SageMaker adds a security group to allow NFS traffic from SageMaker
76840	// Studio. Therefore, the number of security groups that you can specify is
76841	// one less than the maximum number shown.
76842	SecurityGroups []*string `type:"list"`
76843
76844	// Specifies options for sharing SageMaker Studio notebooks.
76845	SharingSettings *SharingSettings `type:"structure"`
76846
76847	// The TensorBoard app settings.
76848	TensorBoardAppSettings *TensorBoardAppSettings `type:"structure"`
76849}
76850
76851// String returns the string representation
76852func (s UserSettings) String() string {
76853	return awsutil.Prettify(s)
76854}
76855
76856// GoString returns the string representation
76857func (s UserSettings) GoString() string {
76858	return s.String()
76859}
76860
76861// Validate inspects the fields of the type to determine if they are valid.
76862func (s *UserSettings) Validate() error {
76863	invalidParams := request.ErrInvalidParams{Context: "UserSettings"}
76864	if s.ExecutionRole != nil && len(*s.ExecutionRole) < 20 {
76865		invalidParams.Add(request.NewErrParamMinLen("ExecutionRole", 20))
76866	}
76867	if s.KernelGatewayAppSettings != nil {
76868		if err := s.KernelGatewayAppSettings.Validate(); err != nil {
76869			invalidParams.AddNested("KernelGatewayAppSettings", err.(request.ErrInvalidParams))
76870		}
76871	}
76872
76873	if invalidParams.Len() > 0 {
76874		return invalidParams
76875	}
76876	return nil
76877}
76878
76879// SetExecutionRole sets the ExecutionRole field's value.
76880func (s *UserSettings) SetExecutionRole(v string) *UserSettings {
76881	s.ExecutionRole = &v
76882	return s
76883}
76884
76885// SetJupyterServerAppSettings sets the JupyterServerAppSettings field's value.
76886func (s *UserSettings) SetJupyterServerAppSettings(v *JupyterServerAppSettings) *UserSettings {
76887	s.JupyterServerAppSettings = v
76888	return s
76889}
76890
76891// SetKernelGatewayAppSettings sets the KernelGatewayAppSettings field's value.
76892func (s *UserSettings) SetKernelGatewayAppSettings(v *KernelGatewayAppSettings) *UserSettings {
76893	s.KernelGatewayAppSettings = v
76894	return s
76895}
76896
76897// SetSecurityGroups sets the SecurityGroups field's value.
76898func (s *UserSettings) SetSecurityGroups(v []*string) *UserSettings {
76899	s.SecurityGroups = v
76900	return s
76901}
76902
76903// SetSharingSettings sets the SharingSettings field's value.
76904func (s *UserSettings) SetSharingSettings(v *SharingSettings) *UserSettings {
76905	s.SharingSettings = v
76906	return s
76907}
76908
76909// SetTensorBoardAppSettings sets the TensorBoardAppSettings field's value.
76910func (s *UserSettings) SetTensorBoardAppSettings(v *TensorBoardAppSettings) *UserSettings {
76911	s.TensorBoardAppSettings = v
76912	return s
76913}
76914
76915// Specifies a production variant property type for an Endpoint.
76916//
76917// If you are updating an endpoint with the UpdateEndpointInput$RetainAllVariantProperties
76918// option set to true, the VariantProperty objects listed in UpdateEndpointInput$ExcludeRetainedVariantProperties
76919// override the existing variant properties of the endpoint.
76920type VariantProperty struct {
76921	_ struct{} `type:"structure"`
76922
76923	// The type of variant property. The supported values are:
76924	//
76925	//    * DesiredInstanceCount: Overrides the existing variant instance counts
76926	//    using the ProductionVariant$InitialInstanceCount values in the CreateEndpointConfigInput$ProductionVariants.
76927	//
76928	//    * DesiredWeight: Overrides the existing variant weights using the ProductionVariant$InitialVariantWeight
76929	//    values in the CreateEndpointConfigInput$ProductionVariants.
76930	//
76931	//    * DataCaptureConfig: (Not currently supported.)
76932	//
76933	// VariantPropertyType is a required field
76934	VariantPropertyType *string `type:"string" required:"true" enum:"VariantPropertyType"`
76935}
76936
76937// String returns the string representation
76938func (s VariantProperty) String() string {
76939	return awsutil.Prettify(s)
76940}
76941
76942// GoString returns the string representation
76943func (s VariantProperty) GoString() string {
76944	return s.String()
76945}
76946
76947// Validate inspects the fields of the type to determine if they are valid.
76948func (s *VariantProperty) Validate() error {
76949	invalidParams := request.ErrInvalidParams{Context: "VariantProperty"}
76950	if s.VariantPropertyType == nil {
76951		invalidParams.Add(request.NewErrParamRequired("VariantPropertyType"))
76952	}
76953
76954	if invalidParams.Len() > 0 {
76955		return invalidParams
76956	}
76957	return nil
76958}
76959
76960// SetVariantPropertyType sets the VariantPropertyType field's value.
76961func (s *VariantProperty) SetVariantPropertyType(v string) *VariantProperty {
76962	s.VariantPropertyType = &v
76963	return s
76964}
76965
76966// Specifies a VPC that your training jobs and hosted models have access to.
76967// Control access to and from your training and model containers by configuring
76968// the VPC. For more information, see Protect Endpoints by Using an Amazon Virtual
76969// Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html)
76970// and Protect Training Jobs by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
76971type VpcConfig struct {
76972	_ struct{} `type:"structure"`
76973
76974	// The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security
76975	// groups for the VPC that is specified in the Subnets field.
76976	//
76977	// SecurityGroupIds is a required field
76978	SecurityGroupIds []*string `min:"1" type:"list" required:"true"`
76979
76980	// The ID of the subnets in the VPC to which you want to connect your training
76981	// job or model. For information about the availability of specific instance
76982	// types, see Supported Instance Types and Availability Zones (https://docs.aws.amazon.com/sagemaker/latest/dg/instance-types-az.html).
76983	//
76984	// Subnets is a required field
76985	Subnets []*string `min:"1" type:"list" required:"true"`
76986}
76987
76988// String returns the string representation
76989func (s VpcConfig) String() string {
76990	return awsutil.Prettify(s)
76991}
76992
76993// GoString returns the string representation
76994func (s VpcConfig) GoString() string {
76995	return s.String()
76996}
76997
76998// Validate inspects the fields of the type to determine if they are valid.
76999func (s *VpcConfig) Validate() error {
77000	invalidParams := request.ErrInvalidParams{Context: "VpcConfig"}
77001	if s.SecurityGroupIds == nil {
77002		invalidParams.Add(request.NewErrParamRequired("SecurityGroupIds"))
77003	}
77004	if s.SecurityGroupIds != nil && len(s.SecurityGroupIds) < 1 {
77005		invalidParams.Add(request.NewErrParamMinLen("SecurityGroupIds", 1))
77006	}
77007	if s.Subnets == nil {
77008		invalidParams.Add(request.NewErrParamRequired("Subnets"))
77009	}
77010	if s.Subnets != nil && len(s.Subnets) < 1 {
77011		invalidParams.Add(request.NewErrParamMinLen("Subnets", 1))
77012	}
77013
77014	if invalidParams.Len() > 0 {
77015		return invalidParams
77016	}
77017	return nil
77018}
77019
77020// SetSecurityGroupIds sets the SecurityGroupIds field's value.
77021func (s *VpcConfig) SetSecurityGroupIds(v []*string) *VpcConfig {
77022	s.SecurityGroupIds = v
77023	return s
77024}
77025
77026// SetSubnets sets the Subnets field's value.
77027func (s *VpcConfig) SetSubnets(v []*string) *VpcConfig {
77028	s.Subnets = v
77029	return s
77030}
77031
77032// A single private workforce, which is automatically created when you create
77033// your first private work team. You can create one private work force in each
77034// AWS Region. By default, any workforce-related API operation used in a specific
77035// region will apply to the workforce created in that region. To learn how to
77036// create a private workforce, see Create a Private Workforce (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html).
77037type Workforce struct {
77038	_ struct{} `type:"structure"`
77039
77040	// The configuration of an Amazon Cognito workforce. A single Cognito workforce
77041	// is created using and corresponds to a single Amazon Cognito user pool (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html).
77042	CognitoConfig *CognitoConfig `type:"structure"`
77043
77044	// The date that the workforce is created.
77045	CreateDate *time.Time `type:"timestamp"`
77046
77047	// The most recent date that was used to successfully add one or more IP address
77048	// ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html))
77049	// to a private workforce's allow list.
77050	LastUpdatedDate *time.Time `type:"timestamp"`
77051
77052	// The configuration of an OIDC Identity Provider (IdP) private workforce.
77053	OidcConfig *OidcConfigForResponse `type:"structure"`
77054
77055	// A list of one to ten IP address ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html))
77056	// to be added to the workforce allow list. By default, a workforce isn't restricted
77057	// to specific IP addresses.
77058	SourceIpConfig *SourceIpConfig `type:"structure"`
77059
77060	// The subdomain for your OIDC Identity Provider.
77061	SubDomain *string `type:"string"`
77062
77063	// The Amazon Resource Name (ARN) of the private workforce.
77064	//
77065	// WorkforceArn is a required field
77066	WorkforceArn *string `type:"string" required:"true"`
77067
77068	// The name of the private workforce.
77069	//
77070	// WorkforceName is a required field
77071	WorkforceName *string `min:"1" type:"string" required:"true"`
77072}
77073
77074// String returns the string representation
77075func (s Workforce) String() string {
77076	return awsutil.Prettify(s)
77077}
77078
77079// GoString returns the string representation
77080func (s Workforce) GoString() string {
77081	return s.String()
77082}
77083
77084// SetCognitoConfig sets the CognitoConfig field's value.
77085func (s *Workforce) SetCognitoConfig(v *CognitoConfig) *Workforce {
77086	s.CognitoConfig = v
77087	return s
77088}
77089
77090// SetCreateDate sets the CreateDate field's value.
77091func (s *Workforce) SetCreateDate(v time.Time) *Workforce {
77092	s.CreateDate = &v
77093	return s
77094}
77095
77096// SetLastUpdatedDate sets the LastUpdatedDate field's value.
77097func (s *Workforce) SetLastUpdatedDate(v time.Time) *Workforce {
77098	s.LastUpdatedDate = &v
77099	return s
77100}
77101
77102// SetOidcConfig sets the OidcConfig field's value.
77103func (s *Workforce) SetOidcConfig(v *OidcConfigForResponse) *Workforce {
77104	s.OidcConfig = v
77105	return s
77106}
77107
77108// SetSourceIpConfig sets the SourceIpConfig field's value.
77109func (s *Workforce) SetSourceIpConfig(v *SourceIpConfig) *Workforce {
77110	s.SourceIpConfig = v
77111	return s
77112}
77113
77114// SetSubDomain sets the SubDomain field's value.
77115func (s *Workforce) SetSubDomain(v string) *Workforce {
77116	s.SubDomain = &v
77117	return s
77118}
77119
77120// SetWorkforceArn sets the WorkforceArn field's value.
77121func (s *Workforce) SetWorkforceArn(v string) *Workforce {
77122	s.WorkforceArn = &v
77123	return s
77124}
77125
77126// SetWorkforceName sets the WorkforceName field's value.
77127func (s *Workforce) SetWorkforceName(v string) *Workforce {
77128	s.WorkforceName = &v
77129	return s
77130}
77131
77132// Provides details about a labeling work team.
77133type Workteam struct {
77134	_ struct{} `type:"structure"`
77135
77136	// The date and time that the work team was created (timestamp).
77137	CreateDate *time.Time `type:"timestamp"`
77138
77139	// A description of the work team.
77140	//
77141	// Description is a required field
77142	Description *string `min:"1" type:"string" required:"true"`
77143
77144	// The date and time that the work team was last updated (timestamp).
77145	LastUpdatedDate *time.Time `type:"timestamp"`
77146
77147	// A list of MemberDefinition objects that contains objects that identify the
77148	// workers that make up the work team.
77149	//
77150	// Workforces can be created using Amazon Cognito or your own OIDC Identity
77151	// Provider (IdP). For private workforces created using Amazon Cognito use CognitoMemberDefinition.
77152	// For workforces created using your own OIDC identity provider (IdP) use OidcMemberDefinition.
77153	//
77154	// MemberDefinitions is a required field
77155	MemberDefinitions []*MemberDefinition `min:"1" type:"list" required:"true"`
77156
77157	// Configures SNS notifications of available or expiring work items for work
77158	// teams.
77159	NotificationConfiguration *NotificationConfiguration `type:"structure"`
77160
77161	// The Amazon Marketplace identifier for a vendor's work team.
77162	ProductListingIds []*string `type:"list"`
77163
77164	// The URI of the labeling job's user interface. Workers open this URI to start
77165	// labeling your data objects.
77166	SubDomain *string `type:"string"`
77167
77168	// The Amazon Resource Name (ARN) of the workforce.
77169	WorkforceArn *string `type:"string"`
77170
77171	// The Amazon Resource Name (ARN) that identifies the work team.
77172	//
77173	// WorkteamArn is a required field
77174	WorkteamArn *string `type:"string" required:"true"`
77175
77176	// The name of the work team.
77177	//
77178	// WorkteamName is a required field
77179	WorkteamName *string `min:"1" type:"string" required:"true"`
77180}
77181
77182// String returns the string representation
77183func (s Workteam) String() string {
77184	return awsutil.Prettify(s)
77185}
77186
77187// GoString returns the string representation
77188func (s Workteam) GoString() string {
77189	return s.String()
77190}
77191
77192// SetCreateDate sets the CreateDate field's value.
77193func (s *Workteam) SetCreateDate(v time.Time) *Workteam {
77194	s.CreateDate = &v
77195	return s
77196}
77197
77198// SetDescription sets the Description field's value.
77199func (s *Workteam) SetDescription(v string) *Workteam {
77200	s.Description = &v
77201	return s
77202}
77203
77204// SetLastUpdatedDate sets the LastUpdatedDate field's value.
77205func (s *Workteam) SetLastUpdatedDate(v time.Time) *Workteam {
77206	s.LastUpdatedDate = &v
77207	return s
77208}
77209
77210// SetMemberDefinitions sets the MemberDefinitions field's value.
77211func (s *Workteam) SetMemberDefinitions(v []*MemberDefinition) *Workteam {
77212	s.MemberDefinitions = v
77213	return s
77214}
77215
77216// SetNotificationConfiguration sets the NotificationConfiguration field's value.
77217func (s *Workteam) SetNotificationConfiguration(v *NotificationConfiguration) *Workteam {
77218	s.NotificationConfiguration = v
77219	return s
77220}
77221
77222// SetProductListingIds sets the ProductListingIds field's value.
77223func (s *Workteam) SetProductListingIds(v []*string) *Workteam {
77224	s.ProductListingIds = v
77225	return s
77226}
77227
77228// SetSubDomain sets the SubDomain field's value.
77229func (s *Workteam) SetSubDomain(v string) *Workteam {
77230	s.SubDomain = &v
77231	return s
77232}
77233
77234// SetWorkforceArn sets the WorkforceArn field's value.
77235func (s *Workteam) SetWorkforceArn(v string) *Workteam {
77236	s.WorkforceArn = &v
77237	return s
77238}
77239
77240// SetWorkteamArn sets the WorkteamArn field's value.
77241func (s *Workteam) SetWorkteamArn(v string) *Workteam {
77242	s.WorkteamArn = &v
77243	return s
77244}
77245
77246// SetWorkteamName sets the WorkteamName field's value.
77247func (s *Workteam) SetWorkteamName(v string) *Workteam {
77248	s.WorkteamName = &v
77249	return s
77250}
77251
77252const (
77253	// ActionStatusUnknown is a ActionStatus enum value
77254	ActionStatusUnknown = "Unknown"
77255
77256	// ActionStatusInProgress is a ActionStatus enum value
77257	ActionStatusInProgress = "InProgress"
77258
77259	// ActionStatusCompleted is a ActionStatus enum value
77260	ActionStatusCompleted = "Completed"
77261
77262	// ActionStatusFailed is a ActionStatus enum value
77263	ActionStatusFailed = "Failed"
77264
77265	// ActionStatusStopping is a ActionStatus enum value
77266	ActionStatusStopping = "Stopping"
77267
77268	// ActionStatusStopped is a ActionStatus enum value
77269	ActionStatusStopped = "Stopped"
77270)
77271
77272// ActionStatus_Values returns all elements of the ActionStatus enum
77273func ActionStatus_Values() []string {
77274	return []string{
77275		ActionStatusUnknown,
77276		ActionStatusInProgress,
77277		ActionStatusCompleted,
77278		ActionStatusFailed,
77279		ActionStatusStopping,
77280		ActionStatusStopped,
77281	}
77282}
77283
77284const (
77285	// AlgorithmSortByName is a AlgorithmSortBy enum value
77286	AlgorithmSortByName = "Name"
77287
77288	// AlgorithmSortByCreationTime is a AlgorithmSortBy enum value
77289	AlgorithmSortByCreationTime = "CreationTime"
77290)
77291
77292// AlgorithmSortBy_Values returns all elements of the AlgorithmSortBy enum
77293func AlgorithmSortBy_Values() []string {
77294	return []string{
77295		AlgorithmSortByName,
77296		AlgorithmSortByCreationTime,
77297	}
77298}
77299
77300const (
77301	// AlgorithmStatusPending is a AlgorithmStatus enum value
77302	AlgorithmStatusPending = "Pending"
77303
77304	// AlgorithmStatusInProgress is a AlgorithmStatus enum value
77305	AlgorithmStatusInProgress = "InProgress"
77306
77307	// AlgorithmStatusCompleted is a AlgorithmStatus enum value
77308	AlgorithmStatusCompleted = "Completed"
77309
77310	// AlgorithmStatusFailed is a AlgorithmStatus enum value
77311	AlgorithmStatusFailed = "Failed"
77312
77313	// AlgorithmStatusDeleting is a AlgorithmStatus enum value
77314	AlgorithmStatusDeleting = "Deleting"
77315)
77316
77317// AlgorithmStatus_Values returns all elements of the AlgorithmStatus enum
77318func AlgorithmStatus_Values() []string {
77319	return []string{
77320		AlgorithmStatusPending,
77321		AlgorithmStatusInProgress,
77322		AlgorithmStatusCompleted,
77323		AlgorithmStatusFailed,
77324		AlgorithmStatusDeleting,
77325	}
77326}
77327
77328const (
77329	// AppImageConfigSortKeyCreationTime is a AppImageConfigSortKey enum value
77330	AppImageConfigSortKeyCreationTime = "CreationTime"
77331
77332	// AppImageConfigSortKeyLastModifiedTime is a AppImageConfigSortKey enum value
77333	AppImageConfigSortKeyLastModifiedTime = "LastModifiedTime"
77334
77335	// AppImageConfigSortKeyName is a AppImageConfigSortKey enum value
77336	AppImageConfigSortKeyName = "Name"
77337)
77338
77339// AppImageConfigSortKey_Values returns all elements of the AppImageConfigSortKey enum
77340func AppImageConfigSortKey_Values() []string {
77341	return []string{
77342		AppImageConfigSortKeyCreationTime,
77343		AppImageConfigSortKeyLastModifiedTime,
77344		AppImageConfigSortKeyName,
77345	}
77346}
77347
77348const (
77349	// AppInstanceTypeSystem is a AppInstanceType enum value
77350	AppInstanceTypeSystem = "system"
77351
77352	// AppInstanceTypeMlT3Micro is a AppInstanceType enum value
77353	AppInstanceTypeMlT3Micro = "ml.t3.micro"
77354
77355	// AppInstanceTypeMlT3Small is a AppInstanceType enum value
77356	AppInstanceTypeMlT3Small = "ml.t3.small"
77357
77358	// AppInstanceTypeMlT3Medium is a AppInstanceType enum value
77359	AppInstanceTypeMlT3Medium = "ml.t3.medium"
77360
77361	// AppInstanceTypeMlT3Large is a AppInstanceType enum value
77362	AppInstanceTypeMlT3Large = "ml.t3.large"
77363
77364	// AppInstanceTypeMlT3Xlarge is a AppInstanceType enum value
77365	AppInstanceTypeMlT3Xlarge = "ml.t3.xlarge"
77366
77367	// AppInstanceTypeMlT32xlarge is a AppInstanceType enum value
77368	AppInstanceTypeMlT32xlarge = "ml.t3.2xlarge"
77369
77370	// AppInstanceTypeMlM5Large is a AppInstanceType enum value
77371	AppInstanceTypeMlM5Large = "ml.m5.large"
77372
77373	// AppInstanceTypeMlM5Xlarge is a AppInstanceType enum value
77374	AppInstanceTypeMlM5Xlarge = "ml.m5.xlarge"
77375
77376	// AppInstanceTypeMlM52xlarge is a AppInstanceType enum value
77377	AppInstanceTypeMlM52xlarge = "ml.m5.2xlarge"
77378
77379	// AppInstanceTypeMlM54xlarge is a AppInstanceType enum value
77380	AppInstanceTypeMlM54xlarge = "ml.m5.4xlarge"
77381
77382	// AppInstanceTypeMlM58xlarge is a AppInstanceType enum value
77383	AppInstanceTypeMlM58xlarge = "ml.m5.8xlarge"
77384
77385	// AppInstanceTypeMlM512xlarge is a AppInstanceType enum value
77386	AppInstanceTypeMlM512xlarge = "ml.m5.12xlarge"
77387
77388	// AppInstanceTypeMlM516xlarge is a AppInstanceType enum value
77389	AppInstanceTypeMlM516xlarge = "ml.m5.16xlarge"
77390
77391	// AppInstanceTypeMlM524xlarge is a AppInstanceType enum value
77392	AppInstanceTypeMlM524xlarge = "ml.m5.24xlarge"
77393
77394	// AppInstanceTypeMlC5Large is a AppInstanceType enum value
77395	AppInstanceTypeMlC5Large = "ml.c5.large"
77396
77397	// AppInstanceTypeMlC5Xlarge is a AppInstanceType enum value
77398	AppInstanceTypeMlC5Xlarge = "ml.c5.xlarge"
77399
77400	// AppInstanceTypeMlC52xlarge is a AppInstanceType enum value
77401	AppInstanceTypeMlC52xlarge = "ml.c5.2xlarge"
77402
77403	// AppInstanceTypeMlC54xlarge is a AppInstanceType enum value
77404	AppInstanceTypeMlC54xlarge = "ml.c5.4xlarge"
77405
77406	// AppInstanceTypeMlC59xlarge is a AppInstanceType enum value
77407	AppInstanceTypeMlC59xlarge = "ml.c5.9xlarge"
77408
77409	// AppInstanceTypeMlC512xlarge is a AppInstanceType enum value
77410	AppInstanceTypeMlC512xlarge = "ml.c5.12xlarge"
77411
77412	// AppInstanceTypeMlC518xlarge is a AppInstanceType enum value
77413	AppInstanceTypeMlC518xlarge = "ml.c5.18xlarge"
77414
77415	// AppInstanceTypeMlC524xlarge is a AppInstanceType enum value
77416	AppInstanceTypeMlC524xlarge = "ml.c5.24xlarge"
77417
77418	// AppInstanceTypeMlP32xlarge is a AppInstanceType enum value
77419	AppInstanceTypeMlP32xlarge = "ml.p3.2xlarge"
77420
77421	// AppInstanceTypeMlP38xlarge is a AppInstanceType enum value
77422	AppInstanceTypeMlP38xlarge = "ml.p3.8xlarge"
77423
77424	// AppInstanceTypeMlP316xlarge is a AppInstanceType enum value
77425	AppInstanceTypeMlP316xlarge = "ml.p3.16xlarge"
77426
77427	// AppInstanceTypeMlG4dnXlarge is a AppInstanceType enum value
77428	AppInstanceTypeMlG4dnXlarge = "ml.g4dn.xlarge"
77429
77430	// AppInstanceTypeMlG4dn2xlarge is a AppInstanceType enum value
77431	AppInstanceTypeMlG4dn2xlarge = "ml.g4dn.2xlarge"
77432
77433	// AppInstanceTypeMlG4dn4xlarge is a AppInstanceType enum value
77434	AppInstanceTypeMlG4dn4xlarge = "ml.g4dn.4xlarge"
77435
77436	// AppInstanceTypeMlG4dn8xlarge is a AppInstanceType enum value
77437	AppInstanceTypeMlG4dn8xlarge = "ml.g4dn.8xlarge"
77438
77439	// AppInstanceTypeMlG4dn12xlarge is a AppInstanceType enum value
77440	AppInstanceTypeMlG4dn12xlarge = "ml.g4dn.12xlarge"
77441
77442	// AppInstanceTypeMlG4dn16xlarge is a AppInstanceType enum value
77443	AppInstanceTypeMlG4dn16xlarge = "ml.g4dn.16xlarge"
77444)
77445
77446// AppInstanceType_Values returns all elements of the AppInstanceType enum
77447func AppInstanceType_Values() []string {
77448	return []string{
77449		AppInstanceTypeSystem,
77450		AppInstanceTypeMlT3Micro,
77451		AppInstanceTypeMlT3Small,
77452		AppInstanceTypeMlT3Medium,
77453		AppInstanceTypeMlT3Large,
77454		AppInstanceTypeMlT3Xlarge,
77455		AppInstanceTypeMlT32xlarge,
77456		AppInstanceTypeMlM5Large,
77457		AppInstanceTypeMlM5Xlarge,
77458		AppInstanceTypeMlM52xlarge,
77459		AppInstanceTypeMlM54xlarge,
77460		AppInstanceTypeMlM58xlarge,
77461		AppInstanceTypeMlM512xlarge,
77462		AppInstanceTypeMlM516xlarge,
77463		AppInstanceTypeMlM524xlarge,
77464		AppInstanceTypeMlC5Large,
77465		AppInstanceTypeMlC5Xlarge,
77466		AppInstanceTypeMlC52xlarge,
77467		AppInstanceTypeMlC54xlarge,
77468		AppInstanceTypeMlC59xlarge,
77469		AppInstanceTypeMlC512xlarge,
77470		AppInstanceTypeMlC518xlarge,
77471		AppInstanceTypeMlC524xlarge,
77472		AppInstanceTypeMlP32xlarge,
77473		AppInstanceTypeMlP38xlarge,
77474		AppInstanceTypeMlP316xlarge,
77475		AppInstanceTypeMlG4dnXlarge,
77476		AppInstanceTypeMlG4dn2xlarge,
77477		AppInstanceTypeMlG4dn4xlarge,
77478		AppInstanceTypeMlG4dn8xlarge,
77479		AppInstanceTypeMlG4dn12xlarge,
77480		AppInstanceTypeMlG4dn16xlarge,
77481	}
77482}
77483
77484const (
77485	// AppNetworkAccessTypePublicInternetOnly is a AppNetworkAccessType enum value
77486	AppNetworkAccessTypePublicInternetOnly = "PublicInternetOnly"
77487
77488	// AppNetworkAccessTypeVpcOnly is a AppNetworkAccessType enum value
77489	AppNetworkAccessTypeVpcOnly = "VpcOnly"
77490)
77491
77492// AppNetworkAccessType_Values returns all elements of the AppNetworkAccessType enum
77493func AppNetworkAccessType_Values() []string {
77494	return []string{
77495		AppNetworkAccessTypePublicInternetOnly,
77496		AppNetworkAccessTypeVpcOnly,
77497	}
77498}
77499
77500const (
77501	// AppSortKeyCreationTime is a AppSortKey enum value
77502	AppSortKeyCreationTime = "CreationTime"
77503)
77504
77505// AppSortKey_Values returns all elements of the AppSortKey enum
77506func AppSortKey_Values() []string {
77507	return []string{
77508		AppSortKeyCreationTime,
77509	}
77510}
77511
77512const (
77513	// AppStatusDeleted is a AppStatus enum value
77514	AppStatusDeleted = "Deleted"
77515
77516	// AppStatusDeleting is a AppStatus enum value
77517	AppStatusDeleting = "Deleting"
77518
77519	// AppStatusFailed is a AppStatus enum value
77520	AppStatusFailed = "Failed"
77521
77522	// AppStatusInService is a AppStatus enum value
77523	AppStatusInService = "InService"
77524
77525	// AppStatusPending is a AppStatus enum value
77526	AppStatusPending = "Pending"
77527)
77528
77529// AppStatus_Values returns all elements of the AppStatus enum
77530func AppStatus_Values() []string {
77531	return []string{
77532		AppStatusDeleted,
77533		AppStatusDeleting,
77534		AppStatusFailed,
77535		AppStatusInService,
77536		AppStatusPending,
77537	}
77538}
77539
77540const (
77541	// AppTypeJupyterServer is a AppType enum value
77542	AppTypeJupyterServer = "JupyterServer"
77543
77544	// AppTypeKernelGateway is a AppType enum value
77545	AppTypeKernelGateway = "KernelGateway"
77546
77547	// AppTypeTensorBoard is a AppType enum value
77548	AppTypeTensorBoard = "TensorBoard"
77549)
77550
77551// AppType_Values returns all elements of the AppType enum
77552func AppType_Values() []string {
77553	return []string{
77554		AppTypeJupyterServer,
77555		AppTypeKernelGateway,
77556		AppTypeTensorBoard,
77557	}
77558}
77559
77560const (
77561	// ArtifactSourceIdTypeMd5hash is a ArtifactSourceIdType enum value
77562	ArtifactSourceIdTypeMd5hash = "MD5Hash"
77563
77564	// ArtifactSourceIdTypeS3etag is a ArtifactSourceIdType enum value
77565	ArtifactSourceIdTypeS3etag = "S3ETag"
77566
77567	// ArtifactSourceIdTypeS3version is a ArtifactSourceIdType enum value
77568	ArtifactSourceIdTypeS3version = "S3Version"
77569
77570	// ArtifactSourceIdTypeCustom is a ArtifactSourceIdType enum value
77571	ArtifactSourceIdTypeCustom = "Custom"
77572)
77573
77574// ArtifactSourceIdType_Values returns all elements of the ArtifactSourceIdType enum
77575func ArtifactSourceIdType_Values() []string {
77576	return []string{
77577		ArtifactSourceIdTypeMd5hash,
77578		ArtifactSourceIdTypeS3etag,
77579		ArtifactSourceIdTypeS3version,
77580		ArtifactSourceIdTypeCustom,
77581	}
77582}
77583
77584const (
77585	// AssemblyTypeNone is a AssemblyType enum value
77586	AssemblyTypeNone = "None"
77587
77588	// AssemblyTypeLine is a AssemblyType enum value
77589	AssemblyTypeLine = "Line"
77590)
77591
77592// AssemblyType_Values returns all elements of the AssemblyType enum
77593func AssemblyType_Values() []string {
77594	return []string{
77595		AssemblyTypeNone,
77596		AssemblyTypeLine,
77597	}
77598}
77599
77600const (
77601	// AssociationEdgeTypeContributedTo is a AssociationEdgeType enum value
77602	AssociationEdgeTypeContributedTo = "ContributedTo"
77603
77604	// AssociationEdgeTypeAssociatedWith is a AssociationEdgeType enum value
77605	AssociationEdgeTypeAssociatedWith = "AssociatedWith"
77606
77607	// AssociationEdgeTypeDerivedFrom is a AssociationEdgeType enum value
77608	AssociationEdgeTypeDerivedFrom = "DerivedFrom"
77609
77610	// AssociationEdgeTypeProduced is a AssociationEdgeType enum value
77611	AssociationEdgeTypeProduced = "Produced"
77612)
77613
77614// AssociationEdgeType_Values returns all elements of the AssociationEdgeType enum
77615func AssociationEdgeType_Values() []string {
77616	return []string{
77617		AssociationEdgeTypeContributedTo,
77618		AssociationEdgeTypeAssociatedWith,
77619		AssociationEdgeTypeDerivedFrom,
77620		AssociationEdgeTypeProduced,
77621	}
77622}
77623
77624// The compression used for Athena query results.
77625const (
77626	// AthenaResultCompressionTypeGzip is a AthenaResultCompressionType enum value
77627	AthenaResultCompressionTypeGzip = "GZIP"
77628
77629	// AthenaResultCompressionTypeSnappy is a AthenaResultCompressionType enum value
77630	AthenaResultCompressionTypeSnappy = "SNAPPY"
77631
77632	// AthenaResultCompressionTypeZlib is a AthenaResultCompressionType enum value
77633	AthenaResultCompressionTypeZlib = "ZLIB"
77634)
77635
77636// AthenaResultCompressionType_Values returns all elements of the AthenaResultCompressionType enum
77637func AthenaResultCompressionType_Values() []string {
77638	return []string{
77639		AthenaResultCompressionTypeGzip,
77640		AthenaResultCompressionTypeSnappy,
77641		AthenaResultCompressionTypeZlib,
77642	}
77643}
77644
77645// The data storage format for Athena query results.
77646const (
77647	// AthenaResultFormatParquet is a AthenaResultFormat enum value
77648	AthenaResultFormatParquet = "PARQUET"
77649
77650	// AthenaResultFormatOrc is a AthenaResultFormat enum value
77651	AthenaResultFormatOrc = "ORC"
77652
77653	// AthenaResultFormatAvro is a AthenaResultFormat enum value
77654	AthenaResultFormatAvro = "AVRO"
77655
77656	// AthenaResultFormatJson is a AthenaResultFormat enum value
77657	AthenaResultFormatJson = "JSON"
77658
77659	// AthenaResultFormatTextfile is a AthenaResultFormat enum value
77660	AthenaResultFormatTextfile = "TEXTFILE"
77661)
77662
77663// AthenaResultFormat_Values returns all elements of the AthenaResultFormat enum
77664func AthenaResultFormat_Values() []string {
77665	return []string{
77666		AthenaResultFormatParquet,
77667		AthenaResultFormatOrc,
77668		AthenaResultFormatAvro,
77669		AthenaResultFormatJson,
77670		AthenaResultFormatTextfile,
77671	}
77672}
77673
77674const (
77675	// AuthModeSso is a AuthMode enum value
77676	AuthModeSso = "SSO"
77677
77678	// AuthModeIam is a AuthMode enum value
77679	AuthModeIam = "IAM"
77680)
77681
77682// AuthMode_Values returns all elements of the AuthMode enum
77683func AuthMode_Values() []string {
77684	return []string{
77685		AuthModeSso,
77686		AuthModeIam,
77687	}
77688}
77689
77690const (
77691	// AutoMLJobObjectiveTypeMaximize is a AutoMLJobObjectiveType enum value
77692	AutoMLJobObjectiveTypeMaximize = "Maximize"
77693
77694	// AutoMLJobObjectiveTypeMinimize is a AutoMLJobObjectiveType enum value
77695	AutoMLJobObjectiveTypeMinimize = "Minimize"
77696)
77697
77698// AutoMLJobObjectiveType_Values returns all elements of the AutoMLJobObjectiveType enum
77699func AutoMLJobObjectiveType_Values() []string {
77700	return []string{
77701		AutoMLJobObjectiveTypeMaximize,
77702		AutoMLJobObjectiveTypeMinimize,
77703	}
77704}
77705
77706const (
77707	// AutoMLJobSecondaryStatusStarting is a AutoMLJobSecondaryStatus enum value
77708	AutoMLJobSecondaryStatusStarting = "Starting"
77709
77710	// AutoMLJobSecondaryStatusAnalyzingData is a AutoMLJobSecondaryStatus enum value
77711	AutoMLJobSecondaryStatusAnalyzingData = "AnalyzingData"
77712
77713	// AutoMLJobSecondaryStatusFeatureEngineering is a AutoMLJobSecondaryStatus enum value
77714	AutoMLJobSecondaryStatusFeatureEngineering = "FeatureEngineering"
77715
77716	// AutoMLJobSecondaryStatusModelTuning is a AutoMLJobSecondaryStatus enum value
77717	AutoMLJobSecondaryStatusModelTuning = "ModelTuning"
77718
77719	// AutoMLJobSecondaryStatusMaxCandidatesReached is a AutoMLJobSecondaryStatus enum value
77720	AutoMLJobSecondaryStatusMaxCandidatesReached = "MaxCandidatesReached"
77721
77722	// AutoMLJobSecondaryStatusFailed is a AutoMLJobSecondaryStatus enum value
77723	AutoMLJobSecondaryStatusFailed = "Failed"
77724
77725	// AutoMLJobSecondaryStatusStopped is a AutoMLJobSecondaryStatus enum value
77726	AutoMLJobSecondaryStatusStopped = "Stopped"
77727
77728	// AutoMLJobSecondaryStatusMaxAutoMljobRuntimeReached is a AutoMLJobSecondaryStatus enum value
77729	AutoMLJobSecondaryStatusMaxAutoMljobRuntimeReached = "MaxAutoMLJobRuntimeReached"
77730
77731	// AutoMLJobSecondaryStatusStopping is a AutoMLJobSecondaryStatus enum value
77732	AutoMLJobSecondaryStatusStopping = "Stopping"
77733
77734	// AutoMLJobSecondaryStatusCandidateDefinitionsGenerated is a AutoMLJobSecondaryStatus enum value
77735	AutoMLJobSecondaryStatusCandidateDefinitionsGenerated = "CandidateDefinitionsGenerated"
77736
77737	// AutoMLJobSecondaryStatusGeneratingExplainabilityReport is a AutoMLJobSecondaryStatus enum value
77738	AutoMLJobSecondaryStatusGeneratingExplainabilityReport = "GeneratingExplainabilityReport"
77739
77740	// AutoMLJobSecondaryStatusCompleted is a AutoMLJobSecondaryStatus enum value
77741	AutoMLJobSecondaryStatusCompleted = "Completed"
77742
77743	// AutoMLJobSecondaryStatusExplainabilityError is a AutoMLJobSecondaryStatus enum value
77744	AutoMLJobSecondaryStatusExplainabilityError = "ExplainabilityError"
77745
77746	// AutoMLJobSecondaryStatusDeployingModel is a AutoMLJobSecondaryStatus enum value
77747	AutoMLJobSecondaryStatusDeployingModel = "DeployingModel"
77748
77749	// AutoMLJobSecondaryStatusModelDeploymentError is a AutoMLJobSecondaryStatus enum value
77750	AutoMLJobSecondaryStatusModelDeploymentError = "ModelDeploymentError"
77751)
77752
77753// AutoMLJobSecondaryStatus_Values returns all elements of the AutoMLJobSecondaryStatus enum
77754func AutoMLJobSecondaryStatus_Values() []string {
77755	return []string{
77756		AutoMLJobSecondaryStatusStarting,
77757		AutoMLJobSecondaryStatusAnalyzingData,
77758		AutoMLJobSecondaryStatusFeatureEngineering,
77759		AutoMLJobSecondaryStatusModelTuning,
77760		AutoMLJobSecondaryStatusMaxCandidatesReached,
77761		AutoMLJobSecondaryStatusFailed,
77762		AutoMLJobSecondaryStatusStopped,
77763		AutoMLJobSecondaryStatusMaxAutoMljobRuntimeReached,
77764		AutoMLJobSecondaryStatusStopping,
77765		AutoMLJobSecondaryStatusCandidateDefinitionsGenerated,
77766		AutoMLJobSecondaryStatusGeneratingExplainabilityReport,
77767		AutoMLJobSecondaryStatusCompleted,
77768		AutoMLJobSecondaryStatusExplainabilityError,
77769		AutoMLJobSecondaryStatusDeployingModel,
77770		AutoMLJobSecondaryStatusModelDeploymentError,
77771	}
77772}
77773
77774const (
77775	// AutoMLJobStatusCompleted is a AutoMLJobStatus enum value
77776	AutoMLJobStatusCompleted = "Completed"
77777
77778	// AutoMLJobStatusInProgress is a AutoMLJobStatus enum value
77779	AutoMLJobStatusInProgress = "InProgress"
77780
77781	// AutoMLJobStatusFailed is a AutoMLJobStatus enum value
77782	AutoMLJobStatusFailed = "Failed"
77783
77784	// AutoMLJobStatusStopped is a AutoMLJobStatus enum value
77785	AutoMLJobStatusStopped = "Stopped"
77786
77787	// AutoMLJobStatusStopping is a AutoMLJobStatus enum value
77788	AutoMLJobStatusStopping = "Stopping"
77789)
77790
77791// AutoMLJobStatus_Values returns all elements of the AutoMLJobStatus enum
77792func AutoMLJobStatus_Values() []string {
77793	return []string{
77794		AutoMLJobStatusCompleted,
77795		AutoMLJobStatusInProgress,
77796		AutoMLJobStatusFailed,
77797		AutoMLJobStatusStopped,
77798		AutoMLJobStatusStopping,
77799	}
77800}
77801
77802const (
77803	// AutoMLMetricEnumAccuracy is a AutoMLMetricEnum enum value
77804	AutoMLMetricEnumAccuracy = "Accuracy"
77805
77806	// AutoMLMetricEnumMse is a AutoMLMetricEnum enum value
77807	AutoMLMetricEnumMse = "MSE"
77808
77809	// AutoMLMetricEnumF1 is a AutoMLMetricEnum enum value
77810	AutoMLMetricEnumF1 = "F1"
77811
77812	// AutoMLMetricEnumF1macro is a AutoMLMetricEnum enum value
77813	AutoMLMetricEnumF1macro = "F1macro"
77814
77815	// AutoMLMetricEnumAuc is a AutoMLMetricEnum enum value
77816	AutoMLMetricEnumAuc = "AUC"
77817)
77818
77819// AutoMLMetricEnum_Values returns all elements of the AutoMLMetricEnum enum
77820func AutoMLMetricEnum_Values() []string {
77821	return []string{
77822		AutoMLMetricEnumAccuracy,
77823		AutoMLMetricEnumMse,
77824		AutoMLMetricEnumF1,
77825		AutoMLMetricEnumF1macro,
77826		AutoMLMetricEnumAuc,
77827	}
77828}
77829
77830const (
77831	// AutoMLS3DataTypeManifestFile is a AutoMLS3DataType enum value
77832	AutoMLS3DataTypeManifestFile = "ManifestFile"
77833
77834	// AutoMLS3DataTypeS3prefix is a AutoMLS3DataType enum value
77835	AutoMLS3DataTypeS3prefix = "S3Prefix"
77836)
77837
77838// AutoMLS3DataType_Values returns all elements of the AutoMLS3DataType enum
77839func AutoMLS3DataType_Values() []string {
77840	return []string{
77841		AutoMLS3DataTypeManifestFile,
77842		AutoMLS3DataTypeS3prefix,
77843	}
77844}
77845
77846const (
77847	// AutoMLSortByName is a AutoMLSortBy enum value
77848	AutoMLSortByName = "Name"
77849
77850	// AutoMLSortByCreationTime is a AutoMLSortBy enum value
77851	AutoMLSortByCreationTime = "CreationTime"
77852
77853	// AutoMLSortByStatus is a AutoMLSortBy enum value
77854	AutoMLSortByStatus = "Status"
77855)
77856
77857// AutoMLSortBy_Values returns all elements of the AutoMLSortBy enum
77858func AutoMLSortBy_Values() []string {
77859	return []string{
77860		AutoMLSortByName,
77861		AutoMLSortByCreationTime,
77862		AutoMLSortByStatus,
77863	}
77864}
77865
77866const (
77867	// AutoMLSortOrderAscending is a AutoMLSortOrder enum value
77868	AutoMLSortOrderAscending = "Ascending"
77869
77870	// AutoMLSortOrderDescending is a AutoMLSortOrder enum value
77871	AutoMLSortOrderDescending = "Descending"
77872)
77873
77874// AutoMLSortOrder_Values returns all elements of the AutoMLSortOrder enum
77875func AutoMLSortOrder_Values() []string {
77876	return []string{
77877		AutoMLSortOrderAscending,
77878		AutoMLSortOrderDescending,
77879	}
77880}
77881
77882const (
77883	// AwsManagedHumanLoopRequestSourceAwsRekognitionDetectModerationLabelsImageV3 is a AwsManagedHumanLoopRequestSource enum value
77884	AwsManagedHumanLoopRequestSourceAwsRekognitionDetectModerationLabelsImageV3 = "AWS/Rekognition/DetectModerationLabels/Image/V3"
77885
77886	// AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeDocumentFormsV1 is a AwsManagedHumanLoopRequestSource enum value
77887	AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeDocumentFormsV1 = "AWS/Textract/AnalyzeDocument/Forms/V1"
77888)
77889
77890// AwsManagedHumanLoopRequestSource_Values returns all elements of the AwsManagedHumanLoopRequestSource enum
77891func AwsManagedHumanLoopRequestSource_Values() []string {
77892	return []string{
77893		AwsManagedHumanLoopRequestSourceAwsRekognitionDetectModerationLabelsImageV3,
77894		AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeDocumentFormsV1,
77895	}
77896}
77897
77898const (
77899	// BatchStrategyMultiRecord is a BatchStrategy enum value
77900	BatchStrategyMultiRecord = "MultiRecord"
77901
77902	// BatchStrategySingleRecord is a BatchStrategy enum value
77903	BatchStrategySingleRecord = "SingleRecord"
77904)
77905
77906// BatchStrategy_Values returns all elements of the BatchStrategy enum
77907func BatchStrategy_Values() []string {
77908	return []string{
77909		BatchStrategyMultiRecord,
77910		BatchStrategySingleRecord,
77911	}
77912}
77913
77914const (
77915	// BooleanOperatorAnd is a BooleanOperator enum value
77916	BooleanOperatorAnd = "And"
77917
77918	// BooleanOperatorOr is a BooleanOperator enum value
77919	BooleanOperatorOr = "Or"
77920)
77921
77922// BooleanOperator_Values returns all elements of the BooleanOperator enum
77923func BooleanOperator_Values() []string {
77924	return []string{
77925		BooleanOperatorAnd,
77926		BooleanOperatorOr,
77927	}
77928}
77929
77930const (
77931	// CandidateSortByCreationTime is a CandidateSortBy enum value
77932	CandidateSortByCreationTime = "CreationTime"
77933
77934	// CandidateSortByStatus is a CandidateSortBy enum value
77935	CandidateSortByStatus = "Status"
77936
77937	// CandidateSortByFinalObjectiveMetricValue is a CandidateSortBy enum value
77938	CandidateSortByFinalObjectiveMetricValue = "FinalObjectiveMetricValue"
77939)
77940
77941// CandidateSortBy_Values returns all elements of the CandidateSortBy enum
77942func CandidateSortBy_Values() []string {
77943	return []string{
77944		CandidateSortByCreationTime,
77945		CandidateSortByStatus,
77946		CandidateSortByFinalObjectiveMetricValue,
77947	}
77948}
77949
77950const (
77951	// CandidateStatusCompleted is a CandidateStatus enum value
77952	CandidateStatusCompleted = "Completed"
77953
77954	// CandidateStatusInProgress is a CandidateStatus enum value
77955	CandidateStatusInProgress = "InProgress"
77956
77957	// CandidateStatusFailed is a CandidateStatus enum value
77958	CandidateStatusFailed = "Failed"
77959
77960	// CandidateStatusStopped is a CandidateStatus enum value
77961	CandidateStatusStopped = "Stopped"
77962
77963	// CandidateStatusStopping is a CandidateStatus enum value
77964	CandidateStatusStopping = "Stopping"
77965)
77966
77967// CandidateStatus_Values returns all elements of the CandidateStatus enum
77968func CandidateStatus_Values() []string {
77969	return []string{
77970		CandidateStatusCompleted,
77971		CandidateStatusInProgress,
77972		CandidateStatusFailed,
77973		CandidateStatusStopped,
77974		CandidateStatusStopping,
77975	}
77976}
77977
77978const (
77979	// CandidateStepTypeAwsSageMakerTrainingJob is a CandidateStepType enum value
77980	CandidateStepTypeAwsSageMakerTrainingJob = "AWS::SageMaker::TrainingJob"
77981
77982	// CandidateStepTypeAwsSageMakerTransformJob is a CandidateStepType enum value
77983	CandidateStepTypeAwsSageMakerTransformJob = "AWS::SageMaker::TransformJob"
77984
77985	// CandidateStepTypeAwsSageMakerProcessingJob is a CandidateStepType enum value
77986	CandidateStepTypeAwsSageMakerProcessingJob = "AWS::SageMaker::ProcessingJob"
77987)
77988
77989// CandidateStepType_Values returns all elements of the CandidateStepType enum
77990func CandidateStepType_Values() []string {
77991	return []string{
77992		CandidateStepTypeAwsSageMakerTrainingJob,
77993		CandidateStepTypeAwsSageMakerTransformJob,
77994		CandidateStepTypeAwsSageMakerProcessingJob,
77995	}
77996}
77997
77998const (
77999	// CapacitySizeTypeInstanceCount is a CapacitySizeType enum value
78000	CapacitySizeTypeInstanceCount = "INSTANCE_COUNT"
78001
78002	// CapacitySizeTypeCapacityPercent is a CapacitySizeType enum value
78003	CapacitySizeTypeCapacityPercent = "CAPACITY_PERCENT"
78004)
78005
78006// CapacitySizeType_Values returns all elements of the CapacitySizeType enum
78007func CapacitySizeType_Values() []string {
78008	return []string{
78009		CapacitySizeTypeInstanceCount,
78010		CapacitySizeTypeCapacityPercent,
78011	}
78012}
78013
78014const (
78015	// CaptureModeInput is a CaptureMode enum value
78016	CaptureModeInput = "Input"
78017
78018	// CaptureModeOutput is a CaptureMode enum value
78019	CaptureModeOutput = "Output"
78020)
78021
78022// CaptureMode_Values returns all elements of the CaptureMode enum
78023func CaptureMode_Values() []string {
78024	return []string{
78025		CaptureModeInput,
78026		CaptureModeOutput,
78027	}
78028}
78029
78030const (
78031	// CaptureStatusStarted is a CaptureStatus enum value
78032	CaptureStatusStarted = "Started"
78033
78034	// CaptureStatusStopped is a CaptureStatus enum value
78035	CaptureStatusStopped = "Stopped"
78036)
78037
78038// CaptureStatus_Values returns all elements of the CaptureStatus enum
78039func CaptureStatus_Values() []string {
78040	return []string{
78041		CaptureStatusStarted,
78042		CaptureStatusStopped,
78043	}
78044}
78045
78046const (
78047	// CodeRepositorySortByName is a CodeRepositorySortBy enum value
78048	CodeRepositorySortByName = "Name"
78049
78050	// CodeRepositorySortByCreationTime is a CodeRepositorySortBy enum value
78051	CodeRepositorySortByCreationTime = "CreationTime"
78052
78053	// CodeRepositorySortByLastModifiedTime is a CodeRepositorySortBy enum value
78054	CodeRepositorySortByLastModifiedTime = "LastModifiedTime"
78055)
78056
78057// CodeRepositorySortBy_Values returns all elements of the CodeRepositorySortBy enum
78058func CodeRepositorySortBy_Values() []string {
78059	return []string{
78060		CodeRepositorySortByName,
78061		CodeRepositorySortByCreationTime,
78062		CodeRepositorySortByLastModifiedTime,
78063	}
78064}
78065
78066const (
78067	// CodeRepositorySortOrderAscending is a CodeRepositorySortOrder enum value
78068	CodeRepositorySortOrderAscending = "Ascending"
78069
78070	// CodeRepositorySortOrderDescending is a CodeRepositorySortOrder enum value
78071	CodeRepositorySortOrderDescending = "Descending"
78072)
78073
78074// CodeRepositorySortOrder_Values returns all elements of the CodeRepositorySortOrder enum
78075func CodeRepositorySortOrder_Values() []string {
78076	return []string{
78077		CodeRepositorySortOrderAscending,
78078		CodeRepositorySortOrderDescending,
78079	}
78080}
78081
78082const (
78083	// CompilationJobStatusInprogress is a CompilationJobStatus enum value
78084	CompilationJobStatusInprogress = "INPROGRESS"
78085
78086	// CompilationJobStatusCompleted is a CompilationJobStatus enum value
78087	CompilationJobStatusCompleted = "COMPLETED"
78088
78089	// CompilationJobStatusFailed is a CompilationJobStatus enum value
78090	CompilationJobStatusFailed = "FAILED"
78091
78092	// CompilationJobStatusStarting is a CompilationJobStatus enum value
78093	CompilationJobStatusStarting = "STARTING"
78094
78095	// CompilationJobStatusStopping is a CompilationJobStatus enum value
78096	CompilationJobStatusStopping = "STOPPING"
78097
78098	// CompilationJobStatusStopped is a CompilationJobStatus enum value
78099	CompilationJobStatusStopped = "STOPPED"
78100)
78101
78102// CompilationJobStatus_Values returns all elements of the CompilationJobStatus enum
78103func CompilationJobStatus_Values() []string {
78104	return []string{
78105		CompilationJobStatusInprogress,
78106		CompilationJobStatusCompleted,
78107		CompilationJobStatusFailed,
78108		CompilationJobStatusStarting,
78109		CompilationJobStatusStopping,
78110		CompilationJobStatusStopped,
78111	}
78112}
78113
78114const (
78115	// CompressionTypeNone is a CompressionType enum value
78116	CompressionTypeNone = "None"
78117
78118	// CompressionTypeGzip is a CompressionType enum value
78119	CompressionTypeGzip = "Gzip"
78120)
78121
78122// CompressionType_Values returns all elements of the CompressionType enum
78123func CompressionType_Values() []string {
78124	return []string{
78125		CompressionTypeNone,
78126		CompressionTypeGzip,
78127	}
78128}
78129
78130const (
78131	// ConditionOutcomeTrue is a ConditionOutcome enum value
78132	ConditionOutcomeTrue = "True"
78133
78134	// ConditionOutcomeFalse is a ConditionOutcome enum value
78135	ConditionOutcomeFalse = "False"
78136)
78137
78138// ConditionOutcome_Values returns all elements of the ConditionOutcome enum
78139func ConditionOutcome_Values() []string {
78140	return []string{
78141		ConditionOutcomeTrue,
78142		ConditionOutcomeFalse,
78143	}
78144}
78145
78146const (
78147	// ContainerModeSingleModel is a ContainerMode enum value
78148	ContainerModeSingleModel = "SingleModel"
78149
78150	// ContainerModeMultiModel is a ContainerMode enum value
78151	ContainerModeMultiModel = "MultiModel"
78152)
78153
78154// ContainerMode_Values returns all elements of the ContainerMode enum
78155func ContainerMode_Values() []string {
78156	return []string{
78157		ContainerModeSingleModel,
78158		ContainerModeMultiModel,
78159	}
78160}
78161
78162const (
78163	// ContentClassifierFreeOfPersonallyIdentifiableInformation is a ContentClassifier enum value
78164	ContentClassifierFreeOfPersonallyIdentifiableInformation = "FreeOfPersonallyIdentifiableInformation"
78165
78166	// ContentClassifierFreeOfAdultContent is a ContentClassifier enum value
78167	ContentClassifierFreeOfAdultContent = "FreeOfAdultContent"
78168)
78169
78170// ContentClassifier_Values returns all elements of the ContentClassifier enum
78171func ContentClassifier_Values() []string {
78172	return []string{
78173		ContentClassifierFreeOfPersonallyIdentifiableInformation,
78174		ContentClassifierFreeOfAdultContent,
78175	}
78176}
78177
78178const (
78179	// DataDistributionTypeFullyReplicated is a DataDistributionType enum value
78180	DataDistributionTypeFullyReplicated = "FullyReplicated"
78181
78182	// DataDistributionTypeShardedByS3key is a DataDistributionType enum value
78183	DataDistributionTypeShardedByS3key = "ShardedByS3Key"
78184)
78185
78186// DataDistributionType_Values returns all elements of the DataDistributionType enum
78187func DataDistributionType_Values() []string {
78188	return []string{
78189		DataDistributionTypeFullyReplicated,
78190		DataDistributionTypeShardedByS3key,
78191	}
78192}
78193
78194const (
78195	// DetailedAlgorithmStatusNotStarted is a DetailedAlgorithmStatus enum value
78196	DetailedAlgorithmStatusNotStarted = "NotStarted"
78197
78198	// DetailedAlgorithmStatusInProgress is a DetailedAlgorithmStatus enum value
78199	DetailedAlgorithmStatusInProgress = "InProgress"
78200
78201	// DetailedAlgorithmStatusCompleted is a DetailedAlgorithmStatus enum value
78202	DetailedAlgorithmStatusCompleted = "Completed"
78203
78204	// DetailedAlgorithmStatusFailed is a DetailedAlgorithmStatus enum value
78205	DetailedAlgorithmStatusFailed = "Failed"
78206)
78207
78208// DetailedAlgorithmStatus_Values returns all elements of the DetailedAlgorithmStatus enum
78209func DetailedAlgorithmStatus_Values() []string {
78210	return []string{
78211		DetailedAlgorithmStatusNotStarted,
78212		DetailedAlgorithmStatusInProgress,
78213		DetailedAlgorithmStatusCompleted,
78214		DetailedAlgorithmStatusFailed,
78215	}
78216}
78217
78218const (
78219	// DetailedModelPackageStatusNotStarted is a DetailedModelPackageStatus enum value
78220	DetailedModelPackageStatusNotStarted = "NotStarted"
78221
78222	// DetailedModelPackageStatusInProgress is a DetailedModelPackageStatus enum value
78223	DetailedModelPackageStatusInProgress = "InProgress"
78224
78225	// DetailedModelPackageStatusCompleted is a DetailedModelPackageStatus enum value
78226	DetailedModelPackageStatusCompleted = "Completed"
78227
78228	// DetailedModelPackageStatusFailed is a DetailedModelPackageStatus enum value
78229	DetailedModelPackageStatusFailed = "Failed"
78230)
78231
78232// DetailedModelPackageStatus_Values returns all elements of the DetailedModelPackageStatus enum
78233func DetailedModelPackageStatus_Values() []string {
78234	return []string{
78235		DetailedModelPackageStatusNotStarted,
78236		DetailedModelPackageStatusInProgress,
78237		DetailedModelPackageStatusCompleted,
78238		DetailedModelPackageStatusFailed,
78239	}
78240}
78241
78242const (
78243	// DirectInternetAccessEnabled is a DirectInternetAccess enum value
78244	DirectInternetAccessEnabled = "Enabled"
78245
78246	// DirectInternetAccessDisabled is a DirectInternetAccess enum value
78247	DirectInternetAccessDisabled = "Disabled"
78248)
78249
78250// DirectInternetAccess_Values returns all elements of the DirectInternetAccess enum
78251func DirectInternetAccess_Values() []string {
78252	return []string{
78253		DirectInternetAccessEnabled,
78254		DirectInternetAccessDisabled,
78255	}
78256}
78257
78258const (
78259	// DomainStatusDeleting is a DomainStatus enum value
78260	DomainStatusDeleting = "Deleting"
78261
78262	// DomainStatusFailed is a DomainStatus enum value
78263	DomainStatusFailed = "Failed"
78264
78265	// DomainStatusInService is a DomainStatus enum value
78266	DomainStatusInService = "InService"
78267
78268	// DomainStatusPending is a DomainStatus enum value
78269	DomainStatusPending = "Pending"
78270
78271	// DomainStatusUpdating is a DomainStatus enum value
78272	DomainStatusUpdating = "Updating"
78273
78274	// DomainStatusUpdateFailed is a DomainStatus enum value
78275	DomainStatusUpdateFailed = "Update_Failed"
78276
78277	// DomainStatusDeleteFailed is a DomainStatus enum value
78278	DomainStatusDeleteFailed = "Delete_Failed"
78279)
78280
78281// DomainStatus_Values returns all elements of the DomainStatus enum
78282func DomainStatus_Values() []string {
78283	return []string{
78284		DomainStatusDeleting,
78285		DomainStatusFailed,
78286		DomainStatusInService,
78287		DomainStatusPending,
78288		DomainStatusUpdating,
78289		DomainStatusUpdateFailed,
78290		DomainStatusDeleteFailed,
78291	}
78292}
78293
78294const (
78295	// EdgePackagingJobStatusStarting is a EdgePackagingJobStatus enum value
78296	EdgePackagingJobStatusStarting = "STARTING"
78297
78298	// EdgePackagingJobStatusInprogress is a EdgePackagingJobStatus enum value
78299	EdgePackagingJobStatusInprogress = "INPROGRESS"
78300
78301	// EdgePackagingJobStatusCompleted is a EdgePackagingJobStatus enum value
78302	EdgePackagingJobStatusCompleted = "COMPLETED"
78303
78304	// EdgePackagingJobStatusFailed is a EdgePackagingJobStatus enum value
78305	EdgePackagingJobStatusFailed = "FAILED"
78306
78307	// EdgePackagingJobStatusStopping is a EdgePackagingJobStatus enum value
78308	EdgePackagingJobStatusStopping = "STOPPING"
78309
78310	// EdgePackagingJobStatusStopped is a EdgePackagingJobStatus enum value
78311	EdgePackagingJobStatusStopped = "STOPPED"
78312)
78313
78314// EdgePackagingJobStatus_Values returns all elements of the EdgePackagingJobStatus enum
78315func EdgePackagingJobStatus_Values() []string {
78316	return []string{
78317		EdgePackagingJobStatusStarting,
78318		EdgePackagingJobStatusInprogress,
78319		EdgePackagingJobStatusCompleted,
78320		EdgePackagingJobStatusFailed,
78321		EdgePackagingJobStatusStopping,
78322		EdgePackagingJobStatusStopped,
78323	}
78324}
78325
78326const (
78327	// EndpointConfigSortKeyName is a EndpointConfigSortKey enum value
78328	EndpointConfigSortKeyName = "Name"
78329
78330	// EndpointConfigSortKeyCreationTime is a EndpointConfigSortKey enum value
78331	EndpointConfigSortKeyCreationTime = "CreationTime"
78332)
78333
78334// EndpointConfigSortKey_Values returns all elements of the EndpointConfigSortKey enum
78335func EndpointConfigSortKey_Values() []string {
78336	return []string{
78337		EndpointConfigSortKeyName,
78338		EndpointConfigSortKeyCreationTime,
78339	}
78340}
78341
78342const (
78343	// EndpointSortKeyName is a EndpointSortKey enum value
78344	EndpointSortKeyName = "Name"
78345
78346	// EndpointSortKeyCreationTime is a EndpointSortKey enum value
78347	EndpointSortKeyCreationTime = "CreationTime"
78348
78349	// EndpointSortKeyStatus is a EndpointSortKey enum value
78350	EndpointSortKeyStatus = "Status"
78351)
78352
78353// EndpointSortKey_Values returns all elements of the EndpointSortKey enum
78354func EndpointSortKey_Values() []string {
78355	return []string{
78356		EndpointSortKeyName,
78357		EndpointSortKeyCreationTime,
78358		EndpointSortKeyStatus,
78359	}
78360}
78361
78362const (
78363	// EndpointStatusOutOfService is a EndpointStatus enum value
78364	EndpointStatusOutOfService = "OutOfService"
78365
78366	// EndpointStatusCreating is a EndpointStatus enum value
78367	EndpointStatusCreating = "Creating"
78368
78369	// EndpointStatusUpdating is a EndpointStatus enum value
78370	EndpointStatusUpdating = "Updating"
78371
78372	// EndpointStatusSystemUpdating is a EndpointStatus enum value
78373	EndpointStatusSystemUpdating = "SystemUpdating"
78374
78375	// EndpointStatusRollingBack is a EndpointStatus enum value
78376	EndpointStatusRollingBack = "RollingBack"
78377
78378	// EndpointStatusInService is a EndpointStatus enum value
78379	EndpointStatusInService = "InService"
78380
78381	// EndpointStatusDeleting is a EndpointStatus enum value
78382	EndpointStatusDeleting = "Deleting"
78383
78384	// EndpointStatusFailed is a EndpointStatus enum value
78385	EndpointStatusFailed = "Failed"
78386)
78387
78388// EndpointStatus_Values returns all elements of the EndpointStatus enum
78389func EndpointStatus_Values() []string {
78390	return []string{
78391		EndpointStatusOutOfService,
78392		EndpointStatusCreating,
78393		EndpointStatusUpdating,
78394		EndpointStatusSystemUpdating,
78395		EndpointStatusRollingBack,
78396		EndpointStatusInService,
78397		EndpointStatusDeleting,
78398		EndpointStatusFailed,
78399	}
78400}
78401
78402const (
78403	// ExecutionStatusPending is a ExecutionStatus enum value
78404	ExecutionStatusPending = "Pending"
78405
78406	// ExecutionStatusCompleted is a ExecutionStatus enum value
78407	ExecutionStatusCompleted = "Completed"
78408
78409	// ExecutionStatusCompletedWithViolations is a ExecutionStatus enum value
78410	ExecutionStatusCompletedWithViolations = "CompletedWithViolations"
78411
78412	// ExecutionStatusInProgress is a ExecutionStatus enum value
78413	ExecutionStatusInProgress = "InProgress"
78414
78415	// ExecutionStatusFailed is a ExecutionStatus enum value
78416	ExecutionStatusFailed = "Failed"
78417
78418	// ExecutionStatusStopping is a ExecutionStatus enum value
78419	ExecutionStatusStopping = "Stopping"
78420
78421	// ExecutionStatusStopped is a ExecutionStatus enum value
78422	ExecutionStatusStopped = "Stopped"
78423)
78424
78425// ExecutionStatus_Values returns all elements of the ExecutionStatus enum
78426func ExecutionStatus_Values() []string {
78427	return []string{
78428		ExecutionStatusPending,
78429		ExecutionStatusCompleted,
78430		ExecutionStatusCompletedWithViolations,
78431		ExecutionStatusInProgress,
78432		ExecutionStatusFailed,
78433		ExecutionStatusStopping,
78434		ExecutionStatusStopped,
78435	}
78436}
78437
78438const (
78439	// FeatureGroupSortByName is a FeatureGroupSortBy enum value
78440	FeatureGroupSortByName = "Name"
78441
78442	// FeatureGroupSortByFeatureGroupStatus is a FeatureGroupSortBy enum value
78443	FeatureGroupSortByFeatureGroupStatus = "FeatureGroupStatus"
78444
78445	// FeatureGroupSortByOfflineStoreStatus is a FeatureGroupSortBy enum value
78446	FeatureGroupSortByOfflineStoreStatus = "OfflineStoreStatus"
78447
78448	// FeatureGroupSortByCreationTime is a FeatureGroupSortBy enum value
78449	FeatureGroupSortByCreationTime = "CreationTime"
78450)
78451
78452// FeatureGroupSortBy_Values returns all elements of the FeatureGroupSortBy enum
78453func FeatureGroupSortBy_Values() []string {
78454	return []string{
78455		FeatureGroupSortByName,
78456		FeatureGroupSortByFeatureGroupStatus,
78457		FeatureGroupSortByOfflineStoreStatus,
78458		FeatureGroupSortByCreationTime,
78459	}
78460}
78461
78462const (
78463	// FeatureGroupSortOrderAscending is a FeatureGroupSortOrder enum value
78464	FeatureGroupSortOrderAscending = "Ascending"
78465
78466	// FeatureGroupSortOrderDescending is a FeatureGroupSortOrder enum value
78467	FeatureGroupSortOrderDescending = "Descending"
78468)
78469
78470// FeatureGroupSortOrder_Values returns all elements of the FeatureGroupSortOrder enum
78471func FeatureGroupSortOrder_Values() []string {
78472	return []string{
78473		FeatureGroupSortOrderAscending,
78474		FeatureGroupSortOrderDescending,
78475	}
78476}
78477
78478const (
78479	// FeatureGroupStatusCreating is a FeatureGroupStatus enum value
78480	FeatureGroupStatusCreating = "Creating"
78481
78482	// FeatureGroupStatusCreated is a FeatureGroupStatus enum value
78483	FeatureGroupStatusCreated = "Created"
78484
78485	// FeatureGroupStatusCreateFailed is a FeatureGroupStatus enum value
78486	FeatureGroupStatusCreateFailed = "CreateFailed"
78487
78488	// FeatureGroupStatusDeleting is a FeatureGroupStatus enum value
78489	FeatureGroupStatusDeleting = "Deleting"
78490
78491	// FeatureGroupStatusDeleteFailed is a FeatureGroupStatus enum value
78492	FeatureGroupStatusDeleteFailed = "DeleteFailed"
78493)
78494
78495// FeatureGroupStatus_Values returns all elements of the FeatureGroupStatus enum
78496func FeatureGroupStatus_Values() []string {
78497	return []string{
78498		FeatureGroupStatusCreating,
78499		FeatureGroupStatusCreated,
78500		FeatureGroupStatusCreateFailed,
78501		FeatureGroupStatusDeleting,
78502		FeatureGroupStatusDeleteFailed,
78503	}
78504}
78505
78506const (
78507	// FeatureTypeIntegral is a FeatureType enum value
78508	FeatureTypeIntegral = "Integral"
78509
78510	// FeatureTypeFractional is a FeatureType enum value
78511	FeatureTypeFractional = "Fractional"
78512
78513	// FeatureTypeString is a FeatureType enum value
78514	FeatureTypeString = "String"
78515)
78516
78517// FeatureType_Values returns all elements of the FeatureType enum
78518func FeatureType_Values() []string {
78519	return []string{
78520		FeatureTypeIntegral,
78521		FeatureTypeFractional,
78522		FeatureTypeString,
78523	}
78524}
78525
78526const (
78527	// FileSystemAccessModeRw is a FileSystemAccessMode enum value
78528	FileSystemAccessModeRw = "rw"
78529
78530	// FileSystemAccessModeRo is a FileSystemAccessMode enum value
78531	FileSystemAccessModeRo = "ro"
78532)
78533
78534// FileSystemAccessMode_Values returns all elements of the FileSystemAccessMode enum
78535func FileSystemAccessMode_Values() []string {
78536	return []string{
78537		FileSystemAccessModeRw,
78538		FileSystemAccessModeRo,
78539	}
78540}
78541
78542const (
78543	// FileSystemTypeEfs is a FileSystemType enum value
78544	FileSystemTypeEfs = "EFS"
78545
78546	// FileSystemTypeFsxLustre is a FileSystemType enum value
78547	FileSystemTypeFsxLustre = "FSxLustre"
78548)
78549
78550// FileSystemType_Values returns all elements of the FileSystemType enum
78551func FileSystemType_Values() []string {
78552	return []string{
78553		FileSystemTypeEfs,
78554		FileSystemTypeFsxLustre,
78555	}
78556}
78557
78558const (
78559	// FlowDefinitionStatusInitializing is a FlowDefinitionStatus enum value
78560	FlowDefinitionStatusInitializing = "Initializing"
78561
78562	// FlowDefinitionStatusActive is a FlowDefinitionStatus enum value
78563	FlowDefinitionStatusActive = "Active"
78564
78565	// FlowDefinitionStatusFailed is a FlowDefinitionStatus enum value
78566	FlowDefinitionStatusFailed = "Failed"
78567
78568	// FlowDefinitionStatusDeleting is a FlowDefinitionStatus enum value
78569	FlowDefinitionStatusDeleting = "Deleting"
78570)
78571
78572// FlowDefinitionStatus_Values returns all elements of the FlowDefinitionStatus enum
78573func FlowDefinitionStatus_Values() []string {
78574	return []string{
78575		FlowDefinitionStatusInitializing,
78576		FlowDefinitionStatusActive,
78577		FlowDefinitionStatusFailed,
78578		FlowDefinitionStatusDeleting,
78579	}
78580}
78581
78582const (
78583	// FrameworkTensorflow is a Framework enum value
78584	FrameworkTensorflow = "TENSORFLOW"
78585
78586	// FrameworkKeras is a Framework enum value
78587	FrameworkKeras = "KERAS"
78588
78589	// FrameworkMxnet is a Framework enum value
78590	FrameworkMxnet = "MXNET"
78591
78592	// FrameworkOnnx is a Framework enum value
78593	FrameworkOnnx = "ONNX"
78594
78595	// FrameworkPytorch is a Framework enum value
78596	FrameworkPytorch = "PYTORCH"
78597
78598	// FrameworkXgboost is a Framework enum value
78599	FrameworkXgboost = "XGBOOST"
78600
78601	// FrameworkTflite is a Framework enum value
78602	FrameworkTflite = "TFLITE"
78603
78604	// FrameworkDarknet is a Framework enum value
78605	FrameworkDarknet = "DARKNET"
78606
78607	// FrameworkSklearn is a Framework enum value
78608	FrameworkSklearn = "SKLEARN"
78609)
78610
78611// Framework_Values returns all elements of the Framework enum
78612func Framework_Values() []string {
78613	return []string{
78614		FrameworkTensorflow,
78615		FrameworkKeras,
78616		FrameworkMxnet,
78617		FrameworkOnnx,
78618		FrameworkPytorch,
78619		FrameworkXgboost,
78620		FrameworkTflite,
78621		FrameworkDarknet,
78622		FrameworkSklearn,
78623	}
78624}
78625
78626const (
78627	// HumanTaskUiStatusActive is a HumanTaskUiStatus enum value
78628	HumanTaskUiStatusActive = "Active"
78629
78630	// HumanTaskUiStatusDeleting is a HumanTaskUiStatus enum value
78631	HumanTaskUiStatusDeleting = "Deleting"
78632)
78633
78634// HumanTaskUiStatus_Values returns all elements of the HumanTaskUiStatus enum
78635func HumanTaskUiStatus_Values() []string {
78636	return []string{
78637		HumanTaskUiStatusActive,
78638		HumanTaskUiStatusDeleting,
78639	}
78640}
78641
78642const (
78643	// HyperParameterScalingTypeAuto is a HyperParameterScalingType enum value
78644	HyperParameterScalingTypeAuto = "Auto"
78645
78646	// HyperParameterScalingTypeLinear is a HyperParameterScalingType enum value
78647	HyperParameterScalingTypeLinear = "Linear"
78648
78649	// HyperParameterScalingTypeLogarithmic is a HyperParameterScalingType enum value
78650	HyperParameterScalingTypeLogarithmic = "Logarithmic"
78651
78652	// HyperParameterScalingTypeReverseLogarithmic is a HyperParameterScalingType enum value
78653	HyperParameterScalingTypeReverseLogarithmic = "ReverseLogarithmic"
78654)
78655
78656// HyperParameterScalingType_Values returns all elements of the HyperParameterScalingType enum
78657func HyperParameterScalingType_Values() []string {
78658	return []string{
78659		HyperParameterScalingTypeAuto,
78660		HyperParameterScalingTypeLinear,
78661		HyperParameterScalingTypeLogarithmic,
78662		HyperParameterScalingTypeReverseLogarithmic,
78663	}
78664}
78665
78666const (
78667	// HyperParameterTuningJobObjectiveTypeMaximize is a HyperParameterTuningJobObjectiveType enum value
78668	HyperParameterTuningJobObjectiveTypeMaximize = "Maximize"
78669
78670	// HyperParameterTuningJobObjectiveTypeMinimize is a HyperParameterTuningJobObjectiveType enum value
78671	HyperParameterTuningJobObjectiveTypeMinimize = "Minimize"
78672)
78673
78674// HyperParameterTuningJobObjectiveType_Values returns all elements of the HyperParameterTuningJobObjectiveType enum
78675func HyperParameterTuningJobObjectiveType_Values() []string {
78676	return []string{
78677		HyperParameterTuningJobObjectiveTypeMaximize,
78678		HyperParameterTuningJobObjectiveTypeMinimize,
78679	}
78680}
78681
78682const (
78683	// HyperParameterTuningJobSortByOptionsName is a HyperParameterTuningJobSortByOptions enum value
78684	HyperParameterTuningJobSortByOptionsName = "Name"
78685
78686	// HyperParameterTuningJobSortByOptionsStatus is a HyperParameterTuningJobSortByOptions enum value
78687	HyperParameterTuningJobSortByOptionsStatus = "Status"
78688
78689	// HyperParameterTuningJobSortByOptionsCreationTime is a HyperParameterTuningJobSortByOptions enum value
78690	HyperParameterTuningJobSortByOptionsCreationTime = "CreationTime"
78691)
78692
78693// HyperParameterTuningJobSortByOptions_Values returns all elements of the HyperParameterTuningJobSortByOptions enum
78694func HyperParameterTuningJobSortByOptions_Values() []string {
78695	return []string{
78696		HyperParameterTuningJobSortByOptionsName,
78697		HyperParameterTuningJobSortByOptionsStatus,
78698		HyperParameterTuningJobSortByOptionsCreationTime,
78699	}
78700}
78701
78702const (
78703	// HyperParameterTuningJobStatusCompleted is a HyperParameterTuningJobStatus enum value
78704	HyperParameterTuningJobStatusCompleted = "Completed"
78705
78706	// HyperParameterTuningJobStatusInProgress is a HyperParameterTuningJobStatus enum value
78707	HyperParameterTuningJobStatusInProgress = "InProgress"
78708
78709	// HyperParameterTuningJobStatusFailed is a HyperParameterTuningJobStatus enum value
78710	HyperParameterTuningJobStatusFailed = "Failed"
78711
78712	// HyperParameterTuningJobStatusStopped is a HyperParameterTuningJobStatus enum value
78713	HyperParameterTuningJobStatusStopped = "Stopped"
78714
78715	// HyperParameterTuningJobStatusStopping is a HyperParameterTuningJobStatus enum value
78716	HyperParameterTuningJobStatusStopping = "Stopping"
78717)
78718
78719// HyperParameterTuningJobStatus_Values returns all elements of the HyperParameterTuningJobStatus enum
78720func HyperParameterTuningJobStatus_Values() []string {
78721	return []string{
78722		HyperParameterTuningJobStatusCompleted,
78723		HyperParameterTuningJobStatusInProgress,
78724		HyperParameterTuningJobStatusFailed,
78725		HyperParameterTuningJobStatusStopped,
78726		HyperParameterTuningJobStatusStopping,
78727	}
78728}
78729
78730// The strategy hyperparameter tuning uses to find the best combination of hyperparameters
78731// for your model. Currently, the only supported value is Bayesian.
78732const (
78733	// HyperParameterTuningJobStrategyTypeBayesian is a HyperParameterTuningJobStrategyType enum value
78734	HyperParameterTuningJobStrategyTypeBayesian = "Bayesian"
78735
78736	// HyperParameterTuningJobStrategyTypeRandom is a HyperParameterTuningJobStrategyType enum value
78737	HyperParameterTuningJobStrategyTypeRandom = "Random"
78738)
78739
78740// HyperParameterTuningJobStrategyType_Values returns all elements of the HyperParameterTuningJobStrategyType enum
78741func HyperParameterTuningJobStrategyType_Values() []string {
78742	return []string{
78743		HyperParameterTuningJobStrategyTypeBayesian,
78744		HyperParameterTuningJobStrategyTypeRandom,
78745	}
78746}
78747
78748const (
78749	// HyperParameterTuningJobWarmStartTypeIdenticalDataAndAlgorithm is a HyperParameterTuningJobWarmStartType enum value
78750	HyperParameterTuningJobWarmStartTypeIdenticalDataAndAlgorithm = "IdenticalDataAndAlgorithm"
78751
78752	// HyperParameterTuningJobWarmStartTypeTransferLearning is a HyperParameterTuningJobWarmStartType enum value
78753	HyperParameterTuningJobWarmStartTypeTransferLearning = "TransferLearning"
78754)
78755
78756// HyperParameterTuningJobWarmStartType_Values returns all elements of the HyperParameterTuningJobWarmStartType enum
78757func HyperParameterTuningJobWarmStartType_Values() []string {
78758	return []string{
78759		HyperParameterTuningJobWarmStartTypeIdenticalDataAndAlgorithm,
78760		HyperParameterTuningJobWarmStartTypeTransferLearning,
78761	}
78762}
78763
78764const (
78765	// ImageSortByCreationTime is a ImageSortBy enum value
78766	ImageSortByCreationTime = "CREATION_TIME"
78767
78768	// ImageSortByLastModifiedTime is a ImageSortBy enum value
78769	ImageSortByLastModifiedTime = "LAST_MODIFIED_TIME"
78770
78771	// ImageSortByImageName is a ImageSortBy enum value
78772	ImageSortByImageName = "IMAGE_NAME"
78773)
78774
78775// ImageSortBy_Values returns all elements of the ImageSortBy enum
78776func ImageSortBy_Values() []string {
78777	return []string{
78778		ImageSortByCreationTime,
78779		ImageSortByLastModifiedTime,
78780		ImageSortByImageName,
78781	}
78782}
78783
78784const (
78785	// ImageSortOrderAscending is a ImageSortOrder enum value
78786	ImageSortOrderAscending = "ASCENDING"
78787
78788	// ImageSortOrderDescending is a ImageSortOrder enum value
78789	ImageSortOrderDescending = "DESCENDING"
78790)
78791
78792// ImageSortOrder_Values returns all elements of the ImageSortOrder enum
78793func ImageSortOrder_Values() []string {
78794	return []string{
78795		ImageSortOrderAscending,
78796		ImageSortOrderDescending,
78797	}
78798}
78799
78800const (
78801	// ImageStatusCreating is a ImageStatus enum value
78802	ImageStatusCreating = "CREATING"
78803
78804	// ImageStatusCreated is a ImageStatus enum value
78805	ImageStatusCreated = "CREATED"
78806
78807	// ImageStatusCreateFailed is a ImageStatus enum value
78808	ImageStatusCreateFailed = "CREATE_FAILED"
78809
78810	// ImageStatusUpdating is a ImageStatus enum value
78811	ImageStatusUpdating = "UPDATING"
78812
78813	// ImageStatusUpdateFailed is a ImageStatus enum value
78814	ImageStatusUpdateFailed = "UPDATE_FAILED"
78815
78816	// ImageStatusDeleting is a ImageStatus enum value
78817	ImageStatusDeleting = "DELETING"
78818
78819	// ImageStatusDeleteFailed is a ImageStatus enum value
78820	ImageStatusDeleteFailed = "DELETE_FAILED"
78821)
78822
78823// ImageStatus_Values returns all elements of the ImageStatus enum
78824func ImageStatus_Values() []string {
78825	return []string{
78826		ImageStatusCreating,
78827		ImageStatusCreated,
78828		ImageStatusCreateFailed,
78829		ImageStatusUpdating,
78830		ImageStatusUpdateFailed,
78831		ImageStatusDeleting,
78832		ImageStatusDeleteFailed,
78833	}
78834}
78835
78836const (
78837	// ImageVersionSortByCreationTime is a ImageVersionSortBy enum value
78838	ImageVersionSortByCreationTime = "CREATION_TIME"
78839
78840	// ImageVersionSortByLastModifiedTime is a ImageVersionSortBy enum value
78841	ImageVersionSortByLastModifiedTime = "LAST_MODIFIED_TIME"
78842
78843	// ImageVersionSortByVersion is a ImageVersionSortBy enum value
78844	ImageVersionSortByVersion = "VERSION"
78845)
78846
78847// ImageVersionSortBy_Values returns all elements of the ImageVersionSortBy enum
78848func ImageVersionSortBy_Values() []string {
78849	return []string{
78850		ImageVersionSortByCreationTime,
78851		ImageVersionSortByLastModifiedTime,
78852		ImageVersionSortByVersion,
78853	}
78854}
78855
78856const (
78857	// ImageVersionSortOrderAscending is a ImageVersionSortOrder enum value
78858	ImageVersionSortOrderAscending = "ASCENDING"
78859
78860	// ImageVersionSortOrderDescending is a ImageVersionSortOrder enum value
78861	ImageVersionSortOrderDescending = "DESCENDING"
78862)
78863
78864// ImageVersionSortOrder_Values returns all elements of the ImageVersionSortOrder enum
78865func ImageVersionSortOrder_Values() []string {
78866	return []string{
78867		ImageVersionSortOrderAscending,
78868		ImageVersionSortOrderDescending,
78869	}
78870}
78871
78872const (
78873	// ImageVersionStatusCreating is a ImageVersionStatus enum value
78874	ImageVersionStatusCreating = "CREATING"
78875
78876	// ImageVersionStatusCreated is a ImageVersionStatus enum value
78877	ImageVersionStatusCreated = "CREATED"
78878
78879	// ImageVersionStatusCreateFailed is a ImageVersionStatus enum value
78880	ImageVersionStatusCreateFailed = "CREATE_FAILED"
78881
78882	// ImageVersionStatusDeleting is a ImageVersionStatus enum value
78883	ImageVersionStatusDeleting = "DELETING"
78884
78885	// ImageVersionStatusDeleteFailed is a ImageVersionStatus enum value
78886	ImageVersionStatusDeleteFailed = "DELETE_FAILED"
78887)
78888
78889// ImageVersionStatus_Values returns all elements of the ImageVersionStatus enum
78890func ImageVersionStatus_Values() []string {
78891	return []string{
78892		ImageVersionStatusCreating,
78893		ImageVersionStatusCreated,
78894		ImageVersionStatusCreateFailed,
78895		ImageVersionStatusDeleting,
78896		ImageVersionStatusDeleteFailed,
78897	}
78898}
78899
78900const (
78901	// InferenceExecutionModeSerial is a InferenceExecutionMode enum value
78902	InferenceExecutionModeSerial = "Serial"
78903
78904	// InferenceExecutionModeDirect is a InferenceExecutionMode enum value
78905	InferenceExecutionModeDirect = "Direct"
78906)
78907
78908// InferenceExecutionMode_Values returns all elements of the InferenceExecutionMode enum
78909func InferenceExecutionMode_Values() []string {
78910	return []string{
78911		InferenceExecutionModeSerial,
78912		InferenceExecutionModeDirect,
78913	}
78914}
78915
78916const (
78917	// InputModePipe is a InputMode enum value
78918	InputModePipe = "Pipe"
78919
78920	// InputModeFile is a InputMode enum value
78921	InputModeFile = "File"
78922)
78923
78924// InputMode_Values returns all elements of the InputMode enum
78925func InputMode_Values() []string {
78926	return []string{
78927		InputModePipe,
78928		InputModeFile,
78929	}
78930}
78931
78932const (
78933	// InstanceTypeMlT2Medium is a InstanceType enum value
78934	InstanceTypeMlT2Medium = "ml.t2.medium"
78935
78936	// InstanceTypeMlT2Large is a InstanceType enum value
78937	InstanceTypeMlT2Large = "ml.t2.large"
78938
78939	// InstanceTypeMlT2Xlarge is a InstanceType enum value
78940	InstanceTypeMlT2Xlarge = "ml.t2.xlarge"
78941
78942	// InstanceTypeMlT22xlarge is a InstanceType enum value
78943	InstanceTypeMlT22xlarge = "ml.t2.2xlarge"
78944
78945	// InstanceTypeMlT3Medium is a InstanceType enum value
78946	InstanceTypeMlT3Medium = "ml.t3.medium"
78947
78948	// InstanceTypeMlT3Large is a InstanceType enum value
78949	InstanceTypeMlT3Large = "ml.t3.large"
78950
78951	// InstanceTypeMlT3Xlarge is a InstanceType enum value
78952	InstanceTypeMlT3Xlarge = "ml.t3.xlarge"
78953
78954	// InstanceTypeMlT32xlarge is a InstanceType enum value
78955	InstanceTypeMlT32xlarge = "ml.t3.2xlarge"
78956
78957	// InstanceTypeMlM4Xlarge is a InstanceType enum value
78958	InstanceTypeMlM4Xlarge = "ml.m4.xlarge"
78959
78960	// InstanceTypeMlM42xlarge is a InstanceType enum value
78961	InstanceTypeMlM42xlarge = "ml.m4.2xlarge"
78962
78963	// InstanceTypeMlM44xlarge is a InstanceType enum value
78964	InstanceTypeMlM44xlarge = "ml.m4.4xlarge"
78965
78966	// InstanceTypeMlM410xlarge is a InstanceType enum value
78967	InstanceTypeMlM410xlarge = "ml.m4.10xlarge"
78968
78969	// InstanceTypeMlM416xlarge is a InstanceType enum value
78970	InstanceTypeMlM416xlarge = "ml.m4.16xlarge"
78971
78972	// InstanceTypeMlM5Xlarge is a InstanceType enum value
78973	InstanceTypeMlM5Xlarge = "ml.m5.xlarge"
78974
78975	// InstanceTypeMlM52xlarge is a InstanceType enum value
78976	InstanceTypeMlM52xlarge = "ml.m5.2xlarge"
78977
78978	// InstanceTypeMlM54xlarge is a InstanceType enum value
78979	InstanceTypeMlM54xlarge = "ml.m5.4xlarge"
78980
78981	// InstanceTypeMlM512xlarge is a InstanceType enum value
78982	InstanceTypeMlM512xlarge = "ml.m5.12xlarge"
78983
78984	// InstanceTypeMlM524xlarge is a InstanceType enum value
78985	InstanceTypeMlM524xlarge = "ml.m5.24xlarge"
78986
78987	// InstanceTypeMlC4Xlarge is a InstanceType enum value
78988	InstanceTypeMlC4Xlarge = "ml.c4.xlarge"
78989
78990	// InstanceTypeMlC42xlarge is a InstanceType enum value
78991	InstanceTypeMlC42xlarge = "ml.c4.2xlarge"
78992
78993	// InstanceTypeMlC44xlarge is a InstanceType enum value
78994	InstanceTypeMlC44xlarge = "ml.c4.4xlarge"
78995
78996	// InstanceTypeMlC48xlarge is a InstanceType enum value
78997	InstanceTypeMlC48xlarge = "ml.c4.8xlarge"
78998
78999	// InstanceTypeMlC5Xlarge is a InstanceType enum value
79000	InstanceTypeMlC5Xlarge = "ml.c5.xlarge"
79001
79002	// InstanceTypeMlC52xlarge is a InstanceType enum value
79003	InstanceTypeMlC52xlarge = "ml.c5.2xlarge"
79004
79005	// InstanceTypeMlC54xlarge is a InstanceType enum value
79006	InstanceTypeMlC54xlarge = "ml.c5.4xlarge"
79007
79008	// InstanceTypeMlC59xlarge is a InstanceType enum value
79009	InstanceTypeMlC59xlarge = "ml.c5.9xlarge"
79010
79011	// InstanceTypeMlC518xlarge is a InstanceType enum value
79012	InstanceTypeMlC518xlarge = "ml.c5.18xlarge"
79013
79014	// InstanceTypeMlC5dXlarge is a InstanceType enum value
79015	InstanceTypeMlC5dXlarge = "ml.c5d.xlarge"
79016
79017	// InstanceTypeMlC5d2xlarge is a InstanceType enum value
79018	InstanceTypeMlC5d2xlarge = "ml.c5d.2xlarge"
79019
79020	// InstanceTypeMlC5d4xlarge is a InstanceType enum value
79021	InstanceTypeMlC5d4xlarge = "ml.c5d.4xlarge"
79022
79023	// InstanceTypeMlC5d9xlarge is a InstanceType enum value
79024	InstanceTypeMlC5d9xlarge = "ml.c5d.9xlarge"
79025
79026	// InstanceTypeMlC5d18xlarge is a InstanceType enum value
79027	InstanceTypeMlC5d18xlarge = "ml.c5d.18xlarge"
79028
79029	// InstanceTypeMlP2Xlarge is a InstanceType enum value
79030	InstanceTypeMlP2Xlarge = "ml.p2.xlarge"
79031
79032	// InstanceTypeMlP28xlarge is a InstanceType enum value
79033	InstanceTypeMlP28xlarge = "ml.p2.8xlarge"
79034
79035	// InstanceTypeMlP216xlarge is a InstanceType enum value
79036	InstanceTypeMlP216xlarge = "ml.p2.16xlarge"
79037
79038	// InstanceTypeMlP32xlarge is a InstanceType enum value
79039	InstanceTypeMlP32xlarge = "ml.p3.2xlarge"
79040
79041	// InstanceTypeMlP38xlarge is a InstanceType enum value
79042	InstanceTypeMlP38xlarge = "ml.p3.8xlarge"
79043
79044	// InstanceTypeMlP316xlarge is a InstanceType enum value
79045	InstanceTypeMlP316xlarge = "ml.p3.16xlarge"
79046)
79047
79048// InstanceType_Values returns all elements of the InstanceType enum
79049func InstanceType_Values() []string {
79050	return []string{
79051		InstanceTypeMlT2Medium,
79052		InstanceTypeMlT2Large,
79053		InstanceTypeMlT2Xlarge,
79054		InstanceTypeMlT22xlarge,
79055		InstanceTypeMlT3Medium,
79056		InstanceTypeMlT3Large,
79057		InstanceTypeMlT3Xlarge,
79058		InstanceTypeMlT32xlarge,
79059		InstanceTypeMlM4Xlarge,
79060		InstanceTypeMlM42xlarge,
79061		InstanceTypeMlM44xlarge,
79062		InstanceTypeMlM410xlarge,
79063		InstanceTypeMlM416xlarge,
79064		InstanceTypeMlM5Xlarge,
79065		InstanceTypeMlM52xlarge,
79066		InstanceTypeMlM54xlarge,
79067		InstanceTypeMlM512xlarge,
79068		InstanceTypeMlM524xlarge,
79069		InstanceTypeMlC4Xlarge,
79070		InstanceTypeMlC42xlarge,
79071		InstanceTypeMlC44xlarge,
79072		InstanceTypeMlC48xlarge,
79073		InstanceTypeMlC5Xlarge,
79074		InstanceTypeMlC52xlarge,
79075		InstanceTypeMlC54xlarge,
79076		InstanceTypeMlC59xlarge,
79077		InstanceTypeMlC518xlarge,
79078		InstanceTypeMlC5dXlarge,
79079		InstanceTypeMlC5d2xlarge,
79080		InstanceTypeMlC5d4xlarge,
79081		InstanceTypeMlC5d9xlarge,
79082		InstanceTypeMlC5d18xlarge,
79083		InstanceTypeMlP2Xlarge,
79084		InstanceTypeMlP28xlarge,
79085		InstanceTypeMlP216xlarge,
79086		InstanceTypeMlP32xlarge,
79087		InstanceTypeMlP38xlarge,
79088		InstanceTypeMlP316xlarge,
79089	}
79090}
79091
79092const (
79093	// JoinSourceInput is a JoinSource enum value
79094	JoinSourceInput = "Input"
79095
79096	// JoinSourceNone is a JoinSource enum value
79097	JoinSourceNone = "None"
79098)
79099
79100// JoinSource_Values returns all elements of the JoinSource enum
79101func JoinSource_Values() []string {
79102	return []string{
79103		JoinSourceInput,
79104		JoinSourceNone,
79105	}
79106}
79107
79108const (
79109	// LabelingJobStatusInitializing is a LabelingJobStatus enum value
79110	LabelingJobStatusInitializing = "Initializing"
79111
79112	// LabelingJobStatusInProgress is a LabelingJobStatus enum value
79113	LabelingJobStatusInProgress = "InProgress"
79114
79115	// LabelingJobStatusCompleted is a LabelingJobStatus enum value
79116	LabelingJobStatusCompleted = "Completed"
79117
79118	// LabelingJobStatusFailed is a LabelingJobStatus enum value
79119	LabelingJobStatusFailed = "Failed"
79120
79121	// LabelingJobStatusStopping is a LabelingJobStatus enum value
79122	LabelingJobStatusStopping = "Stopping"
79123
79124	// LabelingJobStatusStopped is a LabelingJobStatus enum value
79125	LabelingJobStatusStopped = "Stopped"
79126)
79127
79128// LabelingJobStatus_Values returns all elements of the LabelingJobStatus enum
79129func LabelingJobStatus_Values() []string {
79130	return []string{
79131		LabelingJobStatusInitializing,
79132		LabelingJobStatusInProgress,
79133		LabelingJobStatusCompleted,
79134		LabelingJobStatusFailed,
79135		LabelingJobStatusStopping,
79136		LabelingJobStatusStopped,
79137	}
79138}
79139
79140const (
79141	// ListCompilationJobsSortByName is a ListCompilationJobsSortBy enum value
79142	ListCompilationJobsSortByName = "Name"
79143
79144	// ListCompilationJobsSortByCreationTime is a ListCompilationJobsSortBy enum value
79145	ListCompilationJobsSortByCreationTime = "CreationTime"
79146
79147	// ListCompilationJobsSortByStatus is a ListCompilationJobsSortBy enum value
79148	ListCompilationJobsSortByStatus = "Status"
79149)
79150
79151// ListCompilationJobsSortBy_Values returns all elements of the ListCompilationJobsSortBy enum
79152func ListCompilationJobsSortBy_Values() []string {
79153	return []string{
79154		ListCompilationJobsSortByName,
79155		ListCompilationJobsSortByCreationTime,
79156		ListCompilationJobsSortByStatus,
79157	}
79158}
79159
79160const (
79161	// ListDeviceFleetsSortByName is a ListDeviceFleetsSortBy enum value
79162	ListDeviceFleetsSortByName = "NAME"
79163
79164	// ListDeviceFleetsSortByCreationTime is a ListDeviceFleetsSortBy enum value
79165	ListDeviceFleetsSortByCreationTime = "CREATION_TIME"
79166
79167	// ListDeviceFleetsSortByLastModifiedTime is a ListDeviceFleetsSortBy enum value
79168	ListDeviceFleetsSortByLastModifiedTime = "LAST_MODIFIED_TIME"
79169)
79170
79171// ListDeviceFleetsSortBy_Values returns all elements of the ListDeviceFleetsSortBy enum
79172func ListDeviceFleetsSortBy_Values() []string {
79173	return []string{
79174		ListDeviceFleetsSortByName,
79175		ListDeviceFleetsSortByCreationTime,
79176		ListDeviceFleetsSortByLastModifiedTime,
79177	}
79178}
79179
79180const (
79181	// ListEdgePackagingJobsSortByName is a ListEdgePackagingJobsSortBy enum value
79182	ListEdgePackagingJobsSortByName = "NAME"
79183
79184	// ListEdgePackagingJobsSortByModelName is a ListEdgePackagingJobsSortBy enum value
79185	ListEdgePackagingJobsSortByModelName = "MODEL_NAME"
79186
79187	// ListEdgePackagingJobsSortByCreationTime is a ListEdgePackagingJobsSortBy enum value
79188	ListEdgePackagingJobsSortByCreationTime = "CREATION_TIME"
79189
79190	// ListEdgePackagingJobsSortByLastModifiedTime is a ListEdgePackagingJobsSortBy enum value
79191	ListEdgePackagingJobsSortByLastModifiedTime = "LAST_MODIFIED_TIME"
79192
79193	// ListEdgePackagingJobsSortByStatus is a ListEdgePackagingJobsSortBy enum value
79194	ListEdgePackagingJobsSortByStatus = "STATUS"
79195)
79196
79197// ListEdgePackagingJobsSortBy_Values returns all elements of the ListEdgePackagingJobsSortBy enum
79198func ListEdgePackagingJobsSortBy_Values() []string {
79199	return []string{
79200		ListEdgePackagingJobsSortByName,
79201		ListEdgePackagingJobsSortByModelName,
79202		ListEdgePackagingJobsSortByCreationTime,
79203		ListEdgePackagingJobsSortByLastModifiedTime,
79204		ListEdgePackagingJobsSortByStatus,
79205	}
79206}
79207
79208const (
79209	// ListLabelingJobsForWorkteamSortByOptionsCreationTime is a ListLabelingJobsForWorkteamSortByOptions enum value
79210	ListLabelingJobsForWorkteamSortByOptionsCreationTime = "CreationTime"
79211)
79212
79213// ListLabelingJobsForWorkteamSortByOptions_Values returns all elements of the ListLabelingJobsForWorkteamSortByOptions enum
79214func ListLabelingJobsForWorkteamSortByOptions_Values() []string {
79215	return []string{
79216		ListLabelingJobsForWorkteamSortByOptionsCreationTime,
79217	}
79218}
79219
79220const (
79221	// ListWorkforcesSortByOptionsName is a ListWorkforcesSortByOptions enum value
79222	ListWorkforcesSortByOptionsName = "Name"
79223
79224	// ListWorkforcesSortByOptionsCreateDate is a ListWorkforcesSortByOptions enum value
79225	ListWorkforcesSortByOptionsCreateDate = "CreateDate"
79226)
79227
79228// ListWorkforcesSortByOptions_Values returns all elements of the ListWorkforcesSortByOptions enum
79229func ListWorkforcesSortByOptions_Values() []string {
79230	return []string{
79231		ListWorkforcesSortByOptionsName,
79232		ListWorkforcesSortByOptionsCreateDate,
79233	}
79234}
79235
79236const (
79237	// ListWorkteamsSortByOptionsName is a ListWorkteamsSortByOptions enum value
79238	ListWorkteamsSortByOptionsName = "Name"
79239
79240	// ListWorkteamsSortByOptionsCreateDate is a ListWorkteamsSortByOptions enum value
79241	ListWorkteamsSortByOptionsCreateDate = "CreateDate"
79242)
79243
79244// ListWorkteamsSortByOptions_Values returns all elements of the ListWorkteamsSortByOptions enum
79245func ListWorkteamsSortByOptions_Values() []string {
79246	return []string{
79247		ListWorkteamsSortByOptionsName,
79248		ListWorkteamsSortByOptionsCreateDate,
79249	}
79250}
79251
79252const (
79253	// ModelApprovalStatusApproved is a ModelApprovalStatus enum value
79254	ModelApprovalStatusApproved = "Approved"
79255
79256	// ModelApprovalStatusRejected is a ModelApprovalStatus enum value
79257	ModelApprovalStatusRejected = "Rejected"
79258
79259	// ModelApprovalStatusPendingManualApproval is a ModelApprovalStatus enum value
79260	ModelApprovalStatusPendingManualApproval = "PendingManualApproval"
79261)
79262
79263// ModelApprovalStatus_Values returns all elements of the ModelApprovalStatus enum
79264func ModelApprovalStatus_Values() []string {
79265	return []string{
79266		ModelApprovalStatusApproved,
79267		ModelApprovalStatusRejected,
79268		ModelApprovalStatusPendingManualApproval,
79269	}
79270}
79271
79272const (
79273	// ModelCacheSettingEnabled is a ModelCacheSetting enum value
79274	ModelCacheSettingEnabled = "Enabled"
79275
79276	// ModelCacheSettingDisabled is a ModelCacheSetting enum value
79277	ModelCacheSettingDisabled = "Disabled"
79278)
79279
79280// ModelCacheSetting_Values returns all elements of the ModelCacheSetting enum
79281func ModelCacheSetting_Values() []string {
79282	return []string{
79283		ModelCacheSettingEnabled,
79284		ModelCacheSettingDisabled,
79285	}
79286}
79287
79288const (
79289	// ModelPackageGroupSortByName is a ModelPackageGroupSortBy enum value
79290	ModelPackageGroupSortByName = "Name"
79291
79292	// ModelPackageGroupSortByCreationTime is a ModelPackageGroupSortBy enum value
79293	ModelPackageGroupSortByCreationTime = "CreationTime"
79294)
79295
79296// ModelPackageGroupSortBy_Values returns all elements of the ModelPackageGroupSortBy enum
79297func ModelPackageGroupSortBy_Values() []string {
79298	return []string{
79299		ModelPackageGroupSortByName,
79300		ModelPackageGroupSortByCreationTime,
79301	}
79302}
79303
79304const (
79305	// ModelPackageGroupStatusPending is a ModelPackageGroupStatus enum value
79306	ModelPackageGroupStatusPending = "Pending"
79307
79308	// ModelPackageGroupStatusInProgress is a ModelPackageGroupStatus enum value
79309	ModelPackageGroupStatusInProgress = "InProgress"
79310
79311	// ModelPackageGroupStatusCompleted is a ModelPackageGroupStatus enum value
79312	ModelPackageGroupStatusCompleted = "Completed"
79313
79314	// ModelPackageGroupStatusFailed is a ModelPackageGroupStatus enum value
79315	ModelPackageGroupStatusFailed = "Failed"
79316
79317	// ModelPackageGroupStatusDeleting is a ModelPackageGroupStatus enum value
79318	ModelPackageGroupStatusDeleting = "Deleting"
79319
79320	// ModelPackageGroupStatusDeleteFailed is a ModelPackageGroupStatus enum value
79321	ModelPackageGroupStatusDeleteFailed = "DeleteFailed"
79322)
79323
79324// ModelPackageGroupStatus_Values returns all elements of the ModelPackageGroupStatus enum
79325func ModelPackageGroupStatus_Values() []string {
79326	return []string{
79327		ModelPackageGroupStatusPending,
79328		ModelPackageGroupStatusInProgress,
79329		ModelPackageGroupStatusCompleted,
79330		ModelPackageGroupStatusFailed,
79331		ModelPackageGroupStatusDeleting,
79332		ModelPackageGroupStatusDeleteFailed,
79333	}
79334}
79335
79336const (
79337	// ModelPackageSortByName is a ModelPackageSortBy enum value
79338	ModelPackageSortByName = "Name"
79339
79340	// ModelPackageSortByCreationTime is a ModelPackageSortBy enum value
79341	ModelPackageSortByCreationTime = "CreationTime"
79342)
79343
79344// ModelPackageSortBy_Values returns all elements of the ModelPackageSortBy enum
79345func ModelPackageSortBy_Values() []string {
79346	return []string{
79347		ModelPackageSortByName,
79348		ModelPackageSortByCreationTime,
79349	}
79350}
79351
79352const (
79353	// ModelPackageStatusPending is a ModelPackageStatus enum value
79354	ModelPackageStatusPending = "Pending"
79355
79356	// ModelPackageStatusInProgress is a ModelPackageStatus enum value
79357	ModelPackageStatusInProgress = "InProgress"
79358
79359	// ModelPackageStatusCompleted is a ModelPackageStatus enum value
79360	ModelPackageStatusCompleted = "Completed"
79361
79362	// ModelPackageStatusFailed is a ModelPackageStatus enum value
79363	ModelPackageStatusFailed = "Failed"
79364
79365	// ModelPackageStatusDeleting is a ModelPackageStatus enum value
79366	ModelPackageStatusDeleting = "Deleting"
79367)
79368
79369// ModelPackageStatus_Values returns all elements of the ModelPackageStatus enum
79370func ModelPackageStatus_Values() []string {
79371	return []string{
79372		ModelPackageStatusPending,
79373		ModelPackageStatusInProgress,
79374		ModelPackageStatusCompleted,
79375		ModelPackageStatusFailed,
79376		ModelPackageStatusDeleting,
79377	}
79378}
79379
79380const (
79381	// ModelPackageTypeVersioned is a ModelPackageType enum value
79382	ModelPackageTypeVersioned = "Versioned"
79383
79384	// ModelPackageTypeUnversioned is a ModelPackageType enum value
79385	ModelPackageTypeUnversioned = "Unversioned"
79386
79387	// ModelPackageTypeBoth is a ModelPackageType enum value
79388	ModelPackageTypeBoth = "Both"
79389)
79390
79391// ModelPackageType_Values returns all elements of the ModelPackageType enum
79392func ModelPackageType_Values() []string {
79393	return []string{
79394		ModelPackageTypeVersioned,
79395		ModelPackageTypeUnversioned,
79396		ModelPackageTypeBoth,
79397	}
79398}
79399
79400const (
79401	// ModelSortKeyName is a ModelSortKey enum value
79402	ModelSortKeyName = "Name"
79403
79404	// ModelSortKeyCreationTime is a ModelSortKey enum value
79405	ModelSortKeyCreationTime = "CreationTime"
79406)
79407
79408// ModelSortKey_Values returns all elements of the ModelSortKey enum
79409func ModelSortKey_Values() []string {
79410	return []string{
79411		ModelSortKeyName,
79412		ModelSortKeyCreationTime,
79413	}
79414}
79415
79416const (
79417	// MonitoringExecutionSortKeyCreationTime is a MonitoringExecutionSortKey enum value
79418	MonitoringExecutionSortKeyCreationTime = "CreationTime"
79419
79420	// MonitoringExecutionSortKeyScheduledTime is a MonitoringExecutionSortKey enum value
79421	MonitoringExecutionSortKeyScheduledTime = "ScheduledTime"
79422
79423	// MonitoringExecutionSortKeyStatus is a MonitoringExecutionSortKey enum value
79424	MonitoringExecutionSortKeyStatus = "Status"
79425)
79426
79427// MonitoringExecutionSortKey_Values returns all elements of the MonitoringExecutionSortKey enum
79428func MonitoringExecutionSortKey_Values() []string {
79429	return []string{
79430		MonitoringExecutionSortKeyCreationTime,
79431		MonitoringExecutionSortKeyScheduledTime,
79432		MonitoringExecutionSortKeyStatus,
79433	}
79434}
79435
79436const (
79437	// MonitoringJobDefinitionSortKeyName is a MonitoringJobDefinitionSortKey enum value
79438	MonitoringJobDefinitionSortKeyName = "Name"
79439
79440	// MonitoringJobDefinitionSortKeyCreationTime is a MonitoringJobDefinitionSortKey enum value
79441	MonitoringJobDefinitionSortKeyCreationTime = "CreationTime"
79442)
79443
79444// MonitoringJobDefinitionSortKey_Values returns all elements of the MonitoringJobDefinitionSortKey enum
79445func MonitoringJobDefinitionSortKey_Values() []string {
79446	return []string{
79447		MonitoringJobDefinitionSortKeyName,
79448		MonitoringJobDefinitionSortKeyCreationTime,
79449	}
79450}
79451
79452const (
79453	// MonitoringProblemTypeBinaryClassification is a MonitoringProblemType enum value
79454	MonitoringProblemTypeBinaryClassification = "BinaryClassification"
79455
79456	// MonitoringProblemTypeMulticlassClassification is a MonitoringProblemType enum value
79457	MonitoringProblemTypeMulticlassClassification = "MulticlassClassification"
79458
79459	// MonitoringProblemTypeRegression is a MonitoringProblemType enum value
79460	MonitoringProblemTypeRegression = "Regression"
79461)
79462
79463// MonitoringProblemType_Values returns all elements of the MonitoringProblemType enum
79464func MonitoringProblemType_Values() []string {
79465	return []string{
79466		MonitoringProblemTypeBinaryClassification,
79467		MonitoringProblemTypeMulticlassClassification,
79468		MonitoringProblemTypeRegression,
79469	}
79470}
79471
79472const (
79473	// MonitoringScheduleSortKeyName is a MonitoringScheduleSortKey enum value
79474	MonitoringScheduleSortKeyName = "Name"
79475
79476	// MonitoringScheduleSortKeyCreationTime is a MonitoringScheduleSortKey enum value
79477	MonitoringScheduleSortKeyCreationTime = "CreationTime"
79478
79479	// MonitoringScheduleSortKeyStatus is a MonitoringScheduleSortKey enum value
79480	MonitoringScheduleSortKeyStatus = "Status"
79481)
79482
79483// MonitoringScheduleSortKey_Values returns all elements of the MonitoringScheduleSortKey enum
79484func MonitoringScheduleSortKey_Values() []string {
79485	return []string{
79486		MonitoringScheduleSortKeyName,
79487		MonitoringScheduleSortKeyCreationTime,
79488		MonitoringScheduleSortKeyStatus,
79489	}
79490}
79491
79492const (
79493	// MonitoringTypeDataQuality is a MonitoringType enum value
79494	MonitoringTypeDataQuality = "DataQuality"
79495
79496	// MonitoringTypeModelQuality is a MonitoringType enum value
79497	MonitoringTypeModelQuality = "ModelQuality"
79498
79499	// MonitoringTypeModelBias is a MonitoringType enum value
79500	MonitoringTypeModelBias = "ModelBias"
79501
79502	// MonitoringTypeModelExplainability is a MonitoringType enum value
79503	MonitoringTypeModelExplainability = "ModelExplainability"
79504)
79505
79506// MonitoringType_Values returns all elements of the MonitoringType enum
79507func MonitoringType_Values() []string {
79508	return []string{
79509		MonitoringTypeDataQuality,
79510		MonitoringTypeModelQuality,
79511		MonitoringTypeModelBias,
79512		MonitoringTypeModelExplainability,
79513	}
79514}
79515
79516const (
79517	// NotebookInstanceAcceleratorTypeMlEia1Medium is a NotebookInstanceAcceleratorType enum value
79518	NotebookInstanceAcceleratorTypeMlEia1Medium = "ml.eia1.medium"
79519
79520	// NotebookInstanceAcceleratorTypeMlEia1Large is a NotebookInstanceAcceleratorType enum value
79521	NotebookInstanceAcceleratorTypeMlEia1Large = "ml.eia1.large"
79522
79523	// NotebookInstanceAcceleratorTypeMlEia1Xlarge is a NotebookInstanceAcceleratorType enum value
79524	NotebookInstanceAcceleratorTypeMlEia1Xlarge = "ml.eia1.xlarge"
79525
79526	// NotebookInstanceAcceleratorTypeMlEia2Medium is a NotebookInstanceAcceleratorType enum value
79527	NotebookInstanceAcceleratorTypeMlEia2Medium = "ml.eia2.medium"
79528
79529	// NotebookInstanceAcceleratorTypeMlEia2Large is a NotebookInstanceAcceleratorType enum value
79530	NotebookInstanceAcceleratorTypeMlEia2Large = "ml.eia2.large"
79531
79532	// NotebookInstanceAcceleratorTypeMlEia2Xlarge is a NotebookInstanceAcceleratorType enum value
79533	NotebookInstanceAcceleratorTypeMlEia2Xlarge = "ml.eia2.xlarge"
79534)
79535
79536// NotebookInstanceAcceleratorType_Values returns all elements of the NotebookInstanceAcceleratorType enum
79537func NotebookInstanceAcceleratorType_Values() []string {
79538	return []string{
79539		NotebookInstanceAcceleratorTypeMlEia1Medium,
79540		NotebookInstanceAcceleratorTypeMlEia1Large,
79541		NotebookInstanceAcceleratorTypeMlEia1Xlarge,
79542		NotebookInstanceAcceleratorTypeMlEia2Medium,
79543		NotebookInstanceAcceleratorTypeMlEia2Large,
79544		NotebookInstanceAcceleratorTypeMlEia2Xlarge,
79545	}
79546}
79547
79548const (
79549	// NotebookInstanceLifecycleConfigSortKeyName is a NotebookInstanceLifecycleConfigSortKey enum value
79550	NotebookInstanceLifecycleConfigSortKeyName = "Name"
79551
79552	// NotebookInstanceLifecycleConfigSortKeyCreationTime is a NotebookInstanceLifecycleConfigSortKey enum value
79553	NotebookInstanceLifecycleConfigSortKeyCreationTime = "CreationTime"
79554
79555	// NotebookInstanceLifecycleConfigSortKeyLastModifiedTime is a NotebookInstanceLifecycleConfigSortKey enum value
79556	NotebookInstanceLifecycleConfigSortKeyLastModifiedTime = "LastModifiedTime"
79557)
79558
79559// NotebookInstanceLifecycleConfigSortKey_Values returns all elements of the NotebookInstanceLifecycleConfigSortKey enum
79560func NotebookInstanceLifecycleConfigSortKey_Values() []string {
79561	return []string{
79562		NotebookInstanceLifecycleConfigSortKeyName,
79563		NotebookInstanceLifecycleConfigSortKeyCreationTime,
79564		NotebookInstanceLifecycleConfigSortKeyLastModifiedTime,
79565	}
79566}
79567
79568const (
79569	// NotebookInstanceLifecycleConfigSortOrderAscending is a NotebookInstanceLifecycleConfigSortOrder enum value
79570	NotebookInstanceLifecycleConfigSortOrderAscending = "Ascending"
79571
79572	// NotebookInstanceLifecycleConfigSortOrderDescending is a NotebookInstanceLifecycleConfigSortOrder enum value
79573	NotebookInstanceLifecycleConfigSortOrderDescending = "Descending"
79574)
79575
79576// NotebookInstanceLifecycleConfigSortOrder_Values returns all elements of the NotebookInstanceLifecycleConfigSortOrder enum
79577func NotebookInstanceLifecycleConfigSortOrder_Values() []string {
79578	return []string{
79579		NotebookInstanceLifecycleConfigSortOrderAscending,
79580		NotebookInstanceLifecycleConfigSortOrderDescending,
79581	}
79582}
79583
79584const (
79585	// NotebookInstanceSortKeyName is a NotebookInstanceSortKey enum value
79586	NotebookInstanceSortKeyName = "Name"
79587
79588	// NotebookInstanceSortKeyCreationTime is a NotebookInstanceSortKey enum value
79589	NotebookInstanceSortKeyCreationTime = "CreationTime"
79590
79591	// NotebookInstanceSortKeyStatus is a NotebookInstanceSortKey enum value
79592	NotebookInstanceSortKeyStatus = "Status"
79593)
79594
79595// NotebookInstanceSortKey_Values returns all elements of the NotebookInstanceSortKey enum
79596func NotebookInstanceSortKey_Values() []string {
79597	return []string{
79598		NotebookInstanceSortKeyName,
79599		NotebookInstanceSortKeyCreationTime,
79600		NotebookInstanceSortKeyStatus,
79601	}
79602}
79603
79604const (
79605	// NotebookInstanceSortOrderAscending is a NotebookInstanceSortOrder enum value
79606	NotebookInstanceSortOrderAscending = "Ascending"
79607
79608	// NotebookInstanceSortOrderDescending is a NotebookInstanceSortOrder enum value
79609	NotebookInstanceSortOrderDescending = "Descending"
79610)
79611
79612// NotebookInstanceSortOrder_Values returns all elements of the NotebookInstanceSortOrder enum
79613func NotebookInstanceSortOrder_Values() []string {
79614	return []string{
79615		NotebookInstanceSortOrderAscending,
79616		NotebookInstanceSortOrderDescending,
79617	}
79618}
79619
79620const (
79621	// NotebookInstanceStatusPending is a NotebookInstanceStatus enum value
79622	NotebookInstanceStatusPending = "Pending"
79623
79624	// NotebookInstanceStatusInService is a NotebookInstanceStatus enum value
79625	NotebookInstanceStatusInService = "InService"
79626
79627	// NotebookInstanceStatusStopping is a NotebookInstanceStatus enum value
79628	NotebookInstanceStatusStopping = "Stopping"
79629
79630	// NotebookInstanceStatusStopped is a NotebookInstanceStatus enum value
79631	NotebookInstanceStatusStopped = "Stopped"
79632
79633	// NotebookInstanceStatusFailed is a NotebookInstanceStatus enum value
79634	NotebookInstanceStatusFailed = "Failed"
79635
79636	// NotebookInstanceStatusDeleting is a NotebookInstanceStatus enum value
79637	NotebookInstanceStatusDeleting = "Deleting"
79638
79639	// NotebookInstanceStatusUpdating is a NotebookInstanceStatus enum value
79640	NotebookInstanceStatusUpdating = "Updating"
79641)
79642
79643// NotebookInstanceStatus_Values returns all elements of the NotebookInstanceStatus enum
79644func NotebookInstanceStatus_Values() []string {
79645	return []string{
79646		NotebookInstanceStatusPending,
79647		NotebookInstanceStatusInService,
79648		NotebookInstanceStatusStopping,
79649		NotebookInstanceStatusStopped,
79650		NotebookInstanceStatusFailed,
79651		NotebookInstanceStatusDeleting,
79652		NotebookInstanceStatusUpdating,
79653	}
79654}
79655
79656const (
79657	// NotebookOutputOptionAllowed is a NotebookOutputOption enum value
79658	NotebookOutputOptionAllowed = "Allowed"
79659
79660	// NotebookOutputOptionDisabled is a NotebookOutputOption enum value
79661	NotebookOutputOptionDisabled = "Disabled"
79662)
79663
79664// NotebookOutputOption_Values returns all elements of the NotebookOutputOption enum
79665func NotebookOutputOption_Values() []string {
79666	return []string{
79667		NotebookOutputOptionAllowed,
79668		NotebookOutputOptionDisabled,
79669	}
79670}
79671
79672const (
79673	// ObjectiveStatusSucceeded is a ObjectiveStatus enum value
79674	ObjectiveStatusSucceeded = "Succeeded"
79675
79676	// ObjectiveStatusPending is a ObjectiveStatus enum value
79677	ObjectiveStatusPending = "Pending"
79678
79679	// ObjectiveStatusFailed is a ObjectiveStatus enum value
79680	ObjectiveStatusFailed = "Failed"
79681)
79682
79683// ObjectiveStatus_Values returns all elements of the ObjectiveStatus enum
79684func ObjectiveStatus_Values() []string {
79685	return []string{
79686		ObjectiveStatusSucceeded,
79687		ObjectiveStatusPending,
79688		ObjectiveStatusFailed,
79689	}
79690}
79691
79692const (
79693	// OfflineStoreStatusValueActive is a OfflineStoreStatusValue enum value
79694	OfflineStoreStatusValueActive = "Active"
79695
79696	// OfflineStoreStatusValueBlocked is a OfflineStoreStatusValue enum value
79697	OfflineStoreStatusValueBlocked = "Blocked"
79698
79699	// OfflineStoreStatusValueDisabled is a OfflineStoreStatusValue enum value
79700	OfflineStoreStatusValueDisabled = "Disabled"
79701)
79702
79703// OfflineStoreStatusValue_Values returns all elements of the OfflineStoreStatusValue enum
79704func OfflineStoreStatusValue_Values() []string {
79705	return []string{
79706		OfflineStoreStatusValueActive,
79707		OfflineStoreStatusValueBlocked,
79708		OfflineStoreStatusValueDisabled,
79709	}
79710}
79711
79712const (
79713	// OperatorEquals is a Operator enum value
79714	OperatorEquals = "Equals"
79715
79716	// OperatorNotEquals is a Operator enum value
79717	OperatorNotEquals = "NotEquals"
79718
79719	// OperatorGreaterThan is a Operator enum value
79720	OperatorGreaterThan = "GreaterThan"
79721
79722	// OperatorGreaterThanOrEqualTo is a Operator enum value
79723	OperatorGreaterThanOrEqualTo = "GreaterThanOrEqualTo"
79724
79725	// OperatorLessThan is a Operator enum value
79726	OperatorLessThan = "LessThan"
79727
79728	// OperatorLessThanOrEqualTo is a Operator enum value
79729	OperatorLessThanOrEqualTo = "LessThanOrEqualTo"
79730
79731	// OperatorContains is a Operator enum value
79732	OperatorContains = "Contains"
79733
79734	// OperatorExists is a Operator enum value
79735	OperatorExists = "Exists"
79736
79737	// OperatorNotExists is a Operator enum value
79738	OperatorNotExists = "NotExists"
79739
79740	// OperatorIn is a Operator enum value
79741	OperatorIn = "In"
79742)
79743
79744// Operator_Values returns all elements of the Operator enum
79745func Operator_Values() []string {
79746	return []string{
79747		OperatorEquals,
79748		OperatorNotEquals,
79749		OperatorGreaterThan,
79750		OperatorGreaterThanOrEqualTo,
79751		OperatorLessThan,
79752		OperatorLessThanOrEqualTo,
79753		OperatorContains,
79754		OperatorExists,
79755		OperatorNotExists,
79756		OperatorIn,
79757	}
79758}
79759
79760const (
79761	// OrderKeyAscending is a OrderKey enum value
79762	OrderKeyAscending = "Ascending"
79763
79764	// OrderKeyDescending is a OrderKey enum value
79765	OrderKeyDescending = "Descending"
79766)
79767
79768// OrderKey_Values returns all elements of the OrderKey enum
79769func OrderKey_Values() []string {
79770	return []string{
79771		OrderKeyAscending,
79772		OrderKeyDescending,
79773	}
79774}
79775
79776const (
79777	// ParameterTypeInteger is a ParameterType enum value
79778	ParameterTypeInteger = "Integer"
79779
79780	// ParameterTypeContinuous is a ParameterType enum value
79781	ParameterTypeContinuous = "Continuous"
79782
79783	// ParameterTypeCategorical is a ParameterType enum value
79784	ParameterTypeCategorical = "Categorical"
79785
79786	// ParameterTypeFreeText is a ParameterType enum value
79787	ParameterTypeFreeText = "FreeText"
79788)
79789
79790// ParameterType_Values returns all elements of the ParameterType enum
79791func ParameterType_Values() []string {
79792	return []string{
79793		ParameterTypeInteger,
79794		ParameterTypeContinuous,
79795		ParameterTypeCategorical,
79796		ParameterTypeFreeText,
79797	}
79798}
79799
79800const (
79801	// PipelineExecutionStatusExecuting is a PipelineExecutionStatus enum value
79802	PipelineExecutionStatusExecuting = "Executing"
79803
79804	// PipelineExecutionStatusStopping is a PipelineExecutionStatus enum value
79805	PipelineExecutionStatusStopping = "Stopping"
79806
79807	// PipelineExecutionStatusStopped is a PipelineExecutionStatus enum value
79808	PipelineExecutionStatusStopped = "Stopped"
79809
79810	// PipelineExecutionStatusFailed is a PipelineExecutionStatus enum value
79811	PipelineExecutionStatusFailed = "Failed"
79812
79813	// PipelineExecutionStatusSucceeded is a PipelineExecutionStatus enum value
79814	PipelineExecutionStatusSucceeded = "Succeeded"
79815)
79816
79817// PipelineExecutionStatus_Values returns all elements of the PipelineExecutionStatus enum
79818func PipelineExecutionStatus_Values() []string {
79819	return []string{
79820		PipelineExecutionStatusExecuting,
79821		PipelineExecutionStatusStopping,
79822		PipelineExecutionStatusStopped,
79823		PipelineExecutionStatusFailed,
79824		PipelineExecutionStatusSucceeded,
79825	}
79826}
79827
79828const (
79829	// PipelineStatusActive is a PipelineStatus enum value
79830	PipelineStatusActive = "Active"
79831)
79832
79833// PipelineStatus_Values returns all elements of the PipelineStatus enum
79834func PipelineStatus_Values() []string {
79835	return []string{
79836		PipelineStatusActive,
79837	}
79838}
79839
79840const (
79841	// ProblemTypeBinaryClassification is a ProblemType enum value
79842	ProblemTypeBinaryClassification = "BinaryClassification"
79843
79844	// ProblemTypeMulticlassClassification is a ProblemType enum value
79845	ProblemTypeMulticlassClassification = "MulticlassClassification"
79846
79847	// ProblemTypeRegression is a ProblemType enum value
79848	ProblemTypeRegression = "Regression"
79849)
79850
79851// ProblemType_Values returns all elements of the ProblemType enum
79852func ProblemType_Values() []string {
79853	return []string{
79854		ProblemTypeBinaryClassification,
79855		ProblemTypeMulticlassClassification,
79856		ProblemTypeRegression,
79857	}
79858}
79859
79860const (
79861	// ProcessingInstanceTypeMlT3Medium is a ProcessingInstanceType enum value
79862	ProcessingInstanceTypeMlT3Medium = "ml.t3.medium"
79863
79864	// ProcessingInstanceTypeMlT3Large is a ProcessingInstanceType enum value
79865	ProcessingInstanceTypeMlT3Large = "ml.t3.large"
79866
79867	// ProcessingInstanceTypeMlT3Xlarge is a ProcessingInstanceType enum value
79868	ProcessingInstanceTypeMlT3Xlarge = "ml.t3.xlarge"
79869
79870	// ProcessingInstanceTypeMlT32xlarge is a ProcessingInstanceType enum value
79871	ProcessingInstanceTypeMlT32xlarge = "ml.t3.2xlarge"
79872
79873	// ProcessingInstanceTypeMlM4Xlarge is a ProcessingInstanceType enum value
79874	ProcessingInstanceTypeMlM4Xlarge = "ml.m4.xlarge"
79875
79876	// ProcessingInstanceTypeMlM42xlarge is a ProcessingInstanceType enum value
79877	ProcessingInstanceTypeMlM42xlarge = "ml.m4.2xlarge"
79878
79879	// ProcessingInstanceTypeMlM44xlarge is a ProcessingInstanceType enum value
79880	ProcessingInstanceTypeMlM44xlarge = "ml.m4.4xlarge"
79881
79882	// ProcessingInstanceTypeMlM410xlarge is a ProcessingInstanceType enum value
79883	ProcessingInstanceTypeMlM410xlarge = "ml.m4.10xlarge"
79884
79885	// ProcessingInstanceTypeMlM416xlarge is a ProcessingInstanceType enum value
79886	ProcessingInstanceTypeMlM416xlarge = "ml.m4.16xlarge"
79887
79888	// ProcessingInstanceTypeMlC4Xlarge is a ProcessingInstanceType enum value
79889	ProcessingInstanceTypeMlC4Xlarge = "ml.c4.xlarge"
79890
79891	// ProcessingInstanceTypeMlC42xlarge is a ProcessingInstanceType enum value
79892	ProcessingInstanceTypeMlC42xlarge = "ml.c4.2xlarge"
79893
79894	// ProcessingInstanceTypeMlC44xlarge is a ProcessingInstanceType enum value
79895	ProcessingInstanceTypeMlC44xlarge = "ml.c4.4xlarge"
79896
79897	// ProcessingInstanceTypeMlC48xlarge is a ProcessingInstanceType enum value
79898	ProcessingInstanceTypeMlC48xlarge = "ml.c4.8xlarge"
79899
79900	// ProcessingInstanceTypeMlP2Xlarge is a ProcessingInstanceType enum value
79901	ProcessingInstanceTypeMlP2Xlarge = "ml.p2.xlarge"
79902
79903	// ProcessingInstanceTypeMlP28xlarge is a ProcessingInstanceType enum value
79904	ProcessingInstanceTypeMlP28xlarge = "ml.p2.8xlarge"
79905
79906	// ProcessingInstanceTypeMlP216xlarge is a ProcessingInstanceType enum value
79907	ProcessingInstanceTypeMlP216xlarge = "ml.p2.16xlarge"
79908
79909	// ProcessingInstanceTypeMlP32xlarge is a ProcessingInstanceType enum value
79910	ProcessingInstanceTypeMlP32xlarge = "ml.p3.2xlarge"
79911
79912	// ProcessingInstanceTypeMlP38xlarge is a ProcessingInstanceType enum value
79913	ProcessingInstanceTypeMlP38xlarge = "ml.p3.8xlarge"
79914
79915	// ProcessingInstanceTypeMlP316xlarge is a ProcessingInstanceType enum value
79916	ProcessingInstanceTypeMlP316xlarge = "ml.p3.16xlarge"
79917
79918	// ProcessingInstanceTypeMlC5Xlarge is a ProcessingInstanceType enum value
79919	ProcessingInstanceTypeMlC5Xlarge = "ml.c5.xlarge"
79920
79921	// ProcessingInstanceTypeMlC52xlarge is a ProcessingInstanceType enum value
79922	ProcessingInstanceTypeMlC52xlarge = "ml.c5.2xlarge"
79923
79924	// ProcessingInstanceTypeMlC54xlarge is a ProcessingInstanceType enum value
79925	ProcessingInstanceTypeMlC54xlarge = "ml.c5.4xlarge"
79926
79927	// ProcessingInstanceTypeMlC59xlarge is a ProcessingInstanceType enum value
79928	ProcessingInstanceTypeMlC59xlarge = "ml.c5.9xlarge"
79929
79930	// ProcessingInstanceTypeMlC518xlarge is a ProcessingInstanceType enum value
79931	ProcessingInstanceTypeMlC518xlarge = "ml.c5.18xlarge"
79932
79933	// ProcessingInstanceTypeMlM5Large is a ProcessingInstanceType enum value
79934	ProcessingInstanceTypeMlM5Large = "ml.m5.large"
79935
79936	// ProcessingInstanceTypeMlM5Xlarge is a ProcessingInstanceType enum value
79937	ProcessingInstanceTypeMlM5Xlarge = "ml.m5.xlarge"
79938
79939	// ProcessingInstanceTypeMlM52xlarge is a ProcessingInstanceType enum value
79940	ProcessingInstanceTypeMlM52xlarge = "ml.m5.2xlarge"
79941
79942	// ProcessingInstanceTypeMlM54xlarge is a ProcessingInstanceType enum value
79943	ProcessingInstanceTypeMlM54xlarge = "ml.m5.4xlarge"
79944
79945	// ProcessingInstanceTypeMlM512xlarge is a ProcessingInstanceType enum value
79946	ProcessingInstanceTypeMlM512xlarge = "ml.m5.12xlarge"
79947
79948	// ProcessingInstanceTypeMlM524xlarge is a ProcessingInstanceType enum value
79949	ProcessingInstanceTypeMlM524xlarge = "ml.m5.24xlarge"
79950
79951	// ProcessingInstanceTypeMlR5Large is a ProcessingInstanceType enum value
79952	ProcessingInstanceTypeMlR5Large = "ml.r5.large"
79953
79954	// ProcessingInstanceTypeMlR5Xlarge is a ProcessingInstanceType enum value
79955	ProcessingInstanceTypeMlR5Xlarge = "ml.r5.xlarge"
79956
79957	// ProcessingInstanceTypeMlR52xlarge is a ProcessingInstanceType enum value
79958	ProcessingInstanceTypeMlR52xlarge = "ml.r5.2xlarge"
79959
79960	// ProcessingInstanceTypeMlR54xlarge is a ProcessingInstanceType enum value
79961	ProcessingInstanceTypeMlR54xlarge = "ml.r5.4xlarge"
79962
79963	// ProcessingInstanceTypeMlR58xlarge is a ProcessingInstanceType enum value
79964	ProcessingInstanceTypeMlR58xlarge = "ml.r5.8xlarge"
79965
79966	// ProcessingInstanceTypeMlR512xlarge is a ProcessingInstanceType enum value
79967	ProcessingInstanceTypeMlR512xlarge = "ml.r5.12xlarge"
79968
79969	// ProcessingInstanceTypeMlR516xlarge is a ProcessingInstanceType enum value
79970	ProcessingInstanceTypeMlR516xlarge = "ml.r5.16xlarge"
79971
79972	// ProcessingInstanceTypeMlR524xlarge is a ProcessingInstanceType enum value
79973	ProcessingInstanceTypeMlR524xlarge = "ml.r5.24xlarge"
79974)
79975
79976// ProcessingInstanceType_Values returns all elements of the ProcessingInstanceType enum
79977func ProcessingInstanceType_Values() []string {
79978	return []string{
79979		ProcessingInstanceTypeMlT3Medium,
79980		ProcessingInstanceTypeMlT3Large,
79981		ProcessingInstanceTypeMlT3Xlarge,
79982		ProcessingInstanceTypeMlT32xlarge,
79983		ProcessingInstanceTypeMlM4Xlarge,
79984		ProcessingInstanceTypeMlM42xlarge,
79985		ProcessingInstanceTypeMlM44xlarge,
79986		ProcessingInstanceTypeMlM410xlarge,
79987		ProcessingInstanceTypeMlM416xlarge,
79988		ProcessingInstanceTypeMlC4Xlarge,
79989		ProcessingInstanceTypeMlC42xlarge,
79990		ProcessingInstanceTypeMlC44xlarge,
79991		ProcessingInstanceTypeMlC48xlarge,
79992		ProcessingInstanceTypeMlP2Xlarge,
79993		ProcessingInstanceTypeMlP28xlarge,
79994		ProcessingInstanceTypeMlP216xlarge,
79995		ProcessingInstanceTypeMlP32xlarge,
79996		ProcessingInstanceTypeMlP38xlarge,
79997		ProcessingInstanceTypeMlP316xlarge,
79998		ProcessingInstanceTypeMlC5Xlarge,
79999		ProcessingInstanceTypeMlC52xlarge,
80000		ProcessingInstanceTypeMlC54xlarge,
80001		ProcessingInstanceTypeMlC59xlarge,
80002		ProcessingInstanceTypeMlC518xlarge,
80003		ProcessingInstanceTypeMlM5Large,
80004		ProcessingInstanceTypeMlM5Xlarge,
80005		ProcessingInstanceTypeMlM52xlarge,
80006		ProcessingInstanceTypeMlM54xlarge,
80007		ProcessingInstanceTypeMlM512xlarge,
80008		ProcessingInstanceTypeMlM524xlarge,
80009		ProcessingInstanceTypeMlR5Large,
80010		ProcessingInstanceTypeMlR5Xlarge,
80011		ProcessingInstanceTypeMlR52xlarge,
80012		ProcessingInstanceTypeMlR54xlarge,
80013		ProcessingInstanceTypeMlR58xlarge,
80014		ProcessingInstanceTypeMlR512xlarge,
80015		ProcessingInstanceTypeMlR516xlarge,
80016		ProcessingInstanceTypeMlR524xlarge,
80017	}
80018}
80019
80020const (
80021	// ProcessingJobStatusInProgress is a ProcessingJobStatus enum value
80022	ProcessingJobStatusInProgress = "InProgress"
80023
80024	// ProcessingJobStatusCompleted is a ProcessingJobStatus enum value
80025	ProcessingJobStatusCompleted = "Completed"
80026
80027	// ProcessingJobStatusFailed is a ProcessingJobStatus enum value
80028	ProcessingJobStatusFailed = "Failed"
80029
80030	// ProcessingJobStatusStopping is a ProcessingJobStatus enum value
80031	ProcessingJobStatusStopping = "Stopping"
80032
80033	// ProcessingJobStatusStopped is a ProcessingJobStatus enum value
80034	ProcessingJobStatusStopped = "Stopped"
80035)
80036
80037// ProcessingJobStatus_Values returns all elements of the ProcessingJobStatus enum
80038func ProcessingJobStatus_Values() []string {
80039	return []string{
80040		ProcessingJobStatusInProgress,
80041		ProcessingJobStatusCompleted,
80042		ProcessingJobStatusFailed,
80043		ProcessingJobStatusStopping,
80044		ProcessingJobStatusStopped,
80045	}
80046}
80047
80048const (
80049	// ProcessingS3CompressionTypeNone is a ProcessingS3CompressionType enum value
80050	ProcessingS3CompressionTypeNone = "None"
80051
80052	// ProcessingS3CompressionTypeGzip is a ProcessingS3CompressionType enum value
80053	ProcessingS3CompressionTypeGzip = "Gzip"
80054)
80055
80056// ProcessingS3CompressionType_Values returns all elements of the ProcessingS3CompressionType enum
80057func ProcessingS3CompressionType_Values() []string {
80058	return []string{
80059		ProcessingS3CompressionTypeNone,
80060		ProcessingS3CompressionTypeGzip,
80061	}
80062}
80063
80064const (
80065	// ProcessingS3DataDistributionTypeFullyReplicated is a ProcessingS3DataDistributionType enum value
80066	ProcessingS3DataDistributionTypeFullyReplicated = "FullyReplicated"
80067
80068	// ProcessingS3DataDistributionTypeShardedByS3key is a ProcessingS3DataDistributionType enum value
80069	ProcessingS3DataDistributionTypeShardedByS3key = "ShardedByS3Key"
80070)
80071
80072// ProcessingS3DataDistributionType_Values returns all elements of the ProcessingS3DataDistributionType enum
80073func ProcessingS3DataDistributionType_Values() []string {
80074	return []string{
80075		ProcessingS3DataDistributionTypeFullyReplicated,
80076		ProcessingS3DataDistributionTypeShardedByS3key,
80077	}
80078}
80079
80080const (
80081	// ProcessingS3DataTypeManifestFile is a ProcessingS3DataType enum value
80082	ProcessingS3DataTypeManifestFile = "ManifestFile"
80083
80084	// ProcessingS3DataTypeS3prefix is a ProcessingS3DataType enum value
80085	ProcessingS3DataTypeS3prefix = "S3Prefix"
80086)
80087
80088// ProcessingS3DataType_Values returns all elements of the ProcessingS3DataType enum
80089func ProcessingS3DataType_Values() []string {
80090	return []string{
80091		ProcessingS3DataTypeManifestFile,
80092		ProcessingS3DataTypeS3prefix,
80093	}
80094}
80095
80096const (
80097	// ProcessingS3InputModePipe is a ProcessingS3InputMode enum value
80098	ProcessingS3InputModePipe = "Pipe"
80099
80100	// ProcessingS3InputModeFile is a ProcessingS3InputMode enum value
80101	ProcessingS3InputModeFile = "File"
80102)
80103
80104// ProcessingS3InputMode_Values returns all elements of the ProcessingS3InputMode enum
80105func ProcessingS3InputMode_Values() []string {
80106	return []string{
80107		ProcessingS3InputModePipe,
80108		ProcessingS3InputModeFile,
80109	}
80110}
80111
80112const (
80113	// ProcessingS3UploadModeContinuous is a ProcessingS3UploadMode enum value
80114	ProcessingS3UploadModeContinuous = "Continuous"
80115
80116	// ProcessingS3UploadModeEndOfJob is a ProcessingS3UploadMode enum value
80117	ProcessingS3UploadModeEndOfJob = "EndOfJob"
80118)
80119
80120// ProcessingS3UploadMode_Values returns all elements of the ProcessingS3UploadMode enum
80121func ProcessingS3UploadMode_Values() []string {
80122	return []string{
80123		ProcessingS3UploadModeContinuous,
80124		ProcessingS3UploadModeEndOfJob,
80125	}
80126}
80127
80128const (
80129	// ProductionVariantAcceleratorTypeMlEia1Medium is a ProductionVariantAcceleratorType enum value
80130	ProductionVariantAcceleratorTypeMlEia1Medium = "ml.eia1.medium"
80131
80132	// ProductionVariantAcceleratorTypeMlEia1Large is a ProductionVariantAcceleratorType enum value
80133	ProductionVariantAcceleratorTypeMlEia1Large = "ml.eia1.large"
80134
80135	// ProductionVariantAcceleratorTypeMlEia1Xlarge is a ProductionVariantAcceleratorType enum value
80136	ProductionVariantAcceleratorTypeMlEia1Xlarge = "ml.eia1.xlarge"
80137
80138	// ProductionVariantAcceleratorTypeMlEia2Medium is a ProductionVariantAcceleratorType enum value
80139	ProductionVariantAcceleratorTypeMlEia2Medium = "ml.eia2.medium"
80140
80141	// ProductionVariantAcceleratorTypeMlEia2Large is a ProductionVariantAcceleratorType enum value
80142	ProductionVariantAcceleratorTypeMlEia2Large = "ml.eia2.large"
80143
80144	// ProductionVariantAcceleratorTypeMlEia2Xlarge is a ProductionVariantAcceleratorType enum value
80145	ProductionVariantAcceleratorTypeMlEia2Xlarge = "ml.eia2.xlarge"
80146)
80147
80148// ProductionVariantAcceleratorType_Values returns all elements of the ProductionVariantAcceleratorType enum
80149func ProductionVariantAcceleratorType_Values() []string {
80150	return []string{
80151		ProductionVariantAcceleratorTypeMlEia1Medium,
80152		ProductionVariantAcceleratorTypeMlEia1Large,
80153		ProductionVariantAcceleratorTypeMlEia1Xlarge,
80154		ProductionVariantAcceleratorTypeMlEia2Medium,
80155		ProductionVariantAcceleratorTypeMlEia2Large,
80156		ProductionVariantAcceleratorTypeMlEia2Xlarge,
80157	}
80158}
80159
80160const (
80161	// ProductionVariantInstanceTypeMlT2Medium is a ProductionVariantInstanceType enum value
80162	ProductionVariantInstanceTypeMlT2Medium = "ml.t2.medium"
80163
80164	// ProductionVariantInstanceTypeMlT2Large is a ProductionVariantInstanceType enum value
80165	ProductionVariantInstanceTypeMlT2Large = "ml.t2.large"
80166
80167	// ProductionVariantInstanceTypeMlT2Xlarge is a ProductionVariantInstanceType enum value
80168	ProductionVariantInstanceTypeMlT2Xlarge = "ml.t2.xlarge"
80169
80170	// ProductionVariantInstanceTypeMlT22xlarge is a ProductionVariantInstanceType enum value
80171	ProductionVariantInstanceTypeMlT22xlarge = "ml.t2.2xlarge"
80172
80173	// ProductionVariantInstanceTypeMlM4Xlarge is a ProductionVariantInstanceType enum value
80174	ProductionVariantInstanceTypeMlM4Xlarge = "ml.m4.xlarge"
80175
80176	// ProductionVariantInstanceTypeMlM42xlarge is a ProductionVariantInstanceType enum value
80177	ProductionVariantInstanceTypeMlM42xlarge = "ml.m4.2xlarge"
80178
80179	// ProductionVariantInstanceTypeMlM44xlarge is a ProductionVariantInstanceType enum value
80180	ProductionVariantInstanceTypeMlM44xlarge = "ml.m4.4xlarge"
80181
80182	// ProductionVariantInstanceTypeMlM410xlarge is a ProductionVariantInstanceType enum value
80183	ProductionVariantInstanceTypeMlM410xlarge = "ml.m4.10xlarge"
80184
80185	// ProductionVariantInstanceTypeMlM416xlarge is a ProductionVariantInstanceType enum value
80186	ProductionVariantInstanceTypeMlM416xlarge = "ml.m4.16xlarge"
80187
80188	// ProductionVariantInstanceTypeMlM5Large is a ProductionVariantInstanceType enum value
80189	ProductionVariantInstanceTypeMlM5Large = "ml.m5.large"
80190
80191	// ProductionVariantInstanceTypeMlM5Xlarge is a ProductionVariantInstanceType enum value
80192	ProductionVariantInstanceTypeMlM5Xlarge = "ml.m5.xlarge"
80193
80194	// ProductionVariantInstanceTypeMlM52xlarge is a ProductionVariantInstanceType enum value
80195	ProductionVariantInstanceTypeMlM52xlarge = "ml.m5.2xlarge"
80196
80197	// ProductionVariantInstanceTypeMlM54xlarge is a ProductionVariantInstanceType enum value
80198	ProductionVariantInstanceTypeMlM54xlarge = "ml.m5.4xlarge"
80199
80200	// ProductionVariantInstanceTypeMlM512xlarge is a ProductionVariantInstanceType enum value
80201	ProductionVariantInstanceTypeMlM512xlarge = "ml.m5.12xlarge"
80202
80203	// ProductionVariantInstanceTypeMlM524xlarge is a ProductionVariantInstanceType enum value
80204	ProductionVariantInstanceTypeMlM524xlarge = "ml.m5.24xlarge"
80205
80206	// ProductionVariantInstanceTypeMlM5dLarge is a ProductionVariantInstanceType enum value
80207	ProductionVariantInstanceTypeMlM5dLarge = "ml.m5d.large"
80208
80209	// ProductionVariantInstanceTypeMlM5dXlarge is a ProductionVariantInstanceType enum value
80210	ProductionVariantInstanceTypeMlM5dXlarge = "ml.m5d.xlarge"
80211
80212	// ProductionVariantInstanceTypeMlM5d2xlarge is a ProductionVariantInstanceType enum value
80213	ProductionVariantInstanceTypeMlM5d2xlarge = "ml.m5d.2xlarge"
80214
80215	// ProductionVariantInstanceTypeMlM5d4xlarge is a ProductionVariantInstanceType enum value
80216	ProductionVariantInstanceTypeMlM5d4xlarge = "ml.m5d.4xlarge"
80217
80218	// ProductionVariantInstanceTypeMlM5d12xlarge is a ProductionVariantInstanceType enum value
80219	ProductionVariantInstanceTypeMlM5d12xlarge = "ml.m5d.12xlarge"
80220
80221	// ProductionVariantInstanceTypeMlM5d24xlarge is a ProductionVariantInstanceType enum value
80222	ProductionVariantInstanceTypeMlM5d24xlarge = "ml.m5d.24xlarge"
80223
80224	// ProductionVariantInstanceTypeMlC4Large is a ProductionVariantInstanceType enum value
80225	ProductionVariantInstanceTypeMlC4Large = "ml.c4.large"
80226
80227	// ProductionVariantInstanceTypeMlC4Xlarge is a ProductionVariantInstanceType enum value
80228	ProductionVariantInstanceTypeMlC4Xlarge = "ml.c4.xlarge"
80229
80230	// ProductionVariantInstanceTypeMlC42xlarge is a ProductionVariantInstanceType enum value
80231	ProductionVariantInstanceTypeMlC42xlarge = "ml.c4.2xlarge"
80232
80233	// ProductionVariantInstanceTypeMlC44xlarge is a ProductionVariantInstanceType enum value
80234	ProductionVariantInstanceTypeMlC44xlarge = "ml.c4.4xlarge"
80235
80236	// ProductionVariantInstanceTypeMlC48xlarge is a ProductionVariantInstanceType enum value
80237	ProductionVariantInstanceTypeMlC48xlarge = "ml.c4.8xlarge"
80238
80239	// ProductionVariantInstanceTypeMlP2Xlarge is a ProductionVariantInstanceType enum value
80240	ProductionVariantInstanceTypeMlP2Xlarge = "ml.p2.xlarge"
80241
80242	// ProductionVariantInstanceTypeMlP28xlarge is a ProductionVariantInstanceType enum value
80243	ProductionVariantInstanceTypeMlP28xlarge = "ml.p2.8xlarge"
80244
80245	// ProductionVariantInstanceTypeMlP216xlarge is a ProductionVariantInstanceType enum value
80246	ProductionVariantInstanceTypeMlP216xlarge = "ml.p2.16xlarge"
80247
80248	// ProductionVariantInstanceTypeMlP32xlarge is a ProductionVariantInstanceType enum value
80249	ProductionVariantInstanceTypeMlP32xlarge = "ml.p3.2xlarge"
80250
80251	// ProductionVariantInstanceTypeMlP38xlarge is a ProductionVariantInstanceType enum value
80252	ProductionVariantInstanceTypeMlP38xlarge = "ml.p3.8xlarge"
80253
80254	// ProductionVariantInstanceTypeMlP316xlarge is a ProductionVariantInstanceType enum value
80255	ProductionVariantInstanceTypeMlP316xlarge = "ml.p3.16xlarge"
80256
80257	// ProductionVariantInstanceTypeMlC5Large is a ProductionVariantInstanceType enum value
80258	ProductionVariantInstanceTypeMlC5Large = "ml.c5.large"
80259
80260	// ProductionVariantInstanceTypeMlC5Xlarge is a ProductionVariantInstanceType enum value
80261	ProductionVariantInstanceTypeMlC5Xlarge = "ml.c5.xlarge"
80262
80263	// ProductionVariantInstanceTypeMlC52xlarge is a ProductionVariantInstanceType enum value
80264	ProductionVariantInstanceTypeMlC52xlarge = "ml.c5.2xlarge"
80265
80266	// ProductionVariantInstanceTypeMlC54xlarge is a ProductionVariantInstanceType enum value
80267	ProductionVariantInstanceTypeMlC54xlarge = "ml.c5.4xlarge"
80268
80269	// ProductionVariantInstanceTypeMlC59xlarge is a ProductionVariantInstanceType enum value
80270	ProductionVariantInstanceTypeMlC59xlarge = "ml.c5.9xlarge"
80271
80272	// ProductionVariantInstanceTypeMlC518xlarge is a ProductionVariantInstanceType enum value
80273	ProductionVariantInstanceTypeMlC518xlarge = "ml.c5.18xlarge"
80274
80275	// ProductionVariantInstanceTypeMlC5dLarge is a ProductionVariantInstanceType enum value
80276	ProductionVariantInstanceTypeMlC5dLarge = "ml.c5d.large"
80277
80278	// ProductionVariantInstanceTypeMlC5dXlarge is a ProductionVariantInstanceType enum value
80279	ProductionVariantInstanceTypeMlC5dXlarge = "ml.c5d.xlarge"
80280
80281	// ProductionVariantInstanceTypeMlC5d2xlarge is a ProductionVariantInstanceType enum value
80282	ProductionVariantInstanceTypeMlC5d2xlarge = "ml.c5d.2xlarge"
80283
80284	// ProductionVariantInstanceTypeMlC5d4xlarge is a ProductionVariantInstanceType enum value
80285	ProductionVariantInstanceTypeMlC5d4xlarge = "ml.c5d.4xlarge"
80286
80287	// ProductionVariantInstanceTypeMlC5d9xlarge is a ProductionVariantInstanceType enum value
80288	ProductionVariantInstanceTypeMlC5d9xlarge = "ml.c5d.9xlarge"
80289
80290	// ProductionVariantInstanceTypeMlC5d18xlarge is a ProductionVariantInstanceType enum value
80291	ProductionVariantInstanceTypeMlC5d18xlarge = "ml.c5d.18xlarge"
80292
80293	// ProductionVariantInstanceTypeMlG4dnXlarge is a ProductionVariantInstanceType enum value
80294	ProductionVariantInstanceTypeMlG4dnXlarge = "ml.g4dn.xlarge"
80295
80296	// ProductionVariantInstanceTypeMlG4dn2xlarge is a ProductionVariantInstanceType enum value
80297	ProductionVariantInstanceTypeMlG4dn2xlarge = "ml.g4dn.2xlarge"
80298
80299	// ProductionVariantInstanceTypeMlG4dn4xlarge is a ProductionVariantInstanceType enum value
80300	ProductionVariantInstanceTypeMlG4dn4xlarge = "ml.g4dn.4xlarge"
80301
80302	// ProductionVariantInstanceTypeMlG4dn8xlarge is a ProductionVariantInstanceType enum value
80303	ProductionVariantInstanceTypeMlG4dn8xlarge = "ml.g4dn.8xlarge"
80304
80305	// ProductionVariantInstanceTypeMlG4dn12xlarge is a ProductionVariantInstanceType enum value
80306	ProductionVariantInstanceTypeMlG4dn12xlarge = "ml.g4dn.12xlarge"
80307
80308	// ProductionVariantInstanceTypeMlG4dn16xlarge is a ProductionVariantInstanceType enum value
80309	ProductionVariantInstanceTypeMlG4dn16xlarge = "ml.g4dn.16xlarge"
80310
80311	// ProductionVariantInstanceTypeMlR5Large is a ProductionVariantInstanceType enum value
80312	ProductionVariantInstanceTypeMlR5Large = "ml.r5.large"
80313
80314	// ProductionVariantInstanceTypeMlR5Xlarge is a ProductionVariantInstanceType enum value
80315	ProductionVariantInstanceTypeMlR5Xlarge = "ml.r5.xlarge"
80316
80317	// ProductionVariantInstanceTypeMlR52xlarge is a ProductionVariantInstanceType enum value
80318	ProductionVariantInstanceTypeMlR52xlarge = "ml.r5.2xlarge"
80319
80320	// ProductionVariantInstanceTypeMlR54xlarge is a ProductionVariantInstanceType enum value
80321	ProductionVariantInstanceTypeMlR54xlarge = "ml.r5.4xlarge"
80322
80323	// ProductionVariantInstanceTypeMlR512xlarge is a ProductionVariantInstanceType enum value
80324	ProductionVariantInstanceTypeMlR512xlarge = "ml.r5.12xlarge"
80325
80326	// ProductionVariantInstanceTypeMlR524xlarge is a ProductionVariantInstanceType enum value
80327	ProductionVariantInstanceTypeMlR524xlarge = "ml.r5.24xlarge"
80328
80329	// ProductionVariantInstanceTypeMlR5dLarge is a ProductionVariantInstanceType enum value
80330	ProductionVariantInstanceTypeMlR5dLarge = "ml.r5d.large"
80331
80332	// ProductionVariantInstanceTypeMlR5dXlarge is a ProductionVariantInstanceType enum value
80333	ProductionVariantInstanceTypeMlR5dXlarge = "ml.r5d.xlarge"
80334
80335	// ProductionVariantInstanceTypeMlR5d2xlarge is a ProductionVariantInstanceType enum value
80336	ProductionVariantInstanceTypeMlR5d2xlarge = "ml.r5d.2xlarge"
80337
80338	// ProductionVariantInstanceTypeMlR5d4xlarge is a ProductionVariantInstanceType enum value
80339	ProductionVariantInstanceTypeMlR5d4xlarge = "ml.r5d.4xlarge"
80340
80341	// ProductionVariantInstanceTypeMlR5d12xlarge is a ProductionVariantInstanceType enum value
80342	ProductionVariantInstanceTypeMlR5d12xlarge = "ml.r5d.12xlarge"
80343
80344	// ProductionVariantInstanceTypeMlR5d24xlarge is a ProductionVariantInstanceType enum value
80345	ProductionVariantInstanceTypeMlR5d24xlarge = "ml.r5d.24xlarge"
80346
80347	// ProductionVariantInstanceTypeMlInf1Xlarge is a ProductionVariantInstanceType enum value
80348	ProductionVariantInstanceTypeMlInf1Xlarge = "ml.inf1.xlarge"
80349
80350	// ProductionVariantInstanceTypeMlInf12xlarge is a ProductionVariantInstanceType enum value
80351	ProductionVariantInstanceTypeMlInf12xlarge = "ml.inf1.2xlarge"
80352
80353	// ProductionVariantInstanceTypeMlInf16xlarge is a ProductionVariantInstanceType enum value
80354	ProductionVariantInstanceTypeMlInf16xlarge = "ml.inf1.6xlarge"
80355
80356	// ProductionVariantInstanceTypeMlInf124xlarge is a ProductionVariantInstanceType enum value
80357	ProductionVariantInstanceTypeMlInf124xlarge = "ml.inf1.24xlarge"
80358)
80359
80360// ProductionVariantInstanceType_Values returns all elements of the ProductionVariantInstanceType enum
80361func ProductionVariantInstanceType_Values() []string {
80362	return []string{
80363		ProductionVariantInstanceTypeMlT2Medium,
80364		ProductionVariantInstanceTypeMlT2Large,
80365		ProductionVariantInstanceTypeMlT2Xlarge,
80366		ProductionVariantInstanceTypeMlT22xlarge,
80367		ProductionVariantInstanceTypeMlM4Xlarge,
80368		ProductionVariantInstanceTypeMlM42xlarge,
80369		ProductionVariantInstanceTypeMlM44xlarge,
80370		ProductionVariantInstanceTypeMlM410xlarge,
80371		ProductionVariantInstanceTypeMlM416xlarge,
80372		ProductionVariantInstanceTypeMlM5Large,
80373		ProductionVariantInstanceTypeMlM5Xlarge,
80374		ProductionVariantInstanceTypeMlM52xlarge,
80375		ProductionVariantInstanceTypeMlM54xlarge,
80376		ProductionVariantInstanceTypeMlM512xlarge,
80377		ProductionVariantInstanceTypeMlM524xlarge,
80378		ProductionVariantInstanceTypeMlM5dLarge,
80379		ProductionVariantInstanceTypeMlM5dXlarge,
80380		ProductionVariantInstanceTypeMlM5d2xlarge,
80381		ProductionVariantInstanceTypeMlM5d4xlarge,
80382		ProductionVariantInstanceTypeMlM5d12xlarge,
80383		ProductionVariantInstanceTypeMlM5d24xlarge,
80384		ProductionVariantInstanceTypeMlC4Large,
80385		ProductionVariantInstanceTypeMlC4Xlarge,
80386		ProductionVariantInstanceTypeMlC42xlarge,
80387		ProductionVariantInstanceTypeMlC44xlarge,
80388		ProductionVariantInstanceTypeMlC48xlarge,
80389		ProductionVariantInstanceTypeMlP2Xlarge,
80390		ProductionVariantInstanceTypeMlP28xlarge,
80391		ProductionVariantInstanceTypeMlP216xlarge,
80392		ProductionVariantInstanceTypeMlP32xlarge,
80393		ProductionVariantInstanceTypeMlP38xlarge,
80394		ProductionVariantInstanceTypeMlP316xlarge,
80395		ProductionVariantInstanceTypeMlC5Large,
80396		ProductionVariantInstanceTypeMlC5Xlarge,
80397		ProductionVariantInstanceTypeMlC52xlarge,
80398		ProductionVariantInstanceTypeMlC54xlarge,
80399		ProductionVariantInstanceTypeMlC59xlarge,
80400		ProductionVariantInstanceTypeMlC518xlarge,
80401		ProductionVariantInstanceTypeMlC5dLarge,
80402		ProductionVariantInstanceTypeMlC5dXlarge,
80403		ProductionVariantInstanceTypeMlC5d2xlarge,
80404		ProductionVariantInstanceTypeMlC5d4xlarge,
80405		ProductionVariantInstanceTypeMlC5d9xlarge,
80406		ProductionVariantInstanceTypeMlC5d18xlarge,
80407		ProductionVariantInstanceTypeMlG4dnXlarge,
80408		ProductionVariantInstanceTypeMlG4dn2xlarge,
80409		ProductionVariantInstanceTypeMlG4dn4xlarge,
80410		ProductionVariantInstanceTypeMlG4dn8xlarge,
80411		ProductionVariantInstanceTypeMlG4dn12xlarge,
80412		ProductionVariantInstanceTypeMlG4dn16xlarge,
80413		ProductionVariantInstanceTypeMlR5Large,
80414		ProductionVariantInstanceTypeMlR5Xlarge,
80415		ProductionVariantInstanceTypeMlR52xlarge,
80416		ProductionVariantInstanceTypeMlR54xlarge,
80417		ProductionVariantInstanceTypeMlR512xlarge,
80418		ProductionVariantInstanceTypeMlR524xlarge,
80419		ProductionVariantInstanceTypeMlR5dLarge,
80420		ProductionVariantInstanceTypeMlR5dXlarge,
80421		ProductionVariantInstanceTypeMlR5d2xlarge,
80422		ProductionVariantInstanceTypeMlR5d4xlarge,
80423		ProductionVariantInstanceTypeMlR5d12xlarge,
80424		ProductionVariantInstanceTypeMlR5d24xlarge,
80425		ProductionVariantInstanceTypeMlInf1Xlarge,
80426		ProductionVariantInstanceTypeMlInf12xlarge,
80427		ProductionVariantInstanceTypeMlInf16xlarge,
80428		ProductionVariantInstanceTypeMlInf124xlarge,
80429	}
80430}
80431
80432const (
80433	// ProfilingStatusEnabled is a ProfilingStatus enum value
80434	ProfilingStatusEnabled = "Enabled"
80435
80436	// ProfilingStatusDisabled is a ProfilingStatus enum value
80437	ProfilingStatusDisabled = "Disabled"
80438)
80439
80440// ProfilingStatus_Values returns all elements of the ProfilingStatus enum
80441func ProfilingStatus_Values() []string {
80442	return []string{
80443		ProfilingStatusEnabled,
80444		ProfilingStatusDisabled,
80445	}
80446}
80447
80448const (
80449	// ProjectSortByName is a ProjectSortBy enum value
80450	ProjectSortByName = "Name"
80451
80452	// ProjectSortByCreationTime is a ProjectSortBy enum value
80453	ProjectSortByCreationTime = "CreationTime"
80454)
80455
80456// ProjectSortBy_Values returns all elements of the ProjectSortBy enum
80457func ProjectSortBy_Values() []string {
80458	return []string{
80459		ProjectSortByName,
80460		ProjectSortByCreationTime,
80461	}
80462}
80463
80464const (
80465	// ProjectSortOrderAscending is a ProjectSortOrder enum value
80466	ProjectSortOrderAscending = "Ascending"
80467
80468	// ProjectSortOrderDescending is a ProjectSortOrder enum value
80469	ProjectSortOrderDescending = "Descending"
80470)
80471
80472// ProjectSortOrder_Values returns all elements of the ProjectSortOrder enum
80473func ProjectSortOrder_Values() []string {
80474	return []string{
80475		ProjectSortOrderAscending,
80476		ProjectSortOrderDescending,
80477	}
80478}
80479
80480const (
80481	// ProjectStatusPending is a ProjectStatus enum value
80482	ProjectStatusPending = "Pending"
80483
80484	// ProjectStatusCreateInProgress is a ProjectStatus enum value
80485	ProjectStatusCreateInProgress = "CreateInProgress"
80486
80487	// ProjectStatusCreateCompleted is a ProjectStatus enum value
80488	ProjectStatusCreateCompleted = "CreateCompleted"
80489
80490	// ProjectStatusCreateFailed is a ProjectStatus enum value
80491	ProjectStatusCreateFailed = "CreateFailed"
80492
80493	// ProjectStatusDeleteInProgress is a ProjectStatus enum value
80494	ProjectStatusDeleteInProgress = "DeleteInProgress"
80495
80496	// ProjectStatusDeleteFailed is a ProjectStatus enum value
80497	ProjectStatusDeleteFailed = "DeleteFailed"
80498
80499	// ProjectStatusDeleteCompleted is a ProjectStatus enum value
80500	ProjectStatusDeleteCompleted = "DeleteCompleted"
80501)
80502
80503// ProjectStatus_Values returns all elements of the ProjectStatus enum
80504func ProjectStatus_Values() []string {
80505	return []string{
80506		ProjectStatusPending,
80507		ProjectStatusCreateInProgress,
80508		ProjectStatusCreateCompleted,
80509		ProjectStatusCreateFailed,
80510		ProjectStatusDeleteInProgress,
80511		ProjectStatusDeleteFailed,
80512		ProjectStatusDeleteCompleted,
80513	}
80514}
80515
80516const (
80517	// RecordWrapperNone is a RecordWrapper enum value
80518	RecordWrapperNone = "None"
80519
80520	// RecordWrapperRecordIo is a RecordWrapper enum value
80521	RecordWrapperRecordIo = "RecordIO"
80522)
80523
80524// RecordWrapper_Values returns all elements of the RecordWrapper enum
80525func RecordWrapper_Values() []string {
80526	return []string{
80527		RecordWrapperNone,
80528		RecordWrapperRecordIo,
80529	}
80530}
80531
80532// The compression used for Redshift query results.
80533const (
80534	// RedshiftResultCompressionTypeNone is a RedshiftResultCompressionType enum value
80535	RedshiftResultCompressionTypeNone = "None"
80536
80537	// RedshiftResultCompressionTypeGzip is a RedshiftResultCompressionType enum value
80538	RedshiftResultCompressionTypeGzip = "GZIP"
80539
80540	// RedshiftResultCompressionTypeBzip2 is a RedshiftResultCompressionType enum value
80541	RedshiftResultCompressionTypeBzip2 = "BZIP2"
80542
80543	// RedshiftResultCompressionTypeZstd is a RedshiftResultCompressionType enum value
80544	RedshiftResultCompressionTypeZstd = "ZSTD"
80545
80546	// RedshiftResultCompressionTypeSnappy is a RedshiftResultCompressionType enum value
80547	RedshiftResultCompressionTypeSnappy = "SNAPPY"
80548)
80549
80550// RedshiftResultCompressionType_Values returns all elements of the RedshiftResultCompressionType enum
80551func RedshiftResultCompressionType_Values() []string {
80552	return []string{
80553		RedshiftResultCompressionTypeNone,
80554		RedshiftResultCompressionTypeGzip,
80555		RedshiftResultCompressionTypeBzip2,
80556		RedshiftResultCompressionTypeZstd,
80557		RedshiftResultCompressionTypeSnappy,
80558	}
80559}
80560
80561// The data storage format for Redshift query results.
80562const (
80563	// RedshiftResultFormatParquet is a RedshiftResultFormat enum value
80564	RedshiftResultFormatParquet = "PARQUET"
80565
80566	// RedshiftResultFormatCsv is a RedshiftResultFormat enum value
80567	RedshiftResultFormatCsv = "CSV"
80568)
80569
80570// RedshiftResultFormat_Values returns all elements of the RedshiftResultFormat enum
80571func RedshiftResultFormat_Values() []string {
80572	return []string{
80573		RedshiftResultFormatParquet,
80574		RedshiftResultFormatCsv,
80575	}
80576}
80577
80578const (
80579	// RepositoryAccessModePlatform is a RepositoryAccessMode enum value
80580	RepositoryAccessModePlatform = "Platform"
80581
80582	// RepositoryAccessModeVpc is a RepositoryAccessMode enum value
80583	RepositoryAccessModeVpc = "Vpc"
80584)
80585
80586// RepositoryAccessMode_Values returns all elements of the RepositoryAccessMode enum
80587func RepositoryAccessMode_Values() []string {
80588	return []string{
80589		RepositoryAccessModePlatform,
80590		RepositoryAccessModeVpc,
80591	}
80592}
80593
80594const (
80595	// ResourceTypeTrainingJob is a ResourceType enum value
80596	ResourceTypeTrainingJob = "TrainingJob"
80597
80598	// ResourceTypeExperiment is a ResourceType enum value
80599	ResourceTypeExperiment = "Experiment"
80600
80601	// ResourceTypeExperimentTrial is a ResourceType enum value
80602	ResourceTypeExperimentTrial = "ExperimentTrial"
80603
80604	// ResourceTypeExperimentTrialComponent is a ResourceType enum value
80605	ResourceTypeExperimentTrialComponent = "ExperimentTrialComponent"
80606
80607	// ResourceTypeEndpoint is a ResourceType enum value
80608	ResourceTypeEndpoint = "Endpoint"
80609
80610	// ResourceTypeModelPackage is a ResourceType enum value
80611	ResourceTypeModelPackage = "ModelPackage"
80612
80613	// ResourceTypeModelPackageGroup is a ResourceType enum value
80614	ResourceTypeModelPackageGroup = "ModelPackageGroup"
80615
80616	// ResourceTypePipeline is a ResourceType enum value
80617	ResourceTypePipeline = "Pipeline"
80618
80619	// ResourceTypePipelineExecution is a ResourceType enum value
80620	ResourceTypePipelineExecution = "PipelineExecution"
80621
80622	// ResourceTypeFeatureGroup is a ResourceType enum value
80623	ResourceTypeFeatureGroup = "FeatureGroup"
80624)
80625
80626// ResourceType_Values returns all elements of the ResourceType enum
80627func ResourceType_Values() []string {
80628	return []string{
80629		ResourceTypeTrainingJob,
80630		ResourceTypeExperiment,
80631		ResourceTypeExperimentTrial,
80632		ResourceTypeExperimentTrialComponent,
80633		ResourceTypeEndpoint,
80634		ResourceTypeModelPackage,
80635		ResourceTypeModelPackageGroup,
80636		ResourceTypePipeline,
80637		ResourceTypePipelineExecution,
80638		ResourceTypeFeatureGroup,
80639	}
80640}
80641
80642const (
80643	// RetentionTypeRetain is a RetentionType enum value
80644	RetentionTypeRetain = "Retain"
80645
80646	// RetentionTypeDelete is a RetentionType enum value
80647	RetentionTypeDelete = "Delete"
80648)
80649
80650// RetentionType_Values returns all elements of the RetentionType enum
80651func RetentionType_Values() []string {
80652	return []string{
80653		RetentionTypeRetain,
80654		RetentionTypeDelete,
80655	}
80656}
80657
80658const (
80659	// RootAccessEnabled is a RootAccess enum value
80660	RootAccessEnabled = "Enabled"
80661
80662	// RootAccessDisabled is a RootAccess enum value
80663	RootAccessDisabled = "Disabled"
80664)
80665
80666// RootAccess_Values returns all elements of the RootAccess enum
80667func RootAccess_Values() []string {
80668	return []string{
80669		RootAccessEnabled,
80670		RootAccessDisabled,
80671	}
80672}
80673
80674const (
80675	// RuleEvaluationStatusInProgress is a RuleEvaluationStatus enum value
80676	RuleEvaluationStatusInProgress = "InProgress"
80677
80678	// RuleEvaluationStatusNoIssuesFound is a RuleEvaluationStatus enum value
80679	RuleEvaluationStatusNoIssuesFound = "NoIssuesFound"
80680
80681	// RuleEvaluationStatusIssuesFound is a RuleEvaluationStatus enum value
80682	RuleEvaluationStatusIssuesFound = "IssuesFound"
80683
80684	// RuleEvaluationStatusError is a RuleEvaluationStatus enum value
80685	RuleEvaluationStatusError = "Error"
80686
80687	// RuleEvaluationStatusStopping is a RuleEvaluationStatus enum value
80688	RuleEvaluationStatusStopping = "Stopping"
80689
80690	// RuleEvaluationStatusStopped is a RuleEvaluationStatus enum value
80691	RuleEvaluationStatusStopped = "Stopped"
80692)
80693
80694// RuleEvaluationStatus_Values returns all elements of the RuleEvaluationStatus enum
80695func RuleEvaluationStatus_Values() []string {
80696	return []string{
80697		RuleEvaluationStatusInProgress,
80698		RuleEvaluationStatusNoIssuesFound,
80699		RuleEvaluationStatusIssuesFound,
80700		RuleEvaluationStatusError,
80701		RuleEvaluationStatusStopping,
80702		RuleEvaluationStatusStopped,
80703	}
80704}
80705
80706const (
80707	// S3DataDistributionFullyReplicated is a S3DataDistribution enum value
80708	S3DataDistributionFullyReplicated = "FullyReplicated"
80709
80710	// S3DataDistributionShardedByS3key is a S3DataDistribution enum value
80711	S3DataDistributionShardedByS3key = "ShardedByS3Key"
80712)
80713
80714// S3DataDistribution_Values returns all elements of the S3DataDistribution enum
80715func S3DataDistribution_Values() []string {
80716	return []string{
80717		S3DataDistributionFullyReplicated,
80718		S3DataDistributionShardedByS3key,
80719	}
80720}
80721
80722const (
80723	// S3DataTypeManifestFile is a S3DataType enum value
80724	S3DataTypeManifestFile = "ManifestFile"
80725
80726	// S3DataTypeS3prefix is a S3DataType enum value
80727	S3DataTypeS3prefix = "S3Prefix"
80728
80729	// S3DataTypeAugmentedManifestFile is a S3DataType enum value
80730	S3DataTypeAugmentedManifestFile = "AugmentedManifestFile"
80731)
80732
80733// S3DataType_Values returns all elements of the S3DataType enum
80734func S3DataType_Values() []string {
80735	return []string{
80736		S3DataTypeManifestFile,
80737		S3DataTypeS3prefix,
80738		S3DataTypeAugmentedManifestFile,
80739	}
80740}
80741
80742const (
80743	// SagemakerServicecatalogStatusEnabled is a SagemakerServicecatalogStatus enum value
80744	SagemakerServicecatalogStatusEnabled = "Enabled"
80745
80746	// SagemakerServicecatalogStatusDisabled is a SagemakerServicecatalogStatus enum value
80747	SagemakerServicecatalogStatusDisabled = "Disabled"
80748)
80749
80750// SagemakerServicecatalogStatus_Values returns all elements of the SagemakerServicecatalogStatus enum
80751func SagemakerServicecatalogStatus_Values() []string {
80752	return []string{
80753		SagemakerServicecatalogStatusEnabled,
80754		SagemakerServicecatalogStatusDisabled,
80755	}
80756}
80757
80758const (
80759	// ScheduleStatusPending is a ScheduleStatus enum value
80760	ScheduleStatusPending = "Pending"
80761
80762	// ScheduleStatusFailed is a ScheduleStatus enum value
80763	ScheduleStatusFailed = "Failed"
80764
80765	// ScheduleStatusScheduled is a ScheduleStatus enum value
80766	ScheduleStatusScheduled = "Scheduled"
80767
80768	// ScheduleStatusStopped is a ScheduleStatus enum value
80769	ScheduleStatusStopped = "Stopped"
80770)
80771
80772// ScheduleStatus_Values returns all elements of the ScheduleStatus enum
80773func ScheduleStatus_Values() []string {
80774	return []string{
80775		ScheduleStatusPending,
80776		ScheduleStatusFailed,
80777		ScheduleStatusScheduled,
80778		ScheduleStatusStopped,
80779	}
80780}
80781
80782const (
80783	// SearchSortOrderAscending is a SearchSortOrder enum value
80784	SearchSortOrderAscending = "Ascending"
80785
80786	// SearchSortOrderDescending is a SearchSortOrder enum value
80787	SearchSortOrderDescending = "Descending"
80788)
80789
80790// SearchSortOrder_Values returns all elements of the SearchSortOrder enum
80791func SearchSortOrder_Values() []string {
80792	return []string{
80793		SearchSortOrderAscending,
80794		SearchSortOrderDescending,
80795	}
80796}
80797
80798const (
80799	// SecondaryStatusStarting is a SecondaryStatus enum value
80800	SecondaryStatusStarting = "Starting"
80801
80802	// SecondaryStatusLaunchingMlinstances is a SecondaryStatus enum value
80803	SecondaryStatusLaunchingMlinstances = "LaunchingMLInstances"
80804
80805	// SecondaryStatusPreparingTrainingStack is a SecondaryStatus enum value
80806	SecondaryStatusPreparingTrainingStack = "PreparingTrainingStack"
80807
80808	// SecondaryStatusDownloading is a SecondaryStatus enum value
80809	SecondaryStatusDownloading = "Downloading"
80810
80811	// SecondaryStatusDownloadingTrainingImage is a SecondaryStatus enum value
80812	SecondaryStatusDownloadingTrainingImage = "DownloadingTrainingImage"
80813
80814	// SecondaryStatusTraining is a SecondaryStatus enum value
80815	SecondaryStatusTraining = "Training"
80816
80817	// SecondaryStatusUploading is a SecondaryStatus enum value
80818	SecondaryStatusUploading = "Uploading"
80819
80820	// SecondaryStatusStopping is a SecondaryStatus enum value
80821	SecondaryStatusStopping = "Stopping"
80822
80823	// SecondaryStatusStopped is a SecondaryStatus enum value
80824	SecondaryStatusStopped = "Stopped"
80825
80826	// SecondaryStatusMaxRuntimeExceeded is a SecondaryStatus enum value
80827	SecondaryStatusMaxRuntimeExceeded = "MaxRuntimeExceeded"
80828
80829	// SecondaryStatusCompleted is a SecondaryStatus enum value
80830	SecondaryStatusCompleted = "Completed"
80831
80832	// SecondaryStatusFailed is a SecondaryStatus enum value
80833	SecondaryStatusFailed = "Failed"
80834
80835	// SecondaryStatusInterrupted is a SecondaryStatus enum value
80836	SecondaryStatusInterrupted = "Interrupted"
80837
80838	// SecondaryStatusMaxWaitTimeExceeded is a SecondaryStatus enum value
80839	SecondaryStatusMaxWaitTimeExceeded = "MaxWaitTimeExceeded"
80840
80841	// SecondaryStatusUpdating is a SecondaryStatus enum value
80842	SecondaryStatusUpdating = "Updating"
80843
80844	// SecondaryStatusRestarting is a SecondaryStatus enum value
80845	SecondaryStatusRestarting = "Restarting"
80846)
80847
80848// SecondaryStatus_Values returns all elements of the SecondaryStatus enum
80849func SecondaryStatus_Values() []string {
80850	return []string{
80851		SecondaryStatusStarting,
80852		SecondaryStatusLaunchingMlinstances,
80853		SecondaryStatusPreparingTrainingStack,
80854		SecondaryStatusDownloading,
80855		SecondaryStatusDownloadingTrainingImage,
80856		SecondaryStatusTraining,
80857		SecondaryStatusUploading,
80858		SecondaryStatusStopping,
80859		SecondaryStatusStopped,
80860		SecondaryStatusMaxRuntimeExceeded,
80861		SecondaryStatusCompleted,
80862		SecondaryStatusFailed,
80863		SecondaryStatusInterrupted,
80864		SecondaryStatusMaxWaitTimeExceeded,
80865		SecondaryStatusUpdating,
80866		SecondaryStatusRestarting,
80867	}
80868}
80869
80870const (
80871	// SortActionsByName is a SortActionsBy enum value
80872	SortActionsByName = "Name"
80873
80874	// SortActionsByCreationTime is a SortActionsBy enum value
80875	SortActionsByCreationTime = "CreationTime"
80876)
80877
80878// SortActionsBy_Values returns all elements of the SortActionsBy enum
80879func SortActionsBy_Values() []string {
80880	return []string{
80881		SortActionsByName,
80882		SortActionsByCreationTime,
80883	}
80884}
80885
80886const (
80887	// SortArtifactsByCreationTime is a SortArtifactsBy enum value
80888	SortArtifactsByCreationTime = "CreationTime"
80889)
80890
80891// SortArtifactsBy_Values returns all elements of the SortArtifactsBy enum
80892func SortArtifactsBy_Values() []string {
80893	return []string{
80894		SortArtifactsByCreationTime,
80895	}
80896}
80897
80898const (
80899	// SortAssociationsBySourceArn is a SortAssociationsBy enum value
80900	SortAssociationsBySourceArn = "SourceArn"
80901
80902	// SortAssociationsByDestinationArn is a SortAssociationsBy enum value
80903	SortAssociationsByDestinationArn = "DestinationArn"
80904
80905	// SortAssociationsBySourceType is a SortAssociationsBy enum value
80906	SortAssociationsBySourceType = "SourceType"
80907
80908	// SortAssociationsByDestinationType is a SortAssociationsBy enum value
80909	SortAssociationsByDestinationType = "DestinationType"
80910
80911	// SortAssociationsByCreationTime is a SortAssociationsBy enum value
80912	SortAssociationsByCreationTime = "CreationTime"
80913)
80914
80915// SortAssociationsBy_Values returns all elements of the SortAssociationsBy enum
80916func SortAssociationsBy_Values() []string {
80917	return []string{
80918		SortAssociationsBySourceArn,
80919		SortAssociationsByDestinationArn,
80920		SortAssociationsBySourceType,
80921		SortAssociationsByDestinationType,
80922		SortAssociationsByCreationTime,
80923	}
80924}
80925
80926const (
80927	// SortByName is a SortBy enum value
80928	SortByName = "Name"
80929
80930	// SortByCreationTime is a SortBy enum value
80931	SortByCreationTime = "CreationTime"
80932
80933	// SortByStatus is a SortBy enum value
80934	SortByStatus = "Status"
80935)
80936
80937// SortBy_Values returns all elements of the SortBy enum
80938func SortBy_Values() []string {
80939	return []string{
80940		SortByName,
80941		SortByCreationTime,
80942		SortByStatus,
80943	}
80944}
80945
80946const (
80947	// SortContextsByName is a SortContextsBy enum value
80948	SortContextsByName = "Name"
80949
80950	// SortContextsByCreationTime is a SortContextsBy enum value
80951	SortContextsByCreationTime = "CreationTime"
80952)
80953
80954// SortContextsBy_Values returns all elements of the SortContextsBy enum
80955func SortContextsBy_Values() []string {
80956	return []string{
80957		SortContextsByName,
80958		SortContextsByCreationTime,
80959	}
80960}
80961
80962const (
80963	// SortExperimentsByName is a SortExperimentsBy enum value
80964	SortExperimentsByName = "Name"
80965
80966	// SortExperimentsByCreationTime is a SortExperimentsBy enum value
80967	SortExperimentsByCreationTime = "CreationTime"
80968)
80969
80970// SortExperimentsBy_Values returns all elements of the SortExperimentsBy enum
80971func SortExperimentsBy_Values() []string {
80972	return []string{
80973		SortExperimentsByName,
80974		SortExperimentsByCreationTime,
80975	}
80976}
80977
80978const (
80979	// SortOrderAscending is a SortOrder enum value
80980	SortOrderAscending = "Ascending"
80981
80982	// SortOrderDescending is a SortOrder enum value
80983	SortOrderDescending = "Descending"
80984)
80985
80986// SortOrder_Values returns all elements of the SortOrder enum
80987func SortOrder_Values() []string {
80988	return []string{
80989		SortOrderAscending,
80990		SortOrderDescending,
80991	}
80992}
80993
80994const (
80995	// SortPipelineExecutionsByCreationTime is a SortPipelineExecutionsBy enum value
80996	SortPipelineExecutionsByCreationTime = "CreationTime"
80997
80998	// SortPipelineExecutionsByPipelineExecutionArn is a SortPipelineExecutionsBy enum value
80999	SortPipelineExecutionsByPipelineExecutionArn = "PipelineExecutionArn"
81000)
81001
81002// SortPipelineExecutionsBy_Values returns all elements of the SortPipelineExecutionsBy enum
81003func SortPipelineExecutionsBy_Values() []string {
81004	return []string{
81005		SortPipelineExecutionsByCreationTime,
81006		SortPipelineExecutionsByPipelineExecutionArn,
81007	}
81008}
81009
81010const (
81011	// SortPipelinesByName is a SortPipelinesBy enum value
81012	SortPipelinesByName = "Name"
81013
81014	// SortPipelinesByCreationTime is a SortPipelinesBy enum value
81015	SortPipelinesByCreationTime = "CreationTime"
81016)
81017
81018// SortPipelinesBy_Values returns all elements of the SortPipelinesBy enum
81019func SortPipelinesBy_Values() []string {
81020	return []string{
81021		SortPipelinesByName,
81022		SortPipelinesByCreationTime,
81023	}
81024}
81025
81026const (
81027	// SortTrialComponentsByName is a SortTrialComponentsBy enum value
81028	SortTrialComponentsByName = "Name"
81029
81030	// SortTrialComponentsByCreationTime is a SortTrialComponentsBy enum value
81031	SortTrialComponentsByCreationTime = "CreationTime"
81032)
81033
81034// SortTrialComponentsBy_Values returns all elements of the SortTrialComponentsBy enum
81035func SortTrialComponentsBy_Values() []string {
81036	return []string{
81037		SortTrialComponentsByName,
81038		SortTrialComponentsByCreationTime,
81039	}
81040}
81041
81042const (
81043	// SortTrialsByName is a SortTrialsBy enum value
81044	SortTrialsByName = "Name"
81045
81046	// SortTrialsByCreationTime is a SortTrialsBy enum value
81047	SortTrialsByCreationTime = "CreationTime"
81048)
81049
81050// SortTrialsBy_Values returns all elements of the SortTrialsBy enum
81051func SortTrialsBy_Values() []string {
81052	return []string{
81053		SortTrialsByName,
81054		SortTrialsByCreationTime,
81055	}
81056}
81057
81058const (
81059	// SplitTypeNone is a SplitType enum value
81060	SplitTypeNone = "None"
81061
81062	// SplitTypeLine is a SplitType enum value
81063	SplitTypeLine = "Line"
81064
81065	// SplitTypeRecordIo is a SplitType enum value
81066	SplitTypeRecordIo = "RecordIO"
81067
81068	// SplitTypeTfrecord is a SplitType enum value
81069	SplitTypeTfrecord = "TFRecord"
81070)
81071
81072// SplitType_Values returns all elements of the SplitType enum
81073func SplitType_Values() []string {
81074	return []string{
81075		SplitTypeNone,
81076		SplitTypeLine,
81077		SplitTypeRecordIo,
81078		SplitTypeTfrecord,
81079	}
81080}
81081
81082const (
81083	// StepStatusStarting is a StepStatus enum value
81084	StepStatusStarting = "Starting"
81085
81086	// StepStatusExecuting is a StepStatus enum value
81087	StepStatusExecuting = "Executing"
81088
81089	// StepStatusStopping is a StepStatus enum value
81090	StepStatusStopping = "Stopping"
81091
81092	// StepStatusStopped is a StepStatus enum value
81093	StepStatusStopped = "Stopped"
81094
81095	// StepStatusFailed is a StepStatus enum value
81096	StepStatusFailed = "Failed"
81097
81098	// StepStatusSucceeded is a StepStatus enum value
81099	StepStatusSucceeded = "Succeeded"
81100)
81101
81102// StepStatus_Values returns all elements of the StepStatus enum
81103func StepStatus_Values() []string {
81104	return []string{
81105		StepStatusStarting,
81106		StepStatusExecuting,
81107		StepStatusStopping,
81108		StepStatusStopped,
81109		StepStatusFailed,
81110		StepStatusSucceeded,
81111	}
81112}
81113
81114const (
81115	// TargetDeviceLambda is a TargetDevice enum value
81116	TargetDeviceLambda = "lambda"
81117
81118	// TargetDeviceMlM4 is a TargetDevice enum value
81119	TargetDeviceMlM4 = "ml_m4"
81120
81121	// TargetDeviceMlM5 is a TargetDevice enum value
81122	TargetDeviceMlM5 = "ml_m5"
81123
81124	// TargetDeviceMlC4 is a TargetDevice enum value
81125	TargetDeviceMlC4 = "ml_c4"
81126
81127	// TargetDeviceMlC5 is a TargetDevice enum value
81128	TargetDeviceMlC5 = "ml_c5"
81129
81130	// TargetDeviceMlP2 is a TargetDevice enum value
81131	TargetDeviceMlP2 = "ml_p2"
81132
81133	// TargetDeviceMlP3 is a TargetDevice enum value
81134	TargetDeviceMlP3 = "ml_p3"
81135
81136	// TargetDeviceMlG4dn is a TargetDevice enum value
81137	TargetDeviceMlG4dn = "ml_g4dn"
81138
81139	// TargetDeviceMlInf1 is a TargetDevice enum value
81140	TargetDeviceMlInf1 = "ml_inf1"
81141
81142	// TargetDeviceMlEia2 is a TargetDevice enum value
81143	TargetDeviceMlEia2 = "ml_eia2"
81144
81145	// TargetDeviceJetsonTx1 is a TargetDevice enum value
81146	TargetDeviceJetsonTx1 = "jetson_tx1"
81147
81148	// TargetDeviceJetsonTx2 is a TargetDevice enum value
81149	TargetDeviceJetsonTx2 = "jetson_tx2"
81150
81151	// TargetDeviceJetsonNano is a TargetDevice enum value
81152	TargetDeviceJetsonNano = "jetson_nano"
81153
81154	// TargetDeviceJetsonXavier is a TargetDevice enum value
81155	TargetDeviceJetsonXavier = "jetson_xavier"
81156
81157	// TargetDeviceRasp3b is a TargetDevice enum value
81158	TargetDeviceRasp3b = "rasp3b"
81159
81160	// TargetDeviceImx8qm is a TargetDevice enum value
81161	TargetDeviceImx8qm = "imx8qm"
81162
81163	// TargetDeviceDeeplens is a TargetDevice enum value
81164	TargetDeviceDeeplens = "deeplens"
81165
81166	// TargetDeviceRk3399 is a TargetDevice enum value
81167	TargetDeviceRk3399 = "rk3399"
81168
81169	// TargetDeviceRk3288 is a TargetDevice enum value
81170	TargetDeviceRk3288 = "rk3288"
81171
81172	// TargetDeviceAisage is a TargetDevice enum value
81173	TargetDeviceAisage = "aisage"
81174
81175	// TargetDeviceSbeC is a TargetDevice enum value
81176	TargetDeviceSbeC = "sbe_c"
81177
81178	// TargetDeviceQcs605 is a TargetDevice enum value
81179	TargetDeviceQcs605 = "qcs605"
81180
81181	// TargetDeviceQcs603 is a TargetDevice enum value
81182	TargetDeviceQcs603 = "qcs603"
81183
81184	// TargetDeviceSitaraAm57x is a TargetDevice enum value
81185	TargetDeviceSitaraAm57x = "sitara_am57x"
81186
81187	// TargetDeviceAmbaCv22 is a TargetDevice enum value
81188	TargetDeviceAmbaCv22 = "amba_cv22"
81189
81190	// TargetDeviceX86Win32 is a TargetDevice enum value
81191	TargetDeviceX86Win32 = "x86_win32"
81192
81193	// TargetDeviceX86Win64 is a TargetDevice enum value
81194	TargetDeviceX86Win64 = "x86_win64"
81195
81196	// TargetDeviceCoreml is a TargetDevice enum value
81197	TargetDeviceCoreml = "coreml"
81198
81199	// TargetDeviceJacintoTda4vm is a TargetDevice enum value
81200	TargetDeviceJacintoTda4vm = "jacinto_tda4vm"
81201)
81202
81203// TargetDevice_Values returns all elements of the TargetDevice enum
81204func TargetDevice_Values() []string {
81205	return []string{
81206		TargetDeviceLambda,
81207		TargetDeviceMlM4,
81208		TargetDeviceMlM5,
81209		TargetDeviceMlC4,
81210		TargetDeviceMlC5,
81211		TargetDeviceMlP2,
81212		TargetDeviceMlP3,
81213		TargetDeviceMlG4dn,
81214		TargetDeviceMlInf1,
81215		TargetDeviceMlEia2,
81216		TargetDeviceJetsonTx1,
81217		TargetDeviceJetsonTx2,
81218		TargetDeviceJetsonNano,
81219		TargetDeviceJetsonXavier,
81220		TargetDeviceRasp3b,
81221		TargetDeviceImx8qm,
81222		TargetDeviceDeeplens,
81223		TargetDeviceRk3399,
81224		TargetDeviceRk3288,
81225		TargetDeviceAisage,
81226		TargetDeviceSbeC,
81227		TargetDeviceQcs605,
81228		TargetDeviceQcs603,
81229		TargetDeviceSitaraAm57x,
81230		TargetDeviceAmbaCv22,
81231		TargetDeviceX86Win32,
81232		TargetDeviceX86Win64,
81233		TargetDeviceCoreml,
81234		TargetDeviceJacintoTda4vm,
81235	}
81236}
81237
81238const (
81239	// TargetPlatformAcceleratorIntelGraphics is a TargetPlatformAccelerator enum value
81240	TargetPlatformAcceleratorIntelGraphics = "INTEL_GRAPHICS"
81241
81242	// TargetPlatformAcceleratorMali is a TargetPlatformAccelerator enum value
81243	TargetPlatformAcceleratorMali = "MALI"
81244
81245	// TargetPlatformAcceleratorNvidia is a TargetPlatformAccelerator enum value
81246	TargetPlatformAcceleratorNvidia = "NVIDIA"
81247)
81248
81249// TargetPlatformAccelerator_Values returns all elements of the TargetPlatformAccelerator enum
81250func TargetPlatformAccelerator_Values() []string {
81251	return []string{
81252		TargetPlatformAcceleratorIntelGraphics,
81253		TargetPlatformAcceleratorMali,
81254		TargetPlatformAcceleratorNvidia,
81255	}
81256}
81257
81258const (
81259	// TargetPlatformArchX8664 is a TargetPlatformArch enum value
81260	TargetPlatformArchX8664 = "X86_64"
81261
81262	// TargetPlatformArchX86 is a TargetPlatformArch enum value
81263	TargetPlatformArchX86 = "X86"
81264
81265	// TargetPlatformArchArm64 is a TargetPlatformArch enum value
81266	TargetPlatformArchArm64 = "ARM64"
81267
81268	// TargetPlatformArchArmEabi is a TargetPlatformArch enum value
81269	TargetPlatformArchArmEabi = "ARM_EABI"
81270
81271	// TargetPlatformArchArmEabihf is a TargetPlatformArch enum value
81272	TargetPlatformArchArmEabihf = "ARM_EABIHF"
81273)
81274
81275// TargetPlatformArch_Values returns all elements of the TargetPlatformArch enum
81276func TargetPlatformArch_Values() []string {
81277	return []string{
81278		TargetPlatformArchX8664,
81279		TargetPlatformArchX86,
81280		TargetPlatformArchArm64,
81281		TargetPlatformArchArmEabi,
81282		TargetPlatformArchArmEabihf,
81283	}
81284}
81285
81286const (
81287	// TargetPlatformOsAndroid is a TargetPlatformOs enum value
81288	TargetPlatformOsAndroid = "ANDROID"
81289
81290	// TargetPlatformOsLinux is a TargetPlatformOs enum value
81291	TargetPlatformOsLinux = "LINUX"
81292)
81293
81294// TargetPlatformOs_Values returns all elements of the TargetPlatformOs enum
81295func TargetPlatformOs_Values() []string {
81296	return []string{
81297		TargetPlatformOsAndroid,
81298		TargetPlatformOsLinux,
81299	}
81300}
81301
81302const (
81303	// TrafficRoutingConfigTypeAllAtOnce is a TrafficRoutingConfigType enum value
81304	TrafficRoutingConfigTypeAllAtOnce = "ALL_AT_ONCE"
81305
81306	// TrafficRoutingConfigTypeCanary is a TrafficRoutingConfigType enum value
81307	TrafficRoutingConfigTypeCanary = "CANARY"
81308)
81309
81310// TrafficRoutingConfigType_Values returns all elements of the TrafficRoutingConfigType enum
81311func TrafficRoutingConfigType_Values() []string {
81312	return []string{
81313		TrafficRoutingConfigTypeAllAtOnce,
81314		TrafficRoutingConfigTypeCanary,
81315	}
81316}
81317
81318const (
81319	// TrainingInputModePipe is a TrainingInputMode enum value
81320	TrainingInputModePipe = "Pipe"
81321
81322	// TrainingInputModeFile is a TrainingInputMode enum value
81323	TrainingInputModeFile = "File"
81324)
81325
81326// TrainingInputMode_Values returns all elements of the TrainingInputMode enum
81327func TrainingInputMode_Values() []string {
81328	return []string{
81329		TrainingInputModePipe,
81330		TrainingInputModeFile,
81331	}
81332}
81333
81334const (
81335	// TrainingInstanceTypeMlM4Xlarge is a TrainingInstanceType enum value
81336	TrainingInstanceTypeMlM4Xlarge = "ml.m4.xlarge"
81337
81338	// TrainingInstanceTypeMlM42xlarge is a TrainingInstanceType enum value
81339	TrainingInstanceTypeMlM42xlarge = "ml.m4.2xlarge"
81340
81341	// TrainingInstanceTypeMlM44xlarge is a TrainingInstanceType enum value
81342	TrainingInstanceTypeMlM44xlarge = "ml.m4.4xlarge"
81343
81344	// TrainingInstanceTypeMlM410xlarge is a TrainingInstanceType enum value
81345	TrainingInstanceTypeMlM410xlarge = "ml.m4.10xlarge"
81346
81347	// TrainingInstanceTypeMlM416xlarge is a TrainingInstanceType enum value
81348	TrainingInstanceTypeMlM416xlarge = "ml.m4.16xlarge"
81349
81350	// TrainingInstanceTypeMlG4dnXlarge is a TrainingInstanceType enum value
81351	TrainingInstanceTypeMlG4dnXlarge = "ml.g4dn.xlarge"
81352
81353	// TrainingInstanceTypeMlG4dn2xlarge is a TrainingInstanceType enum value
81354	TrainingInstanceTypeMlG4dn2xlarge = "ml.g4dn.2xlarge"
81355
81356	// TrainingInstanceTypeMlG4dn4xlarge is a TrainingInstanceType enum value
81357	TrainingInstanceTypeMlG4dn4xlarge = "ml.g4dn.4xlarge"
81358
81359	// TrainingInstanceTypeMlG4dn8xlarge is a TrainingInstanceType enum value
81360	TrainingInstanceTypeMlG4dn8xlarge = "ml.g4dn.8xlarge"
81361
81362	// TrainingInstanceTypeMlG4dn12xlarge is a TrainingInstanceType enum value
81363	TrainingInstanceTypeMlG4dn12xlarge = "ml.g4dn.12xlarge"
81364
81365	// TrainingInstanceTypeMlG4dn16xlarge is a TrainingInstanceType enum value
81366	TrainingInstanceTypeMlG4dn16xlarge = "ml.g4dn.16xlarge"
81367
81368	// TrainingInstanceTypeMlM5Large is a TrainingInstanceType enum value
81369	TrainingInstanceTypeMlM5Large = "ml.m5.large"
81370
81371	// TrainingInstanceTypeMlM5Xlarge is a TrainingInstanceType enum value
81372	TrainingInstanceTypeMlM5Xlarge = "ml.m5.xlarge"
81373
81374	// TrainingInstanceTypeMlM52xlarge is a TrainingInstanceType enum value
81375	TrainingInstanceTypeMlM52xlarge = "ml.m5.2xlarge"
81376
81377	// TrainingInstanceTypeMlM54xlarge is a TrainingInstanceType enum value
81378	TrainingInstanceTypeMlM54xlarge = "ml.m5.4xlarge"
81379
81380	// TrainingInstanceTypeMlM512xlarge is a TrainingInstanceType enum value
81381	TrainingInstanceTypeMlM512xlarge = "ml.m5.12xlarge"
81382
81383	// TrainingInstanceTypeMlM524xlarge is a TrainingInstanceType enum value
81384	TrainingInstanceTypeMlM524xlarge = "ml.m5.24xlarge"
81385
81386	// TrainingInstanceTypeMlC4Xlarge is a TrainingInstanceType enum value
81387	TrainingInstanceTypeMlC4Xlarge = "ml.c4.xlarge"
81388
81389	// TrainingInstanceTypeMlC42xlarge is a TrainingInstanceType enum value
81390	TrainingInstanceTypeMlC42xlarge = "ml.c4.2xlarge"
81391
81392	// TrainingInstanceTypeMlC44xlarge is a TrainingInstanceType enum value
81393	TrainingInstanceTypeMlC44xlarge = "ml.c4.4xlarge"
81394
81395	// TrainingInstanceTypeMlC48xlarge is a TrainingInstanceType enum value
81396	TrainingInstanceTypeMlC48xlarge = "ml.c4.8xlarge"
81397
81398	// TrainingInstanceTypeMlP2Xlarge is a TrainingInstanceType enum value
81399	TrainingInstanceTypeMlP2Xlarge = "ml.p2.xlarge"
81400
81401	// TrainingInstanceTypeMlP28xlarge is a TrainingInstanceType enum value
81402	TrainingInstanceTypeMlP28xlarge = "ml.p2.8xlarge"
81403
81404	// TrainingInstanceTypeMlP216xlarge is a TrainingInstanceType enum value
81405	TrainingInstanceTypeMlP216xlarge = "ml.p2.16xlarge"
81406
81407	// TrainingInstanceTypeMlP32xlarge is a TrainingInstanceType enum value
81408	TrainingInstanceTypeMlP32xlarge = "ml.p3.2xlarge"
81409
81410	// TrainingInstanceTypeMlP38xlarge is a TrainingInstanceType enum value
81411	TrainingInstanceTypeMlP38xlarge = "ml.p3.8xlarge"
81412
81413	// TrainingInstanceTypeMlP316xlarge is a TrainingInstanceType enum value
81414	TrainingInstanceTypeMlP316xlarge = "ml.p3.16xlarge"
81415
81416	// TrainingInstanceTypeMlP3dn24xlarge is a TrainingInstanceType enum value
81417	TrainingInstanceTypeMlP3dn24xlarge = "ml.p3dn.24xlarge"
81418
81419	// TrainingInstanceTypeMlP4d24xlarge is a TrainingInstanceType enum value
81420	TrainingInstanceTypeMlP4d24xlarge = "ml.p4d.24xlarge"
81421
81422	// TrainingInstanceTypeMlC5Xlarge is a TrainingInstanceType enum value
81423	TrainingInstanceTypeMlC5Xlarge = "ml.c5.xlarge"
81424
81425	// TrainingInstanceTypeMlC52xlarge is a TrainingInstanceType enum value
81426	TrainingInstanceTypeMlC52xlarge = "ml.c5.2xlarge"
81427
81428	// TrainingInstanceTypeMlC54xlarge is a TrainingInstanceType enum value
81429	TrainingInstanceTypeMlC54xlarge = "ml.c5.4xlarge"
81430
81431	// TrainingInstanceTypeMlC59xlarge is a TrainingInstanceType enum value
81432	TrainingInstanceTypeMlC59xlarge = "ml.c5.9xlarge"
81433
81434	// TrainingInstanceTypeMlC518xlarge is a TrainingInstanceType enum value
81435	TrainingInstanceTypeMlC518xlarge = "ml.c5.18xlarge"
81436
81437	// TrainingInstanceTypeMlC5nXlarge is a TrainingInstanceType enum value
81438	TrainingInstanceTypeMlC5nXlarge = "ml.c5n.xlarge"
81439
81440	// TrainingInstanceTypeMlC5n2xlarge is a TrainingInstanceType enum value
81441	TrainingInstanceTypeMlC5n2xlarge = "ml.c5n.2xlarge"
81442
81443	// TrainingInstanceTypeMlC5n4xlarge is a TrainingInstanceType enum value
81444	TrainingInstanceTypeMlC5n4xlarge = "ml.c5n.4xlarge"
81445
81446	// TrainingInstanceTypeMlC5n9xlarge is a TrainingInstanceType enum value
81447	TrainingInstanceTypeMlC5n9xlarge = "ml.c5n.9xlarge"
81448
81449	// TrainingInstanceTypeMlC5n18xlarge is a TrainingInstanceType enum value
81450	TrainingInstanceTypeMlC5n18xlarge = "ml.c5n.18xlarge"
81451)
81452
81453// TrainingInstanceType_Values returns all elements of the TrainingInstanceType enum
81454func TrainingInstanceType_Values() []string {
81455	return []string{
81456		TrainingInstanceTypeMlM4Xlarge,
81457		TrainingInstanceTypeMlM42xlarge,
81458		TrainingInstanceTypeMlM44xlarge,
81459		TrainingInstanceTypeMlM410xlarge,
81460		TrainingInstanceTypeMlM416xlarge,
81461		TrainingInstanceTypeMlG4dnXlarge,
81462		TrainingInstanceTypeMlG4dn2xlarge,
81463		TrainingInstanceTypeMlG4dn4xlarge,
81464		TrainingInstanceTypeMlG4dn8xlarge,
81465		TrainingInstanceTypeMlG4dn12xlarge,
81466		TrainingInstanceTypeMlG4dn16xlarge,
81467		TrainingInstanceTypeMlM5Large,
81468		TrainingInstanceTypeMlM5Xlarge,
81469		TrainingInstanceTypeMlM52xlarge,
81470		TrainingInstanceTypeMlM54xlarge,
81471		TrainingInstanceTypeMlM512xlarge,
81472		TrainingInstanceTypeMlM524xlarge,
81473		TrainingInstanceTypeMlC4Xlarge,
81474		TrainingInstanceTypeMlC42xlarge,
81475		TrainingInstanceTypeMlC44xlarge,
81476		TrainingInstanceTypeMlC48xlarge,
81477		TrainingInstanceTypeMlP2Xlarge,
81478		TrainingInstanceTypeMlP28xlarge,
81479		TrainingInstanceTypeMlP216xlarge,
81480		TrainingInstanceTypeMlP32xlarge,
81481		TrainingInstanceTypeMlP38xlarge,
81482		TrainingInstanceTypeMlP316xlarge,
81483		TrainingInstanceTypeMlP3dn24xlarge,
81484		TrainingInstanceTypeMlP4d24xlarge,
81485		TrainingInstanceTypeMlC5Xlarge,
81486		TrainingInstanceTypeMlC52xlarge,
81487		TrainingInstanceTypeMlC54xlarge,
81488		TrainingInstanceTypeMlC59xlarge,
81489		TrainingInstanceTypeMlC518xlarge,
81490		TrainingInstanceTypeMlC5nXlarge,
81491		TrainingInstanceTypeMlC5n2xlarge,
81492		TrainingInstanceTypeMlC5n4xlarge,
81493		TrainingInstanceTypeMlC5n9xlarge,
81494		TrainingInstanceTypeMlC5n18xlarge,
81495	}
81496}
81497
81498const (
81499	// TrainingJobEarlyStoppingTypeOff is a TrainingJobEarlyStoppingType enum value
81500	TrainingJobEarlyStoppingTypeOff = "Off"
81501
81502	// TrainingJobEarlyStoppingTypeAuto is a TrainingJobEarlyStoppingType enum value
81503	TrainingJobEarlyStoppingTypeAuto = "Auto"
81504)
81505
81506// TrainingJobEarlyStoppingType_Values returns all elements of the TrainingJobEarlyStoppingType enum
81507func TrainingJobEarlyStoppingType_Values() []string {
81508	return []string{
81509		TrainingJobEarlyStoppingTypeOff,
81510		TrainingJobEarlyStoppingTypeAuto,
81511	}
81512}
81513
81514const (
81515	// TrainingJobSortByOptionsName is a TrainingJobSortByOptions enum value
81516	TrainingJobSortByOptionsName = "Name"
81517
81518	// TrainingJobSortByOptionsCreationTime is a TrainingJobSortByOptions enum value
81519	TrainingJobSortByOptionsCreationTime = "CreationTime"
81520
81521	// TrainingJobSortByOptionsStatus is a TrainingJobSortByOptions enum value
81522	TrainingJobSortByOptionsStatus = "Status"
81523
81524	// TrainingJobSortByOptionsFinalObjectiveMetricValue is a TrainingJobSortByOptions enum value
81525	TrainingJobSortByOptionsFinalObjectiveMetricValue = "FinalObjectiveMetricValue"
81526)
81527
81528// TrainingJobSortByOptions_Values returns all elements of the TrainingJobSortByOptions enum
81529func TrainingJobSortByOptions_Values() []string {
81530	return []string{
81531		TrainingJobSortByOptionsName,
81532		TrainingJobSortByOptionsCreationTime,
81533		TrainingJobSortByOptionsStatus,
81534		TrainingJobSortByOptionsFinalObjectiveMetricValue,
81535	}
81536}
81537
81538const (
81539	// TrainingJobStatusInProgress is a TrainingJobStatus enum value
81540	TrainingJobStatusInProgress = "InProgress"
81541
81542	// TrainingJobStatusCompleted is a TrainingJobStatus enum value
81543	TrainingJobStatusCompleted = "Completed"
81544
81545	// TrainingJobStatusFailed is a TrainingJobStatus enum value
81546	TrainingJobStatusFailed = "Failed"
81547
81548	// TrainingJobStatusStopping is a TrainingJobStatus enum value
81549	TrainingJobStatusStopping = "Stopping"
81550
81551	// TrainingJobStatusStopped is a TrainingJobStatus enum value
81552	TrainingJobStatusStopped = "Stopped"
81553)
81554
81555// TrainingJobStatus_Values returns all elements of the TrainingJobStatus enum
81556func TrainingJobStatus_Values() []string {
81557	return []string{
81558		TrainingJobStatusInProgress,
81559		TrainingJobStatusCompleted,
81560		TrainingJobStatusFailed,
81561		TrainingJobStatusStopping,
81562		TrainingJobStatusStopped,
81563	}
81564}
81565
81566const (
81567	// TransformInstanceTypeMlM4Xlarge is a TransformInstanceType enum value
81568	TransformInstanceTypeMlM4Xlarge = "ml.m4.xlarge"
81569
81570	// TransformInstanceTypeMlM42xlarge is a TransformInstanceType enum value
81571	TransformInstanceTypeMlM42xlarge = "ml.m4.2xlarge"
81572
81573	// TransformInstanceTypeMlM44xlarge is a TransformInstanceType enum value
81574	TransformInstanceTypeMlM44xlarge = "ml.m4.4xlarge"
81575
81576	// TransformInstanceTypeMlM410xlarge is a TransformInstanceType enum value
81577	TransformInstanceTypeMlM410xlarge = "ml.m4.10xlarge"
81578
81579	// TransformInstanceTypeMlM416xlarge is a TransformInstanceType enum value
81580	TransformInstanceTypeMlM416xlarge = "ml.m4.16xlarge"
81581
81582	// TransformInstanceTypeMlC4Xlarge is a TransformInstanceType enum value
81583	TransformInstanceTypeMlC4Xlarge = "ml.c4.xlarge"
81584
81585	// TransformInstanceTypeMlC42xlarge is a TransformInstanceType enum value
81586	TransformInstanceTypeMlC42xlarge = "ml.c4.2xlarge"
81587
81588	// TransformInstanceTypeMlC44xlarge is a TransformInstanceType enum value
81589	TransformInstanceTypeMlC44xlarge = "ml.c4.4xlarge"
81590
81591	// TransformInstanceTypeMlC48xlarge is a TransformInstanceType enum value
81592	TransformInstanceTypeMlC48xlarge = "ml.c4.8xlarge"
81593
81594	// TransformInstanceTypeMlP2Xlarge is a TransformInstanceType enum value
81595	TransformInstanceTypeMlP2Xlarge = "ml.p2.xlarge"
81596
81597	// TransformInstanceTypeMlP28xlarge is a TransformInstanceType enum value
81598	TransformInstanceTypeMlP28xlarge = "ml.p2.8xlarge"
81599
81600	// TransformInstanceTypeMlP216xlarge is a TransformInstanceType enum value
81601	TransformInstanceTypeMlP216xlarge = "ml.p2.16xlarge"
81602
81603	// TransformInstanceTypeMlP32xlarge is a TransformInstanceType enum value
81604	TransformInstanceTypeMlP32xlarge = "ml.p3.2xlarge"
81605
81606	// TransformInstanceTypeMlP38xlarge is a TransformInstanceType enum value
81607	TransformInstanceTypeMlP38xlarge = "ml.p3.8xlarge"
81608
81609	// TransformInstanceTypeMlP316xlarge is a TransformInstanceType enum value
81610	TransformInstanceTypeMlP316xlarge = "ml.p3.16xlarge"
81611
81612	// TransformInstanceTypeMlC5Xlarge is a TransformInstanceType enum value
81613	TransformInstanceTypeMlC5Xlarge = "ml.c5.xlarge"
81614
81615	// TransformInstanceTypeMlC52xlarge is a TransformInstanceType enum value
81616	TransformInstanceTypeMlC52xlarge = "ml.c5.2xlarge"
81617
81618	// TransformInstanceTypeMlC54xlarge is a TransformInstanceType enum value
81619	TransformInstanceTypeMlC54xlarge = "ml.c5.4xlarge"
81620
81621	// TransformInstanceTypeMlC59xlarge is a TransformInstanceType enum value
81622	TransformInstanceTypeMlC59xlarge = "ml.c5.9xlarge"
81623
81624	// TransformInstanceTypeMlC518xlarge is a TransformInstanceType enum value
81625	TransformInstanceTypeMlC518xlarge = "ml.c5.18xlarge"
81626
81627	// TransformInstanceTypeMlM5Large is a TransformInstanceType enum value
81628	TransformInstanceTypeMlM5Large = "ml.m5.large"
81629
81630	// TransformInstanceTypeMlM5Xlarge is a TransformInstanceType enum value
81631	TransformInstanceTypeMlM5Xlarge = "ml.m5.xlarge"
81632
81633	// TransformInstanceTypeMlM52xlarge is a TransformInstanceType enum value
81634	TransformInstanceTypeMlM52xlarge = "ml.m5.2xlarge"
81635
81636	// TransformInstanceTypeMlM54xlarge is a TransformInstanceType enum value
81637	TransformInstanceTypeMlM54xlarge = "ml.m5.4xlarge"
81638
81639	// TransformInstanceTypeMlM512xlarge is a TransformInstanceType enum value
81640	TransformInstanceTypeMlM512xlarge = "ml.m5.12xlarge"
81641
81642	// TransformInstanceTypeMlM524xlarge is a TransformInstanceType enum value
81643	TransformInstanceTypeMlM524xlarge = "ml.m5.24xlarge"
81644)
81645
81646// TransformInstanceType_Values returns all elements of the TransformInstanceType enum
81647func TransformInstanceType_Values() []string {
81648	return []string{
81649		TransformInstanceTypeMlM4Xlarge,
81650		TransformInstanceTypeMlM42xlarge,
81651		TransformInstanceTypeMlM44xlarge,
81652		TransformInstanceTypeMlM410xlarge,
81653		TransformInstanceTypeMlM416xlarge,
81654		TransformInstanceTypeMlC4Xlarge,
81655		TransformInstanceTypeMlC42xlarge,
81656		TransformInstanceTypeMlC44xlarge,
81657		TransformInstanceTypeMlC48xlarge,
81658		TransformInstanceTypeMlP2Xlarge,
81659		TransformInstanceTypeMlP28xlarge,
81660		TransformInstanceTypeMlP216xlarge,
81661		TransformInstanceTypeMlP32xlarge,
81662		TransformInstanceTypeMlP38xlarge,
81663		TransformInstanceTypeMlP316xlarge,
81664		TransformInstanceTypeMlC5Xlarge,
81665		TransformInstanceTypeMlC52xlarge,
81666		TransformInstanceTypeMlC54xlarge,
81667		TransformInstanceTypeMlC59xlarge,
81668		TransformInstanceTypeMlC518xlarge,
81669		TransformInstanceTypeMlM5Large,
81670		TransformInstanceTypeMlM5Xlarge,
81671		TransformInstanceTypeMlM52xlarge,
81672		TransformInstanceTypeMlM54xlarge,
81673		TransformInstanceTypeMlM512xlarge,
81674		TransformInstanceTypeMlM524xlarge,
81675	}
81676}
81677
81678const (
81679	// TransformJobStatusInProgress is a TransformJobStatus enum value
81680	TransformJobStatusInProgress = "InProgress"
81681
81682	// TransformJobStatusCompleted is a TransformJobStatus enum value
81683	TransformJobStatusCompleted = "Completed"
81684
81685	// TransformJobStatusFailed is a TransformJobStatus enum value
81686	TransformJobStatusFailed = "Failed"
81687
81688	// TransformJobStatusStopping is a TransformJobStatus enum value
81689	TransformJobStatusStopping = "Stopping"
81690
81691	// TransformJobStatusStopped is a TransformJobStatus enum value
81692	TransformJobStatusStopped = "Stopped"
81693)
81694
81695// TransformJobStatus_Values returns all elements of the TransformJobStatus enum
81696func TransformJobStatus_Values() []string {
81697	return []string{
81698		TransformJobStatusInProgress,
81699		TransformJobStatusCompleted,
81700		TransformJobStatusFailed,
81701		TransformJobStatusStopping,
81702		TransformJobStatusStopped,
81703	}
81704}
81705
81706const (
81707	// TrialComponentPrimaryStatusInProgress is a TrialComponentPrimaryStatus enum value
81708	TrialComponentPrimaryStatusInProgress = "InProgress"
81709
81710	// TrialComponentPrimaryStatusCompleted is a TrialComponentPrimaryStatus enum value
81711	TrialComponentPrimaryStatusCompleted = "Completed"
81712
81713	// TrialComponentPrimaryStatusFailed is a TrialComponentPrimaryStatus enum value
81714	TrialComponentPrimaryStatusFailed = "Failed"
81715
81716	// TrialComponentPrimaryStatusStopping is a TrialComponentPrimaryStatus enum value
81717	TrialComponentPrimaryStatusStopping = "Stopping"
81718
81719	// TrialComponentPrimaryStatusStopped is a TrialComponentPrimaryStatus enum value
81720	TrialComponentPrimaryStatusStopped = "Stopped"
81721)
81722
81723// TrialComponentPrimaryStatus_Values returns all elements of the TrialComponentPrimaryStatus enum
81724func TrialComponentPrimaryStatus_Values() []string {
81725	return []string{
81726		TrialComponentPrimaryStatusInProgress,
81727		TrialComponentPrimaryStatusCompleted,
81728		TrialComponentPrimaryStatusFailed,
81729		TrialComponentPrimaryStatusStopping,
81730		TrialComponentPrimaryStatusStopped,
81731	}
81732}
81733
81734const (
81735	// UserProfileSortKeyCreationTime is a UserProfileSortKey enum value
81736	UserProfileSortKeyCreationTime = "CreationTime"
81737
81738	// UserProfileSortKeyLastModifiedTime is a UserProfileSortKey enum value
81739	UserProfileSortKeyLastModifiedTime = "LastModifiedTime"
81740)
81741
81742// UserProfileSortKey_Values returns all elements of the UserProfileSortKey enum
81743func UserProfileSortKey_Values() []string {
81744	return []string{
81745		UserProfileSortKeyCreationTime,
81746		UserProfileSortKeyLastModifiedTime,
81747	}
81748}
81749
81750const (
81751	// UserProfileStatusDeleting is a UserProfileStatus enum value
81752	UserProfileStatusDeleting = "Deleting"
81753
81754	// UserProfileStatusFailed is a UserProfileStatus enum value
81755	UserProfileStatusFailed = "Failed"
81756
81757	// UserProfileStatusInService is a UserProfileStatus enum value
81758	UserProfileStatusInService = "InService"
81759
81760	// UserProfileStatusPending is a UserProfileStatus enum value
81761	UserProfileStatusPending = "Pending"
81762
81763	// UserProfileStatusUpdating is a UserProfileStatus enum value
81764	UserProfileStatusUpdating = "Updating"
81765
81766	// UserProfileStatusUpdateFailed is a UserProfileStatus enum value
81767	UserProfileStatusUpdateFailed = "Update_Failed"
81768
81769	// UserProfileStatusDeleteFailed is a UserProfileStatus enum value
81770	UserProfileStatusDeleteFailed = "Delete_Failed"
81771)
81772
81773// UserProfileStatus_Values returns all elements of the UserProfileStatus enum
81774func UserProfileStatus_Values() []string {
81775	return []string{
81776		UserProfileStatusDeleting,
81777		UserProfileStatusFailed,
81778		UserProfileStatusInService,
81779		UserProfileStatusPending,
81780		UserProfileStatusUpdating,
81781		UserProfileStatusUpdateFailed,
81782		UserProfileStatusDeleteFailed,
81783	}
81784}
81785
81786const (
81787	// VariantPropertyTypeDesiredInstanceCount is a VariantPropertyType enum value
81788	VariantPropertyTypeDesiredInstanceCount = "DesiredInstanceCount"
81789
81790	// VariantPropertyTypeDesiredWeight is a VariantPropertyType enum value
81791	VariantPropertyTypeDesiredWeight = "DesiredWeight"
81792
81793	// VariantPropertyTypeDataCaptureConfig is a VariantPropertyType enum value
81794	VariantPropertyTypeDataCaptureConfig = "DataCaptureConfig"
81795)
81796
81797// VariantPropertyType_Values returns all elements of the VariantPropertyType enum
81798func VariantPropertyType_Values() []string {
81799	return []string{
81800		VariantPropertyTypeDesiredInstanceCount,
81801		VariantPropertyTypeDesiredWeight,
81802		VariantPropertyTypeDataCaptureConfig,
81803	}
81804}
81805